From 4bd21b5a2723fd7f06ebecd5da68ba30bdc37b55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=AFeul?= <45822175+maiieul@users.noreply.github.com> Date: Fri, 6 Dec 2024 14:21:03 +0800 Subject: [PATCH 1/3] Styled accordion 100 score on lighthouse (#1024) * Revert "fix(select): types for multiple yes/no (#1021)" This reverts commit 7a98c2c695a1c2f5e0f09a5e544370b3f4504ae1. * docs(styled accordion): 100 score on lighthouse --- .changeset/shy-bottles-agree.md | 5 -- .changeset/tender-pens-run.md | 5 -- .../docs/styled/accordion/examples/hero.tsx | 2 +- .../routes/docs/styled/accordion/index.mdx | 2 + .../src/components/modal/modal-trigger.tsx | 1 + .../src/components/select/select-inline.tsx | 6 +- .../src/components/select/select-root.tsx | 57 ++++++++++++------- .../src/components/select/select.tsx | 6 +- 8 files changed, 45 insertions(+), 39 deletions(-) delete mode 100644 .changeset/shy-bottles-agree.md delete mode 100644 .changeset/tender-pens-run.md diff --git a/.changeset/shy-bottles-agree.md b/.changeset/shy-bottles-agree.md deleted file mode 100644 index 8e31e876c..000000000 --- a/.changeset/shy-bottles-agree.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@qwik-ui/styled': patch ---- - -FIX: onChange not accepting regular functions diff --git a/.changeset/tender-pens-run.md b/.changeset/tender-pens-run.md deleted file mode 100644 index 57a8db21a..000000000 --- a/.changeset/tender-pens-run.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@qwik-ui/headless': patch ---- - -FIX: types for multiple values diff --git a/apps/website/src/routes/docs/styled/accordion/examples/hero.tsx b/apps/website/src/routes/docs/styled/accordion/examples/hero.tsx index 3b80e8cc5..7aa564730 100644 --- a/apps/website/src/routes/docs/styled/accordion/examples/hero.tsx +++ b/apps/website/src/routes/docs/styled/accordion/examples/hero.tsx @@ -5,7 +5,7 @@ export default component$(() => { return ( - Is it accessible? + Is it accessible? Yes. It adheres to the WAI-ARIA design pattern. diff --git a/apps/website/src/routes/docs/styled/accordion/index.mdx b/apps/website/src/routes/docs/styled/accordion/index.mdx index e8f40e295..4e8288429 100644 --- a/apps/website/src/routes/docs/styled/accordion/index.mdx +++ b/apps/website/src/routes/docs/styled/accordion/index.mdx @@ -1,9 +1,11 @@ --- title: Qwik UI | Styled Accordion Component +description: A vertically stacked set of interactive headings that each reveal a section of content. Copy/paste into your project from the documentation or by using the CLI. Easily customize the CVA variants according to your brand requirements. --- import { statusByComponent } from '~/_state/component-statuses'; + # Accordion diff --git a/packages/kit-headless/src/components/modal/modal-trigger.tsx b/packages/kit-headless/src/components/modal/modal-trigger.tsx index 5b3dc37f5..113b4bf3c 100644 --- a/packages/kit-headless/src/components/modal/modal-trigger.tsx +++ b/packages/kit-headless/src/components/modal/modal-trigger.tsx @@ -11,6 +11,7 @@ export const HModalTrigger = component$((props: PropsOf<'button'>) => { return (