@tmorrow/cre8-react 1.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -0
- package/dist/1078.792da8cd.iframe.bundle.js +257 -0
- package/dist/1078.792da8cd.iframe.bundle.js.LICENSE.txt +17 -0
- package/dist/1078.792da8cd.iframe.bundle.js.map +1 -0
- package/dist/1849.7f6b19b9.iframe.bundle.js +1 -0
- package/dist/1893.72a2c71b.iframe.bundle.js +232 -0
- package/dist/1893.72a2c71b.iframe.bundle.js.LICENSE.txt +7 -0
- package/dist/1893.72a2c71b.iframe.bundle.js.map +1 -0
- package/dist/1973.37078aca.iframe.bundle.js +1 -0
- package/dist/204.3ce85e8b.iframe.bundle.js +55 -0
- package/dist/204.3ce85e8b.iframe.bundle.js.LICENSE.txt +9 -0
- package/dist/204.3ce85e8b.iframe.bundle.js.map +1 -0
- package/dist/2353.b0d32244.iframe.bundle.js +190 -0
- package/dist/2353.b0d32244.iframe.bundle.js.LICENSE.txt +1 -0
- package/dist/2353.b0d32244.iframe.bundle.js.map +1 -0
- package/dist/2430.76a916ed.iframe.bundle.js +11 -0
- package/dist/2430.76a916ed.iframe.bundle.js.LICENSE.txt +9 -0
- package/dist/2430.76a916ed.iframe.bundle.js.map +1 -0
- package/dist/2651.a65c10a2.iframe.bundle.js +32 -0
- package/dist/2651.a65c10a2.iframe.bundle.js.LICENSE.txt +3 -0
- package/dist/2651.a65c10a2.iframe.bundle.js.map +1 -0
- package/dist/2775.413eaf01.iframe.bundle.js +95 -0
- package/dist/2775.413eaf01.iframe.bundle.js.LICENSE.txt +1 -0
- package/dist/2775.413eaf01.iframe.bundle.js.map +1 -0
- package/dist/3036.3c485dfb.iframe.bundle.js +74 -0
- package/dist/3036.3c485dfb.iframe.bundle.js.LICENSE.txt +11 -0
- package/dist/3036.3c485dfb.iframe.bundle.js.map +1 -0
- package/dist/3101.b54507da.iframe.bundle.js +34 -0
- package/dist/3101.b54507da.iframe.bundle.js.LICENSE.txt +17 -0
- package/dist/3101.b54507da.iframe.bundle.js.map +1 -0
- package/dist/3291.46f0da2c.iframe.bundle.js +154 -0
- package/dist/3291.46f0da2c.iframe.bundle.js.LICENSE.txt +27 -0
- package/dist/3291.46f0da2c.iframe.bundle.js.map +1 -0
- package/dist/3439.e396f833.iframe.bundle.js +39 -0
- package/dist/3439.e396f833.iframe.bundle.js.LICENSE.txt +17 -0
- package/dist/3439.e396f833.iframe.bundle.js.map +1 -0
- package/dist/363.7e851a75.iframe.bundle.js +100 -0
- package/dist/363.7e851a75.iframe.bundle.js.LICENSE.txt +17 -0
- package/dist/363.7e851a75.iframe.bundle.js.map +1 -0
- package/dist/3637.2db59d09.iframe.bundle.js +122 -0
- package/dist/3637.2db59d09.iframe.bundle.js.LICENSE.txt +1 -0
- package/dist/3637.2db59d09.iframe.bundle.js.map +1 -0
- package/dist/3691.770351cb.iframe.bundle.js +41 -0
- package/dist/3691.770351cb.iframe.bundle.js.LICENSE.txt +1 -0
- package/dist/3691.770351cb.iframe.bundle.js.map +1 -0
- package/dist/3785.67a185ab.iframe.bundle.js +61 -0
- package/dist/3785.67a185ab.iframe.bundle.js.LICENSE.txt +17 -0
- package/dist/3785.67a185ab.iframe.bundle.js.map +1 -0
- package/dist/3947.bc4e514f.iframe.bundle.js +1 -0
- package/dist/4236.63c1f97a.iframe.bundle.js +29 -0
- package/dist/4236.63c1f97a.iframe.bundle.js.LICENSE.txt +19 -0
- package/dist/4236.63c1f97a.iframe.bundle.js.map +1 -0
- package/dist/4373.0c4f5d04.iframe.bundle.js +16 -0
- package/dist/4373.0c4f5d04.iframe.bundle.js.LICENSE.txt +19 -0
- package/dist/4373.0c4f5d04.iframe.bundle.js.map +1 -0
- package/dist/4437.9ada9a22.iframe.bundle.js +58 -0
- package/dist/4437.9ada9a22.iframe.bundle.js.LICENSE.txt +17 -0
- package/dist/4437.9ada9a22.iframe.bundle.js.map +1 -0
- package/dist/4708.7efb930a.iframe.bundle.js +384 -0
- package/dist/4708.7efb930a.iframe.bundle.js.LICENSE.txt +11 -0
- package/dist/4708.7efb930a.iframe.bundle.js.map +1 -0
- package/dist/4834.85ea49e7.iframe.bundle.js +10 -0
- package/dist/4834.85ea49e7.iframe.bundle.js.LICENSE.txt +7 -0
- package/dist/4834.85ea49e7.iframe.bundle.js.map +1 -0
- package/dist/491.06d00ed1.iframe.bundle.js +7 -0
- package/dist/491.06d00ed1.iframe.bundle.js.LICENSE.txt +1 -0
- package/dist/491.06d00ed1.iframe.bundle.js.map +1 -0
- package/dist/5268.a689c28c.iframe.bundle.js +77 -0
- package/dist/5268.a689c28c.iframe.bundle.js.LICENSE.txt +1 -0
- package/dist/5268.a689c28c.iframe.bundle.js.map +1 -0
- package/dist/5297.31b66a0f.iframe.bundle.js +14 -0
- package/dist/5297.31b66a0f.iframe.bundle.js.LICENSE.txt +1 -0
- package/dist/5297.31b66a0f.iframe.bundle.js.map +1 -0
- package/dist/5650.d19f1a30.iframe.bundle.js +50 -0
- package/dist/5650.d19f1a30.iframe.bundle.js.LICENSE.txt +7 -0
- package/dist/5650.d19f1a30.iframe.bundle.js.map +1 -0
- package/dist/601.12dcf157.iframe.bundle.js +31 -0
- package/dist/601.12dcf157.iframe.bundle.js.LICENSE.txt +23 -0
- package/dist/601.12dcf157.iframe.bundle.js.map +1 -0
- package/dist/6365.f80134b6.iframe.bundle.js +1 -0
- package/dist/6663.aaba4217.iframe.bundle.js +45 -0
- package/dist/6663.aaba4217.iframe.bundle.js.LICENSE.txt +27 -0
- package/dist/6663.aaba4217.iframe.bundle.js.map +1 -0
- package/dist/7315.bb86dd95.iframe.bundle.js +411 -0
- package/dist/7315.bb86dd95.iframe.bundle.js.LICENSE.txt +53 -0
- package/dist/7315.bb86dd95.iframe.bundle.js.map +1 -0
- package/dist/7335.4a66fba6.iframe.bundle.js +40 -0
- package/dist/7335.4a66fba6.iframe.bundle.js.LICENSE.txt +1 -0
- package/dist/7335.4a66fba6.iframe.bundle.js.map +1 -0
- package/dist/7391.f3784a10.iframe.bundle.js +88 -0
- package/dist/7391.f3784a10.iframe.bundle.js.LICENSE.txt +19 -0
- package/dist/7391.f3784a10.iframe.bundle.js.map +1 -0
- package/dist/7393.dc194bbc.iframe.bundle.js +19 -0
- package/dist/7393.dc194bbc.iframe.bundle.js.LICENSE.txt +1 -0
- package/dist/7393.dc194bbc.iframe.bundle.js.map +1 -0
- package/dist/756.70269a50.iframe.bundle.js +149 -0
- package/dist/756.70269a50.iframe.bundle.js.LICENSE.txt +7 -0
- package/dist/756.70269a50.iframe.bundle.js.map +1 -0
- package/dist/7670.ac57810c.iframe.bundle.js +22 -0
- package/dist/7670.ac57810c.iframe.bundle.js.LICENSE.txt +11 -0
- package/dist/7670.ac57810c.iframe.bundle.js.map +1 -0
- package/dist/7696.dd1022d9.iframe.bundle.js +33 -0
- package/dist/7696.dd1022d9.iframe.bundle.js.LICENSE.txt +9 -0
- package/dist/7696.dd1022d9.iframe.bundle.js.map +1 -0
- package/dist/8081.b9d9cb77.iframe.bundle.js +40 -0
- package/dist/8081.b9d9cb77.iframe.bundle.js.LICENSE.txt +17 -0
- package/dist/8081.b9d9cb77.iframe.bundle.js.map +1 -0
- package/dist/819.eddb0860.iframe.bundle.js +37 -0
- package/dist/819.eddb0860.iframe.bundle.js.LICENSE.txt +7 -0
- package/dist/819.eddb0860.iframe.bundle.js.map +1 -0
- package/dist/8302.5b1417d1.iframe.bundle.js +17 -0
- package/dist/8302.5b1417d1.iframe.bundle.js.LICENSE.txt +9 -0
- package/dist/8302.5b1417d1.iframe.bundle.js.map +1 -0
- package/dist/8391.5087e547.iframe.bundle.js +45 -0
- package/dist/8391.5087e547.iframe.bundle.js.LICENSE.txt +1 -0
- package/dist/8391.5087e547.iframe.bundle.js.map +1 -0
- package/dist/8479.bb1c609b.iframe.bundle.js +143 -0
- package/dist/8479.bb1c609b.iframe.bundle.js.LICENSE.txt +17 -0
- package/dist/8479.bb1c609b.iframe.bundle.js.map +1 -0
- package/dist/8501.529e0356.iframe.bundle.js +44 -0
- package/dist/8501.529e0356.iframe.bundle.js.map +1 -0
- package/dist/8954.912ef488.iframe.bundle.js +1 -0
- package/dist/9179.ac7b0012.iframe.bundle.js +2 -0
- package/dist/9179.ac7b0012.iframe.bundle.js.LICENSE.txt +11 -0
- package/dist/9509.e325022a.iframe.bundle.js +134 -0
- package/dist/9509.e325022a.iframe.bundle.js.LICENSE.txt +16 -0
- package/dist/9509.e325022a.iframe.bundle.js.map +1 -0
- package/dist/9718.8a11f8ef.iframe.bundle.js +42 -0
- package/dist/9718.8a11f8ef.iframe.bundle.js.LICENSE.txt +9 -0
- package/dist/9718.8a11f8ef.iframe.bundle.js.map +1 -0
- package/dist/9965.941f7678.iframe.bundle.js +2 -0
- package/dist/9965.941f7678.iframe.bundle.js.LICENSE.txt +17 -0
- package/dist/FormExample-FormExample-stories.47c14f78.iframe.bundle.js +12 -0
- package/dist/FormExample-FormExample-stories.47c14f78.iframe.bundle.js.LICENSE.txt +9 -0
- package/dist/FormExample-FormExample-stories.47c14f78.iframe.bundle.js.map +1 -0
- package/dist/IconDescription-IconDescription-stories.4990e0f1.iframe.bundle.js +2 -0
- package/dist/IconDescription-IconDescription-stories.4990e0f1.iframe.bundle.js.LICENSE.txt +15 -0
- package/dist/components-Accordion-Accordion-stories.87e320e0.iframe.bundle.js +6 -0
- package/dist/components-Accordion-Accordion-stories.87e320e0.iframe.bundle.js.map +1 -0
- package/dist/components-AccordionItem-AccordionItem-stories.b276d34d.iframe.bundle.js +1 -0
- package/dist/components-Alert-Alert-stories.d729c5ea.iframe.bundle.js +1 -0
- package/dist/components-Badge-Badge-stories.30432d36.iframe.bundle.js +2 -0
- package/dist/components-Badge-Badge-stories.30432d36.iframe.bundle.js.LICENSE.txt +5 -0
- package/dist/components-Band-Band-stories.2161050b.iframe.bundle.js +7 -0
- package/dist/components-Band-Band-stories.2161050b.iframe.bundle.js.LICENSE.txt +5 -0
- package/dist/components-Band-Band-stories.2161050b.iframe.bundle.js.map +1 -0
- package/dist/components-Breadcrumbs-Breadcrumbs-stories.d35757c0.iframe.bundle.js +1 -0
- package/dist/components-Button-Button-stories.c2555213.iframe.bundle.js +12 -0
- package/dist/components-Button-Button-stories.c2555213.iframe.bundle.js.LICENSE.txt +15 -0
- package/dist/components-Button-Button-stories.c2555213.iframe.bundle.js.map +1 -0
- package/dist/components-ButtonGroup-ButtonGroup-stories.bcbd82fe.iframe.bundle.js +7 -0
- package/dist/components-ButtonGroup-ButtonGroup-stories.bcbd82fe.iframe.bundle.js.LICENSE.txt +15 -0
- package/dist/components-ButtonGroup-ButtonGroup-stories.bcbd82fe.iframe.bundle.js.map +1 -0
- package/dist/components-Card-Card-stories.09ae133f.iframe.bundle.js +10 -0
- package/dist/components-Card-Card-stories.09ae133f.iframe.bundle.js.map +1 -0
- package/dist/components-CheckboxField-CheckboxField-stories.66c8b9c4.iframe.bundle.js +1 -0
- package/dist/components-CheckboxFieldItem-CheckboxFieldItem-stories.4a1d15d6.iframe.bundle.js +11 -0
- package/dist/components-CheckboxFieldItem-CheckboxFieldItem-stories.4a1d15d6.iframe.bundle.js.map +1 -0
- package/dist/components-DangerButton-DangerButton-stories.494c83e0.iframe.bundle.js +1 -0
- package/dist/components-DatePicker-DatePicker-stories.1af92997.iframe.bundle.js +1 -0
- package/dist/components-Divider-Divider-stories.9f3a8c4b.iframe.bundle.js +2 -0
- package/dist/components-Divider-Divider-stories.9f3a8c4b.iframe.bundle.js.LICENSE.txt +15 -0
- package/dist/components-Dropdown-Dropdown-stories.88036064.iframe.bundle.js +11 -0
- package/dist/components-Dropdown-Dropdown-stories.88036064.iframe.bundle.js.map +1 -0
- package/dist/components-DropdownItem-DropdownItem-stories.395bf901.iframe.bundle.js +11 -0
- package/dist/components-DropdownItem-DropdownItem-stories.395bf901.iframe.bundle.js.map +1 -0
- package/dist/components-Feature-Feature-stories.52af30ee.iframe.bundle.js +12 -0
- package/dist/components-Feature-Feature-stories.52af30ee.iframe.bundle.js.LICENSE.txt +5 -0
- package/dist/components-Feature-Feature-stories.52af30ee.iframe.bundle.js.map +1 -0
- package/dist/components-Field-Field-stories.0a3ae08d.iframe.bundle.js +1 -0
- package/dist/components-FieldNote-FieldNote-stories.7b1ef9bd.iframe.bundle.js +1 -0
- package/dist/components-Footer-Footer-stories.c1c1b128.iframe.bundle.js +21 -0
- package/dist/components-Footer-Footer-stories.c1c1b128.iframe.bundle.js.LICENSE.txt +5 -0
- package/dist/components-Footer-Footer-stories.c1c1b128.iframe.bundle.js.map +1 -0
- package/dist/components-GlobalNav-GlobalNav-stories.8f7844b3.iframe.bundle.js +1 -0
- package/dist/components-Grid-Grid-stories.b8773f1b.iframe.bundle.js +7 -0
- package/dist/components-Grid-Grid-stories.b8773f1b.iframe.bundle.js.LICENSE.txt +5 -0
- package/dist/components-Grid-Grid-stories.b8773f1b.iframe.bundle.js.map +1 -0
- package/dist/components-GridItem-GridItem-stories.0b44faac.iframe.bundle.js +7 -0
- package/dist/components-GridItem-GridItem-stories.0b44faac.iframe.bundle.js.LICENSE.txt +5 -0
- package/dist/components-GridItem-GridItem-stories.0b44faac.iframe.bundle.js.map +1 -0
- package/dist/components-Header-Header-stories.0e3d83f4.iframe.bundle.js +25 -0
- package/dist/components-Header-Header-stories.0e3d83f4.iframe.bundle.js.LICENSE.txt +5 -0
- package/dist/components-Header-Header-stories.0e3d83f4.iframe.bundle.js.map +1 -0
- package/dist/components-Heading-Heading-stories.ded5767a.iframe.bundle.js +1 -0
- package/dist/components-Hero-Hero-stories.822d6020.iframe.bundle.js +12 -0
- package/dist/components-Hero-Hero-stories.822d6020.iframe.bundle.js.LICENSE.txt +5 -0
- package/dist/components-Hero-Hero-stories.822d6020.iframe.bundle.js.map +1 -0
- package/dist/components-Icon-Icon-stories.5bb1d556.iframe.bundle.js +2 -0
- package/dist/components-Icon-Icon-stories.5bb1d556.iframe.bundle.js.LICENSE.txt +15 -0
- package/dist/components-InlineAlert-InlineAlert-stories.c50a6d2d.iframe.bundle.js +1 -0
- package/dist/components-Layout-Layout-stories.e3d535e2.iframe.bundle.js +7 -0
- package/dist/components-Layout-Layout-stories.e3d535e2.iframe.bundle.js.LICENSE.txt +5 -0
- package/dist/components-Layout-Layout-stories.e3d535e2.iframe.bundle.js.map +1 -0
- package/dist/components-LayoutContainer-LayoutContainer-stories.e3175f53.iframe.bundle.js +1 -0
- package/dist/components-LinelengthContainer-LinelengthContainer-stories.9f6933a8.iframe.bundle.js +7 -0
- package/dist/components-LinelengthContainer-LinelengthContainer-stories.9f6933a8.iframe.bundle.js.LICENSE.txt +5 -0
- package/dist/components-LinelengthContainer-LinelengthContainer-stories.9f6933a8.iframe.bundle.js.map +1 -0
- package/dist/components-Link-Link-stories.5b98fd05.iframe.bundle.js +1 -0
- package/dist/components-LinkList-LinkList-stories.69a0474b.iframe.bundle.js +7 -0
- package/dist/components-LinkList-LinkList-stories.69a0474b.iframe.bundle.js.LICENSE.txt +5 -0
- package/dist/components-LinkList-LinkList-stories.69a0474b.iframe.bundle.js.map +1 -0
- package/dist/components-LoadingSpinner-LoadingSpinner-stories.f94328ee.iframe.bundle.js +34 -0
- package/dist/components-LoadingSpinner-LoadingSpinner-stories.f94328ee.iframe.bundle.js.LICENSE.txt +5 -0
- package/dist/components-LoadingSpinner-LoadingSpinner-stories.f94328ee.iframe.bundle.js.map +1 -0
- package/dist/components-Logo-Logo-stories.b3654888.iframe.bundle.js +7 -0
- package/dist/components-Logo-Logo-stories.b3654888.iframe.bundle.js.LICENSE.txt +5 -0
- package/dist/components-Logo-Logo-stories.b3654888.iframe.bundle.js.map +1 -0
- package/dist/components-Main-Main-stories.9a12d321.iframe.bundle.js +2 -0
- package/dist/components-Main-Main-stories.9a12d321.iframe.bundle.js.LICENSE.txt +5 -0
- package/dist/components-Modal-Modal-stories.ca4101cd.iframe.bundle.js +1 -0
- package/dist/components-MultiSelect-MultiSelect-stories.cf7b313f.iframe.bundle.js +1 -0
- package/dist/components-NavContainer-NavContainer-stories.e21c73f9.iframe.bundle.js +7 -0
- package/dist/components-NavContainer-NavContainer-stories.e21c73f9.iframe.bundle.js.LICENSE.txt +5 -0
- package/dist/components-NavContainer-NavContainer-stories.e21c73f9.iframe.bundle.js.map +1 -0
- package/dist/components-Pagination-Pagination-stories.9460bc98.iframe.bundle.js +1 -0
- package/dist/components-PercentBar-PercentBar-stories.3687c487.iframe.bundle.js +1 -0
- package/dist/components-Popover-Popover-stories.b48602d0.iframe.bundle.js +1 -0
- package/dist/components-PrimaryNav-PrimaryNav-stories.3ae17810.iframe.bundle.js +1 -0
- package/dist/components-ProgressMeter-ProgressMeter-stories.14b731fa.iframe.bundle.js +16 -0
- package/dist/components-ProgressMeter-ProgressMeter-stories.14b731fa.iframe.bundle.js.LICENSE.txt +5 -0
- package/dist/components-ProgressMeter-ProgressMeter-stories.14b731fa.iframe.bundle.js.map +1 -0
- package/dist/components-ProgressSteps-ProgressSteps-stories.95d6bec4.iframe.bundle.js +5 -0
- package/dist/components-ProgressSteps-ProgressSteps-stories.95d6bec4.iframe.bundle.js.LICENSE.txt +15 -0
- package/dist/components-ProgressSteps-ProgressSteps-stories.95d6bec4.iframe.bundle.js.map +1 -0
- package/dist/components-ProgressStepsItem-ProgressStepsItem-stories.373f4343.iframe.bundle.js +15 -0
- package/dist/components-ProgressStepsItem-ProgressStepsItem-stories.373f4343.iframe.bundle.js.LICENSE.txt +5 -0
- package/dist/components-ProgressStepsItem-ProgressStepsItem-stories.373f4343.iframe.bundle.js.map +1 -0
- package/dist/components-RadioField-RadioField-stories.6db8ba79.iframe.bundle.js +1 -0
- package/dist/components-RadioFieldItem-RadioFieldItem-stories.fc73e3cd.iframe.bundle.js +11 -0
- package/dist/components-RadioFieldItem-RadioFieldItem-stories.fc73e3cd.iframe.bundle.js.map +1 -0
- package/dist/components-RemoveTag-RemoveTag-stories.07a3bcf2.iframe.bundle.js +1 -0
- package/dist/components-Section-Section-stories.2c063a15.iframe.bundle.js +14 -0
- package/dist/components-Section-Section-stories.2c063a15.iframe.bundle.js.map +1 -0
- package/dist/components-Select-Select-stories.0e731c71.iframe.bundle.js +1 -0
- package/dist/components-SelectTile-SelectTile-stories.9e5c8385.iframe.bundle.js +1 -0
- package/dist/components-SelectTileList-SelectTileList-stories.81884776.iframe.bundle.js +1 -0
- package/dist/components-SkeletonLoader-SkeletonLoader-stories.0bc220e2.iframe.bundle.js +8 -0
- package/dist/components-SkeletonLoader-SkeletonLoader-stories.0bc220e2.iframe.bundle.js.LICENSE.txt +5 -0
- package/dist/components-SkeletonLoader-SkeletonLoader-stories.0bc220e2.iframe.bundle.js.map +1 -0
- package/dist/components-SplitButton-SplitButton-stories.a264b26f.iframe.bundle.js +1 -0
- package/dist/components-Submenu-Submenu-stories.bc484944.iframe.bundle.js +1 -0
- package/dist/components-Table-Table-stories.6630d1bb.iframe.bundle.js +1 -0
- package/dist/components-TableObject-TableObject-stories.48cf0dd2.iframe.bundle.js +19 -0
- package/dist/components-TableObject-TableObject-stories.48cf0dd2.iframe.bundle.js.LICENSE.txt +5 -0
- package/dist/components-TableObject-TableObject-stories.48cf0dd2.iframe.bundle.js.map +1 -0
- package/dist/components-Tabs-Tabs-stories.7c5511a5.iframe.bundle.js +1 -0
- package/dist/components-Tag-Tag-stories.1b4c1f9c.iframe.bundle.js +11 -0
- package/dist/components-Tag-Tag-stories.1b4c1f9c.iframe.bundle.js.map +1 -0
- package/dist/components-TagList-TagList-stories.4bd84377.iframe.bundle.js +9 -0
- package/dist/components-TagList-TagList-stories.4bd84377.iframe.bundle.js.map +1 -0
- package/dist/components-TertiaryNav-TertiaryNav-stories.68198b73.iframe.bundle.js +1 -0
- package/dist/components-TextLink-TextLink-stories.3a23a93c.iframe.bundle.js +1 -0
- package/dist/components-TextPassage-TextPassage-stories.ed486e41.iframe.bundle.js +1 -0
- package/dist/components-Tooltip-Tooltip-stories.2ddcc0c9.iframe.bundle.js +1 -0
- package/dist/components-UtilityNav-UtilityNav-stories.64323cd2.iframe.bundle.js +1 -0
- package/dist/components-VerticalCard-VerticalCard-stories.d8fb45da.iframe.bundle.js +7 -0
- package/dist/components-VerticalCard-VerticalCard-stories.d8fb45da.iframe.bundle.js.LICENSE.txt +5 -0
- package/dist/components-VerticalCard-VerticalCard-stories.d8fb45da.iframe.bundle.js.map +1 -0
- package/dist/cre8.png +0 -0
- package/dist/favicon.ico +0 -0
- package/dist/favicon.svg +7 -0
- package/dist/icons/leaf-icons.svg +354 -0
- package/dist/iframe.html +355 -0
- package/dist/index.html +180 -0
- package/dist/index.json +1 -0
- package/dist/leaf-icons.svg +361 -0
- package/dist/leaf.png +0 -0
- package/dist/logo192.png +0 -0
- package/dist/logo512.png +0 -0
- package/dist/main.9033c572.iframe.bundle.js +1 -0
- package/dist/manifest.json +25 -0
- package/dist/project.json +1 -0
- package/dist/robots.txt +3 -0
- package/dist/runtime~main.4adfa266.iframe.bundle.js +1 -0
- package/dist/sb-addons/a11y-0/manager-bundle.js +3 -0
- package/dist/sb-addons/a11y-0/manager-bundle.js.LEGAL.txt +0 -0
- package/dist/sb-addons/essentials-actions-3/manager-bundle.js +3 -0
- package/dist/sb-addons/essentials-actions-3/manager-bundle.js.LEGAL.txt +0 -0
- package/dist/sb-addons/essentials-backgrounds-4/manager-bundle.js +12 -0
- package/dist/sb-addons/essentials-backgrounds-4/manager-bundle.js.LEGAL.txt +0 -0
- package/dist/sb-addons/essentials-controls-2/manager-bundle.js +62 -0
- package/dist/sb-addons/essentials-controls-2/manager-bundle.js.LEGAL.txt +18 -0
- package/dist/sb-addons/essentials-measure-7/manager-bundle.js +3 -0
- package/dist/sb-addons/essentials-measure-7/manager-bundle.js.LEGAL.txt +0 -0
- package/dist/sb-addons/essentials-outline-8/manager-bundle.js +3 -0
- package/dist/sb-addons/essentials-outline-8/manager-bundle.js.LEGAL.txt +0 -0
- package/dist/sb-addons/essentials-toolbars-6/manager-bundle.js +3 -0
- package/dist/sb-addons/essentials-toolbars-6/manager-bundle.js.LEGAL.txt +0 -0
- package/dist/sb-addons/essentials-viewport-5/manager-bundle.js +3 -0
- package/dist/sb-addons/essentials-viewport-5/manager-bundle.js.LEGAL.txt +0 -0
- package/dist/sb-addons/etchteam-css-variables-theme-10/register-bundle.js +3 -0
- package/dist/sb-addons/etchteam-css-variables-theme-10/register-bundle.js.LEGAL.txt +0 -0
- package/dist/sb-addons/etchteam-status-9/register-bundle.js +45 -0
- package/dist/sb-addons/etchteam-status-9/register-bundle.js.LEGAL.txt +11 -0
- package/dist/sb-addons/links-1/manager-bundle.js +3 -0
- package/dist/sb-addons/links-1/manager-bundle.js.LEGAL.txt +0 -0
- package/dist/sb-addons/storybook-11/manager-bundle.js +2 -0
- package/dist/sb-addons/storybook-11/manager-bundle.js.LEGAL.txt +0 -0
- package/dist/sb-common-assets/fonts.css +31 -0
- package/dist/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
- package/dist/sb-common-assets/nunito-sans-bold.woff2 +0 -0
- package/dist/sb-common-assets/nunito-sans-italic.woff2 +0 -0
- package/dist/sb-common-assets/nunito-sans-regular.woff2 +0 -0
- package/dist/sb-manager/WithTooltip-V3YHNWJZ-MXTFSDU5.js +1 -0
- package/dist/sb-manager/chunk-5QAFKPS7.js +7 -0
- package/dist/sb-manager/chunk-7PRFHFSS.js +9 -0
- package/dist/sb-manager/chunk-XE6LDGTE.js +406 -0
- package/dist/sb-manager/chunk-YDUB7CS6.js +348 -0
- package/dist/sb-manager/chunk-ZEU7PDD3.js +1 -0
- package/dist/sb-manager/formatter-SWP5E3XI-7BGIK6BL.js +156 -0
- package/dist/sb-manager/globals-module-info.js +1 -0
- package/dist/sb-manager/globals.js +1 -0
- package/dist/sb-manager/index.js +1 -0
- package/dist/sb-manager/runtime.js +1 -0
- package/dist/sb-manager/syntaxhighlighter-MJWPISIS-JOSCT6CQ.js +1 -0
- package/dist/sb-preview/globals.js +1 -0
- package/dist/sb-preview/runtime.js +112 -0
- package/dist/static/cre8.png +0 -0
- package/dist/static/media/Inter-Bold.74a86207.woff2 +0 -0
- package/dist/static/media/Inter-Bold.9798f872.woff +0 -0
- package/dist/static/media/Inter-Medium.19e05b22.woff2 +0 -0
- package/dist/static/media/Inter-Medium.f82ab8bb.woff +0 -0
- package/dist/static/media/Inter-Regular.8b64ee13.woff +0 -0
- package/dist/static/media/Inter-Regular.e976b847.woff2 +0 -0
- package/dist/static/media/Inter-SemiBold.5c799380.woff +0 -0
- package/dist/static/media/Inter-SemiBold.d873c5ea.woff2 +0 -0
- package/dist/static/media/Montserrat-Bold.2c155811.ttf +0 -0
- package/dist/static/media/Montserrat-Medium.c86e3b90.ttf +0 -0
- package/dist/static/media/Montserrat-Regular.ceb11275.ttf +0 -0
- package/dist/static/media/Montserrat-SemiBold.d5e0cc78.ttf +0 -0
- package/dist/static/media/OpenSans-Bold.c790f999.ttf +0 -0
- package/dist/static/media/OpenSans-Regular.b8cc747a.ttf +0 -0
- package/dist/static/media/OpenSans-SemiBold.c7ab78a5.ttf +0 -0
- package/dist/static/media/ValueSans-Bold-Pro.eec33f26.woff2 +0 -0
- package/dist/static/media/ValueSans-Medium-Pro.6d2083ed.woff2 +0 -0
- package/dist/static/media/ValueSansRegular-Pro.0c12e353.woff2 +0 -0
- package/dist/static/media/ValueSerif-Bold-Pro.d0edd4fc.woff2 +0 -0
- package/dist/static/media/rubik-v4-latin-300.87f5fe4b.woff2 +0 -0
- package/dist/static/media/rubik-v4-latin-300.a24f5443.woff +0 -0
- package/dist/static/media/rubik-v4-latin-500.949f1fae.woff2 +0 -0
- package/dist/static/media/rubik-v4-latin-500.b5c7aef7.woff +0 -0
- package/dist/static/media/rubik-v4-latin-regular.b846849f.woff2 +0 -0
- package/dist/static/media/rubik-v4-latin-regular.d3088a50.woff +0 -0
- package/dist/stories.json +1 -0
- package/lib/components/Accordion/Accordion.d.ts +12 -0
- package/lib/components/Accordion/Accordion.js +18 -0
- package/lib/components/Accordion/index.d.ts +1 -0
- package/lib/components/Accordion/index.js +1 -0
- package/lib/components/AccordionItem/AccordionItem.d.ts +25 -0
- package/lib/components/AccordionItem/AccordionItem.js +31 -0
- package/lib/components/AccordionItem/index.d.ts +1 -0
- package/lib/components/AccordionItem/index.js +1 -0
- package/lib/components/Alert/Alert.d.ts +16 -0
- package/lib/components/Alert/Alert.js +22 -0
- package/lib/components/Alert/index.d.ts +1 -0
- package/lib/components/Alert/index.js +1 -0
- package/lib/components/Badge/Badge.d.ts +7 -0
- package/lib/components/Badge/Badge.js +13 -0
- package/lib/components/Badge/index.d.ts +1 -0
- package/lib/components/Badge/index.js +1 -0
- package/lib/components/Band/Band.d.ts +2 -0
- package/lib/components/Band/Band.js +8 -0
- package/lib/components/Band/index.d.ts +1 -0
- package/lib/components/Band/index.js +1 -0
- package/lib/components/Breadcrumbs/Breadcrumbs.d.ts +17 -0
- package/lib/components/Breadcrumbs/Breadcrumbs.js +23 -0
- package/lib/components/Breadcrumbs/index.d.ts +1 -0
- package/lib/components/Breadcrumbs/index.js +1 -0
- package/lib/components/BreadcrumbsItem/BreadcrumbsItem.d.ts +2 -0
- package/lib/components/BreadcrumbsItem/BreadcrumbsItem.js +8 -0
- package/lib/components/BreadcrumbsItem/index.d.ts +1 -0
- package/lib/components/BreadcrumbsItem/index.js +1 -0
- package/lib/components/Button/Button.d.ts +68 -0
- package/lib/components/Button/Button.js +74 -0
- package/lib/components/Button/index.d.ts +1 -0
- package/lib/components/Button/index.js +1 -0
- package/lib/components/ButtonGroup/ButtonGroup.d.ts +2 -0
- package/lib/components/ButtonGroup/ButtonGroup.js +8 -0
- package/lib/components/ButtonGroup/index.d.ts +1 -0
- package/lib/components/ButtonGroup/index.js +1 -0
- package/lib/components/Card/Card.d.ts +13 -0
- package/lib/components/Card/Card.js +19 -0
- package/lib/components/Card/index.d.ts +1 -0
- package/lib/components/Card/index.js +1 -0
- package/lib/components/CheckboxField/CheckboxField.d.ts +2 -0
- package/lib/components/CheckboxField/CheckboxField.js +8 -0
- package/lib/components/CheckboxField/index.d.ts +1 -0
- package/lib/components/CheckboxField/index.js +1 -0
- package/lib/components/CheckboxFieldItem/CheckboxFieldItem.d.ts +9 -0
- package/lib/components/CheckboxFieldItem/CheckboxFieldItem.js +14 -0
- package/lib/components/CheckboxFieldItem/index.d.ts +1 -0
- package/lib/components/CheckboxFieldItem/index.js +1 -0
- package/lib/components/DangerButton/DangerButton.d.ts +2 -0
- package/lib/components/DangerButton/DangerButton.js +8 -0
- package/lib/components/DangerButton/index.d.ts +1 -0
- package/lib/components/DangerButton/index.js +1 -0
- package/lib/components/DatePicker/DatePicker.d.ts +11 -0
- package/lib/components/DatePicker/DatePicker.js +16 -0
- package/lib/components/DatePicker/index.d.ts +1 -0
- package/lib/components/DatePicker/index.js +1 -0
- package/lib/components/Divider/Divider.d.ts +13 -0
- package/lib/components/Divider/Divider.js +19 -0
- package/lib/components/Divider/index.d.ts +1 -0
- package/lib/components/Divider/index.js +1 -0
- package/lib/components/Dropdown/Dropdown.d.ts +10 -0
- package/lib/components/Dropdown/Dropdown.js +14 -0
- package/lib/components/Dropdown/index.d.ts +1 -0
- package/lib/components/Dropdown/index.js +1 -0
- package/lib/components/DropdownItem/DropdownItem.d.ts +11 -0
- package/lib/components/DropdownItem/DropdownItem.js +16 -0
- package/lib/components/DropdownItem/index.d.ts +1 -0
- package/lib/components/DropdownItem/index.js +1 -0
- package/lib/components/Feature/Feature.d.ts +2 -0
- package/lib/components/Feature/Feature.js +8 -0
- package/lib/components/Feature/index.d.ts +1 -0
- package/lib/components/Feature/index.js +1 -0
- package/lib/components/Field/Field.d.ts +10 -0
- package/lib/components/Field/Field.js +15 -0
- package/lib/components/Field/index.d.ts +1 -0
- package/lib/components/Field/index.js +1 -0
- package/lib/components/FieldNote/FieldNote.d.ts +6 -0
- package/lib/components/FieldNote/FieldNote.js +12 -0
- package/lib/components/FieldNote/index.d.ts +1 -0
- package/lib/components/FieldNote/index.js +1 -0
- package/lib/components/Footer/Footer.d.ts +2 -0
- package/lib/components/Footer/Footer.js +8 -0
- package/lib/components/Footer/index.d.ts +1 -0
- package/lib/components/Footer/index.js +1 -0
- package/lib/components/GlobalNav/GlobalNav.d.ts +2 -0
- package/lib/components/GlobalNav/GlobalNav.js +8 -0
- package/lib/components/GlobalNav/index.d.ts +1 -0
- package/lib/components/GlobalNav/index.js +1 -0
- package/lib/components/GlobalNavItem/GlobalNavItem.d.ts +2 -0
- package/lib/components/GlobalNavItem/GlobalNavItem.js +8 -0
- package/lib/components/GlobalNavItem/index.d.ts +1 -0
- package/lib/components/GlobalNavItem/index.js +1 -0
- package/lib/components/Grid/Grid.d.ts +2 -0
- package/lib/components/Grid/Grid.js +8 -0
- package/lib/components/Grid/index.d.ts +1 -0
- package/lib/components/Grid/index.js +1 -0
- package/lib/components/GridItem/GridItem.d.ts +2 -0
- package/lib/components/GridItem/GridItem.js +8 -0
- package/lib/components/GridItem/index.d.ts +1 -0
- package/lib/components/GridItem/index.js +1 -0
- package/lib/components/Header/Header.d.ts +2 -0
- package/lib/components/Header/Header.js +8 -0
- package/lib/components/Header/index.d.ts +1 -0
- package/lib/components/Header/index.js +1 -0
- package/lib/components/Heading/Heading.d.ts +16 -0
- package/lib/components/Heading/Heading.js +22 -0
- package/lib/components/Heading/index.d.ts +1 -0
- package/lib/components/Heading/index.js +1 -0
- package/lib/components/Hero/Hero.d.ts +2 -0
- package/lib/components/Hero/Hero.js +8 -0
- package/lib/components/Hero/index.d.ts +1 -0
- package/lib/components/Hero/index.js +1 -0
- package/lib/components/Icon/Icon.d.ts +16 -0
- package/lib/components/Icon/Icon.js +23 -0
- package/lib/components/Icon/index.d.ts +1 -0
- package/lib/components/Icon/index.js +1 -0
- package/lib/components/InlineAlert/InlineAlert.d.ts +7 -0
- package/lib/components/InlineAlert/InlineAlert.js +13 -0
- package/lib/components/InlineAlert/index.d.ts +1 -0
- package/lib/components/InlineAlert/index.js +1 -0
- package/lib/components/Layout/Layout.d.ts +2 -0
- package/lib/components/Layout/Layout.js +8 -0
- package/lib/components/Layout/index.d.ts +1 -0
- package/lib/components/Layout/index.js +1 -0
- package/lib/components/LayoutContainer/LayoutContainer.d.ts +2 -0
- package/lib/components/LayoutContainer/LayoutContainer.js +8 -0
- package/lib/components/LayoutContainer/index.d.ts +1 -0
- package/lib/components/LayoutContainer/index.js +1 -0
- package/lib/components/LayoutSection/LayoutSection.d.ts +2 -0
- package/lib/components/LayoutSection/LayoutSection.js +8 -0
- package/lib/components/LayoutSection/index.d.ts +1 -0
- package/lib/components/LayoutSection/index.js +1 -0
- package/lib/components/LinelengthContainer/LinelengthContainer.d.ts +2 -0
- package/lib/components/LinelengthContainer/LinelengthContainer.js +8 -0
- package/lib/components/LinelengthContainer/index.d.ts +1 -0
- package/lib/components/LinelengthContainer/index.js +1 -0
- package/lib/components/Link/Link.d.ts +16 -0
- package/lib/components/Link/Link.js +22 -0
- package/lib/components/Link/index.d.ts +1 -0
- package/lib/components/Link/index.js +1 -0
- package/lib/components/LinkList/LinkList.d.ts +2 -0
- package/lib/components/LinkList/LinkList.js +8 -0
- package/lib/components/LinkList/index.d.ts +1 -0
- package/lib/components/LinkList/index.js +1 -0
- package/lib/components/LinkListItem/LinkListItem.d.ts +2 -0
- package/lib/components/LinkListItem/LinkListItem.js +8 -0
- package/lib/components/LinkListItem/index.d.ts +1 -0
- package/lib/components/LinkListItem/index.js +1 -0
- package/lib/components/LoadingSpinner/LoadingSpinner.d.ts +36 -0
- package/lib/components/LoadingSpinner/LoadingSpinner.js +42 -0
- package/lib/components/LoadingSpinner/index.d.ts +1 -0
- package/lib/components/LoadingSpinner/index.js +1 -0
- package/lib/components/Logo/Logo.d.ts +2 -0
- package/lib/components/Logo/Logo.js +8 -0
- package/lib/components/Logo/index.d.ts +1 -0
- package/lib/components/Logo/index.js +1 -0
- package/lib/components/Main/Main.d.ts +2 -0
- package/lib/components/Main/Main.js +8 -0
- package/lib/components/Main/index.d.ts +1 -0
- package/lib/components/Main/index.js +1 -0
- package/lib/components/Modal/Modal.d.ts +8 -0
- package/lib/components/Modal/Modal.js +14 -0
- package/lib/components/Modal/index.d.ts +1 -0
- package/lib/components/Modal/index.js +1 -0
- package/lib/components/MultiSelect/MultiSelect.d.ts +15 -0
- package/lib/components/MultiSelect/MultiSelect.js +20 -0
- package/lib/components/MultiSelect/index.d.ts +1 -0
- package/lib/components/MultiSelect/index.js +1 -0
- package/lib/components/NavContainer/NavContainer.d.ts +2 -0
- package/lib/components/NavContainer/NavContainer.js +8 -0
- package/lib/components/NavContainer/index.d.ts +1 -0
- package/lib/components/NavContainer/index.js +1 -0
- package/lib/components/Pagination/Pagination.d.ts +44 -0
- package/lib/components/Pagination/Pagination.js +50 -0
- package/lib/components/Pagination/index.d.ts +1 -0
- package/lib/components/Pagination/index.js +1 -0
- package/lib/components/PercentBar/PercentBar.d.ts +11 -0
- package/lib/components/PercentBar/PercentBar.js +16 -0
- package/lib/components/PercentBar/index.d.ts +1 -0
- package/lib/components/PercentBar/index.js +1 -0
- package/lib/components/Popover/Popover.d.ts +11 -0
- package/lib/components/Popover/Popover.js +16 -0
- package/lib/components/Popover/index.d.ts +1 -0
- package/lib/components/Popover/index.js +1 -0
- package/lib/components/PrimaryNav/PrimaryNav.d.ts +2 -0
- package/lib/components/PrimaryNav/PrimaryNav.js +8 -0
- package/lib/components/PrimaryNav/index.d.ts +1 -0
- package/lib/components/PrimaryNav/index.js +1 -0
- package/lib/components/PrimaryNavItem/PrimaryNavItem.d.ts +2 -0
- package/lib/components/PrimaryNavItem/PrimaryNavItem.js +8 -0
- package/lib/components/PrimaryNavItem/index.d.ts +1 -0
- package/lib/components/PrimaryNavItem/index.js +1 -0
- package/lib/components/ProgressMeter/ProgressMeter.d.ts +10 -0
- package/lib/components/ProgressMeter/ProgressMeter.js +16 -0
- package/lib/components/ProgressMeter/index.d.ts +1 -0
- package/lib/components/ProgressMeter/index.js +1 -0
- package/lib/components/RadioField/RadioField.d.ts +9 -0
- package/lib/components/RadioField/RadioField.js +15 -0
- package/lib/components/RadioField/index.d.ts +1 -0
- package/lib/components/RadioField/index.js +1 -0
- package/lib/components/RadioFieldItem/RadioFieldItem.d.ts +11 -0
- package/lib/components/RadioFieldItem/RadioFieldItem.js +16 -0
- package/lib/components/RadioFieldItem/index.d.ts +1 -0
- package/lib/components/RadioFieldItem/index.js +1 -0
- package/lib/components/RemoveTag/RemoveTag.d.ts +6 -0
- package/lib/components/RemoveTag/RemoveTag.js +11 -0
- package/lib/components/RemoveTag/index.d.ts +1 -0
- package/lib/components/RemoveTag/index.js +1 -0
- package/lib/components/Section/Section.d.ts +2 -0
- package/lib/components/Section/Section.js +8 -0
- package/lib/components/Section/index.d.ts +1 -0
- package/lib/components/Section/index.js +1 -0
- package/lib/components/Select/Select.d.ts +29 -0
- package/lib/components/Select/Select.js +34 -0
- package/lib/components/Select/index.d.ts +1 -0
- package/lib/components/Select/index.js +1 -0
- package/lib/components/SelectTile/SelectTile.d.ts +10 -0
- package/lib/components/SelectTile/SelectTile.js +15 -0
- package/lib/components/SelectTile/index.d.ts +1 -0
- package/lib/components/SelectTile/index.js +1 -0
- package/lib/components/SelectTileList/SelectTileList.d.ts +2 -0
- package/lib/components/SelectTileList/SelectTileList.js +8 -0
- package/lib/components/SelectTileList/index.d.ts +1 -0
- package/lib/components/SelectTileList/index.js +1 -0
- package/lib/components/SkeletonLoader/SkeletonLoader.d.ts +22 -0
- package/lib/components/SkeletonLoader/SkeletonLoader.js +28 -0
- package/lib/components/SkeletonLoader/index.d.ts +1 -0
- package/lib/components/SkeletonLoader/index.js +1 -0
- package/lib/components/SplitButton/SplitButton.d.ts +2 -0
- package/lib/components/SplitButton/SplitButton.js +8 -0
- package/lib/components/SplitButton/index.d.ts +1 -0
- package/lib/components/SplitButton/index.js +1 -0
- package/lib/components/Submenu/Submenu.d.ts +2 -0
- package/lib/components/Submenu/Submenu.js +8 -0
- package/lib/components/Submenu/index.d.ts +1 -0
- package/lib/components/Submenu/index.js +1 -0
- package/lib/components/SubmenuItem/SubmenuItem.d.ts +2 -0
- package/lib/components/SubmenuItem/SubmenuItem.js +8 -0
- package/lib/components/SubmenuItem/index.d.ts +1 -0
- package/lib/components/SubmenuItem/index.js +1 -0
- package/lib/components/Tab/Tab.d.ts +2 -0
- package/lib/components/Tab/Tab.js +8 -0
- package/lib/components/Tab/index.d.ts +1 -0
- package/lib/components/Tab/index.js +1 -0
- package/lib/components/TabPanel/TabPanel.d.ts +2 -0
- package/lib/components/TabPanel/TabPanel.js +8 -0
- package/lib/components/TabPanel/index.d.ts +1 -0
- package/lib/components/TabPanel/index.js +1 -0
- package/lib/components/Table/Table.d.ts +2 -0
- package/lib/components/Table/Table.js +8 -0
- package/lib/components/Table/index.d.ts +1 -0
- package/lib/components/Table/index.js +1 -0
- package/lib/components/TableBody/TableBody.d.ts +2 -0
- package/lib/components/TableBody/TableBody.js +8 -0
- package/lib/components/TableBody/index.d.ts +1 -0
- package/lib/components/TableBody/index.js +1 -0
- package/lib/components/TableCell/TableCell.d.ts +2 -0
- package/lib/components/TableCell/TableCell.js +8 -0
- package/lib/components/TableCell/index.d.ts +1 -0
- package/lib/components/TableCell/index.js +1 -0
- package/lib/components/TableHeader/TableHeader.d.ts +2 -0
- package/lib/components/TableHeader/TableHeader.js +8 -0
- package/lib/components/TableHeader/index.d.ts +1 -0
- package/lib/components/TableHeader/index.js +1 -0
- package/lib/components/TableHeaderCell/TableHeaderCell.d.ts +2 -0
- package/lib/components/TableHeaderCell/TableHeaderCell.js +8 -0
- package/lib/components/TableHeaderCell/index.d.ts +1 -0
- package/lib/components/TableHeaderCell/index.js +1 -0
- package/lib/components/TableObject/TableObject.d.ts +2 -0
- package/lib/components/TableObject/TableObject.js +8 -0
- package/lib/components/TableObject/index.d.ts +1 -0
- package/lib/components/TableObject/index.js +1 -0
- package/lib/components/TableRow/TableRow.d.ts +2 -0
- package/lib/components/TableRow/TableRow.js +8 -0
- package/lib/components/TableRow/index.d.ts +1 -0
- package/lib/components/TableRow/index.js +1 -0
- package/lib/components/Tabs/Tabs.d.ts +26 -0
- package/lib/components/Tabs/Tabs.js +31 -0
- package/lib/components/Tabs/index.d.ts +1 -0
- package/lib/components/Tabs/index.js +1 -0
- package/lib/components/Tag/Tag.d.ts +18 -0
- package/lib/components/Tag/Tag.js +23 -0
- package/lib/components/Tag/index.d.ts +1 -0
- package/lib/components/Tag/index.js +1 -0
- package/lib/components/TagList/TagList.d.ts +7 -0
- package/lib/components/TagList/TagList.js +13 -0
- package/lib/components/TagList/index.d.ts +1 -0
- package/lib/components/TagList/index.js +1 -0
- package/lib/components/TertiaryNav/TertiaryNav.d.ts +2 -0
- package/lib/components/TertiaryNav/TertiaryNav.js +8 -0
- package/lib/components/TertiaryNav/index.d.ts +1 -0
- package/lib/components/TertiaryNav/index.js +1 -0
- package/lib/components/TertiaryNavItem/TertiaryNavItem.d.ts +2 -0
- package/lib/components/TertiaryNavItem/TertiaryNavItem.js +8 -0
- package/lib/components/TertiaryNavItem/index.d.ts +1 -0
- package/lib/components/TertiaryNavItem/index.js +1 -0
- package/lib/components/TextLink/TextLink.d.ts +2 -0
- package/lib/components/TextLink/TextLink.js +8 -0
- package/lib/components/TextLink/index.d.ts +1 -0
- package/lib/components/TextLink/index.js +1 -0
- package/lib/components/TextPassage/TextPassage.d.ts +2 -0
- package/lib/components/TextPassage/TextPassage.js +8 -0
- package/lib/components/TextPassage/index.d.ts +1 -0
- package/lib/components/TextPassage/index.js +1 -0
- package/lib/components/Tooltip/Tooltip.d.ts +40 -0
- package/lib/components/Tooltip/Tooltip.js +45 -0
- package/lib/components/Tooltip/index.d.ts +1 -0
- package/lib/components/Tooltip/index.js +1 -0
- package/lib/components/UtilityNav/UtilityNav.d.ts +2 -0
- package/lib/components/UtilityNav/UtilityNav.js +8 -0
- package/lib/components/UtilityNav/index.d.ts +1 -0
- package/lib/components/UtilityNav/index.js +1 -0
- package/lib/components/UtilityNavItem/UtilityNavItem.d.ts +2 -0
- package/lib/components/UtilityNavItem/UtilityNavItem.js +8 -0
- package/lib/components/UtilityNavItem/index.d.ts +1 -0
- package/lib/components/UtilityNavItem/index.js +1 -0
- package/lib/index.d.ts +80 -0
- package/lib/index.js +87 -0
- package/lib/util/Cre8DomEvent.d.ts +4 -0
- package/lib/util/Cre8DomEvent.js +1 -0
- package/package.json +102 -0
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_cre8_dev_cre8_react=self.webpackChunk_cre8_dev_cre8_react||[]).push([[715],{"./src/components/Button/Button.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{t:()=>Cre8Button});var _lit_react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/.pnpm/@lit+react@1.0.7_@types+react@18.2.13/node_modules/@lit/react/index.js"),_cre8_dev_cre8_wc_lib_components_button_button__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/.pnpm/@cre8_dev+cre8-wc@1.0.3_webpack@5.98.0/node_modules/@cre8_dev/cre8-wc/lib/components/button/button.js"),react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");const Cre8Button=(0,_lit_react__WEBPACK_IMPORTED_MODULE_0__.a)({react:react__WEBPACK_IMPORTED_MODULE_2__,tagName:"Cre8-button",elementClass:_cre8_dev_cre8_wc_lib_components_button_button__WEBPACK_IMPORTED_MODULE_1__.t});try{Cre8Button.displayName="Cre8Button",Cre8Button.__docgenInfo={description:"The size and state of buttons on the screen serve as visual cues for the user about what they can do and what they should do next. They indicate the availability and priority of the action on the page.\n\n- Buttons are a single call-to-action where a single click performs that action\n- Use buttons when you are performing an action which is almost always on the same page\n- Use a link instead of a button when you're navigating to another place\n\n## How to Use\n\nButtons are distinguished by three key properties:\n\n- **Visual Priority**: Style and size: Primary, Secondary, or Tertiary styles; each with large and small variations\n- **State**: Interaction state: hover/click (press), focus, disabled, and submitting/loading (only for large buttons)\n- **Brand**: Styles determined by the site or component theme\n\n### Usage Guidelines\n\nPrimary, Secondary and Tertiary styles emphasize or de-emphasize an action. They also define\nbackground, font style, and border colors. Large and small sizing assists with visual priority by defining button\nheights, left and right internal padding, and font-size.\n\n#### System Feedback\nEach button has a default and hover/click (press) state that give the user feedback\nthat they have successfully interacted with a button.\nButton presses should always be combined with other types of timely system feedback.\nExamples of system feedback may be a page refresh, exposing additional controls or content,\ndialogs, alerts and notifications.\nIf there is perceived a delay in system response, generally due to technical constraints,\nprovide a progress or loading indicator.\n\n#### Button Text\n\n- Button text should be as short and simple as possible, ideally a maximum of 3 words.\n- Use Title Case for readability.\n- They should not include punctuation (exception: \"Loading...\").\n- They should not be used as an indicator of what happens on the next page, or as a substitute\nfor a progress meter.\n\n#### Button With Icon\n\nFor button with icon:\n- **iconRotateDegree** & **iconFlipDirection** props are optional.\n- They are used to set up the correct dirrection for icons, for example,\narrows, caret up or caret down.\n\n#### Button Styling\n\n- DO use only the styles of the brand you are working on.\n- DO NOT combine styles, even if the page is co-branded.\n\n#### Button Sizes\n- DO always pair like sizes together and maintain the hierarchy of Primary and Secondary/Tertiary.\n- DO NOT mix sizes of buttons when they are used together as a group.\n\n#### Input Pairing\n\nPrimary and Secondary buttons may be paired with input fields.\nOnly one Primary button may appear on each screen.\nUse the Secondary button when there are multiple in-context buttons\nand/or when there is an emphasized page level button.\nWhen used in a form context, the button's `type` needs to be `submit` to pass along form data.\n\n- DO use only large buttons with input fields.\n- DO NOT use small buttons with input fields.",displayName:"Cre8Button",props:{size:{defaultValue:null,description:"Size variants add another way to increase or decrease visual priority of a button.\n- **sm** Shrinks the button typography and overall size from the default. Use when vertical space is constrained.\n- **md** This is the default value for the size.\n- **lg** Increases the button typography and overall size from the default.",name:"size",required:!1,type:{name:"enum",value:[{value:'"sm"'},{value:'"lg"'},{value:'"md"'}]}},rel:{defaultValue:null,description:"Rel if this is an <a> element - this swaps <button> for <a>",name:"rel",required:!1,type:{name:"string"}},text:{defaultValue:null,description:'The button text. Should be as short and simple as possible, ideally a maximum of 3 words.\n- Use Title Case for readability.\n- Should not include punctuation (exception: "Loading...").\n- Should not be used as an indicator of what happens on the next page, or as a substitute for a progress meter.',name:"text",required:!1,type:{name:"string"}},render:{defaultValue:null,description:"Example render, should not be used",name:"render",required:!1,type:{name:"() => TemplateResult<1>"}},variant:{defaultValue:null,description:"Style variant\n- **primary** renders the button used for primary actions. Presents highest visual priority.\n When grouped with other buttons, only one primary is allowed\n- **secondary** renders a secondary button. Presents a lower visual priority\n- **tertiary** renders a tertiary button. Presents the lowest visual priority.\n Should be used in limited amounts - consider if a link (`<a>`) would be more appropriate",name:"variant",required:!1,type:{name:"enum",value:[{value:'"secondary"'},{value:'"tertiary"'},{value:'"primary"'}]}},componentClassNames:{defaultValue:null,description:"Abstraction of `classnames` that automatically includes any style modifier\nas well as any set variants.\n\nIt is expected that `variant` would be overridden in a subclass with more\nspecific types, `@property() variant?: 'foo' | 'bar'`\n@param baseClassName",name:"componentClassNames",required:!1,type:{name:"(baseClassName: string, additionalClassNames?: {}) => string"}},slotEmpty:{defaultValue:null,description:"Check if a slot is empty\n@param slotName",name:"slotEmpty",required:!1,type:{name:"(slotName: string) => boolean"}},slotNotEmpty:{defaultValue:null,description:"Check if a slot is not empty\n@param slotName",name:"slotNotEmpty",required:!1,type:{name:"(slotName: string) => boolean"}},dispatch:{defaultValue:null,description:"Dispatch a custom event.",name:"dispatch",required:!1,type:{name:"({ e, eventName, detailObj, optionsObj, }: Cre8DispatchProps) => CustomEvent<any>"}},renderOptions:{defaultValue:null,description:"@category rendering",name:"renderOptions",required:!1,type:{name:"RenderOptions"}},connectedCallback:{defaultValue:null,description:"Invoked when the component is added to the document's DOM.\n\nIn `connectedCallback()` you should setup tasks that should only occur when\nthe element is connected to the document. The most common of these is\nadding event listeners to nodes external to the element, like a keydown\nevent handler added to the window.\n\n```ts\nconnectedCallback() {\n super.connectedCallback();\n addEventListener('keydown', this._handleKeydown);\n}\n```\n\nTypically, anything done in `connectedCallback()` should be undone when the\nelement is disconnected, in `disconnectedCallback()`.\n@category lifecycle",name:"connectedCallback",required:!1,type:{name:"() => void"}},disconnectedCallback:{defaultValue:null,description:"Invoked when the component is removed from the document's DOM.\n\nThis callback is the main signal to the element that it may no longer be\nused. `disconnectedCallback()` should ensure that nothing is holding a\nreference to the element (such as event listeners added to nodes external\nto the element), so that it is free to be garbage collected.\n\n```ts\ndisconnectedCallback() {\n super.disconnectedCallback();\n window.removeEventListener('keydown', this._handleKeydown);\n}\n```\n\nAn element may be re-connected after being disconnected.\n@category lifecycle",name:"disconnectedCallback",required:!1,type:{name:"() => void"}},renderRoot:{defaultValue:null,description:"Node or ShadowRoot into which element DOM should be rendered. Defaults\nto an open shadowRoot.\n@category rendering",name:"renderRoot",required:!1,type:{name:"HTMLElement | ShadowRoot"}},isUpdatePending:{defaultValue:null,description:"True if there is a pending update as a result of calling `requestUpdate()`.\nShould only be read.\n@category updates",name:"isUpdatePending",required:!1,type:{name:"boolean"}},hasUpdated:{defaultValue:null,description:"Is set to `true` after the first update. The element code cannot assume\nthat `renderRoot` exists before the element `hasUpdated`.\n@category updates",name:"hasUpdated",required:!1,type:{name:"boolean"}},addController:{defaultValue:null,description:"Registers a `ReactiveController` to participate in the element's reactive\nupdate cycle. The element automatically calls into any registered\ncontrollers during its lifecycle callbacks.\n\nIf the element is connected when `addController()` is called, the\ncontroller's `hostConnected()` callback will be immediately called.\n@category controllers",name:"addController",required:!1,type:{name:"(controller: ReactiveController) => void"}},removeController:{defaultValue:null,description:"Removes a `ReactiveController` from the element.\n@category controllers",name:"removeController",required:!1,type:{name:"(controller: ReactiveController) => void"}},attributeChangedCallback:{defaultValue:null,description:"Synchronizes property values when attributes change.\n\nSpecifically, when an attribute is set, the corresponding property is set.\nYou should rarely need to implement this callback. If this method is\noverridden, `super.attributeChangedCallback(name, _old, value)` must be\ncalled.\n\nSee [using the lifecycle callbacks](https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements#using_the_lifecycle_callbacks)\non MDN for more information about the `attributeChangedCallback`.\n@category attributes",name:"attributeChangedCallback",required:!1,type:{name:"(name: string, _old: string, value: string) => void"}},requestUpdate:{defaultValue:null,description:"Requests an update which is processed asynchronously. This should be called\nwhen an element should update based on some state not triggered by setting\na reactive property. In this case, pass no arguments. It should also be\ncalled when manually implementing a property setter. In this case, pass the\nproperty `name` and `oldValue` to ensure that any configured property\noptions are honored.\n@param name name of requesting property\n@param oldValue old value of requesting property\n@param options property options to use instead of the previously\nconfigured options\n@category updates",name:"requestUpdate",required:!1,type:{name:"(name?: PropertyKey, oldValue?: unknown, options?: PropertyDeclaration<unknown, unknown>) => void"}},updateComplete:{defaultValue:null,description:"Returns a Promise that resolves when the element has completed updating.\nThe Promise value is a boolean that is `true` if the element completed the\nupdate without triggering another update. The Promise result is `false` if\na property was set inside `updated()`. If the Promise is rejected, an\nexception was thrown during the update.\n\nTo await additional asynchronous work, override the `getUpdateComplete`\nmethod. For example, it is sometimes useful to await a rendered element\nbefore fulfilling this Promise. To do this, first await\n`super.getUpdateComplete()`, then any subsequent state.\n@return A promise of a boolean that resolves to true if the update completed\nwithout triggering another update.\n@category updates",name:"updateComplete",required:!1,type:{name:"Promise<boolean>"}},svg:{defaultValue:null,description:"svg as a raw string\n- For button with icon, the icon is defined by this prop.\n- Pass in a raw svg as a String for using <cre8-icon>\n- Must include the icon's position with `iconPostion`.",name:"svg",required:!1,type:{name:"string"}},iconRotateDegree:{defaultValue:null,description:"iconRotateDegree is used for <cre8-icon> to set the arrow in the correct direction",name:"iconRotateDegree",required:!1,type:{name:"number"}},iconFlipDirection:{defaultValue:null,description:"iconFlipDirection is used for <cre8-icon> to set the icon in the correct direction",name:"iconFlipDirection",required:!1,type:{name:"string"}},type:{defaultValue:null,description:"Type of button.\n- **button** (default) button has no default behavior and does nothing unless provided some sort\nof client-side trigger\n- **submit** button for submitting form data to a server",name:"type",required:!1,type:{name:"enum",value:[{value:'"button"'},{value:'"submit"'},{value:'"reset"'}]}},href:{defaultValue:null,description:"Provide this property if you intend to use button styles for an anchor tag (`<a>`).\nThis changes the component markup from `<button>` usage to `<a>` instead.",name:"href",required:!1,type:{name:"string"}},fullWidth:{defaultValue:null,description:"Full width button\n@attr {boolean}",name:"fullWidth",required:!1,type:{name:"boolean"}},field:{defaultValue:null,description:"",name:"field",required:!1,type:{name:"HTMLButtonElement"}},formResetCallback:{defaultValue:null,description:"",name:"formResetCallback",required:!1,type:{name:"() => void"}},internals:{defaultValue:null,description:"@protected\n@internal An instance of element internals.\nContains properties and methods that allows the element\nto participate fully in the HTML form it's in.",name:"internals",required:!1,type:{name:"Cre8ElementInternals"}},internalValue:{defaultValue:null,description:"@protected\n@internal Stores the value for the `value` getter and setter.",name:"internalValue",required:!1,type:{name:"string"}},value:{defaultValue:null,description:"The value of the form field.\nSets the value of the form field.\n1. Stores the new value so it can be retrieved by the getter.\n2. Sets the current value of the control.\n3. Updates the actual field.\n4. Rerenders the component.",name:"value",required:!1,type:{name:"string"}},neutral:{defaultValue:null,description:"This property is for a neutral button propery mainly used for the secondary or tertiary button variant.\n@attr {boolean)",name:"neutral",required:!1,type:{name:"boolean"}},disabled:{defaultValue:null,description:"Disabled attribute\n@attr {boolean}\n\n**NOTE**: Disabled states are used to indicate that an action is temporarily unavailable.\nIn general, using disabled states is NOT advised. It should be clear to the user what actions they must\ntake to activate the button. Real-time, field-level validation can help provide clarity.",name:"disabled",required:!1,type:{name:"boolean"}},inverse:{defaultValue:null,description:"Inverse attribute\n@attr {boolean}\n\nThe inverse prop allows the button to work on either a light or dark surface.",name:"inverse",required:!1,type:{name:"boolean"}},target:{defaultValue:null,description:"Target attribute for a link if providing `href` to style a link as a button\n- **_blank** yields a link that opens in a new tab\n- **_self** yields a link that loads the URL into the same browsing context as the current one.\n This is the default behavior\n- **_parent** yields a link that loads the URL into the parent browsing context of the current one.\n If there is no parent, this behaves the same way as _self\n- **_top** yields a link that loads the URL into the top-level browsing context.\n If there is no parent, this behaves the same way as _self.",name:"target",required:!1,type:{name:"enum",value:[{value:'"_blank"'},{value:'"_self"'},{value:'"_parent"'},{value:'"_top"'}]}},iconName:{defaultValue:null,description:"Deprecated: iconName, use svg instead\nIcon name if including an icon within a button.\nMust include the icon's position with `iconPostion`. This prop is used for <cre8-icon-legacy>\n@deprecated",name:"iconName",required:!1,type:{name:"string"}},iconPosition:{defaultValue:null,description:"Icon position. Must include the name of the icon with `iconName`\n\n- **before** places the icon before the button text\n- **after** places the icon after the button text",name:"iconPosition",required:!1,type:{name:"enum",value:[{value:'"after"'},{value:'"before"'}]}},hideText:{defaultValue:null,description:"Visually hide button text. Text is still accessible to assistive technology.\nUse this for icon-only buttons for accessibility",name:"hideText",required:!1,type:{name:"boolean"}},loading:{defaultValue:null,description:"* Changes styling to an active state with a spinning icon.\n* Adds accessibility treatment by:\n * announcing via voiceover when the loading success/error state via a aria-live region\n * setting `aria-disabled`\n* Disables click events / form submitting while allowing focus (for accessibility)\n@attr {boolean}",name:"loading",required:!1,type:{name:"boolean"}},loadingComplete:{defaultValue:null,description:"* Variant of the loading button that:\n * Removes loading spinner\n * Informs the SR user that the loading status is now complete, with visually hidden text in the live area\n@attr {boolean}",name:"loadingComplete",required:!1,type:{name:"boolean"}},buttonAriaExpanded:{defaultValue:null,description:"Button aria expanded attribute",name:"buttonAriaExpanded",required:!1,type:{name:"boolean"}},formSubmit:{defaultValue:null,description:"",name:"formSubmit",required:!1,type:{name:"() => void"}},formReset:{defaultValue:null,description:"",name:"formReset",required:!1,type:{name:"() => void"}},splitButtonType:{defaultValue:null,description:"These two subvariants of the split button style the two seperate buttons to style as a singular button",name:"splitButtonType",required:!1,type:{name:"enum",value:[{value:'"text"'},{value:'"caret"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/Button/Button.tsx#Cre8Button"]={docgenInfo:Cre8Button.__docgenInfo,name:"Cre8Button",path:"src/components/Button/Button.tsx#Cre8Button"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/Heading/Heading.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{j:()=>Cre8Heading});var _lit_react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/.pnpm/@lit+react@1.0.7_@types+react@18.2.13/node_modules/@lit/react/index.js"),_cre8_dev_cre8_wc_lib_components_heading_heading__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/.pnpm/@cre8_dev+cre8-wc@1.0.3_webpack@5.98.0/node_modules/@cre8_dev/cre8-wc/lib/components/heading/heading.js"),react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");const Cre8Heading=(0,_lit_react__WEBPACK_IMPORTED_MODULE_0__.a)({react:react__WEBPACK_IMPORTED_MODULE_2__,tagName:"Cre8-heading",elementClass:_cre8_dev_cre8_wc_lib_components_heading_heading__WEBPACK_IMPORTED_MODULE_1__.j});try{Cre8Heading.displayName="Cre8Heading",Cre8Heading.__docgenInfo={description:'HTML headings are titles or subtitles that you want to display on a webpage. The H1 is the most important and H6\nis the least important in the content hierarchy.\n\n# How to Use\n1. The Cre8-heading tag wraps around one of the six native HTML "h" tags, depending on your chosen variation.\n2. There are two main use cases for using this component: text passage headings and Components with a title (i.e. modal, card or alert)\n3. There will be instances when the design requires the heading text to have the brand color applied in which case you should set\n the [brandColor](?path=/story/Cre8-components-heading--brand-color) attribute to true on the Cre8-heading tag.\n4. For dark backgrounds, add the [inverted](?path=/story/Cre8-components-heading--inverted) attribute to the tag for white text.',displayName:"Cre8Heading",props:{render:{defaultValue:null,description:"Example render, should not be used",name:"render",required:!1,type:{name:"() => TemplateResult<1>"}},componentClassNames:{defaultValue:null,description:"Abstraction of `classnames` that automatically includes any style modifier\nas well as any set variants.\n\nIt is expected that `variant` would be overridden in a subclass with more\nspecific types, `@property() variant?: 'foo' | 'bar'`\n@param baseClassName",name:"componentClassNames",required:!1,type:{name:"(baseClassName: string, additionalClassNames?: {}) => string"}},slotEmpty:{defaultValue:null,description:"Check if a slot is empty\n@param slotName",name:"slotEmpty",required:!1,type:{name:"(slotName: string) => boolean"}},slotNotEmpty:{defaultValue:null,description:"Check if a slot is not empty\n@param slotName",name:"slotNotEmpty",required:!1,type:{name:"(slotName: string) => boolean"}},dispatch:{defaultValue:null,description:"Dispatch a custom event.",name:"dispatch",required:!1,type:{name:"({ e, eventName, detailObj, optionsObj, }: Cre8DispatchProps) => CustomEvent<any>"}},renderOptions:{defaultValue:null,description:"@category rendering",name:"renderOptions",required:!1,type:{name:"RenderOptions"}},connectedCallback:{defaultValue:null,description:"Invoked when the component is added to the document's DOM.\n\nIn `connectedCallback()` you should setup tasks that should only occur when\nthe element is connected to the document. The most common of these is\nadding event listeners to nodes external to the element, like a keydown\nevent handler added to the window.\n\n```ts\nconnectedCallback() {\n super.connectedCallback();\n addEventListener('keydown', this._handleKeydown);\n}\n```\n\nTypically, anything done in `connectedCallback()` should be undone when the\nelement is disconnected, in `disconnectedCallback()`.\n@category lifecycle",name:"connectedCallback",required:!1,type:{name:"() => void"}},disconnectedCallback:{defaultValue:null,description:"Invoked when the component is removed from the document's DOM.\n\nThis callback is the main signal to the element that it may no longer be\nused. `disconnectedCallback()` should ensure that nothing is holding a\nreference to the element (such as event listeners added to nodes external\nto the element), so that it is free to be garbage collected.\n\n```ts\ndisconnectedCallback() {\n super.disconnectedCallback();\n window.removeEventListener('keydown', this._handleKeydown);\n}\n```\n\nAn element may be re-connected after being disconnected.\n@category lifecycle",name:"disconnectedCallback",required:!1,type:{name:"() => void"}},renderRoot:{defaultValue:null,description:"Node or ShadowRoot into which element DOM should be rendered. Defaults\nto an open shadowRoot.\n@category rendering",name:"renderRoot",required:!1,type:{name:"HTMLElement | ShadowRoot"}},isUpdatePending:{defaultValue:null,description:"True if there is a pending update as a result of calling `requestUpdate()`.\nShould only be read.\n@category updates",name:"isUpdatePending",required:!1,type:{name:"boolean"}},hasUpdated:{defaultValue:null,description:"Is set to `true` after the first update. The element code cannot assume\nthat `renderRoot` exists before the element `hasUpdated`.\n@category updates",name:"hasUpdated",required:!1,type:{name:"boolean"}},addController:{defaultValue:null,description:"Registers a `ReactiveController` to participate in the element's reactive\nupdate cycle. The element automatically calls into any registered\ncontrollers during its lifecycle callbacks.\n\nIf the element is connected when `addController()` is called, the\ncontroller's `hostConnected()` callback will be immediately called.\n@category controllers",name:"addController",required:!1,type:{name:"(controller: ReactiveController) => void"}},removeController:{defaultValue:null,description:"Removes a `ReactiveController` from the element.\n@category controllers",name:"removeController",required:!1,type:{name:"(controller: ReactiveController) => void"}},attributeChangedCallback:{defaultValue:null,description:"Synchronizes property values when attributes change.\n\nSpecifically, when an attribute is set, the corresponding property is set.\nYou should rarely need to implement this callback. If this method is\noverridden, `super.attributeChangedCallback(name, _old, value)` must be\ncalled.\n\nSee [using the lifecycle callbacks](https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements#using_the_lifecycle_callbacks)\non MDN for more information about the `attributeChangedCallback`.\n@category attributes",name:"attributeChangedCallback",required:!1,type:{name:"(name: string, _old: string, value: string) => void"}},requestUpdate:{defaultValue:null,description:"Requests an update which is processed asynchronously. This should be called\nwhen an element should update based on some state not triggered by setting\na reactive property. In this case, pass no arguments. It should also be\ncalled when manually implementing a property setter. In this case, pass the\nproperty `name` and `oldValue` to ensure that any configured property\noptions are honored.\n@param name name of requesting property\n@param oldValue old value of requesting property\n@param options property options to use instead of the previously\nconfigured options\n@category updates",name:"requestUpdate",required:!1,type:{name:"(name?: PropertyKey, oldValue?: unknown, options?: PropertyDeclaration<unknown, unknown>) => void"}},updateComplete:{defaultValue:null,description:"Returns a Promise that resolves when the element has completed updating.\nThe Promise value is a boolean that is `true` if the element completed the\nupdate without triggering another update. The Promise result is `false` if\na property was set inside `updated()`. If the Promise is rejected, an\nexception was thrown during the update.\n\nTo await additional asynchronous work, override the `getUpdateComplete`\nmethod. For example, it is sometimes useful to await a rendered element\nbefore fulfilling this Promise. To do this, first await\n`super.getUpdateComplete()`, then any subsequent state.\n@return A promise of a boolean that resolves to true if the update completed\nwithout triggering another update.\n@category updates",name:"updateComplete",required:!1,type:{name:"Promise<boolean>"}},inverted:{defaultValue:null,description:"Invert the color of the font from dark to light. An inverted `heading` should be used on a dark background.\n@attr {boolean}",name:"inverted",required:!1,type:{name:"boolean"}},type:{defaultValue:null,description:'Heading type\n<cre8-text-passage size="small">\n<ul>\n<li>**display-default** renders a heading with the heading display-default preset treatment</li>\n<li>**display-small** renders a heading with the heading display-small preset treatment</li>\n<li>**headline-large** renders a heading with the heading headline-large preset treatment</li>\n<li>**headline-default** renders a heading with the heading headline-default preset treatment</li>\n<li>**headline-small** renders a heading with the heading headline-small preset treatment</li>\n<li>**title-xlarge** renders a heading with the heading title-xlarge preset treatment</li>\n<li>**title-large** renders a heading with the heading title-large preset treatment</li>\n<li>**title-default** renders a heading with the heading title-default preset treatment</li>\n<li>**title-small** renders a heading with the heading title-small preset treatment</li>\n<li>**label-large** renders a heading with the label-large preset treatment</li>\n<li>**label** renders a heading with the label preset treatment</li>\n<li>**label-small** renders a heading with the label-small preset treatment</li>\n<li>**meta-large** renders a heading with the meta-large preset treatment</li>\n<li>**meta-default** renders a heading with the meta-default preset treatment</li>\n<li>**meta-small** renders a heading with the meta-small preset treatment</li>\n</ul>\n</cre8-text-passage>',name:"type",required:!1,type:{name:"enum",value:[{value:'"display-default"'},{value:'"display-small"'},{value:'"headline-large"'},{value:'"headline-default"'},{value:'"headline-small"'},{value:'"title-xlarge"'},{value:'"title-large"'},{value:'"title-default"'},{value:'"title-small"'},{value:'"label-large"'},{value:'"label-default"'},{value:'"label-small"'},{value:'"meta-large"'},{value:'"meta-default"'},{value:'"meta-small"'}]}},tagVariant:{defaultValue:null,description:'Dynamic tag name for the component\n1) This is needed to use proper semantic heading treatments depending on where the banner lives on the page\n<cre8-text-passage size="small">\n<ul>\n<li>**h1** renders an `h1` tag</li>\n<li>**h2** renders an `h2` tag. This is the default</li>\n<li>**h3** renders an `h3` tag</li>\n<li>**h4** renders an `h4` tag</li>\n<li>**h5** renders an `h5` tag</li>\n<li>**h6** renders an `h6` tag</li>\n</ul>\n</cre8-text-passage>\n@attr {string}',name:"tagVariant",required:!1,type:{name:"enum",value:[{value:'"h1"'},{value:'"h2"'},{value:'"h3"'},{value:'"h4"'},{value:'"h5"'},{value:'"h6"'}]}},brandColor:{defaultValue:null,description:"Apply the brand color to the heading text.\n@attr {boolean}",name:"brandColor",required:!1,type:{name:"boolean"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/Heading/Heading.tsx#Cre8Heading"]={docgenInfo:Cre8Heading.__docgenInfo,name:"Cre8Heading",path:"src/components/Heading/Heading.tsx#Cre8Heading"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/Section/Section.stories.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{CustomHeader:()=>CustomHeader,Default:()=>Default,__namedExportsOrder:()=>__namedExportsOrder,default:()=>Section_stories});var react=__webpack_require__("./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js"),_lit_react=__webpack_require__("./node_modules/.pnpm/@lit+react@1.0.7_@types+react@18.2.13/node_modules/@lit/react/index.js"),t={807:(t,e,r)=>{r.d(e,{MZ:()=>i.M});var i=r(7191);r(4963),r(8301)},1085:(t,e,r)=>{function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,i=Array(e);r<e;r++)i[r]=t[r];return i}r.d(e,{A:()=>i})},1886:(t,e,r)=>{var i;r.d(e,{XX:()=>F,c0:()=>S,qy:()=>E});const n=window,s=n.trustedTypes,o=s?s.createPolicy("lit-html",{createHTML:t=>t}):void 0,l="$lit$",a=`lit$${(Math.random()+"").slice(9)}$`,c="?"+a,d=`<${c}>`,h=document,p=()=>h.createComment(""),u=t=>null===t||"object"!=typeof t&&"function"!=typeof t,f=Array.isArray,v="[ \t\n\f\r]",m=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,y=/-->/g,g=/>/g,b=RegExp(`>|${v}(?:([^\\s"'>=/]+)(${v}*=${v}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),A=/'/g,$=/"/g,_=/^(?:script|style|textarea|title)$/i,w=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),E=w(1),S=(w(2),Symbol.for("lit-noChange")),x=Symbol.for("lit-nothing"),k=new WeakMap,O=h.createTreeWalker(h,129,null,!1);function P(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==o?o.createHTML(e):e}const C=(t,e)=>{const r=t.length-1,i=[];let n,s=2===e?"<svg>":"",o=m;for(let e=0;e<r;e++){const r=t[e];let c,h,p=-1,u=0;for(;u<r.length&&(o.lastIndex=u,h=o.exec(r),null!==h);)u=o.lastIndex,o===m?"!--"===h[1]?o=y:void 0!==h[1]?o=g:void 0!==h[2]?(_.test(h[2])&&(n=RegExp("</"+h[2],"g")),o=b):void 0!==h[3]&&(o=b):o===b?">"===h[0]?(o=null!=n?n:m,p=-1):void 0===h[1]?p=-2:(p=o.lastIndex-h[2].length,c=h[1],o=void 0===h[3]?b:'"'===h[3]?$:A):o===$||o===A?o=b:o===y||o===g?o=m:(o=b,n=void 0);const f=o===b&&t[e+1].startsWith("/>")?" ":"";s+=o===m?r+d:p>=0?(i.push(c),r.slice(0,p)+l+r.slice(p)+a+f):r+a+(-2===p?(i.push(void 0),e):f)}return[P(t,s+(t[r]||"<?>")+(2===e?"</svg>":"")),i]};class j{constructor({strings:t,_$litType$:e},r){let i;this.parts=[];let n=0,o=0;const d=t.length-1,h=this.parts,[u,f]=C(t,e);if(this.el=j.createElement(u,r),O.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(i=O.nextNode())&&h.length<d;){if(1===i.nodeType){if(i.hasAttributes()){const t=[];for(const e of i.getAttributeNames())if(e.endsWith(l)||e.startsWith(a)){const r=f[o++];if(t.push(e),void 0!==r){const t=i.getAttribute(r.toLowerCase()+l).split(a),e=/([.?@])?(.*)/.exec(r);h.push({type:1,index:n,name:e[2],strings:t,ctor:"."===e[1]?R:"?"===e[1]?H:"@"===e[1]?M:D})}else h.push({type:6,index:n})}for(const e of t)i.removeAttribute(e)}if(_.test(i.tagName)){const t=i.textContent.split(a),e=t.length-1;if(e>0){i.textContent=s?s.emptyScript:"";for(let r=0;r<e;r++)i.append(t[r],p()),O.nextNode(),h.push({type:2,index:++n});i.append(t[e],p())}}}else if(8===i.nodeType)if(i.data===c)h.push({type:2,index:n});else{let t=-1;for(;-1!==(t=i.data.indexOf(a,t+1));)h.push({type:7,index:n}),t+=a.length-1}n++}}static createElement(t,e){const r=h.createElement("template");return r.innerHTML=t,r}}function T(t,e,r=t,i){var n,s,o,l;if(e===S)return e;let a=void 0!==i?null===(n=r._$Co)||void 0===n?void 0:n[i]:r._$Cl;const c=u(e)?void 0:e._$litDirective$;return(null==a?void 0:a.constructor)!==c&&(null===(s=null==a?void 0:a._$AO)||void 0===s||s.call(a,!1),void 0===c?a=void 0:(a=new c(t),a._$AT(t,r,i)),void 0!==i?(null!==(o=(l=r)._$Co)&&void 0!==o?o:l._$Co=[])[i]=a:r._$Cl=a),void 0!==a&&(e=T(t,a._$AS(t,e.values),a,i)),e}class U{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var e;const{el:{content:r},parts:i}=this._$AD,n=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:h).importNode(r,!0);O.currentNode=n;let s=O.nextNode(),o=0,l=0,a=i[0];for(;void 0!==a;){if(o===a.index){let e;2===a.type?e=new z(s,s.nextSibling,this,t):1===a.type?e=new a.ctor(s,a.name,a.strings,this,t):6===a.type&&(e=new I(s,this,t)),this._$AV.push(e),a=i[++l]}o!==(null==a?void 0:a.index)&&(s=O.nextNode(),o++)}return O.currentNode=h,n}v(t){let e=0;for(const r of this._$AV)void 0!==r&&(void 0!==r.strings?(r._$AI(t,r,e),e+=r.strings.length-2):r._$AI(t[e])),e++}}class z{constructor(t,e,r,i){var n;this.type=2,this._$AH=x,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=r,this.options=i,this._$Cp=null===(n=null==i?void 0:i.isConnected)||void 0===n||n}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===(null==t?void 0:t.nodeType)&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=T(this,t,e),u(t)?t===x||null==t||""===t?(this._$AH!==x&&this._$AR(),this._$AH=x):t!==this._$AH&&t!==S&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>f(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==x&&u(this._$AH)?this._$AA.nextSibling.data=t:this.$(h.createTextNode(t)),this._$AH=t}g(t){var e;const{values:r,_$litType$:i}=t,n="number"==typeof i?this._$AC(t):(void 0===i.el&&(i.el=j.createElement(P(i.h,i.h[0]),this.options)),i);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===n)this._$AH.v(r);else{const t=new U(n,this),e=t.u(this.options);t.v(r),this.$(e),this._$AH=t}}_$AC(t){let e=k.get(t.strings);return void 0===e&&k.set(t.strings,e=new j(t)),e}T(t){f(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,i=0;for(const n of t)i===e.length?e.push(r=new z(this.k(p()),this.k(p()),this,this.options)):r=e[i],r._$AI(n),i++;i<e.length&&(this._$AR(r&&r._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){var r;for(null===(r=this._$AP)||void 0===r||r.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cp=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class D{constructor(t,e,r,i,n){this.type=1,this._$AH=x,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=n,r.length>2||""!==r[0]||""!==r[1]?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=x}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,r,i){const n=this.strings;let s=!1;if(void 0===n)t=T(this,t,e,0),s=!u(t)||t!==this._$AH&&t!==S,s&&(this._$AH=t);else{const i=t;let o,l;for(t=n[0],o=0;o<n.length-1;o++)l=T(this,i[r+o],e,o),l===S&&(l=this._$AH[o]),s||(s=!u(l)||l!==this._$AH[o]),l===x?t=x:t!==x&&(t+=(null!=l?l:"")+n[o+1]),this._$AH[o]=l}s&&!i&&this.j(t)}j(t){t===x?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class R extends D{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===x?void 0:t}}const N=s?s.emptyScript:"";class H extends D{constructor(){super(...arguments),this.type=4}j(t){t&&t!==x?this.element.setAttribute(this.name,N):this.element.removeAttribute(this.name)}}class M extends D{constructor(t,e,r,i,n){super(t,e,r,i,n),this.type=5}_$AI(t,e=this){var r;if((t=null!==(r=T(this,t,e,0))&&void 0!==r?r:x)===S)return;const i=this._$AH,n=t===x&&i!==x||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,s=t!==x&&(i===x||n);n&&this.element.removeEventListener(this.name,this,i),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,r;"function"==typeof this._$AH?this._$AH.call(null!==(r=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==r?r:this.element,t):this._$AH.handleEvent(t)}}class I{constructor(t,e,r){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(t){T(this,t)}}const L=n.litHtmlPolyfillSupport;null==L||L(j,z),(null!==(i=n.litHtmlVersions)&&void 0!==i?i:n.litHtmlVersions=[]).push("2.8.0");const F=(t,e,r)=>{var i,n;const s=null!==(i=null==r?void 0:r.renderBefore)&&void 0!==i?i:e;let o=s._$litPart$;if(void 0===o){const t=null!==(n=null==r?void 0:r.renderBefore)&&void 0!==n?n:null;s._$litPart$=o=new z(e.insertBefore(p(),t),t,void 0,null!=r?r:{})}return o._$AI(t),o}},2428:(t,e,r)=>{r.d(e,{A:()=>n});var i=r(8749);function n(t,e){if("object"!=(0,i.A)(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=(0,i.A)(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}},2454:(t,e,r)=>{function i(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}r.d(e,{A:()=>i})},2551:(t,e,r)=>{r.d(e,{A:()=>n});var i=r(8346);function n(t,e,r){return(e=(0,i.A)(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}},2631:(t,e,r)=>{r.d(e,{A:()=>s});var i=r(2551);function n(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,i)}return r}function s(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?n(Object(r),!0).forEach((function(e){(0,i.A)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}},2972:(t,e)=>{var r;!function(){var i={}.hasOwnProperty;function n(){for(var t=[],e=0;e<arguments.length;e++){var r=arguments[e];if(r){var s=typeof r;if("string"===s||"number"===s)t.push(r);else if(Array.isArray(r)){if(r.length){var o=n.apply(null,r);o&&t.push(o)}}else if("object"===s){if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]")){t.push(r.toString());continue}for(var l in r)i.call(r,l)&&r[l]&&t.push(l)}}}return t.join(" ")}t.exports?(n.default=n,t.exports=n):void 0===(r=function(){return n}.apply(e,[]))||(t.exports=r)}()},4963:(t,e,r)=>{var i;null===(i=window.HTMLSlotElement)||void 0===i||i.prototype.assignedElements},5458:t=>{t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var r="",i=void 0!==e[5];return e[4]&&(r+="@supports (".concat(e[4],") {")),e[2]&&(r+="@media ".concat(e[2]," {")),i&&(r+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),r+=t(e),i&&(r+="}"),e[2]&&(r+="}"),e[4]&&(r+="}"),r})).join("")},e.i=function(t,r,i,n,s){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(i)for(var l=0;l<this.length;l++){var a=this[l][0];null!=a&&(o[a]=!0)}for(var c=0;c<t.length;c++){var d=[].concat(t[c]);i&&o[d[0]]||(void 0!==s&&(void 0===d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=s),r&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=r):d[2]=r),n&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=n):d[4]="".concat(n)),e.push(d))}},e}},5617:(t,e,r)=>{function i(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}r.d(e,{A:()=>i})},5668:(t,e,r)=>{r.d(e,{A:()=>n});var i=r(1085);function n(t,e){if(t){if("string"==typeof t)return(0,i.A)(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?(0,i.A)(t,e):void 0}}},6305:(t,e,r)=>{r.d(e,{A:()=>l});var i=r(9385),n=r.n(i),s=r(5458),o=r.n(s)()(n());o.push([t.id,"*,::slotted(*),*:before,*:after{box-sizing:border-box}:root,:host{--size-base-unit: 0.5rem}[dir=rtl]{--rtlTranslateX: 50%;--rtlGradientToRight: 270deg;--rtlRotate45Inverse: -45deg}:root,:host{--size-base-unit: 0.5rem}[dir=rtl]{--rtlTranslateX: 50%;--rtlGradientToRight: 270deg;--rtlRotate45Inverse: -45deg}:host{--cre8-z-index-1: 1;--cre8-z-index-50: 50;--cre8-z-index-100: 100;--cre8-z-index-200: 200;--cre8-z-index-1030: 1030;--cre8-anim-fade-quick: 0.35s;--cre8-anim-ease: ease}@keyframes fadeIn{100%{opacity:1}}@keyframes slideIn{100%{transform:translateX(0)}}@keyframes slideInFwd{100%{width:272px;height:272px}}@keyframes slideOutRight{100%{width:272px;height:272px}}@keyframes slideUp{100%{transform:translateY(0)}}@media(width >= 481px){@keyframes slideInFwd{100%{width:417px;height:417px}}@keyframes slideOutRight{100%{width:417px;height:417px}}}@media(width >= 48rem){@keyframes slideInFwd{100%{width:330px;height:330px}}@keyframes slideOutRight{100%{width:330px;height:330px;transform:translateX(calc(100vw - 45px))}}}@media(width >= 60rem){@keyframes slideInFwd{100%{width:460px;height:460px}}@keyframes slideOutRight{100%{width:460px;height:460px;transform:translateX(calc(100vw - 45px))}}}@media(width >= 75rem){@keyframes slideInFwd{100%{width:592px;height:591px}}@keyframes slideOutRight{100%{width:592px;height:591px;transform:translateX(calc(100vw - 45px))}}}@media(width >= 87.5rem){@keyframes slideOutRight{100%{width:592px;height:591px;transform:translateX(calc(100vw - 120px))}}}@media(width >= 2200px){@keyframes slideOutRight{100%{width:592px;height:591px;transform:translateX(calc(100vw - 592px))}}}span.ripple{position:absolute;border-radius:50%;transform:scale(0);animation:ripple 600ms linear;background-color:var(--ripple-bg-color)}@keyframes ripple{to{transform:scale(4);opacity:1}}#SECTION .cre8-c-section{margin-bottom:calc(var(--size-base-unit) * 4);display:block}.cre8-c-section-header{display:flex;justify-content:space-between}.cre8-c-section__body{padding-top:calc(var(--size-base-unit) * 2)}@media all and (min-width: 960px){.cre8-c-section__body{padding-top:calc(var(--size-base-unit) * 4)}}",""]);const l=o},7006:(t,e,r)=>{r.d(e,{A:()=>s});var i=r(7387),n=r(8346);function s(t,e,r,i){var n=o();if(i)for(var s=0;s<i.length;s++)n=i[s](n);var h=e((function(t){n.initializeInstanceElements(t,p.elements)}),r),p=n.decorateClass(function(t){for(var e=[],r=function(t){return"method"===t.kind&&t.key===s.key&&t.placement===s.placement},i=0;i<t.length;i++){var n,s=t[i];if("method"===s.kind&&(n=e.find(r)))if(d(s.descriptor)||d(n.descriptor)){if(c(s)||c(n))throw new ReferenceError("Duplicated methods ("+s.key+") can't be decorated.");n.descriptor=s.descriptor}else{if(c(s)){if(c(n))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+s.key+").");n.decorators=s.decorators}a(s,n)}else e.push(s)}return e}(h.d.map(l)),t);return n.initializeClassElements(h.F,p.elements),n.runClassFinishers(h.F,p.finishers)}function o(){o=function(){return t};var t={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(t,e){["method","field"].forEach((function(r){e.forEach((function(e){e.kind===r&&"own"===e.placement&&this.defineClassElement(t,e)}),this)}),this)},initializeClassElements:function(t,e){var r=t.prototype;["method","field"].forEach((function(i){e.forEach((function(e){var n=e.placement;if(e.kind===i&&("static"===n||"prototype"===n)){var s="static"===n?t:r;this.defineClassElement(s,e)}}),this)}),this)},defineClassElement:function(t,e){var r=e.descriptor;if("field"===e.kind){var i=e.initializer;r={enumerable:r.enumerable,writable:r.writable,configurable:r.configurable,value:void 0===i?void 0:i.call(t)}}Object.defineProperty(t,e.key,r)},decorateClass:function(t,e){var r=[],i=[],n={static:[],prototype:[],own:[]};if(t.forEach((function(t){this.addElementPlacement(t,n)}),this),t.forEach((function(t){if(!c(t))return r.push(t);var e=this.decorateElement(t,n);r.push(e.element),r.push.apply(r,e.extras),i.push.apply(i,e.finishers)}),this),!e)return{elements:r,finishers:i};var s=this.decorateConstructor(r,e);return i.push.apply(i,s.finishers),s.finishers=i,s},addElementPlacement:function(t,e,r){var i=e[t.placement];if(!r&&-1!==i.indexOf(t.key))throw new TypeError("Duplicated element ("+t.key+")");i.push(t.key)},decorateElement:function(t,e){for(var r=[],i=[],n=t.decorators,s=n.length-1;s>=0;s--){var o=e[t.placement];o.splice(o.indexOf(t.key),1);var l=this.fromElementDescriptor(t),a=this.toElementFinisherExtras((0,n[s])(l)||l);t=a.element,this.addElementPlacement(t,e),a.finisher&&i.push(a.finisher);var c=a.extras;if(c){for(var d=0;d<c.length;d++)this.addElementPlacement(c[d],e);r.push.apply(r,c)}}return{element:t,finishers:i,extras:r}},decorateConstructor:function(t,e){for(var r=[],i=e.length-1;i>=0;i--){var n=this.fromClassDescriptor(t),s=this.toClassDescriptor((0,e[i])(n)||n);if(void 0!==s.finisher&&r.push(s.finisher),void 0!==s.elements){t=s.elements;for(var o=0;o<t.length-1;o++)for(var l=o+1;l<t.length;l++)if(t[o].key===t[l].key&&t[o].placement===t[l].placement)throw new TypeError("Duplicated element ("+t[o].key+")")}}return{elements:t,finishers:r}},fromElementDescriptor:function(t){var e={kind:t.kind,key:t.key,placement:t.placement,descriptor:t.descriptor};return Object.defineProperty(e,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===t.kind&&(e.initializer=t.initializer),e},toElementDescriptors:function(t){if(void 0!==t)return(0,i.A)(t).map((function(t){var e=this.toElementDescriptor(t);return this.disallowProperty(t,"finisher","An element descriptor"),this.disallowProperty(t,"extras","An element descriptor"),e}),this)},toElementDescriptor:function(t){var e=t.kind+"";if("method"!==e&&"field"!==e)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+e+'"');var r=(0,n.A)(t.key),i=t.placement+"";if("static"!==i&&"prototype"!==i&&"own"!==i)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+i+'"');var s=t.descriptor;this.disallowProperty(t,"elements","An element descriptor");var o={kind:e,key:r,placement:i,descriptor:Object.assign({},s)};return"field"!==e?this.disallowProperty(t,"initializer","A method descriptor"):(this.disallowProperty(s,"get","The property descriptor of a field descriptor"),this.disallowProperty(s,"set","The property descriptor of a field descriptor"),this.disallowProperty(s,"value","The property descriptor of a field descriptor"),o.initializer=t.initializer),o},toElementFinisherExtras:function(t){return{element:this.toElementDescriptor(t),finisher:h(t,"finisher"),extras:this.toElementDescriptors(t.extras)}},fromClassDescriptor:function(t){var e={kind:"class",elements:t.map(this.fromElementDescriptor,this)};return Object.defineProperty(e,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),e},toClassDescriptor:function(t){var e=t.kind+"";if("class"!==e)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+e+'"');this.disallowProperty(t,"key","A class descriptor"),this.disallowProperty(t,"placement","A class descriptor"),this.disallowProperty(t,"descriptor","A class descriptor"),this.disallowProperty(t,"initializer","A class descriptor"),this.disallowProperty(t,"extras","A class descriptor");var r=h(t,"finisher");return{elements:this.toElementDescriptors(t.elements),finisher:r}},runClassFinishers:function(t,e){for(var r=0;r<e.length;r++){var i=(0,e[r])(t);if(void 0!==i){if("function"!=typeof i)throw new TypeError("Finishers must return a constructor.");t=i}}return t},disallowProperty:function(t,e,r){if(void 0!==t[e])throw new TypeError(r+" can't have a ."+e+" property.")}};return t}function l(t){var e,r=(0,n.A)(t.key);"method"===t.kind?e={value:t.value,writable:!0,configurable:!0,enumerable:!1}:"get"===t.kind?e={get:t.value,configurable:!0,enumerable:!1}:"set"===t.kind?e={set:t.value,configurable:!0,enumerable:!1}:"field"===t.kind&&(e={configurable:!0,writable:!0,enumerable:!0});var i={kind:"field"===t.kind?"field":"method",key:r,placement:t.static?"static":"field"===t.kind?"own":"prototype",descriptor:e};return t.decorators&&(i.decorators=t.decorators),"field"===t.kind&&(i.initializer=t.value),i}function a(t,e){void 0!==t.descriptor.get?e.descriptor.get=t.descriptor.get:e.descriptor.set=t.descriptor.set}function c(t){return t.decorators&&t.decorators.length}function d(t){return void 0!==t&&!(void 0===t.value&&void 0===t.writable)}function h(t,e){var r=t[e];if(void 0!==r&&"function"!=typeof r)throw new TypeError("Expected '"+e+"' to be a function");return r}},7191:(t,e,r)=>{r.d(e,{M:()=>o});var i=r(8304);const n=(t,e)=>"method"===e.kind&&e.descriptor&&!("value"in e.descriptor)?(0,i.A)((0,i.A)({},e),{},{finisher(r){r.createProperty(e.key,t)}}):{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){"function"==typeof e.initializer&&(this[e.key]=e.initializer.call(this))},finisher(r){r.createProperty(e.key,t)}},s=(t,e,r)=>{e.constructor.createProperty(r,t)};function o(t){return(e,r)=>void 0!==r?s(t,e,r):n(t,e)}},7387:(t,e,r)=>{r.d(e,{A:()=>l});var i=r(8701),n=r(5617),s=r(5668),o=r(2454);function l(t){return(0,i.A)(t)||(0,n.A)(t)||(0,s.A)(t)||(0,o.A)()}},8241:(t,e,r)=>{r.d(e,{WF:()=>w,qy:()=>_.qy,iz:()=>a});const i=window,n=i.ShadowRoot&&(void 0===i.ShadyCSS||i.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s=Symbol(),o=new WeakMap;class l{constructor(t,e,r){if(this._$cssResult$=!0,r!==s)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(n&&void 0===t){const r=void 0!==e&&1===e.length;r&&(t=o.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),r&&o.set(e,t))}return t}toString(){return this.cssText}}const a=t=>new l("string"==typeof t?t:t+"",void 0,s),c=n?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const r of t.cssRules)e+=r.cssText;return a(e)})(t):t;var d;const h=window,p=h.trustedTypes,u=p?p.emptyScript:"",f=h.reactiveElementPolyfillSupport,v={toAttribute(t,e){switch(e){case Boolean:t=t?u:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=null!==t;break;case Number:r=null===t?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch(t){r=null}}return r}},m=(t,e)=>e!==t&&(e==e||t==t),y={attribute:!0,type:String,converter:v,reflect:!1,hasChanged:m},g="finalized";class b extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(t){var e;this.finalize(),(null!==(e=this.h)&&void 0!==e?e:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,r)=>{const i=this._$Ep(r,e);void 0!==i&&(this._$Ev.set(i,r),t.push(i))})),t}static createProperty(t,e=y){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const r="symbol"==typeof t?Symbol():"__"+t,i=this.getPropertyDescriptor(t,r,e);void 0!==i&&Object.defineProperty(this.prototype,t,i)}}static getPropertyDescriptor(t,e,r){return{get(){return this[e]},set(i){const n=this[t];this[e]=i,this.requestUpdate(t,n,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||y}static finalize(){if(this.hasOwnProperty(g))return!1;this[g]=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),void 0!==t.h&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const r of e)this.createProperty(r,t[r])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const r=new Set(t.flat(1/0).reverse());for(const t of r)e.unshift(c(t))}else void 0!==t&&e.push(c(t));return e}static _$Ep(t,e){const r=e.attribute;return!1===r?void 0:"string"==typeof r?r:"string"==typeof t?t.toLowerCase():void 0}_$Eu(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,r;(null!==(e=this._$ES)&&void 0!==e?e:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(r=t.hostConnected)||void 0===r||r.call(t))}removeController(t){var e;null===(e=this._$ES)||void 0===e||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return((t,e)=>{n?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const r=document.createElement("style"),n=i.litNonce;void 0!==n&&r.setAttribute("nonce",n),r.textContent=e.cssText,t.appendChild(r)}))})(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,r){this._$AK(t,r)}_$EO(t,e,r=y){var i;const n=this.constructor._$Ep(t,r);if(void 0!==n&&!0===r.reflect){const s=(void 0!==(null===(i=r.converter)||void 0===i?void 0:i.toAttribute)?r.converter:v).toAttribute(e,r.type);this._$El=t,null==s?this.removeAttribute(n):this.setAttribute(n,s),this._$El=null}}_$AK(t,e){var r;const i=this.constructor,n=i._$Ev.get(t);if(void 0!==n&&this._$El!==n){const t=i.getPropertyOptions(n),s="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(r=t.converter)||void 0===r?void 0:r.fromAttribute)?t.converter:v;this._$El=n,this[n]=s.fromAttribute(e,t.type),this._$El=null}}requestUpdate(t,e,r){let i=!0;void 0!==t&&(((r=r||this.constructor.getPropertyOptions(t)).hasChanged||m)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===r.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,r))):i=!1),!this.isUpdatePending&&i&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((t,e)=>this[e]=t)),this._$Ei=void 0);let e=!1;const r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(r)):this._$Ek()}catch(t){throw e=!1,this._$Ek(),t}e&&this._$AE(r)}willUpdate(t){}_$AE(t){var e;null===(e=this._$ES)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,e)=>this._$EO(e,this[e],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}}b[g]=!0,b.elementProperties=new Map,b.elementStyles=[],b.shadowRootOptions={mode:"open"},null==f||f({ReactiveElement:b}),(null!==(d=h.reactiveElementVersions)&&void 0!==d?d:h.reactiveElementVersions=[]).push("1.6.3");var A,$,_=r(1886);class w extends b{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const r=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=r.firstChild),r}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=(0,_.XX)(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return _.c0}}w.finalized=!0,w._$litElement$=!0,null===(A=globalThis.litElementHydrateSupport)||void 0===A||A.call(globalThis,{LitElement:w});const E=globalThis.litElementPolyfillSupport;null==E||E({LitElement:w}),(null!==($=globalThis.litElementVersions)&&void 0!==$?$:globalThis.litElementVersions=[]).push("3.3.3")},8301:(t,e,r)=>{r(4963)},8304:(t,e,r)=>{r.d(e,{A:()=>s});var i=r(8670);function n(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,i)}return r}function s(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?n(Object(r),!0).forEach((function(e){(0,i.A)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}},8346:(t,e,r)=>{function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function n(t){var e=function(t){if("object"!=i(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==i(e)?e:e+""}r.d(e,{A:()=>n})},8366:(t,e,r)=>{r.d(e,{n:()=>l});var i=r(2631),n=r(2972),s=r.n(n),o=r(8241);class l extends o.WF{componentClassNames(t,e={}){return s()(t,e)}slotEmpty(t){return!this.querySelector(`[slot="${t}"]`)}slotNotEmpty(t){return 0!=!this.slotEmpty(t)?!this.slotEmpty(t):null}dispatch({e:t,eventName:e,detailObj:r={},optionsObj:n={}}){const s=(0,i.A)((0,i.A)({bubbles:!0,composed:!0},n),{},{detail:(0,i.A)((0,i.A)({},t&&{originalEvent:t}),r)}),o=new CustomEvent(e,s);return this.dispatchEvent(o),o}render(){return o.qy`<slot></slot>`}}},8670:(t,e,r)=>{r.d(e,{A:()=>n});var i=r(9097);function n(t,e,r){return(e=(0,i.A)(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}},8701:(t,e,r)=>{function i(t){if(Array.isArray(t))return t}r.d(e,{A:()=>i})},8749:(t,e,r)=>{function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}r.d(e,{A:()=>i})},9097:(t,e,r)=>{r.d(e,{A:()=>s});var i=r(8749),n=r(2428);function s(t){var e=(0,n.A)(t,"string");return"symbol"==(0,i.A)(e)?e:e+""}},9385:t=>{t.exports=function(t){return t[1]}}},e={};function r(i){var n=e[i];if(void 0!==n)return n.exports;var s=e[i]={id:i,exports:{}};return t[i](s,s.exports,r),s.exports}r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var i in e)r.o(e,i)&&!r.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var i={};r.d(i,{A:()=>d,c:()=>c});var n=r(7006),s=r(8241),o=r(807),l=r(8366),a=r(6305);let c=(0,n.A)(null,(function(t,e){return{F:class extends e{constructor(...e){super(...e),t(this)}},d:[{kind:"get",static:!0,key:"styles",value:function(){return(0,s.iz)(a.A)}},{kind:"field",decorators:[(0,o.MZ)()],key:"headline",value:void 0},{kind:"method",key:"render",value:function(){const t=this.componentClassNames("cre8-c-section",{});return s.qy`
|
|
2
|
+
<section class="${t}">
|
|
3
|
+
${this.headline?s.qy`<header class="cre8-c-section__header">
|
|
4
|
+
<cre8-heading tagVariant="h2">${this.headline}</cre8-heading>
|
|
5
|
+
<slot name="header"></slot>
|
|
6
|
+
</header>`:s.qy`<header class="cre8-c-section__header">
|
|
7
|
+
<slot name="header"></slot>
|
|
8
|
+
</header>`}
|
|
9
|
+
<div class="cre8-c-section__body">
|
|
10
|
+
<slot></slot>
|
|
11
|
+
</div>
|
|
12
|
+
</section>
|
|
13
|
+
`}}]}}),l.n);void 0===customElements.get("cre8-section")&&customElements.define("cre8-section",c);const d=c;var h=i.c;const Cre8Section=(0,_lit_react.a)({react,tagName:"Cre8-section",elementClass:h});try{Cre8Section.displayName="Cre8Section",Cre8Section.__docgenInfo={description:"",displayName:"Cre8Section",props:{render:{defaultValue:null,description:"Example render, should not be used",name:"render",required:!1,type:{name:"() => TemplateResult<1>"}},componentClassNames:{defaultValue:null,description:"Abstraction of `classnames` that automatically includes any style modifier\nas well as any set variants.\n\nIt is expected that `variant` would be overridden in a subclass with more\nspecific types, `@property() variant?: 'foo' | 'bar'`\n@param baseClassName",name:"componentClassNames",required:!1,type:{name:"(baseClassName: string, additionalClassNames?: {}) => string"}},slotEmpty:{defaultValue:null,description:"Check if a slot is empty\n@param slotName",name:"slotEmpty",required:!1,type:{name:"(slotName: string) => boolean"}},slotNotEmpty:{defaultValue:null,description:"Check if a slot is not empty\n@param slotName",name:"slotNotEmpty",required:!1,type:{name:"(slotName: string) => boolean"}},dispatch:{defaultValue:null,description:"Dispatch a custom event.",name:"dispatch",required:!1,type:{name:"({ e, eventName, detailObj, optionsObj, }: Cre8DispatchProps) => CustomEvent<any>"}},renderOptions:{defaultValue:null,description:"@category rendering",name:"renderOptions",required:!1,type:{name:"RenderOptions"}},connectedCallback:{defaultValue:null,description:"Invoked when the component is added to the document's DOM.\n\nIn `connectedCallback()` you should setup tasks that should only occur when\nthe element is connected to the document. The most common of these is\nadding event listeners to nodes external to the element, like a keydown\nevent handler added to the window.\n\n```ts\nconnectedCallback() {\n super.connectedCallback();\n addEventListener('keydown', this._handleKeydown);\n}\n```\n\nTypically, anything done in `connectedCallback()` should be undone when the\nelement is disconnected, in `disconnectedCallback()`.\n@category lifecycle",name:"connectedCallback",required:!1,type:{name:"() => void"}},disconnectedCallback:{defaultValue:null,description:"Invoked when the component is removed from the document's DOM.\n\nThis callback is the main signal to the element that it may no longer be\nused. `disconnectedCallback()` should ensure that nothing is holding a\nreference to the element (such as event listeners added to nodes external\nto the element), so that it is free to be garbage collected.\n\n```ts\ndisconnectedCallback() {\n super.disconnectedCallback();\n window.removeEventListener('keydown', this._handleKeydown);\n}\n```\n\nAn element may be re-connected after being disconnected.\n@category lifecycle",name:"disconnectedCallback",required:!1,type:{name:"() => void"}},renderRoot:{defaultValue:null,description:"Node or ShadowRoot into which element DOM should be rendered. Defaults\nto an open shadowRoot.\n@category rendering",name:"renderRoot",required:!1,type:{name:"HTMLElement | ShadowRoot"}},isUpdatePending:{defaultValue:null,description:"True if there is a pending update as a result of calling `requestUpdate()`.\nShould only be read.\n@category updates",name:"isUpdatePending",required:!1,type:{name:"boolean"}},hasUpdated:{defaultValue:null,description:"Is set to `true` after the first update. The element code cannot assume\nthat `renderRoot` exists before the element `hasUpdated`.\n@category updates",name:"hasUpdated",required:!1,type:{name:"boolean"}},addController:{defaultValue:null,description:"Registers a `ReactiveController` to participate in the element's reactive\nupdate cycle. The element automatically calls into any registered\ncontrollers during its lifecycle callbacks.\n\nIf the element is connected when `addController()` is called, the\ncontroller's `hostConnected()` callback will be immediately called.\n@category controllers",name:"addController",required:!1,type:{name:"(controller: ReactiveController) => void"}},removeController:{defaultValue:null,description:"Removes a `ReactiveController` from the element.\n@category controllers",name:"removeController",required:!1,type:{name:"(controller: ReactiveController) => void"}},attributeChangedCallback:{defaultValue:null,description:"Synchronizes property values when attributes change.\n\nSpecifically, when an attribute is set, the corresponding property is set.\nYou should rarely need to implement this callback. If this method is\noverridden, `super.attributeChangedCallback(name, _old, value)` must be\ncalled.\n\nSee [using the lifecycle callbacks](https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements#using_the_lifecycle_callbacks)\non MDN for more information about the `attributeChangedCallback`.\n@category attributes",name:"attributeChangedCallback",required:!1,type:{name:"(name: string, _old: string, value: string) => void"}},requestUpdate:{defaultValue:null,description:"Requests an update which is processed asynchronously. This should be called\nwhen an element should update based on some state not triggered by setting\na reactive property. In this case, pass no arguments. It should also be\ncalled when manually implementing a property setter. In this case, pass the\nproperty `name` and `oldValue` to ensure that any configured property\noptions are honored.\n@param name name of requesting property\n@param oldValue old value of requesting property\n@param options property options to use instead of the previously\nconfigured options\n@category updates",name:"requestUpdate",required:!1,type:{name:"(name?: PropertyKey, oldValue?: unknown, options?: PropertyDeclaration<unknown, unknown>) => void"}},updateComplete:{defaultValue:null,description:"Returns a Promise that resolves when the element has completed updating.\nThe Promise value is a boolean that is `true` if the element completed the\nupdate without triggering another update. The Promise result is `false` if\na property was set inside `updated()`. If the Promise is rejected, an\nexception was thrown during the update.\n\nTo await additional asynchronous work, override the `getUpdateComplete`\nmethod. For example, it is sometimes useful to await a rendered element\nbefore fulfilling this Promise. To do this, first await\n`super.getUpdateComplete()`, then any subsequent state.\n@return A promise of a boolean that resolves to true if the update completed\nwithout triggering another update.\n@category updates",name:"updateComplete",required:!1,type:{name:"Promise<boolean>"}},headline:{defaultValue:null,description:"The Headline will be rendered as the Section Headline with the correct brand styling applied",name:"headline",required:!1,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/Section/Section.tsx#Cre8Section"]={docgenInfo:Cre8Section.__docgenInfo,name:"Cre8Section",path:"src/components/Section/Section.tsx#Cre8Section"})}catch(__react_docgen_typescript_loader_error){}var TextPassage=__webpack_require__("./src/components/TextPassage/TextPassage.tsx"),Heading=__webpack_require__("./src/components/Heading/Heading.tsx"),Button=__webpack_require__("./src/components/Button/Button.tsx"),preview=__webpack_require__("./.storybook/preview.js"),jsx_runtime=__webpack_require__("./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");const Section_stories={title:"Cre8 Components/Section",component:Cre8Section,parameters:{status:{type:"inProgress"},controls:{exclude:new RegExp(`${preview.excludeRegexArray.join("|")}`)}},args:{headline:"Section Headline",children:(0,jsx_runtime.jsx)(TextPassage.W,{children:(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[(0,jsx_runtime.jsx)("p",{children:"This is a paragraph of text. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."}),(0,jsx_runtime.jsxs)("p",{children:[(0,jsx_runtime.jsx)("a",{href:"#",children:"Lorem ipsum dolor sit amet"}),", consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."]}),(0,jsx_runtime.jsxs)("blockquote",{children:[(0,jsx_runtime.jsx)("p",{children:"This is a quotation from something."}),(0,jsx_runtime.jsx)("cite",{children:"Cite source"})]}),(0,jsx_runtime.jsx)("p",{children:"This is another paragraph of text. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."})]})})},render:args=>(0,jsx_runtime.jsx)(Cre8Section,{headline:args.headline,children:args.children})},Default={args:{headline:"Section Headline"}},CustomHeader={args:{headline:void 0,children:(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[(0,jsx_runtime.jsxs)("div",{style:{display:"flex",justifyContent:"space-between"},slot:"header",children:[(0,jsx_runtime.jsxs)(Heading.j,{tagVariant:"h2",slot:"header",children:[" ","Section Headline"," "]}),(0,jsx_runtime.jsx)(Button.t,{iconPosition:"before",variant:"secondary",iconName:"search",text:"ID cards"})]}),(0,jsx_runtime.jsxs)(TextPassage.W,{children:[(0,jsx_runtime.jsx)("p",{children:"This is a paragraph of text. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."}),(0,jsx_runtime.jsxs)("p",{children:[(0,jsx_runtime.jsx)("a",{href:"#",children:"Lorem ipsum dolor sit amet"}),", consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."]})]})]})}};Default.parameters={...Default.parameters,docs:{...Default.parameters?.docs,source:{originalSource:"{\n args: {\n headline: 'Section Headline'\n }\n}",...Default.parameters?.docs?.source}}},CustomHeader.parameters={...CustomHeader.parameters,docs:{...CustomHeader.parameters?.docs,source:{originalSource:'{\n args: {\n headline: undefined,\n children: <>\n <div style={customHeader} slot="header">\n <Cre8Heading tagVariant="h2" slot="header">\n {\' \'}\n Section Headline{\' \'}\n </Cre8Heading>\n <Cre8Button iconPosition="before" variant="secondary" iconName="search" text="ID cards"></Cre8Button>\n </div>\n\n <Cre8TextPassage>\n <p>\n This is a paragraph of text. Lorem ipsum dolor sit amet, consectetur\n adipiscing elit, sed do eiusmod tempor incididunt ut labore et\n dolore magna aliqua. Ut enim ad minim veniam, quis nostrud\n exercitation ullamco laboris nisi ut aliquip ex ea commodo\n consequat.\n </p>\n <p>\n <a href="#">Lorem ipsum dolor sit amet</a>, consectetur adipiscing\n elit, sed do eiusmod tempor incididunt ut labore et dolore magna\n aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco\n laboris nisi ut aliquip ex ea commodo consequat.\n </p>\n </Cre8TextPassage>\n </>\n }\n}',...CustomHeader.parameters?.docs?.source}}};const __namedExportsOrder=["Default","CustomHeader"]},"./src/components/TextPassage/TextPassage.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{W:()=>Cre8TextPassage});var _lit_react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/.pnpm/@lit+react@1.0.7_@types+react@18.2.13/node_modules/@lit/react/index.js"),_cre8_dev_cre8_wc_lib_components_text_passage_text_passage__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/.pnpm/@cre8_dev+cre8-wc@1.0.3_webpack@5.98.0/node_modules/@cre8_dev/cre8-wc/lib/components/text-passage/text-passage.js"),react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");const Cre8TextPassage=(0,_lit_react__WEBPACK_IMPORTED_MODULE_0__.a)({react:react__WEBPACK_IMPORTED_MODULE_2__,tagName:"Cre8-text-passage",elementClass:_cre8_dev_cre8_wc_lib_components_text_passage_text_passage__WEBPACK_IMPORTED_MODULE_1__.W});try{Cre8TextPassage.displayName="Cre8TextPassage",Cre8TextPassage.__docgenInfo={description:"",displayName:"Cre8TextPassage",props:{size:{defaultValue:null,description:"Size variant\n- **small** renders smaller typography than the default variant\n- **default** renders default typography variant\n- **large** renders larger typography than the default variant",name:"size",required:!1,type:{name:"enum",value:[{value:'"small"'},{value:'"default"'},{value:'"large"'}]}},render:{defaultValue:null,description:"Example render, should not be used",name:"render",required:!1,type:{name:"() => TemplateResult<1>"}},componentClassNames:{defaultValue:null,description:"Abstraction of `classnames` that automatically includes any style modifier\nas well as any set variants.\n\nIt is expected that `variant` would be overridden in a subclass with more\nspecific types, `@property() variant?: 'foo' | 'bar'`\n@param baseClassName",name:"componentClassNames",required:!1,type:{name:"(baseClassName: string, additionalClassNames?: {}) => string"}},slotEmpty:{defaultValue:null,description:"Check if a slot is empty\n@param slotName",name:"slotEmpty",required:!1,type:{name:"(slotName: string) => boolean"}},slotNotEmpty:{defaultValue:null,description:"Check if a slot is not empty\n@param slotName",name:"slotNotEmpty",required:!1,type:{name:"(slotName: string) => boolean"}},dispatch:{defaultValue:null,description:"Dispatch a custom event.",name:"dispatch",required:!1,type:{name:"({ e, eventName, detailObj, optionsObj, }: Cre8DispatchProps) => CustomEvent<any>"}},renderOptions:{defaultValue:null,description:"@category rendering",name:"renderOptions",required:!1,type:{name:"RenderOptions"}},connectedCallback:{defaultValue:null,description:"Add the light dom styles when this component is connected to a page",name:"connectedCallback",required:!1,type:{name:"() => void"}},disconnectedCallback:{defaultValue:null,description:"Invoked when the component is removed from the document's DOM.\n\nThis callback is the main signal to the element that it may no longer be\nused. `disconnectedCallback()` should ensure that nothing is holding a\nreference to the element (such as event listeners added to nodes external\nto the element), so that it is free to be garbage collected.\n\n```ts\ndisconnectedCallback() {\n super.disconnectedCallback();\n window.removeEventListener('keydown', this._handleKeydown);\n}\n```\n\nAn element may be re-connected after being disconnected.\n@category lifecycle",name:"disconnectedCallback",required:!1,type:{name:"() => void"}},renderRoot:{defaultValue:null,description:"Node or ShadowRoot into which element DOM should be rendered. Defaults\nto an open shadowRoot.\n@category rendering",name:"renderRoot",required:!1,type:{name:"HTMLElement | ShadowRoot"}},isUpdatePending:{defaultValue:null,description:"True if there is a pending update as a result of calling `requestUpdate()`.\nShould only be read.\n@category updates",name:"isUpdatePending",required:!1,type:{name:"boolean"}},hasUpdated:{defaultValue:null,description:"Is set to `true` after the first update. The element code cannot assume\nthat `renderRoot` exists before the element `hasUpdated`.\n@category updates",name:"hasUpdated",required:!1,type:{name:"boolean"}},addController:{defaultValue:null,description:"Registers a `ReactiveController` to participate in the element's reactive\nupdate cycle. The element automatically calls into any registered\ncontrollers during its lifecycle callbacks.\n\nIf the element is connected when `addController()` is called, the\ncontroller's `hostConnected()` callback will be immediately called.\n@category controllers",name:"addController",required:!1,type:{name:"(controller: ReactiveController) => void"}},removeController:{defaultValue:null,description:"Removes a `ReactiveController` from the element.\n@category controllers",name:"removeController",required:!1,type:{name:"(controller: ReactiveController) => void"}},attributeChangedCallback:{defaultValue:null,description:"Synchronizes property values when attributes change.\n\nSpecifically, when an attribute is set, the corresponding property is set.\nYou should rarely need to implement this callback. If this method is\noverridden, `super.attributeChangedCallback(name, _old, value)` must be\ncalled.\n\nSee [using the lifecycle callbacks](https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements#using_the_lifecycle_callbacks)\non MDN for more information about the `attributeChangedCallback`.\n@category attributes",name:"attributeChangedCallback",required:!1,type:{name:"(name: string, _old: string, value: string) => void"}},requestUpdate:{defaultValue:null,description:"Requests an update which is processed asynchronously. This should be called\nwhen an element should update based on some state not triggered by setting\na reactive property. In this case, pass no arguments. It should also be\ncalled when manually implementing a property setter. In this case, pass the\nproperty `name` and `oldValue` to ensure that any configured property\noptions are honored.\n@param name name of requesting property\n@param oldValue old value of requesting property\n@param options property options to use instead of the previously\nconfigured options\n@category updates",name:"requestUpdate",required:!1,type:{name:"(name?: PropertyKey, oldValue?: unknown, options?: PropertyDeclaration<unknown, unknown>) => void"}},updateComplete:{defaultValue:null,description:"Returns a Promise that resolves when the element has completed updating.\nThe Promise value is a boolean that is `true` if the element completed the\nupdate without triggering another update. The Promise result is `false` if\na property was set inside `updated()`. If the Promise is rejected, an\nexception was thrown during the update.\n\nTo await additional asynchronous work, override the `getUpdateComplete`\nmethod. For example, it is sometimes useful to await a rendered element\nbefore fulfilling this Promise. To do this, first await\n`super.getUpdateComplete()`, then any subsequent state.\n@return A promise of a boolean that resolves to true if the update completed\nwithout triggering another update.\n@category updates",name:"updateComplete",required:!1,type:{name:"Promise<boolean>"}},inverted:{defaultValue:null,description:"Inverted variant\n1) Used for dark backgrounds",name:"inverted",required:!1,type:{name:"boolean"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/TextPassage/TextPassage.tsx#Cre8TextPassage"]={docgenInfo:Cre8TextPassage.__docgenInfo,name:"Cre8TextPassage",path:"src/components/TextPassage/TextPassage.tsx#Cre8TextPassage"})}catch(__react_docgen_typescript_loader_error){}}}]);
|
|
14
|
+
//# sourceMappingURL=components-Section-Section-stories.2c063a15.iframe.bundle.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"components-Section-Section-stories.2c063a15.iframe.bundle.js","mappings":";AAEA;AACA;AACA;;AAEA;;;;;;;AAOA","sources":["webpack://@cre8_dev/cre8-react/./node_modules/.pnpm/@cre8_dev+cre8-wc@1.0.3_webpack@5.98.0/node_modules/@cre8_dev/cre8-wc/lib/components/section/section.js"],"sourcesContent":["/*! For license information please see section.js.LICENSE.txt */\nvar t={807:(t,e,r)=>{r.d(e,{MZ:()=>i.M});var i=r(7191);r(4963),r(8301)},1085:(t,e,r)=>{function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,i=Array(e);r<e;r++)i[r]=t[r];return i}r.d(e,{A:()=>i})},1886:(t,e,r)=>{var i;r.d(e,{XX:()=>F,c0:()=>S,qy:()=>E});const n=window,s=n.trustedTypes,o=s?s.createPolicy(\"lit-html\",{createHTML:t=>t}):void 0,l=\"$lit$\",a=`lit$${(Math.random()+\"\").slice(9)}$`,c=\"?\"+a,d=`<${c}>`,h=document,p=()=>h.createComment(\"\"),u=t=>null===t||\"object\"!=typeof t&&\"function\"!=typeof t,f=Array.isArray,v=\"[ \\t\\n\\f\\r]\",m=/<(?:(!--|\\/[^a-zA-Z])|(\\/?[a-zA-Z][^>\\s]*)|(\\/?$))/g,y=/-->/g,g=/>/g,b=RegExp(`>|${v}(?:([^\\\\s\"'>=/]+)(${v}*=${v}*(?:[^ \\t\\n\\f\\r\"'\\`<>=]|(\"|')|))|$)`,\"g\"),A=/'/g,$=/\"/g,_=/^(?:script|style|textarea|title)$/i,w=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),E=w(1),S=(w(2),Symbol.for(\"lit-noChange\")),x=Symbol.for(\"lit-nothing\"),k=new WeakMap,O=h.createTreeWalker(h,129,null,!1);function P(t,e){if(!Array.isArray(t)||!t.hasOwnProperty(\"raw\"))throw Error(\"invalid template strings array\");return void 0!==o?o.createHTML(e):e}const C=(t,e)=>{const r=t.length-1,i=[];let n,s=2===e?\"<svg>\":\"\",o=m;for(let e=0;e<r;e++){const r=t[e];let c,h,p=-1,u=0;for(;u<r.length&&(o.lastIndex=u,h=o.exec(r),null!==h);)u=o.lastIndex,o===m?\"!--\"===h[1]?o=y:void 0!==h[1]?o=g:void 0!==h[2]?(_.test(h[2])&&(n=RegExp(\"</\"+h[2],\"g\")),o=b):void 0!==h[3]&&(o=b):o===b?\">\"===h[0]?(o=null!=n?n:m,p=-1):void 0===h[1]?p=-2:(p=o.lastIndex-h[2].length,c=h[1],o=void 0===h[3]?b:'\"'===h[3]?$:A):o===$||o===A?o=b:o===y||o===g?o=m:(o=b,n=void 0);const f=o===b&&t[e+1].startsWith(\"/>\")?\" \":\"\";s+=o===m?r+d:p>=0?(i.push(c),r.slice(0,p)+l+r.slice(p)+a+f):r+a+(-2===p?(i.push(void 0),e):f)}return[P(t,s+(t[r]||\"<?>\")+(2===e?\"</svg>\":\"\")),i]};class j{constructor({strings:t,_$litType$:e},r){let i;this.parts=[];let n=0,o=0;const d=t.length-1,h=this.parts,[u,f]=C(t,e);if(this.el=j.createElement(u,r),O.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(i=O.nextNode())&&h.length<d;){if(1===i.nodeType){if(i.hasAttributes()){const t=[];for(const e of i.getAttributeNames())if(e.endsWith(l)||e.startsWith(a)){const r=f[o++];if(t.push(e),void 0!==r){const t=i.getAttribute(r.toLowerCase()+l).split(a),e=/([.?@])?(.*)/.exec(r);h.push({type:1,index:n,name:e[2],strings:t,ctor:\".\"===e[1]?R:\"?\"===e[1]?H:\"@\"===e[1]?M:D})}else h.push({type:6,index:n})}for(const e of t)i.removeAttribute(e)}if(_.test(i.tagName)){const t=i.textContent.split(a),e=t.length-1;if(e>0){i.textContent=s?s.emptyScript:\"\";for(let r=0;r<e;r++)i.append(t[r],p()),O.nextNode(),h.push({type:2,index:++n});i.append(t[e],p())}}}else if(8===i.nodeType)if(i.data===c)h.push({type:2,index:n});else{let t=-1;for(;-1!==(t=i.data.indexOf(a,t+1));)h.push({type:7,index:n}),t+=a.length-1}n++}}static createElement(t,e){const r=h.createElement(\"template\");return r.innerHTML=t,r}}function T(t,e,r=t,i){var n,s,o,l;if(e===S)return e;let a=void 0!==i?null===(n=r._$Co)||void 0===n?void 0:n[i]:r._$Cl;const c=u(e)?void 0:e._$litDirective$;return(null==a?void 0:a.constructor)!==c&&(null===(s=null==a?void 0:a._$AO)||void 0===s||s.call(a,!1),void 0===c?a=void 0:(a=new c(t),a._$AT(t,r,i)),void 0!==i?(null!==(o=(l=r)._$Co)&&void 0!==o?o:l._$Co=[])[i]=a:r._$Cl=a),void 0!==a&&(e=T(t,a._$AS(t,e.values),a,i)),e}class U{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var e;const{el:{content:r},parts:i}=this._$AD,n=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:h).importNode(r,!0);O.currentNode=n;let s=O.nextNode(),o=0,l=0,a=i[0];for(;void 0!==a;){if(o===a.index){let e;2===a.type?e=new z(s,s.nextSibling,this,t):1===a.type?e=new a.ctor(s,a.name,a.strings,this,t):6===a.type&&(e=new I(s,this,t)),this._$AV.push(e),a=i[++l]}o!==(null==a?void 0:a.index)&&(s=O.nextNode(),o++)}return O.currentNode=h,n}v(t){let e=0;for(const r of this._$AV)void 0!==r&&(void 0!==r.strings?(r._$AI(t,r,e),e+=r.strings.length-2):r._$AI(t[e])),e++}}class z{constructor(t,e,r,i){var n;this.type=2,this._$AH=x,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=r,this.options=i,this._$Cp=null===(n=null==i?void 0:i.isConnected)||void 0===n||n}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===(null==t?void 0:t.nodeType)&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=T(this,t,e),u(t)?t===x||null==t||\"\"===t?(this._$AH!==x&&this._$AR(),this._$AH=x):t!==this._$AH&&t!==S&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>f(t)||\"function\"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==x&&u(this._$AH)?this._$AA.nextSibling.data=t:this.$(h.createTextNode(t)),this._$AH=t}g(t){var e;const{values:r,_$litType$:i}=t,n=\"number\"==typeof i?this._$AC(t):(void 0===i.el&&(i.el=j.createElement(P(i.h,i.h[0]),this.options)),i);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===n)this._$AH.v(r);else{const t=new U(n,this),e=t.u(this.options);t.v(r),this.$(e),this._$AH=t}}_$AC(t){let e=k.get(t.strings);return void 0===e&&k.set(t.strings,e=new j(t)),e}T(t){f(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,i=0;for(const n of t)i===e.length?e.push(r=new z(this.k(p()),this.k(p()),this,this.options)):r=e[i],r._$AI(n),i++;i<e.length&&(this._$AR(r&&r._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){var r;for(null===(r=this._$AP)||void 0===r||r.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cp=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class D{constructor(t,e,r,i,n){this.type=1,this._$AH=x,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=n,r.length>2||\"\"!==r[0]||\"\"!==r[1]?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=x}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,r,i){const n=this.strings;let s=!1;if(void 0===n)t=T(this,t,e,0),s=!u(t)||t!==this._$AH&&t!==S,s&&(this._$AH=t);else{const i=t;let o,l;for(t=n[0],o=0;o<n.length-1;o++)l=T(this,i[r+o],e,o),l===S&&(l=this._$AH[o]),s||(s=!u(l)||l!==this._$AH[o]),l===x?t=x:t!==x&&(t+=(null!=l?l:\"\")+n[o+1]),this._$AH[o]=l}s&&!i&&this.j(t)}j(t){t===x?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:\"\")}}class R extends D{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===x?void 0:t}}const N=s?s.emptyScript:\"\";class H extends D{constructor(){super(...arguments),this.type=4}j(t){t&&t!==x?this.element.setAttribute(this.name,N):this.element.removeAttribute(this.name)}}class M extends D{constructor(t,e,r,i,n){super(t,e,r,i,n),this.type=5}_$AI(t,e=this){var r;if((t=null!==(r=T(this,t,e,0))&&void 0!==r?r:x)===S)return;const i=this._$AH,n=t===x&&i!==x||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,s=t!==x&&(i===x||n);n&&this.element.removeEventListener(this.name,this,i),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,r;\"function\"==typeof this._$AH?this._$AH.call(null!==(r=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==r?r:this.element,t):this._$AH.handleEvent(t)}}class I{constructor(t,e,r){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(t){T(this,t)}}const L=n.litHtmlPolyfillSupport;null==L||L(j,z),(null!==(i=n.litHtmlVersions)&&void 0!==i?i:n.litHtmlVersions=[]).push(\"2.8.0\");const F=(t,e,r)=>{var i,n;const s=null!==(i=null==r?void 0:r.renderBefore)&&void 0!==i?i:e;let o=s._$litPart$;if(void 0===o){const t=null!==(n=null==r?void 0:r.renderBefore)&&void 0!==n?n:null;s._$litPart$=o=new z(e.insertBefore(p(),t),t,void 0,null!=r?r:{})}return o._$AI(t),o}},2428:(t,e,r)=>{r.d(e,{A:()=>n});var i=r(8749);function n(t,e){if(\"object\"!=(0,i.A)(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||\"default\");if(\"object\"!=(0,i.A)(n))return n;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(\"string\"===e?String:Number)(t)}},2454:(t,e,r)=>{function i(){throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\")}r.d(e,{A:()=>i})},2551:(t,e,r)=>{r.d(e,{A:()=>n});var i=r(8346);function n(t,e,r){return(e=(0,i.A)(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}},2631:(t,e,r)=>{r.d(e,{A:()=>s});var i=r(2551);function n(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,i)}return r}function s(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?n(Object(r),!0).forEach((function(e){(0,i.A)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}},2972:(t,e)=>{var r;!function(){var i={}.hasOwnProperty;function n(){for(var t=[],e=0;e<arguments.length;e++){var r=arguments[e];if(r){var s=typeof r;if(\"string\"===s||\"number\"===s)t.push(r);else if(Array.isArray(r)){if(r.length){var o=n.apply(null,r);o&&t.push(o)}}else if(\"object\"===s){if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes(\"[native code]\")){t.push(r.toString());continue}for(var l in r)i.call(r,l)&&r[l]&&t.push(l)}}}return t.join(\" \")}t.exports?(n.default=n,t.exports=n):void 0===(r=function(){return n}.apply(e,[]))||(t.exports=r)}()},4963:(t,e,r)=>{var i;null===(i=window.HTMLSlotElement)||void 0===i||i.prototype.assignedElements},5458:t=>{t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var r=\"\",i=void 0!==e[5];return e[4]&&(r+=\"@supports (\".concat(e[4],\") {\")),e[2]&&(r+=\"@media \".concat(e[2],\" {\")),i&&(r+=\"@layer\".concat(e[5].length>0?\" \".concat(e[5]):\"\",\" {\")),r+=t(e),i&&(r+=\"}\"),e[2]&&(r+=\"}\"),e[4]&&(r+=\"}\"),r})).join(\"\")},e.i=function(t,r,i,n,s){\"string\"==typeof t&&(t=[[null,t,void 0]]);var o={};if(i)for(var l=0;l<this.length;l++){var a=this[l][0];null!=a&&(o[a]=!0)}for(var c=0;c<t.length;c++){var d=[].concat(t[c]);i&&o[d[0]]||(void 0!==s&&(void 0===d[5]||(d[1]=\"@layer\".concat(d[5].length>0?\" \".concat(d[5]):\"\",\" {\").concat(d[1],\"}\")),d[5]=s),r&&(d[2]?(d[1]=\"@media \".concat(d[2],\" {\").concat(d[1],\"}\"),d[2]=r):d[2]=r),n&&(d[4]?(d[1]=\"@supports (\".concat(d[4],\") {\").concat(d[1],\"}\"),d[4]=n):d[4]=\"\".concat(n)),e.push(d))}},e}},5617:(t,e,r)=>{function i(t){if(\"undefined\"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t[\"@@iterator\"])return Array.from(t)}r.d(e,{A:()=>i})},5668:(t,e,r)=>{r.d(e,{A:()=>n});var i=r(1085);function n(t,e){if(t){if(\"string\"==typeof t)return(0,i.A)(t,e);var r={}.toString.call(t).slice(8,-1);return\"Object\"===r&&t.constructor&&(r=t.constructor.name),\"Map\"===r||\"Set\"===r?Array.from(t):\"Arguments\"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?(0,i.A)(t,e):void 0}}},6305:(t,e,r)=>{r.d(e,{A:()=>l});var i=r(9385),n=r.n(i),s=r(5458),o=r.n(s)()(n());o.push([t.id,\"*,::slotted(*),*:before,*:after{box-sizing:border-box}:root,:host{--size-base-unit: 0.5rem}[dir=rtl]{--rtlTranslateX: 50%;--rtlGradientToRight: 270deg;--rtlRotate45Inverse: -45deg}:root,:host{--size-base-unit: 0.5rem}[dir=rtl]{--rtlTranslateX: 50%;--rtlGradientToRight: 270deg;--rtlRotate45Inverse: -45deg}:host{--cre8-z-index-1: 1;--cre8-z-index-50: 50;--cre8-z-index-100: 100;--cre8-z-index-200: 200;--cre8-z-index-1030: 1030;--cre8-anim-fade-quick: 0.35s;--cre8-anim-ease: ease}@keyframes fadeIn{100%{opacity:1}}@keyframes slideIn{100%{transform:translateX(0)}}@keyframes slideInFwd{100%{width:272px;height:272px}}@keyframes slideOutRight{100%{width:272px;height:272px}}@keyframes slideUp{100%{transform:translateY(0)}}@media(width >= 481px){@keyframes slideInFwd{100%{width:417px;height:417px}}@keyframes slideOutRight{100%{width:417px;height:417px}}}@media(width >= 48rem){@keyframes slideInFwd{100%{width:330px;height:330px}}@keyframes slideOutRight{100%{width:330px;height:330px;transform:translateX(calc(100vw - 45px))}}}@media(width >= 60rem){@keyframes slideInFwd{100%{width:460px;height:460px}}@keyframes slideOutRight{100%{width:460px;height:460px;transform:translateX(calc(100vw - 45px))}}}@media(width >= 75rem){@keyframes slideInFwd{100%{width:592px;height:591px}}@keyframes slideOutRight{100%{width:592px;height:591px;transform:translateX(calc(100vw - 45px))}}}@media(width >= 87.5rem){@keyframes slideOutRight{100%{width:592px;height:591px;transform:translateX(calc(100vw - 120px))}}}@media(width >= 2200px){@keyframes slideOutRight{100%{width:592px;height:591px;transform:translateX(calc(100vw - 592px))}}}span.ripple{position:absolute;border-radius:50%;transform:scale(0);animation:ripple 600ms linear;background-color:var(--ripple-bg-color)}@keyframes ripple{to{transform:scale(4);opacity:1}}#SECTION .cre8-c-section{margin-bottom:calc(var(--size-base-unit) * 4);display:block}.cre8-c-section-header{display:flex;justify-content:space-between}.cre8-c-section__body{padding-top:calc(var(--size-base-unit) * 2)}@media all and (min-width: 960px){.cre8-c-section__body{padding-top:calc(var(--size-base-unit) * 4)}}\",\"\"]);const l=o},7006:(t,e,r)=>{r.d(e,{A:()=>s});var i=r(7387),n=r(8346);function s(t,e,r,i){var n=o();if(i)for(var s=0;s<i.length;s++)n=i[s](n);var h=e((function(t){n.initializeInstanceElements(t,p.elements)}),r),p=n.decorateClass(function(t){for(var e=[],r=function(t){return\"method\"===t.kind&&t.key===s.key&&t.placement===s.placement},i=0;i<t.length;i++){var n,s=t[i];if(\"method\"===s.kind&&(n=e.find(r)))if(d(s.descriptor)||d(n.descriptor)){if(c(s)||c(n))throw new ReferenceError(\"Duplicated methods (\"+s.key+\") can't be decorated.\");n.descriptor=s.descriptor}else{if(c(s)){if(c(n))throw new ReferenceError(\"Decorators can't be placed on different accessors with for the same property (\"+s.key+\").\");n.decorators=s.decorators}a(s,n)}else e.push(s)}return e}(h.d.map(l)),t);return n.initializeClassElements(h.F,p.elements),n.runClassFinishers(h.F,p.finishers)}function o(){o=function(){return t};var t={elementsDefinitionOrder:[[\"method\"],[\"field\"]],initializeInstanceElements:function(t,e){[\"method\",\"field\"].forEach((function(r){e.forEach((function(e){e.kind===r&&\"own\"===e.placement&&this.defineClassElement(t,e)}),this)}),this)},initializeClassElements:function(t,e){var r=t.prototype;[\"method\",\"field\"].forEach((function(i){e.forEach((function(e){var n=e.placement;if(e.kind===i&&(\"static\"===n||\"prototype\"===n)){var s=\"static\"===n?t:r;this.defineClassElement(s,e)}}),this)}),this)},defineClassElement:function(t,e){var r=e.descriptor;if(\"field\"===e.kind){var i=e.initializer;r={enumerable:r.enumerable,writable:r.writable,configurable:r.configurable,value:void 0===i?void 0:i.call(t)}}Object.defineProperty(t,e.key,r)},decorateClass:function(t,e){var r=[],i=[],n={static:[],prototype:[],own:[]};if(t.forEach((function(t){this.addElementPlacement(t,n)}),this),t.forEach((function(t){if(!c(t))return r.push(t);var e=this.decorateElement(t,n);r.push(e.element),r.push.apply(r,e.extras),i.push.apply(i,e.finishers)}),this),!e)return{elements:r,finishers:i};var s=this.decorateConstructor(r,e);return i.push.apply(i,s.finishers),s.finishers=i,s},addElementPlacement:function(t,e,r){var i=e[t.placement];if(!r&&-1!==i.indexOf(t.key))throw new TypeError(\"Duplicated element (\"+t.key+\")\");i.push(t.key)},decorateElement:function(t,e){for(var r=[],i=[],n=t.decorators,s=n.length-1;s>=0;s--){var o=e[t.placement];o.splice(o.indexOf(t.key),1);var l=this.fromElementDescriptor(t),a=this.toElementFinisherExtras((0,n[s])(l)||l);t=a.element,this.addElementPlacement(t,e),a.finisher&&i.push(a.finisher);var c=a.extras;if(c){for(var d=0;d<c.length;d++)this.addElementPlacement(c[d],e);r.push.apply(r,c)}}return{element:t,finishers:i,extras:r}},decorateConstructor:function(t,e){for(var r=[],i=e.length-1;i>=0;i--){var n=this.fromClassDescriptor(t),s=this.toClassDescriptor((0,e[i])(n)||n);if(void 0!==s.finisher&&r.push(s.finisher),void 0!==s.elements){t=s.elements;for(var o=0;o<t.length-1;o++)for(var l=o+1;l<t.length;l++)if(t[o].key===t[l].key&&t[o].placement===t[l].placement)throw new TypeError(\"Duplicated element (\"+t[o].key+\")\")}}return{elements:t,finishers:r}},fromElementDescriptor:function(t){var e={kind:t.kind,key:t.key,placement:t.placement,descriptor:t.descriptor};return Object.defineProperty(e,Symbol.toStringTag,{value:\"Descriptor\",configurable:!0}),\"field\"===t.kind&&(e.initializer=t.initializer),e},toElementDescriptors:function(t){if(void 0!==t)return(0,i.A)(t).map((function(t){var e=this.toElementDescriptor(t);return this.disallowProperty(t,\"finisher\",\"An element descriptor\"),this.disallowProperty(t,\"extras\",\"An element descriptor\"),e}),this)},toElementDescriptor:function(t){var e=t.kind+\"\";if(\"method\"!==e&&\"field\"!==e)throw new TypeError('An element descriptor\\'s .kind property must be either \"method\" or \"field\", but a decorator created an element descriptor with .kind \"'+e+'\"');var r=(0,n.A)(t.key),i=t.placement+\"\";if(\"static\"!==i&&\"prototype\"!==i&&\"own\"!==i)throw new TypeError('An element descriptor\\'s .placement property must be one of \"static\", \"prototype\" or \"own\", but a decorator created an element descriptor with .placement \"'+i+'\"');var s=t.descriptor;this.disallowProperty(t,\"elements\",\"An element descriptor\");var o={kind:e,key:r,placement:i,descriptor:Object.assign({},s)};return\"field\"!==e?this.disallowProperty(t,\"initializer\",\"A method descriptor\"):(this.disallowProperty(s,\"get\",\"The property descriptor of a field descriptor\"),this.disallowProperty(s,\"set\",\"The property descriptor of a field descriptor\"),this.disallowProperty(s,\"value\",\"The property descriptor of a field descriptor\"),o.initializer=t.initializer),o},toElementFinisherExtras:function(t){return{element:this.toElementDescriptor(t),finisher:h(t,\"finisher\"),extras:this.toElementDescriptors(t.extras)}},fromClassDescriptor:function(t){var e={kind:\"class\",elements:t.map(this.fromElementDescriptor,this)};return Object.defineProperty(e,Symbol.toStringTag,{value:\"Descriptor\",configurable:!0}),e},toClassDescriptor:function(t){var e=t.kind+\"\";if(\"class\"!==e)throw new TypeError('A class descriptor\\'s .kind property must be \"class\", but a decorator created a class descriptor with .kind \"'+e+'\"');this.disallowProperty(t,\"key\",\"A class descriptor\"),this.disallowProperty(t,\"placement\",\"A class descriptor\"),this.disallowProperty(t,\"descriptor\",\"A class descriptor\"),this.disallowProperty(t,\"initializer\",\"A class descriptor\"),this.disallowProperty(t,\"extras\",\"A class descriptor\");var r=h(t,\"finisher\");return{elements:this.toElementDescriptors(t.elements),finisher:r}},runClassFinishers:function(t,e){for(var r=0;r<e.length;r++){var i=(0,e[r])(t);if(void 0!==i){if(\"function\"!=typeof i)throw new TypeError(\"Finishers must return a constructor.\");t=i}}return t},disallowProperty:function(t,e,r){if(void 0!==t[e])throw new TypeError(r+\" can't have a .\"+e+\" property.\")}};return t}function l(t){var e,r=(0,n.A)(t.key);\"method\"===t.kind?e={value:t.value,writable:!0,configurable:!0,enumerable:!1}:\"get\"===t.kind?e={get:t.value,configurable:!0,enumerable:!1}:\"set\"===t.kind?e={set:t.value,configurable:!0,enumerable:!1}:\"field\"===t.kind&&(e={configurable:!0,writable:!0,enumerable:!0});var i={kind:\"field\"===t.kind?\"field\":\"method\",key:r,placement:t.static?\"static\":\"field\"===t.kind?\"own\":\"prototype\",descriptor:e};return t.decorators&&(i.decorators=t.decorators),\"field\"===t.kind&&(i.initializer=t.value),i}function a(t,e){void 0!==t.descriptor.get?e.descriptor.get=t.descriptor.get:e.descriptor.set=t.descriptor.set}function c(t){return t.decorators&&t.decorators.length}function d(t){return void 0!==t&&!(void 0===t.value&&void 0===t.writable)}function h(t,e){var r=t[e];if(void 0!==r&&\"function\"!=typeof r)throw new TypeError(\"Expected '\"+e+\"' to be a function\");return r}},7191:(t,e,r)=>{r.d(e,{M:()=>o});var i=r(8304);const n=(t,e)=>\"method\"===e.kind&&e.descriptor&&!(\"value\"in e.descriptor)?(0,i.A)((0,i.A)({},e),{},{finisher(r){r.createProperty(e.key,t)}}):{kind:\"field\",key:Symbol(),placement:\"own\",descriptor:{},originalKey:e.key,initializer(){\"function\"==typeof e.initializer&&(this[e.key]=e.initializer.call(this))},finisher(r){r.createProperty(e.key,t)}},s=(t,e,r)=>{e.constructor.createProperty(r,t)};function o(t){return(e,r)=>void 0!==r?s(t,e,r):n(t,e)}},7387:(t,e,r)=>{r.d(e,{A:()=>l});var i=r(8701),n=r(5617),s=r(5668),o=r(2454);function l(t){return(0,i.A)(t)||(0,n.A)(t)||(0,s.A)(t)||(0,o.A)()}},8241:(t,e,r)=>{r.d(e,{WF:()=>w,qy:()=>_.qy,iz:()=>a});const i=window,n=i.ShadowRoot&&(void 0===i.ShadyCSS||i.ShadyCSS.nativeShadow)&&\"adoptedStyleSheets\"in Document.prototype&&\"replace\"in CSSStyleSheet.prototype,s=Symbol(),o=new WeakMap;class l{constructor(t,e,r){if(this._$cssResult$=!0,r!==s)throw Error(\"CSSResult is not constructable. Use `unsafeCSS` or `css` instead.\");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(n&&void 0===t){const r=void 0!==e&&1===e.length;r&&(t=o.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),r&&o.set(e,t))}return t}toString(){return this.cssText}}const a=t=>new l(\"string\"==typeof t?t:t+\"\",void 0,s),c=n?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e=\"\";for(const r of t.cssRules)e+=r.cssText;return a(e)})(t):t;var d;const h=window,p=h.trustedTypes,u=p?p.emptyScript:\"\",f=h.reactiveElementPolyfillSupport,v={toAttribute(t,e){switch(e){case Boolean:t=t?u:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=null!==t;break;case Number:r=null===t?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch(t){r=null}}return r}},m=(t,e)=>e!==t&&(e==e||t==t),y={attribute:!0,type:String,converter:v,reflect:!1,hasChanged:m},g=\"finalized\";class b extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(t){var e;this.finalize(),(null!==(e=this.h)&&void 0!==e?e:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,r)=>{const i=this._$Ep(r,e);void 0!==i&&(this._$Ev.set(i,r),t.push(i))})),t}static createProperty(t,e=y){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const r=\"symbol\"==typeof t?Symbol():\"__\"+t,i=this.getPropertyDescriptor(t,r,e);void 0!==i&&Object.defineProperty(this.prototype,t,i)}}static getPropertyDescriptor(t,e,r){return{get(){return this[e]},set(i){const n=this[t];this[e]=i,this.requestUpdate(t,n,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||y}static finalize(){if(this.hasOwnProperty(g))return!1;this[g]=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),void 0!==t.h&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty(\"properties\")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const r of e)this.createProperty(r,t[r])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const r=new Set(t.flat(1/0).reverse());for(const t of r)e.unshift(c(t))}else void 0!==t&&e.push(c(t));return e}static _$Ep(t,e){const r=e.attribute;return!1===r?void 0:\"string\"==typeof r?r:\"string\"==typeof t?t.toLowerCase():void 0}_$Eu(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,r;(null!==(e=this._$ES)&&void 0!==e?e:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(r=t.hostConnected)||void 0===r||r.call(t))}removeController(t){var e;null===(e=this._$ES)||void 0===e||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return((t,e)=>{n?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const r=document.createElement(\"style\"),n=i.litNonce;void 0!==n&&r.setAttribute(\"nonce\",n),r.textContent=e.cssText,t.appendChild(r)}))})(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,r){this._$AK(t,r)}_$EO(t,e,r=y){var i;const n=this.constructor._$Ep(t,r);if(void 0!==n&&!0===r.reflect){const s=(void 0!==(null===(i=r.converter)||void 0===i?void 0:i.toAttribute)?r.converter:v).toAttribute(e,r.type);this._$El=t,null==s?this.removeAttribute(n):this.setAttribute(n,s),this._$El=null}}_$AK(t,e){var r;const i=this.constructor,n=i._$Ev.get(t);if(void 0!==n&&this._$El!==n){const t=i.getPropertyOptions(n),s=\"function\"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(r=t.converter)||void 0===r?void 0:r.fromAttribute)?t.converter:v;this._$El=n,this[n]=s.fromAttribute(e,t.type),this._$El=null}}requestUpdate(t,e,r){let i=!0;void 0!==t&&(((r=r||this.constructor.getPropertyOptions(t)).hasChanged||m)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===r.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,r))):i=!1),!this.isUpdatePending&&i&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((t,e)=>this[e]=t)),this._$Ei=void 0);let e=!1;const r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(r)):this._$Ek()}catch(t){throw e=!1,this._$Ek(),t}e&&this._$AE(r)}willUpdate(t){}_$AE(t){var e;null===(e=this._$ES)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,e)=>this._$EO(e,this[e],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}}b[g]=!0,b.elementProperties=new Map,b.elementStyles=[],b.shadowRootOptions={mode:\"open\"},null==f||f({ReactiveElement:b}),(null!==(d=h.reactiveElementVersions)&&void 0!==d?d:h.reactiveElementVersions=[]).push(\"1.6.3\");var A,$,_=r(1886);class w extends b{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const r=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=r.firstChild),r}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=(0,_.XX)(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return _.c0}}w.finalized=!0,w._$litElement$=!0,null===(A=globalThis.litElementHydrateSupport)||void 0===A||A.call(globalThis,{LitElement:w});const E=globalThis.litElementPolyfillSupport;null==E||E({LitElement:w}),(null!==($=globalThis.litElementVersions)&&void 0!==$?$:globalThis.litElementVersions=[]).push(\"3.3.3\")},8301:(t,e,r)=>{r(4963)},8304:(t,e,r)=>{r.d(e,{A:()=>s});var i=r(8670);function n(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,i)}return r}function s(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?n(Object(r),!0).forEach((function(e){(0,i.A)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}},8346:(t,e,r)=>{function i(t){return i=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&\"function\"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?\"symbol\":typeof t},i(t)}function n(t){var e=function(t){if(\"object\"!=i(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,\"string\");if(\"object\"!=i(r))return r;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return String(t)}(t);return\"symbol\"==i(e)?e:e+\"\"}r.d(e,{A:()=>n})},8366:(t,e,r)=>{r.d(e,{n:()=>l});var i=r(2631),n=r(2972),s=r.n(n),o=r(8241);class l extends o.WF{componentClassNames(t,e={}){return s()(t,e)}slotEmpty(t){return!this.querySelector(`[slot=\"${t}\"]`)}slotNotEmpty(t){return 0!=!this.slotEmpty(t)?!this.slotEmpty(t):null}dispatch({e:t,eventName:e,detailObj:r={},optionsObj:n={}}){const s=(0,i.A)((0,i.A)({bubbles:!0,composed:!0},n),{},{detail:(0,i.A)((0,i.A)({},t&&{originalEvent:t}),r)}),o=new CustomEvent(e,s);return this.dispatchEvent(o),o}render(){return o.qy`<slot></slot>`}}},8670:(t,e,r)=>{r.d(e,{A:()=>n});var i=r(9097);function n(t,e,r){return(e=(0,i.A)(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}},8701:(t,e,r)=>{function i(t){if(Array.isArray(t))return t}r.d(e,{A:()=>i})},8749:(t,e,r)=>{function i(t){return i=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&\"function\"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?\"symbol\":typeof t},i(t)}r.d(e,{A:()=>i})},9097:(t,e,r)=>{r.d(e,{A:()=>s});var i=r(8749),n=r(2428);function s(t){var e=(0,n.A)(t,\"string\");return\"symbol\"==(0,i.A)(e)?e:e+\"\"}},9385:t=>{t.exports=function(t){return t[1]}}},e={};function r(i){var n=e[i];if(void 0!==n)return n.exports;var s=e[i]={id:i,exports:{}};return t[i](s,s.exports,r),s.exports}r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var i in e)r.o(e,i)&&!r.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var i={};r.d(i,{A:()=>d,c:()=>c});var n=r(7006),s=r(8241),o=r(807),l=r(8366),a=r(6305);let c=(0,n.A)(null,(function(t,e){return{F:class extends e{constructor(...e){super(...e),t(this)}},d:[{kind:\"get\",static:!0,key:\"styles\",value:function(){return(0,s.iz)(a.A)}},{kind:\"field\",decorators:[(0,o.MZ)()],key:\"headline\",value:void 0},{kind:\"method\",key:\"render\",value:function(){const t=this.componentClassNames(\"cre8-c-section\",{});return s.qy`\n <section class=\"${t}\">\n ${this.headline?s.qy`<header class=\"cre8-c-section__header\">\n <cre8-heading tagVariant=\"h2\">${this.headline}</cre8-heading>\n <slot name=\"header\"></slot>\n </header>`:s.qy`<header class=\"cre8-c-section__header\">\n <slot name=\"header\"></slot>\n </header>`}\n <div class=\"cre8-c-section__body\">\n <slot></slot>\n </div>\n </section>\n `}}]}}),l.n);void 0===customElements.get(\"cre8-section\")&&customElements.define(\"cre8-section\",c);const d=c;var h=i.c,p=i.A;export{h as Cre8Section,p as default};"],"names":[],"sourceRoot":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_cre8_dev_cre8_react=self.webpackChunk_cre8_dev_cre8_react||[]).push([[2925],{"./src/components/Link/Link.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{L:()=>Cre8Link});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js"),_lit_react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/.pnpm/@lit+react@1.0.7_@types+react@18.2.13/node_modules/@lit/react/index.js"),_cre8_dev_cre8_wc_lib_components_link_link__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/.pnpm/@cre8_dev+cre8-wc@1.0.3_webpack@5.98.0/node_modules/@cre8_dev/cre8-wc/lib/components/link/link.js");const Cre8Link=(0,_lit_react__WEBPACK_IMPORTED_MODULE_1__.a)({react:react__WEBPACK_IMPORTED_MODULE_0__,tagName:"Cre8-link",elementClass:_cre8_dev_cre8_wc_lib_components_link_link__WEBPACK_IMPORTED_MODULE_2__.L});try{Cre8Link.displayName="Cre8Link",Cre8Link.__docgenInfo={description:"Link Component are strictly used in the case where the component will take\nthe user away from the current page to a new url.\nIn this vein, this component should ONLY be used in situations an anchor tag would be used (an href is required)\nThis goes for the variations as well such as the Call To Action Link\n\n**Note**\n\nFor link with icon:\n- **iconRotateDegree** & **iconFlipDirection** props are optional.\n- They are used to set up the correct dirrection for icons, for example,\narrows, caret up or caret down.",displayName:"Cre8Link",props:{size:{defaultValue:null,description:"Size variant (default is medium)\n- **sm** shrinks the link typography and overall size\n- **lg** increases the link typography size and overall size",name:"size",required:!1,type:{name:"enum",value:[{value:'"sm"'},{value:'"lg"'}]}},rel:{defaultValue:null,description:"Rel attribute of the anchor tag",name:"rel",required:!1,type:{name:"string"}},render:{defaultValue:null,description:"Example render, should not be used",name:"render",required:!1,type:{name:"() => TemplateResult<1>"}},componentClassNames:{defaultValue:null,description:"Abstraction of `classnames` that automatically includes any style modifier\nas well as any set variants.\n\nIt is expected that `variant` would be overridden in a subclass with more\nspecific types, `@property() variant?: 'foo' | 'bar'`\n@param baseClassName",name:"componentClassNames",required:!1,type:{name:"(baseClassName: string, additionalClassNames?: {}) => string"}},slotEmpty:{defaultValue:null,description:"Check if a slot is empty\n@param slotName",name:"slotEmpty",required:!1,type:{name:"(slotName: string) => boolean"}},slotNotEmpty:{defaultValue:null,description:"Check if a slot is not empty\n@param slotName",name:"slotNotEmpty",required:!1,type:{name:"(slotName: string) => boolean"}},dispatch:{defaultValue:null,description:"Dispatch a custom event.",name:"dispatch",required:!1,type:{name:"({ e, eventName, detailObj, optionsObj, }: Cre8DispatchProps) => CustomEvent<any>"}},renderOptions:{defaultValue:null,description:"@category rendering",name:"renderOptions",required:!1,type:{name:"RenderOptions"}},connectedCallback:{defaultValue:null,description:"Invoked when the component is added to the document's DOM.\n\nIn `connectedCallback()` you should setup tasks that should only occur when\nthe element is connected to the document. The most common of these is\nadding event listeners to nodes external to the element, like a keydown\nevent handler added to the window.\n\n```ts\nconnectedCallback() {\n super.connectedCallback();\n addEventListener('keydown', this._handleKeydown);\n}\n```\n\nTypically, anything done in `connectedCallback()` should be undone when the\nelement is disconnected, in `disconnectedCallback()`.\n@category lifecycle",name:"connectedCallback",required:!1,type:{name:"() => void"}},disconnectedCallback:{defaultValue:null,description:"Invoked when the component is removed from the document's DOM.\n\nThis callback is the main signal to the element that it may no longer be\nused. `disconnectedCallback()` should ensure that nothing is holding a\nreference to the element (such as event listeners added to nodes external\nto the element), so that it is free to be garbage collected.\n\n```ts\ndisconnectedCallback() {\n super.disconnectedCallback();\n window.removeEventListener('keydown', this._handleKeydown);\n}\n```\n\nAn element may be re-connected after being disconnected.\n@category lifecycle",name:"disconnectedCallback",required:!1,type:{name:"() => void"}},renderRoot:{defaultValue:null,description:"Node or ShadowRoot into which element DOM should be rendered. Defaults\nto an open shadowRoot.\n@category rendering",name:"renderRoot",required:!1,type:{name:"HTMLElement | ShadowRoot"}},isUpdatePending:{defaultValue:null,description:"True if there is a pending update as a result of calling `requestUpdate()`.\nShould only be read.\n@category updates",name:"isUpdatePending",required:!1,type:{name:"boolean"}},hasUpdated:{defaultValue:null,description:"Is set to `true` after the first update. The element code cannot assume\nthat `renderRoot` exists before the element `hasUpdated`.\n@category updates",name:"hasUpdated",required:!1,type:{name:"boolean"}},addController:{defaultValue:null,description:"Registers a `ReactiveController` to participate in the element's reactive\nupdate cycle. The element automatically calls into any registered\ncontrollers during its lifecycle callbacks.\n\nIf the element is connected when `addController()` is called, the\ncontroller's `hostConnected()` callback will be immediately called.\n@category controllers",name:"addController",required:!1,type:{name:"(controller: ReactiveController) => void"}},removeController:{defaultValue:null,description:"Removes a `ReactiveController` from the element.\n@category controllers",name:"removeController",required:!1,type:{name:"(controller: ReactiveController) => void"}},attributeChangedCallback:{defaultValue:null,description:"Synchronizes property values when attributes change.\n\nSpecifically, when an attribute is set, the corresponding property is set.\nYou should rarely need to implement this callback. If this method is\noverridden, `super.attributeChangedCallback(name, _old, value)` must be\ncalled.\n\nSee [using the lifecycle callbacks](https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements#using_the_lifecycle_callbacks)\non MDN for more information about the `attributeChangedCallback`.\n@category attributes",name:"attributeChangedCallback",required:!1,type:{name:"(name: string, _old: string, value: string) => void"}},requestUpdate:{defaultValue:null,description:"Requests an update which is processed asynchronously. This should be called\nwhen an element should update based on some state not triggered by setting\na reactive property. In this case, pass no arguments. It should also be\ncalled when manually implementing a property setter. In this case, pass the\nproperty `name` and `oldValue` to ensure that any configured property\noptions are honored.\n@param name name of requesting property\n@param oldValue old value of requesting property\n@param options property options to use instead of the previously\nconfigured options\n@category updates",name:"requestUpdate",required:!1,type:{name:"(name?: PropertyKey, oldValue?: unknown, options?: PropertyDeclaration<unknown, unknown>) => void"}},updateComplete:{defaultValue:null,description:"Returns a Promise that resolves when the element has completed updating.\nThe Promise value is a boolean that is `true` if the element completed the\nupdate without triggering another update. The Promise result is `false` if\na property was set inside `updated()`. If the Promise is rejected, an\nexception was thrown during the update.\n\nTo await additional asynchronous work, override the `getUpdateComplete`\nmethod. For example, it is sometimes useful to await a rendered element\nbefore fulfilling this Promise. To do this, first await\n`super.getUpdateComplete()`, then any subsequent state.\n@return A promise of a boolean that resolves to true if the update completed\nwithout triggering another update.\n@category updates",name:"updateComplete",required:!1,type:{name:"Promise<boolean>"}},inverted:{defaultValue:null,description:"Inverted colors Link (onDark)",name:"inverted",required:!1,type:{name:"boolean"}},svg:{defaultValue:null,description:"svg as a raw string\n- For links with icon, the icon is defined by this prop.\n- Pass in a raw svg as a String for using <cre8-icon>",name:"svg",required:!1,type:{name:"string"}},iconRotateDegree:{defaultValue:null,description:"iconRotateDegree is used for <cre8-icon> to set the arrow in the correct direction",name:"iconRotateDegree",required:!1,type:{name:"number"}},iconFlipDirection:{defaultValue:null,description:"iconFlipDirection is used for <cre8-icon> to set the icon in the correct direction",name:"iconFlipDirection",required:!1,type:{name:"string"}},href:{defaultValue:null,description:"Href attribute of the anchor tag",name:"href",required:!1,type:{name:"string"}},target:{defaultValue:null,description:"Target attribute for a link (i.e. set to _blank to open in new tab)\n- **_blank** yields a link that opens in a new tab\n- **_self** yields a link that loads the URL into the same browsing context as the current one.\n This is the default behavior\n- **_parent** yields a link that loads the URL into the parent browsing context of the current one.\n If there is no parent, this behaves the same way as _self\n- **_top** yields a link that loads the URL into the top-level browsing context.\n If there is no parent, this behaves the same way as _self.",name:"target",required:!1,type:{name:"enum",value:[{value:'"_blank"'},{value:'"_self"'},{value:'"_parent"'},{value:'"_top"'}]}},iconName:{defaultValue:null,description:"DEPRECATED: Icon name, use svg instead\n@deprecated",name:"iconName",required:!1,type:{name:"string"}},iconPosition:{defaultValue:null,description:"Icon position\n- **before** places the icon before the button text\n- **after** places the icon after the button text",name:"iconPosition",required:!1,type:{name:"enum",value:[{value:'"after"'},{value:'"before"'}]}},ctaIcon:{defaultValue:null,description:"Call To Action Icon",name:"ctaIcon",required:!1,type:{name:"string"}},ctaLink:{defaultValue:null,description:"Call To Action Link",name:"ctaLink",required:!1,type:{name:"boolean"}},noUnderline:{defaultValue:null,description:"Link with no underline",name:"noUnderline",required:!1,type:{name:"boolean"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/Link/Link.tsx#Cre8Link"]={docgenInfo:Cre8Link.__docgenInfo,name:"Cre8Link",path:"src/components/Link/Link.tsx#Cre8Link"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/Select/Select.stories.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Default:()=>Default,Disabled:()=>Disabled,Error:()=>Error,FieldNote:()=>FieldNote,FieldNoteAndSuccess:()=>FieldNoteAndSuccess,FieldnoteAndError:()=>FieldnoteAndError,OptionGroup:()=>OptionGroup,Preselected:()=>Preselected,Success:()=>Success,__namedExportsOrder:()=>__namedExportsOrder,default:()=>Select_stories});var react=__webpack_require__("./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js"),decorator=__webpack_require__("../../node_modules/.pnpm/@storybook+addon-actions@7.6.20/node_modules/@storybook/addon-actions/dist/decorator.mjs"),_lit_react=__webpack_require__("./node_modules/.pnpm/@lit+react@1.0.7_@types+react@18.2.13/node_modules/@lit/react/index.js"),select_select=__webpack_require__("./node_modules/.pnpm/@cre8_dev+cre8-wc@1.0.3_webpack@5.98.0/node_modules/@cre8_dev/cre8-wc/lib/components/select/select.js");const Cre8Select=(0,_lit_react.a)({react,tagName:"Cre8-select",elementClass:select_select.F,events:{onChange:"change"}});try{Cre8Select.displayName="Cre8Select",Cre8Select.__docgenInfo={description:"The Select control is designed and built to be used for selecting between choices in a form.\nIt is not a Dropdown control which is generally used for displaying lists of choices\nthat act as links or actions, like filter options.\n\nConsider the use of a Select control carefully.\nWhen you have less than 5 options for the user to choose from,\nRadio or Checkbox inputs may be a better choice to display all of the options at once.\nUsers have to slow down to scan a list with more than 15 options,\nso using an option group to give the options hierarchy may help users find their choice faster.\nAlternately, a text input field might be a more appropriate control to use when there are too many options,\nespecially when used with typeahead/auto-complete.\n\n## How to use\n1. The collapsed default state always shows a default placeholder value or a selected value.\n2. Sort list items in a logical order, such as grouping highly related options together, placing most common options first, using alphabetical or numeric orders or dates in chronological order.\n3. A list that includes 6+ items should show a scrollbar.\n4. Users should be able to use a keystroke to quickly jump to selecting an option that begins with the entered letter.\n5. Utilize appropriate native controls for when a user is on a mobile device rather than our custom Select.\n6. Adhere to our common form field conventions and always include a Label, provide short and clear error messages in context, avoid using the Read-only and Disabled states as much as possible, and utilize the info/formatting tip or helpful link rather than placeholder text.",displayName:"Cre8Select",props:{onChange:{defaultValue:null,description:"",name:"onChange",required:!1,type:{name:"(e: Cre8DomEvent<Cre8Select, Cre8Select>) => void"}},render:{defaultValue:null,description:"Example render, should not be used",name:"render",required:!1,type:{name:"() => TemplateResult<1>"}},name:{defaultValue:null,description:"The name property on the select\n@attr {string}",name:"name",required:!1,type:{name:"string"}},componentClassNames:{defaultValue:null,description:"Abstraction of `classnames` that automatically includes any style modifier\nas well as any set variants.\n\nIt is expected that `variant` would be overridden in a subclass with more\nspecific types, `@property() variant?: 'foo' | 'bar'`\n@param baseClassName",name:"componentClassNames",required:!1,type:{name:"(baseClassName: string, additionalClassNames?: {}) => string"}},slotEmpty:{defaultValue:null,description:"Check if a slot is empty\n@param slotName",name:"slotEmpty",required:!1,type:{name:"(slotName: string) => boolean"}},slotNotEmpty:{defaultValue:null,description:"Check if a slot is not empty\n@param slotName",name:"slotNotEmpty",required:!1,type:{name:"(slotName: string) => boolean"}},dispatch:{defaultValue:null,description:"Dispatch a custom event.",name:"dispatch",required:!1,type:{name:"({ e, eventName, detailObj, optionsObj, }: Cre8DispatchProps) => CustomEvent<any>"}},renderOptions:{defaultValue:null,description:"@category rendering",name:"renderOptions",required:!1,type:{name:"RenderOptions"}},connectedCallback:{defaultValue:null,description:"Invoked when the component is added to the document's DOM.\n\nIn `connectedCallback()` you should setup tasks that should only occur when\nthe element is connected to the document. The most common of these is\nadding event listeners to nodes external to the element, like a keydown\nevent handler added to the window.\n\n```ts\nconnectedCallback() {\n super.connectedCallback();\n addEventListener('keydown', this._handleKeydown);\n}\n```\n\nTypically, anything done in `connectedCallback()` should be undone when the\nelement is disconnected, in `disconnectedCallback()`.\n@category lifecycle",name:"connectedCallback",required:!1,type:{name:"() => void"}},disconnectedCallback:{defaultValue:null,description:"Invoked when the component is removed from the document's DOM.\n\nThis callback is the main signal to the element that it may no longer be\nused. `disconnectedCallback()` should ensure that nothing is holding a\nreference to the element (such as event listeners added to nodes external\nto the element), so that it is free to be garbage collected.\n\n```ts\ndisconnectedCallback() {\n super.disconnectedCallback();\n window.removeEventListener('keydown', this._handleKeydown);\n}\n```\n\nAn element may be re-connected after being disconnected.\n@category lifecycle",name:"disconnectedCallback",required:!1,type:{name:"() => void"}},renderRoot:{defaultValue:null,description:"Node or ShadowRoot into which element DOM should be rendered. Defaults\nto an open shadowRoot.\n@category rendering",name:"renderRoot",required:!1,type:{name:"HTMLElement | ShadowRoot"}},isUpdatePending:{defaultValue:null,description:"True if there is a pending update as a result of calling `requestUpdate()`.\nShould only be read.\n@category updates",name:"isUpdatePending",required:!1,type:{name:"boolean"}},hasUpdated:{defaultValue:null,description:"Is set to `true` after the first update. The element code cannot assume\nthat `renderRoot` exists before the element `hasUpdated`.\n@category updates",name:"hasUpdated",required:!1,type:{name:"boolean"}},addController:{defaultValue:null,description:"Registers a `ReactiveController` to participate in the element's reactive\nupdate cycle. The element automatically calls into any registered\ncontrollers during its lifecycle callbacks.\n\nIf the element is connected when `addController()` is called, the\ncontroller's `hostConnected()` callback will be immediately called.\n@category controllers",name:"addController",required:!1,type:{name:"(controller: ReactiveController) => void"}},removeController:{defaultValue:null,description:"Removes a `ReactiveController` from the element.\n@category controllers",name:"removeController",required:!1,type:{name:"(controller: ReactiveController) => void"}},attributeChangedCallback:{defaultValue:null,description:"Synchronizes property values when attributes change.\n\nSpecifically, when an attribute is set, the corresponding property is set.\nYou should rarely need to implement this callback. If this method is\noverridden, `super.attributeChangedCallback(name, _old, value)` must be\ncalled.\n\nSee [using the lifecycle callbacks](https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements#using_the_lifecycle_callbacks)\non MDN for more information about the `attributeChangedCallback`.\n@category attributes",name:"attributeChangedCallback",required:!1,type:{name:"(name: string, _old: string, value: string) => void"}},requestUpdate:{defaultValue:null,description:"Requests an update which is processed asynchronously. This should be called\nwhen an element should update based on some state not triggered by setting\na reactive property. In this case, pass no arguments. It should also be\ncalled when manually implementing a property setter. In this case, pass the\nproperty `name` and `oldValue` to ensure that any configured property\noptions are honored.\n@param name name of requesting property\n@param oldValue old value of requesting property\n@param options property options to use instead of the previously\nconfigured options\n@category updates",name:"requestUpdate",required:!1,type:{name:"(name?: PropertyKey, oldValue?: unknown, options?: PropertyDeclaration<unknown, unknown>) => void"}},updateComplete:{defaultValue:null,description:"Returns a Promise that resolves when the element has completed updating.\nThe Promise value is a boolean that is `true` if the element completed the\nupdate without triggering another update. The Promise result is `false` if\na property was set inside `updated()`. If the Promise is rejected, an\nexception was thrown during the update.\n\nTo await additional asynchronous work, override the `getUpdateComplete`\nmethod. For example, it is sometimes useful to await a rendered element\nbefore fulfilling this Promise. To do this, first await\n`super.getUpdateComplete()`, then any subsequent state.\n@return A promise of a boolean that resolves to true if the update completed\nwithout triggering another update.\n@category updates",name:"updateComplete",required:!1,type:{name:"Promise<boolean>"}},label:{defaultValue:null,description:"The required label that appears above the select\n@attr {string}",name:"label",required:!1,type:{name:"string"}},firstUpdated:{defaultValue:null,description:"First updatedLifecycle\n1) Get the option in the items array with selected set to true. Set that as the selected item\n2) The default value is set to the `option` with the `selected` if one exists. Otherwise, use the\nselect the first item value like the native select.",name:"firstUpdated",required:!1,type:{name:"() => void"}},type:{defaultValue:null,description:"",name:"type",required:!1,type:{name:'"select"'}},fieldId:{defaultValue:null,description:"The unique id of the select\n@attr {string}",name:"fieldId",required:!1,type:{name:"string"}},field:{defaultValue:null,description:"Select input querySelector",name:"field",required:!1,type:{name:"HTMLSelectElement"}},formResetCallback:{defaultValue:null,description:"",name:"formResetCallback",required:!1,type:{name:"() => void"}},internals:{defaultValue:null,description:"@protected\n@internal An instance of element internals.\nContains properties and methods that allows the element\nto participate fully in the HTML form it's in.",name:"internals",required:!1,type:{name:"Cre8ElementInternals"}},internalValue:{defaultValue:null,description:"@protected\n@internal Stores the value for the `value` getter and setter.",name:"internalValue",required:!1,type:{name:"string"}},value:{defaultValue:null,description:"The value of the form field.\nSets the value of the form field.\n1. Stores the new value so it can be retrieved by the getter.\n2. Sets the current value of the control.\n3. Updates the actual field.\n4. Rerenders the component.",name:"value",required:!1,type:{name:"string"}},disabled:{defaultValue:null,description:"The disabled attribute on the select\n@attr {boolean}",name:"disabled",required:!1,type:{name:"boolean"}},fieldNote:{defaultValue:null,description:"Optional field note text can be added to provide additional field guidance.\n@attr {string}",name:"fieldNote",required:!1,type:{name:"string"}},ariaDescribedBy:{defaultValue:null,description:"Used to connect the field note in text field to the text menu for accessibility\n@attr {string}",name:"ariaDescribedBy",required:!1,type:{name:"string"}},isError:{defaultValue:null,description:"Changes the component's treatment to represent an error state\n@attr {boolean}",name:"isError",required:!1,type:{name:"boolean"}},required:{defaultValue:null,description:"The required attribute on the select\n@attr {boolean}",name:"required",required:!1,type:{name:"boolean"}},isSuccess:{defaultValue:null,description:"Changes the component's treatment to represent a success state\n@attr {boolean}",name:"isSuccess",required:!1,type:{name:"boolean"}},items:{defaultValue:null,description:"A mix of Cre8SelectOption and Cre8SelectOptionGroup definitions:\n- Cre8SelectOption\n - label: option label text - `string`\n - value: option value - `number | string`\n- Cre8SelectOptionGroup\n - optGroupLabel: optgroup label text - `string`\n - options: Array of multiple Cre8SelectOption items - `Cre8SelectOption[]`",name:"items",required:!1,type:{name:"(Cre8SelectOption | Cre8SelectOptionGroup)[]"}},validationAriaDescribedBy:{defaultValue:null,description:"Additional aria-describedby connection to id for additional success and error notes to be accessible\n@attr {string}",name:"validationAriaDescribedBy",required:!1,type:{name:"string"}},errorNote:{defaultValue:null,description:"The error field note that appears below the default field note\n@attr {string}",name:"errorNote",required:!1,type:{name:"string"}},successNote:{defaultValue:null,description:"The success field note that appears below the default field note\n@attr {string}",name:"successNote",required:!1,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/Select/Select.tsx#Cre8Select"]={docgenInfo:Cre8Select.__docgenInfo,name:"Cre8Select",path:"src/components/Select/Select.tsx#Cre8Select"})}catch(__react_docgen_typescript_loader_error){}var Link=__webpack_require__("./src/components/Link/Link.tsx"),preview=__webpack_require__("./.storybook/preview.js"),jsx_runtime=__webpack_require__("./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");const Select_stories={title:"Cre8 Components/Select",component:Cre8Select,parameters:{status:{type:"inProgress"},actions:{handles:["change"]},controls:{exclude:new RegExp(`${preview.excludeRegexArray.join("|")}|^formResetCallback$|^onChange$|^type$|^value$`)}},decorators:[decorator.w],args:{id:"selectId",name:"selectName",items:[{label:"Option Item 1",value:"option-item-1"},{label:"Option Item 2",value:"option-item-2"},{label:"Option Item 3",value:"option-item-3"},{label:"Option Item 4",value:"option-item-4"},{label:"Option Item 5",value:"option-item-5"},{label:"Option Item 6",value:"option-item-6"}]}},Default={},Disabled={args:{disabled:!0}},Preselected={args:{value:"option-item-1"}},FieldNote={args:{children:(0,jsx_runtime.jsxs)("div",{slot:"fieldNote",children:["Some optional help text or ",(0,jsx_runtime.jsx)(Link.L,{href:"#",children:"helpful link"})]})}},Error={args:{isError:!0,errorNote:"Short, clear error message"}},Success={args:{isSuccess:!0,successNote:"Short, clear success message"}},FieldnoteAndError={args:{fieldNote:"This is a field note.",isError:!0,errorNote:"Short, clear error message"}},FieldNoteAndSuccess={args:{fieldNote:"This is a field note.",isSuccess:!0,successNote:"Short, clear success message"}},OptionGroup={args:{items:[{optGroupLabel:"Option Group 1",options:[{label:"Option Group Item 1",value:"option-group-item-1"},{label:"Option Group Item 2",value:"option-group-item-2"},{label:"Option Group Item 3",value:"option-group-item-3"}]},{optGroupLabel:"Option Group 2",options:[{label:"Option Group Item 4",value:"option-group-item-4"},{label:"Option Group Item 5",value:"option-group-item-5"},{label:"Option Group Item 6",value:"option-group-item-6"}]},{optGroupLabel:"Option Group 3",options:[{label:"Option Group Item 7",value:"option-group-item-7"},{label:"Option Group Item 8",value:"option-group-item-8"},{label:"Option Group Item 9",value:"option-group-item-9"}]}]}};Default.parameters={...Default.parameters,docs:{...Default.parameters?.docs,source:{originalSource:"{}",...Default.parameters?.docs?.source}}},Disabled.parameters={...Disabled.parameters,docs:{...Disabled.parameters?.docs,source:{originalSource:"{\n args: {\n disabled: true\n }\n}",...Disabled.parameters?.docs?.source}}},Preselected.parameters={...Preselected.parameters,docs:{...Preselected.parameters?.docs,source:{originalSource:"{\n args: {\n value: 'option-item-1'\n }\n}",...Preselected.parameters?.docs?.source}}},FieldNote.parameters={...FieldNote.parameters,docs:{...FieldNote.parameters?.docs,source:{originalSource:'{\n args: {\n children: <div slot="fieldNote">Some optional help text or <Cre8Link href="#">helpful link</Cre8Link></div>\n }\n}',...FieldNote.parameters?.docs?.source}}},Error.parameters={...Error.parameters,docs:{...Error.parameters?.docs,source:{originalSource:"{\n args: {\n isError: true,\n errorNote: 'Short, clear error message'\n }\n}",...Error.parameters?.docs?.source}}},Success.parameters={...Success.parameters,docs:{...Success.parameters?.docs,source:{originalSource:"{\n args: {\n isSuccess: true,\n successNote: 'Short, clear success message'\n }\n}",...Success.parameters?.docs?.source}}},FieldnoteAndError.parameters={...FieldnoteAndError.parameters,docs:{...FieldnoteAndError.parameters?.docs,source:{originalSource:"{\n args: {\n fieldNote: \"This is a field note.\",\n isError: true,\n errorNote: 'Short, clear error message'\n }\n}",...FieldnoteAndError.parameters?.docs?.source}}},FieldNoteAndSuccess.parameters={...FieldNoteAndSuccess.parameters,docs:{...FieldNoteAndSuccess.parameters?.docs,source:{originalSource:"{\n args: {\n fieldNote: \"This is a field note.\",\n isSuccess: true,\n successNote: 'Short, clear success message'\n }\n}",...FieldNoteAndSuccess.parameters?.docs?.source}}},OptionGroup.parameters={...OptionGroup.parameters,docs:{...OptionGroup.parameters?.docs,source:{originalSource:"{\n args: {\n items: optionGroupItems\n }\n}",...OptionGroup.parameters?.docs?.source},description:{story:"If you have a longer list of options, group related options together.\nGrouping by type allows users to select their preference more quickly.\n\nTo create an option group, create a new item object within your `items` array\nwhich contains an `optGrouplabel` for the group name and an `options` array of items for the group.\n\n```\n{\n optGroupLabel: 'Option Group',\n options: [\n { label: 'Option Group Item 1', value: 'option-group-item-1' },\n { label: 'Option Group Item 2', value: 'option-group-item-2' },\n { label: 'Option Group Item 3', value: 'option-group-item-3' },\n ],\n}\n```",...OptionGroup.parameters?.docs?.description}}};const __namedExportsOrder=["Default","Disabled","Preselected","FieldNote","Error","Success","FieldnoteAndError","FieldNoteAndSuccess","OptionGroup"];try{OptionGroup.displayName="OptionGroup",OptionGroup.__docgenInfo={description:"If you have a longer list of options, group related options together.\nGrouping by type allows users to select their preference more quickly.\n\nTo create an option group, create a new item object within your `items` array\nwhich contains an `optGrouplabel` for the group name and an `options` array of items for the group.\n\n```\n{\n optGroupLabel: 'Option Group',\n options: [\n { label: 'Option Group Item 1', value: 'option-group-item-1' },\n { label: 'Option Group Item 2', value: 'option-group-item-2' },\n { label: 'Option Group Item 3', value: 'option-group-item-3' },\n ],\n}\n```",displayName:"OptionGroup",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/Select/Select.stories.tsx#OptionGroup"]={docgenInfo:OptionGroup.__docgenInfo,name:"OptionGroup",path:"src/components/Select/Select.stories.tsx#OptionGroup"})}catch(__react_docgen_typescript_loader_error){}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_cre8_dev_cre8_react=self.webpackChunk_cre8_dev_cre8_react||[]).push([[7765],{"./src/components/Icon/Icon.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{f:()=>Cre8IconLegacy});var _lit_react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/.pnpm/@lit+react@1.0.7_@types+react@18.2.13/node_modules/@lit/react/index.js"),_cre8_dev_cre8_wc_lib_components_icon_icon__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/.pnpm/@cre8_dev+cre8-wc@1.0.3_webpack@5.98.0/node_modules/@cre8_dev/cre8-wc/lib/components/icon/icon.js"),react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");const Cre8IconLegacy=(0,_lit_react__WEBPACK_IMPORTED_MODULE_0__.a)({react:react__WEBPACK_IMPORTED_MODULE_2__,tagName:"Cre8-icon-legacy",elementClass:_cre8_dev_cre8_wc_lib_components_icon_icon__WEBPACK_IMPORTED_MODULE_1__.f});try{Cre8IconLegacy.displayName="Cre8IconLegacy",Cre8IconLegacy.__docgenInfo={description:"\n<Cre8-icon> is a web component, which can be used with any frontend framework and use any svg.\nIt takes raw svgs as props and renders them.\n\n**'Cre8-icon-legacy'** will be **deprecated** in Web Components v0.5.0\n\n- [List of new figma icons](https://www.figma.com/file/j1a0rBkoH65XiGKfq7ppWa/Iconography?type=design&node-id=2037-5773&mode=design&t=6ZzC6KH3Gkxf3fj5-4)\n- The new `Cre8-icon` from the Cre8-icon package: https://static-dev.esi-memberweb-dev.aws.evernorthcloud.com/cre8-icons/.\n\n##Usability Considerations\n- If the icon is decorative: set `aria-hidden` to true.\n- If the icon is interactive (not decorative): set `aria-hidden` to false and add the `aria-label`\n- If the icon is key to functionality from a screen reader perspective, it is required to add `aria-label`\nwhich will describe the icon.\nFor example, if the icon is a close button, setting `aria-label=\"Close\"`will give\nthe SVG an aria-label to make it sufficiently accessible.\n\n[More information on Accessibility with cre8-icons](https://static-dev.esi-memberweb-dev.aws.evernorthcloud.com/cre8-icons/?path=/story/getting-started-accessibility--page)\n\n##How to use\nCre8 Web Components (Cre8-wc) includes the `@Cre8/cre8-icons` package.\nIf you need to install a newer version than what's included, please see\nthe [installation instructions for cre8-icons](https://git.express-scripts.com/ExpressScripts/cre8-icons#installation).\n- Import the component (this is the icon container): `import '@Cre8/cre8-icons';`\n- Import an svg as a string: `import svgInfo from '!!raw-loader!@Cre8/cre8-icons/lib/icons/System/Regular/Info.svg';`\n\nYour import paths may be different depending on your project's build configuration.\nPlease see [Importing Icons](https://static-dev.esi-memberweb-dev.aws.evernorthcloud.com/cre8-icons/?path=/story/icon-sets-importing-icons--page)\nof the `@Cre8/cre8-icons` documentation for more information.",displayName:"Cre8IconLegacy",props:{render:{defaultValue:null,description:"Example render, should not be used",name:"render",required:!1,type:{name:"() => TemplateResult<1>"}},name:{defaultValue:null,description:"Icon name (this method of passing in svgs is to be deprecated)\n@required",name:"name",required:!1,type:{name:"string"}},componentClassNames:{defaultValue:null,description:"Abstraction of `classnames` that automatically includes any style modifier\nas well as any set variants.\n\nIt is expected that `variant` would be overridden in a subclass with more\nspecific types, `@property() variant?: 'foo' | 'bar'`\n@param baseClassName",name:"componentClassNames",required:!1,type:{name:"(baseClassName: string, additionalClassNames?: {}) => string"}},slotEmpty:{defaultValue:null,description:"Check if a slot is empty\n@param slotName",name:"slotEmpty",required:!1,type:{name:"(slotName: string) => boolean"}},slotNotEmpty:{defaultValue:null,description:"Check if a slot is not empty\n@param slotName",name:"slotNotEmpty",required:!1,type:{name:"(slotName: string) => boolean"}},dispatch:{defaultValue:null,description:"Dispatch a custom event.",name:"dispatch",required:!1,type:{name:"({ e, eventName, detailObj, optionsObj, }: Cre8DispatchProps) => CustomEvent<any>"}},renderOptions:{defaultValue:null,description:"@category rendering",name:"renderOptions",required:!1,type:{name:"RenderOptions"}},connectedCallback:{defaultValue:null,description:"Invoked when the component is added to the document's DOM.\n\nIn `connectedCallback()` you should setup tasks that should only occur when\nthe element is connected to the document. The most common of these is\nadding event listeners to nodes external to the element, like a keydown\nevent handler added to the window.\n\n```ts\nconnectedCallback() {\n super.connectedCallback();\n addEventListener('keydown', this._handleKeydown);\n}\n```\n\nTypically, anything done in `connectedCallback()` should be undone when the\nelement is disconnected, in `disconnectedCallback()`.\n@category lifecycle",name:"connectedCallback",required:!1,type:{name:"() => void"}},disconnectedCallback:{defaultValue:null,description:"Invoked when the component is removed from the document's DOM.\n\nThis callback is the main signal to the element that it may no longer be\nused. `disconnectedCallback()` should ensure that nothing is holding a\nreference to the element (such as event listeners added to nodes external\nto the element), so that it is free to be garbage collected.\n\n```ts\ndisconnectedCallback() {\n super.disconnectedCallback();\n window.removeEventListener('keydown', this._handleKeydown);\n}\n```\n\nAn element may be re-connected after being disconnected.\n@category lifecycle",name:"disconnectedCallback",required:!1,type:{name:"() => void"}},renderRoot:{defaultValue:null,description:"Node or ShadowRoot into which element DOM should be rendered. Defaults\nto an open shadowRoot.\n@category rendering",name:"renderRoot",required:!1,type:{name:"HTMLElement | ShadowRoot"}},isUpdatePending:{defaultValue:null,description:"True if there is a pending update as a result of calling `requestUpdate()`.\nShould only be read.\n@category updates",name:"isUpdatePending",required:!1,type:{name:"boolean"}},hasUpdated:{defaultValue:null,description:"Is set to `true` after the first update. The element code cannot assume\nthat `renderRoot` exists before the element `hasUpdated`.\n@category updates",name:"hasUpdated",required:!1,type:{name:"boolean"}},addController:{defaultValue:null,description:"Registers a `ReactiveController` to participate in the element's reactive\nupdate cycle. The element automatically calls into any registered\ncontrollers during its lifecycle callbacks.\n\nIf the element is connected when `addController()` is called, the\ncontroller's `hostConnected()` callback will be immediately called.\n@category controllers",name:"addController",required:!1,type:{name:"(controller: ReactiveController) => void"}},removeController:{defaultValue:null,description:"Removes a `ReactiveController` from the element.\n@category controllers",name:"removeController",required:!1,type:{name:"(controller: ReactiveController) => void"}},attributeChangedCallback:{defaultValue:null,description:"Synchronizes property values when attributes change.\n\nSpecifically, when an attribute is set, the corresponding property is set.\nYou should rarely need to implement this callback. If this method is\noverridden, `super.attributeChangedCallback(name, _old, value)` must be\ncalled.\n\nSee [using the lifecycle callbacks](https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements#using_the_lifecycle_callbacks)\non MDN for more information about the `attributeChangedCallback`.\n@category attributes",name:"attributeChangedCallback",required:!1,type:{name:"(name: string, _old: string, value: string) => void"}},requestUpdate:{defaultValue:null,description:"Requests an update which is processed asynchronously. This should be called\nwhen an element should update based on some state not triggered by setting\na reactive property. In this case, pass no arguments. It should also be\ncalled when manually implementing a property setter. In this case, pass the\nproperty `name` and `oldValue` to ensure that any configured property\noptions are honored.\n@param name name of requesting property\n@param oldValue old value of requesting property\n@param options property options to use instead of the previously\nconfigured options\n@category updates",name:"requestUpdate",required:!1,type:{name:"(name?: PropertyKey, oldValue?: unknown, options?: PropertyDeclaration<unknown, unknown>) => void"}},updateComplete:{defaultValue:null,description:"Returns a Promise that resolves when the element has completed updating.\nThe Promise value is a boolean that is `true` if the element completed the\nupdate without triggering another update. The Promise result is `false` if\na property was set inside `updated()`. If the Promise is rejected, an\nexception was thrown during the update.\n\nTo await additional asynchronous work, override the `getUpdateComplete`\nmethod. For example, it is sometimes useful to await a rendered element\nbefore fulfilling this Promise. To do this, first await\n`super.getUpdateComplete()`, then any subsequent state.\n@return A promise of a boolean that resolves to true if the update completed\nwithout triggering another update.\n@category updates",name:"updateComplete",required:!1,type:{name:"Promise<boolean>"}},iconTitle:{defaultValue:null,description:"Icon Title, this string is used for the aira-label of the svg\n@required",name:"iconTitle",required:!1,type:{name:"string"}},focusable:{defaultValue:null,description:"Focusable\n@required",name:"focusable",required:!1,type:{name:"boolean"}},iconUrl:{defaultValue:null,description:"Icon path\n1) This points to the file where the icon sprite lives\n2) This method of pathing will soon be depricated",name:"iconUrl",required:!1,type:{name:"string"}},getIconPath:{defaultValue:null,description:"Get the path to the icons, either by overriding it on the window\nor by using the bundled icon path",name:"getIconPath",required:!1,type:{name:"() => string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/Icon/Icon.tsx#Cre8IconLegacy"]={docgenInfo:Cre8IconLegacy.__docgenInfo,name:"Cre8IconLegacy",path:"src/components/Icon/Icon.tsx#Cre8IconLegacy"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/SelectTile/SelectTile.stories.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Centered:()=>Centered,Checkbox:()=>Checkbox,Default:()=>Default,Error:()=>Error,Horizontal:()=>Horizontal,LeftCheck:()=>LeftCheck,RadioCheck:()=>RadioCheck,Success:()=>Success,__namedExportsOrder:()=>__namedExportsOrder,default:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");var _storybook_preview__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./.storybook/preview.js"),___WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/components/SelectTile/SelectTile.tsx"),___WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./src/components/Icon/Icon.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");const iconStyle={"--Cre8-icon-width":"56px","--Cre8-icon-height":"56px"},__WEBPACK_DEFAULT_EXPORT__={title:"IN DEVELOPMENT/SelectTile",component:___WEBPACK_IMPORTED_MODULE_2__.n,parameters:{status:{type:"inProgress"},controls:{exclude:new RegExp(`${_storybook_preview__WEBPACK_IMPORTED_MODULE_3__.excludeRegexArray.join("|")}`)}},render:args=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(___WEBPACK_IMPORTED_MODULE_2__.n,{...args,children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(___WEBPACK_IMPORTED_MODULE_4__.f,{slot:"header",name:"find-drug",style:iconStyle}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("span",{slot:"title",children:"Heading text one"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("span",{slot:"body",children:"Nunc amet vitae sit interdum non morbi fames ac sed"})]}),args:{name:"radio-name",value:"radio-value"}},Default={args:{}},Horizontal={args:{variant:"horizontal"}},Centered={args:{align:"center"}},Checkbox={args:{type:"checkbox"}},RadioCheck={args:{radioVariant:"check",checked:!0}},LeftCheck={args:{variant:"horizontal",checkPosition:"left"}},Success={args:{isSuccess:!0}},Error={args:{isError:!0}};Default.parameters={...Default.parameters,docs:{...Default.parameters?.docs,source:{originalSource:"{\n args: {}\n}",...Default.parameters?.docs?.source}}},Horizontal.parameters={...Horizontal.parameters,docs:{...Horizontal.parameters?.docs,source:{originalSource:"{\n args: {\n variant: 'horizontal'\n }\n}",...Horizontal.parameters?.docs?.source}}},Centered.parameters={...Centered.parameters,docs:{...Centered.parameters?.docs,source:{originalSource:"{\n args: {\n align: 'center'\n }\n}",...Centered.parameters?.docs?.source}}},Checkbox.parameters={...Checkbox.parameters,docs:{...Checkbox.parameters?.docs,source:{originalSource:"{\n args: {\n type: 'checkbox'\n }\n}",...Checkbox.parameters?.docs?.source}}},RadioCheck.parameters={...RadioCheck.parameters,docs:{...RadioCheck.parameters?.docs,source:{originalSource:"{\n args: {\n radioVariant: 'check',\n checked: true\n }\n}",...RadioCheck.parameters?.docs?.source}}},LeftCheck.parameters={...LeftCheck.parameters,docs:{...LeftCheck.parameters?.docs,source:{originalSource:"{\n args: {\n variant: 'horizontal',\n checkPosition: 'left'\n }\n}",...LeftCheck.parameters?.docs?.source}}},Success.parameters={...Success.parameters,docs:{...Success.parameters?.docs,source:{originalSource:"{\n args: {\n isSuccess: true\n }\n}",...Success.parameters?.docs?.source}}},Error.parameters={...Error.parameters,docs:{...Error.parameters?.docs,source:{originalSource:"{\n args: {\n isError: true\n }\n}",...Error.parameters?.docs?.source}}};const __namedExportsOrder=["Default","Horizontal","Centered","Checkbox","RadioCheck","LeftCheck","Success","Error"]},"./src/components/SelectTile/SelectTile.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{n:()=>Cre8SelectTile});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js"),_lit_react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/.pnpm/@lit+react@1.0.7_@types+react@18.2.13/node_modules/@lit/react/index.js"),_cre8_dev_cre8_wc_lib_components_select_tile_select_tile__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/.pnpm/@cre8_dev+cre8-wc@1.0.3_webpack@5.98.0/node_modules/@cre8_dev/cre8-wc/lib/components/select-tile/select-tile.js");const Cre8SelectTile=(0,_lit_react__WEBPACK_IMPORTED_MODULE_1__.a)({react:react__WEBPACK_IMPORTED_MODULE_0__,tagName:"Cre8-select-tile",elementClass:_cre8_dev_cre8_wc_lib_components_select_tile_select_tile__WEBPACK_IMPORTED_MODULE_2__.n,events:{onBlur:"blur",onChange:"change",onClick:"click",onFocus:"focus",onInput:"input"}});try{Cre8SelectTile.displayName="Cre8SelectTile",Cre8SelectTile.__docgenInfo={description:"",displayName:"Cre8SelectTile",props:{onBlur:{defaultValue:null,description:"",name:"onBlur",required:!1,type:{name:"(e: Cre8DomEvent<Cre8SelectTile, Cre8SelectTile> & FocusEvent) => void"}},onChange:{defaultValue:null,description:"",name:"onChange",required:!1,type:{name:"(e: Cre8DomEvent<Cre8SelectTile, Cre8SelectTile>) => void"}},onClick:{defaultValue:null,description:"",name:"onClick",required:!1,type:{name:"(e: Cre8DomEvent<Cre8SelectTile, Cre8SelectTile> & PointerEvent) => void"}},onFocus:{defaultValue:null,description:"",name:"onFocus",required:!1,type:{name:"(e: Cre8DomEvent<Cre8SelectTile, Cre8SelectTile> & FocusEvent) => void"}},onInput:{defaultValue:null,description:"",name:"onInput",required:!1,type:{name:"(e: Cre8DomEvent<Cre8SelectTile, Cre8SelectTile>) => void"}},align:{defaultValue:null,description:'Align variants\n<cre8-text-passage size="sm">\n<ul>\n<li>**center** renders a select-tile that has center aligned content/text</li>\n</ul>\n</cre8-text-passage>',name:"align",required:!1,type:{name:'"center"'}},defaultChecked:{defaultValue:null,description:"The default checked state when the element first renders or is reset.\n\nNote: the attribute is named `checked` and the property is\nnamed `defaultChecked`. This is the same as a regular radio button.",name:"defaultChecked",required:!1,type:{name:"boolean"}},form:{defaultValue:null,description:"The form associated with this field\n\nTOOD: maybe this goes on Cre8FormElement",name:"form",required:!1,type:{name:"HTMLFormElement"}},render:{defaultValue:null,description:"Example render, should not be used",name:"render",required:!1,type:{name:"() => TemplateResult<1>"}},name:{defaultValue:null,description:"Name of the form control.",name:"name",required:!1,type:{name:"string"}},variant:{defaultValue:null,description:"Style variants\n- **bare** renders a select-tile without a border and without padding around the content\n- **horizontal** renders a select-tile with header, body, footer oriented in a row rather than a column\n- **horizontal-bare** renders a select-tile with header, body, footer\n oriented in a row rather than a column without a border and without padding around the content",name:"variant",required:!1,type:{name:"enum",value:[{value:'"horizontal"'},{value:'"bare"'},{value:'"horizontal-bare"'}]}},componentClassNames:{defaultValue:null,description:"Abstraction of `classnames` that automatically includes any style modifier\nas well as any set variants.\n\nIt is expected that `variant` would be overridden in a subclass with more\nspecific types, `@property() variant?: 'foo' | 'bar'`\n@param baseClassName",name:"componentClassNames",required:!1,type:{name:"(baseClassName: string, additionalClassNames?: {}) => string"}},slotEmpty:{defaultValue:null,description:"Check if a slot is empty\n@param slotName",name:"slotEmpty",required:!1,type:{name:"(slotName: string) => boolean"}},slotNotEmpty:{defaultValue:null,description:"Check if a slot is not empty\n@param slotName",name:"slotNotEmpty",required:!1,type:{name:"(slotName: string) => boolean"}},dispatch:{defaultValue:null,description:"Dispatch a custom event.",name:"dispatch",required:!1,type:{name:"({ e, eventName, detailObj, optionsObj, }: Cre8DispatchProps) => CustomEvent<any>"}},renderOptions:{defaultValue:null,description:"@category rendering",name:"renderOptions",required:!1,type:{name:"RenderOptions"}},connectedCallback:{defaultValue:null,description:"Connected callback lifecycle\n1) Auto-generate the fieldId if a user doesn't provided so that the form field is accessible\n2) Initialize the correct controller",name:"connectedCallback",required:!1,type:{name:"() => void"}},disconnectedCallback:{defaultValue:null,description:"Invoked when the component is removed from the document's DOM.\n\nThis callback is the main signal to the element that it may no longer be\nused. `disconnectedCallback()` should ensure that nothing is holding a\nreference to the element (such as event listeners added to nodes external\nto the element), so that it is free to be garbage collected.\n\n```ts\ndisconnectedCallback() {\n super.disconnectedCallback();\n window.removeEventListener('keydown', this._handleKeydown);\n}\n```\n\nAn element may be re-connected after being disconnected.\n@category lifecycle",name:"disconnectedCallback",required:!1,type:{name:"() => void"}},renderRoot:{defaultValue:null,description:"Node or ShadowRoot into which element DOM should be rendered. Defaults\nto an open shadowRoot.\n@category rendering",name:"renderRoot",required:!1,type:{name:"HTMLElement | ShadowRoot"}},isUpdatePending:{defaultValue:null,description:"True if there is a pending update as a result of calling `requestUpdate()`.\nShould only be read.\n@category updates",name:"isUpdatePending",required:!1,type:{name:"boolean"}},hasUpdated:{defaultValue:null,description:"Is set to `true` after the first update. The element code cannot assume\nthat `renderRoot` exists before the element `hasUpdated`.\n@category updates",name:"hasUpdated",required:!1,type:{name:"boolean"}},addController:{defaultValue:null,description:"Registers a `ReactiveController` to participate in the element's reactive\nupdate cycle. The element automatically calls into any registered\ncontrollers during its lifecycle callbacks.\n\nIf the element is connected when `addController()` is called, the\ncontroller's `hostConnected()` callback will be immediately called.\n@category controllers",name:"addController",required:!1,type:{name:"(controller: ReactiveController) => void"}},removeController:{defaultValue:null,description:"Removes a `ReactiveController` from the element.\n@category controllers",name:"removeController",required:!1,type:{name:"(controller: ReactiveController) => void"}},attributeChangedCallback:{defaultValue:null,description:"Synchronizes property values when attributes change.\n\nSpecifically, when an attribute is set, the corresponding property is set.\nYou should rarely need to implement this callback. If this method is\noverridden, `super.attributeChangedCallback(name, _old, value)` must be\ncalled.\n\nSee [using the lifecycle callbacks](https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements#using_the_lifecycle_callbacks)\non MDN for more information about the `attributeChangedCallback`.\n@category attributes",name:"attributeChangedCallback",required:!1,type:{name:"(name: string, _old: string, value: string) => void"}},requestUpdate:{defaultValue:null,description:"Requests an update which is processed asynchronously. This should be called\nwhen an element should update based on some state not triggered by setting\na reactive property. In this case, pass no arguments. It should also be\ncalled when manually implementing a property setter. In this case, pass the\nproperty `name` and `oldValue` to ensure that any configured property\noptions are honored.\n@param name name of requesting property\n@param oldValue old value of requesting property\n@param options property options to use instead of the previously\nconfigured options\n@category updates",name:"requestUpdate",required:!1,type:{name:"(name?: PropertyKey, oldValue?: unknown, options?: PropertyDeclaration<unknown, unknown>) => void"}},updateComplete:{defaultValue:null,description:"Returns a Promise that resolves when the element has completed updating.\nThe Promise value is a boolean that is `true` if the element completed the\nupdate without triggering another update. The Promise result is `false` if\na property was set inside `updated()`. If the Promise is rejected, an\nexception was thrown during the update.\n\nTo await additional asynchronous work, override the `getUpdateComplete`\nmethod. For example, it is sometimes useful to await a rendered element\nbefore fulfilling this Promise. To do this, first await\n`super.getUpdateComplete()`, then any subsequent state.\n@return A promise of a boolean that resolves to true if the update completed\nwithout triggering another update.\n@category updates",name:"updateComplete",required:!1,type:{name:"Promise<boolean>"}},updated:{defaultValue:null,description:'Whenever the "checked" property changes, update our form value, aria-checked,\nand the checked property of `this.field`.',name:"updated",required:!1,type:{name:"(changedProps: PropertyValueMap<any> | Map<PropertyKey, unknown>) => void"}},type:{defaultValue:null,description:"Should this Select Tile behave as a radio button or a checkbox?",name:"type",required:!1,type:{name:"enum",value:[{value:'"checkbox"'},{value:'"radio"'}]}},fieldId:{defaultValue:null,description:"Select Tile FieldId",name:"fieldId",required:!1,type:{name:"string"}},field:{defaultValue:null,description:"Get the radio field item input",name:"field",required:!1,type:{name:"HTMLInputElement"}},renderCheckboxIcon:{defaultValue:null,description:"",name:"renderCheckboxIcon",required:!1,type:{name:"() => TemplateResult<1>"}},formResetCallback:{defaultValue:null,description:"Reset form callback\n1) Remove the checked state from all radio elements\n2) Set the checked state to the initial checked state\n3) Set the radio field input checked attribute to the initial checked state",name:"formResetCallback",required:!1,type:{name:"() => void"}},internals:{defaultValue:null,description:"@protected\n@internal An instance of element internals.\nContains properties and methods that allows the element\nto participate fully in the HTML form it's in.",name:"internals",required:!1,type:{name:"Cre8ElementInternals"}},internalValue:{defaultValue:null,description:"@protected\n@internal Stores the value for the `value` getter and setter.",name:"internalValue",required:!1,type:{name:"string"}},value:{defaultValue:null,description:"The value of the form field.\nSets the value of the form field.\n1. Stores the new value so it can be retrieved by the getter.\n2. Sets the current value of the control.\n3. Updates the actual field.\n4. Rerenders the component.",name:"value",required:!1,type:{name:"string"}},disabled:{defaultValue:null,description:"Disabled State",name:"disabled",required:!1,type:{name:"boolean"}},variantBreakToVertical:{defaultValue:null,description:"Which breakpoint, if any, to switch to verticial.\nOnly useful for horizontal variants. Defaults to 'sm'.",name:"variantBreakToVertical",required:!1,type:{name:"enum",value:[{value:'"sm"'},{value:'"none"'},{value:'"lg"'},{value:'"sm-2"'},{value:'"md"'},{value:'"xl"'},{value:'"xxl"'}]}},checkPosition:{defaultValue:null,description:"Where does the checkmark or radio button go?\nIt disappears on 'none'. Only top-right is supported for vertical variants.",name:"checkPosition",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"right"'},{value:'"left"'},{value:'"top-right"'}]}},radioVariant:{defaultValue:null,description:"In radio mode, whether to use the circle with the dot, or the rounded check.",name:"radioVariant",required:!1,type:{name:"enum",value:[{value:'"dot"'},{value:'"check"'}]}},isError:{defaultValue:null,description:"Error State",name:"isError",required:!1,type:{name:"boolean"}},required:{defaultValue:null,description:"Required attribute",name:"required",required:!1,type:{name:"boolean"}},checked:{defaultValue:null,description:"Checked State.\nNote: the `checked` attribute sets the `defaultChecked` property, as well\nas sets the initial value for the `checked` property.",name:"checked",required:!1,type:{name:"boolean"}},isSuccess:{defaultValue:null,description:"Radio item fieldnote isSuccess",name:"isSuccess",required:!1,type:{name:"boolean"}},renderInput:{defaultValue:null,description:"",name:"renderInput",required:!1,type:{name:"() => TemplateResult<1>"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/SelectTile/SelectTile.tsx#Cre8SelectTile"]={docgenInfo:Cre8SelectTile.__docgenInfo,name:"Cre8SelectTile",path:"src/components/SelectTile/SelectTile.tsx#Cre8SelectTile"})}catch(__react_docgen_typescript_loader_error){}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_cre8_dev_cre8_react=self.webpackChunk_cre8_dev_cre8_react||[]).push([[9269],{"./src/components/Icon/Icon.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{f:()=>Cre8IconLegacy});var _lit_react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/.pnpm/@lit+react@1.0.7_@types+react@18.2.13/node_modules/@lit/react/index.js"),_cre8_dev_cre8_wc_lib_components_icon_icon__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/.pnpm/@cre8_dev+cre8-wc@1.0.3_webpack@5.98.0/node_modules/@cre8_dev/cre8-wc/lib/components/icon/icon.js"),react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");const Cre8IconLegacy=(0,_lit_react__WEBPACK_IMPORTED_MODULE_0__.a)({react:react__WEBPACK_IMPORTED_MODULE_2__,tagName:"Cre8-icon-legacy",elementClass:_cre8_dev_cre8_wc_lib_components_icon_icon__WEBPACK_IMPORTED_MODULE_1__.f});try{Cre8IconLegacy.displayName="Cre8IconLegacy",Cre8IconLegacy.__docgenInfo={description:"\n<Cre8-icon> is a web component, which can be used with any frontend framework and use any svg.\nIt takes raw svgs as props and renders them.\n\n**'Cre8-icon-legacy'** will be **deprecated** in Web Components v0.5.0\n\n- [List of new figma icons](https://www.figma.com/file/j1a0rBkoH65XiGKfq7ppWa/Iconography?type=design&node-id=2037-5773&mode=design&t=6ZzC6KH3Gkxf3fj5-4)\n- The new `Cre8-icon` from the Cre8-icon package: https://static-dev.esi-memberweb-dev.aws.evernorthcloud.com/cre8-icons/.\n\n##Usability Considerations\n- If the icon is decorative: set `aria-hidden` to true.\n- If the icon is interactive (not decorative): set `aria-hidden` to false and add the `aria-label`\n- If the icon is key to functionality from a screen reader perspective, it is required to add `aria-label`\nwhich will describe the icon.\nFor example, if the icon is a close button, setting `aria-label=\"Close\"`will give\nthe SVG an aria-label to make it sufficiently accessible.\n\n[More information on Accessibility with cre8-icons](https://static-dev.esi-memberweb-dev.aws.evernorthcloud.com/cre8-icons/?path=/story/getting-started-accessibility--page)\n\n##How to use\nCre8 Web Components (Cre8-wc) includes the `@Cre8/cre8-icons` package.\nIf you need to install a newer version than what's included, please see\nthe [installation instructions for cre8-icons](https://git.express-scripts.com/ExpressScripts/cre8-icons#installation).\n- Import the component (this is the icon container): `import '@Cre8/cre8-icons';`\n- Import an svg as a string: `import svgInfo from '!!raw-loader!@Cre8/cre8-icons/lib/icons/System/Regular/Info.svg';`\n\nYour import paths may be different depending on your project's build configuration.\nPlease see [Importing Icons](https://static-dev.esi-memberweb-dev.aws.evernorthcloud.com/cre8-icons/?path=/story/icon-sets-importing-icons--page)\nof the `@Cre8/cre8-icons` documentation for more information.",displayName:"Cre8IconLegacy",props:{render:{defaultValue:null,description:"Example render, should not be used",name:"render",required:!1,type:{name:"() => TemplateResult<1>"}},name:{defaultValue:null,description:"Icon name (this method of passing in svgs is to be deprecated)\n@required",name:"name",required:!1,type:{name:"string"}},componentClassNames:{defaultValue:null,description:"Abstraction of `classnames` that automatically includes any style modifier\nas well as any set variants.\n\nIt is expected that `variant` would be overridden in a subclass with more\nspecific types, `@property() variant?: 'foo' | 'bar'`\n@param baseClassName",name:"componentClassNames",required:!1,type:{name:"(baseClassName: string, additionalClassNames?: {}) => string"}},slotEmpty:{defaultValue:null,description:"Check if a slot is empty\n@param slotName",name:"slotEmpty",required:!1,type:{name:"(slotName: string) => boolean"}},slotNotEmpty:{defaultValue:null,description:"Check if a slot is not empty\n@param slotName",name:"slotNotEmpty",required:!1,type:{name:"(slotName: string) => boolean"}},dispatch:{defaultValue:null,description:"Dispatch a custom event.",name:"dispatch",required:!1,type:{name:"({ e, eventName, detailObj, optionsObj, }: Cre8DispatchProps) => CustomEvent<any>"}},renderOptions:{defaultValue:null,description:"@category rendering",name:"renderOptions",required:!1,type:{name:"RenderOptions"}},connectedCallback:{defaultValue:null,description:"Invoked when the component is added to the document's DOM.\n\nIn `connectedCallback()` you should setup tasks that should only occur when\nthe element is connected to the document. The most common of these is\nadding event listeners to nodes external to the element, like a keydown\nevent handler added to the window.\n\n```ts\nconnectedCallback() {\n super.connectedCallback();\n addEventListener('keydown', this._handleKeydown);\n}\n```\n\nTypically, anything done in `connectedCallback()` should be undone when the\nelement is disconnected, in `disconnectedCallback()`.\n@category lifecycle",name:"connectedCallback",required:!1,type:{name:"() => void"}},disconnectedCallback:{defaultValue:null,description:"Invoked when the component is removed from the document's DOM.\n\nThis callback is the main signal to the element that it may no longer be\nused. `disconnectedCallback()` should ensure that nothing is holding a\nreference to the element (such as event listeners added to nodes external\nto the element), so that it is free to be garbage collected.\n\n```ts\ndisconnectedCallback() {\n super.disconnectedCallback();\n window.removeEventListener('keydown', this._handleKeydown);\n}\n```\n\nAn element may be re-connected after being disconnected.\n@category lifecycle",name:"disconnectedCallback",required:!1,type:{name:"() => void"}},renderRoot:{defaultValue:null,description:"Node or ShadowRoot into which element DOM should be rendered. Defaults\nto an open shadowRoot.\n@category rendering",name:"renderRoot",required:!1,type:{name:"HTMLElement | ShadowRoot"}},isUpdatePending:{defaultValue:null,description:"True if there is a pending update as a result of calling `requestUpdate()`.\nShould only be read.\n@category updates",name:"isUpdatePending",required:!1,type:{name:"boolean"}},hasUpdated:{defaultValue:null,description:"Is set to `true` after the first update. The element code cannot assume\nthat `renderRoot` exists before the element `hasUpdated`.\n@category updates",name:"hasUpdated",required:!1,type:{name:"boolean"}},addController:{defaultValue:null,description:"Registers a `ReactiveController` to participate in the element's reactive\nupdate cycle. The element automatically calls into any registered\ncontrollers during its lifecycle callbacks.\n\nIf the element is connected when `addController()` is called, the\ncontroller's `hostConnected()` callback will be immediately called.\n@category controllers",name:"addController",required:!1,type:{name:"(controller: ReactiveController) => void"}},removeController:{defaultValue:null,description:"Removes a `ReactiveController` from the element.\n@category controllers",name:"removeController",required:!1,type:{name:"(controller: ReactiveController) => void"}},attributeChangedCallback:{defaultValue:null,description:"Synchronizes property values when attributes change.\n\nSpecifically, when an attribute is set, the corresponding property is set.\nYou should rarely need to implement this callback. If this method is\noverridden, `super.attributeChangedCallback(name, _old, value)` must be\ncalled.\n\nSee [using the lifecycle callbacks](https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements#using_the_lifecycle_callbacks)\non MDN for more information about the `attributeChangedCallback`.\n@category attributes",name:"attributeChangedCallback",required:!1,type:{name:"(name: string, _old: string, value: string) => void"}},requestUpdate:{defaultValue:null,description:"Requests an update which is processed asynchronously. This should be called\nwhen an element should update based on some state not triggered by setting\na reactive property. In this case, pass no arguments. It should also be\ncalled when manually implementing a property setter. In this case, pass the\nproperty `name` and `oldValue` to ensure that any configured property\noptions are honored.\n@param name name of requesting property\n@param oldValue old value of requesting property\n@param options property options to use instead of the previously\nconfigured options\n@category updates",name:"requestUpdate",required:!1,type:{name:"(name?: PropertyKey, oldValue?: unknown, options?: PropertyDeclaration<unknown, unknown>) => void"}},updateComplete:{defaultValue:null,description:"Returns a Promise that resolves when the element has completed updating.\nThe Promise value is a boolean that is `true` if the element completed the\nupdate without triggering another update. The Promise result is `false` if\na property was set inside `updated()`. If the Promise is rejected, an\nexception was thrown during the update.\n\nTo await additional asynchronous work, override the `getUpdateComplete`\nmethod. For example, it is sometimes useful to await a rendered element\nbefore fulfilling this Promise. To do this, first await\n`super.getUpdateComplete()`, then any subsequent state.\n@return A promise of a boolean that resolves to true if the update completed\nwithout triggering another update.\n@category updates",name:"updateComplete",required:!1,type:{name:"Promise<boolean>"}},iconTitle:{defaultValue:null,description:"Icon Title, this string is used for the aira-label of the svg\n@required",name:"iconTitle",required:!1,type:{name:"string"}},focusable:{defaultValue:null,description:"Focusable\n@required",name:"focusable",required:!1,type:{name:"boolean"}},iconUrl:{defaultValue:null,description:"Icon path\n1) This points to the file where the icon sprite lives\n2) This method of pathing will soon be depricated",name:"iconUrl",required:!1,type:{name:"string"}},getIconPath:{defaultValue:null,description:"Get the path to the icons, either by overriding it on the window\nor by using the bundled icon path",name:"getIconPath",required:!1,type:{name:"() => string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/Icon/Icon.tsx#Cre8IconLegacy"]={docgenInfo:Cre8IconLegacy.__docgenInfo,name:"Cre8IconLegacy",path:"src/components/Icon/Icon.tsx#Cre8IconLegacy"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/SelectTile/SelectTile.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{n:()=>Cre8SelectTile});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js"),_lit_react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/.pnpm/@lit+react@1.0.7_@types+react@18.2.13/node_modules/@lit/react/index.js"),_cre8_dev_cre8_wc_lib_components_select_tile_select_tile__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/.pnpm/@cre8_dev+cre8-wc@1.0.3_webpack@5.98.0/node_modules/@cre8_dev/cre8-wc/lib/components/select-tile/select-tile.js");const Cre8SelectTile=(0,_lit_react__WEBPACK_IMPORTED_MODULE_1__.a)({react:react__WEBPACK_IMPORTED_MODULE_0__,tagName:"Cre8-select-tile",elementClass:_cre8_dev_cre8_wc_lib_components_select_tile_select_tile__WEBPACK_IMPORTED_MODULE_2__.n,events:{onBlur:"blur",onChange:"change",onClick:"click",onFocus:"focus",onInput:"input"}});try{Cre8SelectTile.displayName="Cre8SelectTile",Cre8SelectTile.__docgenInfo={description:"",displayName:"Cre8SelectTile",props:{onBlur:{defaultValue:null,description:"",name:"onBlur",required:!1,type:{name:"(e: Cre8DomEvent<Cre8SelectTile, Cre8SelectTile> & FocusEvent) => void"}},onChange:{defaultValue:null,description:"",name:"onChange",required:!1,type:{name:"(e: Cre8DomEvent<Cre8SelectTile, Cre8SelectTile>) => void"}},onClick:{defaultValue:null,description:"",name:"onClick",required:!1,type:{name:"(e: Cre8DomEvent<Cre8SelectTile, Cre8SelectTile> & PointerEvent) => void"}},onFocus:{defaultValue:null,description:"",name:"onFocus",required:!1,type:{name:"(e: Cre8DomEvent<Cre8SelectTile, Cre8SelectTile> & FocusEvent) => void"}},onInput:{defaultValue:null,description:"",name:"onInput",required:!1,type:{name:"(e: Cre8DomEvent<Cre8SelectTile, Cre8SelectTile>) => void"}},align:{defaultValue:null,description:'Align variants\n<cre8-text-passage size="sm">\n<ul>\n<li>**center** renders a select-tile that has center aligned content/text</li>\n</ul>\n</cre8-text-passage>',name:"align",required:!1,type:{name:'"center"'}},defaultChecked:{defaultValue:null,description:"The default checked state when the element first renders or is reset.\n\nNote: the attribute is named `checked` and the property is\nnamed `defaultChecked`. This is the same as a regular radio button.",name:"defaultChecked",required:!1,type:{name:"boolean"}},form:{defaultValue:null,description:"The form associated with this field\n\nTOOD: maybe this goes on Cre8FormElement",name:"form",required:!1,type:{name:"HTMLFormElement"}},render:{defaultValue:null,description:"Example render, should not be used",name:"render",required:!1,type:{name:"() => TemplateResult<1>"}},name:{defaultValue:null,description:"Name of the form control.",name:"name",required:!1,type:{name:"string"}},variant:{defaultValue:null,description:"Style variants\n- **bare** renders a select-tile without a border and without padding around the content\n- **horizontal** renders a select-tile with header, body, footer oriented in a row rather than a column\n- **horizontal-bare** renders a select-tile with header, body, footer\n oriented in a row rather than a column without a border and without padding around the content",name:"variant",required:!1,type:{name:"enum",value:[{value:'"horizontal"'},{value:'"bare"'},{value:'"horizontal-bare"'}]}},componentClassNames:{defaultValue:null,description:"Abstraction of `classnames` that automatically includes any style modifier\nas well as any set variants.\n\nIt is expected that `variant` would be overridden in a subclass with more\nspecific types, `@property() variant?: 'foo' | 'bar'`\n@param baseClassName",name:"componentClassNames",required:!1,type:{name:"(baseClassName: string, additionalClassNames?: {}) => string"}},slotEmpty:{defaultValue:null,description:"Check if a slot is empty\n@param slotName",name:"slotEmpty",required:!1,type:{name:"(slotName: string) => boolean"}},slotNotEmpty:{defaultValue:null,description:"Check if a slot is not empty\n@param slotName",name:"slotNotEmpty",required:!1,type:{name:"(slotName: string) => boolean"}},dispatch:{defaultValue:null,description:"Dispatch a custom event.",name:"dispatch",required:!1,type:{name:"({ e, eventName, detailObj, optionsObj, }: Cre8DispatchProps) => CustomEvent<any>"}},renderOptions:{defaultValue:null,description:"@category rendering",name:"renderOptions",required:!1,type:{name:"RenderOptions"}},connectedCallback:{defaultValue:null,description:"Connected callback lifecycle\n1) Auto-generate the fieldId if a user doesn't provided so that the form field is accessible\n2) Initialize the correct controller",name:"connectedCallback",required:!1,type:{name:"() => void"}},disconnectedCallback:{defaultValue:null,description:"Invoked when the component is removed from the document's DOM.\n\nThis callback is the main signal to the element that it may no longer be\nused. `disconnectedCallback()` should ensure that nothing is holding a\nreference to the element (such as event listeners added to nodes external\nto the element), so that it is free to be garbage collected.\n\n```ts\ndisconnectedCallback() {\n super.disconnectedCallback();\n window.removeEventListener('keydown', this._handleKeydown);\n}\n```\n\nAn element may be re-connected after being disconnected.\n@category lifecycle",name:"disconnectedCallback",required:!1,type:{name:"() => void"}},renderRoot:{defaultValue:null,description:"Node or ShadowRoot into which element DOM should be rendered. Defaults\nto an open shadowRoot.\n@category rendering",name:"renderRoot",required:!1,type:{name:"HTMLElement | ShadowRoot"}},isUpdatePending:{defaultValue:null,description:"True if there is a pending update as a result of calling `requestUpdate()`.\nShould only be read.\n@category updates",name:"isUpdatePending",required:!1,type:{name:"boolean"}},hasUpdated:{defaultValue:null,description:"Is set to `true` after the first update. The element code cannot assume\nthat `renderRoot` exists before the element `hasUpdated`.\n@category updates",name:"hasUpdated",required:!1,type:{name:"boolean"}},addController:{defaultValue:null,description:"Registers a `ReactiveController` to participate in the element's reactive\nupdate cycle. The element automatically calls into any registered\ncontrollers during its lifecycle callbacks.\n\nIf the element is connected when `addController()` is called, the\ncontroller's `hostConnected()` callback will be immediately called.\n@category controllers",name:"addController",required:!1,type:{name:"(controller: ReactiveController) => void"}},removeController:{defaultValue:null,description:"Removes a `ReactiveController` from the element.\n@category controllers",name:"removeController",required:!1,type:{name:"(controller: ReactiveController) => void"}},attributeChangedCallback:{defaultValue:null,description:"Synchronizes property values when attributes change.\n\nSpecifically, when an attribute is set, the corresponding property is set.\nYou should rarely need to implement this callback. If this method is\noverridden, `super.attributeChangedCallback(name, _old, value)` must be\ncalled.\n\nSee [using the lifecycle callbacks](https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements#using_the_lifecycle_callbacks)\non MDN for more information about the `attributeChangedCallback`.\n@category attributes",name:"attributeChangedCallback",required:!1,type:{name:"(name: string, _old: string, value: string) => void"}},requestUpdate:{defaultValue:null,description:"Requests an update which is processed asynchronously. This should be called\nwhen an element should update based on some state not triggered by setting\na reactive property. In this case, pass no arguments. It should also be\ncalled when manually implementing a property setter. In this case, pass the\nproperty `name` and `oldValue` to ensure that any configured property\noptions are honored.\n@param name name of requesting property\n@param oldValue old value of requesting property\n@param options property options to use instead of the previously\nconfigured options\n@category updates",name:"requestUpdate",required:!1,type:{name:"(name?: PropertyKey, oldValue?: unknown, options?: PropertyDeclaration<unknown, unknown>) => void"}},updateComplete:{defaultValue:null,description:"Returns a Promise that resolves when the element has completed updating.\nThe Promise value is a boolean that is `true` if the element completed the\nupdate without triggering another update. The Promise result is `false` if\na property was set inside `updated()`. If the Promise is rejected, an\nexception was thrown during the update.\n\nTo await additional asynchronous work, override the `getUpdateComplete`\nmethod. For example, it is sometimes useful to await a rendered element\nbefore fulfilling this Promise. To do this, first await\n`super.getUpdateComplete()`, then any subsequent state.\n@return A promise of a boolean that resolves to true if the update completed\nwithout triggering another update.\n@category updates",name:"updateComplete",required:!1,type:{name:"Promise<boolean>"}},updated:{defaultValue:null,description:'Whenever the "checked" property changes, update our form value, aria-checked,\nand the checked property of `this.field`.',name:"updated",required:!1,type:{name:"(changedProps: PropertyValueMap<any> | Map<PropertyKey, unknown>) => void"}},type:{defaultValue:null,description:"Should this Select Tile behave as a radio button or a checkbox?",name:"type",required:!1,type:{name:"enum",value:[{value:'"checkbox"'},{value:'"radio"'}]}},fieldId:{defaultValue:null,description:"Select Tile FieldId",name:"fieldId",required:!1,type:{name:"string"}},field:{defaultValue:null,description:"Get the radio field item input",name:"field",required:!1,type:{name:"HTMLInputElement"}},renderCheckboxIcon:{defaultValue:null,description:"",name:"renderCheckboxIcon",required:!1,type:{name:"() => TemplateResult<1>"}},formResetCallback:{defaultValue:null,description:"Reset form callback\n1) Remove the checked state from all radio elements\n2) Set the checked state to the initial checked state\n3) Set the radio field input checked attribute to the initial checked state",name:"formResetCallback",required:!1,type:{name:"() => void"}},internals:{defaultValue:null,description:"@protected\n@internal An instance of element internals.\nContains properties and methods that allows the element\nto participate fully in the HTML form it's in.",name:"internals",required:!1,type:{name:"Cre8ElementInternals"}},internalValue:{defaultValue:null,description:"@protected\n@internal Stores the value for the `value` getter and setter.",name:"internalValue",required:!1,type:{name:"string"}},value:{defaultValue:null,description:"The value of the form field.\nSets the value of the form field.\n1. Stores the new value so it can be retrieved by the getter.\n2. Sets the current value of the control.\n3. Updates the actual field.\n4. Rerenders the component.",name:"value",required:!1,type:{name:"string"}},disabled:{defaultValue:null,description:"Disabled State",name:"disabled",required:!1,type:{name:"boolean"}},variantBreakToVertical:{defaultValue:null,description:"Which breakpoint, if any, to switch to verticial.\nOnly useful for horizontal variants. Defaults to 'sm'.",name:"variantBreakToVertical",required:!1,type:{name:"enum",value:[{value:'"sm"'},{value:'"none"'},{value:'"lg"'},{value:'"sm-2"'},{value:'"md"'},{value:'"xl"'},{value:'"xxl"'}]}},checkPosition:{defaultValue:null,description:"Where does the checkmark or radio button go?\nIt disappears on 'none'. Only top-right is supported for vertical variants.",name:"checkPosition",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"right"'},{value:'"left"'},{value:'"top-right"'}]}},radioVariant:{defaultValue:null,description:"In radio mode, whether to use the circle with the dot, or the rounded check.",name:"radioVariant",required:!1,type:{name:"enum",value:[{value:'"dot"'},{value:'"check"'}]}},isError:{defaultValue:null,description:"Error State",name:"isError",required:!1,type:{name:"boolean"}},required:{defaultValue:null,description:"Required attribute",name:"required",required:!1,type:{name:"boolean"}},checked:{defaultValue:null,description:"Checked State.\nNote: the `checked` attribute sets the `defaultChecked` property, as well\nas sets the initial value for the `checked` property.",name:"checked",required:!1,type:{name:"boolean"}},isSuccess:{defaultValue:null,description:"Radio item fieldnote isSuccess",name:"isSuccess",required:!1,type:{name:"boolean"}},renderInput:{defaultValue:null,description:"",name:"renderInput",required:!1,type:{name:"() => TemplateResult<1>"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/SelectTile/SelectTile.tsx#Cre8SelectTile"]={docgenInfo:Cre8SelectTile.__docgenInfo,name:"Cre8SelectTile",path:"src/components/SelectTile/SelectTile.tsx#Cre8SelectTile"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/SelectTileList/SelectTileList.stories.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Checkboxes:()=>Checkboxes,Default:()=>Default,RadioCheck:()=>RadioCheck,Rows:()=>Rows,__namedExportsOrder:()=>__namedExportsOrder,default:()=>SelectTileList_stories});var react=__webpack_require__("./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js"),preview=__webpack_require__("./.storybook/preview.js"),_lit_react=__webpack_require__("./node_modules/.pnpm/@lit+react@1.0.7_@types+react@18.2.13/node_modules/@lit/react/index.js"),select_tile_list=__webpack_require__("./node_modules/.pnpm/@cre8_dev+cre8-wc@1.0.3_webpack@5.98.0/node_modules/@cre8_dev/cre8-wc/lib/components/select-tile-list/select-tile-list.js");const Cre8SelectTileList=(0,_lit_react.a)({react,tagName:"Cre8-select-tile-list",elementClass:select_tile_list.d});try{Cre8SelectTileList.displayName="Cre8SelectTileList",Cre8SelectTileList.__docgenInfo={description:"",displayName:"Cre8SelectTileList",props:{render:{defaultValue:null,description:"Example render, should not be used",name:"render",required:!1,type:{name:"() => TemplateResult<1>"}},variant:{defaultValue:null,description:"Whether to show the tiles side by side (columns) or stacked vertically (rows).",name:"variant",required:!1,type:{name:"enum",value:[{value:'"columns"'},{value:'"rows"'}]}},componentClassNames:{defaultValue:null,description:"Abstraction of `classnames` that automatically includes any style modifier\nas well as any set variants.\n\nIt is expected that `variant` would be overridden in a subclass with more\nspecific types, `@property() variant?: 'foo' | 'bar'`\n@param baseClassName",name:"componentClassNames",required:!1,type:{name:"(baseClassName: string, additionalClassNames?: {}) => string"}},slotEmpty:{defaultValue:null,description:"Check if a slot is empty\n@param slotName",name:"slotEmpty",required:!1,type:{name:"(slotName: string) => boolean"}},slotNotEmpty:{defaultValue:null,description:"Check if a slot is not empty\n@param slotName",name:"slotNotEmpty",required:!1,type:{name:"(slotName: string) => boolean"}},dispatch:{defaultValue:null,description:"Dispatch a custom event.",name:"dispatch",required:!1,type:{name:"({ e, eventName, detailObj, optionsObj, }: Cre8DispatchProps) => CustomEvent<any>"}},renderOptions:{defaultValue:null,description:"@category rendering",name:"renderOptions",required:!1,type:{name:"RenderOptions"}},connectedCallback:{defaultValue:null,description:"Invoked when the component is added to the document's DOM.\n\nIn `connectedCallback()` you should setup tasks that should only occur when\nthe element is connected to the document. The most common of these is\nadding event listeners to nodes external to the element, like a keydown\nevent handler added to the window.\n\n```ts\nconnectedCallback() {\n super.connectedCallback();\n addEventListener('keydown', this._handleKeydown);\n}\n```\n\nTypically, anything done in `connectedCallback()` should be undone when the\nelement is disconnected, in `disconnectedCallback()`.",name:"connectedCallback",required:!1,type:{name:"() => void"}},disconnectedCallback:{defaultValue:null,description:"Invoked when the component is removed from the document's DOM.\n\nThis callback is the main signal to the element that it may no longer be\nused. `disconnectedCallback()` should ensure that nothing is holding a\nreference to the element (such as event listeners added to nodes external\nto the element), so that it is free to be garbage collected.\n\n```ts\ndisconnectedCallback() {\n super.disconnectedCallback();\n window.removeEventListener('keydown', this._handleKeydown);\n}\n```\n\nAn element may be re-connected after being disconnected.\n@category lifecycle",name:"disconnectedCallback",required:!1,type:{name:"() => void"}},renderRoot:{defaultValue:null,description:"Node or ShadowRoot into which element DOM should be rendered. Defaults\nto an open shadowRoot.\n@category rendering",name:"renderRoot",required:!1,type:{name:"HTMLElement | ShadowRoot"}},isUpdatePending:{defaultValue:null,description:"True if there is a pending update as a result of calling `requestUpdate()`.\nShould only be read.\n@category updates",name:"isUpdatePending",required:!1,type:{name:"boolean"}},hasUpdated:{defaultValue:null,description:"Is set to `true` after the first update. The element code cannot assume\nthat `renderRoot` exists before the element `hasUpdated`.\n@category updates",name:"hasUpdated",required:!1,type:{name:"boolean"}},addController:{defaultValue:null,description:"Registers a `ReactiveController` to participate in the element's reactive\nupdate cycle. The element automatically calls into any registered\ncontrollers during its lifecycle callbacks.\n\nIf the element is connected when `addController()` is called, the\ncontroller's `hostConnected()` callback will be immediately called.\n@category controllers",name:"addController",required:!1,type:{name:"(controller: ReactiveController) => void"}},removeController:{defaultValue:null,description:"Removes a `ReactiveController` from the element.\n@category controllers",name:"removeController",required:!1,type:{name:"(controller: ReactiveController) => void"}},attributeChangedCallback:{defaultValue:null,description:"Synchronizes property values when attributes change.\n\nSpecifically, when an attribute is set, the corresponding property is set.\nYou should rarely need to implement this callback. If this method is\noverridden, `super.attributeChangedCallback(name, _old, value)` must be\ncalled.\n\nSee [using the lifecycle callbacks](https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements#using_the_lifecycle_callbacks)\non MDN for more information about the `attributeChangedCallback`.\n@category attributes",name:"attributeChangedCallback",required:!1,type:{name:"(name: string, _old: string, value: string) => void"}},requestUpdate:{defaultValue:null,description:"Requests an update which is processed asynchronously. This should be called\nwhen an element should update based on some state not triggered by setting\na reactive property. In this case, pass no arguments. It should also be\ncalled when manually implementing a property setter. In this case, pass the\nproperty `name` and `oldValue` to ensure that any configured property\noptions are honored.\n@param name name of requesting property\n@param oldValue old value of requesting property\n@param options property options to use instead of the previously\nconfigured options\n@category updates",name:"requestUpdate",required:!1,type:{name:"(name?: PropertyKey, oldValue?: unknown, options?: PropertyDeclaration<unknown, unknown>) => void"}},updateComplete:{defaultValue:null,description:"Returns a Promise that resolves when the element has completed updating.\nThe Promise value is a boolean that is `true` if the element completed the\nupdate without triggering another update. The Promise result is `false` if\na property was set inside `updated()`. If the Promise is rejected, an\nexception was thrown during the update.\n\nTo await additional asynchronous work, override the `getUpdateComplete`\nmethod. For example, it is sometimes useful to await a rendered element\nbefore fulfilling this Promise. To do this, first await\n`super.getUpdateComplete()`, then any subsequent state.\n@return A promise of a boolean that resolves to true if the update completed\nwithout triggering another update.\n@category updates",name:"updateComplete",required:!1,type:{name:"Promise<boolean>"}},label:{defaultValue:null,description:"Select Tile container label",name:"label",required:!1,type:{name:"string"}},fieldNote:{defaultValue:null,description:"Select Tile container fieldnote",name:"fieldNote",required:!1,type:{name:"string"}},ariaDescribedBy:{defaultValue:null,description:"Select Tile container fieldnote aria describe by",name:"ariaDescribedBy",required:!1,type:{name:"string"}},fieldNoteIconName:{defaultValue:null,description:"Select Tile container fieldnote icon name",name:"fieldNoteIconName",required:!1,type:{name:"string"}},fieldNoteKnockout:{defaultValue:null,description:"Select Tile container fieldnote knockout",name:"fieldNoteKnockout",required:!1,type:{name:"boolean"}},fieldNoteIsSuccess:{defaultValue:null,description:"Select Tile container fieldnote isSuccess",name:"fieldNoteIsSuccess",required:!1,type:{name:"boolean"}},fieldNoteIsError:{defaultValue:null,description:"Select Tile container fieldnote isError",name:"fieldNoteIsError",required:!1,type:{name:"boolean"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/SelectTileList/SelectTileList.tsx#Cre8SelectTileList"]={docgenInfo:Cre8SelectTileList.__docgenInfo,name:"Cre8SelectTileList",path:"src/components/SelectTileList/SelectTileList.tsx#Cre8SelectTileList"})}catch(__react_docgen_typescript_loader_error){}var SelectTile=__webpack_require__("./src/components/SelectTile/SelectTile.tsx"),Icon=__webpack_require__("./src/components/Icon/Icon.tsx"),jsx_runtime=__webpack_require__("./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");const iconStyle={"--Cre8-icon-width":"56px","--Cre8-icon-height":"56px"},SelectTileList_stories={title:"IN DEVELOPMENT/SelectTileList",component:Cre8SelectTileList,parameters:{status:{type:"beta"},controls:{exclude:new RegExp(`${preview.excludeRegexArray.join("|")}`)}},decorators:[Story=>(0,jsx_runtime.jsx)("form",{children:(0,jsx_runtime.jsx)(Story,{})})],args:{},render:_ref=>{let{tileArgs,...args}=_ref;return(0,jsx_runtime.jsxs)(Cre8SelectTileList,{...args,children:[(0,jsx_runtime.jsxs)(SelectTile.n,{name:"t1",align:"center",value:"1",...tileArgs,children:[(0,jsx_runtime.jsx)(Icon.f,{slot:"header",name:"find-drug",style:iconStyle}),(0,jsx_runtime.jsx)("span",{slot:"title",children:"Heading text"}),(0,jsx_runtime.jsx)("span",{slot:"body",children:"Nunc amet vitae sit interdum non morbi fames ac sed"})]}),(0,jsx_runtime.jsxs)(SelectTile.n,{isSuccess:!0,name:"t1",align:"center",value:"2",...tileArgs,children:[(0,jsx_runtime.jsx)(Icon.f,{slot:"header",name:"find-drug",style:iconStyle}),(0,jsx_runtime.jsx)("span",{slot:"title",children:"Heading text"}),(0,jsx_runtime.jsx)("span",{slot:"body",children:"Nunc amet vitae sit interdum non morbi fames ac sed"})]}),(0,jsx_runtime.jsxs)(SelectTile.n,{isError:!0,name:"t1",align:"center",value:"3",...tileArgs,children:[(0,jsx_runtime.jsx)(Icon.f,{slot:"header",name:"find-drug",style:iconStyle}),(0,jsx_runtime.jsx)("span",{slot:"title",children:"Heading text"}),(0,jsx_runtime.jsx)("span",{slot:"body",children:"Nunc amet vitae sit interdum non morbi fames ac sed"})]}),(0,jsx_runtime.jsxs)(SelectTile.n,{disabled:!0,name:"t1",align:"center",value:"4",...tileArgs,children:[(0,jsx_runtime.jsx)(Icon.f,{slot:"header",name:"find-drug",style:iconStyle}),(0,jsx_runtime.jsx)("span",{slot:"title",children:"Heading text"}),(0,jsx_runtime.jsx)("span",{slot:"body",children:"Nunc amet vitae sit interdum non morbi fames ac sed"})]})]})}},Default={args:{}},Rows={args:{variant:"rows",tileArgs:{variant:"horizontal"}}},RadioCheck={args:{tileArgs:{radioVariant:"check"}}},Checkboxes={args:{tileArgs:{type:"checkbox"}}};Default.parameters={...Default.parameters,docs:{...Default.parameters?.docs,source:{originalSource:"{\n args: {}\n}",...Default.parameters?.docs?.source}}},Rows.parameters={...Rows.parameters,docs:{...Rows.parameters?.docs,source:{originalSource:"{\n args: {\n variant: 'rows',\n tileArgs: {\n variant: 'horizontal'\n }\n }\n}",...Rows.parameters?.docs?.source}}},RadioCheck.parameters={...RadioCheck.parameters,docs:{...RadioCheck.parameters?.docs,source:{originalSource:"{\n args: {\n tileArgs: {\n radioVariant: 'check'\n }\n }\n}",...RadioCheck.parameters?.docs?.source}}},Checkboxes.parameters={...Checkboxes.parameters,docs:{...Checkboxes.parameters?.docs,source:{originalSource:"{\n args: {\n tileArgs: {\n type: 'checkbox'\n }\n }\n}",...Checkboxes.parameters?.docs?.source}}};const __namedExportsOrder=["Default","Rows","RadioCheck","Checkboxes"]}}]);
|