@smilodon/core 1.22.0 → 1.23.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.
@@ -39,10 +39,12 @@ export declare class EnhancedSelect extends HTMLElement implements EnhancedSelec
39
39
  private _selectedLabelTooltipMeasureFrame;
40
40
  private _selectedLabelKeys;
41
41
  private _dropdown;
42
+ private _dropdownConfigInlineStyles;
42
43
  private _optionsContainer;
43
44
  private _loadMoreTrigger?;
44
45
  private _acknowledgedSentinel?;
45
46
  private _busyBucket?;
47
+ private _managedLoaderClasses;
46
48
  private _busyBucketContentObserver?;
47
49
  private _busyPresentationVisible;
48
50
  private _busyPresentationStartedAt;
@@ -240,6 +242,7 @@ export declare class EnhancedSelect extends HTMLElement implements EnhancedSelec
240
242
  private _registerShadowItems;
241
243
  private _syncLegacyActiveAria;
242
244
  private _syncStyleConfigVariables;
245
+ private _syncLoaderClassNames;
243
246
  private _resolveDropdownPlacement;
244
247
  private _syncDropdownPlacement;
245
248
  private _syncDirectionConfig;
@@ -256,6 +259,7 @@ export declare class EnhancedSelect extends HTMLElement implements EnhancedSelec
256
259
  private _createSelectedLabelTooltip;
257
260
  private _createSelectedLabelTooltipTextMeasure;
258
261
  private _createDropdown;
262
+ private _syncDropdownConfigInlineStyles;
259
263
  private _createOptionsContainer;
260
264
  private _createLiveRegion;
261
265
  private _createErrorDescription;
@@ -363,6 +367,7 @@ export declare class EnhancedSelect extends HTMLElement implements EnhancedSelec
363
367
  private _createChip;
364
368
  private _updateChip;
365
369
  private _renderSelectedChips;
370
+ private _syncMultiSelectPlaceholderVisibility;
366
371
  private _updateInputDisplay;
367
372
  private _cancelLatestChipScroll;
368
373
  private _scheduleLatestChipScroll;
@@ -526,6 +531,7 @@ export declare class EnhancedSelect extends HTMLElement implements EnhancedSelec
526
531
  private _syncBusyBucketContent;
527
532
  private _createBusyBucket;
528
533
  private _appendBusyBucket;
534
+ private _createSearchingState;
529
535
  private _renderOptions;
530
536
  private _waitForRenderCycle;
531
537
  private _resolveRenderCycle;
@@ -35,6 +35,8 @@ export interface LoadMoreConfig {
35
35
  threshold?: number;
36
36
  /** Show loading indicator */
37
37
  showLoader?: boolean;
38
+ /** Visible label for the manual load-more action; defaults to `Load N more`. */
39
+ label?: string;
38
40
  }
39
41
  export interface BusyBucketConfig {
40
42
  /** Enable busy/loading state bucket */
@@ -108,6 +110,8 @@ export interface DisabledOptionBehaviorConfig {
108
110
  hoverable?: boolean;
109
111
  /** Allow visually disabled options to receive keyboard active/focus styling */
110
112
  focusable?: boolean;
113
+ /** Close the dropdown when a disabled option is clicked while selection is blocked; defaults to false. */
114
+ closeOnClick?: boolean;
111
115
  }
112
116
  export interface MultiSelectDisplayConfig {
113
117
  /** Layout mode for selected chips in multi-select mode */
@@ -167,7 +171,7 @@ export interface StyleConfig {
167
171
  badgeRemoveActive?: StyleObject;
168
172
  /** Group header styles */
169
173
  groupHeader?: StyleObject;
170
- /** Loading indicator styles */
174
+ /** Shared visual styles for busy and searching state containers */
171
175
  loader?: StyleObject;
172
176
  /** Custom CSS class names */
173
177
  classNames?: {
@@ -303,6 +307,8 @@ export interface GlobalSelectConfig {
303
307
  searchable?: boolean;
304
308
  /** Placeholder text */
305
309
  placeholder?: string;
310
+ /** Message announced and shown while a search request is pending. */
311
+ searchingMessage?: string;
306
312
  /** Legacy chunked rendering toggle for large flat EnhancedSelect lists; not viewport windowing. */
307
313
  virtualize?: boolean;
308
314
  /** Estimated row height used by the guarded EnhancedSelect viewport-windowing test path. */
@@ -1,4 +1,4 @@
1
1
  export type SelectKey = string | number;
2
- export type CloseReason = 'escape' | 'outside-pointer' | 'selection' | 'blur' | 'programmatic' | 'disabled' | 'disconnect';
2
+ export type CloseReason = 'escape' | 'outside-pointer' | 'selection' | 'blur' | 'programmatic' | 'disabled' | 'disabled-option-click' | 'disconnect';
3
3
  export type { ItemAdapter } from './item-adapter.js';
4
4
  export type SelectionMode = 'single' | 'multi';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smilodon/core",
3
- "version": "1.22.0",
3
+ "version": "1.23.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",