Skip to content
This repository was archived by the owner on Oct 23, 2023. It is now read-only.

Commit 0e30dcc

Browse files
ci(changesets): version packages (#328)
Co-authored-by: Tim Kolberger <[email protected]>
1 parent 9c73648 commit 0e30dcc

10 files changed

+46
-46
lines changed

.changeset/dry-badgers-turn.md

-7
This file was deleted.

.changeset/eleven-cameras-bake.md

-12
This file was deleted.

.changeset/gold-seahorses-move.md

-12
This file was deleted.

.changeset/good-rabbits-relax.md

-12
This file was deleted.

packages/preact/CHANGELOG.md

+13
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# @polymorphic-factory/preact
22

3+
## 0.3.0
4+
5+
### Minor Changes
6+
7+
- [#327](https://github.com/chakra-ui/polymorphic/pull/327) [`b572666`](https://github.com/chakra-ui/polymorphic/commit/b5726663f25075bc1c50c87a9015b3611000fb54) Thanks [@TimKolberger](https://github.com/TimKolberger)! - When using the `as` prop, the `ref` will now be typed accordingly.
8+
9+
**This is possibly a breaking change for TypeScript users.**
10+
11+
```tsx
12+
const ref = useRef<HTMLAnchorElement>(null)
13+
return <poly.button as="a" ref={ref} />
14+
```
15+
316
## 0.2.0
417

518
### Minor Changes

packages/preact/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polymorphic-factory/preact",
3-
"version": "0.2.0",
3+
"version": "0.3.0",
44
"description": "",
55
"keywords": [
66
"preact",

packages/react/CHANGELOG.md

+17
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
# @polymorphic-factory/react
22

3+
## 0.4.0
4+
5+
### Minor Changes
6+
7+
- [#327](https://github.com/chakra-ui/polymorphic/pull/327) [`b572666`](https://github.com/chakra-ui/polymorphic/commit/b5726663f25075bc1c50c87a9015b3611000fb54) Thanks [@TimKolberger](https://github.com/TimKolberger)! - Removed the member `defaultProps` from the type `ComponentWithAs` to support React 18.3.0.
8+
9+
**This is possibly a breaking change for TypeScript users.**
10+
11+
- [#327](https://github.com/chakra-ui/polymorphic/pull/327) [`b572666`](https://github.com/chakra-ui/polymorphic/commit/b5726663f25075bc1c50c87a9015b3611000fb54) Thanks [@TimKolberger](https://github.com/TimKolberger)! - When using the `as` prop, the `ref` will now be typed accordingly.
12+
13+
**This is possibly a breaking change for TypeScript users.**
14+
15+
```tsx
16+
const ref = useRef<HTMLAnchorElement>(null)
17+
return <poly.button as="a" ref={ref} />
18+
```
19+
320
## 0.3.0
421

522
### Minor Changes

packages/react/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polymorphic-factory/react",
3-
"version": "0.3.0",
3+
"version": "0.4.0",
44
"description": "",
55
"keywords": [
66
"react",

packages/solid/CHANGELOG.md

+13
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# @polymorphic-factory/solid
22

3+
## 0.3.0
4+
5+
### Minor Changes
6+
7+
- [#327](https://github.com/chakra-ui/polymorphic/pull/327) [`b572666`](https://github.com/chakra-ui/polymorphic/commit/b5726663f25075bc1c50c87a9015b3611000fb54) Thanks [@TimKolberger](https://github.com/TimKolberger)! - When using the `as` prop, the `ref` will now be typed accordingly.
8+
9+
**This is possibly a breaking change for TypeScript users.**
10+
11+
```tsx
12+
let ref: HTMLAnchorElement = undefined
13+
return <poly.button as="a" ref={ref} />
14+
```
15+
316
## 0.2.0
417

518
### Minor Changes

packages/solid/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polymorphic-factory/solid",
3-
"version": "0.2.0",
3+
"version": "0.3.0",
44
"description": "",
55
"keywords": [
66
"solid-js",

0 commit comments

Comments
 (0)