@webitel/ui-sdk 25.10.4 → 25.10.6
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/ui-sdk.css +1 -1
- package/dist/ui-sdk.js +6247 -5903
- package/dist/ui-sdk.umd.cjs +235 -121
- package/package.json +2 -2
- package/src/components/on-demand/wt-type-extension-value-input/wt-type-extension-value-input.vue +2 -2
- package/src/components/wt-popover/wt-popover.vue +10 -2
- package/src/components/wt-switcher/wt-switcher.vue +38 -159
- package/src/modules/Appearance/components/wt-dark-mode-switcher.vue +2 -2
- package/src/modules/AuditForm/components/audit-form-question-write-wrapper.vue +2 -2
- package/src/plugins/primevue/primevue.plugin.js +2 -0
- package/src/plugins/primevue/theme/components/components.js +2 -0
- package/src/plugins/primevue/theme/components/switcher/switcher.js +8 -0
- package/types/components/wt-action-bar/wt-action-bar.vue.d.ts +2 -2
- package/types/components/wt-button/wt-button.vue.d.ts +2 -2
- package/types/components/wt-datepicker/wt-datepicker.vue.d.ts +2 -2
- package/types/components/wt-icon/wt-icon.vue.d.ts +1 -1
- package/types/components/wt-icon-action/wt-icon-action.vue.d.ts +2 -2
- package/types/components/wt-item-link/wt-item-link.vue.d.ts +2 -2
- package/types/components/wt-popover/wt-popover.vue.d.ts +9 -4
- package/types/components/wt-popup/wt-popup.vue.d.ts +1 -1
- package/types/components/wt-rounded-action/wt-rounded-action.vue.d.ts +2 -2
- package/types/components/wt-switcher/wt-switcher.vue.d.ts +49 -47
- package/types/plugins/primevue/theme/components/components.d.ts +2 -0
- package/types/plugins/primevue/theme/components/switcher/switcher.d.ts +78 -0
|
@@ -6,6 +6,7 @@ declare namespace components {
|
|
|
6
6
|
export { tooltip };
|
|
7
7
|
export { chip };
|
|
8
8
|
export { checkbox };
|
|
9
|
+
export { switcher as toggleswitch };
|
|
9
10
|
export { breadcrumb };
|
|
10
11
|
export { slider };
|
|
11
12
|
export { divider };
|
|
@@ -17,6 +18,7 @@ import popover from './popover/popover.js';
|
|
|
17
18
|
import tooltip from './tooltip/tooltip.js';
|
|
18
19
|
import chip from './chip/chip.js';
|
|
19
20
|
import checkbox from './checkbox/checkbox.js';
|
|
21
|
+
import switcher from './switcher/switcher.js';
|
|
20
22
|
import breadcrumb from './breadcrumb/breadcrumb.js';
|
|
21
23
|
import slider from './slider/slider.js';
|
|
22
24
|
import divider from './divider/divider.js';
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
export default switcher;
|
|
2
|
+
declare const switcher: {
|
|
3
|
+
colorScheme: {
|
|
4
|
+
light: {
|
|
5
|
+
root: {
|
|
6
|
+
shadow: string;
|
|
7
|
+
focusRing: {
|
|
8
|
+
color: string;
|
|
9
|
+
shadow: string;
|
|
10
|
+
};
|
|
11
|
+
borderColor: string;
|
|
12
|
+
hoverBorderColor: string;
|
|
13
|
+
checkedBorderColor: string;
|
|
14
|
+
checkedHoverBorderColor: string;
|
|
15
|
+
invalidBorderColor: string;
|
|
16
|
+
background: string;
|
|
17
|
+
disabledBackground: string;
|
|
18
|
+
hoverBackground: string;
|
|
19
|
+
checkedBackground: string;
|
|
20
|
+
checkedHoverBackground: string;
|
|
21
|
+
};
|
|
22
|
+
handle: {
|
|
23
|
+
background: string;
|
|
24
|
+
disabledBackground: string;
|
|
25
|
+
hoverBackground: string;
|
|
26
|
+
checkedBackground: string;
|
|
27
|
+
checkedHoverBackground: string;
|
|
28
|
+
color: string;
|
|
29
|
+
hoverColor: string;
|
|
30
|
+
checkedColor: string;
|
|
31
|
+
checkedHoverColor: string;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
dark: {
|
|
35
|
+
root: {
|
|
36
|
+
shadow: string;
|
|
37
|
+
focusRing: {
|
|
38
|
+
color: string;
|
|
39
|
+
shadow: string;
|
|
40
|
+
};
|
|
41
|
+
borderColor: string;
|
|
42
|
+
hoverBorderColor: string;
|
|
43
|
+
checkedBorderColor: string;
|
|
44
|
+
checkedHoverBorderColor: string;
|
|
45
|
+
invalidBorderColor: string;
|
|
46
|
+
background: string;
|
|
47
|
+
disabledBackground: string;
|
|
48
|
+
hoverBackground: string;
|
|
49
|
+
checkedBackground: string;
|
|
50
|
+
checkedHoverBackground: string;
|
|
51
|
+
};
|
|
52
|
+
handle: {
|
|
53
|
+
background: string;
|
|
54
|
+
disabledBackground: string;
|
|
55
|
+
hoverBackground: string;
|
|
56
|
+
checkedBackground: string;
|
|
57
|
+
checkedHoverBackground: string;
|
|
58
|
+
color: string;
|
|
59
|
+
hoverColor: string;
|
|
60
|
+
checkedColor: string;
|
|
61
|
+
checkedHoverColor: string;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
root: {
|
|
66
|
+
width: string;
|
|
67
|
+
height: string;
|
|
68
|
+
borderRadius: string;
|
|
69
|
+
gap: string;
|
|
70
|
+
borderWidth: string;
|
|
71
|
+
transitionDuration: string;
|
|
72
|
+
slideDuration: string;
|
|
73
|
+
};
|
|
74
|
+
handle: {
|
|
75
|
+
borderRadius: string;
|
|
76
|
+
size: string;
|
|
77
|
+
};
|
|
78
|
+
};
|