@yahoo/uds 3.158.1 → 3.159.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/Menu/Menu.Item.cjs +8 -2
- package/dist/components/client/Menu/Menu.Item.d.cts +44 -0
- package/dist/components/client/Menu/Menu.Item.d.ts +44 -0
- package/dist/components/client/Menu/Menu.Item.js +8 -2
- package/dist/components/client/Menu/Menu.ItemCheckbox.cjs +6 -2
- package/dist/components/client/Menu/Menu.ItemCheckbox.d.cts +44 -0
- package/dist/components/client/Menu/Menu.ItemCheckbox.d.ts +44 -0
- package/dist/components/client/Menu/Menu.ItemCheckbox.js +6 -2
- package/dist/styles/styler.d.cts +24 -24
- package/dist/styles/styler.d.ts +24 -24
- package/dist/uds/generated/componentData.cjs +365 -365
- package/dist/uds/generated/componentData.js +365 -365
- package/generated/componentData.json +714 -714
- package/package.json +1 -1
|
@@ -51,7 +51,7 @@ let _ariakit_react_menu = require("@ariakit/react/menu");
|
|
|
51
51
|
*
|
|
52
52
|
* @related [Menu](https://uds.build/docs/components/menu), [Menu.ItemCheckbox](https://uds.build/docs/components/menu-item-checkbox)
|
|
53
53
|
**/
|
|
54
|
-
const MenuItem = (0, react.forwardRef)(function MenuItem({ active, hideOnClick, slotProps, ...props }, ref) {
|
|
54
|
+
const MenuItem = (0, react.forwardRef)(function MenuItem({ active, hideOnClick, focusOnHover, blurOnHoverEnd, tabbable, focusable, slotProps, ...props }, ref) {
|
|
55
55
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_components_client_Menu_Menu_ItemBase.MenuItemBase, {
|
|
56
56
|
ref,
|
|
57
57
|
as: _ariakit_react_menu.MenuItem,
|
|
@@ -80,7 +80,13 @@ const MenuItem = (0, react.forwardRef)(function MenuItem({ active, hideOnClick,
|
|
|
80
80
|
...slotProps?.startIcon
|
|
81
81
|
}
|
|
82
82
|
},
|
|
83
|
-
rootProps: {
|
|
83
|
+
rootProps: {
|
|
84
|
+
hideOnClick,
|
|
85
|
+
focusOnHover,
|
|
86
|
+
blurOnHoverEnd,
|
|
87
|
+
tabbable,
|
|
88
|
+
focusable
|
|
89
|
+
},
|
|
84
90
|
...props
|
|
85
91
|
});
|
|
86
92
|
});
|
|
@@ -27,6 +27,50 @@ interface MenuItemProps extends Omit<PressableProps, 'asChild'>, Omit<UniversalM
|
|
|
27
27
|
* @default true
|
|
28
28
|
*/
|
|
29
29
|
hideOnClick?: MenuItemProps$1['hideOnClick'];
|
|
30
|
+
/**
|
|
31
|
+
* Determines if the menu item should be _focused_ when hovered over.
|
|
32
|
+
*
|
|
33
|
+
* Note that the actual DOM focus will stay on the composite element. This
|
|
34
|
+
* item will get the
|
|
35
|
+
* [`data-active-item`](https://ariakit.org/guide/styling#data-active-item)
|
|
36
|
+
* attribute so it can be styled as if it's focused.
|
|
37
|
+
*
|
|
38
|
+
* @default true
|
|
39
|
+
*/
|
|
40
|
+
focusOnHover?: MenuItemProps$1['focusOnHover'];
|
|
41
|
+
/**
|
|
42
|
+
* Determines if the menu item should lose focus when the mouse leaves. By
|
|
43
|
+
* default, this is set to `true` if
|
|
44
|
+
* [`focusOnHover`](https://ariakit.org/reference/composite-hover#focusonhover)
|
|
45
|
+
* is `true`.
|
|
46
|
+
*/
|
|
47
|
+
blurOnHoverEnd?: MenuItemProps$1['blurOnHoverEnd'];
|
|
48
|
+
/**
|
|
49
|
+
* When set to `true`, the [roving
|
|
50
|
+
* tabindex](https://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_roving_tabindex)
|
|
51
|
+
* method is partially disabled for this element. This means that the
|
|
52
|
+
* `tabIndex` prop won't be assigned `-1` when the item is inactive. In
|
|
53
|
+
* addition to using arrow keys, users will be able to tab to this element,
|
|
54
|
+
* leading to the menu no longer existing as a single tab stop.
|
|
55
|
+
*
|
|
56
|
+
* **Note**: This prop has no effect when the
|
|
57
|
+
* [`virtualFocus`](https://ariakit.org/reference/menu-provider#virtualfocus)
|
|
58
|
+
* option is enabled.
|
|
59
|
+
*/
|
|
60
|
+
tabbable?: MenuItemProps$1['tabbable'];
|
|
61
|
+
/**
|
|
62
|
+
* Determines if [Focusable](https://ariakit.org/reference/focusable)
|
|
63
|
+
* features should be active on non-native focusable elements.
|
|
64
|
+
*
|
|
65
|
+
* **Note**: This prop only turns off the additional features provided by
|
|
66
|
+
* the [`Focusable`](https://ariakit.org/reference/focusable) component.
|
|
67
|
+
* Non-native focusable elements will lose their focusability entirely.
|
|
68
|
+
* However, native focusable elements will retain their inherent
|
|
69
|
+
* focusability.
|
|
70
|
+
*
|
|
71
|
+
* @default true
|
|
72
|
+
*/
|
|
73
|
+
focusable?: MenuItemProps$1['focusable'];
|
|
30
74
|
/**
|
|
31
75
|
* The role of the menu item.
|
|
32
76
|
*
|
|
@@ -28,6 +28,50 @@ interface MenuItemProps extends Omit<PressableProps, 'asChild'>, Omit<UniversalM
|
|
|
28
28
|
* @default true
|
|
29
29
|
*/
|
|
30
30
|
hideOnClick?: MenuItemProps$1['hideOnClick'];
|
|
31
|
+
/**
|
|
32
|
+
* Determines if the menu item should be _focused_ when hovered over.
|
|
33
|
+
*
|
|
34
|
+
* Note that the actual DOM focus will stay on the composite element. This
|
|
35
|
+
* item will get the
|
|
36
|
+
* [`data-active-item`](https://ariakit.org/guide/styling#data-active-item)
|
|
37
|
+
* attribute so it can be styled as if it's focused.
|
|
38
|
+
*
|
|
39
|
+
* @default true
|
|
40
|
+
*/
|
|
41
|
+
focusOnHover?: MenuItemProps$1['focusOnHover'];
|
|
42
|
+
/**
|
|
43
|
+
* Determines if the menu item should lose focus when the mouse leaves. By
|
|
44
|
+
* default, this is set to `true` if
|
|
45
|
+
* [`focusOnHover`](https://ariakit.org/reference/composite-hover#focusonhover)
|
|
46
|
+
* is `true`.
|
|
47
|
+
*/
|
|
48
|
+
blurOnHoverEnd?: MenuItemProps$1['blurOnHoverEnd'];
|
|
49
|
+
/**
|
|
50
|
+
* When set to `true`, the [roving
|
|
51
|
+
* tabindex](https://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_roving_tabindex)
|
|
52
|
+
* method is partially disabled for this element. This means that the
|
|
53
|
+
* `tabIndex` prop won't be assigned `-1` when the item is inactive. In
|
|
54
|
+
* addition to using arrow keys, users will be able to tab to this element,
|
|
55
|
+
* leading to the menu no longer existing as a single tab stop.
|
|
56
|
+
*
|
|
57
|
+
* **Note**: This prop has no effect when the
|
|
58
|
+
* [`virtualFocus`](https://ariakit.org/reference/menu-provider#virtualfocus)
|
|
59
|
+
* option is enabled.
|
|
60
|
+
*/
|
|
61
|
+
tabbable?: MenuItemProps$1['tabbable'];
|
|
62
|
+
/**
|
|
63
|
+
* Determines if [Focusable](https://ariakit.org/reference/focusable)
|
|
64
|
+
* features should be active on non-native focusable elements.
|
|
65
|
+
*
|
|
66
|
+
* **Note**: This prop only turns off the additional features provided by
|
|
67
|
+
* the [`Focusable`](https://ariakit.org/reference/focusable) component.
|
|
68
|
+
* Non-native focusable elements will lose their focusability entirely.
|
|
69
|
+
* However, native focusable elements will retain their inherent
|
|
70
|
+
* focusability.
|
|
71
|
+
*
|
|
72
|
+
* @default true
|
|
73
|
+
*/
|
|
74
|
+
focusable?: MenuItemProps$1['focusable'];
|
|
31
75
|
/**
|
|
32
76
|
* The role of the menu item.
|
|
33
77
|
*
|
|
@@ -49,7 +49,7 @@ import { MenuItem as MenuItem$1 } from "@ariakit/react/menu";
|
|
|
49
49
|
*
|
|
50
50
|
* @related [Menu](https://uds.build/docs/components/menu), [Menu.ItemCheckbox](https://uds.build/docs/components/menu-item-checkbox)
|
|
51
51
|
**/
|
|
52
|
-
const MenuItem = forwardRef(function MenuItem({ active, hideOnClick, slotProps, ...props }, ref) {
|
|
52
|
+
const MenuItem = forwardRef(function MenuItem({ active, hideOnClick, focusOnHover, blurOnHoverEnd, tabbable, focusable, slotProps, ...props }, ref) {
|
|
53
53
|
return /* @__PURE__ */ jsx(MenuItemBase, {
|
|
54
54
|
ref,
|
|
55
55
|
as: MenuItem$1,
|
|
@@ -78,7 +78,13 @@ const MenuItem = forwardRef(function MenuItem({ active, hideOnClick, slotProps,
|
|
|
78
78
|
...slotProps?.startIcon
|
|
79
79
|
}
|
|
80
80
|
},
|
|
81
|
-
rootProps: {
|
|
81
|
+
rootProps: {
|
|
82
|
+
hideOnClick,
|
|
83
|
+
focusOnHover,
|
|
84
|
+
blurOnHoverEnd,
|
|
85
|
+
tabbable,
|
|
86
|
+
focusable
|
|
87
|
+
},
|
|
82
88
|
...props
|
|
83
89
|
});
|
|
84
90
|
});
|
|
@@ -53,7 +53,7 @@ let _ariakit_react_menu = require("@ariakit/react/menu");
|
|
|
53
53
|
*
|
|
54
54
|
* @related [Menu](https://uds.build/docs/components/menu), [Menu.Item](https://uds.build/docs/components/menu-item)
|
|
55
55
|
**/
|
|
56
|
-
const MenuItemCheckbox = (0, react.forwardRef)(function MenuItemCheckbox({ name, endIcon = _yahoo_uds_icons.Check, checked, defaultChecked, hideOnClick, className, ...props }, ref) {
|
|
56
|
+
const MenuItemCheckbox = (0, react.forwardRef)(function MenuItemCheckbox({ name, endIcon = _yahoo_uds_icons.Check, checked, defaultChecked, hideOnClick, focusOnHover, blurOnHoverEnd, tabbable, focusable, className, ...props }, ref) {
|
|
57
57
|
const itemName = name;
|
|
58
58
|
const hasInitialized = (0, react.useRef)(false);
|
|
59
59
|
const context = (0, _ariakit_react_menu.useMenuContext)();
|
|
@@ -127,7 +127,11 @@ const MenuItemCheckbox = (0, react.forwardRef)(function MenuItemCheckbox({ name,
|
|
|
127
127
|
onChange: handleChange,
|
|
128
128
|
defaultChecked,
|
|
129
129
|
checked: checked !== void 0 ? checked : void 0,
|
|
130
|
-
hideOnClick
|
|
130
|
+
hideOnClick,
|
|
131
|
+
focusOnHover,
|
|
132
|
+
blurOnHoverEnd,
|
|
133
|
+
tabbable,
|
|
134
|
+
focusable
|
|
131
135
|
},
|
|
132
136
|
...props
|
|
133
137
|
});
|
|
@@ -43,6 +43,50 @@ interface MenuItemCheckboxProps extends Omit<PressableProps, 'asChild'>, HtmlBut
|
|
|
43
43
|
* @default undefined
|
|
44
44
|
*/
|
|
45
45
|
hideOnClick?: MenuItemCheckboxProps$1['hideOnClick'];
|
|
46
|
+
/**
|
|
47
|
+
* Determines if the menu item should be _focused_ when hovered over.
|
|
48
|
+
*
|
|
49
|
+
* Note that the actual DOM focus will stay on the composite element. This
|
|
50
|
+
* item will get the
|
|
51
|
+
* [`data-active-item`](https://ariakit.org/guide/styling#data-active-item)
|
|
52
|
+
* attribute so it can be styled as if it's focused.
|
|
53
|
+
*
|
|
54
|
+
* @default true
|
|
55
|
+
*/
|
|
56
|
+
focusOnHover?: MenuItemCheckboxProps$1['focusOnHover'];
|
|
57
|
+
/**
|
|
58
|
+
* Determines if the menu item should lose focus when the mouse leaves. By
|
|
59
|
+
* default, this is set to `true` if
|
|
60
|
+
* [`focusOnHover`](https://ariakit.org/reference/composite-hover#focusonhover)
|
|
61
|
+
* is `true`.
|
|
62
|
+
*/
|
|
63
|
+
blurOnHoverEnd?: MenuItemCheckboxProps$1['blurOnHoverEnd'];
|
|
64
|
+
/**
|
|
65
|
+
* When set to `true`, the [roving
|
|
66
|
+
* tabindex](https://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_roving_tabindex)
|
|
67
|
+
* method is partially disabled for this element. This means that the
|
|
68
|
+
* `tabIndex` prop won't be assigned `-1` when the item is inactive. In
|
|
69
|
+
* addition to using arrow keys, users will be able to tab to this element,
|
|
70
|
+
* leading to the menu no longer existing as a single tab stop.
|
|
71
|
+
*
|
|
72
|
+
* **Note**: This prop has no effect when the
|
|
73
|
+
* [`virtualFocus`](https://ariakit.org/reference/menu-provider#virtualfocus)
|
|
74
|
+
* option is enabled.
|
|
75
|
+
*/
|
|
76
|
+
tabbable?: MenuItemCheckboxProps$1['tabbable'];
|
|
77
|
+
/**
|
|
78
|
+
* Determines if [Focusable](https://ariakit.org/reference/focusable)
|
|
79
|
+
* features should be active on non-native focusable elements.
|
|
80
|
+
*
|
|
81
|
+
* **Note**: This prop only turns off the additional features provided by
|
|
82
|
+
* the [`Focusable`](https://ariakit.org/reference/focusable) component.
|
|
83
|
+
* Non-native focusable elements will lose their focusability entirely.
|
|
84
|
+
* However, native focusable elements will retain their inherent
|
|
85
|
+
* focusability.
|
|
86
|
+
*
|
|
87
|
+
* @default true
|
|
88
|
+
*/
|
|
89
|
+
focusable?: MenuItemCheckboxProps$1['focusable'];
|
|
46
90
|
}
|
|
47
91
|
/**
|
|
48
92
|
* **✅ A Menu Item Checkbox component**
|
|
@@ -44,6 +44,50 @@ interface MenuItemCheckboxProps extends Omit<PressableProps, 'asChild'>, HtmlBut
|
|
|
44
44
|
* @default undefined
|
|
45
45
|
*/
|
|
46
46
|
hideOnClick?: MenuItemCheckboxProps$1['hideOnClick'];
|
|
47
|
+
/**
|
|
48
|
+
* Determines if the menu item should be _focused_ when hovered over.
|
|
49
|
+
*
|
|
50
|
+
* Note that the actual DOM focus will stay on the composite element. This
|
|
51
|
+
* item will get the
|
|
52
|
+
* [`data-active-item`](https://ariakit.org/guide/styling#data-active-item)
|
|
53
|
+
* attribute so it can be styled as if it's focused.
|
|
54
|
+
*
|
|
55
|
+
* @default true
|
|
56
|
+
*/
|
|
57
|
+
focusOnHover?: MenuItemCheckboxProps$1['focusOnHover'];
|
|
58
|
+
/**
|
|
59
|
+
* Determines if the menu item should lose focus when the mouse leaves. By
|
|
60
|
+
* default, this is set to `true` if
|
|
61
|
+
* [`focusOnHover`](https://ariakit.org/reference/composite-hover#focusonhover)
|
|
62
|
+
* is `true`.
|
|
63
|
+
*/
|
|
64
|
+
blurOnHoverEnd?: MenuItemCheckboxProps$1['blurOnHoverEnd'];
|
|
65
|
+
/**
|
|
66
|
+
* When set to `true`, the [roving
|
|
67
|
+
* tabindex](https://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_roving_tabindex)
|
|
68
|
+
* method is partially disabled for this element. This means that the
|
|
69
|
+
* `tabIndex` prop won't be assigned `-1` when the item is inactive. In
|
|
70
|
+
* addition to using arrow keys, users will be able to tab to this element,
|
|
71
|
+
* leading to the menu no longer existing as a single tab stop.
|
|
72
|
+
*
|
|
73
|
+
* **Note**: This prop has no effect when the
|
|
74
|
+
* [`virtualFocus`](https://ariakit.org/reference/menu-provider#virtualfocus)
|
|
75
|
+
* option is enabled.
|
|
76
|
+
*/
|
|
77
|
+
tabbable?: MenuItemCheckboxProps$1['tabbable'];
|
|
78
|
+
/**
|
|
79
|
+
* Determines if [Focusable](https://ariakit.org/reference/focusable)
|
|
80
|
+
* features should be active on non-native focusable elements.
|
|
81
|
+
*
|
|
82
|
+
* **Note**: This prop only turns off the additional features provided by
|
|
83
|
+
* the [`Focusable`](https://ariakit.org/reference/focusable) component.
|
|
84
|
+
* Non-native focusable elements will lose their focusability entirely.
|
|
85
|
+
* However, native focusable elements will retain their inherent
|
|
86
|
+
* focusability.
|
|
87
|
+
*
|
|
88
|
+
* @default true
|
|
89
|
+
*/
|
|
90
|
+
focusable?: MenuItemCheckboxProps$1['focusable'];
|
|
47
91
|
}
|
|
48
92
|
/**
|
|
49
93
|
* **✅ A Menu Item Checkbox component**
|
|
@@ -51,7 +51,7 @@ import { MenuItemCheckbox as MenuItemCheckbox$2, useMenuContext } from "@ariakit
|
|
|
51
51
|
*
|
|
52
52
|
* @related [Menu](https://uds.build/docs/components/menu), [Menu.Item](https://uds.build/docs/components/menu-item)
|
|
53
53
|
**/
|
|
54
|
-
const MenuItemCheckbox = forwardRef(function MenuItemCheckbox({ name, endIcon = Check, checked, defaultChecked, hideOnClick, className, ...props }, ref) {
|
|
54
|
+
const MenuItemCheckbox = forwardRef(function MenuItemCheckbox({ name, endIcon = Check, checked, defaultChecked, hideOnClick, focusOnHover, blurOnHoverEnd, tabbable, focusable, className, ...props }, ref) {
|
|
55
55
|
const itemName = name;
|
|
56
56
|
const hasInitialized = useRef(false);
|
|
57
57
|
const context = useMenuContext();
|
|
@@ -125,7 +125,11 @@ const MenuItemCheckbox = forwardRef(function MenuItemCheckbox({ name, endIcon =
|
|
|
125
125
|
onChange: handleChange,
|
|
126
126
|
defaultChecked,
|
|
127
127
|
checked: checked !== void 0 ? checked : void 0,
|
|
128
|
-
hideOnClick
|
|
128
|
+
hideOnClick,
|
|
129
|
+
focusOnHover,
|
|
130
|
+
blurOnHoverEnd,
|
|
131
|
+
tabbable,
|
|
132
|
+
focusable
|
|
129
133
|
},
|
|
130
134
|
...props
|
|
131
135
|
});
|
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?: "
|
|
16
|
-
avatarSizeRoot?: "
|
|
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;
|
|
@@ -216,13 +216,13 @@ declare const getStylesInternal: (props?: ({
|
|
|
216
216
|
tooltipVariantSvg?: "default" | undefined;
|
|
217
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" | "tertiary" | "muted" | "on-color" | undefined;
|
|
218
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" | "tertiary" | "muted" | "on-color" | undefined;
|
|
219
|
-
fontFamily?: "
|
|
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?: "medium" | "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "
|
|
221
|
+
fontWeight?: "medium" | "black" | "thin" | "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" | "bold" | "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
|
-
textTransform?: "none" | "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "
|
|
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
226
|
spacing?: "0" | "1" | "2" | "3" | "4" | "5" | "px" | "0.5" | "1.5" | "2.5" | "3.5" | "4.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
227
|
spacingHorizontal?: "0" | "1" | "2" | "3" | "4" | "5" | "px" | "0.5" | "1.5" | "2.5" | "3.5" | "4.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
228
|
spacingVertical?: "0" | "1" | "2" | "3" | "4" | "5" | "px" | "0.5" | "1.5" | "2.5" | "3.5" | "4.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;
|
|
@@ -245,31 +245,31 @@ declare const getStylesInternal: (props?: ({
|
|
|
245
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" | "tertiary" | "muted" | undefined;
|
|
246
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" | "tertiary" | "muted" | undefined;
|
|
247
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" | "tertiary" | "muted" | undefined;
|
|
248
|
-
borderRadius?: "xs" | "sm" | "md" | "lg" | "xl" | "
|
|
249
|
-
borderTopStartRadius?: "xs" | "sm" | "md" | "lg" | "xl" | "
|
|
250
|
-
borderTopEndRadius?: "xs" | "sm" | "md" | "lg" | "xl" | "
|
|
251
|
-
borderBottomStartRadius?: "xs" | "sm" | "md" | "lg" | "xl" | "
|
|
252
|
-
borderBottomEndRadius?: "xs" | "sm" | "md" | "lg" | "xl" | "
|
|
253
|
-
borderWidth?: "medium" | "
|
|
254
|
-
borderVerticalWidth?: "medium" | "
|
|
255
|
-
borderHorizontalWidth?: "medium" | "
|
|
256
|
-
borderStartWidth?: "medium" | "
|
|
257
|
-
borderEndWidth?: "medium" | "
|
|
258
|
-
borderTopWidth?: "medium" | "
|
|
259
|
-
borderBottomWidth?: "medium" | "
|
|
260
|
-
avatarSize?: "
|
|
248
|
+
borderRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
249
|
+
borderTopStartRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
250
|
+
borderTopEndRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
251
|
+
borderBottomStartRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
252
|
+
borderBottomEndRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
253
|
+
borderWidth?: "medium" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "thick" | undefined;
|
|
254
|
+
borderVerticalWidth?: "medium" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "thick" | undefined;
|
|
255
|
+
borderHorizontalWidth?: "medium" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "thick" | undefined;
|
|
256
|
+
borderStartWidth?: "medium" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "thick" | undefined;
|
|
257
|
+
borderEndWidth?: "medium" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "thick" | undefined;
|
|
258
|
+
borderTopWidth?: "medium" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "thick" | undefined;
|
|
259
|
+
borderBottomWidth?: "medium" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "thick" | undefined;
|
|
260
|
+
avatarSize?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "2xs" | "3xl" | undefined;
|
|
261
261
|
iconSize?: "xs" | "sm" | "md" | "lg" | undefined;
|
|
262
262
|
alignContent?: "center" | "flex-start" | "flex-end" | "stretch" | "space-between" | "space-around" | undefined;
|
|
263
263
|
alignItems?: "center" | "flex-start" | "flex-end" | "stretch" | "baseline" | undefined;
|
|
264
264
|
alignSelf?: "center" | "flex-start" | "flex-end" | "stretch" | "baseline" | "auto" | undefined;
|
|
265
|
-
flex?: "
|
|
265
|
+
flex?: "1" | "none" | "auto" | "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
270
|
justifyContent?: "center" | "flex-start" | "flex-end" | "space-between" | "space-around" | "space-evenly" | undefined;
|
|
271
271
|
flexBasis?: "min-content" | undefined;
|
|
272
|
-
display?: "
|
|
272
|
+
display?: "flex" | "table" | "none" | "block" | "inline-block" | "inline" | "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" | "grid" | "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;
|
|
@@ -279,10 +279,10 @@ declare const getStylesInternal: (props?: ({
|
|
|
279
279
|
scaleMode?: "xSmall" | "small" | "medium" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | undefined;
|
|
280
280
|
width?: "full" | "fit" | "screen" | undefined;
|
|
281
281
|
height?: "full" | "fit" | "screen" | undefined;
|
|
282
|
-
dropShadow?: "
|
|
283
|
-
insetShadow?: "
|
|
284
|
-
nestedBorderRadiusSize?: "xs" | "sm" | "md" | "lg" | "xl" | "
|
|
285
|
-
nestedBorderRadiusWidth?: "medium" | "
|
|
282
|
+
dropShadow?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
|
283
|
+
insetShadow?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "xs-invert" | "sm-invert" | "md-invert" | "lg-invert" | "xl-invert" | "2xl-invert" | undefined;
|
|
284
|
+
nestedBorderRadiusSize?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
285
|
+
nestedBorderRadiusWidth?: "medium" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "thick" | undefined;
|
|
286
286
|
nestedBorderRadiusSpacing?: "0" | "1" | "2" | "3" | "4" | "5" | "px" | "0.5" | "1.5" | "2.5" | "3.5" | "4.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
|
} & {
|
package/dist/styles/styler.d.ts
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?: "
|
|
16
|
-
avatarSizeRoot?: "
|
|
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;
|
|
@@ -216,13 +216,13 @@ declare const getStylesInternal: (props?: ({
|
|
|
216
216
|
tooltipVariantSvg?: "default" | undefined;
|
|
217
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" | "tertiary" | "muted" | "on-color" | undefined;
|
|
218
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" | "tertiary" | "muted" | "on-color" | undefined;
|
|
219
|
-
fontFamily?: "
|
|
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?: "medium" | "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "
|
|
221
|
+
fontWeight?: "medium" | "black" | "thin" | "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" | "bold" | "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
|
-
textTransform?: "none" | "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "
|
|
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
226
|
spacing?: "0" | "1" | "2" | "3" | "4" | "5" | "px" | "0.5" | "1.5" | "2.5" | "3.5" | "4.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
227
|
spacingHorizontal?: "0" | "1" | "2" | "3" | "4" | "5" | "px" | "0.5" | "1.5" | "2.5" | "3.5" | "4.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
228
|
spacingVertical?: "0" | "1" | "2" | "3" | "4" | "5" | "px" | "0.5" | "1.5" | "2.5" | "3.5" | "4.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;
|
|
@@ -245,31 +245,31 @@ declare const getStylesInternal: (props?: ({
|
|
|
245
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" | "tertiary" | "muted" | undefined;
|
|
246
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" | "tertiary" | "muted" | undefined;
|
|
247
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" | "tertiary" | "muted" | undefined;
|
|
248
|
-
borderRadius?: "xs" | "sm" | "md" | "lg" | "xl" | "
|
|
249
|
-
borderTopStartRadius?: "xs" | "sm" | "md" | "lg" | "xl" | "
|
|
250
|
-
borderTopEndRadius?: "xs" | "sm" | "md" | "lg" | "xl" | "
|
|
251
|
-
borderBottomStartRadius?: "xs" | "sm" | "md" | "lg" | "xl" | "
|
|
252
|
-
borderBottomEndRadius?: "xs" | "sm" | "md" | "lg" | "xl" | "
|
|
253
|
-
borderWidth?: "medium" | "
|
|
254
|
-
borderVerticalWidth?: "medium" | "
|
|
255
|
-
borderHorizontalWidth?: "medium" | "
|
|
256
|
-
borderStartWidth?: "medium" | "
|
|
257
|
-
borderEndWidth?: "medium" | "
|
|
258
|
-
borderTopWidth?: "medium" | "
|
|
259
|
-
borderBottomWidth?: "medium" | "
|
|
260
|
-
avatarSize?: "
|
|
248
|
+
borderRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
249
|
+
borderTopStartRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
250
|
+
borderTopEndRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
251
|
+
borderBottomStartRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
252
|
+
borderBottomEndRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
253
|
+
borderWidth?: "medium" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "thick" | undefined;
|
|
254
|
+
borderVerticalWidth?: "medium" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "thick" | undefined;
|
|
255
|
+
borderHorizontalWidth?: "medium" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "thick" | undefined;
|
|
256
|
+
borderStartWidth?: "medium" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "thick" | undefined;
|
|
257
|
+
borderEndWidth?: "medium" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "thick" | undefined;
|
|
258
|
+
borderTopWidth?: "medium" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "thick" | undefined;
|
|
259
|
+
borderBottomWidth?: "medium" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "thick" | undefined;
|
|
260
|
+
avatarSize?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "2xs" | "3xl" | undefined;
|
|
261
261
|
iconSize?: "xs" | "sm" | "md" | "lg" | undefined;
|
|
262
262
|
alignContent?: "center" | "flex-start" | "flex-end" | "stretch" | "space-between" | "space-around" | undefined;
|
|
263
263
|
alignItems?: "center" | "flex-start" | "flex-end" | "stretch" | "baseline" | undefined;
|
|
264
264
|
alignSelf?: "center" | "flex-start" | "flex-end" | "stretch" | "baseline" | "auto" | undefined;
|
|
265
|
-
flex?: "
|
|
265
|
+
flex?: "1" | "none" | "auto" | "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
270
|
justifyContent?: "center" | "flex-start" | "flex-end" | "space-between" | "space-around" | "space-evenly" | undefined;
|
|
271
271
|
flexBasis?: "min-content" | undefined;
|
|
272
|
-
display?: "
|
|
272
|
+
display?: "flex" | "table" | "none" | "block" | "inline-block" | "inline" | "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" | "grid" | "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;
|
|
@@ -279,10 +279,10 @@ declare const getStylesInternal: (props?: ({
|
|
|
279
279
|
scaleMode?: "xSmall" | "small" | "medium" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | undefined;
|
|
280
280
|
width?: "full" | "fit" | "screen" | undefined;
|
|
281
281
|
height?: "full" | "fit" | "screen" | undefined;
|
|
282
|
-
dropShadow?: "
|
|
283
|
-
insetShadow?: "
|
|
284
|
-
nestedBorderRadiusSize?: "xs" | "sm" | "md" | "lg" | "xl" | "
|
|
285
|
-
nestedBorderRadiusWidth?: "medium" | "
|
|
282
|
+
dropShadow?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
|
283
|
+
insetShadow?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "xs-invert" | "sm-invert" | "md-invert" | "lg-invert" | "xl-invert" | "2xl-invert" | undefined;
|
|
284
|
+
nestedBorderRadiusSize?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
285
|
+
nestedBorderRadiusWidth?: "medium" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "thick" | undefined;
|
|
286
286
|
nestedBorderRadiusSpacing?: "0" | "1" | "2" | "3" | "4" | "5" | "px" | "0.5" | "1.5" | "2.5" | "3.5" | "4.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
|
} & {
|