@yahoo/uds 3.109.0 → 3.110.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/cli/commands/sync.cjs +4 -0
- package/dist/cli/commands/sync.js +5 -1
- package/dist/cli/dist/commands/editor-rules.cjs +19 -16
- package/dist/cli/dist/commands/editor-rules.js +20 -17
- package/dist/cli/dist/lib/box.cjs +44 -0
- package/dist/cli/dist/lib/box.js +44 -0
- package/dist/cli/dist/lib/colors.cjs +2 -0
- package/dist/cli/dist/lib/colors.js +2 -1
- package/dist/cli/dist/utils/rules/config.cjs +136 -52
- package/dist/cli/dist/utils/rules/config.js +137 -54
- package/dist/cli/rules/claude/uds/components.md +50 -0
- package/dist/cli/rules/claude/uds/elevation.md +33 -0
- package/dist/cli/rules/claude/uds/icons.md +4 -0
- package/dist/cli/rules/claude/uds/styling.md +18 -0
- package/dist/cli/rules/claude/uds/tailwind.md +5 -0
- package/dist/components/client/Avatar/AvatarImage.cjs +1 -0
- package/dist/components/client/Avatar/AvatarImage.js +1 -0
- package/dist/components/client/Toast/ToastContainer.cjs +5 -1
- package/dist/components/client/Toast/ToastContainer.js +5 -1
- package/dist/components/client/Toast/UDSToastConfigProvider.d.cts +7 -0
- package/dist/components/client/Toast/UDSToastConfigProvider.d.ts +7 -0
- package/dist/config/dist/index.cjs +22707 -22707
- package/dist/config/dist/index.js +22707 -22707
- package/dist/runtime/toastConfig.cjs +2 -1
- package/dist/runtime/toastConfig.d.cts +3 -0
- package/dist/runtime/toastConfig.d.ts +3 -0
- package/dist/runtime/toastConfig.js +2 -1
- package/dist/styles/styler.d.cts +29 -29
- package/dist/styles/styler.d.ts +29 -29
- package/dist/tailwind/dist/tailwind/utils/getFontStyles.d.cts +1 -1
- package/dist/tailwind/dist/tailwind/utils/getFontStyles.d.ts +1 -1
- package/dist/uds/generated/componentData.cjs +1181 -1181
- package/dist/uds/generated/componentData.js +1181 -1181
- package/dist/uds/generated/tailwindPurge.cjs +31 -1
- package/dist/uds/generated/tailwindPurge.js +31 -1
- package/dist/uds/package.cjs +1 -1
- package/dist/uds/package.js +1 -1
- package/dist/utils/isElevationAlias.cjs +12 -0
- package/dist/utils/isElevationAlias.d.cts +7 -0
- package/dist/utils/isElevationAlias.d.ts +7 -0
- package/dist/utils/isElevationAlias.js +11 -0
- package/package.json +2 -2
|
@@ -1419,9 +1419,39 @@ const componentToVariants = {
|
|
|
1419
1419
|
["justifyContent", ["space-between"]],
|
|
1420
1420
|
["overflow", ["hidden"]],
|
|
1421
1421
|
["position", ["relative"]],
|
|
1422
|
+
["backgroundColor", [
|
|
1423
|
+
"accent",
|
|
1424
|
+
"alert",
|
|
1425
|
+
"brand",
|
|
1426
|
+
"positive",
|
|
1427
|
+
"warning",
|
|
1428
|
+
"info",
|
|
1429
|
+
"alert-secondary",
|
|
1430
|
+
"brand-secondary",
|
|
1431
|
+
"positive-secondary",
|
|
1432
|
+
"warning-secondary",
|
|
1433
|
+
"info-secondary",
|
|
1434
|
+
"primary",
|
|
1435
|
+
"secondary",
|
|
1436
|
+
"white",
|
|
1437
|
+
"black",
|
|
1438
|
+
"transparent",
|
|
1439
|
+
"current",
|
|
1440
|
+
"elevation-0",
|
|
1441
|
+
"elevation-1",
|
|
1442
|
+
"elevation-2",
|
|
1443
|
+
"elevation-3",
|
|
1444
|
+
"elevation-4",
|
|
1445
|
+
"elevation-5",
|
|
1446
|
+
"always/white",
|
|
1447
|
+
"always/black",
|
|
1448
|
+
"always/transparent",
|
|
1449
|
+
"always/current",
|
|
1450
|
+
"always/brand",
|
|
1451
|
+
"always/accent"
|
|
1452
|
+
]],
|
|
1422
1453
|
["columnGap", ["2.5"]],
|
|
1423
1454
|
["spacing", ["1"]],
|
|
1424
|
-
["backgroundColor", ["secondary"]],
|
|
1425
1455
|
["borderRadius", ["full"]]
|
|
1426
1456
|
],
|
|
1427
1457
|
Icon: [["color", [
|
|
@@ -1418,9 +1418,39 @@ const componentToVariants = {
|
|
|
1418
1418
|
["justifyContent", ["space-between"]],
|
|
1419
1419
|
["overflow", ["hidden"]],
|
|
1420
1420
|
["position", ["relative"]],
|
|
1421
|
+
["backgroundColor", [
|
|
1422
|
+
"accent",
|
|
1423
|
+
"alert",
|
|
1424
|
+
"brand",
|
|
1425
|
+
"positive",
|
|
1426
|
+
"warning",
|
|
1427
|
+
"info",
|
|
1428
|
+
"alert-secondary",
|
|
1429
|
+
"brand-secondary",
|
|
1430
|
+
"positive-secondary",
|
|
1431
|
+
"warning-secondary",
|
|
1432
|
+
"info-secondary",
|
|
1433
|
+
"primary",
|
|
1434
|
+
"secondary",
|
|
1435
|
+
"white",
|
|
1436
|
+
"black",
|
|
1437
|
+
"transparent",
|
|
1438
|
+
"current",
|
|
1439
|
+
"elevation-0",
|
|
1440
|
+
"elevation-1",
|
|
1441
|
+
"elevation-2",
|
|
1442
|
+
"elevation-3",
|
|
1443
|
+
"elevation-4",
|
|
1444
|
+
"elevation-5",
|
|
1445
|
+
"always/white",
|
|
1446
|
+
"always/black",
|
|
1447
|
+
"always/transparent",
|
|
1448
|
+
"always/current",
|
|
1449
|
+
"always/brand",
|
|
1450
|
+
"always/accent"
|
|
1451
|
+
]],
|
|
1421
1452
|
["columnGap", ["2.5"]],
|
|
1422
1453
|
["spacing", ["1"]],
|
|
1423
|
-
["backgroundColor", ["secondary"]],
|
|
1424
1454
|
["borderRadius", ["full"]]
|
|
1425
1455
|
],
|
|
1426
1456
|
Icon: [["color", [
|
package/dist/uds/package.cjs
CHANGED
|
@@ -240,7 +240,7 @@ var package_default = {
|
|
|
240
240
|
"@optimize-lodash/transform": "^3.0.6",
|
|
241
241
|
"@types/bun": "1.3.3",
|
|
242
242
|
"@types/lodash": "^4.17.24",
|
|
243
|
-
"@types/react": "
|
|
243
|
+
"@types/react": "~19.2.10",
|
|
244
244
|
"@types/react-dom": "^19.2.3",
|
|
245
245
|
"@types/semver": "^7.7.1",
|
|
246
246
|
"@yahoo/uds-automated-config": "workspace:*",
|
package/dist/uds/package.js
CHANGED
|
@@ -239,7 +239,7 @@ var package_default = {
|
|
|
239
239
|
"@optimize-lodash/transform": "^3.0.6",
|
|
240
240
|
"@types/bun": "1.3.3",
|
|
241
241
|
"@types/lodash": "^4.17.24",
|
|
242
|
-
"@types/react": "
|
|
242
|
+
"@types/react": "~19.2.10",
|
|
243
243
|
"@types/react-dom": "^19.2.3",
|
|
244
244
|
"@types/semver": "^7.7.1",
|
|
245
245
|
"@yahoo/uds-automated-config": "workspace:*",
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
3
|
+
const require_index = require('../fixtures/dist/index.cjs');
|
|
4
|
+
|
|
5
|
+
//#region src/utils/isElevationAlias.ts
|
|
6
|
+
const isElevationAlias = (color) => {
|
|
7
|
+
if (!color) return false;
|
|
8
|
+
return require_index.elevationAliases.some((alias) => alias === color);
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
//#endregion
|
|
12
|
+
exports.isElevationAlias = isElevationAlias;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
|
|
2
|
+
import { elevationAliases } from "../fixtures/dist/index.js";
|
|
3
|
+
|
|
4
|
+
//#region src/utils/isElevationAlias.ts
|
|
5
|
+
const isElevationAlias = (color) => {
|
|
6
|
+
if (!color) return false;
|
|
7
|
+
return elevationAliases.some((alias) => alias === color);
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
//#endregion
|
|
11
|
+
export { isElevationAlias };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yahoo/uds",
|
|
3
3
|
"description": "Yahoo Universal System",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.110.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
7
7
|
"module": "./dist/index.js",
|
|
@@ -242,7 +242,7 @@
|
|
|
242
242
|
"@optimize-lodash/transform": "^3.0.6",
|
|
243
243
|
"@types/bun": "1.3.3",
|
|
244
244
|
"@types/lodash": "^4.17.24",
|
|
245
|
-
"@types/react": "
|
|
245
|
+
"@types/react": "~19.2.10",
|
|
246
246
|
"@types/react-dom": "^19.2.3",
|
|
247
247
|
"@types/semver": "^7.7.1",
|
|
248
248
|
"@yahoo/uds-automated-config": "workspace:*",
|