Skip to content

Commit

Permalink
feat(pie-docs): DSW-2496 radio-group overview page (#2053)
Browse files Browse the repository at this point in the history
* add images

* provide expected path for missing component index images

* add placeholder content and page skeleton

* add index cards for checkboxgroup and radiogroup

* start adding content

* add radio overview page content

* Update apps/pie-docs/src/components/radio-group/overview/overview.md

Co-authored-by: Xander Marjoram <[email protected]>

* Update apps/pie-docs/src/components/radio-group/overview/overview.md

Co-authored-by: Xander Marjoram <[email protected]>

* Update apps/pie-docs/src/components/radio-group/overview/overview.md

Co-authored-by: Xander Marjoram <[email protected]>

* Update apps/pie-docs/src/components/radio-group/overview/overview.md

Co-authored-by: Xander Marjoram <[email protected]>

* Update apps/pie-docs/src/components/radio-group/overview/overview.md

Co-authored-by: Xander Marjoram <[email protected]>

* Update apps/pie-docs/src/components/radio-group/overview/overview.md

Co-authored-by: Xander Marjoram <[email protected]>

* Update apps/pie-docs/src/components/radio-group/overview/overview.md

Co-authored-by: Xander Marjoram <[email protected]>

* Update apps/pie-docs/src/components/radio-group/overview/overview.md

Co-authored-by: Xander Marjoram <[email protected]>

* Update apps/pie-docs/src/components/radio-group/overview/overview.md

Co-authored-by: Xander Marjoram <[email protected]>

* add radio group resource table

* move vertical above horizontal in variations

* rename modifiers image

* use improved images

---------

Co-authored-by: Xander Marjoram <[email protected]>
  • Loading branch information
jamieomaguire and xander-marjoram authored Nov 19, 2024
1 parent f903bc0 commit 8a4c425
Show file tree
Hide file tree
Showing 38 changed files with 566 additions and 19 deletions.
2 changes: 1 addition & 1 deletion apps/pie-docs/src/_11ty/shortcodes/indexPageDisplay.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const indexPageDisplay = ({
const hasMobileSource = fs.existsSync(path.join(__dirname, imgMobileSrc));

const throwOnMissingImage = () => {
throw new Error(`Image not provided for ${menuItemSlug}. Please ensure image is provided or add this item to ExcludedElements.`);
throw new Error(`Image not provided for ${menuItemSlug}. Please ensure image is provided or add this item to ExcludedElements. Expected path: ${imgSrc}`);
};

return `
Expand Down
39 changes: 39 additions & 0 deletions apps/pie-docs/src/assets/img/components/radio-group/anatomy.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions apps/pie-docs/src/assets/img/components/radio-group/ltr.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 8a4c425

Please sign in to comment.