@traefik-labs/faency 13.3.0 → 13.5.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/Alert/Alert.cjs.map +1 -1
- package/dist/components/Alert/Alert.js.map +1 -1
- package/dist/components/AriaTable/AriaTable.cjs +15 -5
- package/dist/components/AriaTable/AriaTable.cjs.map +1 -1
- package/dist/components/AriaTable/AriaTable.js +16 -6
- package/dist/components/AriaTable/AriaTable.js.map +1 -1
- package/dist/components/Badge/Badge.vanilla.css.cjs.map +1 -1
- package/dist/components/Badge/Badge.vanilla.css.js.map +1 -1
- package/dist/components/Card/Card.cjs.map +1 -1
- package/dist/components/Card/Card.js.map +1 -1
- package/dist/components/CodeBlock/CodeBlock.cjs +2 -2
- package/dist/components/CodeBlock/CodeBlock.js +2 -2
- package/dist/components/CodeBlock/CodeBlock.vanilla.cjs +3 -3
- package/dist/components/CodeBlock/CodeBlock.vanilla.js +3 -3
- package/dist/components/Combobox/Combobox.vanilla.cjs +170 -0
- package/dist/components/Combobox/Combobox.vanilla.cjs.map +1 -0
- package/dist/components/Combobox/Combobox.vanilla.css.cjs +33 -0
- package/dist/components/Combobox/Combobox.vanilla.css.cjs.map +1 -0
- package/dist/components/Combobox/Combobox.vanilla.css.js +29 -0
- package/dist/components/Combobox/Combobox.vanilla.css.js.map +1 -0
- package/dist/components/Combobox/Combobox.vanilla.js +167 -0
- package/dist/components/Combobox/Combobox.vanilla.js.map +1 -0
- package/dist/components/DateTimePicker/DateTimePicker.cjs +1 -1
- package/dist/components/DateTimePicker/DateTimePicker.js +1 -1
- package/dist/components/Dialog/Dialog.cjs +1 -1
- package/dist/components/Dialog/Dialog.js +1 -1
- package/dist/components/Field/Field.cjs +80 -33
- package/dist/components/Field/Field.cjs.map +1 -1
- package/dist/components/Field/Field.js +80 -33
- package/dist/components/Field/Field.js.map +1 -1
- package/dist/components/Field/Field.vanilla.cjs +62 -32
- package/dist/components/Field/Field.vanilla.cjs.map +1 -1
- package/dist/components/Field/Field.vanilla.css.cjs +6 -0
- package/dist/components/Field/Field.vanilla.css.cjs.map +1 -1
- package/dist/components/Field/Field.vanilla.css.js +4 -1
- package/dist/components/Field/Field.vanilla.css.js.map +1 -1
- package/dist/components/Field/Field.vanilla.js +63 -33
- package/dist/components/Field/Field.vanilla.js.map +1 -1
- package/dist/components/Field/FieldContext.cjs +48 -10
- package/dist/components/Field/FieldContext.cjs.map +1 -1
- package/dist/components/Field/FieldContext.js +48 -10
- package/dist/components/Field/FieldContext.js.map +1 -1
- package/dist/components/List/List.cjs +1 -1
- package/dist/components/List/List.js +1 -1
- package/dist/components/Meter/Meter.vanilla.cjs +74 -0
- package/dist/components/Meter/Meter.vanilla.cjs.map +1 -0
- package/dist/components/Meter/Meter.vanilla.css.cjs +26 -0
- package/dist/components/Meter/Meter.vanilla.css.cjs.map +1 -0
- package/dist/components/Meter/Meter.vanilla.css.js +21 -0
- package/dist/components/Meter/Meter.vanilla.css.js.map +1 -0
- package/dist/components/Meter/Meter.vanilla.js +72 -0
- package/dist/components/Meter/Meter.vanilla.js.map +1 -0
- package/dist/components/NavigationTree/NavigationTreeItem.cjs +2 -2
- package/dist/components/NavigationTree/NavigationTreeItem.js +2 -2
- package/dist/components/RowLink/RowLink.cjs +35 -12
- package/dist/components/RowLink/RowLink.cjs.map +1 -1
- package/dist/components/RowLink/RowLink.js +34 -12
- package/dist/components/RowLink/RowLink.js.map +1 -1
- package/dist/components/SegmentedControl/SegmentedControl.vanilla.cjs +57 -0
- package/dist/components/SegmentedControl/SegmentedControl.vanilla.cjs.map +1 -0
- package/dist/components/SegmentedControl/SegmentedControl.vanilla.css.cjs +35 -0
- package/dist/components/SegmentedControl/SegmentedControl.vanilla.css.cjs.map +1 -0
- package/dist/components/SegmentedControl/SegmentedControl.vanilla.css.js +34 -0
- package/dist/components/SegmentedControl/SegmentedControl.vanilla.css.js.map +1 -0
- package/dist/components/SegmentedControl/SegmentedControl.vanilla.js +53 -0
- package/dist/components/SegmentedControl/SegmentedControl.vanilla.js.map +1 -0
- package/dist/components/Select/Select.cjs +1 -1
- package/dist/components/Select/Select.js +1 -1
- package/dist/components/Spinner/Spinner.vanilla.cjs +50 -0
- package/dist/components/Spinner/Spinner.vanilla.cjs.map +1 -0
- package/dist/components/Spinner/Spinner.vanilla.css.cjs +21 -0
- package/dist/components/Spinner/Spinner.vanilla.css.cjs.map +1 -0
- package/dist/components/Spinner/Spinner.vanilla.css.js +19 -0
- package/dist/components/Spinner/Spinner.vanilla.css.js.map +1 -0
- package/dist/components/Spinner/Spinner.vanilla.js +48 -0
- package/dist/components/Spinner/Spinner.vanilla.js.map +1 -0
- package/dist/components/SplitLayout/SplitLayout.vanilla.cjs +214 -0
- package/dist/components/SplitLayout/SplitLayout.vanilla.cjs.map +1 -0
- package/dist/components/SplitLayout/SplitLayout.vanilla.css.cjs +14 -0
- package/dist/components/SplitLayout/SplitLayout.vanilla.css.cjs.map +1 -0
- package/dist/components/SplitLayout/SplitLayout.vanilla.css.js +10 -0
- package/dist/components/SplitLayout/SplitLayout.vanilla.css.js.map +1 -0
- package/dist/components/SplitLayout/SplitLayout.vanilla.js +210 -0
- package/dist/components/SplitLayout/SplitLayout.vanilla.js.map +1 -0
- package/dist/components/Table/Table.cjs +13 -4
- package/dist/components/Table/Table.cjs.map +1 -1
- package/dist/components/Table/Table.js +13 -4
- package/dist/components/Table/Table.js.map +1 -1
- package/dist/components/TextField/TextField.cjs +1 -1
- package/dist/components/TextField/TextField.js +1 -1
- package/dist/components/TextField/TextField.vanilla.cjs +1 -1
- package/dist/components/TextField/TextField.vanilla.js +1 -1
- package/dist/components/Textarea/Textarea.cjs +2 -2
- package/dist/components/Textarea/Textarea.js +2 -2
- package/dist/components/Textarea/Textarea.vanilla.cjs +2 -2
- package/dist/components/Textarea/Textarea.vanilla.js +2 -2
- package/dist/components/Toast/Toast.vanilla.cjs +96 -0
- package/dist/components/Toast/Toast.vanilla.cjs.map +1 -0
- package/dist/components/Toast/Toast.vanilla.css.cjs +44 -0
- package/dist/components/Toast/Toast.vanilla.css.cjs.map +1 -0
- package/dist/components/Toast/Toast.vanilla.css.js +37 -0
- package/dist/components/Toast/Toast.vanilla.css.js.map +1 -0
- package/dist/components/Toast/Toast.vanilla.js +90 -0
- package/dist/components/Toast/Toast.vanilla.js.map +1 -0
- package/dist/components/Toast/ToastProvider.vanilla.cjs +98 -0
- package/dist/components/Toast/ToastProvider.vanilla.cjs.map +1 -0
- package/dist/components/Toast/ToastProvider.vanilla.js +94 -0
- package/dist/components/Toast/ToastProvider.vanilla.js.map +1 -0
- package/dist/faency.css +3315 -2335
- package/dist/index.cjs +55 -32
- package/dist/index.d.ts +809 -14
- package/dist/index.js +41 -33
- package/dist/styles/cssProps.cjs +3 -10
- package/dist/styles/cssProps.cjs.map +1 -1
- package/dist/styles/cssProps.js +3 -10
- package/dist/styles/cssProps.js.map +1 -1
- package/dist/styles/resolveColor.cjs +18 -0
- package/dist/styles/resolveColor.cjs.map +1 -0
- package/dist/styles/resolveColor.js +18 -0
- package/dist/styles/resolveColor.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 +484 -0
- package/dist/styles/tokens.css.cjs.map +1 -0
- package/dist/styles/tokens.css.js +484 -0
- package/dist/styles/tokens.css.js.map +1 -0
- package/dist/utils/warnOnce.cjs +13 -0
- package/dist/utils/warnOnce.cjs.map +1 -0
- package/dist/utils/warnOnce.js +13 -0
- package/dist/utils/warnOnce.js.map +1 -0
- package/package.json +12 -25
package/dist/index.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ import { AtRule } from '@stitches/react/types/css';
|
|
|
6
6
|
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
7
7
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
8
8
|
import { ComponentProps } from 'react';
|
|
9
|
+
import { ComponentPropsWithoutRef } from 'react';
|
|
9
10
|
import { ComponentPropsWithRef } from 'react';
|
|
10
11
|
import { ComponentType } from 'react';
|
|
11
12
|
import { CSS as CSS_3 } from '@stitches/react';
|
|
@@ -50,6 +51,7 @@ import { StyledComponentType } from '@stitches/react/types/styled-component';
|
|
|
50
51
|
import * as SwitchPrimitive from '@radix-ui/react-switch';
|
|
51
52
|
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
52
53
|
import { ThemeTokens } from '@stitches/react/types/stitches';
|
|
54
|
+
import * as ToastPrimitive from '@radix-ui/react-toast';
|
|
53
55
|
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
|
54
56
|
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
55
57
|
import { TransformProps } from '@stitches/react/types/styled-component';
|
|
@@ -3503,37 +3505,37 @@ variant: {
|
|
|
3503
3505
|
gray: {
|
|
3504
3506
|
backgroundColor: `var(--${string})`;
|
|
3505
3507
|
color: `var(--${string})`;
|
|
3506
|
-
border:
|
|
3508
|
+
border: string;
|
|
3507
3509
|
};
|
|
3508
3510
|
red: {
|
|
3509
3511
|
backgroundColor: `var(--${string})`;
|
|
3510
3512
|
color: `var(--${string})`;
|
|
3511
|
-
border:
|
|
3513
|
+
border: string;
|
|
3512
3514
|
};
|
|
3513
3515
|
blue: {
|
|
3514
3516
|
backgroundColor: `var(--${string})`;
|
|
3515
3517
|
color: `var(--${string})`;
|
|
3516
|
-
border:
|
|
3518
|
+
border: string;
|
|
3517
3519
|
};
|
|
3518
3520
|
green: {
|
|
3519
3521
|
backgroundColor: `var(--${string})`;
|
|
3520
3522
|
color: `var(--${string})`;
|
|
3521
|
-
border:
|
|
3523
|
+
border: string;
|
|
3522
3524
|
};
|
|
3523
3525
|
neon: {
|
|
3524
3526
|
backgroundColor: `var(--${string})`;
|
|
3525
3527
|
color: `var(--${string})`;
|
|
3526
|
-
border:
|
|
3528
|
+
border: string;
|
|
3527
3529
|
};
|
|
3528
3530
|
orange: {
|
|
3529
3531
|
backgroundColor: `var(--${string})`;
|
|
3530
3532
|
color: `var(--${string})`;
|
|
3531
|
-
border:
|
|
3533
|
+
border: string;
|
|
3532
3534
|
};
|
|
3533
3535
|
purple: {
|
|
3534
3536
|
backgroundColor: `var(--${string})`;
|
|
3535
3537
|
color: `var(--${string})`;
|
|
3536
|
-
border:
|
|
3538
|
+
border: string;
|
|
3537
3539
|
};
|
|
3538
3540
|
};
|
|
3539
3541
|
alphaBg: {
|
|
@@ -6513,6 +6515,7 @@ declare type CardVanillaComponent = PolymorphicComponent<'div', CardVanillaProps
|
|
|
6513
6515
|
declare type CardVanillaProps<C extends ElementType = 'div'> = PolymorphicComponentProps<C, CardOwnProps>;
|
|
6514
6516
|
|
|
6515
6517
|
declare type CardVariantProps = ComponentProps<typeof StyledCard> & VariantProps<typeof StyledCard> & {
|
|
6518
|
+
as?: default_2.ElementType;
|
|
6516
6519
|
interactive?: false;
|
|
6517
6520
|
};
|
|
6518
6521
|
|
|
@@ -6585,6 +6588,18 @@ declare type ColorVariants = Record<COLOR_VALUES, {
|
|
|
6585
6588
|
color: string;
|
|
6586
6589
|
}>;
|
|
6587
6590
|
|
|
6591
|
+
export declare const ComboboxVanilla: default_2.ForwardRefExoticComponent<ComboboxVanillaProps & default_2.RefAttributes<InputVanillaHandle>>;
|
|
6592
|
+
|
|
6593
|
+
export declare interface ComboboxVanillaProps extends Omit<InputVanillaProps, 'value' | 'defaultValue' | 'onChange' | 'type' | 'role' | 'css'>, CSSProps {
|
|
6594
|
+
value?: string;
|
|
6595
|
+
defaultValue?: string;
|
|
6596
|
+
onValueChange?: (value: string) => void;
|
|
6597
|
+
suggestions: string[];
|
|
6598
|
+
emptyText?: default_2.ReactNode;
|
|
6599
|
+
filter?: (suggestion: string, query: string) => boolean;
|
|
6600
|
+
openOnFocus?: boolean;
|
|
6601
|
+
}
|
|
6602
|
+
|
|
6588
6603
|
export declare const config: {
|
|
6589
6604
|
prefix: "";
|
|
6590
6605
|
media: {
|
|
@@ -11228,6 +11243,10 @@ declare type ElevationVariant = Record<number, CSS_2>;
|
|
|
11228
11243
|
|
|
11229
11244
|
export declare const elevationVariants: ElevationVariant;
|
|
11230
11245
|
|
|
11246
|
+
declare const enterX: `var(--${string})`;
|
|
11247
|
+
|
|
11248
|
+
declare const enterY: `var(--${string})`;
|
|
11249
|
+
|
|
11231
11250
|
export declare const FaencyProvider: ({ children }: FaencyProviderProps) => JSX.Element;
|
|
11232
11251
|
|
|
11233
11252
|
declare interface FaencyProviderProps {
|
|
@@ -11235,20 +11254,30 @@ declare interface FaencyProviderProps {
|
|
|
11235
11254
|
}
|
|
11236
11255
|
|
|
11237
11256
|
/**
|
|
11238
|
-
* Gives a label, a description and an error to the one form control inside it.
|
|
11239
|
-
*
|
|
11257
|
+
* Gives a label, a hint, a description and an error to the one form control inside it.
|
|
11258
|
+
* For more than one control, use `group`.
|
|
11240
11259
|
*/
|
|
11241
|
-
export declare const Field: ({ label, description, error, announceError, labelPosition, children, css, ...props }: FieldProps) => JSX.Element;
|
|
11260
|
+
export declare const Field: ({ label, hint, description, error, announceError, labelPosition, children, css, ...props }: FieldProps) => JSX.Element;
|
|
11242
11261
|
|
|
11243
11262
|
declare type FieldBaseProps = {
|
|
11244
11263
|
id?: string;
|
|
11245
11264
|
label?: default_2.ReactNode | ((props: FieldLabelProps) => default_2.ReactNode);
|
|
11265
|
+
/** Text under the label, for what the field is for. */
|
|
11266
|
+
hint?: default_2.ReactNode;
|
|
11246
11267
|
description?: default_2.ReactNode;
|
|
11247
11268
|
error?: default_2.ReactNode;
|
|
11248
11269
|
invalid?: boolean;
|
|
11249
11270
|
disabled?: boolean;
|
|
11250
11271
|
announceError?: boolean;
|
|
11251
|
-
|
|
11272
|
+
/** `start` puts the label and the hint in a column before the control, and wraps under it when space is short. */
|
|
11273
|
+
labelPosition?: 'top' | 'start' | 'end';
|
|
11274
|
+
/** The text size of the hint, the description and the error. A Field inside another Field takes its size. */
|
|
11275
|
+
messageSize?: MessageSize;
|
|
11276
|
+
/**
|
|
11277
|
+
* For a field of more than one control: the field becomes a group named by the label and described by
|
|
11278
|
+
* the hint, the description and the error. Give each control its own name, and its own error with an inner Field.
|
|
11279
|
+
*/
|
|
11280
|
+
group?: boolean;
|
|
11252
11281
|
children?: default_2.ReactNode;
|
|
11253
11282
|
};
|
|
11254
11283
|
|
|
@@ -11275,10 +11304,10 @@ export declare type FieldProps = FieldBaseProps & {
|
|
|
11275
11304
|
};
|
|
11276
11305
|
|
|
11277
11306
|
/**
|
|
11278
|
-
* Gives a label, a description and an error to the one form control inside it.
|
|
11279
|
-
*
|
|
11307
|
+
* Gives a label, a hint, a description and an error to the one form control inside it.
|
|
11308
|
+
* For more than one control, use `group`.
|
|
11280
11309
|
*/
|
|
11281
|
-
export declare const FieldVanilla: ({ label, description, error, announceError, labelPosition, children, css, ...props }: FieldVanillaProps) => JSX.Element;
|
|
11310
|
+
export declare const FieldVanilla: ({ label, hint, description, error, announceError, labelPosition, children, css, ...props }: FieldVanillaProps) => JSX.Element;
|
|
11282
11311
|
|
|
11283
11312
|
export declare type FieldVanillaProps = FieldBaseProps & {
|
|
11284
11313
|
css?: CSSProps['css'];
|
|
@@ -15674,6 +15703,7 @@ export declare type InputVanillaProps = Omit<default_2.InputHTMLAttributes<any>,
|
|
|
15674
15703
|
declare type InputVariants = Omit<DefaultInputVariants, 'startAdornment' | 'endAdornment'>;
|
|
15675
15704
|
|
|
15676
15705
|
declare type InteractiveCardProps = VariantProps<typeof StyledInteractiveCard> & ComponentProps<typeof StyledInteractiveCard> & {
|
|
15706
|
+
as?: default_2.ElementType;
|
|
15677
15707
|
interactive: true;
|
|
15678
15708
|
};
|
|
15679
15709
|
|
|
@@ -17025,6 +17055,38 @@ declare interface ListProps extends ComponentProps<typeof StyledUl>, VariantProp
|
|
|
17025
17055
|
interactive?: boolean;
|
|
17026
17056
|
}
|
|
17027
17057
|
|
|
17058
|
+
declare type MessageSize = '0' | '1' | '2' | '3';
|
|
17059
|
+
|
|
17060
|
+
declare type MeterSegmentsProps = {
|
|
17061
|
+
segments: MeterSegmentVanilla[];
|
|
17062
|
+
value?: never;
|
|
17063
|
+
color?: never;
|
|
17064
|
+
};
|
|
17065
|
+
|
|
17066
|
+
export declare type MeterSegmentVanilla = {
|
|
17067
|
+
value: number;
|
|
17068
|
+
/** A color token such as `$chartStatusGood`, or any CSS color. Defaults to the chart series colors. */
|
|
17069
|
+
color?: string;
|
|
17070
|
+
/** Shown as a tooltip and read with the meter, e.g. "404: 30". */
|
|
17071
|
+
label?: string;
|
|
17072
|
+
};
|
|
17073
|
+
|
|
17074
|
+
declare type MeterValueProps = Omit<MeterSegmentVanilla, 'label'> & {
|
|
17075
|
+
segments?: never;
|
|
17076
|
+
};
|
|
17077
|
+
|
|
17078
|
+
export declare const MeterVanilla: default_2.ForwardRefExoticComponent<MeterVanillaProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
17079
|
+
|
|
17080
|
+
export declare type MeterVanillaProps = Omit<default_2.HTMLAttributes<HTMLDivElement>, 'children' | 'color'> & CSSProps & (MeterValueProps | MeterSegmentsProps) & {
|
|
17081
|
+
/** Defaults to 100 with `value`, and to the sum of the values with `segments`. */
|
|
17082
|
+
max?: number;
|
|
17083
|
+
/** Caption above the bar, on the left. Also the meter's accessible name. */
|
|
17084
|
+
label?: string;
|
|
17085
|
+
/** Caption above the bar, on the right, e.g. "42 GB / 100 GB". */
|
|
17086
|
+
valueLabel?: string;
|
|
17087
|
+
size?: 'small' | 'medium' | 'large';
|
|
17088
|
+
};
|
|
17089
|
+
|
|
17028
17090
|
export declare const NavigationContainer: StyledComponent<"div", {}, {
|
|
17029
17091
|
bp1: "(min-width: 520px) and (max-width: 899px)";
|
|
17030
17092
|
bp2: "(min-width: 900px) and (max-width: 1199px)";
|
|
@@ -18545,6 +18607,14 @@ declare type PanelVanillaComponent = PolymorphicComponent<'div', PanelVanillaPro
|
|
|
18545
18607
|
|
|
18546
18608
|
declare type PanelVanillaProps<C extends ElementType = 'div'> = PolymorphicComponentProps<C, CSSProps>;
|
|
18547
18609
|
|
|
18610
|
+
declare type PaneProps = default_2.HTMLAttributes<HTMLDivElement> & CSSProps & {
|
|
18611
|
+
gap?: Gap;
|
|
18612
|
+
/** Keeps the pane in view while the page scrolls, this far from the top. Off when stacked. */
|
|
18613
|
+
stickyTop?: string | number;
|
|
18614
|
+
/** The pane never gets narrower than this while resizing. */
|
|
18615
|
+
minWidth?: SplitLayoutWidth;
|
|
18616
|
+
};
|
|
18617
|
+
|
|
18548
18618
|
export declare const Paragraph: default_2.ForwardRefExoticComponent<Omit<ParagraphProps, "ref"> & default_2.RefAttributes<HTMLParagraphElement>>;
|
|
18549
18619
|
|
|
18550
18620
|
declare interface ParagraphOwnProps extends Omit<ParagraphRecipeVariants, never>, CSSProps {
|
|
@@ -19433,6 +19503,11 @@ export declare const RowLink: default_2.ForwardRefExoticComponent<Omit<RowLinkPr
|
|
|
19433
19503
|
export declare type RowLinkProps = default_2.ComponentProps<typeof StyledRowLink> & {
|
|
19434
19504
|
asChild?: boolean;
|
|
19435
19505
|
css?: CSS_2;
|
|
19506
|
+
/**
|
|
19507
|
+
* With `false`, the link does not cover the row. The row opens it on a click instead, so the text of the
|
|
19508
|
+
* row keeps its hover, for example a tooltip, and can be selected.
|
|
19509
|
+
*/
|
|
19510
|
+
overlay?: boolean;
|
|
19436
19511
|
};
|
|
19437
19512
|
|
|
19438
19513
|
/** Styles for a table row that can hold a `RowLink`. */
|
|
@@ -19457,6 +19532,8 @@ declare type RowLinkShortcutProps = {
|
|
|
19457
19532
|
linkProps?: Record<string, unknown>;
|
|
19458
19533
|
/** The index of the cell that holds the link, among the direct children of the row. */
|
|
19459
19534
|
linkCell?: number;
|
|
19535
|
+
/** With `false`, the link does not cover the row: see `overlay` on `RowLink`. */
|
|
19536
|
+
linkOverlay?: boolean;
|
|
19460
19537
|
};
|
|
19461
19538
|
|
|
19462
19539
|
/** Styles for a table that can hold a `RowLink`. */
|
|
@@ -19466,6 +19543,50 @@ export declare const rowLinkTableStyles: {
|
|
|
19466
19543
|
};
|
|
19467
19544
|
};
|
|
19468
19545
|
|
|
19546
|
+
declare const segmentedControlItemRecipe: RuntimeFn< {
|
|
19547
|
+
size: {
|
|
19548
|
+
small: {
|
|
19549
|
+
minHeight: `var(--${string})`;
|
|
19550
|
+
paddingInline: `var(--${string})`;
|
|
19551
|
+
fontSize: `var(--${string})`;
|
|
19552
|
+
};
|
|
19553
|
+
medium: {
|
|
19554
|
+
minHeight: `var(--${string})`;
|
|
19555
|
+
paddingInline: `var(--${string})`;
|
|
19556
|
+
fontSize: `var(--${string})`;
|
|
19557
|
+
};
|
|
19558
|
+
large: {
|
|
19559
|
+
minHeight: `var(--${string})`;
|
|
19560
|
+
paddingInline: `var(--${string})`;
|
|
19561
|
+
fontSize: `var(--${string})`;
|
|
19562
|
+
};
|
|
19563
|
+
};
|
|
19564
|
+
fullWidth: {
|
|
19565
|
+
true: {
|
|
19566
|
+
flex: "1 1 0";
|
|
19567
|
+
minWidth: number;
|
|
19568
|
+
whiteSpace: "normal";
|
|
19569
|
+
};
|
|
19570
|
+
false: {
|
|
19571
|
+
whiteSpace: "nowrap";
|
|
19572
|
+
};
|
|
19573
|
+
};
|
|
19574
|
+
}>;
|
|
19575
|
+
|
|
19576
|
+
export declare const SegmentedControlItemVanilla: default_2.ForwardRefExoticComponent<SegmentedControlItemVanillaProps & default_2.RefAttributes<HTMLButtonElement>>;
|
|
19577
|
+
|
|
19578
|
+
export declare interface SegmentedControlItemVanillaProps extends Omit<ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Item>, 'asChild'>, CSSProps {
|
|
19579
|
+
}
|
|
19580
|
+
|
|
19581
|
+
export declare type SegmentedControlSize = NonNullable<NonNullable<RecipeVariants<typeof segmentedControlItemRecipe>>['size']>;
|
|
19582
|
+
|
|
19583
|
+
export declare const SegmentedControlVanilla: default_2.ForwardRefExoticComponent<SegmentedControlVanillaProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
19584
|
+
|
|
19585
|
+
export declare interface SegmentedControlVanillaProps extends Omit<ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Root>, 'asChild'>, CSSProps {
|
|
19586
|
+
size?: SegmentedControlSize;
|
|
19587
|
+
fullWidth?: boolean;
|
|
19588
|
+
}
|
|
19589
|
+
|
|
19469
19590
|
export declare const Select: default_2.ForwardRefExoticComponent<Omit<SelectProps, "ref"> & default_2.RefAttributes<HTMLSelectElement>>;
|
|
19470
19591
|
|
|
19471
19592
|
declare type SelectProps = Omit<default_2.ComponentProps<typeof StyledSelect>, 'size'> & SelectVariants & {
|
|
@@ -20243,6 +20364,73 @@ export declare type SkeletonVanillaProps<C extends ElementType = 'div'> = Polymo
|
|
|
20243
20364
|
|
|
20244
20365
|
declare type SpacingToken = '$1' | '$2' | '$3' | '$4' | '$5' | '$6' | '$7' | '$8' | '$9' | string | number;
|
|
20245
20366
|
|
|
20367
|
+
export declare const SpinnerVanilla: default_2.ForwardRefExoticComponent<Omit<default_2.HTMLAttributes<HTMLSpanElement>, "color" | "children"> & CSSProps & {
|
|
20368
|
+
size?: "small" | "medium" | "large";
|
|
20369
|
+
/** A color token such as `$toneSuccessSolid` or `$gray11`, any CSS color, or `currentColor`. Defaults to primary. */
|
|
20370
|
+
color?: string;
|
|
20371
|
+
/** Announced to screen readers. */
|
|
20372
|
+
label?: string;
|
|
20373
|
+
} & default_2.RefAttributes<HTMLSpanElement>>;
|
|
20374
|
+
|
|
20375
|
+
export declare type SpinnerVanillaProps = Omit<default_2.HTMLAttributes<HTMLSpanElement>, 'children' | 'color'> & CSSProps & {
|
|
20376
|
+
size?: 'small' | 'medium' | 'large';
|
|
20377
|
+
/** A color token such as `$toneSuccessSolid` or `$gray11`, any CSS color, or `currentColor`. Defaults to primary. */
|
|
20378
|
+
color?: string;
|
|
20379
|
+
/** Announced to screen readers. */
|
|
20380
|
+
label?: string;
|
|
20381
|
+
};
|
|
20382
|
+
|
|
20383
|
+
export declare const SplitLayoutAsideVanilla: default_2.ForwardRefExoticComponent<default_2.HTMLAttributes<HTMLDivElement> & CSSProps & {
|
|
20384
|
+
gap?: Gap;
|
|
20385
|
+
/** Keeps the pane in view while the page scrolls, this far from the top. Off when stacked. */
|
|
20386
|
+
stickyTop?: string | number;
|
|
20387
|
+
/** The pane never gets narrower than this while resizing. */
|
|
20388
|
+
minWidth?: SplitLayoutWidth;
|
|
20389
|
+
} & {
|
|
20390
|
+
/** Starting width in px. */
|
|
20391
|
+
defaultWidth?: number;
|
|
20392
|
+
/** Starting width as a share of the layout, e.g. 0.3. Overrides `defaultWidth`. */
|
|
20393
|
+
defaultFraction?: number;
|
|
20394
|
+
/** Remembers the width in localStorage under `split:<storageKey>`. */
|
|
20395
|
+
storageKey?: string;
|
|
20396
|
+
/** Accessible name of the divider. */
|
|
20397
|
+
resizeLabel?: string;
|
|
20398
|
+
} & default_2.RefAttributes<HTMLDivElement>>;
|
|
20399
|
+
|
|
20400
|
+
export declare type SplitLayoutAsideVanillaProps = PaneProps & {
|
|
20401
|
+
/** Starting width in px. */
|
|
20402
|
+
defaultWidth?: number;
|
|
20403
|
+
/** Starting width as a share of the layout, e.g. 0.3. Overrides `defaultWidth`. */
|
|
20404
|
+
defaultFraction?: number;
|
|
20405
|
+
/** Remembers the width in localStorage under `split:<storageKey>`. */
|
|
20406
|
+
storageKey?: string;
|
|
20407
|
+
/** Accessible name of the divider. */
|
|
20408
|
+
resizeLabel?: string;
|
|
20409
|
+
};
|
|
20410
|
+
|
|
20411
|
+
export declare const SplitLayoutMainVanilla: default_2.ForwardRefExoticComponent<default_2.HTMLAttributes<HTMLDivElement> & CSSProps & {
|
|
20412
|
+
gap?: Gap;
|
|
20413
|
+
/** Keeps the pane in view while the page scrolls, this far from the top. Off when stacked. */
|
|
20414
|
+
stickyTop?: string | number;
|
|
20415
|
+
/** The pane never gets narrower than this while resizing. */
|
|
20416
|
+
minWidth?: SplitLayoutWidth;
|
|
20417
|
+
} & default_2.RefAttributes<HTMLDivElement>>;
|
|
20418
|
+
|
|
20419
|
+
export declare type SplitLayoutMainVanillaProps = PaneProps;
|
|
20420
|
+
|
|
20421
|
+
export declare const SplitLayoutVanilla: default_2.ForwardRefExoticComponent<default_2.HTMLAttributes<HTMLDivElement> & CSSProps & {
|
|
20422
|
+
/** The panes stack at this viewport width (px) and below. */
|
|
20423
|
+
breakpoint?: number;
|
|
20424
|
+
} & default_2.RefAttributes<HTMLDivElement>>;
|
|
20425
|
+
|
|
20426
|
+
export declare type SplitLayoutVanillaProps = default_2.HTMLAttributes<HTMLDivElement> & CSSProps & {
|
|
20427
|
+
/** The panes stack at this viewport width (px) and below. */
|
|
20428
|
+
breakpoint?: number;
|
|
20429
|
+
};
|
|
20430
|
+
|
|
20431
|
+
/** Pixels, or a share of the layout such as `'25%'`. */
|
|
20432
|
+
export declare type SplitLayoutWidth = number | `${number}%`;
|
|
20433
|
+
|
|
20246
20434
|
declare const stitches: default_3<"", {
|
|
20247
20435
|
bp1: "(min-width: 520px) and (max-width: 899px)";
|
|
20248
20436
|
bp2: "(min-width: 900px) and (max-width: 1199px)";
|
|
@@ -35159,6 +35347,128 @@ declare interface ThemeContextValue {
|
|
|
35159
35347
|
|
|
35160
35348
|
export declare type ThemeMode = 'light' | 'dark' | 'system';
|
|
35161
35349
|
|
|
35350
|
+
export declare const ToastActionVanilla: default_2.ForwardRefExoticComponent<ToastActionVanillaProps & default_2.RefAttributes<HTMLButtonElement>>;
|
|
35351
|
+
|
|
35352
|
+
export declare interface ToastActionVanillaProps extends Omit<ComponentPropsWithoutRef<typeof ToastPrimitive.Action>, 'asChild'>, CSSProps {
|
|
35353
|
+
}
|
|
35354
|
+
|
|
35355
|
+
declare interface ToastContextValue {
|
|
35356
|
+
toast: (options: ToastOptions) => string;
|
|
35357
|
+
dismiss: (id?: string) => void;
|
|
35358
|
+
}
|
|
35359
|
+
|
|
35360
|
+
export declare const ToastDescriptionVanilla: default_2.ForwardRefExoticComponent<ToastDescriptionVanillaProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
35361
|
+
|
|
35362
|
+
export declare interface ToastDescriptionVanillaProps extends Omit<ComponentPropsWithoutRef<typeof ToastPrimitive.Description>, 'asChild'>, CSSProps {
|
|
35363
|
+
}
|
|
35364
|
+
|
|
35365
|
+
declare const toastIconRecipe: RuntimeFn< {
|
|
35366
|
+
variant: {
|
|
35367
|
+
gray: {
|
|
35368
|
+
color: `var(--${string})`;
|
|
35369
|
+
};
|
|
35370
|
+
info: {
|
|
35371
|
+
color: `var(--${string})`;
|
|
35372
|
+
};
|
|
35373
|
+
success: {
|
|
35374
|
+
color: `var(--${string})`;
|
|
35375
|
+
};
|
|
35376
|
+
warning: {
|
|
35377
|
+
color: `var(--${string})`;
|
|
35378
|
+
};
|
|
35379
|
+
error: {
|
|
35380
|
+
color: `var(--${string})`;
|
|
35381
|
+
};
|
|
35382
|
+
};
|
|
35383
|
+
}>;
|
|
35384
|
+
|
|
35385
|
+
export declare interface ToastOptions extends Pick<ToastVanillaProps, 'variant' | 'icon' | 'duration' | 'type'> {
|
|
35386
|
+
title?: ReactNode;
|
|
35387
|
+
description?: ReactNode;
|
|
35388
|
+
action?: {
|
|
35389
|
+
label: ReactNode;
|
|
35390
|
+
altText: string;
|
|
35391
|
+
onClick: () => void;
|
|
35392
|
+
};
|
|
35393
|
+
}
|
|
35394
|
+
|
|
35395
|
+
export declare type ToastPosition = NonNullable<NonNullable<RecipeVariants<typeof toastViewportRecipe>>['position']>;
|
|
35396
|
+
|
|
35397
|
+
export declare const ToastProviderVanilla: ({ children, position, duration, label, closeLabel, }: ToastProviderVanillaProps) => JSX.Element;
|
|
35398
|
+
|
|
35399
|
+
export declare interface ToastProviderVanillaProps {
|
|
35400
|
+
children?: ReactNode;
|
|
35401
|
+
position?: ToastPosition;
|
|
35402
|
+
duration?: number;
|
|
35403
|
+
label?: string;
|
|
35404
|
+
closeLabel?: string;
|
|
35405
|
+
}
|
|
35406
|
+
|
|
35407
|
+
export declare const ToastTitleVanilla: default_2.ForwardRefExoticComponent<ToastTitleVanillaProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
35408
|
+
|
|
35409
|
+
export declare interface ToastTitleVanillaProps extends Omit<ComponentPropsWithoutRef<typeof ToastPrimitive.Title>, 'asChild'>, CSSProps {
|
|
35410
|
+
}
|
|
35411
|
+
|
|
35412
|
+
export declare const ToastVanilla: default_2.ForwardRefExoticComponent<ToastVanillaProps & default_2.RefAttributes<HTMLLIElement>>;
|
|
35413
|
+
|
|
35414
|
+
export declare interface ToastVanillaProps extends Omit<ComponentPropsWithoutRef<typeof ToastPrimitive.Root>, 'asChild'>, CSSProps {
|
|
35415
|
+
variant?: ToastVariant;
|
|
35416
|
+
/** Replaces the variant icon. Pass `null` to show no icon. */
|
|
35417
|
+
icon?: ReactNode;
|
|
35418
|
+
closeLabel?: string;
|
|
35419
|
+
}
|
|
35420
|
+
|
|
35421
|
+
export declare type ToastVariant = NonNullable<NonNullable<RecipeVariants<typeof toastIconRecipe>>['variant']>;
|
|
35422
|
+
|
|
35423
|
+
declare const toastViewportRecipe: RuntimeFn< {
|
|
35424
|
+
position: {
|
|
35425
|
+
'top-left': {
|
|
35426
|
+
top: number;
|
|
35427
|
+
left: number;
|
|
35428
|
+
vars: {
|
|
35429
|
+
[enterX]: string;
|
|
35430
|
+
};
|
|
35431
|
+
};
|
|
35432
|
+
'top-center': {
|
|
35433
|
+
top: number;
|
|
35434
|
+
left: "50%";
|
|
35435
|
+
transform: "translateX(-50%)";
|
|
35436
|
+
vars: {
|
|
35437
|
+
[enterY]: string;
|
|
35438
|
+
};
|
|
35439
|
+
};
|
|
35440
|
+
'top-right': {
|
|
35441
|
+
top: number;
|
|
35442
|
+
right: number;
|
|
35443
|
+
vars: {
|
|
35444
|
+
[enterX]: string;
|
|
35445
|
+
};
|
|
35446
|
+
};
|
|
35447
|
+
'bottom-left': {
|
|
35448
|
+
bottom: number;
|
|
35449
|
+
left: number;
|
|
35450
|
+
vars: {
|
|
35451
|
+
[enterX]: string;
|
|
35452
|
+
};
|
|
35453
|
+
};
|
|
35454
|
+
'bottom-center': {
|
|
35455
|
+
bottom: number;
|
|
35456
|
+
left: "50%";
|
|
35457
|
+
transform: "translateX(-50%)";
|
|
35458
|
+
vars: {
|
|
35459
|
+
[enterY]: string;
|
|
35460
|
+
};
|
|
35461
|
+
};
|
|
35462
|
+
'bottom-right': {
|
|
35463
|
+
bottom: number;
|
|
35464
|
+
right: number;
|
|
35465
|
+
vars: {
|
|
35466
|
+
[enterX]: string;
|
|
35467
|
+
};
|
|
35468
|
+
};
|
|
35469
|
+
};
|
|
35470
|
+
}>;
|
|
35471
|
+
|
|
35162
35472
|
export declare const Tooltip: default_2.ForwardRefExoticComponent<Omit<TooltipProps, "ref"> & default_2.RefAttributes<HTMLDivElement>>;
|
|
35163
35473
|
|
|
35164
35474
|
export declare const TooltipContent: default_2.ForwardRefExoticComponent<Omit<Partial<TooltipProps>, "ref"> & default_2.RefAttributes<HTMLDivElement>>;
|
|
@@ -35203,6 +35513,8 @@ export declare const useFieldControl: ({ id, invalid, disabled, "aria-describedb
|
|
|
35203
35513
|
'aria-invalid': boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
|
35204
35514
|
};
|
|
35205
35515
|
|
|
35516
|
+
export declare const useToast: () => ToastContextValue;
|
|
35517
|
+
|
|
35206
35518
|
export declare function useVanillaExtractTheme(): ThemeContextValue;
|
|
35207
35519
|
|
|
35208
35520
|
export declare const vanillaDarkTheme: string;
|
|
@@ -35239,6 +35551,489 @@ export declare const vanillaThemes: {
|
|
|
35239
35551
|
};
|
|
35240
35552
|
};
|
|
35241
35553
|
|
|
35554
|
+
export declare const vanillaTokens: {
|
|
35555
|
+
colors: {
|
|
35556
|
+
primary: `var(--${string})`;
|
|
35557
|
+
contentBg: `var(--${string})`;
|
|
35558
|
+
hiContrast: `var(--${string})`;
|
|
35559
|
+
loContrast: `var(--${string})`;
|
|
35560
|
+
focusOutline: `var(--${string})`;
|
|
35561
|
+
divider: `var(--${string})`;
|
|
35562
|
+
background: `var(--${string})`;
|
|
35563
|
+
foreground: `var(--${string})`;
|
|
35564
|
+
muted: `var(--${string})`;
|
|
35565
|
+
mutedForeground: `var(--${string})`;
|
|
35566
|
+
card: `var(--${string})`;
|
|
35567
|
+
cardForeground: `var(--${string})`;
|
|
35568
|
+
popover: `var(--${string})`;
|
|
35569
|
+
popoverForeground: `var(--${string})`;
|
|
35570
|
+
border: `var(--${string})`;
|
|
35571
|
+
input: `var(--${string})`;
|
|
35572
|
+
accent: `var(--${string})`;
|
|
35573
|
+
accentForeground: `var(--${string})`;
|
|
35574
|
+
destructive: `var(--${string})`;
|
|
35575
|
+
destructiveForeground: `var(--${string})`;
|
|
35576
|
+
ring: `var(--${string})`;
|
|
35577
|
+
neon: {
|
|
35578
|
+
A1: `var(--${string})`;
|
|
35579
|
+
A2: `var(--${string})`;
|
|
35580
|
+
A3: `var(--${string})`;
|
|
35581
|
+
A4: `var(--${string})`;
|
|
35582
|
+
A5: `var(--${string})`;
|
|
35583
|
+
A6: `var(--${string})`;
|
|
35584
|
+
A7: `var(--${string})`;
|
|
35585
|
+
A8: `var(--${string})`;
|
|
35586
|
+
A9: `var(--${string})`;
|
|
35587
|
+
A10: `var(--${string})`;
|
|
35588
|
+
A11: `var(--${string})`;
|
|
35589
|
+
A12: `var(--${string})`;
|
|
35590
|
+
'1': `var(--${string})`;
|
|
35591
|
+
'2': `var(--${string})`;
|
|
35592
|
+
'3': `var(--${string})`;
|
|
35593
|
+
'4': `var(--${string})`;
|
|
35594
|
+
'5': `var(--${string})`;
|
|
35595
|
+
'6': `var(--${string})`;
|
|
35596
|
+
'7': `var(--${string})`;
|
|
35597
|
+
'8': `var(--${string})`;
|
|
35598
|
+
'9': `var(--${string})`;
|
|
35599
|
+
'10': `var(--${string})`;
|
|
35600
|
+
'11': `var(--${string})`;
|
|
35601
|
+
'12': `var(--${string})`;
|
|
35602
|
+
};
|
|
35603
|
+
blue: {
|
|
35604
|
+
A1: `var(--${string})`;
|
|
35605
|
+
A2: `var(--${string})`;
|
|
35606
|
+
A3: `var(--${string})`;
|
|
35607
|
+
A4: `var(--${string})`;
|
|
35608
|
+
A5: `var(--${string})`;
|
|
35609
|
+
A6: `var(--${string})`;
|
|
35610
|
+
A7: `var(--${string})`;
|
|
35611
|
+
A8: `var(--${string})`;
|
|
35612
|
+
A9: `var(--${string})`;
|
|
35613
|
+
A10: `var(--${string})`;
|
|
35614
|
+
A11: `var(--${string})`;
|
|
35615
|
+
A12: `var(--${string})`;
|
|
35616
|
+
'1': `var(--${string})`;
|
|
35617
|
+
'2': `var(--${string})`;
|
|
35618
|
+
'3': `var(--${string})`;
|
|
35619
|
+
'4': `var(--${string})`;
|
|
35620
|
+
'5': `var(--${string})`;
|
|
35621
|
+
'6': `var(--${string})`;
|
|
35622
|
+
'7': `var(--${string})`;
|
|
35623
|
+
'8': `var(--${string})`;
|
|
35624
|
+
'9': `var(--${string})`;
|
|
35625
|
+
'10': `var(--${string})`;
|
|
35626
|
+
'11': `var(--${string})`;
|
|
35627
|
+
'12': `var(--${string})`;
|
|
35628
|
+
};
|
|
35629
|
+
orange: {
|
|
35630
|
+
A1: `var(--${string})`;
|
|
35631
|
+
A2: `var(--${string})`;
|
|
35632
|
+
A3: `var(--${string})`;
|
|
35633
|
+
A4: `var(--${string})`;
|
|
35634
|
+
A5: `var(--${string})`;
|
|
35635
|
+
A6: `var(--${string})`;
|
|
35636
|
+
A7: `var(--${string})`;
|
|
35637
|
+
A8: `var(--${string})`;
|
|
35638
|
+
A9: `var(--${string})`;
|
|
35639
|
+
A10: `var(--${string})`;
|
|
35640
|
+
A11: `var(--${string})`;
|
|
35641
|
+
A12: `var(--${string})`;
|
|
35642
|
+
'1': `var(--${string})`;
|
|
35643
|
+
'2': `var(--${string})`;
|
|
35644
|
+
'3': `var(--${string})`;
|
|
35645
|
+
'4': `var(--${string})`;
|
|
35646
|
+
'5': `var(--${string})`;
|
|
35647
|
+
'6': `var(--${string})`;
|
|
35648
|
+
'7': `var(--${string})`;
|
|
35649
|
+
'8': `var(--${string})`;
|
|
35650
|
+
'9': `var(--${string})`;
|
|
35651
|
+
'10': `var(--${string})`;
|
|
35652
|
+
'11': `var(--${string})`;
|
|
35653
|
+
'12': `var(--${string})`;
|
|
35654
|
+
};
|
|
35655
|
+
red: {
|
|
35656
|
+
A1: `var(--${string})`;
|
|
35657
|
+
A2: `var(--${string})`;
|
|
35658
|
+
A3: `var(--${string})`;
|
|
35659
|
+
A4: `var(--${string})`;
|
|
35660
|
+
A5: `var(--${string})`;
|
|
35661
|
+
A6: `var(--${string})`;
|
|
35662
|
+
A7: `var(--${string})`;
|
|
35663
|
+
A8: `var(--${string})`;
|
|
35664
|
+
A9: `var(--${string})`;
|
|
35665
|
+
A10: `var(--${string})`;
|
|
35666
|
+
A11: `var(--${string})`;
|
|
35667
|
+
A12: `var(--${string})`;
|
|
35668
|
+
'1': `var(--${string})`;
|
|
35669
|
+
'2': `var(--${string})`;
|
|
35670
|
+
'3': `var(--${string})`;
|
|
35671
|
+
'4': `var(--${string})`;
|
|
35672
|
+
'5': `var(--${string})`;
|
|
35673
|
+
'6': `var(--${string})`;
|
|
35674
|
+
'7': `var(--${string})`;
|
|
35675
|
+
'8': `var(--${string})`;
|
|
35676
|
+
'9': `var(--${string})`;
|
|
35677
|
+
'10': `var(--${string})`;
|
|
35678
|
+
'11': `var(--${string})`;
|
|
35679
|
+
'12': `var(--${string})`;
|
|
35680
|
+
};
|
|
35681
|
+
green: {
|
|
35682
|
+
A1: `var(--${string})`;
|
|
35683
|
+
A2: `var(--${string})`;
|
|
35684
|
+
A3: `var(--${string})`;
|
|
35685
|
+
A4: `var(--${string})`;
|
|
35686
|
+
A5: `var(--${string})`;
|
|
35687
|
+
A6: `var(--${string})`;
|
|
35688
|
+
A7: `var(--${string})`;
|
|
35689
|
+
A8: `var(--${string})`;
|
|
35690
|
+
A9: `var(--${string})`;
|
|
35691
|
+
A10: `var(--${string})`;
|
|
35692
|
+
A11: `var(--${string})`;
|
|
35693
|
+
A12: `var(--${string})`;
|
|
35694
|
+
'1': `var(--${string})`;
|
|
35695
|
+
'2': `var(--${string})`;
|
|
35696
|
+
'3': `var(--${string})`;
|
|
35697
|
+
'4': `var(--${string})`;
|
|
35698
|
+
'5': `var(--${string})`;
|
|
35699
|
+
'6': `var(--${string})`;
|
|
35700
|
+
'7': `var(--${string})`;
|
|
35701
|
+
'8': `var(--${string})`;
|
|
35702
|
+
'9': `var(--${string})`;
|
|
35703
|
+
'10': `var(--${string})`;
|
|
35704
|
+
'11': `var(--${string})`;
|
|
35705
|
+
'12': `var(--${string})`;
|
|
35706
|
+
};
|
|
35707
|
+
deepBlue: {
|
|
35708
|
+
A1: `var(--${string})`;
|
|
35709
|
+
A2: `var(--${string})`;
|
|
35710
|
+
A3: `var(--${string})`;
|
|
35711
|
+
A4: `var(--${string})`;
|
|
35712
|
+
A5: `var(--${string})`;
|
|
35713
|
+
A6: `var(--${string})`;
|
|
35714
|
+
A7: `var(--${string})`;
|
|
35715
|
+
A8: `var(--${string})`;
|
|
35716
|
+
A9: `var(--${string})`;
|
|
35717
|
+
A10: `var(--${string})`;
|
|
35718
|
+
A11: `var(--${string})`;
|
|
35719
|
+
A12: `var(--${string})`;
|
|
35720
|
+
'1': `var(--${string})`;
|
|
35721
|
+
'2': `var(--${string})`;
|
|
35722
|
+
'3': `var(--${string})`;
|
|
35723
|
+
'4': `var(--${string})`;
|
|
35724
|
+
'5': `var(--${string})`;
|
|
35725
|
+
'6': `var(--${string})`;
|
|
35726
|
+
'7': `var(--${string})`;
|
|
35727
|
+
'8': `var(--${string})`;
|
|
35728
|
+
'9': `var(--${string})`;
|
|
35729
|
+
'10': `var(--${string})`;
|
|
35730
|
+
'11': `var(--${string})`;
|
|
35731
|
+
'12': `var(--${string})`;
|
|
35732
|
+
};
|
|
35733
|
+
grayBlue: {
|
|
35734
|
+
A1: `var(--${string})`;
|
|
35735
|
+
A2: `var(--${string})`;
|
|
35736
|
+
A3: `var(--${string})`;
|
|
35737
|
+
A4: `var(--${string})`;
|
|
35738
|
+
A5: `var(--${string})`;
|
|
35739
|
+
A6: `var(--${string})`;
|
|
35740
|
+
A7: `var(--${string})`;
|
|
35741
|
+
A8: `var(--${string})`;
|
|
35742
|
+
A9: `var(--${string})`;
|
|
35743
|
+
A10: `var(--${string})`;
|
|
35744
|
+
A11: `var(--${string})`;
|
|
35745
|
+
A12: `var(--${string})`;
|
|
35746
|
+
'1': `var(--${string})`;
|
|
35747
|
+
'2': `var(--${string})`;
|
|
35748
|
+
'3': `var(--${string})`;
|
|
35749
|
+
'4': `var(--${string})`;
|
|
35750
|
+
'5': `var(--${string})`;
|
|
35751
|
+
'6': `var(--${string})`;
|
|
35752
|
+
'7': `var(--${string})`;
|
|
35753
|
+
'8': `var(--${string})`;
|
|
35754
|
+
'9': `var(--${string})`;
|
|
35755
|
+
'10': `var(--${string})`;
|
|
35756
|
+
'11': `var(--${string})`;
|
|
35757
|
+
'12': `var(--${string})`;
|
|
35758
|
+
};
|
|
35759
|
+
gray: {
|
|
35760
|
+
A1: `var(--${string})`;
|
|
35761
|
+
A2: `var(--${string})`;
|
|
35762
|
+
A3: `var(--${string})`;
|
|
35763
|
+
A4: `var(--${string})`;
|
|
35764
|
+
A5: `var(--${string})`;
|
|
35765
|
+
A6: `var(--${string})`;
|
|
35766
|
+
A7: `var(--${string})`;
|
|
35767
|
+
A8: `var(--${string})`;
|
|
35768
|
+
A9: `var(--${string})`;
|
|
35769
|
+
A10: `var(--${string})`;
|
|
35770
|
+
A11: `var(--${string})`;
|
|
35771
|
+
A12: `var(--${string})`;
|
|
35772
|
+
'1': `var(--${string})`;
|
|
35773
|
+
'2': `var(--${string})`;
|
|
35774
|
+
'3': `var(--${string})`;
|
|
35775
|
+
'4': `var(--${string})`;
|
|
35776
|
+
'5': `var(--${string})`;
|
|
35777
|
+
'6': `var(--${string})`;
|
|
35778
|
+
'7': `var(--${string})`;
|
|
35779
|
+
'8': `var(--${string})`;
|
|
35780
|
+
'9': `var(--${string})`;
|
|
35781
|
+
'10': `var(--${string})`;
|
|
35782
|
+
'11': `var(--${string})`;
|
|
35783
|
+
'12': `var(--${string})`;
|
|
35784
|
+
};
|
|
35785
|
+
slate: {
|
|
35786
|
+
A1: `var(--${string})`;
|
|
35787
|
+
A2: `var(--${string})`;
|
|
35788
|
+
A3: `var(--${string})`;
|
|
35789
|
+
A4: `var(--${string})`;
|
|
35790
|
+
A5: `var(--${string})`;
|
|
35791
|
+
A6: `var(--${string})`;
|
|
35792
|
+
A7: `var(--${string})`;
|
|
35793
|
+
A8: `var(--${string})`;
|
|
35794
|
+
A9: `var(--${string})`;
|
|
35795
|
+
A10: `var(--${string})`;
|
|
35796
|
+
A11: `var(--${string})`;
|
|
35797
|
+
A12: `var(--${string})`;
|
|
35798
|
+
'1': `var(--${string})`;
|
|
35799
|
+
'2': `var(--${string})`;
|
|
35800
|
+
'3': `var(--${string})`;
|
|
35801
|
+
'4': `var(--${string})`;
|
|
35802
|
+
'5': `var(--${string})`;
|
|
35803
|
+
'6': `var(--${string})`;
|
|
35804
|
+
'7': `var(--${string})`;
|
|
35805
|
+
'8': `var(--${string})`;
|
|
35806
|
+
'9': `var(--${string})`;
|
|
35807
|
+
'10': `var(--${string})`;
|
|
35808
|
+
'11': `var(--${string})`;
|
|
35809
|
+
'12': `var(--${string})`;
|
|
35810
|
+
};
|
|
35811
|
+
purple: {
|
|
35812
|
+
A1: `var(--${string})`;
|
|
35813
|
+
A2: `var(--${string})`;
|
|
35814
|
+
A3: `var(--${string})`;
|
|
35815
|
+
A4: `var(--${string})`;
|
|
35816
|
+
A5: `var(--${string})`;
|
|
35817
|
+
A6: `var(--${string})`;
|
|
35818
|
+
A7: `var(--${string})`;
|
|
35819
|
+
A8: `var(--${string})`;
|
|
35820
|
+
A9: `var(--${string})`;
|
|
35821
|
+
A10: `var(--${string})`;
|
|
35822
|
+
A11: `var(--${string})`;
|
|
35823
|
+
A12: `var(--${string})`;
|
|
35824
|
+
'1': `var(--${string})`;
|
|
35825
|
+
'2': `var(--${string})`;
|
|
35826
|
+
'3': `var(--${string})`;
|
|
35827
|
+
'4': `var(--${string})`;
|
|
35828
|
+
'5': `var(--${string})`;
|
|
35829
|
+
'6': `var(--${string})`;
|
|
35830
|
+
'7': `var(--${string})`;
|
|
35831
|
+
'8': `var(--${string})`;
|
|
35832
|
+
'9': `var(--${string})`;
|
|
35833
|
+
'10': `var(--${string})`;
|
|
35834
|
+
'11': `var(--${string})`;
|
|
35835
|
+
'12': `var(--${string})`;
|
|
35836
|
+
};
|
|
35837
|
+
whiteA: {
|
|
35838
|
+
'1': `var(--${string})`;
|
|
35839
|
+
'2': `var(--${string})`;
|
|
35840
|
+
'3': `var(--${string})`;
|
|
35841
|
+
'4': `var(--${string})`;
|
|
35842
|
+
'5': `var(--${string})`;
|
|
35843
|
+
'6': `var(--${string})`;
|
|
35844
|
+
'7': `var(--${string})`;
|
|
35845
|
+
'8': `var(--${string})`;
|
|
35846
|
+
'9': `var(--${string})`;
|
|
35847
|
+
'10': `var(--${string})`;
|
|
35848
|
+
'11': `var(--${string})`;
|
|
35849
|
+
'12': `var(--${string})`;
|
|
35850
|
+
};
|
|
35851
|
+
blackA: {
|
|
35852
|
+
'1': `var(--${string})`;
|
|
35853
|
+
'2': `var(--${string})`;
|
|
35854
|
+
'3': `var(--${string})`;
|
|
35855
|
+
'4': `var(--${string})`;
|
|
35856
|
+
'5': `var(--${string})`;
|
|
35857
|
+
'6': `var(--${string})`;
|
|
35858
|
+
'7': `var(--${string})`;
|
|
35859
|
+
'8': `var(--${string})`;
|
|
35860
|
+
'9': `var(--${string})`;
|
|
35861
|
+
'10': `var(--${string})`;
|
|
35862
|
+
'11': `var(--${string})`;
|
|
35863
|
+
'12': `var(--${string})`;
|
|
35864
|
+
};
|
|
35865
|
+
'00dp': `var(--${string})`;
|
|
35866
|
+
'01dp': `var(--${string})`;
|
|
35867
|
+
'02dp': `var(--${string})`;
|
|
35868
|
+
'03dp': `var(--${string})`;
|
|
35869
|
+
'04dp': `var(--${string})`;
|
|
35870
|
+
'05dp': `var(--${string})`;
|
|
35871
|
+
'06dp': `var(--${string})`;
|
|
35872
|
+
'08dp': `var(--${string})`;
|
|
35873
|
+
'12dp': `var(--${string})`;
|
|
35874
|
+
'16dp': `var(--${string})`;
|
|
35875
|
+
'24dp': `var(--${string})`;
|
|
35876
|
+
badgeInteractiveBackgroundHover: `var(--${string})`;
|
|
35877
|
+
badgeInteractiveBackgroundActive: `var(--${string})`;
|
|
35878
|
+
cardBackground: `var(--${string})`;
|
|
35879
|
+
cardHoverBackground: `var(--${string})`;
|
|
35880
|
+
cardHoverBorder: `var(--${string})`;
|
|
35881
|
+
cardActiveBackground: `var(--${string})`;
|
|
35882
|
+
cardActiveBorder: `var(--${string})`;
|
|
35883
|
+
innerCardBgColor: `var(--${string})`;
|
|
35884
|
+
codeBlockCopyButtonBg: `var(--${string})`;
|
|
35885
|
+
textSubtle: `var(--${string})`;
|
|
35886
|
+
textDefault: `var(--${string})`;
|
|
35887
|
+
textContrast: `var(--${string})`;
|
|
35888
|
+
textInvalid: `var(--${string})`;
|
|
35889
|
+
textRed: `var(--${string})`;
|
|
35890
|
+
headingDefault: `var(--${string})`;
|
|
35891
|
+
panelShadowLight: `var(--${string})`;
|
|
35892
|
+
inputBg: `var(--${string})`;
|
|
35893
|
+
inputBorder: `var(--${string})`;
|
|
35894
|
+
inputFocusBg: `var(--${string})`;
|
|
35895
|
+
inputFocusBorder: `var(--${string})`;
|
|
35896
|
+
inputHoverBg: `var(--${string})`;
|
|
35897
|
+
inputText: `var(--${string})`;
|
|
35898
|
+
inputPlaceholder: `var(--${string})`;
|
|
35899
|
+
inputDisabledText: `var(--${string})`;
|
|
35900
|
+
inputInvalidBorder: `var(--${string})`;
|
|
35901
|
+
textareaBg: `var(--${string})`;
|
|
35902
|
+
textareaBorder: `var(--${string})`;
|
|
35903
|
+
textareaFocusBg: `var(--${string})`;
|
|
35904
|
+
textareaFocusBorder: `var(--${string})`;
|
|
35905
|
+
textareaHoverBg: `var(--${string})`;
|
|
35906
|
+
textareaText: `var(--${string})`;
|
|
35907
|
+
textareaPlaceholder: `var(--${string})`;
|
|
35908
|
+
textareaDisabledText: `var(--${string})`;
|
|
35909
|
+
textareaInvalidBorder: `var(--${string})`;
|
|
35910
|
+
buttonPrimaryText: `var(--${string})`;
|
|
35911
|
+
buttonPrimaryFocusBorder: `var(--${string})`;
|
|
35912
|
+
buttonPrimaryFocusBg: `var(--${string})`;
|
|
35913
|
+
buttonPrimaryGhostHoverText: `var(--${string})`;
|
|
35914
|
+
buttonSecondaryBg: `var(--${string})`;
|
|
35915
|
+
buttonSecondaryText: `var(--${string})`;
|
|
35916
|
+
buttonSecondaryBorder: `var(--${string})`;
|
|
35917
|
+
buttonSecondaryFocusBorder: `var(--${string})`;
|
|
35918
|
+
buttonRedBg: `var(--${string})`;
|
|
35919
|
+
buttonRedText: `var(--${string})`;
|
|
35920
|
+
buttonRedHoverText: `var(--${string})`;
|
|
35921
|
+
buttonRedFocusBg: `var(--${string})`;
|
|
35922
|
+
iconButtonBackground: `var(--${string})`;
|
|
35923
|
+
iconButtonHoverBorder: `var(--${string})`;
|
|
35924
|
+
iconButtonHoverBackground: `var(--${string})`;
|
|
35925
|
+
iconButtonFocusBorder: `var(--${string})`;
|
|
35926
|
+
buttonSwitchContainerBg: `var(--${string})`;
|
|
35927
|
+
buttonSwitchActiveBg: `var(--${string})`;
|
|
35928
|
+
buttonSwitchOffBg: `var(--${string})`;
|
|
35929
|
+
buttonSwitchOffColor: `var(--${string})`;
|
|
35930
|
+
buttonSwitchActiveColor: `var(--${string})`;
|
|
35931
|
+
skeletonBackground: `var(--${string})`;
|
|
35932
|
+
skeletonAnimation: `var(--${string})`;
|
|
35933
|
+
segmentedControlBorder: `var(--${string})`;
|
|
35934
|
+
segmentedControlHoverBg: `var(--${string})`;
|
|
35935
|
+
segmentedControlActiveBg: `var(--${string})`;
|
|
35936
|
+
segmentedControlActiveText: `var(--${string})`;
|
|
35937
|
+
comboboxContentBorder: `var(--${string})`;
|
|
35938
|
+
comboboxOptionHighlightBg: `var(--${string})`;
|
|
35939
|
+
toastBorder: `var(--${string})`;
|
|
35940
|
+
meterTrackBg: `var(--${string})`;
|
|
35941
|
+
toneSuccessSolid: `var(--${string})`;
|
|
35942
|
+
toneSuccessText: `var(--${string})`;
|
|
35943
|
+
toneSuccessSurface: `var(--${string})`;
|
|
35944
|
+
toneSuccessBorder: `var(--${string})`;
|
|
35945
|
+
toneWarningSolid: `var(--${string})`;
|
|
35946
|
+
toneWarningText: `var(--${string})`;
|
|
35947
|
+
toneWarningSurface: `var(--${string})`;
|
|
35948
|
+
toneWarningBorder: `var(--${string})`;
|
|
35949
|
+
toneDangerSolid: `var(--${string})`;
|
|
35950
|
+
toneDangerText: `var(--${string})`;
|
|
35951
|
+
toneDangerSurface: `var(--${string})`;
|
|
35952
|
+
toneDangerBorder: `var(--${string})`;
|
|
35953
|
+
toneInfoSolid: `var(--${string})`;
|
|
35954
|
+
toneInfoText: `var(--${string})`;
|
|
35955
|
+
toneInfoSurface: `var(--${string})`;
|
|
35956
|
+
toneInfoBorder: `var(--${string})`;
|
|
35957
|
+
toneNeutralSolid: `var(--${string})`;
|
|
35958
|
+
toneNeutralText: `var(--${string})`;
|
|
35959
|
+
toneNeutralSurface: `var(--${string})`;
|
|
35960
|
+
toneNeutralBorder: `var(--${string})`;
|
|
35961
|
+
chartSeries1: `var(--${string})`;
|
|
35962
|
+
chartSeries2: `var(--${string})`;
|
|
35963
|
+
chartSeries3: `var(--${string})`;
|
|
35964
|
+
chartStatusGood: `var(--${string})`;
|
|
35965
|
+
chartStatusWarning: `var(--${string})`;
|
|
35966
|
+
chartStatusSerious: `var(--${string})`;
|
|
35967
|
+
chartStatusCritical: `var(--${string})`;
|
|
35968
|
+
chartGrid: `var(--${string})`;
|
|
35969
|
+
chartAxis: `var(--${string})`;
|
|
35970
|
+
};
|
|
35971
|
+
fonts: {
|
|
35972
|
+
rubik: `var(--${string})`;
|
|
35973
|
+
};
|
|
35974
|
+
space: {
|
|
35975
|
+
'1': `var(--${string})`;
|
|
35976
|
+
'2': `var(--${string})`;
|
|
35977
|
+
'3': `var(--${string})`;
|
|
35978
|
+
'4': `var(--${string})`;
|
|
35979
|
+
'5': `var(--${string})`;
|
|
35980
|
+
'6': `var(--${string})`;
|
|
35981
|
+
'7': `var(--${string})`;
|
|
35982
|
+
'8': `var(--${string})`;
|
|
35983
|
+
'9': `var(--${string})`;
|
|
35984
|
+
};
|
|
35985
|
+
sizes: {
|
|
35986
|
+
'1': `var(--${string})`;
|
|
35987
|
+
'2': `var(--${string})`;
|
|
35988
|
+
'3': `var(--${string})`;
|
|
35989
|
+
'4': `var(--${string})`;
|
|
35990
|
+
'5': `var(--${string})`;
|
|
35991
|
+
'6': `var(--${string})`;
|
|
35992
|
+
'7': `var(--${string})`;
|
|
35993
|
+
'8': `var(--${string})`;
|
|
35994
|
+
'9': `var(--${string})`;
|
|
35995
|
+
'10': `var(--${string})`;
|
|
35996
|
+
};
|
|
35997
|
+
fontSizes: {
|
|
35998
|
+
'0': `var(--${string})`;
|
|
35999
|
+
'1': `var(--${string})`;
|
|
36000
|
+
'2': `var(--${string})`;
|
|
36001
|
+
'3': `var(--${string})`;
|
|
36002
|
+
'4': `var(--${string})`;
|
|
36003
|
+
'5': `var(--${string})`;
|
|
36004
|
+
'6': `var(--${string})`;
|
|
36005
|
+
'7': `var(--${string})`;
|
|
36006
|
+
'8': `var(--${string})`;
|
|
36007
|
+
'9': `var(--${string})`;
|
|
36008
|
+
'10': `var(--${string})`;
|
|
36009
|
+
'11': `var(--${string})`;
|
|
36010
|
+
'12': `var(--${string})`;
|
|
36011
|
+
};
|
|
36012
|
+
fontWeights: {
|
|
36013
|
+
light: `var(--${string})`;
|
|
36014
|
+
regular: `var(--${string})`;
|
|
36015
|
+
medium: `var(--${string})`;
|
|
36016
|
+
semiBold: `var(--${string})`;
|
|
36017
|
+
bold: `var(--${string})`;
|
|
36018
|
+
};
|
|
36019
|
+
radii: {
|
|
36020
|
+
'1': `var(--${string})`;
|
|
36021
|
+
'2': `var(--${string})`;
|
|
36022
|
+
'3': `var(--${string})`;
|
|
36023
|
+
'4': `var(--${string})`;
|
|
36024
|
+
round: `var(--${string})`;
|
|
36025
|
+
pill: `var(--${string})`;
|
|
36026
|
+
button: `var(--${string})`;
|
|
36027
|
+
};
|
|
36028
|
+
zIndices: {
|
|
36029
|
+
'1': `var(--${string})`;
|
|
36030
|
+
'2': `var(--${string})`;
|
|
36031
|
+
'3': `var(--${string})`;
|
|
36032
|
+
'4': `var(--${string})`;
|
|
36033
|
+
max: `var(--${string})`;
|
|
36034
|
+
};
|
|
36035
|
+
};
|
|
36036
|
+
|
|
35242
36037
|
export { VariantProps }
|
|
35243
36038
|
|
|
35244
36039
|
export declare const VisuallyHidden: ForwardRefExoticComponent<VisuallyHiddenPrimitive.VisuallyHiddenProps & RefAttributes<HTMLSpanElement>>;
|