@fewangsit/wangsvue-presets 1.0.81 → 1.0.82-alpha.1
Sign up to get free protection for your applications and to get access to all the features.
- package/fixedasset/accordion/index.d.ts +37 -0
- package/fixedasset/accordion/index.js +70 -0
- package/fixedasset/autocomplete/index.d.ts +188 -0
- package/fixedasset/autocomplete/index.js +247 -0
- package/fixedasset/avatar/index.d.ts +85 -0
- package/fixedasset/avatar/index.js +44 -0
- package/fixedasset/avatargroup/index.d.ts +8 -0
- package/fixedasset/avatargroup/index.js +9 -0
- package/fixedasset/badge/index.d.ts +47 -0
- package/fixedasset/badge/index.js +60 -0
- package/fixedasset/badgedirective/index.d.ts +50 -0
- package/fixedasset/badgedirective/index.js +49 -0
- package/fixedasset/badgegroup/index.d.ts +45 -0
- package/fixedasset/badgegroup/index.js +29 -0
- package/fixedasset/breadcrumb/index.d.ts +25 -0
- package/fixedasset/breadcrumb/index.js +31 -0
- package/fixedasset/button/index.d.ts +46 -0
- package/fixedasset/button/index.js +423 -0
- package/fixedasset/buttonbulkaction/index.d.ts +32 -0
- package/fixedasset/buttonbulkaction/index.js +35 -0
- package/fixedasset/buttondownload/index.d.ts +12 -0
- package/fixedasset/buttondownload/index.js +13 -0
- package/fixedasset/buttonfilter/index.d.ts +12 -0
- package/fixedasset/buttonfilter/index.js +13 -0
- package/fixedasset/buttonradio/index.d.ts +58 -0
- package/fixedasset/buttonradio/index.js +109 -0
- package/fixedasset/buttonsearch/index.d.ts +65 -0
- package/fixedasset/buttonsearch/index.js +62 -0
- package/fixedasset/calendar/index.d.ts +267 -0
- package/fixedasset/calendar/index.js +610 -0
- package/fixedasset/card/index.d.ts +31 -0
- package/fixedasset/card/index.js +32 -0
- package/fixedasset/carousel/index.d.ts +57 -0
- package/fixedasset/carousel/index.js +129 -0
- package/fixedasset/cascadeselect/index.d.ts +82 -0
- package/fixedasset/cascadeselect/index.js +191 -0
- package/fixedasset/changelog/index.d.ts +32 -0
- package/fixedasset/changelog/index.js +31 -0
- package/fixedasset/checkbox/index.d.ts +81 -0
- package/fixedasset/checkbox/index.js +107 -0
- package/fixedasset/chip/index.d.ts +23 -0
- package/fixedasset/chip/index.js +40 -0
- package/fixedasset/chips/index.d.ts +38 -0
- package/fixedasset/chips/index.js +98 -0
- package/fixedasset/colorpicker/index.d.ts +51 -0
- package/fixedasset/colorpicker/index.js +118 -0
- package/fixedasset/colors.config.json +77 -0
- package/fixedasset/confirmpopup/index.d.ts +39 -0
- package/fixedasset/confirmpopup/index.js +104 -0
- package/fixedasset/contextmenu/index.d.ts +63 -0
- package/fixedasset/contextmenu/index.js +113 -0
- package/fixedasset/datatable/index.d.ts +286 -0
- package/fixedasset/datatable/index.js +253 -0
- package/fixedasset/dataview/index.d.ts +15 -0
- package/fixedasset/dataview/index.js +36 -0
- package/fixedasset/dataviewlayoutoptions/index.d.ts +13 -0
- package/fixedasset/dataviewlayoutoptions/index.js +58 -0
- package/fixedasset/dialog/index.d.ts +87 -0
- package/fixedasset/dialog/index.js +220 -0
- package/fixedasset/dialogconfirm/index.d.ts +42 -0
- package/fixedasset/dialogconfirm/index.js +45 -0
- package/fixedasset/dialogform/index.d.ts +71 -0
- package/fixedasset/dialogform/index.js +68 -0
- package/fixedasset/divider/index.d.ts +192 -0
- package/fixedasset/divider/index.js +64 -0
- package/fixedasset/dock/index.d.ts +51 -0
- package/fixedasset/dock/index.js +92 -0
- package/fixedasset/dropdown/index.d.ts +136 -0
- package/fixedasset/dropdown/index.js +207 -0
- package/fixedasset/fieldset/index.d.ts +94 -0
- package/fixedasset/fieldset/index.js +87 -0
- package/fixedasset/fileupload/index.d.ts +29 -0
- package/fixedasset/fileupload/index.js +31 -0
- package/fixedasset/form/index.d.ts +40 -0
- package/fixedasset/form/index.js +44 -0
- package/fixedasset/global.d.ts +8 -0
- package/fixedasset/global.js +14 -0
- package/fixedasset/image/index.d.ts +88 -0
- package/fixedasset/image/index.js +136 -0
- package/fixedasset/index.d.ts +190 -0
- package/fixedasset/index.js +201 -0
- package/fixedasset/index.system.js +76 -0
- package/fixedasset/inlinemessage/index.d.ts +20 -0
- package/fixedasset/inlinemessage/index.js +30 -0
- package/fixedasset/inputbadge/index.d.ts +57 -0
- package/fixedasset/inputbadge/index.js +57 -0
- package/fixedasset/inputcurrency/index.d.ts +27 -0
- package/fixedasset/inputcurrency/index.js +22 -0
- package/fixedasset/inputgroup/index.d.ts +9 -0
- package/fixedasset/inputgroup/index.js +37 -0
- package/fixedasset/inputgroupaddon/index.d.ts +17 -0
- package/fixedasset/inputgroupaddon/index.js +34 -0
- package/fixedasset/inputmask/index.d.ts +11 -0
- package/fixedasset/inputmask/index.js +29 -0
- package/fixedasset/inputnumber/index.d.ts +46 -0
- package/fixedasset/inputnumber/index.js +58 -0
- package/fixedasset/inputotp/index.d.ts +137 -0
- package/fixedasset/inputotp/index.js +63 -0
- package/fixedasset/inputphonenumber/index.d.ts +37 -0
- package/fixedasset/inputphonenumber/index.js +34 -0
- package/fixedasset/inputswitch/index.d.ts +67 -0
- package/fixedasset/inputswitch/index.js +100 -0
- package/fixedasset/inputtext/index.d.ts +18 -0
- package/fixedasset/inputtext/index.js +28 -0
- package/fixedasset/knob/index.d.ts +22 -0
- package/fixedasset/knob/index.js +45 -0
- package/fixedasset/listbox/index.d.ts +79 -0
- package/fixedasset/listbox/index.js +138 -0
- package/fixedasset/megamenu/index.d.ts +105 -0
- package/fixedasset/megamenu/index.js +202 -0
- package/fixedasset/menu/index.d.ts +49 -0
- package/fixedasset/menu/index.js +110 -0
- package/fixedasset/menubar/index.d.ts +85 -0
- package/fixedasset/menubar/index.js +172 -0
- package/fixedasset/message/index.d.ts +41 -0
- package/fixedasset/message/index.js +85 -0
- package/fixedasset/multiselect/index.d.ts +243 -0
- package/fixedasset/multiselect/index.js +328 -0
- package/fixedasset/orderlist/index.d.ts +99 -0
- package/fixedasset/orderlist/index.js +245 -0
- package/fixedasset/organizationchart/index.d.ts +71 -0
- package/fixedasset/organizationchart/index.js +129 -0
- package/fixedasset/overlaypanel/index.d.ts +17 -0
- package/fixedasset/overlaypanel/index.js +34 -0
- package/fixedasset/paginator/index.d.ts +210 -0
- package/fixedasset/paginator/index.js +474 -0
- package/fixedasset/panel/index.d.ts +43 -0
- package/fixedasset/panel/index.js +85 -0
- package/fixedasset/panelmenu/index.d.ts +76 -0
- package/fixedasset/panelmenu/index.js +124 -0
- package/fixedasset/password/index.d.ts +45 -0
- package/fixedasset/password/index.js +96 -0
- package/fixedasset/picklist/index.d.ts +245 -0
- package/fixedasset/picklist/index.js +613 -0
- package/fixedasset/progressbar/index.d.ts +117 -0
- package/fixedasset/progressbar/index.js +102 -0
- package/fixedasset/rating/index.d.ts +47 -0
- package/fixedasset/rating/index.js +88 -0
- package/fixedasset/ripple/index.d.ts +8 -0
- package/fixedasset/ripple/index.js +8 -0
- package/fixedasset/scrollpanel/index.d.ts +19 -0
- package/fixedasset/scrollpanel/index.js +62 -0
- package/fixedasset/scrolltop/index.d.ts +50 -0
- package/fixedasset/scrolltop/index.js +42 -0
- package/fixedasset/selectbutton/index.d.ts +35 -0
- package/fixedasset/selectbutton/index.js +60 -0
- package/fixedasset/sidebar/index.d.ts +66 -0
- package/fixedasset/sidebar/index.js +145 -0
- package/fixedasset/skeleton/index.d.ts +16 -0
- package/fixedasset/skeleton/index.js +22 -0
- package/fixedasset/slider/index.d.ts +55 -0
- package/fixedasset/slider/index.js +126 -0
- package/fixedasset/splitbutton/index.d.ts +6690 -0
- package/fixedasset/splitbutton/index.js +786 -0
- package/fixedasset/steps/index.d.ts +108 -0
- package/fixedasset/steps/index.js +119 -0
- package/fixedasset/style.css +5888 -0
- package/fixedasset/tabmenu/index.d.ts +57 -0
- package/fixedasset/tabmenu/index.js +75 -0
- package/fixedasset/tabview/index.d.ts +67 -0
- package/fixedasset/tabview/index.js +148 -0
- package/fixedasset/tag/index.d.ts +32 -0
- package/fixedasset/tag/index.js +37 -0
- package/fixedasset/terminal/index.d.ts +27 -0
- package/fixedasset/terminal/index.js +55 -0
- package/fixedasset/textarea/index.d.ts +12 -0
- package/fixedasset/textarea/index.js +51 -0
- package/fixedasset/tieredmenu/index.d.ts +56 -0
- package/fixedasset/tieredmenu/index.js +108 -0
- package/fixedasset/timeline/index.d.ts +53 -0
- package/fixedasset/timeline/index.js +83 -0
- package/fixedasset/toast/index.d.ts +61 -0
- package/fixedasset/toast/index.js +95 -0
- package/fixedasset/togglebutton/index.d.ts +42 -0
- package/fixedasset/togglebutton/index.js +77 -0
- package/fixedasset/toolbar/index.d.ts +19 -0
- package/fixedasset/toolbar/index.js +29 -0
- package/fixedasset/tooltip/index.d.ts +22 -0
- package/fixedasset/tooltip/index.js +42 -0
- package/fixedasset/tree/index.d.ts +117 -0
- package/fixedasset/tree/index.js +256 -0
- package/fixedasset/treeselect/index.d.ts +158 -0
- package/fixedasset/treeselect/index.js +338 -0
- package/fixedasset/tristatecheckbox/index.d.ts +49 -0
- package/fixedasset/tristatecheckbox/index.js +106 -0
- package/fixedasset/validatormessage/index.d.ts +8 -0
- package/fixedasset/validatormessage/index.js +9 -0
- package/fixedasset/workcalendar/index.d.ts +27 -0
- package/fixedasset/workcalendar/index.js +36 -0
- package/index.d.ts +1 -0
- package/index.js +3 -1
- package/package.json +1 -1
@@ -0,0 +1,43 @@
|
|
1
|
+
declare namespace _default {
|
2
|
+
namespace root {
|
3
|
+
let _class: string;
|
4
|
+
export { _class as class };
|
5
|
+
}
|
6
|
+
function header({ props }: {
|
7
|
+
props: any;
|
8
|
+
}): {
|
9
|
+
class: (string | {
|
10
|
+
'px-5 md:px-6 py-5': boolean;
|
11
|
+
'py-3 px-5 md:px-6': any;
|
12
|
+
})[];
|
13
|
+
};
|
14
|
+
namespace title {
|
15
|
+
let _class_1: string;
|
16
|
+
export { _class_1 as class };
|
17
|
+
}
|
18
|
+
namespace toggler {
|
19
|
+
let _class_2: string[];
|
20
|
+
export { _class_2 as class };
|
21
|
+
}
|
22
|
+
namespace togglerIcon {
|
23
|
+
let _class_3: string;
|
24
|
+
export { _class_3 as class };
|
25
|
+
}
|
26
|
+
namespace content {
|
27
|
+
let _class_4: string[];
|
28
|
+
export { _class_4 as class };
|
29
|
+
}
|
30
|
+
namespace footer {
|
31
|
+
let _class_5: string[];
|
32
|
+
export { _class_5 as class };
|
33
|
+
}
|
34
|
+
namespace transition {
|
35
|
+
let enterFromClass: string;
|
36
|
+
let enterActiveClass: string;
|
37
|
+
let enterToClass: string;
|
38
|
+
let leaveFromClass: string;
|
39
|
+
let leaveActiveClass: string;
|
40
|
+
let leaveToClass: string;
|
41
|
+
}
|
42
|
+
}
|
43
|
+
export default _default;
|
@@ -0,0 +1,85 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.default = {
|
4
|
+
root: {
|
5
|
+
class: 'shadow-md rounded-lg',
|
6
|
+
},
|
7
|
+
header: function (_a) {
|
8
|
+
var props = _a.props;
|
9
|
+
return ({
|
10
|
+
class: [
|
11
|
+
// Alignments
|
12
|
+
'flex items-center justify-between',
|
13
|
+
// Colors
|
14
|
+
'text-surface-700/80',
|
15
|
+
'bg-surface-0',
|
16
|
+
'border-b border-surface-200',
|
17
|
+
//Shape
|
18
|
+
'rounded-tl-lg rounded-tr-lg',
|
19
|
+
// Conditional Spacing
|
20
|
+
{
|
21
|
+
'px-5 md:px-6 py-5': !props.toggleable,
|
22
|
+
'py-3 px-5 md:px-6': props.toggleable,
|
23
|
+
},
|
24
|
+
],
|
25
|
+
});
|
26
|
+
},
|
27
|
+
title: {
|
28
|
+
class: 'leading-none font-medium',
|
29
|
+
},
|
30
|
+
toggler: {
|
31
|
+
class: [
|
32
|
+
// Alignments
|
33
|
+
'inline-flex items-center justify-center',
|
34
|
+
// Sized
|
35
|
+
'w-8 h-8',
|
36
|
+
//Shape
|
37
|
+
'border-0 rounded-full',
|
38
|
+
//Color
|
39
|
+
'bg-transparent',
|
40
|
+
'text-surface-600',
|
41
|
+
// States
|
42
|
+
'hover:text-surface-900',
|
43
|
+
'hover:bg-surface-50',
|
44
|
+
'focus:outline-none focus:outline-offset-0 focus-visible:ring-2 focus-visible:ring-primary-600 focus-visible:ring-inset',
|
45
|
+
// Transitions
|
46
|
+
'transition duration-200 ease-in-out',
|
47
|
+
// Misc
|
48
|
+
'overflow-hidden relative no-underline',
|
49
|
+
],
|
50
|
+
},
|
51
|
+
togglerIcon: {
|
52
|
+
class: 'inline-block',
|
53
|
+
},
|
54
|
+
content: {
|
55
|
+
class: [
|
56
|
+
// Spacing
|
57
|
+
'py-6 px-5 md:px-6',
|
58
|
+
// Shape
|
59
|
+
'last:rounded-br-lg last:rounded-bl-lg',
|
60
|
+
//Color
|
61
|
+
'bg-surface-0',
|
62
|
+
'text-surface-700/80',
|
63
|
+
],
|
64
|
+
},
|
65
|
+
footer: {
|
66
|
+
class: [
|
67
|
+
// Spacing
|
68
|
+
'py-6 px-5 md:px-6',
|
69
|
+
//Shape
|
70
|
+
'rounded-bl-lg rounded-br-lg',
|
71
|
+
// Color
|
72
|
+
'bg-surface-0',
|
73
|
+
'text-surface-600',
|
74
|
+
'border-t border-surface-200',
|
75
|
+
],
|
76
|
+
},
|
77
|
+
transition: {
|
78
|
+
enterFromClass: 'max-h-0',
|
79
|
+
enterActiveClass: 'overflow-hidden transition-[max-height] duration-1000 ease-[cubic-bezier(0.42,0,0.58,1)]',
|
80
|
+
enterToClass: 'max-h-[1000px]',
|
81
|
+
leaveFromClass: 'max-h-[1000px]',
|
82
|
+
leaveActiveClass: 'overflow-hidden transition-[max-height] duration-[450ms] ease-[cubic-bezier(0,1,0,1)]',
|
83
|
+
leaveToClass: 'max-h-0',
|
84
|
+
},
|
85
|
+
};
|
@@ -0,0 +1,76 @@
|
|
1
|
+
declare namespace _default {
|
2
|
+
namespace panel {
|
3
|
+
let _class: string;
|
4
|
+
export { _class as class };
|
5
|
+
}
|
6
|
+
namespace header {
|
7
|
+
let _class_1: string[];
|
8
|
+
export { _class_1 as class };
|
9
|
+
}
|
10
|
+
function headercontent({ context, instance }: {
|
11
|
+
context: any;
|
12
|
+
instance: any;
|
13
|
+
}): {
|
14
|
+
class: (string | {
|
15
|
+
'rounded-br-md rounded-bl-md': boolean;
|
16
|
+
'rounded-br-0 rounded-bl-0': boolean;
|
17
|
+
'text-surface-900 ark:text-surface-0'?: undefined;
|
18
|
+
} | {
|
19
|
+
'text-surface-900 ark:text-surface-0': any;
|
20
|
+
'rounded-br-md rounded-bl-md'?: undefined;
|
21
|
+
'rounded-br-0 rounded-bl-0'?: undefined;
|
22
|
+
})[];
|
23
|
+
};
|
24
|
+
namespace headeraction {
|
25
|
+
let _class_2: string[];
|
26
|
+
export { _class_2 as class };
|
27
|
+
}
|
28
|
+
namespace headerlabel {
|
29
|
+
let _class_3: string;
|
30
|
+
export { _class_3 as class };
|
31
|
+
}
|
32
|
+
namespace headerIcon {
|
33
|
+
let _class_4: string;
|
34
|
+
export { _class_4 as class };
|
35
|
+
}
|
36
|
+
namespace submenuicon {
|
37
|
+
let _class_5: string;
|
38
|
+
export { _class_5 as class };
|
39
|
+
}
|
40
|
+
namespace menucontent {
|
41
|
+
let _class_6: string[];
|
42
|
+
export { _class_6 as class };
|
43
|
+
}
|
44
|
+
namespace menu {
|
45
|
+
let _class_7: string[];
|
46
|
+
export { _class_7 as class };
|
47
|
+
}
|
48
|
+
namespace content {
|
49
|
+
let _class_8: string[];
|
50
|
+
export { _class_8 as class };
|
51
|
+
}
|
52
|
+
function action({ context }: {
|
53
|
+
context: any;
|
54
|
+
}): {
|
55
|
+
class: (string | {
|
56
|
+
'bg-surface-200 text-surface-700/80': any;
|
57
|
+
})[];
|
58
|
+
};
|
59
|
+
namespace icon {
|
60
|
+
let _class_9: string;
|
61
|
+
export { _class_9 as class };
|
62
|
+
}
|
63
|
+
namespace submenu {
|
64
|
+
let _class_10: string;
|
65
|
+
export { _class_10 as class };
|
66
|
+
}
|
67
|
+
namespace transition {
|
68
|
+
let enterFromClass: string;
|
69
|
+
let enterActiveClass: string;
|
70
|
+
let enterToClass: string;
|
71
|
+
let leaveFromClass: string;
|
72
|
+
let leaveActiveClass: string;
|
73
|
+
let leaveToClass: string;
|
74
|
+
}
|
75
|
+
}
|
76
|
+
export default _default;
|
@@ -0,0 +1,124 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.default = {
|
4
|
+
panel: {
|
5
|
+
class: 'mb-1',
|
6
|
+
},
|
7
|
+
header: {
|
8
|
+
class: [
|
9
|
+
'rounded-md',
|
10
|
+
'outline-none',
|
11
|
+
'focus-visible:outline-none focus-visible:outline-offset-0 focus-visible:ring focus-visible:ring-primary-400/50',
|
12
|
+
],
|
13
|
+
},
|
14
|
+
headercontent: function (_a) {
|
15
|
+
var _b, _c;
|
16
|
+
var context = _a.context, instance = _a.instance;
|
17
|
+
return ({
|
18
|
+
class: [
|
19
|
+
// Shape
|
20
|
+
'rounded-t-md',
|
21
|
+
{
|
22
|
+
'rounded-br-md rounded-bl-md': !context.active || ((_b = instance.activeItem) === null || _b === void 0 ? void 0 : _b.items) === undefined,
|
23
|
+
'rounded-br-0 rounded-bl-0': context.active && ((_c = instance.activeItem) === null || _c === void 0 ? void 0 : _c.items) !== undefined,
|
24
|
+
},
|
25
|
+
// Color
|
26
|
+
'border border-surface-200',
|
27
|
+
'bg-surface-0',
|
28
|
+
'text-surface-600/80',
|
29
|
+
{ 'text-surface-900 ark:text-surface-0': context.active },
|
30
|
+
// Transition
|
31
|
+
'transition duration-200 ease-in-out',
|
32
|
+
'transition-shadow duration-200',
|
33
|
+
],
|
34
|
+
});
|
35
|
+
},
|
36
|
+
headeraction: {
|
37
|
+
class: [
|
38
|
+
'relative',
|
39
|
+
// Font
|
40
|
+
'font-semibold',
|
41
|
+
'text-sm',
|
42
|
+
'leading-none',
|
43
|
+
// Flex & Alignments
|
44
|
+
'flex items-center',
|
45
|
+
// Spacing
|
46
|
+
'px-3 py-2',
|
47
|
+
// Misc
|
48
|
+
'select-none cursor-pointer no-underline',
|
49
|
+
],
|
50
|
+
},
|
51
|
+
headerlabel: {
|
52
|
+
class: 'leading-none',
|
53
|
+
},
|
54
|
+
headerIcon: {
|
55
|
+
class: 'mr-2 text-sm',
|
56
|
+
},
|
57
|
+
submenuicon: {
|
58
|
+
class: 'ml-auto order-last text-sm',
|
59
|
+
},
|
60
|
+
menucontent: {
|
61
|
+
class: [
|
62
|
+
// Spacing
|
63
|
+
'py-1',
|
64
|
+
// Shape
|
65
|
+
'border border-t-0',
|
66
|
+
'rounded-t-none rounded-br-md rounded-bl-md',
|
67
|
+
// Color
|
68
|
+
'text-surface-700/80',
|
69
|
+
'bg-surface-0',
|
70
|
+
'border-surface-200',
|
71
|
+
],
|
72
|
+
},
|
73
|
+
menu: {
|
74
|
+
class: ['outline-none', 'm-0 p-0 list-none'],
|
75
|
+
},
|
76
|
+
content: {
|
77
|
+
class: [
|
78
|
+
// Shape
|
79
|
+
'border-none rounded-none',
|
80
|
+
// Color
|
81
|
+
'text-surface-700/80',
|
82
|
+
// Transition
|
83
|
+
'transition-shadow duration-200',
|
84
|
+
],
|
85
|
+
},
|
86
|
+
action: function (_a) {
|
87
|
+
var context = _a.context;
|
88
|
+
return ({
|
89
|
+
class: [
|
90
|
+
'relative',
|
91
|
+
// Font
|
92
|
+
'text-sm leading-none',
|
93
|
+
// Flex & Alignments
|
94
|
+
'flex items-center',
|
95
|
+
// Spacing
|
96
|
+
'py-2 px-3',
|
97
|
+
// Color
|
98
|
+
'text-surface-700/80',
|
99
|
+
// States
|
100
|
+
'hover:bg-surface-100/80 hover:text-surface-700',
|
101
|
+
{
|
102
|
+
'bg-surface-200 text-surface-700/80': context.focused,
|
103
|
+
},
|
104
|
+
// Misc
|
105
|
+
'cursor-pointer no-underline',
|
106
|
+
'select-none overflow-hidden',
|
107
|
+
],
|
108
|
+
});
|
109
|
+
},
|
110
|
+
icon: {
|
111
|
+
class: 'mr-2',
|
112
|
+
},
|
113
|
+
submenu: {
|
114
|
+
class: 'p-0 pl-4 m-0 list-none',
|
115
|
+
},
|
116
|
+
transition: {
|
117
|
+
enterFromClass: 'max-h-0',
|
118
|
+
enterActiveClass: 'overflow-hidden transition-[max-height] duration-1000 ease-[cubic-bezier(0.42,0,0.58,1)]',
|
119
|
+
enterToClass: 'max-h-[1000px]',
|
120
|
+
leaveFromClass: 'max-h-[1000px]',
|
121
|
+
leaveActiveClass: 'overflow-hidden transition-[max-height] duration-[450ms] ease-[cubic-bezier(0,1,0,1)]',
|
122
|
+
leaveToClass: 'max-h-0',
|
123
|
+
},
|
124
|
+
};
|
@@ -0,0 +1,45 @@
|
|
1
|
+
declare namespace _default {
|
2
|
+
function root({ props }: {
|
3
|
+
props: any;
|
4
|
+
}): {
|
5
|
+
class: (string | {
|
6
|
+
'opacity-60 select-none pointer-events-none cursor-default': any;
|
7
|
+
})[];
|
8
|
+
};
|
9
|
+
namespace input {
|
10
|
+
let _class: string[];
|
11
|
+
export { _class as class };
|
12
|
+
}
|
13
|
+
namespace panel {
|
14
|
+
let _class_1: string[];
|
15
|
+
export { _class_1 as class };
|
16
|
+
}
|
17
|
+
namespace meter {
|
18
|
+
let _class_2: string[];
|
19
|
+
export { _class_2 as class };
|
20
|
+
}
|
21
|
+
function meterlabel({ instance }: {
|
22
|
+
instance: any;
|
23
|
+
}): {
|
24
|
+
class: (string | {
|
25
|
+
'bg-red-500/50': boolean;
|
26
|
+
'bg-orange-500/50': boolean;
|
27
|
+
'bg-green-500/50': boolean;
|
28
|
+
})[];
|
29
|
+
};
|
30
|
+
namespace showicon {
|
31
|
+
let _class_3: string[];
|
32
|
+
export { _class_3 as class };
|
33
|
+
}
|
34
|
+
namespace hideicon {
|
35
|
+
let _class_4: string[];
|
36
|
+
export { _class_4 as class };
|
37
|
+
}
|
38
|
+
namespace transition {
|
39
|
+
let enterFromClass: string;
|
40
|
+
let enterActiveClass: string;
|
41
|
+
let leaveActiveClass: string;
|
42
|
+
let leaveToClass: string;
|
43
|
+
}
|
44
|
+
}
|
45
|
+
export default _default;
|
@@ -0,0 +1,96 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.default = {
|
4
|
+
root: function (_a) {
|
5
|
+
var props = _a.props;
|
6
|
+
return ({
|
7
|
+
class: [
|
8
|
+
'w-full',
|
9
|
+
'inline-flex relative',
|
10
|
+
// 'border-[0.5px] border-general-200 rounded',
|
11
|
+
'text-general-800',
|
12
|
+
{
|
13
|
+
'opacity-60 select-none pointer-events-none cursor-default': props.disabled,
|
14
|
+
},
|
15
|
+
],
|
16
|
+
});
|
17
|
+
},
|
18
|
+
input: {
|
19
|
+
class: [
|
20
|
+
'!bg-primary-500',
|
21
|
+
'placeholder:!font-normal',
|
22
|
+
// 'bg-white text-general-800 placeholder:text-general-200 placeholder:font-light',
|
23
|
+
// 'w-full h-full !max-h-[43px]',
|
24
|
+
// 'py-1 px-3 items-center space-x-1',
|
25
|
+
// 'flex flex-shrink-0 self-stretch',
|
26
|
+
// 'text-xs leading-[133.333%] tracking-[0.24px]',
|
27
|
+
// 'rounded shadow-sm',
|
28
|
+
// 'appearance-none outline-none focus:ring-primary-500',
|
29
|
+
],
|
30
|
+
},
|
31
|
+
panel: {
|
32
|
+
class: [
|
33
|
+
// Spacing
|
34
|
+
'p-3',
|
35
|
+
// Shape
|
36
|
+
'border-0',
|
37
|
+
'shadow-md rounded-md',
|
38
|
+
// Colors
|
39
|
+
'bg-white',
|
40
|
+
'text-general-800',
|
41
|
+
'',
|
42
|
+
],
|
43
|
+
},
|
44
|
+
meter: {
|
45
|
+
class: [
|
46
|
+
// Position and Overflow
|
47
|
+
'overflow-hidden',
|
48
|
+
'relative',
|
49
|
+
// Shape and Size
|
50
|
+
'border-0',
|
51
|
+
'h-2',
|
52
|
+
'rounded-md',
|
53
|
+
// Spacing
|
54
|
+
'mb-2',
|
55
|
+
// Colors
|
56
|
+
'bg-surface-100',
|
57
|
+
],
|
58
|
+
},
|
59
|
+
meterlabel: function (_a) {
|
60
|
+
var _b, _c, _d;
|
61
|
+
var instance = _a.instance;
|
62
|
+
return ({
|
63
|
+
class: [
|
64
|
+
// Size
|
65
|
+
'h-full',
|
66
|
+
// Colors
|
67
|
+
{
|
68
|
+
'bg-red-500/50': ((_b = instance === null || instance === void 0 ? void 0 : instance.meter) === null || _b === void 0 ? void 0 : _b.strength) == 'weak',
|
69
|
+
'bg-orange-500/50': ((_c = instance === null || instance === void 0 ? void 0 : instance.meter) === null || _c === void 0 ? void 0 : _c.strength) == 'medium',
|
70
|
+
'bg-green-500/50': ((_d = instance === null || instance === void 0 ? void 0 : instance.meter) === null || _d === void 0 ? void 0 : _d.strength) == 'strong',
|
71
|
+
},
|
72
|
+
// Transitions
|
73
|
+
'transition-all duration-1000 ease-in-out',
|
74
|
+
],
|
75
|
+
});
|
76
|
+
},
|
77
|
+
showicon: {
|
78
|
+
class: [
|
79
|
+
'absolute top-[54%] right-3 -mt-2',
|
80
|
+
'text-general-200',
|
81
|
+
'focus-visible:text-general-500 hover:text-general-500',
|
82
|
+
],
|
83
|
+
},
|
84
|
+
hideicon: {
|
85
|
+
class: [
|
86
|
+
'absolute top-[54%] right-3 -mt-2',
|
87
|
+
'text-general-200',
|
88
|
+
],
|
89
|
+
},
|
90
|
+
transition: {
|
91
|
+
enterFromClass: 'opacity-0 scale-y-[0.8]',
|
92
|
+
enterActiveClass: 'transition-[transform,opacity] duration-[120ms] ease-[cubic-bezier(0,0,0.2,1)]',
|
93
|
+
leaveActiveClass: 'transition-opacity duration-100 ease-linear',
|
94
|
+
leaveToClass: 'opacity-0',
|
95
|
+
},
|
96
|
+
};
|