@codemonster-ru/vueforge 0.11.0 → 0.13.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 +77 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +5 -0
- package/dist/index.ts.mjs +1025 -801
- package/dist/index.ts.umd.js +3 -3
- package/dist/package/components/__tests__/radio.test.d.ts +1 -0
- package/dist/package/components/__tests__/tabs.test.d.ts +1 -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/tab-panel.vue.d.ts +21 -0
- package/dist/package/components/tab.vue.d.ts +30 -0
- package/dist/package/components/tabs-context.d.ts +12 -0
- package/dist/package/components/tabs.vue.d.ts +40 -0
- package/dist/package/config/theme-core.d.ts +39 -0
- package/dist/package/themes/default/components/radio.d.ts +16 -0
- package/dist/package/themes/default/components/tabs.d.ts +23 -0
- package/dist/package/themes/default/index.d.ts +37 -0
- package/package.json +1 -1
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { TabsOrientation, TabValue } from './tabs-context';
|
|
2
|
+
interface Props {
|
|
3
|
+
modelValue?: TabValue;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
orientation?: TabsOrientation;
|
|
6
|
+
ariaLabel?: string;
|
|
7
|
+
ariaLabelledby?: string;
|
|
8
|
+
}
|
|
9
|
+
declare function __VLS_template(): {
|
|
10
|
+
attrs: Partial<{}>;
|
|
11
|
+
slots: {
|
|
12
|
+
tabs?(_: {}): any;
|
|
13
|
+
panels?(_: {}): any;
|
|
14
|
+
};
|
|
15
|
+
refs: {
|
|
16
|
+
list: HTMLDivElement;
|
|
17
|
+
};
|
|
18
|
+
rootEl: HTMLDivElement;
|
|
19
|
+
};
|
|
20
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
21
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
22
|
+
change: (...args: any[]) => void;
|
|
23
|
+
"update:modelValue": (...args: any[]) => void;
|
|
24
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
25
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
26
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
27
|
+
}>, {
|
|
28
|
+
disabled: boolean;
|
|
29
|
+
orientation: TabsOrientation;
|
|
30
|
+
modelValue: TabValue;
|
|
31
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
32
|
+
list: HTMLDivElement;
|
|
33
|
+
}, HTMLDivElement>;
|
|
34
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
35
|
+
export default _default;
|
|
36
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
37
|
+
new (): {
|
|
38
|
+
$slots: S;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
@@ -40,6 +40,21 @@ export type CheckboxTokens = {
|
|
|
40
40
|
textColor?: string;
|
|
41
41
|
disabledOpacity?: string;
|
|
42
42
|
};
|
|
43
|
+
export type RadioTokens = {
|
|
44
|
+
size?: string;
|
|
45
|
+
dotSize?: string;
|
|
46
|
+
gap?: string;
|
|
47
|
+
groupGap?: string;
|
|
48
|
+
borderRadius?: string;
|
|
49
|
+
dotBorderRadius?: string;
|
|
50
|
+
borderColor?: string;
|
|
51
|
+
backgroundColor?: string;
|
|
52
|
+
checkedBackgroundColor?: string;
|
|
53
|
+
checkedBorderColor?: string;
|
|
54
|
+
dotColor?: string;
|
|
55
|
+
textColor?: string;
|
|
56
|
+
disabledOpacity?: string;
|
|
57
|
+
};
|
|
43
58
|
export type InputTokens = {
|
|
44
59
|
gap?: string;
|
|
45
60
|
fontSize?: string;
|
|
@@ -192,6 +207,28 @@ export type SwitchTokens = {
|
|
|
192
207
|
textColor?: string;
|
|
193
208
|
disabledOpacity?: string;
|
|
194
209
|
};
|
|
210
|
+
export type TabsTokens = {
|
|
211
|
+
gap?: string;
|
|
212
|
+
listGap?: string;
|
|
213
|
+
listBorderWidth?: string;
|
|
214
|
+
listBorderColor?: string;
|
|
215
|
+
listVerticalPadding?: string;
|
|
216
|
+
tabPadding?: string;
|
|
217
|
+
tabFontSize?: string;
|
|
218
|
+
tabBorderRadius?: string;
|
|
219
|
+
tabTextColor?: string;
|
|
220
|
+
tabBackgroundColor?: string;
|
|
221
|
+
tabHoverBackgroundColor?: string;
|
|
222
|
+
tabActiveTextColor?: string;
|
|
223
|
+
tabActiveBackgroundColor?: string;
|
|
224
|
+
tabActiveBorderColor?: string;
|
|
225
|
+
tabActiveBorderWidth?: string;
|
|
226
|
+
panelPadding?: string;
|
|
227
|
+
panelBorderRadius?: string;
|
|
228
|
+
panelBackgroundColor?: string;
|
|
229
|
+
panelTextColor?: string;
|
|
230
|
+
disabledOpacity?: string;
|
|
231
|
+
};
|
|
195
232
|
export type TooltipTokens = {
|
|
196
233
|
padding?: string;
|
|
197
234
|
borderRadius?: string;
|
|
@@ -208,6 +245,8 @@ export type ThemeComponentTokens = {
|
|
|
208
245
|
button?: ButtonTokens;
|
|
209
246
|
card?: CardTokens;
|
|
210
247
|
checkbox?: CheckboxTokens;
|
|
248
|
+
radio?: RadioTokens;
|
|
249
|
+
tabs?: TabsTokens;
|
|
211
250
|
input?: InputTokens;
|
|
212
251
|
textarea?: TextareaTokens;
|
|
213
252
|
link?: LinkTokens;
|
|
@@ -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,23 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
gap: string;
|
|
3
|
+
listGap: string;
|
|
4
|
+
listBorderWidth: string;
|
|
5
|
+
listBorderColor: string;
|
|
6
|
+
listVerticalPadding: string;
|
|
7
|
+
tabPadding: string;
|
|
8
|
+
tabFontSize: string;
|
|
9
|
+
tabBorderRadius: string;
|
|
10
|
+
tabTextColor: string;
|
|
11
|
+
tabBackgroundColor: string;
|
|
12
|
+
tabHoverBackgroundColor: string;
|
|
13
|
+
tabActiveTextColor: string;
|
|
14
|
+
tabActiveBackgroundColor: string;
|
|
15
|
+
tabActiveBorderColor: string;
|
|
16
|
+
tabActiveBorderWidth: string;
|
|
17
|
+
panelPadding: string;
|
|
18
|
+
panelBorderRadius: string;
|
|
19
|
+
panelBackgroundColor: string;
|
|
20
|
+
panelTextColor: string;
|
|
21
|
+
disabledOpacity: string;
|
|
22
|
+
};
|
|
23
|
+
export default _default;
|
|
@@ -361,6 +361,21 @@ declare const _default: {
|
|
|
361
361
|
textColor: string;
|
|
362
362
|
disabledOpacity: string;
|
|
363
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
|
+
};
|
|
364
379
|
switch: {
|
|
365
380
|
width: string;
|
|
366
381
|
height: string;
|
|
@@ -374,6 +389,28 @@ declare const _default: {
|
|
|
374
389
|
textColor: string;
|
|
375
390
|
disabledOpacity: string;
|
|
376
391
|
};
|
|
392
|
+
tabs: {
|
|
393
|
+
gap: string;
|
|
394
|
+
listGap: string;
|
|
395
|
+
listBorderWidth: string;
|
|
396
|
+
listBorderColor: string;
|
|
397
|
+
listVerticalPadding: string;
|
|
398
|
+
tabPadding: string;
|
|
399
|
+
tabFontSize: string;
|
|
400
|
+
tabBorderRadius: string;
|
|
401
|
+
tabTextColor: string;
|
|
402
|
+
tabBackgroundColor: string;
|
|
403
|
+
tabHoverBackgroundColor: string;
|
|
404
|
+
tabActiveTextColor: string;
|
|
405
|
+
tabActiveBackgroundColor: string;
|
|
406
|
+
tabActiveBorderColor: string;
|
|
407
|
+
tabActiveBorderWidth: string;
|
|
408
|
+
panelPadding: string;
|
|
409
|
+
panelBorderRadius: string;
|
|
410
|
+
panelBackgroundColor: string;
|
|
411
|
+
panelTextColor: string;
|
|
412
|
+
disabledOpacity: string;
|
|
413
|
+
};
|
|
377
414
|
tooltip: {
|
|
378
415
|
padding: string;
|
|
379
416
|
borderRadius: string;
|