@nuvoui/core 1.2.4 → 1.2.6

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 (41) hide show
  1. package/README.md +2 -2
  2. package/dist/nuvoui.css +27685 -22739
  3. package/dist/nuvoui.css.map +1 -1
  4. package/dist/nuvoui.min.css +1 -1
  5. package/dist/nuvoui.min.css.map +1 -1
  6. package/package.json +7 -8
  7. package/src/styles/abstracts/_config.scss +87 -34
  8. package/src/styles/abstracts/_functions.scss +70 -37
  9. package/src/styles/base/_base.scss +79 -59
  10. package/src/styles/base/_reset.scss +11 -8
  11. package/src/styles/index.scss +32 -17
  12. package/src/styles/layouts/_container.scss +1 -2
  13. package/src/styles/layouts/_flex.scss +442 -154
  14. package/src/styles/layouts/_grid.scss +145 -75
  15. package/src/styles/mixins-map.scss +1085 -1
  16. package/src/styles/themes/_theme.scss +95 -106
  17. package/src/styles/utilities/_alignment.scss +40 -13
  18. package/src/styles/utilities/_animations.scss +361 -92
  19. package/src/styles/utilities/_backdrop-filters.scss +297 -0
  20. package/src/styles/utilities/_borders.scss +360 -159
  21. package/src/styles/utilities/_colors.scss +24 -34
  22. package/src/styles/utilities/_container-queries.scss +7 -7
  23. package/src/styles/utilities/_cursor.scss +10 -17
  24. package/src/styles/utilities/_display.scss +234 -85
  25. package/src/styles/utilities/_helpers.scss +5 -5
  26. package/src/styles/utilities/_media-queries.scss +24 -27
  27. package/src/styles/utilities/_opacity.scss +15 -31
  28. package/src/styles/utilities/_position.scss +129 -66
  29. package/src/styles/utilities/_shadows.scss +23 -29
  30. package/src/styles/utilities/_sizing.scss +270 -92
  31. package/src/styles/utilities/_spacing.scss +317 -169
  32. package/src/styles/utilities/_tooltips.scss +36 -29
  33. package/src/styles/utilities/_transforms.scss +243 -154
  34. package/src/styles/utilities/_transitions.scss +129 -75
  35. package/src/styles/utilities/_typography.scss +341 -127
  36. package/src/styles/utilities/_z-index.scss +144 -0
  37. package/src/styles/abstracts/_index.scss +0 -1
  38. package/src/styles/base/_index.scss +0 -2
  39. package/src/styles/layouts/_index.scss +0 -3
  40. package/src/styles/themes/_index.scss +0 -1
  41. package/src/styles/utilities/_index.scss +0 -20
@@ -1,9 +1,9 @@
1
- @use 'sass:math';
2
- @use 'sass:string';
3
- @use 'sass:meta';
4
- @use '../abstracts' as *;
1
+ @use "sass:math";
2
+ @use "sass:string";
3
+ @use "sass:meta";
4
+ @use "../abstracts/config" as VAR;
5
+ @use "../abstracts/functions" as FN;
5
6
 
6
-
7
7
  /**
8
8
  * @component Spacing
9
9
  * @description Controls element margins, padding, gaps, and spacing between children
@@ -73,41 +73,6 @@
73
73
  * @see flex, grid, display
74
74
  */
75
75
 
76
- // -----------------------------------------------
77
- // HELPER FUNCTIONS
78
- // -----------------------------------------------
79
-
80
- /**
81
- * @function format-unit-value
82
- * @description Ensures values have appropriate units
83
- * @param {Number|String} $value - The value to format
84
- * @returns {Number|String} Value with appropriate units
85
- * @internal
86
- */
87
-
88
- @function format-unit-value($value) {
89
- // Zero check
90
- @if $value == 0 {
91
- @return 0;
92
- }
93
-
94
- // If pure number (no units), add px
95
- @if meta.type-of($value) == 'number' and math.unit($value) == "" {
96
- @return $value * 1px; // Multiply by 1px instead of adding px
97
- }
98
-
99
- // If number with units (like rem), return as is
100
- @if meta.type-of($value) == 'number' and math.unit($value) != "" {
101
- @return $value; // Already has units, return as is
102
- }
103
-
104
- // Convert value to string for unit checking
105
- $value-str: if(meta.type-of($value) == 'string', string.unquote($value), #{$value});
106
-
107
- @return $value-str;
108
- }
109
-
110
-
111
76
  // -----------------------------------------------
112
77
  // PADDING MIXINS
113
78
  // -----------------------------------------------
@@ -117,17 +82,17 @@
117
82
  * @description Sets padding on all sides
118
83
  * @param {Number|String} $val - Padding value
119
84
  */
120
- @mixin p($val) { padding: format-unit-value($val); }
85
+ @mixin p($val) {
86
+ padding: FN.fix-units($val);
87
+ }
121
88
 
122
89
  /**
123
90
  * @mixin px
124
91
  * @description Sets horizontal padding (left and right)
125
92
  * @param {Number|String} $val - Padding value
126
93
  */
127
- @mixin px($val) {
128
- $val: format-unit-value($val);
129
-
130
- padding-inline: $val;
94
+ @mixin px($val) {
95
+ padding-inline: FN.fix-units($val);
131
96
  }
132
97
 
133
98
  /**
@@ -135,21 +100,17 @@
135
100
  * @description Sets vertical padding (top and bottom)
136
101
  * @param {Number|String} $val - Padding value
137
102
  */
138
- @mixin py($val) {
139
- $val: format-unit-value($val);
140
-
141
- padding-block: $val;
103
+ @mixin py($val) {
104
+ padding-block: FN.fix-units($val);
142
105
  }
143
-
106
+
144
107
  /**
145
108
  * @mixin pt
146
109
  * @description Sets padding-top
147
110
  * @param {Number|String} $val - Padding value
148
111
  */
149
- @mixin pt($val) {
150
- $val: format-unit-value($val);
151
-
152
- padding-top: $val;
112
+ @mixin pt($val) {
113
+ padding-top: FN.fix-units($val);
153
114
  }
154
115
 
155
116
  /**
@@ -157,10 +118,8 @@
157
118
  * @description Sets padding-right
158
119
  * @param {Number|String} $val - Padding value
159
120
  */
160
- @mixin pr($val) {
161
- $val: format-unit-value($val);
162
-
163
- padding-right: $val;
121
+ @mixin pr($val) {
122
+ padding-right: FN.fix-units($val);
164
123
  }
165
124
 
166
125
  /**
@@ -168,10 +127,8 @@
168
127
  * @description Sets padding-bottom
169
128
  * @param {Number|String} $val - Padding value
170
129
  */
171
- @mixin pb($val) {
172
- $val: format-unit-value($val);
173
-
174
- padding-bottom: $val;
130
+ @mixin pb($val) {
131
+ padding-bottom: FN.fix-units($val);
175
132
  }
176
133
 
177
134
  /**
@@ -179,10 +136,8 @@
179
136
  * @description Sets padding-left
180
137
  * @param {Number|String} $val - Padding value
181
138
  */
182
- @mixin pl($val) {
183
- $val: format-unit-value($val);
184
-
185
- padding-left: $val;
139
+ @mixin pl($val) {
140
+ padding-left: FN.fix-units($val);
186
141
  }
187
142
 
188
143
  // -----------------------------------------------
@@ -194,10 +149,8 @@
194
149
  * @description Sets margin on all sides
195
150
  * @param {Number|String} $val - Margin value
196
151
  */
197
- @mixin m($val) {
198
- $val: format-unit-value($val);
199
-
200
- margin: $val;
152
+ @mixin m($val) {
153
+ margin: FN.fix-units($val);
201
154
  }
202
155
 
203
156
  /**
@@ -205,10 +158,8 @@
205
158
  * @description Sets horizontal margin (left and right)
206
159
  * @param {Number|String} $val - Margin value
207
160
  */
208
- @mixin mx($val) {
209
- $val: format-unit-value($val);
210
-
211
- margin-inline: $val;
161
+ @mixin mx($val) {
162
+ margin-inline: FN.fix-units($val);
212
163
  }
213
164
 
214
165
  /**
@@ -216,10 +167,10 @@
216
167
  * @description Sets vertical margin (top and bottom)
217
168
  * @param {Number|String} $val - Margin value
218
169
  */
219
- @mixin my($val) {
220
- $val: format-unit-value($val);
170
+ @mixin my($val) {
171
+ $val: FN.fix-units($val);
221
172
 
222
- margin-block: $val;
173
+ margin-block: FN.fix-units($val);
223
174
  }
224
175
 
225
176
  /**
@@ -227,21 +178,17 @@
227
178
  * @description Sets margin-top
228
179
  * @param {Number|String} $val - Margin value
229
180
  */
230
- @mixin mt($val) {
231
- $val: format-unit-value($val);
232
-
233
- margin-top: $val;
181
+ @mixin mt($val) {
182
+ margin-top: FN.fix-units($val, VAR.$default-unit);
234
183
  }
235
184
 
236
185
  /**
237
186
  * @mixin mr
238
- * @description Sets margin-right
187
+ * @description Sets margin-right
239
188
  * @param {Number|String} $val - Margin value
240
189
  */
241
- @mixin mr($val) {
242
- $val: format-unit-value($val);
243
-
244
- margin-right: $val;
190
+ @mixin mr($val) {
191
+ margin-right: FN.fix-units($val);
245
192
  }
246
193
 
247
194
  /**
@@ -249,10 +196,8 @@
249
196
  * @description Sets margin-bottom
250
197
  * @param {Number|String} $val - Margin value
251
198
  */
252
- @mixin mb($val) {
253
- $val: format-unit-value($val);
254
-
255
- margin-bottom: $val;
199
+ @mixin mb($val) {
200
+ margin-bottom: FN.fix-units($val);
256
201
  }
257
202
 
258
203
  /**
@@ -260,30 +205,99 @@
260
205
  * @description Sets margin-left
261
206
  * @param {Number|String} $val - Margin value
262
207
  */
263
- @mixin ml($val) {
264
- $val: format-unit-value($val);
265
-
266
- margin-left: $val;
208
+ @mixin ml($val) {
209
+ margin-left: FN.fix-units($val);
267
210
  }
268
211
 
269
212
  /**
270
213
  * @mixin ml-auto
271
214
  * @description Sets margin-left to auto
272
215
  */
273
- @mixin ml-auto { margin-left: auto; }
216
+ @mixin ml-auto {
217
+ margin-left: auto;
218
+ }
274
219
 
275
220
  /**
276
221
  * @mixin mr-auto
277
222
  * @description Sets margin-right to auto
278
223
  */
279
- @mixin mr-auto { margin-right: auto; }
224
+ @mixin mr-auto {
225
+ margin-right: auto;
226
+ }
280
227
 
281
228
  /**
282
229
  * @mixin mx-auto
283
230
  * @description Centers element horizontally using auto margins
284
231
  */
285
- @mixin mx-auto { @include ml-auto; @include mr-auto; }
232
+ @mixin mx-auto {
233
+ @include ml-auto;
234
+ @include mr-auto;
235
+ }
286
236
 
237
+ // -----------------------------------------------
238
+ // INSET MIXINS
239
+ // -----------------------------------------------
240
+
241
+ /**
242
+ * @mixin inset
243
+ * @description Sets all inset properties (top, right, bottom, left)
244
+ * @param {Number|String} $val - Inset value
245
+ */
246
+ @mixin inset($val) {
247
+ $val: FN.fix-units($val);
248
+
249
+ inset: FN.fix-units($val);
250
+ }
251
+
252
+ /**
253
+ * @mixin inset-x
254
+ * @description Sets horizontal inset properties (left and right)
255
+ * @param {Number|String} $val - Inset value
256
+ */
257
+ @mixin inset-x($val) {
258
+ $val: FN.fix-units($val);
259
+
260
+ left: $val;
261
+ right: $val;
262
+ }
263
+
264
+ /**
265
+ * @mixin inset-y
266
+ * @description Sets vertical inset properties (top and bottom)
267
+ * @param {Number|String} $val - Inset value
268
+ */
269
+ @mixin inset-y($val) {
270
+ $val: FN.fix-units($val);
271
+
272
+ top: $val;
273
+ bottom: $val;
274
+ }
275
+
276
+ /**
277
+ * @mixin inset-auto
278
+ * @description Sets all inset properties to auto
279
+ */
280
+ @mixin inset-auto {
281
+ inset: auto;
282
+ }
283
+
284
+ /**
285
+ * @mixin inset-x-auto
286
+ * @description Sets horizontal inset properties to auto
287
+ */
288
+ @mixin inset-x-auto {
289
+ left: auto;
290
+ right: auto;
291
+ }
292
+
293
+ /**
294
+ * @mixin inset-y-auto
295
+ * @description Sets vertical inset properties to auto
296
+ */
297
+ @mixin inset-y-auto {
298
+ top: auto;
299
+ bottom: auto;
300
+ }
287
301
 
288
302
  // -----------------------------------------------
289
303
  // SPACING MIXINS
@@ -296,22 +310,18 @@
296
310
  */
297
311
  @mixin space-y($i) {
298
312
  & > * + * {
299
- $i: format-unit-value($i);
300
-
301
- margin-top: $i;
313
+ margin-top: FN.fix-units($i);
302
314
  }
303
315
  }
304
316
 
305
- /**
317
+ /**
306
318
  * @mixin space-x
307
319
  * @description Adds horizontal spacing between direct children
308
320
  * @param {Number|String} $i - Space amount
309
321
  */
310
322
  @mixin space-x($i) {
311
323
  & > * + * {
312
- $i: format-unit-value($i);
313
-
314
- margin-left: $i;
324
+ margin-left: FN.fix-units($i);
315
325
  }
316
326
  }
317
327
 
@@ -324,108 +334,246 @@
324
334
  * @description Sets gap between grid/flex children
325
335
  * @param {Number|String} $val - Gap value
326
336
  */
327
- @mixin gap($val) { $val: format-unit-value($val); gap: $val; }
337
+ @mixin gap($val) {
338
+ gap: FN.fix-units($val);
339
+ }
328
340
 
329
- /**
341
+ /**
330
342
  * @mixin gap-x
331
343
  * @description Sets horizontal gap between grid/flex children
332
344
  * @param {Number|String} $val - Gap value
333
345
  */
334
- @mixin gap-x($val) { $val: format-unit-value($val); column-gap: $val; }
335
-
336
- /**
346
+ @mixin gap-x($val) {
347
+ column-gap: FN.fix-units($val);
348
+ }
349
+
350
+ /**
337
351
  * @mixin gap-y
338
352
  * @description Sets vertical gap between grid/flex children
339
353
  * @param {Number|String} $val - Gap value
340
354
  */
341
- @mixin gap-y($val) { $val: format-unit-value($val); row-gap: $val; }
355
+ @mixin gap-y($val) {
356
+ row-gap: FN.fix-units($val);
357
+ }
342
358
 
343
- @if $generate-utility-classes {
359
+ @if VAR.$generate-utility-classes {
344
360
  // -----------------------------------------------
345
361
  // AUTO MARGIN UTILITY CLASSES
346
362
  // -----------------------------------------------
347
363
 
348
- .mx-auto { @include mx-auto; }
349
- .ml-auto { @include ml-auto; }
350
- .mr-auto { @include mr-auto; }
364
+ #{VAR.$parent-selector} .mx-auto {
365
+ @include mx-auto;
366
+ }
367
+
368
+ #{VAR.$parent-selector} .ml-auto {
369
+ @include ml-auto;
370
+ }
371
+
372
+ #{VAR.$parent-selector} .mr-auto {
373
+ @include mr-auto;
374
+ }
351
375
 
352
376
  // -----------------------------------------------
353
377
  // GAP AUTO CLASS
354
378
  // -----------------------------------------------
355
379
 
356
- .gap-auto { gap: auto; }
380
+ #{VAR.$parent-selector} .gap-auto {
381
+ gap: auto;
382
+ }
383
+
384
+ // Auto inset utility classes
385
+ #{VAR.$parent-selector} .inset-auto {
386
+ @include inset-auto;
387
+ }
388
+
389
+ #{VAR.$parent-selector} .inset-x-auto {
390
+ @include inset-x-auto;
391
+ }
392
+
393
+ #{VAR.$parent-selector} .inset-y-auto {
394
+ @include inset-y-auto;
395
+ }
357
396
 
358
397
  // -----------------------------------------------
359
398
  // SPACING CLASSES
360
399
  // -----------------------------------------------
361
400
 
362
- @each $key, $value in $spacings {
363
- // Padding classes
364
- .p-#{$key} { @include p($value); }
365
- .px-#{$key} { @include px($value); }
366
- .py-#{$key} { @include py($value); }
367
- .pt-#{$key} { @include pt($value); }
368
- .pr-#{$key} { @include pr($value); }
369
- .pb-#{$key} { @include pb($value); }
370
- .pl-#{$key} { @include pl($value); }
371
-
372
- // Margin classes
373
- .m-#{$key} { @include m($value); }
374
- .mx-#{$key} { @include mx($value); }
375
- .my-#{$key} { @include my($value); }
376
- .mt-#{$key} { @include mt($value); }
377
- .mr-#{$key} { @include mr($value); }
378
- .mb-#{$key} { @include mb($value); }
379
- .ml-#{$key} { @include ml($value); }
380
-
381
- // Gap classes
382
- .gap-#{$key} { @include gap($value); }
383
- .gap-x-#{$key} { @include gap-x($value); }
384
- .gap-y-#{$key} { @include gap-y($value); }
385
-
386
- // Space classes
387
- .space-x-#{$key} { @include space-x($value); }
388
- .space-y-#{$key} { @include space-y($value); }
389
- }
401
+ @each $key, $value in VAR.$spacings {
402
+ // Padding classes
403
+ #{VAR.$parent-selector} .p-#{$key} {
404
+ @include p($value);
405
+ }
406
+ #{VAR.$parent-selector} .px-#{$key} {
407
+ @include px($value);
408
+ }
409
+ #{VAR.$parent-selector} .py-#{$key} {
410
+ @include py($value);
411
+ }
412
+ #{VAR.$parent-selector} .pt-#{$key} {
413
+ @include pt($value);
414
+ }
415
+ #{VAR.$parent-selector} .pr-#{$key} {
416
+ @include pr($value);
417
+ }
418
+ #{VAR.$parent-selector} .pb-#{$key} {
419
+ @include pb($value);
420
+ }
421
+ #{VAR.$parent-selector} .pl-#{$key} {
422
+ @include pl($value);
423
+ }
424
+
425
+ // Margin classes
426
+ #{VAR.$parent-selector} .m-#{$key} {
427
+ @include m($value);
428
+ }
429
+ #{VAR.$parent-selector} .mx-#{$key} {
430
+ @include mx($value);
431
+ }
432
+ #{VAR.$parent-selector} .my-#{$key} {
433
+ @include my($value);
434
+ }
435
+ #{VAR.$parent-selector} .mt-#{$key} {
436
+ @include mt($value);
437
+ }
438
+ #{VAR.$parent-selector} .mr-#{$key} {
439
+ @include mr($value);
440
+ }
441
+ #{VAR.$parent-selector} .mb-#{$key} {
442
+ @include mb($value);
443
+ }
444
+ #{VAR.$parent-selector} .ml-#{$key} {
445
+ @include ml($value);
446
+ }
390
447
 
448
+ // Gap classes
449
+ #{VAR.$parent-selector} .gap-#{$key} {
450
+ @include gap($value);
451
+ }
452
+ #{VAR.$parent-selector} .gap-x-#{$key} {
453
+ @include gap-x($value);
454
+ }
455
+ #{VAR.$parent-selector} .gap-y-#{$key} {
456
+ @include gap-y($value);
457
+ }
458
+
459
+ // Space classes
460
+ #{VAR.$parent-selector} .space-x-#{$key} {
461
+ @include space-x($value);
462
+ }
463
+ #{VAR.$parent-selector} .space-y-#{$key} {
464
+ @include space-y($value);
465
+ }
466
+
467
+ #{VAR.$parent-selector} .inset-#{$key} {
468
+ @include inset($value);
469
+ }
470
+ #{VAR.$parent-selector} .inset-x-#{$key} {
471
+ @include inset-x($value);
472
+ }
473
+ #{VAR.$parent-selector} .inset-y-#{$key} {
474
+ @include inset-y($value);
475
+ }
476
+ }
391
477
 
392
478
  // -----------------------------------------------
393
479
  // RESPONSIVE SPACING CLASSES
394
480
  // -----------------------------------------------
395
481
 
396
- @each $breakpoint, $width in $breakpoints {
482
+ @each $breakpoint, $width in VAR.$breakpoints {
397
483
  @media (min-width: #{$width}) {
398
- .mx-auto\@#{$breakpoint} { @include mx-auto; }
399
- .ml-auto\@#{$breakpoint} { @include ml-auto; }
400
- .mr-auto\@#{$breakpoint} { @include mr-auto; }
484
+ #{VAR.$parent-selector} .mx-auto\@#{$breakpoint} {
485
+ @include mx-auto;
486
+ }
487
+ #{VAR.$parent-selector} .ml-auto\@#{$breakpoint} {
488
+ @include ml-auto;
489
+ }
490
+ #{VAR.$parent-selector} .mr-auto\@#{$breakpoint} {
491
+ @include mr-auto;
492
+ }
493
+ #{VAR.$parent-selector} .inset-auto\@#{$breakpoint} {
494
+ @include inset-auto;
495
+ }
496
+ #{VAR.$parent-selector} .inset-x-auto\@#{$breakpoint} {
497
+ @include inset-x-auto;
498
+ }
499
+ #{VAR.$parent-selector} .inset-y-auto\@#{$breakpoint} {
500
+ @include inset-y-auto;
501
+ }
401
502
 
402
503
  // Generate utilities from spacing map
403
- @each $key, $value in $spacings {
504
+ @each $key, $value in VAR.$spacings {
404
505
  // Padding classes
405
- .p-#{$key}\@#{$breakpoint} { @include p($value); }
406
- .px-#{$key}\@#{$breakpoint} { @include px($value); }
407
- .py-#{$key}\@#{$breakpoint} { @include py($value); }
408
- .pt-#{$key}\@#{$breakpoint} { @include pt($value); }
409
- .pr-#{$key}\@#{$breakpoint} { @include pr($value); }
410
- .pb-#{$key}\@#{$breakpoint} { @include pb($value); }
411
- .pl-#{$key}\@#{$breakpoint} { @include pl($value); }
506
+ #{VAR.$parent-selector} .p-#{$key}\@#{$breakpoint} {
507
+ @include p($value);
508
+ }
509
+ #{VAR.$parent-selector} .px-#{$key}\@#{$breakpoint} {
510
+ @include px($value);
511
+ }
512
+ #{VAR.$parent-selector} .py-#{$key}\@#{$breakpoint} {
513
+ @include py($value);
514
+ }
515
+ #{VAR.$parent-selector} .pt-#{$key}\@#{$breakpoint} {
516
+ @include pt($value);
517
+ }
518
+ #{VAR.$parent-selector} .pr-#{$key}\@#{$breakpoint} {
519
+ @include pr($value);
520
+ }
521
+ #{VAR.$parent-selector} .pb-#{$key}\@#{$breakpoint} {
522
+ @include pb($value);
523
+ }
524
+ #{VAR.$parent-selector} .pl-#{$key}\@#{$breakpoint} {
525
+ @include pl($value);
526
+ }
412
527
 
413
528
  // Margin classes
414
- .m-#{$key}\@#{$breakpoint} { @include m($value); }
415
- .mx-#{$key}\@#{$breakpoint} { @include mx($value); }
416
- .my-#{$key}\@#{$breakpoint} { @include my($value); }
417
- .mt-#{$key}\@#{$breakpoint} { @include mt($value); }
418
- .mr-#{$key}\@#{$breakpoint} { @include mr($value); }
419
- .mb-#{$key}\@#{$breakpoint} { @include mb($value); }
420
- .ml-#{$key}\@#{$breakpoint} { @include ml($value); }
421
-
422
- .gap-#{$key}\@#{$breakpoint} { gap: $value; }
423
- .gap-x-#{$key}\@#{$breakpoint} { column-gap: $value; }
424
- .gap-y-#{$key}\@#{$breakpoint} { row-gap: $value; }
425
-
529
+ #{VAR.$parent-selector} .m-#{$key}\@#{$breakpoint} {
530
+ @include m($value);
531
+ }
532
+ #{VAR.$parent-selector} .mx-#{$key}\@#{$breakpoint} {
533
+ @include mx($value);
534
+ }
535
+ #{VAR.$parent-selector} .my-#{$key}\@#{$breakpoint} {
536
+ @include my($value);
537
+ }
538
+ #{VAR.$parent-selector} .mt-#{$key}\@#{$breakpoint} {
539
+ @include mt($value);
540
+ }
541
+ #{VAR.$parent-selector} .mr-#{$key}\@#{$breakpoint} {
542
+ @include mr($value);
543
+ }
544
+ #{VAR.$parent-selector} .mb-#{$key}\@#{$breakpoint} {
545
+ @include mb($value);
546
+ }
547
+ #{VAR.$parent-selector} .ml-#{$key}\@#{$breakpoint} {
548
+ @include ml($value);
549
+ }
550
+
551
+ #{VAR.$parent-selector} .gap-#{$key}\@#{$breakpoint} {
552
+ gap: $value;
553
+ }
554
+ #{VAR.$parent-selector} .gap-x-#{$key}\@#{$breakpoint} {
555
+ column-gap: $value;
556
+ }
557
+ #{VAR.$parent-selector} .gap-y-#{$key}\@#{$breakpoint} {
558
+ row-gap: $value;
559
+ }
560
+
426
561
  // Space classes
427
- .space-x-#{$key}\@#{$breakpoint} { @include space-x($value); }
428
- .space-y-#{$key}\@#{$breakpoint} { @include space-y($value); }
562
+ #{VAR.$parent-selector} .space-x-#{$key}\@#{$breakpoint} {
563
+ @include space-x($value);
564
+ }
565
+ #{VAR.$parent-selector} .space-y-#{$key}\@#{$breakpoint} {
566
+ @include space-y($value);
567
+ }
568
+ #{VAR.$parent-selector} .inset-#{$key}\@#{$breakpoint} {
569
+ @include inset($value);
570
+ }
571
+ #{VAR.$parent-selector} .inset-x-#{$key}\@#{$breakpoint} {
572
+ @include inset-x($value);
573
+ }
574
+ #{VAR.$parent-selector} .inset-y-#{$key}\@#{$breakpoint} {
575
+ @include inset-y($value);
576
+ }
429
577
  }
430
578
  }
431
579
  }