@holaboss/ui 0.1.0 → 0.1.1

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": "@holaboss/ui",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Shared UI library for holaOS — primitives, layouts, and tokens used by app-builder-sdk dashboards.",
6
6
  "keywords": [
@@ -37,6 +37,7 @@
37
37
  "default": "./dist/index.cjs"
38
38
  }
39
39
  },
40
+ "./styles.css": "./dist/styles.css",
40
41
  "./tokens.css": "./dist/tokens.css",
41
42
  "./themes/holaos.css": "./dist/themes/holaos.css"
42
43
  },
@@ -64,8 +65,10 @@
64
65
  "react-dom": "^19.0.0"
65
66
  },
66
67
  "devDependencies": {
68
+ "@tailwindcss/cli": "^4.2.1",
67
69
  "@types/react": "^19.1.12",
68
70
  "@types/react-dom": "^19.1.9",
71
+ "tailwindcss": "^4.2.1",
69
72
  "tsdown": "^0.21.4",
70
73
  "typescript": "^5.9.3"
71
74
  }
package/src/styles.css ADDED
@@ -0,0 +1,21 @@
1
+ /* Source of truth for everything @holaboss/ui ships visually.
2
+ Consumers should `import "@holaboss/ui/styles.css"` and nothing else
3
+ — Tailwind utilities used by the primitives + layouts are baked in
4
+ at build time, so a consumer's Tailwind config does not need a
5
+ custom @source entry for node_modules/@holaboss/ui. */
6
+
7
+ @import "tailwindcss";
8
+
9
+ /* Tell Tailwind to scan this package's own source so the build emits
10
+ every utility class the primitives + layouts use. The build step
11
+ runs Tailwind from sdk/ui/, so the paths are relative to here. */
12
+ @source "./primitives";
13
+ @source "./layouts";
14
+
15
+ /* Design tokens (provides the @theme inline { --color-* } mappings
16
+ Tailwind needs to generate `bg-background`, `text-foreground`, etc.). */
17
+ @import "./tokens/tokens.css";
18
+
19
+ /* Default theme. Apps that need a different palette can layer their own
20
+ `[data-theme="..."]` overrides after this import. */
21
+ @import "./tokens/themes/holaos.css";