@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.
Files changed (2) hide show
  1. package/README.md +21 -3
  2. 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
- All decorative components forward refs to their root element, accept `className`,
51
- `style`, and DuskMoon CSS custom properties through `style`.
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
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duskmoon-dev/art-components",
3
- "version": "0.2.1",
3
+ "version": "0.3.1",
4
4
  "description": "React components for @duskmoon-dev/css-art pure CSS illustrations",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",