Skip to content

Commit 2f092db

Browse files
ci(repo): Version packages (#10799)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 32720e6 commit 2f092db

6 files changed

Lines changed: 25 additions & 19 deletions

File tree

‎.changeset/combobox-empty-status.md‎

Lines changed: 0 additions & 15 deletions
This file was deleted.

‎.changeset/mosaic-image-cropper-primitive.md‎

Lines changed: 0 additions & 2 deletions
This file was deleted.

‎packages/mosaic/CHANGELOG.md‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# @clerk/mosaic
22

3+
## 0.4.0
4+
5+
### Minor Changes
6+
7+
- **Breaking:** Screen readers now announce `Combobox.Empty` when a search matches no options. It renders a polite `role="status"` `<div>` (it was a `<p>`) that stays mounted and shows its children only when nothing matches, so keep it in the popup or beside the list rather than rendering it conditionally. To make this work, `Combobox.Root` now owns the items, and `Combobox.Collection` only renders them: ([#10794](https://github.com/clerk/javascript/pull/10794)) by [@alexcarpenter](https://github.com/alexcarpenter)
8+
9+
| Before | After |
10+
| --------------------------------------------------------------------------- | ----------------------------------------------------------- |
11+
| `<Combobox.Collection items={items} itemToStringLabel={toLabel}>` | `<Combobox.Root items={items} itemToStringLabel={toLabel}>` |
12+
| `<Combobox.Collection empty={<Combobox.Empty>No results</Combobox.Empty>}>` | `<Combobox.Empty>No results</Combobox.Empty>` beside it |
13+
| `{item => …}` | `{(item: Item) => …}` |
14+
15+
Without `items` on the root, `Combobox.Empty` always shows its children. The `ComboboxEmpty` ref is now an `HTMLDivElement`.
16+
17+
Find usages with `git grep -nE "Combobox\.(Collection|Empty)|ComboboxEmpty"`.
18+
319
## 0.3.0
420

521
### Minor Changes

‎packages/mosaic/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@clerk/mosaic",
3-
"version": "0.3.0",
3+
"version": "0.4.0",
44
"description": "Clerk Mosaic UI components",
55
"keywords": [
66
"clerk",

‎packages/swingset/CHANGELOG.md‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @clerk/swingset
22

3+
## 0.0.71
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`5b7c4f4`](https://github.com/clerk/javascript/commit/5b7c4f425b0a254fd3c14e10064b31675af67d82)]:
8+
- @clerk/mosaic@0.4.0
9+
310
## 0.0.70
411

512
### Patch Changes

‎packages/swingset/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@clerk/swingset",
3-
"version": "0.0.70",
3+
"version": "0.0.71",
44
"private": true,
55
"type": "module",
66
"scripts": {

0 commit comments

Comments
 (0)