@ifsworld/granite-components 15.0.0 → 15.0.2
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/README.md +1 -1
- package/date-picker/lib/date-picker-base.d.ts +3 -3
- package/date-picker/lib/date-picker.module.d.ts +2 -2
- package/esm2022/carousel/ifsworld-granite-components-carousel.mjs +5 -0
- package/esm2022/carousel/index.mjs +3 -0
- package/esm2022/carousel/lib/carousel.component.mjs +156 -0
- package/esm2022/carousel/lib/carousel.module.mjs +31 -0
- package/esm2022/date-picker/ifsworld-granite-components-date-picker.mjs +5 -0
- package/esm2022/date-picker/index.mjs +5 -0
- package/esm2022/date-picker/lib/date-picker-base.mjs +53 -0
- package/esm2022/date-picker/lib/date-picker-trigger-for.directive.mjs +228 -0
- package/esm2022/date-picker/lib/date-picker.component.mjs +30 -0
- package/esm2022/date-picker/lib/date-picker.module.mjs +58 -0
- package/esm2022/date-picker/lib/date-range-picker.component.mjs +46 -0
- package/esm2022/file-upload/ifsworld-granite-components-file-upload.mjs +5 -0
- package/esm2022/file-upload/index.mjs +3 -0
- package/esm2022/file-upload/lib/directives/file-drag-and-drop.directive.mjs +102 -0
- package/esm2022/file-upload/lib/file-upload.component.mjs +182 -0
- package/esm2022/file-upload/lib/file-upload.constants.mjs +45 -0
- package/esm2022/file-upload/lib/file-upload.module.mjs +32 -0
- package/esm2022/file-upload/lib/file-upload.utils.mjs +13 -0
- package/esm2022/ifsworld-granite-components.mjs +5 -0
- package/esm2022/index.mjs +90 -0
- package/esm2022/lib/arrange-grid/arrange-grid-item.component.mjs +44 -0
- package/esm2022/lib/arrange-grid/arrange-grid.component.mjs +125 -0
- package/esm2022/lib/arrange-grid/arrange-grid.module.mjs +19 -0
- package/esm2022/lib/avatar/avatar-default-status/avatar-default-status.component.mjs +36 -0
- package/esm2022/lib/avatar/avatar.component.mjs +68 -0
- package/esm2022/lib/avatar/avatar.component.public-types.mjs +7 -0
- package/esm2022/lib/avatar/avatar.module.mjs +37 -0
- package/esm2022/lib/avatar/custom-avatar-status.directive.mjs +18 -0
- package/esm2022/lib/avatar/empty-avatar/empty-avatar.component.mjs +37 -0
- package/esm2022/lib/badge/badge.component.mjs +39 -0
- package/esm2022/lib/badge/badge.module.mjs +18 -0
- package/esm2022/lib/badge/testing/badge.harness.mjs +25 -0
- package/esm2022/lib/button/button.component.mjs +87 -0
- package/esm2022/lib/button/button.module.mjs +16 -0
- package/esm2022/lib/card-list/card/card-avatar.component.mjs +11 -0
- package/esm2022/lib/card-list/card/card-content/card-actions.component.mjs +11 -0
- package/esm2022/lib/card-list/card/card-content/card-body.component.mjs +11 -0
- package/esm2022/lib/card-list/card/card-content/card-content.component.mjs +11 -0
- package/esm2022/lib/card-list/card/card-content/card-footer.component.mjs +11 -0
- package/esm2022/lib/card-list/card/card-content/card-header-subtitle.component.mjs +11 -0
- package/esm2022/lib/card-list/card/card-content/card-header-title.component.mjs +11 -0
- package/esm2022/lib/card-list/card/card-content/card-header.component.mjs +11 -0
- package/esm2022/lib/card-list/card/card.component.mjs +11 -0
- package/esm2022/lib/card-list/card-list.component.mjs +24 -0
- package/esm2022/lib/card-list/card-list.module.mjs +68 -0
- package/esm2022/lib/checkbox/checkbox-group.component.mjs +17 -0
- package/esm2022/lib/checkbox/checkbox.component.mjs +99 -0
- package/esm2022/lib/checkbox/checkbox.module.mjs +17 -0
- 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 +288 -0
- package/esm2022/lib/chips/chips.module.mjs +31 -0
- package/esm2022/lib/collapsible-group/collapsible-group-body.directive.mjs +17 -0
- package/esm2022/lib/collapsible-group/collapsible-group-header.directive.mjs +17 -0
- package/esm2022/lib/collapsible-group/collapsible-group.component.mjs +46 -0
- package/esm2022/lib/collapsible-group/collapsible-group.module.mjs +33 -0
- package/esm2022/lib/contacts/contact-item/contact-item.component.mjs +27 -0
- package/esm2022/lib/contacts/contact-item-default-status/contact-item-default-status.component.mjs +20 -0
- package/esm2022/lib/contacts/contact-item-title/contact-item-title.component.mjs +15 -0
- package/esm2022/lib/contacts/contacts-profile/contacts-profile.component.mjs +18 -0
- package/esm2022/lib/contacts/contacts-trigger/contacts-trigger-data.mjs +24 -0
- package/esm2022/lib/contacts/contacts-trigger/contacts-trigger-for.directive.mjs +231 -0
- package/esm2022/lib/contacts/contacts-types/contacts.component.private-types.mjs +2 -0
- package/esm2022/lib/contacts/contacts-types/contacts.component.public-types.mjs +9 -0
- package/esm2022/lib/contacts/contacts.component.mjs +92 -0
- package/esm2022/lib/contacts/contacts.module.mjs +53 -0
- package/esm2022/lib/contacts/custom-profile.directive.mjs +16 -0
- package/esm2022/lib/contacts/custom-status.directive.mjs +18 -0
- package/esm2022/lib/core/animation.mjs +34 -0
- package/esm2022/lib/core/client-environment.mjs +20 -0
- package/esm2022/lib/core/common-behaviors/disabled.mjs +27 -0
- package/esm2022/lib/core/core.module.mjs +44 -0
- 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/esm2022/lib/core/hide-on-overflow.directive.mjs +83 -0
- package/esm2022/lib/core/overlay-base.mjs +18 -0
- package/esm2022/lib/core/overlay-position-config.mjs +2 -0
- package/esm2022/lib/core/overlay-trigger-for-base.directive.mjs +121 -0
- package/esm2022/lib/core/overlay.service.mjs +90 -0
- package/esm2022/lib/core/pipes/pure-pipes.module.mjs +16 -0
- package/esm2022/lib/core/pipes/title.pipe.mjs +21 -0
- package/esm2022/lib/core/radio-checkbox-base.mjs +19 -0
- package/esm2022/lib/core/services/names-utils-service.mjs +51 -0
- package/esm2022/lib/core/theme.library.mjs +59 -0
- package/esm2022/lib/core/types.mjs +2 -0
- package/esm2022/lib/grid/grid.component.mjs +128 -0
- package/esm2022/lib/grid/grid.module.mjs +18 -0
- package/esm2022/lib/icon/icon.component.mjs +43 -0
- package/esm2022/lib/icon/icon.module.mjs +16 -0
- package/esm2022/lib/input-field/input-field.component.mjs +167 -0
- package/esm2022/lib/input-field/input-field.module.mjs +20 -0
- package/esm2022/lib/label/label.component.mjs +31 -0
- package/esm2022/lib/label/label.module.mjs +18 -0
- package/esm2022/lib/menu/divider.directive.mjs +23 -0
- package/esm2022/lib/menu/menu-base.mjs +364 -0
- package/esm2022/lib/menu/menu-desktop-animations.mjs +23 -0
- package/esm2022/lib/menu/menu-errors.mjs +37 -0
- package/esm2022/lib/menu/menu-item.component.mjs +89 -0
- package/esm2022/lib/menu/menu-panel.mjs +7 -0
- package/esm2022/lib/menu/menu-positions.mjs +9 -0
- package/esm2022/lib/menu/menu-touch-animations.mjs +137 -0
- package/esm2022/lib/menu/menu-touch-close.component.mjs +13 -0
- package/esm2022/lib/menu/menu-touch-title.component.mjs +59 -0
- package/esm2022/lib/menu/menu-trigger-for.directive.mjs +738 -0
- package/esm2022/lib/menu/menu.component.mjs +30 -0
- package/esm2022/lib/menu/menu.module.mjs +55 -0
- package/esm2022/lib/menu/testing/menu.harness.mjs +109 -0
- package/esm2022/lib/menu/title.directive.mjs +17 -0
- package/esm2022/lib/progress-bar/progress-bar-legend/progress-bar-legend.component.mjs +19 -0
- package/esm2022/lib/progress-bar/progress-bar-legend-base.mjs +17 -0
- package/esm2022/lib/progress-bar/progress-bar-legend-trigger-for.directive.mjs +54 -0
- package/esm2022/lib/progress-bar/progress-bar.component.mjs +92 -0
- package/esm2022/lib/progress-bar/progress-bar.model.mjs +2 -0
- package/esm2022/lib/progress-bar/progress-bar.module.mjs +44 -0
- package/esm2022/lib/radio-button/radio-button.component.mjs +119 -0
- package/esm2022/lib/radio-button/radio-button.module.mjs +17 -0
- package/esm2022/lib/radio-button/radio-group.component.mjs +17 -0
- package/esm2022/lib/toggle-switch/toggle-switch.component.mjs +100 -0
- package/esm2022/lib/toggle-switch/toggle-switch.module.mjs +16 -0
- package/esm2022/table/ifsworld-granite-components-table.mjs +5 -0
- package/esm2022/table/index.mjs +5 -0
- package/esm2022/table/lib/cell/cell-align/cell-align-classes.directive.mjs +26 -0
- package/esm2022/table/lib/cell/cell.mjs +15 -0
- package/esm2022/table/lib/cell/table-data-cell.component.mjs +25 -0
- package/esm2022/table/lib/cell/table-header-cell.component.mjs +14 -0
- package/esm2022/table/lib/column/table-column.directive.mjs +33 -0
- package/esm2022/table/lib/column-size/column-size.directive.mjs +34 -0
- package/esm2022/table/lib/table-constants.library.mjs +7 -0
- package/esm2022/table/lib/table.component.mjs +62 -0
- package/esm2022/table/lib/table.model.mjs +2 -0
- package/esm2022/table/lib/table.module.mjs +38 -0
- package/esm2022/tooltip/ifsworld-granite-components-tooltip.mjs +5 -0
- package/esm2022/tooltip/index.mjs +4 -0
- package/esm2022/tooltip/lib/Services/granite-tooltip.service.mjs +28 -0
- package/esm2022/tooltip/lib/tooltip-constants.library.mjs +4 -0
- package/esm2022/tooltip/lib/tooltip-trigger-for.directive.mjs +147 -0
- package/esm2022/tooltip/lib/tooltip.component.mjs +14 -0
- package/esm2022/tooltip/lib/tooltip.module.mjs +19 -0
- package/fesm2022/ifsworld-granite-components-carousel.mjs +9 -9
- package/fesm2022/ifsworld-granite-components-carousel.mjs.map +1 -1
- package/fesm2022/ifsworld-granite-components-date-picker.mjs +30 -34
- package/fesm2022/ifsworld-granite-components-date-picker.mjs.map +1 -1
- package/fesm2022/ifsworld-granite-components-file-upload.mjs +12 -13
- package/fesm2022/ifsworld-granite-components-file-upload.mjs.map +1 -1
- package/fesm2022/ifsworld-granite-components-table.mjs +29 -32
- package/fesm2022/ifsworld-granite-components-table.mjs.map +1 -1
- package/fesm2022/ifsworld-granite-components-tooltip.mjs +15 -16
- package/fesm2022/ifsworld-granite-components-tooltip.mjs.map +1 -1
- package/fesm2022/ifsworld-granite-components.mjs +323 -342
- package/fesm2022/ifsworld-granite-components.mjs.map +1 -1
- package/lib/contacts/contacts-trigger/contacts-trigger-data.d.ts +1 -1
- package/lib/core/overlay-base.d.ts +1 -1
- package/lib/core/radio-checkbox-base.d.ts +1 -1
- package/lib/menu/menu-base.d.ts +1 -1
- package/lib/progress-bar/progress-bar-legend-base.d.ts +1 -1
- package/package.json +21 -9
- package/src/lib/core/style/_mixins.scss +9 -10
- package/src/lib/core/style/_range-functions.scss +4 -6
- package/src/lib/core/style/_z-index.scss +4 -6
- package/table/lib/cell/cell.d.ts +1 -1
|
@@ -19,5 +19,5 @@ export declare class ContactsTriggerDataComponent {
|
|
|
19
19
|
/** Client output device information */
|
|
20
20
|
clientOutput: ClientOutputInterface;
|
|
21
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<ContactsTriggerDataComponent, never>;
|
|
22
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ContactsTriggerDataComponent, never, never, {}, {}, never, never,
|
|
22
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ContactsTriggerDataComponent, never, never, {}, {}, never, never, false, never>;
|
|
23
23
|
}
|
|
@@ -12,5 +12,5 @@ export declare class OverlayBaseComponent {
|
|
|
12
12
|
clientInput: ClientInputInterface;
|
|
13
13
|
clientOutput: ClientOutputInterface;
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<OverlayBaseComponent, never>;
|
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<OverlayBaseComponent, never, never, {}, {}, never, never,
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<OverlayBaseComponent, never, never, {}, {}, never, never, false, never>;
|
|
16
16
|
}
|
|
@@ -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": { "alias": "layout"; "required": false; }; "ariaLabelledby": { "alias": "aria-labelledby"; "required": false; }; }, {}, never, 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
|
}
|
package/lib/menu/menu-base.d.ts
CHANGED
|
@@ -200,6 +200,6 @@ export declare class _MenuBaseComponent implements AfterContentInit, OnDestroy,
|
|
|
200
200
|
*/
|
|
201
201
|
private _updateDirectDescendants;
|
|
202
202
|
static ɵfac: i0.ɵɵFactoryDeclaration<_MenuBaseComponent, never>;
|
|
203
|
-
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; }; "scrollStrategy": { "alias": "scrollStrategy"; "required": false; }; "styles": { "alias": "styles"; "required": false; }; "touchStyles": { "alias": "touchStyles"; "required": false; }; }, { "closed": "closed"; "opened": "opened"; }, ["_allItems"], never,
|
|
203
|
+
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; }; "scrollStrategy": { "alias": "scrollStrategy"; "required": false; }; "styles": { "alias": "styles"; "required": false; }; "touchStyles": { "alias": "touchStyles"; "required": false; }; }, { "closed": "closed"; "opened": "opened"; }, ["_allItems"], never, false, never>;
|
|
204
204
|
}
|
|
205
205
|
export {};
|
|
@@ -4,5 +4,5 @@ export declare class LegendBaseComponent extends OverlayBaseComponent {
|
|
|
4
4
|
readonly panelId: string;
|
|
5
5
|
xPosition: PositionX;
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<LegendBaseComponent, never>;
|
|
7
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<LegendBaseComponent, never, never, {}, {}, never, never,
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LegendBaseComponent, never, never, {}, {}, never, never, false, never>;
|
|
8
8
|
}
|
package/package.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ifsworld/granite-components",
|
|
3
|
-
"version": "15.0.
|
|
3
|
+
"version": "15.0.2",
|
|
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": ">=
|
|
12
|
-
"@ifsworld/granite-icons": ">=1.
|
|
6
|
+
"@angular/cdk": ">=18.2.12",
|
|
7
|
+
"@angular/common": ">=18.2.12",
|
|
8
|
+
"@angular/core": ">=18.2.12",
|
|
9
|
+
"@angular/platform-browser": ">=18.2.12",
|
|
10
|
+
"@angular/animations": ">=18.2.12",
|
|
11
|
+
"@angular/platform-browser-dynamic": ">=18.2.12",
|
|
12
|
+
"@ifsworld/granite-icons": ">=1.5.2",
|
|
13
13
|
"@ifsworld/token-interfaces": ">=1.0.1",
|
|
14
|
-
"@ifsworld/granite-tokens": ">=6.
|
|
14
|
+
"@ifsworld/granite-tokens": ">=6.3.1",
|
|
15
15
|
"rxjs": ">=7.8.1"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
@@ -25,26 +25,38 @@
|
|
|
25
25
|
},
|
|
26
26
|
".": {
|
|
27
27
|
"types": "./index.d.ts",
|
|
28
|
+
"esm2022": "./esm2022/ifsworld-granite-components.mjs",
|
|
29
|
+
"esm": "./esm2022/ifsworld-granite-components.mjs",
|
|
28
30
|
"default": "./fesm2022/ifsworld-granite-components.mjs"
|
|
29
31
|
},
|
|
30
32
|
"./carousel": {
|
|
31
33
|
"types": "./carousel/index.d.ts",
|
|
34
|
+
"esm2022": "./esm2022/carousel/ifsworld-granite-components-carousel.mjs",
|
|
35
|
+
"esm": "./esm2022/carousel/ifsworld-granite-components-carousel.mjs",
|
|
32
36
|
"default": "./fesm2022/ifsworld-granite-components-carousel.mjs"
|
|
33
37
|
},
|
|
34
38
|
"./date-picker": {
|
|
35
39
|
"types": "./date-picker/index.d.ts",
|
|
40
|
+
"esm2022": "./esm2022/date-picker/ifsworld-granite-components-date-picker.mjs",
|
|
41
|
+
"esm": "./esm2022/date-picker/ifsworld-granite-components-date-picker.mjs",
|
|
36
42
|
"default": "./fesm2022/ifsworld-granite-components-date-picker.mjs"
|
|
37
43
|
},
|
|
38
44
|
"./file-upload": {
|
|
39
45
|
"types": "./file-upload/index.d.ts",
|
|
46
|
+
"esm2022": "./esm2022/file-upload/ifsworld-granite-components-file-upload.mjs",
|
|
47
|
+
"esm": "./esm2022/file-upload/ifsworld-granite-components-file-upload.mjs",
|
|
40
48
|
"default": "./fesm2022/ifsworld-granite-components-file-upload.mjs"
|
|
41
49
|
},
|
|
42
50
|
"./table": {
|
|
43
51
|
"types": "./table/index.d.ts",
|
|
52
|
+
"esm2022": "./esm2022/table/ifsworld-granite-components-table.mjs",
|
|
53
|
+
"esm": "./esm2022/table/ifsworld-granite-components-table.mjs",
|
|
44
54
|
"default": "./fesm2022/ifsworld-granite-components-table.mjs"
|
|
45
55
|
},
|
|
46
56
|
"./tooltip": {
|
|
47
57
|
"types": "./tooltip/index.d.ts",
|
|
58
|
+
"esm2022": "./esm2022/tooltip/ifsworld-granite-components-tooltip.mjs",
|
|
59
|
+
"esm": "./esm2022/tooltip/ifsworld-granite-components-tooltip.mjs",
|
|
48
60
|
"default": "./fesm2022/ifsworld-granite-components-tooltip.mjs"
|
|
49
61
|
}
|
|
50
62
|
},
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
/* stylelint-disable property-no-vendor-prefix */
|
|
3
3
|
/* stylelint-disable value-no-vendor-prefix */
|
|
4
4
|
/* stylelint-disable color-function-notation */
|
|
5
|
-
@use 'sass:list';
|
|
6
5
|
|
|
7
6
|
@use 'direction' as *;
|
|
8
7
|
@use 'tokens' as *;
|
|
@@ -114,32 +113,32 @@
|
|
|
114
113
|
$_ease: none;
|
|
115
114
|
$_delay: none;
|
|
116
115
|
|
|
117
|
-
@if
|
|
116
|
+
@if length($property) > 1 {
|
|
118
117
|
@each $transition_list in $property {
|
|
119
|
-
@for $i from 1 through
|
|
118
|
+
@for $i from 1 through length($transition_list) {
|
|
120
119
|
@if $i == 1 {
|
|
121
|
-
$_property:
|
|
120
|
+
$_property: nth($transition_list, $i);
|
|
122
121
|
}
|
|
123
122
|
|
|
124
|
-
@if
|
|
123
|
+
@if length($transition_list) > 1 {
|
|
125
124
|
@if $i == 2 {
|
|
126
|
-
$_speed:
|
|
125
|
+
$_speed: nth($transition_list, $i);
|
|
127
126
|
}
|
|
128
127
|
} @else {
|
|
129
128
|
$_speed: $speed;
|
|
130
129
|
}
|
|
131
130
|
|
|
132
|
-
@if
|
|
131
|
+
@if length($transition_list) > 2 {
|
|
133
132
|
@if $i == 3 {
|
|
134
|
-
$_ease:
|
|
133
|
+
$_ease: nth($transition_list, $i);
|
|
135
134
|
}
|
|
136
135
|
} @else {
|
|
137
136
|
$_ease: $ease;
|
|
138
137
|
}
|
|
139
138
|
|
|
140
|
-
@if
|
|
139
|
+
@if length($transition_list) > 3 {
|
|
141
140
|
@if $i == 4 {
|
|
142
|
-
$_delay:
|
|
141
|
+
$_delay: nth($transition_list, $i);
|
|
143
142
|
}
|
|
144
143
|
} @else {
|
|
145
144
|
$_delay: $delay;
|
|
@@ -1,17 +1,15 @@
|
|
|
1
1
|
// RANGES
|
|
2
2
|
// We use these functions to define ranges for various things, like media queries.
|
|
3
|
-
@use 'sass:list';
|
|
4
|
-
|
|
5
3
|
@function lower-bound($range) {
|
|
6
|
-
@if
|
|
4
|
+
@if length($range) <= 0 {
|
|
7
5
|
@return 0;
|
|
8
6
|
}
|
|
9
|
-
@return
|
|
7
|
+
@return nth($range, 1);
|
|
10
8
|
}
|
|
11
9
|
|
|
12
10
|
@function upper-bound($range) {
|
|
13
|
-
@if
|
|
11
|
+
@if length($range) < 2 {
|
|
14
12
|
@return 999999999999;
|
|
15
13
|
}
|
|
16
|
-
@return
|
|
14
|
+
@return nth($range, 2);
|
|
17
15
|
}
|
|
@@ -123,8 +123,6 @@
|
|
|
123
123
|
*
|
|
124
124
|
********************************************************************************************************************************************/
|
|
125
125
|
|
|
126
|
-
@use 'sass:list';
|
|
127
|
-
|
|
128
126
|
// Definition of variables used in z-index-hierarchy, just to help intellisense. Define a new class here and add it to $z-index-hierarchy
|
|
129
127
|
$z-index-top: 'top';
|
|
130
128
|
$z-index-message: 'message';
|
|
@@ -314,7 +312,7 @@ $z-index-keys: (
|
|
|
314
312
|
arglist
|
|
315
313
|
)
|
|
316
314
|
) {
|
|
317
|
-
@if (
|
|
315
|
+
@if (length($param) > 1) {
|
|
318
316
|
$tmp: '(' + implode($param) + ')';
|
|
319
317
|
} @else {
|
|
320
318
|
@if (map-has-key($z-index-keys, $param)) {
|
|
@@ -365,12 +363,12 @@ $z-index-keys: (
|
|
|
365
363
|
@function _z-index($key1, $key2: null) {
|
|
366
364
|
/* Reversing $z-index-hierarchy because higher ranking should mean higher position in the array since the entire logic will be based on that. */
|
|
367
365
|
$z-indices: ();
|
|
368
|
-
@for $i from
|
|
369
|
-
$z-indices: append($z-indices,
|
|
366
|
+
@for $i from length($z-index-hierarchy) * -1 through -1 {
|
|
367
|
+
$z-indices: append($z-indices, nth($z-index-hierarchy, abs($i)));
|
|
370
368
|
}
|
|
371
369
|
|
|
372
370
|
/* Each step leaves enough space for a sublevel specified by $key2. This way we don't need to change this factor if more values are added into the array */
|
|
373
|
-
$firstLevelFactor:
|
|
371
|
+
$firstLevelFactor: length($z-indices);
|
|
374
372
|
|
|
375
373
|
$found-index: index($z-indices, $key1);
|
|
376
374
|
@if ($found-index != null) {
|
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": { "alias": "id"; "required": false; }; "column": { "alias": "column"; "required": false; }; }, {}, never, 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
|
}
|