@ifsworld/granite-components 6.0.0-beta.5 → 6.0.0-beta.6

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 (139) hide show
  1. package/README.md +4 -28
  2. package/date-picker/index.d.ts +4 -0
  3. package/date-picker/lib/date-picker-base.d.ts +34 -0
  4. package/date-picker/lib/date-picker-trigger-for.directive.d.ts +70 -0
  5. package/date-picker/lib/date-picker.component.d.ts +10 -0
  6. package/date-picker/lib/date-picker.module.d.ts +15 -0
  7. package/date-picker/lib/date-range-picker.component.d.ts +12 -0
  8. package/esm2020/date-picker/ifsworld-granite-components-date-picker.mjs +5 -0
  9. package/esm2020/date-picker/index.mjs +5 -0
  10. package/esm2020/date-picker/lib/date-picker-base.mjs +53 -0
  11. package/esm2020/date-picker/lib/date-picker-trigger-for.directive.mjs +228 -0
  12. package/esm2020/date-picker/lib/date-picker.component.mjs +30 -0
  13. package/esm2020/date-picker/lib/date-picker.module.mjs +58 -0
  14. package/esm2020/date-picker/lib/date-range-picker.component.mjs +46 -0
  15. package/esm2020/lib/arrange-grid/arrange-grid-item.component.mjs +14 -14
  16. package/esm2020/lib/arrange-grid/arrange-grid.component.mjs +19 -19
  17. package/esm2020/lib/arrange-grid/arrange-grid.module.mjs +5 -5
  18. package/esm2020/lib/badge/badge.component.mjs +5 -5
  19. package/esm2020/lib/badge/badge.module.mjs +5 -5
  20. package/esm2020/lib/button/button.component.mjs +9 -9
  21. package/esm2020/lib/button/button.module.mjs +5 -5
  22. package/esm2020/lib/checkbox/checkbox-group.component.mjs +4 -4
  23. package/esm2020/lib/checkbox/checkbox.component.mjs +11 -8
  24. package/esm2020/lib/checkbox/checkbox.module.mjs +5 -5
  25. package/esm2020/lib/chips/chip-input.mjs +25 -25
  26. package/esm2020/lib/chips/chip-list.component.mjs +47 -47
  27. package/esm2020/lib/chips/chip.component.mjs +48 -48
  28. package/esm2020/lib/chips/chips.module.mjs +5 -5
  29. package/esm2020/lib/core/common-behaviors/disabled.mjs +4 -4
  30. package/esm2020/lib/core/core.module.mjs +5 -5
  31. package/esm2020/lib/core/devices/client-input-desktop.directive.mjs +4 -4
  32. package/esm2020/lib/core/devices/client-input-touch.directive.mjs +4 -4
  33. package/esm2020/lib/core/devices/client-output-desktop.directive.mjs +4 -4
  34. package/esm2020/lib/core/devices/client-output-touch.directive.mjs +4 -4
  35. package/esm2020/lib/core/pipes/pure-pipes.module.mjs +5 -5
  36. package/esm2020/lib/core/pipes/title.pipe.mjs +4 -4
  37. package/esm2020/lib/core/radio-checkbox-base.mjs +4 -4
  38. package/esm2020/lib/grid/grid.component.mjs +10 -10
  39. package/esm2020/lib/grid/grid.module.mjs +5 -5
  40. package/esm2020/lib/icon/icon.component.mjs +5 -5
  41. package/esm2020/lib/icon/icon.module.mjs +5 -5
  42. package/esm2020/lib/input-field/input-field.component.mjs +7 -7
  43. package/esm2020/lib/input-field/input-field.module.mjs +5 -5
  44. package/esm2020/lib/label/label.component.mjs +4 -4
  45. package/esm2020/lib/label/label.module.mjs +5 -5
  46. package/esm2020/lib/menu/divider.directive.mjs +4 -4
  47. package/esm2020/lib/menu/menu-base.mjs +31 -31
  48. package/esm2020/lib/menu/menu-item.component.mjs +8 -8
  49. package/esm2020/lib/menu/menu-touch-close.component.mjs +5 -5
  50. package/esm2020/lib/menu/menu-touch-title.component.mjs +8 -8
  51. package/esm2020/lib/menu/menu-trigger-for.directive.mjs +9 -7
  52. package/esm2020/lib/menu/menu.component.mjs +8 -8
  53. package/esm2020/lib/menu/menu.module.mjs +5 -5
  54. package/esm2020/lib/menu/title.directive.mjs +4 -4
  55. package/esm2020/lib/radio-button/radio-button.component.mjs +11 -8
  56. package/esm2020/lib/radio-button/radio-button.module.mjs +5 -5
  57. package/esm2020/lib/radio-button/radio-group.component.mjs +4 -4
  58. package/esm2020/lib/toggle-switch/toggle-switch.component.mjs +12 -8
  59. package/esm2020/lib/toggle-switch/toggle-switch.module.mjs +5 -5
  60. package/esm2020/table/lib/cell/cell-align/cell-align-classes.directive.mjs +4 -4
  61. package/esm2020/table/lib/cell/cell.mjs +4 -4
  62. package/esm2020/table/lib/cell/table-data-cell.component.mjs +5 -5
  63. package/esm2020/table/lib/cell/table-header-cell.component.mjs +5 -5
  64. package/esm2020/table/lib/column/table-column.directive.mjs +4 -4
  65. package/esm2020/table/lib/table.component.mjs +9 -9
  66. package/esm2020/table/lib/table.module.mjs +5 -5
  67. package/esm2020/tooltip/lib/tooltip-trigger-for.directive.mjs +4 -4
  68. package/esm2020/tooltip/lib/tooltip.component.mjs +5 -5
  69. package/esm2020/tooltip/lib/tooltip.module.mjs +5 -5
  70. package/fesm2015/ifsworld-granite-components-date-picker.mjs +401 -0
  71. package/fesm2015/ifsworld-granite-components-date-picker.mjs.map +1 -0
  72. package/fesm2015/ifsworld-granite-components-table.mjs +26 -26
  73. package/fesm2015/ifsworld-granite-components-table.mjs.map +1 -1
  74. package/fesm2015/ifsworld-granite-components-tooltip.mjs +11 -11
  75. package/fesm2015/ifsworld-granite-components-tooltip.mjs.map +1 -1
  76. package/fesm2015/ifsworld-granite-components.mjs +368 -356
  77. package/fesm2015/ifsworld-granite-components.mjs.map +1 -1
  78. package/fesm2020/ifsworld-granite-components-date-picker.mjs +396 -0
  79. package/fesm2020/ifsworld-granite-components-date-picker.mjs.map +1 -0
  80. package/fesm2020/ifsworld-granite-components-table.mjs +26 -26
  81. package/fesm2020/ifsworld-granite-components-table.mjs.map +1 -1
  82. package/fesm2020/ifsworld-granite-components-tooltip.mjs +11 -11
  83. package/fesm2020/ifsworld-granite-components-tooltip.mjs.map +1 -1
  84. package/fesm2020/ifsworld-granite-components.mjs +368 -356
  85. package/fesm2020/ifsworld-granite-components.mjs.map +1 -1
  86. package/lib/arrange-grid/arrange-grid-item.component.d.ts +1 -1
  87. package/lib/arrange-grid/arrange-grid.component.d.ts +1 -1
  88. package/lib/badge/badge.component.d.ts +1 -1
  89. package/lib/button/button.component.d.ts +2 -2
  90. package/lib/checkbox/checkbox-group.component.d.ts +1 -1
  91. package/lib/checkbox/checkbox.component.d.ts +1 -1
  92. package/lib/chips/chip-input.d.ts +1 -1
  93. package/lib/chips/chip-list.component.d.ts +1 -1
  94. package/lib/chips/chip.component.d.ts +1 -1
  95. package/lib/core/client-environment.d.ts +2 -2
  96. package/lib/core/common-behaviors/disabled.d.ts +1 -1
  97. package/lib/core/devices/client-input-desktop.directive.d.ts +1 -1
  98. package/lib/core/devices/client-input-touch.directive.d.ts +1 -1
  99. package/lib/core/devices/client-output-desktop.directive.d.ts +1 -1
  100. package/lib/core/devices/client-output-touch.directive.d.ts +1 -1
  101. package/lib/core/pipes/title.pipe.d.ts +1 -1
  102. package/lib/core/radio-checkbox-base.d.ts +1 -1
  103. package/lib/core/types.d.ts +2 -2
  104. package/lib/grid/grid.component.d.ts +2 -2
  105. package/lib/icon/icon.component.d.ts +1 -1
  106. package/lib/input-field/input-field.component.d.ts +1 -1
  107. package/lib/label/label.component.d.ts +1 -1
  108. package/lib/menu/divider.directive.d.ts +1 -1
  109. package/lib/menu/menu-base.d.ts +3 -3
  110. package/lib/menu/menu-item.component.d.ts +1 -1
  111. package/lib/menu/menu-panel.d.ts +1 -1
  112. package/lib/menu/menu-positions.d.ts +2 -2
  113. package/lib/menu/menu-touch-close.component.d.ts +1 -1
  114. package/lib/menu/menu-touch-title.component.d.ts +1 -1
  115. package/lib/menu/menu-trigger-for.directive.d.ts +2 -1
  116. package/lib/menu/menu.component.d.ts +1 -1
  117. package/lib/menu/title.directive.d.ts +1 -1
  118. package/lib/radio-button/radio-button.component.d.ts +1 -1
  119. package/lib/radio-button/radio-group.component.d.ts +1 -1
  120. package/lib/toggle-switch/toggle-switch.component.d.ts +1 -1
  121. package/package.json +25 -14
  122. package/src/lib/core/style/_mixins.scss +14 -6
  123. package/src/lib/core/style/_overlay.scss +11 -1
  124. package/src/lib/core/style/_tokens.scss +1 -1
  125. package/src/lib/core/style/_z-index.scss +4 -0
  126. package/table/lib/cell/cell-align/cell-align-classes.directive.d.ts +1 -1
  127. package/table/lib/cell/cell.d.ts +1 -1
  128. package/table/lib/cell/table-data-cell.component.d.ts +1 -1
  129. package/table/lib/cell/table-header-cell.component.d.ts +1 -1
  130. package/table/lib/column/table-column.directive.d.ts +1 -1
  131. package/table/lib/table.component.d.ts +1 -1
  132. package/table/lib/table.types.d.ts +1 -1
  133. package/tooltip/lib/tooltip-trigger-for.directive.d.ts +1 -1
  134. package/tooltip/lib/tooltip.component.d.ts +1 -1
  135. package/ifsworld-granite-components.d.ts +0 -5
  136. package/table/ifsworld-granite-components-table.d.ts +0 -5
  137. package/table/package.json +0 -18
  138. package/tooltip/ifsworld-granite-components-tooltip.d.ts +0 -5
  139. package/tooltip/package.json +0 -10
@@ -26,5 +26,5 @@ export declare class GraniteArrangeGridItemComponent {
26
26
  */
27
27
  protected setCssProperty(variable: string, value: string | null): void;
28
28
  static ɵfac: i0.ɵɵFactoryDeclaration<GraniteArrangeGridItemComponent, never>;
29
- static ɵcmp: i0.ɵɵComponentDeclaration<GraniteArrangeGridItemComponent, "granite-arrange-grid-item", never, {}, {}, never, ["*"]>;
29
+ static ɵcmp: i0.ɵɵComponentDeclaration<GraniteArrangeGridItemComponent, "granite-arrange-grid-item", never, {}, {}, never, ["*"], false, never>;
30
30
  }
@@ -54,5 +54,5 @@ export declare class GraniteArrangeGridComponent implements OnChanges, AfterCont
54
54
  */
55
55
  protected setCssProperty(variable: string, value: string | null): void;
56
56
  static ɵfac: i0.ɵɵFactoryDeclaration<GraniteArrangeGridComponent, never>;
57
- static ɵcmp: i0.ɵɵComponentDeclaration<GraniteArrangeGridComponent, "granite-arrange-grid", never, { "orientation": "orientation"; "cols": "cols"; }, {}, ["arrangeGridItemComponents"], ["granite-arrange-grid-item"]>;
57
+ static ɵcmp: i0.ɵɵComponentDeclaration<GraniteArrangeGridComponent, "granite-arrange-grid", never, { "orientation": "orientation"; "cols": "cols"; }, {}, ["arrangeGridItemComponents"], ["granite-arrange-grid-item"], false, never>;
58
58
  }
@@ -15,5 +15,5 @@ export declare class GraniteBadgeComponent implements OnChanges {
15
15
  constructor(elementRef: ElementRef);
16
16
  ngOnChanges(changes: SimpleChanges): void;
17
17
  static ɵfac: i0.ɵɵFactoryDeclaration<GraniteBadgeComponent, never>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<GraniteBadgeComponent, "granite-badge", ["graniteBadge"], { "backgroundColor": "backgroundColor"; "color": "color"; "pill": "pill"; }, {}, never, ["*"]>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<GraniteBadgeComponent, "granite-badge", ["graniteBadge"], { "backgroundColor": "backgroundColor"; "color": "color"; "pill": "pill"; }, {}, never, ["*"], false, never>;
19
19
  }
@@ -24,7 +24,7 @@ export declare class GraniteButtonComponent extends ButtonComponentMixin impleme
24
24
  focus(origin?: FocusOrigin, options?: FocusOptions): void;
25
25
  private _getHostElement;
26
26
  static ɵfac: i0.ɵɵFactoryDeclaration<GraniteButtonComponent, never>;
27
- static ɵcmp: i0.ɵɵComponentDeclaration<GraniteButtonComponent, "button[graniteButton], button[granitePrimaryButton], button[graniteFlatButton], button[graniteToolbarButton] ", ["graniteButton"], { "disabled": "disabled"; "toggled": "toggled"; }, {}, never, ["*"]>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<GraniteButtonComponent, "button[graniteButton], button[granitePrimaryButton], button[graniteFlatButton], button[graniteToolbarButton] ", ["graniteButton"], { "disabled": "disabled"; "toggled": "toggled"; }, {}, never, ["*"], false, never>;
28
28
  }
29
29
  export declare class GraniteAnchorComponent extends GraniteButtonComponent implements OnChanges {
30
30
  protected _focusMonitor: FocusMonitor;
@@ -33,6 +33,6 @@ export declare class GraniteAnchorComponent extends GraniteButtonComponent imple
33
33
  _anchorClick(event: Event): void;
34
34
  ngOnChanges(changes: SimpleChanges): void;
35
35
  static ɵfac: i0.ɵɵFactoryDeclaration<GraniteAnchorComponent, never>;
36
- static ɵcmp: i0.ɵɵComponentDeclaration<GraniteAnchorComponent, "a[graniteButton], a[graniteFlatButton]", ["graniteAnchor"], { "disabled": "disabled"; }, {}, never, ["*"]>;
36
+ static ɵcmp: i0.ɵɵComponentDeclaration<GraniteAnchorComponent, "a[graniteButton], a[graniteFlatButton]", ["graniteAnchor"], { "disabled": "disabled"; }, {}, never, ["*"], false, never>;
37
37
  }
38
38
  export {};
@@ -2,5 +2,5 @@ import { GraniteRadioCheckboxBase } from '../core/radio-checkbox-base';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class GraniteCheckboxGroupComponent extends GraniteRadioCheckboxBase {
4
4
  static ɵfac: i0.ɵɵFactoryDeclaration<GraniteCheckboxGroupComponent, never>;
5
- static ɵcmp: i0.ɵɵComponentDeclaration<GraniteCheckboxGroupComponent, "granite-checkbox-group", never, {}, {}, never, ["*"]>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<GraniteCheckboxGroupComponent, "granite-checkbox-group", never, {}, {}, never, ["*"], false, never>;
6
6
  }
@@ -25,5 +25,5 @@ export declare class GraniteCheckboxComponent implements OnChanges {
25
25
  _checkboxClick(): void;
26
26
  private _getInputElement;
27
27
  static ɵfac: i0.ɵɵFactoryDeclaration<GraniteCheckboxComponent, never>;
28
- static ɵcmp: i0.ɵɵComponentDeclaration<GraniteCheckboxComponent, "granite-checkbox", ["graniteCheckbox"], { "id": "id"; "checked": "checked"; "disabled": "disabled"; "readonly": "readonly"; "labelPosition": "labelPosition"; "ariaLabel": "aria-label"; "ariaLabelledby": "aria-labelledby"; }, { "valueChange": "valueChange"; "checkboxChange": "checkboxChange"; "checkboxBlur": "checkboxBlur"; }, never, ["*"]>;
28
+ static ɵcmp: i0.ɵɵComponentDeclaration<GraniteCheckboxComponent, "granite-checkbox", ["graniteCheckbox"], { "id": "id"; "checked": "checked"; "disabled": "disabled"; "readonly": "readonly"; "labelPosition": "labelPosition"; "ariaLabel": "aria-label"; "ariaLabelledby": "aria-labelledby"; }, { "valueChange": "valueChange"; "checkboxChange": "checkboxChange"; "checkboxBlur": "checkboxBlur"; }, never, ["*"], false, never>;
29
29
  }
@@ -85,5 +85,5 @@ export declare class GraniteChipInputDirective implements GraniteChipTextControl
85
85
  /** Checks whether a keycode is one of the configured separators. */
86
86
  private _isSeparatorKey;
87
87
  static ɵfac: i0.ɵɵFactoryDeclaration<GraniteChipInputDirective, never>;
88
- static ɵdir: i0.ɵɵDirectiveDeclaration<GraniteChipInputDirective, "input[graniteChipInputFor]", ["graniteChipInput", "graniteChipInputFor"], { "id": "id"; "placeholder": "placeholder"; "graniteChipInputFor": "graniteChipInputFor"; "graniteChipInputSeparatorKeyCodes": "graniteChipInputSeparatorKeyCodes"; "graniteChipInputAddOnBlur": "graniteChipInputAddOnBlur"; "required": "required"; "disabled": "disabled"; }, { "graniteChipInputTokenEnd": "graniteChipInputTokenEnd"; }, never>;
88
+ static ɵdir: i0.ɵɵDirectiveDeclaration<GraniteChipInputDirective, "input[graniteChipInputFor]", ["graniteChipInput", "graniteChipInputFor"], { "id": "id"; "placeholder": "placeholder"; "graniteChipInputFor": "graniteChipInputFor"; "graniteChipInputSeparatorKeyCodes": "graniteChipInputSeparatorKeyCodes"; "graniteChipInputAddOnBlur": "graniteChipInputAddOnBlur"; "required": "required"; "disabled": "disabled"; }, { "graniteChipInputTokenEnd": "graniteChipInputTokenEnd"; }, never, never, false, never>;
89
89
  }
@@ -180,6 +180,6 @@ export declare class GraniteChipListComponent extends GraniteChipListBase implem
180
180
  /** Syncs the list's state with the individual chips. */
181
181
  private _syncChipsState;
182
182
  static ɵfac: i0.ɵɵFactoryDeclaration<GraniteChipListComponent, [null, null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; self: true; }]>;
183
- static ɵcmp: i0.ɵɵComponentDeclaration<GraniteChipListComponent, "granite-chip-list", ["graniteChipList"], { "role": "role"; "multiselect": "multiselect"; "disabled": "disabled"; "selectable": "selectable"; "tabindex": "tabindex"; "ariaLabel": "aria-label"; "ariaLabelledby": "aria-labelledby"; "ariaOrientation": "aria-orientation"; }, {}, ["chips"], ["*"]>;
183
+ static ɵcmp: i0.ɵɵComponentDeclaration<GraniteChipListComponent, "granite-chip-list", ["graniteChipList"], { "role": "role"; "multiselect": "multiselect"; "disabled": "disabled"; "selectable": "selectable"; "tabindex": "tabindex"; "ariaLabel": "aria-label"; "ariaLabelledby": "aria-labelledby"; "ariaOrientation": "aria-orientation"; }, {}, ["chips"], ["*"], false, never>;
184
184
  }
185
185
  export {};
@@ -100,5 +100,5 @@ export declare class GraniteChipComponent implements FocusableOption, OnDestroy
100
100
  /** The ARIA selected applied to the chip. */
101
101
  get ariaSelected(): string | null;
102
102
  static ɵfac: i0.ɵɵFactoryDeclaration<GraniteChipComponent, [null, null, { optional: true; }, { attribute: "tabindex"; }]>;
103
- static ɵcmp: i0.ɵɵComponentDeclaration<GraniteChipComponent, "granite-chip, granite-input-chip", ["graniteChip"], { "tabIndex": "tabIndex"; "role": "role"; "selected": "selected"; "value": "value"; "selectable": "selectable"; "disabled": "disabled"; "removable": "removable"; "invalid": "invalid"; "ariaLabel": "aria-label"; "ariaLabelledby": "aria-labelledby"; }, { "selectionChange": "selectionChange"; "removed": "removed"; "destroyed": "destroyed"; "chipFocus": "chipFocus"; "chipBlur": "chipBlur"; }, never, ["*"]>;
103
+ static ɵcmp: i0.ɵɵComponentDeclaration<GraniteChipComponent, "granite-chip, granite-input-chip", ["graniteChip"], { "tabIndex": "tabIndex"; "role": "role"; "selected": "selected"; "value": "value"; "selectable": "selectable"; "disabled": "disabled"; "removable": "removable"; "invalid": "invalid"; "ariaLabel": "aria-label"; "ariaLabelledby": "aria-labelledby"; }, { "selectionChange": "selectionChange"; "removed": "removed"; "destroyed": "destroyed"; "chipFocus": "chipFocus"; "chipBlur": "chipBlur"; }, never, ["*"], false, never>;
104
104
  }
@@ -9,8 +9,8 @@ export declare const GRANITE_CLIENT_INPUT: InjectionToken<ClientInputInterface>;
9
9
  * is being used for output.
10
10
  */
11
11
  export declare const GRANITE_CLIENT_OUTPUT: InjectionToken<ClientOutputInterface>;
12
- export declare type InputDeviceTypes = void | 'touch' | 'mouse' | 'keyboard' | 'onscreen-keyboard';
13
- export declare type OutputDeviceTypes = void | 'touch' | 'desktop';
12
+ export type InputDeviceTypes = void | 'touch' | 'mouse' | 'keyboard' | 'onscreen-keyboard';
13
+ export type OutputDeviceTypes = void | 'touch' | 'desktop';
14
14
  export interface ClientInputInterface {
15
15
  devices: InputDeviceTypes[];
16
16
  }
@@ -1,5 +1,5 @@
1
1
  import { SimpleChanges } from '@angular/core';
2
- declare type Constructor<T> = new (...args: any[]) => T;
2
+ type Constructor<T> = new (...args: any[]) => T;
3
3
  export declare const disabledMixin: <T extends Constructor<Record<string, unknown>>>(Base?: T) => {
4
4
  new (...args: any[]): {
5
5
  [x: string]: unknown;
@@ -5,5 +5,5 @@ import * as i0 from "@angular/core";
5
5
  */
6
6
  export declare class ClientInputDesktopDirective {
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<ClientInputDesktopDirective, never>;
8
- static ɵdir: i0.ɵɵDirectiveDeclaration<ClientInputDesktopDirective, "[graniteClientInputDesktop]", never, {}, {}, never>;
8
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ClientInputDesktopDirective, "[graniteClientInputDesktop]", never, {}, {}, never, never, false, never>;
9
9
  }
@@ -5,5 +5,5 @@ import * as i0 from "@angular/core";
5
5
  */
6
6
  export declare class ClientInputTouchDirective {
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<ClientInputTouchDirective, never>;
8
- static ɵdir: i0.ɵɵDirectiveDeclaration<ClientInputTouchDirective, "[graniteClientInputTouch]", never, {}, {}, never>;
8
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ClientInputTouchDirective, "[graniteClientInputTouch]", never, {}, {}, never, never, false, never>;
9
9
  }
@@ -5,5 +5,5 @@ import * as i0 from "@angular/core";
5
5
  */
6
6
  export declare class ClientOutputDesktopDirective {
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<ClientOutputDesktopDirective, never>;
8
- static ɵdir: i0.ɵɵDirectiveDeclaration<ClientOutputDesktopDirective, "[graniteClientOutputDesktop]", never, {}, {}, never>;
8
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ClientOutputDesktopDirective, "[graniteClientOutputDesktop]", never, {}, {}, never, never, false, never>;
9
9
  }
@@ -5,5 +5,5 @@ import * as i0 from "@angular/core";
5
5
  */
6
6
  export declare class ClientOutputTouchDirective {
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<ClientOutputTouchDirective, never>;
8
- static ɵdir: i0.ɵɵDirectiveDeclaration<ClientOutputTouchDirective, "[graniteClientOutputTouch]", never, {}, {}, never>;
8
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ClientOutputTouchDirective, "[graniteClientOutputTouch]", never, {}, {}, never, never, false, never>;
9
9
  }
@@ -3,5 +3,5 @@ import * as i0 from "@angular/core";
3
3
  export declare class GraniteTitlePipe implements PipeTransform {
4
4
  transform(value: string): string;
5
5
  static ɵfac: i0.ɵɵFactoryDeclaration<GraniteTitlePipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<GraniteTitlePipe, "graniteTitle">;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<GraniteTitlePipe, "graniteTitle", false>;
7
7
  }
@@ -4,5 +4,5 @@ export declare abstract class GraniteRadioCheckboxBase {
4
4
  layout: Layout;
5
5
  ariaLabelledby: string | null;
6
6
  static ɵfac: i0.ɵɵFactoryDeclaration<GraniteRadioCheckboxBase, never>;
7
- static ɵdir: i0.ɵɵDirectiveDeclaration<GraniteRadioCheckboxBase, never, never, { "layout": "layout"; "ariaLabelledby": "aria-labelledby"; }, {}, never>;
7
+ static ɵdir: i0.ɵɵDirectiveDeclaration<GraniteRadioCheckboxBase, never, never, { "layout": "layout"; "ariaLabelledby": "aria-labelledby"; }, {}, never, never, false, never>;
8
8
  }
@@ -1,2 +1,2 @@
1
- export declare type Position = 'before' | 'after';
2
- export declare type Layout = 'horizontal' | 'vertical';
1
+ export type Position = 'before' | 'after';
2
+ export type Layout = 'horizontal' | 'vertical';
@@ -24,7 +24,7 @@ export declare class GraniteGridItemComponent implements OnChanges {
24
24
  */
25
25
  private setStyle;
26
26
  static ɵfac: i0.ɵɵFactoryDeclaration<GraniteGridItemComponent, never>;
27
- static ɵcmp: i0.ɵɵComponentDeclaration<GraniteGridItemComponent, "granite-grid-item", never, { "columnStart": "columnStart"; "columnEnd": "columnEnd"; "rowStart": "rowStart"; "rowEnd": "rowEnd"; }, {}, never, ["*"]>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<GraniteGridItemComponent, "granite-grid-item", never, { "columnStart": "columnStart"; "columnEnd": "columnEnd"; "rowStart": "rowStart"; "rowEnd": "rowEnd"; }, {}, never, ["*"], false, never>;
28
28
  }
29
29
  /**
30
30
  * Grid
@@ -71,5 +71,5 @@ export declare class GraniteGridComponent implements AfterContentInit, OnChanges
71
71
  /** Update grid row template style */
72
72
  protected updateRowStyles(): void;
73
73
  static ɵfac: i0.ɵɵFactoryDeclaration<GraniteGridComponent, never>;
74
- static ɵcmp: i0.ɵɵComponentDeclaration<GraniteGridComponent, "granite-grid", never, { "cols": "cols"; "rows": "rows"; }, {}, never, ["*"]>;
74
+ static ɵcmp: i0.ɵɵComponentDeclaration<GraniteGridComponent, "granite-grid", never, { "cols": "cols"; "rows": "rows"; }, {}, never, ["*"], false, never>;
75
75
  }
@@ -9,5 +9,5 @@ export declare class GraniteIconComponent implements OnChanges {
9
9
  ngOnChanges(changes: SimpleChanges): void;
10
10
  private _updateFontIcon;
11
11
  static ɵfac: i0.ɵɵFactoryDeclaration<GraniteIconComponent, [null, null, { attribute: "aria-hidden"; }]>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<GraniteIconComponent, "granite-icon", never, { "fontIcon": "fontIcon"; }, {}, never, ["*"]>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<GraniteIconComponent, "granite-icon", never, { "fontIcon": "fontIcon"; }, {}, never, ["*"], false, never>;
13
13
  }
@@ -38,5 +38,5 @@ export declare class GraniteInputFieldComponent implements OnInit, OnChanges {
38
38
  private _getInputElement;
39
39
  private _getTextareaElement;
40
40
  static ɵfac: i0.ɵɵFactoryDeclaration<GraniteInputFieldComponent, never>;
41
- static ɵcmp: i0.ɵɵComponentDeclaration<GraniteInputFieldComponent, "granite-input-field", ["graniteInputField"], { "id": "id"; "name": "name"; "type": "type"; "value": "value"; "required": "required"; "readonly": "readonly"; "invalid": "invalid"; "disabled": "disabled"; "placeholder": "placeholder"; "prefixicon": "prefixicon"; "maxlength": "maxlength"; "countcharacters": "countcharacters"; "ariaLabel": "aria-label"; "ariaLabelledby": "aria-labelledby"; }, { "valueChange": "valueChange"; }, never, never>;
41
+ static ɵcmp: i0.ɵɵComponentDeclaration<GraniteInputFieldComponent, "granite-input-field", ["graniteInputField"], { "id": "id"; "name": "name"; "type": "type"; "value": "value"; "required": "required"; "readonly": "readonly"; "invalid": "invalid"; "disabled": "disabled"; "placeholder": "placeholder"; "prefixicon": "prefixicon"; "maxlength": "maxlength"; "countcharacters": "countcharacters"; "ariaLabel": "aria-label"; "ariaLabelledby": "aria-labelledby"; }, { "valueChange": "valueChange"; }, never, never, false, never>;
42
42
  }
@@ -6,5 +6,5 @@ export declare class GraniteLabelComponent implements OnChanges {
6
6
  required: boolean;
7
7
  ngOnChanges(changes: SimpleChanges): void;
8
8
  static ɵfac: i0.ɵɵFactoryDeclaration<GraniteLabelComponent, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<GraniteLabelComponent, "granite-label", ["graniteLabel"], { "for": "for"; "form": "form"; "required": "required"; }, {}, never, ["*"]>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<GraniteLabelComponent, "granite-label", ["graniteLabel"], { "for": "for"; "form": "form"; "required": "required"; }, {}, never, ["*"], false, never>;
10
10
  }
@@ -2,5 +2,5 @@ import * as i0 from "@angular/core";
2
2
  export declare class GraniteDividerDirective {
3
3
  dividerDirection: string;
4
4
  static ɵfac: i0.ɵɵFactoryDeclaration<GraniteDividerDirective, never>;
5
- static ɵdir: i0.ɵɵDirectiveDeclaration<GraniteDividerDirective, "[graniteDivider]", ["graniteDivider"], { "dividerDirection": "dividerDirection"; }, {}, never>;
5
+ static ɵdir: i0.ɵɵDirectiveDeclaration<GraniteDividerDirective, "[graniteDivider]", ["graniteDivider"], { "dividerDirection": "dividerDirection"; }, {}, never, never, false, never>;
6
6
  }
@@ -9,12 +9,12 @@ import { ClosedEventType, GraniteMenuPanelInterface } from './menu-panel';
9
9
  import { MenuPositionX, MenuPositionY } from './menu-positions';
10
10
  import * as i0 from "@angular/core";
11
11
  /** Menu panel animation states */
12
- declare type TransformMenuStates = 'void' | 'enter' | 'enter-from-below' | 'below-with-delay' | 'below' | 'pan' | 'hide' | 'pan-hidden';
12
+ type TransformMenuStates = 'void' | 'enter' | 'enter-from-below' | 'below-with-delay' | 'below' | 'pan' | 'hide' | 'pan-hidden';
13
13
  /**
14
14
  * Menu panel animation transform/state object. Has to be an object as we supply
15
15
  * the `xOffset` parameter and not just the state name.
16
16
  */
17
- declare type TransformMenu = {
17
+ type TransformMenu = {
18
18
  /** Current animation state name */
19
19
  value: TransformMenuStates;
20
20
  params: {
@@ -185,6 +185,6 @@ export declare class _MenuBaseComponent implements AfterContentInit, OnDestroy,
185
185
  */
186
186
  private _updateDirectDescendants;
187
187
  static ɵfac: i0.ɵɵFactoryDeclaration<_MenuBaseComponent, never>;
188
- static ɵdir: i0.ɵɵDirectiveDeclaration<_MenuBaseComponent, never, never, { "xPosition": "xPosition"; "yPosition": "yPosition"; "title": "title"; "closeLabel": "closeLabel"; "openOnHover": "openOnHover"; }, { "closed": "closed"; }, ["_allItems"]>;
188
+ static ɵdir: i0.ɵɵDirectiveDeclaration<_MenuBaseComponent, never, never, { "xPosition": "xPosition"; "yPosition": "yPosition"; "title": "title"; "closeLabel": "closeLabel"; "openOnHover": "openOnHover"; }, { "closed": "closed"; }, ["_allItems"], never, false, never>;
189
189
  }
190
190
  export {};
@@ -32,5 +32,5 @@ export declare class GraniteMenuItemComponent implements OnDestroy, FocusableOpt
32
32
  /** Returns the host DOM element. */
33
33
  _getHostElement(): HTMLElement;
34
34
  static ɵfac: i0.ɵɵFactoryDeclaration<GraniteMenuItemComponent, [null, null, { optional: true; }]>;
35
- static ɵcmp: i0.ɵɵComponentDeclaration<GraniteMenuItemComponent, "[graniteMenuItem]", ["graniteMenuItem"], { "role": "role"; }, {}, never, ["*"]>;
35
+ static ɵcmp: i0.ɵɵComponentDeclaration<GraniteMenuItemComponent, "[graniteMenuItem]", ["graniteMenuItem"], { "role": "role"; }, {}, never, ["*"], false, never>;
36
36
  }
@@ -7,7 +7,7 @@ import { MenuPositionX, MenuPositionY } from './menu-positions';
7
7
  * @docs-private
8
8
  */
9
9
  export declare const GRANITE_MENU_PANEL: InjectionToken<GraniteMenuPanelInterface>;
10
- export declare type ClosedEventType = void | 'click' | 'keydown' | 'tab';
10
+ export type ClosedEventType = void | 'click' | 'keydown' | 'tab';
11
11
  export interface GraniteMenuPanelInterface {
12
12
  xPosition: MenuPositionX;
13
13
  yPosition: MenuPositionY;
@@ -5,5 +5,5 @@
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
6
  * found in the LICENSE file at https://angular.io/license
7
7
  */
8
- export declare type MenuPositionX = 'before' | 'after';
9
- export declare type MenuPositionY = 'above' | 'below';
8
+ export type MenuPositionX = 'before' | 'after';
9
+ export type MenuPositionY = 'above' | 'below';
@@ -1,5 +1,5 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class GraniteMenuTouchCloseComponent {
3
3
  static ɵfac: i0.ɵɵFactoryDeclaration<GraniteMenuTouchCloseComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<GraniteMenuTouchCloseComponent, "[graniteMenuTouchCloseItem]", ["graniteMenuTouchCloseItem"], {}, {}, never, ["*"]>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<GraniteMenuTouchCloseComponent, "[graniteMenuTouchCloseItem]", ["graniteMenuTouchCloseItem"], {}, {}, never, ["*"], false, never>;
5
5
  }
@@ -10,5 +10,5 @@ export declare class GraniteMenuTouchTitleItemComponent {
10
10
  /** If this is an item on a _submenu_, its parent menu will have a parent */
11
11
  _parentMenu: _MenuBaseComponent);
12
12
  static ɵfac: i0.ɵɵFactoryDeclaration<GraniteMenuTouchTitleItemComponent, [{ optional: true; }]>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<GraniteMenuTouchTitleItemComponent, "[graniteMenuTouchTitleItem]", ["graniteMenuTouchTitleItem"], {}, {}, never, ["*"]>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<GraniteMenuTouchTitleItemComponent, "[graniteMenuTouchTitleItem]", ["graniteMenuTouchTitleItem"], {}, {}, never, ["*"], false, never>;
14
14
  }
@@ -33,6 +33,7 @@ export declare class GraniteMenuTriggerForDirective implements AfterContentInit,
33
33
  private _focusMonitor;
34
34
  /** References the menu instance that the trigger is associated with. */
35
35
  menu: _MenuBaseComponent;
36
+ openOnClick?: boolean;
36
37
  /** Whether the associated menu is open */
37
38
  _isMenuOpen: boolean;
38
39
  _openedBy: 'mouse' | 'touch' | null;
@@ -184,5 +185,5 @@ export declare class GraniteMenuTriggerForDirective implements AfterContentInit,
184
185
  */
185
186
  private easeOutExpo;
186
187
  static ɵfac: i0.ɵɵFactoryDeclaration<GraniteMenuTriggerForDirective, [null, null, null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; self: true; }, { optional: true; }, null, null]>;
187
- static ɵdir: i0.ɵɵDirectiveDeclaration<GraniteMenuTriggerForDirective, "[graniteMenuTriggerFor]", never, { "menu": "graniteMenuTriggerFor"; }, {}, never>;
188
+ static ɵdir: i0.ɵɵDirectiveDeclaration<GraniteMenuTriggerForDirective, "[graniteMenuTriggerFor]", never, { "menu": "graniteMenuTriggerFor"; "openOnClick": "openOnClick"; }, {}, never, never, false, never>;
188
189
  }
@@ -2,5 +2,5 @@ import { _MenuBaseComponent } from './menu-base';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class GraniteMenuComponent extends _MenuBaseComponent {
4
4
  static ɵfac: i0.ɵɵFactoryDeclaration<GraniteMenuComponent, never>;
5
- static ɵcmp: i0.ɵɵComponentDeclaration<GraniteMenuComponent, "granite-menu", ["graniteMenu"], {}, {}, never, ["*"]>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<GraniteMenuComponent, "granite-menu", ["graniteMenu"], {}, {}, never, ["*"], false, never>;
6
6
  }
@@ -1,5 +1,5 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class GraniteTitleDirective {
3
3
  static ɵfac: i0.ɵɵFactoryDeclaration<GraniteTitleDirective, never>;
4
- static ɵdir: i0.ɵɵDirectiveDeclaration<GraniteTitleDirective, "[graniteTitle]", ["graniteTitle"], {}, {}, never>;
4
+ static ɵdir: i0.ɵɵDirectiveDeclaration<GraniteTitleDirective, "[graniteTitle]", ["graniteTitle"], {}, {}, never, never, false, never>;
5
5
  }
@@ -30,5 +30,5 @@ export declare class GraniteRadioButtonComponent implements OnChanges, OnDestroy
30
30
  _onBlur(): void;
31
31
  private _getInputElement;
32
32
  static ɵfac: i0.ɵɵFactoryDeclaration<GraniteRadioButtonComponent, never>;
33
- static ɵcmp: i0.ɵɵComponentDeclaration<GraniteRadioButtonComponent, "granite-radio-button", ["graniteRadioButton"], { "value": "value"; "id": "id"; "name": "name"; "checked": "checked"; "required": "required"; "disabled": "disabled"; "readonly": "readonly"; "labelPosition": "labelPosition"; "ariaLabel": "aria-label"; "ariaLabelledby": "aria-labelledby"; }, { "radioChange": "radioChange"; "radioBlur": "radioBlur"; }, never, ["*"]>;
33
+ static ɵcmp: i0.ɵɵComponentDeclaration<GraniteRadioButtonComponent, "granite-radio-button", ["graniteRadioButton"], { "value": "value"; "id": "id"; "name": "name"; "checked": "checked"; "required": "required"; "disabled": "disabled"; "readonly": "readonly"; "labelPosition": "labelPosition"; "ariaLabel": "aria-label"; "ariaLabelledby": "aria-labelledby"; }, { "radioChange": "radioChange"; "radioBlur": "radioBlur"; }, never, ["*"], false, never>;
34
34
  }
@@ -2,5 +2,5 @@ import { GraniteRadioCheckboxBase } from '../core/radio-checkbox-base';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class GraniteRadioGroupComponent extends GraniteRadioCheckboxBase {
4
4
  static ɵfac: i0.ɵɵFactoryDeclaration<GraniteRadioGroupComponent, never>;
5
- static ɵcmp: i0.ɵɵComponentDeclaration<GraniteRadioGroupComponent, "granite-radio-group", never, {}, {}, never, ["*"]>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<GraniteRadioGroupComponent, "granite-radio-group", never, {}, {}, never, ["*"], false, never>;
6
6
  }
@@ -25,5 +25,5 @@ export declare class GraniteToggleSwitchComponent implements OnChanges {
25
25
  _toggleSwitchClick(): void;
26
26
  private _getInputElement;
27
27
  static ɵfac: i0.ɵɵFactoryDeclaration<GraniteToggleSwitchComponent, never>;
28
- static ɵcmp: i0.ɵɵComponentDeclaration<GraniteToggleSwitchComponent, "granite-toggle-switch", ["graniteToggleSwitch"], { "id": "id"; "checked": "checked"; "disabled": "disabled"; "readonly": "readonly"; "labelPosition": "labelPosition"; "ariaLabel": "aria-label"; "ariaLabelledby": "aria-labelledby"; }, { "valueChange": "valueChange"; "toggleChange": "toggleChange"; "toggleBlur": "toggleBlur"; }, never, ["*"]>;
28
+ static ɵcmp: i0.ɵɵComponentDeclaration<GraniteToggleSwitchComponent, "granite-toggle-switch", ["graniteToggleSwitch"], { "id": "id"; "checked": "checked"; "disabled": "disabled"; "readonly": "readonly"; "labelPosition": "labelPosition"; "ariaLabel": "aria-label"; "ariaLabelledby": "aria-labelledby"; }, { "valueChange": "valueChange"; "toggleChange": "toggleChange"; "toggleBlur": "toggleBlur"; }, never, ["*"], false, never>;
29
29
  }
package/package.json CHANGED
@@ -1,22 +1,25 @@
1
1
  {
2
2
  "name": "@ifsworld/granite-components",
3
- "version": "6.0.0-beta.5",
3
+ "version": "6.0.0-beta.6",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "peerDependencies": {
6
- "@angular/cdk": ">=13.0.0",
7
- "@angular/common": ">=13.0.0",
8
- "@angular/core": ">=13.0.0",
9
- "@angular/platform-browser": ">=13.0.0",
10
- "@angular/animations": ">=13.0.0",
11
- "@angular/platform-browser-dynamic": ">=13.0.0",
6
+ "@angular/cdk": ">=15.2.9",
7
+ "@angular/common": ">=15.2.9",
8
+ "@angular/core": ">=15.2.9",
9
+ "@angular/platform-browser": ">=15.2.9",
10
+ "@angular/animations": ">=15.2.9",
11
+ "@angular/platform-browser-dynamic": ">=15.2.9",
12
12
  "@ifsworld/granite-icons": ">=1.0.0",
13
13
  "@ifsworld/token-interfaces": ">=1.0.0",
14
- "@ifsworld/granite-tokens": ">=4.0.0",
14
+ "@ifsworld/granite-tokens": ">=5.0.0",
15
15
  "rxjs": ">=6.0.0",
16
16
  "@microsoft/applicationinsights-web": "^2.8.4",
17
17
  "@microsoft/applicationinsights-clickanalytics-js": "^2.8.4",
18
- "@angular/forms": "13.3.11",
19
- "primeng": "13.4.1"
18
+ "remark-gfm": "^3.0.1",
19
+ "primeng": "^15.0.0",
20
+ "@angular/forms": "15.2.9",
21
+ "@storybook/addon-actions": "7.0.0",
22
+ "@storybook/addon-viewport": "7.0.0"
20
23
  },
21
24
  "dependencies": {
22
25
  "tslib": "^2.0.0"
@@ -26,21 +29,29 @@
26
29
  "esm2020": "esm2020/ifsworld-granite-components.mjs",
27
30
  "fesm2020": "fesm2020/ifsworld-granite-components.mjs",
28
31
  "fesm2015": "fesm2015/ifsworld-granite-components.mjs",
29
- "typings": "ifsworld-granite-components.d.ts",
32
+ "typings": "index.d.ts",
30
33
  "exports": {
31
34
  "./package.json": {
32
35
  "default": "./package.json"
33
36
  },
34
37
  ".": {
35
- "types": "./ifsworld-granite-components.d.ts",
38
+ "types": "./index.d.ts",
36
39
  "esm2020": "./esm2020/ifsworld-granite-components.mjs",
37
40
  "es2020": "./fesm2020/ifsworld-granite-components.mjs",
38
41
  "es2015": "./fesm2015/ifsworld-granite-components.mjs",
39
42
  "node": "./fesm2015/ifsworld-granite-components.mjs",
40
43
  "default": "./fesm2020/ifsworld-granite-components.mjs"
41
44
  },
45
+ "./date-picker": {
46
+ "types": "./date-picker/index.d.ts",
47
+ "esm2020": "./esm2020/date-picker/ifsworld-granite-components-date-picker.mjs",
48
+ "es2020": "./fesm2020/ifsworld-granite-components-date-picker.mjs",
49
+ "es2015": "./fesm2015/ifsworld-granite-components-date-picker.mjs",
50
+ "node": "./fesm2015/ifsworld-granite-components-date-picker.mjs",
51
+ "default": "./fesm2020/ifsworld-granite-components-date-picker.mjs"
52
+ },
42
53
  "./table": {
43
- "types": "./table/ifsworld-granite-components-table.d.ts",
54
+ "types": "./table/index.d.ts",
44
55
  "esm2020": "./esm2020/table/ifsworld-granite-components-table.mjs",
45
56
  "es2020": "./fesm2020/ifsworld-granite-components-table.mjs",
46
57
  "es2015": "./fesm2015/ifsworld-granite-components-table.mjs",
@@ -48,7 +59,7 @@
48
59
  "default": "./fesm2020/ifsworld-granite-components-table.mjs"
49
60
  },
50
61
  "./tooltip": {
51
- "types": "./tooltip/ifsworld-granite-components-tooltip.d.ts",
62
+ "types": "./tooltip/index.d.ts",
52
63
  "esm2020": "./esm2020/tooltip/ifsworld-granite-components-tooltip.mjs",
53
64
  "es2020": "./fesm2020/ifsworld-granite-components-tooltip.mjs",
54
65
  "es2015": "./fesm2015/ifsworld-granite-components-tooltip.mjs",
@@ -1,4 +1,8 @@
1
1
  /* stylelint-disable declaration-block-no-duplicate-properties */
2
+ /* stylelint-disable property-no-vendor-prefix */
3
+ /* stylelint-disable value-no-vendor-prefix */
4
+ /* stylelint-disable color-function-notation */
5
+
2
6
  @use 'direction' as *;
3
7
  @use 'tokens' as *;
4
8
 
@@ -279,10 +283,11 @@
279
283
  background: $background;
280
284
 
281
285
  @if $right-arrow == true {
282
- &:before {
286
+ &::before {
283
287
  content: '';
284
288
  position: absolute;
285
289
  @include inset-inline-end(-$size);
290
+
286
291
  top: 12px;
287
292
  transform: translateY(-50%);
288
293
  -webkit-transform: translateY(-50%);
@@ -291,10 +296,11 @@
291
296
  border-bottom: ($size / 2) solid transparent;
292
297
  }
293
298
  } @else {
294
- &:after {
299
+ &::after {
295
300
  content: '';
296
301
  position: absolute;
297
302
  @include inset-inline-start(-$size);
303
+
298
304
  top: 12px;
299
305
  transform: translateY(-50%);
300
306
  -webkit-transform: translateY(-50%);
@@ -338,7 +344,7 @@
338
344
  * Scrollbars are hidden by default and appears when element is hovered,
339
345
  * unless `$autoHide` parameter is supplied as `false`.
340
346
  */
341
- @mixin themedVerticalScroll($autoHide: true, $width: --granite-spacing-xs) {
347
+ @mixin themedVerticalScroll($autoHide: true, $width: --granite-spacing-4) {
342
348
  overflow-x: hidden;
343
349
 
344
350
  @if $autoHide {
@@ -358,7 +364,7 @@
358
364
 
359
365
  &::-webkit-scrollbar-thumb {
360
366
  background-color: var(--granite-color-border-hard);
361
- border-radius: calc(#{var(--granite-spacing-m)} * 0.125);
367
+ border-radius: calc(#{var(--granite-spacing-16)} * 0.125);
362
368
  }
363
369
 
364
370
  &::-webkit-scrollbar-track {
@@ -376,8 +382,10 @@
376
382
  content: '';
377
383
  position: absolute;
378
384
  top: $gap-from-relative-element;
385
+
379
386
  @include inset-inline-start($gap-from-relative-element);
380
387
  @include inset-inline-end($gap-from-relative-element);
388
+
381
389
  bottom: $gap-from-relative-element;
382
390
  border: 1px solid $border-color;
383
391
  border-radius: $border-radius;
@@ -388,8 +396,8 @@
388
396
  box-sizing: border-box;
389
397
 
390
398
  *,
391
- *:before,
392
- *:after {
399
+ *::before,
400
+ *::after {
393
401
  box-sizing: inherit;
394
402
  }
395
403
  }
@@ -5,7 +5,7 @@
5
5
  }
6
6
  }
7
7
 
8
- /* Make overlay pane fill entire viewport width and align contents at the bottom (used for granite menu overlay)*/
8
+ /* Make overlay pane fill entire viewport width and align contents at the bottom (used for granite menu overlay) */
9
9
  @mixin granite-overlay-pane-fill-width-bottom {
10
10
  .cdk-overlay-pane.granite-overlay-pane-fill-width-bottom {
11
11
  flex-direction: column;
@@ -13,3 +13,13 @@
13
13
  justify-content: flex-end;
14
14
  }
15
15
  }
16
+
17
+ /* Make overlay pane fill entire viewport width and align contents at the bottom (used for granite menu overlay) */
18
+ @mixin granite-overlay-pane-center {
19
+ .cdk-overlay-pane.granite-overlay-pane-center {
20
+ flex-direction: row;
21
+ flex: 1 0 100%;
22
+ justify-content: center;
23
+ align-self: center;
24
+ }
25
+ }
@@ -6,7 +6,7 @@ $layout-breakpoint-lg: 1280px !default;
6
6
  $layout-breakpoint-xl: 1920px !default;
7
7
 
8
8
  // Remove these when correct rem based tokens are exposed from design tokens
9
- $granite-base-rem: 1rem;
9
+ $granite-size-base-rem: 1rem;
10
10
  $granite-border-width-regular: 0.0625rem;
11
11
  $granite-outline-width-regular: 0.0625rem;
12
12
  $granite-outline-width-focus: 0.125rem;
@@ -1,4 +1,5 @@
1
1
  /* stylelint-disable property-disallowed-list */
2
+
2
3
  /*******************************************************************************************************************************************
3
4
  * README:
4
5
  * Welcome to the place to manage z-index in a more organized way. Please avoid using constants directly in your
@@ -147,7 +148,9 @@ $z-index-underground: 'underground';
147
148
  * Changes in hierarchy:
148
149
  * - z-index-contact widget has to be over z-index-dialog because contact widget in cards
149
150
  * would get behind the card otherwise (TEUXX-9150)
151
+
150
152
  ***********************************************************************/
153
+
151
154
  /* Array of all z-index classes sorted by hierarchy (higher ranked on top) */
152
155
  $z-index-hierarchy: (
153
156
  $z-index-top,
@@ -217,6 +220,7 @@ $z-index-keys: (
217
220
  map-get($z-index-keys, $key2) +
218
221
  ')';
219
222
  }
223
+
220
224
  & {
221
225
  -fnd-zindex: $tmp;
222
226
  z-index: _z-index($key1, $key2);
@@ -6,5 +6,5 @@ export declare class GraniteCellAlignClassesDirective implements OnChanges {
6
6
  centerAlign: boolean;
7
7
  ngOnChanges(changes: SimpleChanges): void;
8
8
  static ɵfac: i0.ɵɵFactoryDeclaration<GraniteCellAlignClassesDirective, never>;
9
- static ɵdir: i0.ɵɵDirectiveDeclaration<GraniteCellAlignClassesDirective, "[graniteCellAlignClasses]", never, { "graniteCellAlignClasses": "graniteCellAlignClasses"; }, {}, never>;
9
+ static ɵdir: i0.ɵɵDirectiveDeclaration<GraniteCellAlignClassesDirective, "[graniteCellAlignClasses]", never, { "graniteCellAlignClasses": "graniteCellAlignClasses"; }, {}, never, never, false, never>;
10
10
  }
@@ -4,5 +4,5 @@ export declare abstract class GraniteCell {
4
4
  id: string;
5
5
  column: GraniteTableColumnDirective;
6
6
  static ɵfac: i0.ɵɵFactoryDeclaration<GraniteCell, never>;
7
- static ɵdir: i0.ɵɵDirectiveDeclaration<GraniteCell, never, never, { "id": "id"; "column": "column"; }, {}, never>;
7
+ static ɵdir: i0.ɵɵDirectiveDeclaration<GraniteCell, never, never, { "id": "id"; "column": "column"; }, {}, never, never, false, never>;
8
8
  }
@@ -8,5 +8,5 @@ export declare class GraniteTableDataCellComponent extends GraniteCell {
8
8
  row: any;
9
9
  tableCellTemplateRef: TemplateRef<any>;
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<GraniteTableDataCellComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<GraniteTableDataCellComponent, "granite-table-data-cell", never, { "value": "value"; "rowIndex": "rowIndex"; "columnIndex": "columnIndex"; "row": "row"; "tableCellTemplateRef": "tableCellTemplateRef"; }, {}, never, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<GraniteTableDataCellComponent, "granite-table-data-cell", never, { "value": "value"; "rowIndex": "rowIndex"; "columnIndex": "columnIndex"; "row": "row"; "tableCellTemplateRef": "tableCellTemplateRef"; }, {}, never, never, false, never>;
12
12
  }
@@ -2,5 +2,5 @@ import { GraniteCell } from './cell';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class GraniteTableHeaderCellComponent extends GraniteCell {
4
4
  static ɵfac: i0.ɵɵFactoryDeclaration<GraniteTableHeaderCellComponent, never>;
5
- static ɵcmp: i0.ɵɵComponentDeclaration<GraniteTableHeaderCellComponent, "th[graniteTableHeaderCell]", never, {}, {}, never, ["*"]>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<GraniteTableHeaderCellComponent, "th[graniteTableHeaderCell]", never, {}, {}, never, ["*"], false, never>;
6
6
  }