@alexgorbatchev/shadcn 0.0.20 → 0.0.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (139) hide show
  1. package/README.md +24 -14
  2. package/THIRD_PARTY_NOTICES.md +60 -0
  3. package/dist/{chunk-s46hvhjw.js → chunk-0w6rxpr5.js} +1 -1
  4. package/dist/{chunk-gabqzfq0.js → chunk-1p7pend8.js} +3 -3
  5. package/dist/chunk-21wbz345.js +65 -0
  6. package/dist/{chunk-84ca0dpc.js → chunk-67dkgsm3.js} +1 -1
  7. package/dist/{chunk-p8qtk151.js → chunk-72qr0gqe.js} +1 -1
  8. package/dist/{chunk-4drqqqz1.js → chunk-83cckb23.js} +1 -1
  9. package/dist/{chunk-ztcbee24.js → chunk-9dqspkha.js} +1 -1
  10. package/dist/{chunk-eq88qk1d.js → chunk-d3ad53et.js} +8 -8
  11. package/dist/{chunk-h979cxnh.js → chunk-dq7kr5y0.js} +2 -1
  12. package/dist/{chunk-mrrbycgx.js → chunk-e0gcczqk.js} +1 -1
  13. package/dist/{chunk-553bzh59.js → chunk-f4c0tg2x.js} +1 -1
  14. package/dist/{chunk-14qj6w54.js → chunk-f9ha76ap.js} +4 -4
  15. package/dist/{chunk-ykt5sv7n.js → chunk-gkkbg7rq.js} +1 -1
  16. package/dist/{chunk-qv19jhdk.js → chunk-k8v9y2dw.js} +1 -1
  17. package/dist/chunk-kbg2e95b.js +434 -0
  18. package/dist/chunk-r9qrb6b6.js +54 -0
  19. package/dist/{chunk-ecmk3vgd.js → chunk-seeed8a2.js} +1 -1
  20. package/dist/{chunk-d9jbqd99.js → chunk-tynbgc30.js} +1 -1
  21. package/dist/{chunk-1qhf8gh8.js → chunk-wwyzwptb.js} +1 -1
  22. package/dist/components/AccountMenu.d.ts +12 -0
  23. package/dist/components/AppShell.d.ts +23 -0
  24. package/dist/components/AuthForm.d.ts +18 -0
  25. package/dist/components/BarList.d.ts +16 -0
  26. package/dist/components/BillingUsage.d.ts +20 -0
  27. package/dist/components/Combobox.d.ts +2 -1
  28. package/dist/components/DashboardLayout.d.ts +18 -0
  29. package/dist/components/FilterBar.d.ts +20 -0
  30. package/dist/components/Kanban.d.ts +23 -0
  31. package/dist/components/Meter.d.ts +9 -0
  32. package/dist/components/NumberField.d.ts +11 -0
  33. package/dist/components/PageHeader.d.ts +11 -0
  34. package/dist/components/SettingsSection.d.ts +16 -0
  35. package/dist/components/Sidebar.d.ts +2 -1
  36. package/dist/components/StatCard.d.ts +14 -0
  37. package/dist/components/StatusTracker.d.ts +16 -0
  38. package/dist/components/Stepper.d.ts +12 -0
  39. package/dist/components/TagInput.d.ts +16 -0
  40. package/dist/components/Toolbar.d.ts +10 -0
  41. package/dist/components/WorkspaceSwitcher.d.ts +14 -0
  42. package/dist/components/assistant-ui/elements/ApprovalCard.d.ts +1 -1
  43. package/dist/components/assistant-ui/elements/CommandPalette.js +3 -3
  44. package/dist/components/assistant-ui/elements/MessageTiming.d.ts +1 -1
  45. package/dist/components/assistant-ui/elements/ModelSelector.js +9 -9
  46. package/dist/components/assistant-ui/elements/ModelSelectorContent.js +8 -8
  47. package/dist/components/assistant-ui/elements/ModelSelectorEmpty.js +3 -3
  48. package/dist/components/assistant-ui/elements/ModelSelectorFocusAnchor.js +3 -3
  49. package/dist/components/assistant-ui/elements/ModelSelectorGroup.js +3 -3
  50. package/dist/components/assistant-ui/elements/ModelSelectorItem.js +3 -3
  51. package/dist/components/assistant-ui/elements/ModelSelectorList.js +5 -5
  52. package/dist/components/assistant-ui/elements/ModelSelectorSearch.js +3 -3
  53. package/dist/components/assistant-ui/elements/ModelSelectorSeparator.js +3 -3
  54. package/dist/components/assistant-ui/elements/types.d.ts +0 -4
  55. package/dist/components/assistant-ui/index.js +11 -11
  56. package/dist/components/assistant-ui/native/AssistantModal.js +3 -3
  57. package/dist/components/assistant-ui/native/AssistantSidebar.js +3 -3
  58. package/dist/components/assistant-ui/native/ModelSelector.js +11 -11
  59. package/dist/components/assistant-ui/native/TaskCard.js +2 -2
  60. package/dist/components/assistant-ui/native/TaskGroup.js +3 -3
  61. package/dist/components/assistant-ui/native/Thread.js +2 -2
  62. package/dist/components/assistant-ui/native/ThreadListSidebar.js +2 -2
  63. package/dist/components/assistant-ui/native/index.js +17 -17
  64. package/dist/components/calendar/DatePicker.d.ts +27 -0
  65. package/dist/components/calendar/index.d.ts +2 -0
  66. package/dist/components/calendar/index.js +175 -2
  67. package/dist/components/chart/AnalyticsChart.d.ts +24 -0
  68. package/dist/components/chart/index.d.ts +2 -0
  69. package/dist/components/chart/index.js +88 -0
  70. package/dist/components/color-picker/ColorPicker.d.ts +14 -0
  71. package/dist/components/color-picker/index.d.ts +2 -0
  72. package/dist/components/color-picker/index.js +52 -0
  73. package/dist/components/command/index.js +1 -1
  74. package/dist/components/data-grid/DataGrid.d.ts +44 -0
  75. package/dist/components/data-grid/index.d.ts +2 -0
  76. package/dist/components/data-grid/index.js +228 -0
  77. package/dist/components/editor/RichTextEditor.d.ts +14 -0
  78. package/dist/components/editor/index.d.ts +2 -0
  79. package/dist/components/editor/index.js +108 -0
  80. package/dist/components/event-calendar/EventCalendar.d.ts +16 -0
  81. package/dist/components/event-calendar/EventForm.d.ts +18 -0
  82. package/dist/components/event-calendar/index.d.ts +4 -0
  83. package/dist/components/event-calendar/index.js +266 -0
  84. package/dist/components/file-upload/FileUpload.d.ts +14 -0
  85. package/dist/components/file-upload/index.d.ts +2 -0
  86. package/dist/components/file-upload/index.js +80 -0
  87. package/dist/components/gantt/Gantt.d.ts +22 -0
  88. package/dist/components/gantt/Roadmap.d.ts +18 -0
  89. package/dist/components/gantt/index.d.ts +4 -0
  90. package/dist/components/gantt/index.js +357 -0
  91. package/dist/components/image-crop/ImageCrop.d.ts +10 -0
  92. package/dist/components/image-crop/index.d.ts +2 -0
  93. package/dist/components/image-crop/index.js +35 -0
  94. package/dist/components/tree/Tree.d.ts +15 -0
  95. package/dist/components/tree/TreeItem.d.ts +22 -0
  96. package/dist/components/tree/index.d.ts +7 -0
  97. package/dist/components/tree/index.js +190 -0
  98. package/dist/event-calendar.css +83 -0
  99. package/dist/index.d.ts +33 -0
  100. package/dist/index.js +1422 -711
  101. package/dist/options/types.d.ts +5 -0
  102. package/llms/components/actions/Toolbar.md +89 -0
  103. package/llms/components/data-display/AnalyticsChart.md +48 -0
  104. package/llms/components/data-display/BarList.md +50 -0
  105. package/llms/components/data-display/DataGrid.md +51 -0
  106. package/llms/components/data-display/Meter.md +74 -0
  107. package/llms/components/data-display/Sparkline.md +50 -0
  108. package/llms/components/data-display/StatCard.md +65 -0
  109. package/llms/components/data-display/StatusTracker.md +51 -0
  110. package/llms/components/dates/DatePicker.md +97 -0
  111. package/llms/components/forms/AuthForm.md +70 -0
  112. package/llms/components/forms/ColorPicker.md +70 -0
  113. package/llms/components/forms/EventForm.md +66 -0
  114. package/llms/components/forms/FileUpload.md +55 -0
  115. package/llms/components/forms/FilterBar.md +34 -0
  116. package/llms/components/forms/ImageCrop.md +88 -0
  117. package/llms/components/forms/NumberField.md +94 -0
  118. package/llms/components/forms/Questionnaire.md +12 -0
  119. package/llms/components/forms/RichTextEditor.md +62 -0
  120. package/llms/components/forms/SettingsSection.md +65 -0
  121. package/llms/components/forms/Stepper.md +85 -0
  122. package/llms/components/forms/TagInput.md +47 -0
  123. package/llms/components/layout/AppShell.md +63 -0
  124. package/llms/components/layout/BillingUsage.md +51 -0
  125. package/llms/components/layout/DashboardLayout.md +78 -0
  126. package/llms/components/layout/PageHeader.md +49 -0
  127. package/llms/components/navigation/AccountMenu.md +42 -0
  128. package/llms/components/navigation/Tree.md +51 -0
  129. package/llms/components/navigation/WorkspaceSwitcher.md +48 -0
  130. package/llms/components/planning/EventCalendar.md +67 -0
  131. package/llms/components/planning/Gantt.md +66 -0
  132. package/llms/components/planning/Kanban.md +50 -0
  133. package/llms/components/planning/Roadmap.md +34 -0
  134. package/llms/setup.md +24 -14
  135. package/llms.txt +34 -0
  136. package/package.json +105 -3
  137. /package/dist/{chunk-8fcjx3he.js → chunk-az81pc04.js} +0 -0
  138. /package/dist/{chunk-7pyt4e5t.js → chunk-ghmkxqn5.js} +0 -0
  139. /package/dist/{chunk-5pvyxayg.js → chunk-m9zsppp2.js} +0 -0
@@ -0,0 +1,63 @@
1
+ # AppShell
2
+
3
+ Story: @alexgorbatchev/shadcn/components/layout/AppShell
4
+ Source: src/components/stories/layout/AppShell.stories.tsx
5
+
6
+ [Full source and local helpers](https://github.com/alexgorbatchev/shadcn/blob/main/src/components/stories/layout/AppShell.stories.tsx)
7
+
8
+ ## Public imports
9
+
10
+ ```tsx
11
+ import { AppShell, PageHeader, StatCard } from "@alexgorbatchev/shadcn";
12
+ ```
13
+
14
+ ## Default component
15
+
16
+ ```tsx
17
+ AppShell
18
+ ```
19
+
20
+ ## Default args
21
+
22
+ ```tsx
23
+ {
24
+ brand: "Acme",
25
+ height: 480,
26
+ header: "Workspace",
27
+ sidebarFooter: "Your account",
28
+ footer: "All changes saved",
29
+ navigation: [
30
+ { id: "overview", label: "Overview", href: "#overview", active: true },
31
+ { id: "settings", label: "Settings", href: "#settings" },
32
+ ],
33
+ children: (<>
34
+ <PageHeader title="Overview" description="Your workspace at a glance."/>
35
+ <StatCard label="Projects" value={24}/>
36
+ <p>Workspace content.</p>
37
+ </>),
38
+ }
39
+ ```
40
+
41
+ ## Examples
42
+
43
+ Storybook CSF excerpts. Default args and render apply unless overridden. Local helpers, fixtures, decorators, and providers may be required; these are reference excerpts, not standalone consumer modules. Interaction tests are omitted.
44
+
45
+ ### Default
46
+
47
+ ```tsx
48
+ {}
49
+ ```
50
+
51
+ ### Scrolling
52
+
53
+ ```tsx
54
+ {
55
+ args: {
56
+ sidebarFooter: undefined,
57
+ footer: undefined,
58
+ children: (<>
59
+ {Array.from({ length: 30 }, (_, i) => (<p key={i}>Project {i + 1}</p>))}
60
+ </>),
61
+ }
62
+ }
63
+ ```
@@ -0,0 +1,51 @@
1
+ # BillingUsage
2
+
3
+ Story: @alexgorbatchev/shadcn/components/layout/BillingUsage
4
+ Source: src/components/stories/layout/BillingUsage.stories.tsx
5
+
6
+ [Full source and local helpers](https://github.com/alexgorbatchev/shadcn/blob/main/src/components/stories/layout/BillingUsage.stories.tsx)
7
+
8
+ ## Public imports
9
+
10
+ ```tsx
11
+ import { BillingUsage } from "@alexgorbatchev/shadcn";
12
+ ```
13
+
14
+ ## Default component
15
+
16
+ ```tsx
17
+ BillingUsage
18
+ ```
19
+
20
+ ## Default args
21
+
22
+ ```tsx
23
+ {
24
+ plan: "Team",
25
+ price: "$49",
26
+ period: "per month",
27
+ metrics: [
28
+ { id: "storage", label: "Storage", used: 42, limit: 100, unit: "GB" },
29
+ { id: "seats", label: "Seats", used: 8, limit: 10 },
30
+ ],
31
+ onManage: fn(),
32
+ }
33
+ ```
34
+
35
+ ## Examples
36
+
37
+ Storybook CSF excerpts. Default args and render apply unless overridden. Local helpers, fixtures, decorators, and providers may be required; these are reference excerpts, not standalone consumer modules. Interaction tests are omitted.
38
+
39
+ ### Default
40
+
41
+ ```tsx
42
+ {}
43
+ ```
44
+
45
+ ### Pending
46
+
47
+ ```tsx
48
+ {
49
+ args: { pending: true }
50
+ }
51
+ ```
@@ -0,0 +1,78 @@
1
+ # DashboardLayout
2
+
3
+ Story: @alexgorbatchev/shadcn/components/layout/DashboardLayout
4
+ Source: src/components/stories/layout/DashboardLayout.stories.tsx
5
+
6
+ [Full source and local helpers](https://github.com/alexgorbatchev/shadcn/blob/main/src/components/stories/layout/DashboardLayout.stories.tsx)
7
+
8
+ ## Public imports
9
+
10
+ ```tsx
11
+ import { DashboardLayout, Card, CardHeader, CardTitle, CardContent, Button, BarList } from "@alexgorbatchev/shadcn";
12
+ import { AnalyticsChart } from "@alexgorbatchev/shadcn/chart";
13
+ ```
14
+
15
+ ## Default component
16
+
17
+ ```tsx
18
+ DashboardLayout
19
+ ```
20
+
21
+ ## Default args
22
+
23
+ ```tsx
24
+ {
25
+ title: "Overview",
26
+ description: "Your workspace at a glance.",
27
+ actions: <Button onClick={exportReport}>Export report</Button>,
28
+ stats: [
29
+ { id: "revenue", label: "Revenue", value: "$24,580", change: "+12%", changeIntent: "positive" },
30
+ { id: "customers", label: "Customers", value: "1,240", change: "+8%", changeIntent: "positive" },
31
+ { id: "churn", label: "Churn", value: "2.1%", change: "-0.4%", changeIntent: "positive" },
32
+ { id: "uptime", label: "Uptime", value: "99.99%" },
33
+ ],
34
+ children: (<div className="grid min-w-0 gap-4 lg:grid-cols-2">
35
+ <Card>
36
+ <CardHeader>
37
+ <CardTitle>Revenue</CardTitle>
38
+ </CardHeader>
39
+ <CardContent>
40
+ <AnalyticsChart label="Monthly revenue" data={[
41
+ { month: "Jan", value: 10 },
42
+ { month: "Feb", value: 20 },
43
+ ]} index="month" series={[{ key: "value", label: "Revenue", type: "area" }]}/>
44
+ </CardContent>
45
+ </Card>
46
+ <Card>
47
+ <CardHeader>
48
+ <CardTitle>Top channels</CardTitle>
49
+ </CardHeader>
50
+ <CardContent>
51
+ <BarList label="Channels" items={[
52
+ { id: "direct", label: "Direct", value: 300 },
53
+ { id: "search", label: "Search", value: 180 },
54
+ ]}/>
55
+ </CardContent>
56
+ </Card>
57
+ </div>),
58
+ footer: <p className="text-sm text-muted-foreground">Updated just now</p>,
59
+ }
60
+ ```
61
+
62
+ ## Examples
63
+
64
+ Storybook CSF excerpts. Default args and render apply unless overridden. Local helpers, fixtures, decorators, and providers may be required; these are reference excerpts, not standalone consumer modules. Interaction tests are omitted.
65
+
66
+ ### Default
67
+
68
+ ```tsx
69
+ {}
70
+ ```
71
+
72
+ ### EmptyStats
73
+
74
+ ```tsx
75
+ {
76
+ args: { stats: [], description: undefined, actions: undefined, footer: undefined }
77
+ }
78
+ ```
@@ -0,0 +1,49 @@
1
+ # PageHeader
2
+
3
+ Story: @alexgorbatchev/shadcn/components/layout/PageHeader
4
+ Source: src/components/stories/layout/PageHeader.stories.tsx
5
+
6
+ [Full source and local helpers](https://github.com/alexgorbatchev/shadcn/blob/main/src/components/stories/layout/PageHeader.stories.tsx)
7
+
8
+ ## Public imports
9
+
10
+ ```tsx
11
+ import { PageHeader, Button } from "@alexgorbatchev/shadcn";
12
+ ```
13
+
14
+ ## Default component
15
+
16
+ ```tsx
17
+ PageHeader
18
+ ```
19
+
20
+ ## Default args
21
+
22
+ ```tsx
23
+ {
24
+ title: "Projects",
25
+ description: "Manage your team's work.",
26
+ breadcrumbs: (<nav aria-label="Breadcrumb">
27
+ <a href="#home">Home</a>
28
+ </nav>),
29
+ actions: <Button onClick={action}>New project</Button>,
30
+ }
31
+ ```
32
+
33
+ ## Examples
34
+
35
+ Storybook CSF excerpts. Default args and render apply unless overridden. Local helpers, fixtures, decorators, and providers may be required; these are reference excerpts, not standalone consumer modules. Interaction tests are omitted.
36
+
37
+ ### Default
38
+
39
+ ```tsx
40
+ {}
41
+ ```
42
+
43
+ ### TitleOnly
44
+
45
+ ```tsx
46
+ {
47
+ args: { description: undefined, breadcrumbs: undefined, actions: undefined }
48
+ }
49
+ ```
@@ -0,0 +1,42 @@
1
+ # AccountMenu
2
+
3
+ Story: @alexgorbatchev/shadcn/components/navigation/AccountMenu
4
+ Source: src/components/stories/navigation/AccountMenu.stories.tsx
5
+
6
+ [Full source and local helpers](https://github.com/alexgorbatchev/shadcn/blob/main/src/components/stories/navigation/AccountMenu.stories.tsx)
7
+
8
+ ## Public imports
9
+
10
+ ```tsx
11
+ import { AccountMenu } from "@alexgorbatchev/shadcn";
12
+ ```
13
+
14
+ ## Default component
15
+
16
+ ```tsx
17
+ AccountMenu
18
+ ```
19
+
20
+ ## Default args
21
+
22
+ ```tsx
23
+ { name: "Alex", email: "alex@example.com", onAction: fn() }
24
+ ```
25
+
26
+ ## Examples
27
+
28
+ Storybook CSF excerpts. Default args and render apply unless overridden. Local helpers, fixtures, decorators, and providers may be required; these are reference excerpts, not standalone consumer modules. Interaction tests are omitted.
29
+
30
+ ### Default
31
+
32
+ ```tsx
33
+ {}
34
+ ```
35
+
36
+ ### NameOnly
37
+
38
+ ```tsx
39
+ {
40
+ args: { email: undefined }
41
+ }
42
+ ```
@@ -0,0 +1,51 @@
1
+ # Tree
2
+
3
+ Story: @alexgorbatchev/shadcn/components/navigation/Tree
4
+ Source: src/components/stories/navigation/Tree.stories.tsx
5
+
6
+ [Full source and local helpers](https://github.com/alexgorbatchev/shadcn/blob/main/src/components/stories/navigation/Tree.stories.tsx)
7
+
8
+ ## Public imports
9
+
10
+ ```tsx
11
+ import { Tree, TreeItem, useTree, syncDataLoaderFeature, hotkeysCoreFeature, selectionFeature } from "@alexgorbatchev/shadcn/tree";
12
+ import { Button, ContextMenu, ContextMenuTrigger, ContextMenuContent, ContextMenuGroup, ContextMenuItem, InlineEdit } from "@alexgorbatchev/shadcn";
13
+ ```
14
+
15
+ ## Supporting imports
16
+
17
+ ```tsx
18
+ import { useState } from "react";
19
+ ```
20
+
21
+ ## Default render
22
+
23
+ ```tsx
24
+ () => <Example />
25
+ ```
26
+
27
+ ## Examples
28
+
29
+ Storybook CSF excerpts. Default args and render apply unless overridden. Local helpers, fixtures, decorators, and providers may be required; these are reference excerpts, not standalone consumer modules. Interaction tests are omitted.
30
+
31
+ ### Default
32
+
33
+ ```tsx
34
+ {}
35
+ ```
36
+
37
+ ### ComposedRows
38
+
39
+ ```tsx
40
+ {
41
+ render: () => <Example isComposed/>
42
+ }
43
+ ```
44
+
45
+ ### EditableRows
46
+
47
+ ```tsx
48
+ {
49
+ render: () => <EditableExample />
50
+ }
51
+ ```
@@ -0,0 +1,48 @@
1
+ # WorkspaceSwitcher
2
+
3
+ Story: @alexgorbatchev/shadcn/components/navigation/WorkspaceSwitcher
4
+ Source: src/components/stories/navigation/WorkspaceSwitcher.stories.tsx
5
+
6
+ [Full source and local helpers](https://github.com/alexgorbatchev/shadcn/blob/main/src/components/stories/navigation/WorkspaceSwitcher.stories.tsx)
7
+
8
+ ## Public imports
9
+
10
+ ```tsx
11
+ import { WorkspaceSwitcher } from "@alexgorbatchev/shadcn";
12
+ ```
13
+
14
+ ## Default component
15
+
16
+ ```tsx
17
+ WorkspaceSwitcher
18
+ ```
19
+
20
+ ## Default args
21
+
22
+ ```tsx
23
+ {
24
+ workspaces: [
25
+ { value: "personal", label: "Personal" },
26
+ { value: "team", label: "Team" },
27
+ ],
28
+ onValueChange: fn(),
29
+ }
30
+ ```
31
+
32
+ ## Examples
33
+
34
+ Storybook CSF excerpts. Default args and render apply unless overridden. Local helpers, fixtures, decorators, and providers may be required; these are reference excerpts, not standalone consumer modules. Interaction tests are omitted.
35
+
36
+ ### Default
37
+
38
+ ```tsx
39
+ {}
40
+ ```
41
+
42
+ ### Disabled
43
+
44
+ ```tsx
45
+ {
46
+ args: { disabled: true }
47
+ }
48
+ ```
@@ -0,0 +1,67 @@
1
+ # EventCalendar
2
+
3
+ Story: @alexgorbatchev/shadcn/components/planning/EventCalendar
4
+ Source: src/components/stories/planning/EventCalendar.stories.tsx
5
+
6
+ [Full source and local helpers](https://github.com/alexgorbatchev/shadcn/blob/main/src/components/stories/planning/EventCalendar.stories.tsx)
7
+
8
+ ## Public imports
9
+
10
+ ```tsx
11
+ import { EventCalendar } from "@alexgorbatchev/shadcn/event-calendar";
12
+ ```
13
+
14
+ ## Default component
15
+
16
+ ```tsx
17
+ EventCalendar
18
+ ```
19
+
20
+ ## Default args
21
+
22
+ ```tsx
23
+ {
24
+ label: "Team calendar",
25
+ events,
26
+ defaultDate: new Date(2026, 9, 22),
27
+ defaultView: "month",
28
+ views: ["month", "week", "day", "agenda"],
29
+ onSelectEvent: fn(),
30
+ onView: fn(),
31
+ onNavigate: fn(),
32
+ }
33
+ ```
34
+
35
+ ## Examples
36
+
37
+ Storybook CSF excerpts. Default args and render apply unless overridden. Local helpers, fixtures, decorators, and providers may be required; these are reference excerpts, not standalone consumer modules. Interaction tests are omitted.
38
+
39
+ ### Default
40
+
41
+ ```tsx
42
+ {}
43
+ ```
44
+
45
+ ### KeyboardSelection
46
+
47
+ ```tsx
48
+ {}
49
+ ```
50
+
51
+ ### CustomMessages
52
+
53
+ ```tsx
54
+ {
55
+ args: {
56
+ messages: {
57
+ previous: "Précédent",
58
+ next: "Suivant",
59
+ today: "Aujourd’hui",
60
+ month: "Mois",
61
+ week: "Semaine",
62
+ day: "Jour",
63
+ agenda: "Agenda",
64
+ },
65
+ }
66
+ }
67
+ ```
@@ -0,0 +1,66 @@
1
+ # Gantt
2
+
3
+ Story: @alexgorbatchev/shadcn/components/planning/Gantt
4
+ Source: src/components/stories/planning/Gantt.stories.tsx
5
+
6
+ [Full source and local helpers](https://github.com/alexgorbatchev/shadcn/blob/main/src/components/stories/planning/Gantt.stories.tsx)
7
+
8
+ ## Public imports
9
+
10
+ ```tsx
11
+ import { Gantt, type GanttTask } from "@alexgorbatchev/shadcn/gantt";
12
+ ```
13
+
14
+ ## Supporting imports
15
+
16
+ ```tsx
17
+ import { useState } from "react";
18
+ ```
19
+
20
+ ## Default render
21
+
22
+ ```tsx
23
+ () => <Example />
24
+ ```
25
+
26
+ ## Examples
27
+
28
+ Storybook CSF excerpts. Default args and render apply unless overridden. Local helpers, fixtures, decorators, and providers may be required; these are reference excerpts, not standalone consumer modules. Interaction tests are omitted.
29
+
30
+ ### Default
31
+
32
+ ```tsx
33
+ {}
34
+ ```
35
+
36
+ ### ReadOnly
37
+
38
+ ```tsx
39
+ {
40
+ render: () => <Example readOnly/>
41
+ }
42
+ ```
43
+
44
+ ### Empty
45
+
46
+ ```tsx
47
+ {
48
+ render: () => (<Gantt label="Empty plan" tasks={[]} startDate={new Date(2026, 9, 20)} days={7} onTaskSelect={select}/>)
49
+ }
50
+ ```
51
+
52
+ ### DaylightSaving
53
+
54
+ ```tsx
55
+ {
56
+ render: () => {
57
+ const [value, setValue] = useState([
58
+ { id: "dst", title: "DST task", start: new Date("2026-03-07T17:00:00Z"), end: new Date("2026-03-08T16:00:00Z") },
59
+ ]);
60
+ return (<>
61
+ <Gantt label="DST plan" tasks={value} startDate={new Date("2026-03-06T08:00:00Z")} days={7} timeZone="America/Los_Angeles" onTaskSelect={select} onTaskChange={(task) => setValue([task])}/>
62
+ <output aria-label="Start instant">{value[0]?.start.toISOString()}</output>
63
+ </>);
64
+ }
65
+ }
66
+ ```
@@ -0,0 +1,50 @@
1
+ # Kanban
2
+
3
+ Story: @alexgorbatchev/shadcn/components/planning/Kanban
4
+ Source: src/components/stories/planning/Kanban.stories.tsx
5
+
6
+ [Full source and local helpers](https://github.com/alexgorbatchev/shadcn/blob/main/src/components/stories/planning/Kanban.stories.tsx)
7
+
8
+ ## Public imports
9
+
10
+ ```tsx
11
+ import { Kanban, type KanbanItem } from "@alexgorbatchev/shadcn";
12
+ ```
13
+
14
+ ## Supporting imports
15
+
16
+ ```tsx
17
+ import { useState } from "react";
18
+ ```
19
+
20
+ ## Default render
21
+
22
+ ```tsx
23
+ () => <Example />
24
+ ```
25
+
26
+ ## Examples
27
+
28
+ Storybook CSF excerpts. Default args and render apply unless overridden. Local helpers, fixtures, decorators, and providers may be required; these are reference excerpts, not standalone consumer modules. Interaction tests are omitted.
29
+
30
+ ### Default
31
+
32
+ ```tsx
33
+ {}
34
+ ```
35
+
36
+ ### Disabled
37
+
38
+ ```tsx
39
+ {
40
+ render: () => <Example disabled/>
41
+ }
42
+ ```
43
+
44
+ ### Restricted
45
+
46
+ ```tsx
47
+ {
48
+ render: () => <Example restricted/>
49
+ }
50
+ ```
@@ -0,0 +1,34 @@
1
+ # Roadmap
2
+
3
+ Story: @alexgorbatchev/shadcn/components/planning/Roadmap
4
+ Source: src/components/stories/planning/Roadmap.stories.tsx
5
+
6
+ [Full source and local helpers](https://github.com/alexgorbatchev/shadcn/blob/main/src/components/stories/planning/Roadmap.stories.tsx)
7
+
8
+ ## Public imports
9
+
10
+ ```tsx
11
+ import { Roadmap, type RoadmapItem } from "@alexgorbatchev/shadcn/gantt";
12
+ ```
13
+
14
+ ## Supporting imports
15
+
16
+ ```tsx
17
+ import { useState } from "react";
18
+ ```
19
+
20
+ ## Default render
21
+
22
+ ```tsx
23
+ () => <Example />
24
+ ```
25
+
26
+ ## Examples
27
+
28
+ Storybook CSF excerpts. Default args and render apply unless overridden. Local helpers, fixtures, decorators, and providers may be required; these are reference excerpts, not standalone consumer modules. Interaction tests are omitted.
29
+
30
+ ### Default
31
+
32
+ ```tsx
33
+ {}
34
+ ```
package/llms/setup.md CHANGED
@@ -50,20 +50,30 @@ Package preparation and contributor commands are documented in [AGENTS.md](https
50
50
 
51
51
  Import shared controls and providers from `@alexgorbatchev/shadcn`. Import the following features from their dedicated entry points and install only the peers you use. These features, their hooks, and their types are not exported from the package root.
52
52
 
53
- | Import path suffix | Components | Install alongside the package |
54
- | ------------------- | ------------------------------------------------------- | ------------------------------------------------------------- |
55
- | `/chart` | Chart components, ChartStyle, useChart, and chart types | `bun add recharts@3.8.0 cssesc@3.0.0 es-toolkit@1.52.0` |
56
- | `/calendar` | Calendar, CalendarDayButton | `bun add @daypicker/react@^10.0.2` |
57
- | `/persian-calendar` | PersianCalendar | `bun add @daypicker/persian@^10.0.2 @daypicker/react@^10.0.2` |
58
- | `/carousel` | Carousel components, useCarousel, and carousel types | `bun add embla-carousel-react@^8.6.0` |
59
- | `/command` | Command components, including CommandDialog | `bun add cmdk@^1.1.1` |
60
- | `/resizable` | Resizable components and SplitView | `bun add react-resizable-panels@^4.14.3` |
61
- | `/fonts.css` | JetBrains Mono font stylesheet | `bun add @fontsource-variable/jetbrains-mono@^5.3.0` |
62
- | `/sonner` | Sonner, SonnerToaster, Toaster, toast, useSonner | No additional install; patched implementation is bundled |
63
- | `/input-otp` | InputOTP components | No additional install; patched implementation is bundled |
64
- | `/virtual-table` | VirtualTable and row measurement props | `@tanstack/react-virtual@3.14.13` |
65
- | `/message-scroller` | MessageScroller components, hooks, and types | No additional install; patched implementation is bundled |
66
- | `/questionnaire` | Questionnaire components and types | No additional install; patched implementation is bundled |
53
+ | Import path suffix | Components | Install alongside the package |
54
+ | ------------------- | -------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- |
55
+ | `/chart` | Chart parts, AnalyticsChart, Sparkline, hooks and types | `bun add recharts@3.8.0 cssesc@3.0.0 es-toolkit@1.52.0` |
56
+ | `/calendar` | Calendar, CalendarDayButton, DatePicker, DateRangePicker | `bun add @daypicker/react@^10.0.2` |
57
+ | `/persian-calendar` | PersianCalendar | `bun add @daypicker/persian@^10.0.2 @daypicker/react@^10.0.2` |
58
+ | `/carousel` | Carousel components, useCarousel, and carousel types | `bun add embla-carousel-react@^8.6.0` |
59
+ | `/command` | Command components, including CommandDialog | `bun add cmdk@^1.1.1` |
60
+ | `/resizable` | Resizable components and SplitView | `bun add react-resizable-panels@^4.14.3` |
61
+ | `/fonts.css` | JetBrains Mono font stylesheet | `bun add @fontsource-variable/jetbrains-mono@^5.3.0` |
62
+ | `/sonner` | Sonner, SonnerToaster, Toaster, toast, useSonner | No additional install; patched implementation is bundled |
63
+ | `/input-otp` | InputOTP components | No additional install; patched implementation is bundled |
64
+ | `/virtual-table` | VirtualTable and row measurement props | `@tanstack/react-virtual@3.14.13` |
65
+ | `/message-scroller` | MessageScroller components, hooks, and types | No additional install; patched implementation is bundled |
66
+ | `/questionnaire` | Questionnaire components and types | No additional install; patched implementation is bundled |
67
+ | `/data-grid` | DataGrid and native table helpers | `bun add @tanstack/react-table@9.2.8` |
68
+ | `/file-upload` | FileUpload selection and validation | `bun add react-dropzone@^20.1.4` |
69
+ | `/color-picker` | ColorPicker | `bun add react-colorful@^5.8.1` |
70
+ | `/image-crop` | ImageCrop and native export helpers | `bun add react-image-crop@^11.1.2` |
71
+ | `/tree` | Tree, native hooks and features | `bun add @headless-tree/core@^1.8.0 @headless-tree/react@^1.8.0` |
72
+ | `/editor` | RichTextEditor, native Tiptap hooks and StarterKit | `bun add @tiptap/core@^3.32.0 @tiptap/react@^3.32.0 @tiptap/pm@^3.32.0 @tiptap/starter-kit@^3.32.0` |
73
+ | `/event-calendar` | EventCalendar, EventForm and native calendar APIs | `bun add react-big-calendar@^1.20.0 date-fns@^4.4.0`; TypeScript: `bun add -d @types/react-big-calendar@^1.16.3` |
74
+ | `/gantt` | Gantt and Roadmap | `bun add date-fns@^4.4.0 @date-fns/tz@^1.5.0` |
75
+
76
+ Import `@alexgorbatchev/shadcn/event-calendar.css` for EventCalendar, and `react-image-crop/dist/ReactCrop.css` for ImageCrop. The root also provides application shells, dashboard and billing layouts, authentication/settings forms, account/workspace controls, Kanban, facets, tags, number fields, toolbars, meters, stat cards and status displays. See the [component catalog reference](https://github.com/alexgorbatchev/shadcn/blob/main/docs/internal/component-catalog.md) for source groups, native APIs, dependency costs and consumer responsibilities.
67
77
 
68
78
  For example:
69
79