@gluhar/theme 2.0.2 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +32 -0
- package/README.md +2 -47
- package/dist/module.d.mts +0 -4
- package/dist/module.d.ts +0 -4
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -9
- package/dist/runtime/tailwind/gluharTheme.js +3 -27
- package/dist/runtime/tailwind/handleTailwind.js +1 -5
- package/package.json +3 -6
- package/dist/runtime/presets/lara/accordion/index.d.ts +0 -49
- package/dist/runtime/presets/lara/accordion/index.js +0 -78
- package/dist/runtime/presets/lara/autocomplete/index.d.ts +0 -200
- package/dist/runtime/presets/lara/autocomplete/index.js +0 -259
- package/dist/runtime/presets/lara/avatar/index.d.ts +0 -83
- package/dist/runtime/presets/lara/avatar/index.js +0 -43
- package/dist/runtime/presets/lara/avatargroup/index.d.ts +0 -7
- package/dist/runtime/presets/lara/avatargroup/index.js +0 -5
- package/dist/runtime/presets/lara/badge/index.d.ts +0 -72
- package/dist/runtime/presets/lara/badge/index.js +0 -43
- package/dist/runtime/presets/lara/badgedirective/index.d.ts +0 -50
- package/dist/runtime/presets/lara/badgedirective/index.js +0 -43
- package/dist/runtime/presets/lara/blockui/index.d.ts +0 -11
- package/dist/runtime/presets/lara/blockui/index.js +0 -8
- package/dist/runtime/presets/lara/breadcrumb/index.d.ts +0 -23
- package/dist/runtime/presets/lara/breadcrumb/index.js +0 -64
- package/dist/runtime/presets/lara/button/index.d.ts +0 -3790
- package/dist/runtime/presets/lara/button/index.js +0 -220
- package/dist/runtime/presets/lara/calendar/index.d.ts +0 -334
- package/dist/runtime/presets/lara/calendar/index.js +0 -643
- package/dist/runtime/presets/lara/card/index.d.ts +0 -27
- package/dist/runtime/presets/lara/card/index.js +0 -37
- package/dist/runtime/presets/lara/carousel/index.d.ts +0 -71
- package/dist/runtime/presets/lara/carousel/index.js +0 -149
- package/dist/runtime/presets/lara/cascadeselect/index.d.ts +0 -112
- package/dist/runtime/presets/lara/cascadeselect/index.js +0 -209
- package/dist/runtime/presets/lara/checkbox/index.d.ts +0 -45
- package/dist/runtime/presets/lara/checkbox/index.js +0 -101
- package/dist/runtime/presets/lara/chip/index.d.ts +0 -23
- package/dist/runtime/presets/lara/chip/index.js +0 -45
- package/dist/runtime/presets/lara/chips/index.d.ts +0 -56
- package/dist/runtime/presets/lara/chips/index.js +0 -114
- package/dist/runtime/presets/lara/colorpicker/index.d.ts +0 -51
- package/dist/runtime/presets/lara/colorpicker/index.js +0 -123
- package/dist/runtime/presets/lara/confirmpopup/index.d.ts +0 -39
- package/dist/runtime/presets/lara/confirmpopup/index.js +0 -106
- package/dist/runtime/presets/lara/contextmenu/index.d.ts +0 -72
- package/dist/runtime/presets/lara/contextmenu/index.js +0 -125
- package/dist/runtime/presets/lara/datatable/index.d.ts +0 -695
- package/dist/runtime/presets/lara/datatable/index.js +0 -1170
- package/dist/runtime/presets/lara/dataview/index.d.ts +0 -15
- package/dist/runtime/presets/lara/dataview/index.js +0 -40
- package/dist/runtime/presets/lara/dataviewlayoutoptions/index.d.ts +0 -13
- package/dist/runtime/presets/lara/dataviewlayoutoptions/index.js +0 -62
- package/dist/runtime/presets/lara/deferred/index.d.ts +0 -4
- package/dist/runtime/presets/lara/deferred/index.js +0 -3
- package/dist/runtime/presets/lara/dialog/index.d.ts +0 -79
- package/dist/runtime/presets/lara/dialog/index.js +0 -235
- package/dist/runtime/presets/lara/divider/index.d.ts +0 -192
- package/dist/runtime/presets/lara/divider/index.js +0 -67
- package/dist/runtime/presets/lara/dock/index.d.ts +0 -51
- package/dist/runtime/presets/lara/dock/index.js +0 -93
- package/dist/runtime/presets/lara/dropdown/index.d.ts +0 -207
- package/dist/runtime/presets/lara/dropdown/index.js +0 -265
- package/dist/runtime/presets/lara/fieldset/index.d.ts +0 -87
- package/dist/runtime/presets/lara/fieldset/index.js +0 -84
- package/dist/runtime/presets/lara/fileupload/index.d.ts +0 -70
- package/dist/runtime/presets/lara/fileupload/index.js +0 -173
- package/dist/runtime/presets/lara/floatlabel/index.d.ts +0 -7
- package/dist/runtime/presets/lara/floatlabel/index.js +0 -26
- package/dist/runtime/presets/lara/galleria/index.d.ts +0 -194
- package/dist/runtime/presets/lara/galleria/index.js +0 -306
- package/dist/runtime/presets/lara/global.d.ts +0 -4
- package/dist/runtime/presets/lara/global.js +0 -90
- package/dist/runtime/presets/lara/iconfield/index.d.ts +0 -18
- package/dist/runtime/presets/lara/iconfield/index.js +0 -22
- package/dist/runtime/presets/lara/image/index.d.ts +0 -65
- package/dist/runtime/presets/lara/image/index.js +0 -206
- package/dist/runtime/presets/lara/index.d.ts +0 -187
- package/dist/runtime/presets/lara/index.js +0 -207
- package/dist/runtime/presets/lara/inlinemessage/index.d.ts +0 -55
- package/dist/runtime/presets/lara/inlinemessage/index.js +0 -36
- package/dist/runtime/presets/lara/inplace/index.d.ts +0 -7
- package/dist/runtime/presets/lara/inplace/index.js +0 -27
- package/dist/runtime/presets/lara/inputgroup/index.d.ts +0 -7
- package/dist/runtime/presets/lara/inputgroup/index.js +0 -5
- package/dist/runtime/presets/lara/inputgroupaddon/index.d.ts +0 -7
- package/dist/runtime/presets/lara/inputgroupaddon/index.js +0 -28
- package/dist/runtime/presets/lara/inputmask/index.d.ts +0 -27
- package/dist/runtime/presets/lara/inputmask/index.js +0 -34
- package/dist/runtime/presets/lara/inputnumber/index.d.ts +0 -390
- package/dist/runtime/presets/lara/inputnumber/index.js +0 -164
- package/dist/runtime/presets/lara/inputotp/index.d.ts +0 -147
- package/dist/runtime/presets/lara/inputotp/index.js +0 -60
- package/dist/runtime/presets/lara/inputswitch/index.d.ts +0 -67
- package/dist/runtime/presets/lara/inputswitch/index.js +0 -80
- package/dist/runtime/presets/lara/inputtext/index.d.ts +0 -160
- package/dist/runtime/presets/lara/inputtext/index.js +0 -49
- package/dist/runtime/presets/lara/knob/index.d.ts +0 -22
- package/dist/runtime/presets/lara/knob/index.js +0 -44
- package/dist/runtime/presets/lara/listbox/index.d.ts +0 -93
- package/dist/runtime/presets/lara/listbox/index.js +0 -152
- package/dist/runtime/presets/lara/megamenu/index.d.ts +0 -105
- package/dist/runtime/presets/lara/megamenu/index.js +0 -199
- package/dist/runtime/presets/lara/menu/index.d.ts +0 -40
- package/dist/runtime/presets/lara/menu/index.js +0 -96
- package/dist/runtime/presets/lara/menubar/index.d.ts +0 -85
- package/dist/runtime/presets/lara/menubar/index.js +0 -176
- package/dist/runtime/presets/lara/message/index.d.ts +0 -70
- package/dist/runtime/presets/lara/message/index.js +0 -87
- package/dist/runtime/presets/lara/metergroup/index.d.ts +0 -92
- package/dist/runtime/presets/lara/metergroup/index.js +0 -97
- package/dist/runtime/presets/lara/multiselect/index.d.ts +0 -260
- package/dist/runtime/presets/lara/multiselect/index.js +0 -546
- package/dist/runtime/presets/lara/orderlist/index.d.ts +0 -99
- package/dist/runtime/presets/lara/orderlist/index.js +0 -257
- package/dist/runtime/presets/lara/organizationchart/index.d.ts +0 -81
- package/dist/runtime/presets/lara/organizationchart/index.js +0 -138
- package/dist/runtime/presets/lara/overlaypanel/index.d.ts +0 -17
- package/dist/runtime/presets/lara/overlaypanel/index.js +0 -40
- package/dist/runtime/presets/lara/paginator/index.d.ts +0 -280
- package/dist/runtime/presets/lara/paginator/index.js +0 -533
- package/dist/runtime/presets/lara/panel/index.d.ts +0 -39
- package/dist/runtime/presets/lara/panel/index.js +0 -91
- package/dist/runtime/presets/lara/panelmenu/index.d.ts +0 -76
- package/dist/runtime/presets/lara/panelmenu/index.js +0 -127
- package/dist/runtime/presets/lara/password/index.d.ts +0 -181
- package/dist/runtime/presets/lara/password/index.js +0 -118
- package/dist/runtime/presets/lara/picklist/index.d.ts +0 -245
- package/dist/runtime/presets/lara/picklist/index.js +0 -650
- package/dist/runtime/presets/lara/progressbar/index.d.ts +0 -44
- package/dist/runtime/presets/lara/progressbar/index.js +0 -55
- package/dist/runtime/presets/lara/progressspinner/index.d.ts +0 -15
- package/dist/runtime/presets/lara/progressspinner/index.js +0 -51
- package/dist/runtime/presets/lara/radiobutton/index.d.ts +0 -57
- package/dist/runtime/presets/lara/radiobutton/index.js +0 -104
- package/dist/runtime/presets/lara/rating/index.d.ts +0 -49
- package/dist/runtime/presets/lara/rating/index.js +0 -92
- package/dist/runtime/presets/lara/ripple/index.d.ts +0 -8
- package/dist/runtime/presets/lara/ripple/index.js +0 -6
- package/dist/runtime/presets/lara/scrollpanel/index.d.ts +0 -19
- package/dist/runtime/presets/lara/scrollpanel/index.js +0 -77
- package/dist/runtime/presets/lara/scrolltop/index.d.ts +0 -50
- package/dist/runtime/presets/lara/scrolltop/index.js +0 -41
- package/dist/runtime/presets/lara/selectbutton/index.d.ts +0 -56
- package/dist/runtime/presets/lara/selectbutton/index.js +0 -49
- package/dist/runtime/presets/lara/sidebar/index.d.ts +0 -66
- package/dist/runtime/presets/lara/sidebar/index.js +0 -149
- package/dist/runtime/presets/lara/skeleton/index.d.ts +0 -16
- package/dist/runtime/presets/lara/skeleton/index.js +0 -16
- package/dist/runtime/presets/lara/slider/index.d.ts +0 -55
- package/dist/runtime/presets/lara/slider/index.js +0 -137
- package/dist/runtime/presets/lara/speeddial/index.d.ts +0 -3091
- package/dist/runtime/presets/lara/speeddial/index.js +0 -283
- package/dist/runtime/presets/lara/splitbutton/index.d.ts +0 -6749
- package/dist/runtime/presets/lara/splitbutton/index.js +0 -502
- package/dist/runtime/presets/lara/splitter/index.d.ts +0 -30
- package/dist/runtime/presets/lara/splitter/index.js +0 -61
- package/dist/runtime/presets/lara/splitterpanel/index.d.ts +0 -10
- package/dist/runtime/presets/lara/splitterpanel/index.js +0 -5
- package/dist/runtime/presets/lara/stepper/index.d.ts +0 -66
- package/dist/runtime/presets/lara/stepper/index.js +0 -161
- package/dist/runtime/presets/lara/steps/index.d.ts +0 -57
- package/dist/runtime/presets/lara/steps/index.js +0 -111
- package/dist/runtime/presets/lara/tabmenu/index.d.ts +0 -43
- package/dist/runtime/presets/lara/tabmenu/index.js +0 -73
- package/dist/runtime/presets/lara/tabview/index.d.ts +0 -67
- package/dist/runtime/presets/lara/tabview/index.js +0 -156
- package/dist/runtime/presets/lara/tag/index.d.ts +0 -32
- package/dist/runtime/presets/lara/tag/index.js +0 -36
- package/dist/runtime/presets/lara/terminal/index.d.ts +0 -27
- package/dist/runtime/presets/lara/terminal/index.js +0 -60
- package/dist/runtime/presets/lara/textarea/index.d.ts +0 -27
- package/dist/runtime/presets/lara/textarea/index.js +0 -36
- package/dist/runtime/presets/lara/tieredmenu/index.d.ts +0 -56
- package/dist/runtime/presets/lara/tieredmenu/index.js +0 -120
- package/dist/runtime/presets/lara/timeline/index.d.ts +0 -84
- package/dist/runtime/presets/lara/timeline/index.js +0 -81
- package/dist/runtime/presets/lara/toast/index.d.ts +0 -92
- package/dist/runtime/presets/lara/toast/index.js +0 -102
- package/dist/runtime/presets/lara/togglebutton/index.d.ts +0 -72
- package/dist/runtime/presets/lara/togglebutton/index.js +0 -91
- package/dist/runtime/presets/lara/toolbar/index.d.ts +0 -19
- package/dist/runtime/presets/lara/toolbar/index.js +0 -28
- package/dist/runtime/presets/lara/tooltip/index.d.ts +0 -38
- package/dist/runtime/presets/lara/tooltip/index.js +0 -46
- package/dist/runtime/presets/lara/tree/index.d.ts +0 -105
- package/dist/runtime/presets/lara/tree/index.js +0 -258
- package/dist/runtime/presets/lara/treeselect/index.d.ts +0 -181
- package/dist/runtime/presets/lara/treeselect/index.js +0 -352
- package/dist/runtime/presets/lara/treetable/index.d.ts +0 -316
- package/dist/runtime/presets/lara/treetable/index.js +0 -434
- package/dist/runtime/presets/lara/tristatecheckbox/index.d.ts +0 -49
- package/dist/runtime/presets/lara/tristatecheckbox/index.js +0 -104
- package/dist/runtime/styles/core.css +0 -27
|
@@ -1,23 +0,0 @@
|
|
|
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;
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
root: {
|
|
3
|
-
class: [
|
|
4
|
-
// Flexbox
|
|
5
|
-
'inline-flex items-center',
|
|
6
|
-
|
|
7
|
-
// Spacing
|
|
8
|
-
'px-3',
|
|
9
|
-
|
|
10
|
-
// Shape
|
|
11
|
-
'rounded-[1.14rem]',
|
|
12
|
-
|
|
13
|
-
// Colors
|
|
14
|
-
'text-surface-700 dark:text-white/70',
|
|
15
|
-
'bg-surface-200 dark:bg-surface-700'
|
|
16
|
-
]
|
|
17
|
-
},
|
|
18
|
-
label: {
|
|
19
|
-
class: 'leading-6 my-1.5 mx-0'
|
|
20
|
-
},
|
|
21
|
-
icon: {
|
|
22
|
-
class: 'leading-6 mr-2'
|
|
23
|
-
},
|
|
24
|
-
image: {
|
|
25
|
-
class: ['w-9 h-9 -ml-3 mr-2', 'rounded-full']
|
|
26
|
-
},
|
|
27
|
-
removeIcon: {
|
|
28
|
-
class: [
|
|
29
|
-
// Shape
|
|
30
|
-
'rounded-md leading-6',
|
|
31
|
-
|
|
32
|
-
// Spacing
|
|
33
|
-
'ml-2',
|
|
34
|
-
|
|
35
|
-
// Size
|
|
36
|
-
'w-4 h-4',
|
|
37
|
-
|
|
38
|
-
// Transition
|
|
39
|
-
'transition duration-200 ease-in-out',
|
|
40
|
-
|
|
41
|
-
// Misc
|
|
42
|
-
'cursor-pointer'
|
|
43
|
-
]
|
|
44
|
-
}
|
|
45
|
-
};
|
|
@@ -1,56 +0,0 @@
|
|
|
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, props }: {
|
|
10
|
-
state: any;
|
|
11
|
-
props: any;
|
|
12
|
-
}): {
|
|
13
|
-
class: (string | {
|
|
14
|
-
'border-surface-300 dark:border-surface-600': boolean;
|
|
15
|
-
'border-red-500 dark:border-red-400'?: undefined;
|
|
16
|
-
'hover:border-primary-500 dark:hover:border-primary-400'?: undefined;
|
|
17
|
-
'ring ring-primary-400/50 dark:ring-primary-300/50'?: undefined;
|
|
18
|
-
} | {
|
|
19
|
-
'border-red-500 dark:border-red-400': any;
|
|
20
|
-
'border-surface-300 dark:border-surface-600'?: undefined;
|
|
21
|
-
'hover:border-primary-500 dark:hover:border-primary-400'?: undefined;
|
|
22
|
-
'ring ring-primary-400/50 dark:ring-primary-300/50'?: undefined;
|
|
23
|
-
} | {
|
|
24
|
-
'hover:border-primary-500 dark:hover:border-primary-400': boolean;
|
|
25
|
-
'border-surface-300 dark:border-surface-600'?: undefined;
|
|
26
|
-
'border-red-500 dark:border-red-400'?: undefined;
|
|
27
|
-
'ring ring-primary-400/50 dark:ring-primary-300/50'?: undefined;
|
|
28
|
-
} | {
|
|
29
|
-
'ring ring-primary-400/50 dark:ring-primary-300/50': any;
|
|
30
|
-
'border-surface-300 dark:border-surface-600'?: undefined;
|
|
31
|
-
'border-red-500 dark:border-red-400'?: undefined;
|
|
32
|
-
'hover:border-primary-500 dark:hover:border-primary-400'?: undefined;
|
|
33
|
-
})[];
|
|
34
|
-
};
|
|
35
|
-
namespace inputtoken {
|
|
36
|
-
let _class: string[];
|
|
37
|
-
export { _class as class };
|
|
38
|
-
}
|
|
39
|
-
namespace input {
|
|
40
|
-
let _class_1: string[];
|
|
41
|
-
export { _class_1 as class };
|
|
42
|
-
}
|
|
43
|
-
namespace token {
|
|
44
|
-
let _class_2: string[];
|
|
45
|
-
export { _class_2 as class };
|
|
46
|
-
}
|
|
47
|
-
namespace label {
|
|
48
|
-
let _class_3: string;
|
|
49
|
-
export { _class_3 as class };
|
|
50
|
-
}
|
|
51
|
-
namespace removeTokenIcon {
|
|
52
|
-
let _class_4: string[];
|
|
53
|
-
export { _class_4 as class };
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
export default _default;
|
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
root: ({ props }) => ({
|
|
3
|
-
class: [
|
|
4
|
-
'flex',
|
|
5
|
-
{
|
|
6
|
-
'opacity-60 select-none pointer-events-none cursor-default': props.disabled
|
|
7
|
-
}
|
|
8
|
-
]
|
|
9
|
-
}),
|
|
10
|
-
container: ({ state, props }) => ({
|
|
11
|
-
class: [
|
|
12
|
-
// Font
|
|
13
|
-
'font-sans text-base leading-none',
|
|
14
|
-
|
|
15
|
-
// Flex
|
|
16
|
-
'flex items-center flex-wrap gap-2',
|
|
17
|
-
|
|
18
|
-
// Spacing
|
|
19
|
-
'm-0 py-1.5 px-3',
|
|
20
|
-
|
|
21
|
-
// Size
|
|
22
|
-
'w-full',
|
|
23
|
-
'min-h-[2.877rem]',
|
|
24
|
-
|
|
25
|
-
// Shape
|
|
26
|
-
'list-none',
|
|
27
|
-
'rounded-md',
|
|
28
|
-
|
|
29
|
-
// Color
|
|
30
|
-
'text-surface-700 dark:text-white/80',
|
|
31
|
-
'bg-surface-0 dark:bg-surface-900',
|
|
32
|
-
'border',
|
|
33
|
-
{ 'border-surface-300 dark:border-surface-600': !props.invalid },
|
|
34
|
-
|
|
35
|
-
// Invalid State
|
|
36
|
-
{ 'border-red-500 dark:border-red-400': props.invalid },
|
|
37
|
-
|
|
38
|
-
// States
|
|
39
|
-
{ 'hover:border-primary-500 dark:hover:border-primary-400': !props.invalid },
|
|
40
|
-
'focus:outline-none focus:outline-offset-0',
|
|
41
|
-
{ 'ring ring-primary-400/50 dark:ring-primary-300/50': state.focused },
|
|
42
|
-
{ 'ring ring-primary-400/50 dark:ring-primary-300/50': state.hovered },
|
|
43
|
-
|
|
44
|
-
// Transition
|
|
45
|
-
'transition-colors duration-200',
|
|
46
|
-
|
|
47
|
-
// Misc
|
|
48
|
-
'cursor-text overflow-hidden',
|
|
49
|
-
'appearance-none'
|
|
50
|
-
]
|
|
51
|
-
}),
|
|
52
|
-
|
|
53
|
-
inputtoken: {
|
|
54
|
-
class: ['py-1.5 px-0', 'inline-flex flex-auto']
|
|
55
|
-
},
|
|
56
|
-
input: {
|
|
57
|
-
class: [
|
|
58
|
-
// Font
|
|
59
|
-
'font-sans text-base leading-[1.2]',
|
|
60
|
-
|
|
61
|
-
// Size
|
|
62
|
-
'w-full',
|
|
63
|
-
|
|
64
|
-
// Spacing
|
|
65
|
-
'p-0 m-0',
|
|
66
|
-
|
|
67
|
-
// Shape
|
|
68
|
-
'appearance-none rounded-none',
|
|
69
|
-
'border-0 outline-none',
|
|
70
|
-
'shadow-none',
|
|
71
|
-
|
|
72
|
-
// Color
|
|
73
|
-
'text-surface-700 dark:text-white/80',
|
|
74
|
-
'bg-transparent'
|
|
75
|
-
]
|
|
76
|
-
},
|
|
77
|
-
token: {
|
|
78
|
-
class: [
|
|
79
|
-
// Flexbox
|
|
80
|
-
'inline-flex items-center',
|
|
81
|
-
|
|
82
|
-
// Spacing
|
|
83
|
-
'py-1.5 px-3',
|
|
84
|
-
|
|
85
|
-
// Shape
|
|
86
|
-
'rounded-[1.14rem]',
|
|
87
|
-
|
|
88
|
-
// Colors
|
|
89
|
-
'text-surface-700 dark:text-white/70',
|
|
90
|
-
'bg-surface-200 dark:bg-surface-700'
|
|
91
|
-
]
|
|
92
|
-
},
|
|
93
|
-
label: {
|
|
94
|
-
class: 'leading-5'
|
|
95
|
-
},
|
|
96
|
-
removeTokenIcon: {
|
|
97
|
-
class: [
|
|
98
|
-
// Shape
|
|
99
|
-
'rounded-md leading-6',
|
|
100
|
-
|
|
101
|
-
// Spacing
|
|
102
|
-
'ml-2',
|
|
103
|
-
|
|
104
|
-
// Size
|
|
105
|
-
'w-4 h-4',
|
|
106
|
-
|
|
107
|
-
// Transition
|
|
108
|
-
'transition duration-200 ease-in-out',
|
|
109
|
-
|
|
110
|
-
// Misc
|
|
111
|
-
'cursor-pointer'
|
|
112
|
-
]
|
|
113
|
-
}
|
|
114
|
-
};
|
|
@@ -1,51 +0,0 @@
|
|
|
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-[166px] w-[193px]': any;
|
|
18
|
-
'absolute h-[166px] w-[193px]': 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;
|
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
root: ({ props }) => ({
|
|
3
|
-
class: [
|
|
4
|
-
// Display
|
|
5
|
-
'inline-block',
|
|
6
|
-
|
|
7
|
-
// Misc
|
|
8
|
-
{ 'opacity-60 select-none pointer-events-none cursor-default': props.disabled }
|
|
9
|
-
]
|
|
10
|
-
}),
|
|
11
|
-
input: {
|
|
12
|
-
class: [
|
|
13
|
-
// Font
|
|
14
|
-
'font-sans text-base ',
|
|
15
|
-
|
|
16
|
-
// Spacing
|
|
17
|
-
'm-0',
|
|
18
|
-
'p-3',
|
|
19
|
-
|
|
20
|
-
// Size & Shape
|
|
21
|
-
'rounded-lg w-8 h-8',
|
|
22
|
-
|
|
23
|
-
// Colors
|
|
24
|
-
'bg-surface-0 dark:bg-surface-900',
|
|
25
|
-
'border border-surface-300 dark:border-surface-700',
|
|
26
|
-
|
|
27
|
-
// States
|
|
28
|
-
'hover:border-primary-500 dark:hover:border-primary-400',
|
|
29
|
-
'focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50 dark:focus:ring-primary-300/50',
|
|
30
|
-
|
|
31
|
-
// Transition
|
|
32
|
-
'transition-colors duration-200',
|
|
33
|
-
|
|
34
|
-
// Misc
|
|
35
|
-
'cursor-pointer'
|
|
36
|
-
]
|
|
37
|
-
},
|
|
38
|
-
panel: ({ props }) => ({
|
|
39
|
-
class: [
|
|
40
|
-
// Position & Size
|
|
41
|
-
{
|
|
42
|
-
'relative h-[166px] w-[193px]': props.inline,
|
|
43
|
-
'absolute h-[166px] w-[193px]': !props.inline
|
|
44
|
-
},
|
|
45
|
-
|
|
46
|
-
// Shape
|
|
47
|
-
'shadow-md border',
|
|
48
|
-
|
|
49
|
-
// Colors
|
|
50
|
-
'bg-surface-800 border-surface-900 dark:border-surface-600'
|
|
51
|
-
]
|
|
52
|
-
}),
|
|
53
|
-
selector: {
|
|
54
|
-
class: [
|
|
55
|
-
// Position
|
|
56
|
-
'absolute top-[8px] left-[8px]',
|
|
57
|
-
|
|
58
|
-
// Size
|
|
59
|
-
'h-[150px] w-[150px]'
|
|
60
|
-
]
|
|
61
|
-
},
|
|
62
|
-
color: {
|
|
63
|
-
class: [
|
|
64
|
-
// Size
|
|
65
|
-
'h-[150px] w-[150px]'
|
|
66
|
-
],
|
|
67
|
-
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%)'
|
|
68
|
-
},
|
|
69
|
-
colorhandle: {
|
|
70
|
-
class: [
|
|
71
|
-
'absolute',
|
|
72
|
-
|
|
73
|
-
// Shape
|
|
74
|
-
'rounded-full border border-solid',
|
|
75
|
-
|
|
76
|
-
// Size
|
|
77
|
-
'h-[10px] w-[10px]',
|
|
78
|
-
|
|
79
|
-
// Spacing
|
|
80
|
-
'-ml-[5px] -mt-[5px]',
|
|
81
|
-
|
|
82
|
-
// Colors
|
|
83
|
-
'border-white',
|
|
84
|
-
|
|
85
|
-
// Misc
|
|
86
|
-
'cursor-pointer opacity-85'
|
|
87
|
-
]
|
|
88
|
-
},
|
|
89
|
-
hue: {
|
|
90
|
-
class: [
|
|
91
|
-
// Position
|
|
92
|
-
'absolute top-[8px] left-[167px]',
|
|
93
|
-
|
|
94
|
-
// Size
|
|
95
|
-
'h-[150px] w-[17px]',
|
|
96
|
-
|
|
97
|
-
// Opacity
|
|
98
|
-
'opacity-85'
|
|
99
|
-
],
|
|
100
|
-
style: 'background: linear-gradient(0deg, red 0, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, red)'
|
|
101
|
-
},
|
|
102
|
-
huehandle: {
|
|
103
|
-
class: [
|
|
104
|
-
// Position
|
|
105
|
-
'absolute left-0 -ml-[2px] -mt-[5px]',
|
|
106
|
-
|
|
107
|
-
// Size
|
|
108
|
-
'h-[10px] w-[21px]',
|
|
109
|
-
|
|
110
|
-
// Shape
|
|
111
|
-
'border-solid border-2',
|
|
112
|
-
|
|
113
|
-
// Misc
|
|
114
|
-
'cursor-pointer opacity-85'
|
|
115
|
-
]
|
|
116
|
-
},
|
|
117
|
-
transition: {
|
|
118
|
-
enterFromClass: 'opacity-0 scale-y-[0.8]',
|
|
119
|
-
enterActiveClass: 'transition-[transform,opacity] duration-[120ms] ease-[cubic-bezier(0,0,0.2,1)]',
|
|
120
|
-
leaveActiveClass: 'transition-opacity duration-100 ease-linear',
|
|
121
|
-
leaveToClass: 'opacity-0'
|
|
122
|
-
}
|
|
123
|
-
};
|
|
@@ -1,39 +0,0 @@
|
|
|
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;
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
root: {
|
|
3
|
-
class: [
|
|
4
|
-
// Shape
|
|
5
|
-
'rounded-lg',
|
|
6
|
-
'shadow-lg',
|
|
7
|
-
'border-0',
|
|
8
|
-
|
|
9
|
-
// Positioning
|
|
10
|
-
'z-40 transform origin-center',
|
|
11
|
-
'mt-3 absolute left-0 top-0',
|
|
12
|
-
|
|
13
|
-
// Color
|
|
14
|
-
'dark:border',
|
|
15
|
-
'dark:border-surface-700',
|
|
16
|
-
'bg-surface-0 dark:bg-surface-800',
|
|
17
|
-
'text-surface-700 dark:text-surface-0/80',
|
|
18
|
-
|
|
19
|
-
// Before: Arrow
|
|
20
|
-
'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 dark:before:border-b-surface-800'
|
|
21
|
-
]
|
|
22
|
-
},
|
|
23
|
-
content: {
|
|
24
|
-
class: 'p-5 items-center flex'
|
|
25
|
-
},
|
|
26
|
-
icon: {
|
|
27
|
-
class: 'text-2xl mr-4'
|
|
28
|
-
},
|
|
29
|
-
footer: {
|
|
30
|
-
class: [
|
|
31
|
-
// Flexbox and Alignment
|
|
32
|
-
'flex items-center justify-end',
|
|
33
|
-
'shrink-0',
|
|
34
|
-
'text-right',
|
|
35
|
-
'gap-2',
|
|
36
|
-
|
|
37
|
-
// Spacing
|
|
38
|
-
'px-6',
|
|
39
|
-
'pb-6',
|
|
40
|
-
|
|
41
|
-
// Shape
|
|
42
|
-
'border-t-0',
|
|
43
|
-
'rounded-b-lg',
|
|
44
|
-
|
|
45
|
-
// Colors
|
|
46
|
-
'bg-surface-0 dark:bg-surface-800',
|
|
47
|
-
'text-surface-700 dark:text-surface-0/80'
|
|
48
|
-
]
|
|
49
|
-
},
|
|
50
|
-
rejectbutton: {
|
|
51
|
-
root: {
|
|
52
|
-
class: [
|
|
53
|
-
'relative',
|
|
54
|
-
|
|
55
|
-
// Alignments
|
|
56
|
-
'items-center inline-flex text-center align-bottom justify-center',
|
|
57
|
-
|
|
58
|
-
// Sizes & Spacing
|
|
59
|
-
'px-4 py-3 leading-none',
|
|
60
|
-
|
|
61
|
-
// Shape
|
|
62
|
-
'rounded-md',
|
|
63
|
-
|
|
64
|
-
// Color
|
|
65
|
-
'text-primary-500 dark:text-primary-400',
|
|
66
|
-
|
|
67
|
-
// States
|
|
68
|
-
'hover:bg-primary-300/20',
|
|
69
|
-
'focus:outline-none focus:outline-offset-0 focus:ring',
|
|
70
|
-
'focus:ring-primary-400/50 dark:focus:ring-primary-300/50'
|
|
71
|
-
]
|
|
72
|
-
}
|
|
73
|
-
},
|
|
74
|
-
acceptbutton: {
|
|
75
|
-
root: {
|
|
76
|
-
class: [
|
|
77
|
-
'relative',
|
|
78
|
-
|
|
79
|
-
// Alignments
|
|
80
|
-
'items-center inline-flex text-center align-bottom justify-center',
|
|
81
|
-
|
|
82
|
-
// Sizes & Spacing
|
|
83
|
-
'px-4 py-3 leading-none',
|
|
84
|
-
|
|
85
|
-
// Shape
|
|
86
|
-
'rounded-md',
|
|
87
|
-
|
|
88
|
-
// Color
|
|
89
|
-
'text-white dark:text-surface-900',
|
|
90
|
-
'bg-primary-500 dark:bg-primary-400',
|
|
91
|
-
'border border-primary-500 dark:border-primary-400',
|
|
92
|
-
|
|
93
|
-
// States
|
|
94
|
-
'hover:bg-primary-600 dark:hover:bg-primary-300 hover:border-primary-600 dark:hover:border-primary-300',
|
|
95
|
-
'focus:outline-none focus:outline-offset-0 focus:ring',
|
|
96
|
-
'focus:ring-primary-400/50 dark:focus:ring-primary-300/50'
|
|
97
|
-
]
|
|
98
|
-
}
|
|
99
|
-
},
|
|
100
|
-
transition: {
|
|
101
|
-
enterFromClass: 'opacity-0 scale-y-[0.8]',
|
|
102
|
-
enterActiveClass: 'transition-[transform,opacity] duration-[120ms] ease-[cubic-bezier(0,0,0.2,1)]',
|
|
103
|
-
leaveActiveClass: 'transition-opacity duration-100 ease-linear',
|
|
104
|
-
leaveToClass: 'opacity-0'
|
|
105
|
-
}
|
|
106
|
-
};
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
declare namespace _default {
|
|
2
|
-
namespace root {
|
|
3
|
-
let _class: string[];
|
|
4
|
-
export { _class as class };
|
|
5
|
-
}
|
|
6
|
-
namespace menu {
|
|
7
|
-
let _class_1: string[];
|
|
8
|
-
export { _class_1 as class };
|
|
9
|
-
}
|
|
10
|
-
namespace menuitem {
|
|
11
|
-
let _class_2: string;
|
|
12
|
-
export { _class_2 as class };
|
|
13
|
-
}
|
|
14
|
-
function content({ context }: {
|
|
15
|
-
context: any;
|
|
16
|
-
}): {
|
|
17
|
-
class: (string | {
|
|
18
|
-
'text-surface-500 dark:text-white/70': boolean;
|
|
19
|
-
'text-surface-500 dark:text-white/70 bg-surface-200 dark:bg-surface-600/90': any;
|
|
20
|
-
'text-primary-700 dark:text-surface-0/80 bg-primary-50 dark:bg-primary-400/30': any;
|
|
21
|
-
'hover:bg-surface-100 dark:hover:bg-surface-600/80'?: undefined;
|
|
22
|
-
'hover:bg-primary-400/30 dark:hover:bg-primary-300/30 text-primary-700 dark:text-surface-0/80'?: undefined;
|
|
23
|
-
'opacity-60 pointer-events-none cursor-default'?: undefined;
|
|
24
|
-
} | {
|
|
25
|
-
'hover:bg-surface-100 dark:hover:bg-surface-600/80': boolean;
|
|
26
|
-
'hover:bg-primary-400/30 dark:hover:bg-primary-300/30 text-primary-700 dark:text-surface-0/80': any;
|
|
27
|
-
'text-surface-500 dark:text-white/70'?: undefined;
|
|
28
|
-
'text-surface-500 dark:text-white/70 bg-surface-200 dark:bg-surface-600/90'?: undefined;
|
|
29
|
-
'text-primary-700 dark:text-surface-0/80 bg-primary-50 dark:bg-primary-400/30'?: undefined;
|
|
30
|
-
'opacity-60 pointer-events-none cursor-default'?: undefined;
|
|
31
|
-
} | {
|
|
32
|
-
'opacity-60 pointer-events-none cursor-default': any;
|
|
33
|
-
'text-surface-500 dark:text-white/70'?: undefined;
|
|
34
|
-
'text-surface-500 dark:text-white/70 bg-surface-200 dark:bg-surface-600/90'?: undefined;
|
|
35
|
-
'text-primary-700 dark:text-surface-0/80 bg-primary-50 dark:bg-primary-400/30'?: undefined;
|
|
36
|
-
'hover:bg-surface-100 dark:hover:bg-surface-600/80'?: undefined;
|
|
37
|
-
'hover:bg-primary-400/30 dark:hover:bg-primary-300/30 text-primary-700 dark:text-surface-0/80'?: undefined;
|
|
38
|
-
})[];
|
|
39
|
-
};
|
|
40
|
-
namespace action {
|
|
41
|
-
let _class_3: string[];
|
|
42
|
-
export { _class_3 as class };
|
|
43
|
-
}
|
|
44
|
-
namespace icon {
|
|
45
|
-
let _class_4: string[];
|
|
46
|
-
export { _class_4 as class };
|
|
47
|
-
}
|
|
48
|
-
namespace label {
|
|
49
|
-
let _class_5: string[];
|
|
50
|
-
export { _class_5 as class };
|
|
51
|
-
}
|
|
52
|
-
function submenu({ props }: {
|
|
53
|
-
props: any;
|
|
54
|
-
}): {
|
|
55
|
-
class: (string | {
|
|
56
|
-
'sm:absolute sm:left-full sm:top-0': boolean;
|
|
57
|
-
})[];
|
|
58
|
-
};
|
|
59
|
-
namespace submenuicon {
|
|
60
|
-
let _class_6: string[];
|
|
61
|
-
export { _class_6 as class };
|
|
62
|
-
}
|
|
63
|
-
namespace separator {
|
|
64
|
-
let _class_7: string;
|
|
65
|
-
export { _class_7 as class };
|
|
66
|
-
}
|
|
67
|
-
namespace transition {
|
|
68
|
-
let enterFromClass: string;
|
|
69
|
-
let enterActiveClass: string;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
export default _default;
|