@yahoo/uds 3.127.1 → 3.128.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/generated/autoVariants.cjs +30 -0
- package/dist/automated-config/dist/generated/autoVariants.d.cts +2 -0
- package/dist/automated-config/dist/generated/autoVariants.d.ts +2 -0
- package/dist/automated-config/dist/generated/autoVariants.js +30 -0
- package/dist/automated-config/dist/generated/generatedConfigs.cjs +1050 -275
- package/dist/automated-config/dist/generated/generatedConfigs.d.cts +73 -0
- package/dist/automated-config/dist/generated/generatedConfigs.d.ts +73 -0
- package/dist/automated-config/dist/generated/generatedConfigs.js +1050 -275
- package/dist/automated-config/dist/generated/universalTokensConfigAuto.cjs +126 -1
- package/dist/automated-config/dist/generated/universalTokensConfigAuto.js +126 -1
- package/dist/automated-config/dist/properties.cjs +28 -0
- package/dist/automated-config/dist/properties.d.cts +2 -0
- package/dist/automated-config/dist/properties.d.ts +2 -0
- package/dist/automated-config/dist/properties.js +28 -0
- package/dist/automated-config/dist/utils/buildConfigSchema.d.cts +2 -2
- package/dist/automated-config/dist/utils/buildConfigSchema.d.ts +2 -2
- 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/Banner/Banner.cjs +3 -1
- package/dist/components/Banner/Banner.js +3 -1
- package/dist/components/client/Menu/Menu.ItemCheckbox.d.cts +1 -1
- package/dist/components/client/Menu/Menu.ItemCheckbox.d.ts +1 -1
- package/dist/components/client/Popover/UDSPopoverConfigProvider.d.cts +1 -1
- package/dist/components/client/Popover/UDSPopoverConfigProvider.d.ts +1 -1
- package/dist/components/client/Toast/UDSToastConfigProvider.d.cts +5 -5
- package/dist/components/client/Toast/UDSToastConfigProvider.d.ts +5 -5
- package/dist/config/dist/index.cjs +127 -2
- package/dist/config/dist/index.js +127 -2
- package/dist/css-tokens/dist/index.cjs +2 -2
- package/dist/css-tokens/dist/index.d.cts +3 -1
- package/dist/css-tokens/dist/index.d.ts +3 -1
- package/dist/css-tokens/dist/index.js +2 -2
- package/dist/fixtures/dist/index.cjs +2 -0
- package/dist/fixtures/dist/index.d.cts +4 -3
- package/dist/fixtures/dist/index.d.ts +4 -3
- package/dist/fixtures/dist/index.js +2 -1
- package/dist/fixtures/index.cjs +1 -0
- package/dist/fixtures/index.d.cts +2 -2
- package/dist/fixtures/index.d.ts +2 -2
- package/dist/fixtures/index.js +2 -2
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/styles/styler.d.cts +43 -41
- package/dist/styles/styler.d.ts +43 -41
- package/dist/styles/variants.d.cts +30 -0
- package/dist/styles/variants.d.ts +30 -0
- package/dist/tailwind/dist/automated-config/dist/generated/autoVariants.cjs +30 -0
- package/dist/tailwind/dist/automated-config/dist/generated/autoVariants.js +30 -0
- package/dist/tailwind/dist/automated-config/dist/generated/autoVariants.js.map +1 -1
- package/dist/tailwind/dist/automated-config/dist/generated/generatedConfigs.cjs +1050 -275
- package/dist/tailwind/dist/automated-config/dist/generated/generatedConfigs.js +1050 -275
- package/dist/tailwind/dist/automated-config/dist/generated/generatedConfigs.js.map +1 -1
- package/dist/tailwind/dist/automated-config/dist/properties.cjs +28 -0
- package/dist/tailwind/dist/automated-config/dist/properties.js +28 -0
- package/dist/tailwind/dist/automated-config/dist/properties.js.map +1 -1
- package/dist/tailwind/dist/config/dist/index.cjs +127 -2
- package/dist/tailwind/dist/config/dist/index.js +127 -2
- package/dist/tailwind/dist/config/dist/index.js.map +1 -1
- package/dist/tailwind/dist/css-tokens/dist/index.cjs +2 -2
- package/dist/tailwind/dist/css-tokens/dist/index.js +2 -2
- package/dist/tailwind/dist/css-tokens/dist/index.js.map +1 -1
- package/dist/tailwind/dist/fixtures/dist/index.js.map +1 -1
- package/dist/tailwind/dist/tailwind/utils/getFontStyles.d.cts +1 -1
- package/dist/tailwind/dist/tailwind/utils/getFontStyles.d.ts +1 -1
- 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 +2 -2
- package/dist/tokens/types.d.ts +2 -2
- package/dist/types/dist/index.d.cts +2 -1
- package/dist/types/dist/index.d.ts +2 -1
- package/dist/uds/generated/componentData.cjs +364 -360
- package/dist/uds/generated/componentData.js +364 -360
- package/dist/uds/generated/tailwindPurge.cjs +6 -4
- package/dist/uds/generated/tailwindPurge.js +6 -4
- package/generated/componentData.json +550 -549
- package/generated/tailwindPurge.ts +2 -2
- package/package.json +1 -1
|
@@ -410,6 +410,34 @@ const publicProperties = {
|
|
|
410
410
|
shadow,
|
|
411
411
|
shadowVar,
|
|
412
412
|
insetShadow,
|
|
413
|
+
bannerInnerShadow: {
|
|
414
|
+
name: "bannerInnerShadow",
|
|
415
|
+
cssProperties: "box-shadow",
|
|
416
|
+
twThemePath: () => {
|
|
417
|
+
return ``;
|
|
418
|
+
},
|
|
419
|
+
possibleFixtures: ["bannerInnerShadowOptions"],
|
|
420
|
+
customValueRenderer: (schemaValue) => {
|
|
421
|
+
const noneValue = "0 0 0 transparent";
|
|
422
|
+
if (schemaValue.value === "none") return noneValue;
|
|
423
|
+
if (schemaValue.value === "subtle") return require_index.getShadowLayerValue({
|
|
424
|
+
preset: {
|
|
425
|
+
offsetX: "0",
|
|
426
|
+
offsetY: "-5",
|
|
427
|
+
blur: "5",
|
|
428
|
+
spread: "-2.5",
|
|
429
|
+
opacity: "5",
|
|
430
|
+
color: {
|
|
431
|
+
type: "spectrum",
|
|
432
|
+
value: "carbon-12"
|
|
433
|
+
}
|
|
434
|
+
},
|
|
435
|
+
shadowType: "inset",
|
|
436
|
+
cssVarPrefix: "--uds-banner-inset-shadow-"
|
|
437
|
+
});
|
|
438
|
+
throw new Error("Invalid bannerInnerShadow value");
|
|
439
|
+
}
|
|
440
|
+
},
|
|
413
441
|
height,
|
|
414
442
|
width,
|
|
415
443
|
scaleEffect: {
|
|
@@ -410,6 +410,34 @@ const publicProperties = {
|
|
|
410
410
|
shadow,
|
|
411
411
|
shadowVar,
|
|
412
412
|
insetShadow,
|
|
413
|
+
bannerInnerShadow: {
|
|
414
|
+
name: "bannerInnerShadow",
|
|
415
|
+
cssProperties: "box-shadow",
|
|
416
|
+
twThemePath: () => {
|
|
417
|
+
return ``;
|
|
418
|
+
},
|
|
419
|
+
possibleFixtures: ["bannerInnerShadowOptions"],
|
|
420
|
+
customValueRenderer: (schemaValue) => {
|
|
421
|
+
const noneValue = "0 0 0 transparent";
|
|
422
|
+
if (schemaValue.value === "none") return noneValue;
|
|
423
|
+
if (schemaValue.value === "subtle") return getShadowLayerValue({
|
|
424
|
+
preset: {
|
|
425
|
+
offsetX: "0",
|
|
426
|
+
offsetY: "-5",
|
|
427
|
+
blur: "5",
|
|
428
|
+
spread: "-2.5",
|
|
429
|
+
opacity: "5",
|
|
430
|
+
color: {
|
|
431
|
+
type: "spectrum",
|
|
432
|
+
value: "carbon-12"
|
|
433
|
+
}
|
|
434
|
+
},
|
|
435
|
+
shadowType: "inset",
|
|
436
|
+
cssVarPrefix: "--uds-banner-inset-shadow-"
|
|
437
|
+
});
|
|
438
|
+
throw new Error("Invalid bannerInnerShadow value");
|
|
439
|
+
}
|
|
440
|
+
},
|
|
413
441
|
height,
|
|
414
442
|
width,
|
|
415
443
|
scaleEffect: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"properties.js","names":[],"sources":["../../../../automated-config/dist/properties.js"],"sourcesContent":["/*! © 2026 Yahoo, Inc. UDS Default Config v0.0.0-development */\nimport { assertUnreachable } from \"./utils/assertUnreachable.js\";\nimport { mapTextVariantFixtureToValue } from \"./mapTextVariantFixtureToValue.js\";\nimport { mapColorFixtureToValue } from \"./utils/mapColorFixtureToValue.js\";\nimport { BACKGROUND_BLUR_COLOR_PREFIX, BACKGROUND_BLUR_FALLBACK_COLOR_PREFIX, BORDER_RADIUS_PREFIX, BUTTON_SCALE_EFFECT, DROP_SHADOW_PREFIX, getShadowLayerValue, textVariantsSafe } from \"@yahoo/uds-css-tokens\";\nimport { SCALE_EFFECTS } from \"@yahoo/uds-motion-tokens\";\n\n//#region src/properties.ts\nconst isInputWrapperCtx = (context) => {\n\treturn context.componentName === \"input\" && context.layer === \"inputWrapper\";\n};\nconst hexToRgb = (hex) => {\n\thex = hex.replace(\"#\", \"\");\n\tif (hex.length === 3) hex = hex.split(\"\").map((char) => char + char).join(\"\");\n\treturn `${parseInt(hex.substring(0, 2), 16)} ${parseInt(hex.substring(2, 4), 16)} ${parseInt(hex.substring(4, 6), 16)}`;\n};\nconst backgroundColor = {\n\tname: \"backgroundColor\",\n\tcssProperties: \"background-color\",\n\ttwThemePath: () => {\n\t\treturn ``;\n\t},\n\tpossibleFixtures: [\n\t\t\"backgroundPaletteColors\",\n\t\t\"spectrumColors\",\n\t\t\"alwaysPaletteAliases\",\n\t\t\"elevationAliases\"\n\t],\n\tcustomValueRenderer: ({ value, type }, schema, theme) => {\n\t\tif (type === \"elevationAliases\") return `var(--uds-background-color-${value})`;\n\t\treturn theme(mapColorFixtureToValue(type, value));\n\t}\n};\nconst color = {\n\tname: \"color\",\n\tcssProperties: \"color\",\n\ttwThemePath: mapColorFixtureToValue,\n\tpossibleFixtures: [\n\t\t\"alwaysPaletteAliases\",\n\t\t\"spectrumColors\",\n\t\t\"foregroundPaletteColors\"\n\t]\n};\nconst fontSize = {\n\tname: \"fontSize\",\n\tcssProperties: \"font-size\",\n\ttwThemePath: mapTextVariantFixtureToValue(\"fontSize\"),\n\tpossibleFixtures: [\"textVariants\"]\n};\nconst fontVariationSettings = {\n\tname: \"fontVariationSettings\",\n\tcssProperties: \"font-variation-settings\",\n\ttwThemePath: () => {\n\t\treturn ``;\n\t},\n\tpossibleFixtures: [\"textVariants\"],\n\tcustomValueRenderer: (schemaValue) => {\n\t\tconst { value: rawValue } = schemaValue;\n\t\tconst value = textVariantsSafe(rawValue);\n\t\treturn `\"wght\" var(--uds-font-weight-${value}), \"slnt\" var(--uds-font-slant-${value}), \"ital\" var(--uds-font-slant-${value}), \"wdth\" var(--uds-font-width-${value})`;\n\t}\n};\nconst fontWeight = {\n\tname: \"fontWeight\",\n\tcssProperties: \"font-weight\",\n\ttwThemePath: mapTextVariantFixtureToValue(\"fontWeight\"),\n\tpossibleFixtures: [\"textVariants\"]\n};\nconst fontFamily = {\n\tname: \"fontFamily\",\n\tcssProperties: \"font-family\",\n\ttwThemePath: mapTextVariantFixtureToValue(\"fontFamily\"),\n\tpossibleFixtures: [\"textVariants\"]\n};\nconst textTransform = {\n\tname: \"textTransform\",\n\tcssProperties: \"text-transform\",\n\ttwThemePath: mapTextVariantFixtureToValue(\"textTransform\"),\n\tpossibleFixtures: [\"textVariants\"]\n};\nconst lineHeight = {\n\tname: \"lineHeight\",\n\tcssProperties: \"line-height\",\n\ttwThemePath: mapTextVariantFixtureToValue(\"lineHeight\"),\n\tpossibleFixtures: [\"textVariants\"]\n};\nconst letterSpacing = {\n\tname: \"letterSpacing\",\n\tcssProperties: \"letter-spacing\",\n\ttwThemePath: mapTextVariantFixtureToValue(\"letterSpacing\"),\n\tpossibleFixtures: [\"textVariants\"]\n};\nconst textVariant = {\n\tname: \"textVariant\",\n\tcssProperties: [],\n\ttwThemePath: () => {\n\t\treturn ``;\n\t},\n\tpossibleFixtures: [\"textVariants\"],\n\textendedProperties: [\n\t\t\"fontSize\",\n\t\t\"fontWeight\",\n\t\t\"fontFamily\",\n\t\t\"lineHeight\",\n\t\t\"textTransform\",\n\t\t\"fontVariationSettings\",\n\t\t\"letterSpacing\"\n\t]\n};\nconst textDecorationLine = {\n\tname: \"textDecorationLine\",\n\tcssProperties: \"text-decoration-line\",\n\tpossibleFixtures: [\"textDecorationLines\"],\n\ttwThemePath: () => {\n\t\treturn ``;\n\t},\n\tcustomValueRenderer: (schemaValue) => {\n\t\treturn String(schemaValue.value);\n\t}\n};\nconst gap = {\n\tname: \"gap\",\n\tcssProperties: \"gap\",\n\ttwThemePath: (fixtureType, value) => fixtureType === \"spacingAliases\" ? `spacing[${value}]` : \"\",\n\tpossibleFixtures: [\"spacingAliases\"]\n};\nconst borderWidth = {\n\tname: \"borderWidth\",\n\tcssProperties: \"border-width\",\n\ttwThemePath: (fixtureType, value) => {\n\t\tswitch (fixtureType) {\n\t\t\tcase \"borderWidths\":\n\t\t\tcase \"elevationAliases\": return `udsBorderWidth[${value}]`;\n\t\t\tcase \"spacingAliases\": return `spacing[${value}]`;\n\t\t}\n\t\treturn assertUnreachable(fixtureType);\n\t},\n\tpossibleFixtures: [\n\t\t\"borderWidths\",\n\t\t\"spacingAliases\",\n\t\t\"elevationAliases\"\n\t],\n\textendedProperties: (context) => {\n\t\tif (isInputWrapperCtx(context)) return [\n\t\t\t\"outlineWidth\",\n\t\t\t\"insetOutlineOffset\",\n\t\t\t\"solidOutline\"\n\t\t];\n\t\treturn false;\n\t}\n};\nconst strokeWidth = {\n\t...borderWidth,\n\tname: \"strokeWidth\",\n\tcssProperties: \"stroke-width\"\n};\nconst underlineWidth = {\n\t...borderWidth,\n\tname: \"underlineWidth\",\n\tcssProperties: \"border-bottom-width\"\n};\nconst borderColor = {\n\tname: \"borderColor\",\n\tcssProperties: \"border-color\",\n\ttwThemePath: mapColorFixtureToValue,\n\tpossibleFixtures: [\n\t\t\"alwaysPaletteAliases\",\n\t\t\"spectrumColors\",\n\t\t\"linePaletteColors\",\n\t\t\"elevationAliases\"\n\t],\n\textendedProperties: (context) => {\n\t\tif (isInputWrapperCtx(context)) return [\"outlineColor\"];\n\t\treturn false;\n\t}\n};\nconst stroke = {\n\t...borderColor,\n\tname: \"stroke\",\n\tcssProperties: \"stroke\"\n};\nconst underlineColor = {\n\t...borderColor,\n\tname: \"underlineColor\",\n\tcssProperties: \"border-bottom-color\"\n};\nconst outlineWidth = {\n\tname: \"outlineWidth\",\n\tcssProperties: \"outline-width\",\n\ttwThemePath: (type, value) => type === \"borderWidths\" ? `udsBorderWidth[${value}]` : `spacing[${value}]`,\n\tpossibleFixtures: [\"borderWidths\", \"spacingAliases\"]\n};\nconst solidOutline = {\n\tname: \"solidOutline\",\n\tcssProperties: \"outline-style\",\n\ttwThemePath: () => \"\",\n\tcustomValueRenderer: () => \"solid\",\n\tpossibleFixtures: []\n};\nconst insetOutlineOffset = {\n\tname: \"insetOutlineOffset\",\n\tcssProperties: \"outline-offset\",\n\ttwThemePath: () => \"\",\n\tcustomValueRenderer: ({ value, type }, schema, theme) => {\n\t\treturn `calc(-1 * ${type === \"borderWidths\" ? theme(`udsBorderWidth[${value}]`) : theme(`spacing[${value}]`)})`;\n\t},\n\tpossibleFixtures: [\"borderWidths\", \"spacingAliases\"]\n};\nconst outlineColor = {\n\tname: \"outlineColor\",\n\tcssProperties: \"outline-color\",\n\ttwThemePath: mapColorFixtureToValue,\n\tpossibleFixtures: [\n\t\t\"alwaysPaletteAliases\",\n\t\t\"spectrumColors\",\n\t\t\"linePaletteColors\"\n\t]\n};\nconst borderRadius = {\n\tname: \"borderRadius\",\n\tcssProperties: \"border-radius\",\n\ttwThemePath: (_, value) => `udsBorderRadius.${value}`,\n\tpossibleFixtures: [\"borderRadii\"]\n};\nconst borderRadiusVar = {\n\t...borderRadius,\n\tname: \"borderRadiusVar\",\n\tcssProperties: `--${BORDER_RADIUS_PREFIX}`\n};\nconst spacing = {\n\tname: \"spacing\",\n\tcssProperties: \"padding\",\n\ttwThemePath: (_, value) => `spacing[${value}]`,\n\tpossibleFixtures: [\"spacingAliases\"]\n};\nconst spacingHorizontal = {\n\tname: \"spacingHorizontal\",\n\tcssProperties: [\"padding-right\", \"padding-left\"],\n\ttwThemePath: (_, value) => `spacing[${value}]`,\n\tpossibleFixtures: [\"spacingAliases\"]\n};\nconst spacingVertical = {\n\tname: \"spacingVertical\",\n\tcssProperties: [\"padding-top\", \"padding-bottom\"],\n\ttwThemePath: (_, value) => `spacing[${value}]`,\n\tpossibleFixtures: [\"spacingAliases\"]\n};\nconst horizontalMargin = {\n\tname: \"horizontalMargin\",\n\tcssProperties: [\"margin-left\", \"margin-right\"],\n\ttwThemePath: (_, value) => `spacing[${value}]`,\n\tpossibleFixtures: [\"spacingAliases\"]\n};\nconst bottomMargin = {\n\tname: \"bottomMargin\",\n\tcssProperties: \"margin-bottom\",\n\ttwThemePath: (_, value) => `spacing[${value}]`,\n\tpossibleFixtures: [\"spacingAliases\"]\n};\nconst height = {\n\tname: \"height\",\n\tcssProperties: \"height\",\n\ttwThemePath: (_, value) => {\n\t\treturn `height[${value}]`;\n\t},\n\tpossibleFixtures: [\"spacingAliases\"]\n};\nconst width = {\n\tname: \"width\",\n\tcssProperties: \"width\",\n\ttwThemePath: (_, value) => {\n\t\treturn `width[${value}]`;\n\t},\n\tpossibleFixtures: [\"spacingAliases\"]\n};\nconst shadow = {\n\tname: \"drop shadow\",\n\tcssProperties: \"box-shadow\",\n\ttwThemePath: () => {\n\t\treturn ``;\n\t},\n\tconcatenate: true,\n\tcustomValueRenderer: (schemaValue) => {\n\t\tconst shadowType = \"drop\";\n\t\tconst noneValue = \"0 0 0 transparent\";\n\t\tif (schemaValue.valueType === \"alias\") {\n\t\t\tconst noneValue = \"0 0 0 transparent\";\n\t\t\tif (schemaValue.value === \"none\") return noneValue;\n\t\t\tif (schemaValue.value !== \"custom\") return `var(--uds-${shadowType}-shadow-${schemaValue.value})`;\n\t\t} else if (schemaValue.valueType === \"custom\") return schemaValue.value.map((preset, index) => getShadowLayerValue({\n\t\t\tpreset,\n\t\t\tshadowType,\n\t\t\tprefix: index > 0 ? `${index + 1}` : void 0\n\t\t}))?.join(\", \") || noneValue;\n\t\tthrow new Error(\"Invalid valueType\");\n\t},\n\tpossibleFixtures: [\n\t\t\"shadowVariants\",\n\t\t\"shadowVariantConfig\",\n\t\t\"elevationAliases\"\n\t]\n};\nconst insetShadow = {\n\tname: \"inset shadow\",\n\tcssProperties: \"box-shadow\",\n\ttwThemePath: () => {\n\t\treturn ``;\n\t},\n\tconcatenate: true,\n\tcustomValueRenderer: (schemaValue) => {\n\t\tconst shadowType = \"inset\";\n\t\tconst noneValue = \"0 0 0 transparent\";\n\t\tif (schemaValue.valueType === \"alias\") {\n\t\t\tconst noneValue = \"0 0 0 transparent\";\n\t\t\tif (schemaValue.value === \"none\") return noneValue;\n\t\t\tif (schemaValue.value !== \"custom\") return `var(--uds-${shadowType}-shadow-${schemaValue.value})`;\n\t\t} else if (schemaValue.valueType === \"custom\") return schemaValue.value.map((preset, index) => getShadowLayerValue({\n\t\t\tpreset,\n\t\t\tshadowType,\n\t\t\tprefix: index > 0 ? `${index + 1}` : void 0\n\t\t}))?.join(\", \") || noneValue;\n\t\tthrow new Error(\"Invalid valueType\");\n\t},\n\tpossibleFixtures: [\"shadowVariantsWithInvert\"]\n};\nconst shadowVar = {\n\t...shadow,\n\tname: \"shadowVar\",\n\tcssProperties: `--${DROP_SHADOW_PREFIX}`\n};\nconst opacity = {\n\tname: \"opacity\",\n\tcssProperties: \"opacity\",\n\ttwThemePath: (_, value) => `opacity[${value}]`,\n\tpossibleFixtures: [\"opacitySteps\"]\n};\nconst publicProperties = {\n\tbackgroundColor,\n\tborderWidth,\n\tunderlineWidth,\n\tstrokeWidth,\n\tborderRadius,\n\tborderRadiusVar,\n\tborderColor,\n\tunderlineColor,\n\tstroke,\n\tbuttonSize: {\n\t\tname: \"buttonSize\",\n\t\tcssProperties: \"--uds-button-size\",\n\t\tpossibleFixtures: [\"buttonSizes\"],\n\t\ttwThemePath: () => {\n\t\t\treturn ``;\n\t\t},\n\t\tcustomValueRenderer: (schemaValue) => {\n\t\t\treturn String(schemaValue.value);\n\t\t}\n\t},\n\tbuttonVariant: {\n\t\tname: \"buttonVariant\",\n\t\tcssProperties: \"--uds-button-variant\",\n\t\tpossibleFixtures: [\"buttonVariantsFlat\"],\n\t\ttwThemePath: () => {\n\t\t\treturn ``;\n\t\t},\n\t\tcustomValueRenderer: (schemaValue) => {\n\t\t\treturn String(schemaValue.value);\n\t\t}\n\t},\n\tfontFamily,\n\tfontSize,\n\tfontVariationSettings,\n\tlineHeight,\n\ttextTransform,\n\tletterSpacing,\n\tgap,\n\tcolor,\n\topacity,\n\tfillOpacity: {\n\t\tname: \"fillOpacity\",\n\t\tcssProperties: \"fill-opacity\",\n\t\ttwThemePath: (_, value) => `opacity[${value}]`,\n\t\tpossibleFixtures: [\"opacitySteps\"]\n\t},\n\tfontWeight,\n\ticonSize: {\n\t\tname: \"iconSize\",\n\t\tcssProperties: [\"width\", \"height\"],\n\t\ttwThemePath: (_, value) => `sizing.icon.${value}`,\n\t\tpossibleFixtures: [\"iconSizes\"]\n\t},\n\tspacing,\n\ticonVariant: {\n\t\tname: \"iconVariant\",\n\t\tcssProperties: \"--uds-icon-variant\",\n\t\tpossibleFixtures: [\"iconVariants\"],\n\t\ttwThemePath: () => {\n\t\t\treturn ``;\n\t\t},\n\t\tcustomValueRenderer: (schemaValue) => {\n\t\t\treturn String(schemaValue.value);\n\t\t}\n\t},\n\thorizontalMargin,\n\tbottomMargin,\n\tspacingHorizontal,\n\tspacingVertical,\n\ttextVariant,\n\ttextDecorationLine,\n\tshadow,\n\tshadowVar,\n\tinsetShadow,\n\theight,\n\twidth,\n\tscaleEffect: {\n\t\tname: \"scaleEffect\",\n\t\tcssProperties: BUTTON_SCALE_EFFECT,\n\t\tpossibleFixtures: [\"scaleEffects\"],\n\t\ttwThemePath: () => {\n\t\t\treturn ``;\n\t\t},\n\t\tcustomValueRenderer: (schemaValue) => {\n\t\t\tconst value = schemaValue.value;\n\t\t\tconst stringValue = String(value);\n\t\t\treturn String(SCALE_EFFECTS[stringValue] ?? SCALE_EFFECTS.none);\n\t\t}\n\t},\n\tbackdropBlur: {\n\t\tname: \"backdropBlur\",\n\t\tpossibleFixtures: [\"positiveIntegers\"],\n\t\tcssProperties: \"--uds-backdrop-blur\",\n\t\ttwThemePath: () => {\n\t\t\treturn ``;\n\t\t},\n\t\tcustomValueRenderer: (schemaValue, schema, _theme, originalPropertyDefinition) => {\n\t\t\tif (originalPropertyDefinition && originalPropertyDefinition.layerReference) {\n\t\t\t\tconst { variablePath, propertyName } = originalPropertyDefinition.layerReference;\n\t\t\t\tconst property = schema.variables[variablePath][propertyName].rest;\n\t\t\t\tif (property.type === \"elevationAliases\") return `var(--uds-background-blur-radius-${property.value})`;\n\t\t\t}\n\t\t\treturn `blur(${schemaValue.value}px)`;\n\t\t}\n\t},\n\tblurBackgroundColor: {\n\t\t...backgroundColor,\n\t\tname: \"blurBackgroundColor\",\n\t\tcssProperties: `--${BACKGROUND_BLUR_COLOR_PREFIX}`\n\t},\n\tblurBackgroundColorFallback: {\n\t\t...backgroundColor,\n\t\tname: \"blurBackgroundColorFallback\",\n\t\tcssProperties: `--${BACKGROUND_BLUR_FALLBACK_COLOR_PREFIX}`\n\t},\n\tscrimBackgroundColor: {\n\t\tname: \"scrimBackgroundColor\",\n\t\tcssProperties: \"--uds-scrim-background-color\",\n\t\ttwThemePath: () => {\n\t\t\treturn ``;\n\t\t},\n\t\tpossibleFixtures: [\n\t\t\t\"backgroundPaletteColors\",\n\t\t\t\"spectrumColors\",\n\t\t\t\"alwaysPaletteAliases\"\n\t\t],\n\t\tcustomValueRenderer: ({ value, type }, schema, theme) => {\n\t\t\tconst resolved = theme(mapColorFixtureToValue(type, value));\n\t\t\tif (resolved.startsWith(\"#\")) return hexToRgb(resolved) ?? resolved;\n\t\t\tif (resolved.startsWith(\"rgb(\") && resolved.endsWith(\")\")) return resolved.slice(4, -1);\n\t\t\treturn resolved;\n\t\t}\n\t},\n\tscrimOpacity: {\n\t\t...opacity,\n\t\tname: \"scrimOpacity\",\n\t\tcssProperties: \"--uds-scrim-opacity\",\n\t\ttwThemePath: () => \"\",\n\t\tcustomValueRenderer: ({ value }) => `${String(value)}%`\n\t}\n};\nconst internalProperties = {\n\toutlineWidth,\n\toutlineColor,\n\tinsetOutlineOffset,\n\tsolidOutline\n};\nconst configurableProperties = {\n\t...publicProperties,\n\t...internalProperties\n};\n\n//#endregion\nexport { configurableProperties };\n//# sourceMappingURL=properties.js.map"],"mappings":";;;;;;;;;AAQA,MAAM,qBAAqB,YAAY;AACtC,QAAO,QAAQ,kBAAkB,WAAW,QAAQ,UAAU;;AAE/D,MAAM,YAAY,QAAQ;AACzB,OAAM,IAAI,QAAQ,KAAK,GAAG;AAC1B,KAAI,IAAI,WAAW,EAAG,OAAM,IAAI,MAAM,GAAG,CAAC,KAAK,SAAS,OAAO,KAAK,CAAC,KAAK,GAAG;AAC7E,QAAO,GAAG,SAAS,IAAI,UAAU,GAAG,EAAE,EAAE,GAAG,CAAC,GAAG,SAAS,IAAI,UAAU,GAAG,EAAE,EAAE,GAAG,CAAC,GAAG,SAAS,IAAI,UAAU,GAAG,EAAE,EAAE,GAAG;;AAEtH,MAAM,kBAAkB;CACvB,MAAM;CACN,eAAe;CACf,mBAAmB;AAClB,SAAO;;CAER,kBAAkB;EACjB;EACA;EACA;EACA;EACA;CACD,sBAAsB,EAAE,OAAO,QAAQ,QAAQ,UAAU;AACxD,MAAI,SAAS,mBAAoB,QAAO,8BAA8B,MAAM;AAC5E,SAAO,MAAM,uBAAuB,MAAM,MAAM,CAAC;;CAElD;AACD,MAAM,QAAQ;CACb,MAAM;CACN,eAAe;CACf,aAAa;CACb,kBAAkB;EACjB;EACA;EACA;EACA;CACD;AACD,MAAM,WAAW;CAChB,MAAM;CACN,eAAe;CACf,aAAa,6BAA6B,WAAW;CACrD,kBAAkB,CAAC,eAAe;CAClC;AACD,MAAM,wBAAwB;CAC7B,MAAM;CACN,eAAe;CACf,mBAAmB;AAClB,SAAO;;CAER,kBAAkB,CAAC,eAAe;CAClC,sBAAsB,gBAAgB;EACrC,MAAM,EAAE,OAAO,aAAa;EAC5B,MAAM,QAAQ,iBAAiB,SAAS;AACxC,SAAO,gC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mBAAmB;AAClB,UAAO;;EAER,kBAAkB;GACjB;GACA;GACA;GACA;EACD,sBAAsB,EAAE,OAAO,QAAQ,QAAQ,UAAU;GACxD,MAAM,WAAW,MAAM,uBAAuB,MAAM,MAAM,CAAC;AAC3D,OAAI,SAAS,WAAW,IAAI,CAAE,QAAO,SAAS,SAAS,IAAI;AAC3D,OAAI,SAAS,WAAW,OAAO,IAAI,SAAS,SAAS,IAAI,CAAE,QAAO,SAAS,MAAM,GAAG,GAAG;AACvF,UAAO;;EAER;CACD,cAAc;EACb,GAAG;EACH,MAAM;EACN,eAAe;EACf,mBAAmB;EACnB,sBAAsB,EAAE,YAAY,GAAG,OAAO,MAAM,CAAC;EACrD;CACD;AACD,MAAM,qBAAqB;CAC1B;CACA;CACA;CACA;CACA;AACD,MAAM,yBAAyB;CAC9B,GAAG;CACH,GAAG;CACH"}
|
|
1
|
+
{"version":3,"file":"properties.js","names":[],"sources":["../../../../automated-config/dist/properties.js"],"sourcesContent":["/*! © 2026 Yahoo, Inc. UDS Default Config v0.0.0-development */\nimport { assertUnreachable } from \"./utils/assertUnreachable.js\";\nimport { mapTextVariantFixtureToValue } from \"./mapTextVariantFixtureToValue.js\";\nimport { mapColorFixtureToValue } from \"./utils/mapColorFixtureToValue.js\";\nimport { BACKGROUND_BLUR_COLOR_PREFIX, BACKGROUND_BLUR_FALLBACK_COLOR_PREFIX, BORDER_RADIUS_PREFIX, BUTTON_SCALE_EFFECT, DROP_SHADOW_PREFIX, getShadowLayerValue, textVariantsSafe } from \"@yahoo/uds-css-tokens\";\nimport { SCALE_EFFECTS } from \"@yahoo/uds-motion-tokens\";\n\n//#region src/properties.ts\nconst isInputWrapperCtx = (context) => {\n\treturn context.componentName === \"input\" && context.layer === \"inputWrapper\";\n};\nconst hexToRgb = (hex) => {\n\thex = hex.replace(\"#\", \"\");\n\tif (hex.length === 3) hex = hex.split(\"\").map((char) => char + char).join(\"\");\n\treturn `${parseInt(hex.substring(0, 2), 16)} ${parseInt(hex.substring(2, 4), 16)} ${parseInt(hex.substring(4, 6), 16)}`;\n};\nconst backgroundColor = {\n\tname: \"backgroundColor\",\n\tcssProperties: \"background-color\",\n\ttwThemePath: () => {\n\t\treturn ``;\n\t},\n\tpossibleFixtures: [\n\t\t\"backgroundPaletteColors\",\n\t\t\"spectrumColors\",\n\t\t\"alwaysPaletteAliases\",\n\t\t\"elevationAliases\"\n\t],\n\tcustomValueRenderer: ({ value, type }, schema, theme) => {\n\t\tif (type === \"elevationAliases\") return `var(--uds-background-color-${value})`;\n\t\treturn theme(mapColorFixtureToValue(type, value));\n\t}\n};\nconst color = {\n\tname: \"color\",\n\tcssProperties: \"color\",\n\ttwThemePath: mapColorFixtureToValue,\n\tpossibleFixtures: [\n\t\t\"alwaysPaletteAliases\",\n\t\t\"spectrumColors\",\n\t\t\"foregroundPaletteColors\"\n\t]\n};\nconst fontSize = {\n\tname: \"fontSize\",\n\tcssProperties: \"font-size\",\n\ttwThemePath: mapTextVariantFixtureToValue(\"fontSize\"),\n\tpossibleFixtures: [\"textVariants\"]\n};\nconst fontVariationSettings = {\n\tname: \"fontVariationSettings\",\n\tcssProperties: \"font-variation-settings\",\n\ttwThemePath: () => {\n\t\treturn ``;\n\t},\n\tpossibleFixtures: [\"textVariants\"],\n\tcustomValueRenderer: (schemaValue) => {\n\t\tconst { value: rawValue } = schemaValue;\n\t\tconst value = textVariantsSafe(rawValue);\n\t\treturn `\"wght\" var(--uds-font-weight-${value}), \"slnt\" var(--uds-font-slant-${value}), \"ital\" var(--uds-font-slant-${value}), \"wdth\" var(--uds-font-width-${value})`;\n\t}\n};\nconst fontWeight = {\n\tname: \"fontWeight\",\n\tcssProperties: \"font-weight\",\n\ttwThemePath: mapTextVariantFixtureToValue(\"fontWeight\"),\n\tpossibleFixtures: [\"textVariants\"]\n};\nconst fontFamily = {\n\tname: \"fontFamily\",\n\tcssProperties: \"font-family\",\n\ttwThemePath: mapTextVariantFixtureToValue(\"fontFamily\"),\n\tpossibleFixtures: [\"textVariants\"]\n};\nconst textTransform = {\n\tname: \"textTransform\",\n\tcssProperties: \"text-transform\",\n\ttwThemePath: mapTextVariantFixtureToValue(\"textTransform\"),\n\tpossibleFixtures: [\"textVariants\"]\n};\nconst lineHeight = {\n\tname: \"lineHeight\",\n\tcssProperties: \"line-height\",\n\ttwThemePath: mapTextVariantFixtureToValue(\"lineHeight\"),\n\tpossibleFixtures: [\"textVariants\"]\n};\nconst letterSpacing = {\n\tname: \"letterSpacing\",\n\tcssProperties: \"letter-spacing\",\n\ttwThemePath: mapTextVariantFixtureToValue(\"letterSpacing\"),\n\tpossibleFixtures: [\"textVariants\"]\n};\nconst textVariant = {\n\tname: \"textVariant\",\n\tcssProperties: [],\n\ttwThemePath: () => {\n\t\treturn ``;\n\t},\n\tpossibleFixtures: [\"textVariants\"],\n\textendedProperties: [\n\t\t\"fontSize\",\n\t\t\"fontWeight\",\n\t\t\"fontFamily\",\n\t\t\"lineHeight\",\n\t\t\"textTransform\",\n\t\t\"fontVariationSettings\",\n\t\t\"letterSpacing\"\n\t]\n};\nconst textDecorationLine = {\n\tname: \"textDecorationLine\",\n\tcssProperties: \"text-decoration-line\",\n\tpossibleFixtures: [\"textDecorationLines\"],\n\ttwThemePath: () => {\n\t\treturn ``;\n\t},\n\tcustomValueRenderer: (schemaValue) => {\n\t\treturn String(schemaValue.value);\n\t}\n};\nconst gap = {\n\tname: \"gap\",\n\tcssProperties: \"gap\",\n\ttwThemePath: (fixtureType, value) => fixtureType === \"spacingAliases\" ? `spacing[${value}]` : \"\",\n\tpossibleFixtures: [\"spacingAliases\"]\n};\nconst borderWidth = {\n\tname: \"borderWidth\",\n\tcssProperties: \"border-width\",\n\ttwThemePath: (fixtureType, value) => {\n\t\tswitch (fixtureType) {\n\t\t\tcase \"borderWidths\":\n\t\t\tcase \"elevationAliases\": return `udsBorderWidth[${value}]`;\n\t\t\tcase \"spacingAliases\": return `spacing[${value}]`;\n\t\t}\n\t\treturn assertUnreachable(fixtureType);\n\t},\n\tpossibleFixtures: [\n\t\t\"borderWidths\",\n\t\t\"spacingAliases\",\n\t\t\"elevationAliases\"\n\t],\n\textendedProperties: (context) => {\n\t\tif (isInputWrapperCtx(context)) return [\n\t\t\t\"outlineWidth\",\n\t\t\t\"insetOutlineOffset\",\n\t\t\t\"solidOutline\"\n\t\t];\n\t\treturn false;\n\t}\n};\nconst strokeWidth = {\n\t...borderWidth,\n\tname: \"strokeWidth\",\n\tcssProperties: \"stroke-width\"\n};\nconst underlineWidth = {\n\t...borderWidth,\n\tname: \"underlineWidth\",\n\tcssProperties: \"border-bottom-width\"\n};\nconst borderColor = {\n\tname: \"borderColor\",\n\tcssProperties: \"border-color\",\n\ttwThemePath: mapColorFixtureToValue,\n\tpossibleFixtures: [\n\t\t\"alwaysPaletteAliases\",\n\t\t\"spectrumColors\",\n\t\t\"linePaletteColors\",\n\t\t\"elevationAliases\"\n\t],\n\textendedProperties: (context) => {\n\t\tif (isInputWrapperCtx(context)) return [\"outlineColor\"];\n\t\treturn false;\n\t}\n};\nconst stroke = {\n\t...borderColor,\n\tname: \"stroke\",\n\tcssProperties: \"stroke\"\n};\nconst underlineColor = {\n\t...borderColor,\n\tname: \"underlineColor\",\n\tcssProperties: \"border-bottom-color\"\n};\nconst outlineWidth = {\n\tname: \"outlineWidth\",\n\tcssProperties: \"outline-width\",\n\ttwThemePath: (type, value) => type === \"borderWidths\" ? `udsBorderWidth[${value}]` : `spacing[${value}]`,\n\tpossibleFixtures: [\"borderWidths\", \"spacingAliases\"]\n};\nconst solidOutline = {\n\tname: \"solidOutline\",\n\tcssProperties: \"outline-style\",\n\ttwThemePath: () => \"\",\n\tcustomValueRenderer: () => \"solid\",\n\tpossibleFixtures: []\n};\nconst insetOutlineOffset = {\n\tname: \"insetOutlineOffset\",\n\tcssProperties: \"outline-offset\",\n\ttwThemePath: () => \"\",\n\tcustomValueRenderer: ({ value, type }, schema, theme) => {\n\t\treturn `calc(-1 * ${type === \"borderWidths\" ? theme(`udsBorderWidth[${value}]`) : theme(`spacing[${value}]`)})`;\n\t},\n\tpossibleFixtures: [\"borderWidths\", \"spacingAliases\"]\n};\nconst outlineColor = {\n\tname: \"outlineColor\",\n\tcssProperties: \"outline-color\",\n\ttwThemePath: mapColorFixtureToValue,\n\tpossibleFixtures: [\n\t\t\"alwaysPaletteAliases\",\n\t\t\"spectrumColors\",\n\t\t\"linePaletteColors\"\n\t]\n};\nconst borderRadius = {\n\tname: \"borderRadius\",\n\tcssProperties: \"border-radius\",\n\ttwThemePath: (_, value) => `udsBorderRadius.${value}`,\n\tpossibleFixtures: [\"borderRadii\"]\n};\nconst borderRadiusVar = {\n\t...borderRadius,\n\tname: \"borderRadiusVar\",\n\tcssProperties: `--${BORDER_RADIUS_PREFIX}`\n};\nconst spacing = {\n\tname: \"spacing\",\n\tcssProperties: \"padding\",\n\ttwThemePath: (_, value) => `spacing[${value}]`,\n\tpossibleFixtures: [\"spacingAliases\"]\n};\nconst spacingHorizontal = {\n\tname: \"spacingHorizontal\",\n\tcssProperties: [\"padding-right\", \"padding-left\"],\n\ttwThemePath: (_, value) => `spacing[${value}]`,\n\tpossibleFixtures: [\"spacingAliases\"]\n};\nconst spacingVertical = {\n\tname: \"spacingVertical\",\n\tcssProperties: [\"padding-top\", \"padding-bottom\"],\n\ttwThemePath: (_, value) => `spacing[${value}]`,\n\tpossibleFixtures: [\"spacingAliases\"]\n};\nconst horizontalMargin = {\n\tname: \"horizontalMargin\",\n\tcssProperties: [\"margin-left\", \"margin-right\"],\n\ttwThemePath: (_, value) => `spacing[${value}]`,\n\tpossibleFixtures: [\"spacingAliases\"]\n};\nconst bottomMargin = {\n\tname: \"bottomMargin\",\n\tcssProperties: \"margin-bottom\",\n\ttwThemePath: (_, value) => `spacing[${value}]`,\n\tpossibleFixtures: [\"spacingAliases\"]\n};\nconst height = {\n\tname: \"height\",\n\tcssProperties: \"height\",\n\ttwThemePath: (_, value) => {\n\t\treturn `height[${value}]`;\n\t},\n\tpossibleFixtures: [\"spacingAliases\"]\n};\nconst width = {\n\tname: \"width\",\n\tcssProperties: \"width\",\n\ttwThemePath: (_, value) => {\n\t\treturn `width[${value}]`;\n\t},\n\tpossibleFixtures: [\"spacingAliases\"]\n};\nconst shadow = {\n\tname: \"drop shadow\",\n\tcssProperties: \"box-shadow\",\n\ttwThemePath: () => {\n\t\treturn ``;\n\t},\n\tconcatenate: true,\n\tcustomValueRenderer: (schemaValue) => {\n\t\tconst shadowType = \"drop\";\n\t\tconst noneValue = \"0 0 0 transparent\";\n\t\tif (schemaValue.valueType === \"alias\") {\n\t\t\tconst noneValue = \"0 0 0 transparent\";\n\t\t\tif (schemaValue.value === \"none\") return noneValue;\n\t\t\tif (schemaValue.value !== \"custom\") return `var(--uds-${shadowType}-shadow-${schemaValue.value})`;\n\t\t} else if (schemaValue.valueType === \"custom\") return schemaValue.value.map((preset, index) => getShadowLayerValue({\n\t\t\tpreset,\n\t\t\tshadowType,\n\t\t\tprefix: index > 0 ? `${index + 1}` : void 0\n\t\t}))?.join(\", \") || noneValue;\n\t\tthrow new Error(\"Invalid valueType\");\n\t},\n\tpossibleFixtures: [\n\t\t\"shadowVariants\",\n\t\t\"shadowVariantConfig\",\n\t\t\"elevationAliases\"\n\t]\n};\nconst insetShadow = {\n\tname: \"inset shadow\",\n\tcssProperties: \"box-shadow\",\n\ttwThemePath: () => {\n\t\treturn ``;\n\t},\n\tconcatenate: true,\n\tcustomValueRenderer: (schemaValue) => {\n\t\tconst shadowType = \"inset\";\n\t\tconst noneValue = \"0 0 0 transparent\";\n\t\tif (schemaValue.valueType === \"alias\") {\n\t\t\tconst noneValue = \"0 0 0 transparent\";\n\t\t\tif (schemaValue.value === \"none\") return noneValue;\n\t\t\tif (schemaValue.value !== \"custom\") return `var(--uds-${shadowType}-shadow-${schemaValue.value})`;\n\t\t} else if (schemaValue.valueType === \"custom\") return schemaValue.value.map((preset, index) => getShadowLayerValue({\n\t\t\tpreset,\n\t\t\tshadowType,\n\t\t\tprefix: index > 0 ? `${index + 1}` : void 0\n\t\t}))?.join(\", \") || noneValue;\n\t\tthrow new Error(\"Invalid valueType\");\n\t},\n\tpossibleFixtures: [\"shadowVariantsWithInvert\"]\n};\nconst shadowVar = {\n\t...shadow,\n\tname: \"shadowVar\",\n\tcssProperties: `--${DROP_SHADOW_PREFIX}`\n};\nconst opacity = {\n\tname: \"opacity\",\n\tcssProperties: \"opacity\",\n\ttwThemePath: (_, value) => `opacity[${value}]`,\n\tpossibleFixtures: [\"opacitySteps\"]\n};\nconst publicProperties = {\n\tbackgroundColor,\n\tborderWidth,\n\tunderlineWidth,\n\tstrokeWidth,\n\tborderRadius,\n\tborderRadiusVar,\n\tborderColor,\n\tunderlineColor,\n\tstroke,\n\tbuttonSize: {\n\t\tname: \"buttonSize\",\n\t\tcssProperties: \"--uds-button-size\",\n\t\tpossibleFixtures: [\"buttonSizes\"],\n\t\ttwThemePath: () => {\n\t\t\treturn ``;\n\t\t},\n\t\tcustomValueRenderer: (schemaValue) => {\n\t\t\treturn String(schemaValue.value);\n\t\t}\n\t},\n\tbuttonVariant: {\n\t\tname: \"buttonVariant\",\n\t\tcssProperties: \"--uds-button-variant\",\n\t\tpossibleFixtures: [\"buttonVariantsFlat\"],\n\t\ttwThemePath: () => {\n\t\t\treturn ``;\n\t\t},\n\t\tcustomValueRenderer: (schemaValue) => {\n\t\t\treturn String(schemaValue.value);\n\t\t}\n\t},\n\tfontFamily,\n\tfontSize,\n\tfontVariationSettings,\n\tlineHeight,\n\ttextTransform,\n\tletterSpacing,\n\tgap,\n\tcolor,\n\topacity,\n\tfillOpacity: {\n\t\tname: \"fillOpacity\",\n\t\tcssProperties: \"fill-opacity\",\n\t\ttwThemePath: (_, value) => `opacity[${value}]`,\n\t\tpossibleFixtures: [\"opacitySteps\"]\n\t},\n\tfontWeight,\n\ticonSize: {\n\t\tname: \"iconSize\",\n\t\tcssProperties: [\"width\", \"height\"],\n\t\ttwThemePath: (_, value) => `sizing.icon.${value}`,\n\t\tpossibleFixtures: [\"iconSizes\"]\n\t},\n\tspacing,\n\ticonVariant: {\n\t\tname: \"iconVariant\",\n\t\tcssProperties: \"--uds-icon-variant\",\n\t\tpossibleFixtures: [\"iconVariants\"],\n\t\ttwThemePath: () => {\n\t\t\treturn ``;\n\t\t},\n\t\tcustomValueRenderer: (schemaValue) => {\n\t\t\treturn String(schemaValue.value);\n\t\t}\n\t},\n\thorizontalMargin,\n\tbottomMargin,\n\tspacingHorizontal,\n\tspacingVertical,\n\ttextVariant,\n\ttextDecorationLine,\n\tshadow,\n\tshadowVar,\n\tinsetShadow,\n\tbannerInnerShadow: {\n\t\tname: \"bannerInnerShadow\",\n\t\tcssProperties: \"box-shadow\",\n\t\ttwThemePath: () => {\n\t\t\treturn ``;\n\t\t},\n\t\tpossibleFixtures: [\"bannerInnerShadowOptions\"],\n\t\tcustomValueRenderer: (schemaValue) => {\n\t\t\tconst noneValue = \"0 0 0 transparent\";\n\t\t\tif (schemaValue.value === \"none\") return noneValue;\n\t\t\tif (schemaValue.value === \"subtle\") return getShadowLayerValue({\n\t\t\t\tpreset: {\n\t\t\t\t\toffsetX: \"0\",\n\t\t\t\t\toffsetY: \"-5\",\n\t\t\t\t\tblur: \"5\",\n\t\t\t\t\tspread: \"-2.5\",\n\t\t\t\t\topacity: \"5\",\n\t\t\t\t\tcolor: {\n\t\t\t\t\t\ttype: \"spectrum\",\n\t\t\t\t\t\tvalue: \"carbon-12\"\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\tshadowType: \"inset\",\n\t\t\t\tcssVarPrefix: \"--uds-banner-inset-shadow-\"\n\t\t\t});\n\t\t\tthrow new Error(\"Invalid bannerInnerShadow value\");\n\t\t}\n\t},\n\theight,\n\twidth,\n\tscaleEffect: {\n\t\tname: \"scaleEffect\",\n\t\tcssProperties: BUTTON_SCALE_EFFECT,\n\t\tpossibleFixtures: [\"scaleEffects\"],\n\t\ttwThemePath: () => {\n\t\t\treturn ``;\n\t\t},\n\t\tcustomValueRenderer: (schemaValue) => {\n\t\t\tconst value = schemaValue.value;\n\t\t\tconst stringValue = String(value);\n\t\t\treturn String(SCALE_EFFECTS[stringValue] ?? SCALE_EFFECTS.none);\n\t\t}\n\t},\n\tbackdropBlur: {\n\t\tname: \"backdropBlur\",\n\t\tpossibleFixtures: [\"positiveIntegers\"],\n\t\tcssProperties: \"--uds-backdrop-blur\",\n\t\ttwThemePath: () => {\n\t\t\treturn ``;\n\t\t},\n\t\tcustomValueRenderer: (schemaValue, schema, _theme, originalPropertyDefinition) => {\n\t\t\tif (originalPropertyDefinition && originalPropertyDefinition.layerReference) {\n\t\t\t\tconst { variablePath, propertyName } = originalPropertyDefinition.layerReference;\n\t\t\t\tconst property = schema.variables[variablePath][propertyName].rest;\n\t\t\t\tif (property.type === \"elevationAliases\") return `var(--uds-background-blur-radius-${property.value})`;\n\t\t\t}\n\t\t\treturn `blur(${schemaValue.value}px)`;\n\t\t}\n\t},\n\tblurBackgroundColor: {\n\t\t...backgroundColor,\n\t\tname: \"blurBackgroundColor\",\n\t\tcssProperties: `--${BACKGROUND_BLUR_COLOR_PREFIX}`\n\t},\n\tblurBackgroundColorFallback: {\n\t\t...backgroundColor,\n\t\tname: \"blurBackgroundColorFallback\",\n\t\tcssProperties: `--${BACKGROUND_BLUR_FALLBACK_COLOR_PREFIX}`\n\t},\n\tscrimBackgroundColor: {\n\t\tname: \"scrimBackgroundColor\",\n\t\tcssProperties: \"--uds-scrim-background-color\",\n\t\ttwThemePath: () => {\n\t\t\treturn ``;\n\t\t},\n\t\tpossibleFixtures: [\n\t\t\t\"backgroundPaletteColors\",\n\t\t\t\"spectrumColors\",\n\t\t\t\"alwaysPaletteAliases\"\n\t\t],\n\t\tcustomValueRenderer: ({ value, type }, schema, theme) => {\n\t\t\tconst resolved = theme(mapColorFixtureToValue(type, value));\n\t\t\tif (resolved.startsWith(\"#\")) return hexToRgb(resolved) ?? resolved;\n\t\t\tif (resolved.startsWith(\"rgb(\") && resolved.endsWith(\")\")) return resolved.slice(4, -1);\n\t\t\treturn resolved;\n\t\t}\n\t},\n\tscrimOpacity: {\n\t\t...opacity,\n\t\tname: \"scrimOpacity\",\n\t\tcssProperties: \"--uds-scrim-opacity\",\n\t\ttwThemePath: () => \"\",\n\t\tcustomValueRenderer: ({ value }) => `${String(value)}%`\n\t}\n};\nconst internalProperties = {\n\toutlineWidth,\n\toutlineColor,\n\tinsetOutlineOffset,\n\tsolidOutline\n};\nconst configurableProperties = {\n\t...publicProperties,\n\t...internalProperties\n};\n\n//#endregion\nexport { configurableProperties };\n//# sourceMappingURL=properties.js.map"],"mappings":";;;;;;;;;AAQA,MAAM,qBAAqB,YAAY;AACtC,QAAO,QAAQ,kBAAkB,WAAW,QAAQ,UAAU;;AAE/D,MAAM,YAAY,QAAQ;AACzB,OAAM,IAAI,QAAQ,KAAK,GAAG;AAC1B,KAAI,IAAI,WAAW,EAAG,OAAM,IAAI,MAAM,GAAG,CAAC,KAAK,SAAS,OAAO,KAAK,CAAC,KAAK,GAAG;AAC7E,QAAO,GAAG,SAAS,IAAI,UAAU,GAAG,EAAE,EAAE,GAAG,CAAC,GAAG,SAAS,IAAI,UAAU,GAAG,EAAE,EAAE,GAAG,CAAC,GAAG,SAAS,IAAI,UAAU,GAAG,EAAE,EAAE,GAAG;;AAEtH,MAAM,kBAAkB;CACvB,MAAM;CACN,eAAe;CACf,mBAAmB;AAClB,SAAO;;CAER,kBAAkB;EACjB;EACA;EACA;EACA;EACA;CACD,sBAAsB,EAAE,OAAO,QAAQ,QAAQ,UAAU;AACxD,MAAI,SAAS,mBAAoB,QAAO,8BAA8B,MAAM;AAC5E,SAAO,MAAM,uBAAuB,MAAM,MAAM,CAAC;;CAElD;AACD,MAAM,QAAQ;CACb,MAAM;CACN,eAAe;CACf,aAAa;CACb,kBAAkB;EACjB;EACA;EACA;EACA;CACD;AACD,MAAM,WAAW;CAChB,MAAM;CACN,eAAe;CACf,aAAa,6BAA6B,WAAW;CACrD,kBAAkB,CAAC,eAAe;CAClC;AACD,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S Default Config v0.0.0-development */
|
|
5
|
-
const LATEST_MIGRATION_VERSION = "v0.
|
|
5
|
+
const LATEST_MIGRATION_VERSION = "v0.91.0";
|
|
6
6
|
/**
|
|
7
7
|
* NOTE: If you're building a feature with a migration,
|
|
8
8
|
* this type will likely throw. You can regenerate yosConfig
|
|
@@ -989,6 +989,11 @@ const defaultTokensConfig = {
|
|
|
989
989
|
valueType: "alias"
|
|
990
990
|
} } },
|
|
991
991
|
"size/default/root": {
|
|
992
|
+
bannerInnerShadow: { rest: {
|
|
993
|
+
type: "bannerInnerShadowOptions",
|
|
994
|
+
value: "subtle",
|
|
995
|
+
valueType: "alias"
|
|
996
|
+
} },
|
|
992
997
|
borderRadius: { rest: {
|
|
993
998
|
type: "borderRadii",
|
|
994
999
|
value: "lg",
|
|
@@ -1015,6 +1020,11 @@ const defaultTokensConfig = {
|
|
|
1015
1020
|
value: "ui3/emphasized",
|
|
1016
1021
|
valueType: "alias"
|
|
1017
1022
|
} } },
|
|
1023
|
+
"variant/alert-secondary/description": { color: { rest: {
|
|
1024
|
+
type: "foregroundPaletteColors",
|
|
1025
|
+
value: "secondary",
|
|
1026
|
+
valueType: "alias"
|
|
1027
|
+
} } },
|
|
1018
1028
|
"variant/alert-secondary/icon": { color: { rest: {
|
|
1019
1029
|
type: "foregroundPaletteColors",
|
|
1020
1030
|
value: "alert-secondary",
|
|
@@ -1037,6 +1047,16 @@ const defaultTokensConfig = {
|
|
|
1037
1047
|
valueType: "alias"
|
|
1038
1048
|
} }
|
|
1039
1049
|
},
|
|
1050
|
+
"variant/alert-secondary/title": { color: { rest: {
|
|
1051
|
+
type: "foregroundPaletteColors",
|
|
1052
|
+
value: "secondary",
|
|
1053
|
+
valueType: "alias"
|
|
1054
|
+
} } },
|
|
1055
|
+
"variant/alert/description": { color: { rest: {
|
|
1056
|
+
type: "foregroundPaletteColors",
|
|
1057
|
+
value: "secondary",
|
|
1058
|
+
valueType: "alias"
|
|
1059
|
+
} } },
|
|
1040
1060
|
"variant/alert/icon": { color: { rest: {
|
|
1041
1061
|
type: "foregroundPaletteColors",
|
|
1042
1062
|
value: "alert",
|
|
@@ -1059,6 +1079,16 @@ const defaultTokensConfig = {
|
|
|
1059
1079
|
valueType: "alias"
|
|
1060
1080
|
} }
|
|
1061
1081
|
},
|
|
1082
|
+
"variant/alert/title": { color: { rest: {
|
|
1083
|
+
type: "foregroundPaletteColors",
|
|
1084
|
+
value: "secondary",
|
|
1085
|
+
valueType: "alias"
|
|
1086
|
+
} } },
|
|
1087
|
+
"variant/brand-secondary/description": { color: { rest: {
|
|
1088
|
+
type: "foregroundPaletteColors",
|
|
1089
|
+
value: "secondary",
|
|
1090
|
+
valueType: "alias"
|
|
1091
|
+
} } },
|
|
1062
1092
|
"variant/brand-secondary/icon": { color: { rest: {
|
|
1063
1093
|
type: "foregroundPaletteColors",
|
|
1064
1094
|
value: "secondary",
|
|
@@ -1081,6 +1111,16 @@ const defaultTokensConfig = {
|
|
|
1081
1111
|
valueType: "alias"
|
|
1082
1112
|
} }
|
|
1083
1113
|
},
|
|
1114
|
+
"variant/brand-secondary/title": { color: { rest: {
|
|
1115
|
+
type: "foregroundPaletteColors",
|
|
1116
|
+
value: "secondary",
|
|
1117
|
+
valueType: "alias"
|
|
1118
|
+
} } },
|
|
1119
|
+
"variant/brand/description": { color: { rest: {
|
|
1120
|
+
type: "foregroundPaletteColors",
|
|
1121
|
+
value: "secondary",
|
|
1122
|
+
valueType: "alias"
|
|
1123
|
+
} } },
|
|
1084
1124
|
"variant/brand/icon": { color: { rest: {
|
|
1085
1125
|
type: "foregroundPaletteColors",
|
|
1086
1126
|
value: "secondary",
|
|
@@ -1103,6 +1143,16 @@ const defaultTokensConfig = {
|
|
|
1103
1143
|
valueType: "alias"
|
|
1104
1144
|
} }
|
|
1105
1145
|
},
|
|
1146
|
+
"variant/brand/title": { color: { rest: {
|
|
1147
|
+
type: "foregroundPaletteColors",
|
|
1148
|
+
value: "secondary",
|
|
1149
|
+
valueType: "alias"
|
|
1150
|
+
} } },
|
|
1151
|
+
"variant/info-secondary/description": { color: { rest: {
|
|
1152
|
+
type: "foregroundPaletteColors",
|
|
1153
|
+
value: "secondary",
|
|
1154
|
+
valueType: "alias"
|
|
1155
|
+
} } },
|
|
1106
1156
|
"variant/info-secondary/icon": { color: { rest: {
|
|
1107
1157
|
type: "foregroundPaletteColors",
|
|
1108
1158
|
value: "info",
|
|
@@ -1125,6 +1175,16 @@ const defaultTokensConfig = {
|
|
|
1125
1175
|
valueType: "alias"
|
|
1126
1176
|
} }
|
|
1127
1177
|
},
|
|
1178
|
+
"variant/info-secondary/title": { color: { rest: {
|
|
1179
|
+
type: "foregroundPaletteColors",
|
|
1180
|
+
value: "secondary",
|
|
1181
|
+
valueType: "alias"
|
|
1182
|
+
} } },
|
|
1183
|
+
"variant/info/description": { color: { rest: {
|
|
1184
|
+
type: "foregroundPaletteColors",
|
|
1185
|
+
value: "secondary",
|
|
1186
|
+
valueType: "alias"
|
|
1187
|
+
} } },
|
|
1128
1188
|
"variant/info/icon": { color: { rest: {
|
|
1129
1189
|
type: "foregroundPaletteColors",
|
|
1130
1190
|
value: "info",
|
|
@@ -1147,6 +1207,16 @@ const defaultTokensConfig = {
|
|
|
1147
1207
|
valueType: "alias"
|
|
1148
1208
|
} }
|
|
1149
1209
|
},
|
|
1210
|
+
"variant/info/title": { color: { rest: {
|
|
1211
|
+
type: "foregroundPaletteColors",
|
|
1212
|
+
value: "secondary",
|
|
1213
|
+
valueType: "alias"
|
|
1214
|
+
} } },
|
|
1215
|
+
"variant/primary/description": { color: { rest: {
|
|
1216
|
+
type: "foregroundPaletteColors",
|
|
1217
|
+
value: "secondary",
|
|
1218
|
+
valueType: "alias"
|
|
1219
|
+
} } },
|
|
1150
1220
|
"variant/primary/icon": { color: { rest: {
|
|
1151
1221
|
type: "foregroundPaletteColors",
|
|
1152
1222
|
value: "secondary",
|
|
@@ -1169,6 +1239,16 @@ const defaultTokensConfig = {
|
|
|
1169
1239
|
valueType: "alias"
|
|
1170
1240
|
} }
|
|
1171
1241
|
},
|
|
1242
|
+
"variant/primary/title": { color: { rest: {
|
|
1243
|
+
type: "foregroundPaletteColors",
|
|
1244
|
+
value: "secondary",
|
|
1245
|
+
valueType: "alias"
|
|
1246
|
+
} } },
|
|
1247
|
+
"variant/secondary/description": { color: { rest: {
|
|
1248
|
+
type: "foregroundPaletteColors",
|
|
1249
|
+
value: "secondary",
|
|
1250
|
+
valueType: "alias"
|
|
1251
|
+
} } },
|
|
1172
1252
|
"variant/secondary/icon": { color: { rest: {
|
|
1173
1253
|
type: "foregroundPaletteColors",
|
|
1174
1254
|
value: "secondary",
|
|
@@ -1191,6 +1271,16 @@ const defaultTokensConfig = {
|
|
|
1191
1271
|
valueType: "alias"
|
|
1192
1272
|
} }
|
|
1193
1273
|
},
|
|
1274
|
+
"variant/secondary/title": { color: { rest: {
|
|
1275
|
+
type: "foregroundPaletteColors",
|
|
1276
|
+
value: "secondary",
|
|
1277
|
+
valueType: "alias"
|
|
1278
|
+
} } },
|
|
1279
|
+
"variant/success-secondary/description": { color: { rest: {
|
|
1280
|
+
type: "foregroundPaletteColors",
|
|
1281
|
+
value: "secondary",
|
|
1282
|
+
valueType: "alias"
|
|
1283
|
+
} } },
|
|
1194
1284
|
"variant/success-secondary/icon": { color: { rest: {
|
|
1195
1285
|
type: "foregroundPaletteColors",
|
|
1196
1286
|
value: "positive-secondary",
|
|
@@ -1213,6 +1303,16 @@ const defaultTokensConfig = {
|
|
|
1213
1303
|
valueType: "alias"
|
|
1214
1304
|
} }
|
|
1215
1305
|
},
|
|
1306
|
+
"variant/success-secondary/title": { color: { rest: {
|
|
1307
|
+
type: "foregroundPaletteColors",
|
|
1308
|
+
value: "secondary",
|
|
1309
|
+
valueType: "alias"
|
|
1310
|
+
} } },
|
|
1311
|
+
"variant/success/description": { color: { rest: {
|
|
1312
|
+
type: "foregroundPaletteColors",
|
|
1313
|
+
value: "secondary",
|
|
1314
|
+
valueType: "alias"
|
|
1315
|
+
} } },
|
|
1216
1316
|
"variant/success/icon": { color: { rest: {
|
|
1217
1317
|
type: "foregroundPaletteColors",
|
|
1218
1318
|
value: "positive",
|
|
@@ -1235,6 +1335,16 @@ const defaultTokensConfig = {
|
|
|
1235
1335
|
valueType: "alias"
|
|
1236
1336
|
} }
|
|
1237
1337
|
},
|
|
1338
|
+
"variant/success/title": { color: { rest: {
|
|
1339
|
+
type: "foregroundPaletteColors",
|
|
1340
|
+
value: "secondary",
|
|
1341
|
+
valueType: "alias"
|
|
1342
|
+
} } },
|
|
1343
|
+
"variant/warning-secondary/description": { color: { rest: {
|
|
1344
|
+
type: "foregroundPaletteColors",
|
|
1345
|
+
value: "secondary",
|
|
1346
|
+
valueType: "alias"
|
|
1347
|
+
} } },
|
|
1238
1348
|
"variant/warning-secondary/icon": { color: { rest: {
|
|
1239
1349
|
type: "foregroundPaletteColors",
|
|
1240
1350
|
value: "warning-secondary",
|
|
@@ -1257,6 +1367,16 @@ const defaultTokensConfig = {
|
|
|
1257
1367
|
valueType: "alias"
|
|
1258
1368
|
} }
|
|
1259
1369
|
},
|
|
1370
|
+
"variant/warning-secondary/title": { color: { rest: {
|
|
1371
|
+
type: "foregroundPaletteColors",
|
|
1372
|
+
value: "secondary",
|
|
1373
|
+
valueType: "alias"
|
|
1374
|
+
} } },
|
|
1375
|
+
"variant/warning/description": { color: { rest: {
|
|
1376
|
+
type: "foregroundPaletteColors",
|
|
1377
|
+
value: "secondary",
|
|
1378
|
+
valueType: "alias"
|
|
1379
|
+
} } },
|
|
1260
1380
|
"variant/warning/icon": { color: { rest: {
|
|
1261
1381
|
type: "foregroundPaletteColors",
|
|
1262
1382
|
value: "warning",
|
|
@@ -1278,7 +1398,12 @@ const defaultTokensConfig = {
|
|
|
1278
1398
|
value: "thin",
|
|
1279
1399
|
valueType: "alias"
|
|
1280
1400
|
} }
|
|
1281
|
-
}
|
|
1401
|
+
},
|
|
1402
|
+
"variant/warning/title": { color: { rest: {
|
|
1403
|
+
type: "foregroundPaletteColors",
|
|
1404
|
+
value: "secondary",
|
|
1405
|
+
valueType: "alias"
|
|
1406
|
+
} } }
|
|
1282
1407
|
}
|
|
1283
1408
|
},
|
|
1284
1409
|
bottomSheet: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! © 2026 Yahoo, Inc. UDS Tailwind and Purger v0.0.0-development */
|
|
2
2
|
//#region ../config/dist/index.js
|
|
3
3
|
/*! © 2026 Yahoo, Inc. UDS Default Config v0.0.0-development */
|
|
4
|
-
const LATEST_MIGRATION_VERSION = "v0.
|
|
4
|
+
const LATEST_MIGRATION_VERSION = "v0.91.0";
|
|
5
5
|
/**
|
|
6
6
|
* NOTE: If you're building a feature with a migration,
|
|
7
7
|
* this type will likely throw. You can regenerate yosConfig
|
|
@@ -988,6 +988,11 @@ const defaultTokensConfig = {
|
|
|
988
988
|
valueType: "alias"
|
|
989
989
|
} } },
|
|
990
990
|
"size/default/root": {
|
|
991
|
+
bannerInnerShadow: { rest: {
|
|
992
|
+
type: "bannerInnerShadowOptions",
|
|
993
|
+
value: "subtle",
|
|
994
|
+
valueType: "alias"
|
|
995
|
+
} },
|
|
991
996
|
borderRadius: { rest: {
|
|
992
997
|
type: "borderRadii",
|
|
993
998
|
value: "lg",
|
|
@@ -1014,6 +1019,11 @@ const defaultTokensConfig = {
|
|
|
1014
1019
|
value: "ui3/emphasized",
|
|
1015
1020
|
valueType: "alias"
|
|
1016
1021
|
} } },
|
|
1022
|
+
"variant/alert-secondary/description": { color: { rest: {
|
|
1023
|
+
type: "foregroundPaletteColors",
|
|
1024
|
+
value: "secondary",
|
|
1025
|
+
valueType: "alias"
|
|
1026
|
+
} } },
|
|
1017
1027
|
"variant/alert-secondary/icon": { color: { rest: {
|
|
1018
1028
|
type: "foregroundPaletteColors",
|
|
1019
1029
|
value: "alert-secondary",
|
|
@@ -1036,6 +1046,16 @@ const defaultTokensConfig = {
|
|
|
1036
1046
|
valueType: "alias"
|
|
1037
1047
|
} }
|
|
1038
1048
|
},
|
|
1049
|
+
"variant/alert-secondary/title": { color: { rest: {
|
|
1050
|
+
type: "foregroundPaletteColors",
|
|
1051
|
+
value: "secondary",
|
|
1052
|
+
valueType: "alias"
|
|
1053
|
+
} } },
|
|
1054
|
+
"variant/alert/description": { color: { rest: {
|
|
1055
|
+
type: "foregroundPaletteColors",
|
|
1056
|
+
value: "secondary",
|
|
1057
|
+
valueType: "alias"
|
|
1058
|
+
} } },
|
|
1039
1059
|
"variant/alert/icon": { color: { rest: {
|
|
1040
1060
|
type: "foregroundPaletteColors",
|
|
1041
1061
|
value: "alert",
|
|
@@ -1058,6 +1078,16 @@ const defaultTokensConfig = {
|
|
|
1058
1078
|
valueType: "alias"
|
|
1059
1079
|
} }
|
|
1060
1080
|
},
|
|
1081
|
+
"variant/alert/title": { color: { rest: {
|
|
1082
|
+
type: "foregroundPaletteColors",
|
|
1083
|
+
value: "secondary",
|
|
1084
|
+
valueType: "alias"
|
|
1085
|
+
} } },
|
|
1086
|
+
"variant/brand-secondary/description": { color: { rest: {
|
|
1087
|
+
type: "foregroundPaletteColors",
|
|
1088
|
+
value: "secondary",
|
|
1089
|
+
valueType: "alias"
|
|
1090
|
+
} } },
|
|
1061
1091
|
"variant/brand-secondary/icon": { color: { rest: {
|
|
1062
1092
|
type: "foregroundPaletteColors",
|
|
1063
1093
|
value: "secondary",
|
|
@@ -1080,6 +1110,16 @@ const defaultTokensConfig = {
|
|
|
1080
1110
|
valueType: "alias"
|
|
1081
1111
|
} }
|
|
1082
1112
|
},
|
|
1113
|
+
"variant/brand-secondary/title": { color: { rest: {
|
|
1114
|
+
type: "foregroundPaletteColors",
|
|
1115
|
+
value: "secondary",
|
|
1116
|
+
valueType: "alias"
|
|
1117
|
+
} } },
|
|
1118
|
+
"variant/brand/description": { color: { rest: {
|
|
1119
|
+
type: "foregroundPaletteColors",
|
|
1120
|
+
value: "secondary",
|
|
1121
|
+
valueType: "alias"
|
|
1122
|
+
} } },
|
|
1083
1123
|
"variant/brand/icon": { color: { rest: {
|
|
1084
1124
|
type: "foregroundPaletteColors",
|
|
1085
1125
|
value: "secondary",
|
|
@@ -1102,6 +1142,16 @@ const defaultTokensConfig = {
|
|
|
1102
1142
|
valueType: "alias"
|
|
1103
1143
|
} }
|
|
1104
1144
|
},
|
|
1145
|
+
"variant/brand/title": { color: { rest: {
|
|
1146
|
+
type: "foregroundPaletteColors",
|
|
1147
|
+
value: "secondary",
|
|
1148
|
+
valueType: "alias"
|
|
1149
|
+
} } },
|
|
1150
|
+
"variant/info-secondary/description": { color: { rest: {
|
|
1151
|
+
type: "foregroundPaletteColors",
|
|
1152
|
+
value: "secondary",
|
|
1153
|
+
valueType: "alias"
|
|
1154
|
+
} } },
|
|
1105
1155
|
"variant/info-secondary/icon": { color: { rest: {
|
|
1106
1156
|
type: "foregroundPaletteColors",
|
|
1107
1157
|
value: "info",
|
|
@@ -1124,6 +1174,16 @@ const defaultTokensConfig = {
|
|
|
1124
1174
|
valueType: "alias"
|
|
1125
1175
|
} }
|
|
1126
1176
|
},
|
|
1177
|
+
"variant/info-secondary/title": { color: { rest: {
|
|
1178
|
+
type: "foregroundPaletteColors",
|
|
1179
|
+
value: "secondary",
|
|
1180
|
+
valueType: "alias"
|
|
1181
|
+
} } },
|
|
1182
|
+
"variant/info/description": { color: { rest: {
|
|
1183
|
+
type: "foregroundPaletteColors",
|
|
1184
|
+
value: "secondary",
|
|
1185
|
+
valueType: "alias"
|
|
1186
|
+
} } },
|
|
1127
1187
|
"variant/info/icon": { color: { rest: {
|
|
1128
1188
|
type: "foregroundPaletteColors",
|
|
1129
1189
|
value: "info",
|
|
@@ -1146,6 +1206,16 @@ const defaultTokensConfig = {
|
|
|
1146
1206
|
valueType: "alias"
|
|
1147
1207
|
} }
|
|
1148
1208
|
},
|
|
1209
|
+
"variant/info/title": { color: { rest: {
|
|
1210
|
+
type: "foregroundPaletteColors",
|
|
1211
|
+
value: "secondary",
|
|
1212
|
+
valueType: "alias"
|
|
1213
|
+
} } },
|
|
1214
|
+
"variant/primary/description": { color: { rest: {
|
|
1215
|
+
type: "foregroundPaletteColors",
|
|
1216
|
+
value: "secondary",
|
|
1217
|
+
valueType: "alias"
|
|
1218
|
+
} } },
|
|
1149
1219
|
"variant/primary/icon": { color: { rest: {
|
|
1150
1220
|
type: "foregroundPaletteColors",
|
|
1151
1221
|
value: "secondary",
|
|
@@ -1168,6 +1238,16 @@ const defaultTokensConfig = {
|
|
|
1168
1238
|
valueType: "alias"
|
|
1169
1239
|
} }
|
|
1170
1240
|
},
|
|
1241
|
+
"variant/primary/title": { color: { rest: {
|
|
1242
|
+
type: "foregroundPaletteColors",
|
|
1243
|
+
value: "secondary",
|
|
1244
|
+
valueType: "alias"
|
|
1245
|
+
} } },
|
|
1246
|
+
"variant/secondary/description": { color: { rest: {
|
|
1247
|
+
type: "foregroundPaletteColors",
|
|
1248
|
+
value: "secondary",
|
|
1249
|
+
valueType: "alias"
|
|
1250
|
+
} } },
|
|
1171
1251
|
"variant/secondary/icon": { color: { rest: {
|
|
1172
1252
|
type: "foregroundPaletteColors",
|
|
1173
1253
|
value: "secondary",
|
|
@@ -1190,6 +1270,16 @@ const defaultTokensConfig = {
|
|
|
1190
1270
|
valueType: "alias"
|
|
1191
1271
|
} }
|
|
1192
1272
|
},
|
|
1273
|
+
"variant/secondary/title": { color: { rest: {
|
|
1274
|
+
type: "foregroundPaletteColors",
|
|
1275
|
+
value: "secondary",
|
|
1276
|
+
valueType: "alias"
|
|
1277
|
+
} } },
|
|
1278
|
+
"variant/success-secondary/description": { color: { rest: {
|
|
1279
|
+
type: "foregroundPaletteColors",
|
|
1280
|
+
value: "secondary",
|
|
1281
|
+
valueType: "alias"
|
|
1282
|
+
} } },
|
|
1193
1283
|
"variant/success-secondary/icon": { color: { rest: {
|
|
1194
1284
|
type: "foregroundPaletteColors",
|
|
1195
1285
|
value: "positive-secondary",
|
|
@@ -1212,6 +1302,16 @@ const defaultTokensConfig = {
|
|
|
1212
1302
|
valueType: "alias"
|
|
1213
1303
|
} }
|
|
1214
1304
|
},
|
|
1305
|
+
"variant/success-secondary/title": { color: { rest: {
|
|
1306
|
+
type: "foregroundPaletteColors",
|
|
1307
|
+
value: "secondary",
|
|
1308
|
+
valueType: "alias"
|
|
1309
|
+
} } },
|
|
1310
|
+
"variant/success/description": { color: { rest: {
|
|
1311
|
+
type: "foregroundPaletteColors",
|
|
1312
|
+
value: "secondary",
|
|
1313
|
+
valueType: "alias"
|
|
1314
|
+
} } },
|
|
1215
1315
|
"variant/success/icon": { color: { rest: {
|
|
1216
1316
|
type: "foregroundPaletteColors",
|
|
1217
1317
|
value: "positive",
|
|
@@ -1234,6 +1334,16 @@ const defaultTokensConfig = {
|
|
|
1234
1334
|
valueType: "alias"
|
|
1235
1335
|
} }
|
|
1236
1336
|
},
|
|
1337
|
+
"variant/success/title": { color: { rest: {
|
|
1338
|
+
type: "foregroundPaletteColors",
|
|
1339
|
+
value: "secondary",
|
|
1340
|
+
valueType: "alias"
|
|
1341
|
+
} } },
|
|
1342
|
+
"variant/warning-secondary/description": { color: { rest: {
|
|
1343
|
+
type: "foregroundPaletteColors",
|
|
1344
|
+
value: "secondary",
|
|
1345
|
+
valueType: "alias"
|
|
1346
|
+
} } },
|
|
1237
1347
|
"variant/warning-secondary/icon": { color: { rest: {
|
|
1238
1348
|
type: "foregroundPaletteColors",
|
|
1239
1349
|
value: "warning-secondary",
|
|
@@ -1256,6 +1366,16 @@ const defaultTokensConfig = {
|
|
|
1256
1366
|
valueType: "alias"
|
|
1257
1367
|
} }
|
|
1258
1368
|
},
|
|
1369
|
+
"variant/warning-secondary/title": { color: { rest: {
|
|
1370
|
+
type: "foregroundPaletteColors",
|
|
1371
|
+
value: "secondary",
|
|
1372
|
+
valueType: "alias"
|
|
1373
|
+
} } },
|
|
1374
|
+
"variant/warning/description": { color: { rest: {
|
|
1375
|
+
type: "foregroundPaletteColors",
|
|
1376
|
+
value: "secondary",
|
|
1377
|
+
valueType: "alias"
|
|
1378
|
+
} } },
|
|
1259
1379
|
"variant/warning/icon": { color: { rest: {
|
|
1260
1380
|
type: "foregroundPaletteColors",
|
|
1261
1381
|
value: "warning",
|
|
@@ -1277,7 +1397,12 @@ const defaultTokensConfig = {
|
|
|
1277
1397
|
value: "thin",
|
|
1278
1398
|
valueType: "alias"
|
|
1279
1399
|
} }
|
|
1280
|
-
}
|
|
1400
|
+
},
|
|
1401
|
+
"variant/warning/title": { color: { rest: {
|
|
1402
|
+
type: "foregroundPaletteColors",
|
|
1403
|
+
value: "secondary",
|
|
1404
|
+
valueType: "alias"
|
|
1405
|
+
} } }
|
|
1281
1406
|
}
|
|
1282
1407
|
},
|
|
1283
1408
|
bottomSheet: {
|