Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/add-success-color-tokens.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/breadcrumbs-mobile-visibility.md

This file was deleted.

14 changes: 0 additions & 14 deletions .changeset/code-highlighted.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/combobox-size-prop.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/curvy-beds-reply.md

This file was deleted.

34 changes: 0 additions & 34 deletions .changeset/dialog-role-alertdialog.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/feat-timeseries-chart.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/fix-badge-unknown-variant.md

This file was deleted.

10 changes: 0 additions & 10 deletions .changeset/fix-code-highlighted-bugs.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fix-command-palette-item.md

This file was deleted.

9 changes: 0 additions & 9 deletions .changeset/fix-select-description-hidelabel.md

This file was deleted.

14 changes: 0 additions & 14 deletions .changeset/fix-typescript-raw-source.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/open-laws-kneel.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/pagination-tabular-nums.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/sad-hawks-write.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/select-placeholder-prop.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/sparkly-words-strive.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/table-compact-header-variant.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tame-carrots-dig.md

This file was deleted.

13 changes: 0 additions & 13 deletions .changeset/z-index-cleanup.md

This file was deleted.

26 changes: 26 additions & 0 deletions packages/kumo-docs-astro/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,31 @@
# @cloudflare/kumo-docs-astro

## 1.3.6

### Patch Changes

- Updated dependencies [5943e77]
- Updated dependencies [35d5c42]
- Updated dependencies [5505610]
- Updated dependencies [003128b]
- Updated dependencies [1cad157]
- Updated dependencies [9d89256]
- Updated dependencies [e6218d2]
- Updated dependencies [02d0d65]
- Updated dependencies [3170d65]
- Updated dependencies [31ce577]
- Updated dependencies [ee5a632]
- Updated dependencies [409d32b]
- Updated dependencies [7816318]
- Updated dependencies [e7f0c80]
- Updated dependencies [a7eb061]
- Updated dependencies [c0341b4]
- Updated dependencies [35d5c42]
- Updated dependencies [abb7f8c]
- Updated dependencies [8972cc4]
- Updated dependencies [bb49d4b]
- @cloudflare/[email protected]

## 1.3.5

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/kumo-docs-astro/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cloudflare/kumo-docs-astro",
"version": "1.3.5",
"version": "1.3.6",
"private": true,
"type": "module",
"exports": {
Expand Down
26 changes: 26 additions & 0 deletions packages/kumo-figma/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,31 @@
# @cloudflare/figma-plugin

## 0.3.11

### Patch Changes

- Updated dependencies [5943e77]
- Updated dependencies [35d5c42]
- Updated dependencies [5505610]
- Updated dependencies [003128b]
- Updated dependencies [1cad157]
- Updated dependencies [9d89256]
- Updated dependencies [e6218d2]
- Updated dependencies [02d0d65]
- Updated dependencies [3170d65]
- Updated dependencies [31ce577]
- Updated dependencies [ee5a632]
- Updated dependencies [409d32b]
- Updated dependencies [7816318]
- Updated dependencies [e7f0c80]
- Updated dependencies [a7eb061]
- Updated dependencies [c0341b4]
- Updated dependencies [35d5c42]
- Updated dependencies [abb7f8c]
- Updated dependencies [8972cc4]
- Updated dependencies [bb49d4b]
- @cloudflare/[email protected]

## 0.3.10

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/kumo-figma/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cloudflare/kumo-figma",
"version": "0.3.10",
"version": "0.3.11",
"private": true,
"type": "module",
"description": "Figma plugin for generating Kumo UI Kit components",
Expand Down
100 changes: 100 additions & 0 deletions packages/kumo/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,105 @@
# @cloudflare/kumo

## 1.10.0

### Minor Changes

- 5505610: Add Shiki-powered `CodeHighlighted` component for syntax highlighting
- **New entry point**: `@cloudflare/kumo/code` - keeps Shiki out of main bundle
- **ShikiProvider**: Lazy-loads Shiki on first render, shares instance across all children
- **CodeHighlighted**: Syntax highlighting with line numbers, line highlighting, copy button
- **Server utilities**: `@cloudflare/kumo/code/server` for SSR/static highlighting
- **Themes**: Ships with `github-light` and `vesper` defaults, supports any Shiki theme
- **i18n**: Customizable labels via provider or per-component
- **CSS customization**: `--kumo-code-highlight-bg` variable for highlight color
- **Deprecates**: Legacy `Code` and `CodeBlock` components (will be removed in v2)

- 003128b: feat(combobox): add size prop with xs, sm, base, lg variants matching Input component
- 1cad157: feat(flow): make nested lists work inside parallel nodes
- 9d89256: Add `role` prop to Dialog component supporting both `"dialog"` (default) and `"alertdialog"` ARIA roles

**New Feature:**
- `Dialog.Root` now accepts a `role` prop to specify the dialog's ARIA semantics
- When `role="alertdialog"` is used, the dialog uses Base UI's AlertDialog primitives for proper accessibility
- This provides correct screen reader announcements for confirmation and destructive action dialogs

**When to use `role="alertdialog"`:**
- Destructive actions (delete, discard, remove)
- Confirmation flows requiring explicit user acknowledgment
- Actions that cannot be undone
- Critical warnings or errors

**Example:**

```tsx
// Standard dialog (default)
<Dialog.Root>
<Dialog.Trigger render={(p) => <Button {...p}>Edit</Button>} />
<Dialog>...</Dialog>
</Dialog.Root>

// Alert dialog for destructive actions
<Dialog.Root role="alertdialog">
<Dialog.Trigger render={(p) => <Button variant="destructive" {...p}>Delete</Button>} />
<Dialog>...</Dialog>
</Dialog.Root>
```

- e6218d2: Add TimeseriesChart component with ECharts integration, supporting legends, gradient fills, custom axis formatting, loading skeleton state, and configurable color palettes.
- a7eb061: feat(select): auto-render options from items prop when children omitted

The Select component now automatically renders Select.Option elements from the items prop when children are not explicitly provided.

### Patch Changes

- 5943e77: Add missing `success` background and tint semantic color tokens (`bg-kumo-success`, `bg-kumo-success-tint`) for parity with `info`, `warning`, and `danger`. Fix `text-kumo-success` dark mode contrast by using `green-400` instead of `green-500`. Add new `success` Badge variant for positive state indicators.
- 35d5c42: fix(breadcrumbs): improve mobile breadcrumb readability

breadcrumbs now render a compact mobile trail for deeper hierarchies by collapsing early levels to `...` and keeping the trailing path visible. labels in breadcrumb links and the current page now truncate correctly to prevent stacking or overlap on narrow viewports.

- 02d0d65: fix(badge): prevent crash when unknown variant is passed

Add defensive fallback to primary variant when an unrecognized variant string is provided to Badge component. This prevents "Cannot read properties of undefined (reading 'classes')" errors when consumers use a variant that doesn't exist in their installed version.

- 3170d65: fix(code): Fix CodeHighlighted dark mode, layout, and SSR issues
- Fix dark mode: Make `<pre>` background transparent so container's `bg-kumo-base` handles theming and border-radius is respected
- Fix layout: Wrap Shiki output in overflow container to prevent line highlight negative margins from being clipped
- Fix width: Add `w-full` to container for proper full-width display
- Fix SSR: Remove `"use client"` directive from `@cloudflare/kumo/code/server` entry point so server utilities work in RSC/SSR contexts

- 31ce577: fix(CommandPalette): add explicit text-base class to Item component for consistent 14px font size
- ee5a632: Fix Select to render description and error when hideLabel is true

Previously, the `description` and `error` props were silently ignored when
`hideLabel` was `true` (the default). Now, helper text and error messages
display correctly even when the label is visually hidden.

- 409d32b: Fix TypeScript errors when consumers type-check their projects with kumo installed.

Previously, TypeScript would attempt to type-check raw `.tsx` and `.ts` source files
shipped in the package (block sources in `dist/src/blocks/`, `ai/schemas.ts`, and
`scripts/theme-generator/*.ts`), causing build failures in downstream projects.

This change:
- Moves block source files to a separate `dist/blocks-source/` directory
- Compiles `ai/schemas.ts` and `scripts/theme-generator/*.ts` to JavaScript
- Updates package exports to point to compiled `.js` files with proper `.d.ts` types

- 7816318: fix(inputs): expand small control hit areas
- e7f0c80: Fix pagination component to properly wrap numbers in `tabular-nums` class for consistent number alignment. Both the page range and total count now use tabular numerals.
- c0341b4: Simplify Select placeholder implementation by using Base UI's native placeholder prop on SelectBase.Value instead of manually injecting placeholder items into the items array. This provides a cleaner, more intuitive API that aligns with standard HTML select behavior while maintaining backward compatibility with the null-value placeholder pattern.
- 35d5c42: fix(breadcrumbs): enhance mobile breadcrumb display for better readability
- abb7f8c: Add `variant="compact"` prop to Table.Header for a more condensed header style
- 8972cc4: Fix Combobox group label styling to use semantic token and correct padding
- bb49d4b: Standardize z-index usage with isolation containment
- Add `isolation: isolate` to components with internal stacking (Tabs, MenuBar, InputGroup, Flow/Parallel)
- Simplify internal z-index values to `z-0`/`z-1`/`z-2` instead of arbitrary values like `z-10`/`z-20`
- Remove superfluous `z-10` from CommandPalette List
- Update Toast viewport to `z-1` (matching Base UI's documented pattern)
- Update ClipboardText viewport to use `isolate` instead of `z-50`

This prevents z-index values from leaking outside component boundaries.

## 1.9.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/kumo/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cloudflare/kumo",
"version": "1.9.0",
"version": "1.10.0",
"private": false,
"type": "module",
"description": "Kumo - Cloudflare's component library for building modern web applications",
Expand Down