From 6bf844e7e0765fd2c0dcca45c02ffed3e34bf862 Mon Sep 17 00:00:00 2001 From: Kenji Shiroma Date: Tue, 24 Oct 2023 10:42:43 +1000 Subject: [PATCH 1/2] fix(#80): list and shadow on the sidebar --- apps/site/TO_DO.md | 4 +-- .../Accessibility API/content.mdoc | 3 ++ .../Accessibility features/content.mdoc | 3 ++ .../Keyboard support/content.mdoc | 1 + .../Notes on accessibility/content.mdoc | 17 ++++++++++ .../accordion/accessibilityDemo.mdoc | 0 .../components/accordion/code.mdoc | 2 ++ .../Dos and don\342\200\231ts/content.mdoc" | 4 +++ .../accordion/design/Tabset/content.mdoc | 7 ++++ .../design/User experience/content.mdoc | 9 +++++ .../design/Visual design/content.mdoc | 7 ++++ .../components/accordion/index.yaml | 16 +++++++++ apps/site/content/westpac-ui-info/index.yaml | 2 +- .../components/document-renderer.tsx | 2 +- .../components/sidebar/sidebar.component.tsx | 33 ++++++++++++++++--- .../document-renderer/list/list.component.tsx | 4 +-- .../document-renderer/list/list.style.ts | 4 +-- .../paragraph/paragraph.component.tsx | 4 +-- 18 files changed, 107 insertions(+), 15 deletions(-) create mode 100644 apps/site/content/design-system/components/accordion/accessibility/Accessibility API/content.mdoc create mode 100644 apps/site/content/design-system/components/accordion/accessibility/Accessibility features/content.mdoc create mode 100644 apps/site/content/design-system/components/accordion/accessibility/Keyboard support/content.mdoc create mode 100644 apps/site/content/design-system/components/accordion/accessibility/Notes on accessibility/content.mdoc create mode 100644 apps/site/content/design-system/components/accordion/accessibilityDemo.mdoc create mode 100644 "apps/site/content/design-system/components/accordion/design/Dos and don\342\200\231ts/content.mdoc" create mode 100644 apps/site/content/design-system/components/accordion/design/Tabset/content.mdoc create mode 100644 apps/site/content/design-system/components/accordion/design/User experience/content.mdoc create mode 100644 apps/site/content/design-system/components/accordion/design/Visual design/content.mdoc diff --git a/apps/site/TO_DO.md b/apps/site/TO_DO.md index 22046edf9..3af1e336f 100644 --- a/apps/site/TO_DO.md +++ b/apps/site/TO_DO.md @@ -25,7 +25,7 @@ const GEL_COLORS = { ### /design-system 1. [x] Integrate content blocks with keystatic -2. Add box shadow to brand selector on navigation scroll +2. [x] Add box shadow to brand selector on navigation scroll #### code tab @@ -40,5 +40,5 @@ const GEL_COLORS = { ### General -1. [ ] Fix list component styling, changing line height breaks current list component +1. [x] Fix list component styling, changing line height breaks current list component 2. [ ] Update component slugs to match current GEL navigation grouping diff --git a/apps/site/content/design-system/components/accordion/accessibility/Accessibility API/content.mdoc b/apps/site/content/design-system/components/accordion/accessibility/Accessibility API/content.mdoc new file mode 100644 index 000000000..44296714d --- /dev/null +++ b/apps/site/content/design-system/components/accordion/accessibility/Accessibility API/content.mdoc @@ -0,0 +1,3 @@ +- `
`: Indicates that the element serves as a container for a set of tabs +- `