@particle-academy/react-fancy 4.0.0 → 4.1.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/dist/index.cjs +101 -31
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -3
- package/dist/index.d.ts +8 -3
- package/dist/index.js +101 -31
- package/dist/index.js.map +1 -1
- package/docs/Badge.md +1 -1
- package/package.json +1 -1
package/docs/Badge.md
CHANGED
|
@@ -18,7 +18,7 @@ import { Badge } from "@particle-academy/react-fancy";
|
|
|
18
18
|
|
|
19
19
|
| Prop | Type | Default | Description |
|
|
20
20
|
|------|------|---------|-------------|
|
|
21
|
-
| color | `"zinc"
|
|
21
|
+
| color | `Color` | `"zinc"` | Any color in the full Tailwind v4 palette — the 5 grays (`slate`, `gray`, `zinc`, `neutral`, `stone`) + every hue (`red`, `orange`, `amber`, `yellow`, `lime`, `green`, `emerald`, `teal`, `cyan`, `sky`, `blue`, `indigo`, `violet`, `purple`, `fuchsia`, `pink`, `rose`). |
|
|
22
22
|
| variant | `"solid" \| "outline" \| "soft"` | `"soft"` | Visual variant |
|
|
23
23
|
| size | `"sm" \| "md" \| "lg"` | `"md"` | Badge size |
|
|
24
24
|
| dot | `boolean` | `false` | Show a small dot indicator before text |
|