doodleui-react 0.5.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 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
 
@@ -59,11 +59,11 @@ Every component accepts:
59
59
 
60
60
  ## Components
61
61
 
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, Label, Collapsible, Popover, DropdownMenu, Dialog, AlertDialog, Command, Combobox, Kbd, Spinner, Toggle, ToggleGroup, InputGroup, InputOTP, ScrollArea, Resizable, HoverCard, ContextMenu, NavigationMenu, Menubar, Sheet, Drawer, plus the `RoughSvg` primitive.
62
+ Button, Input, Textarea, Checkbox, Radio, Select, NativeSelect, Switch, Slider, Card, Badge, Alert, Modal, Divider, Progress, Tooltip, Tabs, Accordion, Table, Toast, Avatar, Pagination, Breadcrumb, Skeleton, Stepper, Label, Field, Collapsible, Popover, DropdownMenu, Dialog, AlertDialog, Command, Combobox, Kbd, Spinner, Toggle, ToggleGroup, InputGroup, InputOTP, ScrollArea, Resizable, HoverCard, ContextMenu, NavigationMenu, Menubar, Sheet, Drawer, AspectRatio, Empty, Heading, Text, Blockquote, InlineCode, Highlight, Sidebar, Carousel, plus the `RoughSvg` primitive.
63
63
 
64
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
65
 
66
- Modal, Tooltip, Checkbox, Radio, Select, Switch, Tabs, Accordion, Slider, Toast, Avatar, Popover, DropdownMenu, Dialog, AlertDialog, Collapsible, Label, HoverCard, ContextMenu, NavigationMenu, Menubar, Sheet, and Drawer sit on Radix primitives; Command and Combobox add `cmdk` on top for search/filtering. `InputOTP` uses `input-otp`; `Resizable` uses `react-resizable-panels`.
66
+ Modal, Tooltip, Checkbox, Radio, Select, Switch, Tabs, Accordion, Slider, Toast, Avatar, Popover, DropdownMenu, Dialog, AlertDialog, Collapsible, Label, HoverCard, ContextMenu, NavigationMenu, Menubar, Sheet, Drawer, and AspectRatio sit on Radix primitives; Command and Combobox add `cmdk` on top for search/filtering. `InputOTP` uses `input-otp`; `Resizable` uses `react-resizable-panels`; `Carousel` uses `embla-carousel-react`.
67
67
 
68
68
  ## Docs
69
69