@sakaniui/mcp 0.15.0 → 0.16.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/data/CHANGELOG.md CHANGED
@@ -2,6 +2,51 @@
2
2
 
3
3
  All notable changes to `@sakaniui/react` are documented here.
4
4
 
5
+ ## 0.16.0
6
+
7
+ - **`WorkingIndicator` (and `ChainOfThought`'s working line) shows the `ChatOrb` instead of the sparkle.** While the agent works, the
8
+ orb's eyes read each new line of thought: they turn to the newest step, sweep along its text left to right, and rest, then do the
9
+ same for the next one. `WorkingIndicator` takes `lookAt` (an element) to do this on its own; `ChainOfThought` sets it for you.
10
+ - **`ChatOrb` takes `lookAt`**: an element for the eyes to read instead of following the pointer (pass `null` to go back to it). The
11
+ orb also has a hairline edge in the text colour now, so a white ball keeps an edge on a light surface.
12
+
13
+ ### Phones, touch and slow connections
14
+
15
+ A pass over every component and block at 320, 390, 768 and 1280px, with touch emulated and on a throttled 3G connection.
16
+ Desktop layouts are unchanged.
17
+
18
+ - **Hover no longer sticks after a tap.** On a touch screen a tap left the hover look behind (a grey button, a lifted card) until you
19
+ tapped somewhere else. Hover styles now apply only where the device can hover (`@media (hover: hover)`), across 59 stylesheets;
20
+ `:active` still gives press feedback. The flowing hover highlight (`HoverGroup`, menus, lists, Command Menu) ignores touch too.
21
+ Hover rules that reveal something hidden (a tooltip, a table's drag handle) are unchanged, so a tap still reveals them.
22
+ - **No zoom when you tap into a field on iPhone.** iOS Safari zooms the page into any field under 16px and doesn't zoom back. On a
23
+ touch screen the text in `Input`, `Textarea`, `SidebarSearch`, `ChatComposer`, `CodeSnippet` (editable), `QuantitySelector`,
24
+ `Calendar`'s month and year, and the auth blocks' fields and code boxes is 16px. Mouse layouts keep their 13-14px.
25
+ - **Bigger touch targets, same drawing.** Small controls get an invisible 32px hit area on a touch screen: the `TopBar` icons, password
26
+ and balance toggles, `FilterChip` and `Tags` remove, `SidebarPromo` dismiss, `AttachmentChip` remove, and `Map`'s popup close and dot
27
+ markers.
28
+ - **A tap anywhere on a field focuses it.** `Input`'s frame (and the auth blocks' password frames) is taller than the text line inside; a
29
+ tap on its padding or icon used to do nothing.
30
+ - **Blocks fit a phone.** Blocks that held their Figma width (1040-1784px) now fill their container up to it and reflow below it: the
31
+ marketing blocks (Hero, Pricing, Team, Testimonial, Logo Cloud, Feature Grid, Blog Listing, Careers, CTA Banner, FAQ), Product Detail,
32
+ Product Grid, Checkout Flow, Shopping Cart, Order Confirmation, the Billing cards, Data Table (toolbar) and Section Footer. They follow
33
+ their own width (container queries), so they also adapt in a side panel or a docs preview.
34
+ - **AI Chat and AI Welcome on a phone:** below 720px the sidebar becomes a drawer opened from a menu button; the composer options no
35
+ longer wrap and the recent-work cards scroll sideways.
36
+ - **Components at 320px:** `Toast`, `Stepper`, `Pagination`, `SegmentedControl`, `HeatmapChart`, `CheckoutSteps`, `ProductGallery`
37
+ thumbnails, `MobileNavigationMenu`, `FirstPageHeading`, `SubFeature`, `Checkbox` labels (they wrap now) and `Skeleton` no longer
38
+ overflow a small phone.
39
+ - **Liquid glass:**
40
+ - `LiquidBackdrop` takes `placeholder`, painted under the photo until it loads. The default is a muted mid-tone, so light labels stay
41
+ readable while a photo crawls in over 3G instead of vanishing on a blank page. `LiquidDashboardBlock` passes it on as
42
+ `backgroundPlaceholder` (its story uses a 1 KB blurred copy of the photo).
43
+ - `LiquidDashboardBlock` no longer jumps on load: its sidebar collapsed to the rail with its width transition on first paint. Its top bar
44
+ keeps the title clear of the icons beside the rail on a phone.
45
+ - The Liquid Glass showcase and playground stories fit phones and tablets.
46
+ - **Icons and emoji ship one module each.** `@sakaniui/react/icons` and `@sakaniui/react/emoji` were each one large module (1.9 MB and
47
+ 8.9 MB). Rollup and esbuild kept only what an app imported, but Next.js didn't, and shipped both whole, about 1.4 MB gzipped per page,
48
+ seven seconds on 3G. Same import paths; CommonJS unchanged.
49
+
5
50
  ## 0.15.0
6
51
 
7
52
  - **New: the AI conversation parts**, built from the new *AI Components* and *AI Blocks* pages in Figma. Presentational, with no AI SDK: