@acorex/components 20.10.13 → 20.10.15

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/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@acorex/components",
3
- "version": "20.10.13",
3
+ "version": "20.10.15",
4
4
  "peerDependencies": {
5
- "@acorex/core": "20.10.13",
6
- "@acorex/cdk": "20.10.13",
5
+ "@acorex/core": "20.10.15",
6
+ "@acorex/cdk": "20.10.15",
7
7
  "polytype": ">=0.17.0",
8
8
  "angular-imask": ">=7.6.1",
9
9
  "imask": ">=7.6.1",
@@ -65,10 +65,6 @@
65
65
  "types": "./alert/index.d.ts",
66
66
  "default": "./fesm2022/acorex-components-alert.mjs"
67
67
  },
68
- "./action-sheet": {
69
- "types": "./action-sheet/index.d.ts",
70
- "default": "./fesm2022/acorex-components-action-sheet.mjs"
71
- },
72
68
  "./aspect-ratio": {
73
69
  "types": "./aspect-ratio/index.d.ts",
74
70
  "default": "./fesm2022/acorex-components-aspect-ratio.mjs"
@@ -77,6 +73,10 @@
77
73
  "types": "./audio-wave/index.d.ts",
78
74
  "default": "./fesm2022/acorex-components-audio-wave.mjs"
79
75
  },
76
+ "./action-sheet": {
77
+ "types": "./action-sheet/index.d.ts",
78
+ "default": "./fesm2022/acorex-components-action-sheet.mjs"
79
+ },
80
80
  "./autocomplete": {
81
81
  "types": "./autocomplete/index.d.ts",
82
82
  "default": "./fesm2022/acorex-components-autocomplete.mjs"
@@ -193,6 +193,10 @@
193
193
  "types": "./drawer-legacy/index.d.ts",
194
194
  "default": "./fesm2022/acorex-components-drawer-legacy.mjs"
195
195
  },
196
+ "./dropdown": {
197
+ "types": "./dropdown/index.d.ts",
198
+ "default": "./fesm2022/acorex-components-dropdown.mjs"
199
+ },
196
200
  "./dropdown-button": {
197
201
  "types": "./dropdown-button/index.d.ts",
198
202
  "default": "./fesm2022/acorex-components-dropdown-button.mjs"
@@ -201,18 +205,14 @@
201
205
  "types": "./editor/index.d.ts",
202
206
  "default": "./fesm2022/acorex-components-editor.mjs"
203
207
  },
204
- "./dropdown": {
205
- "types": "./dropdown/index.d.ts",
206
- "default": "./fesm2022/acorex-components-dropdown.mjs"
208
+ "./fab": {
209
+ "types": "./fab/index.d.ts",
210
+ "default": "./fesm2022/acorex-components-fab.mjs"
207
211
  },
208
212
  "./file-explorer": {
209
213
  "types": "./file-explorer/index.d.ts",
210
214
  "default": "./fesm2022/acorex-components-file-explorer.mjs"
211
215
  },
212
- "./fab": {
213
- "types": "./fab/index.d.ts",
214
- "default": "./fesm2022/acorex-components-fab.mjs"
215
- },
216
216
  "./file-viewer": {
217
217
  "types": "./file-viewer/index.d.ts",
218
218
  "default": "./fesm2022/acorex-components-file-viewer.mjs"
@@ -273,14 +273,14 @@
273
273
  "types": "./media-viewer/index.d.ts",
274
274
  "default": "./fesm2022/acorex-components-media-viewer.mjs"
275
275
  },
276
- "./modal": {
277
- "types": "./modal/index.d.ts",
278
- "default": "./fesm2022/acorex-components-modal.mjs"
279
- },
280
276
  "./menu": {
281
277
  "types": "./menu/index.d.ts",
282
278
  "default": "./fesm2022/acorex-components-menu.mjs"
283
279
  },
280
+ "./modal": {
281
+ "types": "./modal/index.d.ts",
282
+ "default": "./fesm2022/acorex-components-modal.mjs"
283
+ },
284
284
  "./navbar": {
285
285
  "types": "./navbar/index.d.ts",
286
286
  "default": "./fesm2022/acorex-components-navbar.mjs"
@@ -381,22 +381,22 @@
381
381
  "types": "./scheduler/index.d.ts",
382
382
  "default": "./fesm2022/acorex-components-scheduler.mjs"
383
383
  },
384
- "./scheduler-picker": {
385
- "types": "./scheduler-picker/index.d.ts",
386
- "default": "./fesm2022/acorex-components-scheduler-picker.mjs"
387
- },
388
- "./scss": {
389
- "types": "./scss/index.d.ts",
390
- "default": "./fesm2022/acorex-components-scss.mjs"
391
- },
392
384
  "./search-box": {
393
385
  "types": "./search-box/index.d.ts",
394
386
  "default": "./fesm2022/acorex-components-search-box.mjs"
395
387
  },
388
+ "./scheduler-picker": {
389
+ "types": "./scheduler-picker/index.d.ts",
390
+ "default": "./fesm2022/acorex-components-scheduler-picker.mjs"
391
+ },
396
392
  "./select-box": {
397
393
  "types": "./select-box/index.d.ts",
398
394
  "default": "./fesm2022/acorex-components-select-box.mjs"
399
395
  },
396
+ "./scss": {
397
+ "types": "./scss/index.d.ts",
398
+ "default": "./fesm2022/acorex-components-scss.mjs"
399
+ },
400
400
  "./selection-list": {
401
401
  "types": "./selection-list/index.d.ts",
402
402
  "default": "./fesm2022/acorex-components-selection-list.mjs"
@@ -425,6 +425,10 @@
425
425
  "types": "./step-wizard/index.d.ts",
426
426
  "default": "./fesm2022/acorex-components-step-wizard.mjs"
427
427
  },
428
+ "./switch": {
429
+ "types": "./switch/index.d.ts",
430
+ "default": "./fesm2022/acorex-components-switch.mjs"
431
+ },
428
432
  "./tabs": {
429
433
  "types": "./tabs/index.d.ts",
430
434
  "default": "./fesm2022/acorex-components-tabs.mjs"
@@ -437,22 +441,18 @@
437
441
  "types": "./tag-box/index.d.ts",
438
442
  "default": "./fesm2022/acorex-components-tag-box.mjs"
439
443
  },
440
- "./text-area": {
441
- "types": "./text-area/index.d.ts",
442
- "default": "./fesm2022/acorex-components-text-area.mjs"
443
- },
444
444
  "./text-box": {
445
445
  "types": "./text-box/index.d.ts",
446
446
  "default": "./fesm2022/acorex-components-text-box.mjs"
447
447
  },
448
+ "./text-area": {
449
+ "types": "./text-area/index.d.ts",
450
+ "default": "./fesm2022/acorex-components-text-area.mjs"
451
+ },
448
452
  "./time-duration": {
449
453
  "types": "./time-duration/index.d.ts",
450
454
  "default": "./fesm2022/acorex-components-time-duration.mjs"
451
455
  },
452
- "./switch": {
453
- "types": "./switch/index.d.ts",
454
- "default": "./fesm2022/acorex-components-switch.mjs"
455
- },
456
456
  "./time-line": {
457
457
  "types": "./time-line/index.d.ts",
458
458
  "default": "./fesm2022/acorex-components-time-line.mjs"
@@ -183,6 +183,12 @@ declare class AXPopoverComponent extends MXBaseComponent implements OnDestroy {
183
183
  private setupScrollListener;
184
184
  /** @ignore */
185
185
  private removeScrollListener;
186
+ /**
187
+ * True when scroll is a side-effect of focusing an editable control inside the overlay
188
+ * (soft keyboard / visual viewport adjustment), mainly on iOS Safari.
189
+ * @ignore
190
+ */
191
+ private isKeyboardInducedScroll;
186
192
  /**
187
193
  * Checks whether the given element lives inside a child overlay
188
194
  * (an overlay stacked on top of this popover, e.g. a selectbox dropdown).
@@ -55,6 +55,12 @@ declare class AXSelectBoxComponent extends AXSelectBoxComponent_base implements
55
55
  protected _dropdownWidth: _angular_core.WritableSignal<string>;
56
56
  /** @ignore */
57
57
  protected _dropdownHeight: _angular_core.WritableSignal<string>;
58
+ /**
59
+ * CSS min-height for the popover list. Uses the sized height when known,
60
+ * otherwise the standard `maxVisibleItems × itemHeight` viewport.
61
+ * @ignore
62
+ */
63
+ protected _panelMinHeight: _angular_core.Signal<string>;
58
64
  /** @ignore */
59
65
  protected _listDataSource: AXDataSource<any>;
60
66
  /** @ignore */
@@ -158,6 +164,10 @@ declare class AXSelectBoxComponent extends AXSelectBoxComponent_base implements
158
164
  /** @ignore */
159
165
  protected _handleItemSelected(e: AXItemSelectedEvent): void;
160
166
  private resetSearchAfterSelection;
167
+ private _getListItemPx;
168
+ private _getMaxVisibleItems;
169
+ /** Standard popover list height: `maxVisibleItems` rows (default 5). */
170
+ private _getStandardListHeightPx;
161
171
  /** @ignore */
162
172
  private setDropdownSize;
163
173
  /**