@smilodon/core 1.11.1 → 1.13.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.
@@ -32,6 +32,11 @@ export declare class EnhancedSelect extends HTMLElement implements EnhancedSelec
32
32
  private _loadMoreTrigger?;
33
33
  private _acknowledgedSentinel?;
34
34
  private _busyBucket?;
35
+ private _busyBucketContentObserver?;
36
+ private _busyPresentationVisible;
37
+ private _busyPresentationStartedAt;
38
+ private _busyPresentationGeneration;
39
+ private _busyPresentationHideTimer;
35
40
  private _liveRegion?;
36
41
  private _errorDescription?;
37
42
  private _state;
@@ -123,6 +128,8 @@ export declare class EnhancedSelect extends HTMLElement implements EnhancedSelec
123
128
  private _renderCycleWaiterTimeouts;
124
129
  private _suppressNextOpenClick;
125
130
  private _resolvedDropdownPlacement;
131
+ private _dropdownExitTimer;
132
+ private _onDropdownExitAnimationEnd;
126
133
  private _multiScrollDrag;
127
134
  private _liftedAncestors;
128
135
  private _onDocumentPointerDown;
@@ -238,6 +245,12 @@ export declare class EnhancedSelect extends HTMLElement implements EnhancedSelec
238
245
  private _applyFocusIntent;
239
246
  private _handleOpen;
240
247
  private _handleClose;
248
+ /** Stop an outstanding exit before reopening, disconnecting or starting another one. */
249
+ private _cancelDropdownExit;
250
+ private _finishDropdownExit;
251
+ private _beginDropdownExit;
252
+ /** CSS animations may be disabled or customized by consumers; never wait forever. */
253
+ private _getDropdownExitDurationMs;
241
254
  private _updateDropdownVisibility;
242
255
  private _liftStackingAncestors;
243
256
  private _restoreLiftedAncestors;
@@ -414,6 +427,15 @@ export declare class EnhancedSelect extends HTMLElement implements EnhancedSelec
414
427
  private _teardownGuardedOptionResizeObserver;
415
428
  private _materializeGuardedVirtualKey;
416
429
  private _refreshVirtualizationScope;
430
+ private _clearBusyPresentationHideTimer;
431
+ private _beginBusyPresentation;
432
+ private _syncBusyPresentation;
433
+ private _clearBusyBucketContentObserver;
434
+ private _cancelBusyPresentation;
435
+ private _hasAccessibleBusyContent;
436
+ private _syncBusyBucketContent;
437
+ private _createBusyBucket;
438
+ private _appendBusyBucket;
417
439
  private _renderOptions;
418
440
  private _waitForRenderCycle;
419
441
  private _resolveRenderCycle;
@@ -30,10 +30,14 @@ export interface BusyBucketConfig {
30
30
  enabled: boolean;
31
31
  /** Show spinner in bucket */
32
32
  showSpinner?: boolean;
33
+ /** Show the built-in loading message */
34
+ showMessage?: boolean;
33
35
  /** Custom loading message */
34
36
  message?: string;
35
- /** Minimum display time (ms) to prevent flashing */
37
+ /** Minimum visual display time (ms); does not delay request completion */
36
38
  minDisplayTime?: number;
39
+ /** Append custom loading content or replace the built-in presentation */
40
+ contentMode?: 'append' | 'replace';
37
41
  }
38
42
  export interface ExpandableConfig {
39
43
  /** Enable expandable dropdown height */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smilodon/core",
3
- "version": "1.11.1",
3
+ "version": "1.13.0",
4
4
  "description": "High-performance native select component with extreme-scale virtualization - React, Vue, Svelte, Vanilla JS",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",