@jonmilner/ui 0.11.15 → 0.13.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 (84) hide show
  1. package/dist/Avatar/Avatar.css +1 -1
  2. package/dist/Badge/Badge.css +1 -1
  3. package/dist/Box/Box.css +1 -1
  4. package/dist/Button/Button.css +1 -1
  5. package/dist/Checkbox/Checkbox.css +1 -1
  6. package/dist/Chip/Chip.css +1 -1
  7. package/dist/Clickable/Clickable.css +1 -1
  8. package/dist/ColorField/ColorField.css +1 -1
  9. package/dist/ColorField/client.d.mts +1 -1
  10. package/dist/Combobox/Combobox.css +1 -1
  11. package/dist/Dialog/Dialog.css +1 -1
  12. package/dist/Field/Field.css +1 -1
  13. package/dist/Heading/Heading.css +1 -1
  14. package/dist/Icon/Icon.css +1 -1
  15. package/dist/IconButton/IconButton.css +1 -1
  16. package/dist/Inline/Inline.css +1 -1
  17. package/dist/Menu/Menu.css +1 -1
  18. package/dist/MultiSelect/MultiSelect.css +1 -1
  19. package/dist/NavList/NavList.css +2 -0
  20. package/dist/NavList/NavList.css.mjs +7 -0
  21. package/dist/NavList/index.d.mts +38 -0
  22. package/dist/NavList/index.mjs +104 -0
  23. package/dist/RadioGroup/RadioGroup.css +1 -1
  24. package/dist/SearchField/SearchField.css +1 -1
  25. package/dist/SearchField/client.d.mts +1 -1
  26. package/dist/Select/Select.css +1 -1
  27. package/dist/Sidebar/Sidebar.css +2 -0
  28. package/dist/Sidebar/Sidebar.css.mjs +9 -0
  29. package/dist/Sidebar/index.d.mts +20 -0
  30. package/dist/Sidebar/index.mjs +56 -0
  31. package/dist/SidebarLayout/SidebarLayout.css +2 -0
  32. package/dist/SidebarLayout/SidebarLayout.css.mjs +9 -0
  33. package/dist/SidebarLayout/index.d.mts +14 -0
  34. package/dist/SidebarLayout/index.mjs +34 -0
  35. package/dist/Stack/Stack.css +1 -1
  36. package/dist/Switch/Switch.css +1 -1
  37. package/dist/Table/Table.css +1 -1
  38. package/dist/Tabs/Tabs.css +1 -1
  39. package/dist/Tag/Tag.css +1 -1
  40. package/dist/Text/Text.css +1 -1
  41. package/dist/TextField/TextField.css +1 -1
  42. package/dist/TextField/index.d.mts +1 -1
  43. package/dist/Textarea/Textarea.css +1 -1
  44. package/dist/Toast/Toast.css +1 -1
  45. package/dist/Tooltip/Tooltip.css +1 -1
  46. package/dist/VisuallyHidden/VisuallyHidden.css +1 -1
  47. package/dist/base.css +3 -3
  48. package/dist/brands/default.mjs +2 -0
  49. package/dist/brands/forced-colors.mjs +1 -0
  50. package/dist/contrast/contrast.mjs +2 -1
  51. package/dist/contrast/mixes.mjs +1 -1
  52. package/dist/docs/Box.md +1 -1
  53. package/dist/docs/Icon.md +3 -1
  54. package/dist/docs/Inline.md +1 -0
  55. package/dist/docs/Menu.md +1 -1
  56. package/dist/docs/NavList.md +138 -0
  57. package/dist/docs/SearchField.md +1 -1
  58. package/dist/docs/Sidebar.md +104 -0
  59. package/dist/docs/SidebarLayout.md +123 -0
  60. package/dist/docs/Stack.md +1 -0
  61. package/dist/docs/Tabs.md +1 -1
  62. package/dist/docs/llms.txt +3 -0
  63. package/dist/docs/manifest.json +182 -7
  64. package/dist/docs/migrations/0.12.0.md +22 -0
  65. package/dist/docs/migrations/0.13.0.md +40 -0
  66. package/dist/icons/PanelLeftCloseIcon.d.mts +2 -0
  67. package/dist/icons/PanelLeftCloseIcon.mjs +16 -0
  68. package/dist/icons/PanelLeftOpenIcon.d.mts +2 -0
  69. package/dist/icons/PanelLeftOpenIcon.mjs +16 -0
  70. package/dist/icons/index.d.mts +4 -2
  71. package/dist/icons/index.mjs +28 -26
  72. package/dist/index.d.mts +4 -1
  73. package/dist/index.mjs +20 -17
  74. package/dist/styles/atoms.css +2 -2
  75. package/dist/styles/atoms.css.d.mts +17 -17
  76. package/dist/styles/atoms.css.mjs +1232 -1170
  77. package/dist/styles/layers.css +1 -1
  78. package/dist/styles/responsive.css +2 -2
  79. package/dist/tokens/contract.d.mts +3 -1
  80. package/dist/tokens/roles.d.mts +1 -1
  81. package/dist/tokens/roles.mjs +1 -1
  82. package/dist/tokens/scales.d.mts +2 -0
  83. package/dist/tokens/scales.mjs +2 -0
  84. package/package.json +13 -1
@@ -14,6 +14,7 @@ A vertical column of children with even space between them. `Stack` is a `Box` w
14
14
 
15
15
  - A row of items that wraps (buttons, tags, metadata): use `Inline`.
16
16
  - A two-dimensional layout: use `Box` with `display="grid"`.
17
+ - A page with a sidebar beside its main content that stacks when narrow: use `SidebarLayout`, not a column that turns into a row at a breakpoint.
17
18
  - Records that share named columns, to compare row by row: use `Table`.
18
19
  - One child, or spacing only on one side: use `Box` with padding or margin.
19
20
 
package/dist/docs/Tabs.md CHANGED
@@ -11,7 +11,7 @@ Switches between views that share one place on the page. The parts are `Tabs` (t
11
11
 
12
12
  ## When not to use
13
13
 
14
- - Moving between pages or routes: use links (`Clickable as="a"`) in a `nav`. Tabs do not change the URL and the panels are not separate pages.
14
+ - Moving between pages or routes: use `NavList`, or links (`Clickable as="a"`) in a `nav`. Tabs do not change the URL and the panels are not separate pages.
15
15
  - A sequence the user must go through in order: use a stepper.
16
16
  - Two or three options that set a value in a form: use `RadioGroup`.
17
17
  - Content that should be readable at once, or compared side by side: show it all, or use sections with headings.
@@ -29,9 +29,12 @@
29
29
  - [Inline](Inline.md): A horizontal row of children that wraps onto new lines, with even space between them on both axes. `Inline` is a `Box` with `display="flex"`, `flexDirection="row"`, `flexWrap="wrap"` and `alignItems="center"` as default style props, spaced by a required `gap`. Children render as they are: no wrapper per child.
30
30
  - [Menu](Menu.md): A list of actions that opens from a button: a row's "Edit, Duplicate, Delete", a toolbar's overflow. It may mix in links ("Open invoice", "Download PDF") as `Menu.LinkItem`, real anchors that keep the browser's link behavior. Built on Base UI's Menu, which owns the keyboard and focus: arrow keys, Home and End move through the items, typing jumps to a matching item, Esc and an outside click close it, and focus returns to the trigger. The parts add the look: a raised surface with a border and shadow, a highlighted item, a zoom-and-fade that is a plain fade under reduced motion.
31
31
  - [MultiSelect](MultiSelect.md): A form field for picking any number of values from a list too long to show at once. A trigger styled as Button's secondary look opens a listbox of options; each selected option shows a check mark, and the trigger summarises the selection as the joined labels, or a count ("3 selected") once the labels would not fit. Built on Base UI's `Select` in multiple mode (ADR 0003), which owns the keyboard and focus: arrow keys, Home and End move through the options, typing jumps to a match, Esc and an outside click close it, and focus returns to the trigger. It composes `Field` for its label, description and error (ADR 0026).
32
+ - [NavList](NavList.md): A column of links to an app's pages, with the current page marked: a sidebar's or a settings page's navigation. The parts are `NavList` (a named `nav` around a list), `NavList.Group` (a heading over a run of items) and `NavList.Item` (one link, with an optional leading icon and trailing count). Items are links, not buttons: an `<a>` by default, or a router's `Link` through `as`, which keeps the router's props typed (ADR 0149). The app says which item is current; NavList reads nothing from the URL.
32
33
  - [RadioGroup](RadioGroup.md): One choice among a few options, all shown at once. A form field built on Base UI `RadioGroup` and `Radio` (ADR 0003, 0046) inside a `Fieldset`: a `radiogroup` named by its legend, with a `radio` per option. Each option is a 24 by 24 CSS px target (WCAG 2.2) with the shared focus ring; the 16px circle inside shows a dot when checked. It composes `Field` for the group's description and error and for each option's label and description (ADR 0026, 0133).
33
34
  - [SearchField](SearchField.md): A form field for a search query: an `<input type="search">` (role `searchbox`) with a search icon at its inline start and, while it holds a value, a clear button at its inline end. Escape empties a field that has a value, and the clear button empties it and puts focus back in the input, so a keyboard user never loses their place (ADR 0087). Built on Base UI's `Input` (ADR 0003); it composes `Field` for its label, description and error (ADR 0026). Three sizes at Button's heights (`sm`, `med`, `lg`: 24, 32 and 40 px, ADR 0124); the clear button is 24px, or 32px in `lg`.
34
35
  - [Select](Select.md): A form field for picking one value from a list too long to show as radios, with no typing. A trigger drawn as a field opens a listbox of options; the selected option shows a check mark, and the trigger shows its label on one line, truncated. Built on Base UI's `Select` in single mode (ADR 0003), which owns the keyboard and focus: Enter, Space and the arrow keys open it, arrow keys, Home and End move through the options, typing jumps to a match, Enter picks, Esc and an outside click close it, and focus returns to the trigger. It shares MultiSelect's trigger, popup and option rows (ADR 0134) and composes `Field` for its label, description and error (ADR 0026).
36
+ - [Sidebar](Sidebar.md): An app's sidebar: a named `aside` on the `bgPanel` surface, with a header row, the navigation, and a footer for app-wide controls, that collapses to a narrow icon rail. Open, it is the `sidebar` width (15rem); collapsed (`collapsed`), it is the `rail` width (3.5rem) and a `NavList` inside it shows each row's icon or avatar alone, its label and count kept for assistive tech. The app owns the collapsed state: pass `onCollapsedChange` and a toggle `IconButton` appears in the header. Place it in `SidebarLayout.Sidebar`, which then follows its width (ADR 0151).
37
+ - [SidebarLayout](SidebarLayout.md): A page's navigation or secondary column beside its main content. `SidebarLayout` is a wrapping flex row; `SidebarLayout.Sidebar` keeps a fixed width (`inlineSize="sidebar"`, 15rem) at the inline start and `SidebarLayout.Main` takes the rest. When the layout itself is narrower than 48em, the sidebar stacks above main at full width. It reads its own width through a container query, not the viewport's, so it stacks inside a narrow slot on a wide screen too. When wide, the sidebar is sticky: it stays in view while the page scrolls, capped at the viewport's height, and scrolls on its own when its content is taller. All three parts are `Box`es and take style props, except the few the layout fixes (see Rules).
35
38
  - [Stack](Stack.md): A vertical column of children with even space between them. `Stack` is a `Box` with `display="flex"` and `flexDirection="column"` as default style props, spaced by a required `gap`. Children render as they are: no wrapper per child.
36
39
  - [Switch](Switch.md): Turns one setting on or off, and the change applies the moment it flips. Built on Base UI `Switch` (ADR 0003, 0137): a `span` with `role="switch"` and `aria-checked`, plus a hidden checkbox input that submits with a form. The span is a 24 px target with the shared focus ring around a pill track: off is an outlined track with the thumb at the start, on a filled `accent` track with the thumb at the end. It composes `Field` for its label, description and error (ADR 0026), with the label after the switch.
37
40
  - [Table](Table.md): Records in rows that share named columns, so a reader can scan and compare them: transactions, members, invoices. A native `table` with parts for each element (`Table.Head`, `Table.Body`, `Table.Foot`, `Table.Row`, `Table.HeaderCell`, `Table.Cell`, `Table.ColumnGroup`, `Table.Column`), and `Table.ScrollArea` for a table wider than its container. It has no `grid` role and no roving focus: a link, `Checkbox` or `Menu` in a cell keeps the page's tab order, and a screen reader's table commands work as on any table.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "./manifest.schema.json",
3
3
  "package": "@jonmilner/ui",
4
- "version": "0.11.15",
4
+ "version": "0.13.0",
5
5
  "components": [
6
6
  {
7
7
  "name": "AlertDialog",
@@ -1203,7 +1203,7 @@
1203
1203
  "props": [
1204
1204
  {
1205
1205
  "name": "color",
1206
- "type": "\"accent\" | \"accentFg\" | \"accentFillFg\" | \"accentSubtleFg\" | \"bg\" | \"bgMuted\" | \"bgRaised\" | \"border\" | \"borderStrong\" | \"danger\" | \"dangerFg\" | \"dangerSubtleFg\" | \"done\" | \"doneFg\" | \"doneSubtleFg\" | \"fg\" | \"fgMuted\" | \"focus\" | \"neutralSubtleFg\" | \"success\" | \"successFg\" | \"successSubtleFg\" | \"warning\" | \"warningFg\" | \"warningSubtleFg\"",
1206
+ "type": "\"accent\" | \"accentFg\" | \"accentFillFg\" | \"accentSubtleFg\" | \"bg\" | \"bgMuted\" | \"bgPanel\" | \"bgRaised\" | \"border\" | \"borderStrong\" | \"danger\" | \"dangerFg\" | \"dangerSubtleFg\" | \"done\" | \"doneFg\" | \"doneSubtleFg\" | \"fg\" | \"fgMuted\" | \"focus\" | \"neutralSubtleFg\" | \"success\" | \"successFg\" | \"successSubtleFg\" | \"warning\" | \"warningFg\" | \"warningSubtleFg\"",
1207
1207
  "required": false,
1208
1208
  "values": [
1209
1209
  "accent",
@@ -1212,6 +1212,7 @@
1212
1212
  "accentSubtleFg",
1213
1213
  "bg",
1214
1214
  "bgMuted",
1215
+ "bgPanel",
1215
1216
  "bgRaised",
1216
1217
  "border",
1217
1218
  "borderStrong",
@@ -1809,6 +1810,83 @@
1809
1810
  "parts": [],
1810
1811
  "exports": []
1811
1812
  },
1813
+ {
1814
+ "name": "NavList",
1815
+ "styleProps": true,
1816
+ "props": [
1817
+ {
1818
+ "name": "aria-label",
1819
+ "type": "string",
1820
+ "required": false,
1821
+ "description": "Defines a string value that labels the current element."
1822
+ },
1823
+ {
1824
+ "name": "aria-labelledby",
1825
+ "type": "string",
1826
+ "required": false,
1827
+ "description": "Identifies the element (or elements) that labels the current element."
1828
+ }
1829
+ ],
1830
+ "parts": [
1831
+ {
1832
+ "name": "NavList.Group",
1833
+ "styleProps": true,
1834
+ "props": [
1835
+ {
1836
+ "name": "headingLevel",
1837
+ "type": "\"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\"",
1838
+ "required": false,
1839
+ "values": [
1840
+ "h1",
1841
+ "h2",
1842
+ "h3",
1843
+ "h4",
1844
+ "h5",
1845
+ "h6"
1846
+ ]
1847
+ },
1848
+ {
1849
+ "name": "label",
1850
+ "type": "string",
1851
+ "required": true
1852
+ }
1853
+ ]
1854
+ },
1855
+ {
1856
+ "name": "NavList.Item",
1857
+ "styleProps": true,
1858
+ "props": [
1859
+ {
1860
+ "name": "as",
1861
+ "type": "ElementType",
1862
+ "required": false
1863
+ },
1864
+ {
1865
+ "name": "avatar",
1866
+ "type": "ReactNode",
1867
+ "required": false
1868
+ },
1869
+ {
1870
+ "name": "count",
1871
+ "type": "ReactNode",
1872
+ "required": false
1873
+ },
1874
+ {
1875
+ "name": "current",
1876
+ "type": "boolean",
1877
+ "required": false
1878
+ },
1879
+ {
1880
+ "name": "icon",
1881
+ "type": "ComponentType",
1882
+ "required": false
1883
+ }
1884
+ ],
1885
+ "element": "a"
1886
+ }
1887
+ ],
1888
+ "exports": []
1889
+ },
1812
1890
  {
1813
1891
  "name": "RadioGroup",
1814
1892
  "styleProps": true,
@@ -2072,6 +2150,90 @@
2072
2150
  "parts": [],
2073
2151
  "exports": []
2074
2152
  },
2153
+ {
2154
+ "name": "Sidebar",
2155
+ "styleProps": true,
2156
+ "props": [
2157
+ {
2158
+ "name": "aria-label",
2159
+ "type": "string",
2160
+ "required": false,
2161
+ "description": "Defines a string value that labels the current element."
2162
+ },
2163
+ {
2164
+ "name": "aria-labelledby",
2165
+ "type": "string",
2166
+ "required": false,
2167
+ "description": "Identifies the element (or elements) that labels the current element."
2168
+ },
2169
+ {
2170
+ "name": "collapsed",
2171
+ "type": "boolean",
2172
+ "required": false
2173
+ },
2174
+ {
2175
+ "name": "footer",
2176
+ "type": "ReactNode",
2177
+ "required": false
2178
+ },
2179
+ {
2180
+ "name": "header",
2181
+ "type": "ReactNode",
2182
+ "required": false
2183
+ },
2184
+ {
2185
+ "name": "onCollapsedChange",
2186
+ "type": "((collapsed: boolean) => void)",
2187
+ "required": false
2188
+ },
2189
+ {
2190
+ "name": "toggleLabel",
2191
+ "type": "string",
2192
+ "required": false
2193
+ }
2194
+ ],
2195
+ "parts": [],
2196
+ "exports": []
2197
+ },
2198
+ {
2199
+ "name": "SidebarLayout",
2200
+ "styleProps": true,
2201
+ "props": [
2202
+ {
2203
+ "name": "as",
2204
+ "type": "ElementType",
2205
+ "required": false
2206
+ }
2207
+ ],
2208
+ "element": "div",
2209
+ "parts": [
2210
+ {
2211
+ "name": "SidebarLayout.Main",
2212
+ "styleProps": true,
2213
+ "props": [
2214
+ {
2215
+ "name": "as",
2216
+ "type": "ElementType",
2217
+ "required": false
2218
+ }
2219
+ ],
2220
+ "element": "div"
2221
+ },
2222
+ {
2223
+ "name": "SidebarLayout.Sidebar",
2224
+ "styleProps": true,
2225
+ "props": [
2226
+ {
2227
+ "name": "as",
2228
+ "type": "ElementType",
2229
+ "required": false
2230
+ }
2231
+ ],
2232
+ "element": "div"
2233
+ }
2234
+ ],
2235
+ "exports": []
2236
+ },
2075
2237
  {
2076
2238
  "name": "Stack",
2077
2239
  "styleProps": true,
@@ -3182,7 +3344,7 @@
3182
3344
  },
3183
3345
  {
3184
3346
  "name": "backgroundColor",
3185
- "type": "\"accent\" | \"accentFg\" | \"accentFill\" | \"accentFillFg\" | \"accentSubtle\" | \"accentSubtleFg\" | \"bg\" | \"bgMuted\" | \"bgRaised\" | \"border\" | \"borderStrong\" | \"danger\" | \"dangerFg\" | \"dangerSubtle\" | \"dangerSubtleFg\" | \"done\" | \"doneFg\" | \"doneSubtle\" | \"doneSubtleFg\" | \"fg\" | \"fgMuted\" | \"focus\" | \"neutralSubtle\" | \"neutralSubtleFg\" | \"success\" | \"successFg\" | \"successSubtle\" | \"successSubtleFg\" | \"warning\" | \"warningFg\" | \"warningSubtle\" | \"warningSubtleFg\"",
3347
+ "type": "\"accent\" | \"accentFg\" | \"accentFill\" | \"accentFillFg\" | \"accentSubtle\" | \"accentSubtleFg\" | \"bg\" | \"bgMuted\" | \"bgPanel\" | \"bgRaised\" | \"border\" | \"borderStrong\" | \"danger\" | \"dangerFg\" | \"dangerSubtle\" | \"dangerSubtleFg\" | \"done\" | \"doneFg\" | \"doneSubtle\" | \"doneSubtleFg\" | \"fg\" | \"fgMuted\" | \"focus\" | \"neutralSubtle\" | \"neutralSubtleFg\" | \"success\" | \"successFg\" | \"successSubtle\" | \"successSubtleFg\" | \"warning\" | \"warningFg\" | \"warningSubtle\" | \"warningSubtleFg\"",
3186
3348
  "required": false,
3187
3349
  "values": [
3188
3350
  "accent",
@@ -3193,6 +3355,7 @@
3193
3355
  "accentSubtleFg",
3194
3356
  "bg",
3195
3357
  "bgMuted",
3358
+ "bgPanel",
3196
3359
  "bgRaised",
3197
3360
  "border",
3198
3361
  "borderStrong",
@@ -3262,7 +3425,7 @@
3262
3425
  },
3263
3426
  {
3264
3427
  "name": "color",
3265
- "type": "\"accent\" | \"accentFg\" | \"accentFillFg\" | \"accentSubtleFg\" | \"bg\" | \"bgMuted\" | \"bgRaised\" | \"border\" | \"borderStrong\" | \"danger\" | \"dangerFg\" | \"dangerSubtleFg\" | \"done\" | \"doneFg\" | \"doneSubtleFg\" | \"fg\" | \"fgMuted\" | \"focus\" | \"neutralSubtleFg\" | \"success\" | \"successFg\" | \"successSubtleFg\" | \"warning\" | \"warningFg\" | \"warningSubtleFg\"",
3428
+ "type": "\"accent\" | \"accentFg\" | \"accentFillFg\" | \"accentSubtleFg\" | \"bg\" | \"bgMuted\" | \"bgPanel\" | \"bgRaised\" | \"border\" | \"borderStrong\" | \"danger\" | \"dangerFg\" | \"dangerSubtleFg\" | \"done\" | \"doneFg\" | \"doneSubtleFg\" | \"fg\" | \"fgMuted\" | \"focus\" | \"neutralSubtleFg\" | \"success\" | \"successFg\" | \"successSubtleFg\" | \"warning\" | \"warningFg\" | \"warningSubtleFg\"",
3266
3429
  "required": false,
3267
3430
  "values": [
3268
3431
  "accent",
@@ -3271,6 +3434,7 @@
3271
3434
  "accentSubtleFg",
3272
3435
  "bg",
3273
3436
  "bgMuted",
3437
+ "bgPanel",
3274
3438
  "bgRaised",
3275
3439
  "border",
3276
3440
  "borderStrong",
@@ -3376,7 +3540,7 @@
3376
3540
  },
3377
3541
  {
3378
3542
  "name": "inlineSize",
3379
- "type": "\"auto\" | \"fit\" | \"full\" | \"lg\" | \"max\" | \"med\" | \"min\" | \"page\" | \"prose\" | \"sm\" | \"wide\" | \"xl\" | \"xs\"",
3543
+ "type": "\"auto\" | \"fit\" | \"full\" | \"lg\" | \"max\" | \"med\" | \"min\" | \"page\" | \"prose\" | \"rail\" | \"sidebar\" | \"sm\" | \"wide\" | \"xl\" | \"xs\"",
3380
3544
  "required": false,
3381
3545
  "values": [
3382
3546
  "auto",
@@ -3388,6 +3552,8 @@
3388
3552
  "min",
3389
3553
  "page",
3390
3554
  "prose",
3555
+ "rail",
3556
+ "sidebar",
3391
3557
  "sm",
3392
3558
  "wide",
3393
3559
  "xl",
@@ -3604,7 +3770,7 @@
3604
3770
  },
3605
3771
  {
3606
3772
  "name": "maxInlineSize",
3607
- "type": "\"auto\" | \"fit\" | \"full\" | \"lg\" | \"max\" | \"med\" | \"min\" | \"page\" | \"prose\" | \"sm\" | \"wide\" | \"xl\" | \"xs\"",
3773
+ "type": "\"auto\" | \"fit\" | \"full\" | \"lg\" | \"max\" | \"med\" | \"min\" | \"page\" | \"prose\" | \"rail\" | \"sidebar\" | \"sm\" | \"wide\" | \"xl\" | \"xs\"",
3608
3774
  "required": false,
3609
3775
  "values": [
3610
3776
  "auto",
@@ -3616,6 +3782,8 @@
3616
3782
  "min",
3617
3783
  "page",
3618
3784
  "prose",
3785
+ "rail",
3786
+ "sidebar",
3619
3787
  "sm",
3620
3788
  "wide",
3621
3789
  "xl",
@@ -3643,7 +3811,7 @@
3643
3811
  },
3644
3812
  {
3645
3813
  "name": "minInlineSize",
3646
- "type": "\"auto\" | \"fit\" | \"full\" | \"lg\" | \"max\" | \"med\" | \"min\" | \"page\" | \"prose\" | \"sm\" | \"wide\" | \"xl\" | \"xs\"",
3814
+ "type": "\"auto\" | \"fit\" | \"full\" | \"lg\" | \"max\" | \"med\" | \"min\" | \"page\" | \"prose\" | \"rail\" | \"sidebar\" | \"sm\" | \"wide\" | \"xl\" | \"xs\"",
3647
3815
  "required": false,
3648
3816
  "values": [
3649
3817
  "auto",
@@ -3655,6 +3823,8 @@
3655
3823
  "min",
3656
3824
  "page",
3657
3825
  "prose",
3826
+ "rail",
3827
+ "sidebar",
3658
3828
  "sm",
3659
3829
  "wide",
3660
3830
  "xl",
@@ -3901,6 +4071,8 @@
3901
4071
  "InfoIcon",
3902
4072
  "LoaderCircleIcon",
3903
4073
  "LockOpenIcon",
4074
+ "PanelLeftCloseIcon",
4075
+ "PanelLeftOpenIcon",
3904
4076
  "PencilIcon",
3905
4077
  "PlayIcon",
3906
4078
  "PlusIcon",
@@ -3933,6 +4105,8 @@
3933
4105
  "size.med": "var(--size-med)",
3934
4106
  "size.lg": "var(--size-lg)",
3935
4107
  "size.xl": "var(--size-xl)",
4108
+ "container.sidebar": "var(--container-sidebar)",
4109
+ "container.rail": "var(--container-rail)",
3936
4110
  "container.prose": "var(--container-prose)",
3937
4111
  "container.page": "var(--container-page)",
3938
4112
  "container.wide": "var(--container-wide)",
@@ -3985,6 +4159,7 @@
3985
4159
  "color.bg": "var(--color-bg)",
3986
4160
  "color.bgMuted": "var(--color-bg-muted)",
3987
4161
  "color.bgRaised": "var(--color-bg-raised)",
4162
+ "color.bgPanel": "var(--color-bg-panel)",
3988
4163
  "color.fg": "var(--color-fg)",
3989
4164
  "color.fgMuted": "var(--color-fg-muted)",
3990
4165
  "color.border": "var(--color-border)",
@@ -0,0 +1,22 @@
1
+ # 0.12.0
2
+
3
+ SearchField's `inputProps` no longer take `aria-placeholder` (decision 0148): the field's own `placeholder` prop sets the input's native placeholder, and WAI-ARIA says not to set `aria-placeholder` beside one, since a screen reader can then announce the hint twice or a hint that is not on screen. TextField, Textarea and ColorField still take it.
4
+
5
+ ## Find
6
+
7
+ In the app's source (`*.ts`, `*.tsx`), every `aria-placeholder`: regex `aria-placeholder`. Keep the matches that reach a SearchField's `inputProps`, inline or through an object passed by name (one built elsewhere escapes the type check, so search, don't rely on `pnpm typecheck` alone). Leave matches on TextField, Textarea or ColorField, which still take the key.
8
+
9
+ ## Replace
10
+
11
+ ```tsx
12
+ // before
13
+ <SearchField label="Search issues" inputProps={{ "aria-placeholder": "Title or number" }} />
14
+ // after: the native placeholder is the hint, shown and announced
15
+ <SearchField label="Search issues" placeholder="Title or number" />
16
+ ```
17
+
18
+ If the SearchField already has a `placeholder`, delete the `aria-placeholder` key and keep the `placeholder` text that should appear on screen.
19
+
20
+ ## Verify
21
+
22
+ `pnpm typecheck` passes, and every match the regex above still finds reaches a TextField, Textarea or ColorField, none a SearchField.
@@ -0,0 +1,40 @@
1
+ # 0.13.0
2
+
3
+ `Brand["color"]` gains a required surface role, `bgPanel`, the fill of a panel beside the page such as the new `Sidebar` (decision 0151). A brand that lists its colors without spreading a preset no longer type-checks.
4
+
5
+ ## Find
6
+
7
+ In the app's source (`*.ts`, `*.tsx`), every `defineTheme(` call and every object typed `Brand` or `Brand["color"]`: regex `defineTheme\(|(:|satisfies|as)\s*Brand\b|Brand\["color"\]`. An aliased import of `Brand` needs its alias in place of `Brand`. For each, check its `color` object:
8
+
9
+ - It lists every role itself: it is missing `bgPanel`.
10
+ - It spreads a preset's colors (`...defaultBrand.color`): it type-checks and takes the preset's panel; no change, unless it recolors `bg` or `border`, then see below.
11
+
12
+ ## Replace
13
+
14
+ Add `bgPanel` after `bgRaised`, a `light-dark(<light>, <dark>)` pair that differs from both `bg` and `border` in each mode, so the panel stands apart from the page and its rules stay visible. `fg` and `fgMuted` must pass 4.5:1 on it in both modes; `defineTheme` throws in development if not.
15
+
16
+ ```ts
17
+ // before
18
+ color: {
19
+ bg: "light-dark(#fff, #111)",
20
+ bgMuted: "light-dark(#f4f4f5, #27272a)",
21
+ bgRaised: "light-dark(#fff, #18181b)",
22
+ // …every other role
23
+ },
24
+ // after
25
+ color: {
26
+ bg: "light-dark(#fff, #111)",
27
+ bgMuted: "light-dark(#f4f4f5, #27272a)",
28
+ bgRaised: "light-dark(#fff, #18181b)",
29
+ bgPanel: "light-dark(#fafafa, #161618)",
30
+ // …every other role
31
+ },
32
+ ```
33
+
34
+ Or take the `default` brand's value: `bgPanel: defaultBrand.color.bgPanel` (`light-dark(oklch(0.985 0.002 265), oklch(0.177 0.007 265))`).
35
+
36
+ A brand built from a preset with its own `bg` and `border` sets `bgPanel` too, between the two in dark mode.
37
+
38
+ ## Verify
39
+
40
+ Run the app's typecheck (`pnpm typecheck`); it passes with no error naming `bgPanel`. Then load a page that renders the theme in development; `defineTheme` throws no contrast error.
@@ -0,0 +1,2 @@
1
+ import { IconProps } from "../Icon/index.mjs";
2
+ export declare function PanelLeftCloseIcon(props: Omit<IconProps, "children" | "viewBox">): import("react").JSX.Element;
@@ -0,0 +1,16 @@
1
+ import { Icon as e } from "../Icon/index.mjs";
2
+ import { jsx as t, jsxs as n } from "react/jsx-runtime";
3
+ // src/icons/PanelLeftCloseIcon.tsx
4
+ function r(r) {
5
+ return /* @__PURE__ */ n(e, {
6
+ ...r,
7
+ children: [/* @__PURE__ */ t("rect", {
8
+ height: "18",
9
+ rx: "2",
10
+ width: "18",
11
+ x: "3",
12
+ y: "3"
13
+ }), /* @__PURE__ */ t("path", { d: "M9 3v18M16 15l-3-3 3-3" })]
14
+ });
15
+ }
16
+ export { r as PanelLeftCloseIcon };
@@ -0,0 +1,2 @@
1
+ import { IconProps } from "../Icon/index.mjs";
2
+ export declare function PanelLeftOpenIcon(props: Omit<IconProps, "children" | "viewBox">): import("react").JSX.Element;
@@ -0,0 +1,16 @@
1
+ import { Icon as e } from "../Icon/index.mjs";
2
+ import { jsx as t, jsxs as n } from "react/jsx-runtime";
3
+ // src/icons/PanelLeftOpenIcon.tsx
4
+ function r(r) {
5
+ return /* @__PURE__ */ n(e, {
6
+ ...r,
7
+ children: [/* @__PURE__ */ t("rect", {
8
+ height: "18",
9
+ rx: "2",
10
+ width: "18",
11
+ x: "3",
12
+ y: "3"
13
+ }), /* @__PURE__ */ t("path", { d: "M9 3v18M14 9l3 3-3 3" })]
14
+ });
15
+ }
16
+ export { r as PanelLeftOpenIcon };
@@ -18,6 +18,8 @@ import { GitPullRequestIcon } from "./GitPullRequestIcon.mjs";
18
18
  import { InboxIcon } from "./InboxIcon.mjs";
19
19
  import { LoaderCircleIcon } from "./LoaderCircleIcon.mjs";
20
20
  import { LockOpenIcon } from "./LockOpenIcon.mjs";
21
+ import { PanelLeftCloseIcon } from "./PanelLeftCloseIcon.mjs";
22
+ import { PanelLeftOpenIcon } from "./PanelLeftOpenIcon.mjs";
21
23
  import { PencilIcon } from "./PencilIcon.mjs";
22
24
  import { PlayIcon } from "./PlayIcon.mjs";
23
25
  import { PlusIcon } from "./PlusIcon.mjs";
@@ -27,6 +29,6 @@ import { SearchIcon } from "./SearchIcon.mjs";
27
29
  import { SettingsIcon } from "./SettingsIcon.mjs";
28
30
  import { Trash2Icon } from "./Trash2Icon.mjs";
29
31
  import { XIcon } from "./XIcon.mjs";
30
- export declare const iconNames: readonly ["ArrowDownIcon", "ArrowLeftIcon", "ArrowRightIcon", "ArrowUpIcon", "CheckIcon", "ChevronDownIcon", "ChevronRightIcon", "CircleAlertIcon", "CircleCheckIcon", "CircleDotIcon", "CircleSlashIcon", "EllipsisIcon", "GitMergeIcon", "GitPullRequestClosedIcon", "GitPullRequestDraftIcon", "GitPullRequestIcon", "InboxIcon", "InfoIcon", "LoaderCircleIcon", "LockOpenIcon", "PencilIcon", "PlayIcon", "PlusIcon", "RefreshCwIcon", "ReplyIcon", "SearchIcon", "SettingsIcon", "Trash2Icon", "XIcon"];
32
+ export declare const iconNames: readonly ["ArrowDownIcon", "ArrowLeftIcon", "ArrowRightIcon", "ArrowUpIcon", "CheckIcon", "ChevronDownIcon", "ChevronRightIcon", "CircleAlertIcon", "CircleCheckIcon", "CircleDotIcon", "CircleSlashIcon", "EllipsisIcon", "GitMergeIcon", "GitPullRequestClosedIcon", "GitPullRequestDraftIcon", "GitPullRequestIcon", "InboxIcon", "InfoIcon", "LoaderCircleIcon", "LockOpenIcon", "PanelLeftCloseIcon", "PanelLeftOpenIcon", "PencilIcon", "PlayIcon", "PlusIcon", "RefreshCwIcon", "ReplyIcon", "SearchIcon", "SettingsIcon", "Trash2Icon", "XIcon"];
31
33
  export type IconName = (typeof iconNames)[number];
32
- export { ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, CheckIcon, ChevronDownIcon, ChevronRightIcon, CircleAlertIcon, CircleCheckIcon, CircleDotIcon, CircleSlashIcon, EllipsisIcon, GitMergeIcon, GitPullRequestClosedIcon, GitPullRequestDraftIcon, GitPullRequestIcon, InboxIcon, InfoIcon, LoaderCircleIcon, LockOpenIcon, PencilIcon, PlayIcon, PlusIcon, RefreshCwIcon, ReplyIcon, SearchIcon, SettingsIcon, Trash2Icon, XIcon };
34
+ export { ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, CheckIcon, ChevronDownIcon, ChevronRightIcon, CircleAlertIcon, CircleCheckIcon, CircleDotIcon, CircleSlashIcon, EllipsisIcon, GitMergeIcon, GitPullRequestClosedIcon, GitPullRequestDraftIcon, GitPullRequestIcon, InboxIcon, InfoIcon, LoaderCircleIcon, LockOpenIcon, PanelLeftCloseIcon, PanelLeftOpenIcon, PencilIcon, PlayIcon, PlusIcon, RefreshCwIcon, ReplyIcon, SearchIcon, SettingsIcon, Trash2Icon, XIcon };
@@ -3,30 +3,32 @@ import { CircleAlertIcon as t } from "./CircleAlertIcon.mjs";
3
3
  import { ChevronDownIcon as n } from "./ChevronDownIcon.mjs";
4
4
  import { SearchIcon as r } from "./SearchIcon.mjs";
5
5
  import { XIcon as i } from "./XIcon.mjs";
6
- import { ArrowDownIcon as a } from "./ArrowDownIcon.mjs";
7
- import { ArrowUpIcon as o } from "./ArrowUpIcon.mjs";
8
- import { CircleCheckIcon as s } from "./CircleCheckIcon.mjs";
9
- import { InfoIcon as c } from "./InfoIcon.mjs";
10
- import { ArrowLeftIcon as l } from "./ArrowLeftIcon.mjs";
11
- import { ArrowRightIcon as u } from "./ArrowRightIcon.mjs";
12
- import { ChevronRightIcon as d } from "./ChevronRightIcon.mjs";
13
- import { CircleDotIcon as f } from "./CircleDotIcon.mjs";
14
- import { CircleSlashIcon as p } from "./CircleSlashIcon.mjs";
15
- import { EllipsisIcon as m } from "./EllipsisIcon.mjs";
16
- import { GitMergeIcon as h } from "./GitMergeIcon.mjs";
17
- import { GitPullRequestClosedIcon as g } from "./GitPullRequestClosedIcon.mjs";
18
- import { GitPullRequestDraftIcon as _ } from "./GitPullRequestDraftIcon.mjs";
19
- import { GitPullRequestIcon as v } from "./GitPullRequestIcon.mjs";
20
- import { InboxIcon as y } from "./InboxIcon.mjs";
21
- import { LoaderCircleIcon as b } from "./LoaderCircleIcon.mjs";
22
- import { LockOpenIcon as x } from "./LockOpenIcon.mjs";
23
- import { PencilIcon as S } from "./PencilIcon.mjs";
24
- import { PlayIcon as C } from "./PlayIcon.mjs";
25
- import { PlusIcon as w } from "./PlusIcon.mjs";
26
- import { RefreshCwIcon as T } from "./RefreshCwIcon.mjs";
27
- import { ReplyIcon as E } from "./ReplyIcon.mjs";
28
- import { SettingsIcon as D } from "./SettingsIcon.mjs";
29
- import { Trash2Icon as O } from "./Trash2Icon.mjs";
6
+ import { PanelLeftCloseIcon as a } from "./PanelLeftCloseIcon.mjs";
7
+ import { PanelLeftOpenIcon as o } from "./PanelLeftOpenIcon.mjs";
8
+ import { ArrowDownIcon as s } from "./ArrowDownIcon.mjs";
9
+ import { ArrowUpIcon as c } from "./ArrowUpIcon.mjs";
10
+ import { CircleCheckIcon as l } from "./CircleCheckIcon.mjs";
11
+ import { InfoIcon as u } from "./InfoIcon.mjs";
12
+ import { ArrowLeftIcon as d } from "./ArrowLeftIcon.mjs";
13
+ import { ArrowRightIcon as f } from "./ArrowRightIcon.mjs";
14
+ import { ChevronRightIcon as p } from "./ChevronRightIcon.mjs";
15
+ import { CircleDotIcon as m } from "./CircleDotIcon.mjs";
16
+ import { CircleSlashIcon as h } from "./CircleSlashIcon.mjs";
17
+ import { EllipsisIcon as g } from "./EllipsisIcon.mjs";
18
+ import { GitMergeIcon as _ } from "./GitMergeIcon.mjs";
19
+ import { GitPullRequestClosedIcon as v } from "./GitPullRequestClosedIcon.mjs";
20
+ import { GitPullRequestDraftIcon as y } from "./GitPullRequestDraftIcon.mjs";
21
+ import { GitPullRequestIcon as b } from "./GitPullRequestIcon.mjs";
22
+ import { InboxIcon as x } from "./InboxIcon.mjs";
23
+ import { LoaderCircleIcon as S } from "./LoaderCircleIcon.mjs";
24
+ import { LockOpenIcon as C } from "./LockOpenIcon.mjs";
25
+ import { PencilIcon as w } from "./PencilIcon.mjs";
26
+ import { PlayIcon as T } from "./PlayIcon.mjs";
27
+ import { PlusIcon as E } from "./PlusIcon.mjs";
28
+ import { RefreshCwIcon as D } from "./RefreshCwIcon.mjs";
29
+ import { ReplyIcon as O } from "./ReplyIcon.mjs";
30
+ import { SettingsIcon as k } from "./SettingsIcon.mjs";
31
+ import { Trash2Icon as A } from "./Trash2Icon.mjs";
30
32
  // src/icons/index.ts
31
- var k = /* @__PURE__ */ "ArrowDownIcon.ArrowLeftIcon.ArrowRightIcon.ArrowUpIcon.CheckIcon.ChevronDownIcon.ChevronRightIcon.CircleAlertIcon.CircleCheckIcon.CircleDotIcon.CircleSlashIcon.EllipsisIcon.GitMergeIcon.GitPullRequestClosedIcon.GitPullRequestDraftIcon.GitPullRequestIcon.InboxIcon.InfoIcon.LoaderCircleIcon.LockOpenIcon.PencilIcon.PlayIcon.PlusIcon.RefreshCwIcon.ReplyIcon.SearchIcon.SettingsIcon.Trash2Icon.XIcon".split(".");
32
- export { a as ArrowDownIcon, l as ArrowLeftIcon, u as ArrowRightIcon, o as ArrowUpIcon, e as CheckIcon, n as ChevronDownIcon, d as ChevronRightIcon, t as CircleAlertIcon, s as CircleCheckIcon, f as CircleDotIcon, p as CircleSlashIcon, m as EllipsisIcon, h as GitMergeIcon, g as GitPullRequestClosedIcon, _ as GitPullRequestDraftIcon, v as GitPullRequestIcon, y as InboxIcon, c as InfoIcon, b as LoaderCircleIcon, x as LockOpenIcon, S as PencilIcon, C as PlayIcon, w as PlusIcon, T as RefreshCwIcon, E as ReplyIcon, r as SearchIcon, D as SettingsIcon, O as Trash2Icon, i as XIcon, k as iconNames };
33
+ var j = /* @__PURE__ */ "ArrowDownIcon.ArrowLeftIcon.ArrowRightIcon.ArrowUpIcon.CheckIcon.ChevronDownIcon.ChevronRightIcon.CircleAlertIcon.CircleCheckIcon.CircleDotIcon.CircleSlashIcon.EllipsisIcon.GitMergeIcon.GitPullRequestClosedIcon.GitPullRequestDraftIcon.GitPullRequestIcon.InboxIcon.InfoIcon.LoaderCircleIcon.LockOpenIcon.PanelLeftCloseIcon.PanelLeftOpenIcon.PencilIcon.PlayIcon.PlusIcon.RefreshCwIcon.ReplyIcon.SearchIcon.SettingsIcon.Trash2Icon.XIcon".split(".");
34
+ export { s as ArrowDownIcon, d as ArrowLeftIcon, f as ArrowRightIcon, c as ArrowUpIcon, e as CheckIcon, n as ChevronDownIcon, p as ChevronRightIcon, t as CircleAlertIcon, l as CircleCheckIcon, m as CircleDotIcon, h as CircleSlashIcon, g as EllipsisIcon, _ as GitMergeIcon, v as GitPullRequestClosedIcon, y as GitPullRequestDraftIcon, b as GitPullRequestIcon, x as InboxIcon, u as InfoIcon, S as LoaderCircleIcon, C as LockOpenIcon, a as PanelLeftCloseIcon, o as PanelLeftOpenIcon, w as PencilIcon, T as PlayIcon, E as PlusIcon, D as RefreshCwIcon, O as ReplyIcon, r as SearchIcon, k as SettingsIcon, A as Trash2Icon, i as XIcon, j as iconNames };
package/dist/index.d.mts CHANGED
@@ -23,8 +23,11 @@ import { Inline, InlineProps } from "./Inline/index.mjs";
23
23
  import { MenuTriggerProps } from "./Menu/client.mjs";
24
24
  import { Menu, MenuGroupProps, MenuItemProps, MenuLinkItemProps, MenuPopupProps, MenuProps, MenuSeparatorProps } from "./Menu/index.mjs";
25
25
  import { MultiSelect, MultiSelectOption, MultiSelectProps } from "./MultiSelect/index.mjs";
26
+ import { NavList, NavListGroupProps, NavListItemOwnProps, NavListItemProps, NavListProps } from "./NavList/index.mjs";
26
27
  import { RadioGroup, RadioGroupOption, RadioGroupProps } from "./RadioGroup/index.mjs";
27
28
  import { Select, SelectOption, SelectProps } from "./Select/index.mjs";
29
+ import { Sidebar, SidebarProps } from "./Sidebar/index.mjs";
30
+ import { SidebarLayout, SidebarLayoutMainProps, SidebarLayoutProps, SidebarLayoutSidebarProps } from "./SidebarLayout/index.mjs";
28
31
  import { Stack, StackProps } from "./Stack/index.mjs";
29
32
  import { Switch, SwitchProps } from "./Switch/index.mjs";
30
33
  import { Table, TableBodyProps, TableCellProps, TableColumnGroupProps, TableColumnProps, TableFootProps, TableHeadProps, TableHeaderCellProps, TableProps, TableRowProps, TableScrollAreaProps, TableSortDirection } from "./Table/index.mjs";
@@ -39,4 +42,4 @@ import { Tooltip, TooltipPopupProps, TooltipProps, TooltipProviderProps } from "
39
42
  import { VisuallyHidden, VisuallyHiddenProps } from "./VisuallyHidden/index.mjs";
40
43
  import { Theme, defineTheme } from "./theme/define-theme.mjs";
41
44
  import { ThemeProvider, ThemeProviderProps } from "./theme/ThemeProvider.mjs";
42
- export { AlertDialog, type AlertDialogProps, type AlertDialogTriggerProps, Avatar, type AvatarProps, Badge, type BadgeProps, Box, type BoxProps, Button, type ButtonProps, Checkbox, type CheckboxProps, Chip, ChipGroup, type ChipGroupProps, type ChipProps, Clickable, type ClickableProps, ColorField, type ColorFieldInputProps, type ColorFieldProps, Combobox, type ComboboxOption, type ComboboxProps, Dialog, type DialogActionsProps, type DialogBodyProps, type DialogCloseProps, type DialogPopupProps, type DialogProps, type DialogTriggerProps, Field, type FieldDescriptionProps, type FieldErrorProps, type FieldLabelProps, type FieldProps, Heading, type HeadingLevel, type HeadingProps, type HeadingSize, Icon, IconButton, type IconButtonProps, type IconProps, Inline, type InlineProps, Menu, type MenuGroupProps, type MenuItemProps, type MenuLinkItemProps, type MenuPopupProps, type MenuProps, type MenuSeparatorProps, type MenuTriggerProps, MultiSelect, type MultiSelectOption, type MultiSelectProps, RadioGroup, type RadioGroupOption, type RadioGroupProps, SearchField, type SearchFieldInputProps, type SearchFieldProps, Select, type SelectOption, type SelectProps, Stack, type StackProps, type StyleProps, Switch, type SwitchProps, Table, type TableBodyProps, type TableCellProps, type TableColumnGroupProps, type TableColumnProps, type TableFootProps, type TableHeadProps, type TableHeaderCellProps, type TableProps, type TableRowProps, type TableScrollAreaProps, type TableSortDirection, Tabs, type TabsListProps, type TabsPanelProps, type TabsProps, type TabsTabProps, Tag, type TagProps, Text, TextField, type TextFieldInputProps, type TextFieldProps, type TextProps, Textarea, type TextareaInputProps, type TextareaProps, type Theme, ThemeProvider, type ThemeProviderProps, Toast, type ToastOptions, type ToastProviderProps, type ToastVariant, Tooltip, type TooltipPopupProps, type TooltipProps, type TooltipProviderProps, type TooltipTriggerProps, VisuallyHidden, type VisuallyHiddenProps, defineTheme, useToast };
45
+ export { AlertDialog, type AlertDialogProps, type AlertDialogTriggerProps, Avatar, type AvatarProps, Badge, type BadgeProps, Box, type BoxProps, Button, type ButtonProps, Checkbox, type CheckboxProps, Chip, ChipGroup, type ChipGroupProps, type ChipProps, Clickable, type ClickableProps, ColorField, type ColorFieldInputProps, type ColorFieldProps, Combobox, type ComboboxOption, type ComboboxProps, Dialog, type DialogActionsProps, type DialogBodyProps, type DialogCloseProps, type DialogPopupProps, type DialogProps, type DialogTriggerProps, Field, type FieldDescriptionProps, type FieldErrorProps, type FieldLabelProps, type FieldProps, Heading, type HeadingLevel, type HeadingProps, type HeadingSize, Icon, IconButton, type IconButtonProps, type IconProps, Inline, type InlineProps, Menu, type MenuGroupProps, type MenuItemProps, type MenuLinkItemProps, type MenuPopupProps, type MenuProps, type MenuSeparatorProps, type MenuTriggerProps, MultiSelect, type MultiSelectOption, type MultiSelectProps, NavList, type NavListGroupProps, type NavListItemOwnProps, type NavListItemProps, type NavListProps, RadioGroup, type RadioGroupOption, type RadioGroupProps, SearchField, type SearchFieldInputProps, type SearchFieldProps, Select, type SelectOption, type SelectProps, Sidebar, SidebarLayout, type SidebarLayoutMainProps, type SidebarLayoutProps, type SidebarLayoutSidebarProps, type SidebarProps, Stack, type StackProps, type StyleProps, Switch, type SwitchProps, Table, type TableBodyProps, type TableCellProps, type TableColumnGroupProps, type TableColumnProps, type TableFootProps, type TableHeadProps, type TableHeaderCellProps, type TableProps, type TableRowProps, type TableScrollAreaProps, type TableSortDirection, Tabs, type TabsListProps, type TabsPanelProps, type TabsProps, type TabsTabProps, Tag, type TagProps, Text, TextField, type TextFieldInputProps, type TextFieldProps, type TextProps, Textarea, type TextareaInputProps, type TextareaProps, type Theme, ThemeProvider, type ThemeProviderProps, Toast, type ToastOptions, type ToastProviderProps, type ToastVariant, Tooltip, type TooltipPopupProps, type TooltipProps, type TooltipProviderProps, type TooltipTriggerProps, VisuallyHidden, type VisuallyHiddenProps, defineTheme, useToast };
package/dist/index.mjs CHANGED
@@ -17,20 +17,23 @@ import { IconButton as g } from "./IconButton/index.mjs";
17
17
  import { Inline as _ } from "./Inline/index.mjs";
18
18
  import { Menu as v } from "./Menu/index.mjs";
19
19
  import { MultiSelect as y } from "./MultiSelect/index.mjs";
20
- import { RadioGroup as b } from "./RadioGroup/index.mjs";
21
- import { SearchField as x } from "./SearchField/index.mjs";
22
- import { Select as S } from "./Select/index.mjs";
23
- import { Stack as C } from "./Stack/index.mjs";
24
- import { Switch as w } from "./Switch/index.mjs";
25
- import { VisuallyHidden as T } from "./VisuallyHidden/index.mjs";
26
- import { Table as E } from "./Table/index.mjs";
27
- import { Tabs as D } from "./Tabs/index.mjs";
28
- import { Tag as O } from "./Tag/index.mjs";
29
- import { Textarea as k } from "./Textarea/index.mjs";
30
- import { TextField as A } from "./TextField/index.mjs";
31
- import { defineTheme as j } from "./theme/define-theme.mjs";
32
- import { ThemeProvider as M } from "./theme/ThemeProvider.mjs";
33
- import { useToast as N } from "./Toast/client.mjs";
34
- import { Toast as P } from "./Toast/index.mjs";
35
- import { Tooltip as F } from "./Tooltip/index.mjs";
36
- export { o as AlertDialog, s as Avatar, c as Badge, l as Box, r as Button, u as Checkbox, d as Chip, f as ChipGroup, e as Clickable, m as ColorField, h as Combobox, a as Dialog, p as Field, i as Heading, t as Icon, g as IconButton, _ as Inline, v as Menu, y as MultiSelect, b as RadioGroup, x as SearchField, S as Select, C as Stack, w as Switch, E as Table, D as Tabs, O as Tag, n as Text, A as TextField, k as Textarea, M as ThemeProvider, P as Toast, F as Tooltip, T as VisuallyHidden, j as defineTheme, N as useToast };
20
+ import { NavList as b } from "./NavList/index.mjs";
21
+ import { RadioGroup as x } from "./RadioGroup/index.mjs";
22
+ import { SearchField as S } from "./SearchField/index.mjs";
23
+ import { Select as C } from "./Select/index.mjs";
24
+ import { Sidebar as w } from "./Sidebar/index.mjs";
25
+ import { SidebarLayout as T } from "./SidebarLayout/index.mjs";
26
+ import { Stack as E } from "./Stack/index.mjs";
27
+ import { Switch as D } from "./Switch/index.mjs";
28
+ import { VisuallyHidden as O } from "./VisuallyHidden/index.mjs";
29
+ import { Table as k } from "./Table/index.mjs";
30
+ import { Tabs as A } from "./Tabs/index.mjs";
31
+ import { Tag as j } from "./Tag/index.mjs";
32
+ import { Textarea as M } from "./Textarea/index.mjs";
33
+ import { TextField as N } from "./TextField/index.mjs";
34
+ import { defineTheme as P } from "./theme/define-theme.mjs";
35
+ import { ThemeProvider as F } from "./theme/ThemeProvider.mjs";
36
+ import { useToast as I } from "./Toast/client.mjs";
37
+ import { Toast as L } from "./Toast/index.mjs";
38
+ import { Tooltip as R } from "./Tooltip/index.mjs";
39
+ export { o as AlertDialog, s as Avatar, c as Badge, l as Box, r as Button, u as Checkbox, d as Chip, f as ChipGroup, e as Clickable, m as ColorField, h as Combobox, a as Dialog, p as Field, i as Heading, t as Icon, g as IconButton, _ as Inline, v as Menu, y as MultiSelect, b as NavList, x as RadioGroup, S as SearchField, C as Select, w as Sidebar, T as SidebarLayout, E as Stack, D as Switch, k as Table, A as Tabs, j as Tag, n as Text, N as TextField, M as Textarea, F as ThemeProvider, L as Toast, R as Tooltip, O as VisuallyHidden, P as defineTheme, I as useToast };