@gluhar/theme 2.0.3 → 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 +24 -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
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
declare namespace _default {
|
|
2
|
-
namespace root {
|
|
3
|
-
let _class: string[];
|
|
4
|
-
export { _class as class };
|
|
5
|
-
}
|
|
6
|
-
function legend({ props }: {
|
|
7
|
-
props: any;
|
|
8
|
-
}): {
|
|
9
|
-
class: (string | {
|
|
10
|
-
'p-0': any;
|
|
11
|
-
'p-5': boolean;
|
|
12
|
-
'hover:bg-surface-100 hover:border-surface-200 hover:text-surface-900 dark:hover:text-surface-0/80 dark:hover:bg-surface-800/80'?: undefined;
|
|
13
|
-
} | {
|
|
14
|
-
'hover:bg-surface-100 hover:border-surface-200 hover:text-surface-900 dark:hover:text-surface-0/80 dark:hover:bg-surface-800/80': any;
|
|
15
|
-
'p-0'?: undefined;
|
|
16
|
-
'p-5'?: undefined;
|
|
17
|
-
})[];
|
|
18
|
-
};
|
|
19
|
-
function toggler({ props }: {
|
|
20
|
-
props: any;
|
|
21
|
-
}): {
|
|
22
|
-
class: (string | {
|
|
23
|
-
'p-5': any;
|
|
24
|
-
'rounded-md'?: undefined;
|
|
25
|
-
'text-surface-700 dark:text-surface-200 hover:text-surface-900'?: undefined;
|
|
26
|
-
'hover:text-surface-900 dark:hover:text-surface-100'?: undefined;
|
|
27
|
-
'focus-visible:outline-none focus-visible:outline-offset-0 focus-visible:ring focus-visible:ring-inset focus-visible:ring-primary-400/50 dark:focus-visible:ring-primary-300/50'?: undefined;
|
|
28
|
-
'transition-none cursor-pointer overflow-hidden select-none'?: undefined;
|
|
29
|
-
} | {
|
|
30
|
-
'rounded-md': any;
|
|
31
|
-
'p-5'?: undefined;
|
|
32
|
-
'text-surface-700 dark:text-surface-200 hover:text-surface-900'?: undefined;
|
|
33
|
-
'hover:text-surface-900 dark:hover:text-surface-100'?: undefined;
|
|
34
|
-
'focus-visible:outline-none focus-visible:outline-offset-0 focus-visible:ring focus-visible:ring-inset focus-visible:ring-primary-400/50 dark:focus-visible:ring-primary-300/50'?: undefined;
|
|
35
|
-
'transition-none cursor-pointer overflow-hidden select-none'?: undefined;
|
|
36
|
-
} | {
|
|
37
|
-
'text-surface-700 dark:text-surface-200 hover:text-surface-900': any;
|
|
38
|
-
'p-5'?: undefined;
|
|
39
|
-
'rounded-md'?: undefined;
|
|
40
|
-
'hover:text-surface-900 dark:hover:text-surface-100'?: undefined;
|
|
41
|
-
'focus-visible:outline-none focus-visible:outline-offset-0 focus-visible:ring focus-visible:ring-inset focus-visible:ring-primary-400/50 dark:focus-visible:ring-primary-300/50'?: undefined;
|
|
42
|
-
'transition-none cursor-pointer overflow-hidden select-none'?: undefined;
|
|
43
|
-
} | {
|
|
44
|
-
'hover:text-surface-900 dark:hover:text-surface-100': any;
|
|
45
|
-
'p-5'?: undefined;
|
|
46
|
-
'rounded-md'?: undefined;
|
|
47
|
-
'text-surface-700 dark:text-surface-200 hover:text-surface-900'?: undefined;
|
|
48
|
-
'focus-visible:outline-none focus-visible:outline-offset-0 focus-visible:ring focus-visible:ring-inset focus-visible:ring-primary-400/50 dark:focus-visible:ring-primary-300/50'?: undefined;
|
|
49
|
-
'transition-none cursor-pointer overflow-hidden select-none'?: undefined;
|
|
50
|
-
} | {
|
|
51
|
-
'focus-visible:outline-none focus-visible:outline-offset-0 focus-visible:ring focus-visible:ring-inset focus-visible:ring-primary-400/50 dark:focus-visible:ring-primary-300/50': any;
|
|
52
|
-
'p-5'?: undefined;
|
|
53
|
-
'rounded-md'?: undefined;
|
|
54
|
-
'text-surface-700 dark:text-surface-200 hover:text-surface-900'?: undefined;
|
|
55
|
-
'hover:text-surface-900 dark:hover:text-surface-100'?: undefined;
|
|
56
|
-
'transition-none cursor-pointer overflow-hidden select-none'?: undefined;
|
|
57
|
-
} | {
|
|
58
|
-
'transition-none cursor-pointer overflow-hidden select-none': any;
|
|
59
|
-
'p-5'?: undefined;
|
|
60
|
-
'rounded-md'?: undefined;
|
|
61
|
-
'text-surface-700 dark:text-surface-200 hover:text-surface-900'?: undefined;
|
|
62
|
-
'hover:text-surface-900 dark:hover:text-surface-100'?: undefined;
|
|
63
|
-
'focus-visible:outline-none focus-visible:outline-offset-0 focus-visible:ring focus-visible:ring-inset focus-visible:ring-primary-400/50 dark:focus-visible:ring-primary-300/50'?: undefined;
|
|
64
|
-
})[];
|
|
65
|
-
};
|
|
66
|
-
namespace togglerIcon {
|
|
67
|
-
let _class_1: string;
|
|
68
|
-
export { _class_1 as class };
|
|
69
|
-
}
|
|
70
|
-
namespace legendTitle {
|
|
71
|
-
let _class_2: string;
|
|
72
|
-
export { _class_2 as class };
|
|
73
|
-
}
|
|
74
|
-
namespace content {
|
|
75
|
-
let _class_3: string;
|
|
76
|
-
export { _class_3 as class };
|
|
77
|
-
}
|
|
78
|
-
namespace transition {
|
|
79
|
-
let enterFromClass: string;
|
|
80
|
-
let enterActiveClass: string;
|
|
81
|
-
let enterToClass: string;
|
|
82
|
-
let leaveFromClass: string;
|
|
83
|
-
let leaveActiveClass: string;
|
|
84
|
-
let leaveToClass: string;
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
export default _default;
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
root: {
|
|
3
|
-
class: [
|
|
4
|
-
'block',
|
|
5
|
-
|
|
6
|
-
// Spacing
|
|
7
|
-
'px-4 pt-2 py-3',
|
|
8
|
-
'inline-size-min',
|
|
9
|
-
|
|
10
|
-
// Shape
|
|
11
|
-
'rounded-md',
|
|
12
|
-
// Color
|
|
13
|
-
'border border-surface-200 dark:border-surface-700',
|
|
14
|
-
'bg-surface-0 dark:bg-surface-900',
|
|
15
|
-
'text-surface-700 dark:text-surface-0/80'
|
|
16
|
-
]
|
|
17
|
-
},
|
|
18
|
-
legend: ({ props }) => ({
|
|
19
|
-
class: [
|
|
20
|
-
// Font
|
|
21
|
-
'font-bold',
|
|
22
|
-
'leading-none',
|
|
23
|
-
|
|
24
|
-
//Spacing
|
|
25
|
-
{ 'p-0': props.toggleable, 'p-5': !props.toggleable },
|
|
26
|
-
|
|
27
|
-
// Shape
|
|
28
|
-
'rounded-md',
|
|
29
|
-
|
|
30
|
-
// Color
|
|
31
|
-
'text-surface-700 dark:text-surface-0/80',
|
|
32
|
-
'border border-surface-200 dark:border-surface-700',
|
|
33
|
-
'bg-surface-50 dark:bg-surface-900',
|
|
34
|
-
|
|
35
|
-
// Transition
|
|
36
|
-
'transition-none',
|
|
37
|
-
|
|
38
|
-
// States
|
|
39
|
-
{ 'hover:bg-surface-100 hover:border-surface-200 hover:text-surface-900 dark:hover:text-surface-0/80 dark:hover:bg-surface-800/80': props.toggleable }
|
|
40
|
-
]
|
|
41
|
-
}),
|
|
42
|
-
toggler: ({ props }) => ({
|
|
43
|
-
class: [
|
|
44
|
-
// Alignments
|
|
45
|
-
'flex items-center justify-center',
|
|
46
|
-
'relative',
|
|
47
|
-
|
|
48
|
-
//Spacing
|
|
49
|
-
{ 'p-5': props.toggleable },
|
|
50
|
-
|
|
51
|
-
// Shape
|
|
52
|
-
{ 'rounded-md': props.toggleable },
|
|
53
|
-
|
|
54
|
-
// Color
|
|
55
|
-
{ 'text-surface-700 dark:text-surface-200 hover:text-surface-900': props.toggleable },
|
|
56
|
-
|
|
57
|
-
// States
|
|
58
|
-
{ 'hover:text-surface-900 dark:hover:text-surface-100': props.toggleable },
|
|
59
|
-
{ 'focus-visible:outline-none focus-visible:outline-offset-0 focus-visible:ring focus-visible:ring-inset focus-visible:ring-primary-400/50 dark:focus-visible:ring-primary-300/50': props.toggleable },
|
|
60
|
-
|
|
61
|
-
// Misc
|
|
62
|
-
{
|
|
63
|
-
'transition-none cursor-pointer overflow-hidden select-none': props.toggleable
|
|
64
|
-
}
|
|
65
|
-
]
|
|
66
|
-
}),
|
|
67
|
-
togglerIcon: {
|
|
68
|
-
class: 'mr-2 inline-block'
|
|
69
|
-
},
|
|
70
|
-
legendTitle: {
|
|
71
|
-
class: 'flex items-center justify-center leading-none'
|
|
72
|
-
},
|
|
73
|
-
content: {
|
|
74
|
-
class: 'p-5'
|
|
75
|
-
},
|
|
76
|
-
transition: {
|
|
77
|
-
enterFromClass: 'max-h-0',
|
|
78
|
-
enterActiveClass: 'overflow-hidden transition-[max-height] duration-1000 ease-[cubic-bezier(0.42,0,0.58,1)]',
|
|
79
|
-
enterToClass: 'max-h-[1000px]',
|
|
80
|
-
leaveFromClass: 'max-h-[1000px]',
|
|
81
|
-
leaveActiveClass: 'overflow-hidden transition-[max-height] duration-[450ms] ease-[cubic-bezier(0,1,0,1)]',
|
|
82
|
-
leaveToClass: 'max-h-0'
|
|
83
|
-
}
|
|
84
|
-
};
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
declare namespace _default {
|
|
2
|
-
namespace input {
|
|
3
|
-
let _class: string;
|
|
4
|
-
export { _class as class };
|
|
5
|
-
}
|
|
6
|
-
namespace buttonbar {
|
|
7
|
-
let _class_1: string[];
|
|
8
|
-
export { _class_1 as class };
|
|
9
|
-
}
|
|
10
|
-
namespace chooseButton {
|
|
11
|
-
let _class_2: string[];
|
|
12
|
-
export { _class_2 as class };
|
|
13
|
-
}
|
|
14
|
-
namespace chooseIcon {
|
|
15
|
-
let _class_3: string[];
|
|
16
|
-
export { _class_3 as class };
|
|
17
|
-
}
|
|
18
|
-
namespace chooseButtonLabel {
|
|
19
|
-
let _class_4: string[];
|
|
20
|
-
export { _class_4 as class };
|
|
21
|
-
}
|
|
22
|
-
namespace uploadbutton {
|
|
23
|
-
namespace icon {
|
|
24
|
-
let _class_5: string;
|
|
25
|
-
export { _class_5 as class };
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
namespace cancelbutton {
|
|
29
|
-
export namespace icon_1 {
|
|
30
|
-
let _class_6: string;
|
|
31
|
-
export { _class_6 as class };
|
|
32
|
-
}
|
|
33
|
-
export { icon_1 as icon };
|
|
34
|
-
}
|
|
35
|
-
namespace content {
|
|
36
|
-
let _class_7: string[];
|
|
37
|
-
export { _class_7 as class };
|
|
38
|
-
}
|
|
39
|
-
namespace file {
|
|
40
|
-
let _class_8: string[];
|
|
41
|
-
export { _class_8 as class };
|
|
42
|
-
}
|
|
43
|
-
namespace thumbnail {
|
|
44
|
-
let _class_9: string;
|
|
45
|
-
export { _class_9 as class };
|
|
46
|
-
}
|
|
47
|
-
namespace fileName {
|
|
48
|
-
let _class_10: string;
|
|
49
|
-
export { _class_10 as class };
|
|
50
|
-
}
|
|
51
|
-
namespace fileSize {
|
|
52
|
-
let _class_11: string;
|
|
53
|
-
export { _class_11 as class };
|
|
54
|
-
}
|
|
55
|
-
namespace uploadicon {
|
|
56
|
-
let _class_12: string;
|
|
57
|
-
export { _class_12 as class };
|
|
58
|
-
}
|
|
59
|
-
namespace progressbar {
|
|
60
|
-
namespace root {
|
|
61
|
-
let _class_13: string[];
|
|
62
|
-
export { _class_13 as class };
|
|
63
|
-
}
|
|
64
|
-
namespace value {
|
|
65
|
-
let _class_14: string[];
|
|
66
|
-
export { _class_14 as class };
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
export default _default;
|
|
@@ -1,173 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
input: {
|
|
3
|
-
class: 'hidden'
|
|
4
|
-
},
|
|
5
|
-
buttonbar: {
|
|
6
|
-
class: [
|
|
7
|
-
// Flexbox
|
|
8
|
-
'flex',
|
|
9
|
-
'flex-wrap',
|
|
10
|
-
|
|
11
|
-
// Colors
|
|
12
|
-
'bg-surface-50',
|
|
13
|
-
'dark:bg-surface-800',
|
|
14
|
-
'text-surface-700',
|
|
15
|
-
'dark:text-white/80',
|
|
16
|
-
|
|
17
|
-
// Spacing
|
|
18
|
-
'p-5',
|
|
19
|
-
'gap-2',
|
|
20
|
-
|
|
21
|
-
// Borders
|
|
22
|
-
'border',
|
|
23
|
-
'border-solid',
|
|
24
|
-
'border-surface-200',
|
|
25
|
-
'dark:border-surface-700',
|
|
26
|
-
'border-b-0',
|
|
27
|
-
|
|
28
|
-
// Shape
|
|
29
|
-
'rounded-tr-lg',
|
|
30
|
-
'rounded-tl-lg'
|
|
31
|
-
]
|
|
32
|
-
},
|
|
33
|
-
chooseButton: {
|
|
34
|
-
class: [
|
|
35
|
-
'relative',
|
|
36
|
-
|
|
37
|
-
// Alignments
|
|
38
|
-
'items-center inline-flex text-center align-bottom justify-center',
|
|
39
|
-
|
|
40
|
-
// Spacing
|
|
41
|
-
'px-4 py-3',
|
|
42
|
-
|
|
43
|
-
// Shape
|
|
44
|
-
'rounded-md',
|
|
45
|
-
|
|
46
|
-
// Font
|
|
47
|
-
'leading-[normal]',
|
|
48
|
-
'font-bold',
|
|
49
|
-
|
|
50
|
-
// Colors
|
|
51
|
-
'text-white dark:text-surface-900',
|
|
52
|
-
'bg-primary-500 dark:bg-primary-400',
|
|
53
|
-
'border-primary-500 dark:border-primary-400',
|
|
54
|
-
|
|
55
|
-
// States
|
|
56
|
-
'hover:bg-primary-600 dark:hover:bg-primary-300',
|
|
57
|
-
|
|
58
|
-
// Misc
|
|
59
|
-
'overflow-hidden',
|
|
60
|
-
'cursor-pointer'
|
|
61
|
-
]
|
|
62
|
-
},
|
|
63
|
-
chooseIcon: {
|
|
64
|
-
class: ['mr-2', 'inline-block']
|
|
65
|
-
},
|
|
66
|
-
chooseButtonLabel: {
|
|
67
|
-
class: ['flex-1', 'font-bold']
|
|
68
|
-
},
|
|
69
|
-
uploadbutton: {
|
|
70
|
-
icon: {
|
|
71
|
-
class: 'mr-2'
|
|
72
|
-
}
|
|
73
|
-
},
|
|
74
|
-
cancelbutton: {
|
|
75
|
-
icon: {
|
|
76
|
-
class: 'mr-2'
|
|
77
|
-
}
|
|
78
|
-
},
|
|
79
|
-
content: {
|
|
80
|
-
class: [
|
|
81
|
-
// Position
|
|
82
|
-
'relative',
|
|
83
|
-
|
|
84
|
-
// Colors
|
|
85
|
-
'bg-surface-0',
|
|
86
|
-
'dark:bg-surface-900',
|
|
87
|
-
'text-surface-700',
|
|
88
|
-
'dark:text-white/80',
|
|
89
|
-
|
|
90
|
-
// Spacing
|
|
91
|
-
'p-8',
|
|
92
|
-
|
|
93
|
-
// Borders
|
|
94
|
-
'border',
|
|
95
|
-
'border-surface-200',
|
|
96
|
-
'dark:border-surface-700',
|
|
97
|
-
|
|
98
|
-
// Shape
|
|
99
|
-
'rounded-b-lg'
|
|
100
|
-
]
|
|
101
|
-
},
|
|
102
|
-
file: {
|
|
103
|
-
class: [
|
|
104
|
-
// Flexbox
|
|
105
|
-
'flex',
|
|
106
|
-
'items-center',
|
|
107
|
-
'flex-wrap',
|
|
108
|
-
|
|
109
|
-
// Spacing
|
|
110
|
-
'p-4',
|
|
111
|
-
'mb-2',
|
|
112
|
-
'last:mb-0',
|
|
113
|
-
|
|
114
|
-
// Borders
|
|
115
|
-
'border',
|
|
116
|
-
'border-surface-200',
|
|
117
|
-
'dark:border-surface-700',
|
|
118
|
-
'gap-2',
|
|
119
|
-
|
|
120
|
-
// Shape
|
|
121
|
-
'rounded'
|
|
122
|
-
]
|
|
123
|
-
},
|
|
124
|
-
thumbnail: {
|
|
125
|
-
class: 'shrink-0'
|
|
126
|
-
},
|
|
127
|
-
fileName: {
|
|
128
|
-
class: 'mb-2 break-all'
|
|
129
|
-
},
|
|
130
|
-
fileSize: {
|
|
131
|
-
class: 'mr-2'
|
|
132
|
-
},
|
|
133
|
-
uploadicon: {
|
|
134
|
-
class: 'mr-2'
|
|
135
|
-
},
|
|
136
|
-
progressbar: {
|
|
137
|
-
root: {
|
|
138
|
-
class: [
|
|
139
|
-
// Position and Overflow
|
|
140
|
-
'overflow-hidden',
|
|
141
|
-
'absolute top-0 left-0',
|
|
142
|
-
|
|
143
|
-
// Shape and Size
|
|
144
|
-
'border-0',
|
|
145
|
-
'h-2',
|
|
146
|
-
'rounded-md',
|
|
147
|
-
'w-full',
|
|
148
|
-
|
|
149
|
-
// Colors
|
|
150
|
-
'bg-surface-100 dark:bg-surface-700'
|
|
151
|
-
]
|
|
152
|
-
},
|
|
153
|
-
value: {
|
|
154
|
-
class: [
|
|
155
|
-
// Flexbox & Overflow & Position
|
|
156
|
-
'absolute flex items-center justify-center overflow-hidden',
|
|
157
|
-
|
|
158
|
-
// Colors
|
|
159
|
-
'bg-primary-500 dark:bg-primary-400',
|
|
160
|
-
|
|
161
|
-
// Spacing & Sizing
|
|
162
|
-
'm-0',
|
|
163
|
-
'h-full w-0',
|
|
164
|
-
|
|
165
|
-
// Shape
|
|
166
|
-
'border-0',
|
|
167
|
-
|
|
168
|
-
// Transitions
|
|
169
|
-
'transition-width duration-1000 ease-in-out'
|
|
170
|
-
]
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
root: {
|
|
3
|
-
class: [
|
|
4
|
-
'block relative',
|
|
5
|
-
|
|
6
|
-
// Base Label Appearance
|
|
7
|
-
'[&>*:last-child]:text-surface-900/60 dark:[&>*:last-child]:text-white/60',
|
|
8
|
-
'[&>*:last-child]:absolute',
|
|
9
|
-
'[&>*:last-child]:top-1/2',
|
|
10
|
-
'[&>*:last-child]:-translate-y-1/2',
|
|
11
|
-
'[&>*:last-child]:left-3',
|
|
12
|
-
'[&>*:last-child]:pointer-events-none',
|
|
13
|
-
'[&>*:last-child]:transition-all',
|
|
14
|
-
'[&>*:last-child]:duration-200',
|
|
15
|
-
'[&>*:last-child]:ease',
|
|
16
|
-
|
|
17
|
-
// Focus Label Appearance
|
|
18
|
-
'[&>*:last-child]:has-[:focus]:-top-3',
|
|
19
|
-
'[&>*:last-child]:has-[:focus]:text-sm',
|
|
20
|
-
|
|
21
|
-
// Filled Input Label Appearance
|
|
22
|
-
'[&>*:last-child]:has-[.filled]:-top-3',
|
|
23
|
-
'[&>*:last-child]:has-[.filled]:text-sm'
|
|
24
|
-
]
|
|
25
|
-
}
|
|
26
|
-
};
|
|
@@ -1,194 +0,0 @@
|
|
|
1
|
-
declare namespace _default {
|
|
2
|
-
function content({ parent, props }: {
|
|
3
|
-
parent: any;
|
|
4
|
-
props: any;
|
|
5
|
-
}): {
|
|
6
|
-
class: (string | {
|
|
7
|
-
'flex-col': any;
|
|
8
|
-
'flex-row'?: undefined;
|
|
9
|
-
} | {
|
|
10
|
-
'flex-col': boolean;
|
|
11
|
-
'flex-row': boolean;
|
|
12
|
-
})[];
|
|
13
|
-
};
|
|
14
|
-
function itemwrapper({ parent, props }: {
|
|
15
|
-
parent: any;
|
|
16
|
-
props: any;
|
|
17
|
-
}): {
|
|
18
|
-
class: (string | {
|
|
19
|
-
'grow shrink w-0 justify-center': any;
|
|
20
|
-
'flex-col'?: undefined;
|
|
21
|
-
'flex-row items-center'?: undefined;
|
|
22
|
-
'order-2'?: undefined;
|
|
23
|
-
'flex-row'?: undefined;
|
|
24
|
-
} | {
|
|
25
|
-
'flex-col': boolean;
|
|
26
|
-
'flex-row items-center': boolean;
|
|
27
|
-
'grow shrink w-0 justify-center'?: undefined;
|
|
28
|
-
'order-2'?: undefined;
|
|
29
|
-
'flex-row'?: undefined;
|
|
30
|
-
} | {
|
|
31
|
-
'order-2': boolean;
|
|
32
|
-
'flex-row': boolean;
|
|
33
|
-
'grow shrink w-0 justify-center'?: undefined;
|
|
34
|
-
'flex-col'?: undefined;
|
|
35
|
-
'flex-row items-center'?: undefined;
|
|
36
|
-
})[];
|
|
37
|
-
};
|
|
38
|
-
function itemcontainer({ parent }: {
|
|
39
|
-
parent: any;
|
|
40
|
-
}): {
|
|
41
|
-
class: (string | {
|
|
42
|
-
'order-1': boolean;
|
|
43
|
-
'order-2': boolean;
|
|
44
|
-
})[];
|
|
45
|
-
};
|
|
46
|
-
namespace item {
|
|
47
|
-
let _class: string[];
|
|
48
|
-
export { _class as class };
|
|
49
|
-
}
|
|
50
|
-
function thumbnailwrapper({ parent }: {
|
|
51
|
-
parent: any;
|
|
52
|
-
}): {
|
|
53
|
-
class: (string | {
|
|
54
|
-
'order-1': boolean;
|
|
55
|
-
})[];
|
|
56
|
-
};
|
|
57
|
-
function thumbnailcontainer({ parent }: {
|
|
58
|
-
parent: any;
|
|
59
|
-
}): {
|
|
60
|
-
class: (string | {
|
|
61
|
-
'flex-row': boolean;
|
|
62
|
-
'flex-col grow': boolean;
|
|
63
|
-
})[];
|
|
64
|
-
};
|
|
65
|
-
namespace previousthumbnailbutton {
|
|
66
|
-
let _class_1: string[];
|
|
67
|
-
export { _class_1 as class };
|
|
68
|
-
}
|
|
69
|
-
namespace thumbnailitemscontainer {
|
|
70
|
-
let _class_2: string;
|
|
71
|
-
export { _class_2 as class };
|
|
72
|
-
}
|
|
73
|
-
function thumbnailitems({ parent }: {
|
|
74
|
-
parent: any;
|
|
75
|
-
}): {
|
|
76
|
-
class: (string | {
|
|
77
|
-
'flex-col h-full': boolean;
|
|
78
|
-
})[];
|
|
79
|
-
};
|
|
80
|
-
function thumbnailitem({ parent }: {
|
|
81
|
-
parent: any;
|
|
82
|
-
}): {
|
|
83
|
-
class: (string | {
|
|
84
|
-
'w-full md:w-[25%] lg:w-[20%]': boolean;
|
|
85
|
-
})[];
|
|
86
|
-
};
|
|
87
|
-
namespace nextthumbnailbutton {
|
|
88
|
-
let _class_3: string[];
|
|
89
|
-
export { _class_3 as class };
|
|
90
|
-
}
|
|
91
|
-
function indicators({ parent }: {
|
|
92
|
-
parent: any;
|
|
93
|
-
}): {
|
|
94
|
-
class: (string | {
|
|
95
|
-
'order-2': boolean;
|
|
96
|
-
'order-1': boolean;
|
|
97
|
-
'order-1 flex-col': boolean;
|
|
98
|
-
'flex-col order-2': boolean;
|
|
99
|
-
'absolute z-10 bg-black/50'?: undefined;
|
|
100
|
-
'bottom-0 left-0 w-full items-start'?: undefined;
|
|
101
|
-
'top-0 left-0 w-full items-start'?: undefined;
|
|
102
|
-
'left-0 top-0 h-full items-start'?: undefined;
|
|
103
|
-
'right-0 top-0 h-full items-start'?: undefined;
|
|
104
|
-
} | {
|
|
105
|
-
'absolute z-10 bg-black/50': any;
|
|
106
|
-
'order-2'?: undefined;
|
|
107
|
-
'order-1'?: undefined;
|
|
108
|
-
'order-1 flex-col'?: undefined;
|
|
109
|
-
'flex-col order-2'?: undefined;
|
|
110
|
-
'bottom-0 left-0 w-full items-start'?: undefined;
|
|
111
|
-
'top-0 left-0 w-full items-start'?: undefined;
|
|
112
|
-
'left-0 top-0 h-full items-start'?: undefined;
|
|
113
|
-
'right-0 top-0 h-full items-start'?: undefined;
|
|
114
|
-
} | {
|
|
115
|
-
'bottom-0 left-0 w-full items-start': any;
|
|
116
|
-
'top-0 left-0 w-full items-start': any;
|
|
117
|
-
'left-0 top-0 h-full items-start': any;
|
|
118
|
-
'right-0 top-0 h-full items-start': any;
|
|
119
|
-
'order-2'?: undefined;
|
|
120
|
-
'order-1'?: undefined;
|
|
121
|
-
'order-1 flex-col'?: undefined;
|
|
122
|
-
'flex-col order-2'?: undefined;
|
|
123
|
-
'absolute z-10 bg-black/50'?: undefined;
|
|
124
|
-
})[];
|
|
125
|
-
};
|
|
126
|
-
function indicator({ parent }: {
|
|
127
|
-
parent: any;
|
|
128
|
-
}): {
|
|
129
|
-
class: {
|
|
130
|
-
'mr-2': boolean;
|
|
131
|
-
'mb-2': boolean;
|
|
132
|
-
}[];
|
|
133
|
-
};
|
|
134
|
-
function indicatorbutton({ context }: {
|
|
135
|
-
context: any;
|
|
136
|
-
}): {
|
|
137
|
-
class: (string | {
|
|
138
|
-
'bg-surface-200 hover:bg-surface-300 dark:bg-surface-700 dark:hover:bg-surface-600': boolean;
|
|
139
|
-
'bg-primary-500 hover:bg-primary-600'?: undefined;
|
|
140
|
-
} | {
|
|
141
|
-
'bg-primary-500 hover:bg-primary-600': any;
|
|
142
|
-
'bg-surface-200 hover:bg-surface-300 dark:bg-surface-700 dark:hover:bg-surface-600'?: undefined;
|
|
143
|
-
})[];
|
|
144
|
-
};
|
|
145
|
-
namespace mask {
|
|
146
|
-
let _class_4: string[];
|
|
147
|
-
export { _class_4 as class };
|
|
148
|
-
}
|
|
149
|
-
namespace closebutton {
|
|
150
|
-
let _class_5: string[];
|
|
151
|
-
export { _class_5 as class };
|
|
152
|
-
}
|
|
153
|
-
namespace closeicon {
|
|
154
|
-
let _class_6: string;
|
|
155
|
-
export { _class_6 as class };
|
|
156
|
-
}
|
|
157
|
-
function previousitembutton({ parent }: {
|
|
158
|
-
parent: any;
|
|
159
|
-
}): {
|
|
160
|
-
class: (string | {
|
|
161
|
-
'opacity-0 group-hover:opacity-100': any;
|
|
162
|
-
'!absolute'?: undefined;
|
|
163
|
-
'!fixed'?: undefined;
|
|
164
|
-
} | {
|
|
165
|
-
'!absolute': any;
|
|
166
|
-
'!fixed': boolean;
|
|
167
|
-
'opacity-0 group-hover:opacity-100'?: undefined;
|
|
168
|
-
})[];
|
|
169
|
-
};
|
|
170
|
-
function nextitembutton({ parent }: {
|
|
171
|
-
parent: any;
|
|
172
|
-
}): {
|
|
173
|
-
class: (string | {
|
|
174
|
-
'opacity-0 group-hover:opacity-100': any;
|
|
175
|
-
'!absolute'?: undefined;
|
|
176
|
-
'!fixed'?: undefined;
|
|
177
|
-
} | {
|
|
178
|
-
'!absolute': any;
|
|
179
|
-
'!fixed': boolean;
|
|
180
|
-
'opacity-0 group-hover:opacity-100'?: undefined;
|
|
181
|
-
})[];
|
|
182
|
-
};
|
|
183
|
-
namespace caption {
|
|
184
|
-
let _class_7: string[];
|
|
185
|
-
export { _class_7 as class };
|
|
186
|
-
}
|
|
187
|
-
namespace transition {
|
|
188
|
-
let enterFromClass: string;
|
|
189
|
-
let enterActiveClass: string;
|
|
190
|
-
let leaveActiveClass: string;
|
|
191
|
-
let leaveToClass: string;
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
export default _default;
|