@fremtind/jokul 2.0.0 → 3.0.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.
Files changed (138) hide show
  1. package/build/build-stats.html +1 -1
  2. package/build/cjs/components/button/documentation/ButtonDocs.cjs +1 -1
  3. package/build/cjs/components/button/documentation/ButtonDocs.cjs.map +1 -1
  4. package/build/cjs/components/cookie-consent/CookieConsent.cjs +1 -1
  5. package/build/cjs/components/cookie-consent/CookieConsent.cjs.map +1 -1
  6. package/build/cjs/components/flex/Flex.cjs +1 -1
  7. package/build/cjs/components/flex/Flex.cjs.map +1 -1
  8. package/build/cjs/components/flex/types.cjs +1 -1
  9. package/build/cjs/components/flex/types.cjs.map +1 -1
  10. package/build/cjs/components/flex/types.d.cts +24 -10
  11. package/build/cjs/components/toast/Toast.cjs +1 -1
  12. package/build/cjs/components/toast/Toast.cjs.map +1 -1
  13. package/build/cjs/components/toggle-switch/ToggleSlider.cjs.map +1 -1
  14. package/build/cjs/components/toggle-switch/ToggleSlider.d.cts +3 -0
  15. package/build/cjs/core/tokens/style-dictionary/config.cjs +1 -1
  16. package/build/cjs/core/tokens/style-dictionary/config.cjs.map +1 -1
  17. package/build/cjs/core/tokens/style-dictionary/formats/scss-theme-variables.cjs +1 -1
  18. package/build/cjs/core/tokens/style-dictionary/formats/scss-theme-variables.cjs.map +1 -1
  19. package/build/cjs/core/tokens.cjs +1 -1
  20. package/build/cjs/core/tokens.cjs.map +1 -1
  21. package/build/cjs/core/tokens.d.cts +11 -0
  22. package/build/cjs/utilities/polymorphism/polymorphism.d.cts +1 -1
  23. package/build/es/components/button/documentation/ButtonDocs.js +1 -1
  24. package/build/es/components/button/documentation/ButtonDocs.js.map +1 -1
  25. package/build/es/components/cookie-consent/CookieConsent.js +1 -1
  26. package/build/es/components/cookie-consent/CookieConsent.js.map +1 -1
  27. package/build/es/components/flex/Flex.js +1 -1
  28. package/build/es/components/flex/Flex.js.map +1 -1
  29. package/build/es/components/flex/types.d.ts +24 -10
  30. package/build/es/components/flex/types.js +1 -1
  31. package/build/es/components/flex/types.js.map +1 -1
  32. package/build/es/components/toast/Toast.js +1 -1
  33. package/build/es/components/toast/Toast.js.map +1 -1
  34. package/build/es/components/toggle-switch/ToggleSlider.d.ts +3 -0
  35. package/build/es/components/toggle-switch/ToggleSlider.js.map +1 -1
  36. package/build/es/core/tokens/style-dictionary/config.js +1 -1
  37. package/build/es/core/tokens/style-dictionary/config.js.map +1 -1
  38. package/build/es/core/tokens/style-dictionary/formats/scss-theme-variables.js +1 -1
  39. package/build/es/core/tokens/style-dictionary/formats/scss-theme-variables.js.map +1 -1
  40. package/build/es/core/tokens.d.ts +11 -0
  41. package/build/es/core/tokens.js +1 -1
  42. package/build/es/core/tokens.js.map +1 -1
  43. package/build/es/utilities/polymorphism/polymorphism.d.ts +1 -1
  44. package/package.json +1 -1
  45. package/styles/components/autosuggest/autosuggest.css +0 -3
  46. package/styles/components/breadcrumb/breadcrumb.css +0 -3
  47. package/styles/components/button/button.css +0 -3
  48. package/styles/components/card/card.css +0 -3
  49. package/styles/components/checkbox/checkbox.css +4 -7
  50. package/styles/components/checkbox/checkbox.min.css +1 -1
  51. package/styles/components/checkbox-panel/checkbox-panel.css +190 -5
  52. package/styles/components/checkbox-panel/checkbox-panel.min.css +1 -1
  53. package/styles/components/checkbox-panel/checkbox-panel.scss +1 -0
  54. package/styles/components/checkbox-panel/development/styles.css +0 -3
  55. package/styles/components/chip/chip.css +0 -3
  56. package/styles/components/combobox/combobox.css +0 -3
  57. package/styles/components/cookie-consent/cookie-consent.css +0 -3
  58. package/styles/components/countdown/countdown.css +2 -5
  59. package/styles/components/countdown/countdown.min.css +1 -1
  60. package/styles/components/datepicker/datepicker.css +0 -3
  61. package/styles/components/description-list/description-list.css +0 -3
  62. package/styles/components/expander/expandable.css +0 -3
  63. package/styles/components/feedback/feedback.css +2 -5
  64. package/styles/components/feedback/feedback.min.css +1 -1
  65. package/styles/components/file/file.css +0 -3
  66. package/styles/components/file-input/file-input.css +11 -14
  67. package/styles/components/file-input/file-input.min.css +1 -1
  68. package/styles/components/flex/_index.scss +1 -0
  69. package/styles/components/flex/flex.css +703 -0
  70. package/styles/components/flex/flex.min.css +1 -0
  71. package/styles/components/flex/flex.scss +252 -0
  72. package/styles/components/help/help.css +0 -3
  73. package/styles/components/icon/icon.css +0 -3
  74. package/styles/components/icon-button/icon-button.css +0 -3
  75. package/styles/components/image/image.css +0 -3
  76. package/styles/components/input-group/input-group.css +2 -5
  77. package/styles/components/input-group/input-group.min.css +1 -1
  78. package/styles/components/link/link.css +0 -3
  79. package/styles/components/link-list/link-list.css +0 -3
  80. package/styles/components/list/list.css +0 -3
  81. package/styles/components/loader/loader.css +6 -9
  82. package/styles/components/loader/loader.min.css +1 -1
  83. package/styles/components/loader/skeleton-loader.css +5 -8
  84. package/styles/components/loader/skeleton-loader.min.css +1 -1
  85. package/styles/components/logo/logo.css +0 -3
  86. package/styles/components/menu/menu.css +0 -3
  87. package/styles/components/message/message.css +2 -5
  88. package/styles/components/message/message.min.css +1 -1
  89. package/styles/components/modal/modal.css +0 -3
  90. package/styles/components/nav-link/nav-link.css +0 -3
  91. package/styles/components/pagination/development/styles.css +0 -3
  92. package/styles/components/pagination/pagination.css +0 -3
  93. package/styles/components/popover/popover.css +0 -3
  94. package/styles/components/progress-bar/progress-bar.css +1 -4
  95. package/styles/components/progress-bar/progress-bar.min.css +1 -1
  96. package/styles/components/radio-button/radio-button.css +2 -5
  97. package/styles/components/radio-button/radio-button.min.css +1 -1
  98. package/styles/components/radio-panel/development/styles.css +0 -3
  99. package/styles/components/radio-panel/radio-panel.css +3 -5
  100. package/styles/components/radio-panel/radio-panel.min.css +1 -1
  101. package/styles/components/segmented-control/segmented-control.css +4 -7
  102. package/styles/components/segmented-control/segmented-control.min.css +1 -1
  103. package/styles/components/select/select.css +0 -3
  104. package/styles/components/summary-table/development/summary-table-example.css +0 -3
  105. package/styles/components/summary-table/summary-table.css +0 -3
  106. package/styles/components/system-message/system-message.css +2 -5
  107. package/styles/components/system-message/system-message.min.css +1 -1
  108. package/styles/components/table/table.css +0 -3
  109. package/styles/components/tabs/tabs.css +0 -3
  110. package/styles/components/tag/tag.css +0 -3
  111. package/styles/components/text-area/text-area.css +0 -3
  112. package/styles/components/text-input/text-input.css +0 -3
  113. package/styles/components/toast/toast.css +4 -7
  114. package/styles/components/toast/toast.min.css +1 -1
  115. package/styles/components/toggle-switch/toggle-switch.css +0 -3
  116. package/styles/components/tooltip/tooltip.css +0 -3
  117. package/styles/core/core.css +28 -3
  118. package/styles/core/core.min.css +1 -1
  119. package/styles/core/jkl/_colors.scss +2 -2
  120. package/styles/core/jkl/_index.scss +2 -2
  121. package/styles/core/jkl/_spacing.scss +19 -23
  122. package/styles/core/jkl/_tokens.scss +4 -3
  123. package/styles/core/jkl/_typography.scss +42 -58
  124. package/styles/core/jkl/legacy/_dynamic-colors.scss +40 -0
  125. package/styles/core/jkl/legacy/_index.scss +2 -0
  126. package/styles/core/jkl/legacy/_tokens.scss +396 -0
  127. package/styles/core/theme/_legacy-tokens.scss +9 -0
  128. package/styles/core/theme/_spacing-tokens.scss +2 -0
  129. package/styles/core/theme/_tokens.scss +2 -0
  130. package/styles/shared/input/shared-input-styles.css +0 -3
  131. package/styles/shared/input-panel/shared.css +1 -3
  132. package/styles/shared/input-panel/shared.min.css +1 -1
  133. package/styles/shared/input-panel/shared.scss +2 -2
  134. package/styles/shared/track/track.css +0 -3
  135. package/styles/styles.css +738 -39
  136. package/styles/styles.min.css +2 -2
  137. package/styles/styles.scss +1 -0
  138. package/styles/core/jkl/_legacy-tokens.scss +0 -181
@@ -0,0 +1,703 @@
1
+ /**
2
+ * Do not edit directly, this file was auto-generated.
3
+ */
4
+ @layer jokul.components {
5
+ :root {
6
+ --container-m: 43.75rem;
7
+ --container-l: 60rem;
8
+ --container-xl: 75rem;
9
+ --container-2xl: 90rem;
10
+ --container-full: 100%;
11
+ }
12
+ }
13
+ @layer jokul.components {
14
+ :is(.jkl-flex) {
15
+ box-sizing: border-box;
16
+ display: flex;
17
+ flex-direction: row;
18
+ flex-wrap: wrap;
19
+ }
20
+ :where(.fill > *) {
21
+ flex-grow: 1;
22
+ }
23
+ :where(.jkl-flex > *) {
24
+ --jkl-flex-gap: 0px;
25
+ --jkl-flex-layout: auto;
26
+ box-sizing: border-box;
27
+ flex-basis: calc((100% - (12 / var(--jkl-flex-layout) - 1) * var(--jkl-flex-gap)) / 12 * var(--jkl-flex-layout));
28
+ min-width: calc(var(--jkl-flex-layout) * 0px);
29
+ min-height: calc(var(--jkl-flex-layout) * 0px);
30
+ }
31
+ :where(.wrap-nowrap > *) {
32
+ flex-shrink: calc(var(--jkl-flex-layout) * 0);
33
+ }
34
+ }
35
+ @layer jokul.components {
36
+ .display-inline-flex {
37
+ display: inline-flex;
38
+ }
39
+ .flex-wrap-wrap-reverse {
40
+ flex-wrap: wrap-reverse;
41
+ }
42
+ .flex-wrap-nowrap {
43
+ flex-wrap: nowrap;
44
+ }
45
+ .flex-direction-column {
46
+ flex-direction: column;
47
+ }
48
+ .flex-direction-column-reverse {
49
+ flex-direction: column-reverse;
50
+ }
51
+ .flex-direction-row-reverse {
52
+ flex-direction: row-reverse;
53
+ }
54
+ .text-align-left {
55
+ text-align: left;
56
+ }
57
+ .text-align-center {
58
+ text-align: center;
59
+ }
60
+ .text-align-right {
61
+ text-align: right;
62
+ }
63
+ .align-items-start {
64
+ align-items: start;
65
+ }
66
+ .align-items-center {
67
+ align-items: center;
68
+ }
69
+ .align-items-end {
70
+ align-items: end;
71
+ }
72
+ .align-items-baseline {
73
+ align-items: baseline;
74
+ }
75
+ .align-items-stretch {
76
+ align-items: stretch;
77
+ }
78
+ .align-content-start {
79
+ align-content: start;
80
+ }
81
+ .align-content-center {
82
+ align-content: center;
83
+ }
84
+ .align-content-end {
85
+ align-content: end;
86
+ }
87
+ .align-content-stretch {
88
+ align-content: stretch;
89
+ }
90
+ .align-content-baseline {
91
+ align-content: baseline;
92
+ }
93
+ .align-content-space-around {
94
+ align-content: space-around;
95
+ }
96
+ .align-content-space-between {
97
+ align-content: space-between;
98
+ }
99
+ .align-content-space-evenly {
100
+ align-content: space-evenly;
101
+ }
102
+ .justify-content-start {
103
+ justify-content: start;
104
+ }
105
+ .justify-content-center {
106
+ justify-content: center;
107
+ }
108
+ .justify-content-end {
109
+ justify-content: end;
110
+ }
111
+ .justify-content-space-around {
112
+ justify-content: space-around;
113
+ }
114
+ .justify-content-space-between {
115
+ justify-content: space-between;
116
+ }
117
+ .justify-content-space-evenly {
118
+ justify-content: space-evenly;
119
+ }
120
+ :is(.center-m, .center-l, .center-xl, .center-2xl) {
121
+ box-sizing: border-box;
122
+ margin-inline: auto;
123
+ width: calc(100% - var(--jkl-unit-50));
124
+ }
125
+ @media (width >= 0) {
126
+ .center-small {
127
+ max-width: var(--container-m);
128
+ }
129
+ }
130
+ @media (width >= 680px) {
131
+ .center-medium {
132
+ max-width: var(--container-l);
133
+ }
134
+ }
135
+ @media (width >= 1200px) {
136
+ .center-large {
137
+ max-width: var(--container-xl);
138
+ }
139
+ }
140
+ @media (width >= 1600px) {
141
+ .center-xl {
142
+ max-width: var(--container-2xl);
143
+ }
144
+ }
145
+ .screen-small-2\.10 > :where(:nth-child(odd)) {
146
+ --jkl-flex-layout: 2;
147
+ }
148
+ .screen-small-2\.10 > :where(:nth-child(even)) {
149
+ --jkl-flex-layout: 10;
150
+ }
151
+ .screen-small-10\.2 > :where(:nth-child(odd)) {
152
+ --jkl-flex-layout: 10;
153
+ }
154
+ .screen-small-10\.2 > :where(:nth-child(even)) {
155
+ --jkl-flex-layout: 2;
156
+ }
157
+ .screen-small-3\.9 > :where(:nth-child(odd)) {
158
+ --jkl-flex-layout: 3;
159
+ }
160
+ .screen-small-3\.9 > :where(:nth-child(even)) {
161
+ --jkl-flex-layout: 9;
162
+ }
163
+ .screen-small-9\.3 > :where(:nth-child(odd)) {
164
+ --jkl-flex-layout: 9;
165
+ }
166
+ .screen-small-9\.3 > :where(:nth-child(even)) {
167
+ --jkl-flex-layout: 3;
168
+ }
169
+ .screen-small-4\.8 > :where(:nth-child(odd)) {
170
+ --jkl-flex-layout: 4;
171
+ }
172
+ .screen-small-4\.8 > :where(:nth-child(even)) {
173
+ --jkl-flex-layout: 8;
174
+ }
175
+ .screen-small-8\.4 > :where(:nth-child(odd)) {
176
+ --jkl-flex-layout: 8;
177
+ }
178
+ .screen-small-8\.4 > :where(:nth-child(even)) {
179
+ --jkl-flex-layout: 4;
180
+ }
181
+ .screen-small-5\.7 > :where(:nth-child(odd)) {
182
+ --jkl-flex-layout: 5;
183
+ }
184
+ .screen-small-5\.7 > :where(:nth-child(even)) {
185
+ --jkl-flex-layout: 7;
186
+ }
187
+ .screen-small-7\.5 > :where(:nth-child(odd)) {
188
+ --jkl-flex-layout: 7;
189
+ }
190
+ .screen-small-7\.5 > :where(:nth-child(even)) {
191
+ --jkl-flex-layout: 5;
192
+ }
193
+ .screen-small-0 > * {
194
+ --jkl-flex-layout: auto;
195
+ }
196
+ .screen-small-1 > * {
197
+ --jkl-flex-layout: 12;
198
+ }
199
+ .screen-small-2 > * {
200
+ --jkl-flex-layout: 6;
201
+ }
202
+ .screen-small-3 > * {
203
+ --jkl-flex-layout: 4;
204
+ }
205
+ .screen-small-4 > * {
206
+ --jkl-flex-layout: 3;
207
+ }
208
+ .screen-small-6 > * {
209
+ --jkl-flex-layout: 2;
210
+ }
211
+ .screen-small-row-gap-none {
212
+ row-gap: var(--jkl-spacing-none);
213
+ }
214
+ .screen-small-col-gap-none {
215
+ column-gap: var(--jkl-spacing-none);
216
+ }
217
+ .screen-small-col-gap-none > * {
218
+ --jkl-flex-gap: var(--jkl-spacing-none);
219
+ }
220
+ .screen-small-row-gap-2xs {
221
+ row-gap: var(--jkl-spacing-2xs);
222
+ }
223
+ .screen-small-col-gap-2xs {
224
+ column-gap: var(--jkl-spacing-2xs);
225
+ }
226
+ .screen-small-col-gap-2xs > * {
227
+ --jkl-flex-gap: var(--jkl-spacing-2xs);
228
+ }
229
+ .screen-small-row-gap-xs {
230
+ row-gap: var(--jkl-spacing-xs);
231
+ }
232
+ .screen-small-col-gap-xs {
233
+ column-gap: var(--jkl-spacing-xs);
234
+ }
235
+ .screen-small-col-gap-xs > * {
236
+ --jkl-flex-gap: var(--jkl-spacing-xs);
237
+ }
238
+ .screen-small-row-gap-s {
239
+ row-gap: var(--jkl-spacing-s);
240
+ }
241
+ .screen-small-col-gap-s {
242
+ column-gap: var(--jkl-spacing-s);
243
+ }
244
+ .screen-small-col-gap-s > * {
245
+ --jkl-flex-gap: var(--jkl-spacing-s);
246
+ }
247
+ .screen-small-row-gap-m {
248
+ row-gap: var(--jkl-spacing-m);
249
+ }
250
+ .screen-small-col-gap-m {
251
+ column-gap: var(--jkl-spacing-m);
252
+ }
253
+ .screen-small-col-gap-m > * {
254
+ --jkl-flex-gap: var(--jkl-spacing-m);
255
+ }
256
+ .screen-small-row-gap-l {
257
+ row-gap: var(--jkl-spacing-l);
258
+ }
259
+ .screen-small-col-gap-l {
260
+ column-gap: var(--jkl-spacing-l);
261
+ }
262
+ .screen-small-col-gap-l > * {
263
+ --jkl-flex-gap: var(--jkl-spacing-l);
264
+ }
265
+ .screen-small-row-gap-xl {
266
+ row-gap: var(--jkl-spacing-xl);
267
+ }
268
+ .screen-small-col-gap-xl {
269
+ column-gap: var(--jkl-spacing-xl);
270
+ }
271
+ .screen-small-col-gap-xl > * {
272
+ --jkl-flex-gap: var(--jkl-spacing-xl);
273
+ }
274
+ .screen-small-row-gap-2xl {
275
+ row-gap: var(--jkl-spacing-2xl);
276
+ }
277
+ .screen-small-col-gap-2xl {
278
+ column-gap: var(--jkl-spacing-2xl);
279
+ }
280
+ .screen-small-col-gap-2xl > * {
281
+ --jkl-flex-gap: var(--jkl-spacing-2xl);
282
+ }
283
+ @media (width >= 680px) {
284
+ .screen-medium-2\.10 > :where(:nth-child(odd)) {
285
+ --jkl-flex-layout: 2;
286
+ }
287
+ .screen-medium-2\.10 > :where(:nth-child(even)) {
288
+ --jkl-flex-layout: 10;
289
+ }
290
+ .screen-medium-10\.2 > :where(:nth-child(odd)) {
291
+ --jkl-flex-layout: 10;
292
+ }
293
+ .screen-medium-10\.2 > :where(:nth-child(even)) {
294
+ --jkl-flex-layout: 2;
295
+ }
296
+ .screen-medium-3\.9 > :where(:nth-child(odd)) {
297
+ --jkl-flex-layout: 3;
298
+ }
299
+ .screen-medium-3\.9 > :where(:nth-child(even)) {
300
+ --jkl-flex-layout: 9;
301
+ }
302
+ .screen-medium-9\.3 > :where(:nth-child(odd)) {
303
+ --jkl-flex-layout: 9;
304
+ }
305
+ .screen-medium-9\.3 > :where(:nth-child(even)) {
306
+ --jkl-flex-layout: 3;
307
+ }
308
+ .screen-medium-4\.8 > :where(:nth-child(odd)) {
309
+ --jkl-flex-layout: 4;
310
+ }
311
+ .screen-medium-4\.8 > :where(:nth-child(even)) {
312
+ --jkl-flex-layout: 8;
313
+ }
314
+ .screen-medium-8\.4 > :where(:nth-child(odd)) {
315
+ --jkl-flex-layout: 8;
316
+ }
317
+ .screen-medium-8\.4 > :where(:nth-child(even)) {
318
+ --jkl-flex-layout: 4;
319
+ }
320
+ .screen-medium-5\.7 > :where(:nth-child(odd)) {
321
+ --jkl-flex-layout: 5;
322
+ }
323
+ .screen-medium-5\.7 > :where(:nth-child(even)) {
324
+ --jkl-flex-layout: 7;
325
+ }
326
+ .screen-medium-7\.5 > :where(:nth-child(odd)) {
327
+ --jkl-flex-layout: 7;
328
+ }
329
+ .screen-medium-7\.5 > :where(:nth-child(even)) {
330
+ --jkl-flex-layout: 5;
331
+ }
332
+ .screen-medium-0 > * {
333
+ --jkl-flex-layout: auto;
334
+ }
335
+ .screen-medium-1 > * {
336
+ --jkl-flex-layout: 12;
337
+ }
338
+ .screen-medium-2 > * {
339
+ --jkl-flex-layout: 6;
340
+ }
341
+ .screen-medium-3 > * {
342
+ --jkl-flex-layout: 4;
343
+ }
344
+ .screen-medium-4 > * {
345
+ --jkl-flex-layout: 3;
346
+ }
347
+ .screen-medium-6 > * {
348
+ --jkl-flex-layout: 2;
349
+ }
350
+ .screen-medium-row-gap-none {
351
+ row-gap: var(--jkl-spacing-none);
352
+ }
353
+ .screen-medium-col-gap-none {
354
+ column-gap: var(--jkl-spacing-none);
355
+ }
356
+ .screen-medium-col-gap-none > * {
357
+ --jkl-flex-gap: var(--jkl-spacing-none);
358
+ }
359
+ .screen-medium-row-gap-2xs {
360
+ row-gap: var(--jkl-spacing-2xs);
361
+ }
362
+ .screen-medium-col-gap-2xs {
363
+ column-gap: var(--jkl-spacing-2xs);
364
+ }
365
+ .screen-medium-col-gap-2xs > * {
366
+ --jkl-flex-gap: var(--jkl-spacing-2xs);
367
+ }
368
+ .screen-medium-row-gap-xs {
369
+ row-gap: var(--jkl-spacing-xs);
370
+ }
371
+ .screen-medium-col-gap-xs {
372
+ column-gap: var(--jkl-spacing-xs);
373
+ }
374
+ .screen-medium-col-gap-xs > * {
375
+ --jkl-flex-gap: var(--jkl-spacing-xs);
376
+ }
377
+ .screen-medium-row-gap-s {
378
+ row-gap: var(--jkl-spacing-s);
379
+ }
380
+ .screen-medium-col-gap-s {
381
+ column-gap: var(--jkl-spacing-s);
382
+ }
383
+ .screen-medium-col-gap-s > * {
384
+ --jkl-flex-gap: var(--jkl-spacing-s);
385
+ }
386
+ .screen-medium-row-gap-m {
387
+ row-gap: var(--jkl-spacing-m);
388
+ }
389
+ .screen-medium-col-gap-m {
390
+ column-gap: var(--jkl-spacing-m);
391
+ }
392
+ .screen-medium-col-gap-m > * {
393
+ --jkl-flex-gap: var(--jkl-spacing-m);
394
+ }
395
+ .screen-medium-row-gap-l {
396
+ row-gap: var(--jkl-spacing-l);
397
+ }
398
+ .screen-medium-col-gap-l {
399
+ column-gap: var(--jkl-spacing-l);
400
+ }
401
+ .screen-medium-col-gap-l > * {
402
+ --jkl-flex-gap: var(--jkl-spacing-l);
403
+ }
404
+ .screen-medium-row-gap-xl {
405
+ row-gap: var(--jkl-spacing-xl);
406
+ }
407
+ .screen-medium-col-gap-xl {
408
+ column-gap: var(--jkl-spacing-xl);
409
+ }
410
+ .screen-medium-col-gap-xl > * {
411
+ --jkl-flex-gap: var(--jkl-spacing-xl);
412
+ }
413
+ .screen-medium-row-gap-2xl {
414
+ row-gap: var(--jkl-spacing-2xl);
415
+ }
416
+ .screen-medium-col-gap-2xl {
417
+ column-gap: var(--jkl-spacing-2xl);
418
+ }
419
+ .screen-medium-col-gap-2xl > * {
420
+ --jkl-flex-gap: var(--jkl-spacing-2xl);
421
+ }
422
+ }
423
+ @media (width >= 1200px) {
424
+ .screen-large-2\.10 > :where(:nth-child(odd)) {
425
+ --jkl-flex-layout: 2;
426
+ }
427
+ .screen-large-2\.10 > :where(:nth-child(even)) {
428
+ --jkl-flex-layout: 10;
429
+ }
430
+ .screen-large-10\.2 > :where(:nth-child(odd)) {
431
+ --jkl-flex-layout: 10;
432
+ }
433
+ .screen-large-10\.2 > :where(:nth-child(even)) {
434
+ --jkl-flex-layout: 2;
435
+ }
436
+ .screen-large-3\.9 > :where(:nth-child(odd)) {
437
+ --jkl-flex-layout: 3;
438
+ }
439
+ .screen-large-3\.9 > :where(:nth-child(even)) {
440
+ --jkl-flex-layout: 9;
441
+ }
442
+ .screen-large-9\.3 > :where(:nth-child(odd)) {
443
+ --jkl-flex-layout: 9;
444
+ }
445
+ .screen-large-9\.3 > :where(:nth-child(even)) {
446
+ --jkl-flex-layout: 3;
447
+ }
448
+ .screen-large-4\.8 > :where(:nth-child(odd)) {
449
+ --jkl-flex-layout: 4;
450
+ }
451
+ .screen-large-4\.8 > :where(:nth-child(even)) {
452
+ --jkl-flex-layout: 8;
453
+ }
454
+ .screen-large-8\.4 > :where(:nth-child(odd)) {
455
+ --jkl-flex-layout: 8;
456
+ }
457
+ .screen-large-8\.4 > :where(:nth-child(even)) {
458
+ --jkl-flex-layout: 4;
459
+ }
460
+ .screen-large-5\.7 > :where(:nth-child(odd)) {
461
+ --jkl-flex-layout: 5;
462
+ }
463
+ .screen-large-5\.7 > :where(:nth-child(even)) {
464
+ --jkl-flex-layout: 7;
465
+ }
466
+ .screen-large-7\.5 > :where(:nth-child(odd)) {
467
+ --jkl-flex-layout: 7;
468
+ }
469
+ .screen-large-7\.5 > :where(:nth-child(even)) {
470
+ --jkl-flex-layout: 5;
471
+ }
472
+ .screen-large-0 > * {
473
+ --jkl-flex-layout: auto;
474
+ }
475
+ .screen-large-1 > * {
476
+ --jkl-flex-layout: 12;
477
+ }
478
+ .screen-large-2 > * {
479
+ --jkl-flex-layout: 6;
480
+ }
481
+ .screen-large-3 > * {
482
+ --jkl-flex-layout: 4;
483
+ }
484
+ .screen-large-4 > * {
485
+ --jkl-flex-layout: 3;
486
+ }
487
+ .screen-large-6 > * {
488
+ --jkl-flex-layout: 2;
489
+ }
490
+ .screen-large-row-gap-none {
491
+ row-gap: var(--jkl-spacing-none);
492
+ }
493
+ .screen-large-col-gap-none {
494
+ column-gap: var(--jkl-spacing-none);
495
+ }
496
+ .screen-large-col-gap-none > * {
497
+ --jkl-flex-gap: var(--jkl-spacing-none);
498
+ }
499
+ .screen-large-row-gap-2xs {
500
+ row-gap: var(--jkl-spacing-2xs);
501
+ }
502
+ .screen-large-col-gap-2xs {
503
+ column-gap: var(--jkl-spacing-2xs);
504
+ }
505
+ .screen-large-col-gap-2xs > * {
506
+ --jkl-flex-gap: var(--jkl-spacing-2xs);
507
+ }
508
+ .screen-large-row-gap-xs {
509
+ row-gap: var(--jkl-spacing-xs);
510
+ }
511
+ .screen-large-col-gap-xs {
512
+ column-gap: var(--jkl-spacing-xs);
513
+ }
514
+ .screen-large-col-gap-xs > * {
515
+ --jkl-flex-gap: var(--jkl-spacing-xs);
516
+ }
517
+ .screen-large-row-gap-s {
518
+ row-gap: var(--jkl-spacing-s);
519
+ }
520
+ .screen-large-col-gap-s {
521
+ column-gap: var(--jkl-spacing-s);
522
+ }
523
+ .screen-large-col-gap-s > * {
524
+ --jkl-flex-gap: var(--jkl-spacing-s);
525
+ }
526
+ .screen-large-row-gap-m {
527
+ row-gap: var(--jkl-spacing-m);
528
+ }
529
+ .screen-large-col-gap-m {
530
+ column-gap: var(--jkl-spacing-m);
531
+ }
532
+ .screen-large-col-gap-m > * {
533
+ --jkl-flex-gap: var(--jkl-spacing-m);
534
+ }
535
+ .screen-large-row-gap-l {
536
+ row-gap: var(--jkl-spacing-l);
537
+ }
538
+ .screen-large-col-gap-l {
539
+ column-gap: var(--jkl-spacing-l);
540
+ }
541
+ .screen-large-col-gap-l > * {
542
+ --jkl-flex-gap: var(--jkl-spacing-l);
543
+ }
544
+ .screen-large-row-gap-xl {
545
+ row-gap: var(--jkl-spacing-xl);
546
+ }
547
+ .screen-large-col-gap-xl {
548
+ column-gap: var(--jkl-spacing-xl);
549
+ }
550
+ .screen-large-col-gap-xl > * {
551
+ --jkl-flex-gap: var(--jkl-spacing-xl);
552
+ }
553
+ .screen-large-row-gap-2xl {
554
+ row-gap: var(--jkl-spacing-2xl);
555
+ }
556
+ .screen-large-col-gap-2xl {
557
+ column-gap: var(--jkl-spacing-2xl);
558
+ }
559
+ .screen-large-col-gap-2xl > * {
560
+ --jkl-flex-gap: var(--jkl-spacing-2xl);
561
+ }
562
+ }
563
+ @media (width >= 1600px) {
564
+ .screen-xl-2\.10 > :where(:nth-child(odd)) {
565
+ --jkl-flex-layout: 2;
566
+ }
567
+ .screen-xl-2\.10 > :where(:nth-child(even)) {
568
+ --jkl-flex-layout: 10;
569
+ }
570
+ .screen-xl-10\.2 > :where(:nth-child(odd)) {
571
+ --jkl-flex-layout: 10;
572
+ }
573
+ .screen-xl-10\.2 > :where(:nth-child(even)) {
574
+ --jkl-flex-layout: 2;
575
+ }
576
+ .screen-xl-3\.9 > :where(:nth-child(odd)) {
577
+ --jkl-flex-layout: 3;
578
+ }
579
+ .screen-xl-3\.9 > :where(:nth-child(even)) {
580
+ --jkl-flex-layout: 9;
581
+ }
582
+ .screen-xl-9\.3 > :where(:nth-child(odd)) {
583
+ --jkl-flex-layout: 9;
584
+ }
585
+ .screen-xl-9\.3 > :where(:nth-child(even)) {
586
+ --jkl-flex-layout: 3;
587
+ }
588
+ .screen-xl-4\.8 > :where(:nth-child(odd)) {
589
+ --jkl-flex-layout: 4;
590
+ }
591
+ .screen-xl-4\.8 > :where(:nth-child(even)) {
592
+ --jkl-flex-layout: 8;
593
+ }
594
+ .screen-xl-8\.4 > :where(:nth-child(odd)) {
595
+ --jkl-flex-layout: 8;
596
+ }
597
+ .screen-xl-8\.4 > :where(:nth-child(even)) {
598
+ --jkl-flex-layout: 4;
599
+ }
600
+ .screen-xl-5\.7 > :where(:nth-child(odd)) {
601
+ --jkl-flex-layout: 5;
602
+ }
603
+ .screen-xl-5\.7 > :where(:nth-child(even)) {
604
+ --jkl-flex-layout: 7;
605
+ }
606
+ .screen-xl-7\.5 > :where(:nth-child(odd)) {
607
+ --jkl-flex-layout: 7;
608
+ }
609
+ .screen-xl-7\.5 > :where(:nth-child(even)) {
610
+ --jkl-flex-layout: 5;
611
+ }
612
+ .screen-xl-0 > * {
613
+ --jkl-flex-layout: auto;
614
+ }
615
+ .screen-xl-1 > * {
616
+ --jkl-flex-layout: 12;
617
+ }
618
+ .screen-xl-2 > * {
619
+ --jkl-flex-layout: 6;
620
+ }
621
+ .screen-xl-3 > * {
622
+ --jkl-flex-layout: 4;
623
+ }
624
+ .screen-xl-4 > * {
625
+ --jkl-flex-layout: 3;
626
+ }
627
+ .screen-xl-6 > * {
628
+ --jkl-flex-layout: 2;
629
+ }
630
+ .screen-xl-row-gap-none {
631
+ row-gap: var(--jkl-spacing-none);
632
+ }
633
+ .screen-xl-col-gap-none {
634
+ column-gap: var(--jkl-spacing-none);
635
+ }
636
+ .screen-xl-col-gap-none > * {
637
+ --jkl-flex-gap: var(--jkl-spacing-none);
638
+ }
639
+ .screen-xl-row-gap-2xs {
640
+ row-gap: var(--jkl-spacing-2xs);
641
+ }
642
+ .screen-xl-col-gap-2xs {
643
+ column-gap: var(--jkl-spacing-2xs);
644
+ }
645
+ .screen-xl-col-gap-2xs > * {
646
+ --jkl-flex-gap: var(--jkl-spacing-2xs);
647
+ }
648
+ .screen-xl-row-gap-xs {
649
+ row-gap: var(--jkl-spacing-xs);
650
+ }
651
+ .screen-xl-col-gap-xs {
652
+ column-gap: var(--jkl-spacing-xs);
653
+ }
654
+ .screen-xl-col-gap-xs > * {
655
+ --jkl-flex-gap: var(--jkl-spacing-xs);
656
+ }
657
+ .screen-xl-row-gap-s {
658
+ row-gap: var(--jkl-spacing-s);
659
+ }
660
+ .screen-xl-col-gap-s {
661
+ column-gap: var(--jkl-spacing-s);
662
+ }
663
+ .screen-xl-col-gap-s > * {
664
+ --jkl-flex-gap: var(--jkl-spacing-s);
665
+ }
666
+ .screen-xl-row-gap-m {
667
+ row-gap: var(--jkl-spacing-m);
668
+ }
669
+ .screen-xl-col-gap-m {
670
+ column-gap: var(--jkl-spacing-m);
671
+ }
672
+ .screen-xl-col-gap-m > * {
673
+ --jkl-flex-gap: var(--jkl-spacing-m);
674
+ }
675
+ .screen-xl-row-gap-l {
676
+ row-gap: var(--jkl-spacing-l);
677
+ }
678
+ .screen-xl-col-gap-l {
679
+ column-gap: var(--jkl-spacing-l);
680
+ }
681
+ .screen-xl-col-gap-l > * {
682
+ --jkl-flex-gap: var(--jkl-spacing-l);
683
+ }
684
+ .screen-xl-row-gap-xl {
685
+ row-gap: var(--jkl-spacing-xl);
686
+ }
687
+ .screen-xl-col-gap-xl {
688
+ column-gap: var(--jkl-spacing-xl);
689
+ }
690
+ .screen-xl-col-gap-xl > * {
691
+ --jkl-flex-gap: var(--jkl-spacing-xl);
692
+ }
693
+ .screen-xl-row-gap-2xl {
694
+ row-gap: var(--jkl-spacing-2xl);
695
+ }
696
+ .screen-xl-col-gap-2xl {
697
+ column-gap: var(--jkl-spacing-2xl);
698
+ }
699
+ .screen-xl-col-gap-2xl > * {
700
+ --jkl-flex-gap: var(--jkl-spacing-2xl);
701
+ }
702
+ }
703
+ }