@smilodon/core 1.4.12 → 1.4.13
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/README.md +20 -15
- package/dist/index.cjs +926 -453
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +926 -453
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist/index.umd.js +926 -453
- package/dist/index.umd.js.map +1 -1
- package/dist/index.umd.min.js +1 -1
- package/dist/index.umd.min.js.map +1 -1
- package/dist/types/src/components/enhanced-select.d.ts +5 -0
- package/dist/types/src/config/global-config.d.ts +2 -0
- package/package.json +1 -1
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
* Enhanced Select Component
|
|
3
3
|
* Implements all advanced features: infinite scroll, load more, busy state,
|
|
4
4
|
* server-side selection, and full customization
|
|
5
|
+
*
|
|
6
|
+
* ✨ Redesigned with formal elegance, refined microinteractions, and polished UX
|
|
5
7
|
*/
|
|
6
8
|
import type { GlobalSelectConfig } from '../config/global-config';
|
|
7
9
|
import type { GroupedItem, ClassMap, SelectCapabilitiesReport, LimitationState, LimitationPolicyMap, TrackingSnapshot } from '../types';
|
|
@@ -46,6 +48,8 @@ export declare class EnhancedSelect extends HTMLElement {
|
|
|
46
48
|
private _globalStylesObserver;
|
|
47
49
|
private _globalStylesContainer;
|
|
48
50
|
private _tracking;
|
|
51
|
+
private _suppressBlurClose;
|
|
52
|
+
private _renderCycleId;
|
|
49
53
|
get classMap(): ClassMap | undefined;
|
|
50
54
|
set classMap(map: ClassMap | undefined);
|
|
51
55
|
/**
|
|
@@ -64,6 +68,7 @@ export declare class EnhancedSelect extends HTMLElement {
|
|
|
64
68
|
private _mirrorDocumentStylesIntoShadow;
|
|
65
69
|
private _createContainer;
|
|
66
70
|
private _createInputContainer;
|
|
71
|
+
private _syncInputContainerMode;
|
|
67
72
|
private _createInput;
|
|
68
73
|
private _createDropdown;
|
|
69
74
|
private _createOptionsContainer;
|
|
@@ -70,6 +70,8 @@ export interface SelectionConfig {
|
|
|
70
70
|
showRemoveButton?: boolean;
|
|
71
71
|
/** Close dropdown after selection in single-select */
|
|
72
72
|
closeOnSelect?: boolean;
|
|
73
|
+
/** Allow repeated trigger clicks to toggle the dropdown open/closed */
|
|
74
|
+
toggleOnTriggerClick?: boolean;
|
|
73
75
|
}
|
|
74
76
|
export interface StyleConfig {
|
|
75
77
|
/** Container styles */
|
package/package.json
CHANGED