Skip to content

Commit d74de4d

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

File tree

9 files changed

+84
-36
lines changed

9 files changed

+84
-36
lines changed

.changeset/fair-hoops-taste.md

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

.changeset/mean-books-act.md

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

packages/cli/CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
# qwik-ui
22

3+
## 0.4.0
4+
5+
### Minor Changes
6+
7+
- ✨ Qwik UI has now fully migrated and updated the global.css config and components to use tailwind v4. You can copy/paste the components into your project(s) or use the CLI. (by [@maiieul](https://github.com/maiieul) in [#1122](https://github.com/qwikifiers/qwik-ui/pull/1122))
8+
9+
## Migration guide:
10+
11+
- Make sure to commit any changes before you start the steps below
12+
- Run the `npx @tailwindcss/upgrade` script and let it do most of the work for you
13+
- Remove your tailwind.config.cjs and postcss.config.cjs
14+
- install the @tailwindcss/vite package and pass it to your vite.config plugins array
15+
- Copy paste the new css config base tokens, or use the `qwik-ui init` to get them, and adapt them to your project
16+
- If you are in a monorepo, make sure to `@source “../../../path/to/your/components“;`
17+
- Add `"w-full"` to Modal PanelVariants position.top and position.bottom; add `"m-auto"` to position.center
18+
- If you didn't modify some components, you can re-copy/paste (or re-install them with the cli) for their most up to date version
19+
320
## 0.3.2
421

522
### Patch Changes

packages/cli/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "qwik-ui",
3-
"version": "0.3.2",
3+
"version": "0.4.0",
44
"publishConfig": {
55
"access": "public"
66
},
@@ -19,7 +19,7 @@
1919
"yargs": "17.7.2"
2020
},
2121
"devDependencies": {
22-
"@qwik-ui/styled": "0.3.5",
22+
"@qwik-ui/styled": "0.4.0",
2323
"prettier-2": "npm:prettier@^2"
2424
},
2525
"type": "commonjs",

packages/kit-headless/CHANGELOG.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## 0.7.3
4+
5+
### Patch Changes
6+
7+
- 🐞🩹 the accordion `offsetHeight` is now properly calculated with tailwind v4. (by [@maiieul](https://github.com/maiieul) in [#1122](https://github.com/qwikifiers/qwik-ui/pull/1122))
8+
39
## 0.7.2
410

511
### Patch Changes
@@ -49,6 +55,7 @@
4955
### Patch Changes
5056

5157
- Select fixes for: (by [@thejackshelton](https://github.com/thejackshelton) in [#1042](https://github.com/qwikifiers/qwik-ui/pull/1042))
58+
5259
- [#1001](https://github.com/qwikifiers/qwik-ui/issues/1001)
5360
- [#979](https://github.com/qwikifiers/qwik-ui/issues/979)
5461

@@ -65,6 +72,7 @@
6572
💡 Combobox inline mode allows for command palettes or other use cases where the search input is directly on the page.
6673

6774
🎠 Carousel fixes:
75+
6876
- [#1032](https://github.com/qwikifiers/qwik-ui/issues/1032)
6977
- [#1023](https://github.com/qwikifiers/qwik-ui/issues/1023)
7078
- [#1006](https://github.com/qwikifiers/qwik-ui/issues/1006)
@@ -94,22 +102,27 @@
94102
- # Combobox Improvements (by [@thejackshelton](https://github.com/thejackshelton) in [#968](https://github.com/qwikifiers/qwik-ui/pull/968))
95103

96104
## 🔄 Reactive Improvements
105+
97106
- Better handling of array-based values
98107
- Improved handling of initial and reactive values
99108

100109
## 🐛 Key Bug Fixes
110+
101111
- Fixed highlight jumping issues
102112
- Enhanced empty input handling
103113
- Better filtered item highlighting
104114

105115
## 🖱️ Interaction Enhancements
116+
106117
- Smoother scrolling experience
107118
- Improved keyboard and mouse coordination
108119

109120
## 🚀 Performance Optimizations
121+
110122
- More efficient item filtering
111123

112124
## 🧪 Reliability
125+
113126
- Added tests for reactivity handling, item unselection, and mouse-to-pointer interaction switching
114127
- Improved handling of edge cases in user interactions
115128

@@ -196,30 +209,39 @@
196209
```
197210

198211
### Anatomy Changes
212+
199213
1. **Combobox.Option** has been renamed to **Combobox.Item**:
214+
200215
- The item is no longer restricted to a string value; any UI can be placed inside the item.
201216
- Use the `Combobox.ItemLabel` component to display the item's label, which becomes the item's value if no `value` prop is passed to the `Combobox.Item`. (required)
202217

203218
2. **Combobox.Listbox** has been deprecated.
204219
3. **Combobox.ItemLabel** has been added:
220+
205221
- Move the string value that was once inside `Combobox.Option` into `Combobox.ItemLabel`. (required)
206222

207223
4. **Combobox.ItemIndicator** has been added:
224+
208225
- This component is used to render UI based on the selected state of the item. (optional)
209226

210227
5. **Combobox.Description** has been added:
228+
211229
- The text rendered inside the description component is displayed to screen readers as an accessible description of the combobox. (optional)
212230

213231
6. **Combobox.ErrorMessage** has been added:
232+
214233
- When this component is rendered, the Combobox will be marked as invalid. (optional)
215234

216235
7. **Combobox.HiddenNativeSelect** has been added:
236+
217237
- A native select element allows the submission of forms with the combobox. This component is visually hidden and hidden from screen readers. (optional)
218238

219239
8. **Combobox.Group** has been added:
240+
220241
- Used to visually group related items together. (optional)
221242

222243
9. **Combobox.GroupLabel** has been added:
244+
223245
- Provides an accessible name for the group. (optional)
224246

225247
10. **Combobox.Empty** has been added:
@@ -233,6 +255,7 @@
233255
The `optionRenderer# Changelog prop on the `Combobox.Listbox` component has been deprecated.
234256

235257
Instead:
258+
236259
1. pass a `<Combobox.Item />` as a child of the `<Combobox.Popover />` component.
237260
2. pass a `Combobox.ItemLabel` as a child of the `<Combobox.Item />` component.
238261

@@ -400,6 +423,7 @@
400423
#### Forms
401424

402425
The Combobox now supports form submissions. To enable this:
426+
403427
1. Add the `name` prop to the `Combobox.Root` component, with the name of the Combobox form field.
404428
2. Add the `<Combobox.HiddenNativeSelect />` component inside of the `<Combobox.Root />` component.
405429

@@ -445,6 +469,7 @@
445469
| Enter | Toggles the selection of the highlighted item without closing the combobox. |
446470

447471
### Data Attributes
472+
448473
- `data-invalid` is added to the combobox when the combobox is invalid.
449474
- `data-open` is added to the combobox when the combobox is open.
450475
- `data-closed` is added to the combobox when the combobox is closed.
@@ -659,6 +684,7 @@
659684
There is a new root compomnent. Configurable props have been moved to the root component.
660685

661686
#### Deprecated Props
687+
662688
- You no longer need to style the popover open state with `:popover-open`. Instead, use the `data-open` attribute for it to style across browsers.
663689

664690
```css
@@ -681,6 +707,7 @@
681707
### Docs Improvements
682708

683709
A couple of docs improvements have been made:
710+
684711
- The docs have been updated to reflect the new API.
685712
- The headless docs no longer include styles in the examples. There is an example CSS section in each component page. If you do not find one, please open an issue on GitHub.
686713
- Part of the Accordion and Modal docs have been simplified
@@ -689,6 +716,7 @@
689716
- ### Modal API Changes (by [@thejackshelton](https://github.com/thejackshelton) in [#734](https://github.com/qwikifiers/qwik-ui/pull/734))
690717

691718
In a previous release, the following components have been deprecated:
719+
692720
- ModalHeader
693721
- ModalContent
694722
- ModalFooter
@@ -700,6 +728,7 @@
700728
#### <Modal.Root>
701729

702730
This is the main container of the modal, and now holds the major props and configuration. Examples include:
731+
703732
- 'bind:show'?: Signal<boolean>;
704733
- closeOnBackdropClick?: boolean;
705734
- alert?: boolean;
@@ -727,6 +756,7 @@
727756
This is a button that closes the modal when clicked.
728757

729758
- ### Select API Changes (by [@thejackshelton](https://github.com/thejackshelton) in [#724](https://github.com/qwikifiers/qwik-ui/pull/724))
759+
730760
- `<SelectOption />` has been renamed to `<Select.ItemLabel />`.
731761
- `<Select.Value />` has been renamed to `<Select.DisplayValue />`.
732762

@@ -788,6 +818,7 @@
788818
The Accordion has been refactored from the ground up to be more accessible and performant.
789819

790820
#### Accordion.Root
821+
791822
- The `behavior="multi"` prop has been deprecated with `multiple` on the `<Accordion.Root />` component.
792823
- The default behavior is a single item open at a time.
793824
- The `animated` prop has been removed. Animations are now automatically detected!
@@ -798,19 +829,22 @@
798829
- Disable the entire accordion by using the `disabled` prop.
799830

800831
#### Accordion.Item
832+
801833
- Pass distinct values to the `<Accordion.Item />` component with the `value` prop.
802834
- Disable Accordion items by setting the `disabled` prop to true on the `<Accordion.Item />` component.
803835

804836
For more information, please refer to the updated Accordion documentation.
805837

806838
### Collapsible
839+
807840
- The `onOpenChange# Changelog prop has been deprecated. Use the `onChange# Changelog prop instead.
808841

809842
For more information, please refer to the updated Collapsible documentation.
810843

811844
### Deprecated Components
812845

813846
In 0.4, we have deprecated the following headless components:
847+
814848
- Drawer
815849
- Breadcrumb
816850
- Action Button
@@ -952,6 +986,7 @@
952986
- ## Select component hits beta! (by [@thejackshelton](https://github.com/thejackshelton) in [#637](https://github.com/qwikifiers/qwik-ui/pull/637))
953987

954988
## Features
989+
955990
- Accessible as a button that shows a list, following web a11y standards.
956991
- Support for single selection.
957992
- Controlled or uncontrolled.
@@ -968,6 +1003,7 @@
9681003
- Supports a custom placeholder.
9691004

9701005
## Roadmap
1006+
9711007
- Opt-in native form support via a visually hidden select.
9721008
- RTL support.
9731009
- Multiple Selection and its respective keyboard interactions.

packages/kit-headless/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@qwik-ui/headless",
3-
"version": "0.7.2",
3+
"version": "0.7.3",
44
"description": "Qwik UI headless components library",
55
"publishConfig": {
66
"access": "public"

packages/kit-styled/CHANGELOG.md

Lines changed: 24 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
# @qwik-ui/styled
22

3+
## 0.4.0
4+
5+
### Minor Changes
6+
7+
- ✨ Qwik UI has now fully migrated and updated the global.css config and components to use tailwind v4. You can copy/paste the components into your project(s) or use the CLI. (by [@maiieul](https://github.com/maiieul) in [#1122](https://github.com/qwikifiers/qwik-ui/pull/1122))
8+
9+
## Migration guide:
10+
11+
- Make sure to commit any changes before you start the steps below
12+
- Run the `npx @tailwindcss/upgrade` script and let it do most of the work for you
13+
- Remove your tailwind.config.cjs and postcss.config.cjs
14+
- install the @tailwindcss/vite package and pass it to your vite.config plugins array
15+
- Copy paste the new css config base tokens, or use the `qwik-ui init` to get them, and adapt them to your project
16+
- If you are in a monorepo, make sure to `@source “../../../path/to/your/components“;`
17+
- Add `"w-full"` to Modal PanelVariants position.top and position.bottom; add `"m-auto"` to position.center
18+
- If you didn't modify some components, you can re-copy/paste (or re-install them with the cli) for their most up to date version
19+
320
## 0.3.5
421

522
### Patch Changes
@@ -127,20 +144,20 @@
127144
export const panelVariants = cva(
128145
[
129146
'fixed w-full bg-background p-6 text-foreground transition-all backdrop:brightness-50 backdrop:backdrop-blur-sm',
130-
'data-[closing]:duration-300 data-[open]:duration-300 data-[open]:animate-in data-[closing]:animate-out',
131-
'backdrop:data-[closing]:duration-300 backdrop:data-[open]:duration-300 backdrop:data-[open]:animate-in backdrop:data-[closing]:animate-out backdrop:data-[closing]:fade-out backdrop:data-[open]:fade-in',
147+
'data-[closing]:animate-out data-[closing]:duration-300 data-[open]:animate-in data-[open]:duration-300',
148+
'backdrop:data-[closing]:animate-out backdrop:data-[closing]:duration-300 backdrop:data-[closing]:fade-out backdrop:data-[open]:animate-in backdrop:data-[open]:duration-300 backdrop:data-[open]:fade-in',
132149
],
133150
{
134151
variants: {
135152
position: {
136153
center:
137-
'max-w-lg rounded-base shadow-lg data-[state=closed]:fade-out data-[state=open]:fade-in data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=open]:slide-in-from-bottom-2 backdrop:data-[closing]:fade-out backdrop:data-[open]:fade-in',
138-
top: 'inset-x-0 top-0 mt-0 rounded-b-base border-b data-[closing]:slide-out-to-top data-[open]:slide-in-from-top',
154+
'rounded-base max-w-lg shadow-lg backdrop:data-[closing]:fade-out backdrop:data-[open]:fade-in data-[state=closed]:zoom-out-95 data-[state=closed]:fade-out data-[state=open]:zoom-in-95 data-[state=open]:fade-in data-[state=open]:slide-in-from-bottom-2',
155+
top: 'rounded-b-base inset-x-0 top-0 mt-0 border-b data-[closing]:slide-out-to-top data-[open]:slide-in-from-top',
139156
bottom:
140-
'inset-x-0 bottom-0 mb-0 rounded-t-base border-t data-[closing]:slide-out-to-bottom data-[open]:slide-in-from-bottom',
141-
left: 'inset-y-0 left-0 ml-0 h-full max-w-sm rounded-r-base border-r data-[closing]:slide-out-to-left data-[open]:slide-in-from-left',
157+
'rounded-t-base inset-x-0 bottom-0 mb-0 border-t data-[closing]:slide-out-to-bottom data-[open]:slide-in-from-bottom',
158+
left: 'rounded-r-base inset-y-0 left-0 ml-0 h-full max-w-sm border-r data-[closing]:slide-out-to-left data-[open]:slide-in-from-left',
142159
right:
143-
'inset-y-0 right-0 mr-0 h-full max-w-sm rounded-l-base border-l data-[closing]:slide-out-to-right data-[open]:slide-in-from-right',
160+
'rounded-l-base inset-y-0 right-0 mr-0 h-full max-w-sm border-l data-[closing]:slide-out-to-right data-[open]:slide-in-from-right',
144161
},
145162
},
146163
defaultVariants: {

packages/kit-styled/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@qwik-ui/styled",
3-
"version": "0.3.5",
3+
"version": "0.4.0",
44
"description": "Qwik UI components library with styles",
55
"publishConfig": {
66
"access": "public"
@@ -24,7 +24,7 @@
2424
"@builder.io/qwik": ">=1.3.1"
2525
},
2626
"devDependencies": {
27-
"@qwik-ui/headless": "^0.7.1",
27+
"@qwik-ui/headless": "^0.7.3",
2828
"@qwik-ui/utils": "0.3.2"
2929
},
3030
"sideEffects": false

pnpm-lock.yaml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)