@strategicos/ui 0.9.2 → 0.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 (3) hide show
  1. package/README.md +1 -2
  2. package/package.json +2 -2
  3. package/styles.css +6 -3
package/README.md CHANGED
@@ -1,10 +1,9 @@
1
1
  # @strategicos/ui
2
2
 
3
- Componentes React da Strategicos, sobre shadcn, Radix UI e Tailwind CSS v4. Precisa de `@strategicos/tokens`.
3
+ Componentes React da Strategicos, sobre shadcn, Radix UI e Tailwind CSS v4. O tema (`@strategicos/tokens`) vem junto.
4
4
 
5
5
  ```css
6
6
  @import "tailwindcss";
7
- @import "@strategicos/tokens/theme.css";
8
7
  @import "@strategicos/ui/styles.css";
9
8
  ```
10
9
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@strategicos/ui",
3
- "version": "0.9.2",
3
+ "version": "0.10.0",
4
4
  "description": "Componentes React da Strategicos (shadcn + Radix + Tailwind v4).",
5
5
  "license": "UNLICENSED",
6
6
  "repository": {
@@ -39,6 +39,7 @@
39
39
  "prepublishOnly": "npm run build"
40
40
  },
41
41
  "dependencies": {
42
+ "@strategicos/tokens": "^0.9.2",
42
43
  "class-variance-authority": "^0.7.1",
43
44
  "clsx": "^2.1.1",
44
45
  "lucide-react": "^1.12.0",
@@ -48,7 +49,6 @@
48
49
  "tw-animate-css": "^1.4.0"
49
50
  },
50
51
  "peerDependencies": {
51
- "@strategicos/tokens": "^0.9.2",
52
52
  "next-themes": ">=0.4",
53
53
  "react": "^19",
54
54
  "react-dom": "^19",
package/styles.css CHANGED
@@ -1,14 +1,17 @@
1
- /* @strategicos/ui — estilos que os componentes precisam.
1
+ /* @strategicos/ui — tema e estilos que os componentes precisam.
2
2
  *
3
- * Importe DEPOIS do tailwindcss e dos tokens:
3
+ * Importe DEPOIS do tailwindcss:
4
4
  * @import "tailwindcss";
5
- * @import "@strategicos/tokens/theme.css";
6
5
  * @import "@strategicos/ui/styles.css";
7
6
  *
7
+ * O tema (@strategicos/tokens) vem junto, importado abaixo — o app não precisa
8
+ * instalar nem importar os tokens à parte.
9
+ *
8
10
  * O @source abaixo faz o Tailwind do app escanear o JS compilado deste pacote.
9
11
  * Sem ele, as classes usadas só aqui dentro (h-7.5, data-active:…) não são
10
12
  * geradas, porque o Tailwind ignora node_modules por padrão. */
11
13
 
14
+ @import "@strategicos/tokens/theme.css";
12
15
  @import "tw-animate-css";
13
16
 
14
17
  @source "./dist";