@dialpad/dialtone-tokens 1.36.3 → 1.36.5
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/README.md +1 -1
- package/dist/css/tokens-base-dark.css +0 -5
- package/dist/css/tokens-base-light.css +0 -5
- package/dist/css/tokens-dp-dark.css +795 -805
- package/dist/css/tokens-dp-light.css +795 -805
- package/dist/css/tokens-expressive-dark.css +795 -805
- package/dist/css/tokens-expressive-light.css +795 -805
- package/dist/css/tokens-expressive-sm-dark.css +795 -805
- package/dist/css/tokens-expressive-sm-light.css +795 -805
- package/dist/css/tokens-tmo-dark.css +780 -790
- package/dist/css/tokens-tmo-light.css +780 -790
- package/dist/doc.json +7655 -7655
- package/dist/postcss/rem-to-px.cjs +1 -1
- package/dist/postcss/rem-to-px.js +7 -12
- package/dist/postcss/root-to-host.cjs +1 -0
- package/dist/postcss/root-to-host.js +12 -0
- package/dist/themes/chunks/{tokens-base-dark-D9QWQ06G.js → tokens-base-dark-DPDbA0Im.js} +1 -1
- package/dist/themes/chunks/{tokens-base-dark-BspLyPe6.js → tokens-base-dark-OGkvNn32.js} +1 -1
- package/dist/themes/chunks/{tokens-base-light-CCF-uj56.js → tokens-base-light-C0l67sjm.js} +1 -1
- package/dist/themes/chunks/{tokens-base-light-B2jKQq80.js → tokens-base-light-nNZ2WKLp.js} +2 -2
- package/dist/themes/config.cjs +1 -1
- package/dist/themes/config.js +9 -9
- package/dist/themes/dp-dark.cjs +1 -1
- package/dist/themes/dp-dark.js +2 -2
- package/dist/themes/dp-light.cjs +1 -1
- package/dist/themes/dp-light.js +2 -2
- package/dist/themes/expressive-dark.cjs +1 -1
- package/dist/themes/expressive-dark.js +3 -3
- package/dist/themes/expressive-light.cjs +1 -1
- package/dist/themes/expressive-light.js +3 -3
- package/dist/themes/expressive-sm-dark.cjs +1 -1
- package/dist/themes/expressive-sm-dark.js +3 -3
- package/dist/themes/expressive-sm-light.cjs +1 -1
- package/dist/themes/expressive-sm-light.js +3 -3
- package/dist/themes/tmo-dark.cjs +1 -1
- package/dist/themes/tmo-dark.js +3 -3
- package/dist/themes/tmo-light.cjs +1 -1
- package/dist/themes/tmo-light.js +3 -3
- package/dist/types/postcss/constants.d.cts +45 -0
- package/dist/types/postcss/constants.d.cts.map +1 -0
- package/dist/types/postcss/dialtone-tokens.d.cts +3 -0
- package/dist/types/postcss/dialtone-tokens.d.cts.map +1 -0
- package/dist/types/themes/config.d.ts +2 -0
- package/dist/{themes/types → types}/themes/config.d.ts.map +1 -1
- package/dist/{themes/types → types}/themes/dp-dark.d.ts.map +1 -1
- package/dist/{themes/types → types}/themes/dp-light.d.ts.map +1 -1
- package/dist/types/themes/expressive-dark.d.ts.map +1 -0
- package/dist/types/themes/expressive-light.d.ts.map +1 -0
- package/dist/types/themes/expressive-sm-dark.d.ts.map +1 -0
- package/dist/types/themes/expressive-sm-light.d.ts.map +1 -0
- package/dist/{themes/types → types}/themes/tmo-dark.d.ts.map +1 -1
- package/dist/{themes/types → types}/themes/tmo-light.d.ts.map +1 -1
- package/package.json +17 -7
- package/dist/themes/types/themes/config.d.ts +0 -2
- package/dist/themes/types/themes/expressive-dark.d.ts.map +0 -1
- package/dist/themes/types/themes/expressive-light.d.ts.map +0 -1
- package/dist/themes/types/themes/expressive-sm-dark.d.ts.map +0 -1
- package/dist/themes/types/themes/expressive-sm-light.d.ts.map +0 -1
- /package/dist/{themes/types → types}/themes/dp-dark.d.ts +0 -0
- /package/dist/{themes/types → types}/themes/dp-light.d.ts +0 -0
- /package/dist/{themes/types → types}/themes/expressive-dark.d.ts +0 -0
- /package/dist/{themes/types → types}/themes/expressive-light.d.ts +0 -0
- /package/dist/{themes/types → types}/themes/expressive-sm-dark.d.ts +0 -0
- /package/dist/{themes/types → types}/themes/expressive-sm-light.d.ts +0 -0
- /package/dist/{themes/types → types}/themes/tmo-dark.d.ts +0 -0
- /package/dist/{themes/types → types}/themes/tmo-light.d.ts +0 -0
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
export let HSLA_EXCLUDED_COLORS: string[];
|
|
2
|
+
export let IS_COLOR_REGEX: RegExp;
|
|
3
|
+
export let IS_THEME_COLOR_REGEX: RegExp;
|
|
4
|
+
export let IS_SHADOW_REGEX: RegExp;
|
|
5
|
+
export let IS_TYPOGRAPHY_REGEX: RegExp;
|
|
6
|
+
export namespace REGEX_OPTIONS {
|
|
7
|
+
let SHADOW_VARIABLES: string;
|
|
8
|
+
let TYPOGRAPHY_VARIABLES: string;
|
|
9
|
+
let TYPOGRAPHY_TYPE: string;
|
|
10
|
+
let TYPOGRAPHY_SIZES: string;
|
|
11
|
+
}
|
|
12
|
+
export let PLATFORM_FONT_SIZES: {
|
|
13
|
+
'100-mobile': string;
|
|
14
|
+
'200-mobile': string;
|
|
15
|
+
'300-mobile': string;
|
|
16
|
+
'400-mobile': string;
|
|
17
|
+
'500-mobile': string;
|
|
18
|
+
'100-tc8': string;
|
|
19
|
+
'200-tc8': string;
|
|
20
|
+
'300-tc8': string;
|
|
21
|
+
'400-tc8': string;
|
|
22
|
+
'500-tc8': string;
|
|
23
|
+
'100-tv': string;
|
|
24
|
+
'200-tv': string;
|
|
25
|
+
'300-tv': string;
|
|
26
|
+
'400-tv': string;
|
|
27
|
+
'500-tv': string;
|
|
28
|
+
};
|
|
29
|
+
export let Z_INDEX: {
|
|
30
|
+
hide: number;
|
|
31
|
+
base: number;
|
|
32
|
+
base1: number;
|
|
33
|
+
selected: number;
|
|
34
|
+
active: number;
|
|
35
|
+
navigation: number;
|
|
36
|
+
'navigation-fixed': number;
|
|
37
|
+
dropdown: number;
|
|
38
|
+
popover: number;
|
|
39
|
+
tooltip: number;
|
|
40
|
+
drawer: number;
|
|
41
|
+
modal: number;
|
|
42
|
+
'modal-element': number;
|
|
43
|
+
notification: number;
|
|
44
|
+
};
|
|
45
|
+
//# sourceMappingURL=constants.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.cts","sourceRoot":"","sources":["../../../postcss/constants.cjs"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dialtone-tokens.d.cts","sourceRoot":"","sources":["../../../postcss/dialtone-tokens.cjs"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../themes/config.js"],"names":[],"mappings":"AAMA,mEAQC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dp-dark.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"dp-dark.d.ts","sourceRoot":"","sources":["../../../themes/dp-dark.js"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dp-light.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"dp-light.d.ts","sourceRoot":"","sources":["../../../themes/dp-light.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"expressive-dark.d.ts","sourceRoot":"","sources":["../../../themes/expressive-dark.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"expressive-light.d.ts","sourceRoot":"","sources":["../../../themes/expressive-light.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"expressive-sm-dark.d.ts","sourceRoot":"","sources":["../../../themes/expressive-sm-dark.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"expressive-sm-light.d.ts","sourceRoot":"","sources":["../../../themes/expressive-sm-light.js"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tmo-dark.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"tmo-dark.d.ts","sourceRoot":"","sources":["../../../themes/tmo-dark.js"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tmo-light.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"tmo-light.d.ts","sourceRoot":"","sources":["../../../themes/tmo-light.js"],"names":[],"mappings":""}
|
package/package.json
CHANGED
|
@@ -1,11 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dialpad/dialtone-tokens",
|
|
3
|
-
"version": "1.36.
|
|
3
|
+
"version": "1.36.5",
|
|
4
4
|
"description": "Design tokens for Dialtone.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist"
|
|
8
8
|
],
|
|
9
|
+
"exports": {
|
|
10
|
+
"./*.css": "./dist/css/*.css",
|
|
11
|
+
"./*.less": "./dist/less/*.less",
|
|
12
|
+
"./postcss/*": {
|
|
13
|
+
"types": "./dist/types/postcss/*.d.ts",
|
|
14
|
+
"import": "./dist/postcss/*.js",
|
|
15
|
+
"require": "./dist/postcss/*.cjs"
|
|
16
|
+
},
|
|
17
|
+
"./themes/*": {
|
|
18
|
+
"types": "./dist/types/themes/*.d.ts",
|
|
19
|
+
"import": "./dist/themes/*.js",
|
|
20
|
+
"require": "./dist/themes/*.cjs"
|
|
21
|
+
},
|
|
22
|
+
"./*": "./*"
|
|
23
|
+
},
|
|
9
24
|
"license": "MIT",
|
|
10
25
|
"bugs": {
|
|
11
26
|
"url": "https://github.com/dialpad/dialtone-tokens/issues"
|
|
@@ -22,10 +37,7 @@
|
|
|
22
37
|
"postcss": "8.4.39",
|
|
23
38
|
"postcss-cli": "11.0.0",
|
|
24
39
|
"style-dictionary": "^4.1.0",
|
|
25
|
-
"
|
|
26
|
-
"tsx": "^4.19.0",
|
|
27
|
-
"typescript": "^5.1.6",
|
|
28
|
-
"vite-plugin-dts": "^4.0.3"
|
|
40
|
+
"tsx": "^4.19.0"
|
|
29
41
|
},
|
|
30
42
|
"contributors": [
|
|
31
43
|
{
|
|
@@ -55,8 +67,6 @@
|
|
|
55
67
|
}
|
|
56
68
|
],
|
|
57
69
|
"scripts": {
|
|
58
|
-
"build": "node ./build.js && vite build",
|
|
59
|
-
"publish:external-packages": "pnpm run publish:android-package && pnpm run publish:ios-package",
|
|
60
70
|
"publish:android-package": "cp ./AndroidManifest.xml dist/android && ./gradlew publishToMavenLocal -Pversion=$npm_package_version",
|
|
61
71
|
"publish:ios-package": "./build-ios.js",
|
|
62
72
|
"sync:tokens-to-figma": "tsx sync-scripts/sync_tokens_to_figma.ts",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"expressive-dark.d.ts","sourceRoot":"","sources":["../../../../themes/expressive-dark.js"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"expressive-light.d.ts","sourceRoot":"","sources":["../../../../themes/expressive-light.js"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"expressive-sm-dark.d.ts","sourceRoot":"","sources":["../../../../themes/expressive-sm-dark.js"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"expressive-sm-light.d.ts","sourceRoot":"","sources":["../../../../themes/expressive-sm-light.js"],"names":[],"mappings":""}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|