@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,156 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
navContainer: ({ props }) => ({
|
|
3
|
-
class: [
|
|
4
|
-
// Position
|
|
5
|
-
'relative',
|
|
6
|
-
|
|
7
|
-
// Misc
|
|
8
|
-
{ 'overflow-hidden': props.scrollable }
|
|
9
|
-
]
|
|
10
|
-
}),
|
|
11
|
-
navContent: {
|
|
12
|
-
class: [
|
|
13
|
-
// Overflow and Scrolling
|
|
14
|
-
'overflow-y-hidden overscroll-contain',
|
|
15
|
-
'overscroll-auto',
|
|
16
|
-
'scroll-smooth',
|
|
17
|
-
'[&::-webkit-scrollbar]:hidden'
|
|
18
|
-
]
|
|
19
|
-
},
|
|
20
|
-
previousButton: {
|
|
21
|
-
class: [
|
|
22
|
-
// Flexbox and Alignment
|
|
23
|
-
'flex items-center justify-center',
|
|
24
|
-
|
|
25
|
-
// Position
|
|
26
|
-
'!absolute',
|
|
27
|
-
'top-0 left-0',
|
|
28
|
-
'z-20',
|
|
29
|
-
|
|
30
|
-
// Size and Shape
|
|
31
|
-
'h-full w-12',
|
|
32
|
-
'rounded-none',
|
|
33
|
-
|
|
34
|
-
// Colors
|
|
35
|
-
'bg-surface-0 dark:bg-surface-800',
|
|
36
|
-
'text-primary-500 dark:text-primary-400',
|
|
37
|
-
'shadow-md'
|
|
38
|
-
]
|
|
39
|
-
},
|
|
40
|
-
nextButton: {
|
|
41
|
-
class: [
|
|
42
|
-
// Flexbox and Alignment
|
|
43
|
-
'flex items-center justify-center',
|
|
44
|
-
|
|
45
|
-
// Position
|
|
46
|
-
'!absolute',
|
|
47
|
-
'top-0 right-0',
|
|
48
|
-
'z-20',
|
|
49
|
-
|
|
50
|
-
// Size and Shape
|
|
51
|
-
'h-full w-12',
|
|
52
|
-
'rounded-none',
|
|
53
|
-
|
|
54
|
-
// Colors
|
|
55
|
-
'bg-surface-0 dark:bg-surface-800',
|
|
56
|
-
'text-primary-500 dark:text-primary-400',
|
|
57
|
-
'shadow-md'
|
|
58
|
-
]
|
|
59
|
-
},
|
|
60
|
-
nav: {
|
|
61
|
-
class: [
|
|
62
|
-
// Flexbox
|
|
63
|
-
'flex flex-1',
|
|
64
|
-
|
|
65
|
-
// Spacing
|
|
66
|
-
'list-none',
|
|
67
|
-
'p-0 m-0',
|
|
68
|
-
|
|
69
|
-
// Colors
|
|
70
|
-
'bg-surface-0 dark:bg-surface-800',
|
|
71
|
-
'border-b-2 border-surface-200 dark:border-surface-700',
|
|
72
|
-
'text-surface-900 dark:text-surface-0/80'
|
|
73
|
-
]
|
|
74
|
-
},
|
|
75
|
-
tabpanel: {
|
|
76
|
-
header: ({ props }) => ({
|
|
77
|
-
class: [
|
|
78
|
-
// Spacing
|
|
79
|
-
'mr-0',
|
|
80
|
-
|
|
81
|
-
// Misc
|
|
82
|
-
{
|
|
83
|
-
'opacity-60 cursor-default user-select-none select-none pointer-events-none': props?.disabled
|
|
84
|
-
}
|
|
85
|
-
]
|
|
86
|
-
}),
|
|
87
|
-
headerAction: ({ parent, context }) => ({
|
|
88
|
-
class: [
|
|
89
|
-
'relative',
|
|
90
|
-
|
|
91
|
-
// Font
|
|
92
|
-
'font-bold',
|
|
93
|
-
|
|
94
|
-
// Flexbox and Alignment
|
|
95
|
-
'flex items-center',
|
|
96
|
-
|
|
97
|
-
// Spacing
|
|
98
|
-
'p-5',
|
|
99
|
-
'-mb-[2px]',
|
|
100
|
-
|
|
101
|
-
// Shape
|
|
102
|
-
'border-b-2',
|
|
103
|
-
'rounded-t-md',
|
|
104
|
-
|
|
105
|
-
// Colors and Conditions
|
|
106
|
-
{
|
|
107
|
-
'border-surface-200 dark:border-surface-700': parent.state.d_activeIndex !== context.index,
|
|
108
|
-
'bg-surface-0 dark:bg-surface-800': parent.state.d_activeIndex !== context.index,
|
|
109
|
-
'text-surface-700 dark:text-surface-0/80': parent.state.d_activeIndex !== context.index,
|
|
110
|
-
|
|
111
|
-
'bg-surface-0 dark:bg-surface-800': parent.state.d_activeIndex === context.index,
|
|
112
|
-
'border-primary-500 dark:border-primary-400': parent.state.d_activeIndex === context.index,
|
|
113
|
-
'text-primary-500 dark:text-primary-400': parent.state.d_activeIndex === context.index
|
|
114
|
-
},
|
|
115
|
-
|
|
116
|
-
// States
|
|
117
|
-
'focus-visible:outline-none focus-visible:outline-offset-0 focus-visible:ring focus-visible:ring-inset',
|
|
118
|
-
'focus-visible:ring-primary-400/50 dark:focus-visible:ring-primary-300/50',
|
|
119
|
-
{
|
|
120
|
-
'hover:bg-surface-0 dark:hover:bg-surface-800/80': parent.state.d_activeIndex !== context.index,
|
|
121
|
-
'hover:border-surface-400 dark:hover:border-primary-400': parent.state.d_activeIndex !== context.index,
|
|
122
|
-
'hover:text-surface-900 dark:hover:text-surface-0': parent.state.d_activeIndex !== context.index
|
|
123
|
-
},
|
|
124
|
-
|
|
125
|
-
// Transitions
|
|
126
|
-
'transition-all duration-200',
|
|
127
|
-
|
|
128
|
-
// Misc
|
|
129
|
-
'cursor-pointer select-none text-decoration-none',
|
|
130
|
-
'overflow-hidden',
|
|
131
|
-
'user-select-none'
|
|
132
|
-
]
|
|
133
|
-
}),
|
|
134
|
-
headerTitle: {
|
|
135
|
-
class: [
|
|
136
|
-
// Text
|
|
137
|
-
'leading-none',
|
|
138
|
-
'whitespace-nowrap'
|
|
139
|
-
]
|
|
140
|
-
},
|
|
141
|
-
content: {
|
|
142
|
-
class: [
|
|
143
|
-
// Spacing
|
|
144
|
-
'p-5',
|
|
145
|
-
|
|
146
|
-
// Shape
|
|
147
|
-
'rounded-b-md',
|
|
148
|
-
|
|
149
|
-
// Colors
|
|
150
|
-
'bg-surface-0 dark:bg-surface-800',
|
|
151
|
-
'text-surface-700 dark:text-surface-0/80',
|
|
152
|
-
'border-0'
|
|
153
|
-
]
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
declare namespace _default {
|
|
2
|
-
function root({ props }: {
|
|
3
|
-
props: any;
|
|
4
|
-
}): {
|
|
5
|
-
class: (string | {
|
|
6
|
-
'rounded-md': boolean;
|
|
7
|
-
'rounded-full': any;
|
|
8
|
-
'bg-primary-500 dark:bg-primary-400'?: undefined;
|
|
9
|
-
'bg-green-500 dark:bg-green-400'?: undefined;
|
|
10
|
-
'bg-blue-500 dark:bg-blue-400'?: undefined;
|
|
11
|
-
'bg-orange-500 dark:bg-orange-400'?: undefined;
|
|
12
|
-
'bg-red-500 dark:bg-red-400'?: undefined;
|
|
13
|
-
} | {
|
|
14
|
-
'bg-primary-500 dark:bg-primary-400': boolean;
|
|
15
|
-
'bg-green-500 dark:bg-green-400': boolean;
|
|
16
|
-
'bg-blue-500 dark:bg-blue-400': boolean;
|
|
17
|
-
'bg-orange-500 dark:bg-orange-400': boolean;
|
|
18
|
-
'bg-red-500 dark:bg-red-400': boolean;
|
|
19
|
-
'rounded-md'?: undefined;
|
|
20
|
-
'rounded-full'?: undefined;
|
|
21
|
-
})[];
|
|
22
|
-
};
|
|
23
|
-
namespace value {
|
|
24
|
-
let _class: string;
|
|
25
|
-
export { _class as class };
|
|
26
|
-
}
|
|
27
|
-
namespace icon {
|
|
28
|
-
let _class_1: string;
|
|
29
|
-
export { _class_1 as class };
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
export default _default;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
root: ({ props }) => ({
|
|
3
|
-
class: [
|
|
4
|
-
//Font
|
|
5
|
-
'text-xs font-bold',
|
|
6
|
-
|
|
7
|
-
//Alignments
|
|
8
|
-
'inline-flex items-center justify-center',
|
|
9
|
-
|
|
10
|
-
//Spacing
|
|
11
|
-
'px-2 py-1',
|
|
12
|
-
|
|
13
|
-
//Shape
|
|
14
|
-
{
|
|
15
|
-
'rounded-md': !props.rounded,
|
|
16
|
-
'rounded-full': props.rounded
|
|
17
|
-
},
|
|
18
|
-
|
|
19
|
-
//Colors
|
|
20
|
-
'text-white dark:text-surface-900',
|
|
21
|
-
{
|
|
22
|
-
'bg-primary-500 dark:bg-primary-400': props.severity == null || props.severity == 'primary',
|
|
23
|
-
'bg-green-500 dark:bg-green-400': props.severity == 'success',
|
|
24
|
-
'bg-blue-500 dark:bg-blue-400': props.severity == 'info',
|
|
25
|
-
'bg-orange-500 dark:bg-orange-400': props.severity == 'warning',
|
|
26
|
-
'bg-red-500 dark:bg-red-400': props.severity == 'danger'
|
|
27
|
-
}
|
|
28
|
-
]
|
|
29
|
-
}),
|
|
30
|
-
value: {
|
|
31
|
-
class: 'leading-normal'
|
|
32
|
-
},
|
|
33
|
-
icon: {
|
|
34
|
-
class: 'mr-1 text-sm'
|
|
35
|
-
}
|
|
36
|
-
};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
declare namespace _default {
|
|
2
|
-
namespace root {
|
|
3
|
-
let _class: string[];
|
|
4
|
-
export { _class as class };
|
|
5
|
-
}
|
|
6
|
-
namespace container {
|
|
7
|
-
let _class_1: string[];
|
|
8
|
-
export { _class_1 as class };
|
|
9
|
-
}
|
|
10
|
-
namespace prompt {
|
|
11
|
-
let _class_2: string[];
|
|
12
|
-
export { _class_2 as class };
|
|
13
|
-
}
|
|
14
|
-
namespace response {
|
|
15
|
-
let _class_3: string[];
|
|
16
|
-
export { _class_3 as class };
|
|
17
|
-
}
|
|
18
|
-
namespace command {
|
|
19
|
-
let _class_4: string[];
|
|
20
|
-
export { _class_4 as class };
|
|
21
|
-
}
|
|
22
|
-
namespace commandtext {
|
|
23
|
-
let _class_5: string[];
|
|
24
|
-
export { _class_5 as class };
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
export default _default;
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
root: {
|
|
3
|
-
class: [
|
|
4
|
-
// Spacing
|
|
5
|
-
'p-5',
|
|
6
|
-
|
|
7
|
-
// Shape
|
|
8
|
-
'rounded-md',
|
|
9
|
-
|
|
10
|
-
// Color
|
|
11
|
-
'bg-surface-900 text-white',
|
|
12
|
-
'border border-surface-700',
|
|
13
|
-
|
|
14
|
-
// Sizing & Overflow
|
|
15
|
-
'h-72 overflow-auto'
|
|
16
|
-
]
|
|
17
|
-
},
|
|
18
|
-
container: {
|
|
19
|
-
class: [
|
|
20
|
-
// Flexbox
|
|
21
|
-
'flex items-center'
|
|
22
|
-
]
|
|
23
|
-
},
|
|
24
|
-
prompt: {
|
|
25
|
-
class: [
|
|
26
|
-
// Color
|
|
27
|
-
'text-surface-400'
|
|
28
|
-
]
|
|
29
|
-
},
|
|
30
|
-
response: {
|
|
31
|
-
class: [
|
|
32
|
-
// Color
|
|
33
|
-
'text-primary-400'
|
|
34
|
-
]
|
|
35
|
-
},
|
|
36
|
-
command: {
|
|
37
|
-
class: [
|
|
38
|
-
// Color
|
|
39
|
-
'text-primary-400'
|
|
40
|
-
]
|
|
41
|
-
},
|
|
42
|
-
commandtext: {
|
|
43
|
-
class: [
|
|
44
|
-
// Flexbox
|
|
45
|
-
'flex-1 shrink grow-0',
|
|
46
|
-
|
|
47
|
-
// Shape
|
|
48
|
-
'border-0',
|
|
49
|
-
|
|
50
|
-
// Spacing
|
|
51
|
-
'p-0',
|
|
52
|
-
|
|
53
|
-
// Color
|
|
54
|
-
'bg-transparent text-inherit',
|
|
55
|
-
|
|
56
|
-
// Outline
|
|
57
|
-
'outline-none'
|
|
58
|
-
]
|
|
59
|
-
}
|
|
60
|
-
};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
declare namespace _default {
|
|
2
|
-
function root({ context, props }: {
|
|
3
|
-
context: any;
|
|
4
|
-
props: 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-400'?: undefined;
|
|
10
|
-
'focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-500/50 dark:focus:ring-primary-400/50'?: undefined;
|
|
11
|
-
'opacity-60 select-none pointer-events-none cursor-default'?: undefined;
|
|
12
|
-
} | {
|
|
13
|
-
'border-red-500 dark:border-red-400': any;
|
|
14
|
-
'border-surface-300 dark:border-surface-600'?: undefined;
|
|
15
|
-
'hover:border-primary-500 dark:hover:border-primary-400'?: undefined;
|
|
16
|
-
'focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-500/50 dark:focus:ring-primary-400/50'?: undefined;
|
|
17
|
-
'opacity-60 select-none pointer-events-none cursor-default'?: undefined;
|
|
18
|
-
} | {
|
|
19
|
-
'hover:border-primary-500 dark:hover:border-primary-400': boolean;
|
|
20
|
-
'focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-500/50 dark:focus:ring-primary-400/50': boolean;
|
|
21
|
-
'opacity-60 select-none pointer-events-none cursor-default': any;
|
|
22
|
-
'border-surface-300 dark:border-surface-600'?: undefined;
|
|
23
|
-
'border-red-500 dark:border-red-400'?: undefined;
|
|
24
|
-
})[];
|
|
25
|
-
};
|
|
26
|
-
}
|
|
27
|
-
export default _default;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
root: ({ context, props }) => ({
|
|
3
|
-
class: [
|
|
4
|
-
// Font
|
|
5
|
-
'font-sans leading-none',
|
|
6
|
-
|
|
7
|
-
// Spacing
|
|
8
|
-
'm-0',
|
|
9
|
-
'p-3',
|
|
10
|
-
|
|
11
|
-
// Shape
|
|
12
|
-
'rounded-md',
|
|
13
|
-
|
|
14
|
-
// Colors
|
|
15
|
-
'text-surface-600 dark:text-surface-200',
|
|
16
|
-
'placeholder:text-surface-400 dark:placeholder:text-surface-500',
|
|
17
|
-
'bg-surface-0 dark:bg-surface-900',
|
|
18
|
-
'border',
|
|
19
|
-
{ 'border-surface-300 dark:border-surface-600': !props.invalid },
|
|
20
|
-
|
|
21
|
-
// Invalid State
|
|
22
|
-
{ 'border-red-500 dark:border-red-400': props.invalid },
|
|
23
|
-
|
|
24
|
-
// States
|
|
25
|
-
{
|
|
26
|
-
'hover:border-primary-500 dark:hover:border-primary-400': !context.disabled && !props.invalid,
|
|
27
|
-
'focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-500/50 dark:focus:ring-primary-400/50': !context.disabled,
|
|
28
|
-
'opacity-60 select-none pointer-events-none cursor-default': context.disabled
|
|
29
|
-
},
|
|
30
|
-
|
|
31
|
-
// Misc
|
|
32
|
-
'appearance-none',
|
|
33
|
-
'transition-colors duration-200'
|
|
34
|
-
]
|
|
35
|
-
})
|
|
36
|
-
};
|
|
@@ -1,56 +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 content({ context }: {
|
|
15
|
-
context: any;
|
|
16
|
-
}): {
|
|
17
|
-
class: (string | {
|
|
18
|
-
'text-surface-500 dark:text-white/70': boolean;
|
|
19
|
-
'text-surface-500 dark:text-white/70 bg-surface-200 dark:bg-surface-600/90': any;
|
|
20
|
-
'text-primary-700 dark:text-surface-0/80 bg-primary-50 dark:bg-primary-400/30': any;
|
|
21
|
-
'hover:bg-surface-100 dark:hover:bg-surface-600/80'?: undefined;
|
|
22
|
-
'hover:bg-primary-500/50 dark:hover:bg-primary-300/30 text-primary-700 dark:text-surface-0/80'?: undefined;
|
|
23
|
-
} | {
|
|
24
|
-
'hover:bg-surface-100 dark:hover:bg-surface-600/80': boolean;
|
|
25
|
-
'hover:bg-primary-500/50 dark:hover:bg-primary-300/30 text-primary-700 dark:text-surface-0/80': any;
|
|
26
|
-
'text-surface-500 dark:text-white/70'?: undefined;
|
|
27
|
-
'text-surface-500 dark:text-white/70 bg-surface-200 dark:bg-surface-600/90'?: undefined;
|
|
28
|
-
'text-primary-700 dark:text-surface-0/80 bg-primary-50 dark:bg-primary-400/30'?: undefined;
|
|
29
|
-
})[];
|
|
30
|
-
};
|
|
31
|
-
namespace action {
|
|
32
|
-
let _class_3: string[];
|
|
33
|
-
export { _class_3 as class };
|
|
34
|
-
}
|
|
35
|
-
namespace icon {
|
|
36
|
-
let _class_4: string[];
|
|
37
|
-
export { _class_4 as class };
|
|
38
|
-
}
|
|
39
|
-
namespace label {
|
|
40
|
-
let _class_5: string[];
|
|
41
|
-
export { _class_5 as class };
|
|
42
|
-
}
|
|
43
|
-
namespace submenuicon {
|
|
44
|
-
let _class_6: string[];
|
|
45
|
-
export { _class_6 as class };
|
|
46
|
-
}
|
|
47
|
-
namespace submenu {
|
|
48
|
-
let _class_7: string[];
|
|
49
|
-
export { _class_7 as class };
|
|
50
|
-
}
|
|
51
|
-
namespace separator {
|
|
52
|
-
let _class_8: string;
|
|
53
|
-
export { _class_8 as class };
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
export default _default;
|
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
root: {
|
|
3
|
-
class: [
|
|
4
|
-
// Shape
|
|
5
|
-
'rounded-md',
|
|
6
|
-
|
|
7
|
-
// Size
|
|
8
|
-
'min-w-[12rem]',
|
|
9
|
-
'py-1',
|
|
10
|
-
|
|
11
|
-
// Colors
|
|
12
|
-
'bg-surface-0 dark:bg-surface-700',
|
|
13
|
-
'border border-surface-200 dark:border-surface-700'
|
|
14
|
-
]
|
|
15
|
-
},
|
|
16
|
-
menu: {
|
|
17
|
-
class: [
|
|
18
|
-
// Spacings and Shape
|
|
19
|
-
'list-none',
|
|
20
|
-
'm-0',
|
|
21
|
-
'p-0',
|
|
22
|
-
'outline-none'
|
|
23
|
-
]
|
|
24
|
-
},
|
|
25
|
-
menuitem: {
|
|
26
|
-
class: [
|
|
27
|
-
// Position
|
|
28
|
-
'relative'
|
|
29
|
-
]
|
|
30
|
-
},
|
|
31
|
-
content: ({ context }) => ({
|
|
32
|
-
class: [
|
|
33
|
-
//Shape
|
|
34
|
-
'rounded-none',
|
|
35
|
-
|
|
36
|
-
// Colors
|
|
37
|
-
{
|
|
38
|
-
'text-surface-500 dark:text-white/70': !context.focused && !context.active,
|
|
39
|
-
'text-surface-500 dark:text-white/70 bg-surface-200 dark:bg-surface-600/90': context.focused && !context.active,
|
|
40
|
-
'text-primary-700 dark:text-surface-0/80 bg-primary-50 dark:bg-primary-400/30': context.focused && context.active,
|
|
41
|
-
'text-primary-700 dark:text-surface-0/80 bg-primary-50 dark:bg-primary-400/30': !context.focused && context.active
|
|
42
|
-
},
|
|
43
|
-
|
|
44
|
-
// Hover States
|
|
45
|
-
{
|
|
46
|
-
'hover:bg-surface-100 dark:hover:bg-surface-600/80': !context.active,
|
|
47
|
-
'hover:bg-primary-500/50 dark:hover:bg-primary-300/30 text-primary-700 dark:text-surface-0/80': context.active
|
|
48
|
-
},
|
|
49
|
-
|
|
50
|
-
// Transitions
|
|
51
|
-
'transition-shadow',
|
|
52
|
-
'duration-200'
|
|
53
|
-
]
|
|
54
|
-
}),
|
|
55
|
-
action: {
|
|
56
|
-
class: [
|
|
57
|
-
'relative',
|
|
58
|
-
// Flexbox
|
|
59
|
-
|
|
60
|
-
'flex',
|
|
61
|
-
'items-center',
|
|
62
|
-
|
|
63
|
-
// Spacing
|
|
64
|
-
'py-3',
|
|
65
|
-
'px-5',
|
|
66
|
-
|
|
67
|
-
// Color
|
|
68
|
-
'text-surface-700 dark:text-white/80',
|
|
69
|
-
|
|
70
|
-
// Misc
|
|
71
|
-
'no-underline',
|
|
72
|
-
'overflow-hidden',
|
|
73
|
-
'cursor-pointer',
|
|
74
|
-
'select-none'
|
|
75
|
-
]
|
|
76
|
-
},
|
|
77
|
-
icon: {
|
|
78
|
-
class: [
|
|
79
|
-
// Spacing
|
|
80
|
-
'mr-2',
|
|
81
|
-
|
|
82
|
-
// Color
|
|
83
|
-
'text-surface-600 dark:text-white/70'
|
|
84
|
-
]
|
|
85
|
-
},
|
|
86
|
-
label: {
|
|
87
|
-
class: ['leading-none']
|
|
88
|
-
},
|
|
89
|
-
submenuicon: {
|
|
90
|
-
class: [
|
|
91
|
-
// Position
|
|
92
|
-
'ml-auto'
|
|
93
|
-
]
|
|
94
|
-
},
|
|
95
|
-
submenu: {
|
|
96
|
-
class: [
|
|
97
|
-
// Size
|
|
98
|
-
'w-full sm:w-48',
|
|
99
|
-
|
|
100
|
-
// Spacing
|
|
101
|
-
'py-1',
|
|
102
|
-
'm-0',
|
|
103
|
-
'list-none',
|
|
104
|
-
|
|
105
|
-
// Shape
|
|
106
|
-
'shadow-none sm:shadow-md',
|
|
107
|
-
'border-0',
|
|
108
|
-
|
|
109
|
-
// Position
|
|
110
|
-
'static sm:absolute',
|
|
111
|
-
'z-10',
|
|
112
|
-
|
|
113
|
-
// Color
|
|
114
|
-
'bg-surface-0 dark:bg-surface-700'
|
|
115
|
-
]
|
|
116
|
-
},
|
|
117
|
-
separator: {
|
|
118
|
-
class: 'border-t border-surface-200 dark:border-surface-600 my-1'
|
|
119
|
-
}
|
|
120
|
-
};
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
declare namespace _default {
|
|
2
|
-
function root({ props }: {
|
|
3
|
-
props: any;
|
|
4
|
-
}): {
|
|
5
|
-
class: (string | {
|
|
6
|
-
'flex-col': boolean;
|
|
7
|
-
'flex-row flex-1': boolean;
|
|
8
|
-
})[];
|
|
9
|
-
};
|
|
10
|
-
function event({ props, context }: {
|
|
11
|
-
props: any;
|
|
12
|
-
context: any;
|
|
13
|
-
}): {
|
|
14
|
-
class: (string | {
|
|
15
|
-
'flex-row-reverse': boolean;
|
|
16
|
-
'flex-col flex-1': boolean;
|
|
17
|
-
'flex-col-reverse ': boolean;
|
|
18
|
-
})[];
|
|
19
|
-
};
|
|
20
|
-
function opposite({ props, context }: {
|
|
21
|
-
props: any;
|
|
22
|
-
context: any;
|
|
23
|
-
}): {
|
|
24
|
-
class: (string | {
|
|
25
|
-
'px-4': boolean;
|
|
26
|
-
'py-4': boolean;
|
|
27
|
-
'text-right'?: undefined;
|
|
28
|
-
'text-left'?: undefined;
|
|
29
|
-
} | {
|
|
30
|
-
'text-right': boolean;
|
|
31
|
-
'text-left': boolean;
|
|
32
|
-
'px-4'?: undefined;
|
|
33
|
-
'py-4'?: undefined;
|
|
34
|
-
})[];
|
|
35
|
-
};
|
|
36
|
-
function separator({ props }: {
|
|
37
|
-
props: any;
|
|
38
|
-
}): {
|
|
39
|
-
class: (string | {
|
|
40
|
-
'flex-col': boolean;
|
|
41
|
-
'flex-row': boolean;
|
|
42
|
-
})[];
|
|
43
|
-
};
|
|
44
|
-
namespace marker {
|
|
45
|
-
let _class: string[];
|
|
46
|
-
export { _class as class };
|
|
47
|
-
}
|
|
48
|
-
function connector({ props }: {
|
|
49
|
-
props: any;
|
|
50
|
-
}): {
|
|
51
|
-
class: (string | {
|
|
52
|
-
'w-[2px]': boolean;
|
|
53
|
-
'w-full h-[2px]': boolean;
|
|
54
|
-
})[];
|
|
55
|
-
};
|
|
56
|
-
function content({ props, context }: {
|
|
57
|
-
props: any;
|
|
58
|
-
context: any;
|
|
59
|
-
}): {
|
|
60
|
-
class: (string | {
|
|
61
|
-
'px-4': boolean;
|
|
62
|
-
'py-4': boolean;
|
|
63
|
-
'text-left'?: undefined;
|
|
64
|
-
'text-right'?: undefined;
|
|
65
|
-
'min-h-0'?: undefined;
|
|
66
|
-
'grow-0'?: undefined;
|
|
67
|
-
} | {
|
|
68
|
-
'text-left': boolean;
|
|
69
|
-
'text-right': boolean;
|
|
70
|
-
'px-4'?: undefined;
|
|
71
|
-
'py-4'?: undefined;
|
|
72
|
-
'min-h-0'?: undefined;
|
|
73
|
-
'grow-0'?: undefined;
|
|
74
|
-
} | {
|
|
75
|
-
'min-h-0': boolean;
|
|
76
|
-
'grow-0': boolean;
|
|
77
|
-
'px-4'?: undefined;
|
|
78
|
-
'py-4'?: undefined;
|
|
79
|
-
'text-left'?: undefined;
|
|
80
|
-
'text-right'?: undefined;
|
|
81
|
-
})[];
|
|
82
|
-
};
|
|
83
|
-
}
|
|
84
|
-
export default _default;
|