Skip to content

Commit decc1ec

Browse files
committed
feat: 0 script for checklist indicator
1 parent 51b609f commit decc1ec

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

apps/website/src/routes/docs/headless/checkbox/examples/pizza.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ export default component$(() => {
1111
class="flex items-center gap-3 border-2 border-black p-2"
1212
checkList={true}
1313
>
14-
<ChecklistIndicator class="flex h-[25px] w-[25px] items-center justify-center bg-slate-600">
14+
<Checklist.Indicator class="flex h-[25px] w-[25px] items-center justify-center bg-slate-600">
1515
<div q:slot="checkbox" id="true-img">
1616
🍕
1717
</div>
1818

1919
<div q:slot="checklist" id="mixed-img">
2020
2121
</div>
22-
</ChecklistIndicator>
22+
</Checklist.Indicator>
2323
Pick all toppings
2424
</Checkbox.Root>
2525

apps/website/src/routes/docs/headless/checkbox/examples/test-controlled-list-false.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ export default component$(() => {
1919
checkBoxSig={checklistSig}
2020
id="checklist"
2121
>
22-
<ChecklistIndicator class="w-fit">
22+
<Checklist.Indicator class="w-fit">
2323
<div q:slot="checkbox" id="true-img">
2424
2525
</div>
2626

2727
<div q:slot="checklist" id="mixed-img">
2828
2929
</div>
30-
</ChecklistIndicator>
30+
</Checklist.Indicator>
3131
<p>Controlls all</p>
3232
</Checkbox.Root>
3333
<Checkbox.Root

apps/website/src/routes/docs/headless/checkbox/examples/test-controlled-list-mixed.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ export default component$(() => {
1414
class="flex items-center gap-3 bg-slate-900 p-2 text-white"
1515
checkList={true}
1616
>
17-
<ChecklistIndicator class="w-fit">
17+
<Checklist.Indicator class="w-fit">
1818
<div q:slot="checkbox" id="true-img">
1919
2020
</div>
2121

2222
<div q:slot="checklist" id="mixed-img">
2323
2424
</div>
25-
</ChecklistIndicator>
25+
</Checklist.Indicator>
2626
<p>Controlls all</p>
2727
</Checkbox.Root>
2828
<Checkbox.Root

apps/website/src/routes/docs/headless/checkbox/examples/test-controlled-list-true.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ export default component$(() => {
1818
checkBoxSig={checklistSig}
1919
id="checklist"
2020
>
21-
<ChecklistIndicator class="w-fit">
21+
<Checklist.Indicator class="w-fit">
2222
<div q:slot="checkbox" id="true-img">
2323
2424
</div>
2525

2626
<div q:slot="checklist" id="mixed-img">
2727
2828
</div>
29-
</ChecklistIndicator>
29+
</Checklist.Indicator>
3030
<p>Controlls all</p>
3131
</Checkbox.Root>
3232
<Checkbox.Root

apps/website/src/routes/docs/headless/checkbox/examples/test-list.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ export default component$(() => {
1313
class="flex items-center gap-3 bg-slate-900 p-2 text-white"
1414
checkList={true}
1515
>
16-
<ChecklistIndicator class="w-fit bg-black">
16+
<Checklist.Indicator class="w-fit bg-black">
1717
<div q:slot="checkbox" id="true-img">
1818
1919
</div>
2020

2121
<div q:slot="checklist" id="mixed-img">
2222
2323
</div>
24-
</ChecklistIndicator>
24+
</Checklist.Indicator>
2525

2626
<p>Get All</p>
2727
</Checkbox.Root>

0 commit comments

Comments
 (0)