@ifsworld/granite-components 10.0.1 → 11.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.
- package/date-picker/lib/date-picker-base.d.ts +1 -1
- package/date-picker/lib/date-picker-trigger-for.directive.d.ts +1 -1
- package/date-picker/lib/date-picker.component.d.ts +1 -1
- package/date-picker/lib/date-range-picker.component.d.ts +1 -1
- package/{esm2020 → esm2022}/date-picker/lib/date-picker-base.mjs +4 -4
- package/{esm2020 → esm2022}/date-picker/lib/date-picker-trigger-for.directive.mjs +4 -4
- package/{esm2020 → esm2022}/date-picker/lib/date-picker.component.mjs +4 -4
- package/{esm2020 → esm2022}/date-picker/lib/date-picker.module.mjs +21 -21
- package/{esm2020 → esm2022}/date-picker/lib/date-range-picker.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/arrange-grid/arrange-grid-item.component.mjs +12 -12
- package/{esm2020 → esm2022}/lib/arrange-grid/arrange-grid.component.mjs +7 -7
- package/{esm2020 → esm2022}/lib/arrange-grid/arrange-grid.module.mjs +5 -5
- package/{esm2020 → esm2022}/lib/badge/badge.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/badge/badge.module.mjs +5 -5
- package/esm2022/lib/badge/testing/badge.harness.mjs +25 -0
- package/esm2022/lib/button/button.component.mjs +87 -0
- package/{esm2020 → esm2022}/lib/button/button.module.mjs +5 -5
- package/{esm2020 → esm2022}/lib/checkbox/checkbox-group.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/checkbox/checkbox.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/checkbox/checkbox.module.mjs +5 -5
- package/esm2022/lib/chips/chip-input.mjs +195 -0
- package/esm2022/lib/chips/chip-list.component.mjs +567 -0
- package/esm2022/lib/chips/chip.component.mjs +287 -0
- package/{esm2020 → esm2022}/lib/chips/chips.module.mjs +9 -9
- package/{esm2020 → esm2022}/lib/core/common-behaviors/disabled.mjs +4 -4
- package/{esm2020 → esm2022}/lib/core/core.module.mjs +11 -11
- package/esm2022/lib/core/devices/client-input-desktop.directive.mjs +29 -0
- package/esm2022/lib/core/devices/client-input-touch.directive.mjs +29 -0
- package/esm2022/lib/core/devices/client-output-desktop.directive.mjs +29 -0
- package/esm2022/lib/core/devices/client-output-touch.directive.mjs +29 -0
- package/{esm2020 → esm2022}/lib/core/pipes/pure-pipes.module.mjs +5 -5
- package/{esm2020 → esm2022}/lib/core/pipes/title.pipe.mjs +4 -4
- package/{esm2020 → esm2022}/lib/core/radio-checkbox-base.mjs +4 -4
- package/{esm2020 → esm2022}/lib/grid/grid.component.mjs +7 -7
- package/{esm2020 → esm2022}/lib/grid/grid.module.mjs +5 -5
- package/{esm2020 → esm2022}/lib/icon/icon.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/icon/icon.module.mjs +5 -5
- package/{esm2020 → esm2022}/lib/input-field/input-field.component.mjs +5 -5
- package/{esm2020 → esm2022}/lib/input-field/input-field.module.mjs +5 -5
- package/{esm2020 → esm2022}/lib/label/label.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/label/label.module.mjs +5 -5
- package/{esm2020 → esm2022}/lib/menu/divider.directive.mjs +4 -4
- package/{esm2020 → esm2022}/lib/menu/menu-base.mjs +4 -4
- package/{esm2020 → esm2022}/lib/menu/menu-item.component.mjs +6 -6
- package/{esm2020 → esm2022}/lib/menu/menu-touch-close.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/menu/menu-touch-title.component.mjs +6 -6
- package/{esm2020 → esm2022}/lib/menu/menu-trigger-for.directive.mjs +4 -4
- package/{esm2020 → esm2022}/lib/menu/menu.component.mjs +10 -10
- package/{esm2020 → esm2022}/lib/menu/menu.module.mjs +17 -17
- package/esm2022/lib/menu/testing/menu.harness.mjs +109 -0
- package/{esm2020 → esm2022}/lib/menu/title.directive.mjs +4 -4
- package/{esm2020 → esm2022}/lib/radio-button/radio-button.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/radio-button/radio-button.module.mjs +5 -5
- package/{esm2020 → esm2022}/lib/radio-button/radio-group.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/toggle-switch/toggle-switch.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/toggle-switch/toggle-switch.module.mjs +5 -5
- package/{esm2020 → esm2022}/table/lib/cell/cell-align/cell-align-classes.directive.mjs +4 -4
- package/{esm2020 → esm2022}/table/lib/cell/cell.mjs +4 -4
- package/{esm2020 → esm2022}/table/lib/cell/table-data-cell.component.mjs +5 -5
- package/{esm2020 → esm2022}/table/lib/cell/table-header-cell.component.mjs +4 -4
- package/{esm2020 → esm2022}/table/lib/column/table-column.directive.mjs +4 -4
- package/esm2022/table/lib/table-constants.library.mjs +9 -0
- package/{esm2020 → esm2022}/table/lib/table.component.mjs +4 -4
- package/{esm2020 → esm2022}/table/lib/table.module.mjs +9 -9
- package/{esm2020 → esm2022}/tooltip/lib/tooltip-constants.library.mjs +2 -2
- package/{esm2020 → esm2022}/tooltip/lib/tooltip-trigger-for.directive.mjs +4 -4
- package/{esm2020 → esm2022}/tooltip/lib/tooltip.component.mjs +4 -4
- package/{esm2020 → esm2022}/tooltip/lib/tooltip.module.mjs +5 -5
- package/{fesm2020 → fesm2022}/ifsworld-granite-components-date-picker.mjs +32 -32
- package/{fesm2020 → fesm2022}/ifsworld-granite-components-date-picker.mjs.map +1 -1
- package/fesm2022/ifsworld-granite-components-table.mjs +190 -0
- package/{fesm2015 → fesm2022}/ifsworld-granite-components-table.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ifsworld-granite-components-tooltip.mjs +11 -11
- package/{fesm2020 → fesm2022}/ifsworld-granite-components-tooltip.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/ifsworld-granite-components.mjs +337 -337
- package/fesm2022/ifsworld-granite-components.mjs.map +1 -0
- package/lib/arrange-grid/arrange-grid-item.component.d.ts +5 -5
- package/lib/arrange-grid/arrange-grid.component.d.ts +3 -3
- package/lib/badge/badge.component.d.ts +1 -1
- package/lib/button/button.component.d.ts +2 -2
- package/lib/checkbox/checkbox.component.d.ts +1 -1
- package/lib/chips/chip-input.d.ts +9 -9
- package/lib/chips/chip-list.component.d.ts +33 -33
- package/lib/chips/chip.component.d.ts +22 -22
- package/lib/core/radio-checkbox-base.d.ts +1 -1
- package/lib/grid/grid.component.d.ts +2 -2
- package/lib/icon/icon.component.d.ts +1 -1
- package/lib/input-field/input-field.component.d.ts +1 -1
- package/lib/label/label.component.d.ts +1 -1
- package/lib/menu/divider.directive.d.ts +1 -1
- package/lib/menu/menu-base.d.ts +1 -1
- package/lib/menu/menu-item.component.d.ts +1 -1
- package/lib/menu/menu-trigger-for.directive.d.ts +1 -1
- package/lib/radio-button/radio-button.component.d.ts +1 -1
- package/lib/toggle-switch/toggle-switch.component.d.ts +1 -1
- package/package.json +21 -40
- package/table/lib/cell/cell-align/cell-align-classes.directive.d.ts +1 -1
- package/table/lib/cell/cell.d.ts +1 -1
- package/table/lib/cell/table-data-cell.component.d.ts +1 -1
- package/table/lib/column/table-column.directive.d.ts +1 -1
- package/table/lib/table.component.d.ts +1 -1
- package/tooltip/lib/tooltip-trigger-for.directive.d.ts +1 -1
- package/esm2020/lib/badge/testing/badge.harness.mjs +0 -25
- package/esm2020/lib/button/button.component.mjs +0 -87
- package/esm2020/lib/chips/chip-input.mjs +0 -195
- package/esm2020/lib/chips/chip-list.component.mjs +0 -567
- package/esm2020/lib/chips/chip.component.mjs +0 -287
- package/esm2020/lib/core/devices/client-input-desktop.directive.mjs +0 -29
- package/esm2020/lib/core/devices/client-input-touch.directive.mjs +0 -29
- package/esm2020/lib/core/devices/client-output-desktop.directive.mjs +0 -29
- package/esm2020/lib/core/devices/client-output-touch.directive.mjs +0 -29
- package/esm2020/lib/menu/testing/menu.harness.mjs +0 -109
- package/esm2020/table/lib/table-constants.library.mjs +0 -9
- package/fesm2015/ifsworld-granite-components-date-picker.mjs +0 -401
- package/fesm2015/ifsworld-granite-components-date-picker.mjs.map +0 -1
- package/fesm2015/ifsworld-granite-components-table.mjs +0 -190
- package/fesm2015/ifsworld-granite-components-tooltip.mjs +0 -169
- package/fesm2015/ifsworld-granite-components-tooltip.mjs.map +0 -1
- package/fesm2015/ifsworld-granite-components.mjs +0 -4132
- package/fesm2015/ifsworld-granite-components.mjs.map +0 -1
- package/fesm2020/ifsworld-granite-components-table.mjs +0 -190
- package/fesm2020/ifsworld-granite-components-table.mjs.map +0 -1
- package/fesm2020/ifsworld-granite-components.mjs.map +0 -1
- /package/{esm2020 → esm2022}/date-picker/ifsworld-granite-components-date-picker.mjs +0 -0
- /package/{esm2020 → esm2022}/date-picker/index.mjs +0 -0
- /package/{esm2020 → esm2022}/ifsworld-granite-components.mjs +0 -0
- /package/{esm2020 → esm2022}/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/core/animation.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/core/client-environment.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/core/theme.library.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/core/types.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/menu/menu-desktop-animations.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/menu/menu-errors.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/menu/menu-panel.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/menu/menu-positions.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/menu/menu-touch-animations.mjs +0 -0
- /package/{esm2020 → esm2022}/table/ifsworld-granite-components-table.mjs +0 -0
- /package/{esm2020 → esm2022}/table/index.mjs +0 -0
- /package/{esm2020 → esm2022}/table/lib/table.types.mjs +0 -0
- /package/{esm2020 → esm2022}/tooltip/ifsworld-granite-components-tooltip.mjs +0 -0
- /package/{esm2020 → esm2022}/tooltip/index.mjs +0 -0
|
@@ -2,11 +2,6 @@ import { ElementRef } from '@angular/core';
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class GraniteArrangeGridItemComponent {
|
|
4
4
|
private element;
|
|
5
|
-
/**
|
|
6
|
-
* Number of cells the item would span. Used by arrange grid in column
|
|
7
|
-
* orientation to fill any unused space caused by wrapped items.
|
|
8
|
-
*/
|
|
9
|
-
set columnSpan(value: number | null);
|
|
10
5
|
/**
|
|
11
6
|
* Column span to render.
|
|
12
7
|
* For use in template only. Do not use outside of this component.
|
|
@@ -14,6 +9,11 @@ export declare class GraniteArrangeGridItemComponent {
|
|
|
14
9
|
*/
|
|
15
10
|
_columnSpan: number | null;
|
|
16
11
|
constructor(element: ElementRef<HTMLElement>);
|
|
12
|
+
/**
|
|
13
|
+
* Number of cells the item would span. Used by arrange grid in column
|
|
14
|
+
* orientation to fill any unused space caused by wrapped items.
|
|
15
|
+
*/
|
|
16
|
+
set columnSpan(value: number | null);
|
|
17
17
|
/**
|
|
18
18
|
* Update element styles
|
|
19
19
|
*/
|
|
@@ -7,8 +7,6 @@ export declare enum GraniteArrangeGridOrientation {
|
|
|
7
7
|
}
|
|
8
8
|
export declare class GraniteArrangeGridComponent implements OnChanges, AfterContentInit, OnDestroy {
|
|
9
9
|
private element;
|
|
10
|
-
/** Default number of columns to use in column orientation */
|
|
11
|
-
static readonly defaultCols: number;
|
|
12
10
|
/** How to present grid items; `columns` (default) or `rows` */
|
|
13
11
|
orientation: GraniteArrangeGridOrientation;
|
|
14
12
|
/** Exposes column orientation to template */
|
|
@@ -16,6 +14,8 @@ export declare class GraniteArrangeGridComponent implements OnChanges, AfterCont
|
|
|
16
14
|
/** Exposes row orientation to template */
|
|
17
15
|
classRowOrientation: boolean;
|
|
18
16
|
arrangeGridItemComponents: QueryList<GraniteArrangeGridItemComponent>;
|
|
17
|
+
/** Default number of columns to use in column orientation */
|
|
18
|
+
static readonly defaultCols: number;
|
|
19
19
|
/**
|
|
20
20
|
* Number of grid columns to use when orientation is set to `column`. The
|
|
21
21
|
* default is two columns.
|
|
@@ -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"], false, never>;
|
|
57
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GraniteArrangeGridComponent, "granite-arrange-grid", never, { "orientation": { "alias": "orientation"; "required": false; }; "cols": { "alias": "cols"; "required": false; }; }, {}, ["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, ["*"], false, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GraniteBadgeComponent, "granite-badge", ["graniteBadge"], { "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "color": { "alias": "color"; "required": false; }; "pill": { "alias": "pill"; "required": false; }; }, {}, 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, ["*"], false, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GraniteButtonComponent, "button[graniteButton], button[granitePrimaryButton], button[graniteFlatButton], button[graniteToolbarButton] ", ["graniteButton"], { "disabled": { "alias": "disabled"; "required": false; }; "toggled": { "alias": "toggled"; "required": false; }; }, {}, 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, ["*"], false, never>;
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GraniteAnchorComponent, "a[graniteButton], a[graniteFlatButton]", ["graniteAnchor"], { "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
37
37
|
}
|
|
38
38
|
export {};
|
|
@@ -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, ["*"], false, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GraniteCheckboxComponent, "granite-checkbox", ["graniteCheckbox"], { "id": { "alias": "id"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "labelPosition": { "alias": "labelPosition"; "required": false; }; "ariaLabel": { "alias": "aria-label"; "required": false; }; "ariaLabelledby": { "alias": "aria-labelledby"; "required": false; }; }, { "valueChange": "valueChange"; "checkboxChange": "checkboxChange"; "checkboxBlur": "checkboxBlur"; }, never, ["*"], false, never>;
|
|
29
29
|
}
|
|
@@ -28,6 +28,8 @@ export declare class GraniteChipInputDirective implements GraniteChipTextControl
|
|
|
28
28
|
id: string;
|
|
29
29
|
/** The input's placeholder text. */
|
|
30
30
|
placeholder: string;
|
|
31
|
+
/** Emitted when a chip is to be added. */
|
|
32
|
+
readonly graniteChipInputTokenEnd: EventEmitter<GraniteChipInputEvent>;
|
|
31
33
|
/** Register input for chip list */
|
|
32
34
|
set graniteChipInputFor(value: GraniteChipListComponent);
|
|
33
35
|
/**
|
|
@@ -47,17 +49,17 @@ export declare class GraniteChipInputDirective implements GraniteChipTextControl
|
|
|
47
49
|
*/
|
|
48
50
|
get required(): boolean;
|
|
49
51
|
set required(value: boolean);
|
|
52
|
+
/** The native input element to which this directive is attached. */
|
|
53
|
+
readonly inputElement: HTMLInputElement;
|
|
54
|
+
_chipList: GraniteChipListComponent;
|
|
55
|
+
focused: boolean;
|
|
50
56
|
protected _required: boolean | undefined;
|
|
51
57
|
/** Whether the input is disabled. */
|
|
52
58
|
get disabled(): boolean;
|
|
53
59
|
set disabled(value: boolean);
|
|
60
|
+
/** Whether the input is empty. */
|
|
61
|
+
get empty(): boolean;
|
|
54
62
|
private _disabled;
|
|
55
|
-
/** Emitted when a chip is to be added. */
|
|
56
|
-
readonly graniteChipInputTokenEnd: EventEmitter<GraniteChipInputEvent>;
|
|
57
|
-
/** The native input element to which this directive is attached. */
|
|
58
|
-
readonly inputElement: HTMLInputElement;
|
|
59
|
-
_chipList: GraniteChipListComponent;
|
|
60
|
-
focused: boolean;
|
|
61
63
|
/** Used to prevent focus moving to chips while user is holding backspace */
|
|
62
64
|
private _focusLastChipOnBackspace;
|
|
63
65
|
constructor(_elementRef: ElementRef<HTMLInputElement>);
|
|
@@ -80,10 +82,8 @@ export declare class GraniteChipInputDirective implements GraniteChipTextControl
|
|
|
80
82
|
setFocus(options?: FocusOptions): void;
|
|
81
83
|
/** Clears the input */
|
|
82
84
|
clear(): void;
|
|
83
|
-
/** Whether the input is empty. */
|
|
84
|
-
get empty(): boolean;
|
|
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, never, false, never>;
|
|
88
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<GraniteChipInputDirective, "input[graniteChipInputFor]", ["graniteChipInput", "graniteChipInputFor"], { "id": { "alias": "id"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "graniteChipInputFor": { "alias": "graniteChipInputFor"; "required": false; }; "graniteChipInputSeparatorKeyCodes": { "alias": "graniteChipInputSeparatorKeyCodes"; "required": false; }; "graniteChipInputAddOnBlur": { "alias": "graniteChipInputAddOnBlur"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "graniteChipInputTokenEnd": "graniteChipInputTokenEnd"; }, never, never, false, never>;
|
|
89
89
|
}
|
|
@@ -18,7 +18,28 @@ export declare class GraniteChipListComponent extends GraniteChipListBase implem
|
|
|
18
18
|
protected _elementRef: ElementRef<HTMLElement>;
|
|
19
19
|
private _changeDetectorRef;
|
|
20
20
|
private _dir;
|
|
21
|
+
ariaLabel: string | null;
|
|
22
|
+
ariaLabelledby: string | null;
|
|
23
|
+
ariaOrientation: 'horizontal' | 'vertical';
|
|
24
|
+
/** The chips contained within this chip list. */
|
|
25
|
+
chips: QueryList<GraniteChipComponent>;
|
|
21
26
|
readonly controlType: string;
|
|
27
|
+
/** Uid of the chip list */
|
|
28
|
+
_uid: string;
|
|
29
|
+
/** Tab index for the chip list. */
|
|
30
|
+
_tabIndex: number;
|
|
31
|
+
/**
|
|
32
|
+
* User defined tab index.
|
|
33
|
+
* When it is not null, use user defined tab index. Otherwise use _tabIndex
|
|
34
|
+
*/
|
|
35
|
+
_userTabIndex: number | null;
|
|
36
|
+
/** The FocusKeyManager which handles focus. */
|
|
37
|
+
_keyManager: FocusKeyManager<GraniteChipComponent>;
|
|
38
|
+
_selectionModel: SelectionModel<GraniteChipComponent>;
|
|
39
|
+
/** The chip input to add more chips */
|
|
40
|
+
protected _chipInput: GraniteChipTextControl;
|
|
41
|
+
protected _disabled: boolean;
|
|
42
|
+
protected _selectable: boolean;
|
|
22
43
|
/**
|
|
23
44
|
* When a chip is destroyed, we store the index of the destroyed chip until the chips
|
|
24
45
|
* query list notifies about the update. This is necessary because we cannot determine an
|
|
@@ -35,20 +56,6 @@ export declare class GraniteChipListComponent extends GraniteChipListBase implem
|
|
|
35
56
|
private _chipSelectionSubscription;
|
|
36
57
|
/** Subscription to remove changes in chips. */
|
|
37
58
|
private _chipRemoveSubscription;
|
|
38
|
-
/** The chip input to add more chips */
|
|
39
|
-
protected _chipInput: GraniteChipTextControl;
|
|
40
|
-
/** Uid of the chip list */
|
|
41
|
-
_uid: string;
|
|
42
|
-
/** Tab index for the chip list. */
|
|
43
|
-
_tabIndex: number;
|
|
44
|
-
/**
|
|
45
|
-
* User defined tab index.
|
|
46
|
-
* When it is not null, use user defined tab index. Otherwise use _tabIndex
|
|
47
|
-
*/
|
|
48
|
-
_userTabIndex: number | null;
|
|
49
|
-
/** The FocusKeyManager which handles focus. */
|
|
50
|
-
_keyManager: FocusKeyManager<GraniteChipComponent>;
|
|
51
|
-
_selectionModel: SelectionModel<GraniteChipComponent>;
|
|
52
59
|
/** The ARIA role applied to the chip list. */
|
|
53
60
|
get role(): string | null;
|
|
54
61
|
set role(role: string | null);
|
|
@@ -62,20 +69,13 @@ export declare class GraniteChipListComponent extends GraniteChipListBase implem
|
|
|
62
69
|
*/
|
|
63
70
|
get disabled(): boolean;
|
|
64
71
|
set disabled(value: boolean);
|
|
65
|
-
protected _disabled: boolean;
|
|
66
72
|
/**
|
|
67
73
|
* Whether or not this chip list is selectable. When a chip list is not selectable,
|
|
68
74
|
* the selected states for all the chips inside the chip list are always ignored.
|
|
69
75
|
*/
|
|
70
76
|
get selectable(): boolean;
|
|
71
77
|
set selectable(value: boolean);
|
|
72
|
-
protected _selectable: boolean;
|
|
73
78
|
set tabindex(value: number);
|
|
74
|
-
ariaLabel: string | null;
|
|
75
|
-
ariaLabelledby: string | null;
|
|
76
|
-
ariaOrientation: 'horizontal' | 'vertical';
|
|
77
|
-
/** The chips contained within this chip list. */
|
|
78
|
-
chips: QueryList<GraniteChipComponent>;
|
|
79
79
|
/** Unique identifier for the chip list. */
|
|
80
80
|
get id(): string;
|
|
81
81
|
/** Whether any chips or the matChipInput inside of this chip-list has focus. */
|
|
@@ -92,11 +92,11 @@ export declare class GraniteChipListComponent extends GraniteChipListBase implem
|
|
|
92
92
|
get chipBlurChanges(): Observable<GraniteChipEvent>;
|
|
93
93
|
/** Combined stream of all of the child chips' remove change events. */
|
|
94
94
|
get chipRemoveChanges(): Observable<GraniteChipEvent>;
|
|
95
|
+
constructor(_elementRef: ElementRef<HTMLElement>, _changeDetectorRef: ChangeDetectorRef, _dir: Directionality, _parentForm: NgForm, _parentFormGroup: FormGroupDirective, ngControl: NgControl);
|
|
95
96
|
/** Function when changed */
|
|
96
97
|
_onChange: (value: any) => void;
|
|
97
98
|
/** Function when changed */
|
|
98
99
|
_onTouched: () => void;
|
|
99
|
-
constructor(_elementRef: ElementRef<HTMLElement>, _changeDetectorRef: ChangeDetectorRef, _dir: Directionality, _parentForm: NgForm, _parentFormGroup: FormGroupDirective, ngControl: NgControl);
|
|
100
100
|
ngAfterContentInit(): void;
|
|
101
101
|
ngOnInit(): void;
|
|
102
102
|
ngDoCheck(): void;
|
|
@@ -122,6 +122,16 @@ export declare class GraniteChipListComponent extends GraniteChipListBase implem
|
|
|
122
122
|
* Pass events to the keyboard manager. Available here for tests.
|
|
123
123
|
*/
|
|
124
124
|
_keydown(event: KeyboardEvent): void;
|
|
125
|
+
/** When blurred, mark the field as touched when focus moved outside the chip list. */
|
|
126
|
+
_blur(): void;
|
|
127
|
+
/** Mark the field as touched */
|
|
128
|
+
_markAsTouched(): void;
|
|
129
|
+
/**
|
|
130
|
+
* Removes the `tabindex` from the chip list and resets it back afterwards, allowing the
|
|
131
|
+
* user to tab out of it. This prevents the list from capturing focus and redirecting
|
|
132
|
+
* it back to the first chip, creating a focus trap, if it user tries to tab away.
|
|
133
|
+
*/
|
|
134
|
+
_allowFocusEscape(): void;
|
|
125
135
|
/**
|
|
126
136
|
* Check the tab index as you should not be allowed to focus an empty list.
|
|
127
137
|
*/
|
|
@@ -156,16 +166,6 @@ export declare class GraniteChipListComponent extends GraniteChipListBase implem
|
|
|
156
166
|
*/
|
|
157
167
|
private _sortValues;
|
|
158
168
|
private _compareWith;
|
|
159
|
-
/** When blurred, mark the field as touched when focus moved outside the chip list. */
|
|
160
|
-
_blur(): void;
|
|
161
|
-
/** Mark the field as touched */
|
|
162
|
-
_markAsTouched(): void;
|
|
163
|
-
/**
|
|
164
|
-
* Removes the `tabindex` from the chip list and resets it back afterwards, allowing the
|
|
165
|
-
* user to tab out of it. This prevents the list from capturing focus and redirecting
|
|
166
|
-
* it back to the first chip, creating a focus trap, if it user tries to tab away.
|
|
167
|
-
*/
|
|
168
|
-
_allowFocusEscape(): void;
|
|
169
169
|
private _resetChips;
|
|
170
170
|
private _dropSubscriptions;
|
|
171
171
|
/** Listens to user-generated selection events on each chip. */
|
|
@@ -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"; "
|
|
183
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GraniteChipListComponent, "granite-chip-list", ["graniteChipList"], { "ariaLabel": { "alias": "aria-label"; "required": false; }; "ariaLabelledby": { "alias": "aria-labelledby"; "required": false; }; "ariaOrientation": { "alias": "aria-orientation"; "required": false; }; "role": { "alias": "role"; "required": false; }; "multiselect": { "alias": "multiselect"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; }, {}, ["chips"], ["*"], false, never>;
|
|
184
184
|
}
|
|
185
185
|
export {};
|
|
@@ -19,6 +19,20 @@ export declare class GraniteChipComponent implements FocusableOption, OnDestroy
|
|
|
19
19
|
_elementRef: ElementRef;
|
|
20
20
|
private _ngZone;
|
|
21
21
|
private _changeDetectorRef;
|
|
22
|
+
/** ARIA role that should be applied to the chip. */
|
|
23
|
+
role: string;
|
|
24
|
+
ariaLabel: string | null;
|
|
25
|
+
ariaLabelledby: string | null;
|
|
26
|
+
/** Emitted when the chip is selected or deselected. */
|
|
27
|
+
readonly selectionChange: EventEmitter<GraniteChipSelectionChangeEvent>;
|
|
28
|
+
/** Emitted when a chip is to be removed. */
|
|
29
|
+
readonly removed: EventEmitter<GraniteChipEvent>;
|
|
30
|
+
/** Emitted when the chip is destroyed. */
|
|
31
|
+
readonly destroyed: EventEmitter<GraniteChipEvent>;
|
|
32
|
+
/** Emits when the chip is focused. */
|
|
33
|
+
readonly chipFocus: EventEmitter<GraniteChipEvent>;
|
|
34
|
+
/** Emits when the chip is blurred. */
|
|
35
|
+
readonly chipBlur: EventEmitter<GraniteChipEvent>;
|
|
22
36
|
/** Whether the chip has focus. */
|
|
23
37
|
_hasFocus: boolean;
|
|
24
38
|
/** Whether the chip list is selectable */
|
|
@@ -27,12 +41,16 @@ export declare class GraniteChipComponent implements FocusableOption, OnDestroy
|
|
|
27
41
|
_chipListMultiple: boolean;
|
|
28
42
|
/** Whether the chip list as a whole is disabled. */
|
|
29
43
|
_chipListDisabled: boolean;
|
|
30
|
-
|
|
31
|
-
|
|
44
|
+
tabIndex: number;
|
|
45
|
+
inputChip: boolean;
|
|
46
|
+
protected _selected: boolean;
|
|
47
|
+
protected _selectable: boolean;
|
|
48
|
+
protected _disabled: boolean;
|
|
49
|
+
protected _removable: boolean;
|
|
50
|
+
protected _invalid: boolean;
|
|
32
51
|
/** Whether the chip is selected. */
|
|
33
52
|
get selected(): boolean;
|
|
34
53
|
set selected(value: boolean);
|
|
35
|
-
protected _selected: boolean;
|
|
36
54
|
/** The value of the chip. Defaults to the text content inside `<granite-chip>` tags. */
|
|
37
55
|
get value(): any;
|
|
38
56
|
set value(val: any);
|
|
@@ -45,35 +63,17 @@ export declare class GraniteChipComponent implements FocusableOption, OnDestroy
|
|
|
45
63
|
*/
|
|
46
64
|
get selectable(): boolean;
|
|
47
65
|
set selectable(value: boolean);
|
|
48
|
-
protected _selectable: boolean;
|
|
49
66
|
/** Whether the chip is disabled. Also the individual chips are disabled when chip list is disabled */
|
|
50
67
|
get disabled(): boolean;
|
|
51
68
|
set disabled(value: boolean);
|
|
52
|
-
protected _disabled: boolean;
|
|
53
69
|
/**
|
|
54
70
|
* Whether the chip can be removed from the list
|
|
55
71
|
*/
|
|
56
72
|
get removable(): boolean;
|
|
57
73
|
set removable(value: boolean);
|
|
58
|
-
protected _removable: boolean;
|
|
59
74
|
/** Whether the chip is in an invalid state. */
|
|
60
75
|
get invalid(): boolean;
|
|
61
76
|
set invalid(value: boolean);
|
|
62
|
-
protected _invalid: boolean;
|
|
63
|
-
ariaLabel: string | null;
|
|
64
|
-
ariaLabelledby: string | null;
|
|
65
|
-
/** Emitted when the chip is selected or deselected. */
|
|
66
|
-
readonly selectionChange: EventEmitter<GraniteChipSelectionChangeEvent>;
|
|
67
|
-
/** Emitted when a chip is to be removed. */
|
|
68
|
-
readonly removed: EventEmitter<GraniteChipEvent>;
|
|
69
|
-
/** Emitted when the chip is destroyed. */
|
|
70
|
-
readonly destroyed: EventEmitter<GraniteChipEvent>;
|
|
71
|
-
tabIndex: number;
|
|
72
|
-
inputChip: boolean;
|
|
73
|
-
/** Emits when the chip is focused. */
|
|
74
|
-
readonly chipFocus: EventEmitter<GraniteChipEvent>;
|
|
75
|
-
/** Emits when the chip is blurred. */
|
|
76
|
-
readonly chipBlur: EventEmitter<GraniteChipEvent>;
|
|
77
77
|
constructor(_elementRef: ElementRef, _ngZone: NgZone, _changeDetectorRef: ChangeDetectorRef, tabIndex?: string);
|
|
78
78
|
ngOnDestroy(): void;
|
|
79
79
|
/** Selects the chip. */
|
|
@@ -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"; "
|
|
103
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GraniteChipComponent, "granite-chip, granite-input-chip", ["graniteChip"], { "tabIndex": { "alias": "tabIndex"; "required": false; }; "role": { "alias": "role"; "required": false; }; "ariaLabel": { "alias": "aria-label"; "required": false; }; "ariaLabelledby": { "alias": "aria-labelledby"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "value": { "alias": "value"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "removable": { "alias": "removable"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; }, { "selectionChange": "selectionChange"; "removed": "removed"; "destroyed": "destroyed"; "chipFocus": "chipFocus"; "chipBlur": "chipBlur"; }, never, ["*"], false, never>;
|
|
104
104
|
}
|
|
@@ -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, never, false, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<GraniteRadioCheckboxBase, never, never, { "layout": { "alias": "layout"; "required": false; }; "ariaLabelledby": { "alias": "aria-labelledby"; "required": false; }; }, {}, never, never, false, never>;
|
|
8
8
|
}
|
|
@@ -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, ["*"], false, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GraniteGridItemComponent, "granite-grid-item", never, { "columnStart": { "alias": "columnStart"; "required": false; }; "columnEnd": { "alias": "columnEnd"; "required": false; }; "rowStart": { "alias": "rowStart"; "required": false; }; "rowEnd": { "alias": "rowEnd"; "required": false; }; }, {}, 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, ["*"], false, never>;
|
|
74
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GraniteGridComponent, "granite-grid", never, { "cols": { "alias": "cols"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; }, {}, 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, ["*"], false, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GraniteIconComponent, "granite-icon", never, { "fontIcon": { "alias": "fontIcon"; "required": false; }; }, {}, 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, false, never>;
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GraniteInputFieldComponent, "granite-input-field", ["graniteInputField"], { "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; "type": { "alias": "type"; "required": false; }; "value": { "alias": "value"; "required": false; }; "required": { "alias": "required"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "prefixicon": { "alias": "prefixicon"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "countcharacters": { "alias": "countcharacters"; "required": false; }; "ariaLabel": { "alias": "aria-label"; "required": false; }; "ariaLabelledby": { "alias": "aria-labelledby"; "required": false; }; }, { "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, ["*"], false, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GraniteLabelComponent, "granite-label", ["graniteLabel"], { "for": { "alias": "for"; "required": false; }; "form": { "alias": "form"; "required": false; }; "required": { "alias": "required"; "required": false; }; }, {}, 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, never, false, never>;
|
|
5
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<GraniteDividerDirective, "[graniteDivider]", ["graniteDivider"], { "dividerDirection": { "alias": "dividerDirection"; "required": false; }; }, {}, never, never, false, never>;
|
|
6
6
|
}
|
package/lib/menu/menu-base.d.ts
CHANGED
|
@@ -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"], never, false, never>;
|
|
188
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<_MenuBaseComponent, never, never, { "xPosition": { "alias": "xPosition"; "required": false; }; "yPosition": { "alias": "yPosition"; "required": false; }; "title": { "alias": "title"; "required": false; }; "closeLabel": { "alias": "closeLabel"; "required": false; }; "openOnHover": { "alias": "openOnHover"; "required": false; }; }, { "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, ["*"], false, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GraniteMenuItemComponent, "[graniteMenuItem]", ["graniteMenuItem"], { "role": { "alias": "role"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
36
36
|
}
|
|
@@ -185,5 +185,5 @@ export declare class GraniteMenuTriggerForDirective implements AfterContentInit,
|
|
|
185
185
|
*/
|
|
186
186
|
private easeOutExpo;
|
|
187
187
|
static ɵfac: i0.ɵɵFactoryDeclaration<GraniteMenuTriggerForDirective, [null, null, null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; self: true; }, { optional: true; }, null, null]>;
|
|
188
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<GraniteMenuTriggerForDirective, "[graniteMenuTriggerFor]", never, { "menu": "graniteMenuTriggerFor"; "openOnClick": "openOnClick"; }, {}, never, never, false, never>;
|
|
188
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<GraniteMenuTriggerForDirective, "[graniteMenuTriggerFor]", never, { "menu": { "alias": "graniteMenuTriggerFor"; "required": false; }; "openOnClick": { "alias": "openOnClick"; "required": false; }; }, {}, never, never, false, never>;
|
|
189
189
|
}
|
|
@@ -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, ["*"], false, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GraniteRadioButtonComponent, "granite-radio-button", ["graniteRadioButton"], { "value": { "alias": "value"; "required": false; }; "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "labelPosition": { "alias": "labelPosition"; "required": false; }; "ariaLabel": { "alias": "aria-label"; "required": false; }; "ariaLabelledby": { "alias": "aria-labelledby"; "required": false; }; }, { "radioChange": "radioChange"; "radioBlur": "radioBlur"; }, never, ["*"], false, never>;
|
|
34
34
|
}
|
|
@@ -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, ["*"], false, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GraniteToggleSwitchComponent, "granite-toggle-switch", ["graniteToggleSwitch"], { "id": { "alias": "id"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "labelPosition": { "alias": "labelPosition"; "required": false; }; "ariaLabel": { "alias": "aria-label"; "required": false; }; "ariaLabelledby": { "alias": "aria-labelledby"; "required": false; }; }, { "valueChange": "valueChange"; "toggleChange": "toggleChange"; "toggleBlur": "toggleBlur"; }, never, ["*"], false, never>;
|
|
29
29
|
}
|
package/package.json
CHANGED
|
@@ -1,34 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ifsworld/granite-components",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "11.0.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE",
|
|
5
5
|
"peerDependencies": {
|
|
6
|
-
"@angular/cdk": ">=
|
|
7
|
-
"@angular/common": ">=
|
|
8
|
-
"@angular/core": ">=
|
|
9
|
-
"@angular/platform-browser": ">=
|
|
10
|
-
"@angular/animations": ">=
|
|
11
|
-
"@angular/platform-browser-dynamic": ">=
|
|
6
|
+
"@angular/cdk": ">=16.2.12",
|
|
7
|
+
"@angular/common": ">=16.2.12",
|
|
8
|
+
"@angular/core": ">=16.2.12",
|
|
9
|
+
"@angular/platform-browser": ">=16.2.12",
|
|
10
|
+
"@angular/animations": ">=16.2.12",
|
|
11
|
+
"@angular/platform-browser-dynamic": ">=16.2.12",
|
|
12
12
|
"@ifsworld/granite-icons": ">=1.0.0",
|
|
13
13
|
"@ifsworld/token-interfaces": ">=1.0.0",
|
|
14
14
|
"@ifsworld/granite-tokens": ">=5.0.0",
|
|
15
|
-
"rxjs": ">=6.
|
|
16
|
-
"@microsoft/applicationinsights-web": "^2.8.4",
|
|
17
|
-
"@microsoft/applicationinsights-clickanalytics-js": "^2.8.4",
|
|
18
|
-
"remark-gfm": "^3.0.1",
|
|
19
|
-
"@storybook/addon-actions": "7.0.0",
|
|
20
|
-
"@angular/forms": "15.2.9",
|
|
21
|
-
"primeng": "^15.0.0",
|
|
22
|
-
"@storybook/addon-viewport": "7.0.0"
|
|
15
|
+
"rxjs": ">=6.6.3"
|
|
23
16
|
},
|
|
24
17
|
"dependencies": {
|
|
25
18
|
"tslib": "^2.0.0"
|
|
26
19
|
},
|
|
27
|
-
"module": "
|
|
28
|
-
"es2020": "fesm2020/ifsworld-granite-components.mjs",
|
|
29
|
-
"esm2020": "esm2020/ifsworld-granite-components.mjs",
|
|
30
|
-
"fesm2020": "fesm2020/ifsworld-granite-components.mjs",
|
|
31
|
-
"fesm2015": "fesm2015/ifsworld-granite-components.mjs",
|
|
20
|
+
"module": "fesm2022/ifsworld-granite-components.mjs",
|
|
32
21
|
"typings": "index.d.ts",
|
|
33
22
|
"exports": {
|
|
34
23
|
"./package.json": {
|
|
@@ -36,35 +25,27 @@
|
|
|
36
25
|
},
|
|
37
26
|
".": {
|
|
38
27
|
"types": "./index.d.ts",
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"node": "./fesm2015/ifsworld-granite-components.mjs",
|
|
43
|
-
"default": "./fesm2020/ifsworld-granite-components.mjs"
|
|
28
|
+
"esm2022": "./esm2022/ifsworld-granite-components.mjs",
|
|
29
|
+
"esm": "./esm2022/ifsworld-granite-components.mjs",
|
|
30
|
+
"default": "./fesm2022/ifsworld-granite-components.mjs"
|
|
44
31
|
},
|
|
45
32
|
"./date-picker": {
|
|
46
33
|
"types": "./date-picker/index.d.ts",
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"node": "./fesm2015/ifsworld-granite-components-date-picker.mjs",
|
|
51
|
-
"default": "./fesm2020/ifsworld-granite-components-date-picker.mjs"
|
|
34
|
+
"esm2022": "./esm2022/date-picker/ifsworld-granite-components-date-picker.mjs",
|
|
35
|
+
"esm": "./esm2022/date-picker/ifsworld-granite-components-date-picker.mjs",
|
|
36
|
+
"default": "./fesm2022/ifsworld-granite-components-date-picker.mjs"
|
|
52
37
|
},
|
|
53
38
|
"./table": {
|
|
54
39
|
"types": "./table/index.d.ts",
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"node": "./fesm2015/ifsworld-granite-components-table.mjs",
|
|
59
|
-
"default": "./fesm2020/ifsworld-granite-components-table.mjs"
|
|
40
|
+
"esm2022": "./esm2022/table/ifsworld-granite-components-table.mjs",
|
|
41
|
+
"esm": "./esm2022/table/ifsworld-granite-components-table.mjs",
|
|
42
|
+
"default": "./fesm2022/ifsworld-granite-components-table.mjs"
|
|
60
43
|
},
|
|
61
44
|
"./tooltip": {
|
|
62
45
|
"types": "./tooltip/index.d.ts",
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"node": "./fesm2015/ifsworld-granite-components-tooltip.mjs",
|
|
67
|
-
"default": "./fesm2020/ifsworld-granite-components-tooltip.mjs"
|
|
46
|
+
"esm2022": "./esm2022/tooltip/ifsworld-granite-components-tooltip.mjs",
|
|
47
|
+
"esm": "./esm2022/tooltip/ifsworld-granite-components-tooltip.mjs",
|
|
48
|
+
"default": "./fesm2022/ifsworld-granite-components-tooltip.mjs"
|
|
68
49
|
}
|
|
69
50
|
},
|
|
70
51
|
"sideEffects": false
|
|
@@ -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, never, false, never>;
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<GraniteCellAlignClassesDirective, "[graniteCellAlignClasses]", never, { "graniteCellAlignClasses": { "alias": "graniteCellAlignClasses"; "required": false; }; }, {}, never, never, false, never>;
|
|
10
10
|
}
|
package/table/lib/cell/cell.d.ts
CHANGED
|
@@ -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, never, false, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<GraniteCell, never, never, { "id": { "alias": "id"; "required": false; }; "column": { "alias": "column"; "required": false; }; }, {}, 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, false, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GraniteTableDataCellComponent, "granite-table-data-cell", never, { "value": { "alias": "value"; "required": false; }; "rowIndex": { "alias": "rowIndex"; "required": false; }; "columnIndex": { "alias": "columnIndex"; "required": false; }; "row": { "alias": "row"; "required": false; }; "tableCellTemplateRef": { "alias": "tableCellTemplateRef"; "required": false; }; }, {}, never, never, false, never>;
|
|
12
12
|
}
|
|
@@ -13,5 +13,5 @@ export declare class GraniteTableColumnDirective implements GraniteTableColumnIn
|
|
|
13
13
|
headerClass?: string | string[];
|
|
14
14
|
tableCellTemplateRef: TemplateRef<any>;
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<GraniteTableColumnDirective, never>;
|
|
16
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<GraniteTableColumnDirective, "granite-table-column", never, { "name": "name"; "title": "title"; "class": "class"; "headerClass": "headerClass"; }, {}, ["tableCellTemplateRef"], never, false, never>;
|
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<GraniteTableColumnDirective, "granite-table-column", never, { "name": { "alias": "name"; "required": false; }; "title": { "alias": "title"; "required": false; }; "class": { "alias": "class"; "required": false; }; "headerClass": { "alias": "headerClass"; "required": false; }; }, {}, ["tableCellTemplateRef"], never, false, never>;
|
|
17
17
|
}
|
|
@@ -13,5 +13,5 @@ export declare class GraniteTableComponent<T> implements AfterContentInit {
|
|
|
13
13
|
ngAfterContentInit(): void;
|
|
14
14
|
_trackColumnName(index: number, column: GraniteTableColumnDirective): string;
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<GraniteTableComponent<any>, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GraniteTableComponent<any>, "granite-table", never, { "dataSource": "dataSource"; "trackBy": "trackBy"; "layout": "layout"; }, {}, ["tableColumnsComponent"], never, false, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GraniteTableComponent<any>, "granite-table", never, { "dataSource": { "alias": "dataSource"; "required": false; }; "trackBy": { "alias": "trackBy"; "required": false; }; "layout": { "alias": "layout"; "required": false; }; }, {}, ["tableColumnsComponent"], never, false, never>;
|
|
17
17
|
}
|