Skip to content

Commit 1c0bc8c

Browse files
authored
Merge pull request #40 from qcp/master
Fix docs
2 parents bc3f6dd + 8d0ba76 commit 1c0bc8c

File tree

43 files changed

+277
-235
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+277
-235
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ docs/.vitepress/cache
2020
# Editor directories and files
2121
.vscode/*
2222
!.vscode/extensions.json
23+
!.vscode/settings.json
2324
.idea
2425
.DS_Store
2526
*.suo

.vscode/extensions.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"recommendations": [
3+
"Vue.volar",
4+
"bradlc.vscode-tailwindcss"
5+
],
6+
}

.vscode/settings.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"files.associations": {
3+
"*.css": "tailwindcss",
4+
},
5+
}

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2025 ZiZIGY
3+
Copyright (c) 2026 ZiZIGY
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,4 +149,4 @@ If vue-dnd-kit saves you time, consider supporting the project — it helps keep
149149

150150
## License
151151

152-
[MIT](./LICENSE) © 2025 [ZiZIGY](https://github.com/ZiZiGY)
152+
[MIT](./LICENSE) © 2026 [ZiZIGY](https://github.com/ZiZiGY)

docs/.vitepress/components/v2/Examples/Activation/ActivationItem.vue

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,12 @@
7878
font-weight: 500;
7979
font-size: 0.875rem;
8080
cursor: grab;
81-
user-select: none;
82-
touch-action: none;
8381
text-align: center;
8482
transition: opacity 0.15s;
83+
84+
/* See Mobile & Touch section */
85+
touch-action: none;
86+
user-select: none;
8587
}
8688
8789
.activation-item:active {

docs/.vitepress/components/v2/Examples/Animation/AnimatedCard.vue

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -67,16 +67,9 @@
6767
border-radius: 0.75rem;
6868
background: color-mix(in srgb, var(--card-color) 10%, var(--vp-c-bg));
6969
border: 1px solid color-mix(in srgb, var(--card-color) 25%, transparent);
70-
cursor: grab;
71-
user-select: none;
72-
touch-action: none;
7370
transition: opacity 0.15s ease;
7471
}
7572
76-
.card:active {
77-
cursor: grabbing;
78-
}
79-
8073
.card.is-dragging {
8174
opacity: 0 !important;
8275
}
@@ -85,6 +78,15 @@
8578
color: color-mix(in srgb, var(--card-color) 60%, transparent);
8679
font-size: 1.1rem;
8780
flex-shrink: 0;
81+
cursor: grab;
82+
83+
/* See Mobile & Touch section */
84+
touch-action: none;
85+
user-select: none;
86+
}
87+
88+
.card:active .handle {
89+
cursor: grabbing;
8890
}
8991
9092
.emoji {

docs/.vitepress/components/v2/Examples/AutoScroll/SortItem.vue

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,12 @@
5656
font-weight: 500;
5757
font-size: 0.875rem;
5858
cursor: move;
59-
user-select: none;
60-
touch-action: none;
6159
display: flex;
6260
align-items: center;
61+
62+
/* See Mobile & Touch section */
63+
touch-action: none;
64+
user-select: none;
6365
}
6466
6567
.sort-item.is-dragging {

docs/.vitepress/components/v2/Examples/BaseDrop/DraggableItem.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@
3838
user-select: none;
3939
font-weight: 500;
4040
display: inline-block;
41+
42+
/* See Mobile & Touch section */
43+
touch-action: none;
44+
user-select: none;
4145
}
4246
4347
.draggable-item:active {

docs/.vitepress/components/v2/Examples/Checkers/CheckerPiece.vue

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,14 @@
4242
display: flex;
4343
align-items: center;
4444
justify-content: center;
45-
user-select: none;
46-
touch-action: none;
4745
position: relative;
4846
transition:
4947
transform 0.08s ease,
5048
opacity 0.2s ease;
49+
50+
/* See Mobile & Touch section */
51+
touch-action: none;
52+
user-select: none;
5153
}
5254
5355
.piece:not(.ghost):hover {

0 commit comments

Comments
 (0)