@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,257 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
root: {
|
|
3
|
+
class: [
|
|
4
|
+
// Flexbox
|
|
5
|
+
'flex'
|
|
6
|
+
]
|
|
7
|
+
},
|
|
8
|
+
controls: {
|
|
9
|
+
class: [
|
|
10
|
+
// Flexbox & Alignment
|
|
11
|
+
'flex flex-col justify-center gap-2',
|
|
12
|
+
|
|
13
|
+
// Spacing
|
|
14
|
+
'p-5'
|
|
15
|
+
]
|
|
16
|
+
},
|
|
17
|
+
moveupbutton: {
|
|
18
|
+
root: ({ context }) => ({
|
|
19
|
+
class: [
|
|
20
|
+
// Flexbox & Alignment
|
|
21
|
+
'relative inline-flex items-center justify-center',
|
|
22
|
+
|
|
23
|
+
// Shape
|
|
24
|
+
'rounded-md',
|
|
25
|
+
|
|
26
|
+
// Color
|
|
27
|
+
'text-white dark:text-surface-900',
|
|
28
|
+
'bg-primary-500 dark:bg-primary-400',
|
|
29
|
+
'border border-primary-500 dark:border-primary-400',
|
|
30
|
+
|
|
31
|
+
// Spacing & Size
|
|
32
|
+
'w-12',
|
|
33
|
+
'm-0',
|
|
34
|
+
'px-0 py-3',
|
|
35
|
+
|
|
36
|
+
// Transitions
|
|
37
|
+
'transition duration-200 ease-in-out',
|
|
38
|
+
|
|
39
|
+
// State
|
|
40
|
+
'hover:bg-primary-600 dark:hover:bg-primary-300 hover:border-primary-600 dark:hover:border-primary-300',
|
|
41
|
+
'focus:outline-none focus:outline-offset-0 focus:ring',
|
|
42
|
+
'focus:ring-primary-400/50 dark:focus:ring-primary-300/50',
|
|
43
|
+
{ 'cursor-default pointer-events-none opacity-60': context.disabled },
|
|
44
|
+
|
|
45
|
+
// Interactivity
|
|
46
|
+
'cursor-pointer user-select-none'
|
|
47
|
+
]
|
|
48
|
+
}),
|
|
49
|
+
label: {
|
|
50
|
+
class: [
|
|
51
|
+
// Flexbox
|
|
52
|
+
'flex-initial',
|
|
53
|
+
|
|
54
|
+
// Size
|
|
55
|
+
'w-0'
|
|
56
|
+
]
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
movedownbutton: {
|
|
60
|
+
root: ({ context }) => ({
|
|
61
|
+
class: [
|
|
62
|
+
// Flexbox & Alignment
|
|
63
|
+
'relative inline-flex items-center justify-center',
|
|
64
|
+
|
|
65
|
+
// Shape
|
|
66
|
+
'rounded-md',
|
|
67
|
+
|
|
68
|
+
// Color
|
|
69
|
+
'text-white dark:text-surface-900',
|
|
70
|
+
'bg-primary-500 dark:bg-primary-400',
|
|
71
|
+
'border border-primary-500 dark:border-primary-400',
|
|
72
|
+
|
|
73
|
+
// Spacing & Size
|
|
74
|
+
'w-12',
|
|
75
|
+
'm-0',
|
|
76
|
+
'px-0 py-3',
|
|
77
|
+
|
|
78
|
+
// Transitions
|
|
79
|
+
'transition duration-200 ease-in-out',
|
|
80
|
+
|
|
81
|
+
// State
|
|
82
|
+
'hover:bg-primary-600 dark:hover:bg-primary-300 hover:border-primary-600 dark:hover:border-primary-300',
|
|
83
|
+
'focus:outline-none focus:outline-offset-0 focus:ring',
|
|
84
|
+
'focus:ring-primary-400/50 dark:focus:ring-primary-300/50',
|
|
85
|
+
{ 'cursor-default pointer-events-none opacity-60': context.disabled },
|
|
86
|
+
|
|
87
|
+
// Interactivity
|
|
88
|
+
'cursor-pointer user-select-none'
|
|
89
|
+
]
|
|
90
|
+
}),
|
|
91
|
+
label: {
|
|
92
|
+
class: [
|
|
93
|
+
// Flexbox
|
|
94
|
+
'flex-initial',
|
|
95
|
+
|
|
96
|
+
// Size
|
|
97
|
+
'w-0'
|
|
98
|
+
]
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
movetopbutton: {
|
|
102
|
+
root: ({ context }) => ({
|
|
103
|
+
class: [
|
|
104
|
+
// Flexbox & Alignment
|
|
105
|
+
'relative inline-flex items-center justify-center',
|
|
106
|
+
|
|
107
|
+
// Shape
|
|
108
|
+
'rounded-md',
|
|
109
|
+
|
|
110
|
+
// Color
|
|
111
|
+
'text-white dark:text-surface-900',
|
|
112
|
+
'bg-primary-500 dark:bg-primary-400',
|
|
113
|
+
'border border-primary-500 dark:border-primary-400',
|
|
114
|
+
|
|
115
|
+
// Spacing & Size
|
|
116
|
+
'w-12',
|
|
117
|
+
'm-0',
|
|
118
|
+
'px-0 py-3',
|
|
119
|
+
|
|
120
|
+
// Transitions
|
|
121
|
+
'transition duration-200 ease-in-out',
|
|
122
|
+
|
|
123
|
+
// State
|
|
124
|
+
'hover:bg-primary-600 dark:hover:bg-primary-300 hover:border-primary-600 dark:hover:border-primary-300',
|
|
125
|
+
'focus:outline-none focus:outline-offset-0 focus:ring',
|
|
126
|
+
'focus:ring-primary-400/50 dark:focus:ring-primary-300/50',
|
|
127
|
+
{ 'cursor-default pointer-events-none opacity-60': context.disabled },
|
|
128
|
+
|
|
129
|
+
// Interactivity
|
|
130
|
+
'cursor-pointer user-select-none'
|
|
131
|
+
]
|
|
132
|
+
}),
|
|
133
|
+
label: {
|
|
134
|
+
class: [
|
|
135
|
+
// Flexbox
|
|
136
|
+
'flex-initial',
|
|
137
|
+
|
|
138
|
+
// Size
|
|
139
|
+
'w-0'
|
|
140
|
+
]
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
movebottombutton: {
|
|
144
|
+
root: ({ context }) => ({
|
|
145
|
+
class: [
|
|
146
|
+
// Flexbox & Alignment
|
|
147
|
+
'relative inline-flex items-center justify-center',
|
|
148
|
+
|
|
149
|
+
// Shape
|
|
150
|
+
'rounded-md',
|
|
151
|
+
|
|
152
|
+
// Color
|
|
153
|
+
'text-white dark:text-surface-900',
|
|
154
|
+
'bg-primary-500 dark:bg-primary-400',
|
|
155
|
+
'border border-primary-500 dark:border-primary-400',
|
|
156
|
+
|
|
157
|
+
// Spacing & Size
|
|
158
|
+
'w-12',
|
|
159
|
+
'm-0',
|
|
160
|
+
'px-0 py-3',
|
|
161
|
+
|
|
162
|
+
// Transitions
|
|
163
|
+
'transition duration-200 ease-in-out',
|
|
164
|
+
|
|
165
|
+
// State
|
|
166
|
+
'hover:bg-primary-600 dark:hover:bg-primary-300 hover:border-primary-600 dark:hover:border-primary-300',
|
|
167
|
+
'focus:outline-none focus:outline-offset-0 focus:ring',
|
|
168
|
+
'focus:ring-primary-400/50 dark:focus:ring-primary-300/50',
|
|
169
|
+
{ 'cursor-default pointer-events-none opacity-60': context.disabled },
|
|
170
|
+
|
|
171
|
+
// Interactivity
|
|
172
|
+
'cursor-pointer user-select-none'
|
|
173
|
+
]
|
|
174
|
+
}),
|
|
175
|
+
label: {
|
|
176
|
+
class: [
|
|
177
|
+
// Flexbox
|
|
178
|
+
'flex-initial',
|
|
179
|
+
|
|
180
|
+
// Size
|
|
181
|
+
'w-0'
|
|
182
|
+
]
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
container: {
|
|
186
|
+
class: ['flex-auto']
|
|
187
|
+
},
|
|
188
|
+
header: {
|
|
189
|
+
class: [
|
|
190
|
+
'font-bold',
|
|
191
|
+
|
|
192
|
+
// Shape
|
|
193
|
+
'border-b-0 rounded-t-md',
|
|
194
|
+
|
|
195
|
+
// Spacing
|
|
196
|
+
'p-5',
|
|
197
|
+
|
|
198
|
+
// Color
|
|
199
|
+
'text-surface-700 dark:text-white/80',
|
|
200
|
+
'bg-surface-50 dark:bg-surface-800',
|
|
201
|
+
'border border-surface-200 dark:border-surface-700'
|
|
202
|
+
]
|
|
203
|
+
},
|
|
204
|
+
list: {
|
|
205
|
+
class: [
|
|
206
|
+
// Spacing
|
|
207
|
+
'list-none m-0 p-0',
|
|
208
|
+
|
|
209
|
+
// Size
|
|
210
|
+
'min-h-[12rem] max-h-[24rem]',
|
|
211
|
+
|
|
212
|
+
// Shape
|
|
213
|
+
'rounded-b-md',
|
|
214
|
+
|
|
215
|
+
// Color
|
|
216
|
+
'text-surface-600 dark:text-white/80',
|
|
217
|
+
'bg-surface-0 dark:bg-surface-800',
|
|
218
|
+
'border border-surface-200 dark:border-surface-700',
|
|
219
|
+
|
|
220
|
+
// Spacing
|
|
221
|
+
'py-3 px-0',
|
|
222
|
+
|
|
223
|
+
// Focus & Outline
|
|
224
|
+
'outline-none',
|
|
225
|
+
|
|
226
|
+
// Misc
|
|
227
|
+
'overflow-auto'
|
|
228
|
+
]
|
|
229
|
+
},
|
|
230
|
+
item: ({ context }) => ({
|
|
231
|
+
class: [
|
|
232
|
+
// Position
|
|
233
|
+
'relative',
|
|
234
|
+
|
|
235
|
+
// Spacing
|
|
236
|
+
'py-3 px-5 m-0',
|
|
237
|
+
|
|
238
|
+
// Shape
|
|
239
|
+
'border-none',
|
|
240
|
+
|
|
241
|
+
// Transition
|
|
242
|
+
'transition duration-200',
|
|
243
|
+
|
|
244
|
+
// Color
|
|
245
|
+
'text-surface-700 dark:text-white/80',
|
|
246
|
+
{ 'bg-primary-500/20 dark:bg-primary-300/20': context.active && !context.focused },
|
|
247
|
+
{ 'bg-primary-500/30 dark:bg-primary-400/30': context.active && context.focused },
|
|
248
|
+
{ 'bg-surface-100 dark:bg-surface-700/70': !context.active && context.focused },
|
|
249
|
+
|
|
250
|
+
// State
|
|
251
|
+
'hover:bg-surface-100 dark:hover:bg-surface-700',
|
|
252
|
+
|
|
253
|
+
// Misc
|
|
254
|
+
'cursor-pointer overflow-hidden'
|
|
255
|
+
]
|
|
256
|
+
})
|
|
257
|
+
};
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
declare namespace _default {
|
|
2
|
+
namespace table {
|
|
3
|
+
let _class: string[];
|
|
4
|
+
export { _class as class };
|
|
5
|
+
}
|
|
6
|
+
namespace cell {
|
|
7
|
+
let _class_1: string[];
|
|
8
|
+
export { _class_1 as class };
|
|
9
|
+
}
|
|
10
|
+
function node({ props, context }: {
|
|
11
|
+
props: any;
|
|
12
|
+
context: any;
|
|
13
|
+
}): {
|
|
14
|
+
class: (string | {
|
|
15
|
+
'text-surface-600 dark:text-white/80': boolean;
|
|
16
|
+
'bg-surface-0 dark:bg-surface-800': boolean;
|
|
17
|
+
'border-surface-200 dark:border-surface-700': boolean;
|
|
18
|
+
'text-primary-700 dark:text-surface-0': any;
|
|
19
|
+
'bg-primary-50 dark:bg-primary-400/30': any;
|
|
20
|
+
'border-primary-200 dark:border-primary-600': any;
|
|
21
|
+
'hover:bg-surface-100 dark:hover:bg-surface-700'?: undefined;
|
|
22
|
+
'hover:bg-primary-100 dark:hover:bg-primary-300/30'?: undefined;
|
|
23
|
+
'cursor-pointer'?: undefined;
|
|
24
|
+
} | {
|
|
25
|
+
'hover:bg-surface-100 dark:hover:bg-surface-700': any;
|
|
26
|
+
'hover:bg-primary-100 dark:hover:bg-primary-300/30': any;
|
|
27
|
+
'text-surface-600 dark:text-white/80'?: undefined;
|
|
28
|
+
'bg-surface-0 dark:bg-surface-800'?: undefined;
|
|
29
|
+
'border-surface-200 dark:border-surface-700'?: undefined;
|
|
30
|
+
'text-primary-700 dark:text-surface-0'?: undefined;
|
|
31
|
+
'bg-primary-50 dark:bg-primary-400/30'?: undefined;
|
|
32
|
+
'border-primary-200 dark:border-primary-600'?: undefined;
|
|
33
|
+
'cursor-pointer'?: undefined;
|
|
34
|
+
} | {
|
|
35
|
+
'cursor-pointer': any;
|
|
36
|
+
'text-surface-600 dark:text-white/80'?: undefined;
|
|
37
|
+
'bg-surface-0 dark:bg-surface-800'?: undefined;
|
|
38
|
+
'border-surface-200 dark:border-surface-700'?: undefined;
|
|
39
|
+
'text-primary-700 dark:text-surface-0'?: undefined;
|
|
40
|
+
'bg-primary-50 dark:bg-primary-400/30'?: undefined;
|
|
41
|
+
'border-primary-200 dark:border-primary-600'?: undefined;
|
|
42
|
+
'hover:bg-surface-100 dark:hover:bg-surface-700'?: undefined;
|
|
43
|
+
'hover:bg-primary-100 dark:hover:bg-primary-300/30'?: undefined;
|
|
44
|
+
})[];
|
|
45
|
+
};
|
|
46
|
+
namespace linecell {
|
|
47
|
+
let _class_2: string[];
|
|
48
|
+
export { _class_2 as class };
|
|
49
|
+
}
|
|
50
|
+
namespace linedown {
|
|
51
|
+
let _class_3: string[];
|
|
52
|
+
export { _class_3 as class };
|
|
53
|
+
}
|
|
54
|
+
function lineleft({ context }: {
|
|
55
|
+
context: any;
|
|
56
|
+
}): {
|
|
57
|
+
class: (string | {
|
|
58
|
+
'border-t': any;
|
|
59
|
+
})[];
|
|
60
|
+
};
|
|
61
|
+
function lineright({ context }: {
|
|
62
|
+
context: any;
|
|
63
|
+
}): {
|
|
64
|
+
class: (string | {
|
|
65
|
+
'border-t border-surface-200 dark:border-surface-700': any;
|
|
66
|
+
})[];
|
|
67
|
+
};
|
|
68
|
+
namespace nodecell {
|
|
69
|
+
let _class_4: string;
|
|
70
|
+
export { _class_4 as class };
|
|
71
|
+
}
|
|
72
|
+
namespace nodetoggler {
|
|
73
|
+
let _class_5: string[];
|
|
74
|
+
export { _class_5 as class };
|
|
75
|
+
}
|
|
76
|
+
namespace nodetogglericon {
|
|
77
|
+
let _class_6: string[];
|
|
78
|
+
export { _class_6 as class };
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
export default _default;
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
table: {
|
|
3
|
+
class: [
|
|
4
|
+
// Spacing & Position
|
|
5
|
+
'mx-auto my-0',
|
|
6
|
+
|
|
7
|
+
// Table Style
|
|
8
|
+
'border-spacing-0 border-separate'
|
|
9
|
+
]
|
|
10
|
+
},
|
|
11
|
+
cell: {
|
|
12
|
+
class: [
|
|
13
|
+
// Alignment
|
|
14
|
+
'text-center align-top',
|
|
15
|
+
|
|
16
|
+
// Spacing
|
|
17
|
+
'py-0 px-3'
|
|
18
|
+
]
|
|
19
|
+
},
|
|
20
|
+
node: ({ props, context }) => ({
|
|
21
|
+
class: [
|
|
22
|
+
'relative inline-block',
|
|
23
|
+
|
|
24
|
+
// Spacing
|
|
25
|
+
'p-5',
|
|
26
|
+
|
|
27
|
+
// Shape
|
|
28
|
+
'border',
|
|
29
|
+
|
|
30
|
+
// Color
|
|
31
|
+
{
|
|
32
|
+
'text-surface-600 dark:text-white/80': !context?.selected,
|
|
33
|
+
'bg-surface-0 dark:bg-surface-800': !context?.selected,
|
|
34
|
+
'border-surface-200 dark:border-surface-700': !context?.selected,
|
|
35
|
+
'text-primary-700 dark:text-surface-0': context?.selected,
|
|
36
|
+
'bg-primary-50 dark:bg-primary-400/30': context?.selected,
|
|
37
|
+
'border-primary-200 dark:border-primary-600': context?.selected
|
|
38
|
+
},
|
|
39
|
+
|
|
40
|
+
// States
|
|
41
|
+
{
|
|
42
|
+
'hover:bg-surface-100 dark:hover:bg-surface-700': context?.selectable && !context?.selected,
|
|
43
|
+
'hover:bg-primary-100 dark:hover:bg-primary-300/30': context?.selectable && context?.selected
|
|
44
|
+
},
|
|
45
|
+
|
|
46
|
+
{ 'cursor-pointer': context?.selectable }
|
|
47
|
+
]
|
|
48
|
+
}),
|
|
49
|
+
linecell: {
|
|
50
|
+
class: [
|
|
51
|
+
// Alignment
|
|
52
|
+
'text-center align-top',
|
|
53
|
+
|
|
54
|
+
// Spacing
|
|
55
|
+
'py-0 px-3'
|
|
56
|
+
]
|
|
57
|
+
},
|
|
58
|
+
linedown: {
|
|
59
|
+
class: [
|
|
60
|
+
// Spacing
|
|
61
|
+
'mx-auto my-0',
|
|
62
|
+
|
|
63
|
+
// Size
|
|
64
|
+
'w-px h-[20px]',
|
|
65
|
+
|
|
66
|
+
// Color
|
|
67
|
+
'bg-surface-200 dark:bg-surface-700'
|
|
68
|
+
]
|
|
69
|
+
},
|
|
70
|
+
lineleft: ({ context }) => ({
|
|
71
|
+
class: [
|
|
72
|
+
// Alignment
|
|
73
|
+
'text-center align-top',
|
|
74
|
+
|
|
75
|
+
// Spacing
|
|
76
|
+
'py-0 px-3',
|
|
77
|
+
|
|
78
|
+
// Shape
|
|
79
|
+
'rounded-none border-r',
|
|
80
|
+
{ 'border-t': context.lineTop },
|
|
81
|
+
|
|
82
|
+
// Color
|
|
83
|
+
'border-surface-200 dark:border-surface-700'
|
|
84
|
+
]
|
|
85
|
+
}),
|
|
86
|
+
lineright: ({ context }) => ({
|
|
87
|
+
class: [
|
|
88
|
+
// Alignment
|
|
89
|
+
'text-center align-top',
|
|
90
|
+
|
|
91
|
+
// Spacing
|
|
92
|
+
'py-0 px-3',
|
|
93
|
+
|
|
94
|
+
// Shape
|
|
95
|
+
'rounded-none',
|
|
96
|
+
|
|
97
|
+
// Color
|
|
98
|
+
{ 'border-t border-surface-200 dark:border-surface-700': context.lineTop }
|
|
99
|
+
]
|
|
100
|
+
}),
|
|
101
|
+
nodecell: {
|
|
102
|
+
class: 'text-center align-top py-0 px-3'
|
|
103
|
+
},
|
|
104
|
+
nodetoggler: {
|
|
105
|
+
class: [
|
|
106
|
+
// Position
|
|
107
|
+
'absolute bottom-[-0.75rem] left-2/4 -ml-3',
|
|
108
|
+
'z-20',
|
|
109
|
+
|
|
110
|
+
// Flexbox
|
|
111
|
+
'flex items-center justify-center',
|
|
112
|
+
|
|
113
|
+
// Size
|
|
114
|
+
'w-6 h-6',
|
|
115
|
+
|
|
116
|
+
// Shape
|
|
117
|
+
'rounded-full',
|
|
118
|
+
|
|
119
|
+
// Color
|
|
120
|
+
'bg-inherit text-inherit',
|
|
121
|
+
|
|
122
|
+
// Focus
|
|
123
|
+
'focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50 dark:focus:ring-primary-300/50',
|
|
124
|
+
|
|
125
|
+
// Misc
|
|
126
|
+
'cursor-pointer no-underline select-none'
|
|
127
|
+
]
|
|
128
|
+
},
|
|
129
|
+
nodetogglericon: {
|
|
130
|
+
class: [
|
|
131
|
+
// Position
|
|
132
|
+
'relative inline-block',
|
|
133
|
+
|
|
134
|
+
// Size
|
|
135
|
+
'w-4 h-4'
|
|
136
|
+
]
|
|
137
|
+
}
|
|
138
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare namespace _default {
|
|
2
|
+
namespace root {
|
|
3
|
+
let _class: string[];
|
|
4
|
+
export { _class as class };
|
|
5
|
+
}
|
|
6
|
+
namespace content {
|
|
7
|
+
let _class_1: string;
|
|
8
|
+
export { _class_1 as class };
|
|
9
|
+
}
|
|
10
|
+
namespace transition {
|
|
11
|
+
let enterFromClass: string;
|
|
12
|
+
let enterActiveClass: string;
|
|
13
|
+
let leaveActiveClass: string;
|
|
14
|
+
let leaveToClass: string;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
export default _default;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
root: {
|
|
3
|
+
class: [
|
|
4
|
+
// Shape
|
|
5
|
+
'rounded-md shadow-lg',
|
|
6
|
+
'border-0 dark:border',
|
|
7
|
+
|
|
8
|
+
// Position
|
|
9
|
+
'absolute left-0 top-0 mt-2',
|
|
10
|
+
'z-40 transform origin-center',
|
|
11
|
+
|
|
12
|
+
// Color
|
|
13
|
+
'bg-surface-0 dark:bg-surface-800',
|
|
14
|
+
'text-surface-700 dark:text-surface-0/80',
|
|
15
|
+
'dark:border-surface-700',
|
|
16
|
+
|
|
17
|
+
// Before: Triangle
|
|
18
|
+
'before:absolute before:-top-[9px] before:-ml-[9px] before:left-[calc(var(--overlayArrowLeft,0)+1.25rem)] z-0',
|
|
19
|
+
'before:w-0 before:h-0',
|
|
20
|
+
'before:border-transparent before:border-solid',
|
|
21
|
+
'before:border-x-[8px] before:border-[8px]',
|
|
22
|
+
'before:border-t-0 before:border-b-surface-300/10 dark:before:border-b-surface-700',
|
|
23
|
+
|
|
24
|
+
'after:absolute after:-top-2 after:-ml-[8px] after:left-[calc(var(--overlayArrowLeft,0)+1.25rem)]',
|
|
25
|
+
'after:w-0 after:h-0',
|
|
26
|
+
'after:border-transparent after:border-solid',
|
|
27
|
+
'after:border-x-[0.5rem] after:border-[0.5rem]',
|
|
28
|
+
'after:border-t-0 after:border-b-surface-0 dark:after:border-b-surface-800'
|
|
29
|
+
]
|
|
30
|
+
},
|
|
31
|
+
content: {
|
|
32
|
+
class: 'p-5 items-center flex'
|
|
33
|
+
},
|
|
34
|
+
transition: {
|
|
35
|
+
enterFromClass: 'opacity-0 scale-y-[0.8]',
|
|
36
|
+
enterActiveClass: 'transition-[transform,opacity] duration-[120ms] ease-[cubic-bezier(0,0,0.2,1)]',
|
|
37
|
+
leaveActiveClass: 'transition-opacity duration-100 ease-linear',
|
|
38
|
+
leaveToClass: 'opacity-0'
|
|
39
|
+
}
|
|
40
|
+
};
|