@chassis-ui/react 0.3.0 → 0.4.1
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.
- package/README.md +2 -2
- package/dist/alert.d.ts +1 -1
- package/dist/alert.js +1 -1
- package/dist/avatar.d.ts +1 -1
- package/dist/avatar.js +1 -1
- package/dist/badge.d.ts +1 -1
- package/dist/breadcrumb.js +1 -1
- package/dist/button.d.ts +1 -1
- package/dist/card.d.ts +1 -1
- package/dist/card.js +1 -1
- package/dist/checkbox.d.ts +2 -2
- package/dist/checkbox.js +1 -1
- package/dist/chip.d.ts +1 -1
- package/dist/chunks/{Button-Cptd4Yk7.d.ts → Button-BuZ_GOHS.d.ts} +2 -2
- package/dist/chunks/{Link-nrd0JWlO.d.ts → Link-CKymd2ru.d.ts} +2 -2
- package/dist/chunks/Link-DyZyAQFj.js +2 -0
- package/dist/chunks/Link-DyZyAQFj.js.map +1 -0
- package/dist/chunks/{MenuToggle-BdQtF7FV.js → MenuToggle-7RQ0dmtZ.js} +2 -2
- package/dist/chunks/{MenuToggle-BdQtF7FV.js.map → MenuToggle-7RQ0dmtZ.js.map} +1 -1
- package/dist/chunks/alert-3kTBfWFw.js +2 -0
- package/dist/chunks/{alert-BXI-_qlt.js.map → alert-3kTBfWFw.js.map} +1 -1
- package/dist/chunks/{avatar-S3dGy6Qc.js → avatar-MklqAKcz.js} +2 -2
- package/dist/chunks/{avatar-S3dGy6Qc.js.map → avatar-MklqAKcz.js.map} +1 -1
- package/dist/chunks/{breadcrumb-s6J9itez.js → breadcrumb-CHxTiZLt.js} +2 -2
- package/dist/chunks/{breadcrumb-s6J9itez.js.map → breadcrumb-CHxTiZLt.js.map} +1 -1
- package/dist/chunks/breakpoints-CGk8szzR.js +2 -0
- package/dist/chunks/breakpoints-CGk8szzR.js.map +1 -0
- package/dist/chunks/breakpoints-ECy4lKQT.d.ts +6 -0
- package/dist/chunks/card-CTP9K8xG.js +2 -0
- package/dist/chunks/card-CTP9K8xG.js.map +1 -0
- package/dist/chunks/{checkbox-ChACalAw.js → checkbox-ZyQn5Ku5.js} +2 -2
- package/dist/chunks/{checkbox-ChACalAw.js.map → checkbox-ZyQn5Ku5.js.map} +1 -1
- package/dist/chunks/colorClassNames-CEh5Yzfp.js +2 -0
- package/dist/chunks/colorClassNames-CEh5Yzfp.js.map +1 -0
- package/dist/chunks/datagrid-DOYxx0sF.js +3 -0
- package/dist/chunks/datagrid-DOYxx0sF.js.map +1 -0
- package/dist/chunks/flex-B52oLCCC.js +2 -0
- package/dist/chunks/flex-B52oLCCC.js.map +1 -0
- package/dist/chunks/grid-C7tO-ppc.js +2 -0
- package/dist/chunks/grid-C7tO-ppc.js.map +1 -0
- package/dist/chunks/{index-Bm2NpgND.d.ts → index-0jbACjYQ.d.ts} +2 -2
- package/dist/chunks/{index-D9PZHY_I.d.ts → index-B19ZH3fm.d.ts} +2 -2
- package/dist/chunks/{index-COsIPd8L.d.ts → index-B1kw0jzM.d.ts} +2 -2
- package/dist/chunks/{index-e7SJkI_m.d.ts → index-BLS1jhSJ.d.ts} +2 -2
- package/dist/chunks/{index-DjrEvKd-.d.ts → index-BMkbJVHg.d.ts} +2 -2
- package/dist/chunks/{index-t_x6jj7l.d.ts → index-BOx8v-oT.d.ts} +2 -2
- package/dist/chunks/index-BSLneLYu.d.ts +79 -0
- package/dist/chunks/{index-BnR7wjax.d.ts → index-BfEJYF4c.d.ts} +2 -2
- package/dist/chunks/{index-CRfm7W6C.d.ts → index-C9gzVqwX.d.ts} +2 -2
- package/dist/chunks/{index-DjXRq-n3.d.ts → index-CHQR8x8_.d.ts} +6 -12
- package/dist/chunks/{index-BTTeKpiE.d.ts → index-CIwzgZJi.d.ts} +2 -2
- package/dist/chunks/{index-I-H3VJ-L.d.ts → index-CYvVmTPR.d.ts} +4 -4
- package/dist/chunks/{index-qMq_-GY2.d.ts → index-CjT_4IZx.d.ts} +3 -3
- package/dist/chunks/index-CxjNw4ss.d.ts +216 -0
- package/dist/chunks/{index-DgHvXzVh.d.ts → index-DHcztR18.d.ts} +3 -3
- package/dist/chunks/{index-DXjbI7Yv.d.ts → index-DM01FX3a.d.ts} +3 -3
- package/dist/chunks/{index-CYgBmZ8w.d.ts → index-DP5xugE-.d.ts} +2 -2
- package/dist/chunks/{index-FKh7iFQE.d.ts → index-DPCwFiJL.d.ts} +2 -2
- package/dist/chunks/{index-DJr_ZK4b.d.ts → index-DQImhbhy.d.ts} +2 -2
- package/dist/chunks/{index-CJXKl97l.d.ts → index-DtvHH_Mb.d.ts} +2 -2
- package/dist/chunks/{index-CJzKu7QI.d.ts → index-Dzga1f4w.d.ts} +3 -3
- package/dist/chunks/{index-CKx1KHED.d.ts → index-NGgDkhyn.d.ts} +18 -25
- package/dist/chunks/{index-Dfy1YW5j.d.ts → index-U27Ar174.d.ts} +2 -2
- package/dist/chunks/{index-CsMIgBsd.d.ts → index-YJ9QdBuq.d.ts} +9 -10
- package/dist/chunks/{index-Dh5CaHTP.d.ts → index-aRdgpeRb.d.ts} +2 -2
- package/dist/chunks/{index-BO9jLOIb.d.ts → index-lSPcxiii.d.ts} +2 -2
- package/dist/chunks/{index-DceCODH9.d.ts → index-x0vZRyoU.d.ts} +2 -2
- package/dist/chunks/{list-BQCkwWjF.js → list-07e2a1Ym.js} +2 -2
- package/dist/chunks/{list-BQCkwWjF.js.map → list-07e2a1Ym.js.map} +1 -1
- package/dist/chunks/{menu-98EAD9nj.js → menu-Upf6P-2P.js} +2 -2
- package/dist/chunks/{menu-98EAD9nj.js.map → menu-Upf6P-2P.js.map} +1 -1
- package/dist/chunks/{nav-TiZuTHC6.js → nav-DI6oEULI.js} +2 -2
- package/dist/chunks/{nav-TiZuTHC6.js.map → nav-DI6oEULI.js.map} +1 -1
- package/dist/chunks/{nav-overflow-Ay5mM5Gc.js → nav-overflow-DlLer6EK.js} +2 -2
- package/dist/chunks/{nav-overflow-Ay5mM5Gc.js.map → nav-overflow-DlLer6EK.js.map} +1 -1
- package/dist/chunks/{notification-Ds24wnPq.js → notification-Dbci5Ka3.js} +2 -2
- package/dist/chunks/{notification-Ds24wnPq.js.map → notification-Dbci5Ka3.js.map} +1 -1
- package/dist/chunks/pagination-BREQp-ZC.js +2 -0
- package/dist/chunks/{pagination-BkOquk-x.js.map → pagination-BREQp-ZC.js.map} +1 -1
- package/dist/chunks/placeholder-DhNpUJqv.js +2 -0
- package/dist/chunks/placeholder-DhNpUJqv.js.map +1 -0
- package/dist/chunks/progress-BqgWezdG.js +2 -0
- package/dist/chunks/progress-BqgWezdG.js.map +1 -0
- package/dist/chunks/{radio-DOFYCfJi.js → radio-B6gJdtoN.js} +2 -2
- package/dist/chunks/{radio-DOFYCfJi.js.map → radio-B6gJdtoN.js.map} +1 -1
- package/dist/chunks/{renderFormCheck-DZh_5Df8.d.ts → renderFormCheck-nKgpa_a3.d.ts} +2 -2
- package/dist/chunks/skeleton-Bjv9gGd3.js +2 -0
- package/dist/chunks/skeleton-Bjv9gGd3.js.map +1 -0
- package/dist/chunks/spacingClassName-DVhk8m3P.js.map +1 -1
- package/dist/chunks/spinner-DBuvQvMR.js +2 -0
- package/dist/chunks/spinner-DBuvQvMR.js.map +1 -0
- package/dist/chunks/stack-DK5F53VT.js +2 -0
- package/dist/chunks/stack-DK5F53VT.js.map +1 -0
- package/dist/chunks/static-table-uu297Liz.js +2 -0
- package/dist/chunks/{static-table-D0M4oc_t.js.map → static-table-uu297Liz.js.map} +1 -1
- package/dist/chunks/{table-Cy6uEuEP.js → table-DPLOygg0.js} +2 -2
- package/dist/chunks/{table-Cy6uEuEP.js.map → table-DPLOygg0.js.map} +1 -1
- package/dist/chunks/tableClassName-DleBjOj2.js +2 -0
- package/dist/chunks/tableClassName-DleBjOj2.js.map +1 -0
- package/dist/chunks/{types-CS_40Txv.d.ts → types-D6FM7bYR.d.ts} +16 -2
- package/dist/close-button.d.ts +1 -1
- package/dist/datagrid.d.ts +1 -1
- package/dist/datagrid.js +1 -1
- package/dist/flex.d.ts +1 -1
- package/dist/flex.js +1 -1
- package/dist/grid.d.ts +2 -2
- package/dist/grid.js +1 -1
- package/dist/index.d.ts +32 -32
- package/dist/index.js +1 -1
- package/dist/link.d.ts +1 -1
- package/dist/link.js +1 -1
- package/dist/list.d.ts +1 -1
- package/dist/list.js +1 -1
- package/dist/menu.d.ts +1 -1
- package/dist/menu.js +1 -1
- package/dist/nav-overflow.d.ts +1 -1
- package/dist/nav-overflow.js +1 -1
- package/dist/nav.d.ts +1 -1
- package/dist/nav.js +1 -1
- package/dist/navbar.d.ts +1 -1
- package/dist/notification.d.ts +1 -1
- package/dist/notification.js +1 -1
- package/dist/pagination.js +1 -1
- package/dist/placeholder.d.ts +1 -1
- package/dist/placeholder.js +1 -1
- package/dist/progress.d.ts +1 -1
- package/dist/progress.js +1 -1
- package/dist/radio.d.ts +1 -1
- package/dist/radio.js +1 -1
- package/dist/skeleton.d.ts +1 -1
- package/dist/skeleton.js +1 -1
- package/dist/spinner.d.ts +1 -1
- package/dist/spinner.js +1 -1
- package/dist/stack.d.ts +1 -1
- package/dist/stack.js +1 -1
- package/dist/static-table.d.ts +1 -1
- package/dist/static-table.js +1 -1
- package/dist/stepper.d.ts +1 -1
- package/dist/switch.d.ts +1 -1
- package/dist/table.d.ts +1 -1
- package/dist/table.js +1 -1
- package/dist/toast.d.ts +1 -1
- package/package.json +4 -4
- package/dist/chunks/Link-CZsWCnQb.js +0 -2
- package/dist/chunks/Link-CZsWCnQb.js.map +0 -1
- package/dist/chunks/alert-BXI-_qlt.js +0 -2
- package/dist/chunks/breakpoints-CJ-498B7.d.ts +0 -7
- package/dist/chunks/breakpoints-o_2Ev7ir.js +0 -2
- package/dist/chunks/breakpoints-o_2Ev7ir.js.map +0 -1
- package/dist/chunks/card-YXn3bj_d.js +0 -2
- package/dist/chunks/card-YXn3bj_d.js.map +0 -1
- package/dist/chunks/datagrid-CH3Cy-q7.js +0 -3
- package/dist/chunks/datagrid-CH3Cy-q7.js.map +0 -1
- package/dist/chunks/flex-CmlJbKVj.js +0 -2
- package/dist/chunks/flex-CmlJbKVj.js.map +0 -1
- package/dist/chunks/grid-DK_vxz-4.js +0 -2
- package/dist/chunks/grid-DK_vxz-4.js.map +0 -1
- package/dist/chunks/index-CVUMS0x7.d.ts +0 -74
- package/dist/chunks/index-RHJhkSY-.d.ts +0 -273
- package/dist/chunks/pagination-BkOquk-x.js +0 -2
- package/dist/chunks/placeholder-BCr83sUn.js +0 -2
- package/dist/chunks/placeholder-BCr83sUn.js.map +0 -1
- package/dist/chunks/progress-zWkTltor.js +0 -2
- package/dist/chunks/progress-zWkTltor.js.map +0 -1
- package/dist/chunks/skeleton-BrD2JwNx.js +0 -2
- package/dist/chunks/skeleton-BrD2JwNx.js.map +0 -1
- package/dist/chunks/spinner-DblhvrHL.js +0 -2
- package/dist/chunks/spinner-DblhvrHL.js.map +0 -1
- package/dist/chunks/stack-CsMiQbpq.js +0 -2
- package/dist/chunks/stack-CsMiQbpq.js.map +0 -1
- package/dist/chunks/static-table-D0M4oc_t.js +0 -2
- package/dist/chunks/tableClassName-CZA2Bse8.js +0 -2
- package/dist/chunks/tableClassName-CZA2Bse8.js.map +0 -1
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import "./focus-ring-SR_LwaN7.js";
|
|
2
|
+
import { n as PolymorphicRef, t as PolymorphicComponentProps } from "./polymorphic-CVHbTHSN.js";
|
|
3
|
+
import { l as Spacing, o as Responsive } from "./types-D6FM7bYR.js";
|
|
4
|
+
import { ElementType, ReactElement } from "react";
|
|
5
|
+
//#region src/components/flex/Flex.d.ts
|
|
6
|
+
type FlexOwnProps<C extends ElementType> = {
|
|
7
|
+
/**
|
|
8
|
+
* A string of all className you want applied to the 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
|
+
* Renders an inline flex container (`.d-inline-flex`) instead of a block-level one (`.d-flex`,
|
|
17
|
+
* the default).
|
|
18
|
+
*/
|
|
19
|
+
inline?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Sets `flex-direction`. Omit for the browser default (`row`). An object sets it per
|
|
22
|
+
* breakpoint, `base` being the narrowest width: `{ base: 'column', md: 'row' }`. The
|
|
23
|
+
* breakpoints are widths of the viewport, so unlike `Stack`'s `direction` they need no
|
|
24
|
+
* `.contains-inline` ancestor.
|
|
25
|
+
*/
|
|
26
|
+
direction?: Responsive<'row' | 'column' | 'row-reverse' | 'column-reverse'>;
|
|
27
|
+
/**
|
|
28
|
+
* Sets `flex-wrap`. Omit for the browser default (`nowrap`). Takes an object per breakpoint,
|
|
29
|
+
* as `direction` does.
|
|
30
|
+
*/
|
|
31
|
+
wrap?: Responsive<'wrap' | 'nowrap' | 'wrap-reverse'>;
|
|
32
|
+
/**
|
|
33
|
+
* Sets `justify-content`, aligning items along the main axis. Takes an object per breakpoint,
|
|
34
|
+
* as `direction` does.
|
|
35
|
+
*/
|
|
36
|
+
justify?: Responsive<'start' | 'end' | 'center' | 'between' | 'around' | 'evenly'>;
|
|
37
|
+
/**
|
|
38
|
+
* Sets `align-items`, aligning items along the cross axis. Takes an object per breakpoint, as
|
|
39
|
+
* `direction` does.
|
|
40
|
+
*/
|
|
41
|
+
align?: Responsive<'start' | 'end' | 'center' | 'baseline' | 'stretch'>;
|
|
42
|
+
/**
|
|
43
|
+
* Sets `align-content`, distributing wrapped lines along the cross axis. Has no effect on
|
|
44
|
+
* single-line (non-wrapping) containers. Takes an object per breakpoint, as `direction` does.
|
|
45
|
+
*/
|
|
46
|
+
alignContent?: Responsive<'start' | 'end' | 'center' | 'between' | 'around' | 'stretch'>;
|
|
47
|
+
/**
|
|
48
|
+
* Spacing between children on both axes, mapped to the `gap-*` utility classes. Overridden per
|
|
49
|
+
* axis by `rowGap`/`columnGap` where set. Takes an object per breakpoint, as `direction` does.
|
|
50
|
+
*
|
|
51
|
+
* @type { Responsive<Spacing | 0> }
|
|
52
|
+
*/
|
|
53
|
+
gap?: Responsive<Spacing | 0>;
|
|
54
|
+
/**
|
|
55
|
+
* Spacing between rows (the cross axis when wrapped), mapped to the `row-gap-*` utility
|
|
56
|
+
* classes. Independent of `gap`/`columnGap`. Takes an object per breakpoint, as `direction`
|
|
57
|
+
* does.
|
|
58
|
+
*
|
|
59
|
+
* @type { Responsive<Spacing | 0> }
|
|
60
|
+
*/
|
|
61
|
+
rowGap?: Responsive<Spacing | 0>;
|
|
62
|
+
/**
|
|
63
|
+
* Spacing between columns (the main axis), mapped to the `column-gap-*` utility classes.
|
|
64
|
+
* Independent of `gap`/`rowGap`. Takes an object per breakpoint, as `direction` does.
|
|
65
|
+
*
|
|
66
|
+
* @type { Responsive<Spacing | 0> }
|
|
67
|
+
*/
|
|
68
|
+
columnGap?: Responsive<Spacing | 0>;
|
|
69
|
+
};
|
|
70
|
+
type FlexProps<C extends ElementType = 'div'> = PolymorphicComponentProps<C, FlexOwnProps<C>>;
|
|
71
|
+
type FlexComponent = (<C extends ElementType = 'div'>(props: FlexProps<C> & {
|
|
72
|
+
ref?: PolymorphicRef<C>;
|
|
73
|
+
}) => ReactElement | null) & {
|
|
74
|
+
displayName?: string;
|
|
75
|
+
};
|
|
76
|
+
declare const Flex: FlexComponent;
|
|
77
|
+
//#endregion
|
|
78
|
+
export { FlexProps as n, Flex as t };
|
|
79
|
+
//# sourceMappingURL=index-BSLneLYu.d.ts.map
|
|
@@ -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 {
|
|
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-
|
|
68
|
+
//# sourceMappingURL=index-BfEJYF4c.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./focus-ring-SR_LwaN7.js";
|
|
2
|
-
import {
|
|
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-
|
|
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 {
|
|
4
|
-
import {
|
|
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-
|
|
92
|
+
//# sourceMappingURL=index-CHQR8x8_.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./focus-ring-SR_LwaN7.js";
|
|
2
|
-
import {
|
|
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-
|
|
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 {
|
|
4
|
-
import { n as ButtonProps, t as Button } from "./Button-
|
|
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-
|
|
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-
|
|
229
|
+
//# sourceMappingURL=index-CYvVmTPR.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./focus-ring-SR_LwaN7.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as ButtonObject } from "./renderFormCheck-
|
|
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-
|
|
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 {
|
|
4
|
-
import { n as ButtonProps } from "./Button-
|
|
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-
|
|
208
|
+
//# sourceMappingURL=index-DHcztR18.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./focus-ring-SR_LwaN7.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as ButtonObject } from "./renderFormCheck-
|
|
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-
|
|
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 {
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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 {
|
|
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-
|
|
120
|
+
//# sourceMappingURL=index-DtvHH_Mb.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 {
|
|
3
|
+
import { r as ContextColor } from "./types-D6FM7bYR.js";
|
|
4
4
|
import { ElementType, ReactElement } from "react";
|
|
5
5
|
//#region src/components/spinner/Spinner.d.ts
|
|
6
6
|
type SpinnerOwnProps<C extends ElementType> = {
|
|
@@ -17,7 +17,7 @@ type SpinnerOwnProps<C extends ElementType> = {
|
|
|
17
17
|
*/
|
|
18
18
|
component?: C;
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Renders a smaller spinner, with the `spinner-sm` class.
|
|
21
21
|
*/
|
|
22
22
|
size?: 'sm';
|
|
23
23
|
/**
|
|
@@ -38,4 +38,4 @@ type SpinnerComponent = (<C extends ElementType = 'div'>(props: SpinnerProps<C>
|
|
|
38
38
|
declare const Spinner: SpinnerComponent;
|
|
39
39
|
//#endregion
|
|
40
40
|
export { SpinnerProps as n, Spinner as t };
|
|
41
|
-
//# sourceMappingURL=index-
|
|
41
|
+
//# sourceMappingURL=index-Dzga1f4w.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 {
|
|
4
|
-
import { t as FlexDirection } from "./breakpoints-
|
|
5
|
-
import { n as LinkProps } from "./Link-
|
|
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
|
-
*
|
|
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.
|
|
100
|
-
* `
|
|
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
|
-
|
|
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-
|
|
296
|
+
//# sourceMappingURL=index-NGgDkhyn.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
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-
|
|
74
|
+
//# sourceMappingURL=index-U27Ar174.d.ts.map
|