@maltjoy/themes 5.4.0 → 5.5.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/types/tokens-vars.d.ts +225 -0
- package/package.json +8 -3
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
declare namespace _default {
|
|
2
|
+
let transition: {
|
|
3
|
+
duration: {
|
|
4
|
+
short: string;
|
|
5
|
+
default: string;
|
|
6
|
+
long: string;
|
|
7
|
+
};
|
|
8
|
+
"timing-function": string;
|
|
9
|
+
};
|
|
10
|
+
namespace color {
|
|
11
|
+
let primary: {
|
|
12
|
+
10: string;
|
|
13
|
+
30: string;
|
|
14
|
+
50: string;
|
|
15
|
+
70: string;
|
|
16
|
+
90: string;
|
|
17
|
+
};
|
|
18
|
+
let secondary: {
|
|
19
|
+
10: string;
|
|
20
|
+
30: string;
|
|
21
|
+
50: string;
|
|
22
|
+
90: string;
|
|
23
|
+
};
|
|
24
|
+
let tertiary: {
|
|
25
|
+
10: string;
|
|
26
|
+
30: string;
|
|
27
|
+
50: string;
|
|
28
|
+
70: string;
|
|
29
|
+
};
|
|
30
|
+
let quaternary: {
|
|
31
|
+
10: string;
|
|
32
|
+
30: string;
|
|
33
|
+
50: string;
|
|
34
|
+
70: string;
|
|
35
|
+
100: string;
|
|
36
|
+
};
|
|
37
|
+
namespace brand {
|
|
38
|
+
let primary_1: {
|
|
39
|
+
10: string;
|
|
40
|
+
30: string;
|
|
41
|
+
50: string;
|
|
42
|
+
70: string;
|
|
43
|
+
};
|
|
44
|
+
export { primary_1 as primary };
|
|
45
|
+
let secondary_1: {
|
|
46
|
+
10: string;
|
|
47
|
+
30: string;
|
|
48
|
+
50: string;
|
|
49
|
+
70: string;
|
|
50
|
+
};
|
|
51
|
+
export { secondary_1 as secondary };
|
|
52
|
+
}
|
|
53
|
+
let neutral: {
|
|
54
|
+
10: string;
|
|
55
|
+
20: string;
|
|
56
|
+
30: string;
|
|
57
|
+
40: string;
|
|
58
|
+
50: string;
|
|
59
|
+
60: string;
|
|
60
|
+
70: string;
|
|
61
|
+
};
|
|
62
|
+
let success: {
|
|
63
|
+
10: string;
|
|
64
|
+
50: string;
|
|
65
|
+
90: string;
|
|
66
|
+
};
|
|
67
|
+
let information: {
|
|
68
|
+
10: string;
|
|
69
|
+
50: string;
|
|
70
|
+
90: string;
|
|
71
|
+
};
|
|
72
|
+
let warning: {
|
|
73
|
+
10: string;
|
|
74
|
+
50: string;
|
|
75
|
+
90: string;
|
|
76
|
+
};
|
|
77
|
+
let error: {
|
|
78
|
+
10: string;
|
|
79
|
+
50: string;
|
|
80
|
+
90: string;
|
|
81
|
+
};
|
|
82
|
+
namespace ai {
|
|
83
|
+
let primary_2: {
|
|
84
|
+
10: string;
|
|
85
|
+
30: string;
|
|
86
|
+
70: string;
|
|
87
|
+
100: string;
|
|
88
|
+
};
|
|
89
|
+
export { primary_2 as primary };
|
|
90
|
+
export let gradient: {
|
|
91
|
+
10: string;
|
|
92
|
+
30: string;
|
|
93
|
+
70: string;
|
|
94
|
+
100: string;
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
namespace text {
|
|
98
|
+
let body: string;
|
|
99
|
+
let title: string;
|
|
100
|
+
let disabled: string;
|
|
101
|
+
}
|
|
102
|
+
let state: {
|
|
103
|
+
"disabled-border": string;
|
|
104
|
+
"disabled-background": string;
|
|
105
|
+
focus: string;
|
|
106
|
+
hover: string;
|
|
107
|
+
error: string;
|
|
108
|
+
"hover-error": string;
|
|
109
|
+
};
|
|
110
|
+
let overlay: string;
|
|
111
|
+
namespace background {
|
|
112
|
+
let skeleton: string;
|
|
113
|
+
}
|
|
114
|
+
namespace shadow {
|
|
115
|
+
let base: string;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
namespace core {
|
|
119
|
+
let spacing: {
|
|
120
|
+
1: string;
|
|
121
|
+
2: string;
|
|
122
|
+
3: string;
|
|
123
|
+
4: string;
|
|
124
|
+
5: string;
|
|
125
|
+
6: string;
|
|
126
|
+
7: string;
|
|
127
|
+
8: string;
|
|
128
|
+
9: string;
|
|
129
|
+
10: string;
|
|
130
|
+
11: string;
|
|
131
|
+
12: string;
|
|
132
|
+
base: string;
|
|
133
|
+
};
|
|
134
|
+
namespace zIndex {
|
|
135
|
+
let fixedContent: number;
|
|
136
|
+
let dropdown: number;
|
|
137
|
+
let backdrop: number;
|
|
138
|
+
let productTour: number;
|
|
139
|
+
let walkthrough: number;
|
|
140
|
+
let dialog: number;
|
|
141
|
+
let tooltip: number;
|
|
142
|
+
let snackbar: number;
|
|
143
|
+
}
|
|
144
|
+
let radius: {
|
|
145
|
+
0: string;
|
|
146
|
+
1: string;
|
|
147
|
+
2: string;
|
|
148
|
+
3: string;
|
|
149
|
+
4: string;
|
|
150
|
+
5: string;
|
|
151
|
+
6: string;
|
|
152
|
+
};
|
|
153
|
+
let elevation: {
|
|
154
|
+
0: string;
|
|
155
|
+
1: string;
|
|
156
|
+
2: string;
|
|
157
|
+
3: string;
|
|
158
|
+
4: string;
|
|
159
|
+
};
|
|
160
|
+
}
|
|
161
|
+
namespace lineHeight {
|
|
162
|
+
let small: string;
|
|
163
|
+
let large: string;
|
|
164
|
+
}
|
|
165
|
+
namespace font {
|
|
166
|
+
namespace weight {
|
|
167
|
+
let normal: string;
|
|
168
|
+
let bold: string;
|
|
169
|
+
}
|
|
170
|
+
namespace family {
|
|
171
|
+
let base_1: string;
|
|
172
|
+
export { base_1 as base };
|
|
173
|
+
let title_1: string;
|
|
174
|
+
export { title_1 as title };
|
|
175
|
+
}
|
|
176
|
+
namespace size {
|
|
177
|
+
let primary_3: {
|
|
178
|
+
100: string;
|
|
179
|
+
200: string;
|
|
180
|
+
300: string;
|
|
181
|
+
400: string;
|
|
182
|
+
600: string;
|
|
183
|
+
800: string;
|
|
184
|
+
};
|
|
185
|
+
export { primary_3 as primary };
|
|
186
|
+
let secondary_2: {
|
|
187
|
+
200: string;
|
|
188
|
+
400: string;
|
|
189
|
+
600: string;
|
|
190
|
+
800: string;
|
|
191
|
+
};
|
|
192
|
+
export { secondary_2 as secondary };
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
namespace form {
|
|
196
|
+
namespace border {
|
|
197
|
+
let width: string;
|
|
198
|
+
}
|
|
199
|
+
namespace field {
|
|
200
|
+
export namespace height {
|
|
201
|
+
export let xxsmall: string;
|
|
202
|
+
export let xsmall: string;
|
|
203
|
+
let small_1: string;
|
|
204
|
+
export { small_1 as small };
|
|
205
|
+
export let medium: string;
|
|
206
|
+
let large_1: string;
|
|
207
|
+
export { large_1 as large };
|
|
208
|
+
}
|
|
209
|
+
export namespace radius_1 {
|
|
210
|
+
let xxsmall_1: string;
|
|
211
|
+
export { xxsmall_1 as xxsmall };
|
|
212
|
+
let xsmall_1: string;
|
|
213
|
+
export { xsmall_1 as xsmall };
|
|
214
|
+
let small_2: string;
|
|
215
|
+
export { small_2 as small };
|
|
216
|
+
let medium_1: string;
|
|
217
|
+
export { medium_1 as medium };
|
|
218
|
+
let large_2: string;
|
|
219
|
+
export { large_2 as large };
|
|
220
|
+
}
|
|
221
|
+
export { radius_1 as radius };
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
export default _default;
|
package/package.json
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maltjoy/themes",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.5.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Malt design system themes modules based on tokens",
|
|
6
|
+
"main": "dist/tokens-vars.js",
|
|
7
|
+
"types": "dist/types/tokens-vars.d.ts",
|
|
6
8
|
"files": [
|
|
7
9
|
"build",
|
|
8
10
|
"dist",
|
|
@@ -15,13 +17,16 @@
|
|
|
15
17
|
"fs-extra": "11.1.0",
|
|
16
18
|
"jssha": "3.2.0",
|
|
17
19
|
"sass": "1.77.8",
|
|
18
|
-
"style-dictionary": "5.0.4"
|
|
20
|
+
"style-dictionary": "5.0.4",
|
|
21
|
+
"typescript": "5.3.3",
|
|
22
|
+
"vue-tsc": "2.1.6"
|
|
19
23
|
},
|
|
20
24
|
"scripts": {
|
|
21
25
|
"postinstall": "pnpm sass:compile",
|
|
22
26
|
"build": "pnpm build:tokens && pnpm sass:compile && pnpm postbuild",
|
|
23
27
|
"build:tokens": "node ./style-dictionary.config.js --verbose",
|
|
24
|
-
"
|
|
28
|
+
"ts:generate": "tsc",
|
|
29
|
+
"postbuild": "pnpm ts:generate && node copy-task.js && node manifest-and-integrity.js",
|
|
25
30
|
"sass:dev": "sass --load-path=node_modules src:dist",
|
|
26
31
|
"sass:compile": "sass --load-path=node_modules src/themes/default.scss dist/default.css --style=compressed",
|
|
27
32
|
"test": "echo \"Error: no test specified\" && exit 1"
|