@yahoo/uds 3.145.0 → 3.146.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 +34 -0
- package/dist/automated-config/dist/generated/autoVariants.d.cts +5 -0
- package/dist/automated-config/dist/generated/autoVariants.d.ts +5 -0
- package/dist/automated-config/dist/generated/autoVariants.js +34 -0
- package/dist/automated-config/dist/generated/generatedConfigs.cjs +1457 -0
- package/dist/automated-config/dist/generated/generatedConfigs.d.cts +161 -1
- package/dist/automated-config/dist/generated/generatedConfigs.d.ts +161 -1
- package/dist/automated-config/dist/generated/generatedConfigs.js +1457 -1
- package/dist/automated-config/dist/generated/universalTokensConfigAuto.cjs +385 -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 +385 -0
- package/dist/automated-config/dist/utils/buildConfigSchema.cjs +9 -5
- package/dist/automated-config/dist/utils/buildConfigSchema.d.cts +3 -1
- package/dist/automated-config/dist/utils/buildConfigSchema.d.ts +3 -1
- package/dist/automated-config/dist/utils/buildConfigSchema.js +9 -6
- package/dist/automated-config/dist/utils/index.cjs +14 -3
- package/dist/automated-config/dist/utils/index.d.cts +1 -1
- package/dist/automated-config/dist/utils/index.d.ts +1 -1
- package/dist/automated-config/dist/utils/index.js +14 -3
- package/dist/cli/runner.cjs +6 -2
- package/dist/cli/runner.js +6 -2
- package/dist/components/Banner/Banner.cjs +2 -1
- package/dist/components/Banner/Banner.js +2 -1
- package/dist/components/Banner/utils.cjs +3 -12
- package/dist/components/Banner/utils.d.cts +1 -6
- package/dist/components/Banner/utils.d.ts +1 -6
- package/dist/components/Banner/utils.js +2 -11
- 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/PaddleNav/PaddleButton.cjs +51 -0
- package/dist/components/client/PaddleNav/PaddleButton.d.cts +16 -0
- package/dist/components/client/PaddleNav/PaddleButton.d.ts +17 -0
- package/dist/components/client/PaddleNav/PaddleButton.js +49 -0
- package/dist/components/client/PaddleNav/PaddleButtonNext.cjs +18 -0
- package/dist/components/client/PaddleNav/PaddleButtonNext.d.cts +11 -0
- package/dist/components/client/PaddleNav/PaddleButtonNext.d.ts +12 -0
- package/dist/components/client/PaddleNav/PaddleButtonNext.js +16 -0
- package/dist/components/client/PaddleNav/PaddleButtonPrevious.cjs +18 -0
- package/dist/components/client/PaddleNav/PaddleButtonPrevious.d.cts +11 -0
- package/dist/components/client/PaddleNav/PaddleButtonPrevious.d.ts +12 -0
- package/dist/components/client/PaddleNav/PaddleButtonPrevious.js +16 -0
- package/dist/components/client/PaddleNav/PaddleNav.cjs +193 -0
- package/dist/components/client/PaddleNav/PaddleNav.d.cts +11 -0
- package/dist/components/client/PaddleNav/PaddleNav.d.ts +12 -0
- package/dist/components/client/PaddleNav/PaddleNav.js +191 -0
- package/dist/components/client/PaddleNav/PaddleNavContent.cjs +29 -0
- package/dist/components/client/PaddleNav/PaddleNavContent.d.cts +11 -0
- package/dist/components/client/PaddleNav/PaddleNavContent.d.ts +12 -0
- package/dist/components/client/PaddleNav/PaddleNavContent.js +27 -0
- package/dist/components/client/PaddleNav/index.cjs +11 -0
- package/dist/components/client/PaddleNav/index.d.cts +6 -0
- package/dist/components/client/PaddleNav/index.d.ts +7 -0
- package/dist/components/client/PaddleNav/index.js +7 -0
- package/dist/components/client/PaddleNav/paddleButtonIcons.cjs +12 -0
- package/dist/components/client/PaddleNav/paddleButtonIcons.d.cts +22 -0
- package/dist/components/client/PaddleNav/paddleButtonIcons.d.ts +23 -0
- package/dist/components/client/PaddleNav/paddleButtonIcons.js +10 -0
- package/dist/components/client/PaddleNav/paddleNavContext.cjs +20 -0
- package/dist/components/client/PaddleNav/paddleNavContext.d.cts +20 -0
- package/dist/components/client/PaddleNav/paddleNavContext.d.ts +21 -0
- package/dist/components/client/PaddleNav/paddleNavContext.js +16 -0
- package/dist/components/client/PaddleNav/utils/resolvePaddleNavCornerOrientation.cjs +25 -0
- package/dist/components/client/PaddleNav/utils/resolvePaddleNavCornerOrientation.d.cts +16 -0
- package/dist/components/client/PaddleNav/utils/resolvePaddleNavCornerOrientation.d.ts +17 -0
- package/dist/components/client/PaddleNav/utils/resolvePaddleNavCornerOrientation.js +24 -0
- package/dist/components/client/Popover/UDSPopoverConfigProvider.d.cts +1 -1
- package/dist/components/client/Popover/UDSPopoverConfigProvider.d.ts +1 -1
- package/dist/components/client/index.cjs +8 -0
- package/dist/components/client/index.d.cts +5 -1
- package/dist/components/client/index.d.ts +5 -1
- package/dist/components/client/index.js +5 -1
- package/dist/components/index.cjs +8 -0
- package/dist/components/index.d.cts +5 -1
- package/dist/components/index.d.ts +5 -1
- package/dist/components/index.js +5 -1
- package/dist/config/dist/index.cjs +399 -14
- package/dist/config/dist/index.js +399 -14
- package/dist/css/dist/packages/config/dist/index.cjs +399 -14
- package/dist/css/dist/packages/config/dist/index.js +399 -14
- package/dist/icons/dist/types.d.cts +1 -1
- package/dist/icons/dist/types.d.ts +1 -1
- package/dist/index.cjs +11 -1
- package/dist/index.d.cts +9 -5
- package/dist/index.d.ts +9 -5
- package/dist/index.js +8 -4
- package/dist/styles/styler.d.cts +24 -19
- package/dist/styles/styler.d.ts +24 -19
- package/dist/styles/variants.d.cts +34 -0
- package/dist/styles/variants.d.ts +34 -0
- package/dist/tailwind-internal/dist/packages/automated-config/dist/generated/generatedConfigs.cjs +1457 -0
- package/dist/tailwind-internal/dist/packages/automated-config/dist/generated/generatedConfigs.js +1457 -1
- package/dist/tailwind-internal/dist/packages/automated-config/dist/utils/buildConfigSchema.cjs +15 -0
- package/dist/tailwind-internal/dist/packages/automated-config/dist/utils/buildConfigSchema.js +15 -0
- package/dist/tailwind-internal/dist/packages/automated-config/dist/utils/index.cjs +14 -2
- package/dist/tailwind-internal/dist/packages/automated-config/dist/utils/index.js +14 -2
- package/dist/tailwind-internal/dist/packages/config/dist/index.cjs +399 -14
- package/dist/tailwind-internal/dist/packages/config/dist/index.js +399 -14
- package/dist/tailwind-internal/dist/plugins/components.cjs +1 -0
- package/dist/tailwind-internal/dist/plugins/components.js +2 -1
- package/dist/tailwind-internal/dist/utils/getNestedBorderRadiusUtilities.cjs +6 -0
- package/dist/tailwind-internal/dist/utils/getNestedBorderRadiusUtilities.js +6 -0
- 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 +3 -1
- package/dist/tokens/automation/index.d.cts +3 -3
- package/dist/tokens/automation/index.d.ts +3 -3
- package/dist/tokens/automation/index.js +4 -4
- package/dist/tokens/index.cjs +3 -1
- package/dist/tokens/index.d.cts +5 -5
- package/dist/tokens/index.d.ts +5 -5
- package/dist/tokens/index.js +4 -4
- package/dist/tokens/types.d.cts +6 -2
- package/dist/tokens/types.d.ts +6 -2
- package/dist/types/dist/index.d.cts +50 -1
- package/dist/types/dist/index.d.ts +50 -1
- package/dist/uds/generated/componentData.cjs +2781 -3273
- package/dist/uds/generated/componentData.js +2776 -2710
- package/dist/uds/generated/tailwindPurge.cjs +22 -0
- package/dist/uds/generated/tailwindPurge.js +22 -0
- package/dist/utils/hasDisplayName.cjs +17 -0
- package/dist/utils/hasDisplayName.d.cts +12 -0
- package/dist/utils/hasDisplayName.d.ts +12 -0
- package/dist/utils/hasDisplayName.js +15 -0
- package/generated/componentData.json +1770 -1565
- package/generated/tailwindPurge.ts +4 -4
- package/package.json +1 -1
package/dist/tailwind-internal/dist/packages/automated-config/dist/utils/buildConfigSchema.cjs
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
|
|
2
|
+
const require_util = require("../../../../../../fixtures/src/util.cjs");
|
|
3
|
+
//#region ../tailwind-internal/dist/packages/automated-config/dist/utils/buildConfigSchema.js
|
|
4
|
+
/*! © 2026 Yahoo, Inc. UDS Tailwind Internal v0.0.0-development */
|
|
5
|
+
/*! © 2026 Yahoo, Inc. UDS Default Config v0.0.0-development */
|
|
6
|
+
/** Resolves the fixture type by finding which value set contains the given value */
|
|
7
|
+
function findFixtureTypeForValue(property, value) {
|
|
8
|
+
const index = property.values.findIndex((arr) => arr.includes(value));
|
|
9
|
+
const fixtureType = property.typeOfFixture[index === -1 ? 0 : index];
|
|
10
|
+
const arbitraryFixture = require_util.getArbitraryFixture(fixtureType);
|
|
11
|
+
if (arbitraryFixture && !require_util.validateArbitraryValue(arbitraryFixture, value)) throw new Error(`Invalid value "${value}" for property "${property.name}": does not satisfy ${fixtureType} constraints`);
|
|
12
|
+
return fixtureType;
|
|
13
|
+
}
|
|
14
|
+
//#endregion
|
|
15
|
+
exports.findFixtureTypeForValue = findFixtureTypeForValue;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
|
|
2
|
+
import { getArbitraryFixture, validateArbitraryValue } from "../../../../../../fixtures/src/util.js";
|
|
3
|
+
//#region ../tailwind-internal/dist/packages/automated-config/dist/utils/buildConfigSchema.js
|
|
4
|
+
/*! © 2026 Yahoo, Inc. UDS Tailwind Internal v0.0.0-development */
|
|
5
|
+
/*! © 2026 Yahoo, Inc. UDS Default Config v0.0.0-development */
|
|
6
|
+
/** Resolves the fixture type by finding which value set contains the given value */
|
|
7
|
+
function findFixtureTypeForValue(property, value) {
|
|
8
|
+
const index = property.values.findIndex((arr) => arr.includes(value));
|
|
9
|
+
const fixtureType = property.typeOfFixture[index === -1 ? 0 : index];
|
|
10
|
+
const arbitraryFixture = getArbitraryFixture(fixtureType);
|
|
11
|
+
if (arbitraryFixture && !validateArbitraryValue(arbitraryFixture, value)) throw new Error(`Invalid value "${value}" for property "${property.name}": does not satisfy ${fixtureType} constraints`);
|
|
12
|
+
return fixtureType;
|
|
13
|
+
}
|
|
14
|
+
//#endregion
|
|
15
|
+
export { findFixtureTypeForValue };
|
|
@@ -2,9 +2,10 @@
|
|
|
2
2
|
require("../../../../../../_virtual/_rolldown/runtime.cjs");
|
|
3
3
|
const require_index = require("../../../css-tokens/dist/index.cjs");
|
|
4
4
|
const require_properties = require("../properties.cjs");
|
|
5
|
-
const require_generateDefaultClassName = require("./generateDefaultClassName.cjs");
|
|
6
5
|
const require_generateSchemaKey = require("./generateSchemaKey.cjs");
|
|
7
6
|
const require_variantConfigGuards = require("./variantConfigGuards.cjs");
|
|
7
|
+
const require_buildConfigSchema = require("./buildConfigSchema.cjs");
|
|
8
|
+
const require_generateDefaultClassName = require("./generateDefaultClassName.cjs");
|
|
8
9
|
let lodash_es = require("lodash-es");
|
|
9
10
|
//#region ../tailwind-internal/dist/packages/automated-config/dist/utils/index.js
|
|
10
11
|
/*! © 2026 Yahoo, Inc. UDS Tailwind Internal v0.0.0-development */
|
|
@@ -12,7 +13,10 @@ let lodash_es = require("lodash-es");
|
|
|
12
13
|
const CSS_GAP = "gap";
|
|
13
14
|
const CSS_LINE_HEIGHT = "line-height";
|
|
14
15
|
const CSS_BORDER_WIDTH = "border-width";
|
|
16
|
+
const CSS_BORDER_RADIUS = "border-radius";
|
|
15
17
|
const CSS_BORDER_COLOR = "border-color";
|
|
18
|
+
const NESTED_BORDER_RADIUS_SIZE_VAR = "--uds-nested-border-radius-size";
|
|
19
|
+
const NESTED_BORDER_RADIUS_WIDTH_VAR = "--uds-nested-border-radius-width";
|
|
16
20
|
const CSS_BOX_SHADOW = "box-shadow";
|
|
17
21
|
const CSS_BORDER_TOP_WIDTH = "border-top-width";
|
|
18
22
|
const CSS_BORDER_RIGHT_WIDTH = "border-right-width";
|
|
@@ -168,7 +172,7 @@ const getTheCssPropertyValue = (schema, theme, propertyName, schemaStateValue, e
|
|
|
168
172
|
if (propertyConfig.customValueRenderer) newValue = propertyConfig.customValueRenderer(schemaStateValue, schema, theme, originalPropertyDefinition);
|
|
169
173
|
else {
|
|
170
174
|
const safeTwThemePath = propertyConfig.twThemePath;
|
|
171
|
-
newValue = theme(safeTwThemePath(type, String(value)));
|
|
175
|
+
newValue = theme(safeTwThemePath(originalPropertyDefinition ? require_buildConfigSchema.findFixtureTypeForValue(originalPropertyDefinition, value) : type, String(value)));
|
|
172
176
|
}
|
|
173
177
|
if (propertyConfig.concatenate && existingValue) return `${existingValue}${propertyConfig.concatenationDelimiter || ", "}${newValue}`;
|
|
174
178
|
return newValue;
|
|
@@ -194,7 +198,11 @@ function generateDeclaration({ componentName, subComponentName, variantKey, vari
|
|
|
194
198
|
const propertyStateMap = schema.variables?.[schemaKey]?.[propertyKey];
|
|
195
199
|
if (!propertyStateMap) throw new Error(`Prop definition (${componentName} - ${schemaKey} - ${propertyKey}) not found, this is not expected, please report the bug to the UDS team`);
|
|
196
200
|
const styles = {};
|
|
201
|
+
const skipRestForProperty = originalPropertyDefinition.skipRestState === true;
|
|
202
|
+
const declaredPseudoStates = originalPropertyDefinition.pseudoStates ?? [];
|
|
203
|
+
const declaredPropertyStates = new Set([...skipRestForProperty ? [] : ["rest"], ...declaredPseudoStates]);
|
|
197
204
|
for (const propStateStr in propertyStateMap) {
|
|
205
|
+
if (!declaredPropertyStates.has(propStateStr)) continue;
|
|
198
206
|
const propertyState = propStateStr;
|
|
199
207
|
const propertyStateSelector = statePseudoMap[propertyState] ?? "";
|
|
200
208
|
const schemaValueForState = propertyStateMap[propertyState];
|
|
@@ -303,6 +311,10 @@ function generateDeclaration({ componentName, subComponentName, variantKey, vari
|
|
|
303
311
|
});
|
|
304
312
|
}
|
|
305
313
|
}
|
|
314
|
+
if (componentName === "paddlenav" && layer === "root") {
|
|
315
|
+
if (propertyKey === "borderRadius" && cssDeclarations[CSS_BORDER_RADIUS]) cssDeclarations[NESTED_BORDER_RADIUS_SIZE_VAR] = cssDeclarations[CSS_BORDER_RADIUS];
|
|
316
|
+
if (propertyKey === "borderWidth" && cssDeclarations[CSS_BORDER_WIDTH]) cssDeclarations[NESTED_BORDER_RADIUS_WIDTH_VAR] = cssDeclarations[CSS_BORDER_WIDTH];
|
|
317
|
+
}
|
|
306
318
|
if ((componentName === "tabs" || componentName === "tab") && layer === "root") {
|
|
307
319
|
const schemaVariablesForKey = schema?.variables?.[schemaKey];
|
|
308
320
|
if (propertyKey === "borderWidth" && schemaVariablesForKey?.underlineWidth) {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
|
|
2
2
|
import { BUTTON_GAP_VAR, BUTTON_SCALE_EFFECT_HOVER, BUTTON_SCALE_EFFECT_PRESSED, BUTTON_SCALE_EFFECT_REST } from "../../../css-tokens/dist/index.js";
|
|
3
3
|
import { configurableProperties } from "../properties.js";
|
|
4
|
-
import { generateDefaultClassName } from "./generateDefaultClassName.js";
|
|
5
4
|
import { generateSchemaKey } from "./generateSchemaKey.js";
|
|
6
5
|
import { isVariantConfigWithComponentStates, isVariantConfigWithProperties } from "./variantConfigGuards.js";
|
|
6
|
+
import { findFixtureTypeForValue } from "./buildConfigSchema.js";
|
|
7
|
+
import { generateDefaultClassName } from "./generateDefaultClassName.js";
|
|
7
8
|
import { isFunction, mergeWith } from "lodash-es";
|
|
8
9
|
//#region ../tailwind-internal/dist/packages/automated-config/dist/utils/index.js
|
|
9
10
|
/*! © 2026 Yahoo, Inc. UDS Tailwind Internal v0.0.0-development */
|
|
@@ -11,7 +12,10 @@ import { isFunction, mergeWith } from "lodash-es";
|
|
|
11
12
|
const CSS_GAP = "gap";
|
|
12
13
|
const CSS_LINE_HEIGHT = "line-height";
|
|
13
14
|
const CSS_BORDER_WIDTH = "border-width";
|
|
15
|
+
const CSS_BORDER_RADIUS = "border-radius";
|
|
14
16
|
const CSS_BORDER_COLOR = "border-color";
|
|
17
|
+
const NESTED_BORDER_RADIUS_SIZE_VAR = "--uds-nested-border-radius-size";
|
|
18
|
+
const NESTED_BORDER_RADIUS_WIDTH_VAR = "--uds-nested-border-radius-width";
|
|
15
19
|
const CSS_BOX_SHADOW = "box-shadow";
|
|
16
20
|
const CSS_BORDER_TOP_WIDTH = "border-top-width";
|
|
17
21
|
const CSS_BORDER_RIGHT_WIDTH = "border-right-width";
|
|
@@ -167,7 +171,7 @@ const getTheCssPropertyValue = (schema, theme, propertyName, schemaStateValue, e
|
|
|
167
171
|
if (propertyConfig.customValueRenderer) newValue = propertyConfig.customValueRenderer(schemaStateValue, schema, theme, originalPropertyDefinition);
|
|
168
172
|
else {
|
|
169
173
|
const safeTwThemePath = propertyConfig.twThemePath;
|
|
170
|
-
newValue = theme(safeTwThemePath(type, String(value)));
|
|
174
|
+
newValue = theme(safeTwThemePath(originalPropertyDefinition ? findFixtureTypeForValue(originalPropertyDefinition, value) : type, String(value)));
|
|
171
175
|
}
|
|
172
176
|
if (propertyConfig.concatenate && existingValue) return `${existingValue}${propertyConfig.concatenationDelimiter || ", "}${newValue}`;
|
|
173
177
|
return newValue;
|
|
@@ -193,7 +197,11 @@ function generateDeclaration({ componentName, subComponentName, variantKey, vari
|
|
|
193
197
|
const propertyStateMap = schema.variables?.[schemaKey]?.[propertyKey];
|
|
194
198
|
if (!propertyStateMap) throw new Error(`Prop definition (${componentName} - ${schemaKey} - ${propertyKey}) not found, this is not expected, please report the bug to the UDS team`);
|
|
195
199
|
const styles = {};
|
|
200
|
+
const skipRestForProperty = originalPropertyDefinition.skipRestState === true;
|
|
201
|
+
const declaredPseudoStates = originalPropertyDefinition.pseudoStates ?? [];
|
|
202
|
+
const declaredPropertyStates = new Set([...skipRestForProperty ? [] : ["rest"], ...declaredPseudoStates]);
|
|
196
203
|
for (const propStateStr in propertyStateMap) {
|
|
204
|
+
if (!declaredPropertyStates.has(propStateStr)) continue;
|
|
197
205
|
const propertyState = propStateStr;
|
|
198
206
|
const propertyStateSelector = statePseudoMap[propertyState] ?? "";
|
|
199
207
|
const schemaValueForState = propertyStateMap[propertyState];
|
|
@@ -302,6 +310,10 @@ function generateDeclaration({ componentName, subComponentName, variantKey, vari
|
|
|
302
310
|
});
|
|
303
311
|
}
|
|
304
312
|
}
|
|
313
|
+
if (componentName === "paddlenav" && layer === "root") {
|
|
314
|
+
if (propertyKey === "borderRadius" && cssDeclarations[CSS_BORDER_RADIUS]) cssDeclarations[NESTED_BORDER_RADIUS_SIZE_VAR] = cssDeclarations[CSS_BORDER_RADIUS];
|
|
315
|
+
if (propertyKey === "borderWidth" && cssDeclarations[CSS_BORDER_WIDTH]) cssDeclarations[NESTED_BORDER_RADIUS_WIDTH_VAR] = cssDeclarations[CSS_BORDER_WIDTH];
|
|
316
|
+
}
|
|
305
317
|
if ((componentName === "tabs" || componentName === "tab") && layer === "root") {
|
|
306
318
|
const schemaVariablesForKey = schema?.variables?.[schemaKey];
|
|
307
319
|
if (propertyKey === "borderWidth" && schemaVariablesForKey?.underlineWidth) {
|
|
@@ -13859,7 +13859,7 @@ const defaultTokensConfig = {
|
|
|
13859
13859
|
},
|
|
13860
13860
|
borderColor: {
|
|
13861
13861
|
type: "line",
|
|
13862
|
-
value: "
|
|
13862
|
+
value: "muted"
|
|
13863
13863
|
},
|
|
13864
13864
|
borderWidth: "thin",
|
|
13865
13865
|
dropShadow: "none",
|
|
@@ -13893,7 +13893,7 @@ const defaultTokensConfig = {
|
|
|
13893
13893
|
},
|
|
13894
13894
|
borderColor: {
|
|
13895
13895
|
type: "line",
|
|
13896
|
-
value: "
|
|
13896
|
+
value: "muted"
|
|
13897
13897
|
},
|
|
13898
13898
|
borderWidth: "thin",
|
|
13899
13899
|
dropShadow: "none",
|
|
@@ -13929,7 +13929,7 @@ const defaultTokensConfig = {
|
|
|
13929
13929
|
},
|
|
13930
13930
|
borderColor: {
|
|
13931
13931
|
type: "line",
|
|
13932
|
-
value: "
|
|
13932
|
+
value: "muted"
|
|
13933
13933
|
},
|
|
13934
13934
|
borderWidth: "thin",
|
|
13935
13935
|
dropShadow: [
|
|
@@ -14008,7 +14008,7 @@ const defaultTokensConfig = {
|
|
|
14008
14008
|
},
|
|
14009
14009
|
borderColor: {
|
|
14010
14010
|
type: "line",
|
|
14011
|
-
value: "
|
|
14011
|
+
value: "muted"
|
|
14012
14012
|
},
|
|
14013
14013
|
borderWidth: "thin",
|
|
14014
14014
|
dropShadow: [
|
|
@@ -14089,7 +14089,7 @@ const defaultTokensConfig = {
|
|
|
14089
14089
|
},
|
|
14090
14090
|
borderColor: {
|
|
14091
14091
|
type: "line",
|
|
14092
|
-
value: "
|
|
14092
|
+
value: "muted"
|
|
14093
14093
|
},
|
|
14094
14094
|
borderWidth: "thin",
|
|
14095
14095
|
dropShadow: [
|
|
@@ -14168,7 +14168,7 @@ const defaultTokensConfig = {
|
|
|
14168
14168
|
},
|
|
14169
14169
|
borderColor: {
|
|
14170
14170
|
type: "line",
|
|
14171
|
-
value: "
|
|
14171
|
+
value: "muted"
|
|
14172
14172
|
},
|
|
14173
14173
|
borderWidth: "thin",
|
|
14174
14174
|
dropShadow: [
|
|
@@ -14249,7 +14249,7 @@ const defaultTokensConfig = {
|
|
|
14249
14249
|
},
|
|
14250
14250
|
borderColor: {
|
|
14251
14251
|
type: "line",
|
|
14252
|
-
value: "
|
|
14252
|
+
value: "muted"
|
|
14253
14253
|
},
|
|
14254
14254
|
borderWidth: "thin",
|
|
14255
14255
|
dropShadow: [
|
|
@@ -14328,7 +14328,7 @@ const defaultTokensConfig = {
|
|
|
14328
14328
|
},
|
|
14329
14329
|
borderColor: {
|
|
14330
14330
|
type: "line",
|
|
14331
|
-
value: "
|
|
14331
|
+
value: "muted"
|
|
14332
14332
|
},
|
|
14333
14333
|
borderWidth: "thin",
|
|
14334
14334
|
dropShadow: [
|
|
@@ -14409,7 +14409,7 @@ const defaultTokensConfig = {
|
|
|
14409
14409
|
},
|
|
14410
14410
|
borderColor: {
|
|
14411
14411
|
type: "line",
|
|
14412
|
-
value: "
|
|
14412
|
+
value: "muted"
|
|
14413
14413
|
},
|
|
14414
14414
|
borderWidth: "thin",
|
|
14415
14415
|
dropShadow: [
|
|
@@ -14488,7 +14488,7 @@ const defaultTokensConfig = {
|
|
|
14488
14488
|
},
|
|
14489
14489
|
borderColor: {
|
|
14490
14490
|
type: "line",
|
|
14491
|
-
value: "
|
|
14491
|
+
value: "muted"
|
|
14492
14492
|
},
|
|
14493
14493
|
borderWidth: "thin",
|
|
14494
14494
|
dropShadow: [
|
|
@@ -14569,7 +14569,7 @@ const defaultTokensConfig = {
|
|
|
14569
14569
|
},
|
|
14570
14570
|
borderColor: {
|
|
14571
14571
|
type: "line",
|
|
14572
|
-
value: "
|
|
14572
|
+
value: "muted"
|
|
14573
14573
|
},
|
|
14574
14574
|
borderWidth: "thin",
|
|
14575
14575
|
dropShadow: [
|
|
@@ -14648,7 +14648,7 @@ const defaultTokensConfig = {
|
|
|
14648
14648
|
},
|
|
14649
14649
|
borderColor: {
|
|
14650
14650
|
type: "line",
|
|
14651
|
-
value: "
|
|
14651
|
+
value: "muted"
|
|
14652
14652
|
},
|
|
14653
14653
|
borderWidth: "thin",
|
|
14654
14654
|
dropShadow: [
|
|
@@ -17111,6 +17111,391 @@ const defaultTokensConfig = {
|
|
|
17111
17111
|
}
|
|
17112
17112
|
}
|
|
17113
17113
|
},
|
|
17114
|
+
paddleNav: {
|
|
17115
|
+
defaults: {
|
|
17116
|
+
size: "md",
|
|
17117
|
+
variant: "primary"
|
|
17118
|
+
},
|
|
17119
|
+
variables: {
|
|
17120
|
+
"size/lg/icon": { size: { rest: {
|
|
17121
|
+
type: "iconSizes",
|
|
17122
|
+
value: "md",
|
|
17123
|
+
valueType: "alias"
|
|
17124
|
+
} } },
|
|
17125
|
+
"size/lg/root": {
|
|
17126
|
+
borderRadius: { rest: {
|
|
17127
|
+
type: "borderRadii",
|
|
17128
|
+
value: "full",
|
|
17129
|
+
valueType: "alias"
|
|
17130
|
+
} },
|
|
17131
|
+
borderWidth: { rest: {
|
|
17132
|
+
type: "borderWidths",
|
|
17133
|
+
value: "thin",
|
|
17134
|
+
valueType: "alias"
|
|
17135
|
+
} },
|
|
17136
|
+
spacing: { rest: {
|
|
17137
|
+
type: "spacingAliases",
|
|
17138
|
+
value: "3.5",
|
|
17139
|
+
valueType: "alias"
|
|
17140
|
+
} }
|
|
17141
|
+
},
|
|
17142
|
+
"size/md/icon": { size: { rest: {
|
|
17143
|
+
type: "iconSizes",
|
|
17144
|
+
value: "sm",
|
|
17145
|
+
valueType: "alias"
|
|
17146
|
+
} } },
|
|
17147
|
+
"size/md/root": {
|
|
17148
|
+
borderRadius: { rest: {
|
|
17149
|
+
type: "borderRadii",
|
|
17150
|
+
value: "full",
|
|
17151
|
+
valueType: "alias"
|
|
17152
|
+
} },
|
|
17153
|
+
borderWidth: { rest: {
|
|
17154
|
+
type: "borderWidths",
|
|
17155
|
+
value: "thin",
|
|
17156
|
+
valueType: "alias"
|
|
17157
|
+
} },
|
|
17158
|
+
spacing: { rest: {
|
|
17159
|
+
type: "spacingAliases",
|
|
17160
|
+
value: "3",
|
|
17161
|
+
valueType: "alias"
|
|
17162
|
+
} }
|
|
17163
|
+
},
|
|
17164
|
+
"size/sm/icon": { size: { rest: {
|
|
17165
|
+
type: "iconSizes",
|
|
17166
|
+
value: "sm",
|
|
17167
|
+
valueType: "alias"
|
|
17168
|
+
} } },
|
|
17169
|
+
"size/sm/root": {
|
|
17170
|
+
borderRadius: { rest: {
|
|
17171
|
+
type: "borderRadii",
|
|
17172
|
+
value: "full",
|
|
17173
|
+
valueType: "alias"
|
|
17174
|
+
} },
|
|
17175
|
+
borderWidth: { rest: {
|
|
17176
|
+
type: "borderWidths",
|
|
17177
|
+
value: "thin",
|
|
17178
|
+
valueType: "alias"
|
|
17179
|
+
} },
|
|
17180
|
+
spacing: { rest: {
|
|
17181
|
+
type: "spacingAliases",
|
|
17182
|
+
value: "2",
|
|
17183
|
+
valueType: "alias"
|
|
17184
|
+
} }
|
|
17185
|
+
},
|
|
17186
|
+
"size/xl/icon": { size: { rest: {
|
|
17187
|
+
type: "iconSizes",
|
|
17188
|
+
value: "lg",
|
|
17189
|
+
valueType: "alias"
|
|
17190
|
+
} } },
|
|
17191
|
+
"size/xl/root": {
|
|
17192
|
+
borderRadius: { rest: {
|
|
17193
|
+
type: "borderRadii",
|
|
17194
|
+
value: "full",
|
|
17195
|
+
valueType: "alias"
|
|
17196
|
+
} },
|
|
17197
|
+
borderWidth: { rest: {
|
|
17198
|
+
type: "borderWidths",
|
|
17199
|
+
value: "thin",
|
|
17200
|
+
valueType: "alias"
|
|
17201
|
+
} },
|
|
17202
|
+
spacing: { rest: {
|
|
17203
|
+
type: "spacingAliases",
|
|
17204
|
+
value: "4",
|
|
17205
|
+
valueType: "alias"
|
|
17206
|
+
} }
|
|
17207
|
+
},
|
|
17208
|
+
"size/xs/icon": { size: { rest: {
|
|
17209
|
+
type: "iconSizes",
|
|
17210
|
+
value: "xs",
|
|
17211
|
+
valueType: "alias"
|
|
17212
|
+
} } },
|
|
17213
|
+
"size/xs/root": {
|
|
17214
|
+
borderRadius: { rest: {
|
|
17215
|
+
type: "borderRadii",
|
|
17216
|
+
value: "full",
|
|
17217
|
+
valueType: "alias"
|
|
17218
|
+
} },
|
|
17219
|
+
borderWidth: { rest: {
|
|
17220
|
+
type: "borderWidths",
|
|
17221
|
+
value: "thin",
|
|
17222
|
+
valueType: "alias"
|
|
17223
|
+
} },
|
|
17224
|
+
spacing: { rest: {
|
|
17225
|
+
type: "spacingAliases",
|
|
17226
|
+
value: "2",
|
|
17227
|
+
valueType: "alias"
|
|
17228
|
+
} }
|
|
17229
|
+
},
|
|
17230
|
+
"variant/primary/background": {
|
|
17231
|
+
backgroundColor: {
|
|
17232
|
+
hover: {
|
|
17233
|
+
type: "spectrumColors",
|
|
17234
|
+
value: "carbon-1",
|
|
17235
|
+
valueType: "alias"
|
|
17236
|
+
},
|
|
17237
|
+
pressed: {
|
|
17238
|
+
type: "spectrumColors",
|
|
17239
|
+
value: "carbon-2",
|
|
17240
|
+
valueType: "alias"
|
|
17241
|
+
},
|
|
17242
|
+
rest: {
|
|
17243
|
+
type: "backgroundPaletteColors",
|
|
17244
|
+
value: "primary",
|
|
17245
|
+
valueType: "alias"
|
|
17246
|
+
}
|
|
17247
|
+
},
|
|
17248
|
+
opacity: {
|
|
17249
|
+
hover: {
|
|
17250
|
+
type: "opacitySteps",
|
|
17251
|
+
value: "100",
|
|
17252
|
+
valueType: "alias"
|
|
17253
|
+
},
|
|
17254
|
+
pressed: {
|
|
17255
|
+
type: "opacitySteps",
|
|
17256
|
+
value: "100",
|
|
17257
|
+
valueType: "alias"
|
|
17258
|
+
},
|
|
17259
|
+
rest: {
|
|
17260
|
+
type: "opacitySteps",
|
|
17261
|
+
value: "100",
|
|
17262
|
+
valueType: "alias"
|
|
17263
|
+
}
|
|
17264
|
+
}
|
|
17265
|
+
},
|
|
17266
|
+
"variant/primary/icon": { color: {
|
|
17267
|
+
hover: {
|
|
17268
|
+
type: "foregroundPaletteColors",
|
|
17269
|
+
value: "primary",
|
|
17270
|
+
valueType: "alias"
|
|
17271
|
+
},
|
|
17272
|
+
pressed: {
|
|
17273
|
+
type: "foregroundPaletteColors",
|
|
17274
|
+
value: "primary",
|
|
17275
|
+
valueType: "alias"
|
|
17276
|
+
},
|
|
17277
|
+
rest: {
|
|
17278
|
+
type: "foregroundPaletteColors",
|
|
17279
|
+
value: "primary",
|
|
17280
|
+
valueType: "alias"
|
|
17281
|
+
}
|
|
17282
|
+
} },
|
|
17283
|
+
"variant/primary/root": {
|
|
17284
|
+
borderColor: {
|
|
17285
|
+
hover: {
|
|
17286
|
+
type: "linePaletteColors",
|
|
17287
|
+
value: "tertiary",
|
|
17288
|
+
valueType: "alias"
|
|
17289
|
+
},
|
|
17290
|
+
pressed: {
|
|
17291
|
+
type: "linePaletteColors",
|
|
17292
|
+
value: "tertiary",
|
|
17293
|
+
valueType: "alias"
|
|
17294
|
+
},
|
|
17295
|
+
rest: {
|
|
17296
|
+
type: "linePaletteColors",
|
|
17297
|
+
value: "tertiary",
|
|
17298
|
+
valueType: "alias"
|
|
17299
|
+
}
|
|
17300
|
+
},
|
|
17301
|
+
shadow: {
|
|
17302
|
+
hover: {
|
|
17303
|
+
type: "shadowVariants",
|
|
17304
|
+
value: "none",
|
|
17305
|
+
valueType: "alias"
|
|
17306
|
+
},
|
|
17307
|
+
pressed: {
|
|
17308
|
+
type: "shadowVariants",
|
|
17309
|
+
value: "none",
|
|
17310
|
+
valueType: "alias"
|
|
17311
|
+
},
|
|
17312
|
+
rest: {
|
|
17313
|
+
type: "shadowVariants",
|
|
17314
|
+
value: "none",
|
|
17315
|
+
valueType: "alias"
|
|
17316
|
+
}
|
|
17317
|
+
}
|
|
17318
|
+
},
|
|
17319
|
+
"variant/secondary/background": {
|
|
17320
|
+
backgroundColor: {
|
|
17321
|
+
hover: {
|
|
17322
|
+
type: "spectrumColors",
|
|
17323
|
+
value: "carbon-2",
|
|
17324
|
+
valueType: "alias"
|
|
17325
|
+
},
|
|
17326
|
+
pressed: {
|
|
17327
|
+
type: "spectrumColors",
|
|
17328
|
+
value: "carbon-3",
|
|
17329
|
+
valueType: "alias"
|
|
17330
|
+
},
|
|
17331
|
+
rest: {
|
|
17332
|
+
type: "spectrumColors",
|
|
17333
|
+
value: "carbon-1",
|
|
17334
|
+
valueType: "alias"
|
|
17335
|
+
}
|
|
17336
|
+
},
|
|
17337
|
+
opacity: {
|
|
17338
|
+
hover: {
|
|
17339
|
+
type: "opacitySteps",
|
|
17340
|
+
value: "100",
|
|
17341
|
+
valueType: "alias"
|
|
17342
|
+
},
|
|
17343
|
+
pressed: {
|
|
17344
|
+
type: "opacitySteps",
|
|
17345
|
+
value: "100",
|
|
17346
|
+
valueType: "alias"
|
|
17347
|
+
},
|
|
17348
|
+
rest: {
|
|
17349
|
+
type: "opacitySteps",
|
|
17350
|
+
value: "100",
|
|
17351
|
+
valueType: "alias"
|
|
17352
|
+
}
|
|
17353
|
+
}
|
|
17354
|
+
},
|
|
17355
|
+
"variant/secondary/icon": { color: {
|
|
17356
|
+
hover: {
|
|
17357
|
+
type: "foregroundPaletteColors",
|
|
17358
|
+
value: "primary",
|
|
17359
|
+
valueType: "alias"
|
|
17360
|
+
},
|
|
17361
|
+
pressed: {
|
|
17362
|
+
type: "foregroundPaletteColors",
|
|
17363
|
+
value: "primary",
|
|
17364
|
+
valueType: "alias"
|
|
17365
|
+
},
|
|
17366
|
+
rest: {
|
|
17367
|
+
type: "foregroundPaletteColors",
|
|
17368
|
+
value: "primary",
|
|
17369
|
+
valueType: "alias"
|
|
17370
|
+
}
|
|
17371
|
+
} },
|
|
17372
|
+
"variant/secondary/root": {
|
|
17373
|
+
borderColor: {
|
|
17374
|
+
hover: {
|
|
17375
|
+
type: "linePaletteColors",
|
|
17376
|
+
value: "tertiary",
|
|
17377
|
+
valueType: "alias"
|
|
17378
|
+
},
|
|
17379
|
+
pressed: {
|
|
17380
|
+
type: "linePaletteColors",
|
|
17381
|
+
value: "tertiary",
|
|
17382
|
+
valueType: "alias"
|
|
17383
|
+
},
|
|
17384
|
+
rest: {
|
|
17385
|
+
type: "linePaletteColors",
|
|
17386
|
+
value: "tertiary",
|
|
17387
|
+
valueType: "alias"
|
|
17388
|
+
}
|
|
17389
|
+
},
|
|
17390
|
+
shadow: {
|
|
17391
|
+
hover: {
|
|
17392
|
+
type: "shadowVariants",
|
|
17393
|
+
value: "none",
|
|
17394
|
+
valueType: "alias"
|
|
17395
|
+
},
|
|
17396
|
+
pressed: {
|
|
17397
|
+
type: "shadowVariants",
|
|
17398
|
+
value: "none",
|
|
17399
|
+
valueType: "alias"
|
|
17400
|
+
},
|
|
17401
|
+
rest: {
|
|
17402
|
+
type: "shadowVariants",
|
|
17403
|
+
value: "none",
|
|
17404
|
+
valueType: "alias"
|
|
17405
|
+
}
|
|
17406
|
+
}
|
|
17407
|
+
},
|
|
17408
|
+
"variant/tertiary/background": {
|
|
17409
|
+
backgroundColor: {
|
|
17410
|
+
hover: {
|
|
17411
|
+
type: "alwaysPaletteAliases",
|
|
17412
|
+
value: "always/black",
|
|
17413
|
+
valueType: "alias"
|
|
17414
|
+
},
|
|
17415
|
+
pressed: {
|
|
17416
|
+
type: "alwaysPaletteAliases",
|
|
17417
|
+
value: "always/black",
|
|
17418
|
+
valueType: "alias"
|
|
17419
|
+
},
|
|
17420
|
+
rest: {
|
|
17421
|
+
type: "alwaysPaletteAliases",
|
|
17422
|
+
value: "always/black",
|
|
17423
|
+
valueType: "alias"
|
|
17424
|
+
}
|
|
17425
|
+
},
|
|
17426
|
+
opacity: {
|
|
17427
|
+
hover: {
|
|
17428
|
+
type: "opacitySteps",
|
|
17429
|
+
value: "50",
|
|
17430
|
+
valueType: "alias"
|
|
17431
|
+
},
|
|
17432
|
+
pressed: {
|
|
17433
|
+
type: "opacitySteps",
|
|
17434
|
+
value: "70",
|
|
17435
|
+
valueType: "alias"
|
|
17436
|
+
},
|
|
17437
|
+
rest: {
|
|
17438
|
+
type: "opacitySteps",
|
|
17439
|
+
value: "30",
|
|
17440
|
+
valueType: "alias"
|
|
17441
|
+
}
|
|
17442
|
+
}
|
|
17443
|
+
},
|
|
17444
|
+
"variant/tertiary/icon": { color: {
|
|
17445
|
+
hover: {
|
|
17446
|
+
type: "alwaysPaletteAliases",
|
|
17447
|
+
value: "always/white",
|
|
17448
|
+
valueType: "alias"
|
|
17449
|
+
},
|
|
17450
|
+
pressed: {
|
|
17451
|
+
type: "alwaysPaletteAliases",
|
|
17452
|
+
value: "always/white",
|
|
17453
|
+
valueType: "alias"
|
|
17454
|
+
},
|
|
17455
|
+
rest: {
|
|
17456
|
+
type: "alwaysPaletteAliases",
|
|
17457
|
+
value: "always/white",
|
|
17458
|
+
valueType: "alias"
|
|
17459
|
+
}
|
|
17460
|
+
} },
|
|
17461
|
+
"variant/tertiary/root": {
|
|
17462
|
+
borderColor: {
|
|
17463
|
+
hover: {
|
|
17464
|
+
type: "alwaysPaletteAliases",
|
|
17465
|
+
value: "always/transparent",
|
|
17466
|
+
valueType: "alias"
|
|
17467
|
+
},
|
|
17468
|
+
pressed: {
|
|
17469
|
+
type: "alwaysPaletteAliases",
|
|
17470
|
+
value: "always/transparent",
|
|
17471
|
+
valueType: "alias"
|
|
17472
|
+
},
|
|
17473
|
+
rest: {
|
|
17474
|
+
type: "alwaysPaletteAliases",
|
|
17475
|
+
value: "always/transparent",
|
|
17476
|
+
valueType: "alias"
|
|
17477
|
+
}
|
|
17478
|
+
},
|
|
17479
|
+
shadow: {
|
|
17480
|
+
hover: {
|
|
17481
|
+
type: "shadowVariants",
|
|
17482
|
+
value: "none",
|
|
17483
|
+
valueType: "alias"
|
|
17484
|
+
},
|
|
17485
|
+
pressed: {
|
|
17486
|
+
type: "shadowVariants",
|
|
17487
|
+
value: "none",
|
|
17488
|
+
valueType: "alias"
|
|
17489
|
+
},
|
|
17490
|
+
rest: {
|
|
17491
|
+
type: "shadowVariants",
|
|
17492
|
+
value: "none",
|
|
17493
|
+
valueType: "alias"
|
|
17494
|
+
}
|
|
17495
|
+
}
|
|
17496
|
+
}
|
|
17497
|
+
}
|
|
17498
|
+
},
|
|
17114
17499
|
popover: {
|
|
17115
17500
|
defaults: {
|
|
17116
17501
|
size: "default",
|
|
@@ -28563,8 +28948,8 @@ const defaultTokensConfig = {
|
|
|
28563
28948
|
}
|
|
28564
28949
|
}
|
|
28565
28950
|
},
|
|
28566
|
-
version: "v0.
|
|
28567
|
-
version: "v0.
|
|
28951
|
+
version: "v0.94.0",
|
|
28952
|
+
version: "v0.94.0"
|
|
28568
28953
|
};
|
|
28569
28954
|
//#endregion
|
|
28570
28955
|
exports.defaultTokensConfig = defaultTokensConfig;
|