@yahoo/uds 3.168.2 → 3.169.1
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 +3 -6
- package/dist/components/Icon.js +3 -6
- package/dist/components/client/Popover/UDSPopoverConfigProvider.d.cts +1 -1
- package/dist/components/client/Popover/UDSPopoverConfigProvider.d.ts +1 -1
- package/dist/styles/styler.cjs +18 -2
- package/dist/styles/styler.d.cts +8 -0
- package/dist/styles/styler.d.ts +8 -0
- package/dist/styles/styler.js +18 -2
- package/dist/styles/textColorVariants.cjs +40 -0
- package/dist/styles/textColorVariants.d.cts +39 -0
- package/dist/styles/textColorVariants.d.ts +39 -0
- package/dist/styles/textColorVariants.js +39 -0
- package/dist/styles/variants.cjs +1 -28
- package/dist/styles/variants.js +2 -28
- package/dist/tailwind-internal/dist/defaultTailwindThemeAsUdsConfig.d.cts +1 -1
- package/dist/tailwind-internal/dist/defaultTailwindThemeAsUdsConfig.d.ts +1 -1
- package/dist/tailwind-internal/dist/node_modules/.bun/{tailwindcss@3.4.19_7500dce058369e0a → tailwindcss@3.4.19_028b7be3b865fa1a}/node_modules/tailwindcss/defaultTheme.d.cts +2 -2
- package/dist/tailwind-internal/dist/node_modules/.bun/{tailwindcss@3.4.19_7500dce058369e0a → tailwindcss@3.4.19_028b7be3b865fa1a}/node_modules/tailwindcss/defaultTheme.d.ts +2 -2
- package/dist/tailwind-internal/dist/node_modules/.bun/{tailwindcss@3.4.19_7500dce058369e0a → tailwindcss@3.4.19_028b7be3b865fa1a}/node_modules/tailwindcss/lib/public/create-plugin.cjs +1 -1
- package/dist/tailwind-internal/dist/node_modules/.bun/{tailwindcss@3.4.19_7500dce058369e0a → tailwindcss@3.4.19_028b7be3b865fa1a}/node_modules/tailwindcss/lib/public/create-plugin.js +1 -1
- package/dist/tailwind-internal/dist/node_modules/.bun/{tailwindcss@3.4.19_7500dce058369e0a → tailwindcss@3.4.19_028b7be3b865fa1a}/node_modules/tailwindcss/lib/util/createPlugin.cjs +1 -1
- package/dist/tailwind-internal/dist/node_modules/.bun/{tailwindcss@3.4.19_7500dce058369e0a → tailwindcss@3.4.19_028b7be3b865fa1a}/node_modules/tailwindcss/lib/util/createPlugin.js +1 -1
- package/dist/tailwind-internal/dist/node_modules/.bun/{tailwindcss@3.4.19_7500dce058369e0a → tailwindcss@3.4.19_028b7be3b865fa1a}/node_modules/tailwindcss/plugin.cjs +1 -1
- package/dist/tailwind-internal/dist/node_modules/.bun/{tailwindcss@3.4.19_7500dce058369e0a → tailwindcss@3.4.19_028b7be3b865fa1a}/node_modules/tailwindcss/plugin.d.cts +2 -2
- package/dist/tailwind-internal/dist/node_modules/.bun/{tailwindcss@3.4.19_7500dce058369e0a → tailwindcss@3.4.19_028b7be3b865fa1a}/node_modules/tailwindcss/plugin.d.ts +2 -2
- package/dist/tailwind-internal/dist/node_modules/.bun/{tailwindcss@3.4.19_7500dce058369e0a → tailwindcss@3.4.19_028b7be3b865fa1a}/node_modules/tailwindcss/plugin.js +1 -1
- package/dist/tailwind-internal/dist/node_modules/.bun/{tailwindcss@3.4.19_7500dce058369e0a → tailwindcss@3.4.19_028b7be3b865fa1a}/node_modules/tailwindcss/types/config.d.cts +2 -2
- package/dist/tailwind-internal/dist/node_modules/.bun/{tailwindcss@3.4.19_7500dce058369e0a → tailwindcss@3.4.19_028b7be3b865fa1a}/node_modules/tailwindcss/types/config.d.ts +2 -2
- package/dist/tailwind-internal/dist/node_modules/.bun/{tailwindcss@3.4.19_7500dce058369e0a → tailwindcss@3.4.19_028b7be3b865fa1a}/node_modules/tailwindcss/types/generated/colors.d.cts +2 -2
- package/dist/tailwind-internal/dist/node_modules/.bun/{tailwindcss@3.4.19_7500dce058369e0a → tailwindcss@3.4.19_028b7be3b865fa1a}/node_modules/tailwindcss/types/generated/colors.d.ts +2 -2
- package/dist/tailwind-internal/dist/node_modules/.bun/{tailwindcss@3.4.19_7500dce058369e0a → tailwindcss@3.4.19_028b7be3b865fa1a}/node_modules/tailwindcss/types/generated/corePluginList.d.cts +2 -2
- package/dist/tailwind-internal/dist/node_modules/.bun/{tailwindcss@3.4.19_7500dce058369e0a → tailwindcss@3.4.19_028b7be3b865fa1a}/node_modules/tailwindcss/types/generated/corePluginList.d.ts +2 -2
- package/dist/tailwind-internal/dist/node_modules/.bun/{tailwindcss@3.4.19_7500dce058369e0a → tailwindcss@3.4.19_028b7be3b865fa1a}/node_modules/tailwindcss/types/generated/default-theme.d.cts +2 -2
- package/dist/tailwind-internal/dist/node_modules/.bun/{tailwindcss@3.4.19_7500dce058369e0a → tailwindcss@3.4.19_028b7be3b865fa1a}/node_modules/tailwindcss/types/generated/default-theme.d.ts +2 -2
- package/dist/tailwind-internal/dist/plugins/a11y.cjs +1 -1
- package/dist/tailwind-internal/dist/plugins/a11y.js +1 -1
- package/dist/tailwind-internal/dist/plugins/blurBgFallback.cjs +1 -1
- package/dist/tailwind-internal/dist/plugins/blurBgFallback.js +1 -1
- package/dist/tailwind-internal/dist/plugins/borderRadius.cjs +1 -1
- package/dist/tailwind-internal/dist/plugins/borderRadius.js +1 -1
- package/dist/tailwind-internal/dist/plugins/borderWidth.cjs +1 -1
- package/dist/tailwind-internal/dist/plugins/borderWidth.js +1 -1
- package/dist/tailwind-internal/dist/plugins/breakpoints.cjs +1 -1
- package/dist/tailwind-internal/dist/plugins/breakpoints.js +1 -1
- package/dist/tailwind-internal/dist/plugins/colors.cjs +1 -1
- package/dist/tailwind-internal/dist/plugins/colors.js +1 -1
- package/dist/tailwind-internal/dist/plugins/components.cjs +1 -1
- package/dist/tailwind-internal/dist/plugins/components.js +1 -1
- package/dist/tailwind-internal/dist/plugins/elevation.cjs +1 -1
- package/dist/tailwind-internal/dist/plugins/elevation.js +1 -1
- package/dist/tailwind-internal/dist/plugins/icons.cjs +1 -1
- package/dist/tailwind-internal/dist/plugins/icons.js +1 -1
- package/dist/tailwind-internal/dist/plugins/input.cjs +1 -1
- package/dist/tailwind-internal/dist/plugins/input.js +1 -1
- package/dist/tailwind-internal/dist/plugins/motion.cjs +1 -1
- package/dist/tailwind-internal/dist/plugins/motion.js +1 -1
- package/dist/tailwind-internal/dist/plugins/nestedBorderRadius.cjs +1 -1
- package/dist/tailwind-internal/dist/plugins/nestedBorderRadius.js +1 -1
- package/dist/tailwind-internal/dist/plugins/scaleMode.cjs +1 -1
- package/dist/tailwind-internal/dist/plugins/scaleMode.js +1 -1
- package/dist/tailwind-internal/dist/plugins/shadows.cjs +1 -1
- package/dist/tailwind-internal/dist/plugins/shadows.js +1 -1
- package/dist/tailwind-internal/dist/plugins/sizing.cjs +1 -1
- package/dist/tailwind-internal/dist/plugins/sizing.js +1 -1
- package/dist/tailwind-internal/dist/plugins/spacing.cjs +1 -1
- package/dist/tailwind-internal/dist/plugins/spacing.js +1 -1
- package/dist/tailwind-internal/dist/plugins/typography.cjs +1 -1
- package/dist/tailwind-internal/dist/plugins/typography.js +1 -1
- package/dist/tailwind-internal/dist/tailwindPlugin.d.cts +1 -1
- package/dist/tailwind-internal/dist/tailwindPlugin.d.ts +1 -1
- package/dist/tailwind-internal/dist/utils/addFontsPlugin.cjs +1 -1
- package/dist/tailwind-internal/dist/utils/addFontsPlugin.d.cts +1 -1
- package/dist/tailwind-internal/dist/utils/addFontsPlugin.d.ts +1 -1
- package/dist/tailwind-internal/dist/utils/addFontsPlugin.js +1 -1
- package/dist/tailwind-internal/dist/utils/composeTailwindPlugins.cjs +1 -1
- package/dist/tailwind-internal/dist/utils/composeTailwindPlugins.d.cts +2 -2
- package/dist/tailwind-internal/dist/utils/composeTailwindPlugins.d.ts +2 -2
- package/dist/tailwind-internal/dist/utils/composeTailwindPlugins.js +1 -1
- package/dist/tailwind-internal/dist/utils/getShadowStyles.d.cts +2 -2
- package/dist/tailwind-internal/dist/utils/getShadowStyles.d.ts +2 -2
- package/dist/tokens/utils/getFontUrls.cjs +8 -1
- package/dist/tokens/utils/getFontUrls.d.cts +7 -0
- package/dist/tokens/utils/getFontUrls.d.ts +7 -0
- package/dist/tokens/utils/getFontUrls.js +8 -1
- package/dist/uds/generated/componentData.cjs +2402 -2398
- package/dist/uds/generated/componentData.js +2402 -2398
- package/dist/uds/generated/tailwindPurge.cjs +1 -1
- package/dist/uds/generated/tailwindPurge.js +1 -1
- package/generated/componentData.json +3091 -3091
- package/generated/tailwindPurge.ts +1 -1
- package/package.json +1 -1
|
@@ -11,8 +11,8 @@ import { VariantConfig } from "../types/ComponentConfig.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" | "color" | "iconSize" | "backgroundColor" | "borderWidth" | "underlineWidth" | "strokeWidth" | "borderRadius" | "borderRadiusVar" | "borderColor" | "underlineColor" | "stroke" | "buttonSize" | "buttonVariant" | "fontVariationSettings" | "gap" | "opacity" | "fillOpacity" | "spacing" | "iconVariant" | "horizontalMargin" | "bottomMargin" | "spacingHorizontal" | "spacingVertical" | "spacingTop" | "spacingBottom" | "textVariant" | "textDecorationLine" | "shadow" | "shadowVar" | "insetShadow" | "bannerInnerShadow" | "height" | "width" | "scaleEffect" | "backdropBlur" | "blurBackgroundColor" | "blurBackgroundColorFallback" | "scrimBackgroundColor" | "scrimOpacity" | "paginationWidthVar" | "controlHeight", 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" | "color" | "iconSize" | "backgroundColor" | "borderWidth" | "underlineWidth" | "strokeWidth" | "borderRadius" | "borderRadiusVar" | "borderColor" | "underlineColor" | "stroke" | "buttonSize" | "buttonVariant" | "fontVariationSettings" | "gap" | "opacity" | "fillOpacity" | "spacing" | "iconVariant" | "horizontalMargin" | "bottomMargin" | "spacingHorizontal" | "spacingVertical" | "spacingTop" | "spacingBottom" | "textVariant" | "textDecorationLine" | "shadow" | "shadowVar" | "insetShadow" | "bannerInnerShadow" | "height" | "width" | "scaleEffect" | "backdropBlur" | "blurBackgroundColor" | "blurBackgroundColorFallback" | "scrimBackgroundColor" | "scrimOpacity" | "paginationWidthVar" | "controlHeight", 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 { VariantConfig } from "../types/ComponentConfig.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" | "color" | "iconSize" | "backgroundColor" | "borderWidth" | "underlineWidth" | "strokeWidth" | "borderRadius" | "borderRadiusVar" | "borderColor" | "underlineColor" | "stroke" | "buttonSize" | "buttonVariant" | "fontVariationSettings" | "gap" | "opacity" | "fillOpacity" | "spacing" | "iconVariant" | "horizontalMargin" | "bottomMargin" | "spacingHorizontal" | "spacingVertical" | "spacingTop" | "spacingBottom" | "textVariant" | "textDecorationLine" | "shadow" | "shadowVar" | "insetShadow" | "bannerInnerShadow" | "height" | "width" | "scaleEffect" | "backdropBlur" | "blurBackgroundColor" | "blurBackgroundColorFallback" | "scrimBackgroundColor" | "scrimOpacity" | "paginationWidthVar" | "controlHeight", 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" | "color" | "iconSize" | "backgroundColor" | "borderWidth" | "underlineWidth" | "strokeWidth" | "borderRadius" | "borderRadiusVar" | "borderColor" | "underlineColor" | "stroke" | "buttonSize" | "buttonVariant" | "fontVariationSettings" | "gap" | "opacity" | "fillOpacity" | "spacing" | "iconVariant" | "horizontalMargin" | "bottomMargin" | "spacingHorizontal" | "spacingVertical" | "spacingTop" | "spacingBottom" | "textVariant" | "textDecorationLine" | "shadow" | "shadowVar" | "insetShadow" | "bannerInnerShadow" | "height" | "width" | "scaleEffect" | "backdropBlur" | "blurBackgroundColor" | "blurBackgroundColorFallback" | "scrimBackgroundColor" | "scrimOpacity" | "paginationWidthVar" | "controlHeight", 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
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
require("../_virtual/_rolldown/runtime.cjs");
|
|
4
|
-
const
|
|
4
|
+
const require_styles_textColorVariants = require("../styles/textColorVariants.cjs");
|
|
5
5
|
const require_tokens_configs_sizes = require("../tokens/configs/sizes.cjs");
|
|
6
6
|
let react = require("react");
|
|
7
|
+
let clsx = require("clsx");
|
|
7
8
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
9
|
//#region src/components/Icon.tsx
|
|
9
10
|
/**
|
|
@@ -39,11 +40,7 @@ const Icon = (0, react.forwardRef)(function BaseIcon({ name: SVGIcon, size = "md
|
|
|
39
40
|
const availableVariants = SVGIcon.metadata?.variants ?? [];
|
|
40
41
|
const effectiveVariant = availableVariants.includes(variant) ? variant : availableVariants[0] ?? "fill";
|
|
41
42
|
const isMulticolor = effectiveVariant === "multicolor";
|
|
42
|
-
const styles =
|
|
43
|
-
flex: "none",
|
|
44
|
-
color: isMulticolor || color === "inherit" ? void 0 : color,
|
|
45
|
-
className: require_styles_styler.cx(className, !isMulticolor && "[&_path]:fill-current")
|
|
46
|
-
});
|
|
43
|
+
const styles = (0, clsx.clsx)("flex-none", !isMulticolor && color !== "inherit" && require_styles_textColorVariants.textColorVariants[color], !isMulticolor && "[&_path]:fill-current", className);
|
|
47
44
|
const sizePx = require_tokens_configs_sizes.normalIconSizes[size];
|
|
48
45
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("svg", {
|
|
49
46
|
ref,
|
package/dist/components/Icon.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
|
|
2
|
-
import {
|
|
2
|
+
import { textColorVariants } from "../styles/textColorVariants.js";
|
|
3
3
|
import { normalIconSizes } from "../tokens/configs/sizes.js";
|
|
4
4
|
import { forwardRef } from "react";
|
|
5
|
+
import { clsx } from "clsx";
|
|
5
6
|
import { jsx } from "react/jsx-runtime";
|
|
6
7
|
//#region src/components/Icon.tsx
|
|
7
8
|
/**
|
|
@@ -37,11 +38,7 @@ const Icon = forwardRef(function BaseIcon({ name: SVGIcon, size = "md", variant
|
|
|
37
38
|
const availableVariants = SVGIcon.metadata?.variants ?? [];
|
|
38
39
|
const effectiveVariant = availableVariants.includes(variant) ? variant : availableVariants[0] ?? "fill";
|
|
39
40
|
const isMulticolor = effectiveVariant === "multicolor";
|
|
40
|
-
const styles =
|
|
41
|
-
flex: "none",
|
|
42
|
-
color: isMulticolor || color === "inherit" ? void 0 : color,
|
|
43
|
-
className: cx(className, !isMulticolor && "[&_path]:fill-current")
|
|
44
|
-
});
|
|
41
|
+
const styles = clsx("flex-none", !isMulticolor && color !== "inherit" && textColorVariants[color], !isMulticolor && "[&_path]:fill-current", className);
|
|
45
42
|
const sizePx = normalIconSizes[size];
|
|
46
43
|
return /* @__PURE__ */ jsx("svg", {
|
|
47
44
|
ref,
|
|
@@ -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: ("top-start" | "top-end" | "bottom-start" | "bottom-end" | ("top" | "bottom" | "left" | "right") | "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: ("top-start" | "top-end" | "bottom-start" | "bottom-end" | ("top" | "bottom" | "left" | "right") | "left-start" | "right-start" | "left-end" | "right-end") | undefined;
|
|
34
34
|
animationDuration: number;
|
|
35
35
|
};
|
|
36
36
|
//#endregion
|
package/dist/styles/styler.cjs
CHANGED
|
@@ -23,7 +23,15 @@ function normalizeObject(props) {
|
|
|
23
23
|
}
|
|
24
24
|
return sorted;
|
|
25
25
|
}
|
|
26
|
-
|
|
26
|
+
/**
|
|
27
|
+
* !WARNING: The `@__PURE__` annotation below is load-bearing for tree-shaking — do not remove it.
|
|
28
|
+
*
|
|
29
|
+
* Without it, bundlers must assume this module-level call has side effects and keep it (plus
|
|
30
|
+
* `tailwind-merge` and the fixtures color lists it references) in any bundle that imports
|
|
31
|
+
* anything from this module. Do not rename/wrap the call without re-checking bundle output
|
|
32
|
+
* (e.g. `esbuild --bundle --minify` an entry that imports a single lightweight export).
|
|
33
|
+
*/
|
|
34
|
+
const twMerge = /* @__PURE__ */ (0, tailwind_merge.extendTailwindMerge)({
|
|
27
35
|
extend: { theme: {
|
|
28
36
|
borderColor: _yahoo_uds_fixtures.lineColors,
|
|
29
37
|
borderWidth: _yahoo_uds_fixtures.borderWidthsWithElevation,
|
|
@@ -85,7 +93,15 @@ const cva = (config) => {
|
|
|
85
93
|
return cx(base, variantClassNames, compoundVariantClassNames, className);
|
|
86
94
|
};
|
|
87
95
|
};
|
|
88
|
-
|
|
96
|
+
/**
|
|
97
|
+
* !WARNING: The `@__PURE__` annotation below is load-bearing for tree-shaking — do not remove it.
|
|
98
|
+
*
|
|
99
|
+
* Without it, importing anything from this module (e.g. just `cx`) drags the full `variants`
|
|
100
|
+
* map and the auto-generated `autoVariants` (~70 kB minified) into the bundle, because bundlers
|
|
101
|
+
* must assume the module-level `cva(...)` call has side effects. With it, `getStylesInternal`
|
|
102
|
+
* and its `variants` import are dropped when `getStyles` is unused.
|
|
103
|
+
*/
|
|
104
|
+
const getStylesInternal = /* @__PURE__ */ cva({ variants: require_styles_variants.variants });
|
|
89
105
|
const styleCache = /* @__PURE__ */ new Map();
|
|
90
106
|
const getStylesCacheKeySymbol = Symbol("getStylesCacheKey");
|
|
91
107
|
const generateCacheKey = (props) => {
|
package/dist/styles/styler.d.cts
CHANGED
|
@@ -9,6 +9,14 @@ import { CVA, CX } from "./stylerTypes.cjs";
|
|
|
9
9
|
declare function normalizeObject(props: Record<string, unknown>): Record<string, unknown>;
|
|
10
10
|
declare const cx: CX<string>;
|
|
11
11
|
declare const cva: CVA<string>;
|
|
12
|
+
/**
|
|
13
|
+
* !WARNING: The `@__PURE__` annotation below is load-bearing for tree-shaking — do not remove it.
|
|
14
|
+
*
|
|
15
|
+
* Without it, importing anything from this module (e.g. just `cx`) drags the full `variants`
|
|
16
|
+
* map and the auto-generated `autoVariants` (~70 kB minified) into the bundle, because bundlers
|
|
17
|
+
* must assume the module-level `cva(...)` call has side effects. With it, `getStylesInternal`
|
|
18
|
+
* and its `variants` import are dropped when `getStyles` is unused.
|
|
19
|
+
*/
|
|
12
20
|
declare const getStylesInternal: (props?: ({
|
|
13
21
|
avatarIconVariantRoot?: "primary" | "secondary" | "default" | undefined;
|
|
14
22
|
avatarImageVariantRoot?: "primary" | "secondary" | "default" | undefined;
|
package/dist/styles/styler.d.ts
CHANGED
|
@@ -9,6 +9,14 @@ import { CVA, CX } from "./stylerTypes.js";
|
|
|
9
9
|
declare function normalizeObject(props: Record<string, unknown>): Record<string, unknown>;
|
|
10
10
|
declare const cx: CX<string>;
|
|
11
11
|
declare const cva: CVA<string>;
|
|
12
|
+
/**
|
|
13
|
+
* !WARNING: The `@__PURE__` annotation below is load-bearing for tree-shaking — do not remove it.
|
|
14
|
+
*
|
|
15
|
+
* Without it, importing anything from this module (e.g. just `cx`) drags the full `variants`
|
|
16
|
+
* map and the auto-generated `autoVariants` (~70 kB minified) into the bundle, because bundlers
|
|
17
|
+
* must assume the module-level `cva(...)` call has side effects. With it, `getStylesInternal`
|
|
18
|
+
* and its `variants` import are dropped when `getStyles` is unused.
|
|
19
|
+
*/
|
|
12
20
|
declare const getStylesInternal: (props?: ({
|
|
13
21
|
avatarIconVariantRoot?: "primary" | "secondary" | "default" | undefined;
|
|
14
22
|
avatarImageVariantRoot?: "primary" | "secondary" | "default" | undefined;
|
package/dist/styles/styler.js
CHANGED
|
@@ -21,7 +21,15 @@ function normalizeObject(props) {
|
|
|
21
21
|
}
|
|
22
22
|
return sorted;
|
|
23
23
|
}
|
|
24
|
-
|
|
24
|
+
/**
|
|
25
|
+
* !WARNING: The `@__PURE__` annotation below is load-bearing for tree-shaking — do not remove it.
|
|
26
|
+
*
|
|
27
|
+
* Without it, bundlers must assume this module-level call has side effects and keep it (plus
|
|
28
|
+
* `tailwind-merge` and the fixtures color lists it references) in any bundle that imports
|
|
29
|
+
* anything from this module. Do not rename/wrap the call without re-checking bundle output
|
|
30
|
+
* (e.g. `esbuild --bundle --minify` an entry that imports a single lightweight export).
|
|
31
|
+
*/
|
|
32
|
+
const twMerge = /* @__PURE__ */ extendTailwindMerge({
|
|
25
33
|
extend: { theme: {
|
|
26
34
|
borderColor: lineColors,
|
|
27
35
|
borderWidth: borderWidthsWithElevation,
|
|
@@ -83,7 +91,15 @@ const cva = (config) => {
|
|
|
83
91
|
return cx(base, variantClassNames, compoundVariantClassNames, className);
|
|
84
92
|
};
|
|
85
93
|
};
|
|
86
|
-
|
|
94
|
+
/**
|
|
95
|
+
* !WARNING: The `@__PURE__` annotation below is load-bearing for tree-shaking — do not remove it.
|
|
96
|
+
*
|
|
97
|
+
* Without it, importing anything from this module (e.g. just `cx`) drags the full `variants`
|
|
98
|
+
* map and the auto-generated `autoVariants` (~70 kB minified) into the bundle, because bundlers
|
|
99
|
+
* must assume the module-level `cva(...)` call has side effects. With it, `getStylesInternal`
|
|
100
|
+
* and its `variants` import are dropped when `getStyles` is unused.
|
|
101
|
+
*/
|
|
102
|
+
const getStylesInternal = /* @__PURE__ */ cva({ variants });
|
|
87
103
|
const styleCache = /* @__PURE__ */ new Map();
|
|
88
104
|
const getStylesCacheKeySymbol = Symbol("getStylesCacheKey");
|
|
89
105
|
const generateCacheKey = (props) => {
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
//#region src/styles/textColorVariants.ts
|
|
4
|
+
/**
|
|
5
|
+
* Text color classes for the `color` style prop.
|
|
6
|
+
*
|
|
7
|
+
* Kept in a standalone module so lightweight components (e.g. `Icon`) can map
|
|
8
|
+
* a color to its class without pulling in the full `variants` map, the
|
|
9
|
+
* auto-generated variants, or `tailwind-merge` via the styler.
|
|
10
|
+
*/
|
|
11
|
+
const textColorVariants = {
|
|
12
|
+
accent: "text-accent",
|
|
13
|
+
alert: "text-alert",
|
|
14
|
+
"alert-secondary": "text-alert-secondary",
|
|
15
|
+
brand: "text-brand",
|
|
16
|
+
"brand-secondary": "text-brand-secondary",
|
|
17
|
+
positive: "text-positive",
|
|
18
|
+
"positive-secondary": "text-positive-secondary",
|
|
19
|
+
warning: "text-warning",
|
|
20
|
+
"warning-secondary": "text-warning-secondary",
|
|
21
|
+
info: "text-info",
|
|
22
|
+
"info-secondary": "text-info-secondary",
|
|
23
|
+
muted: "text-muted",
|
|
24
|
+
"on-color": "text-on-color",
|
|
25
|
+
primary: "text-primary",
|
|
26
|
+
secondary: "text-secondary",
|
|
27
|
+
tertiary: "text-tertiary",
|
|
28
|
+
white: "text-white",
|
|
29
|
+
black: "text-black",
|
|
30
|
+
transparent: "text-transparent",
|
|
31
|
+
current: "text-current",
|
|
32
|
+
"always/white": "text-always-white",
|
|
33
|
+
"always/black": "text-always-black",
|
|
34
|
+
"always/transparent": "text-always-transparent",
|
|
35
|
+
"always/current": "text-always-current",
|
|
36
|
+
"always/brand": "text-always-brand",
|
|
37
|
+
"always/accent": "text-always-accent"
|
|
38
|
+
};
|
|
39
|
+
//#endregion
|
|
40
|
+
exports.textColorVariants = textColorVariants;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
|
|
2
|
+
//#region src/styles/textColorVariants.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* Text color classes for the `color` style prop.
|
|
5
|
+
*
|
|
6
|
+
* Kept in a standalone module so lightweight components (e.g. `Icon`) can map
|
|
7
|
+
* a color to its class without pulling in the full `variants` map, the
|
|
8
|
+
* auto-generated variants, or `tailwind-merge` via the styler.
|
|
9
|
+
*/
|
|
10
|
+
declare const textColorVariants: {
|
|
11
|
+
accent: string;
|
|
12
|
+
alert: string;
|
|
13
|
+
'alert-secondary': string;
|
|
14
|
+
brand: string;
|
|
15
|
+
'brand-secondary': string;
|
|
16
|
+
positive: string;
|
|
17
|
+
'positive-secondary': string;
|
|
18
|
+
warning: string;
|
|
19
|
+
'warning-secondary': string;
|
|
20
|
+
info: string;
|
|
21
|
+
'info-secondary': string;
|
|
22
|
+
muted: string;
|
|
23
|
+
'on-color': string;
|
|
24
|
+
primary: string;
|
|
25
|
+
secondary: string;
|
|
26
|
+
tertiary: string;
|
|
27
|
+
white: string;
|
|
28
|
+
black: string;
|
|
29
|
+
transparent: string;
|
|
30
|
+
current: string;
|
|
31
|
+
'always/white': string;
|
|
32
|
+
'always/black': string;
|
|
33
|
+
'always/transparent': string;
|
|
34
|
+
'always/current': string;
|
|
35
|
+
'always/brand': string;
|
|
36
|
+
'always/accent': string;
|
|
37
|
+
};
|
|
38
|
+
//#endregion
|
|
39
|
+
export { textColorVariants };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
|
|
2
|
+
//#region src/styles/textColorVariants.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* Text color classes for the `color` style prop.
|
|
5
|
+
*
|
|
6
|
+
* Kept in a standalone module so lightweight components (e.g. `Icon`) can map
|
|
7
|
+
* a color to its class without pulling in the full `variants` map, the
|
|
8
|
+
* auto-generated variants, or `tailwind-merge` via the styler.
|
|
9
|
+
*/
|
|
10
|
+
declare const textColorVariants: {
|
|
11
|
+
accent: string;
|
|
12
|
+
alert: string;
|
|
13
|
+
'alert-secondary': string;
|
|
14
|
+
brand: string;
|
|
15
|
+
'brand-secondary': string;
|
|
16
|
+
positive: string;
|
|
17
|
+
'positive-secondary': string;
|
|
18
|
+
warning: string;
|
|
19
|
+
'warning-secondary': string;
|
|
20
|
+
info: string;
|
|
21
|
+
'info-secondary': string;
|
|
22
|
+
muted: string;
|
|
23
|
+
'on-color': string;
|
|
24
|
+
primary: string;
|
|
25
|
+
secondary: string;
|
|
26
|
+
tertiary: string;
|
|
27
|
+
white: string;
|
|
28
|
+
black: string;
|
|
29
|
+
transparent: string;
|
|
30
|
+
current: string;
|
|
31
|
+
'always/white': string;
|
|
32
|
+
'always/black': string;
|
|
33
|
+
'always/transparent': string;
|
|
34
|
+
'always/current': string;
|
|
35
|
+
'always/brand': string;
|
|
36
|
+
'always/accent': string;
|
|
37
|
+
};
|
|
38
|
+
//#endregion
|
|
39
|
+
export { textColorVariants };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
|
|
2
|
+
//#region src/styles/textColorVariants.ts
|
|
3
|
+
/**
|
|
4
|
+
* Text color classes for the `color` style prop.
|
|
5
|
+
*
|
|
6
|
+
* Kept in a standalone module so lightweight components (e.g. `Icon`) can map
|
|
7
|
+
* a color to its class without pulling in the full `variants` map, the
|
|
8
|
+
* auto-generated variants, or `tailwind-merge` via the styler.
|
|
9
|
+
*/
|
|
10
|
+
const textColorVariants = {
|
|
11
|
+
accent: "text-accent",
|
|
12
|
+
alert: "text-alert",
|
|
13
|
+
"alert-secondary": "text-alert-secondary",
|
|
14
|
+
brand: "text-brand",
|
|
15
|
+
"brand-secondary": "text-brand-secondary",
|
|
16
|
+
positive: "text-positive",
|
|
17
|
+
"positive-secondary": "text-positive-secondary",
|
|
18
|
+
warning: "text-warning",
|
|
19
|
+
"warning-secondary": "text-warning-secondary",
|
|
20
|
+
info: "text-info",
|
|
21
|
+
"info-secondary": "text-info-secondary",
|
|
22
|
+
muted: "text-muted",
|
|
23
|
+
"on-color": "text-on-color",
|
|
24
|
+
primary: "text-primary",
|
|
25
|
+
secondary: "text-secondary",
|
|
26
|
+
tertiary: "text-tertiary",
|
|
27
|
+
white: "text-white",
|
|
28
|
+
black: "text-black",
|
|
29
|
+
transparent: "text-transparent",
|
|
30
|
+
current: "text-current",
|
|
31
|
+
"always/white": "text-always-white",
|
|
32
|
+
"always/black": "text-always-black",
|
|
33
|
+
"always/transparent": "text-always-transparent",
|
|
34
|
+
"always/current": "text-always-current",
|
|
35
|
+
"always/brand": "text-always-brand",
|
|
36
|
+
"always/accent": "text-always-accent"
|
|
37
|
+
};
|
|
38
|
+
//#endregion
|
|
39
|
+
export { textColorVariants };
|
package/dist/styles/variants.cjs
CHANGED
|
@@ -4,34 +4,7 @@ const require_autoVariants = require("../automated-config/dist/generated/autoVar
|
|
|
4
4
|
const require_index = require("../css-tokens/dist/index.cjs");
|
|
5
5
|
//#region src/styles/variants.ts
|
|
6
6
|
const variants = {
|
|
7
|
-
color:
|
|
8
|
-
accent: "text-accent",
|
|
9
|
-
alert: "text-alert",
|
|
10
|
-
"alert-secondary": "text-alert-secondary",
|
|
11
|
-
brand: "text-brand",
|
|
12
|
-
"brand-secondary": "text-brand-secondary",
|
|
13
|
-
positive: "text-positive",
|
|
14
|
-
"positive-secondary": "text-positive-secondary",
|
|
15
|
-
warning: "text-warning",
|
|
16
|
-
"warning-secondary": "text-warning-secondary",
|
|
17
|
-
info: "text-info",
|
|
18
|
-
"info-secondary": "text-info-secondary",
|
|
19
|
-
muted: "text-muted",
|
|
20
|
-
"on-color": "text-on-color",
|
|
21
|
-
primary: "text-primary",
|
|
22
|
-
secondary: "text-secondary",
|
|
23
|
-
tertiary: "text-tertiary",
|
|
24
|
-
white: "text-white",
|
|
25
|
-
black: "text-black",
|
|
26
|
-
transparent: "text-transparent",
|
|
27
|
-
current: "text-current",
|
|
28
|
-
"always/white": "text-always-white",
|
|
29
|
-
"always/black": "text-always-black",
|
|
30
|
-
"always/transparent": "text-always-transparent",
|
|
31
|
-
"always/current": "text-always-current",
|
|
32
|
-
"always/brand": "text-always-brand",
|
|
33
|
-
"always/accent": "text-always-accent"
|
|
34
|
-
},
|
|
7
|
+
color: require("./textColorVariants.cjs").textColorVariants,
|
|
35
8
|
placeholderColor: {
|
|
36
9
|
accent: "placeholder:text-accent",
|
|
37
10
|
alert: "placeholder:text-alert",
|
package/dist/styles/variants.js
CHANGED
|
@@ -1,36 +1,10 @@
|
|
|
1
1
|
/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
|
|
2
2
|
import { autoVariants } from "../automated-config/dist/generated/autoVariants.js";
|
|
3
3
|
import { DARK_COLOR_MODE_CLASSNAME, LARGE_SCALE_MODE_CLASSNAME, LIGHT_COLOR_MODE_CLASSNAME, MEDIUM_SCALE_MODE_CLASSNAME, SMALL_SCALE_MODE_CLASSNAME, XLARGE_SCALE_MODE_CLASSNAME, XSMALL_SCALE_MODE_CLASSNAME, XXLARGE_SCALE_MODE_CLASSNAME, XXXLARGE_SCALE_MODE_CLASSNAME } from "../css-tokens/dist/index.js";
|
|
4
|
+
import { textColorVariants } from "./textColorVariants.js";
|
|
4
5
|
//#region src/styles/variants.ts
|
|
5
6
|
const variants = {
|
|
6
|
-
color:
|
|
7
|
-
accent: "text-accent",
|
|
8
|
-
alert: "text-alert",
|
|
9
|
-
"alert-secondary": "text-alert-secondary",
|
|
10
|
-
brand: "text-brand",
|
|
11
|
-
"brand-secondary": "text-brand-secondary",
|
|
12
|
-
positive: "text-positive",
|
|
13
|
-
"positive-secondary": "text-positive-secondary",
|
|
14
|
-
warning: "text-warning",
|
|
15
|
-
"warning-secondary": "text-warning-secondary",
|
|
16
|
-
info: "text-info",
|
|
17
|
-
"info-secondary": "text-info-secondary",
|
|
18
|
-
muted: "text-muted",
|
|
19
|
-
"on-color": "text-on-color",
|
|
20
|
-
primary: "text-primary",
|
|
21
|
-
secondary: "text-secondary",
|
|
22
|
-
tertiary: "text-tertiary",
|
|
23
|
-
white: "text-white",
|
|
24
|
-
black: "text-black",
|
|
25
|
-
transparent: "text-transparent",
|
|
26
|
-
current: "text-current",
|
|
27
|
-
"always/white": "text-always-white",
|
|
28
|
-
"always/black": "text-always-black",
|
|
29
|
-
"always/transparent": "text-always-transparent",
|
|
30
|
-
"always/current": "text-always-current",
|
|
31
|
-
"always/brand": "text-always-brand",
|
|
32
|
-
"always/accent": "text-always-accent"
|
|
33
|
-
},
|
|
7
|
+
color: textColorVariants,
|
|
34
8
|
placeholderColor: {
|
|
35
9
|
accent: "placeholder:text-accent",
|
|
36
10
|
alert: "placeholder:text-alert",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
import { TextVariantUi } from "./packages/types/dist/index.cjs";
|
|
3
|
-
import { theme } from "./node_modules/.bun/tailwindcss@3.4.
|
|
3
|
+
import { theme } from "./node_modules/.bun/tailwindcss@3.4.19_028b7be3b865fa1a/node_modules/tailwindcss/defaultTheme.cjs";
|
|
4
4
|
|
|
5
5
|
//#region ../tailwind-internal/dist/defaultTailwindThemeAsUdsConfig.d.ts
|
|
6
6
|
//#region src/defaultTailwindThemeAsUdsConfig.d.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
import { TextVariantUi } from "./packages/types/dist/index.js";
|
|
3
|
-
import { theme } from "./node_modules/.bun/tailwindcss@3.4.
|
|
3
|
+
import { theme } from "./node_modules/.bun/tailwindcss@3.4.19_028b7be3b865fa1a/node_modules/tailwindcss/defaultTheme.js";
|
|
4
4
|
|
|
5
5
|
//#region ../tailwind-internal/dist/defaultTailwindThemeAsUdsConfig.d.ts
|
|
6
6
|
//#region src/defaultTailwindThemeAsUdsConfig.d.ts
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import { Config } from "./types/config.cjs";
|
|
3
3
|
import { DefaultTheme } from "./types/generated/default-theme.cjs";
|
|
4
4
|
|
|
5
|
-
//#region ../tailwind-internal/dist/node_modules/.bun/tailwindcss@3.4.
|
|
6
|
-
//#region ../../node_modules/.bun/tailwindcss@3.4.19+
|
|
5
|
+
//#region ../tailwind-internal/dist/node_modules/.bun/tailwindcss@3.4.19_028b7be3b865fa1a/node_modules/tailwindcss/defaultTheme.d.ts
|
|
6
|
+
//#region ../../node_modules/.bun/tailwindcss@3.4.19+028b7be3b865fa1a/node_modules/tailwindcss/defaultTheme.d.ts
|
|
7
7
|
declare const theme: Config['theme'] & DefaultTheme; //#endregion
|
|
8
8
|
//#endregion
|
|
9
9
|
export { theme };
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import { Config } from "./types/config.js";
|
|
3
3
|
import { DefaultTheme } from "./types/generated/default-theme.js";
|
|
4
4
|
|
|
5
|
-
//#region ../tailwind-internal/dist/node_modules/.bun/tailwindcss@3.4.
|
|
6
|
-
//#region ../../node_modules/.bun/tailwindcss@3.4.19+
|
|
5
|
+
//#region ../tailwind-internal/dist/node_modules/.bun/tailwindcss@3.4.19_028b7be3b865fa1a/node_modules/tailwindcss/defaultTheme.d.ts
|
|
6
|
+
//#region ../../node_modules/.bun/tailwindcss@3.4.19+028b7be3b865fa1a/node_modules/tailwindcss/defaultTheme.d.ts
|
|
7
7
|
declare const theme: Config['theme'] & DefaultTheme; //#endregion
|
|
8
8
|
//#endregion
|
|
9
9
|
export { theme };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
|
|
2
2
|
const require_runtime = require("../../../../../../../_virtual/_rolldown/runtime.cjs");
|
|
3
3
|
const require_createPlugin$1 = require("../util/createPlugin.cjs");
|
|
4
|
-
//#region ../tailwind-internal/dist/node_modules/.bun/tailwindcss@3.4.
|
|
4
|
+
//#region ../tailwind-internal/dist/node_modules/.bun/tailwindcss@3.4.19_028b7be3b865fa1a/node_modules/tailwindcss/lib/public/create-plugin.js
|
|
5
5
|
/*! © 2026 Yahoo, Inc. UDS Tailwind Internal v0.0.0-development */
|
|
6
6
|
var require_create_plugin = /* @__PURE__ */ require_runtime.__commonJSMin(((exports) => {
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
|
|
2
2
|
import { __commonJSMin } from "../../../../../../../_virtual/_rolldown/runtime.js";
|
|
3
3
|
import { require_createPlugin } from "../util/createPlugin.js";
|
|
4
|
-
//#region ../tailwind-internal/dist/node_modules/.bun/tailwindcss@3.4.
|
|
4
|
+
//#region ../tailwind-internal/dist/node_modules/.bun/tailwindcss@3.4.19_028b7be3b865fa1a/node_modules/tailwindcss/lib/public/create-plugin.js
|
|
5
5
|
/*! © 2026 Yahoo, Inc. UDS Tailwind Internal v0.0.0-development */
|
|
6
6
|
var require_create_plugin = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
|
|
2
|
-
//#region ../tailwind-internal/dist/node_modules/.bun/tailwindcss@3.4.
|
|
2
|
+
//#region ../tailwind-internal/dist/node_modules/.bun/tailwindcss@3.4.19_028b7be3b865fa1a/node_modules/tailwindcss/lib/util/createPlugin.js
|
|
3
3
|
/*! © 2026 Yahoo, Inc. UDS Tailwind Internal v0.0.0-development */
|
|
4
4
|
var require_createPlugin = /* @__PURE__ */ require("../../../../../../../_virtual/_rolldown/runtime.cjs").__commonJSMin(((exports) => {
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
|
|
2
2
|
import { __commonJSMin } from "../../../../../../../_virtual/_rolldown/runtime.js";
|
|
3
|
-
//#region ../tailwind-internal/dist/node_modules/.bun/tailwindcss@3.4.
|
|
3
|
+
//#region ../tailwind-internal/dist/node_modules/.bun/tailwindcss@3.4.19_028b7be3b865fa1a/node_modules/tailwindcss/lib/util/createPlugin.js
|
|
4
4
|
/*! © 2026 Yahoo, Inc. UDS Tailwind Internal v0.0.0-development */
|
|
5
5
|
var require_createPlugin = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
|
|
2
2
|
const require_runtime = require("../../../../../_virtual/_rolldown/runtime.cjs");
|
|
3
3
|
const require_create_plugin$1 = require("./lib/public/create-plugin.cjs");
|
|
4
|
-
//#region ../tailwind-internal/dist/node_modules/.bun/tailwindcss@3.4.
|
|
4
|
+
//#region ../tailwind-internal/dist/node_modules/.bun/tailwindcss@3.4.19_028b7be3b865fa1a/node_modules/tailwindcss/plugin.js
|
|
5
5
|
/*! © 2026 Yahoo, Inc. UDS Tailwind Internal v0.0.0-development */
|
|
6
6
|
var require_plugin = /* @__PURE__ */ require_runtime.__commonJSMin(((exports, module) => {
|
|
7
7
|
let createPlugin = require_create_plugin$1.require_create_plugin();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
import { Config, PluginCreator } from "./types/config.cjs";
|
|
3
3
|
|
|
4
|
-
//#region ../tailwind-internal/dist/node_modules/.bun/tailwindcss@3.4.
|
|
5
|
-
//#region ../../node_modules/.bun/tailwindcss@3.4.19+
|
|
4
|
+
//#region ../tailwind-internal/dist/node_modules/.bun/tailwindcss@3.4.19_028b7be3b865fa1a/node_modules/tailwindcss/plugin.d.ts
|
|
5
|
+
//#region ../../node_modules/.bun/tailwindcss@3.4.19+028b7be3b865fa1a/node_modules/tailwindcss/plugin.d.ts
|
|
6
6
|
type Plugin = {
|
|
7
7
|
withOptions<T>(plugin: (options: T) => PluginCreator, config?: (options: T) => Partial<Config>): {
|
|
8
8
|
(options: T): {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
import { Config, PluginCreator } from "./types/config.js";
|
|
3
3
|
|
|
4
|
-
//#region ../tailwind-internal/dist/node_modules/.bun/tailwindcss@3.4.
|
|
5
|
-
//#region ../../node_modules/.bun/tailwindcss@3.4.19+
|
|
4
|
+
//#region ../tailwind-internal/dist/node_modules/.bun/tailwindcss@3.4.19_028b7be3b865fa1a/node_modules/tailwindcss/plugin.d.ts
|
|
5
|
+
//#region ../../node_modules/.bun/tailwindcss@3.4.19+028b7be3b865fa1a/node_modules/tailwindcss/plugin.d.ts
|
|
6
6
|
type Plugin = {
|
|
7
7
|
withOptions<T>(plugin: (options: T) => PluginCreator, config?: (options: T) => Partial<Config>): {
|
|
8
8
|
(options: T): {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
|
|
2
2
|
import { __commonJSMin } from "../../../../../_virtual/_rolldown/runtime.js";
|
|
3
3
|
import { require_create_plugin } from "./lib/public/create-plugin.js";
|
|
4
|
-
//#region ../tailwind-internal/dist/node_modules/.bun/tailwindcss@3.4.
|
|
4
|
+
//#region ../tailwind-internal/dist/node_modules/.bun/tailwindcss@3.4.19_028b7be3b865fa1a/node_modules/tailwindcss/plugin.js
|
|
5
5
|
/*! © 2026 Yahoo, Inc. UDS Tailwind Internal v0.0.0-development */
|
|
6
6
|
var require_plugin = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
7
7
|
let createPlugin = require_create_plugin();
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import { CorePluginList } from "./generated/corePluginList.cjs";
|
|
3
3
|
import { DefaultColors } from "./generated/colors.cjs";
|
|
4
4
|
|
|
5
|
-
//#region ../tailwind-internal/dist/node_modules/.bun/tailwindcss@3.4.
|
|
6
|
-
//#region ../../node_modules/.bun/tailwindcss@3.4.19+
|
|
5
|
+
//#region ../tailwind-internal/dist/node_modules/.bun/tailwindcss@3.4.19_028b7be3b865fa1a/node_modules/tailwindcss/types/config.d.ts
|
|
6
|
+
//#region ../../node_modules/.bun/tailwindcss@3.4.19+028b7be3b865fa1a/node_modules/tailwindcss/types/config.d.ts
|
|
7
7
|
// Helpers
|
|
8
8
|
type Expand<T> = T extends object ? T extends infer O ? { [K in keyof O]: Expand<O[K]> } : never : T;
|
|
9
9
|
type KeyValuePair<K extends keyof any = string, V = string> = Record<K, V>;
|