@smilodon/core 1.0.10 → 1.0.11

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.
@@ -131,6 +131,8 @@ export declare class EnhancedSelect extends HTMLElement {
131
131
  * Render options based on current state
132
132
  */
133
133
  private _renderOptions;
134
+ private _renderExpandButton;
135
+ private _toggleExpand;
134
136
  private _renderSingleOption;
135
137
  private _addLoadMoreTrigger;
136
138
  }
@@ -32,6 +32,18 @@ export interface BusyBucketConfig {
32
32
  /** Minimum display time (ms) to prevent flashing */
33
33
  minDisplayTime?: number;
34
34
  }
35
+ export interface ExpandableConfig {
36
+ /** Enable expandable dropdown height */
37
+ enabled: boolean;
38
+ /** Height when collapsed (default) */
39
+ collapsedHeight?: string;
40
+ /** Height when expanded */
41
+ expandedHeight?: string;
42
+ /** Label for the expand button */
43
+ expandLabel?: string;
44
+ /** Label for the collapse button */
45
+ collapseLabel?: string;
46
+ }
35
47
  export interface SelectionConfig {
36
48
  /** Single or multi-select mode */
37
49
  mode: 'single' | 'multi';
@@ -140,6 +152,8 @@ export interface GlobalSelectConfig {
140
152
  serverSide: ServerSideConfig;
141
153
  /** Infinite scroll configuration */
142
154
  infiniteScroll: InfiniteScrollConfig;
155
+ /** Expandable dropdown configuration */
156
+ expandable: ExpandableConfig;
143
157
  /** Callbacks */
144
158
  callbacks: CallbackConfig;
145
159
  /** Enable/disable entire component */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smilodon/core",
3
- "version": "1.0.10",
3
+ "version": "1.0.11",
4
4
  "description": "High-performance native select component with extreme-scale virtualization",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",