doodleui-react 0.6.0 → 0.6.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/CHANGELOG.md +10 -0
- package/README.md +1 -1
- package/dist/index.cjs +928 -269
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +117 -24
- package/dist/index.d.ts +117 -24
- package/dist/index.js +923 -270
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.6.1
|
|
4
|
+
|
|
5
|
+
Dark mode: components resolve sketch ink, paper, and fills through `useSketchTheme`. `DoodleUIProvider` accepts `theme="light" | "dark" | "system"` (default `system`, following `html.dark`, `data-theme="dark"`, or `prefers-color-scheme`). Dark tokens: `DEFAULT_DARK_INK`, `DEFAULT_DARK_PAPER`, `DEFAULT_DARK_CARD_BG`, `DARK_SKETCH_COLORS`.
|
|
6
|
+
|
|
7
|
+
## 0.6.0
|
|
8
|
+
|
|
9
|
+
Layout and content helpers: `AspectRatio`, `NativeSelect`, `Empty`, `Field`, typography (`Heading`, `Text`, `Paragraph`, `Blockquote`, `InlineCode`, `Highlight`), `Sidebar`, and `Carousel`.
|
|
10
|
+
|
|
11
|
+
New dependencies: `@radix-ui/react-aspect-ratio` and `embla-carousel-react`.
|
|
12
|
+
|
|
3
13
|
## 0.5.0
|
|
4
14
|
|
|
5
15
|
Navigation & layout utilities: `Kbd`, `Spinner`, `Toggle`, `ToggleGroup`, `InputGroup`, `InputOTP`, `ScrollArea`, `Resizable`, `HoverCard`, `ContextMenu`, `NavigationMenu`, `Menubar`, `Sheet`, and `Drawer`.
|
package/README.md
CHANGED
|
@@ -44,7 +44,7 @@ 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.
|
|
47
|
+
Sketch strokes draw in on mount. Set `animate={false}` on a component, or wrap the tree in `DoodleUIProvider animate={false}`, to opt out. Pass `theme="light" | "dark" | "system"` on `DoodleUIProvider` (default `system`) so sketch ink and fills follow dark mode. See the docs for the full animation map.
|
|
48
48
|
|
|
49
49
|
## Shared sketch props
|
|
50
50
|
|