@clubmed/trident-ui 1.0.0-alpha.35 → 1.0.0-alpha.37

Sign up to get free protection for your applications and to get access to all the features.
Files changed (229) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/README.md +56 -28
  3. package/atoms/Icons/Icon.js +8 -7
  4. package/atoms/Icons/IconsResolver.d.ts +4 -43
  5. package/atoms/Icons/IconsResolver.js +15 -36
  6. package/atoms/Icons/contexts/IconsContext.d.ts +43 -0
  7. package/atoms/Icons/contexts/IconsContext.js +46 -0
  8. package/atoms/Icons/fonts/Actions.d.ts +2 -1
  9. package/atoms/Icons/fonts/Actions.js +112 -106
  10. package/atoms/Icons/fonts/Activities.d.ts +2 -1
  11. package/atoms/Icons/fonts/Activities.js +144 -138
  12. package/atoms/Icons/fonts/Brand.d.ts +2 -1
  13. package/atoms/Icons/fonts/Brand.js +91 -85
  14. package/atoms/Icons/fonts/Covid.d.ts +2 -1
  15. package/atoms/Icons/fonts/Covid.js +60 -54
  16. package/atoms/Icons/fonts/FontIconResolver.d.ts +1 -1
  17. package/atoms/Icons/fonts/FontIconResolver.js +6 -7
  18. package/atoms/Icons/fonts/Food.d.ts +2 -1
  19. package/atoms/Icons/fonts/Food.js +105 -99
  20. package/atoms/Icons/fonts/HappyToCare.d.ts +2 -1
  21. package/atoms/Icons/fonts/HappyToCare.js +57 -51
  22. package/atoms/Icons/fonts/Places.d.ts +2 -1
  23. package/atoms/Icons/fonts/Places.js +60 -54
  24. package/atoms/Icons/fonts/Room.d.ts +2 -1
  25. package/atoms/Icons/fonts/Room.js +114 -108
  26. package/atoms/Icons/fonts/Services.d.ts +2 -1
  27. package/atoms/Icons/fonts/Services.js +72 -66
  28. package/atoms/Icons/fonts/Socials.d.ts +2 -1
  29. package/atoms/Icons/fonts/Socials.js +72 -66
  30. package/atoms/Icons/fonts/Transports.d.ts +2 -1
  31. package/atoms/Icons/fonts/Transports.js +48 -42
  32. package/atoms/Icons/fonts/Utilities.d.ts +2 -1
  33. package/atoms/Icons/fonts/Utilities.js +153 -147
  34. package/atoms/Icons/fonts/index.js +4 -4
  35. package/atoms/Icons/hooks/useIcon.d.ts +2 -0
  36. package/atoms/Icons/hooks/useIcon.js +16 -0
  37. package/atoms/Icons/index.js +9 -8
  38. package/atoms/Icons/svg/Actions.d.ts +2 -1
  39. package/atoms/Icons/svg/Actions.js +145 -139
  40. package/atoms/Icons/svg/Activities.d.ts +2 -1
  41. package/atoms/Icons/svg/Activities.js +189 -183
  42. package/atoms/Icons/svg/Brand.d.ts +2 -1
  43. package/atoms/Icons/svg/Brand.js +90 -84
  44. package/atoms/Icons/svg/Covid.d.ts +2 -1
  45. package/atoms/Icons/svg/Covid.js +77 -71
  46. package/atoms/Icons/svg/Food.d.ts +2 -1
  47. package/atoms/Icons/svg/Food.js +137 -131
  48. package/atoms/Icons/svg/HappyToCare.d.ts +2 -1
  49. package/atoms/Icons/svg/HappyToCare.js +73 -67
  50. package/atoms/Icons/svg/Places.d.ts +2 -1
  51. package/atoms/Icons/svg/Places.js +77 -71
  52. package/atoms/Icons/svg/ResortFill-EC.d.ts +2 -1
  53. package/atoms/Icons/svg/ResortFill-EC.js +135 -129
  54. package/atoms/Icons/svg/ResortFill.d.ts +2 -1
  55. package/atoms/Icons/svg/ResortFill.js +399 -393
  56. package/atoms/Icons/svg/ResortOutline-EC.d.ts +2 -1
  57. package/atoms/Icons/svg/ResortOutline-EC.js +135 -129
  58. package/atoms/Icons/svg/ResortOutline.d.ts +2 -1
  59. package/atoms/Icons/svg/ResortOutline.js +399 -393
  60. package/atoms/Icons/svg/Room.d.ts +2 -1
  61. package/atoms/Icons/svg/Room.js +149 -143
  62. package/atoms/Icons/svg/Services.d.ts +2 -1
  63. package/atoms/Icons/svg/Services.js +93 -87
  64. package/atoms/Icons/svg/Socials.d.ts +2 -1
  65. package/atoms/Icons/svg/Socials.js +83 -77
  66. package/atoms/Icons/svg/SvgIconResolver.d.ts +1 -2
  67. package/atoms/Icons/svg/SvgIconResolver.js +6 -8
  68. package/atoms/Icons/svg/Transports.d.ts +2 -1
  69. package/atoms/Icons/svg/Transports.js +61 -55
  70. package/atoms/Icons/svg/Utilities.d.ts +2 -1
  71. package/atoms/Icons/svg/Utilities.js +201 -195
  72. package/atoms/Icons/svg/index.js +3 -2
  73. package/atoms/Icons/svg-use/Actions.d.ts +2 -1
  74. package/atoms/Icons/svg-use/Actions.js +156 -150
  75. package/atoms/Icons/svg-use/Activities.d.ts +2 -1
  76. package/atoms/Icons/svg-use/Activities.js +195 -189
  77. package/atoms/Icons/svg-use/Brand.d.ts +2 -1
  78. package/atoms/Icons/svg-use/Brand.js +97 -91
  79. package/atoms/Icons/svg-use/Covid.d.ts +2 -1
  80. package/atoms/Icons/svg-use/Covid.js +80 -74
  81. package/atoms/Icons/svg-use/Food.d.ts +2 -1
  82. package/atoms/Icons/svg-use/Food.js +145 -139
  83. package/atoms/Icons/svg-use/HappyToCare.d.ts +2 -1
  84. package/atoms/Icons/svg-use/HappyToCare.js +78 -72
  85. package/atoms/Icons/svg-use/Places.d.ts +2 -1
  86. package/atoms/Icons/svg-use/Places.js +83 -77
  87. package/atoms/Icons/svg-use/ResortFill-EC.d.ts +2 -1
  88. package/atoms/Icons/svg-use/ResortFill-EC.js +141 -135
  89. package/atoms/Icons/svg-use/ResortFill.d.ts +2 -1
  90. package/atoms/Icons/svg-use/ResortFill.js +410 -404
  91. package/atoms/Icons/svg-use/ResortOutline-EC.d.ts +2 -1
  92. package/atoms/Icons/svg-use/ResortOutline-EC.js +144 -138
  93. package/atoms/Icons/svg-use/ResortOutline.d.ts +2 -1
  94. package/atoms/Icons/svg-use/ResortOutline.js +408 -402
  95. package/atoms/Icons/svg-use/Room.d.ts +2 -1
  96. package/atoms/Icons/svg-use/Room.js +159 -153
  97. package/atoms/Icons/svg-use/Services.d.ts +2 -1
  98. package/atoms/Icons/svg-use/Services.js +97 -91
  99. package/atoms/Icons/svg-use/Socials.d.ts +2 -1
  100. package/atoms/Icons/svg-use/Socials.js +85 -79
  101. package/atoms/Icons/svg-use/SvgUseIconResolver.d.ts +1 -2
  102. package/atoms/Icons/svg-use/SvgUseIconResolver.js +8 -10
  103. package/atoms/Icons/svg-use/Transports.d.ts +2 -1
  104. package/atoms/Icons/svg-use/Transports.js +67 -61
  105. package/atoms/Icons/svg-use/Utilities.d.ts +2 -1
  106. package/atoms/Icons/svg-use/Utilities.js +212 -206
  107. package/atoms/Icons/svg-use/index.js +3 -2
  108. package/atoms/Icons/utils/getIcons.d.ts +4 -0
  109. package/atoms/Icons/utils/getIcons.js +21 -0
  110. package/fonts/Actions/tui-actions.css +6 -6
  111. package/fonts/Actions/tui-actions.eot +0 -0
  112. package/fonts/Actions/tui-actions.less +6 -6
  113. package/fonts/Actions/tui-actions.module.less +6 -6
  114. package/fonts/Actions/tui-actions.scss +6 -6
  115. package/fonts/Actions/tui-actions.styl +6 -6
  116. package/fonts/Actions/tui-actions.ttf +0 -0
  117. package/fonts/Actions/tui-actions.woff +0 -0
  118. package/fonts/Actions/tui-actions.woff2 +0 -0
  119. package/fonts/Activities/tui-activities.css +6 -6
  120. package/fonts/Activities/tui-activities.eot +0 -0
  121. package/fonts/Activities/tui-activities.less +6 -6
  122. package/fonts/Activities/tui-activities.module.less +6 -6
  123. package/fonts/Activities/tui-activities.scss +6 -6
  124. package/fonts/Activities/tui-activities.styl +6 -6
  125. package/fonts/Activities/tui-activities.ttf +0 -0
  126. package/fonts/Activities/tui-activities.woff +0 -0
  127. package/fonts/Activities/tui-activities.woff2 +0 -0
  128. package/fonts/Brand/tui-brand.css +6 -6
  129. package/fonts/Brand/tui-brand.eot +0 -0
  130. package/fonts/Brand/tui-brand.less +6 -6
  131. package/fonts/Brand/tui-brand.module.less +6 -6
  132. package/fonts/Brand/tui-brand.scss +6 -6
  133. package/fonts/Brand/tui-brand.styl +6 -6
  134. package/fonts/Brand/tui-brand.ttf +0 -0
  135. package/fonts/Brand/tui-brand.woff +0 -0
  136. package/fonts/Brand/tui-brand.woff2 +0 -0
  137. package/fonts/Covid/tui-covid.css +6 -6
  138. package/fonts/Covid/tui-covid.eot +0 -0
  139. package/fonts/Covid/tui-covid.less +6 -6
  140. package/fonts/Covid/tui-covid.module.less +6 -6
  141. package/fonts/Covid/tui-covid.scss +6 -6
  142. package/fonts/Covid/tui-covid.styl +6 -6
  143. package/fonts/Covid/tui-covid.ttf +0 -0
  144. package/fonts/Covid/tui-covid.woff +0 -0
  145. package/fonts/Covid/tui-covid.woff2 +0 -0
  146. package/fonts/Food/tui-food.css +6 -6
  147. package/fonts/Food/tui-food.eot +0 -0
  148. package/fonts/Food/tui-food.less +6 -6
  149. package/fonts/Food/tui-food.module.less +6 -6
  150. package/fonts/Food/tui-food.scss +6 -6
  151. package/fonts/Food/tui-food.styl +6 -6
  152. package/fonts/Food/tui-food.ttf +0 -0
  153. package/fonts/Food/tui-food.woff +0 -0
  154. package/fonts/Food/tui-food.woff2 +0 -0
  155. package/fonts/HappyToCare/tui-happy-to-care.css +6 -6
  156. package/fonts/HappyToCare/tui-happy-to-care.eot +0 -0
  157. package/fonts/HappyToCare/tui-happy-to-care.less +6 -6
  158. package/fonts/HappyToCare/tui-happy-to-care.module.less +6 -6
  159. package/fonts/HappyToCare/tui-happy-to-care.scss +6 -6
  160. package/fonts/HappyToCare/tui-happy-to-care.styl +6 -6
  161. package/fonts/HappyToCare/tui-happy-to-care.ttf +0 -0
  162. package/fonts/HappyToCare/tui-happy-to-care.woff +0 -0
  163. package/fonts/HappyToCare/tui-happy-to-care.woff2 +0 -0
  164. package/fonts/Places/tui-places.css +6 -6
  165. package/fonts/Places/tui-places.eot +0 -0
  166. package/fonts/Places/tui-places.less +6 -6
  167. package/fonts/Places/tui-places.module.less +6 -6
  168. package/fonts/Places/tui-places.scss +6 -6
  169. package/fonts/Places/tui-places.styl +6 -6
  170. package/fonts/Places/tui-places.ttf +0 -0
  171. package/fonts/Places/tui-places.woff +0 -0
  172. package/fonts/Places/tui-places.woff2 +0 -0
  173. package/fonts/Room/tui-room.css +6 -6
  174. package/fonts/Room/tui-room.eot +0 -0
  175. package/fonts/Room/tui-room.less +6 -6
  176. package/fonts/Room/tui-room.module.less +6 -6
  177. package/fonts/Room/tui-room.scss +6 -6
  178. package/fonts/Room/tui-room.styl +6 -6
  179. package/fonts/Room/tui-room.ttf +0 -0
  180. package/fonts/Room/tui-room.woff +0 -0
  181. package/fonts/Room/tui-room.woff2 +0 -0
  182. package/fonts/Services/tui-services.css +6 -6
  183. package/fonts/Services/tui-services.eot +0 -0
  184. package/fonts/Services/tui-services.less +6 -6
  185. package/fonts/Services/tui-services.module.less +6 -6
  186. package/fonts/Services/tui-services.scss +6 -6
  187. package/fonts/Services/tui-services.styl +6 -6
  188. package/fonts/Services/tui-services.ttf +0 -0
  189. package/fonts/Services/tui-services.woff +0 -0
  190. package/fonts/Services/tui-services.woff2 +0 -0
  191. package/fonts/Socials/tui-socials.css +6 -6
  192. package/fonts/Socials/tui-socials.eot +0 -0
  193. package/fonts/Socials/tui-socials.less +6 -6
  194. package/fonts/Socials/tui-socials.module.less +6 -6
  195. package/fonts/Socials/tui-socials.scss +6 -6
  196. package/fonts/Socials/tui-socials.styl +6 -6
  197. package/fonts/Socials/tui-socials.ttf +0 -0
  198. package/fonts/Socials/tui-socials.woff +0 -0
  199. package/fonts/Socials/tui-socials.woff2 +0 -0
  200. package/fonts/Transports/tui-transports.css +6 -6
  201. package/fonts/Transports/tui-transports.eot +0 -0
  202. package/fonts/Transports/tui-transports.less +6 -6
  203. package/fonts/Transports/tui-transports.module.less +6 -6
  204. package/fonts/Transports/tui-transports.scss +6 -6
  205. package/fonts/Transports/tui-transports.styl +6 -6
  206. package/fonts/Transports/tui-transports.ttf +0 -0
  207. package/fonts/Transports/tui-transports.woff +0 -0
  208. package/fonts/Transports/tui-transports.woff2 +0 -0
  209. package/fonts/Utilities/tui-utilities.css +6 -6
  210. package/fonts/Utilities/tui-utilities.eot +0 -0
  211. package/fonts/Utilities/tui-utilities.less +6 -6
  212. package/fonts/Utilities/tui-utilities.module.less +6 -6
  213. package/fonts/Utilities/tui-utilities.scss +6 -6
  214. package/fonts/Utilities/tui-utilities.styl +6 -6
  215. package/fonts/Utilities/tui-utilities.ttf +0 -0
  216. package/fonts/Utilities/tui-utilities.woff +0 -0
  217. package/fonts/Utilities/tui-utilities.woff2 +0 -0
  218. package/molecules/Breadcrumb.js +5 -4
  219. package/molecules/Buttons/ButtonContent.js +5 -4
  220. package/molecules/Card.js +7 -6
  221. package/molecules/Forms/Checkbox.js +8 -7
  222. package/molecules/Forms/DateField.js +3 -2
  223. package/molecules/Forms/Filter.js +15 -14
  224. package/molecules/Forms/FormControl.js +9 -8
  225. package/molecules/Forms/NumberField.d.ts +2 -2
  226. package/molecules/Forms/TextField.js +11 -10
  227. package/molecules/Link.js +8 -7
  228. package/package.json +19 -17
  229. package/styles/globals.css +0 -323
@@ -102,327 +102,4 @@
102
102
  @apply justify-between;
103
103
  @apply uppercase;
104
104
  }
105
-
106
- /* SCROLLVIEWS */
107
- .NativeScroller {
108
- --arrows-margin: calc(12.5vw - 20px - 50px);
109
- }
110
-
111
- .scrollbar-hide::-webkit-scrollbar {
112
- display: none;
113
- }
114
-
115
- .scrollbar-hide {
116
- -ms-overflow-style: none;
117
- scrollbar-width: none;
118
- }
119
-
120
- .h-scroll-yellow {
121
- overflow-y: hidden;
122
- overflow-x: scroll;
123
- scroll-behavior: smooth;
124
- -ms-scroll-snap-type: x mandatory;
125
- scroll-snap-type: x mandatory;
126
- scrollbar-width: thin;
127
- scrollbar-color: black #d8cdc1;
128
- padding-bottom: 44px;
129
- --scrollbar-margin: calc(12.5vw - 20px - 50px);
130
- }
131
-
132
- .h-scroll-yellow::-webkit-scrollbar {
133
- height: 4px;
134
- }
135
-
136
- .h-scroll-yellow::-webkit-scrollbar-thumb {
137
- @apply bg-saffron;
138
- @apply rounded-pill;
139
- }
140
-
141
- .h-scroll-yellow::-webkit-scrollbar-track {
142
- @apply rounded-pill;
143
- background: transparent;
144
- max-width: 1120px;
145
- margin: 0 max(var(--scrollbar-margin), 20px);
146
- }
147
-
148
- .h-scroll-yellow::-webkit-scrollbar-track-piece {
149
- @apply bg-pearl;
150
- @apply rounded-pill;
151
- }
152
-
153
- .children-no-shrink > * {
154
- @apply shrink-0;
155
- }
156
-
157
- /* CONTENT SLIDER */
158
- .ContentSlider-item {
159
- will-change: transform, filter;
160
- transform: scale(var(--scale));
161
- filter: contrast(calc(var(--opacity) / (2 - var(--opacity))))
162
- brightness(calc(2 - var(--opacity)));
163
- /* yeah we don't actually *want* to make the element transparent, we just want to make it look like it is, and this is the formula */
164
- }
165
-
166
- .force-white {
167
- filter: brightness(0) saturate(100%) invert(100%);
168
- }
169
-
170
- .ProductInformationTabs-layout > *:nth-child(8n + 2) {
171
- grid-column-start: calc(2 + var(--groupOffset));
172
- grid-row-start: 1;
173
- grid-column-end: calc(3 + var(--groupOffset));
174
- grid-row-end: 2;
175
- }
176
-
177
- .ProductInformationTabs-layout > *:nth-child(8n + 2) [data-name='Frame'] {
178
- @apply aspect-horizontal;
179
- }
180
-
181
- .ProductInformationTabs-layout > *:nth-child(8n + 3) {
182
- grid-column-start: calc(2 + var(--groupOffset));
183
- grid-row-start: 2;
184
- grid-column-end: calc(3 + var(--groupOffset));
185
- grid-row-end: 3;
186
- }
187
-
188
- .ProductInformationTabs-layout > *:nth-child(8n + 3) [data-name='Frame'] {
189
- @apply aspect-square;
190
- }
191
-
192
- .ProductInformationTabs-layout > *:nth-child(8n + 4) {
193
- grid-column-start: calc(3 + var(--groupOffset));
194
- grid-row-start: 1;
195
- grid-column-end: calc(4 + var(--groupOffset));
196
- grid-row-end: 3;
197
- }
198
-
199
- .ProductInformationTabs-layout > *:nth-child(8n + 4) [data-name='Frame'] {
200
- @apply aspect-square;
201
- }
202
-
203
- .ProductInformationTabs-layout > *:nth-child(8n + 5) {
204
- grid-column-start: calc(4 + var(--groupOffset));
205
- grid-row-start: 1;
206
- grid-column-end: calc(5 + var(--groupOffset));
207
- grid-row-end: 3;
208
- }
209
-
210
- .ProductInformationTabs-layout > *:nth-child(8n + 5) [data-name='Frame'] {
211
- @apply aspect-vertical;
212
- }
213
-
214
- .ProductInformationTabs-layout > *:nth-child(8n + 6) {
215
- grid-column-start: calc(5 + var(--groupOffset));
216
- grid-row-start: 1;
217
- grid-column-end: calc(6 + var(--groupOffset));
218
- grid-row-end: 3;
219
- transform: translateY(calc(-50% - 10px));
220
- }
221
-
222
- .ProductInformationTabs-layout > *:nth-child(8n + 6) [data-name='Frame'] {
223
- @apply aspect-horizontal;
224
- }
225
-
226
- .ProductInformationTabs-layout > *:nth-child(8n + 7) {
227
- grid-column-start: calc(5 + var(--groupOffset));
228
- grid-row-start: 1;
229
- grid-column-end: calc(6 + var(--groupOffset));
230
- grid-row-end: 3;
231
- transform: translateY(calc(50% + 10px));
232
- }
233
-
234
- .ProductInformationTabs-layout > *:nth-child(8n + 7) [data-name='Frame'] {
235
- @apply aspect-horizontal;
236
- }
237
-
238
- .ProductInformationTabs-layout > *:nth-child(8n + 8) {
239
- grid-column-start: calc(6 + var(--groupOffset));
240
- grid-row-start: 1;
241
- grid-column-end: calc(7 + var(--groupOffset));
242
- grid-row-end: 3;
243
- }
244
-
245
- .ProductInformationTabs-layout > *:nth-child(8n + 8) [data-name='Frame'] {
246
- @apply aspect-square;
247
- }
248
-
249
- .ProductInformationTabs-layout > *:nth-child(8n + 9) {
250
- grid-column-start: calc(7 + var(--groupOffset));
251
- grid-row-start: 1;
252
- grid-column-end: calc(8 + var(--groupOffset));
253
- grid-row-end: 3;
254
- }
255
-
256
- .ProductInformationTabs-layout > *:nth-child(8n + 9) [data-name='Frame'] {
257
- @apply aspect-vertical;
258
- }
259
-
260
- .ProductInformationTabs-layout[data-children-count='2'] > *:nth-child(2) {
261
- grid-column-start: 2;
262
- grid-row-start: 1;
263
- grid-column-end: 3;
264
- grid-row-end: 2;
265
- }
266
-
267
- .ProductInformationTabs-layout[data-children-count='2'] > *:nth-child(2) [data-name='Frame'] {
268
- @apply aspect-vertical;
269
- }
270
-
271
- .ProductInformationTabs-layout[data-children-count='3'] > *:nth-child(2) {
272
- grid-column-start: 2;
273
- grid-row-start: 1;
274
- grid-column-end: 3;
275
- grid-row-end: 2;
276
- }
277
-
278
- .ProductInformationTabs-layout[data-children-count='3'] > *:nth-child(2) [data-name='Frame'] {
279
- @apply aspect-square;
280
- }
281
-
282
- .ProductInformationTabs-layout[data-children-count='3'] > *:nth-child(3) {
283
- grid-column-start: 2;
284
- grid-row-start: 2;
285
- grid-column-end: 3;
286
- grid-row-end: 3;
287
- }
288
-
289
- .ProductInformationTabs-layout[data-children-count='3'] > *:nth-child(3) [data-name='Frame'] {
290
- @apply aspect-horizontal;
291
- }
292
-
293
- .ProductInformationTabs-layout[data-children-count='4'] > *:nth-child(2) {
294
- grid-column-start: 2;
295
- grid-row-start: 1;
296
- grid-column-end: 3;
297
- grid-row-end: 2;
298
- }
299
-
300
- .ProductInformationTabs-layout[data-children-count='4'] > *:nth-child(2) [data-name='Frame'] {
301
- @apply aspect-horizontal;
302
- }
303
-
304
- .ProductInformationTabs-layout[data-children-count='4'] > *:nth-child(3) {
305
- grid-column-start: 2;
306
- grid-row-start: 2;
307
- grid-column-end: 3;
308
- grid-row-end: 3;
309
- }
310
-
311
- .ProductInformationTabs-layout[data-children-count='4'] > *:nth-child(3) [data-name='Frame'] {
312
- @apply aspect-square;
313
- }
314
-
315
- .ProductInformationTabs-layout[data-children-count='4'] > *:nth-child(4) {
316
- grid-column-start: 3;
317
- grid-row-start: 1;
318
- grid-column-end: 4;
319
- grid-row-end: 3;
320
- }
321
-
322
- .ProductInformationTabs-layout[data-children-count='4'] > *:nth-child(4) [data-name='Frame'] {
323
- @apply aspect-vertical;
324
- }
325
-
326
- /* TABS */
327
- .Tabs-focusIndicator {
328
- transform: translateX(
329
- calc(
330
- var(--index) * -100% + var(--activeIndex) * 100% -
331
- (4px * (var(--index) - var(--activeIndex)))
332
- )
333
- );
334
- }
335
-
336
- html[dir='rtl'] .Tabs-focusIndicator {
337
- transform: translateX(
338
- calc(
339
- var(--index) * 100% + var(--activeIndex) * -100% +
340
- (4px * (var(--index) - var(--activeIndex)))
341
- )
342
- );
343
- }
344
-
345
- .ProductDestinations-focusIndicator {
346
- transform: translateX(calc(var(--index) * -100% + var(--activeIndex) * 100%));
347
- }
348
-
349
- html[dir='rtl'] .ProductDestinations-focusIndicator {
350
- transform: translateX(calc(var(--index) * 100% + var(--activeIndex) * -100%));
351
- }
352
-
353
- .ProductDestinations-layout > *:nth-child(4n + 2) {
354
- grid-column-start: calc(2 + var(--groupOffset));
355
- grid-row-start: 1;
356
- grid-column-end: calc(3 + var(--groupOffset));
357
- grid-row-end: 2;
358
- }
359
-
360
- .ProductDestinations-layout > *:nth-child(4n + 2) [data-name='Frame'] {
361
- @apply aspect-horizontal;
362
- }
363
-
364
- .ProductDestinations-layout > *:nth-child(4n + 3) {
365
- grid-column-start: calc(2 + var(--groupOffset));
366
- grid-row-start: 2;
367
- grid-column-end: calc(3 + var(--groupOffset));
368
- grid-row-end: 3;
369
- }
370
-
371
- .ProductDestinations-layout > *:nth-child(4n + 3) [data-name='Frame'] {
372
- @apply aspect-square;
373
- }
374
-
375
- .ProductDestinations-layout > *:nth-child(4n + 4) {
376
- grid-column-start: calc(3 + var(--groupOffset));
377
- grid-row-start: 1;
378
- grid-column-end: calc(4 + var(--groupOffset));
379
- grid-row-end: 3;
380
- transform: translateY(calc(-50% - 10px));
381
- }
382
-
383
- .ProductDestinations-layout > *:nth-child(4n + 4) [data-name='Frame'] {
384
- @apply aspect-horizontal;
385
- }
386
-
387
- .ProductDestinations-layout > *:nth-child(4n + 5) {
388
- grid-column-start: calc(3 + var(--groupOffset));
389
- grid-row-start: 1;
390
- grid-column-end: calc(4 + var(--groupOffset));
391
- grid-row-end: 3;
392
- transform: translateY(calc(50% + 10px));
393
- }
394
-
395
- .ProductDestinations-layout > *:nth-child(4n + 5) [data-name='Frame'] {
396
- @apply aspect-horizontal;
397
- }
398
-
399
- .tick {
400
- -webkit-animation: tick 0.6s cubic-bezier(0.455, 0.03, 0.515, 0.955) 0s 1 normal forwards;
401
- animation: tick 0.6s cubic-bezier(0.455, 0.03, 0.515, 0.955) 0s 1 normal forwards;
402
- transform-style: preserve-3d;
403
- }
404
-
405
- .tock {
406
- -webkit-animation: tock 0.6s cubic-bezier(0.455, 0.03, 0.515, 0.955) 0s 1 normal forwards;
407
- animation: tock 0.6s cubic-bezier(0.455, 0.03, 0.515, 0.955) 0s 1 normal forwards;
408
- transform-style: preserve-3d;
409
- }
410
-
411
- @keyframes tick {
412
- 0% {
413
- transform: rotateX(0deg);
414
- }
415
- 100% {
416
- transform: rotateX(-180deg);
417
- }
418
- }
419
-
420
- @keyframes tock {
421
- 0% {
422
- transform: rotateX(180deg);
423
- }
424
- 100% {
425
- transform: rotateX(0deg);
426
- }
427
- }
428
105
  }