@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,306 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
content: ({ parent, props }) => ({
|
|
3
|
-
class: [
|
|
4
|
-
'flex',
|
|
5
|
-
{
|
|
6
|
-
'flex-col': props.fullScreen
|
|
7
|
-
},
|
|
8
|
-
{
|
|
9
|
-
'flex-col': parent.props.thumbnailsPosition === 'top' || parent.props.thumbnailsPosition === 'bottom',
|
|
10
|
-
'flex-row': parent.props.thumbnailsPosition === 'right' || parent.props.thumbnailsPosition === 'left'
|
|
11
|
-
}
|
|
12
|
-
]
|
|
13
|
-
}),
|
|
14
|
-
itemwrapper: ({ parent, props }) => ({
|
|
15
|
-
class: [
|
|
16
|
-
'group',
|
|
17
|
-
'flex relative',
|
|
18
|
-
{
|
|
19
|
-
'grow shrink w-0 justify-center': props.fullScreen
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
'flex-col': parent.props.indicatorsPosition === 'bottom' || parent.props.indicatorsPosition === 'top',
|
|
23
|
-
'flex-row items-center': parent.props.indicatorsPosition === 'left' || parent.props.indicatorsPosition === 'right'
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
'order-2': parent.props.thumbnailsPosition === 'top' || parent.props.thumbnailsPosition === 'left',
|
|
27
|
-
'flex-row': parent.props.thumbnailsPosition === 'right'
|
|
28
|
-
}
|
|
29
|
-
]
|
|
30
|
-
}),
|
|
31
|
-
|
|
32
|
-
itemcontainer: ({ parent }) => ({
|
|
33
|
-
class: [
|
|
34
|
-
'flex h-full relative',
|
|
35
|
-
{
|
|
36
|
-
'order-1': parent.props.indicatorsPosition === 'bottom' || parent.props.indicatorsPosition === 'right',
|
|
37
|
-
'order-2': parent.props.indicatorsPosition === 'top' || parent.props.indicatorsPosition === 'left'
|
|
38
|
-
}
|
|
39
|
-
]
|
|
40
|
-
}),
|
|
41
|
-
item: {
|
|
42
|
-
class: [
|
|
43
|
-
// Flex
|
|
44
|
-
'flex justify-center items-center h-full w-full',
|
|
45
|
-
|
|
46
|
-
// Sizing
|
|
47
|
-
'h-full w-full'
|
|
48
|
-
]
|
|
49
|
-
},
|
|
50
|
-
thumbnailwrapper: ({ parent }) => ({
|
|
51
|
-
class: [
|
|
52
|
-
// Flex
|
|
53
|
-
'flex flex-col shrink-0',
|
|
54
|
-
|
|
55
|
-
{
|
|
56
|
-
'order-1': parent.props.thumbnailsPosition === 'top' || parent.props.thumbnailsPosition === 'left'
|
|
57
|
-
},
|
|
58
|
-
|
|
59
|
-
// Misc
|
|
60
|
-
'overflow-auto'
|
|
61
|
-
]
|
|
62
|
-
}),
|
|
63
|
-
thumbnailcontainer: ({ parent }) => ({
|
|
64
|
-
class: [
|
|
65
|
-
// Flex
|
|
66
|
-
'flex',
|
|
67
|
-
|
|
68
|
-
// Spacing
|
|
69
|
-
'p-4',
|
|
70
|
-
|
|
71
|
-
// Colors
|
|
72
|
-
'bg-black/90',
|
|
73
|
-
|
|
74
|
-
{
|
|
75
|
-
'flex-row': parent.props.thumbnailsPosition === 'top' || parent.props.thumbnailsPosition === 'bottom',
|
|
76
|
-
'flex-col grow': parent.props.thumbnailsPosition === 'right' || parent.props.thumbnailsPosition === 'left'
|
|
77
|
-
}
|
|
78
|
-
]
|
|
79
|
-
}),
|
|
80
|
-
previousthumbnailbutton: {
|
|
81
|
-
class: [
|
|
82
|
-
// Positioning
|
|
83
|
-
'self-center relative',
|
|
84
|
-
|
|
85
|
-
// Display & Flexbox
|
|
86
|
-
'flex shrink-0 justify-center items-center overflow-hidden',
|
|
87
|
-
|
|
88
|
-
// Spacing
|
|
89
|
-
'm-2',
|
|
90
|
-
|
|
91
|
-
// Appearance
|
|
92
|
-
'bg-transparent text-white w-8 h-8 rounded-full transition duration-200 ease-in-out',
|
|
93
|
-
|
|
94
|
-
// Hover Effects
|
|
95
|
-
'hover:bg-surface-0/10 hover:text-white',
|
|
96
|
-
|
|
97
|
-
// Focus Effects
|
|
98
|
-
'focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50 dark:focus:ring-primary-300/50'
|
|
99
|
-
]
|
|
100
|
-
},
|
|
101
|
-
thumbnailitemscontainer: {
|
|
102
|
-
class: 'overflow-hidden w-full'
|
|
103
|
-
},
|
|
104
|
-
thumbnailitems: ({ parent }) => ({
|
|
105
|
-
class: [
|
|
106
|
-
'flex',
|
|
107
|
-
{
|
|
108
|
-
'flex-col h-full': parent.props.thumbnailsPosition === 'right' || parent.props.thumbnailsPosition === 'left'
|
|
109
|
-
}
|
|
110
|
-
]
|
|
111
|
-
}),
|
|
112
|
-
thumbnailitem: ({ parent }) => ({
|
|
113
|
-
class: [
|
|
114
|
-
// Flexbox
|
|
115
|
-
'flex items-center justify-center',
|
|
116
|
-
'grow shrink-0',
|
|
117
|
-
|
|
118
|
-
// Sizing
|
|
119
|
-
{
|
|
120
|
-
'w-full md:w-[25%] lg:w-[20%]': parent.props.thumbnailsPosition === 'top' || parent.props.thumbnailsPosition === 'bottom'
|
|
121
|
-
},
|
|
122
|
-
|
|
123
|
-
// Misc
|
|
124
|
-
'overflow-auto',
|
|
125
|
-
'cursor-pointer',
|
|
126
|
-
'opacity-50',
|
|
127
|
-
|
|
128
|
-
// States
|
|
129
|
-
'hover:opacity-100',
|
|
130
|
-
'hover:transition-opacity',
|
|
131
|
-
'hover:duration-300'
|
|
132
|
-
]
|
|
133
|
-
}),
|
|
134
|
-
nextthumbnailbutton: {
|
|
135
|
-
class: [
|
|
136
|
-
// Positioning
|
|
137
|
-
'self-center relative',
|
|
138
|
-
|
|
139
|
-
// Display & Flexbox
|
|
140
|
-
'flex shrink-0 justify-center items-center overflow-hidden',
|
|
141
|
-
|
|
142
|
-
// Spacing
|
|
143
|
-
'm-2',
|
|
144
|
-
|
|
145
|
-
// Appearance
|
|
146
|
-
'bg-transparent text-white w-8 h-8 rounded-full transition duration-200 ease-in-out',
|
|
147
|
-
|
|
148
|
-
// Hover Effects
|
|
149
|
-
'hover:bg-surface-0/10 hover:text-white',
|
|
150
|
-
|
|
151
|
-
// Focus Effects
|
|
152
|
-
'focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50 dark:focus:ring-primary-300/50'
|
|
153
|
-
]
|
|
154
|
-
},
|
|
155
|
-
indicators: ({ parent }) => ({
|
|
156
|
-
class: [
|
|
157
|
-
// flex
|
|
158
|
-
'flex items-center justify-center',
|
|
159
|
-
|
|
160
|
-
// Spacing
|
|
161
|
-
'p-4',
|
|
162
|
-
|
|
163
|
-
// Indicators Position
|
|
164
|
-
{
|
|
165
|
-
'order-2': parent.props.indicatorsPosition == 'bottom',
|
|
166
|
-
'order-1': parent.props.indicatorsPosition == 'top',
|
|
167
|
-
'order-1 flex-col': parent.props.indicatorsPosition == 'left',
|
|
168
|
-
'flex-col order-2': parent.props.indicatorsPosition == 'right'
|
|
169
|
-
},
|
|
170
|
-
{
|
|
171
|
-
'absolute z-10 bg-black/50': parent.props.showIndicatorsOnItem
|
|
172
|
-
},
|
|
173
|
-
|
|
174
|
-
{
|
|
175
|
-
'bottom-0 left-0 w-full items-start': parent.props.indicatorsPosition == 'bottom' && parent.props.showIndicatorsOnItem,
|
|
176
|
-
'top-0 left-0 w-full items-start': parent.props.indicatorsPosition == 'top' && parent.props.showIndicatorsOnItem,
|
|
177
|
-
'left-0 top-0 h-full items-start': parent.props.indicatorsPosition == 'left' && parent.props.showIndicatorsOnItem,
|
|
178
|
-
'right-0 top-0 h-full items-start': parent.props.indicatorsPosition == 'right' && parent.props.showIndicatorsOnItem
|
|
179
|
-
}
|
|
180
|
-
]
|
|
181
|
-
}),
|
|
182
|
-
indicator: ({ parent }) => ({
|
|
183
|
-
class: [
|
|
184
|
-
{
|
|
185
|
-
'mr-2': parent.props.indicatorsPosition == 'bottom' || parent.props.indicatorsPosition == 'top',
|
|
186
|
-
'mb-2': parent.props.indicatorsPosition == 'left' || parent.props.indicatorsPosition == 'right'
|
|
187
|
-
}
|
|
188
|
-
]
|
|
189
|
-
}),
|
|
190
|
-
indicatorbutton: ({ context }) => ({
|
|
191
|
-
class: [
|
|
192
|
-
// Size
|
|
193
|
-
'w-4 h-4',
|
|
194
|
-
|
|
195
|
-
// Appearance
|
|
196
|
-
'rounded-full transition duration-200',
|
|
197
|
-
|
|
198
|
-
// Focus Effects
|
|
199
|
-
'focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50 dark:focus:ring-primary-300/50',
|
|
200
|
-
|
|
201
|
-
// Conditional Appearance: Not Highlighted
|
|
202
|
-
{ 'bg-surface-200 hover:bg-surface-300 dark:bg-surface-700 dark:hover:bg-surface-600': !context.highlighted },
|
|
203
|
-
|
|
204
|
-
// Conditional Appearance: Highlighted
|
|
205
|
-
{ 'bg-primary-500 hover:bg-primary-600': context.highlighted }
|
|
206
|
-
]
|
|
207
|
-
}),
|
|
208
|
-
mask: {
|
|
209
|
-
class: ['fixed top-0 left-0 w-full h-full', 'flex items-center justify-center', 'bg-black/90']
|
|
210
|
-
},
|
|
211
|
-
closebutton: {
|
|
212
|
-
class: [
|
|
213
|
-
// Positioning
|
|
214
|
-
'!absolute top-0 right-0',
|
|
215
|
-
|
|
216
|
-
// Display & Flexbox
|
|
217
|
-
'flex justify-center items-center overflow-hidden',
|
|
218
|
-
|
|
219
|
-
// Spacing
|
|
220
|
-
'm-2',
|
|
221
|
-
|
|
222
|
-
// Appearance
|
|
223
|
-
'text-white bg-transparent w-12 h-12 rounded-full transition duration-200 ease-in-out',
|
|
224
|
-
|
|
225
|
-
// Hover Effect
|
|
226
|
-
'hover:text-white hover:bg-surface-0/10',
|
|
227
|
-
|
|
228
|
-
// Focus Effects
|
|
229
|
-
'focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50 dark:focus:ring-primary-300/50'
|
|
230
|
-
]
|
|
231
|
-
},
|
|
232
|
-
closeicon: {
|
|
233
|
-
class: 'w-6 h-6'
|
|
234
|
-
},
|
|
235
|
-
previousitembutton: ({ parent }) => ({
|
|
236
|
-
class: [
|
|
237
|
-
// Display & Flexbox
|
|
238
|
-
'inline-flex justify-center items-center overflow-hidden',
|
|
239
|
-
|
|
240
|
-
// Appearance
|
|
241
|
-
'bg-transparent text-white w-16 h-16 transition duration-200 ease-in-out rounded-md',
|
|
242
|
-
{
|
|
243
|
-
'opacity-0 group-hover:opacity-100': parent.props.showItemNavigatorsOnHover
|
|
244
|
-
},
|
|
245
|
-
|
|
246
|
-
// Spacing
|
|
247
|
-
'mx-2',
|
|
248
|
-
|
|
249
|
-
// Positioning
|
|
250
|
-
'top-1/2 mt-[-0.5rem] left-0',
|
|
251
|
-
{
|
|
252
|
-
'!absolute': parent.props.showItemNavigators,
|
|
253
|
-
'!fixed': !parent.props.showItemNavigators
|
|
254
|
-
},
|
|
255
|
-
|
|
256
|
-
// Hover Effect
|
|
257
|
-
'hover:bg-surface-0/10 hover:text-white',
|
|
258
|
-
|
|
259
|
-
// Focus Effects
|
|
260
|
-
'focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50 dark:focus:ring-primary-300/50'
|
|
261
|
-
]
|
|
262
|
-
}),
|
|
263
|
-
nextitembutton: ({ parent }) => ({
|
|
264
|
-
class: [
|
|
265
|
-
// Display & Flexbox
|
|
266
|
-
'inline-flex justify-center items-center overflow-hidden',
|
|
267
|
-
|
|
268
|
-
// Appearance
|
|
269
|
-
'bg-transparent text-white w-16 h-16 transition duration-200 ease-in-out rounded-md',
|
|
270
|
-
{
|
|
271
|
-
'opacity-0 group-hover:opacity-100': parent.props.showItemNavigatorsOnHover
|
|
272
|
-
},
|
|
273
|
-
|
|
274
|
-
// Spacing
|
|
275
|
-
'mx-2',
|
|
276
|
-
|
|
277
|
-
// Positioning
|
|
278
|
-
'top-1/2 mt-[-0.5rem] right-0',
|
|
279
|
-
{
|
|
280
|
-
'!absolute': parent.props.showItemNavigators,
|
|
281
|
-
'!fixed': !parent.props.showItemNavigators
|
|
282
|
-
},
|
|
283
|
-
|
|
284
|
-
// Hover Effect
|
|
285
|
-
'hover:bg-surface-0/10 hover:text-white',
|
|
286
|
-
|
|
287
|
-
// Focus Effects
|
|
288
|
-
'focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50 dark:focus:ring-primary-300/50'
|
|
289
|
-
]
|
|
290
|
-
}),
|
|
291
|
-
caption: {
|
|
292
|
-
class: [
|
|
293
|
-
// Positioning
|
|
294
|
-
'absolute bottom-0 left-0 w-full',
|
|
295
|
-
|
|
296
|
-
// Appearance
|
|
297
|
-
'bg-black/50 text-white p-4'
|
|
298
|
-
]
|
|
299
|
-
},
|
|
300
|
-
transition: {
|
|
301
|
-
enterFromClass: 'opacity-0 scale-75',
|
|
302
|
-
enterActiveClass: 'transition-all duration-150 ease-in-out',
|
|
303
|
-
leaveActiveClass: 'transition-all duration-150 ease-in',
|
|
304
|
-
leaveToClass: 'opacity-0 scale-75'
|
|
305
|
-
}
|
|
306
|
-
};
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
css: `
|
|
3
|
-
*[data-pd-ripple="true"]{
|
|
4
|
-
overflow: hidden;
|
|
5
|
-
position: relative;
|
|
6
|
-
}
|
|
7
|
-
span[data-p-ink-active="true"]{
|
|
8
|
-
animation: ripple 0.4s linear;
|
|
9
|
-
}
|
|
10
|
-
@keyframes ripple {
|
|
11
|
-
100% {
|
|
12
|
-
opacity: 0;
|
|
13
|
-
transform: scale(2.5);
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.progress-spinner-circle {
|
|
18
|
-
stroke-dasharray: 89, 200;
|
|
19
|
-
stroke-dashoffset: 0;
|
|
20
|
-
animation: p-progress-spinner-dash 1.5s ease-in-out infinite, p-progress-spinner-color 6s ease-in-out infinite;
|
|
21
|
-
stroke-linecap: round;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
@keyframes p-progress-spinner-dash{
|
|
25
|
-
0% {
|
|
26
|
-
stroke-dasharray: 1, 200;
|
|
27
|
-
stroke-dashoffset: 0;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
50% {
|
|
31
|
-
stroke-dasharray: 89, 200;
|
|
32
|
-
stroke-dashoffset: -35px;
|
|
33
|
-
}
|
|
34
|
-
100% {
|
|
35
|
-
stroke-dasharray: 89, 200;
|
|
36
|
-
stroke-dashoffset: -124px;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
@keyframes p-progress-spinner-color {
|
|
40
|
-
100%, 0% {
|
|
41
|
-
stroke: #ff5757;
|
|
42
|
-
}
|
|
43
|
-
40% {
|
|
44
|
-
stroke: #696cff;
|
|
45
|
-
}
|
|
46
|
-
66% {
|
|
47
|
-
stroke: #1ea97c;
|
|
48
|
-
}
|
|
49
|
-
80%, 90% {
|
|
50
|
-
stroke: #cc8925;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.progressbar-value-animate::after {
|
|
55
|
-
will-change: left, right;
|
|
56
|
-
animation: p-progressbar-indeterminate-anim-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;
|
|
57
|
-
}
|
|
58
|
-
.progressbar-value-animate::before {
|
|
59
|
-
will-change: left, right;
|
|
60
|
-
animation: p-progressbar-indeterminate-anim 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
|
|
61
|
-
}
|
|
62
|
-
@keyframes p-progressbar-indeterminate-anim {
|
|
63
|
-
0% {
|
|
64
|
-
left: -35%;
|
|
65
|
-
right: 100%;
|
|
66
|
-
}
|
|
67
|
-
60% {
|
|
68
|
-
left: 100%;
|
|
69
|
-
right: -90%;
|
|
70
|
-
}
|
|
71
|
-
100% {
|
|
72
|
-
left: 100%;
|
|
73
|
-
right: -90%;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.p-fadein {
|
|
78
|
-
animation: p-fadein 250ms linear;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
@keyframes p-fadein {
|
|
82
|
-
0% {
|
|
83
|
-
opacity: 0;
|
|
84
|
-
}
|
|
85
|
-
100% {
|
|
86
|
-
opacity: 1;
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
`
|
|
90
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
declare namespace _default {
|
|
2
|
-
function root({ props }: {
|
|
3
|
-
props: any;
|
|
4
|
-
}): {
|
|
5
|
-
class: (string | {
|
|
6
|
-
'[&>*:first-child]:right-3': boolean;
|
|
7
|
-
'[&>*:first-child]:left-3': boolean;
|
|
8
|
-
'[&>*:last-child]:pr-10'?: undefined;
|
|
9
|
-
'[&>*:last-child]:pl-10'?: undefined;
|
|
10
|
-
} | {
|
|
11
|
-
'[&>*:last-child]:pr-10': boolean;
|
|
12
|
-
'[&>*:last-child]:pl-10': boolean;
|
|
13
|
-
'[&>*:first-child]:right-3'?: undefined;
|
|
14
|
-
'[&>*:first-child]:left-3'?: undefined;
|
|
15
|
-
})[];
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
|
-
export default _default;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
root: ({ props }) => ({
|
|
3
|
-
class: [
|
|
4
|
-
'relative',
|
|
5
|
-
'[&>input]:w-full',
|
|
6
|
-
|
|
7
|
-
'[&>*:first-child]:absolute',
|
|
8
|
-
'[&>*:first-child]:top-1/2',
|
|
9
|
-
'[&>*:first-child]:-mt-2',
|
|
10
|
-
'[&>*:first-child]:leading-none',
|
|
11
|
-
'[&>*:first-child]:text-surface-900/60 dark:[&>*:first-child]:text-white/60',
|
|
12
|
-
{
|
|
13
|
-
'[&>*:first-child]:right-3': props.iconPosition === 'right',
|
|
14
|
-
'[&>*:first-child]:left-3': props.iconPosition === 'left'
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
'[&>*:last-child]:pr-10': props.iconPosition === 'right',
|
|
18
|
-
'[&>*:last-child]:pl-10': props.iconPosition === 'left'
|
|
19
|
-
}
|
|
20
|
-
]
|
|
21
|
-
})
|
|
22
|
-
};
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
declare namespace _default {
|
|
2
|
-
namespace root {
|
|
3
|
-
let _class: string;
|
|
4
|
-
export { _class as class };
|
|
5
|
-
}
|
|
6
|
-
namespace button {
|
|
7
|
-
let _class_1: string[];
|
|
8
|
-
export { _class_1 as class };
|
|
9
|
-
}
|
|
10
|
-
namespace mask {
|
|
11
|
-
let _class_2: string[];
|
|
12
|
-
export { _class_2 as class };
|
|
13
|
-
}
|
|
14
|
-
namespace toolbar {
|
|
15
|
-
let _class_3: string[];
|
|
16
|
-
export { _class_3 as class };
|
|
17
|
-
}
|
|
18
|
-
namespace rotaterightbutton {
|
|
19
|
-
let _class_4: string[];
|
|
20
|
-
export { _class_4 as class };
|
|
21
|
-
}
|
|
22
|
-
namespace rotaterighticon {
|
|
23
|
-
let _class_5: string;
|
|
24
|
-
export { _class_5 as class };
|
|
25
|
-
}
|
|
26
|
-
namespace rotateleftbutton {
|
|
27
|
-
let _class_6: string[];
|
|
28
|
-
export { _class_6 as class };
|
|
29
|
-
}
|
|
30
|
-
namespace rotatelefticon {
|
|
31
|
-
let _class_7: string;
|
|
32
|
-
export { _class_7 as class };
|
|
33
|
-
}
|
|
34
|
-
namespace zoomoutbutton {
|
|
35
|
-
let _class_8: string[];
|
|
36
|
-
export { _class_8 as class };
|
|
37
|
-
}
|
|
38
|
-
namespace zoomouticon {
|
|
39
|
-
let _class_9: string;
|
|
40
|
-
export { _class_9 as class };
|
|
41
|
-
}
|
|
42
|
-
namespace zoominbutton {
|
|
43
|
-
let _class_10: string[];
|
|
44
|
-
export { _class_10 as class };
|
|
45
|
-
}
|
|
46
|
-
namespace zoominicon {
|
|
47
|
-
let _class_11: string;
|
|
48
|
-
export { _class_11 as class };
|
|
49
|
-
}
|
|
50
|
-
namespace closebutton {
|
|
51
|
-
let _class_12: string[];
|
|
52
|
-
export { _class_12 as class };
|
|
53
|
-
}
|
|
54
|
-
namespace closeicon {
|
|
55
|
-
let _class_13: string;
|
|
56
|
-
export { _class_13 as class };
|
|
57
|
-
}
|
|
58
|
-
namespace transition {
|
|
59
|
-
let enterFromClass: string;
|
|
60
|
-
let enterActiveClass: string;
|
|
61
|
-
let leaveActiveClass: string;
|
|
62
|
-
let leaveToClass: string;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
export default _default;
|