@fewangsit/wangsvue-presets 1.0.80
Sign up to get free protection for your applications and to get access to all the features.
- package/index.d.ts +1 -0
- package/index.js +5 -0
- package/package.json +13 -0
- package/wangsvue/accordion/index.d.ts +37 -0
- package/wangsvue/accordion/index.js +70 -0
- package/wangsvue/autocomplete/index.d.ts +188 -0
- package/wangsvue/autocomplete/index.js +247 -0
- package/wangsvue/avatar/index.d.ts +85 -0
- package/wangsvue/avatar/index.js +44 -0
- package/wangsvue/avatargroup/index.d.ts +8 -0
- package/wangsvue/avatargroup/index.js +9 -0
- package/wangsvue/badge/index.d.ts +47 -0
- package/wangsvue/badge/index.js +60 -0
- package/wangsvue/badgedirective/index.d.ts +50 -0
- package/wangsvue/badgedirective/index.js +49 -0
- package/wangsvue/badgegroup/index.d.ts +45 -0
- package/wangsvue/badgegroup/index.js +29 -0
- package/wangsvue/breadcrumb/index.d.ts +25 -0
- package/wangsvue/breadcrumb/index.js +31 -0
- package/wangsvue/button/index.d.ts +46 -0
- package/wangsvue/button/index.js +423 -0
- package/wangsvue/buttonbulkaction/index.d.ts +32 -0
- package/wangsvue/buttonbulkaction/index.js +35 -0
- package/wangsvue/buttondownload/index.d.ts +12 -0
- package/wangsvue/buttondownload/index.js +13 -0
- package/wangsvue/buttonfilter/index.d.ts +12 -0
- package/wangsvue/buttonfilter/index.js +13 -0
- package/wangsvue/buttonradio/index.d.ts +58 -0
- package/wangsvue/buttonradio/index.js +109 -0
- package/wangsvue/buttonsearch/index.d.ts +65 -0
- package/wangsvue/buttonsearch/index.js +62 -0
- package/wangsvue/calendar/index.d.ts +267 -0
- package/wangsvue/calendar/index.js +610 -0
- package/wangsvue/card/index.d.ts +31 -0
- package/wangsvue/card/index.js +32 -0
- package/wangsvue/carousel/index.d.ts +57 -0
- package/wangsvue/carousel/index.js +129 -0
- package/wangsvue/cascadeselect/index.d.ts +82 -0
- package/wangsvue/cascadeselect/index.js +191 -0
- package/wangsvue/changelog/index.d.ts +32 -0
- package/wangsvue/changelog/index.js +31 -0
- package/wangsvue/checkbox/index.d.ts +81 -0
- package/wangsvue/checkbox/index.js +107 -0
- package/wangsvue/chip/index.d.ts +23 -0
- package/wangsvue/chip/index.js +40 -0
- package/wangsvue/chips/index.d.ts +38 -0
- package/wangsvue/chips/index.js +98 -0
- package/wangsvue/colorpicker/index.d.ts +51 -0
- package/wangsvue/colorpicker/index.js +118 -0
- package/wangsvue/colors.config.json +77 -0
- package/wangsvue/confirmpopup/index.d.ts +39 -0
- package/wangsvue/confirmpopup/index.js +104 -0
- package/wangsvue/contextmenu/index.d.ts +63 -0
- package/wangsvue/contextmenu/index.js +113 -0
- package/wangsvue/datatable/index.d.ts +286 -0
- package/wangsvue/datatable/index.js +253 -0
- package/wangsvue/dataview/index.d.ts +15 -0
- package/wangsvue/dataview/index.js +36 -0
- package/wangsvue/dataviewlayoutoptions/index.d.ts +13 -0
- package/wangsvue/dataviewlayoutoptions/index.js +58 -0
- package/wangsvue/dialog/index.d.ts +87 -0
- package/wangsvue/dialog/index.js +220 -0
- package/wangsvue/dialogconfirm/index.d.ts +42 -0
- package/wangsvue/dialogconfirm/index.js +45 -0
- package/wangsvue/dialogform/index.d.ts +71 -0
- package/wangsvue/dialogform/index.js +68 -0
- package/wangsvue/divider/index.d.ts +192 -0
- package/wangsvue/divider/index.js +64 -0
- package/wangsvue/dock/index.d.ts +51 -0
- package/wangsvue/dock/index.js +92 -0
- package/wangsvue/dropdown/index.d.ts +136 -0
- package/wangsvue/dropdown/index.js +207 -0
- package/wangsvue/fieldset/index.d.ts +94 -0
- package/wangsvue/fieldset/index.js +87 -0
- package/wangsvue/fileupload/index.d.ts +29 -0
- package/wangsvue/fileupload/index.js +31 -0
- package/wangsvue/form/index.d.ts +40 -0
- package/wangsvue/form/index.js +44 -0
- package/wangsvue/global.d.ts +8 -0
- package/wangsvue/global.js +14 -0
- package/wangsvue/image/index.d.ts +88 -0
- package/wangsvue/image/index.js +136 -0
- package/wangsvue/index.d.ts +190 -0
- package/wangsvue/index.js +201 -0
- package/wangsvue/index.system.js +76 -0
- package/wangsvue/inlinemessage/index.d.ts +20 -0
- package/wangsvue/inlinemessage/index.js +30 -0
- package/wangsvue/inputbadge/index.d.ts +57 -0
- package/wangsvue/inputbadge/index.js +57 -0
- package/wangsvue/inputcurrency/index.d.ts +27 -0
- package/wangsvue/inputcurrency/index.js +22 -0
- package/wangsvue/inputgroup/index.d.ts +9 -0
- package/wangsvue/inputgroup/index.js +37 -0
- package/wangsvue/inputgroupaddon/index.d.ts +17 -0
- package/wangsvue/inputgroupaddon/index.js +34 -0
- package/wangsvue/inputmask/index.d.ts +11 -0
- package/wangsvue/inputmask/index.js +29 -0
- package/wangsvue/inputnumber/index.d.ts +46 -0
- package/wangsvue/inputnumber/index.js +58 -0
- package/wangsvue/inputotp/index.d.ts +137 -0
- package/wangsvue/inputotp/index.js +63 -0
- package/wangsvue/inputphonenumber/index.d.ts +37 -0
- package/wangsvue/inputphonenumber/index.js +34 -0
- package/wangsvue/inputswitch/index.d.ts +67 -0
- package/wangsvue/inputswitch/index.js +100 -0
- package/wangsvue/inputtext/index.d.ts +18 -0
- package/wangsvue/inputtext/index.js +28 -0
- package/wangsvue/knob/index.d.ts +22 -0
- package/wangsvue/knob/index.js +45 -0
- package/wangsvue/listbox/index.d.ts +79 -0
- package/wangsvue/listbox/index.js +138 -0
- package/wangsvue/megamenu/index.d.ts +105 -0
- package/wangsvue/megamenu/index.js +202 -0
- package/wangsvue/menu/index.d.ts +49 -0
- package/wangsvue/menu/index.js +110 -0
- package/wangsvue/menubar/index.d.ts +85 -0
- package/wangsvue/menubar/index.js +172 -0
- package/wangsvue/message/index.d.ts +41 -0
- package/wangsvue/message/index.js +85 -0
- package/wangsvue/multiselect/index.d.ts +243 -0
- package/wangsvue/multiselect/index.js +328 -0
- package/wangsvue/orderlist/index.d.ts +99 -0
- package/wangsvue/orderlist/index.js +245 -0
- package/wangsvue/organizationchart/index.d.ts +71 -0
- package/wangsvue/organizationchart/index.js +129 -0
- package/wangsvue/overlaypanel/index.d.ts +17 -0
- package/wangsvue/overlaypanel/index.js +34 -0
- package/wangsvue/paginator/index.d.ts +210 -0
- package/wangsvue/paginator/index.js +474 -0
- package/wangsvue/panel/index.d.ts +43 -0
- package/wangsvue/panel/index.js +85 -0
- package/wangsvue/panelmenu/index.d.ts +76 -0
- package/wangsvue/panelmenu/index.js +124 -0
- package/wangsvue/password/index.d.ts +45 -0
- package/wangsvue/password/index.js +96 -0
- package/wangsvue/picklist/index.d.ts +245 -0
- package/wangsvue/picklist/index.js +613 -0
- package/wangsvue/progressbar/index.d.ts +117 -0
- package/wangsvue/progressbar/index.js +102 -0
- package/wangsvue/rating/index.d.ts +47 -0
- package/wangsvue/rating/index.js +88 -0
- package/wangsvue/ripple/index.d.ts +8 -0
- package/wangsvue/ripple/index.js +8 -0
- package/wangsvue/scrollpanel/index.d.ts +19 -0
- package/wangsvue/scrollpanel/index.js +62 -0
- package/wangsvue/scrolltop/index.d.ts +50 -0
- package/wangsvue/scrolltop/index.js +42 -0
- package/wangsvue/selectbutton/index.d.ts +35 -0
- package/wangsvue/selectbutton/index.js +60 -0
- package/wangsvue/sidebar/index.d.ts +66 -0
- package/wangsvue/sidebar/index.js +145 -0
- package/wangsvue/skeleton/index.d.ts +16 -0
- package/wangsvue/skeleton/index.js +22 -0
- package/wangsvue/slider/index.d.ts +55 -0
- package/wangsvue/slider/index.js +126 -0
- package/wangsvue/splitbutton/index.d.ts +6690 -0
- package/wangsvue/splitbutton/index.js +786 -0
- package/wangsvue/steps/index.d.ts +108 -0
- package/wangsvue/steps/index.js +119 -0
- package/wangsvue/style.css +5823 -0
- package/wangsvue/tabmenu/index.d.ts +57 -0
- package/wangsvue/tabmenu/index.js +75 -0
- package/wangsvue/tabview/index.d.ts +67 -0
- package/wangsvue/tabview/index.js +148 -0
- package/wangsvue/tag/index.d.ts +32 -0
- package/wangsvue/tag/index.js +37 -0
- package/wangsvue/terminal/index.d.ts +27 -0
- package/wangsvue/terminal/index.js +55 -0
- package/wangsvue/textarea/index.d.ts +12 -0
- package/wangsvue/textarea/index.js +51 -0
- package/wangsvue/tieredmenu/index.d.ts +56 -0
- package/wangsvue/tieredmenu/index.js +108 -0
- package/wangsvue/timeline/index.d.ts +53 -0
- package/wangsvue/timeline/index.js +83 -0
- package/wangsvue/toast/index.d.ts +61 -0
- package/wangsvue/toast/index.js +95 -0
- package/wangsvue/togglebutton/index.d.ts +42 -0
- package/wangsvue/togglebutton/index.js +77 -0
- package/wangsvue/toolbar/index.d.ts +19 -0
- package/wangsvue/toolbar/index.js +29 -0
- package/wangsvue/tooltip/index.d.ts +22 -0
- package/wangsvue/tooltip/index.js +42 -0
- package/wangsvue/tree/index.d.ts +117 -0
- package/wangsvue/tree/index.js +256 -0
- package/wangsvue/treeselect/index.d.ts +158 -0
- package/wangsvue/treeselect/index.js +338 -0
- package/wangsvue/tristatecheckbox/index.d.ts +49 -0
- package/wangsvue/tristatecheckbox/index.js +106 -0
- package/wangsvue/validatormessage/index.d.ts +8 -0
- package/wangsvue/validatormessage/index.js +9 -0
- package/wangsvue/workcalendar/index.d.ts +27 -0
- package/wangsvue/workcalendar/index.js +36 -0
@@ -0,0 +1,57 @@
|
|
1
|
+
declare namespace _default {
|
2
|
+
namespace root {
|
3
|
+
let _class: string[];
|
4
|
+
export { _class as class };
|
5
|
+
}
|
6
|
+
namespace content {
|
7
|
+
let _class_1: string[];
|
8
|
+
export { _class_1 as class };
|
9
|
+
}
|
10
|
+
function container({ props }: {
|
11
|
+
props: any;
|
12
|
+
}): {
|
13
|
+
class: (string | {
|
14
|
+
'flex-row': boolean;
|
15
|
+
'flex-col': boolean;
|
16
|
+
})[];
|
17
|
+
};
|
18
|
+
namespace previousbutton {
|
19
|
+
let _class_2: string[];
|
20
|
+
export { _class_2 as class };
|
21
|
+
}
|
22
|
+
namespace nextbutton {
|
23
|
+
let _class_3: string[];
|
24
|
+
export { _class_3 as class };
|
25
|
+
}
|
26
|
+
namespace itemscontent {
|
27
|
+
let _class_4: any[];
|
28
|
+
export { _class_4 as class };
|
29
|
+
}
|
30
|
+
function itemscontainer({ props }: {
|
31
|
+
props: any;
|
32
|
+
}): {
|
33
|
+
class: any[];
|
34
|
+
};
|
35
|
+
function item({ props }: {
|
36
|
+
props: any;
|
37
|
+
}): {
|
38
|
+
class: any[];
|
39
|
+
};
|
40
|
+
namespace indicators {
|
41
|
+
let _class_5: string[];
|
42
|
+
export { _class_5 as class };
|
43
|
+
}
|
44
|
+
namespace indicator {
|
45
|
+
let _class_6: any[];
|
46
|
+
export { _class_6 as class };
|
47
|
+
}
|
48
|
+
function indicatorbutton({ context }: {
|
49
|
+
context: any;
|
50
|
+
}): {
|
51
|
+
class: (string | {
|
52
|
+
'bg-surface-200 hover:bg-surface-300': boolean;
|
53
|
+
'bg-primary-500 hover:bg-primary-600': any;
|
54
|
+
})[];
|
55
|
+
};
|
56
|
+
}
|
57
|
+
export default _default;
|
@@ -0,0 +1,129 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.default = {
|
4
|
+
root: {
|
5
|
+
class: [
|
6
|
+
// Flexbox
|
7
|
+
'flex flex-col',
|
8
|
+
],
|
9
|
+
},
|
10
|
+
content: {
|
11
|
+
class: [
|
12
|
+
// Flexbox & Overflow
|
13
|
+
'flex flex-col overflow-auto',
|
14
|
+
],
|
15
|
+
},
|
16
|
+
container: function (_a) {
|
17
|
+
var props = _a.props;
|
18
|
+
return ({
|
19
|
+
class: [
|
20
|
+
// // Flexbox
|
21
|
+
'flex',
|
22
|
+
// // Orientation
|
23
|
+
{
|
24
|
+
'flex-row': props.orientation !== 'vertical',
|
25
|
+
'flex-col': props.orientation == 'vertical',
|
26
|
+
},
|
27
|
+
],
|
28
|
+
});
|
29
|
+
},
|
30
|
+
previousbutton: {
|
31
|
+
class: [
|
32
|
+
// Flexbox & Alignment
|
33
|
+
'flex justify-center items-center self-center',
|
34
|
+
// Sizing & Overflow
|
35
|
+
'overflow-hidden w-8 h-8',
|
36
|
+
// Spacing
|
37
|
+
'mx-2',
|
38
|
+
// Shape
|
39
|
+
'rounded-full',
|
40
|
+
// Border & Background
|
41
|
+
'border-0 bg-transparent',
|
42
|
+
// Color
|
43
|
+
'text-surface-600',
|
44
|
+
// Transitions
|
45
|
+
'transition duration-200 ease-in-out',
|
46
|
+
],
|
47
|
+
},
|
48
|
+
nextbutton: {
|
49
|
+
class: [
|
50
|
+
// Flexbox & Alignment
|
51
|
+
'flex justify-center items-center self-center',
|
52
|
+
// Sizing & Overflow
|
53
|
+
'overflow-hidden w-8 h-8',
|
54
|
+
// Spacing
|
55
|
+
'mx-2',
|
56
|
+
// Shape
|
57
|
+
'rounded-full',
|
58
|
+
// Border & Background
|
59
|
+
'border-0 bg-transparent',
|
60
|
+
// Color
|
61
|
+
'text-surface-600',
|
62
|
+
// Transitions
|
63
|
+
'transition duration-200 ease-in-out',
|
64
|
+
],
|
65
|
+
},
|
66
|
+
itemscontent: {
|
67
|
+
class: [
|
68
|
+
// Overflow & Width
|
69
|
+
// 'overflow-hidden w-full',
|
70
|
+
],
|
71
|
+
},
|
72
|
+
itemscontainer: function (_a) {
|
73
|
+
var props = _a.props;
|
74
|
+
return ({
|
75
|
+
class: [
|
76
|
+
// Flexbox
|
77
|
+
// 'flex',
|
78
|
+
// Orientation & Sizing
|
79
|
+
// {
|
80
|
+
// 'flex-row': props.orientation !== 'vertical',
|
81
|
+
// 'flex-col h-full': props.orientation == 'vertical',
|
82
|
+
// },
|
83
|
+
],
|
84
|
+
});
|
85
|
+
},
|
86
|
+
item: function (_a) {
|
87
|
+
var props = _a.props;
|
88
|
+
return ({
|
89
|
+
class: [
|
90
|
+
// Flexbox
|
91
|
+
// 'flex',
|
92
|
+
// Width
|
93
|
+
// {
|
94
|
+
// 'w-1/3': props.orientation !== 'vertical',
|
95
|
+
// 'w-full': props.orientation == 'vertical',
|
96
|
+
// },
|
97
|
+
],
|
98
|
+
});
|
99
|
+
},
|
100
|
+
indicators: {
|
101
|
+
class: [
|
102
|
+
// Flexbox & Alignment
|
103
|
+
'flex flex-row justify-center flex-wrap gap-1',
|
104
|
+
],
|
105
|
+
},
|
106
|
+
indicator: {
|
107
|
+
class: [
|
108
|
+
// Spacing
|
109
|
+
],
|
110
|
+
},
|
111
|
+
indicatorbutton: function (_a) {
|
112
|
+
var context = _a.context;
|
113
|
+
return ({
|
114
|
+
class: [
|
115
|
+
// Sizing & Shape
|
116
|
+
'w-1.5 h-1.5 rounded-full',
|
117
|
+
// Transitions
|
118
|
+
'transition duration-200',
|
119
|
+
// Focus Styles
|
120
|
+
'focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50',
|
121
|
+
// Color & Background
|
122
|
+
{
|
123
|
+
'bg-surface-200 hover:bg-surface-300': !context.highlighted,
|
124
|
+
'bg-primary-500 hover:bg-primary-600': context.highlighted,
|
125
|
+
},
|
126
|
+
],
|
127
|
+
});
|
128
|
+
},
|
129
|
+
};
|
@@ -0,0 +1,82 @@
|
|
1
|
+
declare namespace _default {
|
2
|
+
function root({ props, state }: {
|
3
|
+
props: any;
|
4
|
+
state: any;
|
5
|
+
}): {
|
6
|
+
class: (string | {
|
7
|
+
'ring-1 ring-inset ring-surface-300': boolean;
|
8
|
+
'ring-2 ring-inset ring-primary-500': any;
|
9
|
+
'opacity-60'?: undefined;
|
10
|
+
'pointer-events-none'?: undefined;
|
11
|
+
} | {
|
12
|
+
'opacity-60': any;
|
13
|
+
'pointer-events-none': any;
|
14
|
+
'ring-1 ring-inset ring-surface-300'?: undefined;
|
15
|
+
'ring-2 ring-inset ring-primary-500'?: undefined;
|
16
|
+
})[];
|
17
|
+
};
|
18
|
+
function label({ props }: {
|
19
|
+
props: any;
|
20
|
+
}): {
|
21
|
+
class: (string | {
|
22
|
+
'text-surface-800/80': any;
|
23
|
+
'text-surface-400': boolean;
|
24
|
+
})[];
|
25
|
+
};
|
26
|
+
namespace dropdownbutton {
|
27
|
+
let _class: string[];
|
28
|
+
export { _class as class };
|
29
|
+
}
|
30
|
+
namespace panel {
|
31
|
+
let _class_1: string[];
|
32
|
+
export { _class_1 as class };
|
33
|
+
}
|
34
|
+
namespace wrapper {
|
35
|
+
let _class_2: string[];
|
36
|
+
export { _class_2 as class };
|
37
|
+
}
|
38
|
+
namespace list {
|
39
|
+
let _class_3: string;
|
40
|
+
export { _class_3 as class };
|
41
|
+
}
|
42
|
+
function item({ context }: {
|
43
|
+
context: any;
|
44
|
+
}): {
|
45
|
+
class: (string | {
|
46
|
+
'text-surface-500/70': boolean;
|
47
|
+
'text-surface-500/70 bg-surface-200': boolean;
|
48
|
+
'text-surface-900/80 bg-surface-50': any;
|
49
|
+
'hover:bg-surface-50'?: undefined;
|
50
|
+
'hover:bg-surface-100 text-surface-900/80'?: undefined;
|
51
|
+
} | {
|
52
|
+
'hover:bg-surface-50': boolean;
|
53
|
+
'hover:bg-surface-100 text-surface-900/80': any;
|
54
|
+
'text-surface-500/70'?: undefined;
|
55
|
+
'text-surface-500/70 bg-surface-200'?: undefined;
|
56
|
+
'text-surface-900/80 bg-surface-50'?: undefined;
|
57
|
+
})[];
|
58
|
+
};
|
59
|
+
namespace content {
|
60
|
+
let _class_4: string[];
|
61
|
+
export { _class_4 as class };
|
62
|
+
}
|
63
|
+
namespace groupicon {
|
64
|
+
let _class_5: string[];
|
65
|
+
export { _class_5 as class };
|
66
|
+
}
|
67
|
+
namespace sublist {
|
68
|
+
let _class_6: string[];
|
69
|
+
export { _class_6 as class };
|
70
|
+
}
|
71
|
+
namespace separator {
|
72
|
+
let _class_7: string;
|
73
|
+
export { _class_7 as class };
|
74
|
+
}
|
75
|
+
namespace transition {
|
76
|
+
let enterFromClass: string;
|
77
|
+
let enterActiveClass: string;
|
78
|
+
let leaveActiveClass: string;
|
79
|
+
let leaveToClass: string;
|
80
|
+
}
|
81
|
+
}
|
82
|
+
export default _default;
|
@@ -0,0 +1,191 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.default = {
|
4
|
+
root: function (_a) {
|
5
|
+
var props = _a.props, state = _a.state;
|
6
|
+
return ({
|
7
|
+
class: [
|
8
|
+
// Display and Position
|
9
|
+
'inline-flex',
|
10
|
+
'relative',
|
11
|
+
// Shape
|
12
|
+
'w-full md:w-56',
|
13
|
+
'rounded-md',
|
14
|
+
'shadow-sm',
|
15
|
+
// Color and Background
|
16
|
+
'bg-surface-0',
|
17
|
+
// States
|
18
|
+
{
|
19
|
+
'ring-1 ring-inset ring-surface-300': !state.focused,
|
20
|
+
'ring-2 ring-inset ring-primary-500': state.focused,
|
21
|
+
},
|
22
|
+
// Misc
|
23
|
+
'cursor-default',
|
24
|
+
'select-none',
|
25
|
+
{ 'opacity-60': props.disabled, 'pointer-events-none': props.disabled },
|
26
|
+
],
|
27
|
+
});
|
28
|
+
},
|
29
|
+
label: function (_a) {
|
30
|
+
var props = _a.props;
|
31
|
+
return ({
|
32
|
+
class: [
|
33
|
+
//Font
|
34
|
+
'font-sans',
|
35
|
+
'leading-6',
|
36
|
+
'sm:text-sm',
|
37
|
+
// Flex & Alignment
|
38
|
+
' flex flex-auto',
|
39
|
+
// Sizing and Spacing
|
40
|
+
'w-[1%]',
|
41
|
+
'py-1.5 px-3',
|
42
|
+
//Shape
|
43
|
+
'rounded-none',
|
44
|
+
// Color and Background
|
45
|
+
'bg-transparent',
|
46
|
+
'border-0',
|
47
|
+
{
|
48
|
+
'text-surface-800/80': props.modelValue,
|
49
|
+
'text-surface-400': !props.modelValue,
|
50
|
+
},
|
51
|
+
'placeholder:text-surface-400',
|
52
|
+
// Transitions
|
53
|
+
'transition',
|
54
|
+
'duration-200',
|
55
|
+
// States
|
56
|
+
'focus:outline-none focus:shadow-none',
|
57
|
+
// Misc
|
58
|
+
'relative',
|
59
|
+
'cursor-pointer',
|
60
|
+
'overflow-hidden overflow-ellipsis',
|
61
|
+
'whitespace-nowrap',
|
62
|
+
'appearance-none',
|
63
|
+
],
|
64
|
+
});
|
65
|
+
},
|
66
|
+
dropdownbutton: {
|
67
|
+
class: [
|
68
|
+
//Font
|
69
|
+
'sm:text-sm',
|
70
|
+
// Flexbox
|
71
|
+
'flex items-center justify-center',
|
72
|
+
'shrink-0',
|
73
|
+
// Color and Background
|
74
|
+
'bg-transparent',
|
75
|
+
'text-surface-500',
|
76
|
+
// Size
|
77
|
+
'w-12',
|
78
|
+
// Shape
|
79
|
+
'rounded-tr-md',
|
80
|
+
'rounded-br-md',
|
81
|
+
],
|
82
|
+
},
|
83
|
+
panel: {
|
84
|
+
class: [
|
85
|
+
// Position
|
86
|
+
'absolute top-0 left-0',
|
87
|
+
'mt-2',
|
88
|
+
// Shape
|
89
|
+
'border-0',
|
90
|
+
'rounded-md',
|
91
|
+
'shadow-md',
|
92
|
+
// Color
|
93
|
+
'bg-surface-0',
|
94
|
+
'text-surface-800/80',
|
95
|
+
'ring-1 ring-inset ring-surface-300',
|
96
|
+
],
|
97
|
+
},
|
98
|
+
wrapper: {
|
99
|
+
class: [
|
100
|
+
// Sizing
|
101
|
+
'max-h-[200px]',
|
102
|
+
// Misc
|
103
|
+
'overflow-auto',
|
104
|
+
],
|
105
|
+
},
|
106
|
+
list: {
|
107
|
+
class: 'py-1 list-none mx-1.5',
|
108
|
+
},
|
109
|
+
item: function (_a) {
|
110
|
+
var context = _a.context;
|
111
|
+
return ({
|
112
|
+
class: [
|
113
|
+
// Font
|
114
|
+
'sm:text-sm',
|
115
|
+
'leading-none',
|
116
|
+
// Shape
|
117
|
+
'border-0',
|
118
|
+
'rounded-md',
|
119
|
+
// Spacing
|
120
|
+
'm-0',
|
121
|
+
// Colors
|
122
|
+
{
|
123
|
+
'text-surface-500/70': !context.focused && !context.active,
|
124
|
+
'text-surface-500/70 bg-surface-200': context.focused && !context.active,
|
125
|
+
'text-surface-900/80 bg-surface-50': context.focused && context.active,
|
126
|
+
'text-surface-900/80 bg-surface-50': !context.focused && context.active,
|
127
|
+
},
|
128
|
+
// Hover States
|
129
|
+
{
|
130
|
+
'hover:bg-surface-50': !context.active,
|
131
|
+
'hover:bg-surface-100 text-surface-900/80': context.active,
|
132
|
+
},
|
133
|
+
// Transitions
|
134
|
+
'transition-shadow',
|
135
|
+
'duration-200',
|
136
|
+
// Misc
|
137
|
+
'cursor-pointer',
|
138
|
+
'overflow-hidden',
|
139
|
+
'whitespace-nowrap',
|
140
|
+
],
|
141
|
+
});
|
142
|
+
},
|
143
|
+
content: {
|
144
|
+
class: [
|
145
|
+
'relative',
|
146
|
+
// Flexbox
|
147
|
+
'flex',
|
148
|
+
'items-center',
|
149
|
+
// Spacing
|
150
|
+
'py-2 px-4',
|
151
|
+
// Misc
|
152
|
+
'no-underline',
|
153
|
+
'overflow-hidden',
|
154
|
+
'cursor-pointer',
|
155
|
+
'select-none',
|
156
|
+
],
|
157
|
+
},
|
158
|
+
groupicon: {
|
159
|
+
class: [
|
160
|
+
// Alignment
|
161
|
+
'ml-auto',
|
162
|
+
],
|
163
|
+
},
|
164
|
+
sublist: {
|
165
|
+
class: [
|
166
|
+
// Size
|
167
|
+
'w-full sm:w-48',
|
168
|
+
// Spacing
|
169
|
+
'p-1.5',
|
170
|
+
'm-0',
|
171
|
+
'list-none',
|
172
|
+
// Shape
|
173
|
+
'shadow-none sm:shadow-md',
|
174
|
+
'border-0',
|
175
|
+
// Position
|
176
|
+
'static sm:absolute',
|
177
|
+
'z-10',
|
178
|
+
// Color
|
179
|
+
'bg-surface-0',
|
180
|
+
],
|
181
|
+
},
|
182
|
+
separator: {
|
183
|
+
class: 'border-t border-surface-200 my-1',
|
184
|
+
},
|
185
|
+
transition: {
|
186
|
+
enterFromClass: 'opacity-0 scale-y-[0.8]',
|
187
|
+
enterActiveClass: 'transition-[transform,opacity] duration-[120ms] ease-[cubic-bezier(0,0,0.2,1)]',
|
188
|
+
leaveActiveClass: 'transition-opacity duration-100 ease-linear',
|
189
|
+
leaveToClass: 'opacity-0',
|
190
|
+
},
|
191
|
+
};
|
@@ -0,0 +1,32 @@
|
|
1
|
+
declare namespace _default {
|
2
|
+
function button(buttonClass: any): {
|
3
|
+
class: any[];
|
4
|
+
'data-wv-section': string;
|
5
|
+
};
|
6
|
+
namespace icon {
|
7
|
+
let _class: string[];
|
8
|
+
export { _class as class };
|
9
|
+
}
|
10
|
+
let dialog: {
|
11
|
+
class: string;
|
12
|
+
'data-wv-name': string;
|
13
|
+
};
|
14
|
+
namespace root {
|
15
|
+
let _class_1: string;
|
16
|
+
export { _class_1 as class };
|
17
|
+
}
|
18
|
+
let header: {
|
19
|
+
class: string;
|
20
|
+
'data-wv-section': string;
|
21
|
+
};
|
22
|
+
let buttonsearch: {
|
23
|
+
'data-wv-section': string;
|
24
|
+
};
|
25
|
+
let buttonfilter: {
|
26
|
+
'data-wv-section': string;
|
27
|
+
};
|
28
|
+
let buttondownload: {
|
29
|
+
'data-wv-section': string;
|
30
|
+
};
|
31
|
+
}
|
32
|
+
export default _default;
|
@@ -0,0 +1,31 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.default = {
|
4
|
+
button: function (buttonClass) { return ({
|
5
|
+
'class': [buttonClass, 'w-max'],
|
6
|
+
'data-wv-section': 'changelog-button',
|
7
|
+
}); },
|
8
|
+
icon: {
|
9
|
+
class: ['text-2xl'],
|
10
|
+
},
|
11
|
+
dialog: {
|
12
|
+
'class': 'w-[800px] !z-50',
|
13
|
+
'data-wv-name': 'changelog-dialog',
|
14
|
+
},
|
15
|
+
root: {
|
16
|
+
class: 'flex flex-col gap-2 justify-between',
|
17
|
+
},
|
18
|
+
header: {
|
19
|
+
'class': 'flex justify-end gap-1 items-center',
|
20
|
+
'data-wv-section': 'changelog-dialog-header',
|
21
|
+
},
|
22
|
+
buttonsearch: {
|
23
|
+
'data-wv-section': 'changelog-dialog-button-search',
|
24
|
+
},
|
25
|
+
buttonfilter: {
|
26
|
+
'data-wv-section': 'changelog-dialog-button-filter',
|
27
|
+
},
|
28
|
+
buttondownload: {
|
29
|
+
'data-wv-section': 'changelog-dialog-button-download',
|
30
|
+
},
|
31
|
+
};
|
@@ -0,0 +1,81 @@
|
|
1
|
+
declare namespace _default {
|
2
|
+
namespace root {
|
3
|
+
let _class: string[];
|
4
|
+
export { _class as class };
|
5
|
+
}
|
6
|
+
function box({ props, context }: {
|
7
|
+
props: any;
|
8
|
+
context: any;
|
9
|
+
}): {
|
10
|
+
class: (string | {
|
11
|
+
'border-general-300': any;
|
12
|
+
'border-grayscale-900': boolean;
|
13
|
+
'bg-white': boolean;
|
14
|
+
'bg-general-50': any;
|
15
|
+
'bg-grayscale-900': boolean;
|
16
|
+
'bg-general-300': any;
|
17
|
+
'ring-8 ring-primary-400/[12%]'?: undefined;
|
18
|
+
'peer-focus-visible:ring-8 peer-focus-visible:ring-offset-0 peer-focus-visible:ring-primary-400/[8%]'?: undefined;
|
19
|
+
'peer-active:ring-8 peer-active:ring-offset-0 peer-active:ring-primary-400/[12%]'?: undefined;
|
20
|
+
'cursor-default bg-general-50 border-general-200'?: undefined;
|
21
|
+
'bg-general-200 border-general-200'?: undefined;
|
22
|
+
'[&_i]:bg-transparent'?: undefined;
|
23
|
+
'[&_i]:text-white'?: undefined;
|
24
|
+
'[&_i]:text-transparent'?: undefined;
|
25
|
+
} | {
|
26
|
+
'ring-8 ring-primary-400/[12%]': any;
|
27
|
+
'border-general-300'?: undefined;
|
28
|
+
'border-grayscale-900'?: undefined;
|
29
|
+
'bg-white'?: undefined;
|
30
|
+
'bg-general-50'?: undefined;
|
31
|
+
'bg-grayscale-900'?: undefined;
|
32
|
+
'bg-general-300'?: undefined;
|
33
|
+
'peer-focus-visible:ring-8 peer-focus-visible:ring-offset-0 peer-focus-visible:ring-primary-400/[8%]'?: undefined;
|
34
|
+
'peer-active:ring-8 peer-active:ring-offset-0 peer-active:ring-primary-400/[12%]'?: undefined;
|
35
|
+
'cursor-default bg-general-50 border-general-200'?: undefined;
|
36
|
+
'bg-general-200 border-general-200'?: undefined;
|
37
|
+
'[&_i]:bg-transparent'?: undefined;
|
38
|
+
'[&_i]:text-white'?: undefined;
|
39
|
+
'[&_i]:text-transparent'?: undefined;
|
40
|
+
} | {
|
41
|
+
'peer-focus-visible:ring-8 peer-focus-visible:ring-offset-0 peer-focus-visible:ring-primary-400/[8%]': boolean;
|
42
|
+
'peer-active:ring-8 peer-active:ring-offset-0 peer-active:ring-primary-400/[12%]': boolean;
|
43
|
+
'cursor-default bg-general-50 border-general-200': boolean;
|
44
|
+
'bg-general-200 border-general-200': any;
|
45
|
+
'border-general-300'?: undefined;
|
46
|
+
'border-grayscale-900'?: undefined;
|
47
|
+
'bg-white'?: undefined;
|
48
|
+
'bg-general-50'?: undefined;
|
49
|
+
'bg-grayscale-900'?: undefined;
|
50
|
+
'bg-general-300'?: undefined;
|
51
|
+
'ring-8 ring-primary-400/[12%]'?: undefined;
|
52
|
+
'[&_i]:bg-transparent'?: undefined;
|
53
|
+
'[&_i]:text-white'?: undefined;
|
54
|
+
'[&_i]:text-transparent'?: undefined;
|
55
|
+
} | {
|
56
|
+
'[&_i]:bg-transparent': boolean;
|
57
|
+
'[&_i]:text-white': any;
|
58
|
+
'[&_i]:text-transparent': boolean;
|
59
|
+
'border-general-300'?: undefined;
|
60
|
+
'border-grayscale-900'?: undefined;
|
61
|
+
'bg-white'?: undefined;
|
62
|
+
'bg-general-50'?: undefined;
|
63
|
+
'bg-grayscale-900'?: undefined;
|
64
|
+
'bg-general-300'?: undefined;
|
65
|
+
'ring-8 ring-primary-400/[12%]'?: undefined;
|
66
|
+
'peer-focus-visible:ring-8 peer-focus-visible:ring-offset-0 peer-focus-visible:ring-primary-400/[8%]'?: undefined;
|
67
|
+
'peer-active:ring-8 peer-active:ring-offset-0 peer-active:ring-primary-400/[12%]'?: undefined;
|
68
|
+
'cursor-default bg-general-50 border-general-200'?: undefined;
|
69
|
+
'bg-general-200 border-general-200'?: undefined;
|
70
|
+
})[];
|
71
|
+
};
|
72
|
+
namespace input {
|
73
|
+
let _class_1: string[];
|
74
|
+
export { _class_1 as class };
|
75
|
+
}
|
76
|
+
namespace icon {
|
77
|
+
let _class_2: string[];
|
78
|
+
export { _class_2 as class };
|
79
|
+
}
|
80
|
+
}
|
81
|
+
export default _default;
|