@gluhar/theme 2.0.3 → 3.0.1
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 +35 -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,66 +0,0 @@
|
|
|
1
|
-
declare namespace _default {
|
|
2
|
-
function root({ props }: {
|
|
3
|
-
props: any;
|
|
4
|
-
}): {
|
|
5
|
-
class: string[];
|
|
6
|
-
};
|
|
7
|
-
namespace nav {
|
|
8
|
-
let _class: string[];
|
|
9
|
-
export { _class as class };
|
|
10
|
-
}
|
|
11
|
-
namespace stepperpanel {
|
|
12
|
-
function panel({ context, parent }: {
|
|
13
|
-
context: any;
|
|
14
|
-
parent: any;
|
|
15
|
-
}): {
|
|
16
|
-
class: string[];
|
|
17
|
-
};
|
|
18
|
-
function header({ parent, context }: {
|
|
19
|
-
parent: any;
|
|
20
|
-
context: any;
|
|
21
|
-
}): {
|
|
22
|
-
class: string[];
|
|
23
|
-
};
|
|
24
|
-
namespace action {
|
|
25
|
-
let _class_1: string[];
|
|
26
|
-
export { _class_1 as class };
|
|
27
|
-
}
|
|
28
|
-
function number({ context }: {
|
|
29
|
-
context: any;
|
|
30
|
-
}): {
|
|
31
|
-
class: string[];
|
|
32
|
-
};
|
|
33
|
-
function title({ context }: {
|
|
34
|
-
context: any;
|
|
35
|
-
}): {
|
|
36
|
-
class: string[];
|
|
37
|
-
};
|
|
38
|
-
function separator({ context, state, parent }: {
|
|
39
|
-
context: any;
|
|
40
|
-
state: any;
|
|
41
|
-
parent: any;
|
|
42
|
-
}): {
|
|
43
|
-
class: (string | string[])[];
|
|
44
|
-
};
|
|
45
|
-
namespace transition {
|
|
46
|
-
let _class_2: string[];
|
|
47
|
-
export { _class_2 as class };
|
|
48
|
-
export let enterFromClass: string;
|
|
49
|
-
export let enterActiveClass: string;
|
|
50
|
-
export let enterToClass: string;
|
|
51
|
-
export let leaveFromClass: string;
|
|
52
|
-
export let leaveActiveClass: string;
|
|
53
|
-
export let leaveToClass: string;
|
|
54
|
-
}
|
|
55
|
-
function content({ parent }: {
|
|
56
|
-
parent: any;
|
|
57
|
-
}): {
|
|
58
|
-
class: string[];
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
namespace panelcontainer {
|
|
62
|
-
let _class_3: string[];
|
|
63
|
-
export { _class_3 as class };
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
export default _default;
|
|
@@ -1,161 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
root: ({ props }) => ({
|
|
3
|
-
class: ['flex-1', props.orientation === 'vertical' ? 'flex-col' : 'flex-row']
|
|
4
|
-
}),
|
|
5
|
-
nav: {
|
|
6
|
-
class: [
|
|
7
|
-
// Flexbox
|
|
8
|
-
'flex',
|
|
9
|
-
'justify-between',
|
|
10
|
-
'items-center',
|
|
11
|
-
|
|
12
|
-
// Spacing
|
|
13
|
-
'm-0',
|
|
14
|
-
'p-0',
|
|
15
|
-
|
|
16
|
-
// Positioning
|
|
17
|
-
'relative',
|
|
18
|
-
|
|
19
|
-
// Lists
|
|
20
|
-
'list-none',
|
|
21
|
-
|
|
22
|
-
// Overflow
|
|
23
|
-
'overflow-x-auto'
|
|
24
|
-
]
|
|
25
|
-
},
|
|
26
|
-
stepperpanel: {
|
|
27
|
-
panel: ({ context, parent }) => ({
|
|
28
|
-
class: [context.active ? 'flex-1' : '', parent.props.orientation === 'vertical' ? 'flex flex-col flex-initial' : '']
|
|
29
|
-
}),
|
|
30
|
-
header: ({ parent, context }) => ({
|
|
31
|
-
class: [
|
|
32
|
-
// Position
|
|
33
|
-
'relative',
|
|
34
|
-
|
|
35
|
-
// Flexbox
|
|
36
|
-
'flex',
|
|
37
|
-
'items-center',
|
|
38
|
-
context.last ? 'flex-initial' : 'flex-1',
|
|
39
|
-
parent.props.orientation === 'vertical' ? 'flex-initial' : '',
|
|
40
|
-
|
|
41
|
-
// Spacing
|
|
42
|
-
'p-2'
|
|
43
|
-
]
|
|
44
|
-
}),
|
|
45
|
-
action: {
|
|
46
|
-
class: [
|
|
47
|
-
// Borders
|
|
48
|
-
'border-0',
|
|
49
|
-
'border-none',
|
|
50
|
-
|
|
51
|
-
// Flexbox
|
|
52
|
-
'inline-flex',
|
|
53
|
-
'items-center',
|
|
54
|
-
|
|
55
|
-
// Text
|
|
56
|
-
'text-decoration-none',
|
|
57
|
-
|
|
58
|
-
// Transitions
|
|
59
|
-
'transition',
|
|
60
|
-
'transition-shadow',
|
|
61
|
-
'duration-200',
|
|
62
|
-
|
|
63
|
-
// Shape
|
|
64
|
-
'rounded-md',
|
|
65
|
-
|
|
66
|
-
// Backgrounds
|
|
67
|
-
'bg-transparent',
|
|
68
|
-
|
|
69
|
-
// Focus
|
|
70
|
-
'outline-none'
|
|
71
|
-
]
|
|
72
|
-
},
|
|
73
|
-
number: ({ context }) => ({
|
|
74
|
-
class: [
|
|
75
|
-
// Flexbox
|
|
76
|
-
'flex',
|
|
77
|
-
'items-center',
|
|
78
|
-
'justify-center',
|
|
79
|
-
|
|
80
|
-
// Colors (Conditional)
|
|
81
|
-
context.active ? 'bg-primary-500 dark:bg-primary-400 text-surface-0 dark:text-surface-900' : 'border border-surface-200 dark:border-surface-700 text-surface-900 dark:text-surface-0', // Adjust colors as needed
|
|
82
|
-
|
|
83
|
-
// Size and Shape
|
|
84
|
-
'min-w-[2rem]',
|
|
85
|
-
'h-[2rem]',
|
|
86
|
-
'line-height-[2rem]',
|
|
87
|
-
'rounded-full',
|
|
88
|
-
|
|
89
|
-
// Text
|
|
90
|
-
'text-lg',
|
|
91
|
-
|
|
92
|
-
// Borders
|
|
93
|
-
context.active ? 'border-0 border-none' : 'border-solid border-2',
|
|
94
|
-
|
|
95
|
-
// Transitions
|
|
96
|
-
'transition',
|
|
97
|
-
'transition-colors',
|
|
98
|
-
'transition-shadow',
|
|
99
|
-
'duration-200'
|
|
100
|
-
]
|
|
101
|
-
}),
|
|
102
|
-
title: ({ context }) => ({
|
|
103
|
-
class: [
|
|
104
|
-
// Layout
|
|
105
|
-
'block',
|
|
106
|
-
'whitespace-nowrap',
|
|
107
|
-
'overflow-hidden',
|
|
108
|
-
'text-ellipsis',
|
|
109
|
-
'max-w-full',
|
|
110
|
-
|
|
111
|
-
// Spacing
|
|
112
|
-
'ml-2',
|
|
113
|
-
|
|
114
|
-
// Text
|
|
115
|
-
context.active ? 'text-surface-900 dark:text-surface-0' : 'text-surface-700 dark:text-surface-0/80',
|
|
116
|
-
'font-bold',
|
|
117
|
-
|
|
118
|
-
// Transitions
|
|
119
|
-
'transition',
|
|
120
|
-
'transition-colors',
|
|
121
|
-
'transition-shadow',
|
|
122
|
-
'duration-200'
|
|
123
|
-
]
|
|
124
|
-
}),
|
|
125
|
-
separator: ({ context, state, parent }) => ({
|
|
126
|
-
class: [
|
|
127
|
-
// Colors (Conditional for active step)
|
|
128
|
-
state.d_activeStep <= context.index ? 'bg-surface-200 dark:bg-surface-700' : 'bg-primary-500 dark:bg-primary-400',
|
|
129
|
-
|
|
130
|
-
// Conditional for Vertical Orientation
|
|
131
|
-
parent.props.orientation === 'vertical' ? ['flex-none', 'w-[2px]', 'h-auto', 'ml-[calc(1.29rem+2px)]'] : ['flex-1', 'w-full', 'h-[2px]', 'ml-4'],
|
|
132
|
-
|
|
133
|
-
// Transitions
|
|
134
|
-
'transition-shadow',
|
|
135
|
-
'duration-200'
|
|
136
|
-
]
|
|
137
|
-
}),
|
|
138
|
-
transition: {
|
|
139
|
-
class: ['flex flex-1', 'bg-surface-0 dark:bg-surface-800', 'text-surface-900 dark:text-surface-0'],
|
|
140
|
-
enterFromClass: 'max-h-0',
|
|
141
|
-
enterActiveClass: 'overflow-hidden transition-[max-height] duration-1000 ease-[cubic-bezier(0.42,0,0.58,1)]',
|
|
142
|
-
enterToClass: 'max-h-[1000px]',
|
|
143
|
-
leaveFromClass: 'max-h-[1000px]',
|
|
144
|
-
leaveActiveClass: 'overflow-hidden transition-[max-height] duration-[450ms] ease-[cubic-bezier(0,1,0,1)]',
|
|
145
|
-
leaveToClass: 'max-h-0'
|
|
146
|
-
},
|
|
147
|
-
content: ({ parent }) => ({
|
|
148
|
-
class: [parent.props.orientation === 'vertical' ? 'w-full pl-4' : '']
|
|
149
|
-
})
|
|
150
|
-
},
|
|
151
|
-
panelcontainer: {
|
|
152
|
-
class: [
|
|
153
|
-
// Colors
|
|
154
|
-
'bg-surface-0 dark:bg-surface-800',
|
|
155
|
-
'text-surface-900 dark:text-surface-0',
|
|
156
|
-
|
|
157
|
-
// Spacing
|
|
158
|
-
'p-4'
|
|
159
|
-
]
|
|
160
|
-
}
|
|
161
|
-
};
|
|
@@ -1,57 +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 action({ props }: {
|
|
15
|
-
props: any;
|
|
16
|
-
}): {
|
|
17
|
-
class: (string | {
|
|
18
|
-
'cursor-pointer': boolean;
|
|
19
|
-
})[];
|
|
20
|
-
};
|
|
21
|
-
function step({ context, props }: {
|
|
22
|
-
context: any;
|
|
23
|
-
props: any;
|
|
24
|
-
}): {
|
|
25
|
-
class: (string | {
|
|
26
|
-
'text-surface-400 dark:text-white/60': boolean;
|
|
27
|
-
'border-surface-100 dark:border-surface-700': boolean;
|
|
28
|
-
'bg-surface-0 dark:bg-surface-800': boolean;
|
|
29
|
-
'bg-primary-500 dark:bg-primary-400': any;
|
|
30
|
-
'border-primary-500 dark:border-primary-400': any;
|
|
31
|
-
'text-surface-0 dark:text-surface-900': any;
|
|
32
|
-
'hover:border-surface-300 dark:hover:border-surface-500'?: undefined;
|
|
33
|
-
} | {
|
|
34
|
-
'hover:border-surface-300 dark:hover:border-surface-500': boolean;
|
|
35
|
-
'text-surface-400 dark:text-white/60'?: undefined;
|
|
36
|
-
'border-surface-100 dark:border-surface-700'?: undefined;
|
|
37
|
-
'bg-surface-0 dark:bg-surface-800'?: undefined;
|
|
38
|
-
'bg-primary-500 dark:bg-primary-400'?: undefined;
|
|
39
|
-
'border-primary-500 dark:border-primary-400'?: undefined;
|
|
40
|
-
'text-surface-0 dark:text-surface-900'?: undefined;
|
|
41
|
-
})[];
|
|
42
|
-
};
|
|
43
|
-
function label({ context }: {
|
|
44
|
-
context: any;
|
|
45
|
-
}): {
|
|
46
|
-
class: (string | {
|
|
47
|
-
'font-bold': any;
|
|
48
|
-
'text-surface-400 dark:text-white/60'?: undefined;
|
|
49
|
-
'text-surface-800 dark:text-white/80'?: undefined;
|
|
50
|
-
} | {
|
|
51
|
-
'text-surface-400 dark:text-white/60': boolean;
|
|
52
|
-
'text-surface-800 dark:text-white/80': any;
|
|
53
|
-
'font-bold'?: undefined;
|
|
54
|
-
})[];
|
|
55
|
-
};
|
|
56
|
-
}
|
|
57
|
-
export default _default;
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
root: {
|
|
3
|
-
class: 'relative'
|
|
4
|
-
},
|
|
5
|
-
menu: {
|
|
6
|
-
class: 'p-0 m-0 list-none flex'
|
|
7
|
-
},
|
|
8
|
-
menuitem: {
|
|
9
|
-
class: [
|
|
10
|
-
// Flexbox and Position
|
|
11
|
-
'relative',
|
|
12
|
-
'flex',
|
|
13
|
-
'justify-center',
|
|
14
|
-
'flex-1',
|
|
15
|
-
'overflow-hidden',
|
|
16
|
-
|
|
17
|
-
// Before
|
|
18
|
-
'before:border-t',
|
|
19
|
-
'before:border-surface-200',
|
|
20
|
-
'before:dark:border-surface-700',
|
|
21
|
-
'before:w-full',
|
|
22
|
-
'before:absolute',
|
|
23
|
-
'before:top-1/2',
|
|
24
|
-
'before:left-0',
|
|
25
|
-
'before:transform',
|
|
26
|
-
'before:-mt-4'
|
|
27
|
-
]
|
|
28
|
-
},
|
|
29
|
-
action: ({ props }) => ({
|
|
30
|
-
class: [
|
|
31
|
-
// Flexbox
|
|
32
|
-
'inline-flex items-center',
|
|
33
|
-
'flex-col',
|
|
34
|
-
|
|
35
|
-
// Transitions and Shape
|
|
36
|
-
'transition-shadow',
|
|
37
|
-
'rounded-md',
|
|
38
|
-
|
|
39
|
-
// Colors
|
|
40
|
-
'bg-surface-0',
|
|
41
|
-
'dark:bg-transparent',
|
|
42
|
-
|
|
43
|
-
// States
|
|
44
|
-
'focus:outline-none focus:outline-offset-0 focus:ring',
|
|
45
|
-
'focus:ring-primary-400/50 dark:focus:ring-primary-300/50',
|
|
46
|
-
|
|
47
|
-
// Misc
|
|
48
|
-
'overflow-hidden',
|
|
49
|
-
{ 'cursor-pointer': !props.readonly }
|
|
50
|
-
]
|
|
51
|
-
}),
|
|
52
|
-
step: ({ context, props }) => ({
|
|
53
|
-
class: [
|
|
54
|
-
// Flexbox
|
|
55
|
-
'flex items-center justify-center',
|
|
56
|
-
|
|
57
|
-
// Position
|
|
58
|
-
'z-20',
|
|
59
|
-
|
|
60
|
-
// Shape
|
|
61
|
-
'rounded-full',
|
|
62
|
-
'border',
|
|
63
|
-
|
|
64
|
-
// Size
|
|
65
|
-
'w-[2rem]',
|
|
66
|
-
'h-[2rem]',
|
|
67
|
-
'text-sm',
|
|
68
|
-
'leading-[2rem]',
|
|
69
|
-
|
|
70
|
-
// Colors
|
|
71
|
-
{
|
|
72
|
-
'text-surface-400 dark:text-white/60': !context.active,
|
|
73
|
-
'border-surface-100 dark:border-surface-700': !context.active,
|
|
74
|
-
'bg-surface-0 dark:bg-surface-800': !context.active,
|
|
75
|
-
'bg-primary-500 dark:bg-primary-400': context.active,
|
|
76
|
-
'border-primary-500 dark:border-primary-400': context.active,
|
|
77
|
-
'text-surface-0 dark:text-surface-900': context.active
|
|
78
|
-
},
|
|
79
|
-
|
|
80
|
-
// States
|
|
81
|
-
{
|
|
82
|
-
'hover:border-surface-300 dark:hover:border-surface-500': !context.active && !props.readonly
|
|
83
|
-
},
|
|
84
|
-
|
|
85
|
-
// Transition
|
|
86
|
-
'transition-colors duration-200 ease-in-out'
|
|
87
|
-
]
|
|
88
|
-
}),
|
|
89
|
-
label: ({ context }) => ({
|
|
90
|
-
class: [
|
|
91
|
-
// Font
|
|
92
|
-
'leading-5',
|
|
93
|
-
{ 'font-bold': context.active },
|
|
94
|
-
|
|
95
|
-
// Display
|
|
96
|
-
'block',
|
|
97
|
-
|
|
98
|
-
// Spacing
|
|
99
|
-
'mt-2',
|
|
100
|
-
|
|
101
|
-
// Colors
|
|
102
|
-
{ 'text-surface-400 dark:text-white/60': !context.active, 'text-surface-800 dark:text-white/80': context.active },
|
|
103
|
-
|
|
104
|
-
// Text and Overflow
|
|
105
|
-
'whitespace-nowrap',
|
|
106
|
-
'overflow-hidden',
|
|
107
|
-
'overflow-ellipsis',
|
|
108
|
-
'max-w-full'
|
|
109
|
-
]
|
|
110
|
-
})
|
|
111
|
-
};
|
|
@@ -1,43 +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 action({ context, state }: {
|
|
15
|
-
context: any;
|
|
16
|
-
state: any;
|
|
17
|
-
}): {
|
|
18
|
-
class: (string | {
|
|
19
|
-
'border-surface-200 dark:border-surface-700': boolean;
|
|
20
|
-
'bg-surface-0 dark:bg-surface-800': boolean;
|
|
21
|
-
'text-surface-700 dark:text-surface-0/80': boolean;
|
|
22
|
-
'border-primary-500 dark:border-primary-400': boolean;
|
|
23
|
-
'text-primary-500 dark:text-primary-400': boolean;
|
|
24
|
-
'hover:bg-surface-0 dark:hover:bg-surface-800/80'?: undefined;
|
|
25
|
-
'hover:border-surface-400 dark:hover:border-primary-400'?: undefined;
|
|
26
|
-
'hover:text-surface-900 dark:hover:text-surface-0'?: undefined;
|
|
27
|
-
} | {
|
|
28
|
-
'hover:bg-surface-0 dark:hover:bg-surface-800/80': boolean;
|
|
29
|
-
'hover:border-surface-400 dark:hover:border-primary-400': boolean;
|
|
30
|
-
'hover:text-surface-900 dark:hover:text-surface-0': boolean;
|
|
31
|
-
'border-surface-200 dark:border-surface-700'?: undefined;
|
|
32
|
-
'bg-surface-0 dark:bg-surface-800'?: undefined;
|
|
33
|
-
'text-surface-700 dark:text-surface-0/80'?: undefined;
|
|
34
|
-
'border-primary-500 dark:border-primary-400'?: undefined;
|
|
35
|
-
'text-primary-500 dark:text-primary-400'?: undefined;
|
|
36
|
-
})[];
|
|
37
|
-
};
|
|
38
|
-
namespace icon {
|
|
39
|
-
let _class_3: string;
|
|
40
|
-
export { _class_3 as class };
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
export default _default;
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
root: {
|
|
3
|
-
class: 'overflow-x-auto'
|
|
4
|
-
},
|
|
5
|
-
menu: {
|
|
6
|
-
class: [
|
|
7
|
-
// Flexbox
|
|
8
|
-
'flex flex-1',
|
|
9
|
-
|
|
10
|
-
// Spacing
|
|
11
|
-
'list-none',
|
|
12
|
-
'p-0 m-0',
|
|
13
|
-
|
|
14
|
-
// Colors
|
|
15
|
-
'bg-surface-0 dark:bg-surface-800',
|
|
16
|
-
'border-b-2 border-surface-200 dark:border-surface-700',
|
|
17
|
-
'text-surface-900 dark:text-surface-0/80'
|
|
18
|
-
]
|
|
19
|
-
},
|
|
20
|
-
menuitem: {
|
|
21
|
-
class: 'mr-0'
|
|
22
|
-
},
|
|
23
|
-
action: ({ context, state }) => ({
|
|
24
|
-
class: [
|
|
25
|
-
'relative',
|
|
26
|
-
|
|
27
|
-
// Font
|
|
28
|
-
'font-bold',
|
|
29
|
-
|
|
30
|
-
// Flexbox and Alignment
|
|
31
|
-
'flex items-center',
|
|
32
|
-
|
|
33
|
-
// Spacing
|
|
34
|
-
'p-5',
|
|
35
|
-
'-mb-[2px]',
|
|
36
|
-
|
|
37
|
-
// Shape
|
|
38
|
-
'border-b-2',
|
|
39
|
-
'rounded-t-md',
|
|
40
|
-
|
|
41
|
-
// Colors and Conditions
|
|
42
|
-
{
|
|
43
|
-
'border-surface-200 dark:border-surface-700': state.d_activeIndex !== context.index,
|
|
44
|
-
'bg-surface-0 dark:bg-surface-800': state.d_activeIndex !== context.index,
|
|
45
|
-
'text-surface-700 dark:text-surface-0/80': state.d_activeIndex !== context.index,
|
|
46
|
-
|
|
47
|
-
'bg-surface-0 dark:bg-surface-800': state.d_activeIndex === context.index,
|
|
48
|
-
'border-primary-500 dark:border-primary-400': state.d_activeIndex === context.index,
|
|
49
|
-
'text-primary-500 dark:text-primary-400': state.d_activeIndex === context.index
|
|
50
|
-
},
|
|
51
|
-
|
|
52
|
-
// States
|
|
53
|
-
'focus-visible:outline-none focus-visible:outline-offset-0 focus-visible:ring focus-visible:ring-inset',
|
|
54
|
-
'focus-visible:ring-primary-400/50 dark:focus-visible:ring-primary-300/50',
|
|
55
|
-
{
|
|
56
|
-
'hover:bg-surface-0 dark:hover:bg-surface-800/80': state.d_activeIndex !== context.index,
|
|
57
|
-
'hover:border-surface-400 dark:hover:border-primary-400': state.d_activeIndex !== context.index,
|
|
58
|
-
'hover:text-surface-900 dark:hover:text-surface-0': state.d_activeIndex !== context.index
|
|
59
|
-
},
|
|
60
|
-
|
|
61
|
-
// Transitions
|
|
62
|
-
'transition-all duration-200',
|
|
63
|
-
|
|
64
|
-
// Misc
|
|
65
|
-
'cursor-pointer select-none text-decoration-none',
|
|
66
|
-
'overflow-hidden',
|
|
67
|
-
'user-select-none'
|
|
68
|
-
]
|
|
69
|
-
}),
|
|
70
|
-
icon: {
|
|
71
|
-
class: 'mr-2'
|
|
72
|
-
}
|
|
73
|
-
};
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
declare namespace _default {
|
|
2
|
-
function navContainer({ props }: {
|
|
3
|
-
props: any;
|
|
4
|
-
}): {
|
|
5
|
-
class: (string | {
|
|
6
|
-
'overflow-hidden': any;
|
|
7
|
-
})[];
|
|
8
|
-
};
|
|
9
|
-
namespace navContent {
|
|
10
|
-
let _class: string[];
|
|
11
|
-
export { _class as class };
|
|
12
|
-
}
|
|
13
|
-
namespace previousButton {
|
|
14
|
-
let _class_1: string[];
|
|
15
|
-
export { _class_1 as class };
|
|
16
|
-
}
|
|
17
|
-
namespace nextButton {
|
|
18
|
-
let _class_2: string[];
|
|
19
|
-
export { _class_2 as class };
|
|
20
|
-
}
|
|
21
|
-
namespace nav {
|
|
22
|
-
let _class_3: string[];
|
|
23
|
-
export { _class_3 as class };
|
|
24
|
-
}
|
|
25
|
-
namespace tabpanel {
|
|
26
|
-
function header({ props }: {
|
|
27
|
-
props: any;
|
|
28
|
-
}): {
|
|
29
|
-
class: (string | {
|
|
30
|
-
'opacity-60 cursor-default user-select-none select-none pointer-events-none': any;
|
|
31
|
-
})[];
|
|
32
|
-
};
|
|
33
|
-
function headerAction({ parent, context }: {
|
|
34
|
-
parent: any;
|
|
35
|
-
context: any;
|
|
36
|
-
}): {
|
|
37
|
-
class: (string | {
|
|
38
|
-
'border-surface-200 dark:border-surface-700': boolean;
|
|
39
|
-
'bg-surface-0 dark:bg-surface-800': boolean;
|
|
40
|
-
'text-surface-700 dark:text-surface-0/80': boolean;
|
|
41
|
-
'border-primary-500 dark:border-primary-400': boolean;
|
|
42
|
-
'text-primary-500 dark:text-primary-400': boolean;
|
|
43
|
-
'hover:bg-surface-0 dark:hover:bg-surface-800/80'?: undefined;
|
|
44
|
-
'hover:border-surface-400 dark:hover:border-primary-400'?: undefined;
|
|
45
|
-
'hover:text-surface-900 dark:hover:text-surface-0'?: undefined;
|
|
46
|
-
} | {
|
|
47
|
-
'hover:bg-surface-0 dark:hover:bg-surface-800/80': boolean;
|
|
48
|
-
'hover:border-surface-400 dark:hover:border-primary-400': boolean;
|
|
49
|
-
'hover:text-surface-900 dark:hover:text-surface-0': boolean;
|
|
50
|
-
'border-surface-200 dark:border-surface-700'?: undefined;
|
|
51
|
-
'bg-surface-0 dark:bg-surface-800'?: undefined;
|
|
52
|
-
'text-surface-700 dark:text-surface-0/80'?: undefined;
|
|
53
|
-
'border-primary-500 dark:border-primary-400'?: undefined;
|
|
54
|
-
'text-primary-500 dark:text-primary-400'?: undefined;
|
|
55
|
-
})[];
|
|
56
|
-
};
|
|
57
|
-
namespace headerTitle {
|
|
58
|
-
let _class_4: string[];
|
|
59
|
-
export { _class_4 as class };
|
|
60
|
-
}
|
|
61
|
-
namespace content {
|
|
62
|
-
let _class_5: string[];
|
|
63
|
-
export { _class_5 as class };
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
export default _default;
|