@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,258 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
root: {
|
|
3
|
-
class: [
|
|
4
|
-
// Space
|
|
5
|
-
'p-5',
|
|
6
|
-
|
|
7
|
-
// Shape
|
|
8
|
-
'rounded-md',
|
|
9
|
-
|
|
10
|
-
// Color
|
|
11
|
-
'bg-surface-0 dark:bg-surface-800',
|
|
12
|
-
'text-surface-700 dark:text-white/80',
|
|
13
|
-
'border border-solid border-surface-200 dark:border-surface-700'
|
|
14
|
-
]
|
|
15
|
-
},
|
|
16
|
-
wrapper: {
|
|
17
|
-
class: ['overflow-auto']
|
|
18
|
-
},
|
|
19
|
-
container: {
|
|
20
|
-
class: [
|
|
21
|
-
// Spacing
|
|
22
|
-
'm-0 p-0',
|
|
23
|
-
|
|
24
|
-
// Misc
|
|
25
|
-
'list-none overflow-auto'
|
|
26
|
-
]
|
|
27
|
-
},
|
|
28
|
-
node: {
|
|
29
|
-
class: ['p-1', 'rounded-md', 'focus:outline-none focus:outline-offset-0 focus:ring focus:ring-inset focus:ring-primary-400/50 dark:focus:ring-primary-300/50']
|
|
30
|
-
},
|
|
31
|
-
content: ({ context, props }) => ({
|
|
32
|
-
class: [
|
|
33
|
-
// Flex and Alignment
|
|
34
|
-
'flex items-center',
|
|
35
|
-
|
|
36
|
-
// Shape
|
|
37
|
-
'rounded-md',
|
|
38
|
-
|
|
39
|
-
// Spacing
|
|
40
|
-
'p-2',
|
|
41
|
-
|
|
42
|
-
// Colors
|
|
43
|
-
'text-surface-600 dark:text-white/70',
|
|
44
|
-
{ 'bg-primary-50 dark:bg-primary-400/30 text-primary-600 dark:text-surface-0': context.selected },
|
|
45
|
-
|
|
46
|
-
// States
|
|
47
|
-
{ 'hover:bg-surface-50 dark:hover:bg-surface-700/40': (props.selectionMode == 'single' || props.selectionMode == 'multiple') && !context.selected },
|
|
48
|
-
|
|
49
|
-
// Transition
|
|
50
|
-
'transition-shadow duration-200',
|
|
51
|
-
|
|
52
|
-
{ 'cursor-pointer select-none': props.selectionMode == 'single' || props.selectionMode == 'multiple' }
|
|
53
|
-
]
|
|
54
|
-
}),
|
|
55
|
-
toggler: ({ context }) => ({
|
|
56
|
-
class: [
|
|
57
|
-
// Flex and Alignment
|
|
58
|
-
'inline-flex items-center justify-center',
|
|
59
|
-
|
|
60
|
-
// Shape
|
|
61
|
-
'border-0 rounded-full',
|
|
62
|
-
|
|
63
|
-
// Size
|
|
64
|
-
'w-8 h-8',
|
|
65
|
-
|
|
66
|
-
// Spacing
|
|
67
|
-
'mr-2',
|
|
68
|
-
|
|
69
|
-
// Colors
|
|
70
|
-
'bg-transparent',
|
|
71
|
-
{
|
|
72
|
-
'text-surface-500 dark:text-white': !context.selected,
|
|
73
|
-
'text-primary-600 dark:text-white': context.selected,
|
|
74
|
-
invisible: context.leaf
|
|
75
|
-
},
|
|
76
|
-
|
|
77
|
-
// States
|
|
78
|
-
'hover:bg-surface-200/20 dark:hover:bg-surface-500/20',
|
|
79
|
-
'focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50 dark:focus:ring-primary-300/50',
|
|
80
|
-
|
|
81
|
-
// Transition
|
|
82
|
-
'transition duration-200',
|
|
83
|
-
|
|
84
|
-
// Misc
|
|
85
|
-
'cursor-pointer select-none'
|
|
86
|
-
]
|
|
87
|
-
}),
|
|
88
|
-
nodeCheckbox: ({ props, context, instance }) => ({
|
|
89
|
-
root: {
|
|
90
|
-
class: [
|
|
91
|
-
'relative',
|
|
92
|
-
|
|
93
|
-
// Alignment
|
|
94
|
-
'inline-flex',
|
|
95
|
-
'align-bottom',
|
|
96
|
-
|
|
97
|
-
// Size
|
|
98
|
-
'w-6',
|
|
99
|
-
'h-6',
|
|
100
|
-
|
|
101
|
-
// Spacing
|
|
102
|
-
'mr-2',
|
|
103
|
-
|
|
104
|
-
// Misc
|
|
105
|
-
'cursor-pointer',
|
|
106
|
-
'select-none'
|
|
107
|
-
]
|
|
108
|
-
},
|
|
109
|
-
box: {
|
|
110
|
-
class: [
|
|
111
|
-
// Alignment
|
|
112
|
-
'flex',
|
|
113
|
-
'items-center',
|
|
114
|
-
'justify-center',
|
|
115
|
-
|
|
116
|
-
// Size
|
|
117
|
-
'w-6',
|
|
118
|
-
'h-6',
|
|
119
|
-
|
|
120
|
-
// Shape
|
|
121
|
-
'rounded-md',
|
|
122
|
-
'border-2',
|
|
123
|
-
|
|
124
|
-
// Colors
|
|
125
|
-
{
|
|
126
|
-
'border-surface-200 bg-surface-0 dark:border-surface-700 dark:bg-surface-900': !context.checked,
|
|
127
|
-
'border-primary-500 bg-primary-500 dark:border-primary-400 dark:bg-primary-400': context.checked
|
|
128
|
-
},
|
|
129
|
-
|
|
130
|
-
// States
|
|
131
|
-
{
|
|
132
|
-
'peer-hover:border-primary-500 dark:peer-hover:border-primary-400': !props.disabled && !context.checked,
|
|
133
|
-
'peer-hover:bg-primary-600 dark:peer-hover:bg-primary-300 peer-hover:border-primary-700 dark:peer-hover:border-primary-300': !props.disabled && context.checked,
|
|
134
|
-
'peer-focus-visible:border-primary-500 dark:peer-focus-visible:border-primary-400 peer-focus-visible:ring-2 peer-focus-visible:ring-primary-400/20 dark:peer-focus-visible:ring-primary-300/20': !props.disabled,
|
|
135
|
-
'cursor-default opacity-60': props.disabled
|
|
136
|
-
},
|
|
137
|
-
|
|
138
|
-
// Transitions
|
|
139
|
-
'transition-colors',
|
|
140
|
-
'duration-200'
|
|
141
|
-
]
|
|
142
|
-
},
|
|
143
|
-
input: {
|
|
144
|
-
class: [
|
|
145
|
-
'peer',
|
|
146
|
-
|
|
147
|
-
// Size
|
|
148
|
-
'w-full ',
|
|
149
|
-
'h-full',
|
|
150
|
-
|
|
151
|
-
// Position
|
|
152
|
-
'absolute',
|
|
153
|
-
'top-0 left-0',
|
|
154
|
-
'z-10',
|
|
155
|
-
|
|
156
|
-
// Spacing
|
|
157
|
-
'p-0',
|
|
158
|
-
'm-0',
|
|
159
|
-
|
|
160
|
-
// Shape
|
|
161
|
-
'opacity-0',
|
|
162
|
-
'rounded-md',
|
|
163
|
-
'outline-none',
|
|
164
|
-
'border-2 border-surface-200 dark:border-surface-700',
|
|
165
|
-
|
|
166
|
-
// Misc
|
|
167
|
-
'appearance-none',
|
|
168
|
-
'cursor-pointer'
|
|
169
|
-
]
|
|
170
|
-
},
|
|
171
|
-
icon: {
|
|
172
|
-
class: [
|
|
173
|
-
// Font
|
|
174
|
-
'text-base leading-none',
|
|
175
|
-
|
|
176
|
-
// Size
|
|
177
|
-
'w-4',
|
|
178
|
-
'h-4',
|
|
179
|
-
|
|
180
|
-
// Colors
|
|
181
|
-
{
|
|
182
|
-
'text-white dark:text-surface-900': !instance.partialChecked,
|
|
183
|
-
'text-gray dark:text-white': instance.partialChecked
|
|
184
|
-
},
|
|
185
|
-
|
|
186
|
-
// Transitions
|
|
187
|
-
'transition-all',
|
|
188
|
-
'duration-200'
|
|
189
|
-
]
|
|
190
|
-
}
|
|
191
|
-
}),
|
|
192
|
-
nodeicon: {
|
|
193
|
-
class: [
|
|
194
|
-
// Space
|
|
195
|
-
'mr-2',
|
|
196
|
-
|
|
197
|
-
// Color
|
|
198
|
-
'text-surface-600 dark:text-white/70'
|
|
199
|
-
]
|
|
200
|
-
},
|
|
201
|
-
subgroup: {
|
|
202
|
-
class: ['m-0 list-none p-0 pl-2 mt-1']
|
|
203
|
-
},
|
|
204
|
-
filtercontainer: {
|
|
205
|
-
class: [
|
|
206
|
-
'relative block',
|
|
207
|
-
|
|
208
|
-
// Space
|
|
209
|
-
'mb-2',
|
|
210
|
-
|
|
211
|
-
// Size
|
|
212
|
-
'w-full'
|
|
213
|
-
]
|
|
214
|
-
},
|
|
215
|
-
input: {
|
|
216
|
-
class: [
|
|
217
|
-
'relative',
|
|
218
|
-
// Font
|
|
219
|
-
'font-sans leading-none',
|
|
220
|
-
|
|
221
|
-
// Spacing
|
|
222
|
-
'm-0',
|
|
223
|
-
'p-3 pr-10',
|
|
224
|
-
|
|
225
|
-
// Size
|
|
226
|
-
'w-full',
|
|
227
|
-
|
|
228
|
-
// Shape
|
|
229
|
-
'rounded-md',
|
|
230
|
-
|
|
231
|
-
// Colors
|
|
232
|
-
'text-surface-600 dark:text-surface-200',
|
|
233
|
-
'placeholder:text-surface-400 dark:placeholder:text-surface-500',
|
|
234
|
-
'bg-surface-0 dark:bg-surface-900',
|
|
235
|
-
'border border-surface-300 dark:border-surface-600',
|
|
236
|
-
|
|
237
|
-
// States
|
|
238
|
-
'hover:border-primary-500 dark:hover:border-primary-400',
|
|
239
|
-
'focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-500/50 dark:focus:ring-primary-400/50',
|
|
240
|
-
|
|
241
|
-
// Transition & Misc
|
|
242
|
-
'appearance-none',
|
|
243
|
-
'transition-colors duration-200'
|
|
244
|
-
]
|
|
245
|
-
},
|
|
246
|
-
loadingicon: {
|
|
247
|
-
class: ['text-surface-500 dark:text-surface-0/70', 'absolute top-[50%] right-[50%] -mt-2 -mr-2 animate-spin']
|
|
248
|
-
},
|
|
249
|
-
searchicon: {
|
|
250
|
-
class: [
|
|
251
|
-
// Position
|
|
252
|
-
'absolute top-1/2 -mt-2 right-3',
|
|
253
|
-
|
|
254
|
-
// Color
|
|
255
|
-
'text-surface-600 dark:hover:text-white/70'
|
|
256
|
-
]
|
|
257
|
-
}
|
|
258
|
-
};
|
|
@@ -1,181 +0,0 @@
|
|
|
1
|
-
declare namespace _default {
|
|
2
|
-
function root({ props, state }: {
|
|
3
|
-
props: any;
|
|
4
|
-
state: any;
|
|
5
|
-
}): {
|
|
6
|
-
class: (string | {
|
|
7
|
-
'border-surface-300 dark:border-surface-600': boolean;
|
|
8
|
-
'border-red-500 dark:border-red-400'?: undefined;
|
|
9
|
-
'hover:border-primary-500 dark:hover:border-primary-300'?: undefined;
|
|
10
|
-
'outline-none outline-offset-0 ring ring-primary-400/50 dark:ring-primary-300/50'?: undefined;
|
|
11
|
-
'opacity-60'?: undefined;
|
|
12
|
-
'pointer-events-none'?: undefined;
|
|
13
|
-
'cursor-default'?: undefined;
|
|
14
|
-
} | {
|
|
15
|
-
'border-red-500 dark:border-red-400': any;
|
|
16
|
-
'border-surface-300 dark:border-surface-600'?: undefined;
|
|
17
|
-
'hover:border-primary-500 dark:hover:border-primary-300'?: undefined;
|
|
18
|
-
'outline-none outline-offset-0 ring ring-primary-400/50 dark:ring-primary-300/50'?: undefined;
|
|
19
|
-
'opacity-60'?: undefined;
|
|
20
|
-
'pointer-events-none'?: undefined;
|
|
21
|
-
'cursor-default'?: undefined;
|
|
22
|
-
} | {
|
|
23
|
-
'hover:border-primary-500 dark:hover:border-primary-300': boolean;
|
|
24
|
-
'border-surface-300 dark:border-surface-600'?: undefined;
|
|
25
|
-
'border-red-500 dark:border-red-400'?: undefined;
|
|
26
|
-
'outline-none outline-offset-0 ring ring-primary-400/50 dark:ring-primary-300/50'?: undefined;
|
|
27
|
-
'opacity-60'?: undefined;
|
|
28
|
-
'pointer-events-none'?: undefined;
|
|
29
|
-
'cursor-default'?: undefined;
|
|
30
|
-
} | {
|
|
31
|
-
'outline-none outline-offset-0 ring ring-primary-400/50 dark:ring-primary-300/50': any;
|
|
32
|
-
'border-surface-300 dark:border-surface-600'?: undefined;
|
|
33
|
-
'border-red-500 dark:border-red-400'?: undefined;
|
|
34
|
-
'hover:border-primary-500 dark:hover:border-primary-300'?: undefined;
|
|
35
|
-
'opacity-60'?: undefined;
|
|
36
|
-
'pointer-events-none'?: undefined;
|
|
37
|
-
'cursor-default'?: undefined;
|
|
38
|
-
} | {
|
|
39
|
-
'opacity-60': any;
|
|
40
|
-
'pointer-events-none': any;
|
|
41
|
-
'cursor-default': any;
|
|
42
|
-
'border-surface-300 dark:border-surface-600'?: undefined;
|
|
43
|
-
'border-red-500 dark:border-red-400'?: undefined;
|
|
44
|
-
'hover:border-primary-500 dark:hover:border-primary-300'?: undefined;
|
|
45
|
-
'outline-none outline-offset-0 ring ring-primary-400/50 dark:ring-primary-300/50'?: undefined;
|
|
46
|
-
})[];
|
|
47
|
-
};
|
|
48
|
-
namespace labelContainer {
|
|
49
|
-
let _class: string[];
|
|
50
|
-
export { _class as class };
|
|
51
|
-
}
|
|
52
|
-
namespace label {
|
|
53
|
-
let _class_1: string[];
|
|
54
|
-
export { _class_1 as class };
|
|
55
|
-
}
|
|
56
|
-
namespace trigger {
|
|
57
|
-
let _class_2: string[];
|
|
58
|
-
export { _class_2 as class };
|
|
59
|
-
}
|
|
60
|
-
namespace panel {
|
|
61
|
-
let _class_3: string[];
|
|
62
|
-
export { _class_3 as class };
|
|
63
|
-
}
|
|
64
|
-
namespace wrapper {
|
|
65
|
-
let _class_4: string[];
|
|
66
|
-
export { _class_4 as class };
|
|
67
|
-
}
|
|
68
|
-
namespace tree {
|
|
69
|
-
export namespace root_1 {
|
|
70
|
-
let _class_5: string[];
|
|
71
|
-
export { _class_5 as class };
|
|
72
|
-
}
|
|
73
|
-
export { root_1 as root };
|
|
74
|
-
export namespace wrapper_1 {
|
|
75
|
-
let _class_6: string[];
|
|
76
|
-
export { _class_6 as class };
|
|
77
|
-
}
|
|
78
|
-
export { wrapper_1 as wrapper };
|
|
79
|
-
export namespace container {
|
|
80
|
-
let _class_7: string[];
|
|
81
|
-
export { _class_7 as class };
|
|
82
|
-
}
|
|
83
|
-
export namespace node {
|
|
84
|
-
let _class_8: string[];
|
|
85
|
-
export { _class_8 as class };
|
|
86
|
-
}
|
|
87
|
-
export function content({ context, props }: {
|
|
88
|
-
context: any;
|
|
89
|
-
props: any;
|
|
90
|
-
}): {
|
|
91
|
-
class: (string | {
|
|
92
|
-
'bg-primary-50 dark:bg-primary-400/30 text-primary-600 dark:text-surface-0': any;
|
|
93
|
-
'hover:bg-surface-50 dark:hover:bg-surface-700/40'?: undefined;
|
|
94
|
-
'cursor-pointer select-none'?: undefined;
|
|
95
|
-
} | {
|
|
96
|
-
'hover:bg-surface-50 dark:hover:bg-surface-700/40': boolean;
|
|
97
|
-
'bg-primary-50 dark:bg-primary-400/30 text-primary-600 dark:text-surface-0'?: undefined;
|
|
98
|
-
'cursor-pointer select-none'?: undefined;
|
|
99
|
-
} | {
|
|
100
|
-
'cursor-pointer select-none': boolean;
|
|
101
|
-
'bg-primary-50 dark:bg-primary-400/30 text-primary-600 dark:text-surface-0'?: undefined;
|
|
102
|
-
'hover:bg-surface-50 dark:hover:bg-surface-700/40'?: undefined;
|
|
103
|
-
})[];
|
|
104
|
-
};
|
|
105
|
-
export function toggler({ context }: {
|
|
106
|
-
context: any;
|
|
107
|
-
}): {
|
|
108
|
-
class: (string | {
|
|
109
|
-
'text-surface-500 dark:text-white': boolean;
|
|
110
|
-
'text-primary-600 dark:text-white': any;
|
|
111
|
-
invisible: any;
|
|
112
|
-
})[];
|
|
113
|
-
};
|
|
114
|
-
export function nodeCheckbox({ props, context, instance }: {
|
|
115
|
-
props: any;
|
|
116
|
-
context: any;
|
|
117
|
-
instance: any;
|
|
118
|
-
}): {
|
|
119
|
-
root: {
|
|
120
|
-
class: string[];
|
|
121
|
-
};
|
|
122
|
-
box: {
|
|
123
|
-
class: (string | {
|
|
124
|
-
'border-surface-200 bg-surface-0 dark:border-surface-700 dark:bg-surface-900': boolean;
|
|
125
|
-
'border-primary-500 bg-primary-500 dark:border-primary-400 dark:bg-primary-400': any;
|
|
126
|
-
'peer-hover:border-primary-500 dark:peer-hover:border-primary-400'?: undefined;
|
|
127
|
-
'peer-hover:bg-primary-600 dark:peer-hover:bg-primary-300 peer-hover:border-primary-700 dark:peer-hover:border-primary-300'?: undefined;
|
|
128
|
-
'peer-focus-visible:border-primary-500 dark:peer-focus-visible:border-primary-400 peer-focus-visible:ring-2 peer-focus-visible:ring-primary-400/20 dark:peer-focus-visible:ring-primary-300/20'?: undefined;
|
|
129
|
-
'cursor-default opacity-60'?: undefined;
|
|
130
|
-
} | {
|
|
131
|
-
'peer-hover:border-primary-500 dark:peer-hover:border-primary-400': boolean;
|
|
132
|
-
'peer-hover:bg-primary-600 dark:peer-hover:bg-primary-300 peer-hover:border-primary-700 dark:peer-hover:border-primary-300': any;
|
|
133
|
-
'peer-focus-visible:border-primary-500 dark:peer-focus-visible:border-primary-400 peer-focus-visible:ring-2 peer-focus-visible:ring-primary-400/20 dark:peer-focus-visible:ring-primary-300/20': boolean;
|
|
134
|
-
'cursor-default opacity-60': any;
|
|
135
|
-
'border-surface-200 bg-surface-0 dark:border-surface-700 dark:bg-surface-900'?: undefined;
|
|
136
|
-
'border-primary-500 bg-primary-500 dark:border-primary-400 dark:bg-primary-400'?: undefined;
|
|
137
|
-
})[];
|
|
138
|
-
};
|
|
139
|
-
input: {
|
|
140
|
-
class: string[];
|
|
141
|
-
};
|
|
142
|
-
icon: {
|
|
143
|
-
class: (string | {
|
|
144
|
-
'text-white dark:text-surface-900': boolean;
|
|
145
|
-
'text-gray dark:text-white': any;
|
|
146
|
-
})[];
|
|
147
|
-
};
|
|
148
|
-
};
|
|
149
|
-
export namespace nodeicon {
|
|
150
|
-
let _class_9: string[];
|
|
151
|
-
export { _class_9 as class };
|
|
152
|
-
}
|
|
153
|
-
export namespace subgroup {
|
|
154
|
-
let _class_10: string[];
|
|
155
|
-
export { _class_10 as class };
|
|
156
|
-
}
|
|
157
|
-
export namespace filtercontainer {
|
|
158
|
-
let _class_11: string[];
|
|
159
|
-
export { _class_11 as class };
|
|
160
|
-
}
|
|
161
|
-
export namespace input {
|
|
162
|
-
let _class_12: string[];
|
|
163
|
-
export { _class_12 as class };
|
|
164
|
-
}
|
|
165
|
-
export namespace loadingicon {
|
|
166
|
-
let _class_13: string[];
|
|
167
|
-
export { _class_13 as class };
|
|
168
|
-
}
|
|
169
|
-
export namespace searchicon {
|
|
170
|
-
let _class_14: string[];
|
|
171
|
-
export { _class_14 as class };
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
namespace transition {
|
|
175
|
-
let enterFromClass: string;
|
|
176
|
-
let enterActiveClass: string;
|
|
177
|
-
let leaveActiveClass: string;
|
|
178
|
-
let leaveToClass: string;
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
export default _default;
|