forked from qwikifiers/qwik-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into 711_search_box
- Loading branch information
Showing
134 changed files
with
16,071 additions
and
10,128 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@qwik-ui/headless': patch | ||
--- | ||
|
||
Enable select item indicator styling by passing down properties |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@qwik-ui/headless': patch | ||
--- | ||
|
||
We are adding the final set of popover tests. With this we should now have full coverage for both current and legacy browsers. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@qwik-ui/headless': patch | ||
--- | ||
|
||
fix: Only run single modal close step |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'qwik-ui': patch | ||
--- | ||
|
||
FIX: now installing `tailwindcss-animate`, `class-variance-authority` | ||
and `@qwikest/icons` during the cli init |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
node_modules | ||
.nx/cache | ||
.nx/workspace-data | ||
coverage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
save-exact = true | ||
auto-install-peers=true | ||
dedupe-peer-dependents=true | ||
public-hoist-pattern[]=@types* | ||
public-hoist-pattern[]=@types* | ||
link-workspace-packages=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
apps/website/src/routes/docs/headless/checkbox/examples/controlled-values.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
import { component$, useSignal, useStyles$ } from '@builder.io/qwik'; | ||
import { Checkbox } from '@qwik-ui/headless'; | ||
export default component$(() => { | ||
const initialVal1 = false; | ||
const controlledSig1 = useSignal(initialVal1); | ||
const initialVal2 = true; | ||
const controlledSig2 = useSignal(initialVal2); | ||
return ( | ||
<> | ||
<div class="flex gap-8"> | ||
<div class="flex flex-col gap-3"> | ||
<Checkbox.Root | ||
bind:checked={controlledSig1} | ||
id="test" | ||
class="flex items-center gap-3 border-2 border-black p-2 " | ||
> | ||
<Checkbox.Indicator class="flex h-[25px] w-[25px] items-center justify-center bg-slate-600"> | ||
✅ | ||
</Checkbox.Indicator> | ||
Toggle Value | ||
</Checkbox.Root> | ||
<p>The initial value was: {`${initialVal1}`}</p> | ||
<p>The current value is: {`${controlledSig1.value}`}</p> | ||
</div> | ||
<div class="flex flex-col gap-3"> | ||
<Checkbox.Root | ||
bind:checked={controlledSig2} | ||
id="test" | ||
class="flex items-center gap-3 border-2 border-black p-2 " | ||
> | ||
<Checkbox.Indicator class="flex h-[25px] w-[25px] items-center justify-center bg-slate-600"> | ||
✅ | ||
</Checkbox.Indicator> | ||
Toggle Value | ||
</Checkbox.Root> | ||
<p>The initial value was: {`${initialVal2}`}</p> | ||
<p>The current value is: {`${controlledSig2.value}`}</p> | ||
</div> | ||
</div> | ||
</> | ||
); | ||
}); |
Oops, something went wrong.