@smilodon/core 1.5.3 → 1.5.5

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.
@@ -11,6 +11,7 @@ import type { OptionRenderer as OptionRendererFn } from '../renderers/contracts'
11
11
  export declare class EnhancedSelect extends HTMLElement {
12
12
  /** live set of all connected instances; used to auto-close siblings */
13
13
  private static _instances;
14
+ private static readonly _MIRRORED_STYLES_SCOPE_CLASS;
14
15
  private _config;
15
16
  private _shadow;
16
17
  private _container;
@@ -48,6 +49,8 @@ export declare class EnhancedSelect extends HTMLElement {
48
49
  private _mirrorGlobalStylesForCustomOptions;
49
50
  private _globalStylesObserver;
50
51
  private _globalStylesContainer;
52
+ private _themeContextObserver;
53
+ private _globalStylesSyncToken;
51
54
  private _tracking;
52
55
  private _suppressBlurClose;
53
56
  private _renderCycleId;
@@ -71,6 +74,16 @@ export declare class EnhancedSelect extends HTMLElement {
71
74
  private _setupGlobalStylesMirroring;
72
75
  private _teardownGlobalStylesMirroring;
73
76
  private _mirrorDocumentStylesIntoShadow;
77
+ private _setupThemeContextMirroring;
78
+ private _syncMirroredThemeContext;
79
+ private _createScopedGlobalStyleNode;
80
+ private _buildScopedStyleElement;
81
+ private _scopeMirroredCssText;
82
+ private _serializeScopedCssRules;
83
+ private _serializeScopedCssRule;
84
+ private _splitSelectorList;
85
+ private _scopeMirroredSelector;
86
+ private _normalizeCustomOptionAccessibility;
74
87
  private _createContainer;
75
88
  private _createInputContainer;
76
89
  private _createInputContent;
@@ -118,6 +131,7 @@ export declare class EnhancedSelect extends HTMLElement {
118
131
  private _setActive;
119
132
  private _getOptionElementByIndex;
120
133
  private _getSelectableOptions;
134
+ private _getSelectableOptionIndices;
121
135
  private _buildRendererHelpers;
122
136
  private _handleTypeAhead;
123
137
  private _selectAll;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smilodon/core",
3
- "version": "1.5.3",
3
+ "version": "1.5.5",
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",