doodleui-react 0.1.1 → 0.3.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/CHANGELOG.md +7 -0
- package/README.md +7 -1
- package/dist/index.cjs +2641 -141
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +334 -4
- package/dist/index.d.ts +334 -4
- package/dist/index.js +2587 -143
- package/dist/index.js.map +1 -1
- package/package.json +10 -1
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## 0.3.0
|
|
4
|
+
|
|
5
|
+
Sketch animations are now on across the library, not just Button.
|
|
6
|
+
|
|
7
|
+
Draw-in on mount plus interaction motion (hover/focus morph, check/radio marks, progress fill redraw, tab underline slide, modal/toast enter-exit, switch thumb spring) default on. Opt out with `animate={false}` or `<DoodleUIProvider animate={false}>`. `prefers-reduced-motion: reduce` still disables motion unless `forceAnimate` is set.
|
package/README.md
CHANGED
|
@@ -44,6 +44,8 @@ export function App() {
|
|
|
44
44
|
|
|
45
45
|
Wrap the tree in `SketchSeedProvider` so a Shuffle action can redraw every unlocked sketch. Pass `seed={123}` on a component to lock its wobble.
|
|
46
46
|
|
|
47
|
+
Sketch strokes draw in on mount. Set `animate={false}` on a component, or wrap the tree in `DoodleUIProvider animate={false}`, to opt out. See the docs for the full animation map.
|
|
48
|
+
|
|
47
49
|
## Shared sketch props
|
|
48
50
|
|
|
49
51
|
Every component accepts:
|
|
@@ -57,7 +59,11 @@ Every component accepts:
|
|
|
57
59
|
|
|
58
60
|
## Components
|
|
59
61
|
|
|
60
|
-
Button, Input, Textarea, Checkbox, Radio, Card, Badge, Alert, Modal, Divider, Progress, Tooltip, plus the `RoughSvg` primitive.
|
|
62
|
+
Button, Input, Textarea, Checkbox, Radio, Select, Switch, Slider, Card, Badge, Alert, Modal, Divider, Progress, Tooltip, Tabs, Accordion, Table, Toast, Avatar, Pagination, Breadcrumb, Skeleton, Stepper, plus the `RoughSvg` primitive.
|
|
63
|
+
|
|
64
|
+
Most of those sketch in on mount (draw-in) and re-ink on interaction. Default on; pass `animate={false}` to skip. Slider, Accordion, Avatar, Pagination, Breadcrumb, Skeleton, and Stepper stay static for now.
|
|
65
|
+
|
|
66
|
+
Modal, Tooltip, Checkbox, Radio, Select, Switch, Tabs, Accordion, Slider, Toast, and Avatar sit on Radix primitives.
|
|
61
67
|
|
|
62
68
|
## Docs
|
|
63
69
|
|