@sebgroup/green-angular 6.0.0 → 6.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.
Files changed (37) hide show
  1. package/esm2022/src/v-angular/checkbox/checkbox.component.mjs +3 -3
  2. package/esm2022/src/v-angular/datepicker/components/date-input/date-input.component.mjs +3 -3
  3. package/esm2022/src/v-angular/dropdown/dropdown-list/dropdown-list.component.mjs +16 -3
  4. package/esm2022/src/v-angular/dropdown/dropdown.component.mjs +11 -3
  5. package/esm2022/src/v-angular/dropdown/typeahead/typeahead-input/typeahead-input.component.mjs +3 -3
  6. package/esm2022/src/v-angular/dropdown/typeahead/typeahead.directive.mjs +2 -1
  7. package/esm2022/src/v-angular/input/input.component.mjs +3 -3
  8. package/esm2022/src/v-angular/radio/radio.component.mjs +3 -3
  9. package/esm2022/src/v-angular/textarea/textarea.component.mjs +3 -3
  10. package/esm2022/v-angular/checkbox/checkbox.component.mjs +3 -3
  11. package/esm2022/v-angular/datepicker/components/date-input/date-input.component.mjs +3 -3
  12. package/esm2022/v-angular/dropdown/dropdown-list/dropdown-list.component.mjs +16 -3
  13. package/esm2022/v-angular/dropdown/dropdown.component.mjs +11 -3
  14. package/esm2022/v-angular/dropdown/typeahead/typeahead-input/typeahead-input.component.mjs +3 -3
  15. package/esm2022/v-angular/dropdown/typeahead/typeahead.directive.mjs +2 -1
  16. package/esm2022/v-angular/input/input.component.mjs +3 -3
  17. package/esm2022/v-angular/radio/radio.component.mjs +3 -3
  18. package/esm2022/v-angular/textarea/textarea.component.mjs +3 -3
  19. package/fesm2022/sebgroup-green-angular-src-v-angular-checkbox.mjs +2 -2
  20. package/fesm2022/sebgroup-green-angular-src-v-angular-checkbox.mjs.map +1 -1
  21. package/fesm2022/sebgroup-green-angular-src-v-angular-datepicker.mjs +2 -2
  22. package/fesm2022/sebgroup-green-angular-src-v-angular-datepicker.mjs.map +1 -1
  23. package/fesm2022/sebgroup-green-angular-src-v-angular-dropdown.mjs +28 -6
  24. package/fesm2022/sebgroup-green-angular-src-v-angular-dropdown.mjs.map +1 -1
  25. package/fesm2022/sebgroup-green-angular-src-v-angular-input.mjs +2 -2
  26. package/fesm2022/sebgroup-green-angular-src-v-angular-input.mjs.map +1 -1
  27. package/fesm2022/sebgroup-green-angular-src-v-angular-radio.mjs +2 -2
  28. package/fesm2022/sebgroup-green-angular-src-v-angular-radio.mjs.map +1 -1
  29. package/fesm2022/sebgroup-green-angular-src-v-angular-textarea.mjs +2 -2
  30. package/fesm2022/sebgroup-green-angular-src-v-angular-textarea.mjs.map +1 -1
  31. package/fesm2022/sebgroup-green-angular-v-angular.mjs +38 -16
  32. package/fesm2022/sebgroup-green-angular-v-angular.mjs.map +1 -1
  33. package/package.json +8 -8
  34. package/src/v-angular/dropdown/dropdown-list/dropdown-list.component.d.ts +8 -1
  35. package/src/v-angular/dropdown/dropdown.component.d.ts +7 -1
  36. package/v-angular/dropdown/dropdown-list/dropdown-list.component.d.ts +8 -1
  37. package/v-angular/dropdown/dropdown.component.d.ts +7 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sebgroup/green-angular",
3
- "version": "6.0.0",
3
+ "version": "6.0.2",
4
4
  "peerDependencies": {
5
5
  "@angular/cdk": ">=18",
6
6
  "@angular/common": ">=18",
@@ -17,7 +17,7 @@
17
17
  "scroll-into-view-if-needed": "^2.2.31"
18
18
  },
19
19
  "dependencies": {
20
- "@sebgroup/green-core": "^1.85.0",
20
+ "@sebgroup/green-core": "^1.87.0",
21
21
  "@sebgroup/chlorophyll": "^3.6.20",
22
22
  "@sebgroup/extract": "^3.0.2",
23
23
  "tslib": "^2.3.1"
@@ -117,6 +117,12 @@
117
117
  "esm": "./esm2022/src/lib/pagination/sebgroup-green-angular-src-lib-pagination.mjs",
118
118
  "default": "./fesm2022/sebgroup-green-angular-src-lib-pagination.mjs"
119
119
  },
120
+ "./src/lib/progress-circle": {
121
+ "types": "./src/lib/progress-circle/index.d.ts",
122
+ "esm2022": "./esm2022/src/lib/progress-circle/sebgroup-green-angular-src-lib-progress-circle.mjs",
123
+ "esm": "./esm2022/src/lib/progress-circle/sebgroup-green-angular-src-lib-progress-circle.mjs",
124
+ "default": "./fesm2022/sebgroup-green-angular-src-lib-progress-circle.mjs"
125
+ },
120
126
  "./src/lib/segmented-control": {
121
127
  "types": "./src/lib/segmented-control/index.d.ts",
122
128
  "esm2022": "./esm2022/src/lib/segmented-control/sebgroup-green-angular-src-lib-segmented-control.mjs",
@@ -135,12 +141,6 @@
135
141
  "esm": "./esm2022/src/lib/slider/sebgroup-green-angular-src-lib-slider.mjs",
136
142
  "default": "./fesm2022/sebgroup-green-angular-src-lib-slider.mjs"
137
143
  },
138
- "./src/lib/progress-circle": {
139
- "types": "./src/lib/progress-circle/index.d.ts",
140
- "esm2022": "./esm2022/src/lib/progress-circle/sebgroup-green-angular-src-lib-progress-circle.mjs",
141
- "esm": "./esm2022/src/lib/progress-circle/sebgroup-green-angular-src-lib-progress-circle.mjs",
142
- "default": "./fesm2022/sebgroup-green-angular-src-lib-progress-circle.mjs"
143
- },
144
144
  "./src/lib/sortable-list": {
145
145
  "types": "./src/lib/sortable-list/index.d.ts",
146
146
  "esm2022": "./esm2022/src/lib/sortable-list/sebgroup-green-angular-src-lib-sortable-list.mjs",
@@ -26,6 +26,12 @@ export declare class NggvDropdownListComponent implements OnInit, OnChanges {
26
26
  * When false, value is emitted every time an option is selected
27
27
  * */
28
28
  onlyEmitDistinctChanges: boolean;
29
+ /**
30
+ * Used to control if the dropdown list should select the current active element, when Space is pressed on the keyboard.
31
+ * Primary usage is for typeahead, where the should be able to write a filter query containing spaces,
32
+ * but not select the current active element with Space.
33
+ */
34
+ selectWithSpace: boolean;
29
35
  selectedValueChanged: EventEmitter<any>;
30
36
  closed: EventEmitter<void>;
31
37
  /** The current active option based on numeric index. */
@@ -87,6 +93,7 @@ export declare class NggvDropdownListComponent implements OnInit, OnChanges {
87
93
  /**
88
94
  * @internal
89
95
  * Enter toggles the dropdown, home, end, and, arrows change the index.
96
+ * Space selects the currently active option if `selectWithSpace` is true.
90
97
  * @param event fired containing which key was released.
91
98
  */
92
99
  onKeyUp(event: KeyboardEvent): void;
@@ -100,5 +107,5 @@ export declare class NggvDropdownListComponent implements OnInit, OnChanges {
100
107
  */
101
108
  scrollToResult(option: any, focusElement?: boolean): void;
102
109
  static ɵfac: i0.ɵɵFactoryDeclaration<NggvDropdownListComponent, [{ optional: true; }]>;
103
- static ɵcmp: i0.ɵɵComponentDeclaration<NggvDropdownListComponent, "nggv-dropdown-list", never, { "expanded": { "alias": "expanded"; "required": false; }; "state": { "alias": "state"; "required": false; }; "scrollOffset": { "alias": "scrollOffset"; "required": false; }; "optionContentTpl": { "alias": "optionContentTpl"; "required": false; }; "groupLabelTpl": { "alias": "groupLabelTpl"; "required": false; }; "id": { "alias": "id"; "required": false; }; "thook": { "alias": "thook"; "required": false; }; "options": { "alias": "options"; "required": false; }; "textToHighlight": { "alias": "textToHighlight"; "required": false; }; "onlyEmitDistinctChanges": { "alias": "onlyEmitDistinctChanges"; "required": false; }; }, { "selectedValueChanged": "selectedValueChanged"; "closed": "closed"; }, never, never, false, never>;
110
+ static ɵcmp: i0.ɵɵComponentDeclaration<NggvDropdownListComponent, "nggv-dropdown-list", never, { "expanded": { "alias": "expanded"; "required": false; }; "state": { "alias": "state"; "required": false; }; "scrollOffset": { "alias": "scrollOffset"; "required": false; }; "optionContentTpl": { "alias": "optionContentTpl"; "required": false; }; "groupLabelTpl": { "alias": "groupLabelTpl"; "required": false; }; "id": { "alias": "id"; "required": false; }; "thook": { "alias": "thook"; "required": false; }; "options": { "alias": "options"; "required": false; }; "textToHighlight": { "alias": "textToHighlight"; "required": false; }; "onlyEmitDistinctChanges": { "alias": "onlyEmitDistinctChanges"; "required": false; }; "selectWithSpace": { "alias": "selectWithSpace"; "required": false; }; }, { "selectedValueChanged": "selectedValueChanged"; "closed": "closed"; }, never, never, false, never>;
104
111
  }
@@ -52,6 +52,12 @@ export declare class NggvDropdownComponent<K = string | null | undefined, V = st
52
52
  * Defaults to true.
53
53
  */
54
54
  selectOnSingleOption: boolean;
55
+ /**
56
+ * Used to control if the dropdown list should select the current active element, when Space is pressed on the keyboard.
57
+ * Primary usage is for typeahead, where the should be able to write a filter query containing spaces,
58
+ * but not select the current active element with Space.
59
+ */
60
+ selectWithSpace: boolean;
55
61
  /**
56
62
  * Used to determine which changes should be handled by the dropdown.
57
63
  * If set to false, all changes will be handled by the dropdown.
@@ -114,5 +120,5 @@ export declare class NggvDropdownComponent<K = string | null | undefined, V = st
114
120
  */
115
121
  isOption(option: OptionBase<T>): option is OptionGroup<T>;
116
122
  static ɵfac: i0.ɵɵFactoryDeclaration<NggvDropdownComponent<any, any, any>, [{ optional: true; self: true; }, { optional: true; }, null, null]>;
117
- static ɵcmp: i0.ɵɵComponentDeclaration<NggvDropdownComponent<any, any, any>, "nggv-dropdown", never, { "thook": { "alias": "thook"; "required": false; }; "size": { "alias": "size"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "options": { "alias": "options"; "required": false; }; "scrollOffset": { "alias": "scrollOffset"; "required": false; }; "allowControlNullishOption": { "alias": "allowControlNullishOption"; "required": false; }; "textToHighlight": { "alias": "textToHighlight"; "required": false; }; "selectOnSingleOption": { "alias": "selectOnSingleOption"; "required": false; }; "onlyHandleDistinctChanges": { "alias": "onlyHandleDistinctChanges"; "required": false; }; }, { "expandedChange": "expandedChange"; }, ["selectedContentTpl", "optionContentTpl", "groupLabelTpl"], ["*"], false, never>;
123
+ static ɵcmp: i0.ɵɵComponentDeclaration<NggvDropdownComponent<any, any, any>, "nggv-dropdown", never, { "thook": { "alias": "thook"; "required": false; }; "size": { "alias": "size"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "options": { "alias": "options"; "required": false; }; "scrollOffset": { "alias": "scrollOffset"; "required": false; }; "allowControlNullishOption": { "alias": "allowControlNullishOption"; "required": false; }; "textToHighlight": { "alias": "textToHighlight"; "required": false; }; "selectOnSingleOption": { "alias": "selectOnSingleOption"; "required": false; }; "selectWithSpace": { "alias": "selectWithSpace"; "required": false; }; "onlyHandleDistinctChanges": { "alias": "onlyHandleDistinctChanges"; "required": false; }; }, { "expandedChange": "expandedChange"; }, ["selectedContentTpl", "optionContentTpl", "groupLabelTpl"], ["*"], false, never>;
118
124
  }
@@ -26,6 +26,12 @@ export declare class NggvDropdownListComponent implements OnInit, OnChanges {
26
26
  * When false, value is emitted every time an option is selected
27
27
  * */
28
28
  onlyEmitDistinctChanges: boolean;
29
+ /**
30
+ * Used to control if the dropdown list should select the current active element, when Space is pressed on the keyboard.
31
+ * Primary usage is for typeahead, where the should be able to write a filter query containing spaces,
32
+ * but not select the current active element with Space.
33
+ */
34
+ selectWithSpace: boolean;
29
35
  selectedValueChanged: EventEmitter<any>;
30
36
  closed: EventEmitter<void>;
31
37
  /** The current active option based on numeric index. */
@@ -87,6 +93,7 @@ export declare class NggvDropdownListComponent implements OnInit, OnChanges {
87
93
  /**
88
94
  * @internal
89
95
  * Enter toggles the dropdown, home, end, and, arrows change the index.
96
+ * Space selects the currently active option if `selectWithSpace` is true.
90
97
  * @param event fired containing which key was released.
91
98
  */
92
99
  onKeyUp(event: KeyboardEvent): void;
@@ -100,5 +107,5 @@ export declare class NggvDropdownListComponent implements OnInit, OnChanges {
100
107
  */
101
108
  scrollToResult(option: any, focusElement?: boolean): void;
102
109
  static ɵfac: i0.ɵɵFactoryDeclaration<NggvDropdownListComponent, [{ optional: true; }]>;
103
- static ɵcmp: i0.ɵɵComponentDeclaration<NggvDropdownListComponent, "nggv-dropdown-list", never, { "expanded": { "alias": "expanded"; "required": false; }; "state": { "alias": "state"; "required": false; }; "scrollOffset": { "alias": "scrollOffset"; "required": false; }; "optionContentTpl": { "alias": "optionContentTpl"; "required": false; }; "groupLabelTpl": { "alias": "groupLabelTpl"; "required": false; }; "id": { "alias": "id"; "required": false; }; "thook": { "alias": "thook"; "required": false; }; "options": { "alias": "options"; "required": false; }; "textToHighlight": { "alias": "textToHighlight"; "required": false; }; "onlyEmitDistinctChanges": { "alias": "onlyEmitDistinctChanges"; "required": false; }; }, { "selectedValueChanged": "selectedValueChanged"; "closed": "closed"; }, never, never, false, never>;
110
+ static ɵcmp: i0.ɵɵComponentDeclaration<NggvDropdownListComponent, "nggv-dropdown-list", never, { "expanded": { "alias": "expanded"; "required": false; }; "state": { "alias": "state"; "required": false; }; "scrollOffset": { "alias": "scrollOffset"; "required": false; }; "optionContentTpl": { "alias": "optionContentTpl"; "required": false; }; "groupLabelTpl": { "alias": "groupLabelTpl"; "required": false; }; "id": { "alias": "id"; "required": false; }; "thook": { "alias": "thook"; "required": false; }; "options": { "alias": "options"; "required": false; }; "textToHighlight": { "alias": "textToHighlight"; "required": false; }; "onlyEmitDistinctChanges": { "alias": "onlyEmitDistinctChanges"; "required": false; }; "selectWithSpace": { "alias": "selectWithSpace"; "required": false; }; }, { "selectedValueChanged": "selectedValueChanged"; "closed": "closed"; }, never, never, false, never>;
104
111
  }
@@ -52,6 +52,12 @@ export declare class NggvDropdownComponent<K = string | null | undefined, V = st
52
52
  * Defaults to true.
53
53
  */
54
54
  selectOnSingleOption: boolean;
55
+ /**
56
+ * Used to control if the dropdown list should select the current active element, when Space is pressed on the keyboard.
57
+ * Primary usage is for typeahead, where the should be able to write a filter query containing spaces,
58
+ * but not select the current active element with Space.
59
+ */
60
+ selectWithSpace: boolean;
55
61
  /**
56
62
  * Used to determine which changes should be handled by the dropdown.
57
63
  * If set to false, all changes will be handled by the dropdown.
@@ -114,5 +120,5 @@ export declare class NggvDropdownComponent<K = string | null | undefined, V = st
114
120
  */
115
121
  isOption(option: OptionBase<T>): option is OptionGroup<T>;
116
122
  static ɵfac: i0.ɵɵFactoryDeclaration<NggvDropdownComponent<any, any, any>, [{ optional: true; self: true; }, { optional: true; }, null, null]>;
117
- static ɵcmp: i0.ɵɵComponentDeclaration<NggvDropdownComponent<any, any, any>, "nggv-dropdown", never, { "thook": { "alias": "thook"; "required": false; }; "size": { "alias": "size"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "options": { "alias": "options"; "required": false; }; "scrollOffset": { "alias": "scrollOffset"; "required": false; }; "allowControlNullishOption": { "alias": "allowControlNullishOption"; "required": false; }; "textToHighlight": { "alias": "textToHighlight"; "required": false; }; "selectOnSingleOption": { "alias": "selectOnSingleOption"; "required": false; }; "onlyHandleDistinctChanges": { "alias": "onlyHandleDistinctChanges"; "required": false; }; }, { "expandedChange": "expandedChange"; }, ["selectedContentTpl", "optionContentTpl", "groupLabelTpl"], ["*"], false, never>;
123
+ static ɵcmp: i0.ɵɵComponentDeclaration<NggvDropdownComponent<any, any, any>, "nggv-dropdown", never, { "thook": { "alias": "thook"; "required": false; }; "size": { "alias": "size"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "options": { "alias": "options"; "required": false; }; "scrollOffset": { "alias": "scrollOffset"; "required": false; }; "allowControlNullishOption": { "alias": "allowControlNullishOption"; "required": false; }; "textToHighlight": { "alias": "textToHighlight"; "required": false; }; "selectOnSingleOption": { "alias": "selectOnSingleOption"; "required": false; }; "selectWithSpace": { "alias": "selectWithSpace"; "required": false; }; "onlyHandleDistinctChanges": { "alias": "onlyHandleDistinctChanges"; "required": false; }; }, { "expandedChange": "expandedChange"; }, ["selectedContentTpl", "optionContentTpl", "groupLabelTpl"], ["*"], false, never>;
118
124
  }