Skip to content

Commit 61529c6

Browse files
Version Packages (#3306)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent f707db6 commit 61529c6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+1379
-165
lines changed

.changeset/famous-kiwis-glow.md

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

.changeset/purple-turkeys-tan.md

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

.changeset/tame-ligers-collect.md

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

.changeset/thirty-carrots-design.md

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

packages/astro-plugin-studio/CHANGELOG.md

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,70 @@
11
# @pandacss/astro-plugin-studio
22

3+
## 1.0.0
4+
5+
### Major Changes
6+
7+
- a3bcbea: Stable release of PandaCSS
8+
9+
### Style Context
10+
11+
Add `createStyleContext` function to framework artifacts for React, Preact, Solid, and Vue frameworks
12+
13+
```tsx
14+
import { sva } from 'styled-system/css'
15+
import { createStyleContext } from 'styled-system/jsx'
16+
17+
const card = sva({
18+
slots: ['root', 'label'],
19+
base: {
20+
root: {
21+
color: 'red',
22+
bg: 'red.300',
23+
},
24+
label: {
25+
fontWeight: 'medium',
26+
},
27+
},
28+
variants: {
29+
size: {
30+
sm: {
31+
root: {
32+
padding: '10px',
33+
},
34+
},
35+
md: {
36+
root: {
37+
padding: '20px',
38+
},
39+
},
40+
},
41+
},
42+
defaultVariants: {
43+
size: 'sm',
44+
},
45+
})
46+
47+
const { withProvider, withContext } = createStyleContext(card)
48+
49+
const CardRoot = withProvider('div', 'root')
50+
const CardLabel = withContext('label', 'label')
51+
```
52+
53+
Then, use like this:
54+
55+
```tsx
56+
<CardRoot size="sm">
57+
<CardLabel>Hello</CardLabel>
58+
</CardRoot>
59+
```
60+
61+
### Patch Changes
62+
63+
- Updated dependencies [a3bcbea]
64+
- Updated dependencies [a20811c]
65+
- @pandacss/core@1.0.0
66+
- @pandacss/node@1.0.0
67+
368
## 0.54.0
469

570
### Patch Changes

packages/astro-plugin-studio/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pandacss/astro-plugin-studio",
3-
"version": "0.54.0",
3+
"version": "1.0.0",
44
"description": "Vite plugin for Pandacss Studio",
55
"author": "Segun Adebayo <[email protected]>",
66
"main": "dist/index.js",

packages/cli/CHANGELOG.md

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,75 @@
11
# @pandacss/dev
22

3+
## 1.0.0
4+
5+
### Major Changes
6+
7+
- a3bcbea: Stable release of PandaCSS
8+
9+
### Style Context
10+
11+
Add `createStyleContext` function to framework artifacts for React, Preact, Solid, and Vue frameworks
12+
13+
```tsx
14+
import { sva } from 'styled-system/css'
15+
import { createStyleContext } from 'styled-system/jsx'
16+
17+
const card = sva({
18+
slots: ['root', 'label'],
19+
base: {
20+
root: {
21+
color: 'red',
22+
bg: 'red.300',
23+
},
24+
label: {
25+
fontWeight: 'medium',
26+
},
27+
},
28+
variants: {
29+
size: {
30+
sm: {
31+
root: {
32+
padding: '10px',
33+
},
34+
},
35+
md: {
36+
root: {
37+
padding: '20px',
38+
},
39+
},
40+
},
41+
},
42+
defaultVariants: {
43+
size: 'sm',
44+
},
45+
})
46+
47+
const { withProvider, withContext } = createStyleContext(card)
48+
49+
const CardRoot = withProvider('div', 'root')
50+
const CardLabel = withContext('label', 'label')
51+
```
52+
53+
Then, use like this:
54+
55+
```tsx
56+
<CardRoot size="sm">
57+
<CardLabel>Hello</CardLabel>
58+
</CardRoot>
59+
```
60+
61+
### Patch Changes
62+
63+
- Updated dependencies [a3bcbea]
64+
- @pandacss/config@1.0.0
65+
- @pandacss/logger@1.0.0
66+
- @pandacss/node@1.0.0
67+
- @pandacss/postcss@1.0.0
68+
- @pandacss/preset-panda@1.0.0
69+
- @pandacss/shared@1.0.0
70+
- @pandacss/token-dictionary@1.0.0
71+
- @pandacss/types@1.0.0
72+
373
## 0.54.0
474

575
### Patch Changes

packages/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pandacss/dev",
3-
"version": "0.54.0",
3+
"version": "1.0.0",
44
"description": "The user facing package for panda css",
55
"main": "dist/index.js",
66
"module": "dist/index.mjs",

packages/config/CHANGELOG.md

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,74 @@
11
# @pandacss/config
22

3+
## 1.0.0
4+
5+
### Major Changes
6+
7+
- a3bcbea: Stable release of PandaCSS
8+
9+
### Style Context
10+
11+
Add `createStyleContext` function to framework artifacts for React, Preact, Solid, and Vue frameworks
12+
13+
```tsx
14+
import { sva } from 'styled-system/css'
15+
import { createStyleContext } from 'styled-system/jsx'
16+
17+
const card = sva({
18+
slots: ['root', 'label'],
19+
base: {
20+
root: {
21+
color: 'red',
22+
bg: 'red.300',
23+
},
24+
label: {
25+
fontWeight: 'medium',
26+
},
27+
},
28+
variants: {
29+
size: {
30+
sm: {
31+
root: {
32+
padding: '10px',
33+
},
34+
},
35+
md: {
36+
root: {
37+
padding: '20px',
38+
},
39+
},
40+
},
41+
},
42+
defaultVariants: {
43+
size: 'sm',
44+
},
45+
})
46+
47+
const { withProvider, withContext } = createStyleContext(card)
48+
49+
const CardRoot = withProvider('div', 'root')
50+
const CardLabel = withContext('label', 'label')
51+
```
52+
53+
Then, use like this:
54+
55+
```tsx
56+
<CardRoot size="sm">
57+
<CardLabel>Hello</CardLabel>
58+
</CardRoot>
59+
```
60+
61+
### Patch Changes
62+
63+
- Updated dependencies [860cc7d]
64+
- Updated dependencies [a20811c]
65+
- Updated dependencies [a3bcbea]
66+
- @pandacss/preset-base@1.0.0
67+
- @pandacss/logger@1.0.0
68+
- @pandacss/preset-panda@1.0.0
69+
- @pandacss/shared@1.0.0
70+
- @pandacss/types@1.0.0
71+
372
## 0.54.0
473

574
### Patch Changes

packages/config/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pandacss/config",
3-
"version": "0.54.0",
3+
"version": "1.0.0",
44
"description": "Find and load panda config",
55
"main": "dist/index.js",
66
"module": "dist/index.mjs",

0 commit comments

Comments
 (0)