@knapsack/design-token-utils 4.69.11--canary.4739.aa827e9.0 → 4.69.11--canary.4820.6c04f2a.0

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ # v4.69.10 (Wed Sep 18 2024)
2
+
3
+ #### 🏠 Internal
4
+
5
+ - fix(deps): update dependency immer to ^10.1.1 [#4786](https://github.com/knapsack-labs/app-monorepo/pull/4786) ([@renovate[bot]](https://github.com/renovate[bot]))
6
+
7
+ #### Authors: 1
8
+
9
+ - [@renovate[bot]](https://github.com/renovate[bot])
10
+
11
+ ---
12
+
1
13
  # v4.69.9 (Sat Sep 14 2024)
2
14
 
3
15
  #### 🏠 Internal
@@ -1,5 +1,6 @@
1
1
  import { TokenData } from '@knapsack/types';
2
- export declare const cssVarName: (name: string) => string;
2
+ import { cssVarName } from '@knapsack/utils';
3
+ export { cssVarName };
3
4
  /**
4
5
  * How to resolve the actual value of a token.
5
6
  * @param token - Processed TokenData object
@@ -1 +1 @@
1
- {"version":3,"file":"web-asset-converters.d.ts","sourceRoot":"","sources":["../../../../src/converters/asset-converters/web/web-asset-converters.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AA2B5C,eAAO,MAAM,UAAU,SAAU,MAAM,WAA8B,CAAC;AAYtE;;;;;GAKG;AACH,wBAAgB,aAAa,CAC3B,KAAK,EAAE,SAAS,EAChB,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,MAAM,GAC9B,MAAM,GAAG,MAAM,GAAG,OAAO,CAqB3B;AAED;;GAEG;AACH,eAAO,MAAM,qBAAqB,eACpB,SAAS,EAAE,aACZ,OAAO,KACjB,MAYF,CAAC;AASF;;GAEG;AACH,eAAO,MAAM,sBAAsB,eAAgB,SAAS,EAAE,KAAG,MAQhE,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,yBAAyB,eAAgB,SAAS,EAAE,KAAG,MA+BnE,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,sBAAsB,eAAgB,SAAS,EAAE,KAAG,MAahE,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,sBAAsB,eAAgB,SAAS,EAAE,KAAG,MAShE,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,4BAA4B,eAAgB,SAAS,EAAE,WAQnE,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,oBAAoB,eACnB,SAAS,EAAE,KACtB;IACD,uCAAuC;IACvC,QAAQ,EAAE,MAAM,CAAC;IACjB,4CAA4C;IAC5C,SAAS,EAAE,MAAM,CAAC;CAuBnB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,qBAAqB,eAAgB,SAAS,EAAE,KAAG,MAQ/D,CAAC"}
1
+ {"version":3,"file":"web-asset-converters.d.ts","sourceRoot":"","sources":["../../../../src/converters/asset-converters/web/web-asset-converters.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAa,UAAU,EAAgB,MAAM,iBAAiB,CAAC;AAUtE,OAAO,EAAE,UAAU,EAAE,CAAC;AAqBtB;;;;;GAKG;AACH,wBAAgB,aAAa,CAC3B,KAAK,EAAE,SAAS,EAChB,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,MAAM,GAC9B,MAAM,GAAG,MAAM,GAAG,OAAO,CAqB3B;AAED;;GAEG;AACH,eAAO,MAAM,qBAAqB,eACpB,SAAS,EAAE,aACZ,OAAO,KACjB,MAYF,CAAC;AASF;;GAEG;AACH,eAAO,MAAM,sBAAsB,eAAgB,SAAS,EAAE,KAAG,MAQhE,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,yBAAyB,eAAgB,SAAS,EAAE,KAAG,MA+BnE,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,sBAAsB,eAAgB,SAAS,EAAE,KAAG,MAahE,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,sBAAsB,eAAgB,SAAS,EAAE,KAAG,MAShE,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,4BAA4B,eAAgB,SAAS,EAAE,WAQnE,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,oBAAoB,eACnB,SAAS,EAAE,KACtB;IACD,uCAAuC;IACvC,QAAQ,EAAE,MAAM,CAAC;IACjB,4CAA4C;IAC5C,SAAS,EAAE,MAAM,CAAC;CAuBnB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,qBAAqB,eAAgB,SAAS,EAAE,KAAG,MAQ/D,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import loSet from 'lodash/setWith.js';
2
- import { camelCase, kebabCase } from '@knapsack/utils';
2
+ import { camelCase, cssVarName, cssKebabCase } from '@knapsack/utils';
3
3
  import { formatBorderTokenValue, formatCubicBezierValue, formatShadowTokenValue, formatTransitionValue, sortTokenData, } from './web-asset-converter-utils.js';
4
+ export { cssVarName };
4
5
  /**
5
6
  * Replace anything between { and } characters, returns val W/O the brackets.
6
7
  * Ensure all processing uses the same logic to access { } values in strings.
@@ -9,14 +10,6 @@ import { formatBorderTokenValue, formatCubicBezierValue, formatShadowTokenValue,
9
10
  * val.replace(refRegex, (match, group) => scssVarName(group)
10
11
  */
11
12
  const refRegex = /{([^}]*)}/g;
12
- /**
13
- * Lower and split on dots, that's it. Do NOT split standalone strings on
14
- * numbers, caps, etc. Note that we split/join specifically to process each
15
- * segment of a token name, ie if `color.primary`, we process 'color' and 'primary'
16
- * individually
17
- */
18
- const cssKebabCase = (str) => str.split('.').map(kebabCase).join('-');
19
- export const cssVarName = (name) => `--${cssKebabCase(name)}`;
20
13
  /**
21
14
  * Ensure quotes are handled correctly in JS/JSON
22
15
  */
@@ -1 +1 @@
1
- {"version":3,"file":"web-asset-converters.js","sourceRoot":"","sources":["../../../../src/converters/asset-converters/web/web-asset-converters.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,mBAAmB,CAAC;AAEtC,OAAO,EAAE,SAAS,EAAE,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CAAC,CAAC;IAEH,MAAM,UAAU,GAAG,YAAY,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE;QAC5C,MAAM,IAAI,GAAG,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;QAC9B,MAAM,KAAK,GAAG,aAAa,CAAC,KAAK,CAAC,CAAC;QAEnC,OAAO,wBAAwB,IAAI,MAAM,UAAU,CAAC,KAAK,CAAC,GAAG,CAAC;IAChE,CAAC,CAAC,CAAC;IAEH,OAAO;QACL,QAAQ,EAAE,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;QACjC,SAAS,EAAE,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC;KACjC,CAAC;AACJ,CAAC,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,UAAuB,EAAU,EAAE;IACvE,MAAM,YAAY,GAAa,aAAa,CAAC,UAAU,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE;QACrE,MAAM,IAAI,GAAG,SAAS,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;QACjC,MAAM,KAAK,GAAG,aAAa,CAAC,KAAK,CAAC,CAAC;QACnC,OAAO,GAAG,IAAI,KAAK,UAAU,CAAC,KAAK,CAAC,GAAG,CAAC;IAC1C,CAAC,CAAC,CAAC;IAEH,OAAO,CAAC,oBAAoB,EAAE,GAAG,YAAY,EAAE,IAAI,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAClE,CAAC,CAAC"}
1
+ {"version":3,"file":"web-asset-converters.js","sourceRoot":"","sources":["../../../../src/converters/asset-converters/web/web-asset-converters.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,mBAAmB,CAAC;AAEtC,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAEtE,OAAO,EACL,sBAAsB,EACtB,sBAAsB,EACtB,sBAAsB,EACtB,qBAAqB,EACrB,a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IAAI,CAAC;QACjC,SAAS,EAAE,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC;KACjC,CAAC;AACJ,CAAC,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,UAAuB,EAAU,EAAE;IACvE,MAAM,YAAY,GAAa,aAAa,CAAC,UAAU,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE;QACrE,MAAM,IAAI,GAAG,SAAS,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;QACjC,MAAM,KAAK,GAAG,aAAa,CAAC,KAAK,CAAC,CAAC;QACnC,OAAO,GAAG,IAAI,KAAK,UAAU,CAAC,KAAK,CAAC,GAAG,CAAC;IAC1C,CAAC,CAAC,CAAC;IAEH,OAAO,CAAC,oBAAoB,EAAE,GAAG,YAAY,EAAE,IAAI,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAClE,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@knapsack/design-token-utils",
3
3
  "description": "",
4
- "version": "4.69.11--canary.4739.aa827e9.0",
4
+ "version": "4.69.11--canary.4820.6c04f2a.0",
5
5
  "type": "module",
6
6
  "exports": {
7
7
  ".": {
@@ -26,25 +26,24 @@
26
26
  "test": "time npm run ava"
27
27
  },
28
28
  "dependencies": {
29
- "@knapsack/color-utils": "4.69.11--canary.4739.aa827e9.0",
30
- "@knapsack/file-utils": "4.69.11--canary.4739.aa827e9.0",
31
- "@knapsack/types": "4.69.11--canary.4739.aa827e9.0",
32
- "@knapsack/utils": "4.69.11--canary.4739.aa827e9.0",
29
+ "@knapsack/color-utils": "4.69.11--canary.4820.6c04f2a.0",
30
+ "@knapsack/file-utils": "4.69.11--canary.4820.6c04f2a.0",
31
+ "@knapsack/types": "4.69.11--canary.4820.6c04f2a.0",
32
+ "@knapsack/utils": "4.69.11--canary.4820.6c04f2a.0",
33
33
  "flat": "^5.0.2",
34
- "immer": "^10.0.4",
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.69.11--canary.4739.aa827e9.0",
40
- "@knapsack/test-ava": "4.69.11--canary.4739.aa827e9.0",
41
- "@knapsack/typescript-config-starter": "4.69.11--canary.4739.aa827e9.0",
39
+ "@knapsack/eslint-config-starter": "4.69.11--canary.4820.6c04f2a.0",
40
+ "@knapsack/test-ava": "4.69.11--canary.4820.6c04f2a.0",
41
+ "@knapsack/typescript-config-starter": "4.69.11--canary.4820.6c04f2a.0",
42
42
  "@types/flat": "^5.0.5",
43
43
  "@types/fs-extra": "^11.0.4",
44
44
  "@types/lodash": "^4.17.5",
45
45
  "@types/node": "^20.16.5",
46
46
  "@types/prettier": "^2.7.3",
47
- "@types/sass": "^1.45.0",
48
47
  "ava": "^6.1.3",
49
48
  "eslint": "^8.57.0",
50
49
  "fs-extra": "^11.2.0",
@@ -62,5 +61,5 @@
62
61
  "directory": "libs/design-token-utils",
63
62
  "type": "git"
64
63
  },
65
- "gitHead": "aa827e9559e08182e2db91290388673b95bcdf38"
64
+ "gitHead": "6c04f2a066b6dfde853781a65b2c6e43a3a29f2f"
66
65
  }