@ratio-ui/core 0.3.0 → 0.4.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 (65) hide show
  1. package/dist/catalogue.json +887 -27
  2. package/dist/components/accordion/Accordion.d.ts +19 -0
  3. package/dist/components/accordion/Accordion.js +52 -0
  4. package/dist/components/accordion/index.d.ts +2 -0
  5. package/dist/components/accordion/index.js +1 -0
  6. package/dist/components/breadcrumb/Breadcrumb.d.ts +19 -0
  7. package/dist/components/breadcrumb/Breadcrumb.js +50 -0
  8. package/dist/components/breadcrumb/index.d.ts +2 -0
  9. package/dist/components/breadcrumb/index.js +1 -0
  10. package/dist/components/chart/Chart.d.ts +137 -0
  11. package/dist/components/chart/Chart.js +238 -0
  12. package/dist/components/chart/index.d.ts +2 -0
  13. package/dist/components/chart/index.js +1 -0
  14. package/dist/components/combobox/Combobox.d.ts +52 -0
  15. package/dist/components/combobox/Combobox.js +92 -0
  16. package/dist/components/combobox/index.d.ts +2 -0
  17. package/dist/components/combobox/index.js +1 -0
  18. package/dist/components/data-table/DataTable.js +1 -1
  19. package/dist/components/date-picker/DatePicker.d.ts +3 -2
  20. package/dist/components/date-picker/DatePicker.js +7 -3
  21. package/dist/components/date-range-picker/DateRangePicker.d.ts +3 -2
  22. package/dist/components/date-range-picker/DateRangePicker.js +7 -3
  23. package/dist/components/drawer/Drawer.d.ts +52 -0
  24. package/dist/components/drawer/Drawer.js +120 -0
  25. package/dist/components/drawer/index.d.ts +2 -0
  26. package/dist/components/drawer/index.js +1 -0
  27. package/dist/components/field/Field.d.ts +8 -5
  28. package/dist/components/field/Field.js +9 -3
  29. package/dist/components/input-otp/InputOtp.d.ts +43 -0
  30. package/dist/components/input-otp/InputOtp.js +45 -0
  31. package/dist/components/input-otp/index.d.ts +2 -0
  32. package/dist/components/input-otp/index.js +1 -0
  33. package/dist/components/key-value-list/KeyValueList.d.ts +25 -0
  34. package/dist/components/key-value-list/KeyValueList.js +40 -0
  35. package/dist/components/key-value-list/index.d.ts +2 -0
  36. package/dist/components/key-value-list/index.js +1 -0
  37. package/dist/components/link/Link.js +1 -1
  38. package/dist/components/page-header/PageHeader.js +8 -8
  39. package/dist/components/progress/Progress.d.ts +25 -0
  40. package/dist/components/progress/Progress.js +38 -0
  41. package/dist/components/progress/index.d.ts +2 -0
  42. package/dist/components/progress/index.js +1 -0
  43. package/dist/components/radio-group/RadioGroup.d.ts +18 -0
  44. package/dist/components/radio-group/RadioGroup.js +32 -0
  45. package/dist/components/radio-group/index.d.ts +2 -0
  46. package/dist/components/radio-group/index.js +1 -0
  47. package/dist/components/scroll-area/ScrollArea.d.ts +12 -0
  48. package/dist/components/scroll-area/ScrollArea.js +34 -0
  49. package/dist/components/scroll-area/index.d.ts +2 -0
  50. package/dist/components/scroll-area/index.js +1 -0
  51. package/dist/components/separator/Separator.d.ts +15 -0
  52. package/dist/components/separator/Separator.js +25 -0
  53. package/dist/components/separator/index.d.ts +2 -0
  54. package/dist/components/separator/index.js +1 -0
  55. package/dist/components/sheet/Sheet.d.ts +52 -0
  56. package/dist/components/sheet/Sheet.js +89 -0
  57. package/dist/components/sheet/index.d.ts +2 -0
  58. package/dist/components/sheet/index.js +1 -0
  59. package/dist/components/summary-chips/SummaryChips.js +1 -1
  60. package/dist/components/tag-input/TagInput.js +1 -1
  61. package/dist/index.d.ts +28 -4
  62. package/dist/index.js +13 -1
  63. package/dist/lib/cn.js +2 -1
  64. package/dist/styles.css +1 -1
  65. package/package.json +52 -1
@@ -2,7 +2,7 @@ import { cn } from "../../lib/cn.js";
2
2
  import { RatioLink } from "../link-provider/RatioLink.js";
3
3
  import { jsx, jsxs } from "react/jsx-runtime";
4
4
  // src/components/link/Link.tsx
5
- const LINK = "rt:inline-flex rt:items-center rt:gap-1 rt:rounded-sm rt:text-primary rt:transition-colors rt:hover:underline rt:focus-visible:focus-ring rt:forced-outline";
5
+ const LINK = "rt:inline-flex rt:items-center rt:gap-1 rt:rounded-sm rt:text-primary rt:transition-colors rt:hover:underline rt:focus-visible:focus-ring";
6
6
  /**
7
7
  * A text link to another page, such as "← Products" or "View all variants →". It is drawn by the app's LinkProvider, so a
8
8
  * router navigates without a reload; without one it is a plain <a href>. The arrows are decoration and are hidden from
@@ -1,7 +1,7 @@
1
1
  import { Icon } from "../icon/Icon.js";
2
2
  import { Button } from "../button/Button.js";
3
- import { RatioLink } from "../link-provider/RatioLink.js";
4
3
  import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger } from "../dropdown-menu/DropdownMenu.js";
4
+ import { Link } from "../link/Link.js";
5
5
  import { StatusPill } from "../status-pill/StatusPill.js";
6
6
  import { jsx, jsxs } from "react/jsx-runtime";
7
7
  // src/components/page-header/PageHeader.tsx
@@ -13,13 +13,13 @@ function PageHeader({ title, icon, status, backHref, backLabel = "Back", actions
13
13
  const hasMenu = menuItems !== void 0 && menuItems.length > 0;
14
14
  return /* @__PURE__ */ jsxs("header", {
15
15
  className: "rt:flex rt:flex-col rt:gap-2",
16
- children: [backHref !== void 0 && /* @__PURE__ */ jsxs(RatioLink, {
17
- href: backHref,
18
- className: "rt:inline-flex rt:w-fit rt:items-center rt:gap-1 rt:rounded-sm rt:text-b1 rt:text-muted-foreground rt:transition-colors rt:hover:text-foreground rt:focus-visible:focus-ring",
19
- children: [/* @__PURE__ */ jsx(Icon, {
20
- name: "chevron-left",
21
- size: 8
22
- }), backLabel]
16
+ children: [backHref !== void 0 && /* @__PURE__ */ jsx("div", {
17
+ className: "rt:flex rt:text-b1",
18
+ children: /* @__PURE__ */ jsx(Link, {
19
+ href: backHref,
20
+ back: true,
21
+ children: backLabel
22
+ })
23
23
  }), /* @__PURE__ */ jsxs("div", {
24
24
  className: "rt:flex rt:flex-wrap rt:items-center rt:justify-between rt:gap-x-3 rt:gap-y-2",
25
25
  children: [/* @__PURE__ */ jsxs("div", {
@@ -0,0 +1,25 @@
1
+ import { JSX } from "react";
2
+ /**
3
+ * The props of Progress: a value, or none for indeterminate, with an optional visible label and value.
4
+ * Without a visible label, pass aria-label so the bar has a name.
5
+ */
6
+ export type ProgressProps = {
7
+ /** The current value; leave it out or pass null for an indeterminate bar. */
8
+ value?: number | null;
9
+ /** The value at which the bar is full. Defaults to 100; for steps, the number of steps. */
10
+ max?: number;
11
+ /** A visible label, which also names the bar for screen readers. */
12
+ label?: string;
13
+ /** Shows the value on the right: a percent, or "value/max" with steps. */
14
+ showValue?: boolean;
15
+ /** The step variant: counts completed steps out of max, such as 0/5 for the setup guide. Implies showValue. */
16
+ steps?: boolean;
17
+ /** The accessible name when there is no visible label. */
18
+ 'aria-label'?: string;
19
+ };
20
+ /**
21
+ * The thin progress bar of question 5, 2px high, for page loads and refetches. Determinate with a value, indeterminate
22
+ * without one (a partial bar that moves only when the loading animation token names a motion, question 5). Base UI gives it the
23
+ * progressbar role, its label and its value text.
24
+ */
25
+ export declare function Progress({ value, max, label, showValue, steps, ...rest }: ProgressProps): JSX.Element;
@@ -0,0 +1,38 @@
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
+ import { Progress } from "@base-ui/react/progress";
3
+ // src/components/progress/Progress.tsx
4
+ /**
5
+ * The thin progress bar of question 5, 2px high, for page loads and refetches. Determinate with a value, indeterminate
6
+ * without one (a partial bar that moves only when the loading animation token names a motion, question 5). Base UI gives it the
7
+ * progressbar role, its label and its value text.
8
+ */
9
+ function Progress$1({ value = null, max = 100, label, showValue, steps, ...rest }) {
10
+ const withValue = showValue || steps;
11
+ return /* @__PURE__ */ jsxs(Progress.Root, {
12
+ "data-slot": "progress",
13
+ value,
14
+ max,
15
+ "aria-label": label ? void 0 : rest["aria-label"],
16
+ getAriaValueText: steps ? (_f, v) => v === null ? "In progress" : `${v} of ${max}` : void 0,
17
+ className: "rt:flex rt:flex-wrap rt:gap-2",
18
+ children: [
19
+ label ? /* @__PURE__ */ jsx(Progress.Label, {
20
+ className: "rt:text-b3 rt:text-foreground",
21
+ children: label
22
+ }) : null,
23
+ withValue ? /* @__PURE__ */ jsx(Progress.Value, {
24
+ className: "rt:ml-auto rt:text-b3 rt:text-muted-foreground rt:tabular-nums",
25
+ children: steps ? (_formatted, v) => v === null ? "" : `${v}/${max}` : void 0
26
+ }) : null,
27
+ /* @__PURE__ */ jsx(Progress.Track, {
28
+ "data-slot": "progress-track",
29
+ className: "rt:h-progress rt:w-full rt:overflow-hidden rt:bg-progress-track",
30
+ children: /* @__PURE__ */ jsx(Progress.Indicator, {
31
+ "data-slot": "progress-indicator",
32
+ className: "rt:h-full rt:bg-progress rt:data-indeterminate:w-1/3 rt:data-indeterminate:loading-motion"
33
+ })
34
+ })
35
+ ]
36
+ });
37
+ }
38
+ export { Progress$1 as Progress };
@@ -0,0 +1,2 @@
1
+ import { Progress, ProgressProps } from "./Progress.js";
2
+ export { Progress, type ProgressProps };
@@ -0,0 +1 @@
1
+ export { Progress } from "./Progress.js";
@@ -0,0 +1,18 @@
1
+ import { JSX } from "react";
2
+ import { Radio } from "@base-ui/react/radio";
3
+ import { RadioGroup } from "@base-ui/react/radio-group";
4
+ /** The props of RadioGroup: Base UI's radio group props, except className, style and render. Give it an aria-label or a label that points to it. */
5
+ export type RadioGroupProps = Omit<RadioGroup.Props, 'className' | 'style' | 'render'>;
6
+ /** The props of RadioGroupItem: Base UI's radio props, except className, style and render. Give it an aria-label or a label that points to it. */
7
+ export type RadioGroupItemProps = Omit<Radio.Root.Props, 'className' | 'style' | 'render'>;
8
+ /**
9
+ * A column of radio buttons where exactly one can be on. The arrow keys move the choice. aria-invalid on the group, as
10
+ * Field sets it, draws the error ring on every item.
11
+ */
12
+ declare function RadioGroup$1({ ...props }: RadioGroupProps): JSX.Element;
13
+ /**
14
+ * One choice in a RadioGroup: a 14px round control like the checkbox, drawn with a hairline ring and filled in the
15
+ * primary colour with a white dot when chosen. An invisible 24px area around it takes the tap.
16
+ */
17
+ export declare function RadioGroupItem({ ...props }: RadioGroupItemProps): JSX.Element;
18
+ export { RadioGroup$1 as RadioGroup };
@@ -0,0 +1,32 @@
1
+ import { cn } from "../../lib/cn.js";
2
+ import { jsx } from "react/jsx-runtime";
3
+ import { Radio } from "@base-ui/react/radio";
4
+ import { RadioGroup } from "@base-ui/react/radio-group";
5
+ // src/components/radio-group/RadioGroup.tsx
6
+ /**
7
+ * A column of radio buttons where exactly one can be on. The arrow keys move the choice. aria-invalid on the group, as
8
+ * Field sets it, draws the error ring on every item.
9
+ */
10
+ function RadioGroup$1({ ...props }) {
11
+ return /* @__PURE__ */ jsx(RadioGroup, {
12
+ "data-slot": "radio-group",
13
+ className: "rt:group/radio-group rt:grid rt:w-full rt:gap-2",
14
+ ...props
15
+ });
16
+ }
17
+ /**
18
+ * One choice in a RadioGroup: a 14px round control like the checkbox, drawn with a hairline ring and filled in the
19
+ * primary colour with a white dot when chosen. An invisible 24px area around it takes the tap.
20
+ */
21
+ function RadioGroupItem({ ...props }) {
22
+ return /* @__PURE__ */ jsx(Radio.Root, {
23
+ "data-slot": "radio-group-item",
24
+ className: cn("rt:relative rt:flex rt:size-3.5 rt:shrink-0 rt:cursor-pointer rt:items-center rt:justify-center rt:rounded-3xl rt:bg-background rt:shadow-ring-hairline rt:transition-colors rt:outline-none", "rt:after:absolute rt:after:-inset-1.25", "rt:hover:bg-primary-tint rt:data-checked:bg-primary rt:data-checked:shadow-none rt:data-checked:hover:bg-primary-hover", "rt:focus-visible:focus-ring rt:forced-outline", "rt:aria-invalid:shadow-ring-invalid rt:group-aria-invalid/radio-group:shadow-ring-invalid", "rt:data-disabled:cursor-not-allowed rt:data-disabled:opacity-50"),
25
+ ...props,
26
+ children: /* @__PURE__ */ jsx(Radio.Indicator, {
27
+ "data-slot": "radio-group-indicator",
28
+ className: "rt:block rt:size-1.5 rt:rounded-3xl rt:bg-primary-foreground"
29
+ })
30
+ });
31
+ }
32
+ export { RadioGroup$1 as RadioGroup, RadioGroupItem };
@@ -0,0 +1,2 @@
1
+ import { RadioGroup, RadioGroupItem, RadioGroupItemProps, RadioGroupProps } from "./RadioGroup.js";
2
+ export { RadioGroup, RadioGroupItem, type RadioGroupItemProps, type RadioGroupProps };
@@ -0,0 +1 @@
1
+ export { RadioGroup, RadioGroupItem } from "./RadioGroup.js";
@@ -0,0 +1,12 @@
1
+ import { JSX, ReactNode, Ref } from "react";
2
+ /** The props of ScrollArea. */
3
+ export type ScrollAreaProps = {
4
+ /** The scrolling content. */
5
+ children: ReactNode;
6
+ /** Which scrollbars to offer. Defaults to vertical. */
7
+ orientation?: 'vertical' | 'horizontal' | 'both';
8
+ /** Receives the rendered element. */
9
+ ref?: Ref<HTMLDivElement>;
10
+ };
11
+ /** A scrolling region that fills its parent, which sets the height or width, with a thin scrollbar in the design system greys. */
12
+ export declare function ScrollArea({ children, orientation, ref }: ScrollAreaProps): JSX.Element;
@@ -0,0 +1,34 @@
1
+ import { cn } from "../../lib/cn.js";
2
+ import { jsx, jsxs } from "react/jsx-runtime";
3
+ import { ScrollArea } from "@base-ui/react/scroll-area";
4
+ // src/components/scroll-area/ScrollArea.tsx
5
+ function Bar({ orientation }) {
6
+ return /* @__PURE__ */ jsx(ScrollArea.Scrollbar, {
7
+ "data-slot": "scroll-area-scrollbar",
8
+ orientation,
9
+ className: cn("rt:flex rt:touch-none rt:p-px rt:select-none rt:data-horizontal:h-1.5 rt:data-horizontal:flex-col rt:data-vertical:h-full rt:data-vertical:w-1.5"),
10
+ children: /* @__PURE__ */ jsx(ScrollArea.Thumb, {
11
+ "data-slot": "scroll-area-thumb",
12
+ className: "rt:relative rt:flex-1 rt:rounded-sm rt:bg-border-strong rt:transition-colors rt:hover:bg-foreground-subdued"
13
+ })
14
+ });
15
+ }
16
+ /** A scrolling region that fills its parent, which sets the height or width, with a thin scrollbar in the design system greys. */
17
+ function ScrollArea$1({ children, orientation = "vertical", ref }) {
18
+ return /* @__PURE__ */ jsxs(ScrollArea.Root, {
19
+ ref,
20
+ "data-slot": "scroll-area",
21
+ className: "rt:relative rt:size-full",
22
+ children: [
23
+ /* @__PURE__ */ jsx(ScrollArea.Viewport, {
24
+ "data-slot": "scroll-area-viewport",
25
+ className: "rt:size-full rt:outline-none rt:focus-visible:focus-ring",
26
+ children
27
+ }),
28
+ orientation !== "horizontal" && /* @__PURE__ */ jsx(Bar, { orientation: "vertical" }),
29
+ orientation !== "vertical" && /* @__PURE__ */ jsx(Bar, { orientation: "horizontal" }),
30
+ /* @__PURE__ */ jsx(ScrollArea.Corner, {})
31
+ ]
32
+ });
33
+ }
34
+ export { ScrollArea$1 as ScrollArea };
@@ -0,0 +1,2 @@
1
+ import { ScrollArea, ScrollAreaProps } from "./ScrollArea.js";
2
+ export { ScrollArea, type ScrollAreaProps };
@@ -0,0 +1 @@
1
+ export { ScrollArea } from "./ScrollArea.js";
@@ -0,0 +1,15 @@
1
+ import { JSX, Ref } from "react";
2
+ /** The props of Separator. */
3
+ export type SeparatorProps = {
4
+ /** The direction of the line. Defaults to horizontal. */
5
+ orientation?: 'horizontal' | 'vertical';
6
+ /** True, the default, hides the line from assistive technology; false makes it a semantic separator. */
7
+ decorative?: boolean;
8
+ /** Receives the rendered element. */
9
+ ref?: Ref<HTMLDivElement>;
10
+ };
11
+ /**
12
+ * A 1px hairline in the divider grey, horizontal or vertical. A horizontal line fills its row and shrinks to share it, so
13
+ * two lines and a word between them in an Inline make the "or" divider; a vertical line keeps its 1px.
14
+ */
15
+ export declare function Separator({ orientation, decorative, ref }: SeparatorProps): JSX.Element;
@@ -0,0 +1,25 @@
1
+ import { cn } from "../../lib/cn.js";
2
+ import { jsx } from "react/jsx-runtime";
3
+ import { Separator } from "@base-ui/react/separator";
4
+ // src/components/separator/Separator.tsx
5
+ /**
6
+ * A 1px hairline in the divider grey, horizontal or vertical. A horizontal line fills its row and shrinks to share it, so
7
+ * two lines and a word between them in an Inline make the "or" divider; a vertical line keeps its 1px.
8
+ */
9
+ function Separator$1({ orientation = "horizontal", decorative = true, ref }) {
10
+ const classes = cn("rt:bg-divider rt:data-horizontal:h-px rt:data-horizontal:min-h-px rt:data-horizontal:w-full rt:data-vertical:w-px rt:data-vertical:shrink-0 rt:data-vertical:self-stretch");
11
+ if (decorative) return /* @__PURE__ */ jsx("div", {
12
+ ref,
13
+ role: "none",
14
+ "data-slot": "separator",
15
+ "data-orientation": orientation,
16
+ className: classes
17
+ });
18
+ return /* @__PURE__ */ jsx(Separator, {
19
+ ref,
20
+ "data-slot": "separator",
21
+ orientation,
22
+ className: classes
23
+ });
24
+ }
25
+ export { Separator$1 as Separator };
@@ -0,0 +1,2 @@
1
+ import { Separator, SeparatorProps } from "./Separator.js";
2
+ export { Separator, type SeparatorProps };
@@ -0,0 +1 @@
1
+ export { Separator } from "./Separator.js";
@@ -0,0 +1,52 @@
1
+ import { ComponentProps, JSX } from "react";
2
+ import { Dialog } from "@base-ui/react/dialog";
3
+ /**
4
+ * The root of a sheet. It holds the open state and renders nothing itself. Pass `open` and `onOpenChange` to control it,
5
+ * or `defaultOpen` to leave it uncontrolled. The page behind is inert while it is open, with no scrim over it.
6
+ */
7
+ export declare function Sheet(props: Dialog.Root.Props): JSX.Element;
8
+ /** Props of SheetTrigger. */
9
+ export type SheetTriggerProps = Omit<Dialog.Trigger.Props, 'className' | 'style'>;
10
+ /** The button that opens the sheet. */
11
+ export declare function SheetTrigger(props: SheetTriggerProps): JSX.Element;
12
+ /** Props of SheetClose. */
13
+ export type SheetCloseProps = Omit<Dialog.Close.Props, 'className' | 'style'>;
14
+ /** A button that closes the sheet, such as Done in the footer. */
15
+ export declare function SheetClose(props: SheetCloseProps): JSX.Element;
16
+ /** The edge a sheet sits on. */
17
+ export type SheetSide = 'right' | 'left' | 'bottom';
18
+ /** Props of SheetContent. */
19
+ export interface SheetContentProps extends Omit<Dialog.Popup.Props, 'className' | 'style'> {
20
+ /** The edge the sheet sits on: a full-height side sheet, or a bottom sheet with 24px top corners. Defaults to right. */
21
+ side?: SheetSide;
22
+ /** Whether the corner close button shows. Defaults to true. */
23
+ showCloseButton?: boolean;
24
+ /** The accessible name of the corner close button. Defaults to Close. */
25
+ closeLabel?: string;
26
+ }
27
+ /**
28
+ * The panel, white with a hairline on its inner edge. A side sheet is full height and three quarters of a phone screen,
29
+ * 384px from the small breakpoint up; a bottom sheet spans the screen, sizes to its content and has 24px top corners.
30
+ * It appears without sliding and with no scrim, blur or shadow. Put SheetHeader, SheetBody and SheetFooter inside.
31
+ */
32
+ export declare function SheetContent({ children, side, showCloseButton, closeLabel, ...props }: SheetContentProps): JSX.Element;
33
+ /** Props of SheetHeader. */
34
+ export type SheetHeaderProps = Omit<ComponentProps<'div'>, 'className' | 'style'>;
35
+ /** The title and description, stacked, with room on the right for the close button. */
36
+ export declare function SheetHeader(props: SheetHeaderProps): JSX.Element;
37
+ /** Props of SheetBody. */
38
+ export type SheetBodyProps = Omit<ComponentProps<'div'>, 'className' | 'style'>;
39
+ /** The content between header and footer. It takes the free height and scrolls when the content is taller. */
40
+ export declare function SheetBody(props: SheetBodyProps): JSX.Element;
41
+ /** Props of SheetFooter. */
42
+ export type SheetFooterProps = Omit<ComponentProps<'div'>, 'className' | 'style'>;
43
+ /** The row of actions at the bottom of the sheet, aligned to the end. */
44
+ export declare function SheetFooter(props: SheetFooterProps): JSX.Element;
45
+ /** Props of SheetTitle. */
46
+ export type SheetTitleProps = Omit<Dialog.Title.Props, 'className' | 'style'>;
47
+ /** The sheet's name, in the b4 style. It names the sheet for assistive technology. */
48
+ export declare function SheetTitle(props: SheetTitleProps): JSX.Element;
49
+ /** Props of SheetDescription. */
50
+ export type SheetDescriptionProps = Omit<Dialog.Description.Props, 'className' | 'style'>;
51
+ /** One line that says what the sheet is for, in subdued body text. */
52
+ export declare function SheetDescription(props: SheetDescriptionProps): JSX.Element;
@@ -0,0 +1,89 @@
1
+ import { cn } from "../../lib/cn.js";
2
+ import { Icon } from "../icon/Icon.js";
3
+ import { jsx, jsxs } from "react/jsx-runtime";
4
+ import { Dialog } from "@base-ui/react/dialog";
5
+ // src/components/sheet/Sheet.tsx
6
+ /**
7
+ * The root of a sheet. It holds the open state and renders nothing itself. Pass `open` and `onOpenChange` to control it,
8
+ * or `defaultOpen` to leave it uncontrolled. The page behind is inert while it is open, with no scrim over it.
9
+ */
10
+ function Sheet(props) {
11
+ return /* @__PURE__ */ jsx(Dialog.Root, { ...props });
12
+ }
13
+ /** The button that opens the sheet. */
14
+ function SheetTrigger(props) {
15
+ return /* @__PURE__ */ jsx(Dialog.Trigger, {
16
+ "data-slot": "sheet-trigger",
17
+ ...props
18
+ });
19
+ }
20
+ /** A button that closes the sheet, such as Done in the footer. */
21
+ function SheetClose(props) {
22
+ return /* @__PURE__ */ jsx(Dialog.Close, {
23
+ "data-slot": "sheet-close",
24
+ ...props
25
+ });
26
+ }
27
+ /**
28
+ * The panel, white with a hairline on its inner edge. A side sheet is full height and three quarters of a phone screen,
29
+ * 384px from the small breakpoint up; a bottom sheet spans the screen, sizes to its content and has 24px top corners.
30
+ * It appears without sliding and with no scrim, blur or shadow. Put SheetHeader, SheetBody and SheetFooter inside.
31
+ */
32
+ function SheetContent({ children, side = "right", showCloseButton = true, closeLabel = "Close", ...props }) {
33
+ return /* @__PURE__ */ jsx(Dialog.Portal, { children: /* @__PURE__ */ jsxs(Dialog.Popup, {
34
+ "data-slot": "sheet-content",
35
+ "data-side": side,
36
+ className: cn("rt:fixed rt:z-50 rt:flex rt:max-h-full rt:flex-col rt:overflow-y-auto rt:border-border rt:bg-popover rt:text-b3 rt:text-popover-foreground rt:focus-visible:focus-ring", "rt:side-right:inset-y-0 rt:side-right:right-0 rt:side-right:w-3/4 rt:side-right:border-l rt:side-right:sm:w-96", "rt:side-left:inset-y-0 rt:side-left:left-0 rt:side-left:w-3/4 rt:side-left:border-r rt:side-left:sm:w-96", "rt:side-bottom:inset-x-0 rt:side-bottom:bottom-0 rt:side-bottom:rounded-t-3xl rt:side-bottom:border-x rt:side-bottom:border-t"),
37
+ ...props,
38
+ children: [children, showCloseButton && /* @__PURE__ */ jsx(Dialog.Close, {
39
+ "data-slot": "sheet-close",
40
+ "aria-label": closeLabel,
41
+ className: "rt:absolute rt:top-5 rt:right-5 rt:flex rt:size-7 rt:items-center rt:justify-center rt:rounded-md rt:text-icon rt:transition-colors rt:hover:bg-primary-tint rt:focus-visible:focus-ring",
42
+ children: /* @__PURE__ */ jsx(Icon, {
43
+ name: "x",
44
+ size: 12
45
+ })
46
+ })]
47
+ }) });
48
+ }
49
+ /** The title and description, stacked, with room on the right for the close button. */
50
+ function SheetHeader(props) {
51
+ return /* @__PURE__ */ jsx("div", {
52
+ "data-slot": "sheet-header",
53
+ className: "rt:flex rt:shrink-0 rt:flex-col rt:gap-1 rt:p-6 rt:pr-20",
54
+ ...props
55
+ });
56
+ }
57
+ /** The content between header and footer. It takes the free height and scrolls when the content is taller. */
58
+ function SheetBody(props) {
59
+ return /* @__PURE__ */ jsx("div", {
60
+ "data-slot": "sheet-body",
61
+ className: "rt:flex rt:min-h-0 rt:flex-1 rt:flex-col rt:gap-3.5 rt:overflow-y-auto rt:px-6 rt:pb-6",
62
+ ...props
63
+ });
64
+ }
65
+ /** The row of actions at the bottom of the sheet, aligned to the end. */
66
+ function SheetFooter(props) {
67
+ return /* @__PURE__ */ jsx("div", {
68
+ "data-slot": "sheet-footer",
69
+ className: "rt:mt-auto rt:flex rt:shrink-0 rt:items-center rt:justify-end rt:gap-2 rt:px-6 rt:pb-6",
70
+ ...props
71
+ });
72
+ }
73
+ /** The sheet's name, in the b4 style. It names the sheet for assistive technology. */
74
+ function SheetTitle(props) {
75
+ return /* @__PURE__ */ jsx(Dialog.Title, {
76
+ "data-slot": "sheet-title",
77
+ className: "rt:text-b4 rt:text-foreground-strong",
78
+ ...props
79
+ });
80
+ }
81
+ /** One line that says what the sheet is for, in subdued body text. */
82
+ function SheetDescription(props) {
83
+ return /* @__PURE__ */ jsx(Dialog.Description, {
84
+ "data-slot": "sheet-description",
85
+ className: "rt:text-b3 rt:text-foreground-subdued",
86
+ ...props
87
+ });
88
+ }
89
+ export { Sheet, SheetBody, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger };
@@ -0,0 +1,2 @@
1
+ import { Sheet, SheetBody, SheetBodyProps, SheetClose, SheetCloseProps, SheetContent, SheetContentProps, SheetDescription, SheetDescriptionProps, SheetFooter, SheetFooterProps, SheetHeader, SheetHeaderProps, SheetSide, SheetTitle, SheetTitleProps, SheetTrigger, SheetTriggerProps } from "./Sheet.js";
2
+ export { Sheet, SheetBody, type SheetBodyProps, SheetClose, type SheetCloseProps, SheetContent, type SheetContentProps, SheetDescription, type SheetDescriptionProps, SheetFooter, type SheetFooterProps, SheetHeader, type SheetHeaderProps, type SheetSide, SheetTitle, type SheetTitleProps, SheetTrigger, type SheetTriggerProps };
@@ -0,0 +1 @@
1
+ export { Sheet, SheetBody, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger } from "./Sheet.js";
@@ -8,7 +8,7 @@ function SummaryChips({ items, ref, ...rest }) {
8
8
  ref,
9
9
  className: "rt:m-0 rt:flex rt:list-none rt:flex-wrap rt:gap-1 rt:p-0",
10
10
  children: items.map((item) => /* @__PURE__ */ jsxs("li", {
11
- className: "rt:inline-flex rt:h-5 rt:items-center rt:gap-1 rt:rounded-sm rt:border rt:border-status-neutral-border rt:bg-status-neutral-background rt:px-2 rt:text-c1 rt:whitespace-nowrap rt:text-status-neutral-foreground",
11
+ className: "rt:inline-flex rt:h-5 rt:items-center rt:gap-1 rt:rounded-sm rt:border rt:border-chip-border rt:bg-chip-background rt:px-2 rt:text-c1 rt:whitespace-nowrap rt:text-chip-foreground",
12
12
  children: [/* @__PURE__ */ jsx("span", { children: item.label }), item.value !== void 0 ? /* @__PURE__ */ jsx("span", {
13
13
  className: "rt:text-c2 rt:text-foreground",
14
14
  children: item.value
@@ -43,7 +43,7 @@ function TagInput({ options, value, defaultValue, onValueChange, creatable = tru
43
43
  "data-slot": "tag-input-chips",
44
44
  className: cn("rt:flex rt:min-h-9 rt:w-full rt:min-w-0 rt:flex-wrap rt:items-center rt:gap-1 rt:rounded-lg rt:bg-background rt:py-2 rt:pr-3 rt:shadow-ring-subtle rt:transition-colors rt:forced-outline rt:focus-within:shadow-ring-focus rt:has-aria-invalid:shadow-ring-invalid rt:has-aria-invalid:focus-within:shadow-ring-invalid rt:has-disabled:opacity-50", current.length > 0 ? "rt:pl-2" : "rt:pl-3"),
45
45
  children: [current.map((item) => /* @__PURE__ */ jsxs(Combobox.Chip, {
46
- className: "rt:inline-flex rt:h-5 rt:items-center rt:gap-1 rt:rounded-sm rt:border rt:border-status-neutral-border rt:bg-status-neutral-background rt:pr-0.5 rt:pl-2 rt:text-c1 rt:whitespace-nowrap rt:text-status-neutral-foreground rt:outline-none rt:focus-visible:focus-ring",
46
+ className: "rt:inline-flex rt:h-5 rt:items-center rt:gap-1 rt:rounded-sm rt:border rt:border-chip-border rt:bg-chip-background rt:pr-0.5 rt:pl-2 rt:text-c1 rt:whitespace-nowrap rt:text-chip-foreground rt:outline-none rt:focus-visible:focus-ring",
47
47
  children: [item, /* @__PURE__ */ jsx(Combobox.ChipRemove, {
48
48
  "aria-label": `Remove ${item}`,
49
49
  className: "rt:flex rt:size-4 rt:items-center rt:justify-center rt:rounded-sm rt:text-muted-foreground rt:transition-colors rt:hover:text-foreground rt:focus-visible:focus-ring rt:disabled:pointer-events-none",
package/dist/index.d.ts CHANGED
@@ -1,3 +1,5 @@
1
+ import { Accordion, AccordionContent, AccordionContentProps, AccordionItem, AccordionItemProps, AccordionProps, AccordionTrigger, AccordionTriggerProps } from "./components/accordion/Accordion.js";
2
+ import "./components/accordion/index.js";
1
3
  import { Button, ButtonProps, ButtonVariant } from "./components/button/Button.js";
2
4
  import "./components/button/index.js";
3
5
  import { AlertDialog, AlertDialogAction, AlertDialogActionProps, AlertDialogCancel, AlertDialogCancelProps, AlertDialogContent, AlertDialogContentProps, AlertDialogDescription, AlertDialogDescriptionProps, AlertDialogFooter, AlertDialogFooterProps, AlertDialogHeader, AlertDialogHeaderProps, AlertDialogTitle, AlertDialogTitleProps, AlertDialogTrigger, AlertDialogTriggerProps } from "./components/alert-dialog/AlertDialog.js";
@@ -8,10 +10,17 @@ import { AppShell, AppShellProps } from "./components/app-shell/AppShell.js";
8
10
  import "./components/app-shell/index.js";
9
11
  import { Avatar, AvatarProps, AvatarShape, AvatarSize, getInitials } from "./components/avatar/Avatar.js";
10
12
  import "./components/avatar/index.js";
13
+ import { Breadcrumb, BreadcrumbItem, BreadcrumbProps } from "./components/breadcrumb/Breadcrumb.js";
14
+ import "./components/breadcrumb/index.js";
11
15
  import { Calendar, CalendarProps } from "./components/calendar/Calendar.js";
12
16
  import "./components/calendar/index.js";
13
17
  import { Card, CardContent, CardContentProps, CardDescription, CardDescriptionProps, CardFooter, CardFooterProps, CardHeader, CardHeaderProps, CardProps, CardTitle, CardTitleProps } from "./components/card/Card.js";
14
18
  import "./components/card/index.js";
19
+ import { IconName } from "./components/icon/registry.js";
20
+ import { Icon, IconProps, IconSize, IconTone } from "./components/icon/Icon.js";
21
+ import "./components/icon/index.js";
22
+ import { Chart, ChartAspect, ChartColor, ChartConfig, ChartLegend, ChartLegendContent, ChartLegendContentProps, ChartLegendProps, ChartProps, ChartSeriesConfig, ChartTable, ChartTooltip, ChartTooltipContent, ChartTooltipContentProps, ChartTooltipProps, chartColor } from "./components/chart/Chart.js";
23
+ import "./components/chart/index.js";
15
24
  import { CheckboxList, CheckboxListItem, CheckboxListProps } from "./components/checkbox-list/CheckboxList.js";
16
25
  import "./components/checkbox-list/index.js";
17
26
  import { Checkbox, CheckboxProps } from "./components/checkbox/Checkbox.js";
@@ -20,6 +29,8 @@ import { SummaryChip, SummaryChips, SummaryChipsProps } from "./components/summa
20
29
  import "./components/summary-chips/index.js";
21
30
  import { Collapsible, CollapsibleProps } from "./components/collapsible/Collapsible.js";
22
31
  import "./components/collapsible/index.js";
32
+ import { Combobox, ComboboxItem, ComboboxProps } from "./components/combobox/Combobox.js";
33
+ import "./components/combobox/index.js";
23
34
  import { Table, TableBody, TableBodyProps, TableCaption, TableCaptionProps, TableCell, TableCellProps, TableFooter, TableFooterProps, TableHead, TableHeadProps, TableHeader, TableHeaderProps, TableProps, TableRow, TableRowProps } from "./components/table/Table.js";
24
35
  import "./components/table/index.js";
25
36
  import { DataTable, DataTableColumn, DataTableProps, DataTableSort } from "./components/data-table/DataTable.js";
@@ -34,6 +45,8 @@ import { Definition, DefinitionProps } from "./components/definition/Definition.
34
45
  import "./components/definition/index.js";
35
46
  import { Dialog, DialogClose, DialogCloseProps, DialogContent, DialogContentProps, DialogDescription, DialogDescriptionProps, DialogFooter, DialogFooterProps, DialogHeader, DialogHeaderProps, DialogTitle, DialogTitleProps, DialogTrigger, DialogTriggerProps } from "./components/dialog/Dialog.js";
36
47
  import "./components/dialog/index.js";
48
+ import { Drawer, DrawerClose, DrawerCloseProps, DrawerContent, DrawerContentProps, DrawerDescription, DrawerDescriptionProps, DrawerFooter, DrawerFooterProps, DrawerHeader, DrawerHeaderProps, DrawerProps, DrawerTitle, DrawerTitleProps, DrawerTrigger, DrawerTriggerProps } from "./components/drawer/Drawer.js";
49
+ import "./components/drawer/index.js";
37
50
  import { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuCheckboxItemProps, DropdownMenuContent, DropdownMenuContentProps, DropdownMenuGroup, DropdownMenuGroupProps, DropdownMenuItem, DropdownMenuItemProps, DropdownMenuLabel, DropdownMenuLabelProps, DropdownMenuProps, DropdownMenuRadioGroup, DropdownMenuRadioGroupProps, DropdownMenuRadioItem, DropdownMenuRadioItemProps, DropdownMenuSeparator, DropdownMenuSeparatorProps, DropdownMenuShortcut, DropdownMenuShortcutProps, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubContentProps, DropdownMenuSubProps, DropdownMenuSubTrigger, DropdownMenuSubTriggerProps, DropdownMenuTrigger, DropdownMenuTriggerProps } from "./components/dropdown-menu/DropdownMenu.js";
38
51
  import "./components/dropdown-menu/index.js";
39
52
  import { EmptyState, EmptyStateProps } from "./components/empty-state/EmptyState.js";
@@ -43,18 +56,19 @@ import { Label, LabelProps } from "./components/field/Label.js";
43
56
  import "./components/field/index.js";
44
57
  import { FilterTabs, FilterTabsItem, FilterTabsProps } from "./components/filter-tabs/FilterTabs.js";
45
58
  import "./components/filter-tabs/index.js";
46
- import { IconName } from "./components/icon/registry.js";
47
- import { Icon, IconProps, IconSize, IconTone } from "./components/icon/Icon.js";
48
- import "./components/icon/index.js";
49
59
  import { GlobalSearch, GlobalSearchGroup, GlobalSearchProps, GlobalSearchResult } from "./components/global-search/GlobalSearch.js";
50
60
  import "./components/global-search/index.js";
51
61
  import { Space } from "./lib/space.js";
52
62
  import { Inline, InlineProps } from "./components/inline/Inline.js";
53
63
  import "./components/inline/index.js";
64
+ import { InputOtp, InputOtpProps } from "./components/input-otp/InputOtp.js";
65
+ import "./components/input-otp/index.js";
54
66
  import { Input, InputProps, InputSize } from "./components/input/Input.js";
55
67
  import "./components/input/index.js";
56
68
  import { Kbd, KbdGroup, KbdGroupProps, KbdProps } from "./components/kbd/Kbd.js";
57
69
  import "./components/kbd/index.js";
70
+ import { KeyValueItem, KeyValueList, KeyValueListProps } from "./components/key-value-list/KeyValueList.js";
71
+ import "./components/key-value-list/index.js";
58
72
  import { LinkProvider, LinkProviderProps, LinkRender, LinkRenderProps } from "./components/link-provider/LinkProvider.js";
59
73
  import "./components/link-provider/index.js";
60
74
  import { Link, LinkProps } from "./components/link/Link.js";
@@ -73,12 +87,22 @@ import { Pagination, PaginationProps } from "./components/pagination/Pagination.
73
87
  import "./components/pagination/index.js";
74
88
  import { Popover, PopoverContent, PopoverContentProps, PopoverDescription, PopoverDescriptionProps, PopoverHeader, PopoverHeaderProps, PopoverProps, PopoverTitle, PopoverTitleProps, PopoverTrigger, PopoverTriggerProps } from "./components/popover/Popover.js";
75
89
  import "./components/popover/index.js";
90
+ import { Progress, ProgressProps } from "./components/progress/Progress.js";
91
+ import "./components/progress/index.js";
92
+ import { RadioGroup, RadioGroupItem, RadioGroupItemProps, RadioGroupProps } from "./components/radio-group/RadioGroup.js";
93
+ import "./components/radio-group/index.js";
76
94
  import { SaveBar, SaveBarProps } from "./components/save-bar/SaveBar.js";
77
95
  import "./components/save-bar/index.js";
96
+ import { ScrollArea, ScrollAreaProps } from "./components/scroll-area/ScrollArea.js";
97
+ import "./components/scroll-area/index.js";
78
98
  import { SearchField, SearchFieldProps } from "./components/search-field/SearchField.js";
79
99
  import "./components/search-field/index.js";
80
100
  import { Select, SelectContent, SelectContentProps, SelectGroup, SelectGroupProps, SelectItem, SelectItemProps, SelectLabel, SelectLabelProps, SelectProps, SelectSeparator, SelectSeparatorProps, SelectSize, SelectTrigger, SelectTriggerProps, SelectValue, SelectValueProps } from "./components/select/Select.js";
81
101
  import "./components/select/index.js";
102
+ import { Separator, SeparatorProps } from "./components/separator/Separator.js";
103
+ import "./components/separator/index.js";
104
+ import { Sheet, SheetBody, SheetBodyProps, SheetClose, SheetCloseProps, SheetContent, SheetContentProps, SheetDescription, SheetDescriptionProps, SheetFooter, SheetFooterProps, SheetHeader, SheetHeaderProps, SheetSide, SheetTitle, SheetTitleProps, SheetTrigger, SheetTriggerProps } from "./components/sheet/Sheet.js";
105
+ import "./components/sheet/index.js";
82
106
  import { SideNav, SideNavAccount, SideNavItem, SideNavProps, SideNavSection } from "./components/side-nav/SideNav.js";
83
107
  import "./components/side-nav/index.js";
84
108
  import { Skeleton, SkeletonProps, SkeletonShape } from "./components/skeleton/Skeleton.js";
@@ -109,4 +133,4 @@ import "./components/top-bar/index.js";
109
133
  import { UnitInput, UnitInputProps } from "./components/unit-input/UnitInput.js";
110
134
  import "./components/unit-input/index.js";
111
135
  import { DateInput, FORMAT, MONEY_NUMBER_FORMAT, amountToPaise, currencySymbol, formatCount, formatDate, formatIsoDate, formatMoney, formatPaise, formatPaiseForEditing, formatTime, numberSeparators, paiseToAmount, parseDate, parseMoney } from "./lib/format.js";
112
- export { Alert, AlertDialog, AlertDialogAction, type AlertDialogActionProps, AlertDialogCancel, type AlertDialogCancelProps, AlertDialogContent, type AlertDialogContentProps, AlertDialogDescription, type AlertDialogDescriptionProps, AlertDialogFooter, type AlertDialogFooterProps, AlertDialogHeader, type AlertDialogHeaderProps, AlertDialogTitle, type AlertDialogTitleProps, AlertDialogTrigger, type AlertDialogTriggerProps, type AlertProps, type AlertTone, AppShell, type AppShellProps, Avatar, type AvatarProps, type AvatarShape, type AvatarSize, Button, type ButtonProps, type ButtonVariant, Calendar, type CalendarProps, Card, CardContent, type CardContentProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps, Checkbox, CheckboxList, type CheckboxListItem, type CheckboxListProps, type CheckboxProps, Collapsible, type CollapsibleProps, DataTable, type DataTableColumn, type DataTableProps, type DataTableSort, DateInput, DatePicker, type DatePickerProps, DateRangePicker, type DateRangePickerProps, type DateRangeValue, Definition, type DefinitionProps, Dialog, DialogClose, type DialogCloseProps, DialogContent, type DialogContentProps, DialogDescription, type DialogDescriptionProps, DialogFooter, type DialogFooterProps, DialogHeader, type DialogHeaderProps, DialogTitle, type DialogTitleProps, DialogTrigger, type DialogTriggerProps, DropdownMenu, DropdownMenuCheckboxItem, type DropdownMenuCheckboxItemProps, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuGroup, type DropdownMenuGroupProps, DropdownMenuItem, type DropdownMenuItemProps, DropdownMenuLabel, type DropdownMenuLabelProps, type DropdownMenuProps, DropdownMenuRadioGroup, type DropdownMenuRadioGroupProps, DropdownMenuRadioItem, type DropdownMenuRadioItemProps, DropdownMenuSeparator, type DropdownMenuSeparatorProps, DropdownMenuShortcut, type DropdownMenuShortcutProps, DropdownMenuSub, DropdownMenuSubContent, type DropdownMenuSubContentProps, type DropdownMenuSubProps, DropdownMenuSubTrigger, type DropdownMenuSubTriggerProps, DropdownMenuTrigger, type DropdownMenuTriggerProps, EmptyState, type EmptyStateProps, FORMAT, Field, type FieldControlProps, type FieldProps, FilterTabs, type FilterTabsItem, type FilterTabsProps, GlobalSearch, type GlobalSearchGroup, type GlobalSearchProps, type GlobalSearchResult, Icon, type IconName, type IconProps, type IconSize, type IconTone, Inline, type InlineProps, Input, InputGroup, InputGroupAddon, type InputGroupAddonAlign, type InputGroupAddonProps, InputGroupInput, type InputGroupInputProps, type InputGroupProps, InputGroupShortcut, type InputGroupShortcutProps, type InputGroupSize, InputGroupText, type InputGroupTextProps, type InputProps, type InputSize, Kbd, KbdGroup, type KbdGroupProps, type KbdProps, Label, type LabelProps, Link, type LinkProps, LinkProvider, type LinkProviderProps, type LinkRender, type LinkRenderProps, MONEY_NUMBER_FORMAT, MediaGrid, type MediaGridItem, type MediaGridProps, type MetricSegment, MetricStrip, type MetricStripProps, MoneyInput, type MoneyInputProps, PageHeader, type PageHeaderMenuItem, type PageHeaderProps, Pagination, type PaginationProps, Popover, PopoverContent, type PopoverContentProps, PopoverDescription, type PopoverDescriptionProps, PopoverHeader, type PopoverHeaderProps, type PopoverProps, PopoverTitle, type PopoverTitleProps, PopoverTrigger, type PopoverTriggerProps, SaveBar, type SaveBarProps, SearchField, type SearchFieldProps, Select, SelectContent, type SelectContentProps, SelectGroup, type SelectGroupProps, SelectItem, type SelectItemProps, SelectLabel, type SelectLabelProps, type SelectProps, SelectSeparator, type SelectSeparatorProps, type SelectSize, SelectTrigger, type SelectTriggerProps, SelectValue, type SelectValueProps, SideNav, type SideNavAccount, type SideNavItem, type SideNavProps, type SideNavSection, Skeleton, type SkeletonProps, type SkeletonShape, type Space, Spinner, type SpinnerProps, Stack, type StackProps, StatusPill, type StatusPillProps, type StatusPillTone, type StoreOption, StoreSwitcher, type StoreSwitcherProps, type SummaryChip, SummaryChips, type SummaryChipsProps, Switch, type SwitchProps, Table, TableBody, type TableBodyProps, TableCaption, type TableCaptionProps, TableCell, type TableCellProps, TableFooter, type TableFooterProps, TableHead, type TableHeadProps, TableHeader, type TableHeaderProps, TableLoader, type TableLoaderColumn, type TableLoaderProps, type TableProps, TableRow, type TableRowProps, Tabs, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsProps, TabsTrigger, type TabsTriggerProps, TagInput, type TagInputProps, Text, type TextProps, type TextTone, type TextVariant, Textarea, type TextareaProps, type TextareaSize, type ToastOptions, Toaster, type ToasterProps, Tooltip, TooltipContent, type TooltipContentProps, type TooltipProps, TooltipProvider, type TooltipProviderProps, TooltipTrigger, type TooltipTriggerProps, TopBar, type TopBarProps, UnitInput, type UnitInputProps, amountToPaise, currencySymbol, formatCount, formatDate, formatIsoDate, formatMoney, formatPaise, formatPaiseForEditing, formatTime, getInitials, numberSeparators, paiseToAmount, parseDate, parseMoney, toast };
136
+ export { Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemProps, type AccordionProps, AccordionTrigger, type AccordionTriggerProps, Alert, AlertDialog, AlertDialogAction, type AlertDialogActionProps, AlertDialogCancel, type AlertDialogCancelProps, AlertDialogContent, type AlertDialogContentProps, AlertDialogDescription, type AlertDialogDescriptionProps, AlertDialogFooter, type AlertDialogFooterProps, AlertDialogHeader, type AlertDialogHeaderProps, AlertDialogTitle, type AlertDialogTitleProps, AlertDialogTrigger, type AlertDialogTriggerProps, type AlertProps, type AlertTone, AppShell, type AppShellProps, Avatar, type AvatarProps, type AvatarShape, type AvatarSize, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, Button, type ButtonProps, type ButtonVariant, Calendar, type CalendarProps, Card, CardContent, type CardContentProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps, Chart, type ChartAspect, type ChartColor, type ChartConfig, ChartLegend, ChartLegendContent, type ChartLegendContentProps, type ChartLegendProps, type ChartProps, type ChartSeriesConfig, type ChartTable, ChartTooltip, ChartTooltipContent, type ChartTooltipContentProps, type ChartTooltipProps, Checkbox, CheckboxList, type CheckboxListItem, type CheckboxListProps, type CheckboxProps, Collapsible, type CollapsibleProps, Combobox, type ComboboxItem, type ComboboxProps, DataTable, type DataTableColumn, type DataTableProps, type DataTableSort, DateInput, DatePicker, type DatePickerProps, DateRangePicker, type DateRangePickerProps, type DateRangeValue, Definition, type DefinitionProps, Dialog, DialogClose, type DialogCloseProps, DialogContent, type DialogContentProps, DialogDescription, type DialogDescriptionProps, DialogFooter, type DialogFooterProps, DialogHeader, type DialogHeaderProps, DialogTitle, type DialogTitleProps, DialogTrigger, type DialogTriggerProps, Drawer, DrawerClose, type DrawerCloseProps, DrawerContent, type DrawerContentProps, DrawerDescription, type DrawerDescriptionProps, DrawerFooter, type DrawerFooterProps, DrawerHeader, type DrawerHeaderProps, type DrawerProps, DrawerTitle, type DrawerTitleProps, DrawerTrigger, type DrawerTriggerProps, DropdownMenu, DropdownMenuCheckboxItem, type DropdownMenuCheckboxItemProps, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuGroup, type DropdownMenuGroupProps, DropdownMenuItem, type DropdownMenuItemProps, DropdownMenuLabel, type DropdownMenuLabelProps, type DropdownMenuProps, DropdownMenuRadioGroup, type DropdownMenuRadioGroupProps, DropdownMenuRadioItem, type DropdownMenuRadioItemProps, DropdownMenuSeparator, type DropdownMenuSeparatorProps, DropdownMenuShortcut, type DropdownMenuShortcutProps, DropdownMenuSub, DropdownMenuSubContent, type DropdownMenuSubContentProps, type DropdownMenuSubProps, DropdownMenuSubTrigger, type DropdownMenuSubTriggerProps, DropdownMenuTrigger, type DropdownMenuTriggerProps, EmptyState, type EmptyStateProps, FORMAT, Field, type FieldControlProps, type FieldProps, FilterTabs, type FilterTabsItem, type FilterTabsProps, GlobalSearch, type GlobalSearchGroup, type GlobalSearchProps, type GlobalSearchResult, Icon, type IconName, type IconProps, type IconSize, type IconTone, Inline, type InlineProps, Input, InputGroup, InputGroupAddon, type InputGroupAddonAlign, type InputGroupAddonProps, InputGroupInput, type InputGroupInputProps, type InputGroupProps, InputGroupShortcut, type InputGroupShortcutProps, type InputGroupSize, InputGroupText, type InputGroupTextProps, InputOtp, type InputOtpProps, type InputProps, type InputSize, Kbd, KbdGroup, type KbdGroupProps, type KbdProps, type KeyValueItem, KeyValueList, type KeyValueListProps, Label, type LabelProps, Link, type LinkProps, LinkProvider, type LinkProviderProps, type LinkRender, type LinkRenderProps, MONEY_NUMBER_FORMAT, MediaGrid, type MediaGridItem, type MediaGridProps, type MetricSegment, MetricStrip, type MetricStripProps, MoneyInput, type MoneyInputProps, PageHeader, type PageHeaderMenuItem, type PageHeaderProps, Pagination, type PaginationProps, Popover, PopoverContent, type PopoverContentProps, PopoverDescription, type PopoverDescriptionProps, PopoverHeader, type PopoverHeaderProps, type PopoverProps, PopoverTitle, type PopoverTitleProps, PopoverTrigger, type PopoverTriggerProps, Progress, type ProgressProps, RadioGroup, RadioGroupItem, type RadioGroupItemProps, type RadioGroupProps, SaveBar, type SaveBarProps, ScrollArea, type ScrollAreaProps, SearchField, type SearchFieldProps, Select, SelectContent, type SelectContentProps, SelectGroup, type SelectGroupProps, SelectItem, type SelectItemProps, SelectLabel, type SelectLabelProps, type SelectProps, SelectSeparator, type SelectSeparatorProps, type SelectSize, SelectTrigger, type SelectTriggerProps, SelectValue, type SelectValueProps, Separator, type SeparatorProps, Sheet, SheetBody, type SheetBodyProps, SheetClose, type SheetCloseProps, SheetContent, type SheetContentProps, SheetDescription, type SheetDescriptionProps, SheetFooter, type SheetFooterProps, SheetHeader, type SheetHeaderProps, type SheetSide, SheetTitle, type SheetTitleProps, SheetTrigger, type SheetTriggerProps, SideNav, type SideNavAccount, type SideNavItem, type SideNavProps, type SideNavSection, Skeleton, type SkeletonProps, type SkeletonShape, type Space, Spinner, type SpinnerProps, Stack, type StackProps, StatusPill, type StatusPillProps, type StatusPillTone, type StoreOption, StoreSwitcher, type StoreSwitcherProps, type SummaryChip, SummaryChips, type SummaryChipsProps, Switch, type SwitchProps, Table, TableBody, type TableBodyProps, TableCaption, type TableCaptionProps, TableCell, type TableCellProps, TableFooter, type TableFooterProps, TableHead, type TableHeadProps, TableHeader, type TableHeaderProps, TableLoader, type TableLoaderColumn, type TableLoaderProps, type TableProps, TableRow, type TableRowProps, Tabs, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsProps, TabsTrigger, type TabsTriggerProps, TagInput, type TagInputProps, Text, type TextProps, type TextTone, type TextVariant, Textarea, type TextareaProps, type TextareaSize, type ToastOptions, Toaster, type ToasterProps, Tooltip, TooltipContent, type TooltipContentProps, type TooltipProps, TooltipProvider, type TooltipProviderProps, TooltipTrigger, type TooltipTriggerProps, TopBar, type TopBarProps, UnitInput, type UnitInputProps, amountToPaise, chartColor, currencySymbol, formatCount, formatDate, formatIsoDate, formatMoney, formatPaise, formatPaiseForEditing, formatTime, getInitials, numberSeparators, paiseToAmount, parseDate, parseMoney, toast };