@traefik-labs/faency 13.5.0 → 13.6.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.
- package/dist/components/AriaTable/AriaTable.cjs +3 -5
- package/dist/components/AriaTable/AriaTable.cjs.map +1 -1
- package/dist/components/AriaTable/AriaTable.constants.cjs +5 -0
- package/dist/components/AriaTable/AriaTable.constants.cjs.map +1 -0
- package/dist/components/AriaTable/AriaTable.constants.js +5 -0
- package/dist/components/AriaTable/AriaTable.constants.js.map +1 -0
- package/dist/components/AriaTable/AriaTable.js +3 -5
- package/dist/components/AriaTable/AriaTable.js.map +1 -1
- package/dist/components/AriaTable/AriaTable.vanilla.cjs +194 -0
- package/dist/components/AriaTable/AriaTable.vanilla.cjs.map +1 -0
- package/dist/components/AriaTable/AriaTable.vanilla.css.cjs +28 -0
- package/dist/components/AriaTable/AriaTable.vanilla.css.cjs.map +1 -0
- package/dist/components/AriaTable/AriaTable.vanilla.css.js +17 -0
- package/dist/components/AriaTable/AriaTable.vanilla.css.js.map +1 -0
- package/dist/components/AriaTable/AriaTable.vanilla.js +185 -0
- package/dist/components/AriaTable/AriaTable.vanilla.js.map +1 -0
- package/dist/components/Badge/Badge.vanilla.cjs +2 -1
- package/dist/components/Badge/Badge.vanilla.cjs.map +1 -1
- package/dist/components/Badge/Badge.vanilla.js +2 -1
- package/dist/components/Badge/Badge.vanilla.js.map +1 -1
- package/dist/components/Blockquote/Blockquote.vanilla.cjs +2 -1
- package/dist/components/Blockquote/Blockquote.vanilla.cjs.map +1 -1
- package/dist/components/Blockquote/Blockquote.vanilla.js +2 -1
- package/dist/components/Blockquote/Blockquote.vanilla.js.map +1 -1
- package/dist/components/Box/Box.vanilla.cjs +2 -1
- package/dist/components/Box/Box.vanilla.cjs.map +1 -1
- package/dist/components/Box/Box.vanilla.js +2 -1
- package/dist/components/Box/Box.vanilla.js.map +1 -1
- package/dist/components/Bubble/Bubble.vanilla.cjs +2 -1
- package/dist/components/Bubble/Bubble.vanilla.cjs.map +1 -1
- package/dist/components/Bubble/Bubble.vanilla.js +2 -1
- package/dist/components/Bubble/Bubble.vanilla.js.map +1 -1
- package/dist/components/Button/Button.vanilla.cjs +2 -1
- package/dist/components/Button/Button.vanilla.cjs.map +1 -1
- package/dist/components/Button/Button.vanilla.js +2 -1
- package/dist/components/Button/Button.vanilla.js.map +1 -1
- package/dist/components/ButtonSwitch/ButtonSwitch.vanilla.cjs +5 -4
- package/dist/components/ButtonSwitch/ButtonSwitch.vanilla.cjs.map +1 -1
- package/dist/components/ButtonSwitch/ButtonSwitch.vanilla.js +5 -4
- package/dist/components/ButtonSwitch/ButtonSwitch.vanilla.js.map +1 -1
- package/dist/components/Card/Card.vanilla.cjs +2 -1
- package/dist/components/Card/Card.vanilla.cjs.map +1 -1
- package/dist/components/Card/Card.vanilla.js +2 -1
- package/dist/components/Card/Card.vanilla.js.map +1 -1
- package/dist/components/CodeBlock/CodeBlock.vanilla.cjs +3 -11
- package/dist/components/CodeBlock/CodeBlock.vanilla.cjs.map +1 -1
- package/dist/components/CodeBlock/CodeBlock.vanilla.js +4 -12
- package/dist/components/CodeBlock/CodeBlock.vanilla.js.map +1 -1
- package/dist/components/Combobox/Combobox.vanilla.cjs +2 -2
- package/dist/components/Combobox/Combobox.vanilla.cjs.map +1 -1
- package/dist/components/Combobox/Combobox.vanilla.js +2 -2
- package/dist/components/Combobox/Combobox.vanilla.js.map +1 -1
- package/dist/components/Container/Container.vanilla.cjs +2 -1
- package/dist/components/Container/Container.vanilla.cjs.map +1 -1
- package/dist/components/Container/Container.vanilla.js +2 -1
- package/dist/components/Container/Container.vanilla.js.map +1 -1
- package/dist/components/Elevation/Elevation.vanilla.cjs +2 -1
- package/dist/components/Elevation/Elevation.vanilla.cjs.map +1 -1
- package/dist/components/Elevation/Elevation.vanilla.css.cjs.map +1 -1
- package/dist/components/Elevation/Elevation.vanilla.css.js.map +1 -1
- package/dist/components/Elevation/Elevation.vanilla.js +2 -1
- package/dist/components/Elevation/Elevation.vanilla.js.map +1 -1
- package/dist/components/Flex/Flex.vanilla.cjs +2 -1
- package/dist/components/Flex/Flex.vanilla.cjs.map +1 -1
- package/dist/components/Flex/Flex.vanilla.js +2 -1
- package/dist/components/Flex/Flex.vanilla.js.map +1 -1
- package/dist/components/Grid/Grid.vanilla.cjs +2 -1
- package/dist/components/Grid/Grid.vanilla.cjs.map +1 -1
- package/dist/components/Grid/Grid.vanilla.js +2 -1
- package/dist/components/Grid/Grid.vanilla.js.map +1 -1
- package/dist/components/IconButton/IconButton.vanilla.cjs +2 -1
- package/dist/components/IconButton/IconButton.vanilla.cjs.map +1 -1
- package/dist/components/IconButton/IconButton.vanilla.js +2 -1
- package/dist/components/IconButton/IconButton.vanilla.js.map +1 -1
- package/dist/components/Image/Image.vanilla.cjs +2 -1
- package/dist/components/Image/Image.vanilla.cjs.map +1 -1
- package/dist/components/Image/Image.vanilla.js +2 -1
- package/dist/components/Image/Image.vanilla.js.map +1 -1
- package/dist/components/Input/Input.vanilla.cjs +2 -1
- package/dist/components/Input/Input.vanilla.cjs.map +1 -1
- package/dist/components/Input/Input.vanilla.js +2 -1
- package/dist/components/Input/Input.vanilla.js.map +1 -1
- package/dist/components/Label/Label.vanilla.cjs +2 -1
- package/dist/components/Label/Label.vanilla.cjs.map +1 -1
- package/dist/components/Label/Label.vanilla.js +2 -1
- package/dist/components/Label/Label.vanilla.js.map +1 -1
- package/dist/components/Meter/Meter.vanilla.cjs +2 -1
- package/dist/components/Meter/Meter.vanilla.cjs.map +1 -1
- package/dist/components/Meter/Meter.vanilla.js +2 -1
- package/dist/components/Meter/Meter.vanilla.js.map +1 -1
- package/dist/components/Panel/Panel.vanilla.cjs +2 -1
- package/dist/components/Panel/Panel.vanilla.cjs.map +1 -1
- package/dist/components/Panel/Panel.vanilla.js +2 -1
- package/dist/components/Panel/Panel.vanilla.js.map +1 -1
- package/dist/components/Paragraph/Paragraph.vanilla.cjs +2 -1
- package/dist/components/Paragraph/Paragraph.vanilla.cjs.map +1 -1
- package/dist/components/Paragraph/Paragraph.vanilla.js +2 -1
- package/dist/components/Paragraph/Paragraph.vanilla.js.map +1 -1
- package/dist/components/RowLink/RowLink.cjs +12 -63
- package/dist/components/RowLink/RowLink.cjs.map +1 -1
- package/dist/components/RowLink/RowLink.constants.cjs +7 -0
- package/dist/components/RowLink/RowLink.constants.cjs.map +1 -0
- package/dist/components/RowLink/RowLink.constants.js +6 -0
- package/dist/components/RowLink/RowLink.constants.js.map +1 -0
- package/dist/components/RowLink/RowLink.js +6 -58
- package/dist/components/RowLink/RowLink.js.map +1 -1
- package/dist/components/RowLink/RowLink.utils.cjs +87 -0
- package/dist/components/RowLink/RowLink.utils.cjs.map +1 -0
- package/dist/components/RowLink/RowLink.utils.js +83 -0
- package/dist/components/RowLink/RowLink.utils.js.map +1 -0
- package/dist/components/RowLink/RowLink.vanilla.cjs +21 -0
- package/dist/components/RowLink/RowLink.vanilla.cjs.map +1 -0
- package/dist/components/RowLink/RowLink.vanilla.css.cjs +10 -0
- package/dist/components/RowLink/RowLink.vanilla.css.cjs.map +1 -0
- package/dist/components/RowLink/RowLink.vanilla.css.js +8 -0
- package/dist/components/RowLink/RowLink.vanilla.css.js.map +1 -0
- package/dist/components/RowLink/RowLink.vanilla.js +19 -0
- package/dist/components/RowLink/RowLink.vanilla.js.map +1 -0
- package/dist/components/SegmentedControl/SegmentedControl.vanilla.cjs +3 -3
- package/dist/components/SegmentedControl/SegmentedControl.vanilla.cjs.map +1 -1
- package/dist/components/SegmentedControl/SegmentedControl.vanilla.js +3 -3
- package/dist/components/SegmentedControl/SegmentedControl.vanilla.js.map +1 -1
- package/dist/components/Skeleton/Skeleton.vanilla.cjs +2 -1
- package/dist/components/Skeleton/Skeleton.vanilla.cjs.map +1 -1
- package/dist/components/Skeleton/Skeleton.vanilla.js +2 -1
- package/dist/components/Skeleton/Skeleton.vanilla.js.map +1 -1
- package/dist/components/Spinner/Spinner.vanilla.cjs +2 -1
- package/dist/components/Spinner/Spinner.vanilla.cjs.map +1 -1
- package/dist/components/Spinner/Spinner.vanilla.js +2 -1
- package/dist/components/Spinner/Spinner.vanilla.js.map +1 -1
- package/dist/components/SplitLayout/SplitLayout.vanilla.cjs +4 -3
- package/dist/components/SplitLayout/SplitLayout.vanilla.cjs.map +1 -1
- package/dist/components/SplitLayout/SplitLayout.vanilla.js +4 -3
- package/dist/components/SplitLayout/SplitLayout.vanilla.js.map +1 -1
- package/dist/components/Table/ExpandToggle.vanilla.cjs +30 -0
- package/dist/components/Table/ExpandToggle.vanilla.cjs.map +1 -0
- package/dist/components/Table/ExpandToggle.vanilla.js +27 -0
- package/dist/components/Table/ExpandToggle.vanilla.js.map +1 -0
- package/dist/components/Table/SortButton.vanilla.cjs +38 -0
- package/dist/components/Table/SortButton.vanilla.cjs.map +1 -0
- package/dist/components/Table/SortButton.vanilla.js +35 -0
- package/dist/components/Table/SortButton.vanilla.js.map +1 -0
- package/dist/components/Table/Table.cjs +3 -5
- package/dist/components/Table/Table.cjs.map +1 -1
- package/dist/components/Table/Table.js +3 -5
- package/dist/components/Table/Table.js.map +1 -1
- package/dist/components/Table/Table.vanilla.cjs +142 -0
- package/dist/components/Table/Table.vanilla.cjs.map +1 -0
- package/dist/components/Table/Table.vanilla.css.cjs +178 -0
- package/dist/components/Table/Table.vanilla.css.cjs.map +1 -0
- package/dist/components/Table/Table.vanilla.css.js +161 -0
- package/dist/components/Table/Table.vanilla.css.js.map +1 -0
- package/dist/components/Table/Table.vanilla.js +133 -0
- package/dist/components/Table/Table.vanilla.js.map +1 -0
- package/dist/components/Table/useTableSort.cjs +60 -0
- package/dist/components/Table/useTableSort.cjs.map +1 -0
- package/dist/components/Table/useTableSort.js +59 -0
- package/dist/components/Table/useTableSort.js.map +1 -0
- package/dist/components/Text/Text.vanilla.cjs +2 -1
- package/dist/components/Text/Text.vanilla.cjs.map +1 -1
- package/dist/components/Text/Text.vanilla.js +2 -1
- package/dist/components/Text/Text.vanilla.js.map +1 -1
- package/dist/components/Textarea/Textarea.vanilla.cjs +2 -1
- package/dist/components/Textarea/Textarea.vanilla.cjs.map +1 -1
- package/dist/components/Textarea/Textarea.vanilla.js +2 -1
- package/dist/components/Textarea/Textarea.vanilla.js.map +1 -1
- package/dist/components/Toast/Toast.vanilla.cjs +5 -5
- package/dist/components/Toast/Toast.vanilla.cjs.map +1 -1
- package/dist/components/Toast/Toast.vanilla.js +5 -5
- package/dist/components/Toast/Toast.vanilla.js.map +1 -1
- package/dist/faency.css +1919 -1236
- package/dist/index.cjs +21 -0
- package/dist/index.d.ts +544 -17
- package/dist/index.js +4 -1
- package/dist/styles/cx.cjs +5 -0
- package/dist/styles/cx.cjs.map +1 -0
- package/dist/styles/cx.js +5 -0
- package/dist/styles/cx.js.map +1 -0
- package/dist/styles/themes.css.cjs.map +1 -1
- package/dist/styles/themes.css.js.map +1 -1
- package/dist/styles/tokens.css.cjs +55 -44
- package/dist/styles/tokens.css.cjs.map +1 -1
- package/dist/styles/tokens.css.js +55 -44
- package/dist/styles/tokens.css.js.map +1 -1
- package/dist/styles/useInlineStyle.cjs +16 -0
- package/dist/styles/useInlineStyle.cjs.map +1 -0
- package/dist/styles/useInlineStyle.js +16 -0
- package/dist/styles/useInlineStyle.js.map +1 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -816,6 +816,17 @@ backgroundClip: WithPropertyValue<"backgroundClip">;
|
|
|
816
816
|
};
|
|
817
817
|
}>>;
|
|
818
818
|
|
|
819
|
+
export declare const AriaCaptionVanilla: default_2.ForwardRefExoticComponent<default_2.HTMLAttributes<HTMLDivElement> & CSSProps & {
|
|
820
|
+
transform?: "capitalize" | "uppercase" | "capitalizeWords" | undefined;
|
|
821
|
+
size?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "0" | "11" | "12" | "inherit" | undefined;
|
|
822
|
+
weight?: "light" | "regular" | "medium" | "semiBold" | "bold" | undefined;
|
|
823
|
+
variant?: "default" | "red" | "inherit" | "invalid" | "subtle" | "contrast" | undefined;
|
|
824
|
+
gradient?: boolean | undefined;
|
|
825
|
+
noWrap?: boolean | undefined;
|
|
826
|
+
} & default_2.RefAttributes<HTMLDivElement>>;
|
|
827
|
+
|
|
828
|
+
export declare type AriaCaptionVanillaProps = default_2.HTMLAttributes<HTMLDivElement> & CSSProps & CaptionRecipeVariants;
|
|
829
|
+
|
|
819
830
|
export declare const AriaTable: default_2.ForwardRefExoticComponent<Omit<Omit<Omit<default_2.DetailedHTMLProps<default_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
820
831
|
ref?: ((instance: HTMLDivElement | null) => void) | default_2.RefObject<HTMLDivElement> | null | undefined;
|
|
821
832
|
}, "elevation" | "css"> & TransformProps< {
|
|
@@ -1187,6 +1198,20 @@ light: "(prefers-color-scheme: light)";
|
|
|
1187
1198
|
hasCollapsibleChildren?: boolean;
|
|
1188
1199
|
}, "ref"> & default_2.RefAttributes<HTMLDivElement>>;
|
|
1189
1200
|
|
|
1201
|
+
export declare type AriaTableSectionVanillaProps = default_2.HTMLAttributes<HTMLDivElement> & CSSProps;
|
|
1202
|
+
|
|
1203
|
+
export declare const AriaTableVanilla: default_2.ForwardRefExoticComponent<default_2.HTMLAttributes<HTMLDivElement> & CSSProps & {
|
|
1204
|
+
elevation?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
1205
|
+
} & {
|
|
1206
|
+
/** Collapses the borders, for a table with collapsible rows. */
|
|
1207
|
+
hasCollapsibleChildren?: boolean;
|
|
1208
|
+
} & default_2.RefAttributes<HTMLDivElement>>;
|
|
1209
|
+
|
|
1210
|
+
export declare type AriaTableVanillaProps = default_2.HTMLAttributes<HTMLDivElement> & CSSProps & TableRecipeVariants & {
|
|
1211
|
+
/** Collapses the borders, for a table with collapsible rows. */
|
|
1212
|
+
hasCollapsibleChildren?: boolean;
|
|
1213
|
+
};
|
|
1214
|
+
|
|
1190
1215
|
export declare const AriaTbody: default_2.ForwardRefExoticComponent<Omit<Omit<Omit<default_2.DetailedHTMLProps<default_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
1191
1216
|
ref?: ((instance: HTMLDivElement | null) => void) | default_2.RefObject<HTMLDivElement> | null | undefined;
|
|
1192
1217
|
}, "css"> & TransformProps< {}, {
|
|
@@ -1552,8 +1577,23 @@ dark: "(prefers-color-scheme: dark)";
|
|
|
1552
1577
|
light: "(prefers-color-scheme: light)";
|
|
1553
1578
|
}>, "ref"> & default_2.RefAttributes<HTMLDivElement>>;
|
|
1554
1579
|
|
|
1580
|
+
export declare const AriaTbodyVanilla: default_2.ForwardRefExoticComponent<default_2.HTMLAttributes<HTMLDivElement> & CSSProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
1581
|
+
|
|
1555
1582
|
export declare const AriaTd: default_2.ForwardRefExoticComponent<Omit<TdProps, "ref"> & default_2.RefAttributes<HTMLSpanElement>>;
|
|
1556
1583
|
|
|
1584
|
+
export declare const AriaTdVanilla: default_2.ForwardRefExoticComponent<default_2.HTMLAttributes<HTMLSpanElement> & CSSProps & {
|
|
1585
|
+
subtle?: boolean | undefined;
|
|
1586
|
+
align?: "center" | "end" | "start" | undefined;
|
|
1587
|
+
} & {
|
|
1588
|
+
/** Spans the whole row. It must be the only cell of its row. */
|
|
1589
|
+
fullColSpan?: boolean;
|
|
1590
|
+
} & default_2.RefAttributes<HTMLSpanElement>>;
|
|
1591
|
+
|
|
1592
|
+
export declare type AriaTdVanillaProps = default_2.HTMLAttributes<HTMLSpanElement> & CSSProps & TdRecipeVariants & {
|
|
1593
|
+
/** Spans the whole row. It must be the only cell of its row. */
|
|
1594
|
+
fullColSpan?: boolean;
|
|
1595
|
+
};
|
|
1596
|
+
|
|
1557
1597
|
export declare const AriaTfoot: default_2.ForwardRefExoticComponent<Omit<Omit<Omit<default_2.DetailedHTMLProps<default_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
1558
1598
|
ref?: ((instance: HTMLDivElement | null) => void) | default_2.RefObject<HTMLDivElement> | null | undefined;
|
|
1559
1599
|
}, "css"> & TransformProps< {}, {
|
|
@@ -1919,6 +1959,8 @@ dark: "(prefers-color-scheme: dark)";
|
|
|
1919
1959
|
light: "(prefers-color-scheme: light)";
|
|
1920
1960
|
}>, "ref"> & default_2.RefAttributes<HTMLDivElement>>;
|
|
1921
1961
|
|
|
1962
|
+
export declare const AriaTfootVanilla: default_2.ForwardRefExoticComponent<default_2.HTMLAttributes<HTMLDivElement> & CSSProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
1963
|
+
|
|
1922
1964
|
export declare const AriaTh: default_2.ForwardRefExoticComponent<Omit<Omit<Omit<default_2.DetailedHTMLProps<default_2.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
1923
1965
|
ref?: ((instance: HTMLSpanElement | null) => void) | default_2.RefObject<HTMLSpanElement> | null | undefined;
|
|
1924
1966
|
}, "size" | "transform" | "css" | "weight" | "align" | "variant" | "noWrap" | "gradient"> & TransformProps<StyledComponentProps<[StyledComponent<"th", StyledComponentProps<[StyledComponent<default_2.ForwardRefExoticComponent<LabelProps & default_2.RefAttributes<HTMLLabelElement>>, {
|
|
@@ -3378,6 +3420,20 @@ dark: "(prefers-color-scheme: dark)";
|
|
|
3378
3420
|
light: "(prefers-color-scheme: light)";
|
|
3379
3421
|
}>, "ref"> & default_2.RefAttributes<HTMLDivElement>>;
|
|
3380
3422
|
|
|
3423
|
+
export declare const AriaTheadVanilla: default_2.ForwardRefExoticComponent<default_2.HTMLAttributes<HTMLDivElement> & CSSProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
3424
|
+
|
|
3425
|
+
export declare const AriaThVanilla: default_2.ForwardRefExoticComponent<default_2.HTMLAttributes<HTMLSpanElement> & CSSProps & {
|
|
3426
|
+
transform?: "capitalize" | "uppercase" | "capitalizeWords" | undefined;
|
|
3427
|
+
align?: "center" | "end" | "start" | undefined;
|
|
3428
|
+
size?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "0" | "11" | "12" | "inherit" | undefined;
|
|
3429
|
+
weight?: "light" | "regular" | "medium" | "semiBold" | "bold" | undefined;
|
|
3430
|
+
variant?: "default" | "red" | "inherit" | "invalid" | "subtle" | "contrast" | undefined;
|
|
3431
|
+
gradient?: boolean | undefined;
|
|
3432
|
+
noWrap?: boolean | undefined;
|
|
3433
|
+
} & TableSortProps & default_2.RefAttributes<HTMLSpanElement>>;
|
|
3434
|
+
|
|
3435
|
+
export declare type AriaThVanillaProps = default_2.HTMLAttributes<HTMLSpanElement> & CSSProps & ThRecipeVariants & TableSortProps;
|
|
3436
|
+
|
|
3381
3437
|
export declare const AriaTr: default_2.ForwardRefExoticComponent<Omit<AriaTrProps, "ref"> & default_2.RefAttributes<HTMLDivElement>>;
|
|
3382
3438
|
|
|
3383
3439
|
declare type AriaTrProps = ComponentProps<typeof StyledTr> & VariantProps<typeof StyledTr> & {
|
|
@@ -3389,6 +3445,31 @@ declare type AriaTrProps = ComponentProps<typeof StyledTr> & VariantProps<typeof
|
|
|
3389
3445
|
children?: default_2.ReactNode;
|
|
3390
3446
|
} & RowLinkShortcutProps;
|
|
3391
3447
|
|
|
3448
|
+
export declare const AriaTrVanilla: default_2.ForwardRefExoticComponent<default_2.HTMLAttributes<HTMLDivElement> & CSSProps & {
|
|
3449
|
+
interactive?: boolean | undefined;
|
|
3450
|
+
active?: boolean | undefined;
|
|
3451
|
+
} & RowLinkShortcutProps & {
|
|
3452
|
+
/** Content shown in a full-width row below, toggled by a button in a new first cell. */
|
|
3453
|
+
collapsedContent?: ReactNode;
|
|
3454
|
+
/** Accessible name of the expand button. */
|
|
3455
|
+
expandLabel?: string;
|
|
3456
|
+
/** Adds an empty first cell, to line up with rows that have an expand button. */
|
|
3457
|
+
emptyFirstColumn?: boolean;
|
|
3458
|
+
/** Styles the empty first cell as a header, for a row in `AriaTheadVanilla`. */
|
|
3459
|
+
tableHead?: boolean;
|
|
3460
|
+
} & default_2.RefAttributes<HTMLDivElement>>;
|
|
3461
|
+
|
|
3462
|
+
export declare type AriaTrVanillaProps = default_2.HTMLAttributes<HTMLDivElement> & CSSProps & TrRecipeVariants & RowLinkShortcutProps & {
|
|
3463
|
+
/** Content shown in a full-width row below, toggled by a button in a new first cell. */
|
|
3464
|
+
collapsedContent?: ReactNode;
|
|
3465
|
+
/** Accessible name of the expand button. */
|
|
3466
|
+
expandLabel?: string;
|
|
3467
|
+
/** Adds an empty first cell, to line up with rows that have an expand button. */
|
|
3468
|
+
emptyFirstColumn?: boolean;
|
|
3469
|
+
/** Styles the empty first cell as a header, for a row in `AriaTheadVanilla`. */
|
|
3470
|
+
tableHead?: boolean;
|
|
3471
|
+
};
|
|
3472
|
+
|
|
3392
3473
|
export { AspectRatio }
|
|
3393
3474
|
|
|
3394
3475
|
export declare const Avatar: default_2.ForwardRefExoticComponent<Omit<AvatarOwnProps_2, "ref"> & default_2.RefAttributes<HTMLSpanElement>>;
|
|
@@ -6452,6 +6533,134 @@ backgroundClip: WithPropertyValue<"backgroundClip">;
|
|
|
6452
6533
|
};
|
|
6453
6534
|
}>>;
|
|
6454
6535
|
|
|
6536
|
+
declare const captionRecipe: RuntimeFn< {
|
|
6537
|
+
transform: {
|
|
6538
|
+
readonly uppercase: {
|
|
6539
|
+
readonly textTransform: "uppercase";
|
|
6540
|
+
};
|
|
6541
|
+
readonly capitalize: {
|
|
6542
|
+
readonly display: "inline-block";
|
|
6543
|
+
readonly selectors: {
|
|
6544
|
+
readonly '&::first-letter': {
|
|
6545
|
+
readonly textTransform: "uppercase";
|
|
6546
|
+
};
|
|
6547
|
+
};
|
|
6548
|
+
};
|
|
6549
|
+
readonly capitalizeWords: {
|
|
6550
|
+
readonly textTransform: "capitalize";
|
|
6551
|
+
};
|
|
6552
|
+
};
|
|
6553
|
+
size: {
|
|
6554
|
+
readonly '0': {
|
|
6555
|
+
readonly fontSize: `var(--${string})`;
|
|
6556
|
+
};
|
|
6557
|
+
readonly '1': {
|
|
6558
|
+
readonly fontSize: `var(--${string})`;
|
|
6559
|
+
};
|
|
6560
|
+
readonly '2': {
|
|
6561
|
+
readonly fontSize: `var(--${string})`;
|
|
6562
|
+
};
|
|
6563
|
+
readonly '3': {
|
|
6564
|
+
readonly fontSize: `var(--${string})`;
|
|
6565
|
+
};
|
|
6566
|
+
readonly '4': {
|
|
6567
|
+
readonly fontSize: `var(--${string})`;
|
|
6568
|
+
};
|
|
6569
|
+
readonly '5': {
|
|
6570
|
+
readonly fontSize: `var(--${string})`;
|
|
6571
|
+
};
|
|
6572
|
+
readonly '6': {
|
|
6573
|
+
readonly fontSize: `var(--${string})`;
|
|
6574
|
+
};
|
|
6575
|
+
readonly '7': {
|
|
6576
|
+
readonly fontSize: `var(--${string})`;
|
|
6577
|
+
};
|
|
6578
|
+
readonly '8': {
|
|
6579
|
+
readonly fontSize: `var(--${string})`;
|
|
6580
|
+
};
|
|
6581
|
+
readonly '9': {
|
|
6582
|
+
readonly fontSize: `var(--${string})`;
|
|
6583
|
+
};
|
|
6584
|
+
readonly '10': {
|
|
6585
|
+
readonly fontSize: `var(--${string})`;
|
|
6586
|
+
};
|
|
6587
|
+
readonly '11': {
|
|
6588
|
+
readonly fontSize: `var(--${string})`;
|
|
6589
|
+
};
|
|
6590
|
+
readonly '12': {
|
|
6591
|
+
readonly fontSize: `var(--${string})`;
|
|
6592
|
+
};
|
|
6593
|
+
readonly inherit: {
|
|
6594
|
+
readonly fontSize: "inherit";
|
|
6595
|
+
};
|
|
6596
|
+
};
|
|
6597
|
+
weight: {
|
|
6598
|
+
readonly light: {
|
|
6599
|
+
readonly fontWeight: `var(--${string})`;
|
|
6600
|
+
};
|
|
6601
|
+
readonly regular: {
|
|
6602
|
+
readonly fontWeight: `var(--${string})`;
|
|
6603
|
+
};
|
|
6604
|
+
readonly medium: {
|
|
6605
|
+
readonly fontWeight: `var(--${string})`;
|
|
6606
|
+
};
|
|
6607
|
+
readonly semiBold: {
|
|
6608
|
+
readonly fontWeight: `var(--${string})`;
|
|
6609
|
+
};
|
|
6610
|
+
readonly bold: {
|
|
6611
|
+
readonly fontWeight: `var(--${string})`;
|
|
6612
|
+
};
|
|
6613
|
+
};
|
|
6614
|
+
variant: {
|
|
6615
|
+
readonly red: {
|
|
6616
|
+
readonly color: `var(--${string})`;
|
|
6617
|
+
};
|
|
6618
|
+
readonly subtle: {
|
|
6619
|
+
readonly color: `var(--${string})`;
|
|
6620
|
+
};
|
|
6621
|
+
readonly default: {
|
|
6622
|
+
readonly color: `var(--${string})`;
|
|
6623
|
+
};
|
|
6624
|
+
readonly contrast: {
|
|
6625
|
+
readonly color: `var(--${string})`;
|
|
6626
|
+
};
|
|
6627
|
+
readonly inherit: {
|
|
6628
|
+
readonly color: "inherit";
|
|
6629
|
+
};
|
|
6630
|
+
readonly invalid: {
|
|
6631
|
+
readonly color: `var(--${string})`;
|
|
6632
|
+
};
|
|
6633
|
+
};
|
|
6634
|
+
gradient: {
|
|
6635
|
+
readonly true: {
|
|
6636
|
+
readonly WebkitBackgroundClip: "text";
|
|
6637
|
+
readonly WebkitTextFillColor: "transparent";
|
|
6638
|
+
};
|
|
6639
|
+
};
|
|
6640
|
+
noWrap: {
|
|
6641
|
+
readonly true: {
|
|
6642
|
+
readonly overflow: "hidden";
|
|
6643
|
+
readonly textOverflow: "ellipsis";
|
|
6644
|
+
readonly whiteSpace: "nowrap";
|
|
6645
|
+
};
|
|
6646
|
+
};
|
|
6647
|
+
}>;
|
|
6648
|
+
|
|
6649
|
+
declare type CaptionRecipeVariants = NonNullable<RecipeVariants<typeof captionRecipe>>;
|
|
6650
|
+
|
|
6651
|
+
declare type CaptionRecipeVariants_2 = NonNullable<RecipeVariants<typeof captionRecipe>>;
|
|
6652
|
+
|
|
6653
|
+
export declare const CaptionVanilla: default_2.ForwardRefExoticComponent<default_2.HTMLAttributes<HTMLTableCaptionElement> & CSSProps & {
|
|
6654
|
+
transform?: "capitalize" | "uppercase" | "capitalizeWords" | undefined;
|
|
6655
|
+
size?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "0" | "11" | "12" | "inherit" | undefined;
|
|
6656
|
+
weight?: "light" | "regular" | "medium" | "semiBold" | "bold" | undefined;
|
|
6657
|
+
variant?: "default" | "red" | "inherit" | "invalid" | "subtle" | "contrast" | undefined;
|
|
6658
|
+
gradient?: boolean | undefined;
|
|
6659
|
+
noWrap?: boolean | undefined;
|
|
6660
|
+
} & default_2.RefAttributes<HTMLTableCaptionElement>>;
|
|
6661
|
+
|
|
6662
|
+
export declare type CaptionVanillaProps = default_2.HTMLAttributes<HTMLTableCaptionElement> & CSSProps & CaptionRecipeVariants_2;
|
|
6663
|
+
|
|
6455
6664
|
export declare const Card: default_2.ForwardRefExoticComponent<(Omit<CardVariantProps, "ref"> | Omit<InteractiveCardProps, "ref">) & default_2.RefAttributes<HTMLDivElement>>;
|
|
6456
6665
|
|
|
6457
6666
|
declare interface CardOwnProps extends CSSProps {
|
|
@@ -11205,28 +11414,28 @@ declare interface ElevationOwnProps extends CSSProps {
|
|
|
11205
11414
|
|
|
11206
11415
|
declare const elevationRecipe: RuntimeFn< {
|
|
11207
11416
|
variant: {
|
|
11208
|
-
0: {
|
|
11209
|
-
boxShadow: "none";
|
|
11417
|
+
readonly 0: {
|
|
11418
|
+
readonly boxShadow: "none";
|
|
11210
11419
|
};
|
|
11211
|
-
1: {
|
|
11212
|
-
backgroundColor: `var(--${string})`;
|
|
11213
|
-
boxShadow: "0 1px 5px 0 hsla(0, 0%, 0%, 0.2), 0 3px 1px -2px hsla(0, 0%, 0%, 0.12), 0 2px 2px 0 hsla(0, 0%, 0%, 0.14)";
|
|
11420
|
+
readonly 1: {
|
|
11421
|
+
readonly backgroundColor: `var(--${string})`;
|
|
11422
|
+
readonly boxShadow: "0 1px 5px 0 hsla(0, 0%, 0%, 0.2), 0 3px 1px -2px hsla(0, 0%, 0%, 0.12), 0 2px 2px 0 hsla(0, 0%, 0%, 0.14)";
|
|
11214
11423
|
};
|
|
11215
|
-
2: {
|
|
11216
|
-
backgroundColor: `var(--${string})`;
|
|
11217
|
-
boxShadow: "0 2px 4px -1px hsla(0, 0%, 0%, 0.2), 0 1px 10px 0 hsla(0, 0%, 0%, 0.12), 0 4px 5px 0 hsla(0, 0%, 0%, 0.14)";
|
|
11424
|
+
readonly 2: {
|
|
11425
|
+
readonly backgroundColor: `var(--${string})`;
|
|
11426
|
+
readonly boxShadow: "0 2px 4px -1px hsla(0, 0%, 0%, 0.2), 0 1px 10px 0 hsla(0, 0%, 0%, 0.12), 0 4px 5px 0 hsla(0, 0%, 0%, 0.14)";
|
|
11218
11427
|
};
|
|
11219
|
-
3: {
|
|
11220
|
-
backgroundColor: `var(--${string})`;
|
|
11221
|
-
boxShadow: "0 3px 5px -1px hsla(0, 0%, 0%, 0.2), 0 1px 18px 0 hsla(0, 0%, 0%, 0.12), 0 6px 10px 0 hsla(0, 0%, 0%, 0.14)";
|
|
11428
|
+
readonly 3: {
|
|
11429
|
+
readonly backgroundColor: `var(--${string})`;
|
|
11430
|
+
readonly boxShadow: "0 3px 5px -1px hsla(0, 0%, 0%, 0.2), 0 1px 18px 0 hsla(0, 0%, 0%, 0.12), 0 6px 10px 0 hsla(0, 0%, 0%, 0.14)";
|
|
11222
11431
|
};
|
|
11223
|
-
4: {
|
|
11224
|
-
backgroundColor: `var(--${string})`;
|
|
11225
|
-
boxShadow: "0 7px 8px -4px hsla(0, 0%, 0%, 0.2), 0 5px 22px 4px hsla(0, 0%, 0%, 0.12), 0 12px 17px 2px hsla(0, 0%, 0%, 0.14)";
|
|
11432
|
+
readonly 4: {
|
|
11433
|
+
readonly backgroundColor: `var(--${string})`;
|
|
11434
|
+
readonly boxShadow: "0 7px 8px -4px hsla(0, 0%, 0%, 0.2), 0 5px 22px 4px hsla(0, 0%, 0%, 0.12), 0 12px 17px 2px hsla(0, 0%, 0%, 0.14)";
|
|
11226
11435
|
};
|
|
11227
|
-
5: {
|
|
11228
|
-
backgroundColor: `var(--${string})`;
|
|
11229
|
-
boxShadow: "0 11px 15px -7px hsla(0, 0%, 0%, 0.2), 0 9px 46px 8px hsla(0, 0%, 0%, 0.12), 0 24px 38px 3px hsla(0, 0%, 0%, 0.14)";
|
|
11436
|
+
readonly 5: {
|
|
11437
|
+
readonly backgroundColor: `var(--${string})`;
|
|
11438
|
+
readonly boxShadow: "0 11px 15px -7px hsla(0, 0%, 0%, 0.2), 0 9px 46px 8px hsla(0, 0%, 0%, 0.12), 0 24px 38px 3px hsla(0, 0%, 0%, 0.14)";
|
|
11230
11439
|
};
|
|
11231
11440
|
};
|
|
11232
11441
|
}>;
|
|
@@ -20362,6 +20571,13 @@ declare interface SkeletonVanillaOwnProps extends SkeletonRecipeVariants, CSSPro
|
|
|
20362
20571
|
|
|
20363
20572
|
export declare type SkeletonVanillaProps<C extends ElementType = 'div'> = PolymorphicComponentProps<C, SkeletonVanillaOwnProps>;
|
|
20364
20573
|
|
|
20574
|
+
/**
|
|
20575
|
+
* Returns a sorted copy of `rows`: numbers by value, then strings in locale order,
|
|
20576
|
+
* ignoring case and comparing digit runs as numbers ("item2" before "item10").
|
|
20577
|
+
* Empty values (`null`, `undefined`, `''`, `NaN`) go last in both directions. Ties keep their order.
|
|
20578
|
+
*/
|
|
20579
|
+
export declare const sortRows: <T, K extends string>(rows: readonly T[], getValue: (row: T, key: K) => TableSortValue, key: K, direction: TableSortDirection) => T[];
|
|
20580
|
+
|
|
20365
20581
|
declare type SpacingToken = '$1' | '$2' | '$3' | '$4' | '$5' | '$6' | '$7' | '$8' | '$9' | string | number;
|
|
20366
20582
|
|
|
20367
20583
|
export declare const SpinnerVanilla: default_2.ForwardRefExoticComponent<Omit<default_2.HTMLAttributes<HTMLSpanElement>, "color" | "children"> & CSSProps & {
|
|
@@ -31343,6 +31559,57 @@ backgroundClip: WithPropertyValue<"backgroundClip">;
|
|
|
31343
31559
|
};
|
|
31344
31560
|
}>>;
|
|
31345
31561
|
|
|
31562
|
+
declare const tableRecipe: RuntimeFn< {
|
|
31563
|
+
elevation: {
|
|
31564
|
+
readonly 0: {
|
|
31565
|
+
readonly boxShadow: "none";
|
|
31566
|
+
};
|
|
31567
|
+
readonly 1: {
|
|
31568
|
+
readonly backgroundColor: `var(--${string})`;
|
|
31569
|
+
readonly boxShadow: "0 1px 5px 0 hsla(0, 0%, 0%, 0.2), 0 3px 1px -2px hsla(0, 0%, 0%, 0.12), 0 2px 2px 0 hsla(0, 0%, 0%, 0.14)";
|
|
31570
|
+
};
|
|
31571
|
+
readonly 2: {
|
|
31572
|
+
readonly backgroundColor: `var(--${string})`;
|
|
31573
|
+
readonly boxShadow: "0 2px 4px -1px hsla(0, 0%, 0%, 0.2), 0 1px 10px 0 hsla(0, 0%, 0%, 0.12), 0 4px 5px 0 hsla(0, 0%, 0%, 0.14)";
|
|
31574
|
+
};
|
|
31575
|
+
readonly 3: {
|
|
31576
|
+
readonly backgroundColor: `var(--${string})`;
|
|
31577
|
+
readonly boxShadow: "0 3px 5px -1px hsla(0, 0%, 0%, 0.2), 0 1px 18px 0 hsla(0, 0%, 0%, 0.12), 0 6px 10px 0 hsla(0, 0%, 0%, 0.14)";
|
|
31578
|
+
};
|
|
31579
|
+
readonly 4: {
|
|
31580
|
+
readonly backgroundColor: `var(--${string})`;
|
|
31581
|
+
readonly boxShadow: "0 7px 8px -4px hsla(0, 0%, 0%, 0.2), 0 5px 22px 4px hsla(0, 0%, 0%, 0.12), 0 12px 17px 2px hsla(0, 0%, 0%, 0.14)";
|
|
31582
|
+
};
|
|
31583
|
+
readonly 5: {
|
|
31584
|
+
readonly backgroundColor: `var(--${string})`;
|
|
31585
|
+
readonly boxShadow: "0 11px 15px -7px hsla(0, 0%, 0%, 0.2), 0 9px 46px 8px hsla(0, 0%, 0%, 0.12), 0 24px 38px 3px hsla(0, 0%, 0%, 0.14)";
|
|
31586
|
+
};
|
|
31587
|
+
};
|
|
31588
|
+
}>;
|
|
31589
|
+
|
|
31590
|
+
declare type TableRecipeVariants = NonNullable<RecipeVariants<typeof tableRecipe>>;
|
|
31591
|
+
|
|
31592
|
+
declare type TableRecipeVariants_2 = NonNullable<RecipeVariants<typeof tableRecipe>>;
|
|
31593
|
+
|
|
31594
|
+
export declare type TableSectionVanillaProps = default_2.HTMLAttributes<HTMLTableSectionElement> & CSSProps;
|
|
31595
|
+
|
|
31596
|
+
export declare type TableSortDirection = 'asc' | 'desc';
|
|
31597
|
+
|
|
31598
|
+
export declare type TableSortProps = {
|
|
31599
|
+
/** The direction the column is sorted in, or `undefined` when it is not sorted. */
|
|
31600
|
+
sort?: TableSortDirection;
|
|
31601
|
+
/** Makes the column sortable: called when its header is clicked. */
|
|
31602
|
+
onSort?: () => void;
|
|
31603
|
+
};
|
|
31604
|
+
|
|
31605
|
+
export declare type TableSortValue = string | number | null | undefined;
|
|
31606
|
+
|
|
31607
|
+
export declare const TableVanilla: default_2.ForwardRefExoticComponent<default_2.TableHTMLAttributes<HTMLTableElement> & CSSProps & {
|
|
31608
|
+
elevation?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
31609
|
+
} & default_2.RefAttributes<HTMLTableElement>>;
|
|
31610
|
+
|
|
31611
|
+
export declare type TableVanillaProps = default_2.TableHTMLAttributes<HTMLTableElement> & CSSProps & TableRecipeVariants_2;
|
|
31612
|
+
|
|
31346
31613
|
export declare const TabsContainer: StyledComponent<ForwardRefExoticComponent<TabsPrimitive.TabsProps & RefAttributes<HTMLDivElement>>, {}, {
|
|
31347
31614
|
bp1: "(min-width: 520px) and (max-width: 899px)";
|
|
31348
31615
|
bp2: "(min-width: 900px) and (max-width: 1199px)";
|
|
@@ -33103,6 +33370,8 @@ backgroundClip: WithPropertyValue<"backgroundClip">;
|
|
|
33103
33370
|
};
|
|
33104
33371
|
}>>;
|
|
33105
33372
|
|
|
33373
|
+
export declare const TbodyVanilla: default_2.ForwardRefExoticComponent<default_2.HTMLAttributes<HTMLTableSectionElement> & CSSProps & default_2.RefAttributes<HTMLTableSectionElement>>;
|
|
33374
|
+
|
|
33106
33375
|
export declare const Td: StyledComponent<"td", {
|
|
33107
33376
|
subtle?: boolean | "true" | undefined;
|
|
33108
33377
|
align?: "center" | "end" | "start" | undefined;
|
|
@@ -33462,6 +33731,37 @@ declare type TdProps = ComponentProps<typeof StyledTd> & VariantProps<typeof Sty
|
|
|
33462
33731
|
fullColSpan?: boolean;
|
|
33463
33732
|
};
|
|
33464
33733
|
|
|
33734
|
+
declare const tdRecipe: RuntimeFn< {
|
|
33735
|
+
subtle: {
|
|
33736
|
+
true: {
|
|
33737
|
+
fontWeight: `var(--${string})`;
|
|
33738
|
+
color: `var(--${string})`;
|
|
33739
|
+
};
|
|
33740
|
+
};
|
|
33741
|
+
align: {
|
|
33742
|
+
readonly start: {
|
|
33743
|
+
readonly textAlign: "start";
|
|
33744
|
+
};
|
|
33745
|
+
readonly center: {
|
|
33746
|
+
readonly textAlign: "center";
|
|
33747
|
+
};
|
|
33748
|
+
readonly end: {
|
|
33749
|
+
readonly textAlign: "end";
|
|
33750
|
+
};
|
|
33751
|
+
};
|
|
33752
|
+
}>;
|
|
33753
|
+
|
|
33754
|
+
declare type TdRecipeVariants = NonNullable<RecipeVariants<typeof tdRecipe>>;
|
|
33755
|
+
|
|
33756
|
+
declare type TdRecipeVariants_2 = NonNullable<RecipeVariants<typeof tdRecipe>>;
|
|
33757
|
+
|
|
33758
|
+
export declare const TdVanilla: default_2.ForwardRefExoticComponent<Omit<default_2.TdHTMLAttributes<HTMLTableCellElement>, "align"> & CSSProps & {
|
|
33759
|
+
subtle?: boolean | undefined;
|
|
33760
|
+
align?: "center" | "end" | "start" | undefined;
|
|
33761
|
+
} & default_2.RefAttributes<HTMLTableCellElement>>;
|
|
33762
|
+
|
|
33763
|
+
export declare type TdVanillaProps = Omit<default_2.TdHTMLAttributes<HTMLTableCellElement>, 'align'> & CSSProps & TdRecipeVariants_2;
|
|
33764
|
+
|
|
33465
33765
|
declare const Text_2: StyledComponent<"span", {
|
|
33466
33766
|
size?: number | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "0" | "11" | "12" | "inherit" | undefined;
|
|
33467
33767
|
weight?: "light" | "regular" | "medium" | "semiBold" | "bold" | undefined;
|
|
@@ -34246,6 +34546,8 @@ backgroundClip: WithPropertyValue<"backgroundClip">;
|
|
|
34246
34546
|
};
|
|
34247
34547
|
}>>;
|
|
34248
34548
|
|
|
34549
|
+
export declare const TfootVanilla: default_2.ForwardRefExoticComponent<default_2.HTMLAttributes<HTMLTableSectionElement> & CSSProps & default_2.RefAttributes<HTMLTableSectionElement>>;
|
|
34550
|
+
|
|
34249
34551
|
export declare const Th: StyledComponent<"th", StyledComponentProps<[StyledComponent<default_2.ForwardRefExoticComponent<LabelProps & default_2.RefAttributes<HTMLLabelElement>>, {
|
|
34250
34552
|
size?: number | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "0" | "11" | "12" | "inherit" | undefined;
|
|
34251
34553
|
weight?: "light" | "regular" | "medium" | "semiBold" | "bold" | undefined;
|
|
@@ -35336,6 +35638,8 @@ backgroundClip: WithPropertyValue<"backgroundClip">;
|
|
|
35336
35638
|
};
|
|
35337
35639
|
}>>;
|
|
35338
35640
|
|
|
35641
|
+
export declare const TheadVanilla: default_2.ForwardRefExoticComponent<default_2.HTMLAttributes<HTMLTableSectionElement> & CSSProps & default_2.RefAttributes<HTMLTableSectionElement>>;
|
|
35642
|
+
|
|
35339
35643
|
declare interface ThemeContextValue {
|
|
35340
35644
|
mode: ThemeMode;
|
|
35341
35645
|
resolvedTheme: 'light' | 'dark';
|
|
@@ -35347,6 +35651,146 @@ declare interface ThemeContextValue {
|
|
|
35347
35651
|
|
|
35348
35652
|
export declare type ThemeMode = 'light' | 'dark' | 'system';
|
|
35349
35653
|
|
|
35654
|
+
declare const thRecipe: RuntimeFn< {
|
|
35655
|
+
transform: {
|
|
35656
|
+
capitalize: {
|
|
35657
|
+
display: "table-cell";
|
|
35658
|
+
selectors: {
|
|
35659
|
+
readonly '&::first-letter': {
|
|
35660
|
+
readonly textTransform: "uppercase";
|
|
35661
|
+
};
|
|
35662
|
+
};
|
|
35663
|
+
};
|
|
35664
|
+
uppercase: {
|
|
35665
|
+
readonly textTransform: "uppercase";
|
|
35666
|
+
};
|
|
35667
|
+
capitalizeWords: {
|
|
35668
|
+
readonly textTransform: "capitalize";
|
|
35669
|
+
};
|
|
35670
|
+
};
|
|
35671
|
+
align: {
|
|
35672
|
+
readonly start: {
|
|
35673
|
+
readonly textAlign: "start";
|
|
35674
|
+
};
|
|
35675
|
+
readonly center: {
|
|
35676
|
+
readonly textAlign: "center";
|
|
35677
|
+
};
|
|
35678
|
+
readonly end: {
|
|
35679
|
+
readonly textAlign: "end";
|
|
35680
|
+
};
|
|
35681
|
+
};
|
|
35682
|
+
size: {
|
|
35683
|
+
readonly '0': {
|
|
35684
|
+
readonly fontSize: `var(--${string})`;
|
|
35685
|
+
};
|
|
35686
|
+
readonly '1': {
|
|
35687
|
+
readonly fontSize: `var(--${string})`;
|
|
35688
|
+
};
|
|
35689
|
+
readonly '2': {
|
|
35690
|
+
readonly fontSize: `var(--${string})`;
|
|
35691
|
+
};
|
|
35692
|
+
readonly '3': {
|
|
35693
|
+
readonly fontSize: `var(--${string})`;
|
|
35694
|
+
};
|
|
35695
|
+
readonly '4': {
|
|
35696
|
+
readonly fontSize: `var(--${string})`;
|
|
35697
|
+
};
|
|
35698
|
+
readonly '5': {
|
|
35699
|
+
readonly fontSize: `var(--${string})`;
|
|
35700
|
+
};
|
|
35701
|
+
readonly '6': {
|
|
35702
|
+
readonly fontSize: `var(--${string})`;
|
|
35703
|
+
};
|
|
35704
|
+
readonly '7': {
|
|
35705
|
+
readonly fontSize: `var(--${string})`;
|
|
35706
|
+
};
|
|
35707
|
+
readonly '8': {
|
|
35708
|
+
readonly fontSize: `var(--${string})`;
|
|
35709
|
+
};
|
|
35710
|
+
readonly '9': {
|
|
35711
|
+
readonly fontSize: `var(--${string})`;
|
|
35712
|
+
};
|
|
35713
|
+
readonly '10': {
|
|
35714
|
+
readonly fontSize: `var(--${string})`;
|
|
35715
|
+
};
|
|
35716
|
+
readonly '11': {
|
|
35717
|
+
readonly fontSize: `var(--${string})`;
|
|
35718
|
+
};
|
|
35719
|
+
readonly '12': {
|
|
35720
|
+
readonly fontSize: `var(--${string})`;
|
|
35721
|
+
};
|
|
35722
|
+
readonly inherit: {
|
|
35723
|
+
readonly fontSize: "inherit";
|
|
35724
|
+
};
|
|
35725
|
+
};
|
|
35726
|
+
weight: {
|
|
35727
|
+
readonly light: {
|
|
35728
|
+
readonly fontWeight: `var(--${string})`;
|
|
35729
|
+
};
|
|
35730
|
+
readonly regular: {
|
|
35731
|
+
readonly fontWeight: `var(--${string})`;
|
|
35732
|
+
};
|
|
35733
|
+
readonly medium: {
|
|
35734
|
+
readonly fontWeight: `var(--${string})`;
|
|
35735
|
+
};
|
|
35736
|
+
readonly semiBold: {
|
|
35737
|
+
readonly fontWeight: `var(--${string})`;
|
|
35738
|
+
};
|
|
35739
|
+
readonly bold: {
|
|
35740
|
+
readonly fontWeight: `var(--${string})`;
|
|
35741
|
+
};
|
|
35742
|
+
};
|
|
35743
|
+
variant: {
|
|
35744
|
+
readonly red: {
|
|
35745
|
+
readonly color: `var(--${string})`;
|
|
35746
|
+
};
|
|
35747
|
+
readonly subtle: {
|
|
35748
|
+
readonly color: `var(--${string})`;
|
|
35749
|
+
};
|
|
35750
|
+
readonly default: {
|
|
35751
|
+
readonly color: `var(--${string})`;
|
|
35752
|
+
};
|
|
35753
|
+
readonly contrast: {
|
|
35754
|
+
readonly color: `var(--${string})`;
|
|
35755
|
+
};
|
|
35756
|
+
readonly inherit: {
|
|
35757
|
+
readonly color: "inherit";
|
|
35758
|
+
};
|
|
35759
|
+
readonly invalid: {
|
|
35760
|
+
readonly color: `var(--${string})`;
|
|
35761
|
+
};
|
|
35762
|
+
};
|
|
35763
|
+
gradient: {
|
|
35764
|
+
readonly true: {
|
|
35765
|
+
readonly WebkitBackgroundClip: "text";
|
|
35766
|
+
readonly WebkitTextFillColor: "transparent";
|
|
35767
|
+
};
|
|
35768
|
+
};
|
|
35769
|
+
noWrap: {
|
|
35770
|
+
readonly true: {
|
|
35771
|
+
readonly overflow: "hidden";
|
|
35772
|
+
readonly textOverflow: "ellipsis";
|
|
35773
|
+
readonly whiteSpace: "nowrap";
|
|
35774
|
+
};
|
|
35775
|
+
};
|
|
35776
|
+
}>;
|
|
35777
|
+
|
|
35778
|
+
declare type ThRecipeVariants = NonNullable<RecipeVariants<typeof thRecipe>>;
|
|
35779
|
+
|
|
35780
|
+
declare type ThRecipeVariants_2 = NonNullable<RecipeVariants<typeof thRecipe>>;
|
|
35781
|
+
|
|
35782
|
+
export declare const ThVanilla: default_2.ForwardRefExoticComponent<Omit<default_2.ThHTMLAttributes<HTMLTableCellElement>, "align"> & CSSProps & {
|
|
35783
|
+
transform?: "capitalize" | "uppercase" | "capitalizeWords" | undefined;
|
|
35784
|
+
align?: "center" | "end" | "start" | undefined;
|
|
35785
|
+
size?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "0" | "11" | "12" | "inherit" | undefined;
|
|
35786
|
+
weight?: "light" | "regular" | "medium" | "semiBold" | "bold" | undefined;
|
|
35787
|
+
variant?: "default" | "red" | "inherit" | "invalid" | "subtle" | "contrast" | undefined;
|
|
35788
|
+
gradient?: boolean | undefined;
|
|
35789
|
+
noWrap?: boolean | undefined;
|
|
35790
|
+
} & TableSortProps & default_2.RefAttributes<HTMLTableCellElement>>;
|
|
35791
|
+
|
|
35792
|
+
export declare type ThVanillaProps = Omit<default_2.ThHTMLAttributes<HTMLTableCellElement>, 'align'> & CSSProps & ThRecipeVariants_2 & TableSortProps;
|
|
35793
|
+
|
|
35350
35794
|
export declare const ToastActionVanilla: default_2.ForwardRefExoticComponent<ToastActionVanillaProps & default_2.RefAttributes<HTMLButtonElement>>;
|
|
35351
35795
|
|
|
35352
35796
|
export declare interface ToastActionVanillaProps extends Omit<ComponentPropsWithoutRef<typeof ToastPrimitive.Action>, 'asChild'>, CSSProps {
|
|
@@ -35495,6 +35939,59 @@ declare type TrProps = ComponentProps<typeof StyledTr_2> & VariantProps<typeof S
|
|
|
35495
35939
|
collapsedContentColSpan?: number;
|
|
35496
35940
|
} & RowLinkShortcutProps;
|
|
35497
35941
|
|
|
35942
|
+
declare const trRecipe: RuntimeFn< {
|
|
35943
|
+
interactive: {
|
|
35944
|
+
true: {
|
|
35945
|
+
selectors: {
|
|
35946
|
+
'&:hover': {
|
|
35947
|
+
backgroundColor: `var(--${string})`;
|
|
35948
|
+
cursor: "pointer";
|
|
35949
|
+
};
|
|
35950
|
+
};
|
|
35951
|
+
};
|
|
35952
|
+
};
|
|
35953
|
+
active: {
|
|
35954
|
+
true: {
|
|
35955
|
+
backgroundColor: `var(--${string})`;
|
|
35956
|
+
color: `var(--${string})`;
|
|
35957
|
+
fontWeight: `var(--${string})`;
|
|
35958
|
+
};
|
|
35959
|
+
};
|
|
35960
|
+
}>;
|
|
35961
|
+
|
|
35962
|
+
declare type TrRecipeVariants = NonNullable<RecipeVariants<typeof trRecipe>>;
|
|
35963
|
+
|
|
35964
|
+
declare type TrRecipeVariants_2 = NonNullable<RecipeVariants<typeof trRecipe>>;
|
|
35965
|
+
|
|
35966
|
+
export declare const TrVanilla: default_2.ForwardRefExoticComponent<default_2.HTMLAttributes<HTMLTableRowElement> & CSSProps & {
|
|
35967
|
+
interactive?: boolean | undefined;
|
|
35968
|
+
active?: boolean | undefined;
|
|
35969
|
+
} & RowLinkShortcutProps & {
|
|
35970
|
+
/** Content shown in a full-width row below, toggled by a button in a new first cell. */
|
|
35971
|
+
collapsedContent?: ReactNode;
|
|
35972
|
+
/** Column span of the collapsed content row; set it to the number of columns. */
|
|
35973
|
+
collapsedContentColSpan?: number;
|
|
35974
|
+
/** Accessible name of the expand button. */
|
|
35975
|
+
expandLabel?: string;
|
|
35976
|
+
/** Adds an empty first cell, to line up with rows that have an expand button. */
|
|
35977
|
+
emptyFirstColumn?: boolean;
|
|
35978
|
+
/** Styles the empty first cell as a header, for a row in `TheadVanilla`. */
|
|
35979
|
+
tableHead?: boolean;
|
|
35980
|
+
} & default_2.RefAttributes<HTMLTableRowElement>>;
|
|
35981
|
+
|
|
35982
|
+
export declare type TrVanillaProps = default_2.HTMLAttributes<HTMLTableRowElement> & CSSProps & TrRecipeVariants_2 & RowLinkShortcutProps & {
|
|
35983
|
+
/** Content shown in a full-width row below, toggled by a button in a new first cell. */
|
|
35984
|
+
collapsedContent?: ReactNode;
|
|
35985
|
+
/** Column span of the collapsed content row; set it to the number of columns. */
|
|
35986
|
+
collapsedContentColSpan?: number;
|
|
35987
|
+
/** Accessible name of the expand button. */
|
|
35988
|
+
expandLabel?: string;
|
|
35989
|
+
/** Adds an empty first cell, to line up with rows that have an expand button. */
|
|
35990
|
+
emptyFirstColumn?: boolean;
|
|
35991
|
+
/** Styles the empty first cell as a header, for a row in `TheadVanilla`. */
|
|
35992
|
+
tableHead?: boolean;
|
|
35993
|
+
};
|
|
35994
|
+
|
|
35498
35995
|
export declare const Ul: default_2.ForwardRefExoticComponent<Omit<ListProps, "ref"> & default_2.RefAttributes<HTMLUListElement>>;
|
|
35499
35996
|
|
|
35500
35997
|
export declare function useColorScheme(): ColorScheme;
|
|
@@ -35513,6 +36010,25 @@ export declare const useFieldControl: ({ id, invalid, disabled, "aria-describedb
|
|
|
35513
36010
|
'aria-invalid': boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
|
35514
36011
|
};
|
|
35515
36012
|
|
|
36013
|
+
/**
|
|
36014
|
+
* Keeps the sorted column and direction, and gives each header its `sort` and `onSort`.
|
|
36015
|
+
* It does not sort: pass `key` and `direction` to `sortRows`, or to the API.
|
|
36016
|
+
*/
|
|
36017
|
+
export declare const useTableSort: <K extends string>({ initialKey, initialDirection, newColumnDirection, }: UseTableSortOptions<K>) => {
|
|
36018
|
+
key: K;
|
|
36019
|
+
direction: TableSortDirection;
|
|
36020
|
+
sortProps: (column: K) => TableSortProps;
|
|
36021
|
+
};
|
|
36022
|
+
|
|
36023
|
+
export declare type UseTableSortOptions<K extends string> = {
|
|
36024
|
+
/** The column sorted on the first render. Later changes are ignored. */
|
|
36025
|
+
initialKey: K;
|
|
36026
|
+
/** The direction on the first render, `newColumnDirection` by default. Later changes are ignored. */
|
|
36027
|
+
initialDirection?: TableSortDirection;
|
|
36028
|
+
/** The direction a column is sorted in when it is clicked while another one is sorted. */
|
|
36029
|
+
newColumnDirection?: TableSortDirection;
|
|
36030
|
+
};
|
|
36031
|
+
|
|
35516
36032
|
export declare const useToast: () => ToastContextValue;
|
|
35517
36033
|
|
|
35518
36034
|
export declare function useVanillaExtractTheme(): ThemeContextValue;
|
|
@@ -35967,6 +36483,17 @@ export declare const vanillaTokens: {
|
|
|
35967
36483
|
chartStatusCritical: `var(--${string})`;
|
|
35968
36484
|
chartGrid: `var(--${string})`;
|
|
35969
36485
|
chartAxis: `var(--${string})`;
|
|
36486
|
+
tableText: `var(--${string})`;
|
|
36487
|
+
tableSubtleText: `var(--${string})`;
|
|
36488
|
+
tableHoverBackground: `var(--${string})`;
|
|
36489
|
+
tableActiveText: `var(--${string})`;
|
|
36490
|
+
tableActiveHoverText: `var(--${string})`;
|
|
36491
|
+
tableHeaderLayerBackground: `var(--${string})`;
|
|
36492
|
+
tableFooterLayerBackground: `var(--${string})`;
|
|
36493
|
+
tableHeaderText: `var(--${string})`;
|
|
36494
|
+
tableFooterText: `var(--${string})`;
|
|
36495
|
+
tableHoverText: `var(--${string})`;
|
|
36496
|
+
tableRowBorder: `var(--${string})`;
|
|
35970
36497
|
};
|
|
35971
36498
|
fonts: {
|
|
35972
36499
|
rubik: `var(--${string})`;
|