Skip to content

Commit 30ce9c7

Browse files
committed
fix(docs): register the snap-point drag's docs and examples in the ShadCN route lock and the sandbox's routes
The route lock gains createDragToSnapPoints's and useDragToSnapPoints's pages and their playing-card examples (and usePanGesture's page, from the public pan), regenerated with UPDATE_SHADCN_ROUTE_LOCK=1; the sandbox's static export expects the two new example routes.
1 parent 9ed13a6 commit 30ce9c7

2 files changed

Lines changed: 22 additions & 0 deletions

File tree

‎apps/sandbox/scripts/next-export-routes.json‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,8 @@
293293
"/templates/DividerShowcase/",
294294
"/templates/DividerVariants/",
295295
"/templates/DividerVertical/",
296+
"/templates/DragToSnapPointsCard/",
297+
"/templates/DragToSnapPointsCardVanilla/",
296298
"/templates/DrawerForm/",
297299
"/templates/DrawerHeaderShowcase/",
298300
"/templates/DrawerHeaderSubtitleEndContent/",

‎internal/shadcn-registry/routes.lock.json‎

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1964,6 +1964,11 @@
19641964
"path": "examples/create-animator/playing-cards-in-plain-java-script",
19651965
"aliases": []
19661966
},
1967+
{
1968+
"name": "example-create-drag-to-snap-points-playing-card-in-plain-java-script",
1969+
"path": "examples/create-drag-to-snap-points/playing-card-in-plain-java-script",
1970+
"aliases": []
1971+
},
19671972
{
19681973
"name": "example-date-input-clearable",
19691974
"path": "examples/date-input/clearable",
@@ -3659,6 +3664,11 @@
36593664
"path": "examples/use-container-reveal/reveal-on-hover-row-actions",
36603665
"aliases": []
36613666
},
3667+
{
3668+
"name": "example-use-drag-to-snap-points-playing-card-on-three-places",
3669+
"path": "examples/use-drag-to-snap-points/playing-card-on-three-places",
3670+
"aliases": []
3671+
},
36623672
{
36633673
"name": "example-use-hover-card-profile-preview",
36643674
"path": "examples/use-hover-card/profile-preview",
@@ -3759,6 +3769,11 @@
37593769
"path": "hooks/create-animator",
37603770
"aliases": []
37613771
},
3772+
{
3773+
"name": "hook-create-drag-to-snap-points",
3774+
"path": "hooks/create-drag-to-snap-points",
3775+
"aliases": []
3776+
},
37623777
{
37633778
"name": "hook-use-animator",
37643779
"path": "hooks/use-animator",
@@ -3809,6 +3824,11 @@
38093824
"path": "hooks/use-dev-warning",
38103825
"aliases": []
38113826
},
3827+
{
3828+
"name": "hook-use-drag-to-snap-points",
3829+
"path": "hooks/use-drag-to-snap-points",
3830+
"aliases": []
3831+
},
38123832
{
38133833
"name": "hook-use-entry-animation",
38143834
"path": "hooks/use-entry-animation",

0 commit comments

Comments
 (0)