Skip to content

Commit 49297cc

Browse files
latest from main
2 parents 9b29c2e + 666ed11 commit 49297cc

File tree

40 files changed

+1582
-1195
lines changed

40 files changed

+1582
-1195
lines changed

.changeset/silent-yaks-crash.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
### Select API Changes
66

77
- `<SelectOption />` has been renamed to `<Select.ItemLabel />`.
8-
- `<Select.Value />` has been renamed to `<Select.DisplayText />`.
8+
- `<Select.Value />` has been renamed to `<Select.DisplayValue />`.
99

1010
### `<Select.Item />`
1111

@@ -32,7 +32,7 @@ The previous API did not allow for customization of list items. The new API intr
3232

3333
You can now put anything you'd like in your `<Select.Item />`, just like a normal li tag!
3434

35-
There is a new reactive signal called `bind:displayText` that can be used to read the value of the display text. There is a new docs example that shows this in action with item pills.
35+
There is a new reactive signal called `bind:displayValue` that can be used to read the value of the display text. There is a new docs example that shows this in action with item pills.
3636

3737
#### bind syntax
3838

.github/workflows/test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,7 @@ jobs:
2929
with:
3030
github_token: ${{ secrets.GITHUB_TOKEN }}
3131
chromatic_token: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
32+
33+
- run: pnpx pkg-pr-new publish ./dist/packages/kit-headless
34+
env:
35+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # GITHUB_TOKEN is provided automatically in any repository

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,4 +75,4 @@ Thumbs.db
7575

7676
# Verdaccio
7777
tmp
78-
.nx/cache
78+

.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
node_modules
2+
.nx/cache
23
coverage

apps/website/src/routes/docs/headless/accordion/snippets/accordion.css

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@
4848
overflow: hidden;
4949

5050
/* offset the dotted border */
51-
margin-top: -2px;
5251
}
5352

5453
.collapsible-content-outline {
@@ -64,22 +63,18 @@
6463
@keyframes collapsible-open {
6564
0% {
6665
height: 0;
67-
margin-top: -2px;
6866
}
6967
100% {
7068
height: var(--qwikui-collapsible-content-height);
71-
margin-top: 0;
7269
}
7370
}
7471

7572
@keyframes collapsible-closed {
7673
0% {
7774
height: var(--qwikui-collapsible-content-height);
78-
margin-top: 0;
7975
}
8076
100% {
8177
height: 0;
82-
margin-top: -2px;
8378
}
8479
}
8580

apps/website/src/routes/docs/headless/modal/examples/nested-popover.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export default component$(() => {
1212
<Select.Root class="select">
1313
<Select.Label>Logged in users</Select.Label>
1414
<Select.Trigger class="select-trigger">
15-
<Select.DisplayText placeholder="Select an option" />
15+
<Select.DisplayValue placeholder="Select an option" />
1616
</Select.Trigger>
1717
<Select.Popover class="select-popover">
1818
<Select.Listbox class="select-listbox">

apps/website/src/routes/docs/headless/select/examples/add-users.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export default component$(() => {
1111
<Select.Root class="select">
1212
<Select.Label>Logged in users</Select.Label>
1313
<Select.Trigger class="select-trigger">
14-
<Select.DisplayText placeholder="Select an option" />
14+
<Select.DisplayValue placeholder="Select an option" />
1515
</Select.Trigger>
1616
<Select.Popover class="select-popover">
1717
<Select.Listbox class="select-listbox">

apps/website/src/routes/docs/headless/select/examples/bind-open.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export default component$(() => {
1313
<Select.Root bind:open={isOpen} class="select">
1414
<Select.Label>Logged in users</Select.Label>
1515
<Select.Trigger class="select-trigger">
16-
<Select.DisplayText placeholder="Select an option" />
16+
<Select.DisplayValue placeholder="Select an option" />
1717
</Select.Trigger>
1818
<Select.Popover class="select-popover">
1919
<Select.Listbox class="select-listbox">

apps/website/src/routes/docs/headless/select/examples/change-value.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export default component$(() => {
1515
<Select.Root onChange$={handleChange$} class="select">
1616
<Select.Label>Logged in users</Select.Label>
1717
<Select.Trigger class="select-trigger">
18-
<Select.DisplayText placeholder="Select an option" />
18+
<Select.DisplayValue placeholder="Select an option" />
1919
</Select.Trigger>
2020
<Select.Popover class="select-popover">
2121
<Select.Listbox class="select-listbox">

apps/website/src/routes/docs/headless/select/examples/controlled-value.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export default component$(() => {
1616
<Select.Root bind:value={selectedId} class="select">
1717
<Select.Label>Logged in users</Select.Label>
1818
<Select.Trigger class="select-trigger">
19-
<Select.DisplayText placeholder="Select an option" />
19+
<Select.DisplayValue placeholder="Select an option" />
2020
</Select.Trigger>
2121
<Select.Popover class="select-popover">
2222
<Select.Listbox class="select-listbox">

0 commit comments

Comments
 (0)