@smilodon/core 1.9.3 → 1.10.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.
Files changed (46) hide show
  1. package/README.md +10 -6
  2. package/dist/index.cjs +2101 -266
  3. package/dist/index.cjs.map +1 -1
  4. package/dist/index.js +2086 -267
  5. package/dist/index.js.map +1 -1
  6. package/dist/index.min.js +1 -1
  7. package/dist/index.min.js.map +1 -1
  8. package/dist/index.umd.js +2101 -266
  9. package/dist/index.umd.js.map +1 -1
  10. package/dist/index.umd.min.js +1 -1
  11. package/dist/index.umd.min.js.map +1 -1
  12. package/dist/types/src/components/enhanced-select.d.ts +102 -1
  13. package/dist/types/src/config/global-config.d.ts +2 -2
  14. package/dist/types/src/engine/accessibility.d.ts +109 -0
  15. package/dist/types/src/engine/contracts.d.ts +4 -0
  16. package/dist/types/src/engine/index.d.ts +9 -0
  17. package/dist/types/src/engine/item-adapter.d.ts +23 -0
  18. package/dist/types/src/engine/item-registry.d.ts +31 -0
  19. package/dist/types/src/engine/select-effects.d.ts +20 -0
  20. package/dist/types/src/engine/select-events.d.ts +55 -0
  21. package/dist/types/src/engine/select-machine.d.ts +9 -0
  22. package/dist/types/src/engine/select-state.d.ts +17 -0
  23. package/dist/types/src/engine/selection-policy.d.ts +33 -0
  24. package/dist/types/src/engine/selectors.d.ts +10 -0
  25. package/dist/types/src/engine/virtualization.d.ts +56 -0
  26. package/dist/types/src/index.d.ts +4 -0
  27. package/dist/types/src/platform/web/accessibility-effects.d.ts +19 -0
  28. package/dist/types/src/platform/web/index.d.ts +2 -0
  29. package/dist/types/src/platform/web/select-effect-runner.d.ts +15 -0
  30. package/dist/types/src/platform/web/select-engine-bridge.d.ts +10 -0
  31. package/dist/types/src/utils/virtualizer.d.ts +48 -1
  32. package/dist/types/tests/accessibility-contract.spec.d.ts +1 -0
  33. package/dist/types/tests/enhanced-select-accessibility-integration.spec.d.ts +1 -0
  34. package/dist/types/tests/enhanced-select-active-authority.spec.d.ts +1 -0
  35. package/dist/types/tests/enhanced-select-active-parity.spec.d.ts +1 -0
  36. package/dist/types/tests/enhanced-select-authority.spec.d.ts +1 -0
  37. package/dist/types/tests/enhanced-select-compatibility-projection.spec.d.ts +1 -0
  38. package/dist/types/tests/enhanced-select-selection-parity.spec.d.ts +1 -0
  39. package/dist/types/tests/enhanced-select-virtualization-integration.spec.d.ts +1 -0
  40. package/dist/types/tests/item-adapter.spec.d.ts +1 -0
  41. package/dist/types/tests/item-registry.spec.d.ts +1 -0
  42. package/dist/types/tests/select-accessibility.spec.d.ts +1 -0
  43. package/dist/types/tests/select-selection.spec.d.ts +1 -0
  44. package/dist/types/tests/virtualization-contract.spec.d.ts +1 -0
  45. package/dist/types/tests/web-accessibility-effects.spec.d.ts +1 -0
  46. package/package.json +1 -1
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  <div align="center">
4
4
  <img src="https://raw.githubusercontent.com/navidrezadoost/smilodon/main/.github/logo.jpg" alt="Smilodon Logo" width="220" style="border-radius:16px;" />
5
- <p><strong>High-performance native select component with extreme-scale virtualization</strong></p>
5
+ <p><strong>Custom select component with typed selection, rendering, and adapter APIs</strong></p>
6
6
  <p>
7
7
  <a href="https://www.npmjs.com/package/@smilodon/core"><img src="https://img.shields.io/npm/v/@smilodon/core.svg" alt="npm version"></a>
8
8
  <a href="https://github.com/navidrezadoost/smilodon"><img src="https://img.shields.io/github/stars/navidrezadoost/smilodon.svg" alt="GitHub stars"></a>
@@ -10,6 +10,8 @@
10
10
  </p>
11
11
  </div>
12
12
 
13
+ > **Verification status:** `EnhancedSelect`'s public `virtualize` setting chunks large-list rendering but does not bound the final option DOM. Viewport-windowed rendering remains behind a private test seam and is not production-activated. ARIA and keyboard behaviors have automated coverage in progress; WCAG conformance and manual assistive-technology review have not been certified. See [known limitations](../../docs/KNOWN-LIMITATIONS.md#viewport-virtualization-status) and the [Phase 4 certification record](../../docs/architecture/PHASE-4-CERTIFICATION.md).
14
+
13
15
  ## 📖 Documentation
14
16
 
15
17
  **Live documentation & interactive examples:** [navidrezadoost.github.io/Smilodon](https://navidrezadoost.github.io/Smilodon/)
@@ -42,10 +44,12 @@ The complete guide includes:
42
44
 
43
45
  ## Why Smilodon?
44
46
 
45
- Smilodon is a Web Component that renders **1,000,000+ items at 60 FPS** with constant DOM size, sub-millisecond search, and zero framework lock-in. Built for extreme-scale data applications where legacy libraries crash or lag.
47
+ Smilodon is a Web Component-based select with framework adapters and a typed imperative API. `EnhancedSelect` can render large flat lists in chunks, but the public `virtualize` setting does not bound final DOM size; viewport-windowed rendering remains guarded and unactivated.
46
48
 
47
49
  ### Performance Comparison
48
50
 
51
+ > **Historical comparison — unverified.** The measurements and competitor claims below lack a reproducible current benchmark protocol and are not release evidence or performance guarantees. See the [Phase 4 certification record](../../docs/architecture/PHASE-4-CERTIFICATION.md) for current report-only measurements.
52
+
49
53
  | Library | 10K Items | 100K Items | 1M Items | Memory | FPS |
50
54
  |---------|-----------|------------|----------|---------|-----|
51
55
  | **Smilodon** | 38ms | 81ms | 162ms | 18 MB | 60 |
@@ -122,16 +126,16 @@ See the [main documentation](https://github.com/navidrezadoost/smilodon#readme)
122
126
  ## Key Features
123
127
 
124
128
  ### 🚀 Extreme Performance
125
- - **Constant DOM**: Only 10-15 elements rendered regardless of dataset size
129
+ - **Chunked large-list rendering**: Reduces the size of an individual render task; it does not guarantee constant DOM or viewport-bounded mounting.
126
130
  - **Work Stealing**: Background search workers with automatic cancellation
127
131
  - **Sub-millisecond Search**: Fenwick tree indexing for O(log n) queries
128
- - **60 FPS Scrolling**: Hardware-accelerated virtualization
132
+ - **Separate legacy virtualizer**: `NativeSelectElement` has its own compatibility implementation; do not infer its behavior from `EnhancedSelect`.
129
133
 
130
134
  ### 🎯 Production Ready
131
135
  - **TypeScript First**: Complete type definitions included
132
136
  - **Zero Dependencies**: 6.6 KB gzipped runtime
133
137
  - **Framework Agnostic**: Works with React, Vue, Svelte, or vanilla JS
134
- - **Accessibility**: WCAG 2.2 AA compliant with ARIA 1.2
138
+ - **Accessibility**: ARIA and keyboard behavior is implemented; cross-browser and manual assistive-technology certification remains pending.
135
139
  - **Full keyboard navigation**: Enter/Space, Arrows, Home/End, PageUp/Down, Escape
136
140
  - **Multi-select modes**: wrap, horizontal, vertical, both (with drag-scroll)
137
141
 
@@ -744,7 +748,7 @@ enhanced-select.dark-mode {
744
748
 
745
749
  ### Keyboard Navigation & Accessibility
746
750
 
747
- Smilodon provides full keyboard accessibility (WCAG 2.2 AA compliant):
751
+ The component implements keyboard interaction paths including:
748
752
 
749
753
  | Key | Action |
750
754
  |-----|--------|