tide-design-system 2.2.16 → 2.3.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.
@@ -1,448 +0,0 @@
1
- @media (min-width: 1920px) {
2
- /* Reusable CSS Utility Library */
3
- /* Position */
4
- .xl-tide-position-absolute {position: absolute;}
5
- .xl-tide-position-fixed {position: fixed;}
6
- .xl-tide-position-relative {position: relative;}
7
- .xl-tide-position-static {position: static;}
8
- .xl-tide-position-sticky {position: sticky;}
9
-
10
- .xl-tide-top-0 {top: 0;}
11
- .xl-tide-right-0 {right: 0;}
12
- .xl-tide-bottom-0 {bottom: 0;}
13
- .xl-tide-left-0 {left: 0;}
14
-
15
- /* Display */
16
- .xl-tide-display-block {display: block;}
17
- .xl-tide-display-contents {display: contents;}
18
- .xl-tide-display-flex {display: flex;}
19
- .xl-tide-display-grid {display: grid;}
20
- .xl-tide-display-initial {display: initial;}
21
- .xl-tide-display-inline {display: inline;}
22
- .xl-tide-display-inline-block {display: inline-block;}
23
- .xl-tide-display-inline-flex {display: inline-flex;}
24
- .xl-tide-display-none {display: none;}
25
-
26
- /* Flex Box */
27
- .xl-tide-flex-column {flex-direction: column;}
28
- .xl-tide-flex-column-reverse {flex-direction: column-reverse;}
29
- .xl-tide-flex-row {flex-direction: row;}
30
- .xl-tide-flex-row-reverse {flex-direction: row-reverse;}
31
-
32
- .xl-tide-grow {flex-grow: 1;}
33
- .xl-tide-grow-none {flex-grow: 0;}
34
-
35
- .xl-tide-shrink {flex-shrink: 1;}
36
- .xl-tide-shrink-none {flex-shrink: 0;}
37
-
38
- .xl-tide-flex-wrap {flex-wrap: wrap;}
39
-
40
- .xl-tide-axis1-around {justify-content: space-around;}
41
- .xl-tide-axis1-between {justify-content: space-between;}
42
- .xl-tide-axis1-center {justify-content: center;}
43
- .xl-tide-axis1-end {justify-content: end;}
44
- .xl-tide-axis1-start {justify-content: start;}
45
-
46
- .xl-tide-axis2-around {align-items: space-around;}
47
- .xl-tide-axis2-center {align-items: center;}
48
- .xl-tide-axis2-end {align-items: flex-end;}
49
- .xl-tide-axis2-start {align-items: flex-start;}
50
- .xl-tide-axis2-stretch {align-items: stretch;}
51
-
52
- .xl-tide-gap-0 {gap: 0;}
53
- .xl-tide-gap-1\/4 {gap: var(--tide-spacing-1\/4);}
54
- .xl-tide-gap-1\/2 {gap: var(--tide-spacing-1\/2);}
55
- .xl-tide-gap-1 {gap: var(--tide-spacing-1);}
56
- .xl-tide-gap-2 {gap: var(--tide-spacing-2);}
57
- .xl-tide-gap-4 {gap: var(--tide-spacing-4);}
58
-
59
- .xl-tide-flex-basis-auto {flex-basis: auto;}
60
- .xl-tide-flex-basis-0 {flex-basis: 0;}
61
-
62
- /* Box Sizing */
63
- .xl-tide-box-border {box-sizing: border-box;}
64
- .xl-tide-box-content {box-sizing: content-box;}
65
-
66
- /* Margin */
67
- .xl-tide-margin-0 {margin: 0;}
68
- .xl-tide-margin-1\/4 {margin: var(--tide-spacing-1\/4);}
69
- .xl-tide-margin-1\/2 {margin: var(--tide-spacing-1\/2);}
70
- .xl-tide-margin-1 {margin: var(--tide-spacing-1);}
71
- .xl-tide-margin-2 {margin: var(--tide-spacing-2);}
72
- .xl-tide-margin-4 {margin: var(--tide-spacing-4);}
73
- .xl-tide-margin-auto {margin: auto;}
74
-
75
- .xl-tide-margin-x-0 {margin-left: 0; margin-right: 0;}
76
- .xl-tide-margin-x-1\/4 {margin-left: var(--tide-spacing-1\/4); margin-right: var(--tide-spacing-1\/4);}
77
- .xl-tide-margin-x-1\/2 {margin-left: var(--tide-spacing-1\/2); margin-right: var(--tide-spacing-1\/2);}
78
- .xl-tide-margin-x-1 {margin-left: var(--tide-spacing-1); margin-right: var(--tide-spacing-1);}
79
- .xl-tide-margin-x-2 {margin-left: var(--tide-spacing-2); margin-right: var(--tide-spacing-2);}
80
- .xl-tide-margin-x-4 {margin-left: var(--tide-spacing-4); margin-right: var(--tide-spacing-4);}
81
- .xl-tide-margin-x-auto {margin-left: auto; margin-right: auto;}
82
-
83
- .xl-tide-margin-y-0 {margin-top: 0; margin-bottom: 0;}
84
- .xl-tide-margin-y-1\/4 {margin-top: var(--tide-spacing-1\/4); margin-bottom: var(--tide-spacing-1\/4);}
85
- .xl-tide-margin-y-1\/2 {margin-top: var(--tide-spacing-1\/2); margin-bottom: var(--tide-spacing-1\/2);}
86
- .xl-tide-margin-y-1 {margin-top: var(--tide-spacing-1); margin-bottom: var(--tide-spacing-1);}
87
- .xl-tide-margin-y-2 {margin-top: var(--tide-spacing-2); margin-bottom: var(--tide-spacing-2);}
88
- .xl-tide-margin-y-4 {margin-top: var(--tide-spacing-4); margin-bottom: var(--tide-spacing-4);}
89
- .xl-tide-margin-y-auto {margin-top: auto; margin-bottom: auto;}
90
-
91
- .xl-tide-margin-top-0 {margin-top: 0;}
92
- .xl-tide-margin-top-1\/4 {margin-top: var(--tide-spacing-1\/4);}
93
- .xl-tide-margin-top-1\/2 {margin-top: var(--tide-spacing-1\/2);}
94
- .xl-tide-margin-top-1 {margin-top: var(--tide-spacing-1);}
95
- .xl-tide-margin-top-2 {margin-top: var(--tide-spacing-2);}
96
- .xl-tide-margin-top-4 {margin-top: var(--tide-spacing-4);}
97
- .xl-tide-margin-top-auto {margin-top: auto;}
98
-
99
- .xl-tide-margin-right-0 {margin-right: 0;}
100
- .xl-tide-margin-right-1\/4 {margin-right: var(--tide-spacing-1\/4);}
101
- .xl-tide-margin-right-1\/2 {margin-right: var(--tide-spacing-1\/2);}
102
- .xl-tide-margin-right-1 {margin-right: var(--tide-spacing-1);}
103
- .xl-tide-margin-right-2 {margin-right: var(--tide-spacing-2);}
104
- .xl-tide-margin-right-4 {margin-right: var(--tide-spacing-4);}
105
- .xl-tide-margin-right-auto {margin-right: auto;}
106
-
107
- .xl-tide-margin-bottom-0 {margin-bottom: 0;}
108
- .xl-tide-margin-bottom-1\/4 {margin-bottom: var(--tide-spacing-1\/4);}
109
- .xl-tide-margin-bottom-1\/2 {margin-bottom: var(--tide-spacing-1\/2);}
110
- .xl-tide-margin-bottom-1 {margin-bottom: var(--tide-spacing-1);}
111
- .xl-tide-margin-bottom-2 {margin-bottom: var(--tide-spacing-2);}
112
- .xl-tide-margin-bottom-4 {margin-bottom: var(--tide-spacing-4);}
113
- .xl-tide-margin-bottom-auto {margin-bottom: auto;}
114
-
115
- .xl-tide-margin-left-0 {margin-left: 0;}
116
- .xl-tide-margin-left-1\/4 {margin-left: var(--tide-spacing-1\/4);}
117
- .xl-tide-margin-left-1\/2 {margin-left: var(--tide-spacing-1\/2);}
118
- .xl-tide-margin-left-1 {margin-left: var(--tide-spacing-1);}
119
- .xl-tide-margin-left-2 {margin-left: var(--tide-spacing-2);}
120
- .xl-tide-margin-left-4 {margin-left: var(--tide-spacing-4);}
121
- .xl-tide-margin-left-auto {margin-left: auto;}
122
-
123
- /* Border Color */
124
- .xl-tide-border-color-initial {border-color: initial;}
125
-
126
- .xl-tide-border-error {border-color: var(--tide-error-border);}
127
- .xl-tide-border-info {border-color: var(--tide-info-border);}
128
- .xl-tide-border-success {border-color: var(--tide-success-border);}
129
- .xl-tide-border-warning {border-color: var(--tide-warning-border);}
130
-
131
- .xl-tide-border-blue {border-color: var(--tide-blue-border);}
132
- .xl-tide-border-green {border-color: var(--tide-green-border);}
133
- .xl-tide-border-lime {border-color: var(--tide-lime-border);}
134
- .xl-tide-border-orange {border-color: var(--tide-orange-border);}
135
- .xl-tide-border-purple {border-color: var(--tide-purple-border);}
136
- .xl-tide-border-red {border-color: var(--tide-red-border);}
137
- .xl-tide-border-salmon {border-color: var(--tide-salmon-border);}
138
- .xl-tide-border-teal {border-color: var(--tide-teal-border);}
139
- .xl-tide-border-yellow {border-color: var(--tide-yellow-border);}
140
-
141
- /* Border Width */
142
- .xl-tide-border-1,
143
- .xl-tide-border-2,
144
- .xl-tide-border-bottom-1,
145
- .xl-tide-border-bottom-2,
146
- .xl-tide-border-left-1,
147
- .xl-tide-border-left-2,
148
- .xl-tide-border-right-1,
149
- .xl-tide-border-right-2,
150
- .xl-tide-border-top-1,
151
- .xl-tide-border-top-2 {
152
- border-style: solid;
153
- }
154
-
155
- .xl-tide-border-dashed {border-style: dashed;}
156
- .xl-tide-border-solid {border-style: solid;}
157
-
158
- .xl-tide-border-0 {border-width: 0;}
159
- .xl-tide-border-1 {border-width: var(--tide-border-width-1);}
160
- .xl-tide-border-2 {border-width: var(--tide-border-width-2);}
161
-
162
- .xl-tide-border-top-0 {border-top-width: 0;}
163
- .xl-tide-border-right-0 {border-right-width: 0;}
164
- .xl-tide-border-bottom-0 {border-bottom-width: 0;}
165
- .xl-tide-border-left-0 {border-left-width: 0;}
166
-
167
- .xl-tide-border-top-1 {border-top-width: var(--tide-border-width-1);}
168
- .xl-tide-border-right-1 {border-right-width: var(--tide-border-width-1);}
169
- .xl-tide-border-bottom-1 {border-bottom-width: var(--tide-border-width-1);}
170
- .xl-tide-border-left-1 {border-left-width: var(--tide-border-width-1);}
171
-
172
- .xl-tide-border-top-2 {border-top-width: var(--tide-border-width-2);}
173
- .xl-tide-border-right-2 {border-right-width: var(--tide-border-width-2);}
174
- .xl-tide-border-bottom-2 {border-bottom-width: var(--tide-border-width-2);}
175
- .xl-tide-border-left-2 {border-left-width: var(--tide-border-width-2);}
176
-
177
- .xl-tide-radius-0 {border-radius: 0;}
178
- .xl-tide-radius-1\/4 {border-radius: var(--tide-radius-1\/4);}
179
- .xl-tide-radius-1\/2 {border-radius: var(--tide-radius-1\/2);}
180
- .xl-tide-radius-1 {border-radius: var(--tide-radius-1);}
181
- .xl-tide-radius-full {border-radius: var(--tide-radius-full);}
182
-
183
- /* Padding */
184
- .xl-tide-padding-0 {padding: 0;}
185
- .xl-tide-padding-1\/4 {padding: var(--tide-spacing-1\/4);}
186
- .xl-tide-padding-1\/2 {padding: var(--tide-spacing-1\/2);}
187
- .xl-tide-padding-1 {padding: var(--tide-spacing-1);}
188
- .xl-tide-padding-2 {padding: var(--tide-spacing-2);}
189
- .xl-tide-padding-4 {padding: var(--tide-spacing-4);}
190
-
191
- .xl-tide-padding-x-0 {padding-left: 0; padding-right: 0;}
192
- .xl-tide-padding-x-1\/4 {padding-left: var(--tide-spacing-1\/4); padding-right: var(--tide-spacing-1\/4);}
193
- .xl-tide-padding-x-1\/2 {padding-left: var(--tide-spacing-1\/2); padding-right: var(--tide-spacing-1\/2);}
194
- .xl-tide-padding-x-1 {padding-left: var(--tide-spacing-1); padding-right: var(--tide-spacing-1);}
195
- .xl-tide-padding-x-2 {padding-left: var(--tide-spacing-2); padding-right: var(--tide-spacing-2);}
196
- .xl-tide-padding-x-4 {padding-left: var(--tide-spacing-4); padding-right: var(--tide-spacing-4);}
197
-
198
- .xl-tide-padding-y-0 {padding-top: 0; padding-bottom: 0;}
199
- .xl-tide-padding-y-1\/4 {padding-top: var(--tide-spacing-1\/4); padding-bottom: var(--tide-spacing-1\/4);}
200
- .xl-tide-padding-y-1\/2 {padding-top: var(--tide-spacing-1\/2); padding-bottom: var(--tide-spacing-1\/2);}
201
- .xl-tide-padding-y-1 {padding-top: var(--tide-spacing-1); padding-bottom: var(--tide-spacing-1);}
202
- .xl-tide-padding-y-2 {padding-top: var(--tide-spacing-2); padding-bottom: var(--tide-spacing-2);}
203
- .xl-tide-padding-y-4 {padding-top: var(--tide-spacing-4); padding-bottom: var(--tide-spacing-4);}
204
-
205
- .xl-tide-padding-top-0 {padding-top: 0;}
206
- .xl-tide-padding-top-1\/4 {padding-top: var(--tide-spacing-1\/4);}
207
- .xl-tide-padding-top-1\/2 {padding-top: var(--tide-spacing-1\/2);}
208
- .xl-tide-padding-top-1 {padding-top: var(--tide-spacing-1);}
209
- .xl-tide-padding-top-2 {padding-top: var(--tide-spacing-2);}
210
- .xl-tide-padding-top-4 {padding-top: var(--tide-spacing-4);}
211
-
212
- .xl-tide-padding-right-0 {padding-right: 0;}
213
- .xl-tide-padding-right-1\/4 {padding-right: var(--tide-spacing-1\/4);}
214
- .xl-tide-padding-right-1\/2 {padding-right: var(--tide-spacing-1\/2);}
215
- .xl-tide-padding-right-1 {padding-right: var(--tide-spacing-1);}
216
- .xl-tide-padding-right-2 {padding-right: var(--tide-spacing-2);}
217
- .xl-tide-padding-right-4 {padding-right: var(--tide-spacing-4);}
218
-
219
- .xl-tide-padding-bottom-0 {padding-bottom: 0;}
220
- .xl-tide-padding-bottom-1\/4 {padding-bottom: var(--tide-spacing-1\/4);}
221
- .xl-tide-padding-bottom-1\/2 {padding-bottom: var(--tide-spacing-1\/2);}
222
- .xl-tide-padding-bottom-1 {padding-bottom: var(--tide-spacing-1);}
223
- .xl-tide-padding-bottom-2 {padding-bottom: var(--tide-spacing-2);}
224
- .xl-tide-padding-bottom-4 {padding-bottom: var(--tide-spacing-4);}
225
-
226
- .xl-tide-padding-left-0 {padding-left: 0;}
227
- .xl-tide-padding-left-1\/4 {padding-left: var(--tide-spacing-1\/4);}
228
- .xl-tide-padding-left-1\/2 {padding-left: var(--tide-spacing-1\/2);}
229
- .xl-tide-padding-left-1 {padding-left: var(--tide-spacing-1);}
230
- .xl-tide-padding-left-2 {padding-left: var(--tide-spacing-2);}
231
- .xl-tide-padding-left-4 {padding-left: var(--tide-spacing-4);}
232
-
233
- /* Dimension */
234
- .xl-tide-max-width-full {max-width: 100%;}
235
- .xl-tide-min-width-0 {min-width: 0;}
236
-
237
- .xl-tide-max-height-full {max-height: 100%;}
238
- .xl-tide-min-height-0 {min-height: 0;}
239
-
240
- .xl-tide-width-auto {width: auto;}
241
- .xl-tide-width-0 {width: 0;}
242
- .xl-tide-width-full {width: 100%;}
243
-
244
- .xl-tide-height-auto {height: auto;}
245
- .xl-tide-height-0 {height: 0;}
246
- .xl-tide-height-full {height: 100%;}
247
-
248
- /* Deprecated */
249
- .xl-tide-width-container {max-width: 1168px;}
250
-
251
- /* Background */
252
- .xl-tide-bg-initial {background-color: initial;}
253
-
254
- /* Icon background colors only */
255
- .xl-tide-bg-primary-error {background-color: var(--tide-error-primary);}
256
- .xl-tide-bg-primary-info {background-color: var(--tide-info-primary);}
257
- .xl-tide-bg-primary-success {background-color: var(--tide-success-primary);}
258
- .xl-tide-bg-primary-warning {background-color: var(--tide-warning-primary);}
259
-
260
- .xl-tide-bg-surface-error {background-color: var(--tide-error-surface);}
261
- .xl-tide-bg-surface-info {background-color: var(--tide-info-surface);}
262
- .xl-tide-bg-surface-success {background-color: var(--tide-success-surface);}
263
- .xl-tide-bg-surface-warning {background-color: var(--tide-warning-surface);}
264
-
265
- .xl-tide-bg-surface-blue {background-color: var(--tide-blue-surface);}
266
- .xl-tide-bg-surface-green {background-color: var(--tide-green-surface);}
267
- .xl-tide-bg-surface-lime {background-color: var(--tide-lime-surface);}
268
- .xl-tide-bg-surface-orange {background-color: var(--tide-orange-surface);}
269
- .xl-tide-bg-surface-purple {background-color: var(--tide-purple-surface);}
270
- .xl-tide-bg-surface-red {background-color: var(--tide-red-surface);}
271
- .xl-tide-bg-surface-salmon {background-color: var(--tide-salmon-surface);}
272
- .xl-tide-bg-surface-teal {background-color: var(--tide-teal-surface);}
273
- .xl-tide-bg-surface-yellow {background-color: var(--tide-yellow-surface);}
274
-
275
- .xl-tide-transparent-100 {background-color: var(--tide-transparent-100);}
276
- .xl-tide-transparent-200 {background-color: var(--tide-transparent-200);}
277
- .xl-tide-transparent-300 {background-color: var(--tide-transparent-300);}
278
- .xl-tide-transparent-400 {background-color: var(--tide-transparent-400);}
279
-
280
- /* Typographic roles */
281
- .xl-tide-typography-display-1 {font-size: var(--tide-font-32); font-weight: 700;}
282
- .xl-tide-typography-headline-1 {font-size: var(--tide-font-24); font-weight: 700;}
283
- .xl-tide-typography-headline-2 {font-size: var(--tide-font-20); font-weight: 700;}
284
- .xl-tide-typography-headline-3 {font-size: var(--tide-font-16); font-weight: 700;}
285
- .xl-tide-typography-title-1 {font-size: var(--tide-font-20); font-weight: 600;}
286
- .xl-tide-typography-title-2 {font-size: var(--tide-font-18); font-weight: 600;}
287
- .xl-tide-typography-body-1 {font-size: var(--tide-font-16); font-weight: 400;}
288
- .xl-tide-typography-body-2 {font-size: var(--tide-font-14); font-weight: 400;}
289
- .xl-tide-typography-label-1 {font-size: var(--tide-font-16); font-weight: 500;}
290
- .xl-tide-typography-label-1-semibold {font-size: var(--tide-font-16); font-weight: 600;}
291
- .xl-tide-typography-label-2 {font-size: var(--tide-font-14); font-weight: 500;}
292
- .xl-tide-typography-label-2-semibold {font-size: var(--tide-font-14); font-weight: 600;}
293
- .xl-tide-typography-label-3 {font-size: var(--tide-font-12); font-weight: 500;}
294
- .xl-tide-typography-link-1 {font-size: var(--tide-font-16); font-weight: 500;}
295
- .xl-tide-typography-link-2 {font-size: var(--tide-font-14); font-weight: 500;}
296
- .xl-tide-typography-link-3 {font-size: var(--tide-font-12); font-weight: 500;}
297
- .xl-tide-typography-button-1 {font-size: var(--tide-font-16); font-weight: 600;}
298
- .xl-tide-typography-button-2 {font-size: var(--tide-font-14); font-weight: 600;}
299
-
300
- /* Font Color */
301
- .xl-tide-font-error {color: var(--tide-error-primary);}
302
- .xl-tide-font-info {color: var(--tide-info-primary);}
303
- .xl-tide-font-success {color: var(--tide-success-primary);}
304
- .xl-tide-font-warning {color: var(--tide-warning-primary);}
305
-
306
- .xl-tide-font-blue {color: var(--tide-blue-on-surface);}
307
- .xl-tide-font-green {color: var(--tide-green-on-surface);}
308
- .xl-tide-font-lime {color: var(--tide-lime-on-surface);}
309
- .xl-tide-font-orange {color: var(--tide-orange-on-surface);}
310
- .xl-tide-font-purple {color: var(--tide-purple-on-surface);}
311
- .xl-tide-font-red {color: var(--tide-red-on-surface);}
312
- .xl-tide-font-salmon {color: var(--tide-salmon-on-surface);}
313
- .xl-tide-font-teal {color: var(--tide-teal-on-surface);}
314
- .xl-tide-font-yellow {color: var(--tide-yellow-on-surface);}
315
-
316
- /* Badge icon colors only */
317
- .xl-tide-font-primary-blue {color: var(--tide-blue-primary);}
318
- .xl-tide-font-primary-green {color: var(--tide-green-primary);}
319
- .xl-tide-font-primary-lime {color: var(--tide-lime-primary);}
320
- .xl-tide-font-primary-orange {color: var(--tide-orange-primary);}
321
- .xl-tide-font-primary-purple {color: var(--tide-purple-primary);}
322
- .xl-tide-font-primary-red {color: var(--tide-red-primary);}
323
- .xl-tide-font-primary-salmon {color: var(--tide-salmon-primary);}
324
- .xl-tide-font-primary-teal {color: var(--tide-teal-primary);}
325
- .xl-tide-font-primary-yellow {color: var(--tide-yellow-primary);}
326
-
327
- /* Font Size */
328
- .xl-tide-font-10 {font-size: var(--tide-font-10);}
329
- .xl-tide-font-12 {font-size: var(--tide-font-12);}
330
- .xl-tide-font-14 {font-size: var(--tide-font-14);}
331
- .xl-tide-font-16 {font-size: var(--tide-font-16);}
332
- .xl-tide-font-20 {font-size: var(--tide-font-20);}
333
- .xl-tide-font-24 {font-size: var(--tide-font-24);}
334
- .xl-tide-font-32 {font-size: var(--tide-font-32);}
335
-
336
- /* Font Weight */
337
- .xl-tide-font-400 {font-weight: 400;}
338
- .xl-tide-font-500 {font-weight: 500;}
339
- .xl-tide-font-600 {font-weight: 600;}
340
- .xl-tide-font-700 {font-weight: 700;}
341
-
342
- /* Misc */
343
- .xl-tide-align-middle {vertical-align: middle;}
344
- .xl-tide-align-initial {vertical-align: initial;}
345
-
346
- .xl-tide-bg-blur {backdrop-filter: var(--tide-bg-blur);}
347
-
348
- .xl-tide-break-initial {overflow-wrap: initial;}
349
- .xl-tide-break-word {overflow-wrap: break-word;}
350
-
351
- .xl-tide-break-inside-avoid-column {break-inside: avoid-column}
352
-
353
- .xl-tide-columns-initial {column-count: initial;}
354
- .xl-tide-columns-1 {column-count: 1;}
355
- .xl-tide-columns-2 {column-count: 2;}
356
- .xl-tide-columns-3 {column-count: 3;}
357
- .xl-tide-columns-4 {column-count: 4;}
358
-
359
- .xl-tide-cursor-not-allowed {cursor: not-allowed;}
360
- .xl-tide-cursor-pointer {cursor: pointer;}
361
- .xl-tide-cursor-text {cursor: text;}
362
-
363
- .xl-tide-ellipsis {
364
- overflow: hidden;
365
- text-overflow: ellipsis;
366
- white-space: nowrap;
367
- }
368
-
369
- .xl-tide-isolate {isolation: isolate;}
370
-
371
- /* Deprecated */
372
- .xl-tide-leading-default {line-height: 1.4;}
373
- .xl-tide-leading-normal {line-height: normal;}
374
-
375
- .xl-tide-list-none {list-style-type: none;}
376
-
377
- .xl-tide-object-center {object-position: center;}
378
-
379
- .xl-tide-object-cover {object-fit: cover;}
380
- .xl-tide-object-contain {object-fit: contain;}
381
- .xl-tide-object-scale-down {object-fit: scale-down;}
382
-
383
- .xl-tide-opacity {opacity: 1;}
384
- .xl-tide-opacity-none {opacity: 0;}
385
-
386
- .xl-tide-pointer-events {pointer-events: auto;}
387
- .xl-tide-pointer-events-none {pointer-events: none;}
388
-
389
- .xl-tide-ratio-1\/1 {aspect-ratio: 1 / 1;}
390
- .xl-tide-ratio-16\/9 {aspect-ratio: 16 / 9;}
391
- .xl-tide-ratio-3\/2 {aspect-ratio: 3 / 2;}
392
-
393
- .xl-tide-scrollbar-none::-webkit-scrollbar {display: none;}
394
- .xl-tide-scrollbar-none {
395
- -ms-overflow-style: none;
396
- scrollbar-width: none;
397
- }
398
-
399
- .xl-tide-scroll-snap {
400
- scroll-snap-stop: always;
401
- scroll-snap-type: both mandatory;
402
- scroll-behavior: smooth;
403
- }
404
-
405
- .xl-tide-scroll-snap-start {
406
- scroll-snap-align: start;
407
- }
408
-
409
- .xl-tide-shadow-initial {box-shadow: initial;}
410
- .xl-tide-shadow-bottom {box-shadow: var(--tide-shadow-bottom);}
411
- .xl-tide-shadow-top {box-shadow: var(--tide-shadow-top);}
412
- .xl-tide-shadow-text {text-shadow: var(--tide-shadow-text);}
413
-
414
- .xl-tide-strikethrough {text-decoration: line-through;}
415
- .xl-tide-strikethrough-none {text-decoration: none;}
416
-
417
- .xl-tide-text-center {text-align: center;}
418
- .xl-tide-text-justify {text-align: justify;}
419
- .xl-tide-text-left {text-align: left;}
420
- .xl-tide-text-right {text-align: right;}
421
-
422
- .xl-tide-text-transform-lower {text-transform: lowercase;}
423
- .xl-tide-text-transform-none {text-transform: none;}
424
- .xl-tide-text-transform-upper {text-transform: uppercase;}
425
-
426
- .xl-tide-underline {text-decoration: underline;}
427
- .xl-tide-underline-none {text-decoration: none;}
428
- .xl-tide-underline-hover:hover {text-decoration: underline;}
429
- .xl-tide-underline-hover-none:hover {text-decoration: none;}
430
-
431
- .xl-tide-visible {visibility: visible;}
432
- .xl-tide-visible-none {visibility: hidden;}
433
-
434
- .xl-tide-whitespace-nowrap {white-space: nowrap;}
435
-
436
- .xl-tide-x-auto {overflow-x: auto;}
437
- .xl-tide-x-hidden {overflow-x: hidden;}
438
- .xl-tide-x-scroll {overflow-x: scroll;}
439
-
440
- .xl-tide-xy-auto {overflow: auto;}
441
- .xl-tide-xy-hidden {overflow: hidden;}
442
-
443
- .xl-tide-y-auto {overflow-y: auto;}
444
- .xl-tide-y-hidden {overflow-y: hidden;}
445
-
446
- .xl-tide-z-index-initial {z-index: initial;}
447
- .xl-tide-z-index-1 {z-index: 1;}
448
- }
@@ -1,4 +0,0 @@
1
- export type Detail = {
2
- label: string;
3
- value: string;
4
- };
@@ -1,84 +0,0 @@
1
- import type { SelectOption } from '@/types/Select';
2
-
3
- export const FACET_COMPONENT_ID_RANGE = {
4
- GROSS_WEIGHT: 'grossWeight',
5
- LENGTH: 'vehicleLength',
6
- MILEAGE: 'mileage',
7
- PRICE: 'price',
8
- SLEEPING_CAPACITY: 'sleepingCapacity',
9
- SLIDEOUTS: 'slideouts',
10
- YEAR: 'vehicleYear',
11
- } as const;
12
-
13
- export type FacetComponentIdRange = (typeof FACET_COMPONENT_ID_RANGE)[keyof typeof FACET_COMPONENT_ID_RANGE];
14
-
15
- export type RangeData = {
16
- min: number | null;
17
- max: number | null;
18
- };
19
-
20
- const GROSS_WEIGHT_MIN = 1000;
21
- const GROSS_WEIGHT_MAX = 12000;
22
- export const GROSS_WEIGHT_OPTIONS: SelectOption[] = [
23
- {
24
- label: 'Any',
25
- value: undefined,
26
- },
27
- ...Array.from({ length: Math.floor((GROSS_WEIGHT_MAX - GROSS_WEIGHT_MIN) / 1000) + 1 }, (_, index) => ({
28
- label: (GROSS_WEIGHT_MAX - index * 1000).toString(),
29
- value: (GROSS_WEIGHT_MAX - index * 1000).toString(),
30
- })),
31
- ];
32
-
33
- const SLEEP_CAP_MIN = 1;
34
- const SLEEP_CAP_MAX = 10;
35
- export const SLEEPING_CAPACITY_OPTIONS: SelectOption[] = [
36
- {
37
- label: 'Any',
38
- value: undefined,
39
- },
40
- ...Array.from({ length: SLEEP_CAP_MAX - SLEEP_CAP_MIN + 1 }, (_, index) => ({
41
- label: (SLEEP_CAP_MAX - index).toString(),
42
- value: (SLEEP_CAP_MAX - index).toString(),
43
- })),
44
- ];
45
-
46
- const SLIDEOUT_MIN = 0;
47
- const SLIDEOUT_MAX = 5;
48
- export const SLIDEOUT_OPTIONS: SelectOption[] = [
49
- {
50
- label: 'Any',
51
- value: undefined,
52
- },
53
- ...Array.from({ length: SLIDEOUT_MAX - SLIDEOUT_MIN + 1 }, (_, index) => ({
54
- label: (SLIDEOUT_MAX - index).toString(),
55
- value: (SLIDEOUT_MAX - index).toString(),
56
- })),
57
- ];
58
-
59
- const LENGTH_MIN = 10;
60
- const LENGTH_MAX = 50;
61
- export const LENGTH_OPTIONS: SelectOption[] = [
62
- {
63
- label: 'Any',
64
- value: undefined,
65
- },
66
- ...Array.from({ length: LENGTH_MAX - LENGTH_MIN + 1 }, (_, index) => ({
67
- label: (LENGTH_MAX - index).toString(),
68
- value: (LENGTH_MAX - index).toString(),
69
- })),
70
- ];
71
-
72
- const YEAR_MIN = 1900;
73
- const today = new Date();
74
- const YEAR_MAX = today.getFullYear() + 2;
75
- export const YEAR_OPTIONS: SelectOption[] = [
76
- {
77
- label: 'Any',
78
- value: undefined,
79
- },
80
- ...Array.from({ length: YEAR_MAX - YEAR_MIN + 1 }, (_, index) => ({
81
- label: (YEAR_MAX - index).toString(),
82
- value: (YEAR_MAX - index).toString(),
83
- })),
84
- ];
@@ -1,43 +0,0 @@
1
- /**
2
- * These slides are used in both the inline detail page photo slider
3
- * and the fullscreen media gallery.
4
- */
5
-
6
- export const MEDIA_SLIDE_TYPES = {
7
- IMAGE: {
8
- FLOORPLAN: 'floorplan',
9
- IMAGE: 'image',
10
- },
11
- VIDEO: 'video',
12
- VR: 'vr',
13
- } as const;
14
-
15
- export type MediaSlideType =
16
- | (typeof MEDIA_SLIDE_TYPES.IMAGE)[keyof typeof MEDIA_SLIDE_TYPES.IMAGE]
17
- | typeof MEDIA_SLIDE_TYPES.VIDEO
18
- | typeof MEDIA_SLIDE_TYPES.VR;
19
-
20
- export type ImageSlideType = (typeof MEDIA_SLIDE_TYPES.IMAGE)[keyof typeof MEDIA_SLIDE_TYPES.IMAGE];
21
-
22
- type ImageSlide = {
23
- imageUrl: string;
24
- type: ImageSlideType;
25
- };
26
-
27
- export type VideoSlideType = typeof MEDIA_SLIDE_TYPES.VIDEO;
28
-
29
- type VideoSlide = {
30
- imageUrl: string;
31
- type: VideoSlideType;
32
- videoUrl: string;
33
- };
34
-
35
- export type VrSlideType = typeof MEDIA_SLIDE_TYPES.VR;
36
-
37
- type VrSlide = {
38
- imageUrl: string;
39
- type: VrSlideType;
40
- vrUrl: string;
41
- };
42
-
43
- export type ListingMedia = ImageSlide | VideoSlide | VrSlide;
package/src/types/Raw.ts DELETED
@@ -1,5 +0,0 @@
1
- export type Raw = {
2
- [key: string]: {
3
- raw: number | string | string[];
4
- };
5
- };
@@ -1,14 +0,0 @@
1
- import type { Realm } from '@/types/Realm';
2
-
3
- export type RealmConfig = {
4
- cdn: {
5
- domain: string;
6
- version: string;
7
- };
8
- id: Realm;
9
- label: {
10
- plural: string;
11
- singular: string;
12
- singularWithArticle: string;
13
- };
14
- };