@odx/ui 6.2.0 → 7.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 (40) hide show
  1. package/CHANGELOG.md +84 -0
  2. package/README.md +8 -2
  3. package/ag-grid-theme.css +1 -1
  4. package/core-theme.css +1 -1
  5. package/package.json +3 -3
  6. package/scss/3rdparty/ag-grid/theme.scss +243 -55
  7. package/scss/_breakpoints.scss +1 -0
  8. package/scss/_utils.scss +3 -3
  9. package/scss/abstract/_breakpoints.scss +1 -0
  10. package/scss/abstract/_typography.scss +1 -1
  11. package/scss/abstract/_utils.scss +3 -3
  12. package/scss/ag-grid/theme.scss +243 -55
  13. package/scss/breadcrumbs.component.scss +10 -6
  14. package/scss/button.component.scss +2 -2
  15. package/scss/calendar.component.scss +7 -3
  16. package/scss/components/breadcrumbs.component.scss +10 -6
  17. package/scss/components/button.component.scss +2 -2
  18. package/scss/components/calendar.component.scss +7 -3
  19. package/scss/components/form-field.component.scss +2 -2
  20. package/scss/components/icon.component.scss +4 -4
  21. package/scss/components/logo.component.scss +1 -1
  22. package/scss/components/main-menu.component.scss +1 -1
  23. package/scss/components/menu.component.scss +1 -1
  24. package/scss/components/paginator.component.scss +2 -2
  25. package/scss/form-field.component.scss +2 -2
  26. package/scss/icon.component.scss +4 -4
  27. package/scss/logo.component.scss +1 -1
  28. package/scss/main-menu.component.scss +1 -1
  29. package/scss/menu.component.scss +1 -1
  30. package/scss/paginator.component.scss +2 -2
  31. package/scss/theme.scss +243 -55
  32. package/scss/assets/fonts/draeger-pangea-text-medium.woff2 +0 -0
  33. package/scss/assets/fonts/draeger-pangea-text-regular.woff2 +0 -0
  34. package/scss/assets/fonts/draeger-pangea-text-semibold.woff2 +0 -0
  35. package/scss/assets/images/favicon-16x16.png +0 -0
  36. package/scss/assets/images/favicon-16x16.svg +0 -1
  37. package/scss/assets/images/favicon-32x32.png +0 -0
  38. package/scss/assets/images/favicon-32x32.svg +0 -1
  39. package/scss/assets/images/favicon.ico +0 -0
  40. package/scss/assets/images/logo.svg +0 -6
@@ -1,9 +1,9 @@
1
- @use '@odx/icons/core/core-utils' as icons;
2
1
  @use '../../abstract/dimensions';
3
2
  @use '../../abstract/typography';
4
3
  @use '../../abstract/motion';
5
4
  @use '../../abstract/utils';
6
5
  @use 'sass:math';
6
+ @use '@odx/icons/scss' as odxIcons;
7
7
 
8
8
  .ag-theme-odx {
9
9
  --ag-border-color: var(--odx-c-separator);
@@ -21,60 +21,6 @@
21
21
  --ag-font-family: var(--odx-typography-font-family);
22
22
  --ag-font-size: var(--odx-typography-base-size);
23
23
 
24
- --ag-icon-size: #{typography.get-font-size(1)};
25
- --ag-icon-font-family: #{icons.get-font-family()};
26
- --ag-icon-font-code-aggregation: '#{icons.get-icon-glyph(aggregation)}';
27
- --ag-icon-font-code-arrows: '#{icons.get-icon-glyph(chevrons)}';
28
- --ag-icon-font-code-asc: '#{icons.get-icon-glyph(ascending)}';
29
- --ag-icon-font-code-cancel: '#{icons.get-icon-glyph(close)}';
30
- --ag-icon-font-code-chart: '#{icons.get-icon-glyph(placeholder)}';
31
- --ag-icon-font-code-checkbox-checked: '#{icons.get-icon-glyph(check)}';
32
- --ag-icon-font-code-checkbox-indeterminate: '#{icons.get-icon-glyph(minus)}';
33
- --ag-icon-font-code-checkbox-unchecked: '';
34
- --ag-icon-font-code-color-picker: '#{icons.get-icon-glyph(colorpicker)}';
35
- --ag-icon-font-code-columns: '#{icons.get-icon-glyph(column)}';
36
- --ag-icon-font-code-contracted: '#{icons.get-icon-glyph(chevron-right)}';
37
- --ag-icon-font-code-copy: '#{icons.get-icon-glyph(copy-content)}';
38
- --ag-icon-font-code-cut: '#{icons.get-icon-glyph(cut)}';
39
- --ag-icon-font-code-cross: '#{icons.get-icon-glyph(close)}';
40
- --ag-icon-font-code-csv: '#{icons.get-icon-glyph(file)}';
41
- --ag-icon-font-code-desc: '#{icons.get-icon-glyph(descending)}';
42
- --ag-icon-font-code-excel: '#{icons.get-icon-glyph(file-excel)}';
43
- --ag-icon-font-code-expanded: '#{icons.get-icon-glyph(chevron-left)}';
44
- --ag-icon-font-code-eye-slash: '#{icons.get-icon-glyph(view-off)}';
45
- --ag-icon-font-code-eye: '#{icons.get-icon-glyph(view)}';
46
- --ag-icon-font-code-filter: '#{icons.get-icon-glyph(filter)}';
47
- --ag-icon-font-code-first: '#{icons.get-icon-glyph(chevron-left-end)}';
48
- --ag-icon-font-code-grip: '#{icons.get-icon-glyph(placeholder)}';
49
- --ag-icon-font-code-group: '#{icons.get-icon-glyph(group)}';
50
- --ag-icon-font-code-last: '#{icons.get-icon-glyph(chevron-right-end)}';
51
- --ag-icon-font-code-left: '#{icons.get-icon-glyph(arrow-left)}';
52
- --ag-icon-font-code-linked: '#{icons.get-icon-glyph(placeholder)}';
53
- --ag-icon-font-code-loading: '#{icons.get-icon-glyph(loading)}';
54
- --ag-icon-font-code-maximize: '#{icons.get-icon-glyph(maximize)}';
55
- --ag-icon-font-code-menu: '#{icons.get-icon-glyph(menu)}';
56
- --ag-icon-font-code-minimize: '#{icons.get-icon-glyph(minimize)}';
57
- --ag-icon-font-code-next: '#{icons.get-icon-glyph(chevron-right)}';
58
- --ag-icon-font-code-none: '#{icons.get-icon-glyph(sortable)}';
59
- --ag-icon-font-code-not-allowed: '#{icons.get-icon-glyph(blocked)}';
60
- --ag-icon-font-code-paste: '#{icons.get-icon-glyph(paste)}';
61
- --ag-icon-font-code-pin: '#{icons.get-icon-glyph(pin)}';
62
- --ag-icon-font-code-pivot: '#{icons.get-icon-glyph(placeholder)}';
63
- --ag-icon-font-code-previous: '#{icons.get-icon-glyph(chevron-left)}';
64
- --ag-icon-font-code-radio-button-off: '';
65
- --ag-icon-font-code-radio-button-on: '';
66
- --ag-icon-font-code-right: '#{icons.get-icon-glyph(arrow-right)}';
67
- --ag-icon-font-code-save: '#{icons.get-icon-glyph(save)}';
68
- --ag-icon-font-code-small-down: '#{icons.get-icon-glyph(chevron-down)}';
69
- --ag-icon-font-code-small-left: '#{icons.get-icon-glyph(chevron-left)}';
70
- --ag-icon-font-code-small-right: '#{icons.get-icon-glyph(chevron-right)}';
71
- --ag-icon-font-code-small-up: '#{icons.get-icon-glyph(chevron-up)}';
72
- --ag-icon-font-code-tick: '#{icons.get-icon-glyph(check)}';
73
- --ag-icon-font-code-tree-closed: '#{icons.get-icon-glyph(chevron-right)}';
74
- --ag-icon-font-code-tree-indeterminate: '#{icons.get-icon-glyph(minus)}';
75
- --ag-icon-font-code-tree-open: '#{icons.get-icon-glyph(chevron-down)}';
76
- --ag-icon-font-code-unlinked: '#{icons.get-icon-glyph(placeholder)}';
77
-
78
24
  --ag-grid-size: #{dimensions.get-size(0.25)};
79
25
  --ag-widget-vertical-spacing: #{dimensions.get-size(0.5)};
80
26
 
@@ -83,6 +29,8 @@
83
29
  --ag-table-line-height: #{dimensions.get-size(1.5)};
84
30
  --ag-list-item-height: #{dimensions.get-size(1.5)};
85
31
 
32
+ --ag-icon-size: var(--odx-size-125);
33
+
86
34
  input[class^='ag-'][type='text'] {
87
35
  background: var(--gray-100);
88
36
  border: var(--ag-borders-critical) var(--gray100);
@@ -380,4 +328,244 @@
380
328
  }
381
329
  }
382
330
  }
331
+
332
+ .ag-disabled {
333
+ --ag-icon-font-color: var(--ag-disabled-foreground-color);
334
+ }
335
+
336
+ .ag-icon {
337
+ &::before,
338
+ &::after {
339
+ content: none;
340
+ }
341
+
342
+ &-aggregation {
343
+ @include odxIcons.icon('core::aggregation');
344
+ }
345
+
346
+ &-arrows {
347
+ @include odxIcons.icon('core::chevrons');
348
+ }
349
+
350
+ &-asc {
351
+ @include odxIcons.icon('core::ascending');
352
+ }
353
+
354
+ &-cancel {
355
+ @include odxIcons.icon('core::cancel');
356
+ }
357
+
358
+ &-chart {
359
+ @include odxIcons.icon('core::bar-chart');
360
+ }
361
+
362
+ &-chevron-up {
363
+ @include odxIcons.icon('core::chevron-up');
364
+ }
365
+
366
+ &-chevron-down {
367
+ @include odxIcons.icon('core::chevron-down');
368
+ }
369
+
370
+ &-chevron-left {
371
+ @include odxIcons.icon('core::chevron-left');
372
+ }
373
+
374
+ &-chevron-right {
375
+ @include odxIcons.icon('core::chevron-right');
376
+ }
377
+
378
+ &-color-picker {
379
+ @include odxIcons.icon('core::colorpicker');
380
+ }
381
+
382
+ &-columns {
383
+ @include odxIcons.icon('core::column');
384
+ }
385
+
386
+ &-contracted {
387
+ @include odxIcons.icon('core::chevron-right');
388
+ }
389
+
390
+ &-copy {
391
+ @include odxIcons.icon('core::copy-content');
392
+ }
393
+
394
+ &-cut {
395
+ @include odxIcons.icon('core::cut');
396
+ }
397
+
398
+ &-cross {
399
+ @include odxIcons.icon('core::close');
400
+ }
401
+
402
+ &-csv {
403
+ @include odxIcons.icon('core::file-csv');
404
+ }
405
+
406
+ &-desc {
407
+ @include odxIcons.icon('core::descending');
408
+ }
409
+
410
+ &-down {
411
+ @include odxIcons.icon('core::arrow-down');
412
+ }
413
+
414
+ &-edit {
415
+ @include odxIcons.icon('core::edit');
416
+ }
417
+
418
+ &-excel {
419
+ @include odxIcons.icon('core::file-excel');
420
+ }
421
+
422
+ &-expanded {
423
+ @include odxIcons.icon('core::chevron-left');
424
+ }
425
+
426
+ &-eye-slash {
427
+ @include odxIcons.icon('core::view-off');
428
+ }
429
+
430
+ &-eye {
431
+ @include odxIcons.icon('core::view');
432
+ }
433
+
434
+ &-filter {
435
+ @include odxIcons.icon('core::filter');
436
+ }
437
+
438
+ &-first {
439
+ @include odxIcons.icon('core::chevron-left-end');
440
+ }
441
+
442
+ &-grip {
443
+ @include odxIcons.icon('core::rearrange');
444
+ }
445
+
446
+ &-group {
447
+ @include odxIcons.icon('core::group');
448
+ }
449
+
450
+ &-last {
451
+ @include odxIcons.icon('core::chevron-right-end');
452
+ }
453
+
454
+ &-left {
455
+ @include odxIcons.icon('core::arrow-left');
456
+ }
457
+
458
+ &-linked {
459
+ @include odxIcons.icon('core::link');
460
+ }
461
+
462
+ &-loading {
463
+ @include odxIcons.icon('core::loading');
464
+ }
465
+
466
+ &-maximize {
467
+ @include odxIcons.icon('core::maximize');
468
+ }
469
+
470
+ &-menu {
471
+ @include odxIcons.icon('core::menu');
472
+ }
473
+
474
+ &-menu-alt {
475
+ @include odxIcons.icon('core::more');
476
+ }
477
+
478
+ &-minimize {
479
+ @include odxIcons.icon('core::minimize');
480
+ }
481
+
482
+ &-minus {
483
+ @include odxIcons.icon('core::minus');
484
+ }
485
+
486
+ &-next {
487
+ @include odxIcons.icon('core::chevron-right');
488
+ }
489
+
490
+ &-none {
491
+ @include odxIcons.icon('core::sortable');
492
+ }
493
+
494
+ &-not-allowed {
495
+ @include odxIcons.icon('core::error');
496
+ }
497
+
498
+ &-paste {
499
+ @include odxIcons.icon('core::paste');
500
+ }
501
+
502
+ &-pin {
503
+ @include odxIcons.icon('core::pin');
504
+ }
505
+
506
+ &-pivot {
507
+ @include odxIcons.icon('core::table');
508
+ }
509
+
510
+ &-plus {
511
+ @include odxIcons.icon('core::plus');
512
+ }
513
+
514
+ &-previous {
515
+ @include odxIcons.icon('core::chevron-left');
516
+ }
517
+
518
+ &-right {
519
+ @include odxIcons.icon('core::arrow-right');
520
+ }
521
+
522
+ &-save {
523
+ @include odxIcons.icon('core::save');
524
+ }
525
+
526
+ &-small-down {
527
+ @include odxIcons.icon('core::chevron-down');
528
+ }
529
+
530
+ &-small-left {
531
+ @include odxIcons.icon('core::chevron-left');
532
+ }
533
+
534
+ &-small-right {
535
+ @include odxIcons.icon('core::chevron-right');
536
+ }
537
+
538
+ &-small-up {
539
+ @include odxIcons.icon('core::chevron-up');
540
+ }
541
+
542
+ &-tick {
543
+ @include odxIcons.icon('core::check');
544
+ }
545
+
546
+ &-tree-closed {
547
+ @include odxIcons.icon('core::chevron-right');
548
+ }
549
+
550
+ &-tree-indeterminate {
551
+ @include odxIcons.icon('core::minus');
552
+ }
553
+
554
+ &-tree-open {
555
+ @include odxIcons.icon('core::chevron-down');
556
+ }
557
+
558
+ &-unlinked {
559
+ @include odxIcons.icon('core::link-off');
560
+ }
561
+
562
+ &-up {
563
+ @include odxIcons.icon('core::arrow-up');
564
+ }
565
+
566
+ background: unset;
567
+ block-size: var(--ag-icon-size);
568
+ display: flex;
569
+ inline-size: var(--ag-icon-size);
570
+ }
383
571
  }
@@ -1,5 +1,5 @@
1
1
  @use '../abstract/utils';
2
- @use '@odx/icons/core/core-utils' as icons;
2
+ @use '@odx/icons/scss' as odxIcons;
3
3
 
4
4
  .odx-breadcrumbs {
5
5
  flex-wrap: wrap;
@@ -10,21 +10,25 @@
10
10
  @include utils.vertical-center-content();
11
11
 
12
12
  .odx-link {
13
+ align-items: center;
14
+ display: inline-flex;
13
15
  white-space: nowrap;
14
16
 
15
17
  &:not(:last-child) {
16
- margin-inline-end: var(--odx-size-125);
18
+ @include odxIcons.icon('core::chevron-right');
17
19
 
18
20
  &::after {
21
+ block-size: var(--odx-spacing-75);
19
22
  color: var(--gray-500);
20
- content: icons.get-icon-glyph('chevron-right');
21
23
  display: inline-block;
22
- font-family: icons.get-font-family();
23
- font-size: var(--odx-size-75);
24
+ inline-size: var(--odx-spacing-75);
24
25
  margin-inline-start: var(--odx-spacing-75);
25
26
  pointer-events: none;
26
- position: absolute;
27
27
  }
28
+
29
+ background: unset;
30
+ block-size: unset;
31
+ inline-size: unset;
28
32
  }
29
33
 
30
34
  &:visited {
@@ -49,9 +49,9 @@
49
49
  }
50
50
 
51
51
  > .odx-avatar {
52
- @include avatar.avatar-size(1.5, math.div(32, 24), -1, 1);
53
-
54
52
  margin-inline: calc(-1 * var(--odx-spacing-75));
53
+
54
+ @include avatar.avatar-size(1.5, math.div(32, 24), -1, 1);
55
55
  }
56
56
 
57
57
  &[data-breakpoint]:has(> .odx-icon, > .odx-avatar) {
@@ -49,9 +49,13 @@
49
49
 
50
50
  @include utils.interactive();
51
51
 
52
+ &--adjacent[hidden] {
53
+ display: none;
54
+ }
55
+
52
56
  &--adjacent,
53
57
  &.is-disabled {
54
- color: var(--odx-input-control-color-disabled);
58
+ color: var(--odx-c-ghost-text-disabled);
55
59
  }
56
60
 
57
61
  &:focus {
@@ -211,7 +215,7 @@
211
215
 
212
216
  #{$root}__season {
213
217
  display: grid;
214
- grid-gap: var(--odx-size-300);
218
+ gap: var(--odx-size-300);
215
219
  grid-template-columns: repeat(3, 1fr);
216
220
  margin: 2px 0;
217
221
  padding-inline: calc(var(--odx-spacing-150) + var(--odx-spacing-25));
@@ -230,7 +234,7 @@
230
234
 
231
235
  #{$root}__year-row {
232
236
  display: grid;
233
- grid-gap: var(--odx-size-225);
237
+ gap: var(--odx-size-225);
234
238
  grid-template-columns: repeat(3, 1fr);
235
239
  margin: 2px 0;
236
240
  }
@@ -1,5 +1,5 @@
1
1
  @use '../abstract/utils';
2
- @use '@odx/icons/core/core-utils' as icons;
2
+ @use '@odx/icons/scss' as odxIcons;
3
3
 
4
4
  .odx-breadcrumbs {
5
5
  flex-wrap: wrap;
@@ -10,21 +10,25 @@
10
10
  @include utils.vertical-center-content();
11
11
 
12
12
  .odx-link {
13
+ align-items: center;
14
+ display: inline-flex;
13
15
  white-space: nowrap;
14
16
 
15
17
  &:not(:last-child) {
16
- margin-inline-end: var(--odx-size-125);
18
+ @include odxIcons.icon('core::chevron-right');
17
19
 
18
20
  &::after {
21
+ block-size: var(--odx-spacing-75);
19
22
  color: var(--gray-500);
20
- content: icons.get-icon-glyph('chevron-right');
21
23
  display: inline-block;
22
- font-family: icons.get-font-family();
23
- font-size: var(--odx-size-75);
24
+ inline-size: var(--odx-spacing-75);
24
25
  margin-inline-start: var(--odx-spacing-75);
25
26
  pointer-events: none;
26
- position: absolute;
27
27
  }
28
+
29
+ background: unset;
30
+ block-size: unset;
31
+ inline-size: unset;
28
32
  }
29
33
 
30
34
  &:visited {
@@ -49,9 +49,9 @@
49
49
  }
50
50
 
51
51
  > .odx-avatar {
52
- @include avatar.avatar-size(1.5, math.div(32, 24), -1, 1);
53
-
54
52
  margin-inline: calc(-1 * var(--odx-spacing-75));
53
+
54
+ @include avatar.avatar-size(1.5, math.div(32, 24), -1, 1);
55
55
  }
56
56
 
57
57
  &[data-breakpoint]:has(> .odx-icon, > .odx-avatar) {
@@ -49,9 +49,13 @@
49
49
 
50
50
  @include utils.interactive();
51
51
 
52
+ &--adjacent[hidden] {
53
+ display: none;
54
+ }
55
+
52
56
  &--adjacent,
53
57
  &.is-disabled {
54
- color: var(--odx-input-control-color-disabled);
58
+ color: var(--odx-c-ghost-text-disabled);
55
59
  }
56
60
 
57
61
  &:focus {
@@ -211,7 +215,7 @@
211
215
 
212
216
  #{$root}__season {
213
217
  display: grid;
214
- grid-gap: var(--odx-size-300);
218
+ gap: var(--odx-size-300);
215
219
  grid-template-columns: repeat(3, 1fr);
216
220
  margin: 2px 0;
217
221
  padding-inline: calc(var(--odx-spacing-150) + var(--odx-spacing-25));
@@ -230,7 +234,7 @@
230
234
 
231
235
  #{$root}__year-row {
232
236
  display: grid;
233
- grid-gap: var(--odx-size-225);
237
+ gap: var(--odx-size-225);
234
238
  grid-template-columns: repeat(3, 1fr);
235
239
  margin: 2px 0;
236
240
  }
@@ -257,9 +257,9 @@
257
257
  .odx-form-field.is-readonly,
258
258
  .odx-form-group:has(.odx-form-field.is-readonly) {
259
259
  .odx-form-field__info {
260
- @include utils.non-interactive();
261
-
262
260
  opacity: 0;
261
+
262
+ @include utils.non-interactive();
263
263
  }
264
264
  }
265
265
 
@@ -1,20 +1,20 @@
1
1
  $icon-sizes: (
2
2
  small: var(--odx-size-100),
3
+ medium: var(--odx-size-150),
3
4
  large: var(--odx-size-200),
4
5
  xlarge: var(--odx-size-300),
5
6
  );
6
7
 
7
- .odx-icon {
8
+ odx-icon {
8
9
  flex: 0 0 auto;
9
- font-size: var(--odx-size-150);
10
10
 
11
11
  @each $size, $font-size in $icon-sizes {
12
- &--#{$size} {
12
+ &[size='#{$size}'] {
13
13
  font-size: $font-size;
14
14
  }
15
15
  }
16
16
 
17
- &--inline {
17
+ &[inline] {
18
18
  font-size: inherit;
19
19
  vertical-align: -0.1em;
20
20
  }
@@ -10,7 +10,7 @@
10
10
  background-color: var(--odx-logo-color);
11
11
  block-size: var(--odx-spacing-150);
12
12
  display: inline-block;
13
- mask-image: url('../assets/images/logo.svg');
13
+ mask-image: url('assets/images/logo.svg');
14
14
  mask-repeat: no-repeat;
15
15
 
16
16
  &--inverse {
@@ -114,7 +114,7 @@
114
114
  > .odx-text {
115
115
  line-height: var(--odx-typography-line-height-text-sm);
116
116
  opacity: 0.3;
117
- word-wrap: break-word;
117
+ overflow-wrap: break-word;
118
118
  }
119
119
  }
120
120
 
@@ -32,7 +32,7 @@
32
32
  .odx-action-group {
33
33
  align-items: flex-start;
34
34
  display: grid;
35
- grid-gap: $grid-gap;
35
+ gap: $grid-gap;
36
36
  grid-template-columns: repeat(3, 1fr);
37
37
 
38
38
  .odx-button {
@@ -6,7 +6,7 @@
6
6
  justify-content: flex-end;
7
7
 
8
8
  &:has(.odx-paginator__summary) {
9
- grid-gap: var(--odx-size-225);
9
+ gap: var(--odx-size-225);
10
10
  grid-template-columns: auto auto;
11
11
  }
12
12
 
@@ -17,7 +17,7 @@
17
17
  }
18
18
 
19
19
  .odx-action-group {
20
- grid-gap: var(--odx-spacing-75);
20
+ gap: var(--odx-spacing-75);
21
21
  min-block-size: var(--odx-spacing-150);
22
22
  }
23
23
 
@@ -257,9 +257,9 @@
257
257
  .odx-form-field.is-readonly,
258
258
  .odx-form-group:has(.odx-form-field.is-readonly) {
259
259
  .odx-form-field__info {
260
- @include utils.non-interactive();
261
-
262
260
  opacity: 0;
261
+
262
+ @include utils.non-interactive();
263
263
  }
264
264
  }
265
265
 
@@ -1,20 +1,20 @@
1
1
  $icon-sizes: (
2
2
  small: var(--odx-size-100),
3
+ medium: var(--odx-size-150),
3
4
  large: var(--odx-size-200),
4
5
  xlarge: var(--odx-size-300),
5
6
  );
6
7
 
7
- .odx-icon {
8
+ odx-icon {
8
9
  flex: 0 0 auto;
9
- font-size: var(--odx-size-150);
10
10
 
11
11
  @each $size, $font-size in $icon-sizes {
12
- &--#{$size} {
12
+ &[size='#{$size}'] {
13
13
  font-size: $font-size;
14
14
  }
15
15
  }
16
16
 
17
- &--inline {
17
+ &[inline] {
18
18
  font-size: inherit;
19
19
  vertical-align: -0.1em;
20
20
  }
@@ -10,7 +10,7 @@
10
10
  background-color: var(--odx-logo-color);
11
11
  block-size: var(--odx-spacing-150);
12
12
  display: inline-block;
13
- mask-image: url('../assets/images/logo.svg');
13
+ mask-image: url('assets/images/logo.svg');
14
14
  mask-repeat: no-repeat;
15
15
 
16
16
  &--inverse {
@@ -114,7 +114,7 @@
114
114
  > .odx-text {
115
115
  line-height: var(--odx-typography-line-height-text-sm);
116
116
  opacity: 0.3;
117
- word-wrap: break-word;
117
+ overflow-wrap: break-word;
118
118
  }
119
119
  }
120
120
 
@@ -32,7 +32,7 @@
32
32
  .odx-action-group {
33
33
  align-items: flex-start;
34
34
  display: grid;
35
- grid-gap: $grid-gap;
35
+ gap: $grid-gap;
36
36
  grid-template-columns: repeat(3, 1fr);
37
37
 
38
38
  .odx-button {
@@ -6,7 +6,7 @@
6
6
  justify-content: flex-end;
7
7
 
8
8
  &:has(.odx-paginator__summary) {
9
- grid-gap: var(--odx-size-225);
9
+ gap: var(--odx-size-225);
10
10
  grid-template-columns: auto auto;
11
11
  }
12
12
 
@@ -17,7 +17,7 @@
17
17
  }
18
18
 
19
19
  .odx-action-group {
20
- grid-gap: var(--odx-spacing-75);
20
+ gap: var(--odx-spacing-75);
21
21
  min-block-size: var(--odx-spacing-150);
22
22
  }
23
23