diff --git a/.changeset/add-text-heading-variant.md b/.changeset/add-text-heading-variant.md deleted file mode 100644 index 81792c6c29..0000000000 --- a/.changeset/add-text-heading-variant.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@cloudflare/kumo": minor ---- - -Add the `Text` `heading` variant with a 16px semibold default and a 20px -`size="lg"` option. The variant defaults to a `span`, so callers choose heading -semantics explicitly with `as`. Deprecate the numbered `heading1`, `heading2`, -and `heading3` variants. diff --git a/.changeset/collapsible-default-trigger-neutral.md b/.changeset/collapsible-default-trigger-neutral.md deleted file mode 100644 index 0d9ed2793e..0000000000 --- a/.changeset/collapsible-default-trigger-neutral.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@cloudflare/kumo": patch ---- - -`Collapsible.DefaultTrigger` now uses `text-kumo-default` (neutral) with `font-medium` instead of the blue `text-kumo-link` color. diff --git a/.changeset/custom-404-page.md b/.changeset/custom-404-page.md deleted file mode 100644 index c2a5801633..0000000000 --- a/.changeset/custom-404-page.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@cloudflare/kumo-docs-astro": patch ---- - -- Adds a custom 404 page using a wireframe grid and animated dashed Kumo logo -- Adds an easter egg that reverses the logo animation direction -- Configures static assets to serve the custom 404 page diff --git a/.changeset/deprecate-menu-bar.md b/.changeset/deprecate-menu-bar.md deleted file mode 100644 index c3fc250e09..0000000000 --- a/.changeset/deprecate-menu-bar.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -"@cloudflare/kumo": patch ---- - -deprecate `MenuBar` in favor of segmented `Tabs` - -- mark the `MenuBar` component (and its exports) as `@deprecated`; it will be removed in a future release -- new usage should prefer `Tabs` with `variant="segmented"` (the default `Tabs` variant) -- the runtime behaviour of `MenuBar` is unchanged for existing consumers -- remove the `MenuBar` documentation page and demos from the docs site diff --git a/.changeset/fix-toast-border-cutoff.md b/.changeset/fix-toast-border-cutoff.md deleted file mode 100644 index 712548ee04..0000000000 --- a/.changeset/fix-toast-border-cutoff.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@cloudflare/kumo": patch ---- - -Fix Toast background clipping the ring outline at the corners — the inner background layer's radius (11px) was smaller than the root's `rounded-xl` (12px), painting over the ring at the corners. Matched them up. diff --git a/.changeset/fix-toolbar-button-disabled.md b/.changeset/fix-toolbar-button-disabled.md deleted file mode 100644 index ed84d20c20..0000000000 --- a/.changeset/fix-toolbar-button-disabled.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@cloudflare/kumo": patch ---- - -Restore disabled and loading state handling for `Toolbar.Button` so disabled -controls expose the correct semantics and cannot be activated. diff --git a/.changeset/normalize-overlay-shadows-and-outlines.md b/.changeset/normalize-overlay-shadows-and-outlines.md deleted file mode 100644 index 8d7ec210e6..0000000000 --- a/.changeset/normalize-overlay-shadows-and-outlines.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -"@cloudflare/kumo": patch ---- - -Normalize shadows and outlines on tip-style overlays (Popover, Tooltip, ClipboardText, Chart tooltip). - -- Drop the `shadow-kumo-tip-shadow` color override so shadows use Tailwind's default translucent black instead of an opaque light-gray in light mode. -- Tune shadow sizes: Popover, Tooltip, ClipboardText tooltip, and Chart tooltip use `shadow-md`; ClipboardText's "Copied" toast keeps `shadow-lg` to match the Toast component. -- Switch these overlays from `outline-kumo-fill` to `outline-kumo-line`, matching every other floating surface (Dropdown, Select, Combobox, Dialog, etc.). -- Rename `kumo-tip-shadow` → `kumo-arrow-edge` and `kumo-tip-stroke` → `kumo-arrow-stroke`. The tokens draw the border on Popover/Tooltip arrow SVGs, not a box shadow. Both now resolve to `kumo-line`, so the arrow border aligns with the popup outline in both modes. diff --git a/.changeset/sidebar-scroll-to-item.md b/.changeset/sidebar-scroll-to-item.md deleted file mode 100644 index 8348b34edb..0000000000 --- a/.changeset/sidebar-scroll-to-item.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -"@cloudflare/kumo": patch ---- - -Add `scrollToItem(id, options?)` to `useSidebar()` for imperatively scrolling -a nav item into the sidebar viewport. Tag items with the new `itemId` prop on -`Sidebar.MenuButton` or `Sidebar.MenuItem`. - -Options: - -- `align`: `"start" | "center" | "end" | "auto"` (default `"auto"` — no-op if - the item is already visible; otherwise scroll the minimum distance). -- `behavior`: `"auto" | "smooth"` (default `"auto"` — instant, best for - cross-app landings so users don't watch the sidebar animate on entry). - `prefers-reduced-motion` forces `"auto"`. - -Scrolls only the sidebar viewport (never the document) and works with -`Sidebar.SlidingViews`: items register with the provider via an internal -map, so `scrollToItem` walks up from the target to find its owning viewport -rather than querying the DOM. diff --git a/packages/kumo-docs-astro/CHANGELOG.md b/packages/kumo-docs-astro/CHANGELOG.md index 07a5c881a0..f908c3ef44 100644 --- a/packages/kumo-docs-astro/CHANGELOG.md +++ b/packages/kumo-docs-astro/CHANGELOG.md @@ -1,5 +1,21 @@ # @cloudflare/kumo-docs-astro +## 1.5.18 + +### Patch Changes + +- d66dbe1: - Adds a custom 404 page using a wireframe grid and animated dashed Kumo logo + - Adds an easter egg that reverses the logo animation direction + - Configures static assets to serve the custom 404 page +- Updated dependencies [716e5b8] +- Updated dependencies [d7a7a35] +- Updated dependencies [0db4f66] +- Updated dependencies [c64183b] +- Updated dependencies [ef13cb4] +- Updated dependencies [51d0f03] +- Updated dependencies [d586bf3] + - @cloudflare/kumo@2.12.0 + ## 1.5.17 ### Patch Changes diff --git a/packages/kumo-docs-astro/package.json b/packages/kumo-docs-astro/package.json index bbe49e8117..088fd9493d 100644 --- a/packages/kumo-docs-astro/package.json +++ b/packages/kumo-docs-astro/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/kumo-docs-astro", - "version": "1.5.17", + "version": "1.5.18", "private": true, "type": "module", "exports": { diff --git a/packages/kumo-figma/CHANGELOG.md b/packages/kumo-figma/CHANGELOG.md index 52174b84e5..c352c8ed3f 100644 --- a/packages/kumo-figma/CHANGELOG.md +++ b/packages/kumo-figma/CHANGELOG.md @@ -1,5 +1,18 @@ # @cloudflare/figma-plugin +## 0.3.48 + +### Patch Changes + +- Updated dependencies [716e5b8] +- Updated dependencies [d7a7a35] +- Updated dependencies [0db4f66] +- Updated dependencies [c64183b] +- Updated dependencies [ef13cb4] +- Updated dependencies [51d0f03] +- Updated dependencies [d586bf3] + - @cloudflare/kumo@2.12.0 + ## 0.3.47 ### Patch Changes diff --git a/packages/kumo-figma/package.json b/packages/kumo-figma/package.json index f14e3d753c..e51fc0b194 100644 --- a/packages/kumo-figma/package.json +++ b/packages/kumo-figma/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/kumo-figma", - "version": "0.3.47", + "version": "0.3.48", "private": true, "description": "Figma plugin for generating Kumo UI Kit components", "license": "MIT", diff --git a/packages/kumo/CHANGELOG.md b/packages/kumo/CHANGELOG.md index 9621bf9a78..84627fd852 100644 --- a/packages/kumo/CHANGELOG.md +++ b/packages/kumo/CHANGELOG.md @@ -1,5 +1,51 @@ # @cloudflare/kumo +## 2.12.0 + +### Minor Changes + +- 716e5b8: Add the `Text` `heading` variant with a 16px semibold default and a 20px + `size="lg"` option. The variant defaults to a `span`, so callers choose heading + semantics explicitly with `as`. Deprecate the numbered `heading1`, `heading2`, + and `heading3` variants. + +### Patch Changes + +- d7a7a35: `Collapsible.DefaultTrigger` now uses `text-kumo-default` (neutral) with `font-medium` instead of the blue `text-kumo-link` color. +- 0db4f66: deprecate `MenuBar` in favor of segmented `Tabs` + + - mark the `MenuBar` component (and its exports) as `@deprecated`; it will be removed in a future release + - new usage should prefer `Tabs` with `variant="segmented"` (the default `Tabs` variant) + - the runtime behaviour of `MenuBar` is unchanged for existing consumers + - remove the `MenuBar` documentation page and demos from the docs site + +- c64183b: Fix Toast background clipping the ring outline at the corners — the inner background layer's radius (11px) was smaller than the root's `rounded-xl` (12px), painting over the ring at the corners. Matched them up. +- ef13cb4: Restore disabled and loading state handling for `Toolbar.Button` so disabled + controls expose the correct semantics and cannot be activated. +- 51d0f03: Normalize shadows and outlines on tip-style overlays (Popover, Tooltip, ClipboardText, Chart tooltip). + + - Drop the `shadow-kumo-tip-shadow` color override so shadows use Tailwind's default translucent black instead of an opaque light-gray in light mode. + - Tune shadow sizes: Popover, Tooltip, ClipboardText tooltip, and Chart tooltip use `shadow-md`; ClipboardText's "Copied" toast keeps `shadow-lg` to match the Toast component. + - Switch these overlays from `outline-kumo-fill` to `outline-kumo-line`, matching every other floating surface (Dropdown, Select, Combobox, Dialog, etc.). + - Rename `kumo-tip-shadow` → `kumo-arrow-edge` and `kumo-tip-stroke` → `kumo-arrow-stroke`. The tokens draw the border on Popover/Tooltip arrow SVGs, not a box shadow. Both now resolve to `kumo-line`, so the arrow border aligns with the popup outline in both modes. + +- d586bf3: Add `scrollToItem(id, options?)` to `useSidebar()` for imperatively scrolling + a nav item into the sidebar viewport. Tag items with the new `itemId` prop on + `Sidebar.MenuButton` or `Sidebar.MenuItem`. + + Options: + + - `align`: `"start" | "center" | "end" | "auto"` (default `"auto"` — no-op if + the item is already visible; otherwise scroll the minimum distance). + - `behavior`: `"auto" | "smooth"` (default `"auto"` — instant, best for + cross-app landings so users don't watch the sidebar animate on entry). + `prefers-reduced-motion` forces `"auto"`. + + Scrolls only the sidebar viewport (never the document) and works with + `Sidebar.SlidingViews`: items register with the provider via an internal + map, so `scrollToItem` walks up from the target to find its owning viewport + rather than querying the DOM. + ## 2.11.0 ### Minor Changes diff --git a/packages/kumo/package.json b/packages/kumo/package.json index 3b52ca6a7f..313fc2e30c 100644 --- a/packages/kumo/package.json +++ b/packages/kumo/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/kumo", - "version": "2.11.0", + "version": "2.12.0", "private": false, "description": "Kumo - Cloudflare's component library for building modern web applications", "keywords": [