@gluhar/theme 2.0.0-dev.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 +147 -0
- package/README.md +162 -0
- package/dist/module.cjs +5 -0
- package/dist/module.d.mts +13 -0
- package/dist/module.d.ts +13 -0
- package/dist/module.json +9 -0
- package/dist/module.mjs +34 -0
- package/dist/runtime/composables/useTheme.d.ts +10 -0
- package/dist/runtime/composables/useTheme.js +29 -0
- package/dist/runtime/fonts/object-sans/PPObjectSans-Heavy.otf +0 -0
- package/dist/runtime/fonts/object-sans/PPObjectSans-HeavySlanted.otf +0 -0
- package/dist/runtime/fonts/object-sans/PPObjectSans-Regular.otf +0 -0
- package/dist/runtime/fonts/object-sans/PPObjectSans-Slanted.otf +0 -0
- package/dist/runtime/fonts/object-sans/stylesheet.css +1 -0
- package/dist/runtime/presets/lara/accordion/index.d.ts +49 -0
- package/dist/runtime/presets/lara/accordion/index.js +78 -0
- package/dist/runtime/presets/lara/autocomplete/index.d.ts +200 -0
- package/dist/runtime/presets/lara/autocomplete/index.js +259 -0
- package/dist/runtime/presets/lara/avatar/index.d.ts +83 -0
- package/dist/runtime/presets/lara/avatar/index.js +43 -0
- package/dist/runtime/presets/lara/avatargroup/index.d.ts +7 -0
- package/dist/runtime/presets/lara/avatargroup/index.js +5 -0
- package/dist/runtime/presets/lara/badge/index.d.ts +72 -0
- package/dist/runtime/presets/lara/badge/index.js +43 -0
- package/dist/runtime/presets/lara/badgedirective/index.d.ts +50 -0
- package/dist/runtime/presets/lara/badgedirective/index.js +43 -0
- package/dist/runtime/presets/lara/blockui/index.d.ts +11 -0
- package/dist/runtime/presets/lara/blockui/index.js +8 -0
- package/dist/runtime/presets/lara/breadcrumb/index.d.ts +23 -0
- package/dist/runtime/presets/lara/breadcrumb/index.js +64 -0
- package/dist/runtime/presets/lara/button/index.d.ts +3790 -0
- package/dist/runtime/presets/lara/button/index.js +220 -0
- package/dist/runtime/presets/lara/calendar/index.d.ts +334 -0
- package/dist/runtime/presets/lara/calendar/index.js +643 -0
- package/dist/runtime/presets/lara/card/index.d.ts +27 -0
- package/dist/runtime/presets/lara/card/index.js +37 -0
- package/dist/runtime/presets/lara/carousel/index.d.ts +71 -0
- package/dist/runtime/presets/lara/carousel/index.js +149 -0
- package/dist/runtime/presets/lara/cascadeselect/index.d.ts +112 -0
- package/dist/runtime/presets/lara/cascadeselect/index.js +209 -0
- package/dist/runtime/presets/lara/checkbox/index.d.ts +45 -0
- package/dist/runtime/presets/lara/checkbox/index.js +101 -0
- package/dist/runtime/presets/lara/chip/index.d.ts +23 -0
- package/dist/runtime/presets/lara/chip/index.js +45 -0
- package/dist/runtime/presets/lara/chips/index.d.ts +56 -0
- package/dist/runtime/presets/lara/chips/index.js +114 -0
- package/dist/runtime/presets/lara/colorpicker/index.d.ts +51 -0
- package/dist/runtime/presets/lara/colorpicker/index.js +123 -0
- package/dist/runtime/presets/lara/confirmpopup/index.d.ts +39 -0
- package/dist/runtime/presets/lara/confirmpopup/index.js +106 -0
- package/dist/runtime/presets/lara/contextmenu/index.d.ts +72 -0
- package/dist/runtime/presets/lara/contextmenu/index.js +125 -0
- package/dist/runtime/presets/lara/datatable/index.d.ts +695 -0
- package/dist/runtime/presets/lara/datatable/index.js +1170 -0
- package/dist/runtime/presets/lara/dataview/index.d.ts +15 -0
- package/dist/runtime/presets/lara/dataview/index.js +40 -0
- package/dist/runtime/presets/lara/dataviewlayoutoptions/index.d.ts +13 -0
- package/dist/runtime/presets/lara/dataviewlayoutoptions/index.js +62 -0
- package/dist/runtime/presets/lara/deferred/index.d.ts +4 -0
- package/dist/runtime/presets/lara/deferred/index.js +3 -0
- package/dist/runtime/presets/lara/dialog/index.d.ts +79 -0
- package/dist/runtime/presets/lara/dialog/index.js +235 -0
- package/dist/runtime/presets/lara/divider/index.d.ts +192 -0
- package/dist/runtime/presets/lara/divider/index.js +67 -0
- package/dist/runtime/presets/lara/dock/index.d.ts +51 -0
- package/dist/runtime/presets/lara/dock/index.js +93 -0
- package/dist/runtime/presets/lara/dropdown/index.d.ts +207 -0
- package/dist/runtime/presets/lara/dropdown/index.js +265 -0
- package/dist/runtime/presets/lara/fieldset/index.d.ts +87 -0
- package/dist/runtime/presets/lara/fieldset/index.js +84 -0
- package/dist/runtime/presets/lara/fileupload/index.d.ts +70 -0
- package/dist/runtime/presets/lara/fileupload/index.js +173 -0
- package/dist/runtime/presets/lara/floatlabel/index.d.ts +7 -0
- package/dist/runtime/presets/lara/floatlabel/index.js +26 -0
- package/dist/runtime/presets/lara/galleria/index.d.ts +194 -0
- package/dist/runtime/presets/lara/galleria/index.js +306 -0
- package/dist/runtime/presets/lara/global.d.ts +4 -0
- package/dist/runtime/presets/lara/global.js +90 -0
- package/dist/runtime/presets/lara/iconfield/index.d.ts +18 -0
- package/dist/runtime/presets/lara/iconfield/index.js +22 -0
- package/dist/runtime/presets/lara/image/index.d.ts +65 -0
- package/dist/runtime/presets/lara/image/index.js +206 -0
- package/dist/runtime/presets/lara/index.d.ts +187 -0
- package/dist/runtime/presets/lara/index.js +207 -0
- package/dist/runtime/presets/lara/inlinemessage/index.d.ts +55 -0
- package/dist/runtime/presets/lara/inlinemessage/index.js +36 -0
- package/dist/runtime/presets/lara/inplace/index.d.ts +7 -0
- package/dist/runtime/presets/lara/inplace/index.js +27 -0
- package/dist/runtime/presets/lara/inputgroup/index.d.ts +7 -0
- package/dist/runtime/presets/lara/inputgroup/index.js +5 -0
- package/dist/runtime/presets/lara/inputgroupaddon/index.d.ts +7 -0
- package/dist/runtime/presets/lara/inputgroupaddon/index.js +28 -0
- package/dist/runtime/presets/lara/inputmask/index.d.ts +27 -0
- package/dist/runtime/presets/lara/inputmask/index.js +34 -0
- package/dist/runtime/presets/lara/inputnumber/index.d.ts +390 -0
- package/dist/runtime/presets/lara/inputnumber/index.js +164 -0
- package/dist/runtime/presets/lara/inputotp/index.d.ts +147 -0
- package/dist/runtime/presets/lara/inputotp/index.js +60 -0
- package/dist/runtime/presets/lara/inputswitch/index.d.ts +67 -0
- package/dist/runtime/presets/lara/inputswitch/index.js +80 -0
- package/dist/runtime/presets/lara/inputtext/index.d.ts +160 -0
- package/dist/runtime/presets/lara/inputtext/index.js +49 -0
- package/dist/runtime/presets/lara/knob/index.d.ts +22 -0
- package/dist/runtime/presets/lara/knob/index.js +44 -0
- package/dist/runtime/presets/lara/listbox/index.d.ts +93 -0
- package/dist/runtime/presets/lara/listbox/index.js +152 -0
- package/dist/runtime/presets/lara/megamenu/index.d.ts +105 -0
- package/dist/runtime/presets/lara/megamenu/index.js +199 -0
- package/dist/runtime/presets/lara/menu/index.d.ts +40 -0
- package/dist/runtime/presets/lara/menu/index.js +96 -0
- package/dist/runtime/presets/lara/menubar/index.d.ts +85 -0
- package/dist/runtime/presets/lara/menubar/index.js +176 -0
- package/dist/runtime/presets/lara/message/index.d.ts +70 -0
- package/dist/runtime/presets/lara/message/index.js +87 -0
- package/dist/runtime/presets/lara/metergroup/index.d.ts +92 -0
- package/dist/runtime/presets/lara/metergroup/index.js +97 -0
- package/dist/runtime/presets/lara/multiselect/index.d.ts +260 -0
- package/dist/runtime/presets/lara/multiselect/index.js +546 -0
- package/dist/runtime/presets/lara/orderlist/index.d.ts +99 -0
- package/dist/runtime/presets/lara/orderlist/index.js +257 -0
- package/dist/runtime/presets/lara/organizationchart/index.d.ts +81 -0
- package/dist/runtime/presets/lara/organizationchart/index.js +138 -0
- package/dist/runtime/presets/lara/overlaypanel/index.d.ts +17 -0
- package/dist/runtime/presets/lara/overlaypanel/index.js +40 -0
- package/dist/runtime/presets/lara/paginator/index.d.ts +280 -0
- package/dist/runtime/presets/lara/paginator/index.js +533 -0
- package/dist/runtime/presets/lara/panel/index.d.ts +39 -0
- package/dist/runtime/presets/lara/panel/index.js +91 -0
- package/dist/runtime/presets/lara/panelmenu/index.d.ts +76 -0
- package/dist/runtime/presets/lara/panelmenu/index.js +127 -0
- package/dist/runtime/presets/lara/password/index.d.ts +181 -0
- package/dist/runtime/presets/lara/password/index.js +118 -0
- package/dist/runtime/presets/lara/picklist/index.d.ts +245 -0
- package/dist/runtime/presets/lara/picklist/index.js +650 -0
- package/dist/runtime/presets/lara/progressbar/index.d.ts +44 -0
- package/dist/runtime/presets/lara/progressbar/index.js +55 -0
- package/dist/runtime/presets/lara/progressspinner/index.d.ts +15 -0
- package/dist/runtime/presets/lara/progressspinner/index.js +51 -0
- package/dist/runtime/presets/lara/radiobutton/index.d.ts +57 -0
- package/dist/runtime/presets/lara/radiobutton/index.js +104 -0
- package/dist/runtime/presets/lara/rating/index.d.ts +49 -0
- package/dist/runtime/presets/lara/rating/index.js +92 -0
- package/dist/runtime/presets/lara/ripple/index.d.ts +8 -0
- package/dist/runtime/presets/lara/ripple/index.js +6 -0
- package/dist/runtime/presets/lara/scrollpanel/index.d.ts +19 -0
- package/dist/runtime/presets/lara/scrollpanel/index.js +77 -0
- package/dist/runtime/presets/lara/scrolltop/index.d.ts +50 -0
- package/dist/runtime/presets/lara/scrolltop/index.js +41 -0
- package/dist/runtime/presets/lara/selectbutton/index.d.ts +56 -0
- package/dist/runtime/presets/lara/selectbutton/index.js +49 -0
- package/dist/runtime/presets/lara/sidebar/index.d.ts +66 -0
- package/dist/runtime/presets/lara/sidebar/index.js +149 -0
- package/dist/runtime/presets/lara/skeleton/index.d.ts +16 -0
- package/dist/runtime/presets/lara/skeleton/index.js +16 -0
- package/dist/runtime/presets/lara/slider/index.d.ts +55 -0
- package/dist/runtime/presets/lara/slider/index.js +137 -0
- package/dist/runtime/presets/lara/speeddial/index.d.ts +3091 -0
- package/dist/runtime/presets/lara/speeddial/index.js +283 -0
- package/dist/runtime/presets/lara/splitbutton/index.d.ts +6749 -0
- package/dist/runtime/presets/lara/splitbutton/index.js +502 -0
- package/dist/runtime/presets/lara/splitter/index.d.ts +30 -0
- package/dist/runtime/presets/lara/splitter/index.js +61 -0
- package/dist/runtime/presets/lara/splitterpanel/index.d.ts +10 -0
- package/dist/runtime/presets/lara/splitterpanel/index.js +5 -0
- package/dist/runtime/presets/lara/stepper/index.d.ts +66 -0
- package/dist/runtime/presets/lara/stepper/index.js +161 -0
- package/dist/runtime/presets/lara/steps/index.d.ts +57 -0
- package/dist/runtime/presets/lara/steps/index.js +111 -0
- package/dist/runtime/presets/lara/tabmenu/index.d.ts +43 -0
- package/dist/runtime/presets/lara/tabmenu/index.js +73 -0
- package/dist/runtime/presets/lara/tabview/index.d.ts +67 -0
- package/dist/runtime/presets/lara/tabview/index.js +156 -0
- package/dist/runtime/presets/lara/tag/index.d.ts +32 -0
- package/dist/runtime/presets/lara/tag/index.js +36 -0
- package/dist/runtime/presets/lara/terminal/index.d.ts +27 -0
- package/dist/runtime/presets/lara/terminal/index.js +60 -0
- package/dist/runtime/presets/lara/textarea/index.d.ts +27 -0
- package/dist/runtime/presets/lara/textarea/index.js +36 -0
- package/dist/runtime/presets/lara/tieredmenu/index.d.ts +56 -0
- package/dist/runtime/presets/lara/tieredmenu/index.js +120 -0
- package/dist/runtime/presets/lara/timeline/index.d.ts +84 -0
- package/dist/runtime/presets/lara/timeline/index.js +81 -0
- package/dist/runtime/presets/lara/toast/index.d.ts +92 -0
- package/dist/runtime/presets/lara/toast/index.js +102 -0
- package/dist/runtime/presets/lara/togglebutton/index.d.ts +72 -0
- package/dist/runtime/presets/lara/togglebutton/index.js +91 -0
- package/dist/runtime/presets/lara/toolbar/index.d.ts +19 -0
- package/dist/runtime/presets/lara/toolbar/index.js +28 -0
- package/dist/runtime/presets/lara/tooltip/index.d.ts +38 -0
- package/dist/runtime/presets/lara/tooltip/index.js +46 -0
- package/dist/runtime/presets/lara/tree/index.d.ts +105 -0
- package/dist/runtime/presets/lara/tree/index.js +258 -0
- package/dist/runtime/presets/lara/treeselect/index.d.ts +181 -0
- package/dist/runtime/presets/lara/treeselect/index.js +352 -0
- package/dist/runtime/presets/lara/treetable/index.d.ts +316 -0
- package/dist/runtime/presets/lara/treetable/index.js +434 -0
- package/dist/runtime/presets/lara/tristatecheckbox/index.d.ts +49 -0
- package/dist/runtime/presets/lara/tristatecheckbox/index.js +104 -0
- package/dist/runtime/styles/core.css +27 -0
- package/dist/runtime/tailwind/gluharTheme.d.ts +3 -0
- package/dist/runtime/tailwind/gluharTheme.js +52 -0
- package/dist/runtime/tailwind/handleTailwind.d.ts +3 -0
- package/dist/runtime/tailwind/handleTailwind.js +22 -0
- package/dist/types.d.mts +7 -0
- package/dist/types.d.ts +7 -0
- package/package.json +56 -0
|
@@ -0,0 +1,258 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1,181 @@
|
|
|
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;
|