@odx/ui 6.2.1 → 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 +77 -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 +2 -2
  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 +2 -2
  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
package/scss/theme.scss CHANGED
@@ -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 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?><svg id="uuid-a18ec136-98eb-45fe-81e0-649901f2c946" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><circle cx="8" cy="8" r="8" style="fill:#002766;"/><path d="m9.72,2h-5.17v1.33h4.09c.48,0,.86.38.86.85v7.59c0,.47-.39.85-.86.85h-1.55V4.56s-2.54,0-2.54,0v9.44h5.17c1.21,0,2.19-.97,2.2-2.17v-7.65c-.01-1.2-.99-2.17-2.2-2.17Z" style="fill:#fff;"/></svg>
@@ -1 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?><svg id="uuid-de96b064-b8ba-47f2-a2f0-4645b7dff94e" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><circle cx="16" cy="16" r="16" style="fill:#002766;"/><path d="m19.43,4h-10.33v2.65h8.18c.95,0,1.72.76,1.73,1.7v15.18c0,.94-.78,1.7-1.73,1.7h-3.11V9.13s-5.07,0-5.07,0v18.87h10.33c2.42,0,4.39-1.94,4.41-4.35v-15.3c-.02-2.41-1.99-4.35-4.41-4.35Z" style="fill:#fff;"/></svg>
Binary file
@@ -1,6 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 74 29">
2
- <path
3
- fill="#000000"
4
- d="M29.717 2.887c0 1.4-1.127 2.535-2.512 2.535a2.522 2.522 0 0 1-2.514-2.533c0-1.4 1.124-2.534 2.514-2.534a2.523 2.523 0 0 1 2.512 2.532ZM9.827.848H0v2.554h7.779c.903 0 1.635.732 1.644 1.637v14.62a1.65 1.65 0 0 1-1.644 1.64H4.823l.001-15.516H0v18.174h9.827c2.303 0 4.17-1.868 4.192-4.187V5.036C13.998 2.717 12.13.848 9.827.848Zm13.968 6.18c-2.705-.01-4.327.186-5.537.464-1.649.414-2.318.972-2.638 1.24a2.134 2.134 0 0 1-.145.114v15.111h4.596V11.452c-.027-1.55 2.264-2.062 3.722-.984l.002-3.44Zm42.037 1.694c.324-.269.992-.823 2.634-1.235 1.205-.275 2.833-.475 5.534-.464v3.44c-1.457-1.079-3.75-.566-3.726.984v12.509h-4.593V8.84c.04-.028.09-.068.15-.12ZM31.507 21.278h-2.135c-.987.018-1.716-.705-1.737-1.76a37.415 37.415 0 0 1 0-1.91c.014-.968.75-1.743 1.737-1.73h2.135v5.4Zm.679-14.253h-7.447v3.438s2.625-.894 4.448-.894c2.222 0 2.34 1.13 2.322 1.635v2.022h-4.484c-2.048 0-3.709 1.67-3.718 3.734v3.246c0 2.07 1.665 3.75 3.718 3.75h9.077v-13.01c-.015-2.318-1.883-3.92-3.916-3.92Zm1.074-1.604a2.521 2.521 0 0 0 2.512-2.534A2.52 2.52 0 0 0 33.26.355a2.522 2.522 0 0 0-2.513 2.532 2.523 2.523 0 0 0 2.513 2.534ZM43.7 9.605c-1.776 0-1.974 1.253-1.974 1.975v1.67c0 .725.198 1.976 1.974 1.974 1.778-.001 1.975-1.25 1.975-1.975v-1.67c0-.722-.197-1.974-1.975-1.974Zm2.281 8.092H41.33c-2.038.01-3.916-1.604-3.914-3.919V10.98C37.405 8.927 39 7.014 41.3 7.025h8.566v6.72c.004 2.05-1.601 3.96-3.884 3.952Zm-.117 6.877c0 .719-.21 1.971-2.084 1.971-1.869 0-2.078-1.252-2.078-1.97v-1.673c0-.723.21-1.977 2.078-1.977 1.875 0 2.084 1.255 2.084 1.977v1.672Zm.473-6.234-5.21.002c-2.29-.003-3.892 1.868-3.885 3.92v2.785c-.005 2.305 1.88 3.956 3.917 3.953h5.204c2.288 0 3.902-1.915 3.89-3.953v-2.785a3.916 3.916 0 0 0-3.916-3.922Zm9.41-3.326h3.946v-3.449c0-.723-.253-1.975-1.972-1.975-1.722 0-1.973 1.252-1.973 1.975v3.449Zm-.59-7.99 5.173-.001c2.03 0 3.926 1.602 3.923 3.92v6.699h-8.417v2.072c.008.906.696 1.66 2.522 1.66 2.81.005 5.761-.846 5.761-.846v3.428h-8.76c-2.233.004-4.123-1.6-4.118-3.918v-9.093c0-2.33 1.879-3.93 3.916-3.921Z"
5
- />
6
- </svg>