@knapsack/design-token-utils 4.71.4--canary.5044.f48b3b1.0 → 4.71.4--canary.5045.9386b6c.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/converters/spec-src-to-token-data/convert-src-to-token-data.d.ts +5 -1
- package/dist/converters/spec-src-to-token-data/convert-src-to-token-data.d.ts.map +1 -1
- package/dist/converters/spec-src-to-token-data/convert-src-to-token-data.js +55 -16
- package/dist/converters/spec-src-to-token-data/convert-src-to-token-data.js.map +1 -1
- package/package.json +9 -9
@@ -38,10 +38,14 @@ export declare const groupHasChild: ({ groupId, childId }: GroupIdChildId) => bo
|
|
38
38
|
/**
|
39
39
|
* Get immediate children of a group
|
40
40
|
* ie `color.pink5` => `color.pink5.100`, `color.pink5.200`
|
41
|
+
*
|
42
|
+
* NOTE! This REMOVES items from allIds as they are found so subsequent searches
|
43
|
+
* are faster. Do not use this if you need to find the same childrenIds more than
|
44
|
+
* once.
|
41
45
|
*/
|
42
46
|
type GroupIdAllIds = {
|
43
47
|
groupId: string;
|
44
|
-
allIds: string
|
48
|
+
allIds: Set<string>;
|
45
49
|
};
|
46
50
|
export declare const getChildrenIds: ({ groupId, allIds }: GroupIdAllIds) => string[];
|
47
51
|
/**
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"convert-src-to-token-data.d.ts","sourceRoot":"","sources":["../../../src/converters/spec-src-to-token-data/convert-src-to-token-data.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"convert-src-to-token-data.d.ts","sourceRoot":"","sources":["../../../src/converters/spec-src-to-token-data/convert-src-to-token-data.ts"],"names":[],"mappings":"AACA,OAAO,EACL,aAAa,EACb,SAAS,EACT,cAAc,EAKd,iBAAiB,EAOjB,mBAAmB,EAEpB,MAAM,iBAAiB,CAAC;AAWzB;;;GAGG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;IACtC,MAAM,EAAE,SAAS,EAAE,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC;IAC3C,MAAM,EAAE,cAAc,EAAE,CAAC;IACzB;;OAEG;IACH,YAAY,EAAE,iBAAiB,CAAC,QAAQ,CAAC,CAAC;IAC1C,WAAW,EAAE,mBAAmB,EAAE,CAAC;IACnC,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,mBAAmB,CAAC,CAAC;CACtD,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,WAAW,OAAQ,MAAM,WAAyC,CAAC;AAEhF;;;GAGG;AACH,eAAO,MAAM,QAAQ,OAAQ,MAAM,WAAyB,CAAC;AAE7D;;;;GAIG;AACH,KAAK,cAAc,GAAG;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AACF,eAAO,MAAM,aAAa,yBAA0B,cAAc,YAWjE,CAAC;AAEF;;;;;;;GAOG;AACH,KAAK,aAAa,GAAG;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;CACrB,CAAC;AACF,eAAO,MAAM,cAAc,wBAAyB,aAAa,aAsBhE,CAAC;AAwBF;;;GAGG;AACH,eAAO,MAAM,kBAAkB,MAAO,MAAM,KAAK,MAAM,WAiBtD,CAAC;AAiDF;;;GAGG;AACH,eAAO,MAAM,uBAAuB,EAAE,CAAC,GAAG,EAAE,aAAa,KAAK,gBAgmB3D,CAAC"}
|
@@ -1,3 +1,4 @@
|
|
1
|
+
// import { performance } from 'node:perf_hooks';
|
1
2
|
import { isTokenSrc, isTokenGroup, isTokenSrcExtensions, getPrimitiveValue, isTokenValueShadow, isTokenValueBorder, hasTokenReferences, isTokenValueTransition, isTokenTypeComposite, } from '@knapsack/types';
|
2
3
|
import { isObject, flow, removeUndefinedProps } from '@knapsack/utils';
|
3
4
|
import loMapValues from 'lodash/mapValues.js';
|
@@ -14,11 +15,12 @@ export const getParentId = (id) => id.split('.').slice(0, -1).join('.');
|
|
14
15
|
*/
|
15
16
|
export const getLevel = (id) => id.split('.').length;
|
16
17
|
export const groupHasChild = ({ groupId, childId }) => {
|
18
|
+
const groupIdLength = groupId.length;
|
17
19
|
// In case empty string is sent in
|
18
|
-
if (!
|
20
|
+
if (!groupIdLength)
|
19
21
|
return false;
|
20
22
|
// Groups should never be longer or as long as their child strings
|
21
|
-
if (
|
23
|
+
if (groupIdLength >= childId.length)
|
22
24
|
return false;
|
23
25
|
// Use string methods for pure speed. The '.' added here ensures color.pink
|
24
26
|
// does not hit for e.g. color.pink5. `indexOf` is faster than `startsWith` by
|
@@ -26,12 +28,21 @@ export const groupHasChild = ({ groupId, childId }) => {
|
|
26
28
|
return childId.indexOf(`${groupId}.`) === 0;
|
27
29
|
};
|
28
30
|
export const getChildrenIds = ({ groupId, allIds }) => {
|
31
|
+
// console.log('allIds count: ', allIds.size);
|
29
32
|
const level = getLevel(groupId);
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
//
|
34
|
-
|
33
|
+
const childrenIds = [];
|
34
|
+
allIds.forEach((childId) => {
|
35
|
+
if (
|
36
|
+
// Only children of this group
|
37
|
+
groupHasChild({ groupId, childId }) &&
|
38
|
+
// And only the FIRST level of children (no grandchildren etc)
|
39
|
+
getLevel(childId) === level + 1) {
|
40
|
+
childrenIds.push(childId);
|
41
|
+
// REMOVE ITEM FROM SET SO SUBSEQUENT LOOKUPS ARE FASTER
|
42
|
+
allIds.delete(childId);
|
43
|
+
}
|
44
|
+
});
|
45
|
+
return childrenIds;
|
35
46
|
};
|
36
47
|
/**
|
37
48
|
* Simple test if any token Id is more than one level deep
|
@@ -107,6 +118,7 @@ function buildGroupOrder({ childrenIds, groupId, order, }) {
|
|
107
118
|
* memoized version - which is actually used in runtime - is created and exported below.
|
108
119
|
*/
|
109
120
|
export const convertTokenGroupToData = flow(function flattenObj(obj) {
|
121
|
+
// const start = performance.now();
|
110
122
|
if (!isObject(obj)) {
|
111
123
|
throw new Error('Expected an object');
|
112
124
|
}
|
@@ -115,7 +127,9 @@ export const convertTokenGroupToData = flow(function flattenObj(obj) {
|
|
115
127
|
throw new Error(errorMsg);
|
116
128
|
if (!data)
|
117
129
|
throw new Error('Expected data');
|
118
|
-
|
130
|
+
const flattenedData = flatten(data);
|
131
|
+
// console.log('flattenObj time:', performance.now() - start);
|
132
|
+
return flattenedData;
|
119
133
|
}, function extractGlobalConfigFromTopExtension(flattenedObj) {
|
120
134
|
var _a, _b, _c;
|
121
135
|
return {
|
@@ -125,6 +139,7 @@ export const convertTokenGroupToData = flow(function flattenObj(obj) {
|
|
125
139
|
: {},
|
126
140
|
};
|
127
141
|
}, function parseIntoTokensAndGroup({ flattenedObj, globalConfig }) {
|
142
|
+
// const start = performance.now();
|
128
143
|
const src = Object.entries(flattenedObj).reduce((acc, [id, item]) => {
|
129
144
|
if (
|
130
145
|
// no group name nor token name can start with `$`
|
@@ -145,11 +160,13 @@ export const convertTokenGroupToData = flow(function flattenObj(obj) {
|
|
145
160
|
tokens: {},
|
146
161
|
groups: {},
|
147
162
|
});
|
163
|
+
// console.log('parseIntoTokensAndGroup time: ', performance.now() - start);
|
148
164
|
return {
|
149
165
|
src,
|
150
166
|
globalConfig,
|
151
167
|
};
|
152
168
|
}, function createTokenBuilder({ globalConfig, src }) {
|
169
|
+
// const start = performance.now();
|
153
170
|
function processSingleRef(chunk) {
|
154
171
|
const { id } = chunk;
|
155
172
|
// disabling b/c both this function and `buildToken` depend on each other
|
@@ -312,23 +329,34 @@ export const convertTokenGroupToData = flow(function flattenObj(obj) {
|
|
312
329
|
referencedTokenId,
|
313
330
|
});
|
314
331
|
}
|
332
|
+
// console.log('createTokenBuilder time: ', performance.now() - start);
|
315
333
|
return {
|
316
334
|
globalConfig,
|
317
335
|
src,
|
318
336
|
buildToken,
|
319
337
|
};
|
320
338
|
}, function parseTokens({ buildToken, globalConfig, src }) {
|
339
|
+
// const start = performance.now();
|
340
|
+
const tokensById = loMapValues(src.tokens, (value, id) => buildToken(id));
|
341
|
+
// console.log('parseTokens time: ', performance.now() - start);
|
321
342
|
return {
|
322
343
|
globalConfig,
|
323
344
|
src,
|
324
|
-
tokensById
|
345
|
+
tokensById,
|
325
346
|
};
|
326
347
|
}, function parseGroups({ src, globalConfig, tokensById }) {
|
348
|
+
// const start = performance.now();
|
327
349
|
var _a, _b;
|
328
|
-
const
|
329
|
-
const
|
330
|
-
const topGroupIds =
|
331
|
-
|
350
|
+
const groupIds = new Set(Object.keys(src.groups));
|
351
|
+
const tokenIds = new Set(Object.keys(src.tokens));
|
352
|
+
const topGroupIds = [];
|
353
|
+
groupIds.forEach((id) => !id.includes('.') && topGroupIds.push(id));
|
354
|
+
const topTokenIds = [];
|
355
|
+
tokenIds.forEach((id) => !id.includes('.') && topTokenIds.push(id));
|
356
|
+
// console.log({ tokenIds });
|
357
|
+
// console.log({ groupIds });
|
358
|
+
// console.log(src.groups);
|
359
|
+
// const startGroupsById = performance.now();
|
332
360
|
const groupsById = loMapValues(src.groups, (groupSrc, groupId) => {
|
333
361
|
var _a, _b, _c, _d;
|
334
362
|
const groupConfig = (_b = (_a = groupSrc.$extensions) === null || _a === void 0 ? void 0 : _a['cloud.knapsack']) === null || _b === void 0 ? void 0 : _b.group;
|
@@ -360,7 +388,8 @@ export const convertTokenGroupToData = flow(function flattenObj(obj) {
|
|
360
388
|
},
|
361
389
|
};
|
362
390
|
});
|
363
|
-
|
391
|
+
// console.log('groupsById time: ', performance.now() - startGroupsById);
|
392
|
+
const returnObj = {
|
364
393
|
groupsById,
|
365
394
|
tokensById,
|
366
395
|
globalConfig: {
|
@@ -381,7 +410,10 @@ export const convertTokenGroupToData = flow(function flattenObj(obj) {
|
|
381
410
|
},
|
382
411
|
},
|
383
412
|
};
|
413
|
+
// console.log('parseGroups time: ', performance.now() - start);
|
414
|
+
return returnObj;
|
384
415
|
}, function parseCollections(args) {
|
416
|
+
// const start = performance.now();
|
385
417
|
const { globalConfig, groupsById, tokensById } = args;
|
386
418
|
const { collectionsParentKey } = globalConfig;
|
387
419
|
if (!collectionsParentKey || !groupsById[collectionsParentKey]) {
|
@@ -514,15 +546,21 @@ export const convertTokenGroupToData = flow(function flattenObj(obj) {
|
|
514
546
|
};
|
515
547
|
return byId;
|
516
548
|
}, {});
|
517
|
-
|
549
|
+
const returnObject = { ...args, collectionsById };
|
550
|
+
// console.log('parseCollections time: ', performance.now() - start);
|
551
|
+
return returnObject;
|
518
552
|
}, function cleanUp({ tokensById, groupsById, globalConfig, collectionsById, }) {
|
519
|
-
|
553
|
+
// const start = performance.now();
|
554
|
+
const returnObj = {
|
520
555
|
tokensById: removeUndefinedProps(tokensById),
|
521
556
|
groupsById: removeUndefinedProps(groupsById),
|
522
557
|
collectionsById: removeUndefinedProps(collectionsById),
|
523
558
|
globalConfig,
|
524
559
|
};
|
560
|
+
// console.log('cleanUp time: ', performance.now() - start);
|
561
|
+
return returnObj;
|
525
562
|
}, function order({ tokensById, groupsById, globalConfig, collectionsById }) {
|
563
|
+
// const start = performance.now();
|
526
564
|
var _a, _b, _c, _d;
|
527
565
|
const tokens = [];
|
528
566
|
const groups = [];
|
@@ -547,6 +585,7 @@ export const convertTokenGroupToData = flow(function flattenObj(obj) {
|
|
547
585
|
// kick off the recursive process using the global config's order
|
548
586
|
// of top level groups
|
549
587
|
(_d = (_c = globalConfig.order) === null || _c === void 0 ? void 0 : _c.groupIds) === null || _d === void 0 ? void 0 : _d.forEach(processGroupOrder);
|
588
|
+
// console.log('order time: ', performance.now() - start);
|
550
589
|
return {
|
551
590
|
tokensById,
|
552
591
|
tokens,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"convert-src-to-token-data.js","sourceRoot":"","sources":["../../../src/converters/spec-src-to-token-data/convert-src-to-token-data.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,UAAU,EACV,YAAY,EACZ,oBAAoB,EAEpB,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,sBAAsB,EACtB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U,CAAC,OAAO,CAAC,CAAC;QAClC,IAAI,CAAC,KAAK;YAAE,MAAM,IAAI,KAAK,CAAC,UAAU,OAAO,aAAa,CAAC,CAAC;QAC5D,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IACrB,CAAC,CAAC;IAEF,MAAM,iBAAiB,GAAG,CAAC,EAAU,EAAQ,EAAE;QAC7C,MAAM,KAAK,GAAG,UAAU,CAAC,EAAE,CAAC,CAAC;QAC7B,IAAI,CAAC,KAAK;YAAE,MAAM,IAAI,KAAK,CAAC,UAAU,EAAE,aAAa,CAAC,CAAC;QACvD,MAAM,EAAE,QAAQ,GAAG,EAAE,EAAE,QAAQ,GAAG,EAAE,EAAE,GAAG,KAAK,CAAC,QAAQ,CAAC;QACxD,QAAQ,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC;QACpC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACnB,QAAQ,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC;IACtC,CAAC,CAAC;IAEF,6DAA6D;IAC7D,MAAA,MAAA,YAAY,CAAC,KAAK,0CAAE,QAAQ,0CAAE,OAAO,CAAC,iBAAiB,CAAC,CAAC;IACzD,iEAAiE;IACjE,sBAAsB;IACtB,MAAA,MAAA,YAAY,CAAC,KAAK,0CAAE,QAAQ,0CAAE,OAAO,CAAC,iBAAiB,CAAC,CAAC;IACzD,OAAO;QACL,UAAU;QACV,MAAM;QACN,UAAU;QACV,MAAM;QACN,YAAY;QACZ,WAAW;QACX,eAAe;KAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
|
1
|
+
{"version":3,"file":"convert-src-to-token-data.js","sourceRoot":"","sources":["../../../src/converters/spec-src-to-token-data/convert-src-to-token-data.ts"],"names":[],"mappings":"AAAA,iDAAiD;AACjD,OAAO,EAKL,UAAU,EACV,YAAY,EACZ,oBAAoB,EAEpB,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,sBAA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IAAI,KAAK,CAAC,UAAU,EAAE,aAAa,CAAC,CAAC;QACvD,MAAM,EAAE,QAAQ,GAAG,EAAE,EAAE,QAAQ,GAAG,EAAE,EAAE,GAAG,KAAK,CAAC,QAAQ,CAAC;QACxD,QAAQ,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC;QACpC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACnB,QAAQ,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC;IACtC,CAAC,CAAC;IAEF,6DAA6D;IAC7D,MAAA,MAAA,YAAY,CAAC,KAAK,0CAAE,QAAQ,0CAAE,OAAO,CAAC,iBAAiB,CAAC,CAAC;IACzD,iEAAiE;IACjE,sBAAsB;IACtB,MAAA,MAAA,YAAY,CAAC,KAAK,0CAAE,QAAQ,0CAAE,OAAO,CAAC,iBAAiB,CAAC,CAAC;IAEzD,0DAA0D;IAE1D,OAAO;QACL,UAAU;QACV,MAAM;QACN,UAAU;QACV,MAAM;QACN,YAAY;QACZ,WAAW;QACX,eAAe;KAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@knapsack/design-token-utils",
|
3
3
|
"description": "",
|
4
|
-
"version": "4.71.4--canary.
|
4
|
+
"version": "4.71.4--canary.5045.9386b6c.0",
|
5
5
|
"type": "module",
|
6
6
|
"exports": {
|
7
7
|
".": {
|
@@ -26,19 +26,19 @@
|
|
26
26
|
"test": "time npm run ava"
|
27
27
|
},
|
28
28
|
"dependencies": {
|
29
|
-
"@knapsack/color-utils": "4.71.4--canary.
|
30
|
-
"@knapsack/file-utils": "4.71.4--canary.
|
31
|
-
"@knapsack/types": "4.71.4--canary.
|
32
|
-
"@knapsack/utils": "4.71.4--canary.
|
29
|
+
"@knapsack/color-utils": "4.71.4--canary.5045.9386b6c.0",
|
30
|
+
"@knapsack/file-utils": "4.71.4--canary.5045.9386b6c.0",
|
31
|
+
"@knapsack/types": "4.71.4--canary.5045.9386b6c.0",
|
32
|
+
"@knapsack/utils": "4.71.4--canary.5045.9386b6c.0",
|
33
33
|
"flat": "^5.0.2",
|
34
34
|
"immer": "^10.1.1",
|
35
35
|
"lodash": "^4.17.21",
|
36
36
|
"superstruct": "^0.16.7"
|
37
37
|
},
|
38
38
|
"devDependencies": {
|
39
|
-
"@knapsack/eslint-config-starter": "4.71.4--canary.
|
40
|
-
"@knapsack/test-ava": "4.71.4--canary.
|
41
|
-
"@knapsack/typescript-config-starter": "4.71.4--canary.
|
39
|
+
"@knapsack/eslint-config-starter": "4.71.4--canary.5045.9386b6c.0",
|
40
|
+
"@knapsack/test-ava": "4.71.4--canary.5045.9386b6c.0",
|
41
|
+
"@knapsack/typescript-config-starter": "4.71.4--canary.5045.9386b6c.0",
|
42
42
|
"@types/flat": "^5.0.5",
|
43
43
|
"@types/fs-extra": "^11.0.4",
|
44
44
|
"@types/lodash": "^4.17.12",
|
@@ -61,5 +61,5 @@
|
|
61
61
|
"directory": "libs/design-token-utils",
|
62
62
|
"type": "git"
|
63
63
|
},
|
64
|
-
"gitHead": "
|
64
|
+
"gitHead": "9386b6c8f047d910e43a9b9ae0734b679bc994ec"
|
65
65
|
}
|