@yahoo/uds 3.147.0-beta.1 → 3.148.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 +13 -13
- package/dist/cli/commands/sync.js +13 -13
- package/dist/css/dist/packages/fixtures/dist/index.cjs +14 -0
- package/dist/css/dist/packages/fixtures/dist/index.js +14 -0
- package/dist/fixtures/dist/index.cjs +8 -1
- package/dist/fixtures/dist/index.d.cts +1 -1
- package/dist/fixtures/dist/index.d.ts +1 -1
- package/dist/fixtures/dist/index.js +8 -1
- package/dist/styles/styler.d.cts +43 -43
- package/dist/styles/styler.d.ts +43 -43
- package/dist/tailwind-internal/dist/packages/fixtures/dist/index.cjs +14 -0
- package/dist/tailwind-internal/dist/packages/fixtures/dist/index.js +14 -0
- package/dist/tailwind-internal/dist/utils/getShadowStyles.d.cts +2 -2
- package/dist/tailwind-internal/dist/utils/getShadowStyles.d.ts +2 -2
- package/dist/uds/generated/componentData.cjs +1144 -1144
- package/dist/uds/generated/componentData.js +1144 -1144
- package/dist/utils/dist/serializeToJS.cjs +72 -0
- package/dist/utils/dist/serializeToJS.js +72 -0
- package/generated/componentData.json +1939 -1939
- package/package.json +1 -1
- package/dist/utils/dist/sortKeys.cjs +0 -21
- package/dist/utils/dist/sortKeys.js +0 -21
package/package.json
CHANGED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
|
|
2
|
-
//#region ../utils/dist/sortKeys.js
|
|
3
|
-
/*! © 2026 Yahoo, Inc. UDS Utils v0.0.0-development */
|
|
4
|
-
function sortKeys(unsortedObj) {
|
|
5
|
-
const sortedObj = {};
|
|
6
|
-
if (!unsortedObj || typeof unsortedObj !== "object") return unsortedObj;
|
|
7
|
-
const keys = Object.keys(unsortedObj).sort();
|
|
8
|
-
for (var index in keys) {
|
|
9
|
-
const key = keys[index];
|
|
10
|
-
const value = unsortedObj[key];
|
|
11
|
-
if (typeof value === "object") if (Array.isArray(value)) sortedObj[key] = value.map((item) => {
|
|
12
|
-
if (typeof item === "object") return sortKeys(item);
|
|
13
|
-
return item;
|
|
14
|
-
});
|
|
15
|
-
else sortedObj[key] = sortKeys(value);
|
|
16
|
-
else sortedObj[key] = value;
|
|
17
|
-
}
|
|
18
|
-
return sortedObj;
|
|
19
|
-
}
|
|
20
|
-
//#endregion
|
|
21
|
-
exports.sortKeys = sortKeys;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
|
|
2
|
-
//#region ../utils/dist/sortKeys.js
|
|
3
|
-
/*! © 2026 Yahoo, Inc. UDS Utils v0.0.0-development */
|
|
4
|
-
function sortKeys(unsortedObj) {
|
|
5
|
-
const sortedObj = {};
|
|
6
|
-
if (!unsortedObj || typeof unsortedObj !== "object") return unsortedObj;
|
|
7
|
-
const keys = Object.keys(unsortedObj).sort();
|
|
8
|
-
for (var index in keys) {
|
|
9
|
-
const key = keys[index];
|
|
10
|
-
const value = unsortedObj[key];
|
|
11
|
-
if (typeof value === "object") if (Array.isArray(value)) sortedObj[key] = value.map((item) => {
|
|
12
|
-
if (typeof item === "object") return sortKeys(item);
|
|
13
|
-
return item;
|
|
14
|
-
});
|
|
15
|
-
else sortedObj[key] = sortKeys(value);
|
|
16
|
-
else sortedObj[key] = value;
|
|
17
|
-
}
|
|
18
|
-
return sortedObj;
|
|
19
|
-
}
|
|
20
|
-
//#endregion
|
|
21
|
-
export { sortKeys };
|