@cooperco/cooper-component-library 0.0.10 → 0.1.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/dist/component-lib.js +6947 -0
- package/dist/component-lib.umd.cjs +98 -0
- package/package.json +29 -20
- package/src/assets/fonts/GT-Walsheim-Bold.woff +0 -0
- package/src/assets/fonts/GT-Walsheim-Bold.woff2 +0 -0
- package/src/assets/fonts/GT-Walsheim-LC-Bold.woff +0 -0
- package/src/assets/fonts/GT-Walsheim-LC-Bold.woff2 +0 -0
- package/src/assets/fonts/GT-Walsheim-LC-Regular.woff +0 -0
- package/src/assets/fonts/GT-Walsheim-LC-Regular.woff2 +0 -0
- package/src/assets/fonts/GT-Walsheim-Medium.woff +0 -0
- package/src/assets/fonts/GT-Walsheim-Medium.woff2 +0 -0
- package/src/assets/fonts/GT-Walsheim-Regular.woff +0 -0
- package/src/assets/fonts/GT-Walsheim-Regular.woff2 +0 -0
- package/src/assets/fonts/fonts.scss +60 -0
- package/src/assets/fonts/notosanssc-bold-webfont.woff +0 -0
- package/src/assets/fonts/notosanssc-bold-webfont.woff2 +0 -0
- package/src/assets/fonts/notosanssc-regular-webfont.woff +0 -0
- package/src/assets/fonts/notosanssc-regular-webfont.woff2 +0 -0
- package/src/assets/main.css +18 -114
- package/src/assets/theme.css +5 -1
- package/src/components/{types → Accordion}/Accordion.ts +8 -6
- package/src/components/Accordion/Accordion.vue +66 -0
- package/src/components/Accordion/AccordionItem.ts +25 -0
- package/src/components/Accordion/AccordionItem.vue +104 -0
- package/src/components/{AccordionItem.vue → Accordion/AccordionListItem.vue} +22 -14
- package/src/components/Accordion/AccordionTileItem.vue +75 -0
- package/src/components/CTA/CTA.ts +22 -0
- package/src/components/CTA/CTA.vue +65 -0
- package/src/components/CarouselModule/CarouselModule.ts +20 -0
- package/src/components/{CarouselModule.vue → CarouselModule/CarouselModule.vue} +25 -7
- package/src/components/ContainerCollectionModule/ContainerCollectionModule.ts +12 -0
- package/src/components/{ContainerCollectionModule.vue → ContainerCollectionModule/ContainerCollectionModule.vue} +12 -3
- package/src/components/ContainerModule/ContainerModule.ts +69 -0
- package/src/components/{ContainerModule.vue → ContainerModule/ContainerModule.vue} +33 -36
- package/src/components/ContentModule/ContentModule.ts +31 -0
- package/src/components/ContentModule/ContentModule.vue +65 -0
- package/src/components/{types → FooterNavigation}/FooterNavigation.ts +3 -2
- package/src/components/{FooterNavigation.vue → FooterNavigation/FooterNavigation.vue} +4 -2
- package/src/components/Image/Image.vue +17 -0
- package/src/components/{types → LogoCollectionModule}/LogoCollectionModule.ts +3 -3
- package/src/components/{LogoCollectionModule.vue → LogoCollectionModule/LogoCollectionModule.vue} +13 -3
- package/src/components/{types → NavigationElement}/NavigationElement.ts +6 -3
- package/src/components/{NavigationElement.vue → NavigationElement/NavigationElement.vue} +18 -9
- package/src/components/{types → PrimaryNavigation}/PrimaryNavigation.ts +2 -2
- package/src/components/{PrimaryNavigation.vue → PrimaryNavigation/PrimaryNavigation.vue} +7 -4
- package/src/components/{types → SplitModule}/SplitModule.ts +6 -5
- package/src/components/SplitModule/SplitModule.vue +57 -0
- package/src/components/TestimonialModule/TestimonialModule.ts +22 -0
- package/src/components/TestimonialModule/TestimonialModule.vue +51 -0
- package/src/components/TileCollectionModule/TileCollectionModule.ts +18 -0
- package/src/components/TileCollectionModule/TileCollectionModule.vue +58 -0
- package/src/components/TileContent/TileContent.ts +60 -0
- package/src/components/{TileContent.vue → TileContent/TileContent.vue} +25 -14
- package/src/components/TileContent/TileContentIconTile.vue +83 -0
- package/src/components/TileContent/TileContentImageStackedAnimatedTile.vue +121 -0
- package/src/components/TileContent/TileContentImageTile.vue +80 -0
- package/src/components/TileContent/TileContentTextTile.vue +63 -0
- package/src/components/TileContent/TileContentVideoTile.vue +81 -0
- package/src/components/{types → Video}/Video.ts +1 -1
- package/src/components/{Video.vue → Video/Video.vue} +1 -1
- package/src/assets/usercard.jpg +0 -0
- package/src/assets/vue.svg +0 -1
- package/src/components/Accordion.vue +0 -33
- package/src/components/CTA.vue +0 -39
- package/src/components/ContentAndImage.vue +0 -34
- package/src/components/ContentMediaModule.vue +0 -50
- package/src/components/ContentModule.vue +0 -51
- package/src/components/IconChevron.vue +0 -107
- package/src/components/Image.vue +0 -15
- package/src/components/LogoContainerModule.vue +0 -30
- package/src/components/SplitModule.vue +0 -42
- package/src/components/Testimonial.vue +0 -48
- package/src/components/TestimonialModule.vue +0 -48
- package/src/components/TileCollection.vue +0 -37
- package/src/components/TileCollectionModule.vue +0 -45
- package/src/components/types/AccordionItem.ts +0 -19
- package/src/components/types/CTA.ts +0 -13
- package/src/components/types/CarouselModule.ts +0 -21
- package/src/components/types/ContainerCollectionModule.ts +0 -12
- package/src/components/types/ContainerModule.ts +0 -35
- package/src/components/types/ContentAndImage.ts +0 -14
- package/src/components/types/ContentMediaModule.ts +0 -14
- package/src/components/types/ContentModule.ts +0 -21
- package/src/components/types/LogoContainerModule.ts +0 -12
- package/src/components/types/Testimonial.ts +0 -17
- package/src/components/types/TileCollection.ts +0 -14
- package/src/components/types/TileContent.ts +0 -34
- package/src/components/types/index.ts +0 -10
- package/src/presets/aura/accordion/index.js +0 -81
- package/src/presets/aura/autocomplete/index.js +0 -280
- package/src/presets/aura/avatar/index.js +0 -46
- package/src/presets/aura/badge/index.js +0 -43
- package/src/presets/aura/badgedirective/index.js +0 -49
- package/src/presets/aura/blockui/index.js +0 -8
- package/src/presets/aura/breadcrumb/index.js +0 -63
- package/src/presets/aura/button/index.js +0 -511
- package/src/presets/aura/calendar/index.js +0 -702
- package/src/presets/aura/card/index.js +0 -53
- package/src/presets/aura/carousel/index.js +0 -160
- package/src/presets/aura/cascadeselect/index.js +0 -220
- package/src/presets/aura/checkbox/index.js +0 -107
- package/src/presets/aura/chip/index.js +0 -45
- package/src/presets/aura/chips/index.js +0 -126
- package/src/presets/aura/colorpicker/index.js +0 -132
- package/src/presets/aura/confirmpopup/index.js +0 -111
- package/src/presets/aura/contextmenu/index.js +0 -132
- package/src/presets/aura/datatable/index.js +0 -1290
- package/src/presets/aura/dataview/index.js +0 -40
- package/src/presets/aura/deferred/index.js +0 -3
- package/src/presets/aura/dialog/index.js +0 -250
- package/src/presets/aura/divider/index.js +0 -72
- package/src/presets/aura/dock/index.js +0 -97
- package/src/presets/aura/dropdown/index.js +0 -297
- package/src/presets/aura/fieldset/index.js +0 -95
- package/src/presets/aura/fileupload/index.js +0 -175
- package/src/presets/aura/floatlabel/index.js +0 -26
- package/src/presets/aura/galleria/index.js +0 -353
- package/src/presets/aura/global.js +0 -90
- package/src/presets/aura/iconfield/index.js +0 -22
- package/src/presets/aura/image/index.js +0 -206
- package/src/presets/aura/index.js +0 -181
- package/src/presets/aura/inlinemessage/index.js +0 -46
- package/src/presets/aura/inplace/index.js +0 -27
- package/src/presets/aura/inputgroup/index.js +0 -5
- package/src/presets/aura/inputgroupaddon/index.js +0 -28
- package/src/presets/aura/inputmask/index.js +0 -47
- package/src/presets/aura/inputnumber/index.js +0 -293
- package/src/presets/aura/inputotp/index.js +0 -69
- package/src/presets/aura/inputswitch/index.js +0 -94
- package/src/presets/aura/inputtext/index.js +0 -63
- package/src/presets/aura/knob/index.js +0 -47
- package/src/presets/aura/listbox/index.js +0 -158
- package/src/presets/aura/megamenu/index.js +0 -206
- package/src/presets/aura/menu/index.js +0 -122
- package/src/presets/aura/menubar/index.js +0 -184
- package/src/presets/aura/message/index.js +0 -112
- package/src/presets/aura/metergroup/index.js +0 -110
- package/src/presets/aura/multiselect/index.js +0 -579
- package/src/presets/aura/orderlist/index.js +0 -281
- package/src/presets/aura/organizationchart/index.js +0 -142
- package/src/presets/aura/overlaypanel/index.js +0 -34
- package/src/presets/aura/paginator/index.js +0 -566
- package/src/presets/aura/panel/index.js +0 -102
- package/src/presets/aura/panelmenu/index.js +0 -130
- package/src/presets/aura/password/index.js +0 -143
- package/src/presets/aura/picklist/index.js +0 -718
- package/src/presets/aura/progressbar/index.js +0 -64
- package/src/presets/aura/progressspinner/index.js +0 -51
- package/src/presets/aura/radiobutton/index.js +0 -121
- package/src/presets/aura/rating/index.js +0 -95
- package/src/presets/aura/ripple/index.js +0 -6
- package/src/presets/aura/scrollpanel/index.js +0 -77
- package/src/presets/aura/scrolltop/index.js +0 -45
- package/src/presets/aura/selectbutton/index.js +0 -66
- package/src/presets/aura/sidebar/index.js +0 -160
- package/src/presets/aura/skeleton/index.js +0 -19
- package/src/presets/aura/slider/index.js +0 -144
- package/src/presets/aura/speeddial/index.js +0 -579
- package/src/presets/aura/splitbutton/index.js +0 -1185
- package/src/presets/aura/splitter/index.js +0 -71
- package/src/presets/aura/stepper/index.js +0 -183
- package/src/presets/aura/steps/index.js +0 -117
- package/src/presets/aura/tabmenu/index.js +0 -75
- package/src/presets/aura/tabview/index.js +0 -162
- package/src/presets/aura/tag/index.js +0 -44
- package/src/presets/aura/terminal/index.js +0 -60
- package/src/presets/aura/textarea/index.js +0 -49
- package/src/presets/aura/tieredmenu/index.js +0 -125
- package/src/presets/aura/timeline/index.js +0 -114
- package/src/presets/aura/toast/index.js +0 -151
- package/src/presets/aura/togglebutton/index.js +0 -98
- package/src/presets/aura/toolbar/index.js +0 -28
- package/src/presets/aura/tooltip/index.js +0 -73
- package/src/presets/aura/tree/index.js +0 -294
- package/src/presets/aura/treeselect/index.js +0 -404
- package/src/presets/aura/treetable/index.js +0 -513
- package/src/presets/aura/tristatecheckbox/index.js +0 -121
- /package/src/components/{types → Image}/Image.ts +0 -0
|
@@ -1,353 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
content: ({ parent, props }) => ({
|
|
3
|
-
class: [
|
|
4
|
-
'flex',
|
|
5
|
-
{
|
|
6
|
-
'flex-col': props.fullScreen,
|
|
7
|
-
},
|
|
8
|
-
{
|
|
9
|
-
'flex-col':
|
|
10
|
-
parent.props.thumbnailsPosition === 'top' ||
|
|
11
|
-
parent.props.thumbnailsPosition === 'bottom',
|
|
12
|
-
'flex-row':
|
|
13
|
-
parent.props.thumbnailsPosition === 'right' ||
|
|
14
|
-
parent.props.thumbnailsPosition === 'left',
|
|
15
|
-
},
|
|
16
|
-
],
|
|
17
|
-
}),
|
|
18
|
-
itemwrapper: ({ parent, props }) => ({
|
|
19
|
-
class: [
|
|
20
|
-
'group',
|
|
21
|
-
'flex relative',
|
|
22
|
-
{
|
|
23
|
-
'grow shrink w-0 justify-center': props.fullScreen,
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
'flex-col':
|
|
27
|
-
parent.props.indicatorsPosition === 'bottom' ||
|
|
28
|
-
parent.props.indicatorsPosition === 'top',
|
|
29
|
-
'flex-row items-center':
|
|
30
|
-
parent.props.indicatorsPosition === 'left' ||
|
|
31
|
-
parent.props.indicatorsPosition === 'right',
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
'order-2':
|
|
35
|
-
parent.props.thumbnailsPosition === 'top' ||
|
|
36
|
-
parent.props.thumbnailsPosition === 'left',
|
|
37
|
-
'flex-row': parent.props.thumbnailsPosition === 'right',
|
|
38
|
-
},
|
|
39
|
-
],
|
|
40
|
-
}),
|
|
41
|
-
|
|
42
|
-
itemcontainer: ({ parent }) => ({
|
|
43
|
-
class: [
|
|
44
|
-
'flex h-full relative',
|
|
45
|
-
{
|
|
46
|
-
'order-1':
|
|
47
|
-
parent.props.indicatorsPosition === 'bottom' ||
|
|
48
|
-
parent.props.indicatorsPosition === 'right',
|
|
49
|
-
'order-2':
|
|
50
|
-
parent.props.indicatorsPosition === 'top' ||
|
|
51
|
-
parent.props.indicatorsPosition === 'left',
|
|
52
|
-
},
|
|
53
|
-
],
|
|
54
|
-
}),
|
|
55
|
-
item: {
|
|
56
|
-
class: [
|
|
57
|
-
// Flex
|
|
58
|
-
'flex justify-center items-center h-full w-full',
|
|
59
|
-
|
|
60
|
-
// Sizing
|
|
61
|
-
'h-full w-full',
|
|
62
|
-
],
|
|
63
|
-
},
|
|
64
|
-
thumbnailwrapper: ({ parent }) => ({
|
|
65
|
-
class: [
|
|
66
|
-
// Flex
|
|
67
|
-
'flex flex-col shrink-0',
|
|
68
|
-
|
|
69
|
-
{
|
|
70
|
-
'order-1':
|
|
71
|
-
parent.props.thumbnailsPosition === 'top' ||
|
|
72
|
-
parent.props.thumbnailsPosition === 'left',
|
|
73
|
-
},
|
|
74
|
-
|
|
75
|
-
// Misc
|
|
76
|
-
'overflow-auto',
|
|
77
|
-
],
|
|
78
|
-
}),
|
|
79
|
-
thumbnailcontainer: ({ parent }) => ({
|
|
80
|
-
class: [
|
|
81
|
-
// Flex
|
|
82
|
-
'flex',
|
|
83
|
-
|
|
84
|
-
// Spacing
|
|
85
|
-
'p-4',
|
|
86
|
-
|
|
87
|
-
// Colors
|
|
88
|
-
'bg-black/90',
|
|
89
|
-
|
|
90
|
-
{
|
|
91
|
-
'flex-row':
|
|
92
|
-
parent.props.thumbnailsPosition === 'top' ||
|
|
93
|
-
parent.props.thumbnailsPosition === 'bottom',
|
|
94
|
-
'flex-col grow':
|
|
95
|
-
parent.props.thumbnailsPosition === 'right' ||
|
|
96
|
-
parent.props.thumbnailsPosition === 'left',
|
|
97
|
-
},
|
|
98
|
-
],
|
|
99
|
-
}),
|
|
100
|
-
previousthumbnailbutton: {
|
|
101
|
-
class: [
|
|
102
|
-
// Positioning
|
|
103
|
-
'self-center relative',
|
|
104
|
-
|
|
105
|
-
// Display & Flexbox
|
|
106
|
-
'flex shrink-0 justify-center items-center overflow-hidden',
|
|
107
|
-
|
|
108
|
-
// Spacing
|
|
109
|
-
'm-2',
|
|
110
|
-
|
|
111
|
-
// Appearance
|
|
112
|
-
'bg-transparent text-white w-8 h-8 rounded-full transition duration-200 ease-in-out',
|
|
113
|
-
|
|
114
|
-
// Hover Effects
|
|
115
|
-
'hover:bg-surface-0/10 hover:text-white',
|
|
116
|
-
|
|
117
|
-
// Focus Effects
|
|
118
|
-
'focus:outline-none focus:outline-offset-0 focus:ring-1 focus:ring-primary-500 dark:focus:ring-primary-400',
|
|
119
|
-
],
|
|
120
|
-
},
|
|
121
|
-
thumbnailitemscontainer: {
|
|
122
|
-
class: 'overflow-hidden w-full',
|
|
123
|
-
},
|
|
124
|
-
thumbnailitems: ({ parent }) => ({
|
|
125
|
-
class: [
|
|
126
|
-
'flex',
|
|
127
|
-
{
|
|
128
|
-
'flex-col h-full':
|
|
129
|
-
parent.props.thumbnailsPosition === 'right' ||
|
|
130
|
-
parent.props.thumbnailsPosition === 'left',
|
|
131
|
-
},
|
|
132
|
-
],
|
|
133
|
-
}),
|
|
134
|
-
thumbnailitem: ({ parent }) => ({
|
|
135
|
-
class: [
|
|
136
|
-
// Flexbox
|
|
137
|
-
'flex items-center justify-center',
|
|
138
|
-
'grow shrink-0',
|
|
139
|
-
|
|
140
|
-
// Sizing
|
|
141
|
-
{
|
|
142
|
-
'w-full md:w-[25%] lg:w-[20%]':
|
|
143
|
-
parent.props.thumbnailsPosition === 'top' ||
|
|
144
|
-
parent.props.thumbnailsPosition === 'bottom',
|
|
145
|
-
},
|
|
146
|
-
|
|
147
|
-
// Misc
|
|
148
|
-
'overflow-auto',
|
|
149
|
-
'cursor-pointer',
|
|
150
|
-
'opacity-50',
|
|
151
|
-
|
|
152
|
-
// States
|
|
153
|
-
'[&[data-p-active="true"]]:opacity-100',
|
|
154
|
-
'hover:opacity-100',
|
|
155
|
-
|
|
156
|
-
// Transitions
|
|
157
|
-
'transition-opacity duration-300',
|
|
158
|
-
],
|
|
159
|
-
}),
|
|
160
|
-
nextthumbnailbutton: {
|
|
161
|
-
class: [
|
|
162
|
-
// Positioning
|
|
163
|
-
'self-center relative',
|
|
164
|
-
|
|
165
|
-
// Display & Flexbox
|
|
166
|
-
'flex shrink-0 justify-center items-center overflow-hidden',
|
|
167
|
-
|
|
168
|
-
// Spacing
|
|
169
|
-
'm-2',
|
|
170
|
-
|
|
171
|
-
// Appearance
|
|
172
|
-
'bg-transparent text-white w-8 h-8 rounded-full transition duration-200 ease-in-out',
|
|
173
|
-
|
|
174
|
-
// Hover Effects
|
|
175
|
-
'hover:bg-surface-0/10 hover:text-white',
|
|
176
|
-
|
|
177
|
-
// Focus Effects
|
|
178
|
-
'focus:outline-none focus:outline-offset-0 focus:ring-1 focus:ring-primary-500 dark:focus:ring-primary-400',
|
|
179
|
-
],
|
|
180
|
-
},
|
|
181
|
-
indicators: ({ parent }) => ({
|
|
182
|
-
class: [
|
|
183
|
-
// flex
|
|
184
|
-
'flex items-center justify-center',
|
|
185
|
-
|
|
186
|
-
// Spacing
|
|
187
|
-
'p-4',
|
|
188
|
-
|
|
189
|
-
// Indicators Position
|
|
190
|
-
{
|
|
191
|
-
'order-2': parent.props.indicatorsPosition == 'bottom',
|
|
192
|
-
'order-1': parent.props.indicatorsPosition == 'top',
|
|
193
|
-
'order-1 flex-col': parent.props.indicatorsPosition == 'left',
|
|
194
|
-
'flex-col order-2': parent.props.indicatorsPosition == 'right',
|
|
195
|
-
},
|
|
196
|
-
{
|
|
197
|
-
'absolute z-10 bg-black/50': parent.props.showIndicatorsOnItem,
|
|
198
|
-
},
|
|
199
|
-
|
|
200
|
-
{
|
|
201
|
-
'bottom-0 left-0 w-full items-start':
|
|
202
|
-
parent.props.indicatorsPosition == 'bottom' &&
|
|
203
|
-
parent.props.showIndicatorsOnItem,
|
|
204
|
-
'top-0 left-0 w-full items-start':
|
|
205
|
-
parent.props.indicatorsPosition == 'top' &&
|
|
206
|
-
parent.props.showIndicatorsOnItem,
|
|
207
|
-
'left-0 top-0 h-full items-start':
|
|
208
|
-
parent.props.indicatorsPosition == 'left' &&
|
|
209
|
-
parent.props.showIndicatorsOnItem,
|
|
210
|
-
'right-0 top-0 h-full items-start':
|
|
211
|
-
parent.props.indicatorsPosition == 'right' &&
|
|
212
|
-
parent.props.showIndicatorsOnItem,
|
|
213
|
-
},
|
|
214
|
-
],
|
|
215
|
-
}),
|
|
216
|
-
indicator: ({ parent }) => ({
|
|
217
|
-
class: [
|
|
218
|
-
{
|
|
219
|
-
'mr-2':
|
|
220
|
-
parent.props.indicatorsPosition == 'bottom' ||
|
|
221
|
-
parent.props.indicatorsPosition == 'top',
|
|
222
|
-
'mb-2':
|
|
223
|
-
parent.props.indicatorsPosition == 'left' ||
|
|
224
|
-
parent.props.indicatorsPosition == 'right',
|
|
225
|
-
},
|
|
226
|
-
],
|
|
227
|
-
}),
|
|
228
|
-
indicatorbutton: ({ context }) => ({
|
|
229
|
-
class: [
|
|
230
|
-
// Size
|
|
231
|
-
'w-4 h-4',
|
|
232
|
-
|
|
233
|
-
// Appearance
|
|
234
|
-
'rounded-full transition duration-200',
|
|
235
|
-
|
|
236
|
-
// Focus Effects
|
|
237
|
-
'focus:outline-none focus:outline-offset-0 focus:ring-1 focus:ring-primary-500 dark:focus:ring-primary-400',
|
|
238
|
-
|
|
239
|
-
// Conditional Appearance: Not Highlighted
|
|
240
|
-
{
|
|
241
|
-
'bg-surface-200 hover:bg-surface-300 dark:bg-surface-700 dark:hover:bg-surface-600':
|
|
242
|
-
!context.highlighted,
|
|
243
|
-
},
|
|
244
|
-
|
|
245
|
-
// Conditional Appearance: Highlighted
|
|
246
|
-
{ 'bg-primary hover:bg-primary-hover': context.highlighted },
|
|
247
|
-
],
|
|
248
|
-
}),
|
|
249
|
-
mask: {
|
|
250
|
-
class: [
|
|
251
|
-
'fixed top-0 left-0 w-full h-full',
|
|
252
|
-
'flex items-center justify-center',
|
|
253
|
-
'bg-black/90',
|
|
254
|
-
],
|
|
255
|
-
},
|
|
256
|
-
closebutton: {
|
|
257
|
-
class: [
|
|
258
|
-
// Positioning
|
|
259
|
-
'!absolute top-0 right-0',
|
|
260
|
-
|
|
261
|
-
// Display & Flexbox
|
|
262
|
-
'flex justify-center items-center overflow-hidden',
|
|
263
|
-
|
|
264
|
-
// Spacing
|
|
265
|
-
'm-2',
|
|
266
|
-
|
|
267
|
-
// Appearance
|
|
268
|
-
'text-white bg-transparent w-12 h-12 rounded-full transition duration-200 ease-in-out',
|
|
269
|
-
|
|
270
|
-
// Hover Effect
|
|
271
|
-
'hover:text-white hover:bg-surface-0/10',
|
|
272
|
-
|
|
273
|
-
// Focus Effects
|
|
274
|
-
'focus:outline-none focus:outline-offset-0 focus:ring-1 focus:ring-primary-500 dark:focus:ring-primary-400',
|
|
275
|
-
],
|
|
276
|
-
},
|
|
277
|
-
closeicon: {
|
|
278
|
-
class: 'w-6 h-6',
|
|
279
|
-
},
|
|
280
|
-
previousitembutton: ({ parent }) => ({
|
|
281
|
-
class: [
|
|
282
|
-
// Display & Flexbox
|
|
283
|
-
'inline-flex justify-center items-center overflow-hidden',
|
|
284
|
-
|
|
285
|
-
// Appearance
|
|
286
|
-
'bg-transparent text-white w-16 h-16 transition duration-200 ease-in-out rounded-md',
|
|
287
|
-
{
|
|
288
|
-
'opacity-0 group-hover:opacity-100':
|
|
289
|
-
parent.props.showItemNavigatorsOnHover,
|
|
290
|
-
},
|
|
291
|
-
|
|
292
|
-
// Spacing
|
|
293
|
-
'mx-2',
|
|
294
|
-
|
|
295
|
-
// Positioning
|
|
296
|
-
'top-1/2 mt-[-0.5rem] left-0',
|
|
297
|
-
{
|
|
298
|
-
'!absolute': parent.props.showItemNavigators,
|
|
299
|
-
'!fixed': !parent.props.showItemNavigators,
|
|
300
|
-
},
|
|
301
|
-
|
|
302
|
-
// Hover Effect
|
|
303
|
-
'hover:bg-surface-0/10 hover:text-white',
|
|
304
|
-
|
|
305
|
-
// Focus Effects
|
|
306
|
-
'focus:outline-none focus:outline-offset-0 focus:ring-1 focus:ring-primary-500 dark:focus:ring-primary-400',
|
|
307
|
-
],
|
|
308
|
-
}),
|
|
309
|
-
nextitembutton: ({ parent }) => ({
|
|
310
|
-
class: [
|
|
311
|
-
// Display & Flexbox
|
|
312
|
-
'inline-flex justify-center items-center overflow-hidden',
|
|
313
|
-
|
|
314
|
-
// Appearance
|
|
315
|
-
'bg-transparent text-white w-16 h-16 transition duration-200 ease-in-out rounded-md',
|
|
316
|
-
{
|
|
317
|
-
'opacity-0 group-hover:opacity-100':
|
|
318
|
-
parent.props.showItemNavigatorsOnHover,
|
|
319
|
-
},
|
|
320
|
-
|
|
321
|
-
// Spacing
|
|
322
|
-
'mx-2',
|
|
323
|
-
|
|
324
|
-
// Positioning
|
|
325
|
-
'top-1/2 mt-[-0.5rem] right-0',
|
|
326
|
-
{
|
|
327
|
-
'!absolute': parent.props.showItemNavigators,
|
|
328
|
-
'!fixed': !parent.props.showItemNavigators,
|
|
329
|
-
},
|
|
330
|
-
|
|
331
|
-
// Hover Effect
|
|
332
|
-
'hover:bg-surface-0/10 hover:text-white',
|
|
333
|
-
|
|
334
|
-
// Focus Effects
|
|
335
|
-
'focus:outline-none focus:outline-offset-0 focus:ring-1 focus:ring-primary-500 dark:focus:ring-primary-400',
|
|
336
|
-
],
|
|
337
|
-
}),
|
|
338
|
-
caption: {
|
|
339
|
-
class: [
|
|
340
|
-
// Positioning
|
|
341
|
-
'absolute bottom-0 left-0 w-full',
|
|
342
|
-
|
|
343
|
-
// Appearance
|
|
344
|
-
'bg-black/50 text-white p-4',
|
|
345
|
-
],
|
|
346
|
-
},
|
|
347
|
-
transition: {
|
|
348
|
-
enterFromClass: 'opacity-0 scale-75',
|
|
349
|
-
enterActiveClass: 'transition-all duration-150 ease-in-out',
|
|
350
|
-
leaveActiveClass: 'transition-all duration-150 ease-in',
|
|
351
|
-
leaveToClass: 'opacity-0 scale-75',
|
|
352
|
-
},
|
|
353
|
-
}
|
|
@@ -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,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,206 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
root: {
|
|
3
|
-
class: 'relative inline-block',
|
|
4
|
-
},
|
|
5
|
-
button: {
|
|
6
|
-
class: [
|
|
7
|
-
// Flexbox & Alignment
|
|
8
|
-
'flex items-center justify-center',
|
|
9
|
-
|
|
10
|
-
// Positioning
|
|
11
|
-
'absolute',
|
|
12
|
-
|
|
13
|
-
// Shape
|
|
14
|
-
'inset-0 opacity-0 transition-opacity duration-300',
|
|
15
|
-
|
|
16
|
-
// Color
|
|
17
|
-
'bg-transparent text-surface-100',
|
|
18
|
-
|
|
19
|
-
// States
|
|
20
|
-
'hover:opacity-100 hover:cursor-pointer hover:bg-black/50 hover:bg-opacity-50',
|
|
21
|
-
],
|
|
22
|
-
},
|
|
23
|
-
mask: {
|
|
24
|
-
class: [
|
|
25
|
-
// Flexbox & Alignment
|
|
26
|
-
'flex items-center justify-center',
|
|
27
|
-
|
|
28
|
-
// Positioning
|
|
29
|
-
'fixed top-0 left-0',
|
|
30
|
-
|
|
31
|
-
// Sizing
|
|
32
|
-
'w-full h-full',
|
|
33
|
-
|
|
34
|
-
// Color
|
|
35
|
-
'bg-black/90',
|
|
36
|
-
],
|
|
37
|
-
},
|
|
38
|
-
toolbar: {
|
|
39
|
-
class: [
|
|
40
|
-
// Flexbox
|
|
41
|
-
'flex',
|
|
42
|
-
|
|
43
|
-
// Positioning
|
|
44
|
-
'absolute top-0 right-0',
|
|
45
|
-
|
|
46
|
-
// Spacing
|
|
47
|
-
'p-4',
|
|
48
|
-
],
|
|
49
|
-
},
|
|
50
|
-
rotaterightbutton: {
|
|
51
|
-
class: [
|
|
52
|
-
'z-20',
|
|
53
|
-
|
|
54
|
-
// Flexbox & Alignment
|
|
55
|
-
'flex justify-center items-center',
|
|
56
|
-
|
|
57
|
-
// Size
|
|
58
|
-
'w-12 h-12',
|
|
59
|
-
|
|
60
|
-
// Spacing
|
|
61
|
-
'mr-2',
|
|
62
|
-
|
|
63
|
-
// Shape
|
|
64
|
-
'rounded-full',
|
|
65
|
-
|
|
66
|
-
// Color
|
|
67
|
-
'text-white bg-transparent',
|
|
68
|
-
|
|
69
|
-
// States
|
|
70
|
-
'hover:text-white hover:bg-surface-0/10',
|
|
71
|
-
'focus:outline-none focus:outline-offset-0 focus:ring-1 focus:ring-primary-500 dark:focus:ring-primary-400',
|
|
72
|
-
|
|
73
|
-
// Transition
|
|
74
|
-
'transition duration-200 ease-in-out',
|
|
75
|
-
],
|
|
76
|
-
},
|
|
77
|
-
rotaterighticon: {
|
|
78
|
-
class: 'w-6 h-6',
|
|
79
|
-
},
|
|
80
|
-
rotateleftbutton: {
|
|
81
|
-
class: [
|
|
82
|
-
'z-20',
|
|
83
|
-
|
|
84
|
-
// Flexbox & Alignment
|
|
85
|
-
'flex justify-center items-center',
|
|
86
|
-
|
|
87
|
-
// Size
|
|
88
|
-
'w-12 h-12',
|
|
89
|
-
|
|
90
|
-
// Spacing
|
|
91
|
-
'mr-2',
|
|
92
|
-
|
|
93
|
-
// Shape
|
|
94
|
-
'rounded-full',
|
|
95
|
-
|
|
96
|
-
// Color
|
|
97
|
-
'text-white bg-transparent',
|
|
98
|
-
|
|
99
|
-
// States
|
|
100
|
-
'hover:text-white hover:bg-surface-0/10',
|
|
101
|
-
'focus:outline-none focus:outline-offset-0 focus:ring-1 focus:ring-primary-500 dark:focus:ring-primary-400',
|
|
102
|
-
|
|
103
|
-
// Transition
|
|
104
|
-
'transition duration-200 ease-in-out',
|
|
105
|
-
],
|
|
106
|
-
},
|
|
107
|
-
rotatelefticon: {
|
|
108
|
-
class: 'w-6 h-6',
|
|
109
|
-
},
|
|
110
|
-
zoomoutbutton: {
|
|
111
|
-
class: [
|
|
112
|
-
'z-20',
|
|
113
|
-
|
|
114
|
-
// Flexbox & Alignment
|
|
115
|
-
'flex justify-center items-center',
|
|
116
|
-
|
|
117
|
-
// Size
|
|
118
|
-
'w-12 h-12',
|
|
119
|
-
|
|
120
|
-
// Spacing
|
|
121
|
-
'mr-2',
|
|
122
|
-
|
|
123
|
-
// Shape
|
|
124
|
-
'rounded-full',
|
|
125
|
-
|
|
126
|
-
// Color
|
|
127
|
-
'text-white bg-transparent',
|
|
128
|
-
|
|
129
|
-
// States
|
|
130
|
-
'hover:text-white hover:bg-surface-0/10',
|
|
131
|
-
'focus:outline-none focus:outline-offset-0 focus:ring-1 focus:ring-primary-500 dark:focus:ring-primary-400',
|
|
132
|
-
|
|
133
|
-
// Transition
|
|
134
|
-
'transition duration-200 ease-in-out',
|
|
135
|
-
],
|
|
136
|
-
},
|
|
137
|
-
zoomouticon: {
|
|
138
|
-
class: 'w-6 h-6',
|
|
139
|
-
},
|
|
140
|
-
zoominbutton: {
|
|
141
|
-
class: [
|
|
142
|
-
'z-20',
|
|
143
|
-
|
|
144
|
-
// Flexbox & Alignment
|
|
145
|
-
'flex justify-center items-center',
|
|
146
|
-
|
|
147
|
-
// Size
|
|
148
|
-
'w-12 h-12',
|
|
149
|
-
|
|
150
|
-
// Spacing
|
|
151
|
-
'mr-2',
|
|
152
|
-
|
|
153
|
-
// Shape
|
|
154
|
-
'rounded-full',
|
|
155
|
-
|
|
156
|
-
// Color
|
|
157
|
-
'text-white bg-transparent',
|
|
158
|
-
|
|
159
|
-
// States
|
|
160
|
-
'hover:text-white hover:bg-surface-0/10',
|
|
161
|
-
'focus:outline-none focus:outline-offset-0 focus:ring-1 focus:ring-primary-500 dark:focus:ring-primary-400',
|
|
162
|
-
|
|
163
|
-
// Transition
|
|
164
|
-
'transition duration-200 ease-in-out',
|
|
165
|
-
],
|
|
166
|
-
},
|
|
167
|
-
zoominicon: {
|
|
168
|
-
class: 'w-6 h-6',
|
|
169
|
-
},
|
|
170
|
-
closebutton: {
|
|
171
|
-
class: [
|
|
172
|
-
'z-20',
|
|
173
|
-
|
|
174
|
-
// Flexbox & Alignment
|
|
175
|
-
'flex justify-center items-center',
|
|
176
|
-
|
|
177
|
-
// Size
|
|
178
|
-
'w-12 h-12',
|
|
179
|
-
|
|
180
|
-
// Spacing
|
|
181
|
-
'mr-2',
|
|
182
|
-
|
|
183
|
-
// Shape
|
|
184
|
-
'rounded-full',
|
|
185
|
-
|
|
186
|
-
// Color
|
|
187
|
-
'text-white bg-transparent',
|
|
188
|
-
|
|
189
|
-
// States
|
|
190
|
-
'hover:text-white hover:bg-surface-0/10',
|
|
191
|
-
'focus:outline-none focus:outline-offset-0 focus:ring-1 focus:ring-primary-500 dark:focus:ring-primary-400',
|
|
192
|
-
|
|
193
|
-
// Transition
|
|
194
|
-
'transition duration-200 ease-in-out',
|
|
195
|
-
],
|
|
196
|
-
},
|
|
197
|
-
closeicon: {
|
|
198
|
-
class: 'w-6 h-6',
|
|
199
|
-
},
|
|
200
|
-
transition: {
|
|
201
|
-
enterFromClass: 'opacity-0 scale-75',
|
|
202
|
-
enterActiveClass: 'transition-all duration-150 ease-in-out',
|
|
203
|
-
leaveActiveClass: 'transition-all duration-150 ease-in',
|
|
204
|
-
leaveToClass: 'opacity-0 scale-75',
|
|
205
|
-
},
|
|
206
|
-
}
|