@chassis-ui/react 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 (107) hide show
  1. package/README.md +2 -2
  2. package/dist/alert.d.ts +1 -1
  3. package/dist/avatar.d.ts +1 -1
  4. package/dist/badge.d.ts +1 -1
  5. package/dist/button.d.ts +1 -1
  6. package/dist/card.d.ts +1 -1
  7. package/dist/card.js +1 -1
  8. package/dist/checkbox.d.ts +2 -2
  9. package/dist/checkbox.js +1 -1
  10. package/dist/chip.d.ts +1 -1
  11. package/dist/chunks/{Button-Cptd4Yk7.d.ts → Button-BuZ_GOHS.d.ts} +2 -2
  12. package/dist/chunks/{Link-nrd0JWlO.d.ts → Link-CKymd2ru.d.ts} +2 -2
  13. package/dist/chunks/breakpoints-CGk8szzR.js +2 -0
  14. package/dist/chunks/breakpoints-CGk8szzR.js.map +1 -0
  15. package/dist/chunks/breakpoints-ECy4lKQT.d.ts +6 -0
  16. package/dist/chunks/card-CobeDpf1.js +2 -0
  17. package/dist/chunks/card-CobeDpf1.js.map +1 -0
  18. package/dist/chunks/{checkbox-ChACalAw.js → checkbox-ZyQn5Ku5.js} +2 -2
  19. package/dist/chunks/{checkbox-ChACalAw.js.map → checkbox-ZyQn5Ku5.js.map} +1 -1
  20. package/dist/chunks/flex-B52oLCCC.js +2 -0
  21. package/dist/chunks/flex-B52oLCCC.js.map +1 -0
  22. package/dist/chunks/grid-C7tO-ppc.js +2 -0
  23. package/dist/chunks/grid-C7tO-ppc.js.map +1 -0
  24. package/dist/chunks/{index-Bm2NpgND.d.ts → index-0jbACjYQ.d.ts} +2 -2
  25. package/dist/chunks/{index-D9PZHY_I.d.ts → index-B19ZH3fm.d.ts} +2 -2
  26. package/dist/chunks/{index-COsIPd8L.d.ts → index-B1kw0jzM.d.ts} +2 -2
  27. package/dist/chunks/{index-CJzKu7QI.d.ts → index-B5bF1JxF.d.ts} +2 -2
  28. package/dist/chunks/{index-e7SJkI_m.d.ts → index-BLS1jhSJ.d.ts} +2 -2
  29. package/dist/chunks/{index-DjrEvKd-.d.ts → index-BMkbJVHg.d.ts} +2 -2
  30. package/dist/chunks/{index-t_x6jj7l.d.ts → index-BOx8v-oT.d.ts} +2 -2
  31. package/dist/chunks/index-BSLneLYu.d.ts +79 -0
  32. package/dist/chunks/{index-BnR7wjax.d.ts → index-BfEJYF4c.d.ts} +2 -2
  33. package/dist/chunks/{index-CRfm7W6C.d.ts → index-C9gzVqwX.d.ts} +2 -2
  34. package/dist/chunks/{index-DjXRq-n3.d.ts → index-CHQR8x8_.d.ts} +6 -12
  35. package/dist/chunks/{index-BTTeKpiE.d.ts → index-CIwzgZJi.d.ts} +2 -2
  36. package/dist/chunks/{index-I-H3VJ-L.d.ts → index-CYvVmTPR.d.ts} +4 -4
  37. package/dist/chunks/{index-qMq_-GY2.d.ts → index-CjT_4IZx.d.ts} +3 -3
  38. package/dist/chunks/index-CxjNw4ss.d.ts +216 -0
  39. package/dist/chunks/{index-DgHvXzVh.d.ts → index-DHcztR18.d.ts} +3 -3
  40. package/dist/chunks/{index-DXjbI7Yv.d.ts → index-DM01FX3a.d.ts} +3 -3
  41. package/dist/chunks/{index-CYgBmZ8w.d.ts → index-DP5xugE-.d.ts} +2 -2
  42. package/dist/chunks/{index-FKh7iFQE.d.ts → index-DPCwFiJL.d.ts} +2 -2
  43. package/dist/chunks/{index-DJr_ZK4b.d.ts → index-DQImhbhy.d.ts} +2 -2
  44. package/dist/chunks/{index-CJXKl97l.d.ts → index-DtvHH_Mb.d.ts} +2 -2
  45. package/dist/chunks/{index-CKx1KHED.d.ts → index-NGgDkhyn.d.ts} +18 -25
  46. package/dist/chunks/{index-Dfy1YW5j.d.ts → index-U27Ar174.d.ts} +2 -2
  47. package/dist/chunks/{index-CsMIgBsd.d.ts → index-YJ9QdBuq.d.ts} +9 -10
  48. package/dist/chunks/{index-Dh5CaHTP.d.ts → index-aRdgpeRb.d.ts} +2 -2
  49. package/dist/chunks/{index-BO9jLOIb.d.ts → index-lSPcxiii.d.ts} +2 -2
  50. package/dist/chunks/{index-DceCODH9.d.ts → index-x0vZRyoU.d.ts} +2 -2
  51. package/dist/chunks/{notification-Ds24wnPq.js → notification-Dbci5Ka3.js} +2 -2
  52. package/dist/chunks/{notification-Ds24wnPq.js.map → notification-Dbci5Ka3.js.map} +1 -1
  53. package/dist/chunks/{radio-DOFYCfJi.js → radio-B6gJdtoN.js} +2 -2
  54. package/dist/chunks/{radio-DOFYCfJi.js.map → radio-B6gJdtoN.js.map} +1 -1
  55. package/dist/chunks/{renderFormCheck-DZh_5Df8.d.ts → renderFormCheck-nKgpa_a3.d.ts} +2 -2
  56. package/dist/chunks/skeleton-CmZBLJwp.js +2 -0
  57. package/dist/chunks/skeleton-CmZBLJwp.js.map +1 -0
  58. package/dist/chunks/spacingClassName-DVhk8m3P.js.map +1 -1
  59. package/dist/chunks/stack-DK5F53VT.js +2 -0
  60. package/dist/chunks/stack-DK5F53VT.js.map +1 -0
  61. package/dist/chunks/{types-CS_40Txv.d.ts → types-D6FM7bYR.d.ts} +16 -2
  62. package/dist/close-button.d.ts +1 -1
  63. package/dist/datagrid.d.ts +1 -1
  64. package/dist/flex.d.ts +1 -1
  65. package/dist/flex.js +1 -1
  66. package/dist/grid.d.ts +2 -2
  67. package/dist/grid.js +1 -1
  68. package/dist/index.d.ts +32 -32
  69. package/dist/index.js +1 -1
  70. package/dist/link.d.ts +1 -1
  71. package/dist/list.d.ts +1 -1
  72. package/dist/menu.d.ts +1 -1
  73. package/dist/nav-overflow.d.ts +1 -1
  74. package/dist/nav.d.ts +1 -1
  75. package/dist/navbar.d.ts +1 -1
  76. package/dist/notification.d.ts +1 -1
  77. package/dist/notification.js +1 -1
  78. package/dist/placeholder.d.ts +1 -1
  79. package/dist/progress.d.ts +1 -1
  80. package/dist/radio.d.ts +1 -1
  81. package/dist/radio.js +1 -1
  82. package/dist/skeleton.d.ts +1 -1
  83. package/dist/skeleton.js +1 -1
  84. package/dist/spinner.d.ts +1 -1
  85. package/dist/stack.d.ts +1 -1
  86. package/dist/stack.js +1 -1
  87. package/dist/static-table.d.ts +1 -1
  88. package/dist/stepper.d.ts +1 -1
  89. package/dist/switch.d.ts +1 -1
  90. package/dist/table.d.ts +1 -1
  91. package/dist/toast.d.ts +1 -1
  92. package/package.json +4 -4
  93. package/dist/chunks/breakpoints-CJ-498B7.d.ts +0 -7
  94. package/dist/chunks/breakpoints-o_2Ev7ir.js +0 -2
  95. package/dist/chunks/breakpoints-o_2Ev7ir.js.map +0 -1
  96. package/dist/chunks/card-YXn3bj_d.js +0 -2
  97. package/dist/chunks/card-YXn3bj_d.js.map +0 -1
  98. package/dist/chunks/flex-CmlJbKVj.js +0 -2
  99. package/dist/chunks/flex-CmlJbKVj.js.map +0 -1
  100. package/dist/chunks/grid-DK_vxz-4.js +0 -2
  101. package/dist/chunks/grid-DK_vxz-4.js.map +0 -1
  102. package/dist/chunks/index-CVUMS0x7.d.ts +0 -74
  103. package/dist/chunks/index-RHJhkSY-.d.ts +0 -273
  104. package/dist/chunks/skeleton-BrD2JwNx.js +0 -2
  105. package/dist/chunks/skeleton-BrD2JwNx.js.map +0 -1
  106. package/dist/chunks/stack-CsMiQbpq.js +0 -2
  107. package/dist/chunks/stack-CsMiQbpq.js.map +0 -1
@@ -1,6 +1,6 @@
1
1
  import "./focus-ring-SR_LwaN7.js";
2
2
  import { r as PolymorphicRefWithFallback, t as PolymorphicComponentProps } from "./polymorphic-CVHbTHSN.js";
3
- import { n as ContextColor, r as ContextStyle } from "./types-CS_40Txv.js";
3
+ import { i as ContextStyle, r as ContextColor } from "./types-D6FM7bYR.js";
4
4
  import { ElementType, MouseEventHandler, ReactElement } from "react";
5
5
  //#region src/components/close-button/CloseButton.d.ts
6
6
  type CloseButtonOwnProps<C extends ElementType> = {
@@ -65,4 +65,4 @@ type CloseButtonComponent = (<C extends ElementType = 'button'>(props: CloseButt
65
65
  declare const CloseButton: CloseButtonComponent;
66
66
  //#endregion
67
67
  export { CloseButtonProps as n, CloseButton as t };
68
- //# sourceMappingURL=index-BnR7wjax.d.ts.map
68
+ //# sourceMappingURL=index-BfEJYF4c.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import "./focus-ring-SR_LwaN7.js";
2
- import { n as ContextColor } from "./types-CS_40Txv.js";
2
+ import { r as ContextColor } from "./types-D6FM7bYR.js";
3
3
  import { Key, ReactElement, ReactNode, Ref } from "react";
4
4
  import { Key as Key$1 } from "react-aria";
5
5
  import { Selection, SortDescriptor, TableBodyProps, TableHeaderProps } from "react-stately";
@@ -228,4 +228,4 @@ interface TableRowProps {
228
228
  declare const TableRow: (props: TableRowProps) => ReactElement;
229
229
  //#endregion
230
230
  export { TableColumn as a, TableCellProps as c, Table as d, TableProps as f, TableHeaderProps$1 as i, TableBody$1 as l, TableRowProps as n, TableColumnProps as o, TableHeader$1 as r, TableCell as s, TableRow as t, TableBodyProps$1 as u };
231
- //# sourceMappingURL=index-CRfm7W6C.d.ts.map
231
+ //# sourceMappingURL=index-C9gzVqwX.d.ts.map
@@ -1,7 +1,7 @@
1
1
  import "./focus-ring-SR_LwaN7.js";
2
2
  import { n as PolymorphicRef, t as PolymorphicComponentProps } from "./polymorphic-CVHbTHSN.js";
3
- import { n as ContextColor, t as Breakpoint } from "./types-CS_40Txv.js";
4
- import { r as WidthSpan } from "./breakpoints-CJ-498B7.js";
3
+ import { o as Responsive, r as ContextColor } from "./types-D6FM7bYR.js";
4
+ import { n as WidthSpan } from "./breakpoints-ECy4lKQT.js";
5
5
  import { ComponentPropsWithoutRef, ElementType, ReactElement, ReactNode } from "react";
6
6
  //#region src/components/skeleton/Skeleton.d.ts
7
7
  type SkeletonOwnProps<C extends ElementType> = {
@@ -33,17 +33,11 @@ type SkeletonOwnProps<C extends ElementType> = {
33
33
  * `true` to fill the rest of a flex row (`flex-fill`). Unset by default, so the rendered
34
34
  * element's own intrinsic width applies — set it explicitly (e.g. `span={12}`) for a
35
35
  * full-width text line; leave it unset when `component` is something that sizes itself, like
36
- * `Avatar` or `Button`.
36
+ * `Avatar` or `Button`. An object sets the width from a breakpoint up: `{ base: 12, md: 6 }`.
37
37
  *
38
- * @type { 'auto' | number | string | boolean }
38
+ * @type { Responsive<'auto' | number | string | boolean> }
39
39
  */
40
- span?: WidthSpan;
41
- /**
42
- * Overrides `span` at a breakpoint and up.
43
- *
44
- * @type { Partial<Record<'sm' | 'md' | 'lg' | 'xl' | '2xl', 'auto' | number | string | boolean>> }
45
- */
46
- responsive?: Partial<Record<Breakpoint, WidthSpan>>;
40
+ span?: Responsive<WidthSpan>;
47
41
  };
48
42
  type SkeletonProps<C extends ElementType = 'span'> = PolymorphicComponentProps<C, SkeletonOwnProps<C>>;
49
43
  type SkeletonComponent = (<C extends ElementType = 'span'>(props: SkeletonProps<C> & {
@@ -95,4 +89,4 @@ type SkeletonLoaderComponent = (<C extends ElementType = 'span'>(props: Skeleton
95
89
  declare const SkeletonLoader: SkeletonLoaderComponent;
96
90
  //#endregion
97
91
  export { SkeletonProps as i, SkeletonLoaderProps as n, Skeleton as r, SkeletonLoader as t };
98
- //# sourceMappingURL=index-DjXRq-n3.d.ts.map
92
+ //# sourceMappingURL=index-CHQR8x8_.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import "./focus-ring-SR_LwaN7.js";
2
- import { n as ContextColor } from "./types-CS_40Txv.js";
2
+ import { r as ContextColor } from "./types-D6FM7bYR.js";
3
3
  import React, { ReactElement, ReactNode, Ref } from "react";
4
4
  import { ColumnSize, ColumnStaticSize } from "react-stately";
5
5
  import { Key as Key$2, Selection as Selection$1, SortDescriptor as SortDescriptor$1, TableBodyRenderProps } from "react-aria-components";
@@ -361,4 +361,4 @@ declare const DataGridSelectionCell: ({ className }: DataGridSelectionCellProps)
361
361
  declare const DataGridSelectAllCell: ({ className }: DataGridSelectionCellProps) => React.JSX.Element;
362
362
  //#endregion
363
363
  export { DataGridRowProps as a, DataGridCell as c, DataGridProps as d, DataGridHeader as f, DataGridBodyProps as h, DataGridRow as i, DataGridCellProps as l, DataGridBody as m, DataGridSelectionCell as n, DataGridColumn as o, DataGridHeaderProps as p, DataGridSelectionCellProps as r, DataGridColumnProps as s, DataGridSelectAllCell as t, DataGrid as u };
364
- //# sourceMappingURL=index-BTTeKpiE.d.ts.map
364
+ //# sourceMappingURL=index-CIwzgZJi.d.ts.map
@@ -1,9 +1,9 @@
1
1
  import "./focus-ring-SR_LwaN7.js";
2
2
  import { n as PolymorphicRef, r as PolymorphicRefWithFallback, t as PolymorphicComponentProps } from "./polymorphic-CVHbTHSN.js";
3
- import { a as Shapes, n as ContextColor } from "./types-CS_40Txv.js";
4
- import { n as ButtonProps, t as Button } from "./Button-Cptd4Yk7.js";
3
+ import { r as ContextColor, s as Shapes } from "./types-D6FM7bYR.js";
4
+ import { n as ButtonProps, t as Button } from "./Button-BuZ_GOHS.js";
5
5
  import { i as MenuItemsDef } from "./MenuItemDef-D0VDtYIQ.js";
6
- import { n as LinkProps } from "./Link-nrd0JWlO.js";
6
+ import { n as LinkProps } from "./Link-CKymd2ru.js";
7
7
  import { t as Placement } from "./overlayPlacement-CIsLpycT.js";
8
8
  import "./Menu-QeYOzrUL.js";
9
9
  import React, { ButtonHTMLAttributes, ElementType, HTMLAttributes, ReactElement, ReactNode } from "react";
@@ -226,4 +226,4 @@ interface MenuSubmenuBackProps extends ButtonHTMLAttributes<HTMLButtonElement> {
226
226
  declare const MenuSubmenuBack: React.ForwardRefExoticComponent<MenuSubmenuBackProps & React.RefAttributes<HTMLButtonElement>>;
227
227
  //#endregion
228
228
  export { MenuToggle as a, MenuTextProps as c, MenuItem as d, MenuItemProps as f, MenuDividerProps as g, MenuDivider as h, MenuSubmenuProps as i, MenuList as l, MenuHeaderProps as m, MenuSubmenuBackProps as n, MenuToggleProps as o, MenuHeader as p, MenuSubmenu as r, MenuText as s, MenuSubmenuBack as t, MenuListProps as u };
229
- //# sourceMappingURL=index-I-H3VJ-L.d.ts.map
229
+ //# sourceMappingURL=index-CYvVmTPR.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import "./focus-ring-SR_LwaN7.js";
2
- import { n as ContextColor } from "./types-CS_40Txv.js";
3
- import { t as ButtonObject } from "./renderFormCheck-DZh_5Df8.js";
2
+ import { r as ContextColor } from "./types-D6FM7bYR.js";
3
+ import { t as ButtonObject } from "./renderFormCheck-nKgpa_a3.js";
4
4
  import React, { HTMLAttributes, InputHTMLAttributes, ReactNode } from "react";
5
5
  //#region src/components/radio/Radio.d.ts
6
6
  interface RadioProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'checked' | 'defaultChecked' | 'onChange' | 'size'> {
@@ -102,4 +102,4 @@ interface RadioGroupProps extends Omit<HTMLAttributes<HTMLFieldSetElement>, 'def
102
102
  declare const RadioGroup: React.ForwardRefExoticComponent<RadioGroupProps & React.RefAttributes<HTMLFieldSetElement>>;
103
103
  //#endregion
104
104
  export { RadioProps as i, RadioGroupProps as n, Radio as r, RadioGroup as t };
105
- //# sourceMappingURL=index-qMq_-GY2.d.ts.map
105
+ //# sourceMappingURL=index-CjT_4IZx.d.ts.map
@@ -0,0 +1,216 @@
1
+ import "./focus-ring-SR_LwaN7.js";
2
+ import { n as PolymorphicRef, t as PolymorphicComponentProps } from "./polymorphic-CVHbTHSN.js";
3
+ import { l as Spacing, n as ContainerBreakpoint, o as Responsive, t as Breakpoint } from "./types-D6FM7bYR.js";
4
+ import { ElementType, ReactElement } from "react";
5
+ //#region src/components/grid/Container.d.ts
6
+ type ContainerOwnProps<C extends ElementType> = {
7
+ /**
8
+ * A string of all className you want applied to the base component.
9
+ */
10
+ className?: string;
11
+ /**
12
+ * Component used for the root node. Either a string to use a HTML element or a component.
13
+ */
14
+ component?: C;
15
+ /**
16
+ * Set container 100% wide until the given breakpoint, after which it scales up with `max-width`
17
+ * at every larger breakpoint.
18
+ *
19
+ * @type Breakpoint
20
+ */
21
+ fluidUntil?: Breakpoint;
22
+ /**
23
+ * Set container 100% wide, spanning the entire width of the viewport.
24
+ */
25
+ fluid?: boolean;
26
+ };
27
+ type ContainerProps<C extends ElementType = 'div'> = PolymorphicComponentProps<C, ContainerOwnProps<C>>;
28
+ type ContainerComponent = (<C extends ElementType = 'div'>(props: ContainerProps<C> & {
29
+ ref?: PolymorphicRef<C>;
30
+ }) => ReactElement | null) & {
31
+ displayName?: string;
32
+ };
33
+ declare const Container: ContainerComponent;
34
+ //#endregion
35
+ //#region src/components/grid/Grid.d.ts
36
+ /**
37
+ * The direction a grid places its items in, and whether it fills earlier gaps (`dense`): the
38
+ * values of CSS `grid-auto-flow`.
39
+ */
40
+ type GridFlow = 'row' | 'column' | 'dense' | 'row-dense' | 'column-dense';
41
+ type GridGap = Spacing | (string & {});
42
+ type GridOwnProps<C extends ElementType> = {
43
+ /**
44
+ * A string of all className you want applied to the base component.
45
+ */
46
+ className?: string;
47
+ /**
48
+ * Component used for the root node. Either a string to use a HTML element or a component.
49
+ */
50
+ component?: C;
51
+ /**
52
+ * Number of columns in the grid template (the column count of `@chassis-ui/css` when omitted,
53
+ * `12` by default). A count from 1 to 12 is mapped to the `grid-cols-{n}` class, which applies
54
+ * to this grid alone. Any other count has no class and is set via the `--cx-grid-columns`
55
+ * custom property, which a grid nested in this one inherits: give that grid `columns` of its
56
+ * own. Has no effect when `fill` is set.
57
+ *
58
+ * An object sets the count from a width up, as in `{ base: 1, md: 3 }`, here and on `rows`,
59
+ * `gap` and `flow`. A breakpoint key (`md`) is a width of the viewport. A container key
60
+ * (`'@md'`) is the same width of the nearest query container (an ancestor with the
61
+ * `contains-inline` class), and wins over a breakpoint key where both apply. Without a query
62
+ * container above the grid, a container key never applies. The count of a key is a class, so
63
+ * a count from 1 to 12.
64
+ */
65
+ columns?: Responsive<number, Breakpoint | ContainerBreakpoint>;
66
+ /**
67
+ * Number of equal rows in the grid template. A grid has none when omitted: its rows are as
68
+ * tall as their content. A count from 1 to 6 is mapped to the `grid-rows-{n}` class; any other
69
+ * count has no class and is set inline, as the `grid-template-rows` the class declares. Has no
70
+ * effect when `fill` is set. An object sets the count from a width up, where it is a class, so
71
+ * a count from 1 to 6.
72
+ */
73
+ rows?: Responsive<number, Breakpoint | ContainerBreakpoint>;
74
+ /**
75
+ * Gap between grid items: a `Spacing` token (mapped to the `gap-{token}` class) or any raw CSS
76
+ * `gap` value, including a `"{row} {column}"` pair (set via the `--cx-grid-gap` custom
77
+ * property). The gutter of the current breakpoint when omitted, or of the query container when
78
+ * `contained` is set. An object sets the gap from a width up: only a token fits a key other
79
+ * than `base`, since a raw value has no class.
80
+ *
81
+ * @type { Spacing | string | { base?: Spacing | string } & Partial<Record<Breakpoint | ContainerBreakpoint, Spacing>> }
82
+ */
83
+ gap?: GridGap | ({
84
+ base?: GridGap;
85
+ } & Partial<Record<Breakpoint | ContainerBreakpoint, Spacing>>);
86
+ /**
87
+ * The direction items are placed in, mapped to the `grid-flow-*` classes: by `'row'` (the CSS
88
+ * default) or by `'column'`, which fills the `rows` of one column before it starts the next.
89
+ * `'dense'`, `'row-dense'` and `'column-dense'` also move later items into gaps that earlier,
90
+ * wider ones left. An object sets the flow from a width up.
91
+ */
92
+ flow?: Responsive<GridFlow, Breakpoint | ContainerBreakpoint>;
93
+ /**
94
+ * Adds the `contained` class: the default gutter and column count follow the width of the
95
+ * nearest query container instead of the viewport, so a grid in a narrow column of a wide page
96
+ * has the gutter of a narrow page. Without a query container above it the grid keeps the
97
+ * values of the viewport. `columns` and `gap` still override them.
98
+ */
99
+ contained?: boolean;
100
+ /**
101
+ * Renders `.grid-fill` instead of `.grid` — columns expand equally to fill the available
102
+ * width, with the column count determined by the number of children rather than `columns`.
103
+ */
104
+ fill?: boolean;
105
+ /**
106
+ * Minimum column width of a `fill` grid, set via the `--cx-grid-min` custom property: any CSS
107
+ * length, e.g. `"16rem"`. Children wrap to a new row when they would get narrower. `12rem` in
108
+ * `@chassis-ui/css` when omitted. Only relevant when `fill` is set.
109
+ */
110
+ min?: string;
111
+ };
112
+ type GridProps<C extends ElementType = 'div'> = PolymorphicComponentProps<C, GridOwnProps<C>>;
113
+ type GridComponent = (<C extends ElementType = 'div'>(props: GridProps<C> & {
114
+ ref?: PolymorphicRef<C>;
115
+ }) => ReactElement | null) & {
116
+ displayName?: string;
117
+ };
118
+ declare const Grid: GridComponent;
119
+ //#endregion
120
+ //#region src/components/grid/GridItem.d.ts
121
+ type GridItemOwnProps<C extends ElementType> = {
122
+ /**
123
+ * A string of all className you want applied to the base component.
124
+ */
125
+ className?: string;
126
+ /**
127
+ * Component used for the root node. Either a string to use a HTML element or a component.
128
+ */
129
+ component?: C;
130
+ /**
131
+ * Number of grid column tracks (of the parent `<Grid>`'s `columns`) this item spans, mapped to
132
+ * the `col-span-{n}` class, or `'full'` for every track of the row (`col-span-full`). An item
133
+ * with no `span` is one track wide.
134
+ *
135
+ * An object sets the span from a width up, as in `{ base: 'full', md: 6 }`, here and on
136
+ * `start`, `end`, `rowSpan`, `rowStart` and `rowEnd`. A breakpoint key (`md`) is a width of
137
+ * the viewport. A container key (`'@md'`) is the same width of the nearest query container
138
+ * (an ancestor with the `contains-inline` class), and wins over a breakpoint key where both
139
+ * apply. Without a query container above the grid, a container key never applies.
140
+ *
141
+ * @type { Responsive<number | 'full', Breakpoint | ContainerBreakpoint> }
142
+ */
143
+ span?: Responsive<number | 'full', Breakpoint | ContainerBreakpoint>;
144
+ /**
145
+ * Grid column line to start this item at, mapped to the `col-start-{n}` class (1 to 12).
146
+ * `'auto'` (`col-start-auto`) returns the item to the flow, to undo a start line at a wider
147
+ * breakpoint: `{ base: 4, md: 'auto' }`.
148
+ *
149
+ * @type { Responsive<number | 'auto', Breakpoint | ContainerBreakpoint> }
150
+ */
151
+ start?: Responsive<number | 'auto', Breakpoint | ContainerBreakpoint>;
152
+ /**
153
+ * Grid column line to end this item at, mapped to the `col-end-{n}` class (1 to 13, the line
154
+ * after the last of 12 columns). With `span`, it places the item against the end edge of the
155
+ * grid: `span={3} end={13}`. `'auto'` (`col-end-auto`) undoes an end line at a wider
156
+ * breakpoint: `{ base: 13, md: 'auto' }`.
157
+ *
158
+ * @type { Responsive<number | 'auto', Breakpoint | ContainerBreakpoint> }
159
+ */
160
+ end?: Responsive<number | 'auto', Breakpoint | ContainerBreakpoint>;
161
+ /**
162
+ * Number of grid row tracks this item spans, mapped to the `row-span-{n}` class. Takes an
163
+ * object per width, as `span` does.
164
+ */
165
+ rowSpan?: Responsive<number, Breakpoint | ContainerBreakpoint>;
166
+ /**
167
+ * Grid row line to start this item at, mapped to the `row-start-{n}` class (1 to 6), or
168
+ * `'auto'` (`row-start-auto`) to return it to the flow. Takes an object per width, as `span`
169
+ * does.
170
+ *
171
+ * @type { Responsive<number | 'auto', Breakpoint | ContainerBreakpoint> }
172
+ */
173
+ rowStart?: Responsive<number | 'auto', Breakpoint | ContainerBreakpoint>;
174
+ /**
175
+ * Grid row line to end this item at, mapped to the `row-end-{n}` class (1 to 7, the line after
176
+ * the last of 6 rows), or `'auto'` (`row-end-auto`) to undo an end line at a wider breakpoint.
177
+ * Takes an object per width, as `span` does.
178
+ *
179
+ * @type { Responsive<number | 'auto', Breakpoint | ContainerBreakpoint> }
180
+ */
181
+ rowEnd?: Responsive<number | 'auto', Breakpoint | ContainerBreakpoint>;
182
+ /**
183
+ * Turns this item into a nested subgrid: adds `.grid`/`.grid-cols-subgrid` alongside its
184
+ * `col-span-{n}`/`col-start-{n}` placement classes, so its own children inherit the parent
185
+ * `<Grid>`'s column tracks instead of defining new ones. Combine with `span` — a subgrid
186
+ * item must itself be a grid item of the parent for `grid-template-columns: subgrid` to take
187
+ * effect, which is why `subgrid` lives on `<GridItem>` (the element actually placed as a grid
188
+ * item) rather than on a `<Grid>` nested inside it.
189
+ */
190
+ subgrid?: boolean;
191
+ /**
192
+ * Number of equal rows in the subgrid's own row template: the `grid-rows-{n}` class for a
193
+ * count from 1 to 6, the same `grid-template-rows` set inline for any other. Only relevant
194
+ * when `subgrid` is set — subgrid only inherits the parent's column tracks, not its rows.
195
+ */
196
+ rows?: number;
197
+ /**
198
+ * Gap between the subgrid's children: a `Spacing` token (mapped to the `gap-{token}` class) or
199
+ * any raw CSS `gap` value (set via the `--cx-grid-gap` custom property). Only relevant when
200
+ * `subgrid` is set. A subgrid has the gap of its own: when the parent `<Grid>` takes a `gap`
201
+ * token, give the subgrid the same one, or its children are narrower than the parent's tracks.
202
+ *
203
+ * @type { Spacing | string }
204
+ */
205
+ gap?: Spacing | (string & {});
206
+ };
207
+ type GridItemProps<C extends ElementType = 'div'> = PolymorphicComponentProps<C, GridItemOwnProps<C>>;
208
+ type GridItemComponent = (<C extends ElementType = 'div'>(props: GridItemProps<C> & {
209
+ ref?: PolymorphicRef<C>;
210
+ }) => ReactElement | null) & {
211
+ displayName?: string;
212
+ };
213
+ declare const GridItem: GridItemComponent;
214
+ //#endregion
215
+ export { GridProps as a, GridFlow as i, GridItemProps as n, Container as o, Grid as r, ContainerProps as s, GridItem as t };
216
+ //# sourceMappingURL=index-CxjNw4ss.d.ts.map
@@ -1,7 +1,7 @@
1
1
  import "./focus-ring-SR_LwaN7.js";
2
2
  import { n as PolymorphicRef, t as PolymorphicComponentProps } from "./polymorphic-CVHbTHSN.js";
3
- import { n as ContextColor } from "./types-CS_40Txv.js";
4
- import { n as ButtonProps } from "./Button-Cptd4Yk7.js";
3
+ import { r as ContextColor } from "./types-D6FM7bYR.js";
4
+ import { n as ButtonProps } from "./Button-BuZ_GOHS.js";
5
5
  import { n as IconProps } from "./Icon-CioraWLF.js";
6
6
  import React, { DialogHTMLAttributes, ElementType, ReactElement } from "react";
7
7
  //#region src/components/alert/Alert.d.ts
@@ -205,4 +205,4 @@ type AlertTitleComponent = (<C extends ElementType = 'h2'>(props: AlertTitleProp
205
205
  declare const AlertTitle: AlertTitleComponent;
206
206
  //#endregion
207
207
  export { AlertIcon as a, AlertFooterProps as c, AlertCancel as d, AlertCancelProps as f, AlertProps as g, Alert as h, AlertTextProps as i, AlertCode as l, AlertBodyProps as m, AlertTitleProps as n, AlertIconProps as o, AlertBody as p, AlertText as r, AlertFooter as s, AlertTitle as t, AlertCodeProps as u };
208
- //# sourceMappingURL=index-DgHvXzVh.d.ts.map
208
+ //# sourceMappingURL=index-DHcztR18.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import "./focus-ring-SR_LwaN7.js";
2
- import { n as ContextColor } from "./types-CS_40Txv.js";
3
- import { t as ButtonObject } from "./renderFormCheck-DZh_5Df8.js";
2
+ import { r as ContextColor } from "./types-D6FM7bYR.js";
3
+ import { t as ButtonObject } from "./renderFormCheck-nKgpa_a3.js";
4
4
  import React, { HTMLAttributes, InputHTMLAttributes, ReactNode } from "react";
5
5
  //#region src/components/checkbox/Checkbox.d.ts
6
6
  interface CheckboxProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'checked' | 'defaultChecked' | 'onChange' | 'size'> {
@@ -130,4 +130,4 @@ interface CheckboxGroupProps extends Omit<HTMLAttributes<HTMLFieldSetElement>, '
130
130
  declare const CheckboxGroup: React.ForwardRefExoticComponent<CheckboxGroupProps & React.RefAttributes<HTMLFieldSetElement>>;
131
131
  //#endregion
132
132
  export { CheckboxProps as i, CheckboxGroupProps as n, Checkbox as r, CheckboxGroup as t };
133
- //# sourceMappingURL=index-DXjbI7Yv.d.ts.map
133
+ //# sourceMappingURL=index-DM01FX3a.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import "./focus-ring-SR_LwaN7.js";
2
2
  import { n as PolymorphicRef, t as PolymorphicComponentProps } from "./polymorphic-CVHbTHSN.js";
3
- import { n as ContextColor } from "./types-CS_40Txv.js";
3
+ import { r as ContextColor } from "./types-D6FM7bYR.js";
4
4
  import { n as IconProps } from "./Icon-CioraWLF.js";
5
5
  import React, { ElementType, HTMLAttributes, ReactElement, ReactNode } from "react";
6
6
  import { ToastQueue } from "react-stately";
@@ -268,4 +268,4 @@ type UseToastResult = ToastContextProps;
268
268
  declare const useToast: () => UseToastResult;
269
269
  //#endregion
270
270
  export { Toast as _, closeToast as a, ToasterProps as c, ToastHeader as d, ToastHeaderProps as f, ToastBodyProps as g, ToastBody as h, addToast as i, ToastIcon as l, ToastFooterProps as m, useToast as n, toastQueue as o, ToastFooter as p, ToastContent as r, Toaster as s, UseToastResult as t, ToastIconProps as u, ToastProps as v };
271
- //# sourceMappingURL=index-CYgBmZ8w.d.ts.map
271
+ //# sourceMappingURL=index-DP5xugE-.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import "./focus-ring-SR_LwaN7.js";
2
2
  import { n as PolymorphicRef, t as PolymorphicComponentProps } from "./polymorphic-CVHbTHSN.js";
3
- import { t as Breakpoint } from "./types-CS_40Txv.js";
3
+ import { t as Breakpoint } from "./types-D6FM7bYR.js";
4
4
  import { i as IconValue } from "./iconConfig-C6gbYhsD.js";
5
5
  import { t as Placement } from "./overlayPlacement-CIsLpycT.js";
6
6
  import { ElementType, ReactElement, ReactNode } from "react";
@@ -92,4 +92,4 @@ type NavOverflowComponent = (<C extends ElementType = 'div'>(props: NavOverflowP
92
92
  declare const NavOverflow: NavOverflowComponent;
93
93
  //#endregion
94
94
  export { NavOverflowDetail as n, NavOverflowProps as r, NavOverflow as t };
95
- //# sourceMappingURL=index-FKh7iFQE.d.ts.map
95
+ //# sourceMappingURL=index-DPCwFiJL.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import "./focus-ring-SR_LwaN7.js";
2
2
  import { n as PolymorphicRef, t as PolymorphicComponentProps } from "./polymorphic-CVHbTHSN.js";
3
- import { n as LinkProps } from "./Link-nrd0JWlO.js";
3
+ import { n as LinkProps } from "./Link-CKymd2ru.js";
4
4
  import { t as NavVariant } from "./navVariant-CnD21GBS.js";
5
5
  import React, { ElementType, HTMLAttributes, ReactElement, Ref } from "react";
6
6
  //#region src/components/nav/Nav.d.ts
@@ -107,4 +107,4 @@ interface NavTitleProps extends HTMLAttributes<HTMLLIElement> {
107
107
  declare const NavTitle: React.ForwardRefExoticComponent<NavTitleProps & React.RefAttributes<HTMLLIElement>>;
108
108
  //#endregion
109
109
  export { NavLink as a, NavItemDef as c, NavItemProps as i, NavProps as l, NavTitleProps as n, NavLinkProps as o, NavItem as r, Nav as s, NavTitle as t };
110
- //# sourceMappingURL=index-DJr_ZK4b.d.ts.map
110
+ //# sourceMappingURL=index-DQImhbhy.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import "./focus-ring-SR_LwaN7.js";
2
2
  import { n as PolymorphicRef, r as PolymorphicRefWithFallback, t as PolymorphicComponentProps } from "./polymorphic-CVHbTHSN.js";
3
- import { n as ContextColor, r as ContextStyle } from "./types-CS_40Txv.js";
3
+ import { i as ContextStyle, r as ContextColor } from "./types-D6FM7bYR.js";
4
4
  import React, { ElementType, ReactElement } from "react";
5
5
  //#region src/components/list/List.d.ts
6
6
  interface ListItemDef {
@@ -117,4 +117,4 @@ type ListItemComponent = (<C extends ElementType = 'li'>(props: ListItemProps<C>
117
117
  declare const ListItem: ListItemComponent;
118
118
  //#endregion
119
119
  export { ListProps as a, ListItemDef as i, ListItemProps as n, List as r, ListItem as t };
120
- //# sourceMappingURL=index-CJXKl97l.d.ts.map
120
+ //# sourceMappingURL=index-DtvHH_Mb.d.ts.map
@@ -1,8 +1,8 @@
1
1
  import "./focus-ring-SR_LwaN7.js";
2
2
  import { n as PolymorphicRef, t as PolymorphicComponentProps } from "./polymorphic-CVHbTHSN.js";
3
- import { n as ContextColor, o as Sizing, r as ContextStyle, s as Spacing, t as Breakpoint } from "./types-CS_40Txv.js";
4
- import { t as FlexDirection } from "./breakpoints-CJ-498B7.js";
5
- import { n as LinkProps } from "./Link-nrd0JWlO.js";
3
+ import { c as Sizing, i as ContextStyle, l as Spacing, o as Responsive, r as ContextColor } from "./types-D6FM7bYR.js";
4
+ import { t as FlexDirection } from "./breakpoints-ECy4lKQT.js";
5
+ import { n as LinkProps } from "./Link-CKymd2ru.js";
6
6
  import { ElementType, ReactElement, ReactNode } from "react";
7
7
  //#region src/components/card/Card.d.ts
8
8
  type CardOwnProps<C extends ElementType> = {
@@ -20,9 +20,11 @@ type CardOwnProps<C extends ElementType> = {
20
20
  color?: ContextColor;
21
21
  /**
22
22
  * Switches the card from its default stacked (column) layout to a side-by-side (row) layout.
23
- * Wrap the image and body in `Col` to control each side's width.
23
+ * Give the image and the body a width utility (`w-4/12`, `w-8/12`) to control each side's
24
+ * width. An object sets the direction from a breakpoint up — e.g. `{ lg: 'row' }` to lay the
25
+ * card out horizontally from `lg` up while stacking below it.
24
26
  */
25
- direction?: FlexDirection;
27
+ direction?: Responsive<FlexDirection>;
26
28
  /**
27
29
  * Shorthand for a `CardFooter`, rendered after the image/title/subtitle/text/`children` block.
28
30
  */
@@ -44,11 +46,6 @@ type CardOwnProps<C extends ElementType> = {
44
46
  * Orientates `image` to the top (default) or bottom of the card.
45
47
  */
46
48
  imageOrientation?: 'top' | 'bottom';
47
- /**
48
- * Overrides `direction` at one or more breakpoints — e.g. `{ lg: 'row' }` to lay the card
49
- * out horizontally from `lg` up while stacking below it.
50
- */
51
- responsive?: Partial<Record<Breakpoint, FlexDirection>>;
52
49
  /**
53
50
  * Sets the size of the component to one of Chassis component sizes.
54
51
  */
@@ -96,20 +93,19 @@ type CardBodyOwnProps<C extends ElementType> = {
96
93
  component?: C;
97
94
  /**
98
95
  * Switches the body from its default stacked (column) layout to a side-by-side (row) layout —
99
- * for placing an image beside text within a single padded region. Wrap the image and text in
100
- * `Col` to control each side's width, and nest another `CardBody` (with `.p-0`) for the text
101
- * side so it doesn't receive double padding.
96
+ * for placing an image beside text within a single padded region. Give the image and the text
97
+ * a width utility (`w-4/12`, `w-8/12`) to control each side's width, and nest another
98
+ * `CardBody` (with `.p-0`) for the text side so it doesn't receive double padding. An object
99
+ * sets the direction from a breakpoint up: `{ md: 'row' }`.
102
100
  */
103
- direction?: FlexDirection;
101
+ direction?: Responsive<FlexDirection>;
104
102
  /**
105
103
  * Spacing between children, mapped to the `gap-*` utility classes. Overrides the card's default
106
104
  * gap between body children.
105
+ *
106
+ * @type { Spacing | 0 }
107
107
  */
108
108
  gap?: Spacing | 0;
109
- /**
110
- * Overrides `direction` at one or more breakpoints.
111
- */
112
- responsive?: Partial<Record<Breakpoint, FlexDirection>>;
113
109
  };
114
110
  type CardBodyProps<C extends ElementType = 'div'> = PolymorphicComponentProps<C, CardBodyOwnProps<C>>;
115
111
  type CardBodyComponent = (<C extends ElementType = 'div'>(props: CardBodyProps<C> & {
@@ -191,14 +187,11 @@ type CardImageOwnProps<C extends ElementType> = {
191
187
  component?: C;
192
188
  /**
193
189
  * Orientates the image to the top or bottom of the card as an "image cap", or to the start/end
194
- * for a horizontal layout. Omit to round all four corners for use inside `CardBody`.
195
- */
196
- orientation?: CardImageOrientation;
197
- /**
198
- * Overrides `orientation` at one or more breakpoints — e.g. `{ lg: 'start' }` to switch an
190
+ * for a horizontal layout. Omit to round all four corners for use inside `CardBody`. An object
191
+ * sets the orientation from a breakpoint up — e.g. `{ base: 'top', lg: 'start' }` to switch an
199
192
  * image cap from `top` to `start` once the card lays out horizontally.
200
193
  */
201
- responsive?: Partial<Record<Breakpoint, CardImageOrientation>>;
194
+ orientation?: Responsive<CardImageOrientation>;
202
195
  };
203
196
  type CardImageProps<C extends ElementType = 'img'> = PolymorphicComponentProps<C, CardImageOwnProps<C>>;
204
197
  type CardImageComponent = (<C extends ElementType = 'img'>(props: CardImageProps<C> & {
@@ -300,4 +293,4 @@ type CardTitleComponent = (<C extends ElementType = 'h5'>(props: CardTitleProps<
300
293
  declare const CardTitle: CardTitleComponent;
301
294
  //#endregion
302
295
  export { CardProps as S, CardFooter as _, CardSubtitle as a, CardBodyProps as b, CardLinkProps as c, CardImage as d, CardImageProps as f, CardGroupProps as g, CardGroup as h, CardTextProps as i, CardImageOverlay as l, CardHeaderProps as m, CardTitleProps as n, CardSubtitleProps as o, CardHeader as p, CardText as r, CardLink as s, CardTitle as t, CardImageOverlayProps as u, CardFooterProps as v, Card as x, CardBody as y };
303
- //# sourceMappingURL=index-CKx1KHED.d.ts.map
296
+ //# sourceMappingURL=index-NGgDkhyn.d.ts.map
@@ -1,4 +1,4 @@
1
- import { n as ContextColor, t as Breakpoint } from "./types-CS_40Txv.js";
1
+ import { r as ContextColor, t as Breakpoint } from "./types-D6FM7bYR.js";
2
2
  import React, { ReactNode, TableHTMLAttributes } from "react";
3
3
  //#region src/utils/tableClassName.d.ts
4
4
  interface TableStyleProps {
@@ -71,4 +71,4 @@ interface StaticTableProps extends TableStyleProps, Omit<TableHTMLAttributes<HTM
71
71
  declare const StaticTable: React.ForwardRefExoticComponent<StaticTableProps & React.RefAttributes<HTMLTableElement>>;
72
72
  //#endregion
73
73
  export { StaticTableProps as n, StaticTable as t };
74
- //# sourceMappingURL=index-Dfy1YW5j.d.ts.map
74
+ //# sourceMappingURL=index-U27Ar174.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import "./focus-ring-SR_LwaN7.js";
2
2
  import { n as PolymorphicRef, t as PolymorphicComponentProps } from "./polymorphic-CVHbTHSN.js";
3
- import { s as Spacing, t as Breakpoint } from "./types-CS_40Txv.js";
3
+ import { l as Spacing, o as Responsive } from "./types-D6FM7bYR.js";
4
4
  import { ElementType, ReactElement } from "react";
5
5
  //#region src/components/stack/Stack.d.ts
6
6
  type StackOwnProps<C extends ElementType> = {
@@ -14,19 +14,18 @@ type StackOwnProps<C extends ElementType> = {
14
14
  component?: C;
15
15
  /**
16
16
  * Lays children out in a row (`horizontal`, the default, maps to `.hstack`) or a column
17
- * (`vertical`, maps to `.vstack`).
17
+ * (`vertical`, maps to `.vstack`). An object switches the direction from a breakpoint up:
18
+ * `{ base: 'vertical', md: 'horizontal' }`. The breakpoints are container queries, so they
19
+ * require a `.contains-inline` ancestor (not applied by `Stack` itself — see the docs) to
20
+ * establish the container context they evaluate against.
18
21
  */
19
- direction?: 'horizontal' | 'vertical';
22
+ direction?: Responsive<'horizontal' | 'vertical'>;
20
23
  /**
21
24
  * Spacing between children, mapped to the `gap-*` utility classes.
25
+ *
26
+ * @type { Spacing | 0 }
22
27
  */
23
28
  gap?: Spacing | 0;
24
- /**
25
- * Switches `direction` at one or more breakpoints via container queries. Requires a
26
- * `.contains-inline` ancestor (not applied by `Stack` itself — see the docs) to establish the
27
- * container context these queries evaluate against.
28
- */
29
- responsive?: Partial<Record<Breakpoint, 'horizontal' | 'vertical'>>;
30
29
  };
31
30
  type StackProps<C extends ElementType = 'div'> = PolymorphicComponentProps<C, StackOwnProps<C>>;
32
31
  type StackComponent = (<C extends ElementType = 'div'>(props: StackProps<C> & {
@@ -37,4 +36,4 @@ type StackComponent = (<C extends ElementType = 'div'>(props: StackProps<C> & {
37
36
  declare const Stack: StackComponent;
38
37
  //#endregion
39
38
  export { StackProps as n, Stack as t };
40
- //# sourceMappingURL=index-CsMIgBsd.d.ts.map
39
+ //# sourceMappingURL=index-YJ9QdBuq.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import "./focus-ring-SR_LwaN7.js";
2
2
  import { n as PolymorphicRef, t as PolymorphicComponentProps } from "./polymorphic-CVHbTHSN.js";
3
- import { n as ContextColor, o as Sizing, r as ContextStyle } from "./types-CS_40Txv.js";
3
+ import { c as Sizing, i as ContextStyle, r as ContextColor } from "./types-D6FM7bYR.js";
4
4
  import { ElementType, ReactElement } from "react";
5
5
  //#region src/components/badge/Badge.d.ts
6
6
  type BadgeOwnProps<C extends ElementType> = {
@@ -42,4 +42,4 @@ type BadgeComponent = (<C extends ElementType = 'span'>(props: BadgeProps<C> & {
42
42
  declare const Badge: BadgeComponent;
43
43
  //#endregion
44
44
  export { BadgeProps as n, Badge as t };
45
- //# sourceMappingURL=index-Dh5CaHTP.d.ts.map
45
+ //# sourceMappingURL=index-aRdgpeRb.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import "./focus-ring-SR_LwaN7.js";
2
- import { n as ContextColor } from "./types-CS_40Txv.js";
2
+ import { r as ContextColor } from "./types-D6FM7bYR.js";
3
3
  import React, { InputHTMLAttributes, ReactNode } from "react";
4
4
  //#region src/components/switch/Switch.d.ts
5
5
  interface SwitchProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'checked' | 'defaultChecked' | 'onChange' | 'size'> {
@@ -56,4 +56,4 @@ interface SwitchProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'check
56
56
  declare const Switch: React.ForwardRefExoticComponent<SwitchProps & React.RefAttributes<HTMLInputElement>>;
57
57
  //#endregion
58
58
  export { SwitchProps as n, Switch as t };
59
- //# sourceMappingURL=index-BO9jLOIb.d.ts.map
59
+ //# sourceMappingURL=index-lSPcxiii.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import "./focus-ring-SR_LwaN7.js";
2
2
  import { n as PolymorphicRef, r as PolymorphicRefWithFallback, t as PolymorphicComponentProps } from "./polymorphic-CVHbTHSN.js";
3
- import { n as ContextColor, r as ContextStyle, t as Breakpoint } from "./types-CS_40Txv.js";
3
+ import { i as ContextStyle, r as ContextColor, t as Breakpoint } from "./types-D6FM7bYR.js";
4
4
  import { i as IconValue } from "./iconConfig-C6gbYhsD.js";
5
5
  import React, { ElementType, HTMLAttributes, ReactElement } from "react";
6
6
  //#region src/components/navbar/Navbar.d.ts
@@ -135,4 +135,4 @@ interface NavbarTogglerProps extends HTMLAttributes<HTMLButtonElement> {
135
135
  declare const NavbarToggler: React.ForwardRefExoticComponent<NavbarTogglerProps & React.RefAttributes<HTMLButtonElement>>;
136
136
  //#endregion
137
137
  export { NavbarNav as a, NavbarBrandProps as c, NavbarTextProps as i, Navbar as l, NavbarTogglerProps as n, NavbarNavProps as o, NavbarText as r, NavbarBrand as s, NavbarToggler as t, NavbarProps as u };
138
- //# sourceMappingURL=index-DceCODH9.d.ts.map
138
+ //# sourceMappingURL=index-x0vZRyoU.d.ts.map
@@ -1,2 +1,2 @@
1
- import"./focus-ring-SR_LwaN7.js";import{t as e}from"./polymorphic-BhGNZQja.js";import{n as t,r as n,t as r}from"./useToastRegionQueue-CIV5SdiE.js";import{t as i}from"./Icon-DLB1f88W.js";import{n as a}from"./iconSlot-BNu2MrFI.js";import{t as o}from"./CloseButton-DPgQztE0.js";import{t as s}from"./stack-CsMiQbpq.js";import c,{createContext as l,forwardRef as u,useContext as d}from"react";import f from"classnames";import{mergeProps as p}from"react-aria";import{ToastQueue as m}from"react-stately";const h=l({close:()=>{}}),g=()=>d(h);function _({children:e,component:t,className:n,...r},i){let a=t??`div`,o=f(`notification-text`,n);return c.createElement(a,{className:o,...r,ref:i},e)}const v=e(_,`NotificationText`);function y({children:e,className:t,component:n,...r},i){let a=n??`h4`,o=f(`notification-title`,t);return c.createElement(a,{className:o,...r,ref:i},e)}const b=e(y,`NotificationTitle`),x=u(({actions:e,autohide:r=!1,children:i,className:s,closeLabel:l=`Close`,color:u=`primary`,defaultVisible:d=!0,delay:m=5e3,dismissible:g,icon:_,solid:y,text:x,title:S,titleComponent:C=`h4`,role:w=`status`,visible:T,onClose:E,onShow:D,onVisibleChange:O,...k},A)=>{let{close:j,entered:M,forkedRef:N,isMounted:P,textId:F,titleId:I,transitionClass:L,visible:R}=t({defaultVisible:d,displayName:`Notification`,onClose:E,onShow:D,onVisibleChange:O,ref:A,visible:T}),z=n({enabled:r,delay:m,visible:R&&M,onHide:j}),B=f(`notification`,`fade`,u,{solid:y},s);return P?c.createElement(h.Provider,{value:{visible:R,close:j}},c.createElement(`div`,{className:f(B,L),role:w,"aria-labelledby":S?I:void 0,"aria-describedby":S&&x?F:void 0,...p(k,z),ref:N},_&&(typeof _==`string`?c.createElement(a,{value:_,className:f(`notification-icon`,{"align-self-start":!!S})}):_),S&&c.createElement(b,{id:I,component:C},S),x&&c.createElement(v,{id:F},x),i,e,g&&c.createElement(o,{label:l,onClick:j}))):null});x.displayName=`Notification`;const S=u(({className:e,...t},n)=>{let r=f(`notification-icon`,e);return c.createElement(i,{className:r,...t,ref:n})});S.displayName=`NotificationIcon`;const C=new m;function w(e,t={}){return C.add({children:e,...t})}function T(e){C.close(e)}const E=u(({children:e,className:t,reverse:n,...i},a)=>{let{forkedRef:o,regionProps:l,state:u}=r(C,a);if(u.visibleToasts.length===0&&!e)return null;let d=n?[...u.visibleToasts].reverse():u.visibleToasts;return c.createElement(s,{direction:`vertical`,gap:`sm`,className:t,...l,...i,ref:o},e,d.map(e=>{let{children:t,...n}=e.content;return c.createElement(x,{key:e.key,...n,onClose:()=>u.close(e.key)},t)}))});E.displayName=`NotificationStack`;export{S as a,v as c,C as i,g as l,w as n,x as o,T as r,b as s,E as t};
2
- //# sourceMappingURL=notification-Ds24wnPq.js.map
1
+ import"./focus-ring-SR_LwaN7.js";import{t as e}from"./polymorphic-BhGNZQja.js";import{n as t,r as n,t as r}from"./useToastRegionQueue-CIV5SdiE.js";import{t as i}from"./Icon-DLB1f88W.js";import{n as a}from"./iconSlot-BNu2MrFI.js";import{t as o}from"./CloseButton-DPgQztE0.js";import{t as s}from"./stack-DK5F53VT.js";import c,{createContext as l,forwardRef as u,useContext as d}from"react";import f from"classnames";import{mergeProps as p}from"react-aria";import{ToastQueue as m}from"react-stately";const h=l({close:()=>{}}),g=()=>d(h);function _({children:e,component:t,className:n,...r},i){let a=t??`div`,o=f(`notification-text`,n);return c.createElement(a,{className:o,...r,ref:i},e)}const v=e(_,`NotificationText`);function y({children:e,className:t,component:n,...r},i){let a=n??`h4`,o=f(`notification-title`,t);return c.createElement(a,{className:o,...r,ref:i},e)}const b=e(y,`NotificationTitle`),x=u(({actions:e,autohide:r=!1,children:i,className:s,closeLabel:l=`Close`,color:u=`primary`,defaultVisible:d=!0,delay:m=5e3,dismissible:g,icon:_,solid:y,text:x,title:S,titleComponent:C=`h4`,role:w=`status`,visible:T,onClose:E,onShow:D,onVisibleChange:O,...k},A)=>{let{close:j,entered:M,forkedRef:N,isMounted:P,textId:F,titleId:I,transitionClass:L,visible:R}=t({defaultVisible:d,displayName:`Notification`,onClose:E,onShow:D,onVisibleChange:O,ref:A,visible:T}),z=n({enabled:r,delay:m,visible:R&&M,onHide:j}),B=f(`notification`,`fade`,u,{solid:y},s);return P?c.createElement(h.Provider,{value:{visible:R,close:j}},c.createElement(`div`,{className:f(B,L),role:w,"aria-labelledby":S?I:void 0,"aria-describedby":S&&x?F:void 0,...p(k,z),ref:N},_&&(typeof _==`string`?c.createElement(a,{value:_,className:f(`notification-icon`,{"align-self-start":!!S})}):_),S&&c.createElement(b,{id:I,component:C},S),x&&c.createElement(v,{id:F},x),i,e,g&&c.createElement(o,{label:l,onClick:j}))):null});x.displayName=`Notification`;const S=u(({className:e,...t},n)=>{let r=f(`notification-icon`,e);return c.createElement(i,{className:r,...t,ref:n})});S.displayName=`NotificationIcon`;const C=new m;function w(e,t={}){return C.add({children:e,...t})}function T(e){C.close(e)}const E=u(({children:e,className:t,reverse:n,...i},a)=>{let{forkedRef:o,regionProps:l,state:u}=r(C,a);if(u.visibleToasts.length===0&&!e)return null;let d=n?[...u.visibleToasts].reverse():u.visibleToasts;return c.createElement(s,{direction:`vertical`,gap:`sm`,className:t,...l,...i,ref:o},e,d.map(e=>{let{children:t,...n}=e.content;return c.createElement(x,{key:e.key,...n,onClose:()=>u.close(e.key)},t)}))});E.displayName=`NotificationStack`;export{S as a,v as c,C as i,g as l,w as n,x as o,T as r,b as s,E as t};
2
+ //# sourceMappingURL=notification-Dbci5Ka3.js.map