@smilodon/react 1.4.2 → 1.4.4

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 (2) hide show
  1. package/README.md +5 -0
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -841,6 +841,8 @@ function TaskSelect() {
841
841
  }
842
842
 
843
843
  // Example 5: Using Tailwind CSS (if available)
844
+ // Note: Tailwind/CSS classes in customRenderer are supported inside Select options.
845
+ // Core mirrors document stylesheets into shadow DOM for custom option rendering.
844
846
  interface Tag extends SelectItem {
845
847
  color: string;
846
848
  count: number;
@@ -1096,6 +1098,9 @@ enhanced-select {
1096
1098
  --select-option-hover-bg: #f3f4f6;
1097
1099
  --select-option-selected-bg: #eff6ff;
1098
1100
  --select-option-selected-color: #3b82f6;
1101
+ --select-option-selected-border: 1px solid #3b82f6;
1102
+ --select-option-selected-hover-bg: #dbeafe;
1103
+ --select-option-selected-hover-border: 1px solid #2563eb;
1099
1104
  }
1100
1105
  ```
1101
1106
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smilodon/react",
3
- "version": "1.4.2",
3
+ "version": "1.4.4",
4
4
  "description": "React adapter for @smilodon/core - Production-ready accessible select component (React, Vue, Svelte, Vanilla JS)",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -23,7 +23,7 @@
23
23
  "prepublishOnly": "npm run build"
24
24
  },
25
25
  "peerDependencies": {
26
- "@smilodon/core": "^1.0.0",
26
+ "@smilodon/core": "^1.4.4",
27
27
  "react": ">=16.8.0",
28
28
  "react-dom": ">=16.8.0"
29
29
  },