@duskmoon-dev/art-components 0.2.1 → 0.3.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/README.md +21 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@ React wrappers for `@duskmoon-dev/css-art`.
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
bun add @duskmoon-dev/art-components @duskmoon-dev/css-art
|
|
8
|
+
bun add @duskmoon-dev/art-components @duskmoon-dev/css-art react react-dom
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
Import the CSS once in your app:
|
|
@@ -47,5 +47,23 @@ export function Demo() {
|
|
|
47
47
|
- `ArtSnowballPreloader`
|
|
48
48
|
- `ArtGeminiInput`
|
|
49
49
|
|
|
50
|
-
|
|
51
|
-
`
|
|
50
|
+
`ArtCircularGalleryItem` is exported as the item type for
|
|
51
|
+
`ArtCircularGallery`.
|
|
52
|
+
|
|
53
|
+
Most decorative components accept `size="sm" | "default" | "lg"`; `ArtMoon`
|
|
54
|
+
and `ArtSun` also accept `size="xl"`. Components forward refs to their root
|
|
55
|
+
element, accept `className`, `style`, and DuskMoon CSS custom properties through
|
|
56
|
+
`style`.
|
|
57
|
+
|
|
58
|
+
## Development
|
|
59
|
+
|
|
60
|
+
```bash
|
|
61
|
+
# Build the wrapper package
|
|
62
|
+
bun run build
|
|
63
|
+
|
|
64
|
+
# Run wrapper tests
|
|
65
|
+
bun run test
|
|
66
|
+
|
|
67
|
+
# Typecheck
|
|
68
|
+
bun run typecheck
|
|
69
|
+
```
|