@codemonster-ru/vueforge 0.10.0 → 0.12.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/README.md +80 -2
- package/dist/index.css +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.ts.mjs +973 -816
- package/dist/index.ts.umd.js +3 -3
- package/dist/package/components/__tests__/radio.test.d.ts +1 -0
- package/dist/package/components/__tests__/textarea.test.d.ts +1 -0
- package/dist/package/components/checkbox.vue.d.ts +3 -0
- package/dist/package/components/radio-button.vue.d.ts +38 -0
- package/dist/package/components/radio-context.d.ts +11 -0
- package/dist/package/components/radio-group.vue.d.ts +39 -0
- package/dist/package/components/select.vue.d.ts +3 -0
- package/dist/package/components/textarea.vue.d.ts +33 -0
- package/dist/package/config/theme-core.d.ts +37 -2
- package/dist/package/themes/default/base.d.ts +1 -0
- package/dist/package/themes/default/components/radio.d.ts +16 -0
- package/dist/package/themes/default/components/textarea.d.ts +25 -0
- package/dist/package/themes/default/index.d.ts +41 -1
- package/package.json +1 -1
- package/dist/package/themes/default/components/codeBlock.d.ts +0 -2
|
@@ -40,10 +40,20 @@ export type CheckboxTokens = {
|
|
|
40
40
|
textColor?: string;
|
|
41
41
|
disabledOpacity?: string;
|
|
42
42
|
};
|
|
43
|
-
export type
|
|
43
|
+
export type RadioTokens = {
|
|
44
|
+
size?: string;
|
|
45
|
+
dotSize?: string;
|
|
46
|
+
gap?: string;
|
|
47
|
+
groupGap?: string;
|
|
44
48
|
borderRadius?: string;
|
|
49
|
+
dotBorderRadius?: string;
|
|
50
|
+
borderColor?: string;
|
|
45
51
|
backgroundColor?: string;
|
|
52
|
+
checkedBackgroundColor?: string;
|
|
53
|
+
checkedBorderColor?: string;
|
|
54
|
+
dotColor?: string;
|
|
46
55
|
textColor?: string;
|
|
56
|
+
disabledOpacity?: string;
|
|
47
57
|
};
|
|
48
58
|
export type InputTokens = {
|
|
49
59
|
gap?: string;
|
|
@@ -67,6 +77,30 @@ export type InputTokens = {
|
|
|
67
77
|
fontSize?: string;
|
|
68
78
|
};
|
|
69
79
|
};
|
|
80
|
+
export type TextareaTokens = {
|
|
81
|
+
gap?: string;
|
|
82
|
+
fontSize?: string;
|
|
83
|
+
padding?: string;
|
|
84
|
+
borderRadius?: string;
|
|
85
|
+
borderColor?: string;
|
|
86
|
+
backgroundColor?: string;
|
|
87
|
+
textColor?: string;
|
|
88
|
+
placeholderColor?: string;
|
|
89
|
+
focusBorderColor?: string;
|
|
90
|
+
focusRingShadow?: string;
|
|
91
|
+
hoverBorderColor?: string;
|
|
92
|
+
disabledOpacity?: string;
|
|
93
|
+
minHeight?: string;
|
|
94
|
+
resize?: string;
|
|
95
|
+
small?: {
|
|
96
|
+
padding?: string;
|
|
97
|
+
fontSize?: string;
|
|
98
|
+
};
|
|
99
|
+
large?: {
|
|
100
|
+
padding?: string;
|
|
101
|
+
fontSize?: string;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
70
104
|
export type LinkTokens = {
|
|
71
105
|
hoverColor?: string;
|
|
72
106
|
activeColor?: string;
|
|
@@ -189,8 +223,9 @@ export type ThemeComponentTokens = {
|
|
|
189
223
|
button?: ButtonTokens;
|
|
190
224
|
card?: CardTokens;
|
|
191
225
|
checkbox?: CheckboxTokens;
|
|
192
|
-
|
|
226
|
+
radio?: RadioTokens;
|
|
193
227
|
input?: InputTokens;
|
|
228
|
+
textarea?: TextareaTokens;
|
|
194
229
|
link?: LinkTokens;
|
|
195
230
|
menu?: MenuTokens;
|
|
196
231
|
modal?: ModalTokens;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
size: string;
|
|
3
|
+
dotSize: string;
|
|
4
|
+
gap: string;
|
|
5
|
+
groupGap: string;
|
|
6
|
+
borderRadius: string;
|
|
7
|
+
dotBorderRadius: string;
|
|
8
|
+
borderColor: string;
|
|
9
|
+
backgroundColor: string;
|
|
10
|
+
checkedBackgroundColor: string;
|
|
11
|
+
checkedBorderColor: string;
|
|
12
|
+
dotColor: string;
|
|
13
|
+
textColor: string;
|
|
14
|
+
disabledOpacity: string;
|
|
15
|
+
};
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
gap: string;
|
|
3
|
+
fontSize: string;
|
|
4
|
+
padding: string;
|
|
5
|
+
borderRadius: string;
|
|
6
|
+
borderColor: string;
|
|
7
|
+
backgroundColor: string;
|
|
8
|
+
textColor: string;
|
|
9
|
+
placeholderColor: string;
|
|
10
|
+
focusBorderColor: string;
|
|
11
|
+
focusRingShadow: string;
|
|
12
|
+
hoverBorderColor: string;
|
|
13
|
+
disabledOpacity: string;
|
|
14
|
+
minHeight: string;
|
|
15
|
+
resize: string;
|
|
16
|
+
small: {
|
|
17
|
+
padding: string;
|
|
18
|
+
fontSize: string;
|
|
19
|
+
};
|
|
20
|
+
large: {
|
|
21
|
+
padding: string;
|
|
22
|
+
fontSize: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
export default _default;
|
|
@@ -16,6 +16,7 @@ declare const _default: {
|
|
|
16
16
|
height: string;
|
|
17
17
|
paddingY: string;
|
|
18
18
|
paddingX: string;
|
|
19
|
+
backgroundColor: string;
|
|
19
20
|
};
|
|
20
21
|
radii: {
|
|
21
22
|
sm: string;
|
|
@@ -211,7 +212,6 @@ declare const _default: {
|
|
|
211
212
|
borderColor: string;
|
|
212
213
|
borderRadius: string;
|
|
213
214
|
};
|
|
214
|
-
codeBlock: {};
|
|
215
215
|
input: {
|
|
216
216
|
gap: string;
|
|
217
217
|
fontSize: string;
|
|
@@ -234,6 +234,30 @@ declare const _default: {
|
|
|
234
234
|
fontSize: string;
|
|
235
235
|
};
|
|
236
236
|
};
|
|
237
|
+
textarea: {
|
|
238
|
+
gap: string;
|
|
239
|
+
fontSize: string;
|
|
240
|
+
padding: string;
|
|
241
|
+
borderRadius: string;
|
|
242
|
+
borderColor: string;
|
|
243
|
+
backgroundColor: string;
|
|
244
|
+
textColor: string;
|
|
245
|
+
placeholderColor: string;
|
|
246
|
+
focusBorderColor: string;
|
|
247
|
+
focusRingShadow: string;
|
|
248
|
+
hoverBorderColor: string;
|
|
249
|
+
disabledOpacity: string;
|
|
250
|
+
minHeight: string;
|
|
251
|
+
resize: string;
|
|
252
|
+
small: {
|
|
253
|
+
padding: string;
|
|
254
|
+
fontSize: string;
|
|
255
|
+
};
|
|
256
|
+
large: {
|
|
257
|
+
padding: string;
|
|
258
|
+
fontSize: string;
|
|
259
|
+
};
|
|
260
|
+
};
|
|
237
261
|
link: {
|
|
238
262
|
hoverColor: string;
|
|
239
263
|
activeColor: string;
|
|
@@ -337,6 +361,21 @@ declare const _default: {
|
|
|
337
361
|
textColor: string;
|
|
338
362
|
disabledOpacity: string;
|
|
339
363
|
};
|
|
364
|
+
radio: {
|
|
365
|
+
size: string;
|
|
366
|
+
dotSize: string;
|
|
367
|
+
gap: string;
|
|
368
|
+
groupGap: string;
|
|
369
|
+
borderRadius: string;
|
|
370
|
+
dotBorderRadius: string;
|
|
371
|
+
borderColor: string;
|
|
372
|
+
backgroundColor: string;
|
|
373
|
+
checkedBackgroundColor: string;
|
|
374
|
+
checkedBorderColor: string;
|
|
375
|
+
dotColor: string;
|
|
376
|
+
textColor: string;
|
|
377
|
+
disabledOpacity: string;
|
|
378
|
+
};
|
|
340
379
|
switch: {
|
|
341
380
|
width: string;
|
|
342
381
|
height: string;
|
|
@@ -378,6 +417,7 @@ declare const _default: {
|
|
|
378
417
|
height: string;
|
|
379
418
|
paddingY: string;
|
|
380
419
|
paddingX: string;
|
|
420
|
+
backgroundColor: string;
|
|
381
421
|
};
|
|
382
422
|
radii: {
|
|
383
423
|
sm: string;
|
package/package.json
CHANGED