@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,34 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
3
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
4
|
+
if (ar || !(i in from)) {
|
5
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
6
|
+
ar[i] = from[i];
|
7
|
+
}
|
8
|
+
}
|
9
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
10
|
+
};
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
12
|
+
exports.commonClasses = void 0;
|
13
|
+
var commonClasses = function (_a) {
|
14
|
+
var isFirefoxBased = _a.isFirefoxBased, invalidInput = _a.invalidInput;
|
15
|
+
return [
|
16
|
+
{ 'ring-[1px]': isFirefoxBased, 'ring-[0.5px]': !isFirefoxBased },
|
17
|
+
{ '!ring-danger-500': invalidInput },
|
18
|
+
'ring-inset',
|
19
|
+
'ring-general-400',
|
20
|
+
'[&:has(:focus)]:bg-none',
|
21
|
+
'[&:has(:focus)]:ring-primary-400',
|
22
|
+
'bg-white',
|
23
|
+
'z-[0] [&:has(:focus)]:z-[12]',
|
24
|
+
];
|
25
|
+
};
|
26
|
+
exports.commonClasses = commonClasses;
|
27
|
+
exports.default = {
|
28
|
+
dialcode: function (ctx) { return ({
|
29
|
+
class: __spreadArray(__spreadArray([], (0, exports.commonClasses)(ctx), true), ['rounded-l rounded-r-none'], false),
|
30
|
+
}); },
|
31
|
+
inputnumber: function (ctx) { return ({
|
32
|
+
class: __spreadArray(__spreadArray([], (0, exports.commonClasses)(ctx), true), ['rounded-r rounded-l-none -ml-[1px]'], false),
|
33
|
+
}); },
|
34
|
+
};
|
@@ -0,0 +1,67 @@
|
|
1
|
+
declare namespace _default {
|
2
|
+
function root({ props }: {
|
3
|
+
props: any;
|
4
|
+
}): {
|
5
|
+
class: (string | {
|
6
|
+
'select-none pointer-events-none cursor-default': any;
|
7
|
+
})[];
|
8
|
+
};
|
9
|
+
function slider({ props }: {
|
10
|
+
props: any;
|
11
|
+
}): {
|
12
|
+
class: (string | {
|
13
|
+
'before:bg-white before:bg-white': boolean;
|
14
|
+
'before:bg-primary-200': boolean;
|
15
|
+
'before:bg-general-50': any;
|
16
|
+
'before:transform before:translate-x-3.5'?: undefined;
|
17
|
+
'border-primary-200'?: undefined;
|
18
|
+
'border-transparent'?: undefined;
|
19
|
+
'bg-white'?: undefined;
|
20
|
+
'bg-primary-500'?: undefined;
|
21
|
+
'bg-primary-100'?: undefined;
|
22
|
+
'bg-general-100'?: undefined;
|
23
|
+
} | {
|
24
|
+
'before:transform before:translate-x-3.5': boolean;
|
25
|
+
'before:bg-white before:bg-white'?: undefined;
|
26
|
+
'before:bg-primary-200'?: undefined;
|
27
|
+
'before:bg-general-50'?: undefined;
|
28
|
+
'border-primary-200'?: undefined;
|
29
|
+
'border-transparent'?: undefined;
|
30
|
+
'bg-white'?: undefined;
|
31
|
+
'bg-primary-500'?: undefined;
|
32
|
+
'bg-primary-100'?: undefined;
|
33
|
+
'bg-general-100'?: undefined;
|
34
|
+
} | {
|
35
|
+
'border-primary-200': boolean;
|
36
|
+
'border-transparent': boolean;
|
37
|
+
'before:bg-white before:bg-white'?: undefined;
|
38
|
+
'before:bg-primary-200'?: undefined;
|
39
|
+
'before:bg-general-50'?: undefined;
|
40
|
+
'before:transform before:translate-x-3.5'?: undefined;
|
41
|
+
'bg-white'?: undefined;
|
42
|
+
'bg-primary-500'?: undefined;
|
43
|
+
'bg-primary-100'?: undefined;
|
44
|
+
'bg-general-100'?: undefined;
|
45
|
+
} | {
|
46
|
+
'bg-white': boolean;
|
47
|
+
'bg-primary-500': boolean;
|
48
|
+
'bg-primary-100': any;
|
49
|
+
'bg-general-100': any;
|
50
|
+
'before:bg-white before:bg-white'?: undefined;
|
51
|
+
'before:bg-primary-200'?: undefined;
|
52
|
+
'before:bg-general-50'?: undefined;
|
53
|
+
'before:transform before:translate-x-3.5'?: undefined;
|
54
|
+
'border-primary-200'?: undefined;
|
55
|
+
'border-transparent'?: undefined;
|
56
|
+
})[];
|
57
|
+
};
|
58
|
+
function input({ props }: {
|
59
|
+
props: any;
|
60
|
+
}): {
|
61
|
+
class: (string | {
|
62
|
+
'cursor-default': any;
|
63
|
+
'cursor-pointer': boolean;
|
64
|
+
})[];
|
65
|
+
};
|
66
|
+
}
|
67
|
+
export default _default;
|
@@ -0,0 +1,100 @@
|
|
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
|
+
// Alignments
|
9
|
+
'inline-flex relative align-middle',
|
10
|
+
'shrink-0',
|
11
|
+
// Shape
|
12
|
+
'rounded-[60px]',
|
13
|
+
// Size
|
14
|
+
'h-4 w-8',
|
15
|
+
// Misc
|
16
|
+
'cursor-pointer',
|
17
|
+
// States
|
18
|
+
{
|
19
|
+
'select-none pointer-events-none cursor-default': props.disabled,
|
20
|
+
},
|
21
|
+
],
|
22
|
+
});
|
23
|
+
},
|
24
|
+
slider: function (_a) {
|
25
|
+
var props = _a.props;
|
26
|
+
return ({
|
27
|
+
class: [
|
28
|
+
// Position
|
29
|
+
'absolute top-0 left-0 right-0 bottom-0',
|
30
|
+
// Shape
|
31
|
+
'rounded-[60px]',
|
32
|
+
// Before:
|
33
|
+
'before:absolute before:top-1/2',
|
34
|
+
'before:-mt-[6px] before:ml-0.5',
|
35
|
+
'before:h-3 before:w-3',
|
36
|
+
'before:rounded-full',
|
37
|
+
'before:duration-200 before:transition before:ease-in-out',
|
38
|
+
'before:shadow',
|
39
|
+
{
|
40
|
+
'before:bg-white before:bg-white': props.modelValue == props.trueValue,
|
41
|
+
'before:bg-primary-200': props.modelValue !== props.trueValue && !props.disabled,
|
42
|
+
'before:bg-general-50': props.modelValue !== props.trueValue && props.disabled,
|
43
|
+
},
|
44
|
+
{
|
45
|
+
'before:transform before:translate-x-3.5': props.modelValue == props.trueValue,
|
46
|
+
},
|
47
|
+
// Colors
|
48
|
+
'border',
|
49
|
+
{
|
50
|
+
'border-primary-200': props.modelValue !== props.trueValue && !props.disabled,
|
51
|
+
'border-transparent': props.modelValue == props.trueValue,
|
52
|
+
},
|
53
|
+
{
|
54
|
+
'bg-white': props.modelValue !== props.trueValue && !props.disabled,
|
55
|
+
'bg-primary-500': props.modelValue == props.trueValue && !props.disabled,
|
56
|
+
'bg-primary-100': props.modelValue == props.trueValue && props.disabled,
|
57
|
+
'bg-general-100': props.modelValue !== props.trueValue && props.disabled,
|
58
|
+
},
|
59
|
+
// States
|
60
|
+
'peer-focus-visible:ring-2 peer-focus-visible:ring-primary-500',
|
61
|
+
// Transition
|
62
|
+
'transition-colors duration-200',
|
63
|
+
// Misc
|
64
|
+
'cursor-pointer',
|
65
|
+
],
|
66
|
+
});
|
67
|
+
},
|
68
|
+
input: function (_a) {
|
69
|
+
var props = _a.props;
|
70
|
+
return ({
|
71
|
+
class: [
|
72
|
+
'peer',
|
73
|
+
// Size
|
74
|
+
'w-full ',
|
75
|
+
'h-full',
|
76
|
+
// Position
|
77
|
+
'absolute',
|
78
|
+
'top-0 left-0',
|
79
|
+
'z-10',
|
80
|
+
// Spacing
|
81
|
+
'p-0',
|
82
|
+
'm-0',
|
83
|
+
// Shape
|
84
|
+
'rounded',
|
85
|
+
'border',
|
86
|
+
// Shape
|
87
|
+
'opacity-0',
|
88
|
+
'rounded-md',
|
89
|
+
'outline-none',
|
90
|
+
'border-2 border-surface-300',
|
91
|
+
// Misc
|
92
|
+
'appearance-none',
|
93
|
+
{
|
94
|
+
'cursor-default': props.disabled,
|
95
|
+
'cursor-pointer': !props.disabled,
|
96
|
+
},
|
97
|
+
],
|
98
|
+
});
|
99
|
+
},
|
100
|
+
};
|
@@ -0,0 +1,18 @@
|
|
1
|
+
declare namespace _default {
|
2
|
+
function root({ props, context, parent }: {
|
3
|
+
props: any;
|
4
|
+
context: any;
|
5
|
+
parent: any;
|
6
|
+
}): {
|
7
|
+
class: (string | {
|
8
|
+
'max-h-[43px]': any;
|
9
|
+
'outline-none'?: undefined;
|
10
|
+
'!text-general-200 select-none pointer-events-none cursor-default'?: undefined;
|
11
|
+
} | {
|
12
|
+
'outline-none': boolean;
|
13
|
+
'!text-general-200 select-none pointer-events-none cursor-default': any;
|
14
|
+
'max-h-[43px]'?: undefined;
|
15
|
+
})[];
|
16
|
+
};
|
17
|
+
}
|
18
|
+
export default _default;
|
@@ -0,0 +1,28 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.default = {
|
4
|
+
root: function (_a) {
|
5
|
+
var _b, _c;
|
6
|
+
var props = _a.props, context = _a.context, parent = _a.parent;
|
7
|
+
return ({
|
8
|
+
class: [
|
9
|
+
'px-3 py-1 w-full bg-transparent',
|
10
|
+
// Size
|
11
|
+
'h-full',
|
12
|
+
{
|
13
|
+
'max-h-[43px]': (_c = (_b = parent.instance) === null || _b === void 0 ? void 0 : _b.placeholder) === null || _c === void 0 ? void 0 : _c.includes('password'),
|
14
|
+
},
|
15
|
+
// Font
|
16
|
+
'text-grayscale-900 text-xs font-normal',
|
17
|
+
'placeholder:text-general-200',
|
18
|
+
'placeholder:!font-normal',
|
19
|
+
'appearance-none',
|
20
|
+
// Interactions
|
21
|
+
{
|
22
|
+
'outline-none': !context.disabled,
|
23
|
+
'!text-general-200 select-none pointer-events-none cursor-default': context.disabled,
|
24
|
+
},
|
25
|
+
],
|
26
|
+
});
|
27
|
+
},
|
28
|
+
};
|
@@ -0,0 +1,22 @@
|
|
1
|
+
declare namespace _default {
|
2
|
+
function root({ props }: {
|
3
|
+
props: any;
|
4
|
+
}): {
|
5
|
+
class: {
|
6
|
+
'opacity-60 select-none pointer-events-none cursor-default': any;
|
7
|
+
}[];
|
8
|
+
};
|
9
|
+
namespace range {
|
10
|
+
let _class: string[];
|
11
|
+
export { _class as class };
|
12
|
+
}
|
13
|
+
namespace value {
|
14
|
+
let _class_1: string[];
|
15
|
+
export { _class_1 as class };
|
16
|
+
}
|
17
|
+
namespace label {
|
18
|
+
let _class_2: string[];
|
19
|
+
export { _class_2 as class };
|
20
|
+
}
|
21
|
+
}
|
22
|
+
export default _default;
|
@@ -0,0 +1,45 @@
|
|
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
|
+
// Misc
|
9
|
+
{
|
10
|
+
'opacity-60 select-none pointer-events-none cursor-default': props.disabled,
|
11
|
+
},
|
12
|
+
],
|
13
|
+
});
|
14
|
+
},
|
15
|
+
range: {
|
16
|
+
class: [
|
17
|
+
// Stroke
|
18
|
+
'stroke-current',
|
19
|
+
// Color
|
20
|
+
'stroke-surface-200',
|
21
|
+
// Fill
|
22
|
+
'fill-none',
|
23
|
+
// Transition
|
24
|
+
'transition duration-100 ease-in',
|
25
|
+
],
|
26
|
+
},
|
27
|
+
value: {
|
28
|
+
class: [
|
29
|
+
// Animation
|
30
|
+
'animate-dash-frame',
|
31
|
+
// Color
|
32
|
+
'stroke-primary-500',
|
33
|
+
// Fill
|
34
|
+
'fill-none',
|
35
|
+
],
|
36
|
+
},
|
37
|
+
label: {
|
38
|
+
class: [
|
39
|
+
// Text Style
|
40
|
+
'text-center text-xl',
|
41
|
+
// Color
|
42
|
+
'fill-surface-600',
|
43
|
+
],
|
44
|
+
},
|
45
|
+
};
|
@@ -0,0 +1,79 @@
|
|
1
|
+
declare namespace _default {
|
2
|
+
namespace root {
|
3
|
+
let _class: string[];
|
4
|
+
export { _class as class };
|
5
|
+
}
|
6
|
+
namespace wrapper {
|
7
|
+
let _class_1: string[];
|
8
|
+
export { _class_1 as class };
|
9
|
+
}
|
10
|
+
namespace list {
|
11
|
+
let _class_2: string;
|
12
|
+
export { _class_2 as class };
|
13
|
+
}
|
14
|
+
function item({ context }: {
|
15
|
+
context: any;
|
16
|
+
}): {
|
17
|
+
class: (string | {
|
18
|
+
'font-normal': boolean;
|
19
|
+
'font-bold': any;
|
20
|
+
'text-surface-700/80'?: undefined;
|
21
|
+
'bg-surface-200 text-surface-700/80'?: undefined;
|
22
|
+
'bg-primary-500 text-white'?: undefined;
|
23
|
+
'bg-surface-100 text-primary-500'?: undefined;
|
24
|
+
} | {
|
25
|
+
'text-surface-700/80': boolean;
|
26
|
+
'font-normal'?: undefined;
|
27
|
+
'font-bold'?: undefined;
|
28
|
+
'bg-surface-200 text-surface-700/80'?: undefined;
|
29
|
+
'bg-primary-500 text-white'?: undefined;
|
30
|
+
'bg-surface-100 text-primary-500'?: undefined;
|
31
|
+
} | {
|
32
|
+
'bg-surface-200 text-surface-700/80': boolean;
|
33
|
+
'font-normal'?: undefined;
|
34
|
+
'font-bold'?: undefined;
|
35
|
+
'text-surface-700/80'?: undefined;
|
36
|
+
'bg-primary-500 text-white'?: undefined;
|
37
|
+
'bg-surface-100 text-primary-500'?: undefined;
|
38
|
+
} | {
|
39
|
+
'bg-primary-500 text-white': any;
|
40
|
+
'font-normal'?: undefined;
|
41
|
+
'font-bold'?: undefined;
|
42
|
+
'text-surface-700/80'?: undefined;
|
43
|
+
'bg-surface-200 text-surface-700/80'?: undefined;
|
44
|
+
'bg-surface-100 text-primary-500'?: undefined;
|
45
|
+
} | {
|
46
|
+
'bg-surface-100 text-primary-500': any;
|
47
|
+
'font-normal'?: undefined;
|
48
|
+
'font-bold'?: undefined;
|
49
|
+
'text-surface-700/80'?: undefined;
|
50
|
+
'bg-surface-200 text-surface-700/80'?: undefined;
|
51
|
+
'bg-primary-500 text-white'?: undefined;
|
52
|
+
})[];
|
53
|
+
};
|
54
|
+
namespace itemgroup {
|
55
|
+
let _class_3: string[];
|
56
|
+
export { _class_3 as class };
|
57
|
+
}
|
58
|
+
namespace header {
|
59
|
+
let _class_4: string[];
|
60
|
+
export { _class_4 as class };
|
61
|
+
}
|
62
|
+
namespace filtercontainer {
|
63
|
+
let _class_5: string;
|
64
|
+
export { _class_5 as class };
|
65
|
+
}
|
66
|
+
namespace filterinput {
|
67
|
+
let _class_6: string[];
|
68
|
+
export { _class_6 as class };
|
69
|
+
}
|
70
|
+
namespace filtericon {
|
71
|
+
let _class_7: string[];
|
72
|
+
export { _class_7 as class };
|
73
|
+
}
|
74
|
+
namespace emptymessage {
|
75
|
+
let _class_8: string[];
|
76
|
+
export { _class_8 as class };
|
77
|
+
}
|
78
|
+
}
|
79
|
+
export default _default;
|
@@ -0,0 +1,138 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.default = {
|
4
|
+
root: {
|
5
|
+
class: [
|
6
|
+
// Sizing and Shape
|
7
|
+
'min-w-[12rem]',
|
8
|
+
'rounded-md',
|
9
|
+
// Spacing
|
10
|
+
// Colors
|
11
|
+
'bg-surface-0',
|
12
|
+
'text-surface-700/80',
|
13
|
+
'ring-1 ring-surface-200',
|
14
|
+
],
|
15
|
+
},
|
16
|
+
wrapper: {
|
17
|
+
class: [
|
18
|
+
// Overflow
|
19
|
+
'overflow-auto',
|
20
|
+
],
|
21
|
+
},
|
22
|
+
list: {
|
23
|
+
class: 'py-1 list-none m-0',
|
24
|
+
},
|
25
|
+
item: function (_a) {
|
26
|
+
var context = _a.context;
|
27
|
+
return ({
|
28
|
+
class: [
|
29
|
+
// Font
|
30
|
+
'sm:text-sm',
|
31
|
+
'leading-none',
|
32
|
+
{ 'font-normal': !context.selected, 'font-bold': context.selected },
|
33
|
+
// Position
|
34
|
+
'relative',
|
35
|
+
// Shape
|
36
|
+
'border-0',
|
37
|
+
'rounded-none',
|
38
|
+
// Spacing
|
39
|
+
'm-0',
|
40
|
+
'py-2 px-4',
|
41
|
+
// Color
|
42
|
+
{
|
43
|
+
'text-surface-700/80': !context.focused && !context.selected,
|
44
|
+
},
|
45
|
+
{
|
46
|
+
'bg-surface-200 text-surface-700/80': context.focused && !context.selected,
|
47
|
+
},
|
48
|
+
{
|
49
|
+
'bg-primary-500 text-white': context.focused && context.selected,
|
50
|
+
},
|
51
|
+
{
|
52
|
+
'bg-surface-100 text-primary-500': !context.focused && context.selected,
|
53
|
+
},
|
54
|
+
//States
|
55
|
+
'hover:bg-primary-500 hover:text-white',
|
56
|
+
'focus-visible:outline-none focus-visible:outline-offset-0 focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-primary-500',
|
57
|
+
// Misc
|
58
|
+
'cursor-pointer',
|
59
|
+
'overflow-hidden',
|
60
|
+
'whitespace-nowrap',
|
61
|
+
],
|
62
|
+
});
|
63
|
+
},
|
64
|
+
itemgroup: {
|
65
|
+
class: [
|
66
|
+
//Font
|
67
|
+
'font-bold',
|
68
|
+
'sm:text-sm',
|
69
|
+
// Spacing
|
70
|
+
'm-0',
|
71
|
+
'py-2 px-4',
|
72
|
+
// Color
|
73
|
+
'text-surface-800/80',
|
74
|
+
'bg-surface-0',
|
75
|
+
// Misc
|
76
|
+
'cursor-auto',
|
77
|
+
],
|
78
|
+
},
|
79
|
+
header: {
|
80
|
+
class: [
|
81
|
+
// Spacing
|
82
|
+
'p-0',
|
83
|
+
'm-0',
|
84
|
+
//Shape
|
85
|
+
'rounded-tl-md',
|
86
|
+
'rounded-tr-md',
|
87
|
+
'border-b border-surface-200',
|
88
|
+
// Color
|
89
|
+
'text-surface-700/80',
|
90
|
+
'bg-surface-100',
|
91
|
+
],
|
92
|
+
},
|
93
|
+
filtercontainer: {
|
94
|
+
class: 'relative',
|
95
|
+
},
|
96
|
+
filterinput: {
|
97
|
+
class: [
|
98
|
+
// Font
|
99
|
+
'font-sans',
|
100
|
+
'leading-none',
|
101
|
+
'sm:text-sm',
|
102
|
+
// Sizing
|
103
|
+
'py-1.5 px-3',
|
104
|
+
'pr-7',
|
105
|
+
'-mr-7',
|
106
|
+
'w-full',
|
107
|
+
//Color
|
108
|
+
'text-surface-700/80',
|
109
|
+
'bg-surface-0',
|
110
|
+
'placeholder:text-surface-400',
|
111
|
+
// Shape
|
112
|
+
'border-0',
|
113
|
+
'rounded-tl-md',
|
114
|
+
'rounded-tr-md',
|
115
|
+
'appearance-none',
|
116
|
+
// States
|
117
|
+
'focus:ring-2 focus:ring-inset focus:outline-none focus:outline-offset-0',
|
118
|
+
'focus:ring-primary-600',
|
119
|
+
// Misc
|
120
|
+
'appearance-none',
|
121
|
+
],
|
122
|
+
},
|
123
|
+
filtericon: {
|
124
|
+
class: ['absolute', 'top-1/2 right-3', '-mt-2'],
|
125
|
+
},
|
126
|
+
emptymessage: {
|
127
|
+
class: [
|
128
|
+
// Font
|
129
|
+
'leading-none',
|
130
|
+
'sm:text-sm',
|
131
|
+
// Spacing
|
132
|
+
'py-2 px-4',
|
133
|
+
// Color
|
134
|
+
'text-surface-800/80',
|
135
|
+
'bg-transparent',
|
136
|
+
],
|
137
|
+
},
|
138
|
+
};
|
@@ -0,0 +1,105 @@
|
|
1
|
+
declare namespace _default {
|
2
|
+
function root({ props }: {
|
3
|
+
props: any;
|
4
|
+
}): {
|
5
|
+
class: (string | {
|
6
|
+
'items-center px-2 sm:px-6': boolean;
|
7
|
+
'flex-col justify-center sm:justify-start sm:w-48 px-2': boolean;
|
8
|
+
})[];
|
9
|
+
};
|
10
|
+
function menu({ props }: {
|
11
|
+
props: any;
|
12
|
+
}): {
|
13
|
+
class: (string | {
|
14
|
+
hidden: boolean;
|
15
|
+
flex: any;
|
16
|
+
})[];
|
17
|
+
};
|
18
|
+
function menuitem({ props }: {
|
19
|
+
props: any;
|
20
|
+
}): {
|
21
|
+
class: (string | {
|
22
|
+
'sm:w-auto w-full': any;
|
23
|
+
'w-full': boolean;
|
24
|
+
})[];
|
25
|
+
};
|
26
|
+
function content({ props, context }: {
|
27
|
+
props: any;
|
28
|
+
context: any;
|
29
|
+
}): {
|
30
|
+
class: (string | {
|
31
|
+
'rounded-md': boolean;
|
32
|
+
'text-surface-500/70'?: undefined;
|
33
|
+
'text-surface-500/70 bg-surface-200'?: undefined;
|
34
|
+
'text-surface-900/80 bg-surface-50'?: undefined;
|
35
|
+
'hover:bg-surface-50'?: undefined;
|
36
|
+
'hover:bg-surface-100 text-surface-900/80'?: undefined;
|
37
|
+
} | {
|
38
|
+
'text-surface-500/70': boolean;
|
39
|
+
'text-surface-500/70 bg-surface-200': boolean;
|
40
|
+
'text-surface-900/80 bg-surface-50': any;
|
41
|
+
'rounded-md'?: undefined;
|
42
|
+
'hover:bg-surface-50'?: undefined;
|
43
|
+
'hover:bg-surface-100 text-surface-900/80'?: undefined;
|
44
|
+
} | {
|
45
|
+
'hover:bg-surface-50': boolean;
|
46
|
+
'hover:bg-surface-100 text-surface-900/80': any;
|
47
|
+
'rounded-md'?: undefined;
|
48
|
+
'text-surface-500/70'?: undefined;
|
49
|
+
'text-surface-500/70 bg-surface-200'?: undefined;
|
50
|
+
'text-surface-900/80 bg-surface-50'?: undefined;
|
51
|
+
})[];
|
52
|
+
};
|
53
|
+
namespace action {
|
54
|
+
let _class: string[];
|
55
|
+
export { _class as class };
|
56
|
+
}
|
57
|
+
namespace icon {
|
58
|
+
let _class_1: string;
|
59
|
+
export { _class_1 as class };
|
60
|
+
}
|
61
|
+
function submenuicon({ props }: {
|
62
|
+
props: any;
|
63
|
+
}): {
|
64
|
+
class: {
|
65
|
+
'ml-auto sm:ml-2': any;
|
66
|
+
'ml-auto': boolean;
|
67
|
+
}[];
|
68
|
+
};
|
69
|
+
function panel({ props }: {
|
70
|
+
props: any;
|
71
|
+
}): {
|
72
|
+
class: (string | {
|
73
|
+
'sm:left-full top-0': boolean;
|
74
|
+
})[];
|
75
|
+
};
|
76
|
+
namespace grid {
|
77
|
+
let _class_2: string;
|
78
|
+
export { _class_2 as class };
|
79
|
+
}
|
80
|
+
namespace column {
|
81
|
+
let _class_3: string;
|
82
|
+
export { _class_3 as class };
|
83
|
+
}
|
84
|
+
namespace submenu {
|
85
|
+
let _class_4: string[];
|
86
|
+
export { _class_4 as class };
|
87
|
+
}
|
88
|
+
namespace submenuheader {
|
89
|
+
let _class_5: string[];
|
90
|
+
export { _class_5 as class };
|
91
|
+
}
|
92
|
+
namespace separator {
|
93
|
+
let _class_6: string;
|
94
|
+
export { _class_6 as class };
|
95
|
+
}
|
96
|
+
namespace menubutton {
|
97
|
+
let _class_7: string[];
|
98
|
+
export { _class_7 as class };
|
99
|
+
}
|
100
|
+
namespace end {
|
101
|
+
let _class_8: string;
|
102
|
+
export { _class_8 as class };
|
103
|
+
}
|
104
|
+
}
|
105
|
+
export default _default;
|