@progressio_resources/gravity-design-system 3.0.24 → 4.0.25

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 (79) hide show
  1. package/esm2022/lib/components/gravity-attach-file/gravity-attach-file.component.mjs +2 -2
  2. package/esm2022/lib/components/gravity-avatar-stack/gravity-avatar-stack.component.mjs +2 -2
  3. package/esm2022/lib/components/gravity-button/gravity-button.component.mjs +2 -2
  4. package/esm2022/lib/components/gravity-calendar/gravity-calendar.component.mjs +2 -2
  5. package/esm2022/lib/components/gravity-calendar-v2/datepicker/bs-datepicker-inline.component.mjs +3 -2
  6. package/esm2022/lib/components/gravity-calendar-v2/datepicker/bs-datepicker.component.mjs +3 -2
  7. package/esm2022/lib/components/gravity-calendar-v2/datepicker/bs-daterangepicker-inline.component.mjs +3 -2
  8. package/esm2022/lib/components/gravity-calendar-v2/datepicker/bs-daterangepicker.component.mjs +3 -2
  9. package/esm2022/lib/components/gravity-calendar-v2/datepicker/components/bs-datepicker-container.component.mjs +2 -2
  10. package/esm2022/lib/components/gravity-calendar-v2/datepicker/components/bs-datepicker-inline-container.component.mjs +2 -2
  11. package/esm2022/lib/components/gravity-calendar-v2/datepicker/components/bs-datepicker-navigation-view/bs-datepicker-navigation-view.component.mjs +2 -2
  12. package/esm2022/lib/components/gravity-calendar-v2/datepicker/components/bs-daterangepicker-container.component.mjs +2 -2
  13. package/esm2022/lib/components/gravity-calendar-v2/datepicker/components/bs-daterangepicker-inline-container.component.mjs +2 -2
  14. package/esm2022/lib/components/gravity-calendar-v2/datepicker/components/bs-days-calendar-view/bs-datepicker-day-decorator.directive.mjs +3 -2
  15. package/esm2022/lib/components/gravity-calendar-v2/datepicker/components/bs-days-calendar-view/bs-days-calendar-view.component.mjs +2 -2
  16. package/esm2022/lib/components/gravity-calendar-v2/datepicker/components/bs-months-calendar-view/bs-months-calendar-view.component.mjs +2 -2
  17. package/esm2022/lib/components/gravity-calendar-v2/datepicker/components/bs-years-calendar-view/bs-years-calendar-view.component.mjs +2 -2
  18. package/esm2022/lib/components/gravity-calendar-v2/gravity-calendar-v2.component.mjs +2 -2
  19. package/esm2022/lib/components/gravity-card-button/gravity-card-button.component.mjs +2 -2
  20. package/esm2022/lib/components/gravity-card-list/gravity-card-list.component.mjs +3 -3
  21. package/esm2022/lib/components/gravity-checkbox/gravity-checkbox.component.mjs +2 -2
  22. package/esm2022/lib/components/gravity-chip/gravity-chip.component.mjs +2 -2
  23. package/esm2022/lib/components/gravity-currency/gravity-currency.component.mjs +2 -2
  24. package/esm2022/lib/components/gravity-currency-display/gravity-currency-display.component.mjs +2 -2
  25. package/esm2022/lib/components/gravity-dialog/gravity-dialog.component.mjs +2 -2
  26. package/esm2022/lib/components/gravity-dropdown-list/filter-by.pipe.mjs +3 -2
  27. package/esm2022/lib/components/gravity-dropdown-list/gravity-dropdown-list.component.mjs +3 -3
  28. package/esm2022/lib/components/gravity-dropdown-list-display/gravity-dropdown-list-display.component.mjs +2 -2
  29. package/esm2022/lib/components/gravity-editable-input/gravity-editable-input.component.mjs +2 -2
  30. package/esm2022/lib/components/gravity-generic-avatar/gravity-generic-avatar.component.mjs +2 -2
  31. package/esm2022/lib/components/gravity-icon/gravity-icon.component.mjs +3 -3
  32. package/esm2022/lib/components/gravity-icon-button/gravity-icon-button.component.mjs +2 -2
  33. package/esm2022/lib/components/gravity-link/gravity-link.component.mjs +3 -5
  34. package/esm2022/lib/components/gravity-modal/gravity-modal.component.mjs +3 -3
  35. package/esm2022/lib/components/gravity-multi-language/gravity-multi-language.component.mjs +2 -2
  36. package/esm2022/lib/components/gravity-network-pill/gravity-network-pill.component.mjs +2 -2
  37. package/esm2022/lib/components/gravity-notification/gravity-notification.component.mjs +2 -2
  38. package/esm2022/lib/components/gravity-notification-instant/gravity-notification-instant-container.component.mjs +2 -2
  39. package/esm2022/lib/components/gravity-offcanvas/gravity-offcanvas.component.mjs +2 -2
  40. package/esm2022/lib/components/gravity-radio-button/gravity-radio-button.component.mjs +2 -2
  41. package/esm2022/lib/components/gravity-status-indicator/gravity-status-indicator.component.mjs +2 -2
  42. package/esm2022/lib/components/gravity-stepper/gravity-stepper.component.mjs +2 -2
  43. package/esm2022/lib/components/gravity-switch/gravity-switch.component.mjs +3 -3
  44. package/esm2022/lib/components/gravity-tab-primary/gravity-tab-primary.component.mjs +2 -2
  45. package/esm2022/lib/components/gravity-tab-secondary/gravity-tab-secondary.component.mjs +2 -2
  46. package/esm2022/lib/components/gravity-table/gravity-table.component.mjs +2 -2
  47. package/esm2022/lib/components/gravity-text-field/gravity-text-field.component.mjs +2 -2
  48. package/esm2022/lib/components/gravity-text-field-number-only/gravity-text-field-number-only.component.mjs +2 -2
  49. package/esm2022/lib/components/gravity-tree-view/gravity-tree-view.component.mjs +2 -2
  50. package/esm2022/lib/components/gravity-tree-view/node/node-checkbox/node-checkbox.component.mjs +2 -2
  51. package/esm2022/lib/components/gravity-tree-view/node/node-name/node-name.component.mjs +2 -2
  52. package/esm2022/lib/components/gravity-tree-view/node/node-toggle/node-toggle.component.mjs +2 -2
  53. package/esm2022/lib/components/gravity-tree-view/node/node.component.mjs +2 -2
  54. package/esm2022/lib/gravity-design-system.module.mjs +1 -1
  55. package/esm2022/lib/vendor/gravity-tooltip/gravity-tooltip.component.mjs +2 -2
  56. package/esm2022/lib/vendor/gravity-tooltip/gravity-tooltip.directive.mjs +2 -1
  57. package/fesm2022/progressio_resources-gravity-design-system.mjs +67 -62
  58. package/fesm2022/progressio_resources-gravity-design-system.mjs.map +1 -1
  59. package/lib/components/gravity-link/gravity-link.component.d.ts +1 -2
  60. package/lib/components/gravity-switch/gravity-switch.component.d.ts +2 -0
  61. package/package.json +8 -8
  62. package/src/lib/styles/_responsive.scss +12 -11
  63. package/src/lib/styles/components/_card_highlight.scss +5 -5
  64. package/src/lib/styles/components/_datepicker.scss +14 -13
  65. package/src/lib/styles/components/_offcanvas.scss +5 -4
  66. package/src/lib/styles/components/_tables.scss +7 -7
  67. package/src/lib/styles/foundations/colors/themes/_hero.theme.scss +542 -542
  68. package/src/lib/styles/foundations/colors/tokens/_hero.tokens.scss +545 -544
  69. package/src/lib/styles/foundations/spacing/_spacing.scss +3 -1
  70. package/src/lib/styles/gravity-design-system.scss +12 -12
  71. package/src/lib/styles/overwrite/bootstrap/_bootstrap-export.scss +2 -2
  72. package/src/lib/styles/overwrite/bootstrap/_modal.scss +2 -2
  73. package/src/lib/styles/themes/_hero.scss +4 -4
  74. package/src/lib/vendor/gravity-tooltip/gravity-tooltip.component.ts +5 -4
  75. package/src/lib/vendor/gravity-tooltip/gravity-tooltip.directive.ts +3 -2
  76. package/src/lib/assets/icon-set/gt-icon-arrow-up/gt-icon-switch-lg-24.svg +0 -10
  77. package/src/lib/assets/icon-set/gt-icon-arrow-up/gt-icon-switch-md-16.svg +0 -10
  78. package/src/lib/assets/icon-set/gt-icon-arrow-up/gt-icon-switch-sm-12.svg +0 -10
  79. package/src/lib/assets/icon-set/gt-icon-arrow-up/gt-icon-switch-xl-32.svg +0 -10
@@ -1,3 +1,5 @@
1
+ @use 'sass:map';
2
+
1
3
  $scss-types: padding, margin;
2
4
  $spacing-sizes: none, xxs, xs, sm, md, lg, xl, xxl, xxxl, xxxxl, xxxxxl;
3
5
  $spacing-types: '', -top, -bottom, -left, -right, -block, -inline;
@@ -27,7 +29,7 @@ $spacing-values: (
27
29
  @each $spacing-type in $spacing-types {
28
30
  //.gravity-{{padding,margin}}-{{top,bottom,left,right,block,inline}}-{{xxs, xs, sm, md, lg, xl, xxl, xxxl, xxxxl, xxxxxl}}
29
31
  .gravity-#{$scss-type}#{$spacing-type}-#{$size} {
30
- #{$scss-type}#{$spacing-type}: map-get($spacing-values, $size) !important;
32
+ #{$scss-type}#{$spacing-type}: map.get($spacing-values, $size) !important;
31
33
  }
32
34
  }
33
35
  }
@@ -1,18 +1,18 @@
1
- @import "./responsive";
2
- @import "./shared";
1
+ @use "./responsive";
2
+ @use "./shared";
3
3
 
4
4
  //Components
5
- @import "./components/card_highlight";
6
- @import "./components/datepicker";
7
- @import "./components/datepicker-v2";
8
- @import "./components/link";
9
- @import "./components/offcanvas";
10
- @import "./components/tables";
5
+ @use "./components/card_highlight";
6
+ @use "./components/datepicker";
7
+ @use "./components/datepicker-v2";
8
+ @use "./components/link";
9
+ @use "./components/offcanvas";
10
+ @use "./components/tables";
11
11
 
12
12
  //Foundations
13
- @import "./foundations/breakpoints/breakpoints";
14
- @import "./foundations/grids/grids";
15
- @import "./foundations/spacing/spacing";
13
+ @use "./foundations/breakpoints/breakpoints";
14
+ @use "./foundations/grids/grids";
15
+ @use "./foundations/spacing/spacing";
16
16
 
17
17
  //Overwrite
18
- @import "./overwrite/bootstrap/bootstrap-export";
18
+ @use "./overwrite/bootstrap/bootstrap-export";
@@ -1,2 +1,2 @@
1
- @import "bootstrap";
2
- @import "modal";
1
+ @use "bootstrap";
2
+ @use "modal";
@@ -1,4 +1,4 @@
1
- @import "../../foundations/border-radius/hero.border-radius";
1
+ @use "../../foundations/border-radius/hero.border-radius" as bor;
2
2
 
3
3
  $modal-margin: 3.5rem;
4
4
 
@@ -109,7 +109,7 @@ $modal-margin: 3.5rem;
109
109
 
110
110
  background-clip: padding-box;
111
111
  background-color: var(--dialog-background-color);
112
- border-radius: $border-radius-md;
112
+ border-radius: bor.$border-radius-md;
113
113
  box-shadow: 0 27px 34px #000c208f;
114
114
  color: var(--dialog-text-color);
115
115
  display: flex;
@@ -1,4 +1,4 @@
1
- @import "../foundations/border-radius/hero.border-radius";
2
- @import "../foundations/colors/tokens/hero.tokens";
3
- @import "../foundations/elevation/hero.elevation";
4
- @import "../foundations/typography/hero.typography";
1
+ @use "../foundations/border-radius/hero.border-radius" as heroBorder;
2
+ @use "../foundations/colors/tokens/hero.tokens" as heroTokens;
3
+ @use "../foundations/elevation/hero.elevation" as heroElevation;
4
+ @use "../foundations/typography/hero.typography" as heroTypography;
@@ -1,10 +1,11 @@
1
1
  import {Component, ElementRef, EventEmitter, HostBinding, HostListener, Input, OnInit, Renderer2} from '@angular/core';
2
2
 
3
3
  @Component({
4
- selector: 'tooltip',
5
- templateUrl: './gravity-tooltip.component.html',
6
- host: {'class': 'tooltip'},
7
- styleUrls: ['./gravity-tooltip.component.sass']
4
+ selector: 'tooltip',
5
+ templateUrl: './gravity-tooltip.component.html',
6
+ host: { 'class': 'tooltip' },
7
+ styleUrls: ['./gravity-tooltip.component.sass'],
8
+ standalone: false
8
9
  })
9
10
 
10
11
  export class GravityTooltipComponent implements OnInit {
@@ -28,8 +28,9 @@ export interface AdComponent {
28
28
  }
29
29
 
30
30
  @Directive({
31
- selector: '[tooltip]',
32
- exportAs: 'tooltip',
31
+ selector: '[tooltip]',
32
+ exportAs: 'tooltip',
33
+ standalone: false
33
34
  })
34
35
 
35
36
  export class GravityTooltipDirective implements OnChanges {
@@ -1,10 +0,0 @@
1
- <svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <g clip-path="url(#clip0_5640_558)">
3
- <path fill-rule="evenodd" clip-rule="evenodd" d="M10.1929 0.792893C10.5834 0.402369 11.2166 0.402369 11.6071 0.792893L14.9071 4.09289C15.2976 4.48342 15.2976 5.11658 14.9071 5.50711L11.6071 8.80711C11.2166 9.19763 10.5834 9.19763 10.1929 8.80711C9.80237 8.41658 9.80237 7.78342 10.1929 7.39289L11.7858 5.8H8.7C4.99969 5.8 2 8.79969 2 12.5C2 15.1712 3.56318 17.4793 5.82909 18.5557C6.32795 18.7927 6.54024 19.3892 6.30326 19.8881C6.06628 20.387 5.46976 20.5992 4.97091 20.3623C2.03394 18.9671 0 15.9721 0 12.5C0 7.69512 3.89512 3.8 8.7 3.8H11.7858L10.1929 2.20711C9.80237 1.81658 9.80237 1.18342 10.1929 0.792893ZM17.6967 5.1119C17.9337 4.61305 18.5302 4.40075 19.0291 4.63773C21.9661 6.03294 24 9.02795 24 12.5C24 17.3049 20.1049 21.2 15.3 21.2H12.2142L13.8071 22.7929C14.1976 23.1834 14.1976 23.8166 13.8071 24.2071C13.4166 24.5976 12.7834 24.5976 12.3929 24.2071L9.09289 20.9071C8.70237 20.5166 8.70237 19.8834 9.09289 19.4929L12.3929 16.1929C12.7834 15.8024 13.4166 15.8024 13.8071 16.1929C14.1976 16.5834 14.1976 17.2166 13.8071 17.6071L12.2142 19.2H15.3C19.0003 19.2 22 16.2003 22 12.5C22 9.82878 20.4368 7.52067 18.1709 6.44425C17.6721 6.20727 17.4598 5.61076 17.6967 5.1119Z" fill="#394C6E"/>
4
- </g>
5
- <defs>
6
- <clipPath id="clip0_5640_558">
7
- <rect width="24" height="24" fill="white" transform="translate(0 0.5)"/>
8
- </clipPath>
9
- </defs>
10
- </svg>
@@ -1,10 +0,0 @@
1
- <svg width="16" height="17" viewBox="0 0 16 17" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <g clip-path="url(#clip0_5640_557)">
3
- <path fill-rule="evenodd" clip-rule="evenodd" d="M6.74936 0.717405C7.03924 0.427532 7.50922 0.427532 7.79909 0.717405L9.97641 2.89472C10.2663 3.1846 10.2663 3.65458 9.97641 3.94445L7.79909 6.12177C7.50922 6.41164 7.03924 6.41164 6.74936 6.12177C6.45949 5.8319 6.45949 5.36192 6.74936 5.07204L7.65955 4.16186H5.82268C3.42679 4.16186 1.48454 6.10411 1.48454 8.5C1.48454 10.2294 2.4965 11.724 3.96386 12.421C4.33415 12.597 4.49173 13.0397 4.31582 13.41C4.13992 13.7803 3.69714 13.9379 3.32686 13.762C1.36139 12.8283 0 10.8239 0 8.5C0 5.28422 2.6069 2.67732 5.82268 2.67732H7.65955L6.74936 1.76713C6.45949 1.47726 6.45949 1.00728 6.74936 0.717405ZM11.6842 3.58999C11.8601 3.2197 12.3029 3.06213 12.6731 3.23803C14.6386 4.17172 16 6.17614 16 8.5C16 11.7158 13.3931 14.3227 10.1773 14.3227H8.34045L9.25064 15.2329C9.54051 15.5227 9.54051 15.9927 9.25064 16.2826C8.96076 16.5725 8.49078 16.5725 8.20091 16.2826L6.02359 14.1053C5.73372 13.8154 5.73372 13.3454 6.02359 13.0556L8.20091 10.8782C8.49078 10.5884 8.96076 10.5884 9.25064 10.8782C9.54051 11.1681 9.54051 11.6381 9.25064 11.928L8.34045 12.8381H10.1773C12.5732 12.8381 14.5155 10.8959 14.5155 8.5C14.5155 6.77057 13.5035 5.27602 12.0361 4.57895C11.6659 4.40305 11.5083 3.96028 11.6842 3.58999Z" fill="#394C6E"/>
4
- </g>
5
- <defs>
6
- <clipPath id="clip0_5640_557">
7
- <rect width="16" height="16" fill="white" transform="translate(0 0.5)"/>
8
- </clipPath>
9
- </defs>
10
- </svg>
@@ -1,10 +0,0 @@
1
- <svg width="12" height="13" viewBox="0 0 12 13" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <g clip-path="url(#clip0_5640_556)">
3
- <path fill-rule="evenodd" clip-rule="evenodd" d="M5.09645 0.646447C5.29171 0.451184 5.60829 0.451184 5.80355 0.646447L7.45355 2.29645C7.64882 2.49171 7.64882 2.80829 7.45355 3.00355L5.80355 4.65355C5.60829 4.84882 5.29171 4.84882 5.09645 4.65355C4.90118 4.45829 4.90118 4.14171 5.09645 3.94645L5.89289 3.15H4.35C2.49985 3.15 1 4.64985 1 6.5C1 7.83561 1.78159 8.98966 2.91455 9.52787C3.16397 9.64636 3.27012 9.94462 3.15163 10.194C3.03314 10.4435 2.73488 10.5496 2.48545 10.4311C1.01697 9.73353 0 8.23603 0 6.5C0 4.09756 1.94756 2.15 4.35 2.15H5.89289L5.09645 1.35355C4.90118 1.15829 4.90118 0.841709 5.09645 0.646447ZM8.84837 2.80595C8.96686 2.55652 9.26512 2.45038 9.51455 2.56887C10.983 3.26647 12 4.76397 12 6.5C12 8.90244 10.0524 10.85 7.65 10.85H6.10711L6.90355 11.6464C7.09882 11.8417 7.09882 12.1583 6.90355 12.3536C6.70829 12.5488 6.39171 12.5488 6.19645 12.3536L4.54645 10.7036C4.35118 10.5083 4.35118 10.1917 4.54645 9.99645L6.19645 8.34645C6.39171 8.15118 6.70829 8.15118 6.90355 8.34645C7.09882 8.54171 7.09882 8.85829 6.90355 9.05355L6.10711 9.85H7.65C9.50015 9.85 11 8.35015 11 6.5C11 5.16439 10.2184 4.01034 9.08545 3.47213C8.83603 3.35364 8.72988 3.05538 8.84837 2.80595Z" fill="#394C6E"/>
4
- </g>
5
- <defs>
6
- <clipPath id="clip0_5640_556">
7
- <rect width="12" height="12" fill="white" transform="translate(0 0.5)"/>
8
- </clipPath>
9
- </defs>
10
- </svg>
@@ -1,10 +0,0 @@
1
- <svg width="32" height="33" viewBox="0 0 32 33" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <g clip-path="url(#clip0_5640_559)">
3
- <path fill-rule="evenodd" clip-rule="evenodd" d="M13.5536 0.908349C14.098 0.363884 14.9808 0.363884 15.5253 0.908349L19.907 5.29009C20.4515 5.83456 20.4515 6.71731 19.907 7.26178L15.5253 11.6435C14.9808 12.188 14.098 12.188 13.5536 11.6435C13.0091 11.0991 13.0091 10.2163 13.5536 9.67183L15.5553 7.67013H11.6183C6.74165 7.67013 2.78838 11.6234 2.78838 16.5C2.78838 20.0203 4.84834 23.0622 7.83475 24.4809C8.53025 24.8113 8.82623 25.6429 8.49583 26.3384C8.16543 27.0339 7.33378 27.3299 6.63828 26.9995C2.71629 25.1364 0 21.1368 0 16.5C0 10.0834 5.20167 4.88174 11.6183 4.88174H15.5553L13.5536 2.88003C13.0091 2.33557 13.0091 1.45281 13.5536 0.908349ZM23.5042 6.66159C23.8346 5.96609 24.6662 5.67011 25.3617 6.00051C29.2837 7.86364 32 11.8632 32 16.5C32 22.9166 26.7983 28.1183 20.3817 28.1183H16.4447L18.4464 30.12C18.9909 30.6644 18.9909 31.5472 18.4464 32.0917C17.902 32.6361 17.0192 32.6361 16.4747 32.0917L12.093 27.7099C11.5485 27.1654 11.5485 26.2827 12.093 25.7382L16.4747 21.3565C17.0192 20.812 17.902 20.812 18.4464 21.3565C18.9909 21.9009 18.9909 22.7837 18.4464 23.3282L16.4447 25.3299H20.3817C25.2583 25.3299 29.2116 21.3766 29.2116 16.5C29.2116 12.9797 27.1517 9.93783 24.1652 8.51914C23.4697 8.18875 23.1738 7.35709 23.5042 6.66159Z" fill="#394C6E"/>
4
- </g>
5
- <defs>
6
- <clipPath id="clip0_5640_559">
7
- <rect width="32" height="32" fill="white" transform="translate(0 0.5)"/>
8
- </clipPath>
9
- </defs>
10
- </svg>