@yahoo/uds 3.129.0-beta.4 → 3.130.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/automated-config/dist/utils/getConfigVariantProperties.d.cts +2 -2
- package/dist/automated-config/dist/utils/getConfigVariantProperties.d.ts +2 -2
- package/dist/components/Icon.cjs +6 -16
- package/dist/components/Icon.d.cts +1 -0
- package/dist/components/Icon.d.ts +1 -0
- package/dist/components/Icon.js +7 -17
- package/dist/components/IconSlot.cjs +6 -25
- package/dist/components/IconSlot.js +5 -25
- package/dist/components/client/IconButton.cjs +1 -5
- package/dist/components/client/IconButton.js +2 -6
- package/dist/icons/dist/types.d.cts +30 -0
- package/dist/icons/dist/types.d.ts +30 -0
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/styles/styler.d.cts +13 -13
- package/dist/styles/styler.d.ts +13 -13
- package/dist/tailwind/dist/tailwind/utils/getShadowStyles.d.cts +4 -4
- package/dist/tailwind/dist/tailwind/utils/getShadowStyles.d.ts +4 -4
- package/dist/tailwind/dist/types/dist/index.d.cts.map +1 -1
- package/dist/tailwind/dist/types/dist/index.d.ts.map +1 -1
- package/dist/tokens/index.d.cts +2 -2
- package/dist/tokens/index.d.ts +2 -2
- package/dist/tokens/types.d.cts +7 -7
- package/dist/tokens/types.d.ts +7 -7
- package/dist/types/dist/index.d.cts +10 -12
- package/dist/types/dist/index.d.ts +10 -12
- package/dist/uds/generated/componentData.cjs +1533 -1533
- package/dist/uds/generated/componentData.js +1533 -1533
- package/generated/componentData.json +1826 -1824
- package/package.json +1 -1
|
@@ -11,8 +11,8 @@ import { SelectedConfigurableProperty } from "../properties.cjs";
|
|
|
11
11
|
* @returns A Record of layer names to their properties, or null if no properties are found
|
|
12
12
|
*/
|
|
13
13
|
declare function getConfigVariantProperties(variant?: VariantConfig): {
|
|
14
|
-
[x: string]: Readonly<Record<string, SelectedConfigurableProperty<"
|
|
15
|
-
root: Readonly<Record<string, SelectedConfigurableProperty<"
|
|
14
|
+
[x: string]: Readonly<Record<string, SelectedConfigurableProperty<"textTransform" | "fontSize" | "fontWeight" | "lineHeight" | "fontFamily" | "letterSpacing" | "backgroundColor" | "borderWidth" | "underlineWidth" | "strokeWidth" | "borderRadius" | "borderRadiusVar" | "borderColor" | "underlineColor" | "stroke" | "buttonSize" | "buttonVariant" | "fontVariationSettings" | "gap" | "color" | "opacity" | "fillOpacity" | "iconSize" | "spacing" | "iconVariant" | "horizontalMargin" | "bottomMargin" | "spacingHorizontal" | "spacingVertical" | "textVariant" | "textDecorationLine" | "shadow" | "shadowVar" | "insetShadow" | "bannerInnerShadow" | "height" | "width" | "scaleEffect" | "backdropBlur" | "blurBackgroundColor" | "blurBackgroundColorFallback" | "scrimBackgroundColor" | "scrimOpacity", string, readonly ("backgroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases" | "elevationAliases")[] | readonly ("elevationAliases" | "borderWidths" | "spacingAliases")[] | readonly "borderRadii"[] | readonly ("spectrumColors" | "alwaysPaletteAliases" | "elevationAliases" | "linePaletteColors")[] | readonly "buttonSizes"[] | readonly "buttonVariantsFlat"[] | readonly "textVariants"[] | readonly "spacingAliases"[] | readonly ("spectrumColors" | "alwaysPaletteAliases" | "foregroundPaletteColors")[] | readonly "opacitySteps"[] | readonly "iconSizes"[] | readonly "iconVariants"[] | readonly "textDecorationLines"[] | readonly ("elevationAliases" | "shadowVariants" | "shadowVariantConfig")[] | readonly ("shadowVariantConfig" | "shadowVariantsWithInvert")[] | readonly "bannerInnerShadowOptions"[] | readonly "scaleEffects"[] | readonly "positiveIntegers"[] | readonly ("backgroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases")[], readonly (readonly unknown[])[]>>>;
|
|
15
|
+
root: Readonly<Record<string, SelectedConfigurableProperty<"textTransform" | "fontSize" | "fontWeight" | "lineHeight" | "fontFamily" | "letterSpacing" | "backgroundColor" | "borderWidth" | "underlineWidth" | "strokeWidth" | "borderRadius" | "borderRadiusVar" | "borderColor" | "underlineColor" | "stroke" | "buttonSize" | "buttonVariant" | "fontVariationSettings" | "gap" | "color" | "opacity" | "fillOpacity" | "iconSize" | "spacing" | "iconVariant" | "horizontalMargin" | "bottomMargin" | "spacingHorizontal" | "spacingVertical" | "textVariant" | "textDecorationLine" | "shadow" | "shadowVar" | "insetShadow" | "bannerInnerShadow" | "height" | "width" | "scaleEffect" | "backdropBlur" | "blurBackgroundColor" | "blurBackgroundColorFallback" | "scrimBackgroundColor" | "scrimOpacity", string, readonly ("backgroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases" | "elevationAliases")[] | readonly ("elevationAliases" | "borderWidths" | "spacingAliases")[] | readonly "borderRadii"[] | readonly ("spectrumColors" | "alwaysPaletteAliases" | "elevationAliases" | "linePaletteColors")[] | readonly "buttonSizes"[] | readonly "buttonVariantsFlat"[] | readonly "textVariants"[] | readonly "spacingAliases"[] | readonly ("spectrumColors" | "alwaysPaletteAliases" | "foregroundPaletteColors")[] | readonly "opacitySteps"[] | readonly "iconSizes"[] | readonly "iconVariants"[] | readonly "textDecorationLines"[] | readonly ("elevationAliases" | "shadowVariants" | "shadowVariantConfig")[] | readonly ("shadowVariantConfig" | "shadowVariantsWithInvert")[] | readonly "bannerInnerShadowOptions"[] | readonly "scaleEffects"[] | readonly "positiveIntegers"[] | readonly ("backgroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases")[], readonly (readonly unknown[])[]>>>;
|
|
16
16
|
} | null; //#endregion
|
|
17
17
|
//#endregion
|
|
18
18
|
export { getConfigVariantProperties };
|
|
@@ -11,8 +11,8 @@ import { SelectedConfigurableProperty } from "../properties.js";
|
|
|
11
11
|
* @returns A Record of layer names to their properties, or null if no properties are found
|
|
12
12
|
*/
|
|
13
13
|
declare function getConfigVariantProperties(variant?: VariantConfig): {
|
|
14
|
-
[x: string]: Readonly<Record<string, SelectedConfigurableProperty<"
|
|
15
|
-
root: Readonly<Record<string, SelectedConfigurableProperty<"
|
|
14
|
+
[x: string]: Readonly<Record<string, SelectedConfigurableProperty<"textTransform" | "fontSize" | "fontWeight" | "lineHeight" | "fontFamily" | "letterSpacing" | "backgroundColor" | "borderWidth" | "underlineWidth" | "strokeWidth" | "borderRadius" | "borderRadiusVar" | "borderColor" | "underlineColor" | "stroke" | "buttonSize" | "buttonVariant" | "fontVariationSettings" | "gap" | "color" | "opacity" | "fillOpacity" | "iconSize" | "spacing" | "iconVariant" | "horizontalMargin" | "bottomMargin" | "spacingHorizontal" | "spacingVertical" | "textVariant" | "textDecorationLine" | "shadow" | "shadowVar" | "insetShadow" | "bannerInnerShadow" | "height" | "width" | "scaleEffect" | "backdropBlur" | "blurBackgroundColor" | "blurBackgroundColorFallback" | "scrimBackgroundColor" | "scrimOpacity", string, readonly ("backgroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases" | "elevationAliases")[] | readonly ("elevationAliases" | "borderWidths" | "spacingAliases")[] | readonly "borderRadii"[] | readonly ("spectrumColors" | "alwaysPaletteAliases" | "elevationAliases" | "linePaletteColors")[] | readonly "buttonSizes"[] | readonly "buttonVariantsFlat"[] | readonly "textVariants"[] | readonly "spacingAliases"[] | readonly ("spectrumColors" | "alwaysPaletteAliases" | "foregroundPaletteColors")[] | readonly "opacitySteps"[] | readonly "iconSizes"[] | readonly "iconVariants"[] | readonly "textDecorationLines"[] | readonly ("elevationAliases" | "shadowVariants" | "shadowVariantConfig")[] | readonly ("shadowVariantConfig" | "shadowVariantsWithInvert")[] | readonly "bannerInnerShadowOptions"[] | readonly "scaleEffects"[] | readonly "positiveIntegers"[] | readonly ("backgroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases")[], readonly (readonly unknown[])[]>>>;
|
|
15
|
+
root: Readonly<Record<string, SelectedConfigurableProperty<"textTransform" | "fontSize" | "fontWeight" | "lineHeight" | "fontFamily" | "letterSpacing" | "backgroundColor" | "borderWidth" | "underlineWidth" | "strokeWidth" | "borderRadius" | "borderRadiusVar" | "borderColor" | "underlineColor" | "stroke" | "buttonSize" | "buttonVariant" | "fontVariationSettings" | "gap" | "color" | "opacity" | "fillOpacity" | "iconSize" | "spacing" | "iconVariant" | "horizontalMargin" | "bottomMargin" | "spacingHorizontal" | "spacingVertical" | "textVariant" | "textDecorationLine" | "shadow" | "shadowVar" | "insetShadow" | "bannerInnerShadow" | "height" | "width" | "scaleEffect" | "backdropBlur" | "blurBackgroundColor" | "blurBackgroundColorFallback" | "scrimBackgroundColor" | "scrimOpacity", string, readonly ("backgroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases" | "elevationAliases")[] | readonly ("elevationAliases" | "borderWidths" | "spacingAliases")[] | readonly "borderRadii"[] | readonly ("spectrumColors" | "alwaysPaletteAliases" | "elevationAliases" | "linePaletteColors")[] | readonly "buttonSizes"[] | readonly "buttonVariantsFlat"[] | readonly "textVariants"[] | readonly "spacingAliases"[] | readonly ("spectrumColors" | "alwaysPaletteAliases" | "foregroundPaletteColors")[] | readonly "opacitySteps"[] | readonly "iconSizes"[] | readonly "iconVariants"[] | readonly "textDecorationLines"[] | readonly ("elevationAliases" | "shadowVariants" | "shadowVariantConfig")[] | readonly ("shadowVariantConfig" | "shadowVariantsWithInvert")[] | readonly "bannerInnerShadowOptions"[] | readonly "scaleEffects"[] | readonly "positiveIntegers"[] | readonly ("backgroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases")[], readonly (readonly unknown[])[]>>>;
|
|
16
16
|
} | null; //#endregion
|
|
17
17
|
//#endregion
|
|
18
18
|
export { getConfigVariantProperties };
|
package/dist/components/Icon.cjs
CHANGED
|
@@ -5,7 +5,6 @@ const require_styles_styler = require('../styles/styler.cjs');
|
|
|
5
5
|
const require_tokens_configs_sizes = require('../tokens/configs/sizes.cjs');
|
|
6
6
|
let react = require("react");
|
|
7
7
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
|
-
let _yahoo_uds_icons_utils = require("@yahoo/uds-icons/utils");
|
|
9
8
|
|
|
10
9
|
//#region src/components/Icon.tsx
|
|
11
10
|
/**
|
|
@@ -37,13 +36,8 @@ let _yahoo_uds_icons_utils = require("@yahoo/uds-icons/utils");
|
|
|
37
36
|
*
|
|
38
37
|
* @related [IconButton](https://uds.build/docs/components/icon-button)
|
|
39
38
|
*/
|
|
40
|
-
const Icon = (0, react.forwardRef)(function BaseIcon({ name:
|
|
41
|
-
const
|
|
42
|
-
(0, _yahoo_uds_icons_utils.assertIsIconElement)(iconName);
|
|
43
|
-
return iconName;
|
|
44
|
-
})() : void 0;
|
|
45
|
-
const iconComponent = !iconElement ? iconName : void 0;
|
|
46
|
-
const availableVariants = iconElement ? (0, _yahoo_uds_icons_utils.getIconVariants)(iconElement) : [];
|
|
39
|
+
const Icon = (0, react.forwardRef)(function BaseIcon({ name: SVGIcon, size = "md", variant = "outline", color = "primary", className, ...props }, ref) {
|
|
40
|
+
const availableVariants = SVGIcon.metadata?.variants ?? [];
|
|
47
41
|
const effectiveVariant = availableVariants.includes(variant) ? variant : availableVariants[0] ?? "fill";
|
|
48
42
|
const isMulticolor = effectiveVariant === "multicolor";
|
|
49
43
|
const styles = require_styles_styler.getStyles({
|
|
@@ -52,13 +46,6 @@ const Icon = (0, react.forwardRef)(function BaseIcon({ name: iconName, size = "m
|
|
|
52
46
|
className: require_styles_styler.cx(className, !isMulticolor && "[&_path]:fill-current")
|
|
53
47
|
});
|
|
54
48
|
const sizePx = require_tokens_configs_sizes.normalIconSizes[size];
|
|
55
|
-
const renderedIcon = iconElement ? (0, react.cloneElement)(iconName, {
|
|
56
|
-
size,
|
|
57
|
-
variant: effectiveVariant
|
|
58
|
-
}) : iconComponent ? iconComponent({
|
|
59
|
-
size,
|
|
60
|
-
variant: effectiveVariant
|
|
61
|
-
}) : null;
|
|
62
49
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("svg", {
|
|
63
50
|
ref,
|
|
64
51
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -69,7 +56,10 @@ const Icon = (0, react.forwardRef)(function BaseIcon({ name: iconName, size = "m
|
|
|
69
56
|
focusable: "false",
|
|
70
57
|
className: styles,
|
|
71
58
|
...props,
|
|
72
|
-
children:
|
|
59
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(SVGIcon, {
|
|
60
|
+
size,
|
|
61
|
+
variant: effectiveVariant
|
|
62
|
+
})
|
|
73
63
|
});
|
|
74
64
|
});
|
|
75
65
|
Icon.displayName = "Icon";
|
package/dist/components/Icon.js
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
|
|
2
2
|
import { cx, getStyles } from "../styles/styler.js";
|
|
3
3
|
import { normalIconSizes } from "../tokens/configs/sizes.js";
|
|
4
|
-
import {
|
|
4
|
+
import { forwardRef } from "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
|
-
import { assertIsIconElement, getIconVariants } from "@yahoo/uds-icons/utils";
|
|
7
6
|
|
|
8
7
|
//#region src/components/Icon.tsx
|
|
9
8
|
/**
|
|
@@ -35,13 +34,8 @@ import { assertIsIconElement, getIconVariants } from "@yahoo/uds-icons/utils";
|
|
|
35
34
|
*
|
|
36
35
|
* @related [IconButton](https://uds.build/docs/components/icon-button)
|
|
37
36
|
*/
|
|
38
|
-
const Icon = forwardRef(function BaseIcon({ name:
|
|
39
|
-
const
|
|
40
|
-
assertIsIconElement(iconName);
|
|
41
|
-
return iconName;
|
|
42
|
-
})() : void 0;
|
|
43
|
-
const iconComponent = !iconElement ? iconName : void 0;
|
|
44
|
-
const availableVariants = iconElement ? getIconVariants(iconElement) : [];
|
|
37
|
+
const Icon = forwardRef(function BaseIcon({ name: SVGIcon, size = "md", variant = "outline", color = "primary", className, ...props }, ref) {
|
|
38
|
+
const availableVariants = SVGIcon.metadata?.variants ?? [];
|
|
45
39
|
const effectiveVariant = availableVariants.includes(variant) ? variant : availableVariants[0] ?? "fill";
|
|
46
40
|
const isMulticolor = effectiveVariant === "multicolor";
|
|
47
41
|
const styles = getStyles({
|
|
@@ -50,13 +44,6 @@ const Icon = forwardRef(function BaseIcon({ name: iconName, size = "md", variant
|
|
|
50
44
|
className: cx(className, !isMulticolor && "[&_path]:fill-current")
|
|
51
45
|
});
|
|
52
46
|
const sizePx = normalIconSizes[size];
|
|
53
|
-
const renderedIcon = iconElement ? cloneElement(iconName, {
|
|
54
|
-
size,
|
|
55
|
-
variant: effectiveVariant
|
|
56
|
-
}) : iconComponent ? iconComponent({
|
|
57
|
-
size,
|
|
58
|
-
variant: effectiveVariant
|
|
59
|
-
}) : null;
|
|
60
47
|
return /* @__PURE__ */ jsx("svg", {
|
|
61
48
|
ref,
|
|
62
49
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -67,7 +54,10 @@ const Icon = forwardRef(function BaseIcon({ name: iconName, size = "md", variant
|
|
|
67
54
|
focusable: "false",
|
|
68
55
|
className: styles,
|
|
69
56
|
...props,
|
|
70
|
-
children:
|
|
57
|
+
children: /* @__PURE__ */ jsx(SVGIcon, {
|
|
58
|
+
size,
|
|
59
|
+
variant: effectiveVariant
|
|
60
|
+
})
|
|
71
61
|
});
|
|
72
62
|
});
|
|
73
63
|
Icon.displayName = "Icon";
|
|
@@ -6,12 +6,10 @@ const require_components_Icon = require('./Icon.cjs');
|
|
|
6
6
|
let react = require("react");
|
|
7
7
|
react = require_runtime.__toESM(react);
|
|
8
8
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
9
|
-
let
|
|
9
|
+
let lodash_isFunction_js = require("lodash/isFunction.js");
|
|
10
|
+
lodash_isFunction_js = require_runtime.__toESM(lodash_isFunction_js);
|
|
10
11
|
|
|
11
12
|
//#region src/components/IconSlot.tsx
|
|
12
|
-
function isIconRenderOutput(icon) {
|
|
13
|
-
return (0, react.isValidElement)(icon) && (icon.type === react.default.Fragment || typeof icon.type === "string");
|
|
14
|
-
}
|
|
15
13
|
/**
|
|
16
14
|
* A helper container to render a SvgIcon, Icon component, or ReactNode.
|
|
17
15
|
*
|
|
@@ -32,38 +30,21 @@ const IconSlot = (0, react.memo)(function IconSlot({ icon, iconProps, className:
|
|
|
32
30
|
if (!icon) return null;
|
|
33
31
|
const { className: iconPropsClassName, ...props } = iconProps || {};
|
|
34
32
|
const mergedClassName = require_styles_styler.cx(slotClassName, iconPropsClassName);
|
|
35
|
-
|
|
36
|
-
|
|
33
|
+
const svgIcon = icon;
|
|
34
|
+
if (svgIcon.metadata?.isSvgIcon) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_components_Icon.Icon, {
|
|
35
|
+
name: svgIcon,
|
|
37
36
|
...props,
|
|
38
37
|
...rest,
|
|
39
38
|
className: mergedClassName
|
|
40
39
|
});
|
|
41
|
-
if (
|
|
40
|
+
if ((0, lodash_isFunction_js.default)(icon)) {
|
|
42
41
|
const iconEl = icon(iconProps || {});
|
|
43
|
-
if ((0, _yahoo_uds_icons_utils.isIconElement)(iconEl)) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_components_Icon.Icon, {
|
|
44
|
-
name: iconEl,
|
|
45
|
-
...props,
|
|
46
|
-
...rest,
|
|
47
|
-
className: mergedClassName
|
|
48
|
-
});
|
|
49
|
-
if (isIconRenderOutput(iconEl)) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_components_Icon.Icon, {
|
|
50
|
-
name: icon,
|
|
51
|
-
...props,
|
|
52
|
-
...rest,
|
|
53
|
-
className: mergedClassName
|
|
54
|
-
});
|
|
55
42
|
const elProps = iconEl?.props;
|
|
56
43
|
return (0, react.isValidElement)(iconEl) && (0, react.cloneElement)(iconEl, {
|
|
57
44
|
...rest,
|
|
58
45
|
className: require_styles_styler.cx(mergedClassName, elProps?.className)
|
|
59
46
|
});
|
|
60
47
|
}
|
|
61
|
-
if (isIconRenderOutput(icon)) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_components_Icon.Icon, {
|
|
62
|
-
name: ((svgIconProps) => (0, react.cloneElement)(icon, svgIconProps)),
|
|
63
|
-
...props,
|
|
64
|
-
...rest,
|
|
65
|
-
className: mergedClassName
|
|
66
|
-
});
|
|
67
48
|
const elProps = icon.props;
|
|
68
49
|
return (0, react.isValidElement)(icon) && (0, react.cloneElement)(icon, {
|
|
69
50
|
...props,
|
|
@@ -3,12 +3,9 @@ import { cx } from "../styles/styler.js";
|
|
|
3
3
|
import { Icon } from "./Icon.js";
|
|
4
4
|
import React, { cloneElement, isValidElement, memo } from "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
|
-
import {
|
|
6
|
+
import { isFunction } from "lodash-es";
|
|
7
7
|
|
|
8
8
|
//#region src/components/IconSlot.tsx
|
|
9
|
-
function isIconRenderOutput(icon) {
|
|
10
|
-
return isValidElement(icon) && (icon.type === React.Fragment || typeof icon.type === "string");
|
|
11
|
-
}
|
|
12
9
|
/**
|
|
13
10
|
* A helper container to render a SvgIcon, Icon component, or ReactNode.
|
|
14
11
|
*
|
|
@@ -29,38 +26,21 @@ const IconSlot = memo(function IconSlot({ icon, iconProps, className: slotClassN
|
|
|
29
26
|
if (!icon) return null;
|
|
30
27
|
const { className: iconPropsClassName, ...props } = iconProps || {};
|
|
31
28
|
const mergedClassName = cx(slotClassName, iconPropsClassName);
|
|
32
|
-
|
|
33
|
-
|
|
29
|
+
const svgIcon = icon;
|
|
30
|
+
if (svgIcon.metadata?.isSvgIcon) return /* @__PURE__ */ jsx(Icon, {
|
|
31
|
+
name: svgIcon,
|
|
34
32
|
...props,
|
|
35
33
|
...rest,
|
|
36
34
|
className: mergedClassName
|
|
37
35
|
});
|
|
38
|
-
if (
|
|
36
|
+
if (isFunction(icon)) {
|
|
39
37
|
const iconEl = icon(iconProps || {});
|
|
40
|
-
if (isIconElement(iconEl)) return /* @__PURE__ */ jsx(Icon, {
|
|
41
|
-
name: iconEl,
|
|
42
|
-
...props,
|
|
43
|
-
...rest,
|
|
44
|
-
className: mergedClassName
|
|
45
|
-
});
|
|
46
|
-
if (isIconRenderOutput(iconEl)) return /* @__PURE__ */ jsx(Icon, {
|
|
47
|
-
name: icon,
|
|
48
|
-
...props,
|
|
49
|
-
...rest,
|
|
50
|
-
className: mergedClassName
|
|
51
|
-
});
|
|
52
38
|
const elProps = iconEl?.props;
|
|
53
39
|
return isValidElement(iconEl) && cloneElement(iconEl, {
|
|
54
40
|
...rest,
|
|
55
41
|
className: cx(mergedClassName, elProps?.className)
|
|
56
42
|
});
|
|
57
43
|
}
|
|
58
|
-
if (isIconRenderOutput(icon)) return /* @__PURE__ */ jsx(Icon, {
|
|
59
|
-
name: ((svgIconProps) => cloneElement(icon, svgIconProps)),
|
|
60
|
-
...props,
|
|
61
|
-
...rest,
|
|
62
|
-
className: mergedClassName
|
|
63
|
-
});
|
|
64
44
|
const elProps = icon.props;
|
|
65
45
|
return isValidElement(icon) && cloneElement(icon, {
|
|
66
46
|
...props,
|
|
@@ -19,10 +19,6 @@ const defaultSizeRootClass = require_generateDefaultClassName.generateDefaultCla
|
|
|
19
19
|
const defaultSizeIconClass = require_generateDefaultClassName.generateDefaultClassName("iconbutton", "size", "icon");
|
|
20
20
|
const defaultVariantRootClass = require_generateDefaultClassName.generateDefaultClassName("button", "variant", "root");
|
|
21
21
|
const defaultVariantIconClass = require_generateDefaultClassName.generateDefaultClassName("button", "variant", "icon");
|
|
22
|
-
function getIconMotionKey(icon) {
|
|
23
|
-
if ((0, react.isValidElement)(icon)) return icon.props?.__iconMetadata?.name ?? icon.type?.toString?.() ?? "icon";
|
|
24
|
-
return icon?.displayName ?? icon?.name ?? "icon";
|
|
25
|
-
}
|
|
26
22
|
/**
|
|
27
23
|
* **⚙️️ An icon button element that can be used to trigger an action**
|
|
28
24
|
*
|
|
@@ -123,7 +119,7 @@ const IconButton = (0, react.forwardRef)(function IconButton({ variant, size, ic
|
|
|
123
119
|
color: "current",
|
|
124
120
|
className: styles.icon
|
|
125
121
|
})
|
|
126
|
-
},
|
|
122
|
+
}, name.name)]
|
|
127
123
|
})
|
|
128
124
|
})
|
|
129
125
|
});
|
|
@@ -8,7 +8,7 @@ import { buttonIconSvgSize } from "./buttonConstants.js";
|
|
|
8
8
|
import { SpringMotionConfig } from "./SpringMotionConfig.js";
|
|
9
9
|
import { iconMotionVariants, loadingMotionVariants } from "./Button.js";
|
|
10
10
|
import { Progress } from "@yahoo/uds-icons";
|
|
11
|
-
import { forwardRef,
|
|
11
|
+
import { forwardRef, useImperativeHandle, useMemo, useRef } from "react";
|
|
12
12
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
13
13
|
import { AnimatePresence, m, useReducedMotion } from "motion/react";
|
|
14
14
|
|
|
@@ -17,10 +17,6 @@ const defaultSizeRootClass = generateDefaultClassName("iconbutton", "size", "roo
|
|
|
17
17
|
const defaultSizeIconClass = generateDefaultClassName("iconbutton", "size", "icon");
|
|
18
18
|
const defaultVariantRootClass = generateDefaultClassName("button", "variant", "root");
|
|
19
19
|
const defaultVariantIconClass = generateDefaultClassName("button", "variant", "icon");
|
|
20
|
-
function getIconMotionKey(icon) {
|
|
21
|
-
if (isValidElement(icon)) return icon.props?.__iconMetadata?.name ?? icon.type?.toString?.() ?? "icon";
|
|
22
|
-
return icon?.displayName ?? icon?.name ?? "icon";
|
|
23
|
-
}
|
|
24
20
|
/**
|
|
25
21
|
* **⚙️️ An icon button element that can be used to trigger an action**
|
|
26
22
|
*
|
|
@@ -121,7 +117,7 @@ const IconButton = forwardRef(function IconButton({ variant, size, iconVariant,
|
|
|
121
117
|
color: "current",
|
|
122
118
|
className: styles.icon
|
|
123
119
|
})
|
|
124
|
-
},
|
|
120
|
+
}, name.name)]
|
|
125
121
|
})
|
|
126
122
|
})
|
|
127
123
|
});
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
|
|
2
|
+
//#region ../icons/dist/types.d.ts
|
|
3
|
+
type IconSize = 'xs' | 'sm' | 'md' | 'lg';
|
|
4
|
+
type IconVariant = 'fill' | 'outline' | 'multicolor';
|
|
5
|
+
interface SvgIconProps {
|
|
6
|
+
size?: IconSize;
|
|
7
|
+
variant?: IconVariant;
|
|
8
|
+
}
|
|
9
|
+
interface SvgIconWithStaticProps<SvgIconProps> extends React.FunctionComponent<SvgIconProps> {
|
|
10
|
+
metadata: {
|
|
11
|
+
/** Icon name */name: string; /** Whether this is an SVG icon */
|
|
12
|
+
isSvgIcon: boolean; /** List of available variants for this icon */
|
|
13
|
+
variants: IconVariant[];
|
|
14
|
+
/**
|
|
15
|
+
* Semantic category, e.g. 'Actions', 'Navigation'. Defaults to 'Other' once
|
|
16
|
+
* codegen emits this field. Optional until then so checked-in
|
|
17
|
+
* generated icons typecheck without a mass metadata update.
|
|
18
|
+
*/
|
|
19
|
+
category?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Search tags parsed from Figma description. Defaults to [] once codegen
|
|
22
|
+
* emits this field. Optional until then for the same reason as
|
|
23
|
+
* `category`.
|
|
24
|
+
*/
|
|
25
|
+
tags?: string[];
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
type SvgIcon = SvgIconWithStaticProps<SvgIconProps>; //#endregion
|
|
29
|
+
//#endregion
|
|
30
|
+
export { type SvgIcon };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
|
|
2
|
+
//#region ../icons/dist/types.d.ts
|
|
3
|
+
type IconSize = 'xs' | 'sm' | 'md' | 'lg';
|
|
4
|
+
type IconVariant = 'fill' | 'outline' | 'multicolor';
|
|
5
|
+
interface SvgIconProps {
|
|
6
|
+
size?: IconSize;
|
|
7
|
+
variant?: IconVariant;
|
|
8
|
+
}
|
|
9
|
+
interface SvgIconWithStaticProps<SvgIconProps> extends React.FunctionComponent<SvgIconProps> {
|
|
10
|
+
metadata: {
|
|
11
|
+
/** Icon name */name: string; /** Whether this is an SVG icon */
|
|
12
|
+
isSvgIcon: boolean; /** List of available variants for this icon */
|
|
13
|
+
variants: IconVariant[];
|
|
14
|
+
/**
|
|
15
|
+
* Semantic category, e.g. 'Actions', 'Navigation'. Defaults to 'Other' once
|
|
16
|
+
* codegen emits this field. Optional until then so checked-in
|
|
17
|
+
* generated icons typecheck without a mass metadata update.
|
|
18
|
+
*/
|
|
19
|
+
category?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Search tags parsed from Figma description. Defaults to [] once codegen
|
|
22
|
+
* emits this field. Optional until then for the same reason as
|
|
23
|
+
* `category`.
|
|
24
|
+
*/
|
|
25
|
+
tags?: string[];
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
type SvgIcon = SvgIconWithStaticProps<SvgIconProps>; //#endregion
|
|
29
|
+
//#endregion
|
|
30
|
+
export { type SvgIcon };
|
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
import { variants } from "./styles/variants.cjs";
|
|
3
3
|
import { AvatarConfig, BadgeConfig, BannerConfig, BottomSheetConfig, ButtonConfig, CheckboxConfig, ChipConfig, DividerConfig, IconButtonConfig, InputConfig, LinkConfig, MenuContentConfig, MenuItemConfig, PopoverConfig, RadioConfig, ScrimConfig, SwitchConfig, TabConfig, TabsConfig, ToastConfig, TooltipConfig } from "./automated-config/dist/generated/generatedConfigs.cjs";
|
|
4
|
-
import { AlwaysPaletteAlias, AlwaysPaletteAliasWithPrefix, AlwaysPaletteColor, Animation, AriaAttribute, AvatarAbbreviationStrategy, AvatarShape, AvatarSize, AvatarSizeConfig, AvatarVariant, BackgroundColor, BackgroundPalette, BackgroundPaletteAlias, BackgroundStyleProps, BackwardsCompatibleReactElement, BadgeSize, BadgeVariant, BannerInnerShadowOption, BannerSize, BannerVariant, BorderRadius, BorderRadiusConfig, BorderStyleProps, BorderWidth, BorderWidthConfig, BorderWidthWithElevation, BottomSheetHeight, BottomSheetSnapPoints, BottomSheetVariant, Breakpoint, BreakpointValue, BreakpointWithBase, BreakpointsConfig, ButtonPalette, ButtonPaletteColor, ButtonSize, ButtonSpectrumColor, ButtonVariant, ButtonVariantFlat, CheckboxSize, CheckboxValue, CheckboxVariant, ChipSize, ChipVariant, ColorMode, ColorModeConfig, ColorModeForApp, ColorsConfig, CustomSizingStyleProps, DataAttribute, DeprecatedAlwaysPaletteAlias, Display, DividerVariant, ElevationAlias, ElevationBackgroundFillColor, ElevationBorderColor, ElevationConfig, ElevationCustomShadows, ElevationGlobalRampConfig, ElevationGlobalRampSettings, ElevationLevel, ElevationPreset, ElevationSurfaceColor, ExtractUrlFromFontFaceRule, Flex, FlexAlignContent, FlexAlignItems, FlexAlignSelf, FlexBasis, FlexDirection, FlexGrow, FlexJustifyContent, FlexShrink, FlexStyleProps, FlexWrap, FocusRingColor, FocusRingConfig, FocusRingModeConfig, FocusRingOffset, FocusRingWidth, FontAlias, FontConfig, FontCssVar, FontFamilyConfig, FontSize, FontSizeConfig, FontSlantConfig, FontType, FontWeightConfig, FontWeightDescriptive, FontWeightNumeric, FontWidthConfig, ForegroundColor, ForegroundPalette, ForegroundPaletteAlias, GenericIconComponent,
|
|
4
|
+
import { AlwaysPaletteAlias, AlwaysPaletteAliasWithPrefix, AlwaysPaletteColor, Animation, AriaAttribute, AvatarAbbreviationStrategy, AvatarShape, AvatarSize, AvatarSizeConfig, AvatarVariant, BackgroundColor, BackgroundPalette, BackgroundPaletteAlias, BackgroundStyleProps, BackwardsCompatibleReactElement, BadgeSize, BadgeVariant, BannerInnerShadowOption, BannerSize, BannerVariant, BorderRadius, BorderRadiusConfig, BorderStyleProps, BorderWidth, BorderWidthConfig, BorderWidthWithElevation, BottomSheetHeight, BottomSheetSnapPoints, BottomSheetVariant, Breakpoint, BreakpointValue, BreakpointWithBase, BreakpointsConfig, ButtonPalette, ButtonPaletteColor, ButtonSize, ButtonSpectrumColor, ButtonVariant, ButtonVariantFlat, CheckboxSize, CheckboxValue, CheckboxVariant, ChipSize, ChipVariant, ColorMode, ColorModeConfig, ColorModeForApp, ColorsConfig, CustomSizingStyleProps, DataAttribute, DeprecatedAlwaysPaletteAlias, Display, DividerVariant, ElevationAlias, ElevationBackgroundFillColor, ElevationBorderColor, ElevationConfig, ElevationCustomShadows, ElevationGlobalRampConfig, ElevationGlobalRampSettings, ElevationLevel, ElevationPreset, ElevationSurfaceColor, ExtractUrlFromFontFaceRule, Flex, FlexAlignContent, FlexAlignItems, FlexAlignSelf, FlexBasis, FlexDirection, FlexGrow, FlexJustifyContent, FlexShrink, FlexStyleProps, FlexWrap, FocusRingColor, FocusRingConfig, FocusRingModeConfig, FocusRingOffset, FocusRingWidth, FontAlias, FontConfig, FontCssVar, FontFamilyConfig, FontSize, FontSizeConfig, FontSlantConfig, FontType, FontWeightConfig, FontWeightDescriptive, FontWeightNumeric, FontWidthConfig, ForegroundColor, ForegroundPalette, ForegroundPaletteAlias, GenericIconComponent, GlobalDefaultsConfig, HighContrastMode, Hue, HueStep, IconButtonSize, IconPixelSize, IconSize, IconSizeConfig, IconSlotRenderProps, IconVariant, ImagePropsWithImgProps, ImageStyleProps, ImgElementProps, InputSize, LayoutStyleProps, LineClampAlias, LineColor, LineHeight, LineHeightConfig, LinePalette, LinePaletteAlias, LinkTextVariant, LinkVariant, LinkableValue, MaxLengthArray, Modes, MotionConfig, MotionCssVar, MotionSpringConfig, MotionSpringConfigOptions, MotionVariant, MotionVariantSpeed, MotionVariantValues, NestedBorderRadiusStyleProps, OpacityStep, Overflow, Palette, PaletteConfig, PaletteType, PaletteValue, Percentage, PercentageUnit, PixelsUnit, PlatformMode, PopoverPlacement, PopoverSize, PopoverVariant, Position, PropertyToPaletteAliasMap, RGBAUnit, RGBColorValue, RGBUnit, RadioSize, RadioValue, RadioVariant, RegionMode, RemsUnit, SVGElementProps, ScaleConfig, ScaleEffect, ScaleMode, ScaleModeConfig, ScaleModeForApp, ShadowAlwaysColor, ShadowColor, ShadowColorConfig, ShadowConfig, ShadowOffset, ShadowOpacity, ShadowPalette, ShadowPaletteAlias, ShadowPaletteColor, ShadowPreset, ShadowSpectrumColor, ShadowSpreadRadius, ShadowStyleProps, ShadowType, ShadowTypeConfig, ShadowVariant, ShadowVariantConfig, ShadowVariantInvert, ShadowVariantWithElevation, ShadowVariantWithInvert, SharedPaletteAlias, SizeStyleProps, SpacingAlias, SpacingConfig, SpacingStyleProps, SpectrumColor, SpectrumConfig, SpectrumRGB, SpectrumValue, SpectrumValueEntry, StateStyleProps, StyleProps, SwitchSize, TShirtSize, TShirtSizeCommon, TextDecorationLine, TextProperty, TextStyleProps, TextTransform, TextTransformConfig, TextVariant, TextVariantTypography, TextVariantUi, TextVariantWithoutEmphasized, ToastPosition, ToastSize, ToastVariant, TooltipPlacement, TooltipSize, TooltipVariant, TransitionDelay, TransitionDuration, TransitionTiming, TypographyConfig, TypographyResponsiveProperty, TypographyStyle, TypographyStyleProperty, TypographyUnitValue, UdsCssVar, UnitlessUnit, UniversalAvatarBaseProps, UniversalAvatarIconProps, UniversalAvatarProps, UniversalAvatarTextProps, UniversalBadgeProps, UniversalBannerProps, UniversalBottomSheetContentProps, UniversalBottomSheetHeaderProps, UniversalBottomSheetProps, UniversalBoxProps, UniversalButtonProps, UniversalCheckboxProps, UniversalChipBaseProps, UniversalChipButtonProps, UniversalChipDismissibleProps, UniversalChipLinkProps, UniversalChipToggleProps, UniversalDividerProps, UniversalFormLabelProps, UniversalIconProps, UniversalIconSlot, UniversalImageProps, UniversalInputProps, UniversalLinkProps, UniversalMenuItemProps, UniversalPopoverContentProps, UniversalPopoverProps, UniversalPopoverTriggerProps, UniversalPressableProps, UniversalRadioGroupProps, UniversalRadioProps, UniversalStackProps, UniversalSwitchProps, UniversalTabListProps, UniversalTabPanelProps, UniversalTabProps, UniversalTabsProps, UniversalTabsVariant, UniversalTextProps, UniversalToastProps, UniversalTokensConfigAutoBase, UniversalTokensConfigBase, UniversalTokensConfigGeneric, UniversalTooltipContentProps, UniversalTooltipProps, UniversalTooltipTriggerProps } from "./types/dist/index.cjs";
|
|
5
5
|
import { AllPossibleProperties, ComponentConfig, ComponentStateConfig, LayerConfig, PossibleStates, PossibleStatesWithRest, SubComponentConfig, VariantConfig, VariantConfigWithComponentStates, VariantConfigWithProperties } from "./automated-config/dist/types/ComponentConfig.cjs";
|
|
6
6
|
import { ConfigurablePropertiesName, SelectedConfigurableProperty } from "./automated-config/dist/properties.cjs";
|
|
7
7
|
import { ComponentSchema, buildConfigSchema, findFixtureType } from "./automated-config/dist/utils/buildConfigSchema.cjs";
|
|
@@ -113,4 +113,4 @@ import { SetState } from "./types.cjs";
|
|
|
113
113
|
import { defineTheme } from "./tailwind/dist/css/theme.cjs";
|
|
114
114
|
import "./tailwind/dist/index.cjs";
|
|
115
115
|
import { PopoverContent } from "./components/client/Popover/PopoverContent.cjs";
|
|
116
|
-
export { ALWAYS_PREFIX, AVATAR_SIZE_PREFIX, AllPossibleProperties, AllSelectors, AllVariantKeys, AlwaysPaletteAlias, AlwaysPaletteAliasWithPrefix, AlwaysPaletteColor, Animation, AriaAttribute, AutoComponentName, Avatar, AvatarAbbreviationStrategy, AvatarConfig, AvatarIcon, AvatarIconProps, AvatarImage, AvatarImageProps, AvatarProps, AvatarShape, AvatarSize, AvatarSizeConfig, AvatarText, AvatarTextProps, AvatarVariant, BACKGROUND_BLUR_COLOR_PREFIX, BACKGROUND_BLUR_FALLBACK_COLOR_PREFIX, BACKGROUND_BLUR_RADIUS_PREFIX, BACKGROUND_COLOR_PREFIX, BORDER_RADIUS_PREFIX, BORDER_WIDTH_PREFIX, BUTTON_GAP_VAR, BUTTON_SCALE_EFFECT, BUTTON_SCALE_EFFECT_HOVER, BUTTON_SCALE_EFFECT_PRESSED, BUTTON_SCALE_EFFECT_REST, BackgroundColor, BackgroundPalette, BackgroundPaletteAlias, BackgroundStyleProps, BackwardsCompatibleReactElement, Badge, BadgeConfig, BadgeProps, BadgeSize, BadgeVariant, Banner, BannerConfig, BannerContent, BannerContentProps, BannerDescription, BannerDescriptionProps, BannerInnerShadowOption, BannerProps, BannerSize, BannerTitle, BannerTitleProps, BannerVariant, BaseSelector, BorderRadius, BorderRadiusConfig, BorderStyleProps, BorderWidth, BorderWidthConfig, BorderWidthWithElevation, BottomSheet, BottomSheetConfig, BottomSheetContent, BottomSheetContentProps, BottomSheetController, BottomSheetDismiss, BottomSheetDismissProps, BottomSheetHeader, BottomSheetHeaderProps, BottomSheetHeight, BottomSheetProps, BottomSheetProvider, BottomSheetProviderProps, BottomSheetSnapPoints, BottomSheetTrigger, BottomSheetTriggerProps, BottomSheetVariant, Box, BoxProps, Breakpoint, BreakpointValue, BreakpointWithBase, BreakpointsConfig, Button, ButtonConfig, ButtonPalette, ButtonPaletteColor, ButtonProps, ButtonSize, ButtonSpectrumColor, ButtonVariant, ButtonVariantFlat, Checkbox, CheckboxConfig, CheckboxProps, CheckboxSize, CheckboxValue, CheckboxVariant, Chip, ChipButton, ChipButtonProps, ChipConfig, ChipDismissible, ChipDismissibleProps, ChipLink, ChipLinkProps, ChipProps, ChipSize, ChipToggle, ChipToggleProps, ChipVariant, ColorMode, ColorModeConfig, ColorModeForApp, ColorsConfig, ComponentConfig, ComponentSchema, ComponentStateConfig, ConfigurableComponentName, ConfigurablePropertiesName, CssStyleObject, CustomSizingStyleProps, DARK_COLOR_MODE_CLASSNAME, DEFAULT_COLOR_MODE, DEFAULT_COLOR_MODE_CLASSNAME, DEFAULT_COLOR_MODE_FOR_APP, DEFAULT_HIGH_CONTRAST_MODE, DEFAULT_REGION_MODE, DEFAULT_SCALE_MODE, DEFAULT_SCALE_MODE_CLASSNAME, DEFAULT_SCALE_MODE_FOR_APP, DROP_SHADOW_PREFIX, DataAttribute, DeprecatedAlwaysPaletteAlias, Display, Divider, DividerConfig, DividerProps, DividerVariant, ElevationAlias, ElevationBackgroundFillColor, ElevationBorderColor, ElevationConfig, ElevationCustomShadows, ElevationGlobalRampConfig, ElevationGlobalRampSettings, ElevationLevel, ElevationPreset, ElevationSurfaceColor, ExtractUrlFromFontFaceRule, FONT_DECLARATIONS_MAP, FONT_FAMILY_PREFIX, FONT_SIZE_PREFIX, FONT_SLANT_PREFIX, FONT_WEIGHT_PREFIX, FONT_WIDTH_PREFIX, Flex, FlexAlignContent, FlexAlignItems, FlexAlignSelf, FlexBasis, FlexDirection, FlexGrow, FlexJustifyContent, FlexShrink, FlexStyleProps, FlexWrap, FocusRingColor, FocusRingConfig, FocusRingModeConfig, FocusRingOffset, FocusRingWidth, FontAlias, FontAxisConfig, FontConfig, FontCssVar, FontDeclarationConfig, FontDeclarationItemConfig, FontDeclarationMap, FontFamilyCDNUrl, FontFamilyConfig, FontID, FontSize, FontSizeConfig, FontSlantConfig, FontType, FontUrlConfig, FontUrlMap, FontWeightConfig, FontWeightDescriptive, FontWeightForFont, FontWeightNumeric, FontWidthConfig, ForegroundColor, ForegroundPalette, ForegroundPaletteAlias, FormLabel, FormLabelProps, GenericIconComponent, GenericIconElement, GetMotionVarParams, GlobalDefaultsConfig, HStack, HStackProps, HighContrastMode, Hue, HueStep, ICON_SIZE_PREFIX, INVERT_COLOR_MODE_CLASSNAME, Icon, IconButton, IconButtonConfig, IconButtonProps, IconButtonSize, IconPixelSize, IconProps, IconPropsWithSVGProps, IconSize, IconSizeConfig, IconSlotRenderProps, IconVariant, Image, ImageProps, ImagePropsWithImgProps, ImageStyleProps, ImgElementProps, Input, InputConfig, InputHelpText, InputHelpTextProps, InputProps, InputSize, LARGE_SCALE_MODE_CLASSNAME, LETTER_SPACING_PREFIX, LIGHT_COLOR_MODE_CLASSNAME, LINE_COLOR_PREFIX, LINE_HEIGHT_PREFIX, LayerConfig, LayoutStyleProps, LineClampAlias, LineColor, LineHeight, LineHeightConfig, LinePalette, LinePaletteAlias, Link, LinkConfig, LinkProps, LinkTextVariant, LinkVariant, LinkableValue, MEDIUM_SCALE_MODE_CLASSNAME, MOTION_PREFIX, MaxLengthArray, Menu_index_d_exports as Menu, MenuContentConfig, MenuContentProps, MenuDividerProps, MenuItemCheckboxProps, MenuItemConfig, MenuItemProps, MenuPlacement, MenuProviderProps, MenuTriggerProps, Modes, MotionConfig, MotionCssVar, MotionSpringConfig, MotionSpringConfigOptions, MotionVariant, MotionVariantSpeed, MotionVariantValues, NestedBorderRadiusStyleProps, OUTLINE_PREFIX, OpacityStep, Overflow, PSEUDO_STYLE_SELECTOR_MAP, Palette, PaletteConfig, PaletteType, PaletteValue, ParentVariantSelector, Percentage, PercentageUnit, PixelsUnit, PlatformMode, Popover, PopoverConfig, PopoverContent, UniversalPopoverContentProps as PopoverContentProps, PopoverPlacement, UniversalPopoverProps as PopoverProps, PopoverSize, PopoverTrigger, UniversalPopoverTriggerProps as PopoverTriggerProps, PopoverVariant, Position, PossibleStates, PossibleStatesWithRest, Pressable, PressableProps, PropertyToPaletteAliasMap, RGBAUnit, RGBColorValue, RGBUnit, Radio, RadioConfig, RadioGroupProvider, RadioGroupProviderProps, RadioProps, RadioSize, RadioValue, RadioVariant, RegionMode, RemsUnit, ResolvedTokensConfig, SMALL_SCALE_MODE_CLASSNAME, SPECTRUM_COLOR_PREFIX, SVGElementProps, SYSTEM_COLOR_MODE_CLASSNAME, ScaleConfig, ScaleEffect, ScaleMode, ScaleModeConfig, ScaleModeForApp, Scrim, ScrimConfig, ScrimProps, SelectedConfigurableProperty, SetState, ShadowAlwaysColor, ShadowColor, ShadowColorConfig, ShadowConfig, ShadowOffset, ShadowOpacity, ShadowPalette, ShadowPaletteAlias, ShadowPaletteColor, ShadowPreset, ShadowSpectrumColor, ShadowSpreadRadius, ShadowStyleProps, ShadowType, ShadowTypeConfig, ShadowVariant, ShadowVariantConfig, ShadowVariantInvert, ShadowVariantWithElevation, ShadowVariantWithInvert, SharedPaletteAlias, SizeStyleProps, SpacingAlias, SpacingConfig, SpacingStyleProps, SpectrumColor, SpectrumConfig, SpectrumRGB, SpectrumValue, SpectrumValueEntry, SpringMotionConfig, SpringMotionConfigProps, StateStyleProps, StyleProps, SubComponentConfig, Switch, SwitchConfig, SwitchProps, SwitchSize, TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES, TEXT_RESPONSIVE_CLASSNAME, TEXT_TRANSFORM_PREFIX, TShirtSize, TShirtSizeCommon, Tab, TabConfig, TabList, TabListProps, TabPanel, TabPanelProps, TabProps, Tabs, TabsConfig, TabsProps, TabsVariant, Text, TextDecorationLine, TextProperty, TextProps, TextStyleProps, TextTransform, TextTransformConfig, TextVariant, TextVariantTypography, TextVariantUi, TextVariantWithoutEmphasized, Toast, ToastConfig, ToastContainer, ToastContainerProps, ToastLoadingPromise, ToastPortal, ToastPortalProps, ToastPosition, ToastProps, ToastSize, ToastVariant, Tooltip, TooltipConfig, TooltipContent, UniversalTooltipContentProps as TooltipContentProps, TooltipPlacement, UniversalTooltipProps as TooltipProps, TooltipSize, TooltipTrigger, UniversalTooltipTriggerProps as TooltipTriggerProps, TooltipVariant, TransitionDelay, TransitionDuration, TransitionTiming, TypographyConfig, TypographyResponsiveProperty, TypographyStyle, TypographyStyleProperty, TypographyUnitValue, UDSBottomSheetConfigContextType, UDSBreakpointsConfigContextType, UDSBreakpointsConfigProvider, UDSBreakpointsConfigProviderProps, UDSConfigContextType, UDSConfigProvider, UDSConfigProviderProps, UDSPopoverConfigContextType, UDSPopoverConfigProvider, UDSPopoverConfigProviderProps, UDSToastConfigContextType, UDSToastConfigProvider, UDSToastConfigProviderProps, UDSTooltipConfigContextType, UDSTooltipConfigProvider, UDSTooltipConfigProviderProps, UDS_PREFIX, UdsCssVar, UnitlessUnit, UniversalAvatarBaseProps, UniversalAvatarIconProps, UniversalAvatarImageProps, UniversalAvatarProps, UniversalAvatarTextProps, UniversalBadgeProps, UniversalBannerProps, UniversalBottomSheetContentProps, UniversalBottomSheetHeaderProps, UniversalBottomSheetProps, UniversalBoxProps, UniversalButtonProps, UniversalCheckboxProps, UniversalChipBaseProps, UniversalChipButtonProps, UniversalChipDismissibleProps, UniversalChipLinkProps, UniversalChipProps, UniversalChipToggleProps, UniversalDividerProps, UniversalFormLabelProps, UniversalIconButtonProps, UniversalIconProps, UniversalIconSlot, UniversalImageProps, UniversalInputProps, UniversalLinkProps, UniversalMenuItemProps, UniversalPopoverContentProps, UniversalPopoverProps, UniversalPopoverTriggerProps, UniversalPressableProps, UniversalRadioGroupProps, UniversalRadioProps, UniversalStackProps, UniversalSwitchProps, UniversalTabListProps, UniversalTabPanelProps, UniversalTabProps, UniversalTabsProps, UniversalTabsVariant, UniversalTextProps, UniversalToastProps, UniversalTokensConfig, UniversalTokensConfigAuto, UniversalTokensConfigAutoBase, UniversalTokensConfigBase, UniversalTokensConfigGeneric, UniversalTooltipContentProps, UniversalTooltipProps, UniversalTooltipTriggerProps, VStack, VStackProps, VariantConfig, VariantConfigWithComponentStates, VariantConfigWithProperties, XLARGE_SCALE_MODE_CLASSNAME, XSMALL_SCALE_MODE_CLASSNAME, XXLARGE_SCALE_MODE_CLASSNAME, XXXLARGE_SCALE_MODE_CLASSNAME, alwaysPalette, buildConfigSchema, cartesianProduct, coalesceConfigVariant, configToBottomSheetConfigContext, configToBreakpointsConfigContext, configToPopoverConfigContext, configToToastConfigContext, configToTooltipConfigContext, configToUDSConfigContext, createComponentStates, createConfigurableProperty, createLayerConfig, createSubComponentConfig, createToast, createVariantConfig, createVariantConfigWithComponentStates, createVariantConfigWithProperties, cva, cx, defineTheme, deprecatedAlwaysPalette, entries, findFixtureType, fontUrls, fromEntries, generateClassName, generateConfigStyles, generateDeclaration, generateDefaultClassName, generateKeyFromFlatConfigPath, generateSchemaKey, generateStyles, getConfigDefaultValue, getConfigSubcomponents, getConfigVariantComponentStates, getConfigVariantComponentStatesMatrix, getConfigVariantProperties, getConfigVariantPseudoStates, getConfigVariants, getFontUrls, getFontUrlsByIds, getMotionVar, getShadowLayerValue, getStyles, getStylesCacheKeySymbol, isConfigDefaultValue, mapValues, newAlwaysPalette, parseButtonVariantFlat, shadow, spectrumRgbToString, statePseudoMapDocsMode, textVariantsSafe, toRgbChannel, toSpectrumValueEntry, useBottomSheetStore, useBreakpointsConfig, useToastConfig, variants };
|
|
116
|
+
export { ALWAYS_PREFIX, AVATAR_SIZE_PREFIX, AllPossibleProperties, AllSelectors, AllVariantKeys, AlwaysPaletteAlias, AlwaysPaletteAliasWithPrefix, AlwaysPaletteColor, Animation, AriaAttribute, AutoComponentName, Avatar, AvatarAbbreviationStrategy, AvatarConfig, AvatarIcon, AvatarIconProps, AvatarImage, AvatarImageProps, AvatarProps, AvatarShape, AvatarSize, AvatarSizeConfig, AvatarText, AvatarTextProps, AvatarVariant, BACKGROUND_BLUR_COLOR_PREFIX, BACKGROUND_BLUR_FALLBACK_COLOR_PREFIX, BACKGROUND_BLUR_RADIUS_PREFIX, BACKGROUND_COLOR_PREFIX, BORDER_RADIUS_PREFIX, BORDER_WIDTH_PREFIX, BUTTON_GAP_VAR, BUTTON_SCALE_EFFECT, BUTTON_SCALE_EFFECT_HOVER, BUTTON_SCALE_EFFECT_PRESSED, BUTTON_SCALE_EFFECT_REST, BackgroundColor, BackgroundPalette, BackgroundPaletteAlias, BackgroundStyleProps, BackwardsCompatibleReactElement, Badge, BadgeConfig, BadgeProps, BadgeSize, BadgeVariant, Banner, BannerConfig, BannerContent, BannerContentProps, BannerDescription, BannerDescriptionProps, BannerInnerShadowOption, BannerProps, BannerSize, BannerTitle, BannerTitleProps, BannerVariant, BaseSelector, BorderRadius, BorderRadiusConfig, BorderStyleProps, BorderWidth, BorderWidthConfig, BorderWidthWithElevation, BottomSheet, BottomSheetConfig, BottomSheetContent, BottomSheetContentProps, BottomSheetController, BottomSheetDismiss, BottomSheetDismissProps, BottomSheetHeader, BottomSheetHeaderProps, BottomSheetHeight, BottomSheetProps, BottomSheetProvider, BottomSheetProviderProps, BottomSheetSnapPoints, BottomSheetTrigger, BottomSheetTriggerProps, BottomSheetVariant, Box, BoxProps, Breakpoint, BreakpointValue, BreakpointWithBase, BreakpointsConfig, Button, ButtonConfig, ButtonPalette, ButtonPaletteColor, ButtonProps, ButtonSize, ButtonSpectrumColor, ButtonVariant, ButtonVariantFlat, Checkbox, CheckboxConfig, CheckboxProps, CheckboxSize, CheckboxValue, CheckboxVariant, Chip, ChipButton, ChipButtonProps, ChipConfig, ChipDismissible, ChipDismissibleProps, ChipLink, ChipLinkProps, ChipProps, ChipSize, ChipToggle, ChipToggleProps, ChipVariant, ColorMode, ColorModeConfig, ColorModeForApp, ColorsConfig, ComponentConfig, ComponentSchema, ComponentStateConfig, ConfigurableComponentName, ConfigurablePropertiesName, CssStyleObject, CustomSizingStyleProps, DARK_COLOR_MODE_CLASSNAME, DEFAULT_COLOR_MODE, DEFAULT_COLOR_MODE_CLASSNAME, DEFAULT_COLOR_MODE_FOR_APP, DEFAULT_HIGH_CONTRAST_MODE, DEFAULT_REGION_MODE, DEFAULT_SCALE_MODE, DEFAULT_SCALE_MODE_CLASSNAME, DEFAULT_SCALE_MODE_FOR_APP, DROP_SHADOW_PREFIX, DataAttribute, DeprecatedAlwaysPaletteAlias, Display, Divider, DividerConfig, DividerProps, DividerVariant, ElevationAlias, ElevationBackgroundFillColor, ElevationBorderColor, ElevationConfig, ElevationCustomShadows, ElevationGlobalRampConfig, ElevationGlobalRampSettings, ElevationLevel, ElevationPreset, ElevationSurfaceColor, ExtractUrlFromFontFaceRule, FONT_DECLARATIONS_MAP, FONT_FAMILY_PREFIX, FONT_SIZE_PREFIX, FONT_SLANT_PREFIX, FONT_WEIGHT_PREFIX, FONT_WIDTH_PREFIX, Flex, FlexAlignContent, FlexAlignItems, FlexAlignSelf, FlexBasis, FlexDirection, FlexGrow, FlexJustifyContent, FlexShrink, FlexStyleProps, FlexWrap, FocusRingColor, FocusRingConfig, FocusRingModeConfig, FocusRingOffset, FocusRingWidth, FontAlias, FontAxisConfig, FontConfig, FontCssVar, FontDeclarationConfig, FontDeclarationItemConfig, FontDeclarationMap, FontFamilyCDNUrl, FontFamilyConfig, FontID, FontSize, FontSizeConfig, FontSlantConfig, FontType, FontUrlConfig, FontUrlMap, FontWeightConfig, FontWeightDescriptive, FontWeightForFont, FontWeightNumeric, FontWidthConfig, ForegroundColor, ForegroundPalette, ForegroundPaletteAlias, FormLabel, FormLabelProps, GenericIconComponent, GetMotionVarParams, GlobalDefaultsConfig, HStack, HStackProps, HighContrastMode, Hue, HueStep, ICON_SIZE_PREFIX, INVERT_COLOR_MODE_CLASSNAME, Icon, IconButton, IconButtonConfig, IconButtonProps, IconButtonSize, IconPixelSize, IconProps, IconPropsWithSVGProps, IconSize, IconSizeConfig, IconSlotRenderProps, IconVariant, Image, ImageProps, ImagePropsWithImgProps, ImageStyleProps, ImgElementProps, Input, InputConfig, InputHelpText, InputHelpTextProps, InputProps, InputSize, LARGE_SCALE_MODE_CLASSNAME, LETTER_SPACING_PREFIX, LIGHT_COLOR_MODE_CLASSNAME, LINE_COLOR_PREFIX, LINE_HEIGHT_PREFIX, LayerConfig, LayoutStyleProps, LineClampAlias, LineColor, LineHeight, LineHeightConfig, LinePalette, LinePaletteAlias, Link, LinkConfig, LinkProps, LinkTextVariant, LinkVariant, LinkableValue, MEDIUM_SCALE_MODE_CLASSNAME, MOTION_PREFIX, MaxLengthArray, Menu_index_d_exports as Menu, MenuContentConfig, MenuContentProps, MenuDividerProps, MenuItemCheckboxProps, MenuItemConfig, MenuItemProps, MenuPlacement, MenuProviderProps, MenuTriggerProps, Modes, MotionConfig, MotionCssVar, MotionSpringConfig, MotionSpringConfigOptions, MotionVariant, MotionVariantSpeed, MotionVariantValues, NestedBorderRadiusStyleProps, OUTLINE_PREFIX, OpacityStep, Overflow, PSEUDO_STYLE_SELECTOR_MAP, Palette, PaletteConfig, PaletteType, PaletteValue, ParentVariantSelector, Percentage, PercentageUnit, PixelsUnit, PlatformMode, Popover, PopoverConfig, PopoverContent, UniversalPopoverContentProps as PopoverContentProps, PopoverPlacement, UniversalPopoverProps as PopoverProps, PopoverSize, PopoverTrigger, UniversalPopoverTriggerProps as PopoverTriggerProps, PopoverVariant, Position, PossibleStates, PossibleStatesWithRest, Pressable, PressableProps, PropertyToPaletteAliasMap, RGBAUnit, RGBColorValue, RGBUnit, Radio, RadioConfig, RadioGroupProvider, RadioGroupProviderProps, RadioProps, RadioSize, RadioValue, RadioVariant, RegionMode, RemsUnit, ResolvedTokensConfig, SMALL_SCALE_MODE_CLASSNAME, SPECTRUM_COLOR_PREFIX, SVGElementProps, SYSTEM_COLOR_MODE_CLASSNAME, ScaleConfig, ScaleEffect, ScaleMode, ScaleModeConfig, ScaleModeForApp, Scrim, ScrimConfig, ScrimProps, SelectedConfigurableProperty, SetState, ShadowAlwaysColor, ShadowColor, ShadowColorConfig, ShadowConfig, ShadowOffset, ShadowOpacity, ShadowPalette, ShadowPaletteAlias, ShadowPaletteColor, ShadowPreset, ShadowSpectrumColor, ShadowSpreadRadius, ShadowStyleProps, ShadowType, ShadowTypeConfig, ShadowVariant, ShadowVariantConfig, ShadowVariantInvert, ShadowVariantWithElevation, ShadowVariantWithInvert, SharedPaletteAlias, SizeStyleProps, SpacingAlias, SpacingConfig, SpacingStyleProps, SpectrumColor, SpectrumConfig, SpectrumRGB, SpectrumValue, SpectrumValueEntry, SpringMotionConfig, SpringMotionConfigProps, StateStyleProps, StyleProps, SubComponentConfig, Switch, SwitchConfig, SwitchProps, SwitchSize, TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES, TEXT_RESPONSIVE_CLASSNAME, TEXT_TRANSFORM_PREFIX, TShirtSize, TShirtSizeCommon, Tab, TabConfig, TabList, TabListProps, TabPanel, TabPanelProps, TabProps, Tabs, TabsConfig, TabsProps, TabsVariant, Text, TextDecorationLine, TextProperty, TextProps, TextStyleProps, TextTransform, TextTransformConfig, TextVariant, TextVariantTypography, TextVariantUi, TextVariantWithoutEmphasized, Toast, ToastConfig, ToastContainer, ToastContainerProps, ToastLoadingPromise, ToastPortal, ToastPortalProps, ToastPosition, ToastProps, ToastSize, ToastVariant, Tooltip, TooltipConfig, TooltipContent, UniversalTooltipContentProps as TooltipContentProps, TooltipPlacement, UniversalTooltipProps as TooltipProps, TooltipSize, TooltipTrigger, UniversalTooltipTriggerProps as TooltipTriggerProps, TooltipVariant, TransitionDelay, TransitionDuration, TransitionTiming, TypographyConfig, TypographyResponsiveProperty, TypographyStyle, TypographyStyleProperty, TypographyUnitValue, UDSBottomSheetConfigContextType, UDSBreakpointsConfigContextType, UDSBreakpointsConfigProvider, UDSBreakpointsConfigProviderProps, UDSConfigContextType, UDSConfigProvider, UDSConfigProviderProps, UDSPopoverConfigContextType, UDSPopoverConfigProvider, UDSPopoverConfigProviderProps, UDSToastConfigContextType, UDSToastConfigProvider, UDSToastConfigProviderProps, UDSTooltipConfigContextType, UDSTooltipConfigProvider, UDSTooltipConfigProviderProps, UDS_PREFIX, UdsCssVar, UnitlessUnit, UniversalAvatarBaseProps, UniversalAvatarIconProps, UniversalAvatarImageProps, UniversalAvatarProps, UniversalAvatarTextProps, UniversalBadgeProps, UniversalBannerProps, UniversalBottomSheetContentProps, UniversalBottomSheetHeaderProps, UniversalBottomSheetProps, UniversalBoxProps, UniversalButtonProps, UniversalCheckboxProps, UniversalChipBaseProps, UniversalChipButtonProps, UniversalChipDismissibleProps, UniversalChipLinkProps, UniversalChipProps, UniversalChipToggleProps, UniversalDividerProps, UniversalFormLabelProps, UniversalIconButtonProps, UniversalIconProps, UniversalIconSlot, UniversalImageProps, UniversalInputProps, UniversalLinkProps, UniversalMenuItemProps, UniversalPopoverContentProps, UniversalPopoverProps, UniversalPopoverTriggerProps, UniversalPressableProps, UniversalRadioGroupProps, UniversalRadioProps, UniversalStackProps, UniversalSwitchProps, UniversalTabListProps, UniversalTabPanelProps, UniversalTabProps, UniversalTabsProps, UniversalTabsVariant, UniversalTextProps, UniversalToastProps, UniversalTokensConfig, UniversalTokensConfigAuto, UniversalTokensConfigAutoBase, UniversalTokensConfigBase, UniversalTokensConfigGeneric, UniversalTooltipContentProps, UniversalTooltipProps, UniversalTooltipTriggerProps, VStack, VStackProps, VariantConfig, VariantConfigWithComponentStates, VariantConfigWithProperties, XLARGE_SCALE_MODE_CLASSNAME, XSMALL_SCALE_MODE_CLASSNAME, XXLARGE_SCALE_MODE_CLASSNAME, XXXLARGE_SCALE_MODE_CLASSNAME, alwaysPalette, buildConfigSchema, cartesianProduct, coalesceConfigVariant, configToBottomSheetConfigContext, configToBreakpointsConfigContext, configToPopoverConfigContext, configToToastConfigContext, configToTooltipConfigContext, configToUDSConfigContext, createComponentStates, createConfigurableProperty, createLayerConfig, createSubComponentConfig, createToast, createVariantConfig, createVariantConfigWithComponentStates, createVariantConfigWithProperties, cva, cx, defineTheme, deprecatedAlwaysPalette, entries, findFixtureType, fontUrls, fromEntries, generateClassName, generateConfigStyles, generateDeclaration, generateDefaultClassName, generateKeyFromFlatConfigPath, generateSchemaKey, generateStyles, getConfigDefaultValue, getConfigSubcomponents, getConfigVariantComponentStates, getConfigVariantComponentStatesMatrix, getConfigVariantProperties, getConfigVariantPseudoStates, getConfigVariants, getFontUrls, getFontUrlsByIds, getMotionVar, getShadowLayerValue, getStyles, getStylesCacheKeySymbol, isConfigDefaultValue, mapValues, newAlwaysPalette, parseButtonVariantFlat, shadow, spectrumRgbToString, statePseudoMapDocsMode, textVariantsSafe, toRgbChannel, toSpectrumValueEntry, useBottomSheetStore, useBreakpointsConfig, useToastConfig, variants };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
import { variants } from "./styles/variants.js";
|
|
3
3
|
import { AvatarConfig, BadgeConfig, BannerConfig, BottomSheetConfig, ButtonConfig, CheckboxConfig, ChipConfig, DividerConfig, IconButtonConfig, InputConfig, LinkConfig, MenuContentConfig, MenuItemConfig, PopoverConfig, RadioConfig, ScrimConfig, SwitchConfig, TabConfig, TabsConfig, ToastConfig, TooltipConfig } from "./automated-config/dist/generated/generatedConfigs.js";
|
|
4
|
-
import { AlwaysPaletteAlias, AlwaysPaletteAliasWithPrefix, AlwaysPaletteColor, Animation, AriaAttribute, AvatarAbbreviationStrategy, AvatarShape, AvatarSize, AvatarSizeConfig, AvatarVariant, BackgroundColor, BackgroundPalette, BackgroundPaletteAlias, BackgroundStyleProps, BackwardsCompatibleReactElement, BadgeSize, BadgeVariant, BannerInnerShadowOption, BannerSize, BannerVariant, BorderRadius, BorderRadiusConfig, BorderStyleProps, BorderWidth, BorderWidthConfig, BorderWidthWithElevation, BottomSheetHeight, BottomSheetSnapPoints, BottomSheetVariant, Breakpoint, BreakpointValue, BreakpointWithBase, BreakpointsConfig, ButtonPalette, ButtonPaletteColor, ButtonSize, ButtonSpectrumColor, ButtonVariant, ButtonVariantFlat, CheckboxSize, CheckboxValue, CheckboxVariant, ChipSize, ChipVariant, ColorMode, ColorModeConfig, ColorModeForApp, ColorsConfig, CustomSizingStyleProps, DataAttribute, DeprecatedAlwaysPaletteAlias, Display, DividerVariant, ElevationAlias, ElevationBackgroundFillColor, ElevationBorderColor, ElevationConfig, ElevationCustomShadows, ElevationGlobalRampConfig, ElevationGlobalRampSettings, ElevationLevel, ElevationPreset, ElevationSurfaceColor, ExtractUrlFromFontFaceRule, Flex, FlexAlignContent, FlexAlignItems, FlexAlignSelf, FlexBasis, FlexDirection, FlexGrow, FlexJustifyContent, FlexShrink, FlexStyleProps, FlexWrap, FocusRingColor, FocusRingConfig, FocusRingModeConfig, FocusRingOffset, FocusRingWidth, FontAlias, FontConfig, FontCssVar, FontFamilyConfig, FontSize, FontSizeConfig, FontSlantConfig, FontType, FontWeightConfig, FontWeightDescriptive, FontWeightNumeric, FontWidthConfig, ForegroundColor, ForegroundPalette, ForegroundPaletteAlias, GenericIconComponent,
|
|
4
|
+
import { AlwaysPaletteAlias, AlwaysPaletteAliasWithPrefix, AlwaysPaletteColor, Animation, AriaAttribute, AvatarAbbreviationStrategy, AvatarShape, AvatarSize, AvatarSizeConfig, AvatarVariant, BackgroundColor, BackgroundPalette, BackgroundPaletteAlias, BackgroundStyleProps, BackwardsCompatibleReactElement, BadgeSize, BadgeVariant, BannerInnerShadowOption, BannerSize, BannerVariant, BorderRadius, BorderRadiusConfig, BorderStyleProps, BorderWidth, BorderWidthConfig, BorderWidthWithElevation, BottomSheetHeight, BottomSheetSnapPoints, BottomSheetVariant, Breakpoint, BreakpointValue, BreakpointWithBase, BreakpointsConfig, ButtonPalette, ButtonPaletteColor, ButtonSize, ButtonSpectrumColor, ButtonVariant, ButtonVariantFlat, CheckboxSize, CheckboxValue, CheckboxVariant, ChipSize, ChipVariant, ColorMode, ColorModeConfig, ColorModeForApp, ColorsConfig, CustomSizingStyleProps, DataAttribute, DeprecatedAlwaysPaletteAlias, Display, DividerVariant, ElevationAlias, ElevationBackgroundFillColor, ElevationBorderColor, ElevationConfig, ElevationCustomShadows, ElevationGlobalRampConfig, ElevationGlobalRampSettings, ElevationLevel, ElevationPreset, ElevationSurfaceColor, ExtractUrlFromFontFaceRule, Flex, FlexAlignContent, FlexAlignItems, FlexAlignSelf, FlexBasis, FlexDirection, FlexGrow, FlexJustifyContent, FlexShrink, FlexStyleProps, FlexWrap, FocusRingColor, FocusRingConfig, FocusRingModeConfig, FocusRingOffset, FocusRingWidth, FontAlias, FontConfig, FontCssVar, FontFamilyConfig, FontSize, FontSizeConfig, FontSlantConfig, FontType, FontWeightConfig, FontWeightDescriptive, FontWeightNumeric, FontWidthConfig, ForegroundColor, ForegroundPalette, ForegroundPaletteAlias, GenericIconComponent, GlobalDefaultsConfig, HighContrastMode, Hue, HueStep, IconButtonSize, IconPixelSize, IconSize, IconSizeConfig, IconSlotRenderProps, IconVariant, ImagePropsWithImgProps, ImageStyleProps, ImgElementProps, InputSize, LayoutStyleProps, LineClampAlias, LineColor, LineHeight, LineHeightConfig, LinePalette, LinePaletteAlias, LinkTextVariant, LinkVariant, LinkableValue, MaxLengthArray, Modes, MotionConfig, MotionCssVar, MotionSpringConfig, MotionSpringConfigOptions, MotionVariant, MotionVariantSpeed, MotionVariantValues, NestedBorderRadiusStyleProps, OpacityStep, Overflow, Palette, PaletteConfig, PaletteType, PaletteValue, Percentage, PercentageUnit, PixelsUnit, PlatformMode, PopoverPlacement, PopoverSize, PopoverVariant, Position, PropertyToPaletteAliasMap, RGBAUnit, RGBColorValue, RGBUnit, RadioSize, RadioValue, RadioVariant, RegionMode, RemsUnit, SVGElementProps, ScaleConfig, ScaleEffect, ScaleMode, ScaleModeConfig, ScaleModeForApp, ShadowAlwaysColor, ShadowColor, ShadowColorConfig, ShadowConfig, ShadowOffset, ShadowOpacity, ShadowPalette, ShadowPaletteAlias, ShadowPaletteColor, ShadowPreset, ShadowSpectrumColor, ShadowSpreadRadius, ShadowStyleProps, ShadowType, ShadowTypeConfig, ShadowVariant, ShadowVariantConfig, ShadowVariantInvert, ShadowVariantWithElevation, ShadowVariantWithInvert, SharedPaletteAlias, SizeStyleProps, SpacingAlias, SpacingConfig, SpacingStyleProps, SpectrumColor, SpectrumConfig, SpectrumRGB, SpectrumValue, SpectrumValueEntry, StateStyleProps, StyleProps, SwitchSize, TShirtSize, TShirtSizeCommon, TextDecorationLine, TextProperty, TextStyleProps, TextTransform, TextTransformConfig, TextVariant, TextVariantTypography, TextVariantUi, TextVariantWithoutEmphasized, ToastPosition, ToastSize, ToastVariant, TooltipPlacement, TooltipSize, TooltipVariant, TransitionDelay, TransitionDuration, TransitionTiming, TypographyConfig, TypographyResponsiveProperty, TypographyStyle, TypographyStyleProperty, TypographyUnitValue, UdsCssVar, UnitlessUnit, UniversalAvatarBaseProps, UniversalAvatarIconProps, UniversalAvatarProps, UniversalAvatarTextProps, UniversalBadgeProps, UniversalBannerProps, UniversalBottomSheetContentProps, UniversalBottomSheetHeaderProps, UniversalBottomSheetProps, UniversalBoxProps, UniversalButtonProps, UniversalCheckboxProps, UniversalChipBaseProps, UniversalChipButtonProps, UniversalChipDismissibleProps, UniversalChipLinkProps, UniversalChipToggleProps, UniversalDividerProps, UniversalFormLabelProps, UniversalIconProps, UniversalIconSlot, UniversalImageProps, UniversalInputProps, UniversalLinkProps, UniversalMenuItemProps, UniversalPopoverContentProps, UniversalPopoverProps, UniversalPopoverTriggerProps, UniversalPressableProps, UniversalRadioGroupProps, UniversalRadioProps, UniversalStackProps, UniversalSwitchProps, UniversalTabListProps, UniversalTabPanelProps, UniversalTabProps, UniversalTabsProps, UniversalTabsVariant, UniversalTextProps, UniversalToastProps, UniversalTokensConfigAutoBase, UniversalTokensConfigBase, UniversalTokensConfigGeneric, UniversalTooltipContentProps, UniversalTooltipProps, UniversalTooltipTriggerProps } from "./types/dist/index.js";
|
|
5
5
|
import { AllPossibleProperties, ComponentConfig, ComponentStateConfig, LayerConfig, PossibleStates, PossibleStatesWithRest, SubComponentConfig, VariantConfig, VariantConfigWithComponentStates, VariantConfigWithProperties } from "./automated-config/dist/types/ComponentConfig.js";
|
|
6
6
|
import { ConfigurablePropertiesName, SelectedConfigurableProperty } from "./automated-config/dist/properties.js";
|
|
7
7
|
import { ComponentSchema, buildConfigSchema, findFixtureType } from "./automated-config/dist/utils/buildConfigSchema.js";
|
|
@@ -113,4 +113,4 @@ import { SetState } from "./types.js";
|
|
|
113
113
|
import { defineTheme } from "./tailwind/dist/css/theme.js";
|
|
114
114
|
import "./tailwind/dist/index.js";
|
|
115
115
|
import { PopoverContent } from "./components/client/Popover/PopoverContent.js";
|
|
116
|
-
export { ALWAYS_PREFIX, AVATAR_SIZE_PREFIX, AllPossibleProperties, AllSelectors, AllVariantKeys, AlwaysPaletteAlias, AlwaysPaletteAliasWithPrefix, AlwaysPaletteColor, Animation, AriaAttribute, AutoComponentName, Avatar, AvatarAbbreviationStrategy, AvatarConfig, AvatarIcon, AvatarIconProps, AvatarImage, AvatarImageProps, AvatarProps, AvatarShape, AvatarSize, AvatarSizeConfig, AvatarText, AvatarTextProps, AvatarVariant, BACKGROUND_BLUR_COLOR_PREFIX, BACKGROUND_BLUR_FALLBACK_COLOR_PREFIX, BACKGROUND_BLUR_RADIUS_PREFIX, BACKGROUND_COLOR_PREFIX, BORDER_RADIUS_PREFIX, BORDER_WIDTH_PREFIX, BUTTON_GAP_VAR, BUTTON_SCALE_EFFECT, BUTTON_SCALE_EFFECT_HOVER, BUTTON_SCALE_EFFECT_PRESSED, BUTTON_SCALE_EFFECT_REST, BackgroundColor, BackgroundPalette, BackgroundPaletteAlias, BackgroundStyleProps, BackwardsCompatibleReactElement, Badge, BadgeConfig, BadgeProps, BadgeSize, BadgeVariant, Banner, BannerConfig, BannerContent, BannerContentProps, BannerDescription, BannerDescriptionProps, BannerInnerShadowOption, BannerProps, BannerSize, BannerTitle, BannerTitleProps, BannerVariant, BaseSelector, BorderRadius, BorderRadiusConfig, BorderStyleProps, BorderWidth, BorderWidthConfig, BorderWidthWithElevation, BottomSheet, BottomSheetConfig, BottomSheetContent, BottomSheetContentProps, BottomSheetController, BottomSheetDismiss, BottomSheetDismissProps, BottomSheetHeader, BottomSheetHeaderProps, BottomSheetHeight, BottomSheetProps, BottomSheetProvider, BottomSheetProviderProps, BottomSheetSnapPoints, BottomSheetTrigger, BottomSheetTriggerProps, BottomSheetVariant, Box, BoxProps, Breakpoint, BreakpointValue, BreakpointWithBase, BreakpointsConfig, Button, ButtonConfig, ButtonPalette, ButtonPaletteColor, ButtonProps, ButtonSize, ButtonSpectrumColor, ButtonVariant, ButtonVariantFlat, Checkbox, CheckboxConfig, CheckboxProps, CheckboxSize, CheckboxValue, CheckboxVariant, Chip, ChipButton, ChipButtonProps, ChipConfig, ChipDismissible, ChipDismissibleProps, ChipLink, ChipLinkProps, ChipProps, ChipSize, ChipToggle, ChipToggleProps, ChipVariant, ColorMode, ColorModeConfig, ColorModeForApp, ColorsConfig, ComponentConfig, ComponentSchema, ComponentStateConfig, ConfigurableComponentName, ConfigurablePropertiesName, CssStyleObject, CustomSizingStyleProps, DARK_COLOR_MODE_CLASSNAME, DEFAULT_COLOR_MODE, DEFAULT_COLOR_MODE_CLASSNAME, DEFAULT_COLOR_MODE_FOR_APP, DEFAULT_HIGH_CONTRAST_MODE, DEFAULT_REGION_MODE, DEFAULT_SCALE_MODE, DEFAULT_SCALE_MODE_CLASSNAME, DEFAULT_SCALE_MODE_FOR_APP, DROP_SHADOW_PREFIX, DataAttribute, DeprecatedAlwaysPaletteAlias, Display, Divider, DividerConfig, DividerProps, DividerVariant, ElevationAlias, ElevationBackgroundFillColor, ElevationBorderColor, ElevationConfig, ElevationCustomShadows, ElevationGlobalRampConfig, ElevationGlobalRampSettings, ElevationLevel, ElevationPreset, ElevationSurfaceColor, ExtractUrlFromFontFaceRule, FONT_DECLARATIONS_MAP, FONT_FAMILY_PREFIX, FONT_SIZE_PREFIX, FONT_SLANT_PREFIX, FONT_WEIGHT_PREFIX, FONT_WIDTH_PREFIX, Flex, FlexAlignContent, FlexAlignItems, FlexAlignSelf, FlexBasis, FlexDirection, FlexGrow, FlexJustifyContent, FlexShrink, FlexStyleProps, FlexWrap, FocusRingColor, FocusRingConfig, FocusRingModeConfig, FocusRingOffset, FocusRingWidth, FontAlias, FontAxisConfig, FontConfig, FontCssVar, FontDeclarationConfig, FontDeclarationItemConfig, FontDeclarationMap, FontFamilyCDNUrl, FontFamilyConfig, FontID, FontSize, FontSizeConfig, FontSlantConfig, FontType, FontUrlConfig, FontUrlMap, FontWeightConfig, FontWeightDescriptive, FontWeightForFont, FontWeightNumeric, FontWidthConfig, ForegroundColor, ForegroundPalette, ForegroundPaletteAlias, FormLabel, FormLabelProps, GenericIconComponent, GenericIconElement, GetMotionVarParams, GlobalDefaultsConfig, HStack, HStackProps, HighContrastMode, Hue, HueStep, ICON_SIZE_PREFIX, INVERT_COLOR_MODE_CLASSNAME, Icon, IconButton, IconButtonConfig, IconButtonProps, IconButtonSize, IconPixelSize, IconProps, IconPropsWithSVGProps, IconSize, IconSizeConfig, IconSlotRenderProps, IconVariant, Image, ImageProps, ImagePropsWithImgProps, ImageStyleProps, ImgElementProps, Input, InputConfig, InputHelpText, InputHelpTextProps, InputProps, InputSize, LARGE_SCALE_MODE_CLASSNAME, LETTER_SPACING_PREFIX, LIGHT_COLOR_MODE_CLASSNAME, LINE_COLOR_PREFIX, LINE_HEIGHT_PREFIX, LayerConfig, LayoutStyleProps, LineClampAlias, LineColor, LineHeight, LineHeightConfig, LinePalette, LinePaletteAlias, Link, LinkConfig, LinkProps, LinkTextVariant, LinkVariant, LinkableValue, MEDIUM_SCALE_MODE_CLASSNAME, MOTION_PREFIX, MaxLengthArray, Menu_index_d_exports as Menu, MenuContentConfig, MenuContentProps, MenuDividerProps, MenuItemCheckboxProps, MenuItemConfig, MenuItemProps, MenuPlacement, MenuProviderProps, MenuTriggerProps, Modes, MotionConfig, MotionCssVar, MotionSpringConfig, MotionSpringConfigOptions, MotionVariant, MotionVariantSpeed, MotionVariantValues, NestedBorderRadiusStyleProps, OUTLINE_PREFIX, OpacityStep, Overflow, PSEUDO_STYLE_SELECTOR_MAP, Palette, PaletteConfig, PaletteType, PaletteValue, ParentVariantSelector, Percentage, PercentageUnit, PixelsUnit, PlatformMode, Popover, PopoverConfig, PopoverContent, UniversalPopoverContentProps as PopoverContentProps, PopoverPlacement, UniversalPopoverProps as PopoverProps, PopoverSize, PopoverTrigger, UniversalPopoverTriggerProps as PopoverTriggerProps, PopoverVariant, Position, PossibleStates, PossibleStatesWithRest, Pressable, PressableProps, PropertyToPaletteAliasMap, RGBAUnit, RGBColorValue, RGBUnit, Radio, RadioConfig, RadioGroupProvider, RadioGroupProviderProps, RadioProps, RadioSize, RadioValue, RadioVariant, RegionMode, RemsUnit, ResolvedTokensConfig, SMALL_SCALE_MODE_CLASSNAME, SPECTRUM_COLOR_PREFIX, SVGElementProps, SYSTEM_COLOR_MODE_CLASSNAME, ScaleConfig, ScaleEffect, ScaleMode, ScaleModeConfig, ScaleModeForApp, Scrim, ScrimConfig, ScrimProps, SelectedConfigurableProperty, SetState, ShadowAlwaysColor, ShadowColor, ShadowColorConfig, ShadowConfig, ShadowOffset, ShadowOpacity, ShadowPalette, ShadowPaletteAlias, ShadowPaletteColor, ShadowPreset, ShadowSpectrumColor, ShadowSpreadRadius, ShadowStyleProps, ShadowType, ShadowTypeConfig, ShadowVariant, ShadowVariantConfig, ShadowVariantInvert, ShadowVariantWithElevation, ShadowVariantWithInvert, SharedPaletteAlias, SizeStyleProps, SpacingAlias, SpacingConfig, SpacingStyleProps, SpectrumColor, SpectrumConfig, SpectrumRGB, SpectrumValue, SpectrumValueEntry, SpringMotionConfig, SpringMotionConfigProps, StateStyleProps, StyleProps, SubComponentConfig, Switch, SwitchConfig, SwitchProps, SwitchSize, TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES, TEXT_RESPONSIVE_CLASSNAME, TEXT_TRANSFORM_PREFIX, TShirtSize, TShirtSizeCommon, Tab, TabConfig, TabList, TabListProps, TabPanel, TabPanelProps, TabProps, Tabs, TabsConfig, TabsProps, TabsVariant, Text, TextDecorationLine, TextProperty, TextProps, TextStyleProps, TextTransform, TextTransformConfig, TextVariant, TextVariantTypography, TextVariantUi, TextVariantWithoutEmphasized, Toast, ToastConfig, ToastContainer, ToastContainerProps, ToastLoadingPromise, ToastPortal, ToastPortalProps, ToastPosition, ToastProps, ToastSize, ToastVariant, Tooltip, TooltipConfig, TooltipContent, UniversalTooltipContentProps as TooltipContentProps, TooltipPlacement, UniversalTooltipProps as TooltipProps, TooltipSize, TooltipTrigger, UniversalTooltipTriggerProps as TooltipTriggerProps, TooltipVariant, TransitionDelay, TransitionDuration, TransitionTiming, TypographyConfig, TypographyResponsiveProperty, TypographyStyle, TypographyStyleProperty, TypographyUnitValue, UDSBottomSheetConfigContextType, UDSBreakpointsConfigContextType, UDSBreakpointsConfigProvider, UDSBreakpointsConfigProviderProps, UDSConfigContextType, UDSConfigProvider, UDSConfigProviderProps, UDSPopoverConfigContextType, UDSPopoverConfigProvider, UDSPopoverConfigProviderProps, UDSToastConfigContextType, UDSToastConfigProvider, UDSToastConfigProviderProps, UDSTooltipConfigContextType, UDSTooltipConfigProvider, UDSTooltipConfigProviderProps, UDS_PREFIX, UdsCssVar, UnitlessUnit, UniversalAvatarBaseProps, UniversalAvatarIconProps, UniversalAvatarImageProps, UniversalAvatarProps, UniversalAvatarTextProps, UniversalBadgeProps, UniversalBannerProps, UniversalBottomSheetContentProps, UniversalBottomSheetHeaderProps, UniversalBottomSheetProps, UniversalBoxProps, UniversalButtonProps, UniversalCheckboxProps, UniversalChipBaseProps, UniversalChipButtonProps, UniversalChipDismissibleProps, UniversalChipLinkProps, UniversalChipProps, UniversalChipToggleProps, UniversalDividerProps, UniversalFormLabelProps, UniversalIconButtonProps, UniversalIconProps, UniversalIconSlot, UniversalImageProps, UniversalInputProps, UniversalLinkProps, UniversalMenuItemProps, UniversalPopoverContentProps, UniversalPopoverProps, UniversalPopoverTriggerProps, UniversalPressableProps, UniversalRadioGroupProps, UniversalRadioProps, UniversalStackProps, UniversalSwitchProps, UniversalTabListProps, UniversalTabPanelProps, UniversalTabProps, UniversalTabsProps, UniversalTabsVariant, UniversalTextProps, UniversalToastProps, UniversalTokensConfig, UniversalTokensConfigAuto, UniversalTokensConfigAutoBase, UniversalTokensConfigBase, UniversalTokensConfigGeneric, UniversalTooltipContentProps, UniversalTooltipProps, UniversalTooltipTriggerProps, VStack, VStackProps, VariantConfig, VariantConfigWithComponentStates, VariantConfigWithProperties, XLARGE_SCALE_MODE_CLASSNAME, XSMALL_SCALE_MODE_CLASSNAME, XXLARGE_SCALE_MODE_CLASSNAME, XXXLARGE_SCALE_MODE_CLASSNAME, alwaysPalette, buildConfigSchema, cartesianProduct, coalesceConfigVariant, configToBottomSheetConfigContext, configToBreakpointsConfigContext, configToPopoverConfigContext, configToToastConfigContext, configToTooltipConfigContext, configToUDSConfigContext, createComponentStates, createConfigurableProperty, createLayerConfig, createSubComponentConfig, createToast, createVariantConfig, createVariantConfigWithComponentStates, createVariantConfigWithProperties, cva, cx, defineTheme, deprecatedAlwaysPalette, entries, findFixtureType, fontUrls, fromEntries, generateClassName, generateConfigStyles, generateDeclaration, generateDefaultClassName, generateKeyFromFlatConfigPath, generateSchemaKey, generateStyles, getConfigDefaultValue, getConfigSubcomponents, getConfigVariantComponentStates, getConfigVariantComponentStatesMatrix, getConfigVariantProperties, getConfigVariantPseudoStates, getConfigVariants, getFontUrls, getFontUrlsByIds, getMotionVar, getShadowLayerValue, getStyles, getStylesCacheKeySymbol, isConfigDefaultValue, mapValues, newAlwaysPalette, parseButtonVariantFlat, shadow, spectrumRgbToString, statePseudoMapDocsMode, textVariantsSafe, toRgbChannel, toSpectrumValueEntry, useBottomSheetStore, useBreakpointsConfig, useToastConfig, variants };
|
|
116
|
+
export { ALWAYS_PREFIX, AVATAR_SIZE_PREFIX, AllPossibleProperties, AllSelectors, AllVariantKeys, AlwaysPaletteAlias, AlwaysPaletteAliasWithPrefix, AlwaysPaletteColor, Animation, AriaAttribute, AutoComponentName, Avatar, AvatarAbbreviationStrategy, AvatarConfig, AvatarIcon, AvatarIconProps, AvatarImage, AvatarImageProps, AvatarProps, AvatarShape, AvatarSize, AvatarSizeConfig, AvatarText, AvatarTextProps, AvatarVariant, BACKGROUND_BLUR_COLOR_PREFIX, BACKGROUND_BLUR_FALLBACK_COLOR_PREFIX, BACKGROUND_BLUR_RADIUS_PREFIX, BACKGROUND_COLOR_PREFIX, BORDER_RADIUS_PREFIX, BORDER_WIDTH_PREFIX, BUTTON_GAP_VAR, BUTTON_SCALE_EFFECT, BUTTON_SCALE_EFFECT_HOVER, BUTTON_SCALE_EFFECT_PRESSED, BUTTON_SCALE_EFFECT_REST, BackgroundColor, BackgroundPalette, BackgroundPaletteAlias, BackgroundStyleProps, BackwardsCompatibleReactElement, Badge, BadgeConfig, BadgeProps, BadgeSize, BadgeVariant, Banner, BannerConfig, BannerContent, BannerContentProps, BannerDescription, BannerDescriptionProps, BannerInnerShadowOption, BannerProps, BannerSize, BannerTitle, BannerTitleProps, BannerVariant, BaseSelector, BorderRadius, BorderRadiusConfig, BorderStyleProps, BorderWidth, BorderWidthConfig, BorderWidthWithElevation, BottomSheet, BottomSheetConfig, BottomSheetContent, BottomSheetContentProps, BottomSheetController, BottomSheetDismiss, BottomSheetDismissProps, BottomSheetHeader, BottomSheetHeaderProps, BottomSheetHeight, BottomSheetProps, BottomSheetProvider, BottomSheetProviderProps, BottomSheetSnapPoints, BottomSheetTrigger, BottomSheetTriggerProps, BottomSheetVariant, Box, BoxProps, Breakpoint, BreakpointValue, BreakpointWithBase, BreakpointsConfig, Button, ButtonConfig, ButtonPalette, ButtonPaletteColor, ButtonProps, ButtonSize, ButtonSpectrumColor, ButtonVariant, ButtonVariantFlat, Checkbox, CheckboxConfig, CheckboxProps, CheckboxSize, CheckboxValue, CheckboxVariant, Chip, ChipButton, ChipButtonProps, ChipConfig, ChipDismissible, ChipDismissibleProps, ChipLink, ChipLinkProps, ChipProps, ChipSize, ChipToggle, ChipToggleProps, ChipVariant, ColorMode, ColorModeConfig, ColorModeForApp, ColorsConfig, ComponentConfig, ComponentSchema, ComponentStateConfig, ConfigurableComponentName, ConfigurablePropertiesName, CssStyleObject, CustomSizingStyleProps, DARK_COLOR_MODE_CLASSNAME, DEFAULT_COLOR_MODE, DEFAULT_COLOR_MODE_CLASSNAME, DEFAULT_COLOR_MODE_FOR_APP, DEFAULT_HIGH_CONTRAST_MODE, DEFAULT_REGION_MODE, DEFAULT_SCALE_MODE, DEFAULT_SCALE_MODE_CLASSNAME, DEFAULT_SCALE_MODE_FOR_APP, DROP_SHADOW_PREFIX, DataAttribute, DeprecatedAlwaysPaletteAlias, Display, Divider, DividerConfig, DividerProps, DividerVariant, ElevationAlias, ElevationBackgroundFillColor, ElevationBorderColor, ElevationConfig, ElevationCustomShadows, ElevationGlobalRampConfig, ElevationGlobalRampSettings, ElevationLevel, ElevationPreset, ElevationSurfaceColor, ExtractUrlFromFontFaceRule, FONT_DECLARATIONS_MAP, FONT_FAMILY_PREFIX, FONT_SIZE_PREFIX, FONT_SLANT_PREFIX, FONT_WEIGHT_PREFIX, FONT_WIDTH_PREFIX, Flex, FlexAlignContent, FlexAlignItems, FlexAlignSelf, FlexBasis, FlexDirection, FlexGrow, FlexJustifyContent, FlexShrink, FlexStyleProps, FlexWrap, FocusRingColor, FocusRingConfig, FocusRingModeConfig, FocusRingOffset, FocusRingWidth, FontAlias, FontAxisConfig, FontConfig, FontCssVar, FontDeclarationConfig, FontDeclarationItemConfig, FontDeclarationMap, FontFamilyCDNUrl, FontFamilyConfig, FontID, FontSize, FontSizeConfig, FontSlantConfig, FontType, FontUrlConfig, FontUrlMap, FontWeightConfig, FontWeightDescriptive, FontWeightForFont, FontWeightNumeric, FontWidthConfig, ForegroundColor, ForegroundPalette, ForegroundPaletteAlias, FormLabel, FormLabelProps, GenericIconComponent, GetMotionVarParams, GlobalDefaultsConfig, HStack, HStackProps, HighContrastMode, Hue, HueStep, ICON_SIZE_PREFIX, INVERT_COLOR_MODE_CLASSNAME, Icon, IconButton, IconButtonConfig, IconButtonProps, IconButtonSize, IconPixelSize, IconProps, IconPropsWithSVGProps, IconSize, IconSizeConfig, IconSlotRenderProps, IconVariant, Image, ImageProps, ImagePropsWithImgProps, ImageStyleProps, ImgElementProps, Input, InputConfig, InputHelpText, InputHelpTextProps, InputProps, InputSize, LARGE_SCALE_MODE_CLASSNAME, LETTER_SPACING_PREFIX, LIGHT_COLOR_MODE_CLASSNAME, LINE_COLOR_PREFIX, LINE_HEIGHT_PREFIX, LayerConfig, LayoutStyleProps, LineClampAlias, LineColor, LineHeight, LineHeightConfig, LinePalette, LinePaletteAlias, Link, LinkConfig, LinkProps, LinkTextVariant, LinkVariant, LinkableValue, MEDIUM_SCALE_MODE_CLASSNAME, MOTION_PREFIX, MaxLengthArray, Menu_index_d_exports as Menu, MenuContentConfig, MenuContentProps, MenuDividerProps, MenuItemCheckboxProps, MenuItemConfig, MenuItemProps, MenuPlacement, MenuProviderProps, MenuTriggerProps, Modes, MotionConfig, MotionCssVar, MotionSpringConfig, MotionSpringConfigOptions, MotionVariant, MotionVariantSpeed, MotionVariantValues, NestedBorderRadiusStyleProps, OUTLINE_PREFIX, OpacityStep, Overflow, PSEUDO_STYLE_SELECTOR_MAP, Palette, PaletteConfig, PaletteType, PaletteValue, ParentVariantSelector, Percentage, PercentageUnit, PixelsUnit, PlatformMode, Popover, PopoverConfig, PopoverContent, UniversalPopoverContentProps as PopoverContentProps, PopoverPlacement, UniversalPopoverProps as PopoverProps, PopoverSize, PopoverTrigger, UniversalPopoverTriggerProps as PopoverTriggerProps, PopoverVariant, Position, PossibleStates, PossibleStatesWithRest, Pressable, PressableProps, PropertyToPaletteAliasMap, RGBAUnit, RGBColorValue, RGBUnit, Radio, RadioConfig, RadioGroupProvider, RadioGroupProviderProps, RadioProps, RadioSize, RadioValue, RadioVariant, RegionMode, RemsUnit, ResolvedTokensConfig, SMALL_SCALE_MODE_CLASSNAME, SPECTRUM_COLOR_PREFIX, SVGElementProps, SYSTEM_COLOR_MODE_CLASSNAME, ScaleConfig, ScaleEffect, ScaleMode, ScaleModeConfig, ScaleModeForApp, Scrim, ScrimConfig, ScrimProps, SelectedConfigurableProperty, SetState, ShadowAlwaysColor, ShadowColor, ShadowColorConfig, ShadowConfig, ShadowOffset, ShadowOpacity, ShadowPalette, ShadowPaletteAlias, ShadowPaletteColor, ShadowPreset, ShadowSpectrumColor, ShadowSpreadRadius, ShadowStyleProps, ShadowType, ShadowTypeConfig, ShadowVariant, ShadowVariantConfig, ShadowVariantInvert, ShadowVariantWithElevation, ShadowVariantWithInvert, SharedPaletteAlias, SizeStyleProps, SpacingAlias, SpacingConfig, SpacingStyleProps, SpectrumColor, SpectrumConfig, SpectrumRGB, SpectrumValue, SpectrumValueEntry, SpringMotionConfig, SpringMotionConfigProps, StateStyleProps, StyleProps, SubComponentConfig, Switch, SwitchConfig, SwitchProps, SwitchSize, TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES, TEXT_RESPONSIVE_CLASSNAME, TEXT_TRANSFORM_PREFIX, TShirtSize, TShirtSizeCommon, Tab, TabConfig, TabList, TabListProps, TabPanel, TabPanelProps, TabProps, Tabs, TabsConfig, TabsProps, TabsVariant, Text, TextDecorationLine, TextProperty, TextProps, TextStyleProps, TextTransform, TextTransformConfig, TextVariant, TextVariantTypography, TextVariantUi, TextVariantWithoutEmphasized, Toast, ToastConfig, ToastContainer, ToastContainerProps, ToastLoadingPromise, ToastPortal, ToastPortalProps, ToastPosition, ToastProps, ToastSize, ToastVariant, Tooltip, TooltipConfig, TooltipContent, UniversalTooltipContentProps as TooltipContentProps, TooltipPlacement, UniversalTooltipProps as TooltipProps, TooltipSize, TooltipTrigger, UniversalTooltipTriggerProps as TooltipTriggerProps, TooltipVariant, TransitionDelay, TransitionDuration, TransitionTiming, TypographyConfig, TypographyResponsiveProperty, TypographyStyle, TypographyStyleProperty, TypographyUnitValue, UDSBottomSheetConfigContextType, UDSBreakpointsConfigContextType, UDSBreakpointsConfigProvider, UDSBreakpointsConfigProviderProps, UDSConfigContextType, UDSConfigProvider, UDSConfigProviderProps, UDSPopoverConfigContextType, UDSPopoverConfigProvider, UDSPopoverConfigProviderProps, UDSToastConfigContextType, UDSToastConfigProvider, UDSToastConfigProviderProps, UDSTooltipConfigContextType, UDSTooltipConfigProvider, UDSTooltipConfigProviderProps, UDS_PREFIX, UdsCssVar, UnitlessUnit, UniversalAvatarBaseProps, UniversalAvatarIconProps, UniversalAvatarImageProps, UniversalAvatarProps, UniversalAvatarTextProps, UniversalBadgeProps, UniversalBannerProps, UniversalBottomSheetContentProps, UniversalBottomSheetHeaderProps, UniversalBottomSheetProps, UniversalBoxProps, UniversalButtonProps, UniversalCheckboxProps, UniversalChipBaseProps, UniversalChipButtonProps, UniversalChipDismissibleProps, UniversalChipLinkProps, UniversalChipProps, UniversalChipToggleProps, UniversalDividerProps, UniversalFormLabelProps, UniversalIconButtonProps, UniversalIconProps, UniversalIconSlot, UniversalImageProps, UniversalInputProps, UniversalLinkProps, UniversalMenuItemProps, UniversalPopoverContentProps, UniversalPopoverProps, UniversalPopoverTriggerProps, UniversalPressableProps, UniversalRadioGroupProps, UniversalRadioProps, UniversalStackProps, UniversalSwitchProps, UniversalTabListProps, UniversalTabPanelProps, UniversalTabProps, UniversalTabsProps, UniversalTabsVariant, UniversalTextProps, UniversalToastProps, UniversalTokensConfig, UniversalTokensConfigAuto, UniversalTokensConfigAutoBase, UniversalTokensConfigBase, UniversalTokensConfigGeneric, UniversalTooltipContentProps, UniversalTooltipProps, UniversalTooltipTriggerProps, VStack, VStackProps, VariantConfig, VariantConfigWithComponentStates, VariantConfigWithProperties, XLARGE_SCALE_MODE_CLASSNAME, XSMALL_SCALE_MODE_CLASSNAME, XXLARGE_SCALE_MODE_CLASSNAME, XXXLARGE_SCALE_MODE_CLASSNAME, alwaysPalette, buildConfigSchema, cartesianProduct, coalesceConfigVariant, configToBottomSheetConfigContext, configToBreakpointsConfigContext, configToPopoverConfigContext, configToToastConfigContext, configToTooltipConfigContext, configToUDSConfigContext, createComponentStates, createConfigurableProperty, createLayerConfig, createSubComponentConfig, createToast, createVariantConfig, createVariantConfigWithComponentStates, createVariantConfigWithProperties, cva, cx, defineTheme, deprecatedAlwaysPalette, entries, findFixtureType, fontUrls, fromEntries, generateClassName, generateConfigStyles, generateDeclaration, generateDefaultClassName, generateKeyFromFlatConfigPath, generateSchemaKey, generateStyles, getConfigDefaultValue, getConfigSubcomponents, getConfigVariantComponentStates, getConfigVariantComponentStatesMatrix, getConfigVariantProperties, getConfigVariantPseudoStates, getConfigVariants, getFontUrls, getFontUrlsByIds, getMotionVar, getShadowLayerValue, getStyles, getStylesCacheKeySymbol, isConfigDefaultValue, mapValues, newAlwaysPalette, parseButtonVariantFlat, shadow, spectrumRgbToString, statePseudoMapDocsMode, textVariantsSafe, toRgbChannel, toSpectrumValueEntry, useBottomSheetStore, useBreakpointsConfig, useToastConfig, variants };
|