@traefik-labs/faency 13.5.0 → 13.7.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 +7 -9
- 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/Field/Field.js +5 -5
- package/dist/components/Field/Field.js.map +1 -1
- package/dist/components/Field/Field.vanilla.js +5 -5
- package/dist/components/Field/Field.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/List/List.vanilla.cjs +128 -0
- package/dist/components/List/List.vanilla.cjs.map +1 -0
- package/dist/components/List/List.vanilla.css.cjs +30 -0
- package/dist/components/List/List.vanilla.css.cjs.map +1 -0
- package/dist/components/List/List.vanilla.css.js +25 -0
- package/dist/components/List/List.vanilla.css.js.map +1 -0
- package/dist/components/List/List.vanilla.js +124 -0
- package/dist/components/List/List.vanilla.js.map +1 -0
- 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 +6 -5
- 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 +5 -7
- 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/TextField/TextField.vanilla.js +2 -2
- package/dist/components/TextField/TextField.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 +2495 -1638
- package/dist/index.cjs +25 -0
- package/dist/index.d.ts +611 -6
- package/dist/index.js +5 -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 +93 -79
- package/dist/styles/tokens.css.cjs.map +1 -1
- package/dist/styles/tokens.css.js +93 -79
- 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 {
|
|
@@ -11206,27 +11415,27 @@ declare interface ElevationOwnProps extends CSSProps {
|
|
|
11206
11415
|
declare const elevationRecipe: RuntimeFn< {
|
|
11207
11416
|
variant: {
|
|
11208
11417
|
0: {
|
|
11209
|
-
boxShadow:
|
|
11418
|
+
boxShadow: string;
|
|
11210
11419
|
};
|
|
11211
11420
|
1: {
|
|
11212
11421
|
backgroundColor: `var(--${string})`;
|
|
11213
|
-
boxShadow:
|
|
11422
|
+
boxShadow: string;
|
|
11214
11423
|
};
|
|
11215
11424
|
2: {
|
|
11216
11425
|
backgroundColor: `var(--${string})`;
|
|
11217
|
-
boxShadow:
|
|
11426
|
+
boxShadow: string;
|
|
11218
11427
|
};
|
|
11219
11428
|
3: {
|
|
11220
11429
|
backgroundColor: `var(--${string})`;
|
|
11221
|
-
boxShadow:
|
|
11430
|
+
boxShadow: string;
|
|
11222
11431
|
};
|
|
11223
11432
|
4: {
|
|
11224
11433
|
backgroundColor: `var(--${string})`;
|
|
11225
|
-
boxShadow:
|
|
11434
|
+
boxShadow: string;
|
|
11226
11435
|
};
|
|
11227
11436
|
5: {
|
|
11228
11437
|
backgroundColor: `var(--${string})`;
|
|
11229
|
-
boxShadow:
|
|
11438
|
+
boxShadow: string;
|
|
11230
11439
|
};
|
|
11231
11440
|
};
|
|
11232
11441
|
}>;
|
|
@@ -17047,14 +17256,75 @@ backgroundClip: WithPropertyValue<"backgroundClip">;
|
|
|
17047
17256
|
};
|
|
17048
17257
|
}>>;
|
|
17049
17258
|
|
|
17259
|
+
declare const liRecipe: RuntimeFn< {
|
|
17260
|
+
elevation: {
|
|
17261
|
+
0: {
|
|
17262
|
+
boxShadow: string;
|
|
17263
|
+
};
|
|
17264
|
+
1: {
|
|
17265
|
+
backgroundColor: `var(--${string})`;
|
|
17266
|
+
boxShadow: string;
|
|
17267
|
+
};
|
|
17268
|
+
2: {
|
|
17269
|
+
backgroundColor: `var(--${string})`;
|
|
17270
|
+
boxShadow: string;
|
|
17271
|
+
};
|
|
17272
|
+
3: {
|
|
17273
|
+
backgroundColor: `var(--${string})`;
|
|
17274
|
+
boxShadow: string;
|
|
17275
|
+
};
|
|
17276
|
+
4: {
|
|
17277
|
+
backgroundColor: `var(--${string})`;
|
|
17278
|
+
boxShadow: string;
|
|
17279
|
+
};
|
|
17280
|
+
5: {
|
|
17281
|
+
backgroundColor: `var(--${string})`;
|
|
17282
|
+
boxShadow: string;
|
|
17283
|
+
};
|
|
17284
|
+
};
|
|
17285
|
+
}>;
|
|
17286
|
+
|
|
17287
|
+
declare type LiRecipeVariants = NonNullable<RecipeVariants<typeof liRecipe>>;
|
|
17288
|
+
|
|
17050
17289
|
declare interface ListItemProps extends ComponentProps<typeof StyledLi>, VariantProps<typeof StyledLi>, VariantProps<typeof Flex> {
|
|
17051
17290
|
controls?: ReactNode;
|
|
17052
17291
|
}
|
|
17053
17292
|
|
|
17293
|
+
declare type ListOwnProps = CSSProps & {
|
|
17294
|
+
/** Renders the items as buttons. Nested lists inherit it. */
|
|
17295
|
+
interactive?: boolean;
|
|
17296
|
+
};
|
|
17297
|
+
|
|
17054
17298
|
declare interface ListProps extends ComponentProps<typeof StyledUl>, VariantProps<typeof StyledUl> {
|
|
17055
17299
|
interactive?: boolean;
|
|
17056
17300
|
}
|
|
17057
17301
|
|
|
17302
|
+
export declare const LiVanilla: default_2.ForwardRefExoticComponent<default_2.LiHTMLAttributes<HTMLLIElement> & CSSProps & {
|
|
17303
|
+
elevation?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
17304
|
+
} & {
|
|
17305
|
+
/** Shown on the right of the item, outside its button. */
|
|
17306
|
+
controls?: ReactNode;
|
|
17307
|
+
/** Disables the item's button. Only applies in an interactive list. */
|
|
17308
|
+
disabled?: boolean;
|
|
17309
|
+
align?: FlexAlignSimplified;
|
|
17310
|
+
justify?: FlexJustifySimplified;
|
|
17311
|
+
direction?: FlexDirection;
|
|
17312
|
+
gap?: Gap;
|
|
17313
|
+
wrap?: "wrap" | "noWrap" | "wrapReverse";
|
|
17314
|
+
} & default_2.RefAttributes<HTMLLIElement>>;
|
|
17315
|
+
|
|
17316
|
+
export declare type LiVanillaProps = default_2.LiHTMLAttributes<HTMLLIElement> & CSSProps & LiRecipeVariants & {
|
|
17317
|
+
/** Shown on the right of the item, outside its button. */
|
|
17318
|
+
controls?: ReactNode;
|
|
17319
|
+
/** Disables the item's button. Only applies in an interactive list. */
|
|
17320
|
+
disabled?: boolean;
|
|
17321
|
+
align?: FlexAlignSimplified;
|
|
17322
|
+
justify?: FlexJustifySimplified;
|
|
17323
|
+
direction?: FlexDirection;
|
|
17324
|
+
gap?: Gap;
|
|
17325
|
+
wrap?: 'wrap' | 'noWrap' | 'wrapReverse';
|
|
17326
|
+
};
|
|
17327
|
+
|
|
17058
17328
|
declare type MessageSize = '0' | '1' | '2' | '3';
|
|
17059
17329
|
|
|
17060
17330
|
declare type MeterSegmentsProps = {
|
|
@@ -17891,6 +18161,13 @@ declare interface NavigationTreeProps {
|
|
|
17891
18161
|
|
|
17892
18162
|
export declare const Ol: default_2.ForwardRefExoticComponent<Omit<OrderedListProps, "ref"> & default_2.RefAttributes<HTMLOListElement>>;
|
|
17893
18163
|
|
|
18164
|
+
export declare const OlVanilla: default_2.ForwardRefExoticComponent<default_2.OlHTMLAttributes<HTMLOListElement> & CSSProps & {
|
|
18165
|
+
/** Renders the items as buttons. Nested lists inherit it. */
|
|
18166
|
+
interactive?: boolean;
|
|
18167
|
+
} & default_2.RefAttributes<HTMLOListElement>>;
|
|
18168
|
+
|
|
18169
|
+
export declare type OlVanillaProps = default_2.OlHTMLAttributes<HTMLOListElement> & ListOwnProps;
|
|
18170
|
+
|
|
17894
18171
|
declare interface OrderedListProps extends ComponentProps<typeof StyledOl>, VariantProps<typeof StyledOl> {
|
|
17895
18172
|
interactive?: boolean;
|
|
17896
18173
|
}
|
|
@@ -20362,6 +20639,13 @@ declare interface SkeletonVanillaOwnProps extends SkeletonRecipeVariants, CSSPro
|
|
|
20362
20639
|
|
|
20363
20640
|
export declare type SkeletonVanillaProps<C extends ElementType = 'div'> = PolymorphicComponentProps<C, SkeletonVanillaOwnProps>;
|
|
20364
20641
|
|
|
20642
|
+
/**
|
|
20643
|
+
* Returns a sorted copy of `rows`: numbers by value, then strings in locale order,
|
|
20644
|
+
* ignoring case and comparing digit runs as numbers ("item2" before "item10").
|
|
20645
|
+
* Empty values (`null`, `undefined`, `''`, `NaN`) go last in both directions. Ties keep their order.
|
|
20646
|
+
*/
|
|
20647
|
+
export declare const sortRows: <T, K extends string>(rows: readonly T[], getValue: (row: T, key: K) => TableSortValue, key: K, direction: TableSortDirection) => T[];
|
|
20648
|
+
|
|
20365
20649
|
declare type SpacingToken = '$1' | '$2' | '$3' | '$4' | '$5' | '$6' | '$7' | '$8' | '$9' | string | number;
|
|
20366
20650
|
|
|
20367
20651
|
export declare const SpinnerVanilla: default_2.ForwardRefExoticComponent<Omit<default_2.HTMLAttributes<HTMLSpanElement>, "color" | "children"> & CSSProps & {
|
|
@@ -31343,6 +31627,57 @@ backgroundClip: WithPropertyValue<"backgroundClip">;
|
|
|
31343
31627
|
};
|
|
31344
31628
|
}>>;
|
|
31345
31629
|
|
|
31630
|
+
declare const tableRecipe: RuntimeFn< {
|
|
31631
|
+
elevation: {
|
|
31632
|
+
0: {
|
|
31633
|
+
boxShadow: string;
|
|
31634
|
+
};
|
|
31635
|
+
1: {
|
|
31636
|
+
backgroundColor: `var(--${string})`;
|
|
31637
|
+
boxShadow: string;
|
|
31638
|
+
};
|
|
31639
|
+
2: {
|
|
31640
|
+
backgroundColor: `var(--${string})`;
|
|
31641
|
+
boxShadow: string;
|
|
31642
|
+
};
|
|
31643
|
+
3: {
|
|
31644
|
+
backgroundColor: `var(--${string})`;
|
|
31645
|
+
boxShadow: string;
|
|
31646
|
+
};
|
|
31647
|
+
4: {
|
|
31648
|
+
backgroundColor: `var(--${string})`;
|
|
31649
|
+
boxShadow: string;
|
|
31650
|
+
};
|
|
31651
|
+
5: {
|
|
31652
|
+
backgroundColor: `var(--${string})`;
|
|
31653
|
+
boxShadow: string;
|
|
31654
|
+
};
|
|
31655
|
+
};
|
|
31656
|
+
}>;
|
|
31657
|
+
|
|
31658
|
+
declare type TableRecipeVariants = NonNullable<RecipeVariants<typeof tableRecipe>>;
|
|
31659
|
+
|
|
31660
|
+
declare type TableRecipeVariants_2 = NonNullable<RecipeVariants<typeof tableRecipe>>;
|
|
31661
|
+
|
|
31662
|
+
export declare type TableSectionVanillaProps = default_2.HTMLAttributes<HTMLTableSectionElement> & CSSProps;
|
|
31663
|
+
|
|
31664
|
+
export declare type TableSortDirection = 'asc' | 'desc';
|
|
31665
|
+
|
|
31666
|
+
export declare type TableSortProps = {
|
|
31667
|
+
/** The direction the column is sorted in, or `undefined` when it is not sorted. */
|
|
31668
|
+
sort?: TableSortDirection;
|
|
31669
|
+
/** Makes the column sortable: called when its header is clicked. */
|
|
31670
|
+
onSort?: () => void;
|
|
31671
|
+
};
|
|
31672
|
+
|
|
31673
|
+
export declare type TableSortValue = string | number | null | undefined;
|
|
31674
|
+
|
|
31675
|
+
export declare const TableVanilla: default_2.ForwardRefExoticComponent<default_2.TableHTMLAttributes<HTMLTableElement> & CSSProps & {
|
|
31676
|
+
elevation?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
31677
|
+
} & default_2.RefAttributes<HTMLTableElement>>;
|
|
31678
|
+
|
|
31679
|
+
export declare type TableVanillaProps = default_2.TableHTMLAttributes<HTMLTableElement> & CSSProps & TableRecipeVariants_2;
|
|
31680
|
+
|
|
31346
31681
|
export declare const TabsContainer: StyledComponent<ForwardRefExoticComponent<TabsPrimitive.TabsProps & RefAttributes<HTMLDivElement>>, {}, {
|
|
31347
31682
|
bp1: "(min-width: 520px) and (max-width: 899px)";
|
|
31348
31683
|
bp2: "(min-width: 900px) and (max-width: 1199px)";
|
|
@@ -33103,6 +33438,8 @@ backgroundClip: WithPropertyValue<"backgroundClip">;
|
|
|
33103
33438
|
};
|
|
33104
33439
|
}>>;
|
|
33105
33440
|
|
|
33441
|
+
export declare const TbodyVanilla: default_2.ForwardRefExoticComponent<default_2.HTMLAttributes<HTMLTableSectionElement> & CSSProps & default_2.RefAttributes<HTMLTableSectionElement>>;
|
|
33442
|
+
|
|
33106
33443
|
export declare const Td: StyledComponent<"td", {
|
|
33107
33444
|
subtle?: boolean | "true" | undefined;
|
|
33108
33445
|
align?: "center" | "end" | "start" | undefined;
|
|
@@ -33462,6 +33799,37 @@ declare type TdProps = ComponentProps<typeof StyledTd> & VariantProps<typeof Sty
|
|
|
33462
33799
|
fullColSpan?: boolean;
|
|
33463
33800
|
};
|
|
33464
33801
|
|
|
33802
|
+
declare const tdRecipe: RuntimeFn< {
|
|
33803
|
+
subtle: {
|
|
33804
|
+
true: {
|
|
33805
|
+
fontWeight: `var(--${string})`;
|
|
33806
|
+
color: `var(--${string})`;
|
|
33807
|
+
};
|
|
33808
|
+
};
|
|
33809
|
+
align: {
|
|
33810
|
+
readonly start: {
|
|
33811
|
+
readonly textAlign: "start";
|
|
33812
|
+
};
|
|
33813
|
+
readonly center: {
|
|
33814
|
+
readonly textAlign: "center";
|
|
33815
|
+
};
|
|
33816
|
+
readonly end: {
|
|
33817
|
+
readonly textAlign: "end";
|
|
33818
|
+
};
|
|
33819
|
+
};
|
|
33820
|
+
}>;
|
|
33821
|
+
|
|
33822
|
+
declare type TdRecipeVariants = NonNullable<RecipeVariants<typeof tdRecipe>>;
|
|
33823
|
+
|
|
33824
|
+
declare type TdRecipeVariants_2 = NonNullable<RecipeVariants<typeof tdRecipe>>;
|
|
33825
|
+
|
|
33826
|
+
export declare const TdVanilla: default_2.ForwardRefExoticComponent<Omit<default_2.TdHTMLAttributes<HTMLTableCellElement>, "align"> & CSSProps & {
|
|
33827
|
+
subtle?: boolean | undefined;
|
|
33828
|
+
align?: "center" | "end" | "start" | undefined;
|
|
33829
|
+
} & default_2.RefAttributes<HTMLTableCellElement>>;
|
|
33830
|
+
|
|
33831
|
+
export declare type TdVanillaProps = Omit<default_2.TdHTMLAttributes<HTMLTableCellElement>, 'align'> & CSSProps & TdRecipeVariants_2;
|
|
33832
|
+
|
|
33465
33833
|
declare const Text_2: StyledComponent<"span", {
|
|
33466
33834
|
size?: number | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "0" | "11" | "12" | "inherit" | undefined;
|
|
33467
33835
|
weight?: "light" | "regular" | "medium" | "semiBold" | "bold" | undefined;
|
|
@@ -34246,6 +34614,8 @@ backgroundClip: WithPropertyValue<"backgroundClip">;
|
|
|
34246
34614
|
};
|
|
34247
34615
|
}>>;
|
|
34248
34616
|
|
|
34617
|
+
export declare const TfootVanilla: default_2.ForwardRefExoticComponent<default_2.HTMLAttributes<HTMLTableSectionElement> & CSSProps & default_2.RefAttributes<HTMLTableSectionElement>>;
|
|
34618
|
+
|
|
34249
34619
|
export declare const Th: StyledComponent<"th", StyledComponentProps<[StyledComponent<default_2.ForwardRefExoticComponent<LabelProps & default_2.RefAttributes<HTMLLabelElement>>, {
|
|
34250
34620
|
size?: number | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "0" | "11" | "12" | "inherit" | undefined;
|
|
34251
34621
|
weight?: "light" | "regular" | "medium" | "semiBold" | "bold" | undefined;
|
|
@@ -35336,6 +35706,8 @@ backgroundClip: WithPropertyValue<"backgroundClip">;
|
|
|
35336
35706
|
};
|
|
35337
35707
|
}>>;
|
|
35338
35708
|
|
|
35709
|
+
export declare const TheadVanilla: default_2.ForwardRefExoticComponent<default_2.HTMLAttributes<HTMLTableSectionElement> & CSSProps & default_2.RefAttributes<HTMLTableSectionElement>>;
|
|
35710
|
+
|
|
35339
35711
|
declare interface ThemeContextValue {
|
|
35340
35712
|
mode: ThemeMode;
|
|
35341
35713
|
resolvedTheme: 'light' | 'dark';
|
|
@@ -35347,6 +35719,146 @@ declare interface ThemeContextValue {
|
|
|
35347
35719
|
|
|
35348
35720
|
export declare type ThemeMode = 'light' | 'dark' | 'system';
|
|
35349
35721
|
|
|
35722
|
+
declare const thRecipe: RuntimeFn< {
|
|
35723
|
+
transform: {
|
|
35724
|
+
capitalize: {
|
|
35725
|
+
display: "table-cell";
|
|
35726
|
+
selectors: {
|
|
35727
|
+
readonly '&::first-letter': {
|
|
35728
|
+
readonly textTransform: "uppercase";
|
|
35729
|
+
};
|
|
35730
|
+
};
|
|
35731
|
+
};
|
|
35732
|
+
uppercase: {
|
|
35733
|
+
readonly textTransform: "uppercase";
|
|
35734
|
+
};
|
|
35735
|
+
capitalizeWords: {
|
|
35736
|
+
readonly textTransform: "capitalize";
|
|
35737
|
+
};
|
|
35738
|
+
};
|
|
35739
|
+
align: {
|
|
35740
|
+
readonly start: {
|
|
35741
|
+
readonly textAlign: "start";
|
|
35742
|
+
};
|
|
35743
|
+
readonly center: {
|
|
35744
|
+
readonly textAlign: "center";
|
|
35745
|
+
};
|
|
35746
|
+
readonly end: {
|
|
35747
|
+
readonly textAlign: "end";
|
|
35748
|
+
};
|
|
35749
|
+
};
|
|
35750
|
+
size: {
|
|
35751
|
+
readonly '0': {
|
|
35752
|
+
readonly fontSize: `var(--${string})`;
|
|
35753
|
+
};
|
|
35754
|
+
readonly '1': {
|
|
35755
|
+
readonly fontSize: `var(--${string})`;
|
|
35756
|
+
};
|
|
35757
|
+
readonly '2': {
|
|
35758
|
+
readonly fontSize: `var(--${string})`;
|
|
35759
|
+
};
|
|
35760
|
+
readonly '3': {
|
|
35761
|
+
readonly fontSize: `var(--${string})`;
|
|
35762
|
+
};
|
|
35763
|
+
readonly '4': {
|
|
35764
|
+
readonly fontSize: `var(--${string})`;
|
|
35765
|
+
};
|
|
35766
|
+
readonly '5': {
|
|
35767
|
+
readonly fontSize: `var(--${string})`;
|
|
35768
|
+
};
|
|
35769
|
+
readonly '6': {
|
|
35770
|
+
readonly fontSize: `var(--${string})`;
|
|
35771
|
+
};
|
|
35772
|
+
readonly '7': {
|
|
35773
|
+
readonly fontSize: `var(--${string})`;
|
|
35774
|
+
};
|
|
35775
|
+
readonly '8': {
|
|
35776
|
+
readonly fontSize: `var(--${string})`;
|
|
35777
|
+
};
|
|
35778
|
+
readonly '9': {
|
|
35779
|
+
readonly fontSize: `var(--${string})`;
|
|
35780
|
+
};
|
|
35781
|
+
readonly '10': {
|
|
35782
|
+
readonly fontSize: `var(--${string})`;
|
|
35783
|
+
};
|
|
35784
|
+
readonly '11': {
|
|
35785
|
+
readonly fontSize: `var(--${string})`;
|
|
35786
|
+
};
|
|
35787
|
+
readonly '12': {
|
|
35788
|
+
readonly fontSize: `var(--${string})`;
|
|
35789
|
+
};
|
|
35790
|
+
readonly inherit: {
|
|
35791
|
+
readonly fontSize: "inherit";
|
|
35792
|
+
};
|
|
35793
|
+
};
|
|
35794
|
+
weight: {
|
|
35795
|
+
readonly light: {
|
|
35796
|
+
readonly fontWeight: `var(--${string})`;
|
|
35797
|
+
};
|
|
35798
|
+
readonly regular: {
|
|
35799
|
+
readonly fontWeight: `var(--${string})`;
|
|
35800
|
+
};
|
|
35801
|
+
readonly medium: {
|
|
35802
|
+
readonly fontWeight: `var(--${string})`;
|
|
35803
|
+
};
|
|
35804
|
+
readonly semiBold: {
|
|
35805
|
+
readonly fontWeight: `var(--${string})`;
|
|
35806
|
+
};
|
|
35807
|
+
readonly bold: {
|
|
35808
|
+
readonly fontWeight: `var(--${string})`;
|
|
35809
|
+
};
|
|
35810
|
+
};
|
|
35811
|
+
variant: {
|
|
35812
|
+
readonly red: {
|
|
35813
|
+
readonly color: `var(--${string})`;
|
|
35814
|
+
};
|
|
35815
|
+
readonly subtle: {
|
|
35816
|
+
readonly color: `var(--${string})`;
|
|
35817
|
+
};
|
|
35818
|
+
readonly default: {
|
|
35819
|
+
readonly color: `var(--${string})`;
|
|
35820
|
+
};
|
|
35821
|
+
readonly contrast: {
|
|
35822
|
+
readonly color: `var(--${string})`;
|
|
35823
|
+
};
|
|
35824
|
+
readonly inherit: {
|
|
35825
|
+
readonly color: "inherit";
|
|
35826
|
+
};
|
|
35827
|
+
readonly invalid: {
|
|
35828
|
+
readonly color: `var(--${string})`;
|
|
35829
|
+
};
|
|
35830
|
+
};
|
|
35831
|
+
gradient: {
|
|
35832
|
+
readonly true: {
|
|
35833
|
+
readonly WebkitBackgroundClip: "text";
|
|
35834
|
+
readonly WebkitTextFillColor: "transparent";
|
|
35835
|
+
};
|
|
35836
|
+
};
|
|
35837
|
+
noWrap: {
|
|
35838
|
+
readonly true: {
|
|
35839
|
+
readonly overflow: "hidden";
|
|
35840
|
+
readonly textOverflow: "ellipsis";
|
|
35841
|
+
readonly whiteSpace: "nowrap";
|
|
35842
|
+
};
|
|
35843
|
+
};
|
|
35844
|
+
}>;
|
|
35845
|
+
|
|
35846
|
+
declare type ThRecipeVariants = NonNullable<RecipeVariants<typeof thRecipe>>;
|
|
35847
|
+
|
|
35848
|
+
declare type ThRecipeVariants_2 = NonNullable<RecipeVariants<typeof thRecipe>>;
|
|
35849
|
+
|
|
35850
|
+
export declare const ThVanilla: default_2.ForwardRefExoticComponent<Omit<default_2.ThHTMLAttributes<HTMLTableCellElement>, "align"> & CSSProps & {
|
|
35851
|
+
transform?: "capitalize" | "uppercase" | "capitalizeWords" | undefined;
|
|
35852
|
+
align?: "center" | "end" | "start" | undefined;
|
|
35853
|
+
size?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "0" | "11" | "12" | "inherit" | undefined;
|
|
35854
|
+
weight?: "light" | "regular" | "medium" | "semiBold" | "bold" | undefined;
|
|
35855
|
+
variant?: "default" | "red" | "inherit" | "invalid" | "subtle" | "contrast" | undefined;
|
|
35856
|
+
gradient?: boolean | undefined;
|
|
35857
|
+
noWrap?: boolean | undefined;
|
|
35858
|
+
} & TableSortProps & default_2.RefAttributes<HTMLTableCellElement>>;
|
|
35859
|
+
|
|
35860
|
+
export declare type ThVanillaProps = Omit<default_2.ThHTMLAttributes<HTMLTableCellElement>, 'align'> & CSSProps & ThRecipeVariants_2 & TableSortProps;
|
|
35861
|
+
|
|
35350
35862
|
export declare const ToastActionVanilla: default_2.ForwardRefExoticComponent<ToastActionVanillaProps & default_2.RefAttributes<HTMLButtonElement>>;
|
|
35351
35863
|
|
|
35352
35864
|
export declare interface ToastActionVanillaProps extends Omit<ComponentPropsWithoutRef<typeof ToastPrimitive.Action>, 'asChild'>, CSSProps {
|
|
@@ -35495,8 +36007,68 @@ declare type TrProps = ComponentProps<typeof StyledTr_2> & VariantProps<typeof S
|
|
|
35495
36007
|
collapsedContentColSpan?: number;
|
|
35496
36008
|
} & RowLinkShortcutProps;
|
|
35497
36009
|
|
|
36010
|
+
declare const trRecipe: RuntimeFn< {
|
|
36011
|
+
interactive: {
|
|
36012
|
+
true: {
|
|
36013
|
+
selectors: {
|
|
36014
|
+
'&:hover': {
|
|
36015
|
+
backgroundColor: `var(--${string})`;
|
|
36016
|
+
cursor: "pointer";
|
|
36017
|
+
};
|
|
36018
|
+
};
|
|
36019
|
+
};
|
|
36020
|
+
};
|
|
36021
|
+
active: {
|
|
36022
|
+
true: {
|
|
36023
|
+
backgroundColor: `var(--${string})`;
|
|
36024
|
+
color: `var(--${string})`;
|
|
36025
|
+
fontWeight: `var(--${string})`;
|
|
36026
|
+
};
|
|
36027
|
+
};
|
|
36028
|
+
}>;
|
|
36029
|
+
|
|
36030
|
+
declare type TrRecipeVariants = NonNullable<RecipeVariants<typeof trRecipe>>;
|
|
36031
|
+
|
|
36032
|
+
declare type TrRecipeVariants_2 = NonNullable<RecipeVariants<typeof trRecipe>>;
|
|
36033
|
+
|
|
36034
|
+
export declare const TrVanilla: default_2.ForwardRefExoticComponent<default_2.HTMLAttributes<HTMLTableRowElement> & CSSProps & {
|
|
36035
|
+
interactive?: boolean | undefined;
|
|
36036
|
+
active?: boolean | undefined;
|
|
36037
|
+
} & RowLinkShortcutProps & {
|
|
36038
|
+
/** Content shown in a full-width row below, toggled by a button in a new first cell. */
|
|
36039
|
+
collapsedContent?: ReactNode;
|
|
36040
|
+
/** Column span of the collapsed content row; set it to the number of columns. */
|
|
36041
|
+
collapsedContentColSpan?: number;
|
|
36042
|
+
/** Accessible name of the expand button. */
|
|
36043
|
+
expandLabel?: string;
|
|
36044
|
+
/** Adds an empty first cell, to line up with rows that have an expand button. */
|
|
36045
|
+
emptyFirstColumn?: boolean;
|
|
36046
|
+
/** Styles the empty first cell as a header, for a row in `TheadVanilla`. */
|
|
36047
|
+
tableHead?: boolean;
|
|
36048
|
+
} & default_2.RefAttributes<HTMLTableRowElement>>;
|
|
36049
|
+
|
|
36050
|
+
export declare type TrVanillaProps = default_2.HTMLAttributes<HTMLTableRowElement> & CSSProps & TrRecipeVariants_2 & RowLinkShortcutProps & {
|
|
36051
|
+
/** Content shown in a full-width row below, toggled by a button in a new first cell. */
|
|
36052
|
+
collapsedContent?: ReactNode;
|
|
36053
|
+
/** Column span of the collapsed content row; set it to the number of columns. */
|
|
36054
|
+
collapsedContentColSpan?: number;
|
|
36055
|
+
/** Accessible name of the expand button. */
|
|
36056
|
+
expandLabel?: string;
|
|
36057
|
+
/** Adds an empty first cell, to line up with rows that have an expand button. */
|
|
36058
|
+
emptyFirstColumn?: boolean;
|
|
36059
|
+
/** Styles the empty first cell as a header, for a row in `TheadVanilla`. */
|
|
36060
|
+
tableHead?: boolean;
|
|
36061
|
+
};
|
|
36062
|
+
|
|
35498
36063
|
export declare const Ul: default_2.ForwardRefExoticComponent<Omit<ListProps, "ref"> & default_2.RefAttributes<HTMLUListElement>>;
|
|
35499
36064
|
|
|
36065
|
+
export declare const UlVanilla: default_2.ForwardRefExoticComponent<default_2.HTMLAttributes<HTMLUListElement> & CSSProps & {
|
|
36066
|
+
/** Renders the items as buttons. Nested lists inherit it. */
|
|
36067
|
+
interactive?: boolean;
|
|
36068
|
+
} & default_2.RefAttributes<HTMLUListElement>>;
|
|
36069
|
+
|
|
36070
|
+
export declare type UlVanillaProps = default_2.HTMLAttributes<HTMLUListElement> & ListOwnProps;
|
|
36071
|
+
|
|
35500
36072
|
export declare function useColorScheme(): ColorScheme;
|
|
35501
36073
|
|
|
35502
36074
|
/**
|
|
@@ -35513,6 +36085,25 @@ export declare const useFieldControl: ({ id, invalid, disabled, "aria-describedb
|
|
|
35513
36085
|
'aria-invalid': boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
|
35514
36086
|
};
|
|
35515
36087
|
|
|
36088
|
+
/**
|
|
36089
|
+
* Keeps the sorted column and direction, and gives each header its `sort` and `onSort`.
|
|
36090
|
+
* It does not sort: pass `key` and `direction` to `sortRows`, or to the API.
|
|
36091
|
+
*/
|
|
36092
|
+
export declare const useTableSort: <K extends string>({ initialKey, initialDirection, newColumnDirection, }: UseTableSortOptions<K>) => {
|
|
36093
|
+
key: K;
|
|
36094
|
+
direction: TableSortDirection;
|
|
36095
|
+
sortProps: (column: K) => TableSortProps;
|
|
36096
|
+
};
|
|
36097
|
+
|
|
36098
|
+
export declare type UseTableSortOptions<K extends string> = {
|
|
36099
|
+
/** The column sorted on the first render. Later changes are ignored. */
|
|
36100
|
+
initialKey: K;
|
|
36101
|
+
/** The direction on the first render, `newColumnDirection` by default. Later changes are ignored. */
|
|
36102
|
+
initialDirection?: TableSortDirection;
|
|
36103
|
+
/** The direction a column is sorted in when it is clicked while another one is sorted. */
|
|
36104
|
+
newColumnDirection?: TableSortDirection;
|
|
36105
|
+
};
|
|
36106
|
+
|
|
35516
36107
|
export declare const useToast: () => ToastContextValue;
|
|
35517
36108
|
|
|
35518
36109
|
export declare function useVanillaExtractTheme(): ThemeContextValue;
|
|
@@ -35938,6 +36529,9 @@ export declare const vanillaTokens: {
|
|
|
35938
36529
|
comboboxOptionHighlightBg: `var(--${string})`;
|
|
35939
36530
|
toastBorder: `var(--${string})`;
|
|
35940
36531
|
meterTrackBg: `var(--${string})`;
|
|
36532
|
+
listItemHoverBg: `var(--${string})`;
|
|
36533
|
+
listItemActiveBg: `var(--${string})`;
|
|
36534
|
+
listItemFocusBorder: `var(--${string})`;
|
|
35941
36535
|
toneSuccessSolid: `var(--${string})`;
|
|
35942
36536
|
toneSuccessText: `var(--${string})`;
|
|
35943
36537
|
toneSuccessSurface: `var(--${string})`;
|
|
@@ -35967,6 +36561,17 @@ export declare const vanillaTokens: {
|
|
|
35967
36561
|
chartStatusCritical: `var(--${string})`;
|
|
35968
36562
|
chartGrid: `var(--${string})`;
|
|
35969
36563
|
chartAxis: `var(--${string})`;
|
|
36564
|
+
tableText: `var(--${string})`;
|
|
36565
|
+
tableSubtleText: `var(--${string})`;
|
|
36566
|
+
tableHoverBackground: `var(--${string})`;
|
|
36567
|
+
tableActiveText: `var(--${string})`;
|
|
36568
|
+
tableActiveHoverText: `var(--${string})`;
|
|
36569
|
+
tableHeaderLayerBackground: `var(--${string})`;
|
|
36570
|
+
tableFooterLayerBackground: `var(--${string})`;
|
|
36571
|
+
tableHeaderText: `var(--${string})`;
|
|
36572
|
+
tableFooterText: `var(--${string})`;
|
|
36573
|
+
tableHoverText: `var(--${string})`;
|
|
36574
|
+
tableRowBorder: `var(--${string})`;
|
|
35970
36575
|
};
|
|
35971
36576
|
fonts: {
|
|
35972
36577
|
rubik: `var(--${string})`;
|