@yahoo/uds 3.165.0 → 3.166.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.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/Tooltip/Tooltip.cjs +3 -2
- package/dist/components/client/Tooltip/Tooltip.d.cts +2 -1
- package/dist/components/client/Tooltip/Tooltip.d.ts +2 -1
- package/dist/components/client/Tooltip/Tooltip.js +3 -2
- package/dist/components/client/Tooltip/TooltipContent.cjs +4 -2
- package/dist/components/client/Tooltip/TooltipContent.js +4 -2
- package/dist/components/client/Tooltip/tooltipContext.d.cts +1 -0
- package/dist/components/client/Tooltip/tooltipContext.d.ts +1 -0
- package/dist/styles/styler.d.cts +19 -19
- package/dist/styles/styler.d.ts +19 -19
- package/dist/types/dist/index.d.cts +2 -0
- package/dist/types/dist/index.d.ts +2 -0
- package/dist/uds/generated/componentData.cjs +2431 -2431
- package/dist/uds/generated/componentData.js +2431 -2431
- package/generated/componentData.json +3036 -3036
- package/package.json +1 -1
|
@@ -131,6 +131,6 @@ interface MenuItemCheckboxProps extends Omit<PressableProps, 'asChild'>, HtmlBut
|
|
|
131
131
|
*
|
|
132
132
|
* @related [Menu](https://uds.build/docs/components/menu), [Menu.Item](https://uds.build/docs/components/menu-item)
|
|
133
133
|
**/
|
|
134
|
-
declare const MenuItemCheckbox: _$react.ForwardRefExoticComponent<Omit<MenuItemCheckboxProps, "
|
|
134
|
+
declare const MenuItemCheckbox: _$react.ForwardRefExoticComponent<Omit<MenuItemCheckboxProps, "active" | "hideEndIcon" | "rootProps"> & _$react.RefAttributes<HTMLDivElement>>;
|
|
135
135
|
//#endregion
|
|
136
136
|
export { MenuItemCheckbox, type MenuItemCheckboxProps };
|
|
@@ -132,6 +132,6 @@ interface MenuItemCheckboxProps extends Omit<PressableProps, 'asChild'>, HtmlBut
|
|
|
132
132
|
*
|
|
133
133
|
* @related [Menu](https://uds.build/docs/components/menu), [Menu.Item](https://uds.build/docs/components/menu-item)
|
|
134
134
|
**/
|
|
135
|
-
declare const MenuItemCheckbox: _$react.ForwardRefExoticComponent<Omit<MenuItemCheckboxProps, "
|
|
135
|
+
declare const MenuItemCheckbox: _$react.ForwardRefExoticComponent<Omit<MenuItemCheckboxProps, "active" | "hideEndIcon" | "rootProps"> & _$react.RefAttributes<HTMLDivElement>>;
|
|
136
136
|
//#endregion
|
|
137
137
|
export { MenuItemCheckbox, type MenuItemCheckboxProps };
|
|
@@ -29,7 +29,7 @@ declare function usePopoverConfig(sizeProp?: PopoverSize | undefined, variantPro
|
|
|
29
29
|
gap: SpacingAlias;
|
|
30
30
|
dismissButtonSpacing: SpacingAlias;
|
|
31
31
|
dismissIconSize: number;
|
|
32
|
-
ariaKitPlacement: ("
|
|
32
|
+
ariaKitPlacement: ("bottom-start" | "bottom-end" | "top-start" | "top-end" | ("bottom" | "left" | "right" | "top") | "left-start" | "right-start" | "left-end" | "right-end") | undefined;
|
|
33
33
|
animationDuration: number;
|
|
34
34
|
};
|
|
35
35
|
//#endregion
|
|
@@ -30,7 +30,7 @@ declare function usePopoverConfig(sizeProp?: PopoverSize | undefined, variantPro
|
|
|
30
30
|
gap: SpacingAlias;
|
|
31
31
|
dismissButtonSpacing: SpacingAlias;
|
|
32
32
|
dismissIconSize: number;
|
|
33
|
-
ariaKitPlacement: ("
|
|
33
|
+
ariaKitPlacement: ("bottom-start" | "bottom-end" | "top-start" | "top-end" | ("bottom" | "left" | "right" | "top") | "left-start" | "right-start" | "left-end" | "right-end") | undefined;
|
|
34
34
|
animationDuration: number;
|
|
35
35
|
};
|
|
36
36
|
//#endregion
|
|
@@ -35,7 +35,7 @@ let _ariakit_react = require("@ariakit/react");
|
|
|
35
35
|
*
|
|
36
36
|
* @related [Toast](https://uds.build/docs/components/toast), [Popover](https://uds.build/docs/components/popover)
|
|
37
37
|
**/
|
|
38
|
-
function Tooltip({ children, placement, open, portal = true }) {
|
|
38
|
+
function Tooltip({ children, placement, open, portal = true, hideArrow = false }) {
|
|
39
39
|
const isControlled = open !== void 0;
|
|
40
40
|
const controlledProps = isControlled ? {
|
|
41
41
|
showTimeout: 0,
|
|
@@ -47,7 +47,8 @@ function Tooltip({ children, placement, open, portal = true }) {
|
|
|
47
47
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_components_client_Tooltip_tooltipContext.TooltipInternalContext.Provider, {
|
|
48
48
|
value: {
|
|
49
49
|
portal,
|
|
50
|
-
isControlled
|
|
50
|
+
isControlled,
|
|
51
|
+
hideArrow
|
|
51
52
|
},
|
|
52
53
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_ariakit_react.TooltipProvider, {
|
|
53
54
|
placement: ariaKitPlacement,
|
|
@@ -33,7 +33,7 @@ import { TooltipProvider } from "@ariakit/react";
|
|
|
33
33
|
*
|
|
34
34
|
* @related [Toast](https://uds.build/docs/components/toast), [Popover](https://uds.build/docs/components/popover)
|
|
35
35
|
**/
|
|
36
|
-
function Tooltip({ children, placement, open, portal = true }) {
|
|
36
|
+
function Tooltip({ children, placement, open, portal = true, hideArrow = false }) {
|
|
37
37
|
const isControlled = open !== void 0;
|
|
38
38
|
const controlledProps = isControlled ? {
|
|
39
39
|
showTimeout: 0,
|
|
@@ -45,7 +45,8 @@ function Tooltip({ children, placement, open, portal = true }) {
|
|
|
45
45
|
return /* @__PURE__ */ jsx(TooltipInternalContext.Provider, {
|
|
46
46
|
value: {
|
|
47
47
|
portal,
|
|
48
|
-
isControlled
|
|
48
|
+
isControlled,
|
|
49
|
+
hideArrow
|
|
49
50
|
},
|
|
50
51
|
children: /* @__PURE__ */ jsx(TooltipProvider, {
|
|
51
52
|
placement: ariaKitPlacement,
|
|
@@ -20,6 +20,7 @@ let _ariakit_react = require("@ariakit/react");
|
|
|
20
20
|
const ARROW_HEIGHT = 8;
|
|
21
21
|
const ARROW_WIDTH = 12;
|
|
22
22
|
const ARROW_TIP_RADIUS_FRACTION = .5;
|
|
23
|
+
const GUTTER = 10;
|
|
23
24
|
const TooltipContent = (0, react.forwardRef)(function TooltipContent({ children, maxWidth, startTitleIcon, title, endContent, className, id, slotProps }, ref) {
|
|
24
25
|
const store = (0, _ariakit_react.useTooltipContext)();
|
|
25
26
|
const open = (0, _ariakit_react.useStoreState)(store, "open");
|
|
@@ -36,6 +37,7 @@ const TooltipContent = (0, react.forwardRef)(function TooltipContent({ children,
|
|
|
36
37
|
borderRadius: defaultBorderRadius,
|
|
37
38
|
arrowRef,
|
|
38
39
|
animationDuration,
|
|
40
|
+
hideArrow: internalContext?.hideArrow,
|
|
39
41
|
arrowWidth: ARROW_WIDTH,
|
|
40
42
|
arrowHeight: ARROW_HEIGHT,
|
|
41
43
|
arrowTipRadiusFraction: ARROW_TIP_RADIUS_FRACTION
|
|
@@ -74,7 +76,7 @@ const TooltipContent = (0, react.forwardRef)(function TooltipContent({ children,
|
|
|
74
76
|
hideOnHoverOutside: internalContext?.isControlled ? false : void 0,
|
|
75
77
|
hideOnInteractOutside: internalContext?.isControlled ? false : void 0,
|
|
76
78
|
portal: internalContext ? internalContext.portal : true,
|
|
77
|
-
gutter:
|
|
79
|
+
gutter: GUTTER,
|
|
78
80
|
updatePosition: onPositionUpdate,
|
|
79
81
|
getAnchorRect: require_utils_getUnscaledAnchorRect.getUnscaledAnchorRect,
|
|
80
82
|
style: {
|
|
@@ -120,7 +122,7 @@ const TooltipContent = (0, react.forwardRef)(function TooltipContent({ children,
|
|
|
120
122
|
}) : endContent]
|
|
121
123
|
})]
|
|
122
124
|
})
|
|
123
|
-
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_ariakit_react.TooltipArrow, {
|
|
125
|
+
}), !internalContext?.hideArrow && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_ariakit_react.TooltipArrow, {
|
|
124
126
|
ref: arrowRef,
|
|
125
127
|
style: { opacity: 0 },
|
|
126
128
|
...slotProps?.arrow
|
|
@@ -18,6 +18,7 @@ import { Tooltip, TooltipArrow, useStoreState, useTooltipContext } from "@ariaki
|
|
|
18
18
|
const ARROW_HEIGHT = 8;
|
|
19
19
|
const ARROW_WIDTH = 12;
|
|
20
20
|
const ARROW_TIP_RADIUS_FRACTION = .5;
|
|
21
|
+
const GUTTER = 10;
|
|
21
22
|
const TooltipContent = forwardRef(function TooltipContent({ children, maxWidth, startTitleIcon, title, endContent, className, id, slotProps }, ref) {
|
|
22
23
|
const store = useTooltipContext();
|
|
23
24
|
const open = useStoreState(store, "open");
|
|
@@ -34,6 +35,7 @@ const TooltipContent = forwardRef(function TooltipContent({ children, maxWidth,
|
|
|
34
35
|
borderRadius: defaultBorderRadius,
|
|
35
36
|
arrowRef,
|
|
36
37
|
animationDuration,
|
|
38
|
+
hideArrow: internalContext?.hideArrow,
|
|
37
39
|
arrowWidth: ARROW_WIDTH,
|
|
38
40
|
arrowHeight: ARROW_HEIGHT,
|
|
39
41
|
arrowTipRadiusFraction: ARROW_TIP_RADIUS_FRACTION
|
|
@@ -72,7 +74,7 @@ const TooltipContent = forwardRef(function TooltipContent({ children, maxWidth,
|
|
|
72
74
|
hideOnHoverOutside: internalContext?.isControlled ? false : void 0,
|
|
73
75
|
hideOnInteractOutside: internalContext?.isControlled ? false : void 0,
|
|
74
76
|
portal: internalContext ? internalContext.portal : true,
|
|
75
|
-
gutter:
|
|
77
|
+
gutter: GUTTER,
|
|
76
78
|
updatePosition: onPositionUpdate,
|
|
77
79
|
getAnchorRect: getUnscaledAnchorRect,
|
|
78
80
|
style: {
|
|
@@ -118,7 +120,7 @@ const TooltipContent = forwardRef(function TooltipContent({ children, maxWidth,
|
|
|
118
120
|
}) : endContent]
|
|
119
121
|
})]
|
|
120
122
|
})
|
|
121
|
-
}), /* @__PURE__ */ jsx(TooltipArrow, {
|
|
123
|
+
}), !internalContext?.hideArrow && /* @__PURE__ */ jsx(TooltipArrow, {
|
|
122
124
|
ref: arrowRef,
|
|
123
125
|
style: { opacity: 0 },
|
|
124
126
|
...slotProps?.arrow
|
package/dist/styles/styler.d.cts
CHANGED
|
@@ -87,11 +87,11 @@ declare const getStylesInternal: (props?: ({
|
|
|
87
87
|
inputVariantValueLabelRequired?: "empty" | "filled" | undefined;
|
|
88
88
|
inputVariantValueRoot?: "empty" | "filled" | undefined;
|
|
89
89
|
inputVariantValueStartIcon?: "empty" | "filled" | undefined;
|
|
90
|
-
linkTextStyleIcon?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" |
|
|
91
|
-
linkTextStyleRoot?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" |
|
|
92
|
-
linkVariantIconEnd?: "primary" | "secondary" | "tertiary" | "
|
|
93
|
-
linkVariantIconStart?: "primary" | "secondary" | "tertiary" | "
|
|
94
|
-
linkVariantRoot?: "primary" | "secondary" | "tertiary" | "
|
|
90
|
+
linkTextStyleIcon?: "default" | "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | undefined;
|
|
91
|
+
linkTextStyleRoot?: "default" | "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | undefined;
|
|
92
|
+
linkVariantIconEnd?: "primary" | "secondary" | "tertiary" | "default" | "on-color" | undefined;
|
|
93
|
+
linkVariantIconStart?: "primary" | "secondary" | "tertiary" | "default" | "on-color" | undefined;
|
|
94
|
+
linkVariantRoot?: "primary" | "secondary" | "tertiary" | "default" | "on-color" | undefined;
|
|
95
95
|
menucontentSizeRoot?: "default" | undefined;
|
|
96
96
|
menucontentVariantRoot?: "default" | undefined;
|
|
97
97
|
menuitemDividerVariantLine?: "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?: "warning" | "info" | "
|
|
204
|
-
toastVariantCloseIcon?: "warning" | "info" | "
|
|
205
|
-
toastVariantIcon?: "warning" | "info" | "
|
|
206
|
-
toastVariantRoot?: "warning" | "info" | "
|
|
203
|
+
toastVariantActionButton?: "warning" | "info" | "default" | "loading" | "success" | "error" | undefined;
|
|
204
|
+
toastVariantCloseIcon?: "warning" | "info" | "default" | "loading" | "success" | "error" | undefined;
|
|
205
|
+
toastVariantIcon?: "warning" | "info" | "default" | "loading" | "success" | "error" | undefined;
|
|
206
|
+
toastVariantRoot?: "warning" | "info" | "default" | "loading" | "success" | "error" | undefined;
|
|
207
207
|
tooltipSizeBody?: "default" | undefined;
|
|
208
208
|
tooltipSizeEndContent?: "default" | undefined;
|
|
209
209
|
tooltipSizeIcon?: "default" | undefined;
|
|
@@ -218,7 +218,7 @@ declare const getStylesInternal: (props?: ({
|
|
|
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
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?: "
|
|
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" | "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;
|
|
@@ -250,13 +250,13 @@ declare const getStylesInternal: (props?: ({
|
|
|
250
250
|
borderTopEndRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
251
251
|
borderBottomStartRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
252
252
|
borderBottomEndRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
253
|
-
borderWidth?: "
|
|
254
|
-
borderVerticalWidth?: "
|
|
255
|
-
borderHorizontalWidth?: "
|
|
256
|
-
borderStartWidth?: "
|
|
257
|
-
borderEndWidth?: "
|
|
258
|
-
borderTopWidth?: "
|
|
259
|
-
borderBottomWidth?: "
|
|
253
|
+
borderWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
254
|
+
borderVerticalWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
255
|
+
borderHorizontalWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
256
|
+
borderStartWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
257
|
+
borderEndWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
258
|
+
borderTopWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
259
|
+
borderBottomWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "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
262
|
alignContent?: "center" | "flex-start" | "flex-end" | "stretch" | "space-between" | "space-around" | undefined;
|
|
@@ -276,13 +276,13 @@ declare const getStylesInternal: (props?: ({
|
|
|
276
276
|
position?: "static" | "fixed" | "absolute" | "relative" | "sticky" | undefined;
|
|
277
277
|
contentFit?: "none" | "fill" | "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
282
|
dropShadow?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
|
283
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
284
|
nestedBorderRadiusSize?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
285
|
-
nestedBorderRadiusWidth?: "
|
|
285
|
+
nestedBorderRadiusWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "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
|
@@ -87,11 +87,11 @@ declare const getStylesInternal: (props?: ({
|
|
|
87
87
|
inputVariantValueLabelRequired?: "empty" | "filled" | undefined;
|
|
88
88
|
inputVariantValueRoot?: "empty" | "filled" | undefined;
|
|
89
89
|
inputVariantValueStartIcon?: "empty" | "filled" | undefined;
|
|
90
|
-
linkTextStyleIcon?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" |
|
|
91
|
-
linkTextStyleRoot?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" |
|
|
92
|
-
linkVariantIconEnd?: "primary" | "secondary" | "tertiary" | "
|
|
93
|
-
linkVariantIconStart?: "primary" | "secondary" | "tertiary" | "
|
|
94
|
-
linkVariantRoot?: "primary" | "secondary" | "tertiary" | "
|
|
90
|
+
linkTextStyleIcon?: "default" | "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | undefined;
|
|
91
|
+
linkTextStyleRoot?: "default" | "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | undefined;
|
|
92
|
+
linkVariantIconEnd?: "primary" | "secondary" | "tertiary" | "default" | "on-color" | undefined;
|
|
93
|
+
linkVariantIconStart?: "primary" | "secondary" | "tertiary" | "default" | "on-color" | undefined;
|
|
94
|
+
linkVariantRoot?: "primary" | "secondary" | "tertiary" | "default" | "on-color" | undefined;
|
|
95
95
|
menucontentSizeRoot?: "default" | undefined;
|
|
96
96
|
menucontentVariantRoot?: "default" | undefined;
|
|
97
97
|
menuitemDividerVariantLine?: "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?: "warning" | "info" | "
|
|
204
|
-
toastVariantCloseIcon?: "warning" | "info" | "
|
|
205
|
-
toastVariantIcon?: "warning" | "info" | "
|
|
206
|
-
toastVariantRoot?: "warning" | "info" | "
|
|
203
|
+
toastVariantActionButton?: "warning" | "info" | "default" | "loading" | "success" | "error" | undefined;
|
|
204
|
+
toastVariantCloseIcon?: "warning" | "info" | "default" | "loading" | "success" | "error" | undefined;
|
|
205
|
+
toastVariantIcon?: "warning" | "info" | "default" | "loading" | "success" | "error" | undefined;
|
|
206
|
+
toastVariantRoot?: "warning" | "info" | "default" | "loading" | "success" | "error" | undefined;
|
|
207
207
|
tooltipSizeBody?: "default" | undefined;
|
|
208
208
|
tooltipSizeEndContent?: "default" | undefined;
|
|
209
209
|
tooltipSizeIcon?: "default" | undefined;
|
|
@@ -218,7 +218,7 @@ declare const getStylesInternal: (props?: ({
|
|
|
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
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?: "
|
|
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" | "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;
|
|
@@ -250,13 +250,13 @@ declare const getStylesInternal: (props?: ({
|
|
|
250
250
|
borderTopEndRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
251
251
|
borderBottomStartRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
252
252
|
borderBottomEndRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
253
|
-
borderWidth?: "
|
|
254
|
-
borderVerticalWidth?: "
|
|
255
|
-
borderHorizontalWidth?: "
|
|
256
|
-
borderStartWidth?: "
|
|
257
|
-
borderEndWidth?: "
|
|
258
|
-
borderTopWidth?: "
|
|
259
|
-
borderBottomWidth?: "
|
|
253
|
+
borderWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
254
|
+
borderVerticalWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
255
|
+
borderHorizontalWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
256
|
+
borderStartWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
257
|
+
borderEndWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
258
|
+
borderTopWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
259
|
+
borderBottomWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "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
262
|
alignContent?: "center" | "flex-start" | "flex-end" | "stretch" | "space-between" | "space-around" | undefined;
|
|
@@ -276,13 +276,13 @@ declare const getStylesInternal: (props?: ({
|
|
|
276
276
|
position?: "static" | "fixed" | "absolute" | "relative" | "sticky" | undefined;
|
|
277
277
|
contentFit?: "none" | "fill" | "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
282
|
dropShadow?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
|
283
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
284
|
nestedBorderRadiusSize?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
285
|
-
nestedBorderRadiusWidth?: "
|
|
285
|
+
nestedBorderRadiusWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "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
|
} & {
|
|
@@ -922,6 +922,8 @@ interface UniversalTooltipProps {
|
|
|
922
922
|
open?: boolean;
|
|
923
923
|
/** Whether to render the tooltip content in a portal @default true */
|
|
924
924
|
portal?: boolean;
|
|
925
|
+
/** Whether to hide the tooltip arrow @default false */
|
|
926
|
+
hideArrow?: boolean;
|
|
925
927
|
}
|
|
926
928
|
interface UniversalTooltipTriggerProps {
|
|
927
929
|
/** The content to display inside the tooltip trigger. This is what the tooltip will be anchored to. */
|
|
@@ -922,6 +922,8 @@ interface UniversalTooltipProps {
|
|
|
922
922
|
open?: boolean;
|
|
923
923
|
/** Whether to render the tooltip content in a portal @default true */
|
|
924
924
|
portal?: boolean;
|
|
925
|
+
/** Whether to hide the tooltip arrow @default false */
|
|
926
|
+
hideArrow?: boolean;
|
|
925
927
|
}
|
|
926
928
|
interface UniversalTooltipTriggerProps {
|
|
927
929
|
/** The content to display inside the tooltip trigger. This is what the tooltip will be anchored to. */
|