@progressio_resources/gravity-design-system 3.0.8 → 3.0.10

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 (20) hide show
  1. package/esm2022/lib/components/gravity-button/gravity-button.component.mjs +2 -2
  2. package/esm2022/lib/components/gravity-calendar-v2/datepicker/components/bs-datepicker-container.component.mjs +3 -3
  3. package/esm2022/lib/components/gravity-calendar-v2/datepicker/components/bs-datepicker-inline-container.component.mjs +3 -3
  4. package/esm2022/lib/components/gravity-calendar-v2/datepicker/components/bs-daterangepicker-container.component.mjs +3 -3
  5. package/esm2022/lib/components/gravity-calendar-v2/datepicker/components/bs-daterangepicker-inline-container.component.mjs +3 -3
  6. package/esm2022/lib/components/gravity-card-list/gravity-card-list.component.mjs +2 -2
  7. package/esm2022/lib/components/gravity-currency/gravity-currency.component.mjs +2 -2
  8. package/esm2022/lib/components/gravity-dropdown-list/gravity-dropdown-list.component.mjs +39 -5
  9. package/esm2022/lib/components/gravity-network-pill/gravity-network-pill.component.mjs +2 -2
  10. package/esm2022/lib/components/gravity-notification-instant/gravity-notification-instant-container.component.mjs +2 -2
  11. package/fesm2022/progressio_resources-gravity-design-system.mjs +93 -61
  12. package/fesm2022/progressio_resources-gravity-design-system.mjs.map +1 -1
  13. package/lib/components/gravity-dropdown-list/gravity-dropdown-list.component.d.ts +7 -2
  14. package/package.json +1 -1
  15. package/src/lib/assets/icon-set/gt-icon-mail/gt-icon-mail-lg-24.svg +1 -1
  16. package/src/lib/assets/icon-set/gt-icon-mail/gt-icon-mail-md-16.svg +2 -2
  17. package/src/lib/assets/icon-set/gt-icon-mail/gt-icon-mail-sm-12.svg +1 -1
  18. package/src/lib/assets/icon-set/gt-icon-mail/gt-icon-mail-xl-32.svg +1 -1
  19. package/src/lib/styles/foundations/spacing/_spacing.scss +3 -2
  20. package/progressio_resources-gravity-design-system-3.0.8.tgz +0 -0
@@ -23,7 +23,10 @@ export declare class GravityDropdownListComponent implements OnChanges {
23
23
  placeholder: string;
24
24
  required: boolean;
25
25
  supportText: string;
26
- size: 'sm' | 'md';
26
+ currency_id: number;
27
+ network_iso: string;
28
+ network_id: number;
29
+ size: 'sm' | 'md' | 'lg' | 'xl';
27
30
  width: 'short' | 'medium' | 'full' | 'fit';
28
31
  set watch(searchInput: ElementRef<HTMLInputElement>);
29
32
  availableOptions: any[];
@@ -40,6 +43,8 @@ export declare class GravityDropdownListComponent implements OnChanges {
40
43
  clearSelection(): void;
41
44
  filterItems(): void;
42
45
  onDocumentClick($event: PointerEvent): void;
46
+ getCurrencyIconSize(size: string): "sm-16" | "lg-32" | "xl-40" | "md-24";
47
+ getSpacingClass(size: string): "" | "gravity-margin-right-xxs" | "gravity-margin-right-xs" | "gravity-margin-right-sm" | "gravity-margin-right-md";
43
48
  static ɵfac: i0.ɵɵFactoryDeclaration<GravityDropdownListComponent, never>;
44
- static ɵcmp: i0.ɵɵComponentDeclaration<GravityDropdownListComponent, "gravity-dropdown-list", never, { "clearable": { "alias": "clearable"; "required": false; }; "config": { "alias": "config"; "required": false; }; "currentLang": { "alias": "currentLang"; "required": false; }; "customValues": { "alias": "customValues"; "required": false; }; "cypressTag": { "alias": "cypressTag"; "required": false; }; "hasError": { "alias": "hasError"; "required": false; }; "iconLeft": { "alias": "iconLeft"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; }; "isReadonly": { "alias": "isReadonly"; "required": false; }; "items": { "alias": "items"; "required": false; }; "label": { "alias": "label"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; "supportText": { "alias": "supportText"; "required": false; }; "size": { "alias": "size"; "required": false; }; "width": { "alias": "width"; "required": false; }; }, { "selectedItemsResponse": "response"; }, never, never, false, never>;
49
+ static ɵcmp: i0.ɵɵComponentDeclaration<GravityDropdownListComponent, "gravity-dropdown-list", never, { "clearable": { "alias": "clearable"; "required": false; }; "config": { "alias": "config"; "required": false; }; "currentLang": { "alias": "currentLang"; "required": false; }; "customValues": { "alias": "customValues"; "required": false; }; "cypressTag": { "alias": "cypressTag"; "required": false; }; "hasError": { "alias": "hasError"; "required": false; }; "iconLeft": { "alias": "iconLeft"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; }; "isReadonly": { "alias": "isReadonly"; "required": false; }; "items": { "alias": "items"; "required": false; }; "label": { "alias": "label"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; "supportText": { "alias": "supportText"; "required": false; }; "currency_id": { "alias": "currency_id"; "required": false; }; "network_iso": { "alias": "network_iso"; "required": false; }; "network_id": { "alias": "network_id"; "required": false; }; "size": { "alias": "size"; "required": false; }; "width": { "alias": "width"; "required": false; }; }, { "selectedItemsResponse": "response"; }, never, never, false, never>;
45
50
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@progressio_resources/gravity-design-system",
3
3
  "description": "Gravity Design System",
4
- "version": "3.0.8",
4
+ "version": "3.0.10",
5
5
  "license": "SEE LICENSE IN LIBRARY-LICENSE",
6
6
  "peerDependencies": {
7
7
  "@angular/common": "^16.2.12",
@@ -1,3 +1,3 @@
1
1
  <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path fill-rule="evenodd" clip-rule="evenodd" d="M0 2.0565C0 1.47301 0.441227 1 0.985507 1H23.0145C23.5588 1 24 1.47301 24 2.0565V21.9435C24 22.527 23.5588 23 23.0145 23H0.985507C0.441227 23 0 22.527 0 21.9435V2.0565ZM1.97101 4.32738V20.887H22.029V4.32738L12.6348 12.8081C12.268 13.1393 11.732 13.1393 11.3652 12.8081L1.97101 4.32738ZM20.3142 3.11299H3.68577L12 10.6188L20.3142 3.11299Z" fill="var(--icon-color, #394C6E)"/>
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M0.000108006 3.69739C-0.000650719 3.6502 0.00258839 3.60298 0.00981315 3.55622C0.0194302 3.49365 0.036024 3.43319 0.0588294 3.37558C0.0998553 3.27172 0.162288 3.17377 0.245972 3.08784C0.417875 2.91099 0.665252 2.80005 0.940196 2.80005H23.0599C23.5791 2.80005 24 3.19566 24 3.68366V8.11907V20.3164C24 20.8044 23.5791 21.2 23.0599 21.2H0.940196C0.421 21.2 0.000108006 20.8044 0.000108006 20.3164V8.11907V3.69739ZM1.88028 5.89257V8.11907V19.4328H22.1198V8.11907V5.88499L13.5364 14.315C13.4116 14.4376 13.1839 14.6529 12.856 14.7884C12.2944 15.0205 11.6624 15.0211 11.1004 14.7902C10.7684 14.6538 10.5386 14.4355 10.4127 14.3113L1.88028 5.89257ZM20.859 4.56728H3.13385L11.774 13.0924C11.8192 13.1369 11.8458 13.1601 11.8633 13.1734L11.8669 13.1761C11.939 13.2023 12.0139 13.2022 12.086 13.1758L12.0896 13.1731C12.1069 13.1599 12.1333 13.1371 12.1781 13.0931L20.859 4.56728Z" fill="#394C6E"/>
3
3
  </svg>
@@ -1,3 +1,3 @@
1
- <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path fill-rule="evenodd" clip-rule="evenodd" d="M0 1.63636C0 1.28491 0.273035 1 0.609841 1H15.3902C15.727 1 16 1.28491 16 1.63636V14.3636C16 14.7151 15.727 15 15.3902 15H0.609841C0.273035 15 0 14.7151 0 14.3636V1.63636ZM1.21968 2.98655V13.7273H14.7803V2.98655L8.38815 8.49082C8.16279 8.68488 7.83721 8.68488 7.61185 8.49082L1.21968 2.98655ZM13.693 2.27273H2.30701L8 7.17494L13.693 2.27273Z" fill="var(--icon-color, #394C6E)"/>
1
+ <svg width="16" height="12" viewBox="0 0 16 12" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M0.583743 0C0.261351 0 0 0.240627 0 0.537455V0.764828C0 0.764963 0 0.765097 0 0.765231V3.45081V11.4625C0 11.7594 0.261351 12 0.583743 12H15.4163C15.7386 12 16 11.7594 16 11.4625V3.45081V0.765442C16 0.765162 16 0.764882 16 0.764602V0.537455C16 0.240627 15.7386 0 15.4163 0H0.583743ZM14.2507 1.07491H1.74585L7.80834 6.65667C7.83734 6.68337 7.85562 6.6983 7.86845 6.70746C7.87205 6.71003 7.87461 6.71169 7.87618 6.71267C7.94615 6.73881 8.0224 6.73874 8.09235 6.71244C8.0939 6.71148 8.09644 6.70983 8.10002 6.70728C8.11272 6.69824 8.13081 6.68351 8.15957 6.65715L14.2507 1.07491ZM1.16749 2.06256V3.45081V10.9251H14.8325V3.45081V2.05833L8.9832 7.41898C8.90067 7.49462 8.7576 7.61952 8.55661 7.69876C8.19104 7.8429 7.77978 7.84326 7.41396 7.6998C7.21051 7.62002 7.06604 7.49339 6.9828 7.41675L1.16749 2.06256Z" fill="#394C6E"/>
3
3
  </svg>
@@ -1,3 +1,3 @@
1
1
  <svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path fill-rule="evenodd" clip-rule="evenodd" d="M0 1.46999C0 1.21042 0.205875 1 0.459834 1H11.5402C11.7941 1 12 1.21042 12 1.46999V10.53C12 10.7896 11.7941 11 11.5402 11H0.459834C0.205875 11 0 10.7896 0 10.53V1.46999ZM0.919668 2.44786V10.06H11.0803V2.44786L6.28726 6.367C6.11932 6.50432 5.88068 6.50432 5.71274 6.367L0.919668 2.44786ZM10.2293 1.93998H1.77072L6 5.39812L10.2293 1.93998Z" fill="var(--icon-color, #394C6E)"/>
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M2.79263e-05 1.83487C-0.000122897 1.82199 0.000337251 1.80912 0.00140721 1.79628C0.0060416 1.73997 0.0222084 1.68671 0.0476893 1.63856C0.0603537 1.6146 0.0755327 1.59153 0.0932174 1.56972C0.176745 1.46652 0.308752 1.3999 0.457303 1.3999H11.5427C11.7953 1.3999 12 1.59243 12 1.82993V4.05392V10.1699C12 10.4074 11.7953 10.5999 11.5427 10.5999H0.457303C0.204757 10.5999 2.79263e-05 10.4074 2.79263e-05 10.1699V4.05392V1.83487ZM0.914576 2.90494V4.05392V9.73985H11.0855V4.05392V2.9013L6.75998 7.15168C6.69762 7.21295 6.58512 7.31927 6.42341 7.38613C6.14552 7.50102 5.83283 7.50133 5.55472 7.38701C5.39103 7.31972 5.27744 7.21193 5.21456 7.14985L0.914576 2.90494ZM10.4722 2.25996H1.52433L5.87674 6.55663C5.89953 6.57913 5.91336 6.5912 5.9228 6.5984L5.92643 6.60108C5.96698 6.61631 6.00944 6.61627 6.05001 6.60091L6.05362 6.59826C6.06297 6.59114 6.07666 6.57923 6.09926 6.55702L10.4722 2.25996Z" fill="#394C6E"/>
3
3
  </svg>
@@ -1,3 +1,3 @@
1
1
  <svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path fill-rule="evenodd" clip-rule="evenodd" d="M0 2.30952C0 1.58629 0.539712 1 1.20548 1H30.7945C31.4603 1 32 1.58629 32 2.30952V29.6905C32 30.4137 31.4603 31 30.7945 31H1.20548C0.539712 31 0 30.4137 0 29.6905V2.30952ZM2.41096 5.14529V28.381H29.589V5.14529L16.7817 16.9969C16.3312 17.4137 15.6688 17.4137 15.2183 16.9969L2.41096 5.14529ZM27.5204 3.61905H4.47958L16 14.2798L27.5204 3.61905Z" fill="var(--icon-color, #394C6E)"/>
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M2.49628 7.67928V10.8245V25.9819H29.5015V10.8245V7.6741L18.0519 18.3048C17.8831 18.4616 17.5737 18.7389 17.1273 18.911C16.3875 19.1962 15.5573 19.197 14.817 18.9133C14.3651 18.7401 14.0527 18.4589 13.8825 18.3001L2.49628 7.67928ZM31.9978 4.97515C32.0187 4.66154 31.8903 4.3421 31.6148 4.10787C31.3655 3.89579 31.0428 3.79378 30.723 3.80035H1.27918C1.21589 3.79905 1.1525 3.802 1.08958 3.80921C0.475118 3.87844 0 4.34463 0 4.90942V10.8245V27.091C0 27.7035 0.558812 28.2001 1.24814 28.2001H30.7497C31.439 28.2001 31.9978 27.7035 31.9978 27.091V10.8245V4.97515ZM4.16348 6.0185H27.8294L16.2485 16.7711C16.1863 16.8288 16.1494 16.8592 16.1245 16.8771L16.1172 16.8822C16.0201 16.9156 15.9194 16.9157 15.8223 16.8825L15.8151 16.8775C15.7899 16.8593 15.7526 16.8286 15.6899 16.7701L4.16348 6.0185Z" fill="#394C6E"/>
3
3
  </svg>
@@ -1,9 +1,10 @@
1
1
  $scss-types: padding, margin;
2
- $spacing-sizes: none, xs, sm, md, lg, xl, xxl, xxxl, xxxxl;
2
+ $spacing-sizes: none, xxs, xs, sm, md, lg, xl, xxl, xxxl, xxxxl;
3
3
  $spacing-types: '', -top, -bottom, -left, -right, -block, -inline;
4
4
 
5
5
  $spacing-values: (
6
6
  none: 0,
7
+ xxs: 0.25rem,
7
8
  xs: 0.5rem,
8
9
  sm: 1rem,
9
10
  md: 1.5rem,
@@ -17,7 +18,7 @@ $spacing-values: (
17
18
  @each $scss-type in $scss-types {
18
19
  @each $size in $spacing-sizes {
19
20
  @each $spacing-type in $spacing-types {
20
- //.gravity-{{padding,margin}}-{{top,bottom,left,right,block,inline}}-{{xs,sm,md,lg,xl,xxl,xxxl,xxxxl}}
21
+ //.gravity-{{padding,margin}}-{{top,bottom,left,right,block,inline}}-{{xxs, xs,sm,md,lg,xl,xxl,xxxl,xxxxl}}
21
22
  .gravity-#{$scss-type}#{$spacing-type}-#{$size} {
22
23
  #{$scss-type}#{$spacing-type}: map-get($spacing-values, $size) !important;
23
24
  }