@particle-academy/react-fancy 1.5.0 → 1.5.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.
Files changed (2) hide show
  1. package/README.md +9 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -23,6 +23,15 @@ yarn add @particle-academy/react-fancy
23
23
 
24
24
  ## Usage
25
25
 
26
+ Add the `@source` directive to your main CSS file so Tailwind v4 scans the component library for class names:
27
+
28
+ ```css
29
+ @import "tailwindcss";
30
+ @source "../node_modules/@particle-academy/react-fancy/dist/**/*.js";
31
+ ```
32
+
33
+ Then import and use components:
34
+
26
35
  ```tsx
27
36
  import { Action, Input, Modal, Dropdown } from "@particle-academy/react-fancy";
28
37
  import "@particle-academy/react-fancy/styles.css";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@particle-academy/react-fancy",
3
- "version": "1.5.0",
3
+ "version": "1.5.1",
4
4
  "description": "React UI component library — React port of the fancy-flux Blade component library",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",