@behavioral-agentic-design-system/core 0.45.0 → 0.48.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 (240) hide show
  1. package/package.json +17 -3
  2. package/scripts/a11y-lint.cjs +78 -15
  3. package/scripts/bads-sync.mjs +1 -1
  4. package/scripts/build-tokens.cjs +122 -7
  5. package/scripts/check-dark-contrast.mjs +204 -0
  6. package/scripts/check-flush-edges.mjs +245 -0
  7. package/scripts/design-system-advisory/README.md +239 -0
  8. package/scripts/design-system-advisory/check-copy-punctuation.mjs +44 -0
  9. package/scripts/design-system-advisory/check-even-padding.mjs +35 -0
  10. package/scripts/design-system-advisory/check-hand-built-button.mjs +46 -0
  11. package/scripts/design-system-advisory/check-html-nesting.mjs +51 -0
  12. package/scripts/design-system-advisory/check-icon-sizing.mjs +79 -0
  13. package/scripts/design-system-advisory/check-label-case.mjs +92 -0
  14. package/scripts/design-system-advisory/check-native-form-controls.mjs +53 -0
  15. package/scripts/design-system-advisory/check-radius.mjs +56 -0
  16. package/scripts/design-system-advisory/check-raw-values.mjs +61 -0
  17. package/scripts/design-system-advisory/check-small-text.mjs +72 -0
  18. package/scripts/design-system-advisory/check-tap-target.mjs +70 -0
  19. package/scripts/design-system-advisory/defaults.mjs +90 -0
  20. package/scripts/design-system-advisory/fixtures/clean.tsx.fixture +12 -0
  21. package/scripts/design-system-advisory/fixtures/violations.tsx.fixture +19 -0
  22. package/scripts/design-system-advisory/lib.mjs +255 -0
  23. package/scripts/design-system-advisory/run.mjs +189 -0
  24. package/scripts/design-system-advisory/workflow.yml +82 -0
  25. package/scripts/lib/copy-strings.mjs +146 -0
  26. package/scripts/lib/dark-contrast.mjs +120 -0
  27. package/scripts/lib/flush-edges.mjs +294 -0
  28. package/scripts/lib/lab-lint.mjs +62 -0
  29. package/scripts/lib/mount-page.mjs +25 -0
  30. package/scripts/lib/source-scan.mjs +173 -0
  31. package/scripts/lib/tells.mjs +240 -2
  32. package/scripts/lint-arbitrary-tokens.mjs +47 -0
  33. package/scripts/lint-component-token-refs.mjs +63 -0
  34. package/scripts/lint-content-hierarchy.mjs +114 -0
  35. package/scripts/lint-control-baseline.mjs +72 -0
  36. package/scripts/lint-copy-punctuation.mjs +60 -0
  37. package/scripts/lint-even-padding.mjs +58 -0
  38. package/scripts/lint-label-case.mjs +219 -0
  39. package/scripts/lint-microanimation.mjs +2 -2
  40. package/scripts/lint-proximity.mjs +181 -0
  41. package/scripts/lint-slop.mjs +1 -1
  42. package/scripts/lint-spacing-scale.mjs +78 -0
  43. package/scripts/lint-target-size.cjs +132 -0
  44. package/scripts/lint-token-primitives.mjs +307 -0
  45. package/scripts/size-audit.cjs +2 -2
  46. package/scripts/ux-tells.mjs +8 -6
  47. package/scripts/wcag-audit.cjs +25 -4
  48. package/src/api/layers/file.ts +2 -0
  49. package/src/api/site-auth.ts +14 -2
  50. package/src/app/preview/components/page.tsx +183 -14
  51. package/src/app/preview/sticker-sheet/page.tsx +329 -0
  52. package/src/app/preview/sticker-sheet/specimens.tsx +296 -0
  53. package/src/app/shell.tsx +4 -3
  54. package/src/components/Foundations/Colors.stories.tsx +119 -8
  55. package/src/components/home-tab.tsx +6 -1
  56. package/src/components/onboarding-wizard.tsx +1 -1
  57. package/src/components/ui/avatar.tsx +4 -0
  58. package/src/components/ui/chart.tsx +134 -42
  59. package/src/components/ui/checkbox-group.tsx +1 -1
  60. package/src/components/ui/checkbox.tsx +1 -1
  61. package/src/components/ui/combobox.tsx +1 -0
  62. package/src/components/ui/command.tsx +1 -1
  63. package/src/components/ui/date-picker.tsx +2 -0
  64. package/src/components/ui/date-range-picker.tsx +4 -0
  65. package/src/components/ui/file-upload.tsx +21 -2
  66. package/src/components/ui/heatmap.tsx +3 -1
  67. package/src/components/ui/input-group.tsx +5 -2
  68. package/src/components/ui/multi-select.tsx +1 -0
  69. package/src/components/ui/number-field.tsx +390 -0
  70. package/src/components/ui/radio-group.tsx +2 -2
  71. package/src/components/ui/sparkline.tsx +33 -4
  72. package/src/components/ui/spinner.tsx +23 -4
  73. package/src/components/ui/table.tsx +9 -0
  74. package/src/components/ui/week-picker.tsx +0 -12
  75. package/src/data/component-added.json +12 -0
  76. package/src/data/docs-index.ts +22 -1
  77. package/src/data/history.json +162 -162
  78. package/src/data/sticker-sheet.json +9297 -0
  79. package/src/docs-trace-globs.json +1 -0
  80. package/src/lib/chart-motion.ts +41 -0
  81. package/src/lib/get-icon-color.ts +1 -1
  82. package/src/stories/Accordion.stories.tsx +7 -0
  83. package/src/stories/ActionBar.stories.tsx +5 -0
  84. package/src/stories/Affix.stories.tsx +4 -0
  85. package/src/stories/AiBadge.stories.tsx +9 -7
  86. package/src/stories/Alert.stories.tsx +13 -0
  87. package/src/stories/AlertDialog.stories.tsx +4 -0
  88. package/src/stories/Anchor.stories.tsx +5 -0
  89. package/src/stories/AngleSlider.stories.tsx +6 -3
  90. package/src/stories/AspectRatio.stories.tsx +4 -0
  91. package/src/stories/Autocomplete.stories.tsx +6 -0
  92. package/src/stories/Avatar.stories.tsx +10 -0
  93. package/src/stories/Badge.stories.tsx +14 -6
  94. package/src/stories/Blockquote.stories.tsx +6 -0
  95. package/src/stories/BottomNavigation.stories.tsx +4 -0
  96. package/src/stories/Breadcrumb.stories.tsx +3 -0
  97. package/src/stories/Burger.stories.tsx +1 -0
  98. package/src/stories/Button.stories.tsx +24 -0
  99. package/src/stories/ButtonGroup.stories.tsx +9 -0
  100. package/src/stories/Calendar.stories.tsx +3 -0
  101. package/src/stories/Card.stories.tsx +4 -0
  102. package/src/stories/Carousel.stories.tsx +6 -0
  103. package/src/stories/Cascader.stories.tsx +4 -0
  104. package/src/stories/Chart.stories.tsx +46 -1
  105. package/src/stories/ChatBubble.stories.tsx +8 -2
  106. package/src/stories/ChatMarker.stories.tsx +1 -0
  107. package/src/stories/Checkbox.stories.tsx +40 -0
  108. package/src/stories/CheckboxCard.stories.tsx +8 -0
  109. package/src/stories/CheckboxGroup.stories.tsx +20 -0
  110. package/src/stories/Chip.stories.tsx +10 -19
  111. package/src/stories/CircularProgress.stories.tsx +13 -27
  112. package/src/stories/Clipboard.stories.tsx +6 -0
  113. package/src/stories/CloseButton.stories.tsx +6 -4
  114. package/src/stories/Code.stories.tsx +8 -1
  115. package/src/stories/Collapsible.stories.tsx +2 -0
  116. package/src/stories/ColorPicker.stories.tsx +6 -0
  117. package/src/stories/ColorSwatch.stories.tsx +1 -0
  118. package/src/stories/Combobox.stories.tsx +9 -0
  119. package/src/stories/Command.stories.tsx +2 -0
  120. package/src/stories/Container.stories.tsx +8 -0
  121. package/src/stories/ContextMenu.stories.tsx +9 -0
  122. package/src/stories/CopyButton.stories.tsx +12 -36
  123. package/src/stories/DataList.stories.tsx +8 -0
  124. package/src/stories/DataTable.stories.tsx +9 -0
  125. package/src/stories/DateField.stories.tsx +7 -0
  126. package/src/stories/DatePicker.stories.tsx +34 -0
  127. package/src/stories/DateRangePicker.stories.tsx +32 -0
  128. package/src/stories/Dialog.stories.tsx +8 -0
  129. package/src/stories/Drawer.stories.tsx +6 -0
  130. package/src/stories/DropdownMenu.stories.tsx +2 -0
  131. package/src/stories/Editable.stories.tsx +10 -0
  132. package/src/stories/EmptyState.stories.tsx +9 -0
  133. package/src/stories/Field.stories.tsx +7 -0
  134. package/src/stories/Fieldset.stories.tsx +8 -0
  135. package/src/stories/FileButton.stories.tsx +4 -0
  136. package/src/stories/FileUpload.stories.tsx +16 -17
  137. package/src/stories/FloatLabel.stories.tsx +3 -8
  138. package/src/stories/FloatingActionButton.stories.tsx +10 -0
  139. package/src/stories/FloatingIndicator.stories.tsx +4 -0
  140. package/src/stories/FloatingPanel.stories.tsx +6 -0
  141. package/src/stories/FocusTrap.stories.tsx +5 -0
  142. package/src/stories/FormatByte.stories.tsx +6 -0
  143. package/src/stories/FormatDate.stories.tsx +8 -0
  144. package/src/stories/FormatNumber.stories.tsx +9 -0
  145. package/src/stories/Heatmap.stories.tsx +11 -0
  146. package/src/stories/Highlight.stories.tsx +6 -0
  147. package/src/stories/HoverCard.stories.tsx +4 -0
  148. package/src/stories/Image.stories.tsx +9 -0
  149. package/src/stories/Indicator.stories.tsx +19 -0
  150. package/src/stories/Input.stories.tsx +7 -0
  151. package/src/stories/InputClearButton.stories.tsx +3 -0
  152. package/src/stories/InputGroup.stories.tsx +40 -0
  153. package/src/stories/Kbd.stories.tsx +7 -1
  154. package/src/stories/KeyboardShortcut.stories.tsx +2 -0
  155. package/src/stories/Label.stories.tsx +2 -0
  156. package/src/stories/Link.stories.tsx +9 -0
  157. package/src/stories/List.stories.tsx +8 -0
  158. package/src/stories/Listbox.stories.tsx +1 -0
  159. package/src/stories/LoadingDots.stories.tsx +5 -3
  160. package/src/stories/LoadingOverlay.stories.tsx +5 -1
  161. package/src/stories/Mark.stories.tsx +5 -0
  162. package/src/stories/Marquee.stories.tsx +4 -0
  163. package/src/stories/Masonry.stories.tsx +5 -0
  164. package/src/stories/Menubar.stories.tsx +3 -0
  165. package/src/stories/Meter.stories.tsx +11 -17
  166. package/src/stories/MonthPicker.stories.tsx +5 -1
  167. package/src/stories/MotionToggle.stories.tsx +1 -0
  168. package/src/stories/MultiSelect.stories.tsx +9 -0
  169. package/src/stories/NativeSelect.stories.tsx +1 -0
  170. package/src/stories/NavLink.stories.tsx +7 -0
  171. package/src/stories/NavigationMenu.stories.tsx +5 -0
  172. package/src/stories/NavigationRail.stories.tsx +10 -0
  173. package/src/stories/Notification.stories.tsx +13 -34
  174. package/src/stories/NumberField.stories.tsx +214 -0
  175. package/src/stories/NumberInput.stories.tsx +8 -1
  176. package/src/stories/Overlay.stories.tsx +5 -1
  177. package/src/stories/Pagination.stories.tsx +8 -0
  178. package/src/stories/PasswordInput.stories.tsx +2 -0
  179. package/src/stories/PinInput.stories.tsx +9 -2
  180. package/src/stories/Popover.stories.tsx +2 -0
  181. package/src/stories/Progress.stories.tsx +6 -1
  182. package/src/stories/Prose.stories.tsx +8 -0
  183. package/src/stories/QrCode.stories.tsx +2 -0
  184. package/src/stories/Questionnaire.stories.tsx +7 -0
  185. package/src/stories/RadioGroup.stories.tsx +40 -0
  186. package/src/stories/RatingGroup.stories.tsx +8 -4
  187. package/src/stories/Resizable.stories.tsx +4 -2
  188. package/src/stories/Result.stories.tsx +3 -0
  189. package/src/stories/Reveal.stories.tsx +2 -0
  190. package/src/stories/RollingNumber.stories.tsx +5 -0
  191. package/src/stories/ScrollArea.stories.tsx +3 -1
  192. package/src/stories/SearchInput.stories.tsx +8 -6
  193. package/src/stories/SegmentedControl.stories.tsx +11 -0
  194. package/src/stories/Select.stories.tsx +7 -0
  195. package/src/stories/Separator.stories.tsx +6 -0
  196. package/src/stories/Sheet.stories.tsx +5 -0
  197. package/src/stories/Sidebar.stories.tsx +40 -1
  198. package/src/stories/SimpleGrid.stories.tsx +5 -0
  199. package/src/stories/Skeleton.stories.tsx +8 -0
  200. package/src/stories/SkeletonTable.stories.tsx +6 -5
  201. package/src/stories/SkipLink.stories.tsx +3 -0
  202. package/src/stories/Slider.stories.tsx +2 -1
  203. package/src/stories/Sonner.stories.tsx +7 -0
  204. package/src/stories/Sparkline.stories.tsx +14 -1
  205. package/src/stories/Spinner.stories.tsx +20 -10
  206. package/src/stories/Spoiler.stories.tsx +5 -0
  207. package/src/stories/Squircle.stories.tsx +7 -0
  208. package/src/stories/Stack.stories.tsx +7 -0
  209. package/src/stories/StatusBadge.stories.tsx +12 -6
  210. package/src/stories/Stepper.stories.tsx +5 -0
  211. package/src/stories/Switch.stories.tsx +4 -0
  212. package/src/stories/Table.stories.tsx +10 -1
  213. package/src/stories/Tabs.stories.tsx +8 -0
  214. package/src/stories/Tag.stories.tsx +13 -5
  215. package/src/stories/TagsInput.stories.tsx +13 -0
  216. package/src/stories/Text.stories.tsx +12 -0
  217. package/src/stories/Textarea.stories.tsx +9 -0
  218. package/src/stories/ThemeIcon.stories.tsx +6 -3
  219. package/src/stories/TimePicker.stories.tsx +2 -0
  220. package/src/stories/Timeline.stories.tsx +12 -0
  221. package/src/stories/Timer.stories.tsx +4 -0
  222. package/src/stories/Toggle.stories.tsx +7 -5
  223. package/src/stories/ToggleGroup.stories.tsx +5 -0
  224. package/src/stories/ToggleTip.stories.tsx +4 -0
  225. package/src/stories/Toolbar.stories.tsx +6 -0
  226. package/src/stories/Tooltip.stories.tsx +3 -0
  227. package/src/stories/Tour.stories.tsx +3 -0
  228. package/src/stories/TransferList.stories.tsx +3 -0
  229. package/src/stories/TreeSelect.stories.tsx +4 -0
  230. package/src/stories/TreeView.stories.tsx +5 -0
  231. package/src/stories/TypingIndicator.stories.tsx +4 -0
  232. package/src/stories/VisuallyHidden.stories.tsx +3 -0
  233. package/src/stories/Watermark.stories.tsx +6 -0
  234. package/src/stories/WeekPicker.stories.tsx +4 -1
  235. package/src/stories/WordRotate.stories.tsx +5 -0
  236. package/src/stories/YearPicker.stories.tsx +5 -11
  237. package/src/stories/story-groups.json +2 -1
  238. package/src/styles.css +50 -2
  239. package/src/tokens.json +4 -4
  240. package/LICENSE +0 -21
@@ -22,6 +22,7 @@ export default meta
22
22
  type Story = StoryObj<typeof WordRotate>
23
23
 
24
24
  export const Default: Story = {
25
+ parameters: { controls: { disable: true } },
25
26
  render: () => (
26
27
  <p className="text-2xl font-semibold text-foreground">
27
28
  Design systems that are{" "}
@@ -31,6 +32,7 @@ export const Default: Story = {
31
32
  }
32
33
 
33
34
  export const FastInterval: Story = {
35
+ parameters: { controls: { disable: true } },
34
36
  render: () => (
35
37
  <p className="text-2xl font-semibold text-foreground">
36
38
  Status:{" "}
@@ -44,6 +46,7 @@ export const FastInterval: Story = {
44
46
  }
45
47
 
46
48
  export const SlowInterval: Story = {
49
+ parameters: { controls: { disable: true } },
47
50
  render: () => (
48
51
  <p className="text-2xl font-semibold text-foreground">
49
52
  Designed for{" "}
@@ -56,6 +59,7 @@ export const SlowInterval: Story = {
56
59
  }
57
60
 
58
61
  export const SingleWord: Story = {
62
+ parameters: { controls: { disable: true } },
59
63
  render: () => (
60
64
  // words.length === 1: no interval fires, word is static — correct for
61
65
  // cases where the word list is dynamically derived and might have 1 item.
@@ -67,6 +71,7 @@ export const SingleWord: Story = {
67
71
  }
68
72
 
69
73
  export const RealisticUse: Story = {
74
+ parameters: { controls: { disable: true } },
70
75
  render: () => (
71
76
  <div className="flex max-w-lg flex-col gap-6 rounded-lg border border-border bg-card p-8">
72
77
  <div className="flex flex-col gap-2">
@@ -21,10 +21,11 @@ export default meta;
21
21
  type Story = StoryObj<typeof meta>;
22
22
 
23
23
  export const Default: Story = {
24
- render: () => <YearPicker className="rounded-md border" />,
24
+ args: { className: "rounded-md border" },
25
25
  };
26
26
 
27
27
  export const Prefilled: Story = {
28
+ parameters: { controls: { disable: true } },
28
29
  render: () => {
29
30
  // Persona pool date (content/personas/bads.json → primary.dates): 2026-05-26.
30
31
  const [year, setYear] = useState<number | undefined>(2026);
@@ -40,19 +41,11 @@ export const Prefilled: Story = {
40
41
  };
41
42
 
42
43
  export const Disabled: Story = {
43
- render: () => (
44
- // When disabled: grid div gets tabIndex=0 (keyboard-reachable without
45
- // placing tabIndex=0 on a non-focusable button); year label uses
46
- // text-muted-foreground instead of opacity-50 to maintain contrast.
47
- <YearPicker
48
- disabled
49
- defaultValue={2026}
50
- className="rounded-md border"
51
- />
52
- ),
44
+ args: { disabled: true, defaultValue: 2026, className: "rounded-md border" },
53
45
  };
54
46
 
55
47
  export const WithMinMax: Story = {
48
+ parameters: { controls: { disable: true } },
56
49
  render: () => {
57
50
  // Engagement range: minYear=2020, maxYear=2030. Out-of-range cells
58
51
  // render at opacity-40 and are pointer-events-none.
@@ -70,6 +63,7 @@ export const WithMinMax: Story = {
70
63
  };
71
64
 
72
65
  export const RealisticUse: Story = {
66
+ parameters: { controls: { disable: true } },
73
67
  render: () => {
74
68
  // Persona: Jordan Reeves (content/personas/bads.json → primary.names[0]).
75
69
  // Use case: graduation year for a professional profile.
@@ -15,7 +15,7 @@
15
15
  "story files.",
16
16
  "",
17
17
  "GROUP NAMES ARE FOR PEOPLE SCANNING A SIDEBAR. They are not an architectural",
18
- "statement and they are not the layer model — they answer 'where would someone",
18
+ "statement and they are not the layer model \u2014 they answer 'where would someone",
19
19
  "look for this', which is why Accordion sits under Layout rather than Actions",
20
20
  "and Carousel sits under Layout rather than Content.",
21
21
  "",
@@ -48,6 +48,7 @@
48
48
  "JsonInput",
49
49
  "Label",
50
50
  "NumberInput",
51
+ "NumberField",
51
52
  "OTPInput",
52
53
  "PasswordInput",
53
54
  "PasswordStrengthInput",
package/src/styles.css CHANGED
@@ -61,13 +61,45 @@
61
61
 
62
62
  @custom-variant dark (&:is(.dark *));
63
63
 
64
+ /* Sticker-sheet state pinning. Each variant keeps Tailwind's real behavior
65
+ (hover stays behind the (hover: hover) media guard) and ALSO matches a
66
+ data-pin attribute, so the sticker sheet can freeze hover, focus and
67
+ pressed on a specimen without touching the component. Live interaction is
68
+ unchanged because the real selectors are still there. */
69
+ @custom-variant hover {
70
+ &:is([data-pin~="hover"]) {
71
+ @slot;
72
+ }
73
+ @media (hover: hover) {
74
+ &:hover {
75
+ @slot;
76
+ }
77
+ }
78
+ }
79
+ @custom-variant focus-visible {
80
+ &:is([data-pin~="focus"]) {
81
+ @slot;
82
+ }
83
+ &:focus-visible {
84
+ @slot;
85
+ }
86
+ }
87
+ @custom-variant active {
88
+ &:is([data-pin~="pressed"]) {
89
+ @slot;
90
+ }
91
+ &:active {
92
+ @slot;
93
+ }
94
+ }
95
+
64
96
  :root {
65
97
  color-scheme: light dark;
66
98
 
67
99
  /* Brand sans from tokens.json leads. Atkinson Hyperlegible (loaded via the
68
100
  Google Fonts @import above) is the canonical fallback so unbranded
69
101
  consumers still get a high-legibility face out of the box. */
70
- --font-sans: 'Hyperlegible Sans', 'Inter', ui-sans-serif, sans-serif, system-ui, 'Atkinson Hyperlegible', ui-sans-serif, sans-serif, system-ui;
102
+ --font-sans: 'Hyperlegible Sans', 'Inter', ui-sans-serif, sans-serif, system-ui, 'Atkinson Hyperlegible';
71
103
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
72
104
  --font-serif: ui-serif, Georgia, serif;
73
105
  --font-variation-settings: normal;
@@ -594,6 +626,22 @@
594
626
  [aria-disabled="true"] {
595
627
  cursor: not-allowed;
596
628
  }
629
+ /* text-wrap: balance distributes line length evenly across all lines of
630
+ a heading, preventing the awkward single-word last line (widow) that
631
+ most headings produce at responsive widths. Supported Chrome 114+,
632
+ Firefox 121+, Safari 17.5+ (Baseline 2024). Falls back to normal wrap
633
+ with no visual regression in older engines. */
634
+ h1, h2, h3, h4, h5, h6 {
635
+ text-wrap: balance;
636
+ }
637
+ /* text-wrap: pretty prevents orphaned last words on paragraphs by
638
+ considering the last four lines when breaking. Supported Chrome 117+,
639
+ Firefox 130+ (Baseline 2025). Falls back to normal wrap — no adverse
640
+ effect. Performance overhead is negligible on typical paragraph lengths
641
+ (the engine short-circuits for < 4 lines). */
642
+ p {
643
+ text-wrap: pretty;
644
+ }
597
645
  }
598
646
 
599
647
  /* Global tracking offset — the Letter Spacing slider in the Customize
@@ -632,7 +680,7 @@ html, body {
632
680
  hard edge at full opacity.
633
681
 
634
682
  Forks with sticky chrome (a sidebar / top bar that stays put while the page
635
- scrolls): see CLAUDE.md -> "Theme transition and sticky chrome" before
683
+ scrolls): see docs/agent-rules/theme-transition-and-sticky-chrome.md -> "Theme transition and sticky chrome" before
636
684
  naming any chrome. NEVER give a backdrop-filter element a view-transition-
637
685
  name (its snapshot has no backdrop to sample and rasterizes as an opaque
638
686
  white flash). */
package/src/tokens.json CHANGED
@@ -1077,12 +1077,12 @@
1077
1077
  "sidebar-border": {
1078
1078
  "$value": "oklch(0.6100 0 0)",
1079
1079
  "$type": "color",
1080
- "$description": "AAA non-text 3:1 on sidebar."
1080
+ "$description": "Dividers and outlines inside the sidebar. Meets the AAA non-text 3:1 floor on the sidebar surface. Not for the focus indicator, use sidebar-ring."
1081
1081
  },
1082
1082
  "sidebar-ring": {
1083
1083
  "$value": "oklch(0.4500 0 0)",
1084
1084
  "$type": "color",
1085
- "$description": "AAA non-text 3:1 on sidebar."
1085
+ "$description": "Focus ring for controls inside the sidebar. Meets the AAA non-text 3:1 floor on the sidebar surface. Not for static dividers, use sidebar-border."
1086
1086
  }
1087
1087
  },
1088
1088
  "dark": {
@@ -1304,12 +1304,12 @@
1304
1304
  "sidebar-border": {
1305
1305
  "$value": "oklch(0.5500 0 0)",
1306
1306
  "$type": "color",
1307
- "$description": "AAA non-text 3:1 on dark sidebar."
1307
+ "$description": "Dividers and outlines inside the dark sidebar. Meets the AAA non-text 3:1 floor on the dark sidebar surface. Not for the focus indicator, use sidebar-ring."
1308
1308
  },
1309
1309
  "sidebar-ring": {
1310
1310
  "$value": "oklch(0.7000 0 0)",
1311
1311
  "$type": "color",
1312
- "$description": "AAA non-text 3:1 on dark sidebar."
1312
+ "$description": "Focus ring for controls inside the dark sidebar. Meets the AAA non-text 3:1 floor on the dark sidebar surface. Not for static dividers, use sidebar-border."
1313
1313
  }
1314
1314
  }
1315
1315
  },
package/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2026 Matthew Stephens
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.