@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,107 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.default = {
|
4
|
+
root: {
|
5
|
+
class: [
|
6
|
+
'relative',
|
7
|
+
'w-4 h-4',
|
8
|
+
'shrink-0',
|
9
|
+
// Alignment
|
10
|
+
'inline-flex',
|
11
|
+
'align-bottom',
|
12
|
+
// Transitions
|
13
|
+
'transition-all',
|
14
|
+
'duration-200',
|
15
|
+
],
|
16
|
+
},
|
17
|
+
box: function (_a) {
|
18
|
+
var props = _a.props, context = _a.context;
|
19
|
+
return ({
|
20
|
+
class: [
|
21
|
+
// Alignment
|
22
|
+
'flex',
|
23
|
+
'items-center',
|
24
|
+
'justify-center',
|
25
|
+
// Size
|
26
|
+
'w-full',
|
27
|
+
'h-full',
|
28
|
+
// Shape
|
29
|
+
'rounded',
|
30
|
+
'border-2',
|
31
|
+
// Colors
|
32
|
+
'text-white',
|
33
|
+
{
|
34
|
+
'border-general-300': props.disabled,
|
35
|
+
'border-grayscale-900': !props.disabled,
|
36
|
+
'bg-white': !context.checked && !props.disabled,
|
37
|
+
'bg-general-50': !context.checked && props.disabled,
|
38
|
+
'bg-grayscale-900': context.checked && !props.disabled,
|
39
|
+
'bg-general-300': context.checked && props.disabled,
|
40
|
+
},
|
41
|
+
{
|
42
|
+
'ring-8 ring-primary-400/[12%]': !props.disabled && context.focused,
|
43
|
+
},
|
44
|
+
// States
|
45
|
+
{
|
46
|
+
'peer-focus-visible:ring-8 peer-focus-visible:ring-offset-0 peer-focus-visible:ring-primary-400/[8%]': !props.disabled,
|
47
|
+
'peer-active:ring-8 peer-active:ring-offset-0 peer-active:ring-primary-400/[12%]': !props.disabled,
|
48
|
+
'cursor-default bg-general-50 border-general-200': props.disabled && !context.checked,
|
49
|
+
'bg-general-200 border-general-200': props.disabled && context.checked,
|
50
|
+
},
|
51
|
+
// Icon state
|
52
|
+
{
|
53
|
+
'[&_i]:bg-transparent': props.disabled && !context.checked,
|
54
|
+
'[&_i]:text-white': context.checked,
|
55
|
+
'[&_i]:text-transparent': !context.checked,
|
56
|
+
},
|
57
|
+
// Transitions
|
58
|
+
'transition-all',
|
59
|
+
'duration-200',
|
60
|
+
],
|
61
|
+
});
|
62
|
+
},
|
63
|
+
input: {
|
64
|
+
class: [
|
65
|
+
'peer',
|
66
|
+
// Size
|
67
|
+
'w-full ',
|
68
|
+
'h-full',
|
69
|
+
// Position
|
70
|
+
'absolute',
|
71
|
+
'top-0 left-0',
|
72
|
+
'z-10',
|
73
|
+
// Spacing
|
74
|
+
'p-0',
|
75
|
+
'm-0',
|
76
|
+
// Shape
|
77
|
+
'rounded',
|
78
|
+
'border',
|
79
|
+
// Shape
|
80
|
+
'opacity-0',
|
81
|
+
'rounded-md',
|
82
|
+
'outline-none',
|
83
|
+
// 'border-2 border-surface-300',
|
84
|
+
// Misc
|
85
|
+
'appareance-none',
|
86
|
+
// Transitions
|
87
|
+
'transition-all',
|
88
|
+
'duration-200',
|
89
|
+
// Misc
|
90
|
+
'cursor-pointer',
|
91
|
+
],
|
92
|
+
},
|
93
|
+
icon: {
|
94
|
+
class: [
|
95
|
+
// Font
|
96
|
+
'text-normal',
|
97
|
+
// Size
|
98
|
+
'w-3',
|
99
|
+
'h-3',
|
100
|
+
// Colors
|
101
|
+
// 'text-white',
|
102
|
+
// Transitions
|
103
|
+
'transition-all',
|
104
|
+
'duration-200',
|
105
|
+
],
|
106
|
+
},
|
107
|
+
};
|
@@ -0,0 +1,23 @@
|
|
1
|
+
declare namespace _default {
|
2
|
+
namespace root {
|
3
|
+
let _class: string[];
|
4
|
+
export { _class as class };
|
5
|
+
}
|
6
|
+
namespace label {
|
7
|
+
let _class_1: string;
|
8
|
+
export { _class_1 as class };
|
9
|
+
}
|
10
|
+
namespace icon {
|
11
|
+
let _class_2: string;
|
12
|
+
export { _class_2 as class };
|
13
|
+
}
|
14
|
+
namespace image {
|
15
|
+
let _class_3: string[];
|
16
|
+
export { _class_3 as class };
|
17
|
+
}
|
18
|
+
namespace removeIcon {
|
19
|
+
let _class_4: string[];
|
20
|
+
export { _class_4 as class };
|
21
|
+
}
|
22
|
+
}
|
23
|
+
export default _default;
|
@@ -0,0 +1,40 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.default = {
|
4
|
+
root: {
|
5
|
+
class: [
|
6
|
+
// Flexbox
|
7
|
+
'inline-flex items-center',
|
8
|
+
// Spacing
|
9
|
+
'px-2 py-0.5',
|
10
|
+
// Shape
|
11
|
+
'rounded-[1.14rem]',
|
12
|
+
// Colors
|
13
|
+
'text-surface-700',
|
14
|
+
'bg-surface-200',
|
15
|
+
],
|
16
|
+
},
|
17
|
+
label: {
|
18
|
+
class: 'text-xs leading-6 mx-0',
|
19
|
+
},
|
20
|
+
icon: {
|
21
|
+
class: 'leading-6 mr-2',
|
22
|
+
},
|
23
|
+
image: {
|
24
|
+
class: ['w-6 h-6 mr-2', 'rounded-full'],
|
25
|
+
},
|
26
|
+
removeIcon: {
|
27
|
+
class: [
|
28
|
+
// Shape
|
29
|
+
'rounded-md leading-6',
|
30
|
+
// Spacing
|
31
|
+
'ml-2',
|
32
|
+
// Size
|
33
|
+
'w-4 h-4',
|
34
|
+
// Transition
|
35
|
+
'transition duration-200 ease-in-out',
|
36
|
+
// Misc
|
37
|
+
'cursor-pointer',
|
38
|
+
],
|
39
|
+
},
|
40
|
+
};
|
@@ -0,0 +1,38 @@
|
|
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
|
+
function container({ state }: {
|
10
|
+
state: any;
|
11
|
+
}): {
|
12
|
+
class: (string | {
|
13
|
+
'ring-1 ring-inset ring-surface-300': boolean;
|
14
|
+
'ring-2 ring-primary-500': any;
|
15
|
+
})[];
|
16
|
+
};
|
17
|
+
namespace inputtoken {
|
18
|
+
let _class: string[];
|
19
|
+
export { _class as class };
|
20
|
+
}
|
21
|
+
namespace input {
|
22
|
+
let _class_1: string[];
|
23
|
+
export { _class_1 as class };
|
24
|
+
}
|
25
|
+
namespace token {
|
26
|
+
let _class_2: string[];
|
27
|
+
export { _class_2 as class };
|
28
|
+
}
|
29
|
+
namespace label {
|
30
|
+
let _class_3: string;
|
31
|
+
export { _class_3 as class };
|
32
|
+
}
|
33
|
+
namespace removeTokenIcon {
|
34
|
+
let _class_4: string[];
|
35
|
+
export { _class_4 as class };
|
36
|
+
}
|
37
|
+
}
|
38
|
+
export default _default;
|
@@ -0,0 +1,98 @@
|
|
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
|
+
'flex',
|
9
|
+
{
|
10
|
+
'opacity-60 select-none pointer-events-none cursor-default': props.disabled,
|
11
|
+
},
|
12
|
+
],
|
13
|
+
});
|
14
|
+
},
|
15
|
+
container: function (_a) {
|
16
|
+
var state = _a.state;
|
17
|
+
return ({
|
18
|
+
class: [
|
19
|
+
// Font
|
20
|
+
'font-sans sm:text-sm leading-none',
|
21
|
+
// Flex
|
22
|
+
'flex items-center flex-wrap gap-1',
|
23
|
+
// Spacing
|
24
|
+
'm-0 py-1 px-3',
|
25
|
+
// Size
|
26
|
+
'w-full',
|
27
|
+
// Shape
|
28
|
+
'list-none',
|
29
|
+
'rounded-md',
|
30
|
+
// Color
|
31
|
+
'text-surface-900',
|
32
|
+
'bg-surface-0',
|
33
|
+
'placeholder:text-surface-400',
|
34
|
+
'shadow-sm',
|
35
|
+
// States
|
36
|
+
{
|
37
|
+
'ring-1 ring-inset ring-surface-300': !state.focused,
|
38
|
+
'ring-2 ring-primary-500': state.focused,
|
39
|
+
},
|
40
|
+
// Transition
|
41
|
+
'transition-colors duration-200',
|
42
|
+
// Misc
|
43
|
+
'cursor-text overflow-hidden',
|
44
|
+
'appearance-none',
|
45
|
+
],
|
46
|
+
});
|
47
|
+
},
|
48
|
+
inputtoken: {
|
49
|
+
class: ['py-0.5 px-0', 'inline-flex flex-auto'],
|
50
|
+
},
|
51
|
+
input: {
|
52
|
+
class: [
|
53
|
+
// Font
|
54
|
+
'font-sans sm:text-sm leading-none',
|
55
|
+
// Size
|
56
|
+
'w-full',
|
57
|
+
// Spacing
|
58
|
+
'p-0 m-0',
|
59
|
+
// Shape
|
60
|
+
'appearance-none rounded-none',
|
61
|
+
'border-0 outline-none',
|
62
|
+
// Color
|
63
|
+
'text-surface-700/80',
|
64
|
+
'bg-transparent',
|
65
|
+
'placeholder:text-surface-400',
|
66
|
+
],
|
67
|
+
},
|
68
|
+
token: {
|
69
|
+
class: [
|
70
|
+
// Flexbox
|
71
|
+
'inline-flex items-center',
|
72
|
+
// Spacing
|
73
|
+
'py-0.5 px-3',
|
74
|
+
// Shape
|
75
|
+
'rounded-[1.14rem]',
|
76
|
+
// Colors
|
77
|
+
'text-surface-700/70',
|
78
|
+
'bg-surface-200',
|
79
|
+
],
|
80
|
+
},
|
81
|
+
label: {
|
82
|
+
class: 'leading-5',
|
83
|
+
},
|
84
|
+
removeTokenIcon: {
|
85
|
+
class: [
|
86
|
+
// Shape
|
87
|
+
'rounded-md leading-6',
|
88
|
+
// Spacing
|
89
|
+
'ml-2',
|
90
|
+
// Size
|
91
|
+
'w-4 h-4',
|
92
|
+
// Transition
|
93
|
+
'transition duration-200 ease-in-out',
|
94
|
+
// Misc
|
95
|
+
'cursor-pointer',
|
96
|
+
],
|
97
|
+
},
|
98
|
+
};
|
@@ -0,0 +1,51 @@
|
|
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
|
+
function panel({ props }: {
|
14
|
+
props: any;
|
15
|
+
}): {
|
16
|
+
class: (string | {
|
17
|
+
'relative h-48 w-52': any;
|
18
|
+
'absolute h-48 w-52': boolean;
|
19
|
+
})[];
|
20
|
+
};
|
21
|
+
namespace selector {
|
22
|
+
let _class_1: string[];
|
23
|
+
export { _class_1 as class };
|
24
|
+
}
|
25
|
+
namespace color {
|
26
|
+
let _class_2: string[];
|
27
|
+
export { _class_2 as class };
|
28
|
+
export let style: string;
|
29
|
+
}
|
30
|
+
namespace colorhandle {
|
31
|
+
let _class_3: string[];
|
32
|
+
export { _class_3 as class };
|
33
|
+
}
|
34
|
+
namespace hue {
|
35
|
+
let _class_4: string[];
|
36
|
+
export { _class_4 as class };
|
37
|
+
let style_1: string;
|
38
|
+
export { style_1 as style };
|
39
|
+
}
|
40
|
+
namespace huehandle {
|
41
|
+
let _class_5: string[];
|
42
|
+
export { _class_5 as class };
|
43
|
+
}
|
44
|
+
namespace transition {
|
45
|
+
let enterFromClass: string;
|
46
|
+
let enterActiveClass: string;
|
47
|
+
let leaveActiveClass: string;
|
48
|
+
let leaveToClass: string;
|
49
|
+
}
|
50
|
+
}
|
51
|
+
export default _default;
|
@@ -0,0 +1,118 @@
|
|
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
|
+
// Display
|
9
|
+
'inline-block',
|
10
|
+
// Misc
|
11
|
+
{
|
12
|
+
'opacity-60 select-none pointer-events-none cursor-default': props.disabled,
|
13
|
+
},
|
14
|
+
],
|
15
|
+
});
|
16
|
+
},
|
17
|
+
input: {
|
18
|
+
class: [
|
19
|
+
// Font
|
20
|
+
'font-sans text-base ',
|
21
|
+
// Spacing
|
22
|
+
'm-0',
|
23
|
+
// Size & Shape
|
24
|
+
'rounded',
|
25
|
+
'w-4',
|
26
|
+
'h-4',
|
27
|
+
// Colors
|
28
|
+
'bg-surface-0',
|
29
|
+
'border border-surface-300',
|
30
|
+
// States
|
31
|
+
'hover:border-primary-500',
|
32
|
+
'focus:outline-none focus:outline-offset-0 focus:ring-2 focus:ring-primary-500',
|
33
|
+
// Transition
|
34
|
+
'transition-colors duration-200',
|
35
|
+
// Misc
|
36
|
+
'cursor-default',
|
37
|
+
'select-none',
|
38
|
+
],
|
39
|
+
},
|
40
|
+
panel: function (_a) {
|
41
|
+
var props = _a.props;
|
42
|
+
return ({
|
43
|
+
class: [
|
44
|
+
// Position & Size
|
45
|
+
{
|
46
|
+
'relative h-48 w-52': props.inline,
|
47
|
+
'absolute h-48 w-52': !props.inline,
|
48
|
+
},
|
49
|
+
// Shape
|
50
|
+
'shadow-md',
|
51
|
+
'border-0',
|
52
|
+
'rounded-md',
|
53
|
+
// Colors
|
54
|
+
'bg-surface-800',
|
55
|
+
'ring-1 ring-inset ring-surface-900',
|
56
|
+
],
|
57
|
+
});
|
58
|
+
},
|
59
|
+
selector: {
|
60
|
+
class: [
|
61
|
+
// Position
|
62
|
+
'absolute top-2 left-2',
|
63
|
+
// Size
|
64
|
+
'h-44 w-40',
|
65
|
+
],
|
66
|
+
},
|
67
|
+
color: {
|
68
|
+
class: [
|
69
|
+
// Size
|
70
|
+
'h-44 w-40',
|
71
|
+
],
|
72
|
+
style: 'background: linear-gradient(to top, #000 0%, rgb(0 0 0 / 0) 100%), linear-gradient(to right, #fff 0%, rgb(255 255 255 / 0) 100%)',
|
73
|
+
},
|
74
|
+
colorhandle: {
|
75
|
+
class: [
|
76
|
+
'absolute',
|
77
|
+
// Shape
|
78
|
+
'rounded-full border border-solid',
|
79
|
+
// Size
|
80
|
+
'h-3 w-3',
|
81
|
+
// Colors
|
82
|
+
'border-white',
|
83
|
+
// Misc
|
84
|
+
'cursor-pointer opacity-85',
|
85
|
+
],
|
86
|
+
},
|
87
|
+
hue: {
|
88
|
+
class: [
|
89
|
+
// Position
|
90
|
+
'absolute top-2 left-44',
|
91
|
+
// Size
|
92
|
+
'h-44 w-6',
|
93
|
+
// Opacity
|
94
|
+
'opacity-85',
|
95
|
+
],
|
96
|
+
style: 'background: linear-gradient(0deg, red 0, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, red)',
|
97
|
+
},
|
98
|
+
huehandle: {
|
99
|
+
class: [
|
100
|
+
// Position
|
101
|
+
'absolute left-0 -ml-1',
|
102
|
+
// Size
|
103
|
+
'h-2 w-8',
|
104
|
+
// Shape
|
105
|
+
'border-solid border-2 rounded',
|
106
|
+
// Colors
|
107
|
+
'border-white',
|
108
|
+
// Misc
|
109
|
+
'opacity-85',
|
110
|
+
],
|
111
|
+
},
|
112
|
+
transition: {
|
113
|
+
enterFromClass: 'opacity-0 scale-y-[0.8]',
|
114
|
+
enterActiveClass: 'transition-[transform,opacity] duration-[120ms] ease-[cubic-bezier(0,0,0.2,1)]',
|
115
|
+
leaveActiveClass: 'transition-opacity duration-100 ease-linear',
|
116
|
+
leaveToClass: 'opacity-0',
|
117
|
+
},
|
118
|
+
};
|
@@ -0,0 +1,77 @@
|
|
1
|
+
{
|
2
|
+
"primary-50": "#F8F7EE",
|
3
|
+
"primary-100": "#EEEBD3",
|
4
|
+
"primary-200": "#DFD7A9",
|
5
|
+
"primary-300": "#CDBC77",
|
6
|
+
"primary-400": "#BDA552",
|
7
|
+
"primary-500": "#9F7C3C",
|
8
|
+
"primary-600": "#856732",
|
9
|
+
"primary-700": "#785930",
|
10
|
+
"primary-800": "#65492E",
|
11
|
+
"primary-900": "#583F2B",
|
12
|
+
"primary-950": "#322116",
|
13
|
+
"primary-1000": "#695200",
|
14
|
+
|
15
|
+
"danger-50": "#E7C3B6",
|
16
|
+
"danger-100": "#E7C3B6",
|
17
|
+
"danger-200": "#DBA592",
|
18
|
+
"danger-300": "#CF876D",
|
19
|
+
"danger-400": "#C36948",
|
20
|
+
"danger-500": "#B74B24",
|
21
|
+
"danger-600": "#993F1E",
|
22
|
+
"danger-700": "#7A3218",
|
23
|
+
"danger-800": "#5C2612",
|
24
|
+
"danger-900": "#3D190C",
|
25
|
+
"danger-950": "#1F0D06",
|
26
|
+
|
27
|
+
"warning-50": "#F9EFD9",
|
28
|
+
"warning-100": "#F3E0B3",
|
29
|
+
"warning-200": "#EDD08E",
|
30
|
+
"warning-300": "#E7C068",
|
31
|
+
"warning-400": "#E1B142",
|
32
|
+
"warning-500": "#DBA11C",
|
33
|
+
"warning-600": "#B78617",
|
34
|
+
"warning-700": "#926B13",
|
35
|
+
"warning-800": "#6E510E",
|
36
|
+
"warning-900": "#493609",
|
37
|
+
"warning-950": "#251B05",
|
38
|
+
|
39
|
+
"success-50": "#D5EDEB",
|
40
|
+
"success-100": "#AADBD6",
|
41
|
+
"success-200": "#80C9C2",
|
42
|
+
"success-300": "#55B7AD",
|
43
|
+
"success-400": "#2AA599",
|
44
|
+
"success-500": "#009384",
|
45
|
+
"success-600": "#007B6E",
|
46
|
+
"success-700": "#006258",
|
47
|
+
"success-800": "#004A42",
|
48
|
+
"success-900": "#00312C",
|
49
|
+
"success-950": "#001916",
|
50
|
+
"success-1000": "#00A455",
|
51
|
+
|
52
|
+
"grayscale-50": "#f7f7f7",
|
53
|
+
"grayscale-100": "#f2f2f2",
|
54
|
+
"grayscale-200": "#e5e6e6",
|
55
|
+
"grayscale-300": "#d8d9d9",
|
56
|
+
"grayscale-400": "#cbcccd",
|
57
|
+
"grayscale-500": "#bdbebf",
|
58
|
+
"grayscale-600": "#97999b",
|
59
|
+
"grayscale-700": "#717374",
|
60
|
+
"grayscale-800": "#4b4d4e",
|
61
|
+
"grayscale-900": "#262627",
|
62
|
+
"grayscale-950": "#121212",
|
63
|
+
|
64
|
+
"general-50": "#EBEAF0",
|
65
|
+
"general-100": "#DAD9E3",
|
66
|
+
"general-200": "#B5B3C7",
|
67
|
+
"general-300": "#908CAB",
|
68
|
+
"general-400": "#6C688D",
|
69
|
+
"general-500": "#4E4B66",
|
70
|
+
"general-600": "#3F3C52",
|
71
|
+
"general-700": "#2F2D3E",
|
72
|
+
"general-800": "#201E29",
|
73
|
+
"general-900": "#100F15",
|
74
|
+
"general-950": "#070609",
|
75
|
+
|
76
|
+
"link": "#0000EE"
|
77
|
+
}
|
@@ -0,0 +1,39 @@
|
|
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
|
+
namespace icon {
|
11
|
+
let _class_2: string;
|
12
|
+
export { _class_2 as class };
|
13
|
+
}
|
14
|
+
namespace footer {
|
15
|
+
let _class_3: string[];
|
16
|
+
export { _class_3 as class };
|
17
|
+
}
|
18
|
+
namespace rejectbutton {
|
19
|
+
export namespace root_1 {
|
20
|
+
let _class_4: string[];
|
21
|
+
export { _class_4 as class };
|
22
|
+
}
|
23
|
+
export { root_1 as root };
|
24
|
+
}
|
25
|
+
namespace acceptbutton {
|
26
|
+
export namespace root_2 {
|
27
|
+
let _class_5: string[];
|
28
|
+
export { _class_5 as class };
|
29
|
+
}
|
30
|
+
export { root_2 as root };
|
31
|
+
}
|
32
|
+
namespace transition {
|
33
|
+
let enterFromClass: string;
|
34
|
+
let enterActiveClass: string;
|
35
|
+
let leaveActiveClass: string;
|
36
|
+
let leaveToClass: string;
|
37
|
+
}
|
38
|
+
}
|
39
|
+
export default _default;
|
@@ -0,0 +1,104 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.default = {
|
4
|
+
root: {
|
5
|
+
class: [
|
6
|
+
// Shape
|
7
|
+
'rounded-lg',
|
8
|
+
'shadow-xl',
|
9
|
+
'border-0',
|
10
|
+
// Positioning
|
11
|
+
'z-40 transform origin-center',
|
12
|
+
'mt-3 absolute left-0 top-0',
|
13
|
+
// Color
|
14
|
+
'',
|
15
|
+
'bg-surface-0',
|
16
|
+
'text-surface-700/80',
|
17
|
+
// Before: Arrow
|
18
|
+
'before:absolute before:w-0 before:-top-3 before:h-0 before:border-transparent before:border-solid before:ml-6 before:border-x-[0.75rem] before:border-b-[0.75rem] before:border-t-0 before:border-b-surface-0',
|
19
|
+
],
|
20
|
+
},
|
21
|
+
content: {
|
22
|
+
class: [
|
23
|
+
// Font
|
24
|
+
'text-sm',
|
25
|
+
// Spacing
|
26
|
+
'px-6',
|
27
|
+
'py-3',
|
28
|
+
// Colors
|
29
|
+
'bg-surface-0',
|
30
|
+
'text-surface-600',
|
31
|
+
// Misc
|
32
|
+
'overflow-y-auto',
|
33
|
+
],
|
34
|
+
},
|
35
|
+
icon: {
|
36
|
+
class: 'text-xl mr-2',
|
37
|
+
},
|
38
|
+
footer: {
|
39
|
+
class: [
|
40
|
+
// Flexbox and Alignment
|
41
|
+
'flex items-center justify-end',
|
42
|
+
'shrink-0',
|
43
|
+
'text-right',
|
44
|
+
'gap-3',
|
45
|
+
// Spacing
|
46
|
+
'px-6',
|
47
|
+
'py-3',
|
48
|
+
// Shape
|
49
|
+
'border-t-0',
|
50
|
+
'rounded-b-lg',
|
51
|
+
// Colors
|
52
|
+
'bg-surface-50',
|
53
|
+
'text-surface-700/80',
|
54
|
+
],
|
55
|
+
},
|
56
|
+
rejectbutton: {
|
57
|
+
root: {
|
58
|
+
class: [
|
59
|
+
'relative',
|
60
|
+
// Alignments
|
61
|
+
'items-center inline-flex text-center align-bottom justify-center',
|
62
|
+
// Sizes & Spacing
|
63
|
+
'px-2.5 py-1.5 min-w-[2rem]',
|
64
|
+
'text-sm',
|
65
|
+
// Shape
|
66
|
+
'rounded-md',
|
67
|
+
// Color
|
68
|
+
'text-primary-500',
|
69
|
+
// States
|
70
|
+
'hover:bg-primary-300/20',
|
71
|
+
'focus:outline-none focus:outline-offset-0 focus:ring-2 focus:ring-inset',
|
72
|
+
'focus:ring-primary-500',
|
73
|
+
],
|
74
|
+
},
|
75
|
+
},
|
76
|
+
acceptbutton: {
|
77
|
+
root: {
|
78
|
+
class: [
|
79
|
+
'relative',
|
80
|
+
// Alignments
|
81
|
+
'items-center inline-flex text-center align-bottom justify-center',
|
82
|
+
// Sizes & Spacing
|
83
|
+
'px-2.5 py-1.5 min-w-[2rem]',
|
84
|
+
'text-sm',
|
85
|
+
// Shape
|
86
|
+
'rounded-md',
|
87
|
+
// Color
|
88
|
+
'text-white',
|
89
|
+
'bg-primary-500',
|
90
|
+
'ring-1 ring-primary-500',
|
91
|
+
// States
|
92
|
+
'hover:bg-primary-600 hover:border-primary-600',
|
93
|
+
'focus:outline-none focus:outline-offset-0 focus:ring-2 focus:ring-offset-current',
|
94
|
+
'focus:ring-primary-500',
|
95
|
+
],
|
96
|
+
},
|
97
|
+
},
|
98
|
+
transition: {
|
99
|
+
enterFromClass: 'opacity-0 scale-y-[0.8]',
|
100
|
+
enterActiveClass: 'transition-[transform,opacity] duration-[120ms] ease-[cubic-bezier(0,0,0.2,1)]',
|
101
|
+
leaveActiveClass: 'transition-opacity duration-100 ease-linear',
|
102
|
+
leaveToClass: 'opacity-0',
|
103
|
+
},
|
104
|
+
};
|