@progressio_resources/gravity-design-system 3.3.30 → 3.3.31
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/esm2022/lib/components/gravity-avatar-stack/gravity-avatar-stack.component.mjs +2 -2
- package/esm2022/lib/components/gravity-calendar-next/components/day-calendar/day-calendar.component.mjs +2 -2
- package/esm2022/lib/components/gravity-calendar-next/components/month-calendar/month-calendar.component.mjs +2 -2
- package/esm2022/lib/components/gravity-calendar-next/components/year-calendar/year-calendar.component.mjs +2 -2
- package/esm2022/lib/components/gravity-calendar-next/gravity-calendar-next.component.mjs +2 -2
- package/esm2022/lib/components/gravity-calendar-v2/datepicker/components/bs-datepicker-container.component.mjs +3 -3
- package/esm2022/lib/components/gravity-calendar-v2/datepicker/components/bs-datepicker-inline-container.component.mjs +3 -3
- package/esm2022/lib/components/gravity-calendar-v2/datepicker/components/bs-daterangepicker-container.component.mjs +3 -3
- package/esm2022/lib/components/gravity-calendar-v2/datepicker/components/bs-daterangepicker-inline-container.component.mjs +3 -3
- package/esm2022/lib/components/gravity-card-list/gravity-card-list.component.mjs +2 -2
- package/esm2022/lib/components/gravity-chip-group/gravity-chip-group.component.mjs +2 -2
- package/esm2022/lib/components/gravity-currency/gravity-currency.component.mjs +2 -2
- package/esm2022/lib/components/gravity-currency-display/gravity-currency-display.component.mjs +2 -2
- package/esm2022/lib/components/gravity-currency-display-v2/gravity-currency-display-v2.component.mjs +2 -2
- package/esm2022/lib/components/gravity-data-view/gravity-data-view.component.mjs +2 -2
- package/esm2022/lib/components/gravity-dropdown-list/gravity-dropdown-list.component.mjs +35 -39
- package/esm2022/lib/components/gravity-dropdown-list-display/gravity-dropdown-list-display.component.mjs +5 -5
- package/esm2022/lib/components/gravity-icon-button/gravity-icon-button.component.mjs +2 -2
- package/esm2022/lib/components/gravity-modal/gravity-modal.component.mjs +2 -2
- package/esm2022/lib/components/gravity-navigation-card/gravity-navigation-card.component.mjs +2 -2
- package/esm2022/lib/components/gravity-network-pill/gravity-network-pill.component.mjs +3 -3
- package/esm2022/lib/components/gravity-segmented-button/gravity-segmented-button.component.mjs +2 -2
- package/fesm2022/progressio_resources-gravity-design-system.mjs +129 -134
- package/fesm2022/progressio_resources-gravity-design-system.mjs.map +1 -1
- package/lib/components/gravity-dropdown-list/gravity-dropdown-list.component.d.ts +21 -21
- package/package.json +1 -1
- package/src/lib/styles/foundations/spacing/_spacing.scss +13 -12
|
@@ -4,38 +4,38 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class GravityDropdownListComponent implements OnChanges {
|
|
5
5
|
private readonly filterByPipe;
|
|
6
6
|
private _eref;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
selectedItemsResponse: EventEmitter<any[] | any>;
|
|
11
|
-
clearable: boolean;
|
|
12
|
-
config?: {
|
|
13
|
-
label: string;
|
|
14
|
-
value: string;
|
|
15
|
-
};
|
|
16
|
-
currentLang: string;
|
|
17
|
-
customValues: Array<any> | any;
|
|
7
|
+
label: string;
|
|
8
|
+
iconLeft: string;
|
|
9
|
+
items: Array<any>;
|
|
18
10
|
cypressTag: string;
|
|
11
|
+
placeholder: string;
|
|
12
|
+
supportText: string;
|
|
19
13
|
hasError: boolean;
|
|
20
|
-
|
|
14
|
+
clearable: boolean;
|
|
15
|
+
multiple: boolean;
|
|
16
|
+
required: boolean;
|
|
17
|
+
currentLang: string;
|
|
21
18
|
isCurrency: boolean;
|
|
22
19
|
isDisabled: boolean;
|
|
23
20
|
isReadonly: boolean;
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
supportText: string;
|
|
21
|
+
customValues: Array<any> | any;
|
|
22
|
+
config?: {
|
|
23
|
+
label: string;
|
|
24
|
+
value: string;
|
|
25
|
+
};
|
|
30
26
|
labelSize: 'sm' | 'md' | 'lg';
|
|
31
27
|
size: 'sm' | 'md' | 'lg' | 'xl';
|
|
32
28
|
inputType: 'field' | 'label';
|
|
33
29
|
width: 'short' | 'medium' | 'full' | 'fit';
|
|
30
|
+
get dropdownState(): boolean;
|
|
31
|
+
set dropdownState(value: boolean);
|
|
32
|
+
dropdownStateChange: EventEmitter<boolean>;
|
|
33
|
+
selectedItemsResponse: EventEmitter<any[] | any>;
|
|
34
34
|
set watch(searchInput: ElementRef<HTMLInputElement>);
|
|
35
|
-
availableOptions: any[];
|
|
36
|
-
dropdownOpened: boolean;
|
|
37
35
|
searchText: string;
|
|
38
36
|
selectedItems: any[];
|
|
37
|
+
availableOptions: any[];
|
|
38
|
+
dropdownOpened: boolean;
|
|
39
39
|
openChildrenMap: Map<any, boolean>;
|
|
40
40
|
constructor(filterByPipe: FilterByPipe, _eref: ElementRef);
|
|
41
41
|
ngOnChanges(changes: SimpleChanges): void;
|
|
@@ -64,5 +64,5 @@ export declare class GravityDropdownListComponent implements OnChanges {
|
|
|
64
64
|
clearSearch(): void;
|
|
65
65
|
preventTypingWhenLocked(event: KeyboardEvent, input: HTMLInputElement): void;
|
|
66
66
|
static ɵfac: i0.ɵɵFactoryDeclaration<GravityDropdownListComponent, never>;
|
|
67
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GravityDropdownListComponent, "gravity-dropdown-list", never, { "
|
|
67
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GravityDropdownListComponent, "gravity-dropdown-list", never, { "label": { "alias": "label"; "required": false; }; "iconLeft": { "alias": "iconLeft"; "required": false; }; "items": { "alias": "items"; "required": false; }; "cypressTag": { "alias": "cypressTag"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "supportText": { "alias": "supportText"; "required": false; }; "hasError": { "alias": "hasError"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "required": { "alias": "required"; "required": false; }; "currentLang": { "alias": "currentLang"; "required": false; }; "isCurrency": { "alias": "isCurrency"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; }; "isReadonly": { "alias": "isReadonly"; "required": false; }; "customValues": { "alias": "customValues"; "required": false; }; "config": { "alias": "config"; "required": false; }; "labelSize": { "alias": "labelSize"; "required": false; }; "size": { "alias": "size"; "required": false; }; "inputType": { "alias": "inputType"; "required": false; }; "width": { "alias": "width"; "required": false; }; "dropdownState": { "alias": "dropdownState"; "required": false; }; }, { "dropdownStateChange": "dropdownStateChange"; "selectedItemsResponse": "response"; }, never, ["*"], false, never>;
|
|
68
68
|
}
|
package/package.json
CHANGED
|
@@ -3,17 +3,18 @@ $spacing-sizes: none, xxs, xs, sm, md, lg, xl, xxl, xxxl, xxxxl, xxxxxl;
|
|
|
3
3
|
$spacing-types: '', -top, -bottom, -left, -right, -block, -inline;
|
|
4
4
|
|
|
5
5
|
$spacing-values: (
|
|
6
|
-
none: 0,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
6
|
+
none: 0, // 0px
|
|
7
|
+
xxxs: 0.125rem, // 2px
|
|
8
|
+
xxs: 0.25rem, // 4px
|
|
9
|
+
xs: 0.5rem, // 8px
|
|
10
|
+
sm: 1rem, // 16px
|
|
11
|
+
md: 1.5rem, // 24px
|
|
12
|
+
lg: 2rem, // 32px
|
|
13
|
+
xl: 2.5rem, // 40px
|
|
14
|
+
xxl: 3rem, // 48px
|
|
15
|
+
xxxl: 4rem, // 64px
|
|
16
|
+
xxxxl: 6rem, // 96px
|
|
17
|
+
xxxxxl: 12rem // 192px
|
|
17
18
|
);
|
|
18
19
|
|
|
19
20
|
:root {
|
|
@@ -25,7 +26,7 @@ $spacing-values: (
|
|
|
25
26
|
@each $scss-type in $scss-types {
|
|
26
27
|
@each $size in $spacing-sizes {
|
|
27
28
|
@each $spacing-type in $spacing-types {
|
|
28
|
-
//.gravity-{{padding,margin}}-{{top,bottom,left,right,block,inline}}-{{xxs, xs, sm, md, lg, xl, xxl, xxxl, xxxxl, xxxxxl}}
|
|
29
|
+
//.gravity-{{padding,margin}}-{{top,bottom,left,right,block,inline}}-{{xxxs, xxs, xs, sm, md, lg, xl, xxl, xxxl, xxxxl, xxxxxl}}
|
|
29
30
|
.gravity-#{$scss-type}#{$spacing-type}-#{$size} {
|
|
30
31
|
#{$scss-type}#{$spacing-type}: map-get($spacing-values, $size) !important;
|
|
31
32
|
}
|