@jonmilner/ui 0.11.8 → 0.11.10

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 (63) 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/Combobox/Combobox.css +2 -0
  10. package/dist/Combobox/Combobox.css.mjs +17 -0
  11. package/dist/Combobox/client.mjs +127 -0
  12. package/dist/Combobox/index.d.mts +33 -0
  13. package/dist/Combobox/index.mjs +62 -0
  14. package/dist/Dialog/Dialog.css +1 -1
  15. package/dist/Field/Field.css +1 -1
  16. package/dist/Heading/Heading.css +1 -1
  17. package/dist/Icon/Icon.css +1 -1
  18. package/dist/IconButton/IconButton.css +1 -1
  19. package/dist/Inline/Inline.css +1 -1
  20. package/dist/Menu/Menu.css +1 -1
  21. package/dist/MultiSelect/MultiSelect.css +1 -1
  22. package/dist/MultiSelect/client.mjs +28 -53
  23. package/dist/MultiSelect/index.d.mts +1 -1
  24. package/dist/MultiSelect/index.mjs +4 -3
  25. package/dist/RadioGroup/RadioGroup.css +1 -1
  26. package/dist/SearchField/SearchField.css +1 -1
  27. package/dist/Select/Select.css +1 -1
  28. package/dist/Select/index.d.mts +1 -1
  29. package/dist/Select/index.mjs +4 -3
  30. package/dist/Stack/Stack.css +1 -1
  31. package/dist/Switch/Switch.css +1 -1
  32. package/dist/Table/Table.css +2 -2
  33. package/dist/Table/Table.css.mjs +2 -2
  34. package/dist/Table/index.d.mts +10 -0
  35. package/dist/Table/index.mjs +84 -61
  36. package/dist/Tabs/Tabs.css +1 -1
  37. package/dist/Tag/Tag.css +1 -1
  38. package/dist/Text/Text.css +1 -1
  39. package/dist/TextField/TextField.css +1 -1
  40. package/dist/Textarea/Textarea.css +1 -1
  41. package/dist/Toast/Toast.css +1 -1
  42. package/dist/VisuallyHidden/VisuallyHidden.css +1 -1
  43. package/dist/base.css +1 -1
  44. package/dist/docs/Combobox.md +121 -0
  45. package/dist/docs/MultiSelect.md +1 -1
  46. package/dist/docs/SearchField.md +1 -1
  47. package/dist/docs/Select.md +1 -1
  48. package/dist/docs/Table.md +28 -2
  49. package/dist/docs/TextField.md +1 -1
  50. package/dist/docs/llms.txt +2 -1
  51. package/dist/docs/manifest.json +120 -1
  52. package/dist/index.d.mts +3 -2
  53. package/dist/index.mjs +21 -20
  54. package/dist/popup/listbox-base.mjs +71 -0
  55. package/dist/popup/listbox-options.mjs +6 -15
  56. package/dist/popup/listbox-row.mjs +16 -0
  57. package/dist/popup/listbox-summary.mjs +36 -0
  58. package/dist/popup/listbox.mjs +25 -73
  59. package/dist/styles/atoms.css +1 -1
  60. package/dist/styles/layers.css +1 -1
  61. package/dist/styles/responsive.css +1 -1
  62. package/package.json +5 -1
  63. /package/dist/popup/{listbox-options.d.mts → listbox-row.d.mts} +0 -0
@@ -20,6 +20,7 @@
20
20
  - [Chip](Chip.md): A toggle that filters content or picks an option: "Unread", "Starred", "Medium". A `<button>` with `aria-pressed` on `Clickable`, built on Base UI `Toggle`; `ChipGroup` is a Base UI `ToggleGroup` of chips that share one state. If it changes state when clicked, it's a chip.
21
21
  - [Clickable](Clickable.md): The low-level base for everything a user presses: a `<button type="button">` by default, or a link with `as="a"` (or a router's link component). It brings the shared focus ring, a 24 by 24 CSS px minimum target (WCAG 2.2), `disabled` and `busy` states as ARIA attributes, and no look of its own: the button and link chrome is stripped. `Button`, `IconButton` and link components are built on it.
22
22
  - [ColorField](ColorField.md): A form field for one colour as a `#rrggbb` string: a swatch, the browser's own colour picker (`<input type="color">`), before a hex text input (role `textbox`) that holds the value. Picking a colour writes its hex; typing a valid hex moves the swatch. The hex input has TextField's look, with the swatch over its inline-start padding. Built on Base UI's `Input` and a native colour input, since Base UI has no colour picker (ADR 0003, 0114); 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 swatch is 24px, or 32px in `lg`.
23
+ - [Combobox](Combobox.md): A form field for picking one value, or any number with `multiple`, from a list long enough that the user types to narrow it. A trigger drawn as MultiSelect's opens a popup with a filter input above the options; typing keeps the options whose label holds the query, ignoring case and accents. Each picked option shows a check mark, and the trigger shows the picked label, or with `multiple` the joined labels, then a count ("3 selected") once they would not fit. Built on Base UI's `Combobox` (ADR 0003, 0142), which owns the keyboard and focus: focus moves into the filter as the popup opens and stays there, the arrow keys move the highlight, Enter picks, Esc and an outside click close it, and focus returns to the trigger. It shares MultiSelect's and Select's trigger, popup, option rows and summary (ADR 0134, 0142) and composes `Field` for its label, description and error (ADR 0026).
23
24
  - [Dialog](Dialog.md): A modal panel over the page for one short task: edit a name, fill a small form, read details that need a decision. Built on Base UI's Dialog, which owns the behavior: focus moves into the dialog and stays there, the page behind is inert and does not scroll, Esc and a click on the backdrop close it, and focus returns to the trigger. The parts add the look: a dimmed backdrop, a raised panel with a title, and a zoom-and-fade that is a plain fade under reduced motion.
24
25
  - [Field](Field.md): Wires one form control to its label, description and error: ids, `htmlFor`, `aria-describedby` and `aria-invalid`. It is input-agnostic: the control inside is Base UI's `Field.Control` or a Base UI control (Checkbox, Combobox), and Base UI does the wiring. The parts are `Field` (the root, a flex column), `Field.Label`, `Field.Description` and `Field.Error`. Built on Base UI `Field` (ADR 0003, 0026, 0046); `@base-ui/react` is a peer dependency, so the app's Base UI controls and Field share one copy of its contexts.
25
26
  - [Heading](Heading.md): Section and page headings. A `Text` with heading defaults: the `heading` font role, `semibold`, `sm` leading, and balanced line wrapping. The level (`as`) and the look (`size`) are separate, so the outline stays right whatever the design calls for.
@@ -33,7 +34,7 @@
33
34
  - [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).
34
35
  - [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.
35
36
  - [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.
36
- - [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`). 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.
37
+ - [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.
37
38
  - [Tabs](Tabs.md): Switches between views that share one place on the page. The parts are `Tabs` (the root, a flex column; a row when vertical), `Tabs.List` (the `tablist`), `Tabs.Tab` (a `tab` button on `Clickable`) and `Tabs.Panel` (the `tabpanel`). Built on Base UI `Tabs` (ADR 0003, 0046): it owns the selection, one tab stop with arrow-key roving, `aria-selected`, and the ids that tie each tab to its panel. The selected tab shows an accent bar that fades and grows in (ADR 0049).
38
39
  - [Tag](Tag.md): A label that puts content in a category: a topic, a label, a user-made category. A `span` with a subtle tone fill (gray by default) and an `lg` radius (half a one-line tag's height, so one line reads as a pill and wrapped lines stay inside the fill) around a `Text` in the `label` font. It can be read-only, a link, or removable.
39
40
  - [Text](Text.md): The base of all visible text, and the primitive every text component builds on. Capsize trims the box to the cap height and the baseline, so the gap around text is the visible space. It takes every Box style prop (`color`, `textAlign`, margins), plus `size`, `font`, `weight`, `leading`, `truncate` and `wrap`.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "./manifest.schema.json",
3
3
  "package": "@jonmilner/ui",
4
- "version": "0.11.8",
4
+ "version": "0.11.10",
5
5
  "components": [
6
6
  {
7
7
  "name": "AlertDialog",
@@ -528,6 +528,109 @@
528
528
  "parts": [],
529
529
  "exports": []
530
530
  },
531
+ {
532
+ "name": "Combobox",
533
+ "styleProps": true,
534
+ "props": [
535
+ {
536
+ "name": "className",
537
+ "type": "string",
538
+ "required": false
539
+ },
540
+ {
541
+ "name": "countLabel",
542
+ "type": "string",
543
+ "required": false
544
+ },
545
+ {
546
+ "name": "defaultValue",
547
+ "type": "string | readonly string[]",
548
+ "required": false
549
+ },
550
+ {
551
+ "name": "description",
552
+ "type": "ReactNode",
553
+ "required": false
554
+ },
555
+ {
556
+ "name": "disabled",
557
+ "type": "boolean",
558
+ "required": false
559
+ },
560
+ {
561
+ "name": "emptyLabel",
562
+ "type": "string",
563
+ "required": false
564
+ },
565
+ {
566
+ "name": "error",
567
+ "type": "ReactNode",
568
+ "required": false
569
+ },
570
+ {
571
+ "name": "filterLabel",
572
+ "type": "string",
573
+ "required": false
574
+ },
575
+ {
576
+ "name": "label",
577
+ "type": "ReactNode",
578
+ "required": true
579
+ },
580
+ {
581
+ "name": "multiple",
582
+ "type": "boolean",
583
+ "required": false
584
+ },
585
+ {
586
+ "name": "name",
587
+ "type": "string",
588
+ "required": false
589
+ },
590
+ {
591
+ "name": "onValueChange",
592
+ "type": "((value: string | null) => void) | ((value: string[]) => void)",
593
+ "required": false
594
+ },
595
+ {
596
+ "name": "options",
597
+ "type": "readonly ListboxOption[]",
598
+ "required": true
599
+ },
600
+ {
601
+ "name": "placeholder",
602
+ "type": "string",
603
+ "required": false
604
+ },
605
+ {
606
+ "name": "required",
607
+ "type": "boolean",
608
+ "required": false
609
+ },
610
+ {
611
+ "name": "size",
612
+ "type": "\"lg\" | \"med\" | \"sm\"",
613
+ "required": false,
614
+ "values": [
615
+ "lg",
616
+ "med",
617
+ "sm"
618
+ ]
619
+ },
620
+ {
621
+ "name": "style",
622
+ "type": "CSSProperties",
623
+ "required": false
624
+ },
625
+ {
626
+ "name": "value",
627
+ "type": "string | readonly string[]",
628
+ "required": false
629
+ }
630
+ ],
631
+ "parts": [],
632
+ "exports": []
633
+ },
531
634
  {
532
635
  "name": "Dialog",
533
636
  "styleProps": false,
@@ -2337,6 +2440,22 @@
2337
2440
  ]
2338
2441
  }
2339
2442
  ]
2443
+ },
2444
+ {
2445
+ "name": "Table.ScrollArea",
2446
+ "styleProps": true,
2447
+ "props": [
2448
+ {
2449
+ "name": "aria-label",
2450
+ "type": "string",
2451
+ "required": false
2452
+ },
2453
+ {
2454
+ "name": "aria-labelledby",
2455
+ "type": "string",
2456
+ "required": false
2457
+ }
2458
+ ]
2340
2459
  }
2341
2460
  ],
2342
2461
  "exports": []
package/dist/index.d.mts CHANGED
@@ -14,6 +14,7 @@ import { SearchFieldInputProps } from "./SearchField/client.mjs";
14
14
  import { SearchField, SearchFieldProps } from "./SearchField/index.mjs";
15
15
  import { ColorFieldInputProps } from "./ColorField/client.mjs";
16
16
  import { ColorField, ColorFieldProps } from "./ColorField/index.mjs";
17
+ import { Combobox, ComboboxOption, ComboboxProps } from "./Combobox/index.mjs";
17
18
  import { Text, TextProps } from "./Text/index.mjs";
18
19
  import { Field, FieldDescriptionProps, FieldErrorProps, FieldLabelProps, FieldProps } from "./Field/index.mjs";
19
20
  import { Heading, HeadingLevel, HeadingProps, HeadingSize } from "./Heading/index.mjs";
@@ -26,7 +27,7 @@ import { RadioGroup, RadioGroupOption, RadioGroupProps } from "./RadioGroup/inde
26
27
  import { Select, SelectOption, SelectProps } from "./Select/index.mjs";
27
28
  import { Stack, StackProps } from "./Stack/index.mjs";
28
29
  import { Switch, SwitchProps } from "./Switch/index.mjs";
29
- import { Table, TableBodyProps, TableCellProps, TableColumnGroupProps, TableColumnProps, TableFootProps, TableHeadProps, TableHeaderCellProps, TableProps, TableRowProps, TableSortDirection } from "./Table/index.mjs";
30
+ import { Table, TableBodyProps, TableCellProps, TableColumnGroupProps, TableColumnProps, TableFootProps, TableHeadProps, TableHeaderCellProps, TableProps, TableRowProps, TableScrollAreaProps, TableSortDirection } from "./Table/index.mjs";
30
31
  import { Tabs, TabsListProps, TabsPanelProps, TabsProps, TabsTabProps } from "./Tabs/index.mjs";
31
32
  import { Tag, TagProps } from "./Tag/index.mjs";
32
33
  import { TextField, TextFieldInputProps, TextFieldProps } from "./TextField/index.mjs";
@@ -36,4 +37,4 @@ import { Toast } from "./Toast/index.mjs";
36
37
  import { VisuallyHidden, VisuallyHiddenProps } from "./VisuallyHidden/index.mjs";
37
38
  import { Theme, defineTheme } from "./theme/define-theme.mjs";
38
39
  import { ThemeProvider, ThemeProviderProps } from "./theme/ThemeProvider.mjs";
39
- 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, 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 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, VisuallyHidden, type VisuallyHiddenProps, defineTheme, useToast };
40
+ 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, VisuallyHidden, type VisuallyHiddenProps, defineTheme, useToast };
package/dist/index.mjs CHANGED
@@ -12,23 +12,24 @@ import { Checkbox as u } from "./Checkbox/index.mjs";
12
12
  import { Chip as d, ChipGroup as f } from "./Chip/index.mjs";
13
13
  import { Field as p } from "./Field/index.mjs";
14
14
  import { ColorField as m } from "./ColorField/index.mjs";
15
- import { IconButton as h } from "./IconButton/index.mjs";
16
- import { Inline as g } from "./Inline/index.mjs";
17
- import { Menu as _ } from "./Menu/index.mjs";
18
- import { MultiSelect as v } from "./MultiSelect/index.mjs";
19
- import { RadioGroup as y } from "./RadioGroup/index.mjs";
20
- import { SearchField as b } from "./SearchField/index.mjs";
21
- import { Select as x } from "./Select/index.mjs";
22
- import { Stack as S } from "./Stack/index.mjs";
23
- import { Switch as C } from "./Switch/index.mjs";
24
- import { VisuallyHidden as w } from "./VisuallyHidden/index.mjs";
25
- import { Table as T } from "./Table/index.mjs";
26
- import { Tabs as E } from "./Tabs/index.mjs";
27
- import { Tag as D } from "./Tag/index.mjs";
28
- import { Textarea as O } from "./Textarea/index.mjs";
29
- import { TextField as k } from "./TextField/index.mjs";
30
- import { defineTheme as A } from "./theme/define-theme.mjs";
31
- import { ThemeProvider as j } from "./theme/ThemeProvider.mjs";
32
- import { useToast as M } from "./Toast/client.mjs";
33
- import { Toast as N } from "./Toast/index.mjs";
34
- 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, a as Dialog, p as Field, i as Heading, t as Icon, h as IconButton, g as Inline, _ as Menu, v as MultiSelect, y as RadioGroup, b as SearchField, x as Select, S as Stack, C as Switch, T as Table, E as Tabs, D as Tag, n as Text, k as TextField, O as Textarea, j as ThemeProvider, N as Toast, w as VisuallyHidden, A as defineTheme, M as useToast };
15
+ import { Combobox as h } from "./Combobox/index.mjs";
16
+ import { IconButton as g } from "./IconButton/index.mjs";
17
+ import { Inline as _ } from "./Inline/index.mjs";
18
+ import { Menu as v } from "./Menu/index.mjs";
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
+ 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, T as VisuallyHidden, j as defineTheme, N as useToast };
@@ -0,0 +1,71 @@
1
+ "use client";
2
+ import { splitStyleProps as e } from "../styles/split-style-props.mjs";
3
+ import { Box as t } from "../Box/base.mjs";
4
+ import { PopupScope as n, triggerElement as r, useClosingRule as i } from "./client.mjs";
5
+ import { Field as a } from "../Field/index.mjs";
6
+ import { ChevronDownIcon as o } from "../icons/ChevronDownIcon.mjs";
7
+ import { createContext as s, use as c, useId as l } from "react";
8
+ import { jsx as u } from "react/jsx-runtime";
9
+ // src/popup/listbox-base.tsx
10
+ var d = s(void 0);
11
+ function f({ children: e }) {
12
+ return /* @__PURE__ */ u(n, { children: /* @__PURE__ */ u(d, {
13
+ value: l(),
14
+ children: e
15
+ }) });
16
+ }
17
+ function p({ children: e }) {
18
+ return /* @__PURE__ */ u(a.Label, {
19
+ id: c(d),
20
+ nativeLabel: !1,
21
+ children: e
22
+ });
23
+ }
24
+ function m() {
25
+ return c(d);
26
+ }
27
+ function h({ children: e, className: t, size: n }) {
28
+ return r({
29
+ variant: "secondary",
30
+ size: n,
31
+ backgroundColor: "bg",
32
+ borderRadius: "med",
33
+ color: "fg",
34
+ iconEnd: o,
35
+ className: t,
36
+ children: e
37
+ });
38
+ }
39
+ function g(e) {
40
+ return /* @__PURE__ */ u(t, {
41
+ backgroundColor: "bgRaised",
42
+ borderRadius: "med",
43
+ boxShadow: "med",
44
+ className: e,
45
+ padding: "4"
46
+ });
47
+ }
48
+ var _ = {
49
+ align: "start",
50
+ collisionPadding: 8,
51
+ side: "bottom",
52
+ sideOffset: 4
53
+ };
54
+ function v(t, { open: n }) {
55
+ let [, r] = e(t);
56
+ return /* @__PURE__ */ u(y, {
57
+ ...r,
58
+ open: n
59
+ });
60
+ }
61
+ function y({ open: e, ref: n, ...r }) {
62
+ return /* @__PURE__ */ u(t, {
63
+ ...r,
64
+ ...i(n, {
65
+ finalFocus: !1,
66
+ open: e
67
+ }),
68
+ zIndex: "popover"
69
+ });
70
+ }
71
+ export { p as ListboxLabel, f as ListboxScope, _ as listboxPlacement, g as listboxPopupBox, h as listboxTriggerLook, v as renderListboxPositioner, m as useListboxLabelId };
@@ -1,6 +1,6 @@
1
- import { Box as e } from "../Box/base.mjs";
2
- import { Text as t } from "../Text/index.mjs";
3
- import { CheckIcon as n } from "../icons/CheckIcon.mjs";
1
+ import { Text as e } from "../Text/index.mjs";
2
+ import { CheckIcon as t } from "../icons/CheckIcon.mjs";
3
+ import { listboxRow as n } from "./listbox-row.mjs";
4
4
  import { jsx as r, jsxs as i } from "react/jsx-runtime";
5
5
  import { Select as a } from "@base-ui/react/select";
6
6
  // src/popup/listbox-options.tsx
@@ -8,25 +8,16 @@ function o({ checkClassName: o, itemClassName: s, options: c }) {
8
8
  return c.map((c) => /* @__PURE__ */ i(a.Item, {
9
9
  disabled: c.disabled,
10
10
  label: c.label,
11
- render: /* @__PURE__ */ r(e, {
12
- alignItems: "center",
13
- borderRadius: "sm",
14
- className: s,
15
- display: "flex",
16
- gap: "8",
17
- justifyContent: "space-between",
18
- minBlockSize: "sm",
19
- paddingInline: "12"
20
- }),
11
+ render: n(s),
21
12
  value: c.value,
22
13
  children: [/* @__PURE__ */ r(a.ItemText, {
23
- render: /* @__PURE__ */ r(t, {
14
+ render: /* @__PURE__ */ r(e, {
24
15
  as: "span",
25
16
  font: "label",
26
17
  size: "sm"
27
18
  }),
28
19
  children: c.label
29
- }), /* @__PURE__ */ r(n, {
20
+ }), /* @__PURE__ */ r(t, {
30
21
  className: o,
31
22
  size: "sm"
32
23
  })]
@@ -0,0 +1,16 @@
1
+ import { Box as e } from "../Box/base.mjs";
2
+ import { jsx as t } from "react/jsx-runtime";
3
+ // src/popup/listbox-row.tsx
4
+ function n(n) {
5
+ return /* @__PURE__ */ t(e, {
6
+ alignItems: "center",
7
+ borderRadius: "sm",
8
+ className: n,
9
+ display: "flex",
10
+ gap: "8",
11
+ justifyContent: "space-between",
12
+ minBlockSize: "sm",
13
+ paddingInline: "12"
14
+ });
15
+ }
16
+ export { n as listboxRow };
@@ -0,0 +1,36 @@
1
+ "use client";
2
+ import { Box as e } from "../Box/base.mjs";
3
+ import { Text as t } from "../Text/index.mjs";
4
+ import { useLayoutEffect as n, useRef as r, useState as i } from "react";
5
+ import { jsx as a, jsxs as o } from "react/jsx-runtime";
6
+ // src/popup/listbox-summary.tsx
7
+ function s({ classNames: s, count: c, labels: l }) {
8
+ let u = r(null), [d, f] = i(!0), p = l.join(", ");
9
+ n(() => {
10
+ let e = u.current;
11
+ if (!e) return;
12
+ let t = () => f(e.scrollWidth <= e.clientWidth);
13
+ t(), document.fonts?.ready.then(t);
14
+ let n = new ResizeObserver(t);
15
+ return n.observe(e), () => n.disconnect();
16
+ }, [p]);
17
+ let m = !d && l.length > 1;
18
+ return /* @__PURE__ */ o(e, {
19
+ as: "span",
20
+ className: s.summary,
21
+ children: [/* @__PURE__ */ a(t, {
22
+ "aria-hidden": m || void 0,
23
+ as: "span",
24
+ className: s.labels,
25
+ ref: u,
26
+ truncate: "box",
27
+ children: p
28
+ }), m && /* @__PURE__ */ a(t, {
29
+ as: "span",
30
+ className: s.count,
31
+ truncate: "box",
32
+ children: c
33
+ })]
34
+ });
35
+ }
36
+ export { s as ListboxSummary };
@@ -1,89 +1,41 @@
1
1
  "use client";
2
- import { splitStyleProps as e } from "../styles/split-style-props.mjs";
3
- import { Box as t } from "../Box/base.mjs";
4
- import { PopupScope as n, triggerElement as r, useClosingRule as i, usePopupScope as a } from "./client.mjs";
5
- import { Field as o } from "../Field/index.mjs";
6
- import { ChevronDownIcon as s } from "../icons/ChevronDownIcon.mjs";
7
- import { createContext as c, use as l, useId as u } from "react";
8
- import { jsx as d } from "react/jsx-runtime";
9
- import { Select as f } from "@base-ui/react/select";
2
+ import { usePopupScope as e } from "./client.mjs";
3
+ import { ListboxLabel as t, ListboxScope as n, listboxPlacement as r, listboxPopupBox as i, listboxTriggerLook as a, renderListboxPositioner as o, useListboxLabelId as s } from "./listbox-base.mjs";
4
+ import { jsx as c } from "react/jsx-runtime";
5
+ import { Select as l } from "@base-ui/react/select";
10
6
  // src/popup/listbox.tsx
11
- var p = c(void 0);
12
- function m({ children: e }) {
13
- return /* @__PURE__ */ d(n, { children: /* @__PURE__ */ d(p, {
14
- value: u(),
15
- children: e
16
- }) });
17
- }
18
- function h({ children: e }) {
19
- return /* @__PURE__ */ d(o.Label, {
20
- id: l(p),
21
- nativeLabel: !1,
22
- children: e
23
- });
24
- }
25
- function g({ children: e, className: t, disabled: n, size: i }) {
26
- let { ref: o } = a();
27
- return /* @__PURE__ */ d(f.Trigger, {
28
- disabled: n,
7
+ function u({ children: t, className: n, disabled: r, size: i }) {
8
+ let { ref: o } = e();
9
+ return /* @__PURE__ */ c(l.Trigger, {
10
+ disabled: r,
29
11
  ref: o,
30
- render: r({
31
- variant: "secondary",
12
+ render: a({
13
+ className: n,
32
14
  size: i,
33
- backgroundColor: "bg",
34
- borderRadius: "med",
35
- color: "fg",
36
- iconEnd: s,
37
- className: t,
38
- children: e
15
+ children: t
39
16
  })
40
17
  });
41
18
  }
42
- function _({ children: e, className: n }) {
43
- return /* @__PURE__ */ d(f.Popup, {
44
- "aria-labelledby": l(p),
45
- render: /* @__PURE__ */ d(t, {
46
- backgroundColor: "bgRaised",
47
- borderRadius: "med",
48
- boxShadow: "med",
49
- className: n,
50
- padding: "4"
51
- }),
19
+ function d({ children: e, className: t }) {
20
+ return /* @__PURE__ */ c(l.Popup, {
21
+ "aria-labelledby": s(),
22
+ render: i(t),
52
23
  children: e
53
24
  });
54
25
  }
55
- function v({ children: e }) {
56
- let { container: t } = a();
57
- return /* @__PURE__ */ d(f.Portal, {
58
- container: t,
59
- children: e
60
- });
61
- }
62
- function y({ children: t }) {
63
- return /* @__PURE__ */ d(f.Positioner, {
64
- align: "start",
65
- alignItemWithTrigger: !1,
66
- collisionPadding: 8,
67
- render: (t, { open: n }) => {
68
- let [, r] = e(t);
69
- return /* @__PURE__ */ d(b, {
70
- ...r,
71
- open: n
72
- });
73
- },
74
- side: "bottom",
75
- sideOffset: 4,
26
+ function f({ children: t }) {
27
+ let { container: n } = e();
28
+ return /* @__PURE__ */ c(l.Portal, {
29
+ container: n,
76
30
  children: t
77
31
  });
78
32
  }
79
- function b({ open: e, ref: n, ...r }) {
80
- return /* @__PURE__ */ d(t, {
33
+ function p({ children: e }) {
34
+ return /* @__PURE__ */ c(l.Positioner, {
81
35
  ...r,
82
- ...i(n, {
83
- finalFocus: !1,
84
- open: e
85
- }),
86
- zIndex: "popover"
36
+ alignItemWithTrigger: !1,
37
+ render: o,
38
+ children: e
87
39
  });
88
40
  }
89
- export { h as ListboxLabel, _ as ListboxPopup, v as ListboxPortal, y as ListboxPositioner, m as ListboxScope, g as ListboxTrigger };
41
+ export { t as ListboxLabel, d as ListboxPopup, f as ListboxPortal, p as ListboxPositioner, n as ListboxScope, u as ListboxTrigger };
@@ -1,2 +1,2 @@
1
- @layer tokens, reset, atoms.base, atoms.sm, atoms.med, atoms.lg, atoms.xl, components.box, components.checkbox, components.clickable, components.icon, components.icon-button, components.inline, components.stack, components.text, components.avatar, components.badge, components.button, components.chip, components.field, components.color-field, components.heading, components.dialog, components.alert-dialog, components.menu, components.multiselect, components.radio-group, components.search-field, components.select, components.switch, components.tabs, components.tag, components.text-field, components.textarea, components.toast, components.visually-hidden, components.table;
1
+ @layer tokens, reset, atoms.base, atoms.sm, atoms.med, atoms.lg, atoms.xl, components.box, components.checkbox, components.clickable, components.icon, components.icon-button, components.inline, components.stack, components.text, components.avatar, components.badge, components.button, components.chip, components.field, components.color-field, components.combobox, components.heading, components.dialog, components.alert-dialog, components.menu, components.multiselect, components.radio-group, components.search-field, components.select, components.switch, components.tabs, components.tag, components.text-field, components.textarea, components.toast, components.visually-hidden, components.table;
2
2
  @layer atoms.base{._1dkxmm00{display:none}._1dkxmm01{display:block}._1dkxmm02{display:inline}._1dkxmm03{display:inline-block}._1dkxmm04{display:flex}._1dkxmm05{display:inline-flex}._1dkxmm06{display:grid}._1dkxmm07{display:contents}._1dkxmm08{flex-direction:row}._1dkxmm09{flex-direction:row-reverse}._1dkxmm0a{flex-direction:column}._1dkxmm0b{flex-direction:column-reverse}._1dkxmm0c{flex-wrap:nowrap}._1dkxmm0d{flex-wrap:wrap}._1dkxmm0e{flex-grow:0}._1dkxmm0f{flex-grow:1}._1dkxmm0g{flex-shrink:0}._1dkxmm0h{flex-shrink:1}._1dkxmm0i{align-items:start}._1dkxmm0j{align-items:center}._1dkxmm0k{align-items:end}._1dkxmm0l{align-items:stretch}._1dkxmm0m{align-items:baseline}._1dkxmm0n{align-self:start}._1dkxmm0o{align-self:center}._1dkxmm0p{align-self:end}._1dkxmm0q{align-self:stretch}._1dkxmm0r{align-self:baseline}._1dkxmm0s{justify-content:start}._1dkxmm0t{justify-content:center}._1dkxmm0u{justify-content:end}._1dkxmm0v{justify-content:space-between}._1dkxmm0w{justify-content:space-around}._1dkxmm0x{justify-content:space-evenly}._1dkxmm0y{gap:var(--space-0)}._1dkxmm0z{gap:var(--space-1)}._1dkxmm010{gap:var(--space-2)}._1dkxmm011{gap:var(--space-4)}._1dkxmm012{gap:var(--space-6)}._1dkxmm013{gap:var(--space-8)}._1dkxmm014{gap:var(--space-12)}._1dkxmm015{gap:var(--space-16)}._1dkxmm016{gap:var(--space-20)}._1dkxmm017{gap:var(--space-24)}._1dkxmm018{gap:var(--space-32)}._1dkxmm019{gap:var(--space-40)}._1dkxmm01a{gap:var(--space-48)}._1dkxmm01b{gap:var(--space-64)}._1dkxmm01c{gap:var(--space-80)}._1dkxmm01d{gap:var(--space-96)}._1dkxmm01e{padding-block-start:var(--space-0)}._1dkxmm01f{padding-block-start:var(--space-1)}._1dkxmm01g{padding-block-start:var(--space-2)}._1dkxmm01h{padding-block-start:var(--space-4)}._1dkxmm01i{padding-block-start:var(--space-6)}._1dkxmm01j{padding-block-start:var(--space-8)}._1dkxmm01k{padding-block-start:var(--space-12)}._1dkxmm01l{padding-block-start:var(--space-16)}._1dkxmm01m{padding-block-start:var(--space-20)}._1dkxmm01n{padding-block-start:var(--space-24)}._1dkxmm01o{padding-block-start:var(--space-32)}._1dkxmm01p{padding-block-start:var(--space-40)}._1dkxmm01q{padding-block-start:var(--space-48)}._1dkxmm01r{padding-block-start:var(--space-64)}._1dkxmm01s{padding-block-start:var(--space-80)}._1dkxmm01t{padding-block-start:var(--space-96)}._1dkxmm01u{padding-block-end:var(--space-0)}._1dkxmm01v{padding-block-end:var(--space-1)}._1dkxmm01w{padding-block-end:var(--space-2)}._1dkxmm01x{padding-block-end:var(--space-4)}._1dkxmm01y{padding-block-end:var(--space-6)}._1dkxmm01z{padding-block-end:var(--space-8)}._1dkxmm020{padding-block-end:var(--space-12)}._1dkxmm021{padding-block-end:var(--space-16)}._1dkxmm022{padding-block-end:var(--space-20)}._1dkxmm023{padding-block-end:var(--space-24)}._1dkxmm024{padding-block-end:var(--space-32)}._1dkxmm025{padding-block-end:var(--space-40)}._1dkxmm026{padding-block-end:var(--space-48)}._1dkxmm027{padding-block-end:var(--space-64)}._1dkxmm028{padding-block-end:var(--space-80)}._1dkxmm029{padding-block-end:var(--space-96)}._1dkxmm02a{padding-inline-start:var(--space-0)}._1dkxmm02b{padding-inline-start:var(--space-1)}._1dkxmm02c{padding-inline-start:var(--space-2)}._1dkxmm02d{padding-inline-start:var(--space-4)}._1dkxmm02e{padding-inline-start:var(--space-6)}._1dkxmm02f{padding-inline-start:var(--space-8)}._1dkxmm02g{padding-inline-start:var(--space-12)}._1dkxmm02h{padding-inline-start:var(--space-16)}._1dkxmm02i{padding-inline-start:var(--space-20)}._1dkxmm02j{padding-inline-start:var(--space-24)}._1dkxmm02k{padding-inline-start:var(--space-32)}._1dkxmm02l{padding-inline-start:var(--space-40)}._1dkxmm02m{padding-inline-start:var(--space-48)}._1dkxmm02n{padding-inline-start:var(--space-64)}._1dkxmm02o{padding-inline-start:var(--space-80)}._1dkxmm02p{padding-inline-start:var(--space-96)}._1dkxmm02q{padding-inline-end:var(--space-0)}._1dkxmm02r{padding-inline-end:var(--space-1)}._1dkxmm02s{padding-inline-end:var(--space-2)}._1dkxmm02t{padding-inline-end:var(--space-4)}._1dkxmm02u{padding-inline-end:var(--space-6)}._1dkxmm02v{padding-inline-end:var(--space-8)}._1dkxmm02w{padding-inline-end:var(--space-12)}._1dkxmm02x{padding-inline-end:var(--space-16)}._1dkxmm02y{padding-inline-end:var(--space-20)}._1dkxmm02z{padding-inline-end:var(--space-24)}._1dkxmm030{padding-inline-end:var(--space-32)}._1dkxmm031{padding-inline-end:var(--space-40)}._1dkxmm032{padding-inline-end:var(--space-48)}._1dkxmm033{padding-inline-end:var(--space-64)}._1dkxmm034{padding-inline-end:var(--space-80)}._1dkxmm035{padding-inline-end:var(--space-96)}._1dkxmm036{margin-block-start:var(--space-0)}._1dkxmm037{margin-block-start:var(--space-1)}._1dkxmm038{margin-block-start:var(--space-2)}._1dkxmm039{margin-block-start:var(--space-4)}._1dkxmm03a{margin-block-start:var(--space-6)}._1dkxmm03b{margin-block-start:var(--space-8)}._1dkxmm03c{margin-block-start:var(--space-12)}._1dkxmm03d{margin-block-start:var(--space-16)}._1dkxmm03e{margin-block-start:var(--space-20)}._1dkxmm03f{margin-block-start:var(--space-24)}._1dkxmm03g{margin-block-start:var(--space-32)}._1dkxmm03h{margin-block-start:var(--space-40)}._1dkxmm03i{margin-block-start:var(--space-48)}._1dkxmm03j{margin-block-start:var(--space-64)}._1dkxmm03k{margin-block-start:var(--space-80)}._1dkxmm03l{margin-block-start:var(--space-96)}._1dkxmm03m{margin-block-start:auto}._1dkxmm03n{margin-block-end:var(--space-0)}._1dkxmm03o{margin-block-end:var(--space-1)}._1dkxmm03p{margin-block-end:var(--space-2)}._1dkxmm03q{margin-block-end:var(--space-4)}._1dkxmm03r{margin-block-end:var(--space-6)}._1dkxmm03s{margin-block-end:var(--space-8)}._1dkxmm03t{margin-block-end:var(--space-12)}._1dkxmm03u{margin-block-end:var(--space-16)}._1dkxmm03v{margin-block-end:var(--space-20)}._1dkxmm03w{margin-block-end:var(--space-24)}._1dkxmm03x{margin-block-end:var(--space-32)}._1dkxmm03y{margin-block-end:var(--space-40)}._1dkxmm03z{margin-block-end:var(--space-48)}._1dkxmm040{margin-block-end:var(--space-64)}._1dkxmm041{margin-block-end:var(--space-80)}._1dkxmm042{margin-block-end:var(--space-96)}._1dkxmm043{margin-block-end:auto}._1dkxmm044{margin-inline-start:var(--space-0)}._1dkxmm045{margin-inline-start:var(--space-1)}._1dkxmm046{margin-inline-start:var(--space-2)}._1dkxmm047{margin-inline-start:var(--space-4)}._1dkxmm048{margin-inline-start:var(--space-6)}._1dkxmm049{margin-inline-start:var(--space-8)}._1dkxmm04a{margin-inline-start:var(--space-12)}._1dkxmm04b{margin-inline-start:var(--space-16)}._1dkxmm04c{margin-inline-start:var(--space-20)}._1dkxmm04d{margin-inline-start:var(--space-24)}._1dkxmm04e{margin-inline-start:var(--space-32)}._1dkxmm04f{margin-inline-start:var(--space-40)}._1dkxmm04g{margin-inline-start:var(--space-48)}._1dkxmm04h{margin-inline-start:var(--space-64)}._1dkxmm04i{margin-inline-start:var(--space-80)}._1dkxmm04j{margin-inline-start:var(--space-96)}._1dkxmm04k{margin-inline-start:auto}._1dkxmm04l{margin-inline-end:var(--space-0)}._1dkxmm04m{margin-inline-end:var(--space-1)}._1dkxmm04n{margin-inline-end:var(--space-2)}._1dkxmm04o{margin-inline-end:var(--space-4)}._1dkxmm04p{margin-inline-end:var(--space-6)}._1dkxmm04q{margin-inline-end:var(--space-8)}._1dkxmm04r{margin-inline-end:var(--space-12)}._1dkxmm04s{margin-inline-end:var(--space-16)}._1dkxmm04t{margin-inline-end:var(--space-20)}._1dkxmm04u{margin-inline-end:var(--space-24)}._1dkxmm04v{margin-inline-end:var(--space-32)}._1dkxmm04w{margin-inline-end:var(--space-40)}._1dkxmm04x{margin-inline-end:var(--space-48)}._1dkxmm04y{margin-inline-end:var(--space-64)}._1dkxmm04z{margin-inline-end:var(--space-80)}._1dkxmm050{margin-inline-end:var(--space-96)}._1dkxmm051{margin-inline-end:auto}._1dkxmm052{inline-size:var(--size-xs)}._1dkxmm053{inline-size:var(--size-sm)}._1dkxmm054{inline-size:var(--size-med)}._1dkxmm055{inline-size:var(--size-lg)}._1dkxmm056{inline-size:var(--size-xl)}._1dkxmm057{inline-size:auto}._1dkxmm058{inline-size:100%}._1dkxmm059{inline-size:fit-content}._1dkxmm05a{inline-size:min-content}._1dkxmm05b{inline-size:max-content}._1dkxmm05c{inline-size:var(--container-prose)}._1dkxmm05d{inline-size:var(--container-page)}._1dkxmm05e{inline-size:var(--container-wide)}._1dkxmm05f{block-size:var(--size-xs)}._1dkxmm05g{block-size:var(--size-sm)}._1dkxmm05h{block-size:var(--size-med)}._1dkxmm05i{block-size:var(--size-lg)}._1dkxmm05j{block-size:var(--size-xl)}._1dkxmm05k{block-size:auto}._1dkxmm05l{block-size:100%}._1dkxmm05m{block-size:fit-content}._1dkxmm05n{block-size:min-content}._1dkxmm05o{block-size:max-content}._1dkxmm05p{min-inline-size:var(--size-xs)}._1dkxmm05q{min-inline-size:var(--size-sm)}._1dkxmm05r{min-inline-size:var(--size-med)}._1dkxmm05s{min-inline-size:var(--size-lg)}._1dkxmm05t{min-inline-size:var(--size-xl)}._1dkxmm05u{min-inline-size:auto}._1dkxmm05v{min-inline-size:100%}._1dkxmm05w{min-inline-size:fit-content}._1dkxmm05x{min-inline-size:min-content}._1dkxmm05y{min-inline-size:max-content}._1dkxmm05z{min-inline-size:var(--container-prose)}._1dkxmm060{min-inline-size:var(--container-page)}._1dkxmm061{min-inline-size:var(--container-wide)}._1dkxmm062{max-inline-size:var(--size-xs)}._1dkxmm063{max-inline-size:var(--size-sm)}._1dkxmm064{max-inline-size:var(--size-med)}._1dkxmm065{max-inline-size:var(--size-lg)}._1dkxmm066{max-inline-size:var(--size-xl)}._1dkxmm067{max-inline-size:auto}._1dkxmm068{max-inline-size:100%}._1dkxmm069{max-inline-size:fit-content}._1dkxmm06a{max-inline-size:min-content}._1dkxmm06b{max-inline-size:max-content}._1dkxmm06c{max-inline-size:var(--container-prose)}._1dkxmm06d{max-inline-size:var(--container-page)}._1dkxmm06e{max-inline-size:var(--container-wide)}._1dkxmm06f{min-block-size:var(--size-xs)}._1dkxmm06g{min-block-size:var(--size-sm)}._1dkxmm06h{min-block-size:var(--size-med)}._1dkxmm06i{min-block-size:var(--size-lg)}._1dkxmm06j{min-block-size:var(--size-xl)}._1dkxmm06k{min-block-size:auto}._1dkxmm06l{min-block-size:100%}._1dkxmm06m{min-block-size:fit-content}._1dkxmm06n{min-block-size:min-content}._1dkxmm06o{min-block-size:max-content}._1dkxmm06p{max-block-size:var(--size-xs)}._1dkxmm06q{max-block-size:var(--size-sm)}._1dkxmm06r{max-block-size:var(--size-med)}._1dkxmm06s{max-block-size:var(--size-lg)}._1dkxmm06t{max-block-size:var(--size-xl)}._1dkxmm06u{max-block-size:auto}._1dkxmm06v{max-block-size:100%}._1dkxmm06w{max-block-size:fit-content}._1dkxmm06x{max-block-size:min-content}._1dkxmm06y{max-block-size:max-content}._1dkxmm0yv{color:var(--color-bg)}._1dkxmm0yw{color:var(--color-bg-muted)}._1dkxmm0yx{color:var(--color-bg-raised)}._1dkxmm0yy{color:var(--color-fg)}._1dkxmm0yz{color:var(--color-fg-muted)}._1dkxmm0z0{color:var(--color-border)}._1dkxmm0z1{color:var(--color-border-strong)}._1dkxmm0z2{color:var(--color-accent)}._1dkxmm0z3{color:var(--color-accent-fg)}._1dkxmm0z4{color:var(--color-accent-fill-fg)}._1dkxmm0z5{color:var(--color-danger)}._1dkxmm0z6{color:var(--color-danger-fg)}._1dkxmm0z7{color:var(--color-success)}._1dkxmm0z8{color:var(--color-success-fg)}._1dkxmm0z9{color:var(--color-warning)}._1dkxmm0za{color:var(--color-warning-fg)}._1dkxmm0zb{color:var(--color-done)}._1dkxmm0zc{color:var(--color-done-fg)}._1dkxmm0zd{color:var(--color-neutral-subtle-fg)}._1dkxmm0ze{color:var(--color-accent-subtle-fg)}._1dkxmm0zf{color:var(--color-success-subtle-fg)}._1dkxmm0zg{color:var(--color-warning-subtle-fg)}._1dkxmm0zh{color:var(--color-danger-subtle-fg)}._1dkxmm0zi{color:var(--color-done-subtle-fg)}._1dkxmm0zj{color:var(--color-focus)}._1dkxmm0zk{background-color:var(--color-bg)}._1dkxmm0zl{background-color:var(--color-bg-muted)}._1dkxmm0zm{background-color:var(--color-bg-raised)}._1dkxmm0zn{background-color:var(--color-fg)}._1dkxmm0zo{background-color:var(--color-fg-muted)}._1dkxmm0zp{background-color:var(--color-border)}._1dkxmm0zq{background-color:var(--color-border-strong)}._1dkxmm0zr{background-color:var(--color-accent)}._1dkxmm0zs{background-color:var(--color-accent-fg)}._1dkxmm0zt{background-color:var(--color-accent-fill)}._1dkxmm0zu{background-color:var(--color-accent-fill-fg)}._1dkxmm0zv{background-color:var(--color-danger)}._1dkxmm0zw{background-color:var(--color-danger-fg)}._1dkxmm0zx{background-color:var(--color-success)}._1dkxmm0zy{background-color:var(--color-success-fg)}._1dkxmm0zz{background-color:var(--color-warning)}._1dkxmm0100{background-color:var(--color-warning-fg)}._1dkxmm0101{background-color:var(--color-done)}._1dkxmm0102{background-color:var(--color-done-fg)}._1dkxmm0103{background-color:var(--color-neutral-subtle)}._1dkxmm0104{background-color:var(--color-neutral-subtle-fg)}._1dkxmm0105{background-color:var(--color-accent-subtle)}._1dkxmm0106{background-color:var(--color-accent-subtle-fg)}._1dkxmm0107{background-color:var(--color-success-subtle)}._1dkxmm0108{background-color:var(--color-success-subtle-fg)}._1dkxmm0109{background-color:var(--color-warning-subtle)}._1dkxmm010a{background-color:var(--color-warning-subtle-fg)}._1dkxmm010b{background-color:var(--color-danger-subtle)}._1dkxmm010c{background-color:var(--color-danger-subtle-fg)}._1dkxmm010d{background-color:var(--color-done-subtle)}._1dkxmm010e{background-color:var(--color-done-subtle-fg)}._1dkxmm010f{background-color:var(--color-focus)}._1dkxmm010g{border-radius:var(--radius-none)}._1dkxmm010h{border-radius:var(--radius-sm)}._1dkxmm010i{border-radius:var(--radius-med)}._1dkxmm010j{border-radius:var(--radius-lg)}._1dkxmm010k{border-radius:var(--radius-xl)}._1dkxmm010l{border-radius:var(--radius-full)}._1dkxmm010m{box-shadow:var(--shadow-sm)}._1dkxmm010n{box-shadow:var(--shadow-med)}._1dkxmm010o{box-shadow:var(--shadow-lg)}._1dkxmm010p{position:static}._1dkxmm010q{position:relative}._1dkxmm010r{position:absolute}._1dkxmm010s{position:fixed}._1dkxmm010t{position:sticky}._1dkxmm010u{z-index:var(--z-index-base)}._1dkxmm010v{z-index:var(--z-index-raised)}._1dkxmm010w{z-index:var(--z-index-dropdown)}._1dkxmm010x{z-index:var(--z-index-sticky)}._1dkxmm010y{z-index:var(--z-index-overlay)}._1dkxmm010z{z-index:var(--z-index-modal)}._1dkxmm0110{z-index:var(--z-index-popover)}._1dkxmm0111{z-index:var(--z-index-toast)}._1dkxmm0112{z-index:var(--z-index-tooltip)}._1dkxmm0113{overflow:visible}._1dkxmm0114{overflow:hidden}._1dkxmm0115{overflow:clip}._1dkxmm0116{overflow:auto}._1dkxmm0117{text-align:start}._1dkxmm0118{text-align:center}._1dkxmm0119{text-align:end}}
@@ -1,2 +1,2 @@
1
- @layer tokens, reset, atoms.base, atoms.sm, atoms.med, atoms.lg, atoms.xl, components.box, components.checkbox, components.clickable, components.icon, components.icon-button, components.inline, components.stack, components.text, components.avatar, components.badge, components.button, components.chip, components.field, components.color-field, components.heading, components.dialog, components.alert-dialog, components.menu, components.multiselect, components.radio-group, components.search-field, components.select, components.switch, components.tabs, components.tag, components.text-field, components.textarea, components.toast, components.visually-hidden, components.table;
1
+ @layer tokens, reset, atoms.base, atoms.sm, atoms.med, atoms.lg, atoms.xl, components.box, components.checkbox, components.clickable, components.icon, components.icon-button, components.inline, components.stack, components.text, components.avatar, components.badge, components.button, components.chip, components.field, components.color-field, components.combobox, components.heading, components.dialog, components.alert-dialog, components.menu, components.multiselect, components.radio-group, components.search-field, components.select, components.switch, components.tabs, components.tag, components.text-field, components.textarea, components.toast, components.visually-hidden, components.table;
2
2
  @layer tokens,reset,atoms,components,atoms.base,atoms.sm,atoms.med,atoms.lg,atoms.xl;