Skip to content

Commit 820dcf9

Browse files
authored
Merge pull request #791 from maiieul/changeset
chore(changeset): add tailwind.config and Accordion changes
2 parents 60373b9 + a27d3b2 commit 820dcf9

File tree

2 files changed

+31
-2
lines changed

2 files changed

+31
-2
lines changed

.changeset/orange-points-reflect.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
'@qwik-ui/styled': patch
33
---
44

5-
FEAT new styled select component
5+
FEAT: new styled select component 🎉

.changeset/slimy-snakes-poke.md

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44

55
## tailwind.config.cjs
66

7-
Now uses tailwindcss-animate
7+
### tailwindcss-animate
8+
9+
The tailwind config now uses tailwindcss-animate
810

911
```ts
1012
plugins: [
@@ -30,6 +32,29 @@ plugins: [
3032
];
3133
```
3234

35+
### New keyframes
36+
37+
We added
38+
39+
```js
40+
animation: {
41+
'accordion-up': 'collapsible-up 0.2s ease-out 0s 1 normal forwards',
42+
'accordion-down': 'collapsible-down 0.2s ease-out 0s 1 normal forwards',
43+
},
44+
keyframes: {
45+
'collapsible-down': {
46+
from: { height: '0' },
47+
to: { height: 'var(--qwikui-collapsible-content-height)' },
48+
},
49+
'collapsible-up': {
50+
from: { height: 'var(--qwikui-collapsible-content-height)' },
51+
to: { height: '0' },
52+
},
53+
},
54+
```
55+
56+
to the tailwind config. You will need those for the styled accordion to be animated.
57+
3358
## Modal refactor
3459

3560
### Modal.Panel
@@ -94,3 +119,7 @@ Title now holds `text-lg font-semibold` classes.
94119
### Modal.Description
95120

96121
Description now holds `text-muted-foreground` class.
122+
123+
## Accordion
124+
125+
We changed the accordion animations. So make sure to update your taiwind config accordingly (explained at the beginning of the changeset!).

0 commit comments

Comments
 (0)