Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version Packages #1504

Merged
merged 1 commit into from
May 23, 2024
Merged
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/fast-radios-exercise.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/five-lions-talk.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/perfect-lions-attend.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/rotten-tomatoes-wait.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/tame-boats-taste.md

This file was deleted.

2 changes: 2 additions & 0 deletions packages/anatomy-icons/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @zag-js/anatomy-icons

## 0.51.0

## 0.50.0

## 0.49.0
Expand Down
2 changes: 1 addition & 1 deletion packages/anatomy-icons/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@zag-js/anatomy-icons",
"version": "0.50.0",
"version": "0.51.0",
"keywords": [
"ui-machines",
"state-machines",
Expand Down
2 changes: 2 additions & 0 deletions packages/anatomy/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @zag-js/anatomy

## 0.51.0

## 0.50.0

## 0.49.0
Expand Down
2 changes: 1 addition & 1 deletion packages/anatomy/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@zag-js/anatomy",
"version": "0.50.0",
"version": "0.51.0",
"keywords": [
"ui-machines",
"state-machines",
Expand Down
15 changes: 11 additions & 4 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @zag-js/core

## 0.51.0

### Patch Changes

- Updated dependencies []:
- @zag-js/[email protected]

## 0.50.0

### Patch Changes
Expand Down Expand Up @@ -599,7 +606,7 @@
date: (a, b) => a.getTime() === b.getTime(),
},
},
);
)
```

- [#462](https://github.com/chakra-ui/zag/pull/462)
Expand Down Expand Up @@ -775,9 +782,9 @@
This helper can be used in inline guards or the gaurds options.

```js
import { guards } from "@zag-js/core";
import { guards } from "@zag-js/core"

const { isIn } = gaurds;
const { isIn } = gaurds

const machine = createMachine({
on: {
Expand All @@ -789,7 +796,7 @@
open: {},
closed: {},
},
});
})
```

* [`587cbec9`](https://github.com/chakra-ui/zag/commit/587cbec9b32ee9e8faef5ceeefb779231b152018) Thanks
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@zag-js/core",
"version": "0.50.0",
"version": "0.51.0",
"description": "A minimal implementation of xstate fsm for UI machines",
"keywords": [
"ui-machines",
Expand Down
2 changes: 2 additions & 0 deletions packages/docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @zag-js/docs

## 0.51.0

## 0.50.0

## 0.49.0
Expand Down
2 changes: 1 addition & 1 deletion packages/docs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@zag-js/docs",
"version": "0.50.0",
"version": "0.51.0",
"description": "Docs for zag.js machines",
"keywords": [
"zag",
Expand Down
14 changes: 13 additions & 1 deletion packages/frameworks/preact/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @zag-js/preact

## 0.51.0

### Patch Changes

- Updated dependencies []:
- @zag-js/[email protected]
- @zag-js/[email protected]
- @zag-js/[email protected]

## 0.50.0

### Patch Changes
Expand All @@ -13,7 +22,10 @@

### Patch Changes

- [#1441](https://github.com/chakra-ui/zag/pull/1441) [`c8aeca4`](https://github.com/chakra-ui/zag/commit/c8aeca475b078806c2765659668d843037746ba6) Thanks [@segunadebayo](https://github.com/segunadebayo)! - Fix issue where multiple versions of @zag-js/store could lead to "proxy state is not iterable" errors.
- [#1441](https://github.com/chakra-ui/zag/pull/1441)
[`c8aeca4`](https://github.com/chakra-ui/zag/commit/c8aeca475b078806c2765659668d843037746ba6) Thanks
[@segunadebayo](https://github.com/segunadebayo)! - Fix issue where multiple versions of @zag-js/store could lead to
"proxy state is not iterable" errors.

- Updated dependencies [[`c8aeca4`](https://github.com/chakra-ui/zag/commit/c8aeca475b078806c2765659668d843037746ba6)]:
- @zag-js/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion packages/frameworks/preact/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@zag-js/preact",
"version": "0.50.0",
"version": "0.51.0",
"description": "The react wrapper for zag",
"keywords": [
"ui-machines",
Expand Down
18 changes: 16 additions & 2 deletions packages/frameworks/react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,21 @@
# @zag-js/react

## 0.51.0

### Patch Changes

- Updated dependencies []:
- @zag-js/[email protected]
- @zag-js/[email protected]
- @zag-js/[email protected]

## 0.50.0

### Patch Changes

- [`ab422c1`](https://github.com/chakra-ui/zag/commit/ab422c1f8aa855a315e2197274f4e6ada15716e2) Thanks [@segunadebayo](https://github.com/segunadebayo)! - Fix issue where controlled context can sometimes not be synced correctly
- [`ab422c1`](https://github.com/chakra-ui/zag/commit/ab422c1f8aa855a315e2197274f4e6ada15716e2) Thanks
[@segunadebayo](https://github.com/segunadebayo)! - Fix issue where controlled context can sometimes not be synced
correctly

- Updated dependencies []:
- @zag-js/[email protected]
Expand All @@ -15,7 +26,10 @@

### Patch Changes

- [#1441](https://github.com/chakra-ui/zag/pull/1441) [`c8aeca4`](https://github.com/chakra-ui/zag/commit/c8aeca475b078806c2765659668d843037746ba6) Thanks [@segunadebayo](https://github.com/segunadebayo)! - Fix issue where multiple versions of @zag-js/store could lead to "proxy state is not iterable" errors.
- [#1441](https://github.com/chakra-ui/zag/pull/1441)
[`c8aeca4`](https://github.com/chakra-ui/zag/commit/c8aeca475b078806c2765659668d843037746ba6) Thanks
[@segunadebayo](https://github.com/segunadebayo)! - Fix issue where multiple versions of @zag-js/store could lead to
"proxy state is not iterable" errors.

- Updated dependencies [[`c8aeca4`](https://github.com/chakra-ui/zag/commit/c8aeca475b078806c2765659668d843037746ba6)]:
- @zag-js/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion packages/frameworks/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@zag-js/react",
"version": "0.50.0",
"version": "0.51.0",
"description": "The react wrapper for zag",
"keywords": [
"ui-machines",
Expand Down
19 changes: 14 additions & 5 deletions packages/frameworks/solid/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @zag-js/solid

## 0.51.0

### Patch Changes

- Updated dependencies []:
- @zag-js/[email protected]
- @zag-js/[email protected]
- @zag-js/[email protected]

## 0.50.0

### Patch Changes
Expand Down Expand Up @@ -75,15 +84,15 @@
**Before**

```js
const props = mergeProps({ a: 1 }, { a: 2 });
props; // Proxy { a: 2 }
const props = mergeProps({ a: 1 }, { a: 2 })
props // Proxy { a: 2 }
```

**After**

```js
const props = mergeProps({ a: 1 }, { a: 2 });
props(); // { a: 2 }
const props = mergeProps({ a: 1 }, { a: 2 })
props() // { a: 2 }
```

### Patch Changes
Expand Down Expand Up @@ -695,7 +704,7 @@
max: props.max,
min: props.min,
})),
});
})
}
```

Expand Down
2 changes: 1 addition & 1 deletion packages/frameworks/solid/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@zag-js/solid",
"version": "0.50.0",
"version": "0.51.0",
"description": "The solid.js wrapper for zag",
"keywords": [
"ui-machines",
Expand Down
8 changes: 8 additions & 0 deletions packages/frameworks/svelte/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @zag-js/svelte

## 0.51.0

### Patch Changes

- Updated dependencies []:
- @zag-js/[email protected]
- @zag-js/[email protected]

## 0.50.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/frameworks/svelte/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@zag-js/svelte",
"version": "0.50.0",
"version": "0.51.0",
"description": "The svelte wrapper for zag",
"keywords": [
"ui-machines",
Expand Down
16 changes: 11 additions & 5 deletions packages/frameworks/vue/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @zag-js/vue

## 0.51.0

### Patch Changes

- Updated dependencies []:
- @zag-js/[email protected]
- @zag-js/[email protected]
- @zag-js/[email protected]

## 0.50.0

### Patch Changes
Expand Down Expand Up @@ -815,13 +824,10 @@

```ts
// Before
type Ref =
| string
| Vue.Ref
| ((ref: Element | Vue.ComponentPublicInstance | null) => void);
type Ref = string | Vue.Ref | ((ref: Element | Vue.ComponentPublicInstance | null) => void)

// After
type Ref = VNodeRef;
type Ref = VNodeRef
```

- Updated dependencies [[`61c11646`](https://github.com/chakra-ui/zag/commit/61c116467c1758bdda7efe1f27d4ed26e7d44624),
Expand Down
2 changes: 1 addition & 1 deletion packages/frameworks/vue/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@zag-js/vue",
"version": "0.50.0",
"version": "0.51.0",
"description": "The vue wrapper for zag",
"keywords": [
"ui-machines",
Expand Down
19 changes: 17 additions & 2 deletions packages/machines/accordion/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# @zag-js/accordion

## 0.51.0

### Patch Changes

- Updated dependencies []:
- @zag-js/[email protected]
- @zag-js/[email protected]
- @zag-js/[email protected]
- @zag-js/[email protected]
- @zag-js/[email protected]
- @zag-js/[email protected]

## 0.50.0

### Patch Changes
Expand All @@ -16,7 +28,8 @@

### Patch Changes

- [`635cce7`](https://github.com/chakra-ui/zag/commit/635cce75b9e4bf53d986c0bdf4f5fcfbacfde6ef) Thanks [@cschroeter](https://github.com/cschroeter)! - Update type descriptions
- [`635cce7`](https://github.com/chakra-ui/zag/commit/635cce75b9e4bf53d986c0bdf4f5fcfbacfde6ef) Thanks
[@cschroeter](https://github.com/cschroeter)! - Update type descriptions

- Updated dependencies []:
- @zag-js/[email protected]
Expand All @@ -30,7 +43,9 @@

### Minor Changes

- [#1435](https://github.com/chakra-ui/zag/pull/1435) [`23ed828`](https://github.com/chakra-ui/zag/commit/23ed8283e8190fc9fb6496f4ba8c5eff78bda2d7) Thanks [@segunadebayo](https://github.com/segunadebayo)! - - Rename `getItemState` properties
- [#1435](https://github.com/chakra-ui/zag/pull/1435)
[`23ed828`](https://github.com/chakra-ui/zag/commit/23ed8283e8190fc9fb6496f4ba8c5eff78bda2d7) Thanks
[@segunadebayo](https://github.com/segunadebayo)! - - Rename `getItemState` properties
- `isOpen` -> `expanded`
- `isDisabled` -> `disabled`
- `isFocused` -> `focused`
Expand Down
2 changes: 1 addition & 1 deletion packages/machines/accordion/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@zag-js/accordion",
"version": "0.50.0",
"version": "0.51.0",
"description": "Core logic for the accordion widget implemented as a state machine",
"keywords": [
"js",
Expand Down
15 changes: 14 additions & 1 deletion packages/machines/avatar/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @zag-js/avatar

## 0.51.0

### Patch Changes

- Updated dependencies []:
- @zag-js/[email protected]
- @zag-js/[email protected]
- @zag-js/[email protected]
- @zag-js/[email protected]
- @zag-js/[email protected]

## 0.50.0

### Patch Changes
Expand All @@ -26,7 +37,9 @@

### Minor Changes

- [#1435](https://github.com/chakra-ui/zag/pull/1435) [`23ed828`](https://github.com/chakra-ui/zag/commit/23ed8283e8190fc9fb6496f4ba8c5eff78bda2d7) Thanks [@segunadebayo](https://github.com/segunadebayo)! - - Rename `api.isLoaded` to `api.loaded`
- [#1435](https://github.com/chakra-ui/zag/pull/1435)
[`23ed828`](https://github.com/chakra-ui/zag/commit/23ed8283e8190fc9fb6496f4ba8c5eff78bda2d7) Thanks
[@segunadebayo](https://github.com/segunadebayo)! - - Rename `api.isLoaded` to `api.loaded`
- Remove `api.showFallback` since it's equivalent to `!api.loaded`

### Patch Changes
Expand Down
Loading
Loading