@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
package/README.md
CHANGED
|
@@ -20,9 +20,10 @@ Additional references:
|
|
|
20
20
|
- **Performance Runbook**: [`docs/PERFORMANCE-RUNBOOK.md`](../../docs/PERFORMANCE-RUNBOOK.md)
|
|
21
21
|
- **Performance Guide**: [`docs/PERFORMANCE.md`](../../docs/PERFORMANCE.md)
|
|
22
22
|
- **Known Limitations**: [`docs/KNOWN-LIMITATIONS.md`](../../docs/KNOWN-LIMITATIONS.md)
|
|
23
|
+
- **Build Tool Integration**: [`docs/BUILD-TOOL-INTEGRATION.md`](../../docs/BUILD-TOOL-INTEGRATION.md)
|
|
23
24
|
|
|
24
25
|
The complete guide includes:
|
|
25
|
-
- ✅
|
|
26
|
+
- ✅ Complete styling token coverage for colors, layout, chips, motion, and accessibility
|
|
26
27
|
- ✅ Vanilla JavaScript patterns (DOM manipulation, event listeners)
|
|
27
28
|
- ✅ Complete API reference with all properties and methods
|
|
28
29
|
- ✅ CDN usage and module bundler integration
|
|
@@ -702,18 +703,20 @@ enhanced-select.dark-mode {
|
|
|
702
703
|
--select-dark-group-header-bg /* Dark header background */
|
|
703
704
|
```
|
|
704
705
|
|
|
705
|
-
**Complete CSS Variables
|
|
706
|
+
**Complete CSS Variables Reference**
|
|
706
707
|
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
-
|
|
710
|
-
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
-
|
|
715
|
-
-
|
|
716
|
-
-
|
|
708
|
+
The canonical styling inventory now lives in:
|
|
709
|
+
|
|
710
|
+
- [docs/STYLING.md](../../docs/STYLING.md) for strategy and examples
|
|
711
|
+
- [docs/STYLING-TOKENS.md](../../docs/STYLING-TOKENS.md) for the exhaustive token table
|
|
712
|
+
|
|
713
|
+
That reference covers:
|
|
714
|
+
|
|
715
|
+
- Theme foundation tokens (palette, shadows, radii, timing)
|
|
716
|
+
- Input shell, separator, arrow, and clear-control hooks
|
|
717
|
+
- Multi-select chip structure, remove-button states, and badge motion
|
|
718
|
+
- Dropdown, scrollbar, group-header, and option-state hooks
|
|
719
|
+
- Empty, loading, searching, error, reduced-motion, and high-contrast hooks
|
|
717
720
|
|
|
718
721
|
#### Highlighted Customization Features
|
|
719
722
|
|
|
@@ -778,7 +781,7 @@ enhanced-select {
|
|
|
778
781
|
--select-input-border: 1px solid #ced4da;
|
|
779
782
|
--select-input-border-radius: 0.375rem;
|
|
780
783
|
--select-input-focus-border: #86b7fe;
|
|
781
|
-
--select-
|
|
784
|
+
--select-shadow-focus: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
|
|
782
785
|
--select-option-hover-bg: #e9ecef;
|
|
783
786
|
--select-option-selected-bg: #0d6efd;
|
|
784
787
|
--select-option-selected-color: white;
|
|
@@ -791,7 +794,7 @@ enhanced-select {
|
|
|
791
794
|
enhanced-select {
|
|
792
795
|
--select-input-border-radius: 4px;
|
|
793
796
|
--select-input-focus-border: #1976d2;
|
|
794
|
-
--select-
|
|
797
|
+
--select-shadow-focus: none;
|
|
795
798
|
--select-option-padding: 16px;
|
|
796
799
|
--select-option-hover-bg: rgba(0, 0, 0, 0.04);
|
|
797
800
|
--select-option-selected-bg: #e3f2fd;
|
|
@@ -807,7 +810,7 @@ enhanced-select {
|
|
|
807
810
|
--select-input-border: 1px solid #e5e7eb;
|
|
808
811
|
--select-input-border-radius: 0.5rem;
|
|
809
812
|
--select-input-focus-border: #3b82f6;
|
|
810
|
-
--select-
|
|
813
|
+
--select-shadow-focus: 0 0 0 3px rgba(59, 130, 246, 0.1);
|
|
811
814
|
--select-option-padding: 0.5rem 0.75rem;
|
|
812
815
|
--select-option-hover-bg: #f3f4f6;
|
|
813
816
|
--select-option-selected-bg: #dbeafe;
|
|
@@ -815,6 +818,8 @@ enhanced-select {
|
|
|
815
818
|
}
|
|
816
819
|
```
|
|
817
820
|
|
|
821
|
+
Framework compatibility guidance also lives in [../../docs/CSS-FRAMEWORK-COMPATIBILITY.md](../../docs/CSS-FRAMEWORK-COMPATIBILITY.md).
|
|
822
|
+
|
|
818
823
|
**Example 4: Custom Brand Colors**
|
|
819
824
|
```css
|
|
820
825
|
enhanced-select {
|