srcdev-nuxt-components 8.0.3 → 9.0.0
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 +170 -118
- package/app/assets/styles/extends-layer/srcdev-components/components/_display-prompt-core.css +94 -0
- package/app/assets/styles/extends-layer/srcdev-components/components/_display-toast.css +5 -0
- package/app/assets/styles/extends-layer/srcdev-components/components/_expanding-panel.css +37 -0
- package/app/assets/styles/extends-layer/srcdev-components/components/index.css +3 -0
- package/app/assets/styles/extends-layer/srcdev-components/index.css +1 -0
- package/app/assets/styles/extends-layer/srcdev-forms/components/_form-fieldset.css +38 -0
- package/app/assets/styles/extends-layer/srcdev-forms/components/_input-button.css +67 -0
- package/app/assets/styles/extends-layer/srcdev-forms/components/_input-checkbox-radio-core.css +87 -0
- package/app/assets/styles/extends-layer/srcdev-forms/components/_input-checkbox-radio-options-button.css +74 -0
- package/app/assets/styles/extends-layer/srcdev-forms/components/_input-checkbox-radio-with-label.css +14 -0
- package/app/assets/styles/extends-layer/srcdev-forms/components/_input-description.css +13 -0
- package/app/assets/styles/extends-layer/srcdev-forms/components/_input-error.css +54 -0
- package/app/assets/styles/extends-layer/srcdev-forms/components/_input-label.css +21 -0
- package/app/assets/styles/extends-layer/srcdev-forms/components/_input-select.css +143 -0
- package/app/assets/styles/extends-layer/srcdev-forms/components/_input-text.css +190 -0
- package/app/assets/styles/extends-layer/srcdev-forms/components/_input-textarea.css +96 -0
- package/app/assets/styles/extends-layer/srcdev-forms/components/_input-toggle-switch.css +68 -0
- package/app/assets/styles/extends-layer/srcdev-forms/components/index.css +12 -0
- package/app/assets/styles/extends-layer/srcdev-forms/index.css +2 -0
- package/app/assets/styles/extends-layer/srcdev-forms/setup/_generic.css +21 -0
- package/app/assets/styles/extends-layer/srcdev-forms/setup/index.css +3 -0
- package/app/assets/styles/extends-layer/srcdev-forms/setup/sizes/_default.css +13 -0
- package/app/assets/styles/extends-layer/srcdev-forms/setup/sizes/_large.css +12 -0
- package/app/assets/styles/extends-layer/srcdev-forms/setup/sizes/_medium.css +12 -0
- package/app/assets/styles/extends-layer/srcdev-forms/setup/sizes/_small.css +12 -0
- package/app/assets/styles/extends-layer/srcdev-forms/setup/sizes/_x-small.css +11 -0
- package/app/assets/styles/extends-layer/srcdev-forms/setup/sizes/index.css +23 -0
- package/app/assets/styles/extends-layer/srcdev-forms/setup/themes/_default.css +62 -0
- package/app/assets/styles/extends-layer/srcdev-forms/setup/themes/_error.css +63 -0
- package/app/assets/styles/extends-layer/srcdev-forms/setup/themes/_ghost.css +63 -0
- package/app/assets/styles/extends-layer/srcdev-forms/setup/themes/_info.css +63 -0
- package/app/assets/styles/extends-layer/srcdev-forms/setup/themes/_primary.css +66 -0
- package/app/assets/styles/extends-layer/srcdev-forms/setup/themes/_secondary.css +64 -0
- package/app/assets/styles/extends-layer/srcdev-forms/setup/themes/_success.css +63 -0
- package/app/assets/styles/extends-layer/srcdev-forms/setup/themes/_tertiary.css +63 -0
- package/app/assets/styles/extends-layer/srcdev-forms/setup/themes/_warning.css +63 -0
- package/app/assets/styles/extends-layer/srcdev-forms/setup/themes/index.css +7 -0
- package/app/assets/styles/main.css +2 -0
- package/app/assets/styles/setup/01.config/_basic-resets.css +9 -0
- package/app/assets/styles/setup/01.config/_head.css +33 -0
- package/app/assets/styles/setup/01.config/_normalise.css +209 -0
- package/app/assets/styles/setup/01.config/index.css +3 -0
- package/app/assets/styles/setup/02.colours/_amber.css +12 -0
- package/app/assets/styles/setup/02.colours/_blue.css +13 -0
- package/app/assets/styles/setup/02.colours/_green.css +13 -0
- package/app/assets/styles/setup/02.colours/_orange.css +12 -0
- package/app/assets/styles/setup/02.colours/_red.css +13 -0
- package/app/assets/styles/setup/02.colours/_slate.css +13 -0
- package/app/assets/styles/setup/02.colours/_sunset.css +12 -0
- package/app/assets/styles/setup/02.colours/index.css +7 -0
- package/app/assets/styles/setup/03.theming/default/_dark.css +138 -0
- package/app/assets/styles/setup/03.theming/default/_light.css +156 -0
- package/app/assets/styles/setup/03.theming/default/index.css +2 -0
- package/app/assets/styles/setup/03.theming/error/_dark.css +56 -0
- package/app/assets/styles/setup/03.theming/error/_light.css +74 -0
- package/app/assets/styles/setup/03.theming/error/index.css +2 -0
- package/app/assets/styles/setup/03.theming/index.css +4 -0
- package/app/assets/styles/setup/03.theming/success/_dark.css +50 -0
- package/app/assets/styles/setup/03.theming/success/_light.css +65 -0
- package/app/assets/styles/setup/03.theming/success/index.css +2 -0
- package/app/assets/styles/setup/03.theming/warning/_dark.css +50 -0
- package/app/assets/styles/setup/03.theming/warning/_light.css +64 -0
- package/app/assets/styles/setup/03.theming/warning/index.css +2 -0
- package/app/assets/styles/setup/04.elements/forms/00.element-defaults.css +21 -0
- package/app/assets/styles/setup/04.elements/forms/01.field-layout-container-level.css +14 -0
- package/app/assets/styles/setup/04.elements/forms/02.typography.css +24 -0
- package/app/assets/styles/setup/04.elements/forms/03.generic-input-geometry.css +63 -0
- package/app/assets/styles/setup/04.elements/forms/04.slot-icon-system.css +14 -0
- package/app/assets/styles/setup/04.elements/forms/05.checkbox-radio-geometry.css +17 -0
- package/app/assets/styles/setup/04.elements/forms/06.button-geometry.css +17 -0
- package/app/assets/styles/setup/04.elements/forms/07.validation-error-block-layout.css +9 -0
- package/app/assets/styles/setup/04.elements/forms/09.animation-motion.css +6 -0
- package/app/assets/styles/setup/04.elements/forms/index.css +9 -0
- package/app/assets/styles/setup/04.elements/index.css +1 -0
- package/app/assets/styles/setup/05.typography/01.tokens/_font-family.css +8 -0
- package/app/assets/styles/setup/05.typography/01.tokens/_reponsive-font-sizes.css +22 -0
- package/app/assets/styles/setup/05.typography/01.tokens/_timing-functions.css +119 -0
- package/app/assets/styles/setup/05.typography/01.tokens/index.css +3 -0
- package/app/assets/styles/setup/05.typography/02.utility-classes/_font-classes-article.css +30 -0
- package/app/assets/styles/setup/05.typography/02.utility-classes/_font-classes-card.css +45 -0
- package/app/assets/styles/setup/05.typography/02.utility-classes/_font-classes-page-body.css +146 -0
- package/app/assets/styles/setup/05.typography/02.utility-classes/_font-classes-page-heading.css +35 -0
- package/app/assets/styles/setup/05.typography/02.utility-classes/_font-classes-page-link.css +116 -0
- package/app/assets/styles/setup/05.typography/02.utility-classes/_font-classes-section.css +7 -0
- package/app/assets/styles/setup/05.typography/02.utility-classes/_generic-font-classes.css +3 -0
- package/app/assets/styles/setup/05.typography/02.utility-classes/_generic-font-variation-settings.css +29 -0
- package/app/assets/styles/setup/05.typography/02.utility-classes/_generic-font-weights.css +39 -0
- package/app/assets/styles/setup/05.typography/02.utility-classes/index.css +9 -0
- package/app/assets/styles/setup/05.typography/index.css +2 -0
- package/app/assets/styles/setup/06.utility-classes/_a11y.css +280 -0
- package/app/assets/styles/setup/06.utility-classes/animations/_auto-rotate.css +13 -0
- package/app/assets/styles/setup/06.utility-classes/animations/_entry-exit-blur.css +16 -0
- package/app/assets/styles/setup/06.utility-classes/animations/_entry-slide-in.css +15 -0
- package/app/assets/styles/setup/06.utility-classes/animations/_entry-zoom-reveal.css +15 -0
- package/app/assets/styles/setup/06.utility-classes/animations/index.css +4 -0
- package/app/assets/styles/setup/06.utility-classes/index.css +4 -0
- package/app/assets/styles/setup/06.utility-classes/layout/_containers.css +96 -0
- package/app/assets/styles/setup/06.utility-classes/layout/_flexbox.css +196 -0
- package/app/assets/styles/setup/06.utility-classes/layout/_grid.css +266 -0
- package/app/assets/styles/setup/06.utility-classes/layout/_positioning.css +149 -0
- package/app/assets/styles/setup/06.utility-classes/layout/index.css +9 -0
- package/app/assets/styles/setup/06.utility-classes/spacing/_fluid-spacing.css +13 -0
- package/app/assets/styles/setup/06.utility-classes/spacing/_margin.css +334 -0
- package/app/assets/styles/setup/06.utility-classes/spacing/_padding.css +308 -0
- package/app/assets/styles/setup/06.utility-classes/spacing/index.css +3 -0
- package/app/assets/styles/setup/a11y/_variables.css +8 -0
- package/app/assets/styles/setup/a11y/index.css +1 -0
- package/app/assets/styles/setup/index.css +10 -0
- package/app/components/01.atoms/animations/entry/EntryAnimation.vue +22 -0
- package/app/components/01.atoms/animations/entry/stories/EntryAnimation.stories.ts +74 -0
- package/app/components/01.atoms/glass-panel/GlassPanel.vue +52 -0
- package/app/components/01.atoms/text-blocks/eyebrow-text/EyebrowText.vue +42 -0
- package/app/components/01.atoms/text-blocks/eyebrow-text/playwright/eyebrow-text.playwright.ts +67 -0
- package/app/components/01.atoms/text-blocks/eyebrow-text/playwright/eyebrow-text.playwright.ts-snapshots/default-chromium-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/eyebrow-text/playwright/eyebrow-text.playwright.ts-snapshots/default-firefox-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/eyebrow-text/playwright/eyebrow-text.playwright.ts-snapshots/default-webkit-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/eyebrow-text/playwright/eyebrow-text.playwright.ts-snapshots/fontSize-large-chromium-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/eyebrow-text/playwright/eyebrow-text.playwright.ts-snapshots/fontSize-large-firefox-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/eyebrow-text/playwright/eyebrow-text.playwright.ts-snapshots/fontSize-large-webkit-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/eyebrow-text/playwright/eyebrow-text.playwright.ts-snapshots/fontSize-medium-chromium-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/eyebrow-text/playwright/eyebrow-text.playwright.ts-snapshots/fontSize-medium-firefox-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/eyebrow-text/playwright/eyebrow-text.playwright.ts-snapshots/fontSize-medium-webkit-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/eyebrow-text/playwright/eyebrow-text.playwright.ts-snapshots/fontSize-small-chromium-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/eyebrow-text/playwright/eyebrow-text.playwright.ts-snapshots/fontSize-small-firefox-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/eyebrow-text/playwright/eyebrow-text.playwright.ts-snapshots/fontSize-small-webkit-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/eyebrow-text/playwright/eyebrow-text.playwright.ts-snapshots/tag-div-chromium-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/eyebrow-text/playwright/eyebrow-text.playwright.ts-snapshots/tag-div-firefox-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/eyebrow-text/playwright/eyebrow-text.playwright.ts-snapshots/tag-div-webkit-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/eyebrow-text/playwright/eyebrow-text.playwright.ts-snapshots/tag-p-chromium-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/eyebrow-text/playwright/eyebrow-text.playwright.ts-snapshots/tag-p-firefox-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/eyebrow-text/playwright/eyebrow-text.playwright.ts-snapshots/tag-p-webkit-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/eyebrow-text/playwright/eyebrow-text.playwright.ts-snapshots/tag-span-chromium-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/eyebrow-text/playwright/eyebrow-text.playwright.ts-snapshots/tag-span-firefox-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/eyebrow-text/playwright/eyebrow-text.playwright.ts-snapshots/tag-span-webkit-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/eyebrow-text/stories/EyebrowText.stories.ts +49 -0
- package/app/components/01.atoms/text-blocks/eyebrow-text/tests/EyebrowText.spec.ts +196 -0
- package/app/components/01.atoms/text-blocks/eyebrow-text/tests/__snapshots__/EyebrowText.spec.ts.snap +17 -0
- package/app/components/01.atoms/text-blocks/hero-text/HeroText.vue +101 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts +110 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-horizontal-chromium-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-horizontal-firefox-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-horizontal-fontSize-display-chromium-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-horizontal-fontSize-display-firefox-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-horizontal-fontSize-display-webkit-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-horizontal-fontSize-heading-chromium-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-horizontal-fontSize-heading-firefox-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-horizontal-fontSize-heading-webkit-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-horizontal-fontSize-label-chromium-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-horizontal-fontSize-label-firefox-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-horizontal-fontSize-label-webkit-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-horizontal-fontSize-subheading-chromium-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-horizontal-fontSize-subheading-firefox-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-horizontal-fontSize-subheading-webkit-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-horizontal-fontSize-title-chromium-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-horizontal-fontSize-title-firefox-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-horizontal-fontSize-title-webkit-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-horizontal-webkit-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-vertical-chromium-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-vertical-firefox-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-vertical-fontSize-display-chromium-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-vertical-fontSize-display-firefox-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-vertical-fontSize-display-webkit-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-vertical-fontSize-heading-chromium-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-vertical-fontSize-heading-firefox-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-vertical-fontSize-heading-webkit-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-vertical-fontSize-label-chromium-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-vertical-fontSize-label-firefox-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-vertical-fontSize-label-webkit-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-vertical-fontSize-subheading-chromium-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-vertical-fontSize-subheading-firefox-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-vertical-fontSize-subheading-webkit-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-vertical-fontSize-title-chromium-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-vertical-fontSize-title-firefox-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-vertical-fontSize-title-webkit-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-vertical-webkit-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/default-chromium-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/default-firefox-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/default-webkit-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/fontSize-display-chromium-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/fontSize-display-firefox-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/fontSize-display-webkit-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/fontSize-heading-chromium-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/fontSize-heading-firefox-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/fontSize-heading-webkit-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/fontSize-label-chromium-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/fontSize-label-firefox-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/fontSize-label-webkit-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/fontSize-subheading-chromium-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/fontSize-subheading-firefox-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/fontSize-subheading-webkit-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/fontSize-title-chromium-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/fontSize-title-firefox-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/fontSize-title-webkit-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/icon-with-chromium-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/icon-with-firefox-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/icon-with-webkit-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/icon-without-chromium-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/icon-without-firefox-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/icon-without-webkit-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/tag-h1-chromium-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/tag-h1-firefox-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/tag-h1-webkit-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/tag-h2-chromium-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/tag-h2-firefox-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/tag-h2-webkit-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/tag-h3-chromium-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/tag-h3-firefox-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/tag-h3-webkit-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/tag-h4-chromium-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/tag-h4-firefox-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/tag-h4-webkit-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/tag-h5-chromium-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/tag-h5-firefox-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/tag-h5-webkit-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/tag-h6-chromium-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/tag-h6-firefox-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/tag-h6-webkit-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/stories/HeroText.stories.ts +70 -0
- package/app/components/01.atoms/text-blocks/hero-text/tests/HeroText.spec.ts +148 -0
- package/app/components/01.atoms/text-blocks/hero-text/tests/__snapshots__/HeroText.spec.ts.snap +7 -0
- package/app/components/02.molecules/contact-section/stories/ContactSection.stories.ts +197 -0
- package/app/components/02.molecules/contact-section/tests/ContactSection.spec.ts +196 -0
- package/app/components/02.molecules/contact-section/tests/ContactSection.vue +87 -0
- package/app/components/02.molecules/contact-section/tests/__snapshots__/ContactSection.spec.ts.snap +119 -0
- package/app/components/02.molecules/price-list/PriceList.vue +119 -0
- package/app/components/02.molecules/price-list/stories/PriceList.stories.ts +103 -0
- package/app/components/02.molecules/price-list/tests/PriceList.spec.ts +192 -0
- package/app/components/02.molecules/price-list/tests/__snapshots__/PriceList.spec.ts.snap +73 -0
- package/app/components/02.molecules/profile-section/ProfileSection.vue +154 -0
- package/app/components/02.molecules/profile-section/stories/ProfileSection.stories.ts +154 -0
- package/app/components/02.molecules/profile-section/tests/ProfileSection.spec.ts +147 -0
- package/app/components/02.molecules/profile-section/tests/__snapshots__/ProfileSection.spec.ts.snap +29 -0
- package/app/components/02.molecules/stepper-list/StepperList.vue +158 -0
- package/app/components/02.molecules/stepper-list/stories/StepperList.stories.ts +392 -0
- package/app/components/02.molecules/stepper-list/tests/StepperList.spec.ts +289 -0
- package/app/components/02.molecules/stepper-list/tests/__snapshots__/StepperList.spec.ts.snap +86 -0
- package/app/components/03.organisms/colour-finder/ColourFinder.vue +1519 -0
- package/app/components/03.organisms/services/services-card/ServicesCard.vue +104 -0
- package/app/components/03.organisms/services/services-grids/ServicesCardGrid.vue +39 -0
- package/app/components/03.organisms/services/services-grids/ServicesSectionGrid.vue +52 -0
- package/app/components/03.organisms/services/services-section/ServicesSection.vue +307 -0
- package/app/components/03.organisms/treatment-consultant/TreatmentConsultant.vue +2221 -0
- package/app/components/03.organisms/treatment-consultant/stories/TreatmentConsultant.stories.ts +38 -0
- package/app/components/accordian/AccordianCore.vue +26 -21
- package/app/components/accordian/stories/AccordianCore.stories.ts +241 -0
- package/app/components/accordian/tests/AccordianCore.spec.ts +218 -0
- package/app/components/accordian/tests/__snapshots__/AccordianCore.spec.ts.snap +74 -0
- package/app/components/alert-mask/AlertMaskCore.vue +35 -33
- package/app/components/alert-mask/tests/AlertMaskCore.spec.ts +304 -0
- package/app/components/animated-svg-text/AnimatedSvgText.vue +2 -0
- package/app/components/canvas-switcher/CanvasSwitcher.vue +10 -8
- package/app/components/{carousel-basic → carousels}/CarouselBasic.vue +58 -56
- package/app/components/{carousel-basic → carousels}/CarouselFlip.vue +150 -148
- package/app/components/{carousel-basic → carousels}/CarouselInfinite.vue +2 -0
- package/app/components/carousels/stories/CarouselFlip.stories.ts +637 -0
- package/app/components/carousels/tests/CarouselFlip.spec.ts +556 -0
- package/app/components/clip-element/ClipElement.vue +2 -0
- package/app/components/clipped-panels/ClippedPanel.vue +2 -0
- package/app/components/container-glow/ContainerGlowCore.vue +119 -50
- package/app/components/container-glow/stories/ContainerGlowCore.stories.ts +337 -0
- package/app/components/content-columns/TwoColumns.vue +59 -0
- package/app/components/content-columns/stories/TwoColumns.stories.ts +561 -0
- package/app/components/content-containers/ContentContainer.vue +89 -0
- package/app/components/content-containers/stories/ContentContainer.stories.ts +465 -0
- package/app/components/content-grid/ContentGrid.vue +4 -2
- package/app/components/deep-expanding-menu/DeepExpandingMenu.vue +18 -16
- package/app/components/deep-expanding-menu/DeepExpandingMenuOld.vue +28 -26
- package/app/components/display-avatar/DisplayAvatar.vue +15 -13
- package/app/components/display-avatar/stories/DisplayAvatar.stories.ts +94 -0
- package/app/components/display-banner/DisplayBanner.vue +2 -0
- package/app/components/display-card/DisplayCard.vue +16 -14
- package/app/components/display-chip/DisplayChip.vue +2 -0
- package/app/components/display-chip/stories/DisplayChip.stories.ts +346 -0
- package/app/components/display-details/DisplayDetailsCore.vue +2 -0
- package/app/components/display-dialog/DisplayDialogCore.vue +24 -17
- package/app/components/display-dialog/variants/DisplayDialogConfirm.vue +2 -0
- package/app/components/display-dialog/variants/DisplayDialogScrollableContent.vue +2 -0
- package/app/components/display-grid/DisplayGridCore.vue +4 -4
- package/app/components/display-prompt/DisplayPromptCore.vue +20 -16
- package/app/components/display-prompt/variants/DisplayPromptError.vue +6 -4
- package/app/components/display-theme-switch/DisplayThemeSwitch.vue +182 -0
- package/app/components/display-theme-switch/stories/DisplayThemeSwitch.stories.ts +154 -0
- package/app/components/display-toast/DisplayToast.vue +63 -61
- package/app/components/display-toast/molecules/DefaultToastContent.vue +21 -45
- package/app/components/display-toast/stories/DisplayToast.stories.ts +380 -0
- package/app/components/display-tooltip/DisplayTooltip.vue +14 -9
- package/app/components/display-tooltip/DisplayTooltipDefined.vue +2 -0
- package/app/components/expanding-panel/ExpandingPanel.vue +28 -41
- package/app/components/forms/c12/prop-validators/index.ts +48 -0
- package/app/components/forms/c12/utils.ts +14 -0
- package/app/components/forms/form-errors/InputError.vue +208 -0
- package/app/components/forms/form-errors/tests/InputError.spec.ts +66 -0
- package/app/components/forms/form-fieldset/FormFieldset.vue +75 -0
- package/app/components/forms/input-button/InputButtonCore.vue +219 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts +113 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/combo-icons-secondary-chromium-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/combo-icons-secondary-firefox-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/combo-icons-secondary-webkit-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/combo-icons-tertiary-chromium-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/combo-icons-tertiary-firefox-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/combo-icons-tertiary-webkit-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/combo-primary-pending-chromium-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/combo-primary-pending-firefox-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/combo-primary-pending-webkit-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/combo-secondary-pill-chromium-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/combo-secondary-pill-firefox-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/combo-secondary-pill-webkit-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/combo-tertiary-readonly-chromium-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/combo-tertiary-readonly-firefox-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/combo-tertiary-readonly-webkit-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-chromium-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-firefox-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-theme-default-chromium-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-theme-default-firefox-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-theme-default-webkit-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-theme-error-chromium-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-theme-error-firefox-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-theme-error-webkit-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-theme-success-chromium-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-theme-success-firefox-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-theme-success-webkit-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-theme-warning-chromium-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-theme-warning-firefox-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-theme-warning-webkit-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-variant-primary-chromium-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-variant-primary-firefox-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-variant-primary-webkit-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-variant-secondary-chromium-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-variant-secondary-firefox-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-variant-secondary-webkit-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-variant-tertiary-chromium-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-variant-tertiary-firefox-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-variant-tertiary-webkit-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-webkit-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/nuxt-icon-only-component-chromium-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/nuxt-icon-only-component-firefox-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/nuxt-icon-only-component-webkit-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/state-pending-chromium-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/state-pending-firefox-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/state-pending-webkit-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/state-pill-chromium-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/state-pill-firefox-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/state-pill-webkit-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/state-readonly-chromium-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/state-readonly-firefox-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/state-readonly-webkit-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/with-both-nuxt-icon-components-chromium-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/with-both-nuxt-icon-components-firefox-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/with-both-nuxt-icon-components-webkit-darwin.png +0 -0
- package/app/components/forms/input-button/stories/InputButtonCore.stories.ts +304 -0
- package/app/components/forms/input-button/tests/InputButtonCore.spec.ts +269 -0
- package/app/components/forms/input-button/tests/__snapshots__/InputButtonCore.spec.ts.snap +72 -0
- package/app/components/forms/input-checkbox/MultipleCheckboxes.vue +181 -0
- package/app/components/forms/input-checkbox/SingleCheckbox.vue +144 -0
- package/app/components/forms/input-checkbox/tests/MultipleCheckboxes.spec.ts +101 -0
- package/app/components/forms/input-checkbox/tests/data/tags.json +67 -0
- package/app/components/forms/input-checkbox-radio/InputCheckboxRadioButton.vue +174 -0
- package/app/components/forms/input-checkbox-radio/InputCheckboxRadioCore.vue +199 -0
- package/app/components/forms/input-checkbox-radio/InputCheckboxRadioWithLabel.vue +104 -0
- package/app/components/forms/input-checkbox-radio/tests/InputCheckboxRadioCore.spec.ts +320 -0
- package/app/components/forms/input-description/InputDescription.vue +55 -0
- package/app/components/forms/input-description/tests/InputDescription.spec.ts +429 -0
- package/app/components/forms/input-label/InputLabel.vue +66 -0
- package/app/components/forms/input-label/tests/InputLabel.spec.ts +431 -0
- package/app/components/forms/input-number/InputNumberCore.vue +163 -0
- package/app/components/forms/input-number/variants/InputNumberDefault.vue +150 -0
- package/app/components/forms/input-radio/MultipleRadiobuttons.vue +180 -0
- package/app/components/forms/input-radio/tests/MultipleRadioButtons.spec.ts +90 -0
- package/app/components/forms/input-radio/tests/data/tags.json +67 -0
- package/app/components/forms/input-range/InputRangeCore.vue +233 -0
- package/app/components/forms/input-range/variants/InputRangeDefault.vue +166 -0
- package/app/components/forms/input-range-fancy/InputRangeFancyCore.vue +426 -0
- package/app/components/forms/input-range-fancy/InputRangeFancyWithLabel.vue +94 -0
- package/app/components/forms/input-select/InputSelectCore.vue +171 -0
- package/app/components/forms/input-select/variants/InputSelectWithLabel.vue +121 -0
- package/app/components/forms/input-text/InputTextCore.vue +222 -0
- package/app/components/forms/input-text/stories/InputPasswordWithLabel.stories.ts +339 -0
- package/app/components/forms/input-text/stories/InputTextAsNumberWithLabel.stories.ts +461 -0
- package/app/components/forms/input-text/stories/InputTextCore.stories.ts +241 -0
- package/app/components/forms/input-text/stories/InputTextWithLabel.stories.ts +293 -0
- package/app/components/forms/input-text/variants/InputPasswordWithLabel.vue +86 -0
- package/app/components/forms/input-text/variants/InputTextAsNumberWithLabel.vue +203 -0
- package/app/components/forms/input-text/variants/InputTextWithLabel.vue +149 -0
- package/app/components/forms/input-textarea/InputTextareaCore.vue +151 -0
- package/app/components/forms/input-textarea/stories/InputTextareaCore.stories.ts +247 -0
- package/app/components/forms/input-textarea/stories/InputTextareaWithLabel.stories.ts +452 -0
- package/app/components/forms/input-textarea/variants/InputTextareaWithLabel.vue +150 -0
- package/app/components/forms/pending-effect/PendingEffect.vue +101 -0
- package/app/components/forms/toggle-switch/ToggleSwitchCore.vue +221 -0
- package/app/components/forms/toggle-switch/stories/ToggleSwitchCore.stories.ts +236 -0
- package/app/components/forms/toggle-switch/stories/ToggleSwitchWithLabel.stories.ts +253 -0
- package/app/components/forms/toggle-switch/stories/ToggleSwitchWithLabelInline.stories.ts +280 -0
- package/app/components/forms/toggle-switch/variants/ToggleSwitchWithLabel.vue +101 -0
- package/app/components/forms/toggle-switch/variants/ToggleSwitchWithLabelInline.vue +84 -0
- package/app/components/forms/triple-toggle-switch/TripleToggleSwitchCore.vue +290 -0
- package/app/components/forms/ui/FormField.vue +81 -0
- package/app/components/forms/ui/FormWrapper.vue +37 -0
- package/app/components/glowing-border/GlowingBorder.vue +2 -0
- package/app/components/glowing-border/stories/GlowingBorder.stories.ts +141 -0
- package/app/components/image-galleries/SliderGallery.vue +100 -100
- package/app/components/layout-grids/LayoutGridA.vue +2 -0
- package/app/components/layout-grids/LayoutGridB.vue +8 -6
- package/app/components/layout-grids/stories/LayoutGridA.stories.ts +402 -0
- package/app/components/layout-grids/stories/LayoutGridB.stories.ts +420 -0
- package/app/components/layout-grids/tests/LayoutGridA.spec.ts +352 -0
- package/app/components/layout-grids/tests/LayoutGridB.spec.ts +490 -0
- package/app/components/layout-row/LayoutRow.vue +60 -54
- package/app/components/layout-row/stories/LayoutRow.stories.ts +528 -0
- package/app/components/magnetic-navigation/MagneticNavigation.vue +2 -0
- package/app/components/marquee-scroller/MarqueeScroller.vue +35 -33
- package/app/components/masonry-grid/MasonryGrid.vue +8 -6
- package/app/components/masonry-grid-ordered/MasonryGridOrdered.vue +2 -0
- package/app/components/masonry-grid-ordered/MasonryGridOrderedGridExperiment.vue +82 -87
- package/app/components/masonry-grid-ordered/stories/MasonryGridOrdered.stories.ts +354 -0
- package/app/components/masonry-grid-sorted/MasonryGridSorted.vue +2 -0
- package/app/components/parallax/SectionParallax.vue +10 -8
- package/app/components/pop-over/PopOver.vue +2 -0
- package/app/components/qr-code/CaptureQrCode.vue +2 -0
- package/app/components/qr-code/DecodeQrCode.vue +2 -0
- package/app/components/qr-code/DisplayQrCode.vue +7 -5
- package/app/components/qr-code/stories/QrCode.stories.ts +933 -0
- package/app/components/responsive-header/NavigationItems.vue +34 -23
- package/app/components/responsive-header/ResponsiveHeader.vue +163 -157
- package/app/components/rotating-carousel/RotatingCarouselImage.vue +2 -0
- package/app/components/skip-links/SkipLinks.vue +2 -0
- package/app/components/tabs/TabsCore.vue +38 -30
- package/app/components/test-storybook/TestStorybook.vue +49 -0
- package/app/components/test-storybook/stories/TestStorybook.stories.ts +28 -0
- package/app/components/ui-block-decorated/UiBlockDecorated.vue +2 -0
- package/app/components/view-timeline/WipeAwayVertical.vue +2 -0
- package/app/composables/useApiRequest.ts +25 -0
- package/app/composables/useAriaDescribedById.ts +19 -0
- package/app/composables/useColourScheme.ts +18 -0
- package/app/composables/useErrorMessages.ts +62 -0
- package/app/composables/useFormControl.ts +264 -0
- package/app/composables/useMaxChildWidth.ts +30 -0
- package/app/composables/useTabs.ts +207 -117
- package/app/composables/useZodValidation.ts +147 -0
- package/app/layouts/default.vue +605 -0
- package/app/pages/forms/examples/buttons/index.vue +285 -0
- package/app/pages/forms/examples/material/checkbox-radio-panels.vue +244 -0
- package/app/pages/forms/examples/material/cssbattle.vue +60 -0
- package/app/pages/forms/examples/material/text-fields.vue +913 -0
- package/app/pages/index.vue +122 -0
- package/app/pages/typography/hero-text.vue +97 -0
- package/app/pages/typography/index.vue +39 -0
- package/app/pages/typography/page-body.vue +171 -0
- package/app/pages/typography/page-heading.vue +76 -0
- package/app/pages/typography/page-link.vue +103 -0
- package/app/pages/ui/accordian.vue +211 -0
- package/app/pages/ui/animated-svg-text.vue +85 -0
- package/app/pages/ui/block-decorators.vue +142 -0
- package/app/pages/ui/carousel-basic.vue +292 -0
- package/app/pages/ui/carousel-flip.vue +244 -0
- package/app/pages/ui/carousel-infinite.vue +260 -0
- package/app/pages/ui/clipped-panels.vue +101 -0
- package/app/pages/ui/contact-section.vue +323 -0
- package/app/pages/ui/container-glow.vue +107 -0
- package/app/pages/ui/content-container.vue +112 -0
- package/app/pages/ui/display-avatar.vue +253 -0
- package/app/pages/ui/display-banner.vue +78 -0
- package/app/pages/ui/display-card.vue +82 -0
- package/app/pages/ui/display-chip.vue +225 -0
- package/app/pages/ui/display-details.vue +175 -0
- package/app/pages/ui/display-dialog.vue +231 -0
- package/app/pages/ui/display-prompt.vue +81 -0
- package/app/pages/ui/display-toast.vue +332 -0
- package/app/pages/ui/expanding-panel.vue +193 -0
- package/app/pages/ui/glowing-border.vue +111 -0
- package/app/pages/ui/layout-grid-a.vue +149 -0
- package/app/pages/ui/layout-grid-b.vue +132 -0
- package/app/pages/ui/layout-row.vue +139 -0
- package/app/pages/ui/magnetic-navigation.vue +50 -0
- package/app/pages/ui/marquee-scroller.vue +99 -0
- package/app/pages/ui/mask-element.vue +82 -0
- package/app/pages/ui/masonry-columns.vue +55 -0
- package/app/pages/ui/masonry-grid-ordered-experiment.vue +79 -0
- package/app/pages/ui/masonry-grid-ordered.vue +56 -0
- package/app/pages/ui/masonry-grid-sorted.vue +55 -0
- package/app/pages/ui/masonry-grid.vue +55 -0
- package/app/pages/ui/price-list.vue +65 -0
- package/app/pages/ui/profile-section.vue +96 -0
- package/app/pages/ui/qr-code/[componentName].vue +218 -0
- package/app/pages/ui/rotating-carousel.vue +154 -0
- package/app/pages/ui/section-parallax.vue +54 -0
- package/app/pages/ui/services/colour-finder.vue +43 -0
- package/app/pages/ui/services/services-cards.vue +42 -0
- package/app/pages/ui/services/services-section/[slug].vue +59 -0
- package/app/pages/ui/services/services-sections-compact.vue +64 -0
- package/app/pages/ui/services/treatment-consultant.vue +39 -0
- package/app/pages/ui/settings.vue +80 -0
- package/app/pages/ui/simple-grid.vue +66 -0
- package/app/pages/ui/slider-gallery.vue +261 -0
- package/app/pages/ui/tabs-y.vue +108 -0
- package/app/pages/ui/tabs.vue +192 -0
- package/app/pages/ui/tooltips.vue +104 -0
- package/app/pages/ui/wipe-away-vertical.vue +129 -0
- package/app/plugins/css-anchor-positioning-polyfill.client.ts +5 -0
- package/app/stores/useServicesStore.ts +37 -0
- package/app/stores/useSettingsStore.ts +35 -0
- package/app/types/components/hero-text.ts +4 -0
- package/app/types/components/index.ts +1 -0
- package/app/types/forms/types.forms.d.ts +293 -0
- package/app/types/forms/types.zodFormControl.d.ts +29 -0
- package/app/types/types.posts.ts +21 -0
- package/app/types/types.quotes.ts +12 -0
- package/app/types/types.services.ts +20 -0
- package/app/utils/colour-scheme-init.ts +17 -0
- package/nuxt.config.ts +86 -6
- package/package.json +51 -14
- package/types/components/css-anchor-polyfill.d.ts +1 -0
|
@@ -0,0 +1,490 @@
|
|
|
1
|
+
import { describe, it, expect, vi, beforeEach, afterEach } from "vitest";
|
|
2
|
+
import { mountSuspended } from "@nuxt/test-utils/runtime";
|
|
3
|
+
import LayoutGridB from "../LayoutGridB.vue";
|
|
4
|
+
|
|
5
|
+
// Mock useStyleClassPassthrough composable
|
|
6
|
+
const mockElementClasses = { value: "" };
|
|
7
|
+
const mockResetElementClasses = vi.fn();
|
|
8
|
+
|
|
9
|
+
const mockUseStyleClassPassthrough = vi.fn(() => ({
|
|
10
|
+
elementClasses: mockElementClasses,
|
|
11
|
+
resetElementClasses: mockResetElementClasses,
|
|
12
|
+
}));
|
|
13
|
+
|
|
14
|
+
vi.mock("#imports", () => ({
|
|
15
|
+
useStyleClassPassthrough: mockUseStyleClassPassthrough,
|
|
16
|
+
}));
|
|
17
|
+
|
|
18
|
+
describe("LayoutGridB", () => {
|
|
19
|
+
let wrapper: ReturnType<typeof mountSuspended>;
|
|
20
|
+
|
|
21
|
+
const createWrapper = async (props = {}, slots = {}) => {
|
|
22
|
+
const defaultProps = {
|
|
23
|
+
topRowSlot1ItemCount: 6,
|
|
24
|
+
bottomRowItemCount: 4,
|
|
25
|
+
styleClassPassthrough: [],
|
|
26
|
+
...props,
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
wrapper = await mountSuspended(LayoutGridB, {
|
|
30
|
+
props: defaultProps,
|
|
31
|
+
slots,
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
return wrapper;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
beforeEach(() => {
|
|
38
|
+
vi.clearAllMocks();
|
|
39
|
+
mockElementClasses.value = "";
|
|
40
|
+
});
|
|
41
|
+
|
|
42
|
+
afterEach(() => {
|
|
43
|
+
wrapper?.unmount();
|
|
44
|
+
});
|
|
45
|
+
|
|
46
|
+
describe("Component Rendering", () => {
|
|
47
|
+
it("mounts without error", async () => {
|
|
48
|
+
await createWrapper();
|
|
49
|
+
|
|
50
|
+
expect(wrapper.find(".layout-grid-b-wrapper")).toBeTruthy();
|
|
51
|
+
expect(wrapper.find(".layout-grid-b")).toBeTruthy();
|
|
52
|
+
});
|
|
53
|
+
|
|
54
|
+
it("renders top row structure correctly", async () => {
|
|
55
|
+
await createWrapper();
|
|
56
|
+
|
|
57
|
+
expect(wrapper.find(".top-row")).toBeTruthy();
|
|
58
|
+
expect(wrapper.find(".top-row-slot-1")).toBeTruthy();
|
|
59
|
+
expect(wrapper.find(".top-row-slot-2")).toBeTruthy();
|
|
60
|
+
expect(wrapper.find(".top-row-slot-3")).toBeTruthy();
|
|
61
|
+
});
|
|
62
|
+
|
|
63
|
+
it("renders bottom row correctly", async () => {
|
|
64
|
+
await createWrapper();
|
|
65
|
+
|
|
66
|
+
expect(wrapper.find(".bottom-row")).toBeTruthy();
|
|
67
|
+
});
|
|
68
|
+
|
|
69
|
+
it("has correct grid container structure", async () => {
|
|
70
|
+
await createWrapper();
|
|
71
|
+
|
|
72
|
+
const grid = wrapper.find(".layout-grid-b");
|
|
73
|
+
|
|
74
|
+
expect(grid.exists()).toBe(true);
|
|
75
|
+
expect(grid.classes()).toContain("layout-grid-b");
|
|
76
|
+
});
|
|
77
|
+
});
|
|
78
|
+
|
|
79
|
+
describe("Props", () => {
|
|
80
|
+
it("accepts topRowSlot1ItemCount prop", async () => {
|
|
81
|
+
const itemCount = 8;
|
|
82
|
+
await createWrapper({ topRowSlot1ItemCount: itemCount });
|
|
83
|
+
|
|
84
|
+
// Component should render without error with custom item count
|
|
85
|
+
expect(wrapper.find(".layout-grid-b")).toBeTruthy();
|
|
86
|
+
});
|
|
87
|
+
|
|
88
|
+
it("accepts bottomRowItemCount prop", async () => {
|
|
89
|
+
const itemCount = 6;
|
|
90
|
+
await createWrapper({ bottomRowItemCount: itemCount });
|
|
91
|
+
|
|
92
|
+
// Component should render without error with custom item count
|
|
93
|
+
expect(wrapper.find(".layout-grid-b")).toBeTruthy();
|
|
94
|
+
});
|
|
95
|
+
|
|
96
|
+
it("uses default props when not provided", async () => {
|
|
97
|
+
await createWrapper({
|
|
98
|
+
topRowSlot1ItemCount: undefined,
|
|
99
|
+
bottomRowItemCount: undefined,
|
|
100
|
+
});
|
|
101
|
+
|
|
102
|
+
// Should use default values (6 and 4)
|
|
103
|
+
expect(wrapper.find(".layout-grid-b")).toBeTruthy();
|
|
104
|
+
});
|
|
105
|
+
|
|
106
|
+
it("accepts string styleClassPassthrough", async () => {
|
|
107
|
+
const className = "custom-class";
|
|
108
|
+
await createWrapper({ styleClassPassthrough: className });
|
|
109
|
+
|
|
110
|
+
// Component should mount without error with string class
|
|
111
|
+
expect(wrapper.find(".layout-grid-b")).toBeTruthy();
|
|
112
|
+
});
|
|
113
|
+
|
|
114
|
+
it("accepts array styleClassPassthrough", async () => {
|
|
115
|
+
const classNames = ["class1", "class2", "class3"];
|
|
116
|
+
await createWrapper({ styleClassPassthrough: classNames });
|
|
117
|
+
|
|
118
|
+
// Component should mount without error with array of classes
|
|
119
|
+
expect(wrapper.find(".layout-grid-b")).toBeTruthy();
|
|
120
|
+
});
|
|
121
|
+
|
|
122
|
+
it("applies element classes to wrapper", async () => {
|
|
123
|
+
mockElementClasses.value = "test-class another-class";
|
|
124
|
+
|
|
125
|
+
await createWrapper();
|
|
126
|
+
|
|
127
|
+
// Check that the component renders
|
|
128
|
+
expect(wrapper.find(".layout-grid-b")).toBeTruthy();
|
|
129
|
+
});
|
|
130
|
+
});
|
|
131
|
+
|
|
132
|
+
describe("Top Row Slot 1 Dynamic Content", () => {
|
|
133
|
+
it("renders slot1 item content with correct slot names", async () => {
|
|
134
|
+
const slots = {
|
|
135
|
+
"top-row-slot1-1-content": "<div>Item 1</div>",
|
|
136
|
+
"top-row-slot1-2-content": "<div>Item 2</div>",
|
|
137
|
+
"top-row-slot1-3-content": "<div>Item 3</div>",
|
|
138
|
+
};
|
|
139
|
+
|
|
140
|
+
await createWrapper({ topRowSlot1ItemCount: 3 }, slots);
|
|
141
|
+
|
|
142
|
+
// Check that the slots are available in the template
|
|
143
|
+
expect(wrapper.html()).toContain("Item 1");
|
|
144
|
+
expect(wrapper.html()).toContain("Item 2");
|
|
145
|
+
expect(wrapper.html()).toContain("Item 3");
|
|
146
|
+
});
|
|
147
|
+
|
|
148
|
+
it("handles different topRowSlot1ItemCount values", async () => {
|
|
149
|
+
const testCounts = [1, 3, 6, 9, 12];
|
|
150
|
+
|
|
151
|
+
for (const count of testCounts) {
|
|
152
|
+
const slots: Record<string, string> = {};
|
|
153
|
+
for (let i = 1; i <= count; i++) {
|
|
154
|
+
slots[`top-row-slot1-${i}-content`] = `<div>Item ${i}</div>`;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
const { unmount } = await createWrapper({ topRowSlot1ItemCount: count }, slots);
|
|
158
|
+
|
|
159
|
+
// Should render without error
|
|
160
|
+
expect(wrapper.find(".layout-grid-b")).toBeTruthy();
|
|
161
|
+
|
|
162
|
+
// Check that content is rendered
|
|
163
|
+
for (let i = 1; i <= count; i++) {
|
|
164
|
+
expect(wrapper.html()).toContain(`Item ${i}`);
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
unmount();
|
|
168
|
+
}
|
|
169
|
+
});
|
|
170
|
+
});
|
|
171
|
+
|
|
172
|
+
describe("Top Row Static Slots", () => {
|
|
173
|
+
it("renders top-row-slot-2 content", async () => {
|
|
174
|
+
await createWrapper(
|
|
175
|
+
{},
|
|
176
|
+
{
|
|
177
|
+
"top-row-slot-2": "<div class='slot2-content'>Slot 2 Content</div>",
|
|
178
|
+
}
|
|
179
|
+
);
|
|
180
|
+
|
|
181
|
+
expect(wrapper.html()).toContain("Slot 2 Content");
|
|
182
|
+
expect(wrapper.find(".slot2-content").exists()).toBe(true);
|
|
183
|
+
});
|
|
184
|
+
|
|
185
|
+
it("renders top-row-slot-3 content", async () => {
|
|
186
|
+
await createWrapper(
|
|
187
|
+
{},
|
|
188
|
+
{
|
|
189
|
+
"top-row-slot-3": "<div class='slot3-content'>Slot 3 Content</div>",
|
|
190
|
+
}
|
|
191
|
+
);
|
|
192
|
+
|
|
193
|
+
expect(wrapper.html()).toContain("Slot 3 Content");
|
|
194
|
+
expect(wrapper.find(".slot3-content").exists()).toBe(true);
|
|
195
|
+
});
|
|
196
|
+
|
|
197
|
+
it("renders both static slots simultaneously", async () => {
|
|
198
|
+
await createWrapper(
|
|
199
|
+
{},
|
|
200
|
+
{
|
|
201
|
+
"top-row-slot-2": "<h2>Main Content</h2>",
|
|
202
|
+
"top-row-slot-3": "<aside>Sidebar</aside>",
|
|
203
|
+
}
|
|
204
|
+
);
|
|
205
|
+
|
|
206
|
+
expect(wrapper.find("h2").exists()).toBe(true);
|
|
207
|
+
expect(wrapper.find("h2").text()).toBe("Main Content");
|
|
208
|
+
expect(wrapper.find("aside").exists()).toBe(true);
|
|
209
|
+
expect(wrapper.find("aside").text()).toBe("Sidebar");
|
|
210
|
+
});
|
|
211
|
+
});
|
|
212
|
+
|
|
213
|
+
describe("Bottom Row Dynamic Content", () => {
|
|
214
|
+
it("renders bottom row item content with correct slot names", async () => {
|
|
215
|
+
const slots = {
|
|
216
|
+
"bottom-row-1-content": "<div>Bottom 1</div>",
|
|
217
|
+
"bottom-row-2-content": "<div>Bottom 2</div>",
|
|
218
|
+
"bottom-row-3-content": "<div>Bottom 3</div>",
|
|
219
|
+
"bottom-row-4-content": "<div>Bottom 4</div>",
|
|
220
|
+
};
|
|
221
|
+
|
|
222
|
+
await createWrapper({ bottomRowItemCount: 4 }, slots);
|
|
223
|
+
|
|
224
|
+
expect(wrapper.html()).toContain("Bottom 1");
|
|
225
|
+
expect(wrapper.html()).toContain("Bottom 2");
|
|
226
|
+
expect(wrapper.html()).toContain("Bottom 3");
|
|
227
|
+
expect(wrapper.html()).toContain("Bottom 4");
|
|
228
|
+
});
|
|
229
|
+
|
|
230
|
+
it("handles different bottomRowItemCount values", async () => {
|
|
231
|
+
const testCounts = [1, 2, 4, 6, 8];
|
|
232
|
+
|
|
233
|
+
for (const count of testCounts) {
|
|
234
|
+
const slots: Record<string, string> = {};
|
|
235
|
+
for (let i = 1; i <= count; i++) {
|
|
236
|
+
slots[`bottom-row-${i}-content`] = `<div>Bottom ${i}</div>`;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
const { unmount } = await createWrapper({ bottomRowItemCount: count }, slots);
|
|
240
|
+
|
|
241
|
+
// Should render without error
|
|
242
|
+
expect(wrapper.find(".layout-grid-b")).toBeTruthy();
|
|
243
|
+
|
|
244
|
+
// Check that content is rendered
|
|
245
|
+
for (let i = 1; i <= count; i++) {
|
|
246
|
+
expect(wrapper.html()).toContain(`Bottom ${i}`);
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
unmount();
|
|
250
|
+
}
|
|
251
|
+
});
|
|
252
|
+
});
|
|
253
|
+
|
|
254
|
+
describe("Complete Layout", () => {
|
|
255
|
+
it("renders all slot types together", async () => {
|
|
256
|
+
const slots = {
|
|
257
|
+
// Top row slot 1 items
|
|
258
|
+
"top-row-slot1-1-content": "<div>Panel 1</div>",
|
|
259
|
+
"top-row-slot1-2-content": "<div>Panel 2</div>",
|
|
260
|
+
"top-row-slot1-3-content": "<div>Panel 3</div>",
|
|
261
|
+
// Top row static slots
|
|
262
|
+
"top-row-slot-2": "<main>Main Content Area</main>",
|
|
263
|
+
"top-row-slot-3": "<aside>Sidebar Content</aside>",
|
|
264
|
+
// Bottom row items
|
|
265
|
+
"bottom-row-1-content": "<div>Feature 1</div>",
|
|
266
|
+
"bottom-row-2-content": "<div>Feature 2</div>",
|
|
267
|
+
};
|
|
268
|
+
|
|
269
|
+
await createWrapper(
|
|
270
|
+
{
|
|
271
|
+
topRowSlot1ItemCount: 3,
|
|
272
|
+
bottomRowItemCount: 2,
|
|
273
|
+
},
|
|
274
|
+
slots
|
|
275
|
+
);
|
|
276
|
+
|
|
277
|
+
// Check all content is rendered
|
|
278
|
+
expect(wrapper.html()).toContain("Panel 1");
|
|
279
|
+
expect(wrapper.html()).toContain("Panel 2");
|
|
280
|
+
expect(wrapper.html()).toContain("Panel 3");
|
|
281
|
+
expect(wrapper.html()).toContain("Main Content Area");
|
|
282
|
+
expect(wrapper.html()).toContain("Sidebar Content");
|
|
283
|
+
expect(wrapper.html()).toContain("Feature 1");
|
|
284
|
+
expect(wrapper.html()).toContain("Feature 2");
|
|
285
|
+
|
|
286
|
+
// Check semantic elements
|
|
287
|
+
expect(wrapper.find("main").exists()).toBe(true);
|
|
288
|
+
expect(wrapper.find("aside").exists()).toBe(true);
|
|
289
|
+
});
|
|
290
|
+
});
|
|
291
|
+
|
|
292
|
+
describe("Reactivity", () => {
|
|
293
|
+
it("sets up composable correctly", async () => {
|
|
294
|
+
await createWrapper({ styleClassPassthrough: ["initial"] });
|
|
295
|
+
|
|
296
|
+
// Component should maintain structure with different props
|
|
297
|
+
expect(wrapper.find(".layout-grid-b")).toBeTruthy();
|
|
298
|
+
expect(wrapper.find(".top-row")).toBeTruthy();
|
|
299
|
+
expect(wrapper.find(".bottom-row")).toBeTruthy();
|
|
300
|
+
});
|
|
301
|
+
|
|
302
|
+
it("handles different prop configurations", async () => {
|
|
303
|
+
const { unmount } = await createWrapper(
|
|
304
|
+
{
|
|
305
|
+
topRowSlot1ItemCount: 6,
|
|
306
|
+
bottomRowItemCount: 4,
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
"top-row-slot1-1-content": "<div>Panel 1</div>",
|
|
310
|
+
"bottom-row-1-content": "<div>Bottom 1</div>",
|
|
311
|
+
}
|
|
312
|
+
);
|
|
313
|
+
|
|
314
|
+
expect(wrapper.html()).toContain("Panel 1");
|
|
315
|
+
expect(wrapper.html()).toContain("Bottom 1");
|
|
316
|
+
|
|
317
|
+
// Component should render properly
|
|
318
|
+
expect(wrapper.find(".layout-grid-b")).toBeTruthy();
|
|
319
|
+
|
|
320
|
+
unmount();
|
|
321
|
+
});
|
|
322
|
+
});
|
|
323
|
+
|
|
324
|
+
describe("CSS Structure", () => {
|
|
325
|
+
it("has correct CSS classes applied", async () => {
|
|
326
|
+
await createWrapper();
|
|
327
|
+
|
|
328
|
+
const grid = wrapper.find(".layout-grid-b");
|
|
329
|
+
const topRow = wrapper.find(".top-row");
|
|
330
|
+
const bottomRow = wrapper.find(".bottom-row");
|
|
331
|
+
|
|
332
|
+
expect(grid.classes()).toContain("layout-grid-b");
|
|
333
|
+
expect(topRow.classes()).toContain("top-row");
|
|
334
|
+
expect(bottomRow.classes()).toContain("bottom-row");
|
|
335
|
+
});
|
|
336
|
+
|
|
337
|
+
it("maintains correct DOM hierarchy", async () => {
|
|
338
|
+
await createWrapper();
|
|
339
|
+
|
|
340
|
+
const grid = wrapper.find(".layout-grid-b");
|
|
341
|
+
const topRow = grid.find(".top-row");
|
|
342
|
+
const bottomRow = grid.find(".bottom-row");
|
|
343
|
+
|
|
344
|
+
expect(grid.exists()).toBe(true);
|
|
345
|
+
expect(topRow.exists()).toBe(true);
|
|
346
|
+
expect(bottomRow.exists()).toBe(true);
|
|
347
|
+
|
|
348
|
+
// Check top row slots exist
|
|
349
|
+
expect(topRow.find(".top-row-slot-1").exists()).toBe(true);
|
|
350
|
+
expect(topRow.find(".top-row-slot-2").exists()).toBe(true);
|
|
351
|
+
expect(topRow.find(".top-row-slot-3").exists()).toBe(true);
|
|
352
|
+
});
|
|
353
|
+
});
|
|
354
|
+
|
|
355
|
+
describe("Edge Cases", () => {
|
|
356
|
+
it("handles zero item counts gracefully", async () => {
|
|
357
|
+
await createWrapper({
|
|
358
|
+
topRowSlot1ItemCount: 0,
|
|
359
|
+
bottomRowItemCount: 0,
|
|
360
|
+
});
|
|
361
|
+
|
|
362
|
+
expect(wrapper.find(".layout-grid-b")).toBeTruthy();
|
|
363
|
+
expect(wrapper.find(".top-row")).toBeTruthy();
|
|
364
|
+
expect(wrapper.find(".bottom-row")).toBeTruthy();
|
|
365
|
+
});
|
|
366
|
+
|
|
367
|
+
it("handles large item counts", async () => {
|
|
368
|
+
const largeCount = 20;
|
|
369
|
+
const slots: Record<string, string> = {};
|
|
370
|
+
|
|
371
|
+
// Create slots for large count
|
|
372
|
+
for (let i = 1; i <= largeCount; i++) {
|
|
373
|
+
slots[`top-row-slot1-${i}-content`] = `<div>Large Panel ${i}</div>`;
|
|
374
|
+
slots[`bottom-row-${i}-content`] = `<div>Large Bottom ${i}</div>`;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
await createWrapper(
|
|
378
|
+
{
|
|
379
|
+
topRowSlot1ItemCount: largeCount,
|
|
380
|
+
bottomRowItemCount: largeCount,
|
|
381
|
+
},
|
|
382
|
+
slots
|
|
383
|
+
);
|
|
384
|
+
|
|
385
|
+
expect(wrapper.find(".layout-grid-b")).toBeTruthy();
|
|
386
|
+
expect(wrapper.html()).toContain("Large Panel 1");
|
|
387
|
+
expect(wrapper.html()).toContain("Large Bottom 1");
|
|
388
|
+
});
|
|
389
|
+
|
|
390
|
+
it("handles complex nested content in slots", async () => {
|
|
391
|
+
const complexContent = `
|
|
392
|
+
<article>
|
|
393
|
+
<header>
|
|
394
|
+
<h2>Complex Article</h2>
|
|
395
|
+
<time datetime="2026-02-05">Feb 5, 2026</time>
|
|
396
|
+
</header>
|
|
397
|
+
<main>
|
|
398
|
+
<p>Complex content with <strong>bold</strong> and <em>italic</em> text.</p>
|
|
399
|
+
<ul>
|
|
400
|
+
<li>List item 1</li>
|
|
401
|
+
<li>List item 2</li>
|
|
402
|
+
</ul>
|
|
403
|
+
</main>
|
|
404
|
+
<footer>
|
|
405
|
+
<button type="button">Action Button</button>
|
|
406
|
+
</footer>
|
|
407
|
+
</article>
|
|
408
|
+
`;
|
|
409
|
+
|
|
410
|
+
await createWrapper(
|
|
411
|
+
{},
|
|
412
|
+
{
|
|
413
|
+
"top-row-slot1-1-content": complexContent,
|
|
414
|
+
}
|
|
415
|
+
);
|
|
416
|
+
|
|
417
|
+
expect(wrapper.find("article").exists()).toBe(true);
|
|
418
|
+
expect(wrapper.find("header h2").text()).toBe("Complex Article");
|
|
419
|
+
expect(wrapper.find("time").exists()).toBe(true);
|
|
420
|
+
expect(wrapper.find("strong").text()).toBe("bold");
|
|
421
|
+
expect(wrapper.find("em").text()).toBe("italic");
|
|
422
|
+
expect(wrapper.findAll("li")).toHaveLength(2);
|
|
423
|
+
expect(wrapper.find("button").text()).toBe("Action Button");
|
|
424
|
+
});
|
|
425
|
+
|
|
426
|
+
it("handles empty slots gracefully", async () => {
|
|
427
|
+
await createWrapper(
|
|
428
|
+
{
|
|
429
|
+
topRowSlot1ItemCount: 2,
|
|
430
|
+
bottomRowItemCount: 2,
|
|
431
|
+
},
|
|
432
|
+
{
|
|
433
|
+
"top-row-slot1-1-content": "",
|
|
434
|
+
"top-row-slot-2": "",
|
|
435
|
+
"bottom-row-1-content": "",
|
|
436
|
+
}
|
|
437
|
+
);
|
|
438
|
+
|
|
439
|
+
expect(wrapper.find(".layout-grid-b")).toBeTruthy();
|
|
440
|
+
expect(wrapper.find(".top-row")).toBeTruthy();
|
|
441
|
+
expect(wrapper.find(".bottom-row")).toBeTruthy();
|
|
442
|
+
});
|
|
443
|
+
});
|
|
444
|
+
|
|
445
|
+
describe("Accessibility", () => {
|
|
446
|
+
it("preserves semantic structure in slot content", async () => {
|
|
447
|
+
await createWrapper(
|
|
448
|
+
{},
|
|
449
|
+
{
|
|
450
|
+
"top-row-slot-2": '<main role="main" aria-label="Main content">Main Content</main>',
|
|
451
|
+
"top-row-slot-3": '<aside role="complementary" aria-label="Sidebar">Sidebar</aside>',
|
|
452
|
+
"bottom-row-1-content": '<section aria-labelledby="feature1">Feature 1</section>',
|
|
453
|
+
}
|
|
454
|
+
);
|
|
455
|
+
|
|
456
|
+
const main = wrapper.find('[role="main"]');
|
|
457
|
+
const aside = wrapper.find('[role="complementary"]');
|
|
458
|
+
const section = wrapper.find('section[aria-labelledby="feature1"]');
|
|
459
|
+
|
|
460
|
+
expect(main.exists()).toBe(true);
|
|
461
|
+
expect(main.attributes("aria-label")).toBe("Main content");
|
|
462
|
+
expect(aside.exists()).toBe(true);
|
|
463
|
+
expect(aside.attributes("aria-label")).toBe("Sidebar");
|
|
464
|
+
expect(section.exists()).toBe(true);
|
|
465
|
+
expect(section.attributes("aria-labelledby")).toBe("feature1");
|
|
466
|
+
});
|
|
467
|
+
|
|
468
|
+
it("maintains focus management in interactive content", async () => {
|
|
469
|
+
await createWrapper(
|
|
470
|
+
{},
|
|
471
|
+
{
|
|
472
|
+
"top-row-slot1-1-content": '<button tabindex="1">First Button</button>',
|
|
473
|
+
"top-row-slot1-2-content": '<button tabindex="2">Second Button</button>',
|
|
474
|
+
"bottom-row-1-content": '<a href="#" tabindex="3">Link</a>',
|
|
475
|
+
}
|
|
476
|
+
);
|
|
477
|
+
|
|
478
|
+
const firstButton = wrapper.find('button[tabindex="1"]');
|
|
479
|
+
const secondButton = wrapper.find('button[tabindex="2"]');
|
|
480
|
+
const link = wrapper.find('a[tabindex="3"]');
|
|
481
|
+
|
|
482
|
+
expect(firstButton.exists()).toBe(true);
|
|
483
|
+
expect(secondButton.exists()).toBe(true);
|
|
484
|
+
expect(link.exists()).toBe(true);
|
|
485
|
+
expect(firstButton.attributes("tabindex")).toBe("1");
|
|
486
|
+
expect(secondButton.attributes("tabindex")).toBe("2");
|
|
487
|
+
expect(link.attributes("tabindex")).toBe("3");
|
|
488
|
+
});
|
|
489
|
+
});
|
|
490
|
+
});
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<component
|
|
3
3
|
:is="tag"
|
|
4
|
+
:id
|
|
4
5
|
class="layout-row"
|
|
5
6
|
:class="elementClasses"
|
|
6
|
-
:id
|
|
7
7
|
:tab-index="isLandmark ? 0 : null"
|
|
8
8
|
:aria-label="isLandmark ? 'Layout Row Landmark' : undefined"
|
|
9
9
|
>
|
|
@@ -25,7 +25,7 @@ const props = defineProps({
|
|
|
25
25
|
type: String,
|
|
26
26
|
default: "div",
|
|
27
27
|
validator(value: string) {
|
|
28
|
-
return ["div", "section", "article", "aside", "header", "footer", "main", "nav", "ul", "ol"].includes(value)
|
|
28
|
+
return ["div", "section", "article", "aside", "header", "footer", "main", "nav", "ul", "ol"].includes(value);
|
|
29
29
|
},
|
|
30
30
|
},
|
|
31
31
|
variant: {
|
|
@@ -48,7 +48,7 @@ const props = defineProps({
|
|
|
48
48
|
"full-width",
|
|
49
49
|
"full-content",
|
|
50
50
|
"full-content-nopad",
|
|
51
|
-
].includes(value)
|
|
51
|
+
].includes(value);
|
|
52
52
|
},
|
|
53
53
|
},
|
|
54
54
|
id: {
|
|
@@ -63,27 +63,28 @@ const props = defineProps({
|
|
|
63
63
|
type: Boolean,
|
|
64
64
|
default: false,
|
|
65
65
|
},
|
|
66
|
-
})
|
|
66
|
+
});
|
|
67
67
|
|
|
68
|
-
const { elementClasses } = useStyleClassPassthrough(props.styleClassPassthrough)
|
|
68
|
+
const { elementClasses } = useStyleClassPassthrough(props.styleClassPassthrough);
|
|
69
69
|
</script>
|
|
70
70
|
|
|
71
71
|
<style lang="css">
|
|
72
|
+
@layer components {
|
|
72
73
|
/*
|
|
73
74
|
* Page Layout by https://layout-breakouts-builder.vercel.app
|
|
74
75
|
**/
|
|
75
76
|
.layout-row > *,
|
|
76
|
-
.full-width > * {
|
|
77
|
+
.full-width-BAK > * {
|
|
77
78
|
grid-column: content;
|
|
78
79
|
}
|
|
79
80
|
.layout-row,
|
|
80
|
-
.full-width {
|
|
81
|
+
.full-width-BAK {
|
|
81
82
|
--minimum-content-padding: 1rem;
|
|
82
83
|
|
|
83
84
|
/** TRACK WIDTHS **/
|
|
84
85
|
--full-max-width: 1fr;
|
|
85
86
|
--popout-max-width: 1400px;
|
|
86
|
-
--content-max-width:
|
|
87
|
+
--content-max-width: 1064px;
|
|
87
88
|
--inset-content-max-width: 840px;
|
|
88
89
|
|
|
89
90
|
/** TRACK SIZES **/
|
|
@@ -109,57 +110,62 @@ const { elementClasses } = useStyleClassPassthrough(props.styleClassPassthrough)
|
|
|
109
110
|
[popout-end]
|
|
110
111
|
var(--full)
|
|
111
112
|
[full-end];
|
|
112
|
-
}
|
|
113
113
|
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
grid-column: full;
|
|
117
|
-
}
|
|
118
|
-
.full-start {
|
|
119
|
-
grid-column-start: full-start;
|
|
120
|
-
}
|
|
121
|
-
.full-end {
|
|
122
|
-
grid-column-end: full-end;
|
|
123
|
-
}
|
|
114
|
+
.layout-row-inner {
|
|
115
|
+
container-type: inline-size;
|
|
124
116
|
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
117
|
+
/** CLASSES **/
|
|
118
|
+
&.full {
|
|
119
|
+
grid-column: full;
|
|
120
|
+
}
|
|
121
|
+
&.full-start {
|
|
122
|
+
grid-column-start: full-start;
|
|
123
|
+
}
|
|
124
|
+
&.full-end {
|
|
125
|
+
grid-column-end: full-end;
|
|
126
|
+
}
|
|
134
127
|
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
}
|
|
128
|
+
&.popout {
|
|
129
|
+
grid-column: popout;
|
|
130
|
+
}
|
|
131
|
+
&.popout-start {
|
|
132
|
+
grid-column-start: popout-start;
|
|
133
|
+
}
|
|
134
|
+
&.popout-end {
|
|
135
|
+
grid-column-end: popout-end;
|
|
136
|
+
}
|
|
144
137
|
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
}
|
|
138
|
+
&.content {
|
|
139
|
+
grid-column: content;
|
|
140
|
+
}
|
|
141
|
+
&.content-start {
|
|
142
|
+
grid-column-start: content-start;
|
|
143
|
+
}
|
|
144
|
+
&.content-end {
|
|
145
|
+
grid-column-end: content-end;
|
|
146
|
+
}
|
|
154
147
|
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
148
|
+
&.inset-content {
|
|
149
|
+
grid-column: inset-content;
|
|
150
|
+
}
|
|
151
|
+
&.inset-content-start {
|
|
152
|
+
grid-column-start: inset-content-start;
|
|
153
|
+
}
|
|
154
|
+
&.inset-content-end {
|
|
155
|
+
grid-column-end: inset-content-end;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
&.full-width {
|
|
159
|
+
grid-column: full;
|
|
160
|
+
}
|
|
161
|
+
&.full-content,
|
|
162
|
+
&.full-content-nopad {
|
|
163
|
+
grid-column: full;
|
|
164
|
+
}
|
|
165
|
+
&.full-content {
|
|
166
|
+
padding-inline: var(--minimum-content-padding);
|
|
167
|
+
}
|
|
168
|
+
}
|
|
161
169
|
}
|
|
162
|
-
.full-content {
|
|
163
|
-
padding-inline: var(--minimum-content-padding);
|
|
164
170
|
}
|
|
165
171
|
</style>
|