Skip to content

Commit

Permalink
Merge branch 'main' into fix-watch-script-for-types
Browse files Browse the repository at this point in the history
  • Loading branch information
koba04 authored May 8, 2024
2 parents 78d4be8 + 1ad44f0 commit b16ce87
Show file tree
Hide file tree
Showing 50 changed files with 1,065 additions and 128 deletions.
44 changes: 0 additions & 44 deletions .changeset/chilled-masks-explain.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/flat-crews-mix.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fluffy-dingos-appear.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/fresh-eggs-kneel.md

This file was deleted.

9 changes: 0 additions & 9 deletions .changeset/new-brooms-impress.md

This file was deleted.

22 changes: 0 additions & 22 deletions .changeset/stale-phones-tease.md

This file was deleted.

78 changes: 78 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,84 @@ See the [Changesets](./.changeset) for the latest changes.

## [Unreleased]

## [0.39.1] - 2024-05-07

### Fixed

Fix `css.raw` typings after recent ([0.39.0](https://github.com/chakra-ui/panda/discussions/2560)) changes allowing
arrays of `SystemStyleObject`

## [0.39.0] - 2024-04-29

### Fixed

- Fix issue where `mergeCss` import in `styled-system/jsx/*` could be unused.
- Fix issue where `float` property did not allow inherited values (auto, initial, none, etc.)
- Fix issue where `animationName` property was not connected to `theme.keyframes`, as a result, no autocompletion was
available.

### Added

- Add support for more typography related properties in text styles such as `fontFeatureSettings`, `fontPalette`, etc.
- Allow passing arrays of `SystemStyleObject` to the `css(xxx, [aaa, bbb, ccc], yyy)` fn

This is useful when you are creating your own styled component and want to benefit
[from the recent `css` array property support](https://github.com/chakra-ui/panda/pull/2515).

```diff
import { css } from 'styled-system/css'
import type { HTMLStyledProps } from 'styled-system/types'

type ButtonProps = HTMLStyledProps<'button'>

export const Button = ({ css: cssProp = {}, children }: ButtonProps) => {
- const className = css(...(Array.isArray(cssProp) ? cssProp : [cssProp]))
+ const className = css(cssProp)
return <button className={className}>{children}</button>
}
```

### Changed

- **BREAKING 💥**

Remove `linkBox` pattern in favor of using adding `position: relative` when using the `linkOverlay` pattern.

**Before**

```jsx
import { linkBox, linkOverlay } from 'styled-system/patterns'

const App = () => {
return (
<div className={linkBox()}>
<img src="https://via.placeholder.com/150" alt="placeholder" />
<a href="#" className={linkOverlay()}>
Link
</a>
</div>
)
}
```

**After**

```jsx
import { css } from 'styled-system/css'
import { linkOverlay } from 'styled-system/patterns'

const App = () => {
return (
<div className={css({ pos: 'relative' })}>
<img src="https://via.placeholder.com/150" alt="placeholder" />
<a href="#" className={linkOverlay()}>
Link
</a>
</div>
)
}
```

## [0.38.0] - 2024-04-29

### Fixed
Expand Down
12 changes: 12 additions & 0 deletions packages/astro-plugin-studio/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# @pandacss/astro-plugin-studio

## 0.39.1

### Patch Changes

- @pandacss/node@0.39.1

## 0.39.0

### Patch Changes

- @pandacss/node@0.39.0

## 0.38.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/astro-plugin-studio/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pandacss/astro-plugin-studio",
"version": "0.38.0",
"version": "0.39.1",
"description": "Vite plugin for Pandacss Studio",
"author": "Segun Adebayo <joseshegs@gmail.com>",
"main": "dist/index.js",
Expand Down
29 changes: 29 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,34 @@
# @pandacss/dev

## 0.39.1

### Patch Changes

- @pandacss/node@0.39.1
- @pandacss/postcss@0.39.1
- @pandacss/config@0.39.1
- @pandacss/logger@0.39.1
- @pandacss/preset-panda@0.39.1
- @pandacss/shared@0.39.1
- @pandacss/token-dictionary@0.39.1
- @pandacss/types@0.39.1

## 0.39.0

### Patch Changes

- Updated dependencies [221c9a2]
- Updated dependencies [c3e797e]
- Updated dependencies [935ec86]
- @pandacss/types@0.39.0
- @pandacss/shared@0.39.0
- @pandacss/config@0.39.0
- @pandacss/node@0.39.0
- @pandacss/logger@0.39.0
- @pandacss/preset-panda@0.39.0
- @pandacss/token-dictionary@0.39.0
- @pandacss/postcss@0.39.0

## 0.38.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pandacss/dev",
"version": "0.38.0",
"version": "0.39.1",
"description": "The user facing package for panda css",
"main": "dist/index.js",
"module": "dist/index.mjs",
Expand Down
25 changes: 25 additions & 0 deletions packages/config/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,30 @@
# @pandacss/config

## 0.39.1

### Patch Changes

- @pandacss/logger@0.39.1
- @pandacss/preset-base@0.39.1
- @pandacss/preset-panda@0.39.1
- @pandacss/shared@0.39.1
- @pandacss/types@0.39.1

## 0.39.0

### Patch Changes

- Updated dependencies [df2546a]
- Updated dependencies [221c9a2]
- Updated dependencies [2116abe]
- Updated dependencies [c3e797e]
- Updated dependencies [935ec86]
- @pandacss/preset-base@0.39.0
- @pandacss/types@0.39.0
- @pandacss/shared@0.39.0
- @pandacss/logger@0.39.0
- @pandacss/preset-panda@0.39.0

## 0.38.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pandacss/config",
"version": "0.38.0",
"version": "0.39.1",
"description": "Find and load panda config",
"main": "dist/index.js",
"module": "dist/index.mjs",
Expand Down
25 changes: 25 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,30 @@
# @pandacss/core

## 0.39.1

### Patch Changes

- @pandacss/is-valid-prop@0.39.1
- @pandacss/logger@0.39.1
- @pandacss/shared@0.39.1
- @pandacss/token-dictionary@0.39.1
- @pandacss/types@0.39.1

## 0.39.0

### Patch Changes

- c3e797e: Fix issue where `animationName` property was not connected to `theme.keyframes`, as a result, no
autocompletion was available.
- Updated dependencies [221c9a2]
- Updated dependencies [c3e797e]
- Updated dependencies [935ec86]
- @pandacss/types@0.39.0
- @pandacss/shared@0.39.0
- @pandacss/logger@0.39.0
- @pandacss/token-dictionary@0.39.0
- @pandacss/is-valid-prop@0.39.0

## 0.38.0

### Minor Changes
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": "@pandacss/core",
"version": "0.38.0",
"version": "0.39.1",
"description": "core functions for extract-it",
"main": "dist/index.js",
"module": "dist/index.mjs",
Expand Down
13 changes: 13 additions & 0 deletions packages/extractor/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# @pandacss/extractor

## 0.39.1

### Patch Changes

- @pandacss/shared@0.39.1

## 0.39.0

### Patch Changes

- Updated dependencies [935ec86]
- @pandacss/shared@0.39.0

## 0.38.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/extractor/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pandacss/extractor",
"version": "0.38.0",
"version": "0.39.1",
"description": "The css extractor for css panda",
"main": "dist/index.js",
"module": "dist/index.mjs",
Expand Down
Loading

0 comments on commit b16ce87

Please sign in to comment.