diff --git a/packages/showcase/src/sections/inputs-basic.tsx b/packages/showcase/src/sections/inputs-basic.tsx index 8bbe323..f1c925b 100644 --- a/packages/showcase/src/sections/inputs-basic.tsx +++ b/packages/showcase/src/sections/inputs-basic.tsx @@ -24,7 +24,7 @@ const TextFieldDemo = () => ( Your full name - + Email Invalid email address @@ -77,7 +77,7 @@ const SwitchDemo = () => ( /** Toggle demo with pressed/unpressed states. */ const ToggleDemo = () => ( - + Bold ); diff --git a/packages/showcase/src/sections/inputs-selection.tsx b/packages/showcase/src/sections/inputs-selection.tsx index 78b2460..4a3f88e 100644 --- a/packages/showcase/src/sections/inputs-selection.tsx +++ b/packages/showcase/src/sections/inputs-selection.tsx @@ -31,10 +31,10 @@ function RadioGroupDemo() { /** ToggleGroup demo with single selection alignment. */ function ToggleGroupDemo() { const content = ( - - Left - Center - Right + + Left + Center + Right ); return content; @@ -43,7 +43,7 @@ function ToggleGroupDemo() { /** Select demo with fruit dropdown. */ function SelectDemo() { const content = ( - @@ -63,7 +63,7 @@ function SelectDemo() { /** Combobox demo with searchable fruit list. */ function ComboboxDemo() { const content = ( - +
@@ -83,10 +83,10 @@ function ComboboxDemo() { /** Listbox demo with inline selectable items. */ function ListboxDemo() { const content = ( - + {(fruit) => ( - {fruit} + {fruit} )} @@ -103,7 +103,7 @@ function SliderDemo() { Volume {value()}%
- + diff --git a/packages/showcase/src/sections/navigation.tsx b/packages/showcase/src/sections/navigation.tsx index 8ff34a3..53870e4 100644 --- a/packages/showcase/src/sections/navigation.tsx +++ b/packages/showcase/src/sections/navigation.tsx @@ -1,4 +1,4 @@ -import { For } from "solid-js"; +import { createSignal, For } from "solid-js"; import { Link } from "pettyui/link"; import { Breadcrumbs } from "pettyui/breadcrumbs"; import { Tabs } from "pettyui/tabs"; @@ -46,9 +46,9 @@ function TabsDemo() { const content = ( - Account - Password - Settings + Account + Password + Settings Account settings content Password settings content @@ -103,7 +103,14 @@ function CollapsibleDemo() { /** Pagination demo with page navigation. */ function PaginationDemo() { - const content = ; + const [page, setPage] = createSignal(1); + const content = ( + + Prev + + Next + + ); return content; } @@ -142,7 +149,7 @@ function WizardDemo() { {(label, i) => (
- + {i() + 1} {label} diff --git a/packages/showcase/src/sections/overlays.tsx b/packages/showcase/src/sections/overlays.tsx index 16a7479..3c146fe 100644 --- a/packages/showcase/src/sections/overlays.tsx +++ b/packages/showcase/src/sections/overlays.tsx @@ -1,4 +1,4 @@ -import { createSignal } from "solid-js"; +import { createSignal, Show } from "solid-js"; import { Dialog } from "pettyui/dialog"; import { AlertDialog } from "pettyui/alert-dialog"; import { Drawer } from "pettyui/drawer"; @@ -155,18 +155,22 @@ function CommandPaletteDemo() { const [open, setOpen] = createSignal(false); const content = (
- - - - - - New File - Open File - Save - - No results found - - + + + + + + + New File + Open File + Save + + No results found + + +
); return content;