@liner-fe/design-token-rn 1.0.0 → 1.0.1
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/lib/generated/vars.d.ts +111 -0
- package/package.json +4 -3
- package/src/generated/vars.ts +1 -0
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
export declare const vars: {
|
|
2
|
+
radius: {
|
|
3
|
+
xxs: string;
|
|
4
|
+
xs: string;
|
|
5
|
+
s: string;
|
|
6
|
+
m: string;
|
|
7
|
+
l: string;
|
|
8
|
+
xl: string;
|
|
9
|
+
xxl: string;
|
|
10
|
+
};
|
|
11
|
+
opacity: {
|
|
12
|
+
"0": string;
|
|
13
|
+
"1": string;
|
|
14
|
+
"4": string;
|
|
15
|
+
"8": string;
|
|
16
|
+
"12": string;
|
|
17
|
+
"16": string;
|
|
18
|
+
"20": string;
|
|
19
|
+
"24": string;
|
|
20
|
+
"28": string;
|
|
21
|
+
"32": string;
|
|
22
|
+
"36": string;
|
|
23
|
+
"40": string;
|
|
24
|
+
"44": string;
|
|
25
|
+
"48": string;
|
|
26
|
+
"50": string;
|
|
27
|
+
"56": string;
|
|
28
|
+
"64": string;
|
|
29
|
+
"72": string;
|
|
30
|
+
"80": string;
|
|
31
|
+
};
|
|
32
|
+
padding: {
|
|
33
|
+
"component-50": string;
|
|
34
|
+
"component-100": string;
|
|
35
|
+
"component-150": string;
|
|
36
|
+
"component-200": string;
|
|
37
|
+
"component-300": string;
|
|
38
|
+
"component-400": string;
|
|
39
|
+
"component-500": string;
|
|
40
|
+
"component-600": string;
|
|
41
|
+
"component-700": string;
|
|
42
|
+
"component-800": string;
|
|
43
|
+
"component-900": string;
|
|
44
|
+
"section-50": string;
|
|
45
|
+
"section-100": string;
|
|
46
|
+
"section-200": string;
|
|
47
|
+
"section-300": string;
|
|
48
|
+
"section-400": string;
|
|
49
|
+
"section-500": string;
|
|
50
|
+
"section-600": string;
|
|
51
|
+
"section-700": string;
|
|
52
|
+
"section-800": string;
|
|
53
|
+
"section-900": string;
|
|
54
|
+
};
|
|
55
|
+
size: {
|
|
56
|
+
"0": string;
|
|
57
|
+
"1": string;
|
|
58
|
+
"2": string;
|
|
59
|
+
"3": string;
|
|
60
|
+
"4": string;
|
|
61
|
+
"6": string;
|
|
62
|
+
"8": string;
|
|
63
|
+
"10": string;
|
|
64
|
+
"12": string;
|
|
65
|
+
"14": string;
|
|
66
|
+
"16": string;
|
|
67
|
+
"18": string;
|
|
68
|
+
"20": string;
|
|
69
|
+
"24": string;
|
|
70
|
+
"32": string;
|
|
71
|
+
"40": string;
|
|
72
|
+
"48": string;
|
|
73
|
+
"56": string;
|
|
74
|
+
"64": string;
|
|
75
|
+
"80": string;
|
|
76
|
+
"100": string;
|
|
77
|
+
"120": string;
|
|
78
|
+
"140": string;
|
|
79
|
+
"160": string;
|
|
80
|
+
"180": string;
|
|
81
|
+
"200": string;
|
|
82
|
+
minus6: string;
|
|
83
|
+
minus4: string;
|
|
84
|
+
minus2: string;
|
|
85
|
+
};
|
|
86
|
+
gap: {
|
|
87
|
+
"positive-50": string;
|
|
88
|
+
"positive-100": string;
|
|
89
|
+
"positive-150": string;
|
|
90
|
+
"positive-200": string;
|
|
91
|
+
"positive-300": string;
|
|
92
|
+
"positive-400": string;
|
|
93
|
+
"positive-500": string;
|
|
94
|
+
"positive-600": string;
|
|
95
|
+
"positive-700": string;
|
|
96
|
+
"positive-800": string;
|
|
97
|
+
"positive-900": string;
|
|
98
|
+
};
|
|
99
|
+
shadow: {
|
|
100
|
+
normal: string[];
|
|
101
|
+
strong: string[];
|
|
102
|
+
heavy: string[];
|
|
103
|
+
};
|
|
104
|
+
iconSize: {
|
|
105
|
+
xs: string;
|
|
106
|
+
s: string;
|
|
107
|
+
m: string;
|
|
108
|
+
l: string;
|
|
109
|
+
xl: string;
|
|
110
|
+
};
|
|
111
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@liner-fe/design-token-rn",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"devDependencies": {
|
|
5
5
|
"@eslint/js": "^9.22.0",
|
|
6
6
|
"@internal/design-token-primitive": "workspace:^",
|
|
@@ -22,9 +22,10 @@
|
|
|
22
22
|
"recoil": "^0.5.2"
|
|
23
23
|
},
|
|
24
24
|
"scripts": {
|
|
25
|
-
"build": "node build.mjs && tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json",
|
|
25
|
+
"build": "yarn create-style && node build.mjs && tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json",
|
|
26
26
|
"build:package": "yarn build",
|
|
27
|
-
"prepack": "yarn build"
|
|
27
|
+
"prepack": "yarn build",
|
|
28
|
+
"create-style": "ts-node ./scripts/index.ts"
|
|
28
29
|
},
|
|
29
30
|
"publishConfig": {
|
|
30
31
|
"access": "public",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const vars = {"radius":{"xxs":"2px","xs":"4px","s":"6px","m":"8px","l":"10px","xl":"12px","xxl":"200px"},"opacity":{"0":"0%","1":"1%","4":"4%","8":"8%","12":"12%","16":"16%","20":"20%","24":"24%","28":"28%","32":"32%","36":"36%","40":"40%","44":"44%","48":"48%","50":"50%","56":"56%","64":"64%","72":"72%","80":"80%"},"padding":{"component-50":"2px","component-100":"4px","component-150":"6px","component-200":"8px","component-300":"12px","component-400":"16px","component-500":"20px","component-600":"24px","component-700":"32px","component-800":"40px","component-900":"48px","section-50":"20px","section-100":"24px","section-200":"32px","section-300":"40px","section-400":"48px","section-500":"56px","section-600":"64px","section-700":"80px","section-800":"100px","section-900":"120px"},"size":{"0":"0px","1":"1px","2":"2px","3":"3px","4":"4px","6":"6px","8":"8px","10":"10px","12":"12px","14":"14px","16":"16px","18":"18px","20":"20px","24":"24px","32":"32px","40":"40px","48":"48px","56":"56px","64":"64px","80":"80px","100":"100px","120":"120px","140":"140px","160":"160px","180":"180px","200":"200px","minus6":"-6px","minus4":"-4px","minus2":"-2px"},"gap":{"positive-50":"2px","positive-100":"4px","positive-150":"6px","positive-200":"8px","positive-300":"12px","positive-400":"16px","positive-500":"20px","positive-600":"24px","positive-700":"32px","positive-800":"40px","positive-900":"48px"},"shadow":{"normal":["0px 2px 12px 0px rgba(0, 0, 0, 0.08), 0px 1px 8px 0px rgba(0, 0, 0, 0.06), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)","0px 2px 12px 0px rgba(0, 0, 0, 0.24), 0px 1px 8px 0px rgba(0, 0, 0, 0.2), 0px 0px 1px 0px rgba(0, 0, 0, 0.2)"],"strong":["0px 6px 16px 0px rgba(0, 0, 0, 0.12), 0px 4px 12px 0px rgba(0, 0, 0, 0.08), 0px 0px 8px 0px rgba(0, 0, 0, 0.08)","0px 6px 16px 0px rgba(0, 0, 0, 0.36), 0px 4px 12px 0px rgba(0, 0, 0, 0.24), 0px 0px 8px 0px rgba(0, 0, 0, 0.24)"],"heavy":["0px 16px 20px 0px rgba(0, 0, 0, 0.12), 0px 8px 16px 0px rgba(0, 0, 0, 0.08), 0px 0px 8px 0px rgba(0, 0, 0, 0.08)","0px 16px 20px 0px rgba(0, 0, 0, 0.36), 0px 8px 16px 0px rgba(0, 0, 0, 0.24), 0px 0px 8px 0px rgba(0, 0, 0, 0.24)"]},"iconSize":{"xs":"16px","s":"20px","m":"24px","l":"32px","xl":"40px"}}
|