@yahoo/uds 3.133.3 → 3.134.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 +14 -0
- package/dist/automated-config/dist/generated/autoVariants.d.cts +14 -0
- package/dist/automated-config/dist/generated/autoVariants.d.ts +14 -0
- package/dist/automated-config/dist/generated/autoVariants.js +14 -0
- package/dist/automated-config/dist/generated/generatedConfigs.cjs +2796 -1
- package/dist/automated-config/dist/generated/generatedConfigs.d.cts +288 -2
- package/dist/automated-config/dist/generated/generatedConfigs.d.ts +288 -2
- package/dist/automated-config/dist/generated/generatedConfigs.js +2796 -2
- package/dist/automated-config/dist/generated/universalTokensConfigAuto.cjs +119 -0
- package/dist/automated-config/dist/generated/universalTokensConfigAuto.d.cts +2 -1
- package/dist/automated-config/dist/generated/universalTokensConfigAuto.d.ts +2 -1
- package/dist/automated-config/dist/generated/universalTokensConfigAuto.js +119 -0
- package/dist/automated-config/dist/properties.cjs +15 -1
- package/dist/automated-config/dist/properties.d.cts +4 -0
- package/dist/automated-config/dist/properties.d.ts +4 -0
- package/dist/automated-config/dist/properties.js +15 -1
- package/dist/automated-config/dist/utils/getConfigVariantProperties.d.cts +2 -2
- package/dist/automated-config/dist/utils/getConfigVariantProperties.d.ts +2 -2
- package/dist/cli/commands/sync.cjs +4 -0
- package/dist/cli/commands/sync.js +4 -0
- package/dist/components/client/Modal/Modal.cjs +193 -0
- package/dist/components/client/Modal/Modal.d.cts +51 -0
- package/dist/components/client/Modal/Modal.d.ts +52 -0
- package/dist/components/client/Modal/Modal.js +191 -0
- package/dist/components/client/Modal/ModalActions.cjs +54 -0
- package/dist/components/client/Modal/ModalActions.d.cts +27 -0
- package/dist/components/client/Modal/ModalActions.d.ts +28 -0
- package/dist/components/client/Modal/ModalActions.js +52 -0
- package/dist/components/client/Modal/ModalContent.cjs +37 -0
- package/dist/components/client/Modal/ModalContent.d.cts +24 -0
- package/dist/components/client/Modal/ModalContent.d.ts +25 -0
- package/dist/components/client/Modal/ModalContent.js +35 -0
- package/dist/components/client/Modal/ModalContext.cjs +15 -0
- package/dist/components/client/Modal/ModalContext.d.cts +13 -0
- package/dist/components/client/Modal/ModalContext.d.ts +14 -0
- package/dist/components/client/Modal/ModalContext.js +12 -0
- package/dist/components/client/Modal/ModalDescription.cjs +29 -0
- package/dist/components/client/Modal/ModalDescription.d.cts +23 -0
- package/dist/components/client/Modal/ModalDescription.d.ts +24 -0
- package/dist/components/client/Modal/ModalDescription.js +27 -0
- package/dist/components/client/Modal/ModalTitle.cjs +29 -0
- package/dist/components/client/Modal/ModalTitle.d.cts +23 -0
- package/dist/components/client/Modal/ModalTitle.d.ts +24 -0
- package/dist/components/client/Modal/ModalTitle.js +27 -0
- package/dist/components/client/Modal/UDSModalConfigProvider.cjs +42 -0
- package/dist/components/client/Modal/UDSModalConfigProvider.d.cts +35 -0
- package/dist/components/client/Modal/UDSModalConfigProvider.d.ts +36 -0
- package/dist/components/client/Modal/UDSModalConfigProvider.js +39 -0
- package/dist/components/client/Modal/index.cjs +16 -0
- package/dist/components/client/Modal/index.d.cts +8 -0
- package/dist/components/client/Modal/index.d.ts +9 -0
- package/dist/components/client/Modal/index.js +9 -0
- package/dist/components/client/Modal/useScrollFade.cjs +38 -0
- package/dist/components/client/Modal/useScrollFade.d.cts +13 -0
- package/dist/components/client/Modal/useScrollFade.d.ts +14 -0
- package/dist/components/client/Modal/useScrollFade.js +36 -0
- package/dist/components/client/Modal/utils.cjs +32 -0
- package/dist/components/client/Modal/utils.d.cts +13 -0
- package/dist/components/client/Modal/utils.d.ts +14 -0
- package/dist/components/client/Modal/utils.js +30 -0
- package/dist/components/client/Popover/index.d.cts +1 -1
- package/dist/components/client/Popover/index.d.ts +1 -1
- package/dist/components/client/Toast/UDSToastConfigProvider.d.cts +1 -1
- package/dist/components/client/Toast/UDSToastConfigProvider.d.ts +1 -1
- package/dist/components/client/index.cjs +13 -0
- package/dist/components/client/index.d.cts +8 -2
- package/dist/components/client/index.d.ts +8 -2
- package/dist/components/client/index.js +7 -1
- package/dist/components/client/providers/UDSConfigProvider.cjs +6 -2
- package/dist/components/client/providers/UDSConfigProvider.d.cts +2 -1
- package/dist/components/client/providers/UDSConfigProvider.d.ts +2 -1
- package/dist/components/client/providers/UDSConfigProvider.js +6 -2
- package/dist/components/experimental/client/index.cjs +0 -5
- package/dist/components/experimental/client/index.d.cts +1 -2
- package/dist/components/experimental/client/index.d.ts +1 -2
- package/dist/components/experimental/client/index.js +1 -2
- package/dist/components/experimental/index.cjs +1 -10
- package/dist/components/experimental/index.d.cts +1 -2
- package/dist/components/experimental/index.d.ts +1 -2
- package/dist/components/experimental/index.js +2 -7
- package/dist/components/index.cjs +20 -0
- package/dist/components/index.d.cts +8 -2
- package/dist/components/index.d.ts +8 -2
- package/dist/components/index.js +14 -1
- package/dist/config/dist/index.cjs +129 -4
- package/dist/config/dist/index.js +129 -4
- package/dist/index.cjs +16 -0
- package/dist/index.d.cts +11 -4
- package/dist/index.d.ts +11 -4
- package/dist/index.js +9 -2
- package/dist/runtime/index.cjs +2 -0
- package/dist/runtime/index.d.cts +2 -1
- package/dist/runtime/index.d.ts +2 -1
- package/dist/runtime/index.js +2 -1
- package/dist/runtime/modalConfig.cjs +22 -0
- package/dist/runtime/modalConfig.d.cts +22 -0
- package/dist/runtime/modalConfig.d.ts +22 -0
- package/dist/runtime/modalConfig.js +21 -0
- package/dist/runtime/udsConfig.cjs +4 -2
- package/dist/runtime/udsConfig.d.cts +2 -0
- package/dist/runtime/udsConfig.d.ts +2 -0
- package/dist/runtime/udsConfig.js +4 -2
- package/dist/styles/styler.d.cts +35 -21
- package/dist/styles/styler.d.ts +35 -21
- package/dist/styles/variants.d.cts +42 -0
- package/dist/styles/variants.d.ts +42 -0
- package/dist/tailwind/dist/automated-config/dist/generated/autoVariants.cjs +14 -0
- package/dist/tailwind/dist/automated-config/dist/generated/autoVariants.js +14 -0
- package/dist/tailwind/dist/automated-config/dist/generated/autoVariants.js.map +1 -1
- package/dist/tailwind/dist/automated-config/dist/generated/generatedConfigs.cjs +2796 -1
- package/dist/tailwind/dist/automated-config/dist/generated/generatedConfigs.js +2796 -2
- package/dist/tailwind/dist/automated-config/dist/generated/generatedConfigs.js.map +1 -1
- package/dist/tailwind/dist/automated-config/dist/properties.cjs +15 -1
- package/dist/tailwind/dist/automated-config/dist/properties.js +15 -1
- package/dist/tailwind/dist/automated-config/dist/properties.js.map +1 -1
- package/dist/tailwind/dist/config/dist/index.cjs +129 -4
- package/dist/tailwind/dist/config/dist/index.js +129 -4
- package/dist/tailwind/dist/config/dist/index.js.map +1 -1
- package/dist/tailwind/dist/css/utils.cjs +8 -0
- package/dist/tailwind/dist/css/utils.js +8 -0
- package/dist/tailwind/dist/css/utils.js.map +1 -1
- package/dist/tailwind/dist/runtimeConfig/hookMetadata.cjs +34 -0
- package/dist/tailwind/dist/runtimeConfig/hookMetadata.js +34 -0
- package/dist/tailwind/dist/runtimeConfig/hookMetadata.js.map +1 -1
- package/dist/tailwind/dist/tailwind/plugins/blurBgFallback.cjs +3 -0
- package/dist/tailwind/dist/tailwind/plugins/blurBgFallback.js +3 -0
- package/dist/tailwind/dist/tailwind/plugins/blurBgFallback.js.map +1 -1
- package/dist/tailwind/dist/tailwind/plugins/components.cjs +1 -0
- package/dist/tailwind/dist/tailwind/plugins/components.js +2 -1
- package/dist/tailwind/dist/tailwind/plugins/components.js.map +1 -1
- 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/automation/configs/index.cjs +1 -0
- package/dist/tokens/automation/configs/index.d.cts +2 -2
- package/dist/tokens/automation/configs/index.d.ts +2 -2
- package/dist/tokens/automation/configs/index.js +2 -2
- package/dist/tokens/automation/index.cjs +1 -0
- package/dist/tokens/automation/index.d.cts +2 -2
- package/dist/tokens/automation/index.d.ts +2 -2
- package/dist/tokens/automation/index.js +2 -2
- package/dist/tokens/index.cjs +1 -0
- package/dist/tokens/index.d.cts +3 -3
- package/dist/tokens/index.d.ts +3 -3
- package/dist/tokens/index.js +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 +68 -2
- package/dist/types/dist/index.d.ts +68 -2
- package/dist/uds/generated/componentData.cjs +717 -526
- package/dist/uds/generated/componentData.js +580 -425
- package/dist/uds/generated/tailwindPurge.cjs +137 -96
- package/dist/uds/generated/tailwindPurge.js +137 -96
- package/dist/utils/exposeAriakitScrollbarWidth.cjs +17 -0
- package/dist/utils/exposeAriakitScrollbarWidth.d.cts +13 -0
- package/dist/utils/exposeAriakitScrollbarWidth.d.ts +13 -0
- package/dist/utils/exposeAriakitScrollbarWidth.js +16 -0
- package/generated/componentData.json +876 -665
- package/generated/tailwindPurge.ts +4 -4
- package/package.json +1 -1
- package/dist/components/experimental/client/Modal.cjs +0 -60
- package/dist/components/experimental/client/Modal.d.cts +0 -27
- package/dist/components/experimental/client/Modal.d.ts +0 -28
- package/dist/components/experimental/client/Modal.js +0 -55
|
@@ -245,6 +245,18 @@ const spacingVertical = {
|
|
|
245
245
|
twThemePath: (_, value) => `spacing[${value}]`,
|
|
246
246
|
possibleFixtures: ["spacingAliases"]
|
|
247
247
|
};
|
|
248
|
+
const spacingTop = {
|
|
249
|
+
name: "spacingTop",
|
|
250
|
+
cssProperties: "padding-top",
|
|
251
|
+
twThemePath: (_, value) => `spacing[${value}]`,
|
|
252
|
+
possibleFixtures: ["spacingAliases"]
|
|
253
|
+
};
|
|
254
|
+
const spacingBottom = {
|
|
255
|
+
name: "spacingBottom",
|
|
256
|
+
cssProperties: "padding-bottom",
|
|
257
|
+
twThemePath: (_, value) => `spacing[${value}]`,
|
|
258
|
+
possibleFixtures: ["spacingAliases"]
|
|
259
|
+
};
|
|
248
260
|
const horizontalMargin = {
|
|
249
261
|
name: "horizontalMargin",
|
|
250
262
|
cssProperties: ["margin-left", "margin-right"],
|
|
@@ -404,6 +416,8 @@ const publicProperties = {
|
|
|
404
416
|
bottomMargin,
|
|
405
417
|
spacingHorizontal,
|
|
406
418
|
spacingVertical,
|
|
419
|
+
spacingTop,
|
|
420
|
+
spacingBottom,
|
|
407
421
|
textVariant,
|
|
408
422
|
textDecorationLine,
|
|
409
423
|
shadow,
|
|
@@ -464,7 +478,7 @@ const publicProperties = {
|
|
|
464
478
|
const property = schema.variables[variablePath][propertyName].rest;
|
|
465
479
|
if (property.type === "elevationAliases") return `var(--uds-background-blur-radius-${property.value})`;
|
|
466
480
|
}
|
|
467
|
-
return `blur(${schemaValue.value}px)`;
|
|
481
|
+
return schemaValue.value === 0 ? "none" : `blur(${schemaValue.value}px)`;
|
|
468
482
|
}
|
|
469
483
|
},
|
|
470
484
|
blurBackgroundColor: {
|
|
@@ -245,6 +245,18 @@ const spacingVertical = {
|
|
|
245
245
|
twThemePath: (_, value) => `spacing[${value}]`,
|
|
246
246
|
possibleFixtures: ["spacingAliases"]
|
|
247
247
|
};
|
|
248
|
+
const spacingTop = {
|
|
249
|
+
name: "spacingTop",
|
|
250
|
+
cssProperties: "padding-top",
|
|
251
|
+
twThemePath: (_, value) => `spacing[${value}]`,
|
|
252
|
+
possibleFixtures: ["spacingAliases"]
|
|
253
|
+
};
|
|
254
|
+
const spacingBottom = {
|
|
255
|
+
name: "spacingBottom",
|
|
256
|
+
cssProperties: "padding-bottom",
|
|
257
|
+
twThemePath: (_, value) => `spacing[${value}]`,
|
|
258
|
+
possibleFixtures: ["spacingAliases"]
|
|
259
|
+
};
|
|
248
260
|
const horizontalMargin = {
|
|
249
261
|
name: "horizontalMargin",
|
|
250
262
|
cssProperties: ["margin-left", "margin-right"],
|
|
@@ -404,6 +416,8 @@ const publicProperties = {
|
|
|
404
416
|
bottomMargin,
|
|
405
417
|
spacingHorizontal,
|
|
406
418
|
spacingVertical,
|
|
419
|
+
spacingTop,
|
|
420
|
+
spacingBottom,
|
|
407
421
|
textVariant,
|
|
408
422
|
textDecorationLine,
|
|
409
423
|
shadow,
|
|
@@ -464,7 +478,7 @@ const publicProperties = {
|
|
|
464
478
|
const property = schema.variables[variablePath][propertyName].rest;
|
|
465
479
|
if (property.type === "elevationAliases") return `var(--uds-background-blur-radius-${property.value})`;
|
|
466
480
|
}
|
|
467
|
-
return `blur(${schemaValue.value}px)`;
|
|
481
|
+
return schemaValue.value === 0 ? "none" : `blur(${schemaValue.value}px)`;
|
|
468
482
|
}
|
|
469
483
|
},
|
|
470
484
|
blurBackgroundColor: {
|
|
@@ -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//#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\treturn String(SCALE_EFFECTS[String(value)] ?? 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//#endregion\nexport { configurableProperties };\n\n//# sourceMappingURL=properties.js.map"],"mappings":";;;;;;;;AAOA,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,gCAAgC,MAAM,iCAAi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BAA2B,gBAAgB;IAC5E,MAAM,EAAE,cAAc,iBAAiB,2BAA2B;IAClE,MAAM,WAAW,OAAO,UAAU,cAAc,cAAc;AAC9D,QAAI,SAAS,SAAS,mBAAoB,QAAO,oCAAoC,SAAS,MAAM;;AAErG,UAAO,QAAQ,YAAY,MAAM;;EAElC;CACD,qBAAqB;EACpB,GAAG;EACH,MAAM;EACN,eAAe,KAAK;EACpB;CACD,6BAA6B;EAC5B,GAAG;EACH,MAAM;EACN,eAAe,KAAK;EACpB;CACD,sBAAsB;EACrB,MAAM;EACN,eAAe;EACf,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//#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 spacingTop = {\n\tname: \"spacingTop\",\n\tcssProperties: \"padding-top\",\n\ttwThemePath: (_, value) => `spacing[${value}]`,\n\tpossibleFixtures: [\"spacingAliases\"]\n};\nconst spacingBottom = {\n\tname: \"spacingBottom\",\n\tcssProperties: \"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\tspacingTop,\n\tspacingBottom,\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\treturn String(SCALE_EFFECTS[String(value)] ?? 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 schemaValue.value === 0 ? \"none\" : `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//#endregion\nexport { configurableProperties };\n\n//# sourceMappingURL=properties.js.map"],"mappings":";;;;;;;;AAOA,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,KA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AAErG,UAAO,YAAY,UAAU,IAAI,SAAS,QAAQ,YAAY,MAAM;;EAErE;CACD,qBAAqB;EACpB,GAAG;EACH,MAAM;EACN,eAAe,KAAK;EACpB;CACD,6BAA6B;EAC5B,GAAG;EACH,MAAM;EACN,eAAe,KAAK;EACpB;CACD,sBAAsB;EACrB,MAAM;EACN,eAAe;EACf,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"}
|
|
@@ -1223,7 +1223,7 @@ const defaultTokensConfig = {
|
|
|
1223
1223
|
"variant/primary/root": {
|
|
1224
1224
|
backgroundColor: { rest: {
|
|
1225
1225
|
type: "backgroundPaletteColors",
|
|
1226
|
-
value: "
|
|
1226
|
+
value: "secondary",
|
|
1227
1227
|
valueType: "alias"
|
|
1228
1228
|
} },
|
|
1229
1229
|
borderColor: { rest: {
|
|
@@ -9524,7 +9524,8 @@ const defaultTokensConfig = {
|
|
|
9524
9524
|
line: {
|
|
9525
9525
|
accent: {
|
|
9526
9526
|
hue: "carbon",
|
|
9527
|
-
|
|
9527
|
+
opacity: "25",
|
|
9528
|
+
step: "15"
|
|
9528
9529
|
},
|
|
9529
9530
|
alert: {
|
|
9530
9531
|
hue: "red",
|
|
@@ -16881,6 +16882,130 @@ const defaultTokensConfig = {
|
|
|
16881
16882
|
} } }
|
|
16882
16883
|
}
|
|
16883
16884
|
},
|
|
16885
|
+
modal: {
|
|
16886
|
+
defaults: {
|
|
16887
|
+
size: "default",
|
|
16888
|
+
variant: "default"
|
|
16889
|
+
},
|
|
16890
|
+
variables: {
|
|
16891
|
+
"size/default/actions": {
|
|
16892
|
+
gap: { rest: {
|
|
16893
|
+
type: "spacingAliases",
|
|
16894
|
+
value: "3",
|
|
16895
|
+
valueType: "alias"
|
|
16896
|
+
} },
|
|
16897
|
+
spacingTop: { rest: {
|
|
16898
|
+
type: "spacingAliases",
|
|
16899
|
+
value: "8",
|
|
16900
|
+
valueType: "alias"
|
|
16901
|
+
} }
|
|
16902
|
+
},
|
|
16903
|
+
"size/default/closeIcon": { size: { rest: {
|
|
16904
|
+
type: "iconSizes",
|
|
16905
|
+
value: "md",
|
|
16906
|
+
valueType: "alias"
|
|
16907
|
+
} } },
|
|
16908
|
+
"size/default/closeIconContainer": { spacing: { rest: {
|
|
16909
|
+
type: "spacingAliases",
|
|
16910
|
+
value: "2",
|
|
16911
|
+
valueType: "alias"
|
|
16912
|
+
} } },
|
|
16913
|
+
"size/default/content": { spacingBottom: { rest: {
|
|
16914
|
+
type: "spacingAliases",
|
|
16915
|
+
value: "2",
|
|
16916
|
+
valueType: "alias"
|
|
16917
|
+
} } },
|
|
16918
|
+
"size/default/description": { textVariant: { rest: {
|
|
16919
|
+
type: "textVariants",
|
|
16920
|
+
value: "label2",
|
|
16921
|
+
valueType: "alias"
|
|
16922
|
+
} } },
|
|
16923
|
+
"size/default/header": { spacingBottom: { rest: {
|
|
16924
|
+
type: "spacingAliases",
|
|
16925
|
+
value: "8",
|
|
16926
|
+
valueType: "alias"
|
|
16927
|
+
} } },
|
|
16928
|
+
"size/default/root": {
|
|
16929
|
+
borderRadius: { rest: {
|
|
16930
|
+
type: "borderRadii",
|
|
16931
|
+
value: "lg",
|
|
16932
|
+
valueType: "alias"
|
|
16933
|
+
} },
|
|
16934
|
+
borderWidth: { rest: {
|
|
16935
|
+
type: "elevationAliases",
|
|
16936
|
+
value: "elevation-5",
|
|
16937
|
+
valueType: "alias"
|
|
16938
|
+
} },
|
|
16939
|
+
shadow: { rest: {
|
|
16940
|
+
type: "elevationAliases",
|
|
16941
|
+
value: "elevation-5",
|
|
16942
|
+
valueType: "alias"
|
|
16943
|
+
} },
|
|
16944
|
+
spacingVertical: { rest: {
|
|
16945
|
+
type: "spacingAliases",
|
|
16946
|
+
value: "8",
|
|
16947
|
+
valueType: "alias"
|
|
16948
|
+
} }
|
|
16949
|
+
},
|
|
16950
|
+
"size/default/scrim": { spacing: { rest: {
|
|
16951
|
+
type: "spacingAliases",
|
|
16952
|
+
value: "8",
|
|
16953
|
+
valueType: "alias"
|
|
16954
|
+
} } },
|
|
16955
|
+
"size/default/spacingHorizontal": { spacingHorizontal: { rest: {
|
|
16956
|
+
type: "spacingAliases",
|
|
16957
|
+
value: "8",
|
|
16958
|
+
valueType: "alias"
|
|
16959
|
+
} } },
|
|
16960
|
+
"size/default/title": { textVariant: { rest: {
|
|
16961
|
+
type: "textVariants",
|
|
16962
|
+
value: "title2",
|
|
16963
|
+
valueType: "alias"
|
|
16964
|
+
} } },
|
|
16965
|
+
"size/default/titleDescriptionWrapper": { gap: { rest: {
|
|
16966
|
+
type: "spacingAliases",
|
|
16967
|
+
value: "2",
|
|
16968
|
+
valueType: "alias"
|
|
16969
|
+
} } },
|
|
16970
|
+
"variant/default/closeIcon": { color: { rest: {
|
|
16971
|
+
type: "foregroundPaletteColors",
|
|
16972
|
+
value: "primary",
|
|
16973
|
+
valueType: "alias"
|
|
16974
|
+
} } },
|
|
16975
|
+
"variant/default/description": { color: { rest: {
|
|
16976
|
+
type: "foregroundPaletteColors",
|
|
16977
|
+
value: "primary",
|
|
16978
|
+
valueType: "alias"
|
|
16979
|
+
} } },
|
|
16980
|
+
"variant/default/root": {
|
|
16981
|
+
backdropBlur: { rest: {
|
|
16982
|
+
type: "positiveIntegers",
|
|
16983
|
+
value: 0,
|
|
16984
|
+
valueType: "custom"
|
|
16985
|
+
} },
|
|
16986
|
+
backgroundColor: { rest: {
|
|
16987
|
+
type: "elevationAliases",
|
|
16988
|
+
value: "elevation-5",
|
|
16989
|
+
valueType: "alias"
|
|
16990
|
+
} },
|
|
16991
|
+
blurBackgroundColorFallback: { rest: {
|
|
16992
|
+
type: "elevationAliases",
|
|
16993
|
+
value: "elevation-5",
|
|
16994
|
+
valueType: "alias"
|
|
16995
|
+
} },
|
|
16996
|
+
borderColor: { rest: {
|
|
16997
|
+
type: "elevationAliases",
|
|
16998
|
+
value: "elevation-5",
|
|
16999
|
+
valueType: "alias"
|
|
17000
|
+
} }
|
|
17001
|
+
},
|
|
17002
|
+
"variant/default/title": { color: { rest: {
|
|
17003
|
+
type: "foregroundPaletteColors",
|
|
17004
|
+
value: "primary",
|
|
17005
|
+
valueType: "alias"
|
|
17006
|
+
} } }
|
|
17007
|
+
}
|
|
17008
|
+
},
|
|
16884
17009
|
motion: {
|
|
16885
17010
|
bouncy: {
|
|
16886
17011
|
"1": {
|
|
@@ -28425,8 +28550,8 @@ const defaultTokensConfig = {
|
|
|
28425
28550
|
}
|
|
28426
28551
|
}
|
|
28427
28552
|
},
|
|
28428
|
-
version: "v0.
|
|
28429
|
-
version: "v0.
|
|
28553
|
+
version: "v0.92.0",
|
|
28554
|
+
version: "v0.92.0"
|
|
28430
28555
|
};
|
|
28431
28556
|
//#endregion
|
|
28432
28557
|
exports.defaultTokensConfig = defaultTokensConfig;
|
|
@@ -1223,7 +1223,7 @@ const defaultTokensConfig = {
|
|
|
1223
1223
|
"variant/primary/root": {
|
|
1224
1224
|
backgroundColor: { rest: {
|
|
1225
1225
|
type: "backgroundPaletteColors",
|
|
1226
|
-
value: "
|
|
1226
|
+
value: "secondary",
|
|
1227
1227
|
valueType: "alias"
|
|
1228
1228
|
} },
|
|
1229
1229
|
borderColor: { rest: {
|
|
@@ -9524,7 +9524,8 @@ const defaultTokensConfig = {
|
|
|
9524
9524
|
line: {
|
|
9525
9525
|
accent: {
|
|
9526
9526
|
hue: "carbon",
|
|
9527
|
-
|
|
9527
|
+
opacity: "25",
|
|
9528
|
+
step: "15"
|
|
9528
9529
|
},
|
|
9529
9530
|
alert: {
|
|
9530
9531
|
hue: "red",
|
|
@@ -16881,6 +16882,130 @@ const defaultTokensConfig = {
|
|
|
16881
16882
|
} } }
|
|
16882
16883
|
}
|
|
16883
16884
|
},
|
|
16885
|
+
modal: {
|
|
16886
|
+
defaults: {
|
|
16887
|
+
size: "default",
|
|
16888
|
+
variant: "default"
|
|
16889
|
+
},
|
|
16890
|
+
variables: {
|
|
16891
|
+
"size/default/actions": {
|
|
16892
|
+
gap: { rest: {
|
|
16893
|
+
type: "spacingAliases",
|
|
16894
|
+
value: "3",
|
|
16895
|
+
valueType: "alias"
|
|
16896
|
+
} },
|
|
16897
|
+
spacingTop: { rest: {
|
|
16898
|
+
type: "spacingAliases",
|
|
16899
|
+
value: "8",
|
|
16900
|
+
valueType: "alias"
|
|
16901
|
+
} }
|
|
16902
|
+
},
|
|
16903
|
+
"size/default/closeIcon": { size: { rest: {
|
|
16904
|
+
type: "iconSizes",
|
|
16905
|
+
value: "md",
|
|
16906
|
+
valueType: "alias"
|
|
16907
|
+
} } },
|
|
16908
|
+
"size/default/closeIconContainer": { spacing: { rest: {
|
|
16909
|
+
type: "spacingAliases",
|
|
16910
|
+
value: "2",
|
|
16911
|
+
valueType: "alias"
|
|
16912
|
+
} } },
|
|
16913
|
+
"size/default/content": { spacingBottom: { rest: {
|
|
16914
|
+
type: "spacingAliases",
|
|
16915
|
+
value: "2",
|
|
16916
|
+
valueType: "alias"
|
|
16917
|
+
} } },
|
|
16918
|
+
"size/default/description": { textVariant: { rest: {
|
|
16919
|
+
type: "textVariants",
|
|
16920
|
+
value: "label2",
|
|
16921
|
+
valueType: "alias"
|
|
16922
|
+
} } },
|
|
16923
|
+
"size/default/header": { spacingBottom: { rest: {
|
|
16924
|
+
type: "spacingAliases",
|
|
16925
|
+
value: "8",
|
|
16926
|
+
valueType: "alias"
|
|
16927
|
+
} } },
|
|
16928
|
+
"size/default/root": {
|
|
16929
|
+
borderRadius: { rest: {
|
|
16930
|
+
type: "borderRadii",
|
|
16931
|
+
value: "lg",
|
|
16932
|
+
valueType: "alias"
|
|
16933
|
+
} },
|
|
16934
|
+
borderWidth: { rest: {
|
|
16935
|
+
type: "elevationAliases",
|
|
16936
|
+
value: "elevation-5",
|
|
16937
|
+
valueType: "alias"
|
|
16938
|
+
} },
|
|
16939
|
+
shadow: { rest: {
|
|
16940
|
+
type: "elevationAliases",
|
|
16941
|
+
value: "elevation-5",
|
|
16942
|
+
valueType: "alias"
|
|
16943
|
+
} },
|
|
16944
|
+
spacingVertical: { rest: {
|
|
16945
|
+
type: "spacingAliases",
|
|
16946
|
+
value: "8",
|
|
16947
|
+
valueType: "alias"
|
|
16948
|
+
} }
|
|
16949
|
+
},
|
|
16950
|
+
"size/default/scrim": { spacing: { rest: {
|
|
16951
|
+
type: "spacingAliases",
|
|
16952
|
+
value: "8",
|
|
16953
|
+
valueType: "alias"
|
|
16954
|
+
} } },
|
|
16955
|
+
"size/default/spacingHorizontal": { spacingHorizontal: { rest: {
|
|
16956
|
+
type: "spacingAliases",
|
|
16957
|
+
value: "8",
|
|
16958
|
+
valueType: "alias"
|
|
16959
|
+
} } },
|
|
16960
|
+
"size/default/title": { textVariant: { rest: {
|
|
16961
|
+
type: "textVariants",
|
|
16962
|
+
value: "title2",
|
|
16963
|
+
valueType: "alias"
|
|
16964
|
+
} } },
|
|
16965
|
+
"size/default/titleDescriptionWrapper": { gap: { rest: {
|
|
16966
|
+
type: "spacingAliases",
|
|
16967
|
+
value: "2",
|
|
16968
|
+
valueType: "alias"
|
|
16969
|
+
} } },
|
|
16970
|
+
"variant/default/closeIcon": { color: { rest: {
|
|
16971
|
+
type: "foregroundPaletteColors",
|
|
16972
|
+
value: "primary",
|
|
16973
|
+
valueType: "alias"
|
|
16974
|
+
} } },
|
|
16975
|
+
"variant/default/description": { color: { rest: {
|
|
16976
|
+
type: "foregroundPaletteColors",
|
|
16977
|
+
value: "primary",
|
|
16978
|
+
valueType: "alias"
|
|
16979
|
+
} } },
|
|
16980
|
+
"variant/default/root": {
|
|
16981
|
+
backdropBlur: { rest: {
|
|
16982
|
+
type: "positiveIntegers",
|
|
16983
|
+
value: 0,
|
|
16984
|
+
valueType: "custom"
|
|
16985
|
+
} },
|
|
16986
|
+
backgroundColor: { rest: {
|
|
16987
|
+
type: "elevationAliases",
|
|
16988
|
+
value: "elevation-5",
|
|
16989
|
+
valueType: "alias"
|
|
16990
|
+
} },
|
|
16991
|
+
blurBackgroundColorFallback: { rest: {
|
|
16992
|
+
type: "elevationAliases",
|
|
16993
|
+
value: "elevation-5",
|
|
16994
|
+
valueType: "alias"
|
|
16995
|
+
} },
|
|
16996
|
+
borderColor: { rest: {
|
|
16997
|
+
type: "elevationAliases",
|
|
16998
|
+
value: "elevation-5",
|
|
16999
|
+
valueType: "alias"
|
|
17000
|
+
} }
|
|
17001
|
+
},
|
|
17002
|
+
"variant/default/title": { color: { rest: {
|
|
17003
|
+
type: "foregroundPaletteColors",
|
|
17004
|
+
value: "primary",
|
|
17005
|
+
valueType: "alias"
|
|
17006
|
+
} } }
|
|
17007
|
+
}
|
|
17008
|
+
},
|
|
16884
17009
|
motion: {
|
|
16885
17010
|
bouncy: {
|
|
16886
17011
|
"1": {
|
|
@@ -28425,8 +28550,8 @@ const defaultTokensConfig = {
|
|
|
28425
28550
|
}
|
|
28426
28551
|
}
|
|
28427
28552
|
},
|
|
28428
|
-
version: "v0.
|
|
28429
|
-
version: "v0.
|
|
28553
|
+
version: "v0.92.0",
|
|
28554
|
+
version: "v0.92.0"
|
|
28430
28555
|
};
|
|
28431
28556
|
//#endregion
|
|
28432
28557
|
export { defaultTokensConfig };
|