@behavioral-agentic-design-system/core 0.38.0 → 0.39.0

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 (172) hide show
  1. package/package.json +2 -2
  2. package/src/app/preview/components/page.tsx +362 -0
  3. package/src/components/Foundations/Typography.stories.tsx +82 -21
  4. package/src/components/ui/accordion.tsx +67 -5
  5. package/src/components/ui/alert.tsx +20 -7
  6. package/src/components/ui/avatar.tsx +18 -4
  7. package/src/components/ui/breadcrumb.tsx +47 -0
  8. package/src/components/ui/checkbox-card.tsx +48 -8
  9. package/src/components/ui/checkbox.tsx +17 -8
  10. package/src/components/ui/format-date.tsx +107 -0
  11. package/src/components/ui/progress.tsx +6 -5
  12. package/src/components/ui/sparkline.tsx +198 -0
  13. package/src/components/ui/tag.tsx +17 -1
  14. package/src/components/ui/tags-input.tsx +84 -11
  15. package/src/components/ui/toggle-group.tsx +13 -0
  16. package/src/components/ui/week-picker.tsx +463 -0
  17. package/src/data/docs-index.ts +7 -0
  18. package/src/stories/Accordion.stories.tsx +59 -1
  19. package/src/stories/ActionBar.stories.tsx +1 -1
  20. package/src/stories/Affix.stories.tsx +1 -1
  21. package/src/stories/AiBadge.stories.tsx +1 -1
  22. package/src/stories/Alert.stories.tsx +36 -1
  23. package/src/stories/AlertDialog.stories.tsx +1 -1
  24. package/src/stories/Anchor.stories.tsx +1 -1
  25. package/src/stories/AngleSlider.stories.tsx +1 -1
  26. package/src/stories/AspectRatio.stories.tsx +1 -1
  27. package/src/stories/Autocomplete.stories.tsx +1 -1
  28. package/src/stories/Avatar.stories.tsx +41 -1
  29. package/src/stories/Badge.stories.tsx +1 -1
  30. package/src/stories/Blockquote.stories.tsx +1 -1
  31. package/src/stories/BottomNavigation.stories.tsx +1 -1
  32. package/src/stories/Breadcrumb.stories.tsx +38 -5
  33. package/src/stories/Burger.stories.tsx +1 -1
  34. package/src/stories/Button.stories.tsx +9 -1
  35. package/src/stories/ButtonGroup.stories.tsx +1 -1
  36. package/src/stories/Calendar.stories.tsx +1 -1
  37. package/src/stories/Card.stories.tsx +1 -1
  38. package/src/stories/Carousel.stories.tsx +1 -1
  39. package/src/stories/Cascader.stories.tsx +1 -1
  40. package/src/stories/Chart.stories.tsx +1 -1
  41. package/src/stories/ChatBubble.stories.tsx +1 -1
  42. package/src/stories/ChatMarker.stories.tsx +1 -1
  43. package/src/stories/Checkbox.stories.tsx +36 -5
  44. package/src/stories/CheckboxCard.stories.tsx +37 -2
  45. package/src/stories/CheckboxGroup.stories.tsx +1 -1
  46. package/src/stories/Chip.stories.tsx +1 -1
  47. package/src/stories/CircularProgress.stories.tsx +17 -1
  48. package/src/stories/Clipboard.stories.tsx +1 -1
  49. package/src/stories/CloseButton.stories.tsx +1 -1
  50. package/src/stories/Code.stories.tsx +1 -1
  51. package/src/stories/Collapsible.stories.tsx +1 -1
  52. package/src/stories/ColorPicker.stories.tsx +1 -1
  53. package/src/stories/ColorSwatch.stories.tsx +1 -1
  54. package/src/stories/Combobox.stories.tsx +1 -1
  55. package/src/stories/Command.stories.tsx +1 -1
  56. package/src/stories/Container.stories.tsx +1 -1
  57. package/src/stories/ContextMenu.stories.tsx +1 -1
  58. package/src/stories/CopyButton.stories.tsx +9 -1
  59. package/src/stories/DataList.stories.tsx +1 -1
  60. package/src/stories/DataTable.stories.tsx +1 -1
  61. package/src/stories/DateField.stories.tsx +1 -1
  62. package/src/stories/DatePicker.stories.tsx +1 -1
  63. package/src/stories/DateRangePicker.stories.tsx +1 -1
  64. package/src/stories/Dialog.stories.tsx +1 -1
  65. package/src/stories/Drawer.stories.tsx +1 -1
  66. package/src/stories/DropdownMenu.stories.tsx +1 -1
  67. package/src/stories/Editable.stories.tsx +1 -1
  68. package/src/stories/EmptyState.stories.tsx +1 -1
  69. package/src/stories/Field.stories.tsx +1 -1
  70. package/src/stories/Fieldset.stories.tsx +1 -1
  71. package/src/stories/FileButton.stories.tsx +1 -1
  72. package/src/stories/FileUpload.stories.tsx +1 -1
  73. package/src/stories/FloatLabel.stories.tsx +1 -1
  74. package/src/stories/FloatingActionButton.stories.tsx +1 -1
  75. package/src/stories/FloatingIndicator.stories.tsx +1 -1
  76. package/src/stories/FloatingPanel.stories.tsx +9 -1
  77. package/src/stories/FocusTrap.stories.tsx +1 -1
  78. package/src/stories/FormatByte.stories.tsx +1 -1
  79. package/src/stories/FormatDate.stories.tsx +174 -0
  80. package/src/stories/FormatNumber.stories.tsx +1 -1
  81. package/src/stories/Highlight.stories.tsx +1 -1
  82. package/src/stories/HoverCard.stories.tsx +1 -1
  83. package/src/stories/Image.stories.tsx +1 -1
  84. package/src/stories/Indicator.stories.tsx +17 -1
  85. package/src/stories/Input.stories.tsx +1 -1
  86. package/src/stories/InputClearButton.stories.tsx +1 -1
  87. package/src/stories/InputGroup.stories.tsx +1 -1
  88. package/src/stories/Kbd.stories.tsx +1 -1
  89. package/src/stories/KeyboardShortcut.stories.tsx +1 -1
  90. package/src/stories/Label.stories.tsx +1 -1
  91. package/src/stories/Link.stories.tsx +1 -1
  92. package/src/stories/List.stories.tsx +1 -1
  93. package/src/stories/Listbox.stories.tsx +1 -1
  94. package/src/stories/LoadingDots.stories.tsx +1 -1
  95. package/src/stories/LoadingOverlay.stories.tsx +1 -1
  96. package/src/stories/Mark.stories.tsx +1 -1
  97. package/src/stories/Marquee.stories.tsx +1 -1
  98. package/src/stories/Masonry.stories.tsx +1 -1
  99. package/src/stories/Menubar.stories.tsx +1 -1
  100. package/src/stories/Meter.stories.tsx +1 -1
  101. package/src/stories/MonthPicker.stories.tsx +1 -1
  102. package/src/stories/MotionToggle.stories.tsx +1 -1
  103. package/src/stories/MultiSelect.stories.tsx +1 -1
  104. package/src/stories/NativeSelect.stories.tsx +1 -1
  105. package/src/stories/NavLink.stories.tsx +1 -1
  106. package/src/stories/NavigationMenu.stories.tsx +1 -1
  107. package/src/stories/NavigationRail.stories.tsx +9 -1
  108. package/src/stories/Notification.stories.tsx +1 -1
  109. package/src/stories/NumberInput.stories.tsx +1 -1
  110. package/src/stories/Overlay.stories.tsx +1 -1
  111. package/src/stories/Pagination.stories.tsx +1 -1
  112. package/src/stories/PasswordInput.stories.tsx +1 -1
  113. package/src/stories/PinInput.stories.tsx +1 -1
  114. package/src/stories/Popover.stories.tsx +1 -1
  115. package/src/stories/Progress.stories.tsx +11 -1
  116. package/src/stories/Prose.stories.tsx +1 -1
  117. package/src/stories/QrCode.stories.tsx +1 -1
  118. package/src/stories/Questionnaire.stories.tsx +1 -1
  119. package/src/stories/RadioGroup.stories.tsx +1 -1
  120. package/src/stories/RatingGroup.stories.tsx +1 -1
  121. package/src/stories/Resizable.stories.tsx +1 -1
  122. package/src/stories/Result.stories.tsx +1 -1
  123. package/src/stories/Reveal.stories.tsx +1 -1
  124. package/src/stories/RollingNumber.stories.tsx +1 -1
  125. package/src/stories/ScrollArea.stories.tsx +1 -1
  126. package/src/stories/SearchInput.stories.tsx +1 -1
  127. package/src/stories/SegmentedControl.stories.tsx +1 -1
  128. package/src/stories/Select.stories.tsx +1 -1
  129. package/src/stories/Separator.stories.tsx +1 -1
  130. package/src/stories/Sheet.stories.tsx +1 -1
  131. package/src/stories/Sidebar.stories.tsx +1 -1
  132. package/src/stories/SignaturePad.stories.tsx +1 -1
  133. package/src/stories/SimpleGrid.stories.tsx +1 -1
  134. package/src/stories/Skeleton.stories.tsx +1 -1
  135. package/src/stories/SkeletonTable.stories.tsx +1 -1
  136. package/src/stories/SkipLink.stories.tsx +1 -1
  137. package/src/stories/Slider.stories.tsx +1 -1
  138. package/src/stories/Sonner.stories.tsx +1 -1
  139. package/src/stories/Sparkline.stories.tsx +208 -0
  140. package/src/stories/Spinner.stories.tsx +9 -1
  141. package/src/stories/Spoiler.stories.tsx +1 -1
  142. package/src/stories/Squircle.stories.tsx +1 -1
  143. package/src/stories/Stack.stories.tsx +1 -1
  144. package/src/stories/StatusBadge.stories.tsx +1 -1
  145. package/src/stories/Stepper.stories.tsx +1 -1
  146. package/src/stories/Switch.stories.tsx +1 -1
  147. package/src/stories/Table.stories.tsx +1 -1
  148. package/src/stories/Tabs.stories.tsx +1 -1
  149. package/src/stories/Tag.stories.tsx +23 -1
  150. package/src/stories/TagsInput.stories.tsx +46 -1
  151. package/src/stories/Text.stories.tsx +1 -1
  152. package/src/stories/Textarea.stories.tsx +1 -1
  153. package/src/stories/ThemeIcon.stories.tsx +1 -1
  154. package/src/stories/TimePicker.stories.tsx +1 -1
  155. package/src/stories/Timeline.stories.tsx +9 -1
  156. package/src/stories/Timer.stories.tsx +1 -1
  157. package/src/stories/Toggle.stories.tsx +1 -1
  158. package/src/stories/ToggleGroup.stories.tsx +21 -1
  159. package/src/stories/ToggleTip.stories.tsx +1 -1
  160. package/src/stories/Toolbar.stories.tsx +1 -1
  161. package/src/stories/Tooltip.stories.tsx +1 -1
  162. package/src/stories/Tour.stories.tsx +1 -1
  163. package/src/stories/TransferList.stories.tsx +1 -1
  164. package/src/stories/TreeSelect.stories.tsx +1 -1
  165. package/src/stories/TreeView.stories.tsx +1 -1
  166. package/src/stories/TypingIndicator.stories.tsx +1 -1
  167. package/src/stories/VisuallyHidden.stories.tsx +1 -1
  168. package/src/stories/Watermark.stories.tsx +1 -1
  169. package/src/stories/WeekPicker.stories.tsx +90 -0
  170. package/src/stories/WordRotate.stories.tsx +1 -1
  171. package/src/stories/YearPicker.stories.tsx +1 -1
  172. package/src/stories/story-groups.json +199 -0
@@ -0,0 +1,199 @@
1
+ {
2
+ "$comment": [
3
+ "The Storybook sidebar's middle layer: which group each component sits in.",
4
+ "",
5
+ "WHY THIS IS A FILE AND NOT 151 EDITED TITLES.",
6
+ "",
7
+ "Every story used to be titled Components/<Name>, so the sidebar was one",
8
+ "alphabetical list of 151 items and finding anything meant already knowing its",
9
+ "name. Grouping them by hand would work once and then rot: the next component",
10
+ "lands with whatever title its author types, and nothing notices.",
11
+ "",
12
+ "So the grouping lives here, scripts/check-story-groups.mjs enforces it, and a",
13
+ "component that is not listed fails the check rather than quietly appearing at",
14
+ "the top level. Reshuffling the sidebar is an edit to this file, not to 151",
15
+ "story files.",
16
+ "",
17
+ "GROUP NAMES ARE FOR PEOPLE SCANNING A SIDEBAR. They are not an architectural",
18
+ "statement and they are not the layer model \u2014 they answer 'where would someone",
19
+ "look for this', which is why Accordion sits under Layout rather than Actions",
20
+ "and Carousel sits under Layout rather than Content.",
21
+ "",
22
+ "No group should get much past twenty-five. Past that a person is scanning",
23
+ "again, which is the problem this replaces."
24
+ ],
25
+ "Actions": [
26
+ "Button",
27
+ "ButtonGroup",
28
+ "CloseButton",
29
+ "CopyButton",
30
+ "FileButton",
31
+ "FloatingActionButton",
32
+ "Toggle",
33
+ "ToggleGroup",
34
+ "Burger",
35
+ "MotionToggle",
36
+ "Clipboard"
37
+ ],
38
+ "Forms": [
39
+ "Input",
40
+ "InputGroup",
41
+ "InputClearButton",
42
+ "SearchInput",
43
+ "Textarea",
44
+ "PasswordInput",
45
+ "NumberInput",
46
+ "PinInput",
47
+ "TagsInput",
48
+ "Editable",
49
+ "Field",
50
+ "Fieldset",
51
+ "Label",
52
+ "FloatLabel",
53
+ "FileUpload",
54
+ "SignaturePad",
55
+ "Questionnaire"
56
+ ],
57
+ "Selection": [
58
+ "Select",
59
+ "NativeSelect",
60
+ "MultiSelect",
61
+ "Combobox",
62
+ "Autocomplete",
63
+ "Listbox",
64
+ "Cascader",
65
+ "TreeSelect",
66
+ "TransferList",
67
+ "Checkbox",
68
+ "CheckboxCard",
69
+ "CheckboxGroup",
70
+ "RadioGroup",
71
+ "Switch",
72
+ "SegmentedControl",
73
+ "Slider",
74
+ "AngleSlider",
75
+ "RatingGroup",
76
+ "ColorPicker",
77
+ "ColorSwatch"
78
+ ],
79
+ "Dates and time": [
80
+ "Calendar",
81
+ "DateField",
82
+ "DatePicker",
83
+ "DateRangePicker",
84
+ "TimePicker",
85
+ "MonthPicker",
86
+ "YearPicker",
87
+ "WeekPicker"
88
+ ],
89
+ "Navigation": [
90
+ "Anchor",
91
+ "Breadcrumb",
92
+ "Link",
93
+ "NavLink",
94
+ "NavigationMenu",
95
+ "NavigationRail",
96
+ "BottomNavigation",
97
+ "Menubar",
98
+ "Pagination",
99
+ "Sidebar",
100
+ "SkipLink",
101
+ "Stepper",
102
+ "Tabs",
103
+ "Toolbar",
104
+ "Tour",
105
+ "TreeView",
106
+ "Command",
107
+ "ActionBar"
108
+ ],
109
+ "Feedback": [
110
+ "Alert",
111
+ "AlertDialog",
112
+ "Notification",
113
+ "Sonner",
114
+ "Spinner",
115
+ "Progress",
116
+ "CircularProgress",
117
+ "LoadingDots",
118
+ "LoadingOverlay",
119
+ "Skeleton",
120
+ "SkeletonTable",
121
+ "EmptyState",
122
+ "Result",
123
+ "StatusBadge",
124
+ "Meter",
125
+ "Timer",
126
+ "TypingIndicator",
127
+ "ToggleTip"
128
+ ],
129
+ "Layout": [
130
+ "Container",
131
+ "Stack",
132
+ "SimpleGrid",
133
+ "Masonry",
134
+ "Separator",
135
+ "AspectRatio",
136
+ "ScrollArea",
137
+ "Resizable",
138
+ "Affix",
139
+ "Collapsible",
140
+ "Accordion",
141
+ "Spoiler",
142
+ "FocusTrap",
143
+ "Squircle",
144
+ "VisuallyHidden",
145
+ "Overlay",
146
+ "FloatingIndicator",
147
+ "FloatingPanel",
148
+ "Carousel",
149
+ "Card"
150
+ ],
151
+ "Content and data": [
152
+ "Table",
153
+ "DataTable",
154
+ "DataList",
155
+ "Chart",
156
+ "Timeline",
157
+ "List",
158
+ "Text",
159
+ "Prose",
160
+ "Code",
161
+ "Blockquote",
162
+ "Highlight",
163
+ "Mark",
164
+ "Image",
165
+ "QRCode",
166
+ "FormatByte",
167
+ "FormatNumber",
168
+ "FormatDate",
169
+ "RollingNumber",
170
+ "Watermark",
171
+ "Marquee",
172
+ "WordRotate",
173
+ "Reveal",
174
+ "Sparkline"
175
+ ],
176
+ "Badges and avatars": [
177
+ "Avatar",
178
+ "Badge",
179
+ "Tag",
180
+ "Chip",
181
+ "Indicator",
182
+ "Kbd",
183
+ "KeyboardShortcut",
184
+ "ThemeIcon",
185
+ "AiBadge",
186
+ "ChatBubble",
187
+ "ChatMarker"
188
+ ],
189
+ "Overlays": [
190
+ "Dialog",
191
+ "Drawer",
192
+ "Sheet",
193
+ "Popover",
194
+ "HoverCard",
195
+ "Tooltip",
196
+ "ContextMenu",
197
+ "DropdownMenu"
198
+ ]
199
+ }