@traefik-labs/faency 13.7.1 → 13.8.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/README.md +1 -2
- package/dist/components/AriaTable/AriaTable.cjs +48 -22
- package/dist/components/AriaTable/AriaTable.cjs.map +1 -1
- package/dist/components/AriaTable/AriaTable.js +49 -23
- package/dist/components/AriaTable/AriaTable.js.map +1 -1
- package/dist/components/AriaTable/AriaTable.vanilla.cjs +8 -4
- package/dist/components/AriaTable/AriaTable.vanilla.cjs.map +1 -1
- package/dist/components/AriaTable/AriaTable.vanilla.js +8 -4
- package/dist/components/AriaTable/AriaTable.vanilla.js.map +1 -1
- package/dist/components/Avatar/Avatar.vanilla.cjs +5 -2
- package/dist/components/Avatar/Avatar.vanilla.cjs.map +1 -1
- package/dist/components/Avatar/Avatar.vanilla.js +5 -2
- package/dist/components/Avatar/Avatar.vanilla.js.map +1 -1
- package/dist/components/Badge/Badge.vanilla.cjs +2 -10
- package/dist/components/Badge/Badge.vanilla.cjs.map +1 -1
- package/dist/components/Badge/Badge.vanilla.js +2 -10
- package/dist/components/Badge/Badge.vanilla.js.map +1 -1
- package/dist/components/Blockquote/Blockquote.vanilla.cjs +5 -11
- package/dist/components/Blockquote/Blockquote.vanilla.cjs.map +1 -1
- package/dist/components/Blockquote/Blockquote.vanilla.js +5 -11
- package/dist/components/Blockquote/Blockquote.vanilla.js.map +1 -1
- package/dist/components/Box/Box.vanilla.cjs +2 -10
- package/dist/components/Box/Box.vanilla.cjs.map +1 -1
- package/dist/components/Box/Box.vanilla.js +2 -10
- package/dist/components/Box/Box.vanilla.js.map +1 -1
- package/dist/components/Bubble/Bubble.vanilla.cjs +2 -10
- package/dist/components/Bubble/Bubble.vanilla.cjs.map +1 -1
- package/dist/components/Bubble/Bubble.vanilla.js +2 -10
- package/dist/components/Bubble/Bubble.vanilla.js.map +1 -1
- package/dist/components/Button/Button.vanilla.cjs +2 -10
- package/dist/components/Button/Button.vanilla.cjs.map +1 -1
- package/dist/components/Button/Button.vanilla.js +2 -10
- package/dist/components/Button/Button.vanilla.js.map +1 -1
- package/dist/components/ButtonSwitch/ButtonSwitch.vanilla.cjs +3 -17
- package/dist/components/ButtonSwitch/ButtonSwitch.vanilla.cjs.map +1 -1
- package/dist/components/ButtonSwitch/ButtonSwitch.vanilla.js +3 -17
- package/dist/components/ButtonSwitch/ButtonSwitch.vanilla.js.map +1 -1
- package/dist/components/Card/Card.vanilla.cjs +6 -11
- package/dist/components/Card/Card.vanilla.cjs.map +1 -1
- package/dist/components/Card/Card.vanilla.js +6 -11
- package/dist/components/Card/Card.vanilla.js.map +1 -1
- package/dist/components/CodeBlock/CodeBlock.vanilla.cjs +3 -6
- package/dist/components/CodeBlock/CodeBlock.vanilla.cjs.map +1 -1
- package/dist/components/CodeBlock/CodeBlock.vanilla.js +3 -6
- package/dist/components/CodeBlock/CodeBlock.vanilla.js.map +1 -1
- package/dist/components/Combobox/Combobox.vanilla.cjs +3 -10
- package/dist/components/Combobox/Combobox.vanilla.cjs.map +1 -1
- package/dist/components/Combobox/Combobox.vanilla.js +3 -10
- package/dist/components/Combobox/Combobox.vanilla.js.map +1 -1
- package/dist/components/Container/Container.vanilla.cjs +5 -11
- package/dist/components/Container/Container.vanilla.cjs.map +1 -1
- package/dist/components/Container/Container.vanilla.js +5 -11
- package/dist/components/Container/Container.vanilla.js.map +1 -1
- package/dist/components/Elevation/Elevation.vanilla.cjs +5 -11
- package/dist/components/Elevation/Elevation.vanilla.cjs.map +1 -1
- package/dist/components/Elevation/Elevation.vanilla.js +5 -11
- package/dist/components/Elevation/Elevation.vanilla.js.map +1 -1
- package/dist/components/Field/Field.vanilla.cjs +3 -9
- package/dist/components/Field/Field.vanilla.cjs.map +1 -1
- package/dist/components/Field/Field.vanilla.js +3 -9
- package/dist/components/Field/Field.vanilla.js.map +1 -1
- package/dist/components/Flex/Flex.vanilla.cjs +5 -11
- package/dist/components/Flex/Flex.vanilla.cjs.map +1 -1
- package/dist/components/Flex/Flex.vanilla.js +5 -11
- package/dist/components/Flex/Flex.vanilla.js.map +1 -1
- package/dist/components/Grid/Grid.vanilla.cjs +7 -11
- package/dist/components/Grid/Grid.vanilla.cjs.map +1 -1
- package/dist/components/Grid/Grid.vanilla.js +7 -11
- package/dist/components/Grid/Grid.vanilla.js.map +1 -1
- package/dist/components/Heading/Heading.vanilla.cjs +35 -0
- package/dist/components/Heading/Heading.vanilla.cjs.map +1 -0
- package/dist/components/Heading/Heading.vanilla.css.cjs +85 -0
- package/dist/components/Heading/Heading.vanilla.css.cjs.map +1 -0
- package/dist/components/Heading/Heading.vanilla.css.js +74 -0
- package/dist/components/Heading/Heading.vanilla.css.js.map +1 -0
- package/dist/components/Heading/Heading.vanilla.js +30 -0
- package/dist/components/Heading/Heading.vanilla.js.map +1 -0
- package/dist/components/IconButton/IconButton.vanilla.cjs +5 -11
- package/dist/components/IconButton/IconButton.vanilla.cjs.map +1 -1
- package/dist/components/IconButton/IconButton.vanilla.js +5 -11
- package/dist/components/IconButton/IconButton.vanilla.js.map +1 -1
- package/dist/components/Image/Image.vanilla.cjs +2 -10
- package/dist/components/Image/Image.vanilla.cjs.map +1 -1
- package/dist/components/Image/Image.vanilla.js +2 -10
- package/dist/components/Image/Image.vanilla.js.map +1 -1
- package/dist/components/Input/Input.vanilla.cjs +2 -10
- package/dist/components/Input/Input.vanilla.cjs.map +1 -1
- package/dist/components/Input/Input.vanilla.js +2 -10
- package/dist/components/Input/Input.vanilla.js.map +1 -1
- package/dist/components/Label/Label.vanilla.cjs +5 -11
- package/dist/components/Label/Label.vanilla.cjs.map +1 -1
- package/dist/components/Label/Label.vanilla.js +5 -11
- package/dist/components/Label/Label.vanilla.js.map +1 -1
- package/dist/components/List/List.vanilla.cjs +10 -18
- package/dist/components/List/List.vanilla.cjs.map +1 -1
- package/dist/components/List/List.vanilla.js +7 -15
- package/dist/components/List/List.vanilla.js.map +1 -1
- package/dist/components/Meter/Meter.vanilla.cjs +3 -8
- package/dist/components/Meter/Meter.vanilla.cjs.map +1 -1
- package/dist/components/Meter/Meter.vanilla.js +3 -8
- package/dist/components/Meter/Meter.vanilla.js.map +1 -1
- package/dist/components/Panel/Panel.vanilla.cjs +2 -10
- package/dist/components/Panel/Panel.vanilla.cjs.map +1 -1
- package/dist/components/Panel/Panel.vanilla.js +2 -10
- package/dist/components/Panel/Panel.vanilla.js.map +1 -1
- package/dist/components/Paragraph/Paragraph.vanilla.cjs +5 -11
- package/dist/components/Paragraph/Paragraph.vanilla.cjs.map +1 -1
- package/dist/components/Paragraph/Paragraph.vanilla.js +5 -11
- package/dist/components/Paragraph/Paragraph.vanilla.js.map +1 -1
- package/dist/components/RowLink/RowLink.vanilla.cjs.map +1 -1
- package/dist/components/RowLink/RowLink.vanilla.js.map +1 -1
- package/dist/components/SegmentedControl/SegmentedControl.vanilla.cjs +3 -14
- package/dist/components/SegmentedControl/SegmentedControl.vanilla.cjs.map +1 -1
- package/dist/components/SegmentedControl/SegmentedControl.vanilla.js +3 -14
- package/dist/components/SegmentedControl/SegmentedControl.vanilla.js.map +1 -1
- package/dist/components/Select/Select.vanilla.cjs +136 -0
- package/dist/components/Select/Select.vanilla.cjs.map +1 -0
- package/dist/components/Select/Select.vanilla.css.cjs +69 -0
- package/dist/components/Select/Select.vanilla.css.cjs.map +1 -0
- package/dist/components/Select/Select.vanilla.css.js +58 -0
- package/dist/components/Select/Select.vanilla.css.js.map +1 -0
- package/dist/components/Select/Select.vanilla.js +129 -0
- package/dist/components/Select/Select.vanilla.js.map +1 -0
- package/dist/components/Skeleton/Skeleton.vanilla.cjs +2 -10
- package/dist/components/Skeleton/Skeleton.vanilla.cjs.map +1 -1
- package/dist/components/Skeleton/Skeleton.vanilla.js +2 -10
- package/dist/components/Skeleton/Skeleton.vanilla.js.map +1 -1
- package/dist/components/Spinner/Spinner.vanilla.cjs +3 -6
- package/dist/components/Spinner/Spinner.vanilla.cjs.map +1 -1
- package/dist/components/Spinner/Spinner.vanilla.js +3 -6
- package/dist/components/Spinner/Spinner.vanilla.js.map +1 -1
- package/dist/components/SplitLayout/SplitLayout.vanilla.cjs +3 -10
- package/dist/components/SplitLayout/SplitLayout.vanilla.cjs.map +1 -1
- package/dist/components/SplitLayout/SplitLayout.vanilla.js +3 -10
- package/dist/components/SplitLayout/SplitLayout.vanilla.js.map +1 -1
- package/dist/components/Switch/Switch.vanilla.cjs +70 -0
- package/dist/components/Switch/Switch.vanilla.cjs.map +1 -0
- package/dist/components/Switch/Switch.vanilla.css.cjs +17 -0
- package/dist/components/Switch/Switch.vanilla.css.cjs.map +1 -0
- package/dist/components/Switch/Switch.vanilla.css.js +17 -0
- package/dist/components/Switch/Switch.vanilla.css.js.map +1 -0
- package/dist/components/Switch/Switch.vanilla.js +68 -0
- package/dist/components/Switch/Switch.vanilla.js.map +1 -0
- package/dist/components/Table/Table.vanilla.cjs +8 -4
- package/dist/components/Table/Table.vanilla.cjs.map +1 -1
- package/dist/components/Table/Table.vanilla.js +8 -4
- package/dist/components/Table/Table.vanilla.js.map +1 -1
- package/dist/components/Text/Text.vanilla.cjs +5 -11
- package/dist/components/Text/Text.vanilla.cjs.map +1 -1
- package/dist/components/Text/Text.vanilla.js +5 -11
- package/dist/components/Text/Text.vanilla.js.map +1 -1
- package/dist/components/TextField/TextField.vanilla.cjs.map +1 -1
- package/dist/components/TextField/TextField.vanilla.js.map +1 -1
- package/dist/components/Textarea/Textarea.vanilla.cjs +2 -10
- package/dist/components/Textarea/Textarea.vanilla.cjs.map +1 -1
- package/dist/components/Textarea/Textarea.vanilla.js +2 -10
- package/dist/components/Textarea/Textarea.vanilla.js.map +1 -1
- package/dist/components/Toast/Toast.vanilla.cjs +4 -15
- package/dist/components/Toast/Toast.vanilla.cjs.map +1 -1
- package/dist/components/Toast/Toast.vanilla.js +4 -15
- package/dist/components/Toast/Toast.vanilla.js.map +1 -1
- package/dist/faency.css +3098 -2517
- package/dist/index.cjs +17 -0
- package/dist/index.d.cts +36968 -0
- package/dist/index.d.ts +416 -94
- package/dist/index.js +5 -1
- package/dist/styles/recipeVariants.cjs +15 -0
- package/dist/styles/recipeVariants.cjs.map +1 -0
- package/dist/styles/recipeVariants.js +15 -0
- package/dist/styles/recipeVariants.js.map +1 -0
- package/dist/styles/themeContext.cjs.map +1 -1
- package/dist/styles/themeContext.js.map +1 -1
- package/dist/styles/tokens.css.cjs +146 -133
- package/dist/styles/tokens.css.js +146 -133
- package/package.json +18 -7
package/dist/index.d.ts
CHANGED
|
@@ -39,10 +39,10 @@ import { Property } from '@stitches/react/types/css';
|
|
|
39
39
|
import { PropertyValue } from '@stitches/react';
|
|
40
40
|
import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
|
|
41
41
|
import { ReactNode } from 'react';
|
|
42
|
-
import { RecipeVariants } from '@vanilla-extract/recipes';
|
|
43
42
|
import { RefAttributes } from 'react';
|
|
44
43
|
import { RemoveIndex } from '@stitches/react/types/stitches';
|
|
45
44
|
import { RuntimeFn } from '@vanilla-extract/recipes';
|
|
45
|
+
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
46
46
|
import type * as Stitches from '@stitches/react';
|
|
47
47
|
import { String as String_2 } from '@stitches/react/types/util';
|
|
48
48
|
import { StyledComponent } from '@stitches/react/types/styled-component';
|
|
@@ -816,14 +816,7 @@ 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>>;
|
|
819
|
+
export declare const AriaCaptionVanilla: default_2.ForwardRefExoticComponent<default_2.HTMLAttributes<HTMLDivElement> & CSSProps & CaptionRecipeVariants & default_2.RefAttributes<HTMLDivElement>>;
|
|
827
820
|
|
|
828
821
|
export declare type AriaCaptionVanillaProps = default_2.HTMLAttributes<HTMLDivElement> & CSSProps & CaptionRecipeVariants;
|
|
829
822
|
|
|
@@ -1200,9 +1193,7 @@ light: "(prefers-color-scheme: light)";
|
|
|
1200
1193
|
|
|
1201
1194
|
export declare type AriaTableSectionVanillaProps = default_2.HTMLAttributes<HTMLDivElement> & CSSProps;
|
|
1202
1195
|
|
|
1203
|
-
export declare const AriaTableVanilla: default_2.ForwardRefExoticComponent<default_2.HTMLAttributes<HTMLDivElement> & CSSProps & {
|
|
1204
|
-
elevation?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
1205
|
-
} & {
|
|
1196
|
+
export declare const AriaTableVanilla: default_2.ForwardRefExoticComponent<default_2.HTMLAttributes<HTMLDivElement> & CSSProps & TableRecipeVariants & {
|
|
1206
1197
|
/** Collapses the borders, for a table with collapsible rows. */
|
|
1207
1198
|
hasCollapsibleChildren?: boolean;
|
|
1208
1199
|
} & default_2.RefAttributes<HTMLDivElement>>;
|
|
@@ -1581,10 +1572,7 @@ export declare const AriaTbodyVanilla: default_2.ForwardRefExoticComponent<defau
|
|
|
1581
1572
|
|
|
1582
1573
|
export declare const AriaTd: default_2.ForwardRefExoticComponent<Omit<TdProps, "ref"> & default_2.RefAttributes<HTMLSpanElement>>;
|
|
1583
1574
|
|
|
1584
|
-
export declare const AriaTdVanilla: default_2.ForwardRefExoticComponent<default_2.HTMLAttributes<HTMLSpanElement> & CSSProps & {
|
|
1585
|
-
subtle?: boolean | undefined;
|
|
1586
|
-
align?: "center" | "end" | "start" | undefined;
|
|
1587
|
-
} & {
|
|
1575
|
+
export declare const AriaTdVanilla: default_2.ForwardRefExoticComponent<default_2.HTMLAttributes<HTMLSpanElement> & CSSProps & TdRecipeVariants & {
|
|
1588
1576
|
/** Spans the whole row. It must be the only cell of its row. */
|
|
1589
1577
|
fullColSpan?: boolean;
|
|
1590
1578
|
} & default_2.RefAttributes<HTMLSpanElement>>;
|
|
@@ -3422,15 +3410,7 @@ light: "(prefers-color-scheme: light)";
|
|
|
3422
3410
|
|
|
3423
3411
|
export declare const AriaTheadVanilla: default_2.ForwardRefExoticComponent<default_2.HTMLAttributes<HTMLDivElement> & CSSProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
3424
3412
|
|
|
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>>;
|
|
3413
|
+
export declare const AriaThVanilla: default_2.ForwardRefExoticComponent<default_2.HTMLAttributes<HTMLSpanElement> & CSSProps & ThRecipeVariants & TableSortProps & default_2.RefAttributes<HTMLSpanElement>>;
|
|
3434
3414
|
|
|
3435
3415
|
export declare type AriaThVanillaProps = default_2.HTMLAttributes<HTMLSpanElement> & CSSProps & ThRecipeVariants & TableSortProps;
|
|
3436
3416
|
|
|
@@ -3445,10 +3425,7 @@ declare type AriaTrProps = ComponentProps<typeof StyledTr> & VariantProps<typeof
|
|
|
3445
3425
|
children?: default_2.ReactNode;
|
|
3446
3426
|
} & RowLinkShortcutProps;
|
|
3447
3427
|
|
|
3448
|
-
export declare const AriaTrVanilla: default_2.ForwardRefExoticComponent<default_2.HTMLAttributes<HTMLDivElement> & CSSProps & {
|
|
3449
|
-
interactive?: boolean | undefined;
|
|
3450
|
-
active?: boolean | undefined;
|
|
3451
|
-
} & RowLinkShortcutProps & {
|
|
3428
|
+
export declare const AriaTrVanilla: default_2.ForwardRefExoticComponent<default_2.HTMLAttributes<HTMLDivElement> & CSSProps & TrRecipeVariants & RowLinkShortcutProps & {
|
|
3452
3429
|
/** Content shown in a full-width row below, toggled by a button in a new first cell. */
|
|
3453
3430
|
collapsedContent?: ReactNode;
|
|
3454
3431
|
/** Accessible name of the expand button. */
|
|
@@ -3546,7 +3523,7 @@ borderRadius: "50%";
|
|
|
3546
3523
|
};
|
|
3547
3524
|
}>;
|
|
3548
3525
|
|
|
3549
|
-
declare type AvatarRecipeVariants =
|
|
3526
|
+
declare type AvatarRecipeVariants = RecipeVariantProps<typeof avatarRecipe>;
|
|
3550
3527
|
|
|
3551
3528
|
export declare const AvatarVanilla: default_2.ForwardRefExoticComponent<Omit<Omit<AvatarPrimitive.AvatarProps & default_2.RefAttributes<HTMLSpanElement>, "ref">, keyof AvatarOwnProps> & AvatarOwnProps & default_2.RefAttributes<HTMLSpanElement>>;
|
|
3552
3529
|
|
|
@@ -3629,7 +3606,7 @@ border: "none";
|
|
|
3629
3606
|
};
|
|
3630
3607
|
}>;
|
|
3631
3608
|
|
|
3632
|
-
declare type BadgeRecipeVariants =
|
|
3609
|
+
declare type BadgeRecipeVariants = RecipeVariantProps<typeof badgeRecipe>;
|
|
3633
3610
|
|
|
3634
3611
|
export declare const BadgeVanilla: BadgeVanillaComponent;
|
|
3635
3612
|
|
|
@@ -4348,7 +4325,7 @@ backgroundClip: WithPropertyValue<"backgroundClip">;
|
|
|
4348
4325
|
|
|
4349
4326
|
declare type BlockquoteComponent = PolymorphicComponent<'blockquote', BlockquoteVanillaProps<ElementType>>;
|
|
4350
4327
|
|
|
4351
|
-
declare interface BlockquoteOwnProps extends
|
|
4328
|
+
declare interface BlockquoteOwnProps extends BlockquoteRecipeVariants, CSSProps {
|
|
4352
4329
|
}
|
|
4353
4330
|
|
|
4354
4331
|
declare const blockquoteRecipe: RuntimeFn< {
|
|
@@ -4464,7 +4441,7 @@ readonly whiteSpace: "nowrap";
|
|
|
4464
4441
|
};
|
|
4465
4442
|
}>;
|
|
4466
4443
|
|
|
4467
|
-
declare type BlockquoteRecipeVariants =
|
|
4444
|
+
declare type BlockquoteRecipeVariants = RecipeVariantProps<typeof blockquoteRecipe>;
|
|
4468
4445
|
|
|
4469
4446
|
export declare const BlockquoteVanilla: BlockquoteComponent;
|
|
4470
4447
|
|
|
@@ -5279,7 +5256,7 @@ content: "none";
|
|
|
5279
5256
|
};
|
|
5280
5257
|
}>;
|
|
5281
5258
|
|
|
5282
|
-
declare type BubbleRecipeVariants =
|
|
5259
|
+
declare type BubbleRecipeVariants = RecipeVariantProps<typeof bubbleRecipe>;
|
|
5283
5260
|
|
|
5284
5261
|
export declare const BubbleVanilla: BubbleVanillaComponent;
|
|
5285
5262
|
|
|
@@ -5289,7 +5266,7 @@ export declare type BubbleVanillaProps<C extends ElementType = 'div'> = Polymorp
|
|
|
5289
5266
|
|
|
5290
5267
|
export declare const Button: default_2.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & default_2.RefAttributes<HTMLButtonElement>>;
|
|
5291
5268
|
|
|
5292
|
-
declare interface ButtonOwnProps extends
|
|
5269
|
+
declare interface ButtonOwnProps extends ButtonRecipeVariants, CSSProps {
|
|
5293
5270
|
}
|
|
5294
5271
|
|
|
5295
5272
|
declare type ButtonProps = ComponentProps<typeof StyledButton> & ButtonVariants & {
|
|
@@ -5430,7 +5407,7 @@ borderRadius: `var(--${string})`;
|
|
|
5430
5407
|
};
|
|
5431
5408
|
}>;
|
|
5432
5409
|
|
|
5433
|
-
declare type ButtonRecipeVariants =
|
|
5410
|
+
declare type ButtonRecipeVariants = RecipeVariantProps<typeof buttonRecipe>;
|
|
5434
5411
|
|
|
5435
5412
|
export declare const ButtonSwitchContainer: StyledComponent<ForwardRefExoticComponent<(ToggleGroupPrimitive.ToggleGroupSingleProps | ToggleGroupPrimitive.ToggleGroupMultipleProps) & RefAttributes<HTMLDivElement>>, {}, {
|
|
5436
5413
|
bp1: "(min-width: 520px) and (max-width: 899px)";
|
|
@@ -6646,18 +6623,11 @@ readonly whiteSpace: "nowrap";
|
|
|
6646
6623
|
};
|
|
6647
6624
|
}>;
|
|
6648
6625
|
|
|
6649
|
-
declare type CaptionRecipeVariants =
|
|
6626
|
+
declare type CaptionRecipeVariants = RecipeVariantProps<typeof captionRecipe>;
|
|
6650
6627
|
|
|
6651
|
-
declare type CaptionRecipeVariants_2 =
|
|
6628
|
+
declare type CaptionRecipeVariants_2 = RecipeVariantProps<typeof captionRecipe>;
|
|
6652
6629
|
|
|
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>>;
|
|
6630
|
+
export declare const CaptionVanilla: default_2.ForwardRefExoticComponent<default_2.HTMLAttributes<HTMLTableCaptionElement> & CSSProps & CaptionRecipeVariants_2 & default_2.RefAttributes<HTMLTableCaptionElement>>;
|
|
6661
6631
|
|
|
6662
6632
|
export declare type CaptionVanillaProps = default_2.HTMLAttributes<HTMLTableCaptionElement> & CSSProps & CaptionRecipeVariants_2;
|
|
6663
6633
|
|
|
@@ -6715,7 +6685,7 @@ backgroundColor: `var(--${string})`;
|
|
|
6715
6685
|
};
|
|
6716
6686
|
}>;
|
|
6717
6687
|
|
|
6718
|
-
declare type CardRecipeVariants =
|
|
6688
|
+
declare type CardRecipeVariants = RecipeVariantProps<typeof cardRecipe>;
|
|
6719
6689
|
|
|
6720
6690
|
export declare const CardVanilla: CardVanillaComponent;
|
|
6721
6691
|
|
|
@@ -7515,13 +7485,34 @@ backgroundClip: WithPropertyValue<"backgroundClip">;
|
|
|
7515
7485
|
|
|
7516
7486
|
declare type ContainerComponent = PolymorphicComponent<'div', ContainerProps<ElementType>>;
|
|
7517
7487
|
|
|
7518
|
-
declare interface ContainerOwnProps extends CSSProps {
|
|
7519
|
-
size?: '1' | '2' | '3' | '4';
|
|
7520
|
-
noGutter?: boolean;
|
|
7488
|
+
declare interface ContainerOwnProps extends RecipeVariantProps<typeof containerRecipe>, CSSProps {
|
|
7521
7489
|
}
|
|
7522
7490
|
|
|
7523
7491
|
declare type ContainerProps<C extends ElementType = 'div'> = PolymorphicComponentProps<C, ContainerOwnProps>;
|
|
7524
7492
|
|
|
7493
|
+
declare const containerRecipe: RuntimeFn< {
|
|
7494
|
+
size: {
|
|
7495
|
+
'1': {
|
|
7496
|
+
maxWidth: "425px";
|
|
7497
|
+
};
|
|
7498
|
+
'2': {
|
|
7499
|
+
maxWidth: "768px";
|
|
7500
|
+
};
|
|
7501
|
+
'3': {
|
|
7502
|
+
maxWidth: "1440px";
|
|
7503
|
+
};
|
|
7504
|
+
'4': {
|
|
7505
|
+
maxWidth: "none";
|
|
7506
|
+
};
|
|
7507
|
+
};
|
|
7508
|
+
noGutter: {
|
|
7509
|
+
true: {
|
|
7510
|
+
paddingLeft: number;
|
|
7511
|
+
paddingRight: number;
|
|
7512
|
+
};
|
|
7513
|
+
};
|
|
7514
|
+
}>;
|
|
7515
|
+
|
|
7525
7516
|
export declare const ContainerVanilla: ContainerComponent;
|
|
7526
7517
|
|
|
7527
7518
|
export declare const createTheme: <Argument0 extends string | ({
|
|
@@ -11440,7 +11431,7 @@ boxShadow: string;
|
|
|
11440
11431
|
};
|
|
11441
11432
|
}>;
|
|
11442
11433
|
|
|
11443
|
-
declare type ElevationRecipeVariants =
|
|
11434
|
+
declare type ElevationRecipeVariants = RecipeVariantProps<typeof elevationRecipe>;
|
|
11444
11435
|
|
|
11445
11436
|
export declare const ElevationVanilla: ElevationVanillaComponent;
|
|
11446
11437
|
|
|
@@ -13337,6 +13328,29 @@ backgroundClip: WithPropertyValue<"backgroundClip">;
|
|
|
13337
13328
|
};
|
|
13338
13329
|
}>>;
|
|
13339
13330
|
|
|
13331
|
+
declare const h1Recipe: RuntimeFn< {
|
|
13332
|
+
transform: {
|
|
13333
|
+
uppercase: {
|
|
13334
|
+
textTransform: "uppercase";
|
|
13335
|
+
};
|
|
13336
|
+
capitalize: {
|
|
13337
|
+
display: "block";
|
|
13338
|
+
selectors: {
|
|
13339
|
+
'&::first-letter': {
|
|
13340
|
+
textTransform: "uppercase";
|
|
13341
|
+
};
|
|
13342
|
+
};
|
|
13343
|
+
};
|
|
13344
|
+
capitalizeWords: {
|
|
13345
|
+
textTransform: "capitalize";
|
|
13346
|
+
};
|
|
13347
|
+
};
|
|
13348
|
+
}>;
|
|
13349
|
+
|
|
13350
|
+
export declare const H1Vanilla: PolymorphicComponent<"h1", HeadingProps<ElementType>>;
|
|
13351
|
+
|
|
13352
|
+
export declare type H1VanillaProps<C extends ElementType = 'h1'> = HeadingProps<C>;
|
|
13353
|
+
|
|
13340
13354
|
export declare const H2: StyledComponent<"h2", {
|
|
13341
13355
|
transform?: "capitalize" | "uppercase" | "capitalizeWords" | undefined;
|
|
13342
13356
|
}, {
|
|
@@ -13691,6 +13705,10 @@ backgroundClip: WithPropertyValue<"backgroundClip">;
|
|
|
13691
13705
|
};
|
|
13692
13706
|
}>>;
|
|
13693
13707
|
|
|
13708
|
+
export declare const H2Vanilla: PolymorphicComponent<"h2", HeadingProps<ElementType>>;
|
|
13709
|
+
|
|
13710
|
+
export declare type H2VanillaProps<C extends ElementType = 'h2'> = HeadingProps<C>;
|
|
13711
|
+
|
|
13694
13712
|
export declare const H3: StyledComponent<"h3", {
|
|
13695
13713
|
transform?: "capitalize" | "uppercase" | "capitalizeWords" | undefined;
|
|
13696
13714
|
}, {
|
|
@@ -14045,6 +14063,10 @@ backgroundClip: WithPropertyValue<"backgroundClip">;
|
|
|
14045
14063
|
};
|
|
14046
14064
|
}>>;
|
|
14047
14065
|
|
|
14066
|
+
export declare const H3Vanilla: PolymorphicComponent<"h3", HeadingProps<ElementType>>;
|
|
14067
|
+
|
|
14068
|
+
export declare type H3VanillaProps<C extends ElementType = 'h3'> = HeadingProps<C>;
|
|
14069
|
+
|
|
14048
14070
|
export declare const H4: StyledComponent<"h4", {
|
|
14049
14071
|
transform?: "capitalize" | "uppercase" | "capitalizeWords" | undefined;
|
|
14050
14072
|
}, {
|
|
@@ -14399,6 +14421,10 @@ backgroundClip: WithPropertyValue<"backgroundClip">;
|
|
|
14399
14421
|
};
|
|
14400
14422
|
}>>;
|
|
14401
14423
|
|
|
14424
|
+
export declare const H4Vanilla: PolymorphicComponent<"h4", HeadingProps<ElementType>>;
|
|
14425
|
+
|
|
14426
|
+
export declare type H4VanillaProps<C extends ElementType = 'h4'> = HeadingProps<C>;
|
|
14427
|
+
|
|
14402
14428
|
export declare const H5: StyledComponent<"h5", {
|
|
14403
14429
|
transform?: "capitalize" | "uppercase" | "capitalizeWords" | undefined;
|
|
14404
14430
|
}, {
|
|
@@ -14753,6 +14779,10 @@ backgroundClip: WithPropertyValue<"backgroundClip">;
|
|
|
14753
14779
|
};
|
|
14754
14780
|
}>>;
|
|
14755
14781
|
|
|
14782
|
+
export declare const H5Vanilla: PolymorphicComponent<"h5", HeadingProps<ElementType>>;
|
|
14783
|
+
|
|
14784
|
+
export declare type H5VanillaProps<C extends ElementType = 'h5'> = HeadingProps<C>;
|
|
14785
|
+
|
|
14756
14786
|
export declare const H6: StyledComponent<"h6", {
|
|
14757
14787
|
transform?: "capitalize" | "uppercase" | "capitalizeWords" | undefined;
|
|
14758
14788
|
}, {
|
|
@@ -15107,6 +15137,17 @@ backgroundClip: WithPropertyValue<"backgroundClip">;
|
|
|
15107
15137
|
};
|
|
15108
15138
|
}>>;
|
|
15109
15139
|
|
|
15140
|
+
export declare const H6Vanilla: PolymorphicComponent<"h6", HeadingProps<ElementType>>;
|
|
15141
|
+
|
|
15142
|
+
export declare type H6VanillaProps<C extends ElementType = 'h6'> = HeadingProps<C>;
|
|
15143
|
+
|
|
15144
|
+
declare interface HeadingOwnProps extends HeadingRecipeVariants, CSSProps {
|
|
15145
|
+
}
|
|
15146
|
+
|
|
15147
|
+
declare type HeadingProps<C extends ElementType> = PolymorphicComponentProps<C, HeadingOwnProps>;
|
|
15148
|
+
|
|
15149
|
+
declare type HeadingRecipeVariants = RecipeVariantProps<typeof h1Recipe>;
|
|
15150
|
+
|
|
15110
15151
|
declare interface HTMLInputProps extends default_2.InputHTMLAttributes<any> {
|
|
15111
15152
|
startAdornment?: default_2.ReactNode;
|
|
15112
15153
|
endAdornment?: default_2.ReactNode;
|
|
@@ -15468,7 +15509,7 @@ backgroundClip: WithPropertyValue<"backgroundClip">;
|
|
|
15468
15509
|
};
|
|
15469
15510
|
}>>;
|
|
15470
15511
|
|
|
15471
|
-
declare interface IconButtonOwnProps extends
|
|
15512
|
+
declare interface IconButtonOwnProps extends IconButtonRecipeVariants, CSSProps {
|
|
15472
15513
|
}
|
|
15473
15514
|
|
|
15474
15515
|
declare const iconButtonRecipe: RuntimeFn< {
|
|
@@ -15516,7 +15557,7 @@ color: `var(--${string})`;
|
|
|
15516
15557
|
};
|
|
15517
15558
|
}>;
|
|
15518
15559
|
|
|
15519
|
-
declare type IconButtonRecipeVariants =
|
|
15560
|
+
declare type IconButtonRecipeVariants = RecipeVariantProps<typeof iconButtonRecipe>;
|
|
15520
15561
|
|
|
15521
15562
|
export declare const IconButtonVanilla: IconButtonVanillaComponent;
|
|
15522
15563
|
|
|
@@ -16739,7 +16780,7 @@ readonly whiteSpace: "nowrap";
|
|
|
16739
16780
|
};
|
|
16740
16781
|
}>;
|
|
16741
16782
|
|
|
16742
|
-
declare type LabelRecipeVariants =
|
|
16783
|
+
declare type LabelRecipeVariants = RecipeVariantProps<typeof labelRecipe>;
|
|
16743
16784
|
|
|
16744
16785
|
export declare const LabelVanilla: LabelVanillaComponent;
|
|
16745
16786
|
|
|
@@ -17284,7 +17325,7 @@ boxShadow: string;
|
|
|
17284
17325
|
};
|
|
17285
17326
|
}>;
|
|
17286
17327
|
|
|
17287
|
-
declare type LiRecipeVariants =
|
|
17328
|
+
declare type LiRecipeVariants = RecipeVariantProps<typeof liRecipe>;
|
|
17288
17329
|
|
|
17289
17330
|
declare interface ListItemProps extends ComponentProps<typeof StyledLi>, VariantProps<typeof StyledLi>, VariantProps<typeof Flex> {
|
|
17290
17331
|
controls?: ReactNode;
|
|
@@ -17299,9 +17340,7 @@ declare interface ListProps extends ComponentProps<typeof StyledUl>, VariantProp
|
|
|
17299
17340
|
interactive?: boolean;
|
|
17300
17341
|
}
|
|
17301
17342
|
|
|
17302
|
-
export declare const LiVanilla: default_2.ForwardRefExoticComponent<default_2.LiHTMLAttributes<HTMLLIElement> & CSSProps & {
|
|
17303
|
-
elevation?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
|
|
17304
|
-
} & {
|
|
17343
|
+
export declare const LiVanilla: default_2.ForwardRefExoticComponent<default_2.LiHTMLAttributes<HTMLLIElement> & CSSProps & LiRecipeVariants & {
|
|
17305
17344
|
/** Shown on the right of the item, outside its button. */
|
|
17306
17345
|
controls?: ReactNode;
|
|
17307
17346
|
/** Disables the item's button. Only applies in an interactive list. */
|
|
@@ -18159,6 +18198,8 @@ declare interface NavigationTreeProps {
|
|
|
18159
18198
|
fullWidth?: boolean;
|
|
18160
18199
|
}
|
|
18161
18200
|
|
|
18201
|
+
declare type NumericKey<T> = T extends `${infer N extends number}` ? N : never;
|
|
18202
|
+
|
|
18162
18203
|
export declare const Ol: default_2.ForwardRefExoticComponent<Omit<OrderedListProps, "ref"> & default_2.RefAttributes<HTMLOListElement>>;
|
|
18163
18204
|
|
|
18164
18205
|
export declare const OlVanilla: default_2.ForwardRefExoticComponent<default_2.OlHTMLAttributes<HTMLOListElement> & CSSProps & {
|
|
@@ -18894,7 +18935,7 @@ declare type PaneProps = default_2.HTMLAttributes<HTMLDivElement> & CSSProps & {
|
|
|
18894
18935
|
|
|
18895
18936
|
export declare const Paragraph: default_2.ForwardRefExoticComponent<Omit<ParagraphProps, "ref"> & default_2.RefAttributes<HTMLParagraphElement>>;
|
|
18896
18937
|
|
|
18897
|
-
declare interface ParagraphOwnProps extends
|
|
18938
|
+
declare interface ParagraphOwnProps extends ParagraphRecipeVariants, CSSProps {
|
|
18898
18939
|
}
|
|
18899
18940
|
|
|
18900
18941
|
declare type ParagraphProps = default_2.ComponentProps<typeof DEFAULT_TAG> & ParagraphVariants & {
|
|
@@ -18929,7 +18970,7 @@ lineHeight: "30px";
|
|
|
18929
18970
|
};
|
|
18930
18971
|
}>;
|
|
18931
18972
|
|
|
18932
|
-
declare type ParagraphRecipeVariants =
|
|
18973
|
+
declare type ParagraphRecipeVariants = RecipeVariantProps<typeof paragraphRecipe>;
|
|
18933
18974
|
|
|
18934
18975
|
declare type ParagraphSizeVariants = '1' | '2';
|
|
18935
18976
|
|
|
@@ -19771,6 +19812,12 @@ declare type RadioProps = RadioGroupItemPrimitiveProps & RadioVariants & {
|
|
|
19771
19812
|
|
|
19772
19813
|
declare type RadioVariants = VariantProps<typeof StyledRadio>;
|
|
19773
19814
|
|
|
19815
|
+
declare type RecipeFn = (options?: any) => string;
|
|
19816
|
+
|
|
19817
|
+
declare type RecipeVariantProps<R extends RecipeFn> = {
|
|
19818
|
+
[K in keyof NonNullable<Parameters<R>[0]>]: NonNullable<Parameters<R>[0]>[K] | NumericKey<NonNullable<Parameters<R>[0]>[K]>;
|
|
19819
|
+
};
|
|
19820
|
+
|
|
19774
19821
|
/**
|
|
19775
19822
|
* A link that covers its whole table row, so that a click on the row opens it.
|
|
19776
19823
|
* Other links and buttons in the row stay above it.
|
|
@@ -19855,7 +19902,7 @@ export declare const SegmentedControlItemVanilla: default_2.ForwardRefExoticComp
|
|
|
19855
19902
|
export declare interface SegmentedControlItemVanillaProps extends Omit<ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Item>, 'asChild'>, CSSProps {
|
|
19856
19903
|
}
|
|
19857
19904
|
|
|
19858
|
-
export declare type SegmentedControlSize = NonNullable<
|
|
19905
|
+
export declare type SegmentedControlSize = NonNullable<RecipeVariantProps<typeof segmentedControlItemRecipe>['size']>;
|
|
19859
19906
|
|
|
19860
19907
|
export declare const SegmentedControlVanilla: default_2.ForwardRefExoticComponent<SegmentedControlVanillaProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
19861
19908
|
|
|
@@ -19866,10 +19913,117 @@ export declare interface SegmentedControlVanillaProps extends Omit<ComponentProp
|
|
|
19866
19913
|
|
|
19867
19914
|
export declare const Select: default_2.ForwardRefExoticComponent<Omit<SelectProps, "ref"> & default_2.RefAttributes<HTMLSelectElement>>;
|
|
19868
19915
|
|
|
19916
|
+
export declare const SelectGroupVanilla: default_2.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectGroupProps, "asChild"> & CSSProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
19917
|
+
|
|
19918
|
+
export declare type SelectGroupVanillaProps = Omit<SelectPrimitive.SelectGroupProps, 'asChild'> & CSSProps;
|
|
19919
|
+
|
|
19920
|
+
export declare const SelectItemVanilla: default_2.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps, "asChild"> & CSSProps & {
|
|
19921
|
+
/** A second line under the item, shown in the list only. */
|
|
19922
|
+
description?: default_2.ReactNode;
|
|
19923
|
+
} & default_2.RefAttributes<HTMLDivElement>>;
|
|
19924
|
+
|
|
19925
|
+
export declare type SelectItemVanillaProps = Omit<SelectPrimitive.SelectItemProps, 'asChild'> & CSSProps & {
|
|
19926
|
+
/** A second line under the item, shown in the list only. */
|
|
19927
|
+
description?: default_2.ReactNode;
|
|
19928
|
+
};
|
|
19929
|
+
|
|
19930
|
+
export declare const SelectLabelVanilla: default_2.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectLabelProps, "asChild"> & CSSProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
19931
|
+
|
|
19932
|
+
export declare type SelectLabelVanillaProps = Omit<SelectPrimitive.SelectLabelProps, 'asChild'> & CSSProps;
|
|
19933
|
+
|
|
19869
19934
|
declare type SelectProps = Omit<default_2.ComponentProps<typeof StyledSelect>, 'size'> & SelectVariants & {
|
|
19870
19935
|
css?: CSS_2;
|
|
19871
19936
|
};
|
|
19872
19937
|
|
|
19938
|
+
declare type SelectRootProps = Omit<SelectPrimitive.SelectProps, 'children' | 'autoComplete' | 'onValueChange'>;
|
|
19939
|
+
|
|
19940
|
+
export declare const SelectSeparatorVanilla: default_2.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps, "asChild"> & CSSProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
19941
|
+
|
|
19942
|
+
export declare type SelectSeparatorVanillaProps = Omit<SelectPrimitive.SelectSeparatorProps, 'asChild'> & CSSProps;
|
|
19943
|
+
|
|
19944
|
+
declare const selectTriggerRecipe: RuntimeFn< {
|
|
19945
|
+
size: {
|
|
19946
|
+
small: {
|
|
19947
|
+
height: string;
|
|
19948
|
+
borderRadius: string;
|
|
19949
|
+
fontSize: string;
|
|
19950
|
+
paddingInlineStart: string;
|
|
19951
|
+
paddingInlineEnd: string;
|
|
19952
|
+
gap: string;
|
|
19953
|
+
};
|
|
19954
|
+
medium: {
|
|
19955
|
+
height: string;
|
|
19956
|
+
borderRadius: string;
|
|
19957
|
+
fontSize: string;
|
|
19958
|
+
paddingInlineStart: string;
|
|
19959
|
+
paddingInlineEnd: string;
|
|
19960
|
+
gap: string;
|
|
19961
|
+
};
|
|
19962
|
+
large: {
|
|
19963
|
+
height: string;
|
|
19964
|
+
borderRadius: string;
|
|
19965
|
+
fontSize: string;
|
|
19966
|
+
paddingInlineStart: string;
|
|
19967
|
+
paddingInlineEnd: string;
|
|
19968
|
+
gap: string;
|
|
19969
|
+
};
|
|
19970
|
+
};
|
|
19971
|
+
variant: {
|
|
19972
|
+
ghost: {
|
|
19973
|
+
boxShadow: "none";
|
|
19974
|
+
backgroundColor: "transparent";
|
|
19975
|
+
selectors: {
|
|
19976
|
+
'&:focus-visible': {
|
|
19977
|
+
backgroundColor: `var(--${string})`;
|
|
19978
|
+
boxShadow: `inset 0 0 0 1px var(--${string}), 0 0 0 1px var(--${string})`;
|
|
19979
|
+
};
|
|
19980
|
+
};
|
|
19981
|
+
'@media': {
|
|
19982
|
+
"(any-hover: hover)": {
|
|
19983
|
+
selectors: {
|
|
19984
|
+
'&:hover': {
|
|
19985
|
+
boxShadow: `inset 0 0 0 1px var(--${string})`;
|
|
19986
|
+
backgroundColor: `var(--${string})`;
|
|
19987
|
+
};
|
|
19988
|
+
};
|
|
19989
|
+
};
|
|
19990
|
+
};
|
|
19991
|
+
};
|
|
19992
|
+
};
|
|
19993
|
+
state: {
|
|
19994
|
+
invalid: {
|
|
19995
|
+
boxShadow: `inset 0 0 0 1px var(--${string})`;
|
|
19996
|
+
selectors: {
|
|
19997
|
+
'&:focus-visible': {
|
|
19998
|
+
boxShadow: `inset 0 0 0 2px var(--${string}), 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)`;
|
|
19999
|
+
};
|
|
20000
|
+
};
|
|
20001
|
+
};
|
|
20002
|
+
};
|
|
20003
|
+
}>;
|
|
20004
|
+
|
|
20005
|
+
declare type SelectTriggerVariants = RecipeVariantProps<typeof selectTriggerRecipe>;
|
|
20006
|
+
|
|
20007
|
+
export declare const SelectVanilla: default_2.ForwardRefExoticComponent<Omit<default_2.ButtonHTMLAttributes<HTMLButtonElement>, "form" | "open" | "value" | "name" | "type" | "children" | "onChange" | "defaultValue" | "dir" | "disabled" | "required" | "onOpenChange" | "defaultOpen"> & SelectRootProps & CSSProps & {
|
|
20008
|
+
onValueChange?: (value: string) => void;
|
|
20009
|
+
placeholder?: default_2.ReactNode;
|
|
20010
|
+
autoComplete?: string;
|
|
20011
|
+
size?: SelectTriggerVariants["size"];
|
|
20012
|
+
variant?: SelectTriggerVariants["variant"];
|
|
20013
|
+
state?: SelectTriggerVariants["state"];
|
|
20014
|
+
children?: default_2.ReactNode;
|
|
20015
|
+
} & default_2.RefAttributes<HTMLButtonElement>>;
|
|
20016
|
+
|
|
20017
|
+
export declare type SelectVanillaProps = Omit<default_2.ButtonHTMLAttributes<HTMLButtonElement>, keyof SelectRootProps | 'children' | 'type' | 'onChange'> & SelectRootProps & CSSProps & {
|
|
20018
|
+
onValueChange?: (value: string) => void;
|
|
20019
|
+
placeholder?: default_2.ReactNode;
|
|
20020
|
+
autoComplete?: string;
|
|
20021
|
+
size?: SelectTriggerVariants['size'];
|
|
20022
|
+
variant?: SelectTriggerVariants['variant'];
|
|
20023
|
+
state?: SelectTriggerVariants['state'];
|
|
20024
|
+
children?: default_2.ReactNode;
|
|
20025
|
+
};
|
|
20026
|
+
|
|
19873
20027
|
declare type SelectVariants = VariantProps<typeof StyledSelect> & VariantProps<typeof SelectWrapper> & VariantProps<typeof StyledCaretSortIcon>;
|
|
19874
20028
|
|
|
19875
20029
|
declare const SelectWrapper: StyledComponent<"div", {
|
|
@@ -20628,7 +20782,7 @@ content: "\"\\00a0\"";
|
|
|
20628
20782
|
};
|
|
20629
20783
|
}>;
|
|
20630
20784
|
|
|
20631
|
-
declare type SkeletonRecipeVariants =
|
|
20785
|
+
declare type SkeletonRecipeVariants = RecipeVariantProps<typeof skeletonRecipe>;
|
|
20632
20786
|
|
|
20633
20787
|
export declare const SkeletonVanilla: SkeletonVanillaComponent;
|
|
20634
20788
|
|
|
@@ -26570,7 +26724,7 @@ true: {};
|
|
|
26570
26724
|
};
|
|
26571
26725
|
}>;
|
|
26572
26726
|
|
|
26573
|
-
declare type StyledInputRecipeVariants =
|
|
26727
|
+
declare type StyledInputRecipeVariants = RecipeVariantProps<typeof styledInputRecipe>;
|
|
26574
26728
|
|
|
26575
26729
|
declare const StyledInteractiveCard: StyledComponent<"button", {
|
|
26576
26730
|
elevation?: number | `${number}` | undefined;
|
|
@@ -30199,7 +30353,7 @@ paddingRight: `var(--${string})`;
|
|
|
30199
30353
|
};
|
|
30200
30354
|
}>;
|
|
30201
30355
|
|
|
30202
|
-
declare type StyledTextareaRecipeVariants =
|
|
30356
|
+
declare type StyledTextareaRecipeVariants = RecipeVariantProps<typeof styledTextareaRecipe>;
|
|
30203
30357
|
|
|
30204
30358
|
declare const StyledTr: StyledComponent<"div", {
|
|
30205
30359
|
interactive?: boolean | "true" | undefined;
|
|
@@ -31271,6 +31425,47 @@ declare type SwitchProps = SwitchPrimitiveProps & SwitchVariants & {
|
|
|
31271
31425
|
css?: CSS_2;
|
|
31272
31426
|
};
|
|
31273
31427
|
|
|
31428
|
+
declare const switchRecipe: RuntimeFn< {
|
|
31429
|
+
size: {
|
|
31430
|
+
'1': {
|
|
31431
|
+
width: number;
|
|
31432
|
+
height: number;
|
|
31433
|
+
vars: {
|
|
31434
|
+
[thumbDiameter]: string;
|
|
31435
|
+
[thumbOffOffset]: string;
|
|
31436
|
+
[thumbOnOffset]: string;
|
|
31437
|
+
};
|
|
31438
|
+
};
|
|
31439
|
+
'2': {
|
|
31440
|
+
width: number;
|
|
31441
|
+
height: number;
|
|
31442
|
+
vars: {
|
|
31443
|
+
[thumbDiameter]: string;
|
|
31444
|
+
[thumbOffOffset]: string;
|
|
31445
|
+
[thumbOnOffset]: string;
|
|
31446
|
+
};
|
|
31447
|
+
};
|
|
31448
|
+
};
|
|
31449
|
+
}>;
|
|
31450
|
+
|
|
31451
|
+
declare type SwitchRecipeVariants = RecipeVariantProps<typeof switchRecipe>;
|
|
31452
|
+
|
|
31453
|
+
export declare const SwitchVanilla: SwitchVanillaComponent;
|
|
31454
|
+
|
|
31455
|
+
declare type SwitchVanillaComponent = PolymorphicComponent<'button', SwitchVanillaProps<ElementType>>;
|
|
31456
|
+
|
|
31457
|
+
declare interface SwitchVanillaOwnProps extends SwitchRecipeVariants, CSSProps {
|
|
31458
|
+
checked?: boolean;
|
|
31459
|
+
defaultChecked?: boolean;
|
|
31460
|
+
onCheckedChange?: (checked: boolean) => void;
|
|
31461
|
+
disabled?: boolean;
|
|
31462
|
+
required?: boolean;
|
|
31463
|
+
name?: string;
|
|
31464
|
+
value?: string;
|
|
31465
|
+
}
|
|
31466
|
+
|
|
31467
|
+
export declare type SwitchVanillaProps<C extends ElementType = 'button'> = PolymorphicComponentProps<C, SwitchVanillaOwnProps>;
|
|
31468
|
+
|
|
31274
31469
|
declare type SwitchVariants = VariantProps<typeof StyledSwitch>;
|
|
31275
31470
|
|
|
31276
31471
|
export declare const Table: StyledComponent<"table", {
|
|
@@ -31655,9 +31850,9 @@ boxShadow: string;
|
|
|
31655
31850
|
};
|
|
31656
31851
|
}>;
|
|
31657
31852
|
|
|
31658
|
-
declare type TableRecipeVariants =
|
|
31853
|
+
declare type TableRecipeVariants = RecipeVariantProps<typeof tableRecipe>;
|
|
31659
31854
|
|
|
31660
|
-
declare type TableRecipeVariants_2 =
|
|
31855
|
+
declare type TableRecipeVariants_2 = RecipeVariantProps<typeof tableRecipe>;
|
|
31661
31856
|
|
|
31662
31857
|
export declare type TableSectionVanillaProps = default_2.HTMLAttributes<HTMLTableSectionElement> & CSSProps;
|
|
31663
31858
|
|
|
@@ -31672,9 +31867,7 @@ export declare type TableSortProps = {
|
|
|
31672
31867
|
|
|
31673
31868
|
export declare type TableSortValue = string | number | null | undefined;
|
|
31674
31869
|
|
|
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>>;
|
|
31870
|
+
export declare const TableVanilla: default_2.ForwardRefExoticComponent<default_2.TableHTMLAttributes<HTMLTableElement> & CSSProps & TableRecipeVariants_2 & default_2.RefAttributes<HTMLTableElement>>;
|
|
31678
31871
|
|
|
31679
31872
|
export declare type TableVanillaProps = default_2.TableHTMLAttributes<HTMLTableElement> & CSSProps & TableRecipeVariants_2;
|
|
31680
31873
|
|
|
@@ -33819,14 +34012,11 @@ readonly textAlign: "end";
|
|
|
33819
34012
|
};
|
|
33820
34013
|
}>;
|
|
33821
34014
|
|
|
33822
|
-
declare type TdRecipeVariants =
|
|
34015
|
+
declare type TdRecipeVariants = RecipeVariantProps<typeof tdRecipe>;
|
|
33823
34016
|
|
|
33824
|
-
declare type TdRecipeVariants_2 =
|
|
34017
|
+
declare type TdRecipeVariants_2 = RecipeVariantProps<typeof tdRecipe>;
|
|
33825
34018
|
|
|
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>>;
|
|
34019
|
+
export declare const TdVanilla: default_2.ForwardRefExoticComponent<Omit<default_2.TdHTMLAttributes<HTMLTableCellElement>, "align"> & CSSProps & TdRecipeVariants_2 & default_2.RefAttributes<HTMLTableCellElement>>;
|
|
33830
34020
|
|
|
33831
34021
|
export declare type TdVanillaProps = Omit<default_2.TdHTMLAttributes<HTMLTableCellElement>, 'align'> & CSSProps & TdRecipeVariants_2;
|
|
33832
34022
|
|
|
@@ -34221,6 +34411,8 @@ export declare type TextareaVanillaProps = Omit<default_2.TextareaHTMLAttributes
|
|
|
34221
34411
|
declare interface TextareaVariants extends Omit<VariantProps<typeof StyledTextarea>, 'endAdornment'> {
|
|
34222
34412
|
}
|
|
34223
34413
|
|
|
34414
|
+
declare type TextComponent = PolymorphicComponent<'span', TextVanillaProps<ElementType>>;
|
|
34415
|
+
|
|
34224
34416
|
export declare const TextField: default_2.ForwardRefExoticComponent<Omit<HTMLInputProps, "size"> & InputVariants & {
|
|
34225
34417
|
css?: CSS_2;
|
|
34226
34418
|
} & {
|
|
@@ -34262,6 +34454,128 @@ export declare type TextFieldVanillaProps = InputVanillaProps & {
|
|
|
34262
34454
|
announceError?: boolean;
|
|
34263
34455
|
};
|
|
34264
34456
|
|
|
34457
|
+
declare interface TextOwnProps extends TextRecipeVariants, CSSProps {
|
|
34458
|
+
}
|
|
34459
|
+
|
|
34460
|
+
declare const textRecipe: RuntimeFn< {
|
|
34461
|
+
size: {
|
|
34462
|
+
readonly '0': {
|
|
34463
|
+
readonly fontSize: `var(--${string})`;
|
|
34464
|
+
};
|
|
34465
|
+
readonly '1': {
|
|
34466
|
+
readonly fontSize: `var(--${string})`;
|
|
34467
|
+
};
|
|
34468
|
+
readonly '2': {
|
|
34469
|
+
readonly fontSize: `var(--${string})`;
|
|
34470
|
+
};
|
|
34471
|
+
readonly '3': {
|
|
34472
|
+
readonly fontSize: `var(--${string})`;
|
|
34473
|
+
};
|
|
34474
|
+
readonly '4': {
|
|
34475
|
+
readonly fontSize: `var(--${string})`;
|
|
34476
|
+
};
|
|
34477
|
+
readonly '5': {
|
|
34478
|
+
readonly fontSize: `var(--${string})`;
|
|
34479
|
+
};
|
|
34480
|
+
readonly '6': {
|
|
34481
|
+
readonly fontSize: `var(--${string})`;
|
|
34482
|
+
};
|
|
34483
|
+
readonly '7': {
|
|
34484
|
+
readonly fontSize: `var(--${string})`;
|
|
34485
|
+
};
|
|
34486
|
+
readonly '8': {
|
|
34487
|
+
readonly fontSize: `var(--${string})`;
|
|
34488
|
+
};
|
|
34489
|
+
readonly '9': {
|
|
34490
|
+
readonly fontSize: `var(--${string})`;
|
|
34491
|
+
};
|
|
34492
|
+
readonly '10': {
|
|
34493
|
+
readonly fontSize: `var(--${string})`;
|
|
34494
|
+
};
|
|
34495
|
+
readonly '11': {
|
|
34496
|
+
readonly fontSize: `var(--${string})`;
|
|
34497
|
+
};
|
|
34498
|
+
readonly '12': {
|
|
34499
|
+
readonly fontSize: `var(--${string})`;
|
|
34500
|
+
};
|
|
34501
|
+
readonly inherit: {
|
|
34502
|
+
readonly fontSize: "inherit";
|
|
34503
|
+
};
|
|
34504
|
+
};
|
|
34505
|
+
weight: {
|
|
34506
|
+
readonly light: {
|
|
34507
|
+
readonly fontWeight: `var(--${string})`;
|
|
34508
|
+
};
|
|
34509
|
+
readonly regular: {
|
|
34510
|
+
readonly fontWeight: `var(--${string})`;
|
|
34511
|
+
};
|
|
34512
|
+
readonly medium: {
|
|
34513
|
+
readonly fontWeight: `var(--${string})`;
|
|
34514
|
+
};
|
|
34515
|
+
readonly semiBold: {
|
|
34516
|
+
readonly fontWeight: `var(--${string})`;
|
|
34517
|
+
};
|
|
34518
|
+
readonly bold: {
|
|
34519
|
+
readonly fontWeight: `var(--${string})`;
|
|
34520
|
+
};
|
|
34521
|
+
};
|
|
34522
|
+
variant: {
|
|
34523
|
+
readonly red: {
|
|
34524
|
+
readonly color: `var(--${string})`;
|
|
34525
|
+
};
|
|
34526
|
+
readonly subtle: {
|
|
34527
|
+
readonly color: `var(--${string})`;
|
|
34528
|
+
};
|
|
34529
|
+
readonly default: {
|
|
34530
|
+
readonly color: `var(--${string})`;
|
|
34531
|
+
};
|
|
34532
|
+
readonly contrast: {
|
|
34533
|
+
readonly color: `var(--${string})`;
|
|
34534
|
+
};
|
|
34535
|
+
readonly inherit: {
|
|
34536
|
+
readonly color: "inherit";
|
|
34537
|
+
};
|
|
34538
|
+
readonly invalid: {
|
|
34539
|
+
readonly color: `var(--${string})`;
|
|
34540
|
+
};
|
|
34541
|
+
};
|
|
34542
|
+
gradient: {
|
|
34543
|
+
readonly true: {
|
|
34544
|
+
readonly WebkitBackgroundClip: "text";
|
|
34545
|
+
readonly WebkitTextFillColor: "transparent";
|
|
34546
|
+
};
|
|
34547
|
+
};
|
|
34548
|
+
transform: {
|
|
34549
|
+
readonly uppercase: {
|
|
34550
|
+
readonly textTransform: "uppercase";
|
|
34551
|
+
};
|
|
34552
|
+
readonly capitalize: {
|
|
34553
|
+
readonly display: "inline-block";
|
|
34554
|
+
readonly selectors: {
|
|
34555
|
+
readonly '&::first-letter': {
|
|
34556
|
+
readonly textTransform: "uppercase";
|
|
34557
|
+
};
|
|
34558
|
+
};
|
|
34559
|
+
};
|
|
34560
|
+
readonly capitalizeWords: {
|
|
34561
|
+
readonly textTransform: "capitalize";
|
|
34562
|
+
};
|
|
34563
|
+
};
|
|
34564
|
+
noWrap: {
|
|
34565
|
+
readonly true: {
|
|
34566
|
+
readonly overflow: "hidden";
|
|
34567
|
+
readonly textOverflow: "ellipsis";
|
|
34568
|
+
readonly whiteSpace: "nowrap";
|
|
34569
|
+
};
|
|
34570
|
+
};
|
|
34571
|
+
}>;
|
|
34572
|
+
|
|
34573
|
+
declare type TextRecipeVariants = RecipeVariantProps<typeof textRecipe>;
|
|
34574
|
+
|
|
34575
|
+
export declare const TextVanilla: TextComponent;
|
|
34576
|
+
|
|
34577
|
+
export declare type TextVanillaProps<C extends ElementType = 'span'> = PolymorphicComponentProps<C, TextOwnProps>;
|
|
34578
|
+
|
|
34265
34579
|
export declare const Tfoot: StyledComponent<"tfoot", {}, {
|
|
34266
34580
|
bp1: "(min-width: 520px) and (max-width: 899px)";
|
|
34267
34581
|
bp2: "(min-width: 900px) and (max-width: 1199px)";
|
|
@@ -35843,19 +36157,17 @@ readonly whiteSpace: "nowrap";
|
|
|
35843
36157
|
};
|
|
35844
36158
|
}>;
|
|
35845
36159
|
|
|
35846
|
-
declare type ThRecipeVariants =
|
|
36160
|
+
declare type ThRecipeVariants = RecipeVariantProps<typeof thRecipe>;
|
|
36161
|
+
|
|
36162
|
+
declare type ThRecipeVariants_2 = RecipeVariantProps<typeof thRecipe>;
|
|
36163
|
+
|
|
36164
|
+
declare const thumbDiameter: `var(--${string})`;
|
|
36165
|
+
|
|
36166
|
+
declare const thumbOffOffset: `var(--${string})`;
|
|
35847
36167
|
|
|
35848
|
-
declare
|
|
36168
|
+
declare const thumbOnOffset: `var(--${string})`;
|
|
35849
36169
|
|
|
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>>;
|
|
36170
|
+
export declare const ThVanilla: default_2.ForwardRefExoticComponent<Omit<default_2.ThHTMLAttributes<HTMLTableCellElement>, "align"> & CSSProps & ThRecipeVariants_2 & TableSortProps & default_2.RefAttributes<HTMLTableCellElement>>;
|
|
35859
36171
|
|
|
35860
36172
|
export declare type ThVanillaProps = Omit<default_2.ThHTMLAttributes<HTMLTableCellElement>, 'align'> & CSSProps & ThRecipeVariants_2 & TableSortProps;
|
|
35861
36173
|
|
|
@@ -35904,7 +36216,7 @@ export declare interface ToastOptions extends Pick<ToastVanillaProps, 'variant'
|
|
|
35904
36216
|
};
|
|
35905
36217
|
}
|
|
35906
36218
|
|
|
35907
|
-
export declare type ToastPosition = NonNullable<
|
|
36219
|
+
export declare type ToastPosition = NonNullable<RecipeVariantProps<typeof toastViewportRecipe>['position']>;
|
|
35908
36220
|
|
|
35909
36221
|
export declare const ToastProviderVanilla: ({ children, position, duration, label, closeLabel, }: ToastProviderVanillaProps) => JSX.Element;
|
|
35910
36222
|
|
|
@@ -35930,7 +36242,7 @@ export declare interface ToastVanillaProps extends Omit<ComponentPropsWithoutRef
|
|
|
35930
36242
|
closeLabel?: string;
|
|
35931
36243
|
}
|
|
35932
36244
|
|
|
35933
|
-
export declare type ToastVariant = NonNullable<
|
|
36245
|
+
export declare type ToastVariant = NonNullable<RecipeVariantProps<typeof toastIconRecipe>['variant']>;
|
|
35934
36246
|
|
|
35935
36247
|
declare const toastViewportRecipe: RuntimeFn< {
|
|
35936
36248
|
position: {
|
|
@@ -36027,14 +36339,11 @@ fontWeight: `var(--${string})`;
|
|
|
36027
36339
|
};
|
|
36028
36340
|
}>;
|
|
36029
36341
|
|
|
36030
|
-
declare type TrRecipeVariants =
|
|
36342
|
+
declare type TrRecipeVariants = RecipeVariantProps<typeof trRecipe>;
|
|
36031
36343
|
|
|
36032
|
-
declare type TrRecipeVariants_2 =
|
|
36344
|
+
declare type TrRecipeVariants_2 = RecipeVariantProps<typeof trRecipe>;
|
|
36033
36345
|
|
|
36034
|
-
export declare const TrVanilla: default_2.ForwardRefExoticComponent<default_2.HTMLAttributes<HTMLTableRowElement> & CSSProps & {
|
|
36035
|
-
interactive?: boolean | undefined;
|
|
36036
|
-
active?: boolean | undefined;
|
|
36037
|
-
} & RowLinkShortcutProps & {
|
|
36346
|
+
export declare const TrVanilla: default_2.ForwardRefExoticComponent<default_2.HTMLAttributes<HTMLTableRowElement> & CSSProps & TrRecipeVariants_2 & RowLinkShortcutProps & {
|
|
36038
36347
|
/** Content shown in a full-width row below, toggled by a button in a new first cell. */
|
|
36039
36348
|
collapsedContent?: ReactNode;
|
|
36040
36349
|
/** Column span of the collapsed content row; set it to the number of columns. */
|
|
@@ -36489,6 +36798,14 @@ export declare const vanillaTokens: {
|
|
|
36489
36798
|
inputPlaceholder: `var(--${string})`;
|
|
36490
36799
|
inputDisabledText: `var(--${string})`;
|
|
36491
36800
|
inputInvalidBorder: `var(--${string})`;
|
|
36801
|
+
selectBg: `var(--${string})`;
|
|
36802
|
+
selectBorder: `var(--${string})`;
|
|
36803
|
+
selectFocusBorder: `var(--${string})`;
|
|
36804
|
+
selectHoverBg: `var(--${string})`;
|
|
36805
|
+
selectText: `var(--${string})`;
|
|
36806
|
+
selectPlaceholder: `var(--${string})`;
|
|
36807
|
+
selectDisabledText: `var(--${string})`;
|
|
36808
|
+
selectInvalidBorder: `var(--${string})`;
|
|
36492
36809
|
textareaBg: `var(--${string})`;
|
|
36493
36810
|
textareaBorder: `var(--${string})`;
|
|
36494
36811
|
textareaFocusBg: `var(--${string})`;
|
|
@@ -36532,6 +36849,11 @@ export declare const vanillaTokens: {
|
|
|
36532
36849
|
listItemHoverBg: `var(--${string})`;
|
|
36533
36850
|
listItemActiveBg: `var(--${string})`;
|
|
36534
36851
|
listItemFocusBorder: `var(--${string})`;
|
|
36852
|
+
switchBackground: `var(--${string})`;
|
|
36853
|
+
switchActiveBackground: `var(--${string})`;
|
|
36854
|
+
switchFocusBorder: `var(--${string})`;
|
|
36855
|
+
switchThumb: `var(--${string})`;
|
|
36856
|
+
switchInvalidBorder: `var(--${string})`;
|
|
36535
36857
|
toneSuccessSolid: `var(--${string})`;
|
|
36536
36858
|
toneSuccessText: `var(--${string})`;
|
|
36537
36859
|
toneSuccessSurface: `var(--${string})`;
|