@react-md/core 1.0.0-next.5 → 1.0.0-next.7

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 (75) hide show
  1. package/.turbo/turbo-build.log +5 -5
  2. package/.turbo/turbo-lint.log +12 -0
  3. package/CHANGELOG.md +12 -0
  4. package/dist/_core.scss +157 -240
  5. package/dist/_utils.scss +10 -0
  6. package/dist/app-bar/_app-bar.scss +95 -93
  7. package/dist/avatar/_avatar.scss +49 -47
  8. package/dist/badge/_badge.scss +19 -17
  9. package/dist/box/_box.scss +57 -55
  10. package/dist/button/_button.scss +122 -120
  11. package/dist/card/_card.scss +72 -70
  12. package/dist/chip/_chip.scss +105 -103
  13. package/dist/dialog/_dialog.scss +128 -126
  14. package/dist/divider/_divider.scss +24 -22
  15. package/dist/draggable/_draggable.scss +16 -12
  16. package/dist/expansion-panel/_expansion-panel.scss +69 -52
  17. package/dist/form/Form.d.ts +1 -1
  18. package/dist/form/Form.js +2 -1
  19. package/dist/form/Form.js.map +1 -1
  20. package/dist/form/_form.scss +1175 -1128
  21. package/dist/icon/_icon.scss +64 -62
  22. package/dist/interaction/_interaction.scss +39 -35
  23. package/dist/layout/_layout.scss +68 -67
  24. package/dist/link/_link.scss +52 -50
  25. package/dist/list/_list.scss +124 -122
  26. package/dist/menu/_menu.scss +9 -7
  27. package/dist/overlay/_overlay.scss +25 -23
  28. package/dist/progress/_progress.scss +11 -6
  29. package/dist/responsive-item/_responsive-item.scss +91 -89
  30. package/dist/segmented-button/_segmented-button.scss +54 -49
  31. package/dist/sheet/_sheet.scss +84 -82
  32. package/dist/snackbar/_snackbar.scss +128 -123
  33. package/dist/table/_table.scss +159 -157
  34. package/dist/tabs/_tabs.scss +10 -8
  35. package/dist/tooltip/_tooltip.scss +60 -58
  36. package/dist/transition/_transition.scss +44 -39
  37. package/dist/tree/_tree.scss +83 -81
  38. package/dist/typography/_typography.scss +58 -49
  39. package/dist/window-splitter/_window-splitter.scss +72 -70
  40. package/package.json +1 -1
  41. package/src/_core.scss +157 -240
  42. package/src/_utils.scss +10 -0
  43. package/src/app-bar/_app-bar.scss +95 -93
  44. package/src/avatar/_avatar.scss +49 -47
  45. package/src/badge/_badge.scss +19 -17
  46. package/src/box/_box.scss +57 -55
  47. package/src/button/_button.scss +122 -120
  48. package/src/card/_card.scss +72 -70
  49. package/src/chip/_chip.scss +105 -103
  50. package/src/dialog/_dialog.scss +128 -126
  51. package/src/divider/_divider.scss +24 -22
  52. package/src/draggable/_draggable.scss +16 -12
  53. package/src/expansion-panel/_expansion-panel.scss +69 -52
  54. package/src/form/Form.tsx +2 -1
  55. package/src/form/_form.scss +1175 -1128
  56. package/src/icon/_icon.scss +64 -62
  57. package/src/interaction/_interaction.scss +39 -35
  58. package/src/layout/_layout.scss +68 -67
  59. package/src/link/_link.scss +52 -50
  60. package/src/list/_list.scss +124 -122
  61. package/src/menu/_menu.scss +9 -7
  62. package/src/overlay/_overlay.scss +25 -23
  63. package/src/progress/_progress.scss +11 -6
  64. package/src/responsive-item/_responsive-item.scss +91 -89
  65. package/src/segmented-button/_segmented-button.scss +54 -49
  66. package/src/sheet/_sheet.scss +84 -82
  67. package/src/snackbar/_snackbar.scss +128 -123
  68. package/src/table/_table.scss +159 -157
  69. package/src/tabs/_tabs.scss +10 -8
  70. package/src/tooltip/_tooltip.scss +60 -58
  71. package/src/transition/_transition.scss +44 -39
  72. package/src/tree/_tree.scss +83 -81
  73. package/src/typography/_typography.scss +58 -49
  74. package/src/window-splitter/_window-splitter.scss +72 -70
  75. package/tsconfig.json +2 -2
package/src/_core.scss CHANGED
@@ -140,160 +140,162 @@ $_layer-order: (
140
140
  }
141
141
  }
142
142
 
143
- @mixin css-utils {
144
- .rmd-display-none {
145
- display: none !important;
146
- }
143
+ @mixin css-utils($disable-layer: false) {
144
+ @include utils.optional-layer(utils, $disable-layer) {
145
+ .rmd-display-none {
146
+ display: none !important;
147
+ }
147
148
 
148
- .rmd-sr-only {
149
- @include utils.sr-only(true);
150
- }
149
+ .rmd-sr-only {
150
+ @include utils.sr-only(true);
151
+ }
151
152
 
152
- .rmd-phone-sr-only {
153
- @include media-queries.phone-media {
154
- @include utils.sr-only;
153
+ .rmd-phone-sr-only {
154
+ @include media-queries.phone-media {
155
+ @include utils.sr-only;
156
+ }
155
157
  }
156
- }
157
158
 
158
- .rmd-outline {
159
- // inset box-shadow is faded on the lower right half? use outline instead
160
- outline: theme.theme-get-var(outline-width) solid
161
- theme.theme-get-var(outline-color);
162
- outline-offset: utils.negate-var(theme.theme-get-var(outline-width));
163
- }
159
+ .rmd-outline {
160
+ // inset box-shadow is faded on the lower right half? use outline instead
161
+ outline: theme.theme-get-var(outline-width) solid
162
+ theme.theme-get-var(outline-color);
163
+ outline-offset: utils.negate-var(theme.theme-get-var(outline-width));
164
+ }
164
165
 
165
- .rmd-greyscale-outline {
166
- @include theme.theme-set-var(outline-color, outline-grey-color);
167
- }
166
+ .rmd-greyscale-outline {
167
+ @include theme.theme-set-var(outline-color, outline-grey-color);
168
+ }
168
169
 
169
- .rmd-background-container {
170
- @include theme.theme-use-var(background-color);
171
- @include theme.theme-use-var(color, on-background-color, currentcolor);
172
- }
170
+ .rmd-background-container {
171
+ @include theme.theme-use-var(background-color);
172
+ @include theme.theme-use-var(color, on-background-color, currentcolor);
173
+ }
173
174
 
174
- @each $color in (primary, secondary, warning, success, error) {
175
- $theme-name: $color + "-color";
176
- $on-theme-name: "on-" + $theme-name;
175
+ @each $color in (primary, secondary, warning, success, error) {
176
+ $theme-name: $color + "-color";
177
+ $on-theme-name: "on-" + $theme-name;
177
178
 
178
- .rmd-#{$color}-container {
179
- @include theme.theme-set-var(background-color, $theme-name);
180
- @include theme.theme-set-var(on-background-color, $on-theme-name);
181
- }
179
+ .rmd-#{$color}-container {
180
+ @include theme.theme-set-var(background-color, $theme-name);
181
+ @include theme.theme-set-var(on-background-color, $on-theme-name);
182
+ }
182
183
 
183
- .rmd-#{$theme-name} {
184
- @include theme.theme-use-var(color, $theme-name);
185
- }
184
+ .rmd-#{$theme-name} {
185
+ @include theme.theme-use-var(color, $theme-name);
186
+ }
186
187
 
187
- .rmd-#{$on-theme-name} {
188
- @include theme.theme-use-var(color, $on-theme-name);
189
- }
188
+ .rmd-#{$on-theme-name} {
189
+ @include theme.theme-use-var(color, $on-theme-name);
190
+ }
190
191
 
191
- .rmd-#{$color}-outline {
192
- @include theme.theme-set-var(outline-color, $theme-name);
192
+ .rmd-#{$color}-outline {
193
+ @include theme.theme-set-var(outline-color, $theme-name);
194
+ }
193
195
  }
194
- }
195
196
 
196
- @each $color in (primary, secondary, hint, disabled) {
197
- .rmd-text-#{$color}-color {
198
- @include theme.theme-use-var(color, text-#{$color}-color);
197
+ @each $color in (primary, secondary, hint, disabled) {
198
+ .rmd-text-#{$color}-color {
199
+ @include theme.theme-use-var(color, text-#{$color}-color);
200
+ }
199
201
  }
200
- }
201
202
 
202
- .rmd-light-surface {
203
- @include interaction.use-light-surface;
204
- @include theme.theme-set-var(
205
- text-primary-color,
206
- theme.$light-theme-text-primary-color
207
- );
208
- @include theme.theme-set-var(
209
- text-secondary-color,
210
- theme.$light-theme-text-secondary-color
211
- );
212
- @include theme.theme-set-var(
213
- text-hint-color,
214
- theme.$light-theme-text-hint-color
215
- );
216
- @include theme.theme-set-var(
217
- text-disabled-color,
218
- theme.$dark-theme-text-disabled-color
219
- );
220
- }
203
+ .rmd-light-surface {
204
+ @include interaction.use-light-surface;
205
+ @include theme.theme-set-var(
206
+ text-primary-color,
207
+ theme.$light-theme-text-primary-color
208
+ );
209
+ @include theme.theme-set-var(
210
+ text-secondary-color,
211
+ theme.$light-theme-text-secondary-color
212
+ );
213
+ @include theme.theme-set-var(
214
+ text-hint-color,
215
+ theme.$light-theme-text-hint-color
216
+ );
217
+ @include theme.theme-set-var(
218
+ text-disabled-color,
219
+ theme.$dark-theme-text-disabled-color
220
+ );
221
+ }
221
222
 
222
- .rmd-dark-surface {
223
- @include interaction.use-dark-surface;
224
- @include theme.theme-set-var(
225
- text-primary-color,
226
- theme.$dark-theme-text-primary-color
227
- );
228
- @include theme.theme-set-var(
229
- text-secondary-color,
230
- theme.$dark-theme-text-secondary-color
231
- );
232
- @include theme.theme-set-var(
233
- text-hint-color,
234
- theme.$dark-theme-text-hint-color
235
- );
236
- @include theme.theme-set-var(
237
- text-disabled-color,
238
- theme.$dark-theme-text-disabled-color
239
- );
240
- }
223
+ .rmd-dark-surface {
224
+ @include interaction.use-dark-surface;
225
+ @include theme.theme-set-var(
226
+ text-primary-color,
227
+ theme.$dark-theme-text-primary-color
228
+ );
229
+ @include theme.theme-set-var(
230
+ text-secondary-color,
231
+ theme.$dark-theme-text-secondary-color
232
+ );
233
+ @include theme.theme-set-var(
234
+ text-hint-color,
235
+ theme.$dark-theme-text-hint-color
236
+ );
237
+ @include theme.theme-set-var(
238
+ text-disabled-color,
239
+ theme.$dark-theme-text-disabled-color
240
+ );
241
+ }
241
242
 
242
- .rmd-no-margin {
243
- margin: 0;
244
- }
243
+ .rmd-no-margin {
244
+ margin: 0;
245
+ }
245
246
 
246
- .rmd-no-margin-top {
247
- margin-top: 0;
248
- }
247
+ .rmd-no-margin-top {
248
+ margin-top: 0;
249
+ }
249
250
 
250
- .rmd-no-margin-bottom {
251
- margin-bottom: 0;
252
- }
251
+ .rmd-no-margin-bottom {
252
+ margin-bottom: 0;
253
+ }
253
254
 
254
- .rmd-centered {
255
- margin: 0 auto;
256
- }
255
+ .rmd-centered {
256
+ margin: 0 auto;
257
+ }
257
258
 
258
- .rmd-nowrap {
259
- white-space: nowrap;
260
- }
259
+ .rmd-nowrap {
260
+ white-space: nowrap;
261
+ }
261
262
 
262
- .rmd-ellipsis {
263
- @include typography.text-overflow(null);
264
- }
263
+ .rmd-ellipsis {
264
+ @include typography.text-overflow(null);
265
+ }
265
266
 
266
- @each $alignment in typography.$text-alignments {
267
- .rmd-align-#{$alignment} {
268
- @if $alignment != center {
269
- @include utils.auto-rtl(text-align, $alignment);
270
- } @else {
271
- text-align: $alignment;
267
+ @each $alignment in typography.$text-alignments {
268
+ .rmd-align-#{$alignment} {
269
+ @if $alignment != center {
270
+ @include utils.auto-rtl(text-align, $alignment);
271
+ } @else {
272
+ text-align: $alignment;
273
+ }
272
274
  }
273
275
  }
274
- }
275
276
 
276
- @each $decoration in typography.$text-decorations {
277
- .rmd-#{$decoration} {
278
- text-decoration: $decoration;
277
+ @each $decoration in typography.$text-decorations {
278
+ .rmd-#{$decoration} {
279
+ text-decoration: $decoration;
280
+ }
279
281
  }
280
- }
281
282
 
282
- @each $transform in typography.$text-transforms {
283
- .rmd-#{$transform} {
284
- text-transform: $transform;
283
+ @each $transform in typography.$text-transforms {
284
+ .rmd-#{$transform} {
285
+ text-transform: $transform;
286
+ }
285
287
  }
286
- }
287
288
 
288
- @each $font-style in typography.$font-styles {
289
- .rmd-#{$font-style} {
290
- font-style: $font-style;
289
+ @each $font-style in typography.$font-styles {
290
+ .rmd-#{$font-style} {
291
+ font-style: $font-style;
292
+ }
291
293
  }
292
- }
293
294
 
294
- @each $name, $font-weight in typography.$font-weights {
295
- .rmd-#{$name} {
296
- font-weight: $font-weight;
295
+ @each $name, $font-weight in typography.$font-weights {
296
+ .rmd-#{$name} {
297
+ font-weight: $font-weight;
298
+ }
297
299
  }
298
300
  }
299
301
  }
@@ -363,124 +365,39 @@ $_layer-order: (
363
365
  @include css-reset;
364
366
 
365
367
  @layer #{$_layer-order};
366
- @layer utils {
367
- @include css-utils;
368
- }
369
-
370
- @layer app-bar {
371
- @include app-bar.styles;
372
- }
373
- @layer avatar {
374
- @include avatar.styles;
375
- }
376
- @layer badge {
377
- @include badge.styles;
378
- }
379
- @layer box {
380
- @include box.styles;
381
- }
382
- @layer button {
383
- @include button.styles;
384
- }
385
- @layer card {
386
- @include card.styles;
387
- }
388
- @layer chip {
389
- @include chip.styles;
390
- }
391
-
392
- @layer dialog {
393
- @include dialog.styles;
394
- }
395
- @layer divider {
396
- @include divider.styles;
397
- }
398
- @layer draggable {
399
- @include draggable.styles;
400
- }
401
- @layer expansion-panel {
402
- @include expansion-panel.styles;
403
- }
404
-
405
- @layer form {
406
- @include form.styles;
407
- }
408
-
409
- @layer icon {
410
- @include icon.styles;
411
- }
412
-
413
- @layer interaction {
414
- @include interaction.styles;
415
- }
416
-
417
- @layer layout {
418
- @include layout.styles;
419
- }
420
-
421
- @layer link {
422
- @include link.styles;
423
- }
424
-
425
- @layer list {
426
- @include list.styles;
427
- }
428
-
429
- @layer menu {
430
- @include menu.styles;
431
- }
432
-
433
- @layer overlay {
434
- @include overlay.styles;
435
- }
436
-
437
- @layer progress {
438
- @include progress.styles;
439
- }
440
-
441
- @layer responsive-item {
442
- @include responsive-item.styles;
443
- }
444
-
445
- @layer segmented-button {
446
- @include segmented-button.styles;
447
- }
448
-
449
- @layer sheet {
450
- @include sheet.styles;
451
- }
452
-
453
- @layer snackbar {
454
- @include snackbar.styles;
455
- }
456
-
457
- @layer table {
458
- @include table.styles;
459
- }
460
-
461
- @layer tabs {
462
- @include tabs.styles;
463
- }
464
-
465
- @layer tooltip {
466
- @include tooltip.styles;
467
- }
468
-
469
- @layer transition {
470
- @include transition.transition-styles;
471
- }
472
-
473
- @layer tree {
474
- @include tree.styles;
475
- }
476
-
477
- @layer typography {
478
- @include typography.typography-styles;
479
- }
480
-
481
- @layer window-splitter {
482
- @include window-splitter.styles;
483
- }
368
+ @include css-utils;
369
+
370
+ @include app-bar.styles;
371
+ @include avatar.styles;
372
+ @include badge.styles;
373
+ @include box.styles;
374
+ @include button.styles;
375
+ @include card.styles;
376
+ @include chip.styles;
377
+ @include dialog.styles;
378
+ @include divider.styles;
379
+ @include draggable.styles;
380
+ @include expansion-panel.styles;
381
+ @include form.styles;
382
+ @include icon.styles;
383
+ @include interaction.styles;
384
+ @include layout.styles;
385
+ @include link.styles;
386
+ @include list.styles;
387
+ @include menu.styles;
388
+ @include overlay.styles;
389
+ @include progress.styles;
390
+ @include responsive-item.styles;
391
+ @include segmented-button.styles;
392
+ @include sheet.styles;
393
+ @include snackbar.styles;
394
+ @include table.styles;
395
+ @include tabs.styles;
396
+ @include tooltip.styles;
397
+ @include transition.transition-styles;
398
+ @include tree.styles;
399
+ @include typography.typography-styles;
400
+ @include window-splitter.styles;
484
401
 
485
402
  @if not theme.$disable-default-root-theme {
486
403
  :root {
package/src/_utils.scss CHANGED
@@ -336,3 +336,13 @@ $_swappable-properties: text-align;
336
336
  }
337
337
  }
338
338
  }
339
+
340
+ @mixin optional-layer($name, $disabled) {
341
+ @if $disabled {
342
+ @content;
343
+ } @else {
344
+ @layer #{$name} {
345
+ @content;
346
+ }
347
+ }
348
+ }
@@ -117,128 +117,130 @@ $variables: (height, surface-background-color, surface-color);
117
117
  }
118
118
  }
119
119
 
120
- @mixin styles {
120
+ @mixin styles($disable-layer: false) {
121
121
  @if not $disable-everything {
122
- @include theme.default-system-theme {
123
- @include use-dark-theme;
124
- }
122
+ @include utils.optional-layer(app-bar, $disable-layer) {
123
+ @include theme.default-system-theme {
124
+ @include use-dark-theme;
125
+ }
125
126
 
126
- .rmd-app-bar {
127
- @include use-var(height);
128
- @include box.set-var(gap, $gap);
129
- @include box.set-var(padding, $vertical-padding $horizontal-padding);
130
-
131
- // since app bars can appear a lot in full page dialogs, setting these flex
132
- // values allows it be be a direct replacement of the `DialogHeader`
133
- // component without all the offsets and additional styles needed for fixed
134
- // app bars.
135
- flex: 0 0 auto;
136
-
137
- @if not $disable-fixed or not $disable-sticky {
138
- &--fixed {
139
- left: 0;
140
- position: fixed;
141
- // Note: right and width were added to support the main navigation
142
- // behavior with toggleable full-height navigation
143
- right: 0;
144
- width: auto;
145
- z-index: $fixed-z-index;
146
- }
127
+ .rmd-app-bar {
128
+ @include use-var(height);
129
+ @include box.set-var(gap, $gap);
130
+ @include box.set-var(padding, $vertical-padding $horizontal-padding);
131
+
132
+ // since app bars can appear a lot in full page dialogs, setting these flex
133
+ // values allows it be be a direct replacement of the `DialogHeader`
134
+ // component without all the offsets and additional styles needed for fixed
135
+ // app bars.
136
+ flex: 0 0 auto;
137
+
138
+ @if not $disable-fixed or not $disable-sticky {
139
+ &--fixed {
140
+ left: 0;
141
+ position: fixed;
142
+ // Note: right and width were added to support the main navigation
143
+ // behavior with toggleable full-height navigation
144
+ right: 0;
145
+ width: auto;
146
+ z-index: $fixed-z-index;
147
+ }
147
148
 
148
- @if $fixed-elevation and $fixed-elevation != 0 {
149
- &--elevated {
150
- @include box-shadows.box-shadow(
151
- $fixed-elevation,
152
- $disable-colors: true
153
- );
149
+ @if $fixed-elevation and $fixed-elevation != 0 {
150
+ &--elevated {
151
+ @include box-shadows.box-shadow(
152
+ $fixed-elevation,
153
+ $disable-colors: true
154
+ );
155
+ }
154
156
  }
155
- }
156
157
 
157
- @each $position in $fixed-positions {
158
- &--#{$position} {
159
- #{$position}: 0;
158
+ @each $position in $fixed-positions {
159
+ &--#{$position} {
160
+ #{$position}: 0;
161
+ }
160
162
  }
161
- }
162
163
 
163
- @if not $disable-sticky {
164
- &--sticky {
165
- position: sticky;
164
+ @if not $disable-sticky {
165
+ &--sticky {
166
+ position: sticky;
167
+ }
166
168
  }
167
169
  }
168
- }
169
170
 
170
- &--auto {
171
- // do not set variable so that child AppBar can maintain their height as needed
172
- height: auto;
173
- }
174
-
175
- &--stacked {
176
- flex-direction: column;
177
- gap: 0;
178
- padding: 0;
179
- }
180
-
181
- @if not $disable-dense-theme {
182
- &--dense {
183
- @include set-var(height, $dense-height);
171
+ &--auto {
172
+ // do not set variable so that child AppBar can maintain their height as needed
173
+ height: auto;
184
174
  }
185
- }
186
175
 
187
- @if not $disable-prominent-theme {
188
- &--prominent {
189
- @include set-var(height, $prominent-height);
176
+ &--stacked {
177
+ flex-direction: column;
178
+ gap: 0;
179
+ padding: 0;
190
180
  }
191
- }
192
181
 
193
- @if not $disable-prominent-dense-theme {
194
- &--prominent-dense {
195
- @include set-var(height, $prominent-dense-height);
182
+ @if not $disable-dense-theme {
183
+ &--dense {
184
+ @include set-var(height, $dense-height);
185
+ }
196
186
  }
197
- }
198
187
 
199
- @if not $disable-surface-theme {
200
- &--surface {
201
- @include use-var(background-color, surface-background-color);
202
- @include use-var(color, surface-color);
188
+ @if not $disable-prominent-theme {
189
+ &--prominent {
190
+ @include set-var(height, $prominent-height);
191
+ }
203
192
  }
204
- }
205
193
 
206
- @if not $disable-scrollbar-offset {
207
- &--scrollbar-offset {
208
- @include utils.rtl {
209
- margin-right: calc(-1 * #{utils.scrollbar-size()});
194
+ @if not $disable-prominent-dense-theme {
195
+ &--prominent-dense {
196
+ @include set-var(height, $prominent-dense-height);
210
197
  }
198
+ }
211
199
 
212
- padding-right: calc(
213
- #{$horizontal-padding} + #{utils.scrollbar-size()}
214
- );
200
+ @if not $disable-surface-theme {
201
+ &--surface {
202
+ @include use-var(background-color, surface-background-color);
203
+ @include use-var(color, surface-color);
204
+ }
215
205
  }
216
206
 
217
- @if not $disable-static-scrollbar-offset {
218
- &--static-scrollbar-offset {
219
- width: calc(100% + utils.scrollbar-size());
207
+ @if not $disable-scrollbar-offset {
208
+ &--scrollbar-offset {
209
+ @include utils.rtl {
210
+ margin-right: calc(-1 * #{utils.scrollbar-size()});
211
+ }
212
+
213
+ padding-right: calc(
214
+ #{$horizontal-padding} + #{utils.scrollbar-size()}
215
+ );
216
+ }
217
+
218
+ @if not $disable-static-scrollbar-offset {
219
+ &--static-scrollbar-offset {
220
+ width: calc(100% + utils.scrollbar-size());
221
+ }
220
222
  }
221
223
  }
222
224
  }
223
- }
224
225
 
225
- @if not $disable-title {
226
- .rmd-app-bar-title {
227
- @include utils.auto-rtl(margin-left, $keyline - $horizontal-padding);
226
+ @if not $disable-title {
227
+ .rmd-app-bar-title {
228
+ @include utils.auto-rtl(margin-left, $keyline - $horizontal-padding);
228
229
 
229
- flex: 1 1 auto;
230
- margin-bottom: 0;
231
- margin-top: 0;
230
+ flex: 1 1 auto;
231
+ margin-bottom: 0;
232
+ margin-top: 0;
232
233
 
233
- &--keyline {
234
- @include utils.auto-rtl(
235
- margin-left,
236
- $title-keyline - $horizontal-padding
237
- );
238
- }
234
+ &--keyline {
235
+ @include utils.auto-rtl(
236
+ margin-left,
237
+ $title-keyline - $horizontal-padding
238
+ );
239
+ }
239
240
 
240
- &--nav-keyline {
241
- @include utils.auto-rtl(margin-left, $nav-keyline);
241
+ &--nav-keyline {
242
+ @include utils.auto-rtl(margin-left, $nav-keyline);
243
+ }
242
244
  }
243
245
  }
244
246
  }