@hex-core/components 1.2.0 → 1.3.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hex-core/components",
3
- "version": "1.2.0",
3
+ "version": "1.3.0",
4
4
  "description": "AI-native React components for Hex UI — Radix UI + Tailwind CSS with machine-readable schemas.",
5
5
  "keywords": [
6
6
  "react",
@@ -30,10 +30,12 @@
30
30
  ".": {
31
31
  "import": "./dist/index.js",
32
32
  "types": "./dist/index.d.ts"
33
- }
33
+ },
34
+ "./tailwind.css": "./tailwind.css"
34
35
  },
35
36
  "files": [
36
37
  "dist",
38
+ "tailwind.css",
37
39
  "README.md",
38
40
  "LICENSE"
39
41
  ],
package/tailwind.css ADDED
@@ -0,0 +1,18 @@
1
+ /*
2
+ * Tailwind v4 content-scan registration for @hex-core/components.
3
+ *
4
+ * Tailwind v4 doesn't auto-scan node_modules — without an explicit @source,
5
+ * utility classes embedded in this package's published JS bundle (e.g.
6
+ * `inset-ring-foreground/[0.06]` used by Button, Input, Checkbox, etc.)
7
+ * appear in the rendered HTML but have no matching CSS rule, so components
8
+ * render unstyled.
9
+ *
10
+ * Consumer usage (one line in the app's globals.css):
11
+ *
12
+ * @import "tailwindcss";
13
+ * @import "@hex-core/components/tailwind.css";
14
+ *
15
+ * The path resolves through the package's installed location, so it works
16
+ * with pnpm, npm, yarn, and any monorepo layout.
17
+ */
18
+ @source "./dist/*.js";