@yahoo/uds 3.161.0 → 3.162.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/client/Checkbox/Checkbox.cjs +118 -0
- package/dist/components/client/{Checkbox.d.cts → Checkbox/Checkbox.d.cts} +5 -18
- package/dist/components/client/{Checkbox.d.ts → Checkbox/Checkbox.d.ts} +5 -18
- package/dist/components/client/Checkbox/Checkbox.js +113 -0
- package/dist/components/client/Checkbox/CheckboxBase.cjs +141 -0
- package/dist/components/client/Checkbox/CheckboxBase.d.cts +48 -0
- package/dist/components/client/Checkbox/CheckboxBase.d.ts +49 -0
- package/dist/components/client/Checkbox/CheckboxBase.js +138 -0
- package/dist/components/client/Checkbox/checkboxConstants.cjs +23 -0
- package/dist/components/client/Checkbox/checkboxConstants.d.cts +25 -0
- package/dist/components/client/Checkbox/checkboxConstants.d.ts +26 -0
- package/dist/components/client/Checkbox/checkboxConstants.js +17 -0
- package/dist/components/client/Checkbox/index.cjs +10 -0
- package/dist/components/client/Checkbox/index.d.cts +6 -0
- package/dist/components/client/Checkbox/index.d.ts +7 -0
- package/dist/components/client/Checkbox/index.js +6 -0
- package/dist/components/client/Checkbox/types.cjs +2 -0
- package/dist/components/client/Checkbox/types.d.cts +22 -0
- package/dist/components/client/Checkbox/types.d.ts +23 -0
- package/dist/components/client/Checkbox/types.js +2 -0
- package/dist/components/client/Menu/Menu.ItemCheckbox.d.cts +1 -1
- package/dist/components/client/Menu/Menu.ItemCheckbox.d.ts +1 -1
- package/dist/components/client/Popover/UDSPopoverConfigProvider.d.cts +1 -1
- package/dist/components/client/Popover/UDSPopoverConfigProvider.d.ts +1 -1
- package/dist/components/client/Radio/Radio.cjs +67 -164
- package/dist/components/client/Radio/Radio.d.cts +4 -17
- package/dist/components/client/Radio/Radio.d.ts +4 -17
- package/dist/components/client/Radio/Radio.js +66 -163
- package/dist/components/client/Radio/RadioBase.cjs +133 -0
- package/dist/components/client/Radio/RadioBase.d.cts +45 -0
- package/dist/components/client/Radio/RadioBase.d.ts +46 -0
- package/dist/components/client/Radio/RadioBase.js +130 -0
- package/dist/components/client/Radio/radioConstants.cjs +14 -0
- package/dist/components/client/Radio/radioConstants.d.cts +8 -0
- package/dist/components/client/Radio/radioConstants.d.ts +9 -0
- package/dist/components/client/Radio/radioConstants.js +11 -0
- package/dist/components/client/Radio/types.cjs +2 -0
- package/dist/components/client/Radio/types.d.cts +20 -0
- package/dist/components/client/Radio/types.d.ts +21 -0
- package/dist/components/client/Radio/types.js +2 -0
- package/dist/components/client/Toast/UDSToastConfigProvider.d.cts +1 -1
- package/dist/components/client/Toast/UDSToastConfigProvider.d.ts +1 -1
- package/dist/components/client/index.cjs +2 -2
- package/dist/components/client/index.d.cts +1 -1
- package/dist/components/client/index.d.ts +1 -1
- package/dist/components/client/index.js +1 -1
- package/dist/components/index.cjs +2 -2
- package/dist/components/index.d.cts +1 -1
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.js +1 -1
- package/dist/css-animation/Checkbox/Checkbox.cjs +75 -0
- package/dist/css-animation/Checkbox/Checkbox.d.cts +22 -0
- package/dist/css-animation/Checkbox/Checkbox.d.ts +23 -0
- package/dist/css-animation/Checkbox/Checkbox.js +72 -0
- package/dist/css-animation/Checkbox/index.cjs +5 -0
- package/dist/css-animation/Checkbox/index.d.cts +3 -0
- package/dist/css-animation/Checkbox/index.d.ts +4 -0
- package/dist/css-animation/Checkbox/index.js +4 -0
- package/dist/css-animation/Radio/Radio.cjs +92 -0
- package/dist/css-animation/Radio/Radio.d.cts +22 -0
- package/dist/css-animation/Radio/Radio.d.ts +23 -0
- package/dist/css-animation/Radio/Radio.js +89 -0
- package/dist/css-animation/Radio/index.cjs +5 -0
- package/dist/css-animation/Radio/index.d.cts +3 -0
- package/dist/css-animation/Radio/index.d.ts +4 -0
- package/dist/css-animation/Radio/index.js +4 -0
- package/dist/css-animation/index.cjs +4 -0
- package/dist/css-animation/index.d.cts +3 -1
- package/dist/css-animation/index.d.ts +3 -1
- package/dist/css-animation/index.js +3 -1
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/styles/styler.d.cts +43 -43
- package/dist/styles/styler.d.ts +43 -43
- package/dist/uds/generated/componentData.cjs +2501 -2451
- package/dist/uds/generated/componentData.js +2501 -2451
- package/dist/uds/generated/tailwindPurge.cjs +12 -12
- package/dist/uds/generated/tailwindPurge.js +12 -12
- package/generated/componentData.json +3275 -3186
- package/generated/tailwindPurge.ts +2 -2
- package/package.json +1 -1
- package/dist/components/client/Checkbox.cjs +0 -224
- package/dist/components/client/Checkbox.js +0 -219
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
|
|
2
|
+
"use client";
|
|
3
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
4
|
+
const require_runtime = require("../../_virtual/_rolldown/runtime.cjs");
|
|
5
|
+
const require_styles_styler = require("../../styles/styler.cjs");
|
|
6
|
+
const require_components_Box = require("../../components/Box.cjs");
|
|
7
|
+
const require_components_client_Radio_RadioBase = require("../../components/client/Radio/RadioBase.cjs");
|
|
8
|
+
let react = require("react");
|
|
9
|
+
react = require_runtime.__toESM(react);
|
|
10
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
11
|
+
//#region src/css-animation/Radio/Radio.tsx
|
|
12
|
+
/**
|
|
13
|
+
* CSS-animation Radio variant. This component intentionally never imports motion.
|
|
14
|
+
*
|
|
15
|
+
* @componentType Client component
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* ```tsx
|
|
19
|
+
* 'use client';
|
|
20
|
+
* import { Radio } from '@yahoo/uds/css-animation';
|
|
21
|
+
*
|
|
22
|
+
* <Radio label="Name" />
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
const Radio = (0, react.forwardRef)(function Radio(props, parentRef) {
|
|
26
|
+
const cssAnimationDuration = "duration-120";
|
|
27
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_components_client_Radio_RadioBase.RadioBase, {
|
|
28
|
+
...props,
|
|
29
|
+
ref: parentRef,
|
|
30
|
+
cssAnimationDuration,
|
|
31
|
+
renderRoot: ({ className, style, rootSlotProps, hasLabel, children }) => {
|
|
32
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(hasLabel ? "label" : "div", {
|
|
33
|
+
className: require_styles_styler.cx("group", className),
|
|
34
|
+
"data-testid": "container",
|
|
35
|
+
style,
|
|
36
|
+
tabIndex: -1,
|
|
37
|
+
...rootSlotProps,
|
|
38
|
+
children
|
|
39
|
+
});
|
|
40
|
+
},
|
|
41
|
+
renderIndicator: ({ size, variant, checked, disabled, cssAnimationDuration, radioSlotProps, radioIconSlotProps, children }) => {
|
|
42
|
+
const classNames = {
|
|
43
|
+
radio: require_styles_styler.getStyles({
|
|
44
|
+
radioSizeRadio: size,
|
|
45
|
+
radioVariantRadio: variant,
|
|
46
|
+
radioVariantValueRadio: checked ? "checked" : "unchecked",
|
|
47
|
+
className: require_styles_styler.cx([
|
|
48
|
+
"border",
|
|
49
|
+
"uds-ring",
|
|
50
|
+
"uds-ring-within",
|
|
51
|
+
!disabled && "group-hover:scale-110",
|
|
52
|
+
!disabled && !checked && "group-active:scale-90",
|
|
53
|
+
!disabled && !checked && "group-active:uds-inset-shadow-lg-invert",
|
|
54
|
+
!disabled && checked && "group-hover:uds-inset-shadow-lg-invert",
|
|
55
|
+
cssAnimationDuration,
|
|
56
|
+
"transition-[background-color,border-color,transform]",
|
|
57
|
+
"transition-shadow"
|
|
58
|
+
])
|
|
59
|
+
}),
|
|
60
|
+
radioCircle: require_styles_styler.getStyles({
|
|
61
|
+
radioVariantRadioCircle: variant,
|
|
62
|
+
radioVariantValueRadioCircle: checked ? "checked" : "unchecked",
|
|
63
|
+
className: require_styles_styler.cx([
|
|
64
|
+
"pointer-events-none",
|
|
65
|
+
"w-[8px]",
|
|
66
|
+
"h-[8px]",
|
|
67
|
+
checked ? "opacity-100" : "opacity-0",
|
|
68
|
+
cssAnimationDuration,
|
|
69
|
+
"transition-opacity"
|
|
70
|
+
])
|
|
71
|
+
})
|
|
72
|
+
};
|
|
73
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_components_Box.Box, {
|
|
74
|
+
position: "relative",
|
|
75
|
+
borderRadius: "full",
|
|
76
|
+
alignItems: "center",
|
|
77
|
+
justifyContent: "center",
|
|
78
|
+
flex: "none",
|
|
79
|
+
className: classNames.radio,
|
|
80
|
+
...radioSlotProps,
|
|
81
|
+
children: [children, /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_components_Box.Box, {
|
|
82
|
+
borderRadius: "full",
|
|
83
|
+
className: classNames.radioCircle,
|
|
84
|
+
...radioIconSlotProps
|
|
85
|
+
})]
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
});
|
|
89
|
+
});
|
|
90
|
+
Radio.displayName = "Radio";
|
|
91
|
+
//#endregion
|
|
92
|
+
exports.Radio = Radio;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
|
|
2
|
+
import { RadioProps as RadioProps$1 } from "../../components/client/Radio/types.cjs";
|
|
3
|
+
import React from "react";
|
|
4
|
+
|
|
5
|
+
//#region src/css-animation/Radio/Radio.d.ts
|
|
6
|
+
type RadioProps = RadioProps$1;
|
|
7
|
+
/**
|
|
8
|
+
* CSS-animation Radio variant. This component intentionally never imports motion.
|
|
9
|
+
*
|
|
10
|
+
* @componentType Client component
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```tsx
|
|
14
|
+
* 'use client';
|
|
15
|
+
* import { Radio } from '@yahoo/uds/css-animation';
|
|
16
|
+
*
|
|
17
|
+
* <Radio label="Name" />
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
declare const Radio: React.ForwardRefExoticComponent<RadioProps$1 & React.RefAttributes<HTMLInputElement>>;
|
|
21
|
+
//#endregion
|
|
22
|
+
export { Radio, type RadioProps };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
|
|
2
|
+
"use client";
|
|
3
|
+
import { RadioProps as RadioProps$1 } from "../../components/client/Radio/types.js";
|
|
4
|
+
import React from "react";
|
|
5
|
+
|
|
6
|
+
//#region src/css-animation/Radio/Radio.d.ts
|
|
7
|
+
type RadioProps = RadioProps$1;
|
|
8
|
+
/**
|
|
9
|
+
* CSS-animation Radio variant. This component intentionally never imports motion.
|
|
10
|
+
*
|
|
11
|
+
* @componentType Client component
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* 'use client';
|
|
16
|
+
* import { Radio } from '@yahoo/uds/css-animation';
|
|
17
|
+
*
|
|
18
|
+
* <Radio label="Name" />
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
declare const Radio: React.ForwardRefExoticComponent<RadioProps$1 & React.RefAttributes<HTMLInputElement>>;
|
|
22
|
+
//#endregion
|
|
23
|
+
export { Radio, type RadioProps };
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
|
|
2
|
+
"use client";
|
|
3
|
+
import { cx, getStyles } from "../../styles/styler.js";
|
|
4
|
+
import { Box } from "../../components/Box.js";
|
|
5
|
+
import { RadioBase } from "../../components/client/Radio/RadioBase.js";
|
|
6
|
+
import { forwardRef } from "react";
|
|
7
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
+
//#region src/css-animation/Radio/Radio.tsx
|
|
9
|
+
/**
|
|
10
|
+
* CSS-animation Radio variant. This component intentionally never imports motion.
|
|
11
|
+
*
|
|
12
|
+
* @componentType Client component
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```tsx
|
|
16
|
+
* 'use client';
|
|
17
|
+
* import { Radio } from '@yahoo/uds/css-animation';
|
|
18
|
+
*
|
|
19
|
+
* <Radio label="Name" />
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
const Radio = forwardRef(function Radio(props, parentRef) {
|
|
23
|
+
const cssAnimationDuration = "duration-120";
|
|
24
|
+
return /* @__PURE__ */ jsx(RadioBase, {
|
|
25
|
+
...props,
|
|
26
|
+
ref: parentRef,
|
|
27
|
+
cssAnimationDuration,
|
|
28
|
+
renderRoot: ({ className, style, rootSlotProps, hasLabel, children }) => {
|
|
29
|
+
return /* @__PURE__ */ jsx(hasLabel ? "label" : "div", {
|
|
30
|
+
className: cx("group", className),
|
|
31
|
+
"data-testid": "container",
|
|
32
|
+
style,
|
|
33
|
+
tabIndex: -1,
|
|
34
|
+
...rootSlotProps,
|
|
35
|
+
children
|
|
36
|
+
});
|
|
37
|
+
},
|
|
38
|
+
renderIndicator: ({ size, variant, checked, disabled, cssAnimationDuration, radioSlotProps, radioIconSlotProps, children }) => {
|
|
39
|
+
const classNames = {
|
|
40
|
+
radio: getStyles({
|
|
41
|
+
radioSizeRadio: size,
|
|
42
|
+
radioVariantRadio: variant,
|
|
43
|
+
radioVariantValueRadio: checked ? "checked" : "unchecked",
|
|
44
|
+
className: cx([
|
|
45
|
+
"border",
|
|
46
|
+
"uds-ring",
|
|
47
|
+
"uds-ring-within",
|
|
48
|
+
!disabled && "group-hover:scale-110",
|
|
49
|
+
!disabled && !checked && "group-active:scale-90",
|
|
50
|
+
!disabled && !checked && "group-active:uds-inset-shadow-lg-invert",
|
|
51
|
+
!disabled && checked && "group-hover:uds-inset-shadow-lg-invert",
|
|
52
|
+
cssAnimationDuration,
|
|
53
|
+
"transition-[background-color,border-color,transform]",
|
|
54
|
+
"transition-shadow"
|
|
55
|
+
])
|
|
56
|
+
}),
|
|
57
|
+
radioCircle: getStyles({
|
|
58
|
+
radioVariantRadioCircle: variant,
|
|
59
|
+
radioVariantValueRadioCircle: checked ? "checked" : "unchecked",
|
|
60
|
+
className: cx([
|
|
61
|
+
"pointer-events-none",
|
|
62
|
+
"w-[8px]",
|
|
63
|
+
"h-[8px]",
|
|
64
|
+
checked ? "opacity-100" : "opacity-0",
|
|
65
|
+
cssAnimationDuration,
|
|
66
|
+
"transition-opacity"
|
|
67
|
+
])
|
|
68
|
+
})
|
|
69
|
+
};
|
|
70
|
+
return /* @__PURE__ */ jsxs(Box, {
|
|
71
|
+
position: "relative",
|
|
72
|
+
borderRadius: "full",
|
|
73
|
+
alignItems: "center",
|
|
74
|
+
justifyContent: "center",
|
|
75
|
+
flex: "none",
|
|
76
|
+
className: classNames.radio,
|
|
77
|
+
...radioSlotProps,
|
|
78
|
+
children: [children, /* @__PURE__ */ jsx(Box, {
|
|
79
|
+
borderRadius: "full",
|
|
80
|
+
className: classNames.radioCircle,
|
|
81
|
+
...radioIconSlotProps
|
|
82
|
+
})]
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
});
|
|
86
|
+
});
|
|
87
|
+
Radio.displayName = "Radio";
|
|
88
|
+
//#endregion
|
|
89
|
+
export { Radio };
|
|
@@ -2,8 +2,12 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
4
4
|
const require_css_animation_Button_Button = require("./Button/Button.cjs");
|
|
5
|
+
const require_css_animation_Checkbox_Checkbox = require("./Checkbox/Checkbox.cjs");
|
|
5
6
|
const require_css_animation_IconButton_IconButton = require("./IconButton/IconButton.cjs");
|
|
7
|
+
const require_css_animation_Radio_Radio = require("./Radio/Radio.cjs");
|
|
6
8
|
const require_css_animation_Switch_Switch = require("./Switch/Switch.cjs");
|
|
7
9
|
exports.Button = require_css_animation_Button_Button.Button;
|
|
10
|
+
exports.Checkbox = require_css_animation_Checkbox_Checkbox.Checkbox;
|
|
8
11
|
exports.IconButton = require_css_animation_IconButton_IconButton.IconButton;
|
|
12
|
+
exports.Radio = require_css_animation_Radio_Radio.Radio;
|
|
9
13
|
exports.Switch = require_css_animation_Switch_Switch.Switch;
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
import { ButtonProps } from "../components/client/Button/Button.cjs";
|
|
3
3
|
import { IconButtonProps } from "../components/client/IconButton/IconButton.cjs";
|
|
4
4
|
import { Button } from "./Button/Button.cjs";
|
|
5
|
+
import { Checkbox, CheckboxProps } from "./Checkbox/Checkbox.cjs";
|
|
5
6
|
import { IconButton } from "./IconButton/IconButton.cjs";
|
|
7
|
+
import { Radio, RadioProps } from "./Radio/Radio.cjs";
|
|
6
8
|
import { Switch, SwitchProps } from "./Switch/Switch.cjs";
|
|
7
|
-
export { Button, type ButtonProps, IconButton, type IconButtonProps, Switch, type SwitchProps };
|
|
9
|
+
export { Button, type ButtonProps, Checkbox, type CheckboxProps, IconButton, type IconButtonProps, Radio, type RadioProps, Switch, type SwitchProps };
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
import { ButtonProps } from "../components/client/Button/Button.js";
|
|
4
4
|
import { IconButtonProps } from "../components/client/IconButton/IconButton.js";
|
|
5
5
|
import { Button } from "./Button/Button.js";
|
|
6
|
+
import { Checkbox, CheckboxProps } from "./Checkbox/Checkbox.js";
|
|
6
7
|
import { IconButton } from "./IconButton/IconButton.js";
|
|
8
|
+
import { Radio, RadioProps } from "./Radio/Radio.js";
|
|
7
9
|
import { Switch, SwitchProps } from "./Switch/Switch.js";
|
|
8
|
-
export { Button, type ButtonProps, IconButton, type IconButtonProps, Switch, type SwitchProps };
|
|
10
|
+
export { Button, type ButtonProps, Checkbox, type CheckboxProps, IconButton, type IconButtonProps, Radio, type RadioProps, Switch, type SwitchProps };
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
|
|
2
2
|
"use client";
|
|
3
3
|
import { Button } from "./Button/Button.js";
|
|
4
|
+
import { Checkbox } from "./Checkbox/Checkbox.js";
|
|
4
5
|
import { IconButton } from "./IconButton/IconButton.js";
|
|
6
|
+
import { Radio } from "./Radio/Radio.js";
|
|
5
7
|
import { Switch } from "./Switch/Switch.js";
|
|
6
|
-
export { Button, IconButton, Switch };
|
|
8
|
+
export { Button, Checkbox, IconButton, Radio, Switch };
|
package/dist/index.cjs
CHANGED
|
@@ -63,7 +63,7 @@ const require_getPaginationControlWidthPx = require("./automated-config/dist/uti
|
|
|
63
63
|
const require_isConfiguratorPropertyVisible = require("./automated-config/dist/utils/isConfiguratorPropertyVisible.cjs");
|
|
64
64
|
const require_index$2 = require("./automated-config/dist/utils/index.cjs");
|
|
65
65
|
const require_components_client_Button_Button = require("./components/client/Button/Button.cjs");
|
|
66
|
-
const
|
|
66
|
+
const require_components_client_Checkbox_Checkbox = require("./components/client/Checkbox/Checkbox.cjs");
|
|
67
67
|
const require_components_client_Chip_ChipButton = require("./components/client/Chip/ChipButton.cjs");
|
|
68
68
|
const require_components_client_Chip_ChipDismissible = require("./components/client/Chip/ChipDismissible.cjs");
|
|
69
69
|
const require_components_client_Chip_ChipLink = require("./components/client/Chip/ChipLink.cjs");
|
|
@@ -169,7 +169,7 @@ exports.BottomSheetTrigger = require_components_client_BottomSheet_BottomSheetTr
|
|
|
169
169
|
exports.Box = require_components_Box.Box;
|
|
170
170
|
exports.Button = require_components_client_Button_Button.Button;
|
|
171
171
|
exports.ButtonConfig = require_generatedConfigs.ButtonConfig;
|
|
172
|
-
exports.Checkbox =
|
|
172
|
+
exports.Checkbox = require_components_client_Checkbox_Checkbox.Checkbox;
|
|
173
173
|
exports.CheckboxConfig = require_generatedConfigs.CheckboxConfig;
|
|
174
174
|
exports.Chip = require_components_client_Chip_Chip.Chip;
|
|
175
175
|
exports.ChipButton = require_components_client_Chip_ChipButton.ChipButton;
|
package/dist/index.d.cts
CHANGED
|
@@ -76,7 +76,7 @@ import { BottomSheetProvider, BottomSheetProviderProps } from "./components/clie
|
|
|
76
76
|
import { BottomSheetTrigger, BottomSheetTriggerProps } from "./components/client/BottomSheet/BottomSheetTrigger.cjs";
|
|
77
77
|
import { UDSBottomSheetConfigContextType, configToBottomSheetConfigContext } from "./runtime/bottomSheetConfig.cjs";
|
|
78
78
|
import { Button, ButtonProps } from "./components/client/Button/Button.cjs";
|
|
79
|
-
import { Checkbox, CheckboxProps } from "./components/client/Checkbox.cjs";
|
|
79
|
+
import { Checkbox, CheckboxProps } from "./components/client/Checkbox/Checkbox.cjs";
|
|
80
80
|
import { Chip, ChipProps } from "./components/client/Chip/Chip.cjs";
|
|
81
81
|
import { ChipButton, ChipButtonProps } from "./components/client/Chip/ChipButton.cjs";
|
|
82
82
|
import { ChipDismissible, ChipDismissibleProps } from "./components/client/Chip/ChipDismissible.cjs";
|
package/dist/index.d.ts
CHANGED
|
@@ -76,7 +76,7 @@ import { BottomSheetProvider, BottomSheetProviderProps } from "./components/clie
|
|
|
76
76
|
import { BottomSheetTrigger, BottomSheetTriggerProps } from "./components/client/BottomSheet/BottomSheetTrigger.js";
|
|
77
77
|
import { UDSBottomSheetConfigContextType, configToBottomSheetConfigContext } from "./runtime/bottomSheetConfig.js";
|
|
78
78
|
import { Button, ButtonProps } from "./components/client/Button/Button.js";
|
|
79
|
-
import { Checkbox, CheckboxProps } from "./components/client/Checkbox.js";
|
|
79
|
+
import { Checkbox, CheckboxProps } from "./components/client/Checkbox/Checkbox.js";
|
|
80
80
|
import { Chip, ChipProps } from "./components/client/Chip/Chip.js";
|
|
81
81
|
import { ChipButton, ChipButtonProps } from "./components/client/Chip/ChipButton.js";
|
|
82
82
|
import { ChipDismissible, ChipDismissibleProps } from "./components/client/Chip/ChipDismissible.js";
|
package/dist/index.js
CHANGED
|
@@ -62,7 +62,7 @@ import { getPaginationControlWidthPx, syncPaginationWidthVarForSize } from "./au
|
|
|
62
62
|
import { isConfiguratorPropertyVisible } from "./automated-config/dist/utils/isConfiguratorPropertyVisible.js";
|
|
63
63
|
import { applyBoxShadowBorder, createComponentStates, createConfigurableProperty, createLayerConfig, createSubComponentConfig, createVariantConfig, createVariantConfigWithComponentStates, createVariantConfigWithProperties, generateClassName, generateConfigStyles, generateDeclaration, generateStyles, mergeUniversalUnderOverride, statePseudoMapDocsMode } from "./automated-config/dist/utils/index.js";
|
|
64
64
|
import { Button } from "./components/client/Button/Button.js";
|
|
65
|
-
import { Checkbox } from "./components/client/Checkbox.js";
|
|
65
|
+
import { Checkbox } from "./components/client/Checkbox/Checkbox.js";
|
|
66
66
|
import { ChipButton } from "./components/client/Chip/ChipButton.js";
|
|
67
67
|
import { ChipDismissible } from "./components/client/Chip/ChipDismissible.js";
|
|
68
68
|
import { ChipLink } from "./components/client/Chip/ChipLink.js";
|
package/dist/styles/styler.d.cts
CHANGED
|
@@ -12,8 +12,8 @@ declare const cva: CVA<string>;
|
|
|
12
12
|
declare const getStylesInternal: (props?: ({
|
|
13
13
|
avatarIconVariantRoot?: "primary" | "secondary" | "default" | undefined;
|
|
14
14
|
avatarImageVariantRoot?: "primary" | "secondary" | "default" | undefined;
|
|
15
|
-
avatarSizeIcon?: "xs" | "sm" | "md" | "lg" | "xl" | "
|
|
16
|
-
avatarSizeRoot?: "xs" | "sm" | "md" | "lg" | "xl" | "
|
|
15
|
+
avatarSizeIcon?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "default" | "2xs" | "3xl" | undefined;
|
|
16
|
+
avatarSizeRoot?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "default" | "2xs" | "3xl" | undefined;
|
|
17
17
|
avatarTextVariantRoot?: "primary" | "secondary" | "default" | undefined;
|
|
18
18
|
badgeSizeIcon?: "xs" | "sm" | "md" | "lg" | "default" | undefined;
|
|
19
19
|
badgeSizeRoot?: "xs" | "sm" | "md" | "lg" | "default" | undefined;
|
|
@@ -33,8 +33,8 @@ declare const getStylesInternal: (props?: ({
|
|
|
33
33
|
bottomsheetVariantRoot?: "default" | undefined;
|
|
34
34
|
buttonSizeIcon?: "xs" | "sm" | "md" | "lg" | "default" | undefined;
|
|
35
35
|
buttonSizeRoot?: "xs" | "sm" | "md" | "lg" | "default" | undefined;
|
|
36
|
-
buttonVariantIcon?: "primary" | "secondary" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "
|
|
37
|
-
buttonVariantRoot?: "primary" | "secondary" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "
|
|
36
|
+
buttonVariantIcon?: "primary" | "secondary" | "tertiary" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "default" | "alert-tertiary" | "brand-tertiary" | "contrast-high" | "contrast-low" | "contrast-medium" | "info-tertiary" | "positive-tertiary" | "warning-tertiary" | undefined;
|
|
37
|
+
buttonVariantRoot?: "primary" | "secondary" | "tertiary" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "default" | "alert-tertiary" | "brand-tertiary" | "contrast-high" | "contrast-low" | "contrast-medium" | "info-tertiary" | "positive-tertiary" | "warning-tertiary" | undefined;
|
|
38
38
|
checkboxSizeCheckbox?: "sm" | "md" | "default" | undefined;
|
|
39
39
|
checkboxSizeRoot?: "sm" | "md" | "default" | undefined;
|
|
40
40
|
checkboxVariantCheckbox?: "primary" | "secondary" | "alert" | "alert-secondary" | "default" | undefined;
|
|
@@ -200,10 +200,10 @@ declare const getStylesInternal: (props?: ({
|
|
|
200
200
|
toastSizeIcon?: "default" | undefined;
|
|
201
201
|
toastSizeLabel?: "default" | undefined;
|
|
202
202
|
toastSizeRoot?: "default" | undefined;
|
|
203
|
-
toastVariantActionButton?: "
|
|
204
|
-
toastVariantCloseIcon?: "
|
|
205
|
-
toastVariantIcon?: "
|
|
206
|
-
toastVariantRoot?: "
|
|
203
|
+
toastVariantActionButton?: "warning" | "info" | "loading" | "default" | "success" | "error" | undefined;
|
|
204
|
+
toastVariantCloseIcon?: "warning" | "info" | "loading" | "default" | "success" | "error" | undefined;
|
|
205
|
+
toastVariantIcon?: "warning" | "info" | "loading" | "default" | "success" | "error" | undefined;
|
|
206
|
+
toastVariantRoot?: "warning" | "info" | "loading" | "default" | "success" | "error" | undefined;
|
|
207
207
|
tooltipSizeBody?: "default" | undefined;
|
|
208
208
|
tooltipSizeEndContent?: "default" | undefined;
|
|
209
209
|
tooltipSizeIcon?: "default" | undefined;
|
|
@@ -214,37 +214,37 @@ declare const getStylesInternal: (props?: ({
|
|
|
214
214
|
tooltipVariantIcon?: "default" | undefined;
|
|
215
215
|
tooltipVariantRoot?: "default" | undefined;
|
|
216
216
|
tooltipVariantSvg?: "default" | undefined;
|
|
217
|
-
color?: "primary" | "secondary" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "white" | "black" | "transparent" | "current" | "always/white" | "always/black" | "always/transparent" | "always/current" | "always/brand" | "always/accent" |
|
|
218
|
-
placeholderColor?: "primary" | "secondary" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "white" | "black" | "transparent" | "current" | "always/white" | "always/black" | "always/transparent" | "always/current" | "always/brand" | "always/accent" |
|
|
217
|
+
color?: "primary" | "secondary" | "tertiary" | "muted" | "on-color" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "white" | "black" | "transparent" | "current" | "always/white" | "always/black" | "always/transparent" | "always/current" | "always/brand" | "always/accent" | undefined;
|
|
218
|
+
placeholderColor?: "primary" | "secondary" | "tertiary" | "muted" | "on-color" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "white" | "black" | "transparent" | "current" | "always/white" | "always/black" | "always/transparent" | "always/current" | "always/brand" | "always/accent" | undefined;
|
|
219
219
|
fontFamily?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "display1/emphasized" | "display2/emphasized" | "display3/emphasized" | "title1/emphasized" | "title2/emphasized" | "title3/emphasized" | "title4/emphasized" | "headline1/emphasized" | "body1/emphasized" | "label1/emphasized" | "label2/emphasized" | "label3/emphasized" | "label4/emphasized" | "caption1/emphasized" | "caption2/emphasized" | "legal1/emphasized" | "ui1/emphasized" | "ui2/emphasized" | "ui3/emphasized" | "ui4/emphasized" | "ui5/emphasized" | "ui6/emphasized" | "sans" | "sans-alt" | "serif" | "serif-alt" | "mono" | undefined;
|
|
220
220
|
fontSize?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "display1/emphasized" | "display2/emphasized" | "display3/emphasized" | "title1/emphasized" | "title2/emphasized" | "title3/emphasized" | "title4/emphasized" | "headline1/emphasized" | "body1/emphasized" | "label1/emphasized" | "label2/emphasized" | "label3/emphasized" | "label4/emphasized" | "caption1/emphasized" | "caption2/emphasized" | "legal1/emphasized" | "ui1/emphasized" | "ui2/emphasized" | "ui3/emphasized" | "ui4/emphasized" | "ui5/emphasized" | "ui6/emphasized" | undefined;
|
|
221
|
-
fontWeight?: "black" | "thin" | "medium" | "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "display1/emphasized" | "display2/emphasized" | "display3/emphasized" | "title1/emphasized" | "title2/emphasized" | "title3/emphasized" | "title4/emphasized" | "headline1/emphasized" | "body1/emphasized" | "label1/emphasized" | "label2/emphasized" | "label3/emphasized" | "label4/emphasized" | "caption1/emphasized" | "caption2/emphasized" | "legal1/emphasized" | "ui1/emphasized" | "ui2/emphasized" | "ui3/emphasized" | "ui4/emphasized" | "ui5/emphasized" | "ui6/emphasized" | "
|
|
221
|
+
fontWeight?: "black" | "thin" | "medium" | "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "bold" | "display1/emphasized" | "display2/emphasized" | "display3/emphasized" | "title1/emphasized" | "title2/emphasized" | "title3/emphasized" | "title4/emphasized" | "headline1/emphasized" | "body1/emphasized" | "label1/emphasized" | "label2/emphasized" | "label3/emphasized" | "label4/emphasized" | "caption1/emphasized" | "caption2/emphasized" | "legal1/emphasized" | "ui1/emphasized" | "ui2/emphasized" | "ui3/emphasized" | "ui4/emphasized" | "ui5/emphasized" | "ui6/emphasized" | "extralight" | "light" | "regular" | "semibold" | "extrabold" | undefined;
|
|
222
222
|
lineHeight?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "display1/emphasized" | "display2/emphasized" | "display3/emphasized" | "title1/emphasized" | "title2/emphasized" | "title3/emphasized" | "title4/emphasized" | "headline1/emphasized" | "body1/emphasized" | "label1/emphasized" | "label2/emphasized" | "label3/emphasized" | "label4/emphasized" | "caption1/emphasized" | "caption2/emphasized" | "legal1/emphasized" | "ui1/emphasized" | "ui2/emphasized" | "ui3/emphasized" | "ui4/emphasized" | "ui5/emphasized" | "ui6/emphasized" | undefined;
|
|
223
223
|
letterSpacing?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "display1/emphasized" | "display2/emphasized" | "display3/emphasized" | "title1/emphasized" | "title2/emphasized" | "title3/emphasized" | "title4/emphasized" | "headline1/emphasized" | "body1/emphasized" | "label1/emphasized" | "label2/emphasized" | "label3/emphasized" | "label4/emphasized" | "caption1/emphasized" | "caption2/emphasized" | "legal1/emphasized" | "ui1/emphasized" | "ui2/emphasized" | "ui3/emphasized" | "ui4/emphasized" | "ui5/emphasized" | "ui6/emphasized" | undefined;
|
|
224
224
|
textAlign?: "center" | "justify" | "start" | "end" | undefined;
|
|
225
225
|
textTransform?: "none" | "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "display1/emphasized" | "display2/emphasized" | "display3/emphasized" | "title1/emphasized" | "title2/emphasized" | "title3/emphasized" | "title4/emphasized" | "headline1/emphasized" | "body1/emphasized" | "label1/emphasized" | "label2/emphasized" | "label3/emphasized" | "label4/emphasized" | "caption1/emphasized" | "caption2/emphasized" | "legal1/emphasized" | "ui1/emphasized" | "ui2/emphasized" | "ui3/emphasized" | "ui4/emphasized" | "ui5/emphasized" | "ui6/emphasized" | "uppercase" | "lowercase" | "capitalize" | undefined;
|
|
226
|
-
spacing?: "0" | "
|
|
227
|
-
spacingHorizontal?: "0" | "
|
|
228
|
-
spacingVertical?: "0" | "
|
|
229
|
-
spacingBottom?: "0" | "
|
|
230
|
-
spacingEnd?: "0" | "
|
|
231
|
-
spacingStart?: "0" | "
|
|
232
|
-
spacingTop?: "0" | "
|
|
233
|
-
offset?: "0" | "
|
|
234
|
-
offsetVertical?: "0" | "
|
|
235
|
-
offsetHorizontal?: "0" | "
|
|
236
|
-
offsetBottom?: "0" | "
|
|
237
|
-
offsetEnd?: "0" | "
|
|
238
|
-
offsetStart?: "0" | "
|
|
239
|
-
offsetTop?: "0" | "
|
|
240
|
-
columnGap?: "0" | "
|
|
241
|
-
rowGap?: "0" | "
|
|
226
|
+
spacing?: "0" | "px" | "0.5" | "1" | "1.5" | "2" | "2.5" | "3" | "3.5" | "4" | "4.5" | "5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
|
227
|
+
spacingHorizontal?: "0" | "px" | "0.5" | "1" | "1.5" | "2" | "2.5" | "3" | "3.5" | "4" | "4.5" | "5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
|
228
|
+
spacingVertical?: "0" | "px" | "0.5" | "1" | "1.5" | "2" | "2.5" | "3" | "3.5" | "4" | "4.5" | "5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
|
229
|
+
spacingBottom?: "0" | "px" | "0.5" | "1" | "1.5" | "2" | "2.5" | "3" | "3.5" | "4" | "4.5" | "5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
|
230
|
+
spacingEnd?: "0" | "px" | "0.5" | "1" | "1.5" | "2" | "2.5" | "3" | "3.5" | "4" | "4.5" | "5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
|
231
|
+
spacingStart?: "0" | "px" | "0.5" | "1" | "1.5" | "2" | "2.5" | "3" | "3.5" | "4" | "4.5" | "5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
|
232
|
+
spacingTop?: "0" | "px" | "0.5" | "1" | "1.5" | "2" | "2.5" | "3" | "3.5" | "4" | "4.5" | "5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
|
233
|
+
offset?: "0" | "px" | "0.5" | "1" | "1.5" | "2" | "2.5" | "3" | "3.5" | "4" | "4.5" | "5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
|
234
|
+
offsetVertical?: "0" | "px" | "0.5" | "1" | "1.5" | "2" | "2.5" | "3" | "3.5" | "4" | "4.5" | "5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
|
235
|
+
offsetHorizontal?: "0" | "px" | "0.5" | "1" | "1.5" | "2" | "2.5" | "3" | "3.5" | "4" | "4.5" | "5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
|
236
|
+
offsetBottom?: "0" | "px" | "0.5" | "1" | "1.5" | "2" | "2.5" | "3" | "3.5" | "4" | "4.5" | "5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
|
237
|
+
offsetEnd?: "0" | "px" | "0.5" | "1" | "1.5" | "2" | "2.5" | "3" | "3.5" | "4" | "4.5" | "5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
|
238
|
+
offsetStart?: "0" | "px" | "0.5" | "1" | "1.5" | "2" | "2.5" | "3" | "3.5" | "4" | "4.5" | "5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
|
239
|
+
offsetTop?: "0" | "px" | "0.5" | "1" | "1.5" | "2" | "2.5" | "3" | "3.5" | "4" | "4.5" | "5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
|
240
|
+
columnGap?: "0" | "px" | "0.5" | "1" | "1.5" | "2" | "2.5" | "3" | "3.5" | "4" | "4.5" | "5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
|
241
|
+
rowGap?: "0" | "px" | "0.5" | "1" | "1.5" | "2" | "2.5" | "3" | "3.5" | "4" | "4.5" | "5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
|
242
242
|
backgroundColor?: "primary" | "secondary" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "white" | "black" | "transparent" | "current" | "always/white" | "always/black" | "always/transparent" | "always/current" | "always/brand" | "always/accent" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | undefined;
|
|
243
|
-
borderColor?: "primary" | "secondary" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "white" | "black" | "transparent" | "current" | "always/white" | "always/black" | "always/transparent" | "always/current" | "always/brand" | "always/accent" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" |
|
|
244
|
-
borderStartColor?: "primary" | "secondary" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "white" | "black" | "transparent" | "current" | "always/white" | "always/black" | "always/transparent" | "always/current" | "always/brand" | "always/accent" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" |
|
|
245
|
-
borderEndColor?: "primary" | "secondary" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "white" | "black" | "transparent" | "current" | "always/white" | "always/black" | "always/transparent" | "always/current" | "always/brand" | "always/accent" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" |
|
|
246
|
-
borderBottomColor?: "primary" | "secondary" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "white" | "black" | "transparent" | "current" | "always/white" | "always/black" | "always/transparent" | "always/current" | "always/brand" | "always/accent" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" |
|
|
247
|
-
borderTopColor?: "primary" | "secondary" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "white" | "black" | "transparent" | "current" | "always/white" | "always/black" | "always/transparent" | "always/current" | "always/brand" | "always/accent" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" |
|
|
243
|
+
borderColor?: "primary" | "secondary" | "tertiary" | "muted" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "white" | "black" | "transparent" | "current" | "always/white" | "always/black" | "always/transparent" | "always/current" | "always/brand" | "always/accent" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | undefined;
|
|
244
|
+
borderStartColor?: "primary" | "secondary" | "tertiary" | "muted" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "white" | "black" | "transparent" | "current" | "always/white" | "always/black" | "always/transparent" | "always/current" | "always/brand" | "always/accent" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | undefined;
|
|
245
|
+
borderEndColor?: "primary" | "secondary" | "tertiary" | "muted" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "white" | "black" | "transparent" | "current" | "always/white" | "always/black" | "always/transparent" | "always/current" | "always/brand" | "always/accent" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | undefined;
|
|
246
|
+
borderBottomColor?: "primary" | "secondary" | "tertiary" | "muted" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "white" | "black" | "transparent" | "current" | "always/white" | "always/black" | "always/transparent" | "always/current" | "always/brand" | "always/accent" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | undefined;
|
|
247
|
+
borderTopColor?: "primary" | "secondary" | "tertiary" | "muted" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "white" | "black" | "transparent" | "current" | "always/white" | "always/black" | "always/transparent" | "always/current" | "always/brand" | "always/accent" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | undefined;
|
|
248
248
|
borderRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
249
249
|
borderTopStartRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
250
250
|
borderTopEndRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
@@ -259,31 +259,31 @@ declare const getStylesInternal: (props?: ({
|
|
|
259
259
|
borderBottomWidth?: "none" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "thin" | "medium" | "thick" | undefined;
|
|
260
260
|
avatarSize?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "2xs" | "3xl" | undefined;
|
|
261
261
|
iconSize?: "xs" | "sm" | "md" | "lg" | undefined;
|
|
262
|
-
alignContent?: "
|
|
263
|
-
alignItems?: "
|
|
264
|
-
alignSelf?: "
|
|
265
|
-
flex?: "none" | "
|
|
262
|
+
alignContent?: "center" | "flex-start" | "flex-end" | "stretch" | "space-between" | "space-around" | undefined;
|
|
263
|
+
alignItems?: "center" | "flex-start" | "flex-end" | "stretch" | "baseline" | undefined;
|
|
264
|
+
alignSelf?: "center" | "auto" | "flex-start" | "flex-end" | "stretch" | "baseline" | undefined;
|
|
265
|
+
flex?: "none" | "auto" | "1" | "initial" | undefined;
|
|
266
266
|
flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
|
|
267
267
|
flexGrow?: "0" | "1" | "2" | "3" | undefined;
|
|
268
268
|
flexShrink?: "0" | "1" | undefined;
|
|
269
269
|
flexWrap?: "wrap" | "nowrap" | "wrap-reverse" | undefined;
|
|
270
|
-
justifyContent?: "
|
|
270
|
+
justifyContent?: "center" | "flex-start" | "flex-end" | "space-between" | "space-around" | "space-evenly" | undefined;
|
|
271
271
|
flexBasis?: "min-content" | undefined;
|
|
272
|
-
display?: "
|
|
272
|
+
display?: "table" | "none" | "grid" | "inline" | "flex" | "block" | "inline-block" | "inline-flex" | "inline-table" | "table-caption" | "table-cell" | "table-column" | "table-column-group" | "table-footer-group" | "table-header-group" | "table-row-group" | "table-row" | "flow-root" | "contents" | undefined;
|
|
273
273
|
overflow?: "hidden" | "auto" | "clip" | "visible" | "scroll" | undefined;
|
|
274
274
|
overflowX?: "hidden" | "auto" | "clip" | "visible" | "scroll" | undefined;
|
|
275
275
|
overflowY?: "hidden" | "auto" | "clip" | "visible" | "scroll" | undefined;
|
|
276
276
|
position?: "static" | "fixed" | "absolute" | "relative" | "sticky" | undefined;
|
|
277
|
-
contentFit?: "
|
|
277
|
+
contentFit?: "fill" | "none" | "cover" | "contain" | "scale-down" | undefined;
|
|
278
278
|
colorMode?: "light" | "dark" | undefined;
|
|
279
|
-
scaleMode?: "
|
|
279
|
+
scaleMode?: "small" | "medium" | "xSmall" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | undefined;
|
|
280
280
|
width?: "full" | "fit" | "screen" | undefined;
|
|
281
281
|
height?: "full" | "fit" | "screen" | undefined;
|
|
282
|
-
dropShadow?: "none" | "
|
|
283
|
-
insetShadow?: "none" | "
|
|
282
|
+
dropShadow?: "none" | "xs" | "sm" | "md" | "lg" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "xl" | "2xl" | undefined;
|
|
283
|
+
insetShadow?: "none" | "xs" | "sm" | "md" | "lg" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "xl" | "2xl" | "xs-invert" | "sm-invert" | "md-invert" | "lg-invert" | "xl-invert" | "2xl-invert" | undefined;
|
|
284
284
|
nestedBorderRadiusSize?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
285
285
|
nestedBorderRadiusWidth?: "none" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "thin" | "medium" | "thick" | undefined;
|
|
286
|
-
nestedBorderRadiusSpacing?: "0" | "
|
|
286
|
+
nestedBorderRadiusSpacing?: "0" | "px" | "0.5" | "1" | "1.5" | "2" | "2.5" | "3" | "3.5" | "4" | "4.5" | "5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
|
287
287
|
nestedBorderRadius?: boolean | "first" | "last" | undefined;
|
|
288
288
|
} & {
|
|
289
289
|
className?: string | undefined;
|