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,465 @@
|
|
|
1
|
+
import type { Meta, StoryFn } from "@nuxtjs/storybook";
|
|
2
|
+
import ContentContainerComponent from "../ContentContainer.vue";
|
|
3
|
+
|
|
4
|
+
// Define the args interface
|
|
5
|
+
interface ContentContainerArgs {
|
|
6
|
+
dataTestid: string;
|
|
7
|
+
tag: string;
|
|
8
|
+
id?: string;
|
|
9
|
+
styleClassPassthrough: string[];
|
|
10
|
+
isLandmark: boolean;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export default {
|
|
14
|
+
title: "Components/Layouts/ContentContainer",
|
|
15
|
+
component: ContentContainerComponent,
|
|
16
|
+
argTypes: {
|
|
17
|
+
// Semantic
|
|
18
|
+
tag: {
|
|
19
|
+
control: { type: "select" },
|
|
20
|
+
options: ["div", "section", "article", "aside", "header", "footer", "main", "nav", "ul", "ol"],
|
|
21
|
+
description: "HTML tag to render as",
|
|
22
|
+
table: {
|
|
23
|
+
category: "Semantic",
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
isLandmark: {
|
|
27
|
+
control: { type: "boolean" },
|
|
28
|
+
description: "Whether this element should be a landmark (adds tabindex and aria-label)",
|
|
29
|
+
table: {
|
|
30
|
+
category: "Accessibility",
|
|
31
|
+
},
|
|
32
|
+
},
|
|
33
|
+
// Content
|
|
34
|
+
dataTestid: {
|
|
35
|
+
control: { type: "text" },
|
|
36
|
+
description: "Test ID for the inner content container element",
|
|
37
|
+
table: {
|
|
38
|
+
category: "Testing",
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
id: {
|
|
42
|
+
control: { type: "text" },
|
|
43
|
+
description: "ID attribute for the component",
|
|
44
|
+
table: {
|
|
45
|
+
category: "HTML",
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
// Hide complex props
|
|
49
|
+
styleClassPassthrough: {
|
|
50
|
+
table: {
|
|
51
|
+
disable: true,
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
},
|
|
55
|
+
args: {
|
|
56
|
+
tag: "div",
|
|
57
|
+
isLandmark: false,
|
|
58
|
+
dataTestid: "content-container",
|
|
59
|
+
id: "",
|
|
60
|
+
styleClassPassthrough: [],
|
|
61
|
+
},
|
|
62
|
+
parameters: {
|
|
63
|
+
docs: {
|
|
64
|
+
description: {
|
|
65
|
+
component:
|
|
66
|
+
"A responsive content container that uses CSS Container Queries to provide optimal content width. Automatically adjusts from fluid width on small screens to a maximum 1064px width on larger screens (≥1064px) with proper gutters.",
|
|
67
|
+
},
|
|
68
|
+
},
|
|
69
|
+
},
|
|
70
|
+
} as Meta<ContentContainerArgs>;
|
|
71
|
+
|
|
72
|
+
const Template: StoryFn<ContentContainerArgs> = (args) => ({
|
|
73
|
+
components: { ContentContainerComponent },
|
|
74
|
+
setup() {
|
|
75
|
+
const sampleContent = {
|
|
76
|
+
shortText: "Brief sample content.",
|
|
77
|
+
mediumText:
|
|
78
|
+
"This is a medium-length text example that demonstrates how the content container adapts to different screen sizes and maintains optimal reading width.",
|
|
79
|
+
longText:
|
|
80
|
+
"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. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium.",
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
return { args, sampleContent };
|
|
84
|
+
},
|
|
85
|
+
template: `
|
|
86
|
+
<div style="background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%); min-height: 100vh; padding: 20px 0;">
|
|
87
|
+
<ContentContainerComponent
|
|
88
|
+
:data-testid="args.dataTestid"
|
|
89
|
+
:tag="args.tag"
|
|
90
|
+
:id="args.id || undefined"
|
|
91
|
+
:style-class-passthrough="args.styleClassPassthrough"
|
|
92
|
+
:is-landmark="args.isLandmark"
|
|
93
|
+
>
|
|
94
|
+
<div style="padding: 20px; background: white; border-radius: 12px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);">
|
|
95
|
+
<h2 style="margin: 0 0 16px 0; color: #374151; font-size: 24px;">
|
|
96
|
+
Content Container Example
|
|
97
|
+
</h2>
|
|
98
|
+
<p style="margin: 0 0 16px 0; color: #6b7280; line-height: 1.6;">
|
|
99
|
+
{{ sampleContent.longText }}
|
|
100
|
+
</p>
|
|
101
|
+
<div style="padding: 16px; background: #f3f4f6; border-radius: 8px; margin: 16px 0;">
|
|
102
|
+
<h3 style="margin: 0 0 8px 0; color: #374151; font-size: 16px;">Container Behavior</h3>
|
|
103
|
+
<ul style="margin: 0; color: #6b7280; line-height: 1.5; padding-left: 20px;">
|
|
104
|
+
<li><strong>Small screens:</strong> Fluid width with 16px gutters</li>
|
|
105
|
+
<li><strong>≥1064px screens:</strong> Fixed 1064px max-width, centered</li>
|
|
106
|
+
<li><strong>Container queries:</strong> Responsive layout without media queries</li>
|
|
107
|
+
</ul>
|
|
108
|
+
</div>
|
|
109
|
+
<p style="margin: 0; color: #6b7280; font-size: 14px; font-family: monospace; background: #e5e7eb; padding: 8px; border-radius: 4px;">
|
|
110
|
+
Tag: {{ args.tag }} | Landmark: {{ args.isLandmark ? 'Yes' : 'No' }}
|
|
111
|
+
</p>
|
|
112
|
+
</div>
|
|
113
|
+
</ContentContainerComponent>
|
|
114
|
+
</div>
|
|
115
|
+
`,
|
|
116
|
+
});
|
|
117
|
+
|
|
118
|
+
// ===== BASIC STORIES =====
|
|
119
|
+
|
|
120
|
+
export const Default = Template.bind({});
|
|
121
|
+
Default.args = {};
|
|
122
|
+
|
|
123
|
+
// ===== SEMANTIC TAG STORIES =====
|
|
124
|
+
|
|
125
|
+
const SemanticTemplate: StoryFn<ContentContainerArgs> = (args) => ({
|
|
126
|
+
components: { ContentContainerComponent },
|
|
127
|
+
setup() {
|
|
128
|
+
const getTagInfo = (tag: string) => {
|
|
129
|
+
const tagInfo = {
|
|
130
|
+
div: { description: "Generic container", use: "Default wrapper element" },
|
|
131
|
+
section: { description: "Thematic grouping", use: "Groups related content together" },
|
|
132
|
+
article: { description: "Self-contained content", use: "Blog posts, news articles, user comments" },
|
|
133
|
+
aside: { description: "Tangentially related", use: "Sidebars, pull quotes, advertising" },
|
|
134
|
+
header: { description: "Introductory content", use: "Page headers, section headers" },
|
|
135
|
+
footer: { description: "Footer information", use: "Page footers, section footers" },
|
|
136
|
+
main: { description: "Main content", use: "Primary content of the document" },
|
|
137
|
+
nav: { description: "Navigation links", use: "Navigation menus, breadcrumbs" },
|
|
138
|
+
};
|
|
139
|
+
return tagInfo[tag as keyof typeof tagInfo] || { description: "Generic container", use: "Default usage" };
|
|
140
|
+
};
|
|
141
|
+
|
|
142
|
+
return { args, getTagInfo };
|
|
143
|
+
},
|
|
144
|
+
template: `
|
|
145
|
+
<div style="background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); min-height: 60vh; padding: 40px 0;">
|
|
146
|
+
<ContentContainerComponent
|
|
147
|
+
:data-testid="args.dataTestid"
|
|
148
|
+
:tag="args.tag"
|
|
149
|
+
:style-class-passthrough="args.styleClassPassthrough"
|
|
150
|
+
:is-landmark="args.isLandmark"
|
|
151
|
+
>
|
|
152
|
+
<div style="padding: 30px; background: white; border-radius: 12px; text-align: center;">
|
|
153
|
+
<div style="display: inline-block; padding: 8px 16px; background: #667eea; color: white; border-radius: 6px; font-family: monospace; font-size: 16px; margin-bottom: 20px;">
|
|
154
|
+
<{{ args.tag }}>
|
|
155
|
+
</div>
|
|
156
|
+
<h2 style="margin: 0 0 12px 0; color: #374151; font-size: 22px;">
|
|
157
|
+
{{ getTagInfo(args.tag).description }}
|
|
158
|
+
</h2>
|
|
159
|
+
<p style="margin: 0 0 20px 0; color: #6b7280; line-height: 1.5; max-width: 400px; margin-left: auto; margin-right: auto;">
|
|
160
|
+
{{ getTagInfo(args.tag).use }}
|
|
161
|
+
</p>
|
|
162
|
+
<div style="padding: 16px; background: #f8fafc; border-radius: 8px; border-left: 4px solid #667eea;">
|
|
163
|
+
<p style="margin: 0; color: #374151; font-size: 14px;">
|
|
164
|
+
This semantic element helps structure your content meaningfully for both users and assistive technologies.
|
|
165
|
+
</p>
|
|
166
|
+
</div>
|
|
167
|
+
</div>
|
|
168
|
+
</ContentContainerComponent>
|
|
169
|
+
</div>
|
|
170
|
+
`,
|
|
171
|
+
});
|
|
172
|
+
|
|
173
|
+
export const SemanticSection = SemanticTemplate.bind({});
|
|
174
|
+
SemanticSection.args = {
|
|
175
|
+
tag: "section",
|
|
176
|
+
};
|
|
177
|
+
|
|
178
|
+
export const SemanticArticle = SemanticTemplate.bind({});
|
|
179
|
+
SemanticArticle.args = {
|
|
180
|
+
tag: "article",
|
|
181
|
+
};
|
|
182
|
+
|
|
183
|
+
export const SemanticAside = SemanticTemplate.bind({});
|
|
184
|
+
SemanticAside.args = {
|
|
185
|
+
tag: "aside",
|
|
186
|
+
};
|
|
187
|
+
|
|
188
|
+
export const SemanticHeader = SemanticTemplate.bind({});
|
|
189
|
+
SemanticHeader.args = {
|
|
190
|
+
tag: "header",
|
|
191
|
+
};
|
|
192
|
+
|
|
193
|
+
export const SemanticMain = SemanticTemplate.bind({});
|
|
194
|
+
SemanticMain.args = {
|
|
195
|
+
tag: "main",
|
|
196
|
+
isLandmark: true,
|
|
197
|
+
};
|
|
198
|
+
|
|
199
|
+
export const SemanticNav = SemanticTemplate.bind({});
|
|
200
|
+
SemanticNav.args = {
|
|
201
|
+
tag: "nav",
|
|
202
|
+
isLandmark: true,
|
|
203
|
+
};
|
|
204
|
+
|
|
205
|
+
// ===== CONTENT EXAMPLES =====
|
|
206
|
+
|
|
207
|
+
const ContentExampleTemplate: StoryFn<ContentContainerArgs> = (args) => ({
|
|
208
|
+
components: { ContentContainerComponent },
|
|
209
|
+
setup() {
|
|
210
|
+
return { args };
|
|
211
|
+
},
|
|
212
|
+
template: `
|
|
213
|
+
<div style="background: #f9fafb;">
|
|
214
|
+
<ContentContainerComponent
|
|
215
|
+
:data-testid="args.dataTestid"
|
|
216
|
+
:tag="args.tag"
|
|
217
|
+
:style-class-passthrough="args.styleClassPassthrough"
|
|
218
|
+
:is-landmark="args.isLandmark"
|
|
219
|
+
>
|
|
220
|
+
<article style="padding: 40px; background: white; border-radius: 0;">
|
|
221
|
+
<header style="margin-bottom: 30px; text-align: center;">
|
|
222
|
+
<h1 style="margin: 0 0 8px 0; color: #1f2937; font-size: 32px; font-weight: 700;">
|
|
223
|
+
The Art of Responsive Design
|
|
224
|
+
</h1>
|
|
225
|
+
<p style="margin: 0; color: #6b7280; font-size: 16px;">
|
|
226
|
+
How container queries are revolutionizing web layouts
|
|
227
|
+
</p>
|
|
228
|
+
</header>
|
|
229
|
+
|
|
230
|
+
<div style="line-height: 1.7; color: #374151;">
|
|
231
|
+
<p style="margin: 0 0 24px 0; font-size: 18px; color: #4b5563;">
|
|
232
|
+
Container queries represent a paradigm shift in responsive design, moving beyond viewport-based breakpoints
|
|
233
|
+
to component-centric layouts that adapt to their container's size rather than the entire screen.
|
|
234
|
+
</p>
|
|
235
|
+
|
|
236
|
+
<h2 style="margin: 32px 0 16px 0; color: #1f2937; font-size: 24px; font-weight: 600;">
|
|
237
|
+
Understanding Container Queries
|
|
238
|
+
</h2>
|
|
239
|
+
|
|
240
|
+
<p style="margin: 0 0 16px 0;">
|
|
241
|
+
Traditional media queries respond to viewport dimensions, but container queries respond to the size of
|
|
242
|
+
a specific element. This ContentContainer component demonstrates this concept by adjusting its layout
|
|
243
|
+
based on its own width, not the browser's width.
|
|
244
|
+
</p>
|
|
245
|
+
|
|
246
|
+
<div style="padding: 24px; background: #f0f9ff; border-left: 4px solid #3b82f6; border-radius: 0 8px 8px 0; margin: 24px 0;">
|
|
247
|
+
<h3 style="margin: 0 0 8px 0; color: #1e40af; font-size: 16px; font-weight: 600;">Key Benefits</h3>
|
|
248
|
+
<ul style="margin: 0; color: #1e40af;">
|
|
249
|
+
<li>Components are truly reusable across different contexts</li>
|
|
250
|
+
<li>No need to know parent container dimensions</li>
|
|
251
|
+
<li>More granular control over responsive behavior</li>
|
|
252
|
+
</ul>
|
|
253
|
+
</div>
|
|
254
|
+
|
|
255
|
+
<p style="margin: 0 0 16px 0;">
|
|
256
|
+
In this component, content flows naturally on smaller containers with appropriate gutters,
|
|
257
|
+
then switches to a fixed maximum width with centered alignment when the container reaches 1064px or wider.
|
|
258
|
+
</p>
|
|
259
|
+
|
|
260
|
+
<h2 style="margin: 32px 0 16px 0; color: #1f2937; font-size: 24px; font-weight: 600;">
|
|
261
|
+
Implementation Details
|
|
262
|
+
</h2>
|
|
263
|
+
|
|
264
|
+
<p style="margin: 0 0 16px 0;">
|
|
265
|
+
The magic happens through CSS Container Queries combined with CSS Grid. The container establishes
|
|
266
|
+
a containment context, then child elements can respond to the container's inline size.
|
|
267
|
+
</p>
|
|
268
|
+
|
|
269
|
+
<pre style="background: #1f2937; color: #e5e7eb; padding: 20px; border-radius: 8px; overflow-x: auto; margin: 24px 0; font-size: 14px; line-height: 1.4;"><code>container-type: inline-size;
|
|
270
|
+
container-name: content-container;
|
|
271
|
+
|
|
272
|
+
@container content-container (width >= 1064px) {
|
|
273
|
+
--content-max-width: 1064px;
|
|
274
|
+
--gutter: 0;
|
|
275
|
+
}</code></pre>
|
|
276
|
+
|
|
277
|
+
<p style="margin: 0;">
|
|
278
|
+
This approach creates more maintainable, flexible layouts that work consistently regardless of
|
|
279
|
+
where the component is placed in your application.
|
|
280
|
+
</p>
|
|
281
|
+
</div>
|
|
282
|
+
</article>
|
|
283
|
+
</ContentContainerComponent>
|
|
284
|
+
</div>
|
|
285
|
+
`,
|
|
286
|
+
});
|
|
287
|
+
|
|
288
|
+
export const BlogArticle = ContentExampleTemplate.bind({});
|
|
289
|
+
BlogArticle.args = {
|
|
290
|
+
tag: "article",
|
|
291
|
+
};
|
|
292
|
+
BlogArticle.parameters = {
|
|
293
|
+
docs: {
|
|
294
|
+
description: {
|
|
295
|
+
story:
|
|
296
|
+
"Example of a blog article layout showing how the ContentContainer provides optimal reading width and responsive behavior.",
|
|
297
|
+
},
|
|
298
|
+
},
|
|
299
|
+
};
|
|
300
|
+
|
|
301
|
+
// ===== ACCESSIBILITY STORIES =====
|
|
302
|
+
|
|
303
|
+
const AccessibilityTemplate: StoryFn<ContentContainerArgs> = (args) => ({
|
|
304
|
+
components: { ContentContainerComponent },
|
|
305
|
+
setup() {
|
|
306
|
+
return { args };
|
|
307
|
+
},
|
|
308
|
+
template: `
|
|
309
|
+
<div style="background: #f3f4f6; padding: 20px;">
|
|
310
|
+
<div style="background: white; border-radius: 12px; padding: 20px; margin-bottom: 20px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);">
|
|
311
|
+
<h3 style="margin: 0 0 16px 0; color: #374151;">Accessibility Features</h3>
|
|
312
|
+
<p style="margin: 0 0 16px 0; color: #6b7280; line-height: 1.5;">
|
|
313
|
+
When <code>isLandmark</code> is enabled, the container becomes keyboard focusable and includes appropriate ARIA labeling for screen readers.
|
|
314
|
+
</p>
|
|
315
|
+
<div style="padding: 12px; background: #f3f4f6; border-radius: 6px; border-left: 3px solid #6366f1;">
|
|
316
|
+
<strong style="color: #4338ca;">Current state:</strong>
|
|
317
|
+
{{ args.isLandmark ? 'Landmark enabled (focusable, labeled)' : 'Standard container (no landmark features)' }}
|
|
318
|
+
</div>
|
|
319
|
+
</div>
|
|
320
|
+
|
|
321
|
+
<ContentContainerComponent
|
|
322
|
+
:data-testid="args.dataTestid"
|
|
323
|
+
:tag="args.tag"
|
|
324
|
+
:style-class-passthrough="args.styleClassPassthrough"
|
|
325
|
+
:is-landmark="args.isLandmark"
|
|
326
|
+
>
|
|
327
|
+
<div style="padding: 24px; background: white; border-radius: 8px; border: 2px solid #d1d5db;">
|
|
328
|
+
<div :style="{
|
|
329
|
+
padding: '16px',
|
|
330
|
+
background: args.isLandmark ? '#dbeafe' : '#f9fafb',
|
|
331
|
+
borderRadius: '8px',
|
|
332
|
+
border: args.isLandmark ? '2px solid #3b82f6' : '2px solid #e5e7eb'
|
|
333
|
+
}">
|
|
334
|
+
<h3 style="margin: 0 0 12px 0; color: #374151;">
|
|
335
|
+
{{ args.isLandmark ? '🏷️ Landmark Container' : '📦 Standard Container' }}
|
|
336
|
+
</h3>
|
|
337
|
+
<p style="margin: 0 0 16px 0; color: #6b7280; line-height: 1.5;">
|
|
338
|
+
{{ args.isLandmark
|
|
339
|
+
? 'This container is marked as a landmark region. Screen reader users can navigate directly to it using landmark navigation commands.'
|
|
340
|
+
: 'This is a regular content container without special accessibility features.'
|
|
341
|
+
}}
|
|
342
|
+
</p>
|
|
343
|
+
<div style="font-family: monospace; font-size: 12px; background: rgba(0, 0, 0, 0.05); padding: 8px; border-radius: 4px;">
|
|
344
|
+
<div>tabIndex: {{ args.isLandmark ? '0' : 'null' }}</div>
|
|
345
|
+
<div>aria-label: {{ args.isLandmark ? '"Content Container Landmark"' : 'undefined' }}</div>
|
|
346
|
+
</div>
|
|
347
|
+
</div>
|
|
348
|
+
</div>
|
|
349
|
+
</ContentContainerComponent>
|
|
350
|
+
</div>
|
|
351
|
+
`,
|
|
352
|
+
});
|
|
353
|
+
|
|
354
|
+
export const WithLandmark = AccessibilityTemplate.bind({});
|
|
355
|
+
WithLandmark.args = {
|
|
356
|
+
tag: "section",
|
|
357
|
+
isLandmark: true,
|
|
358
|
+
};
|
|
359
|
+
WithLandmark.parameters = {
|
|
360
|
+
docs: {
|
|
361
|
+
description: {
|
|
362
|
+
story:
|
|
363
|
+
"ContentContainer with landmark accessibility features enabled - makes the container focusable and properly labeled for assistive technologies.",
|
|
364
|
+
},
|
|
365
|
+
},
|
|
366
|
+
};
|
|
367
|
+
|
|
368
|
+
export const WithoutLandmark = AccessibilityTemplate.bind({});
|
|
369
|
+
WithoutLandmark.args = {
|
|
370
|
+
tag: "div",
|
|
371
|
+
isLandmark: false,
|
|
372
|
+
};
|
|
373
|
+
WithoutLandmark.parameters = {
|
|
374
|
+
docs: {
|
|
375
|
+
description: {
|
|
376
|
+
story: "Standard ContentContainer without landmark features - regular content container behavior.",
|
|
377
|
+
},
|
|
378
|
+
},
|
|
379
|
+
};
|
|
380
|
+
|
|
381
|
+
// ===== RESPONSIVE DEMONSTRATION =====
|
|
382
|
+
|
|
383
|
+
const ResponsiveTemplate: StoryFn = () => ({
|
|
384
|
+
components: { ContentContainerComponent },
|
|
385
|
+
template: `
|
|
386
|
+
<div style="background: #f8fafc; padding: 20px;">
|
|
387
|
+
<div style="margin-bottom: 40px;">
|
|
388
|
+
<h2 style="text-align: center; margin: 0 0 16px 0; color: #374151; font-size: 28px;">
|
|
389
|
+
Responsive Behavior Demonstration
|
|
390
|
+
</h2>
|
|
391
|
+
<p style="text-align: center; margin: 0 0 32px 0; color: #6b7280; max-width: 600px; margin-left: auto; margin-right: auto; line-height: 1.6;">
|
|
392
|
+
The ContentContainer adapts its layout based on its own width using container queries.
|
|
393
|
+
Resize your browser to see the responsive behavior in action.
|
|
394
|
+
</p>
|
|
395
|
+
</div>
|
|
396
|
+
|
|
397
|
+
<!-- Small container demonstration -->
|
|
398
|
+
<div style="margin-bottom: 40px;">
|
|
399
|
+
<h3 style="margin: 0 0 16px 0; color: #374151;">Narrow Container (< 1064px)</h3>
|
|
400
|
+
<div style="max-width: 800px; border: 2px dashed #cbd5e1; padding: 20px; margin-bottom: 20px;">
|
|
401
|
+
<ContentContainerComponent tag="div">
|
|
402
|
+
<div style="padding: 20px; background: #fef3c7; border-radius: 8px; text-align: center;">
|
|
403
|
+
<h4 style="margin: 0 0 8px 0; color: #92400e;">Fluid Width Mode</h4>
|
|
404
|
+
<p style="margin: 0; color: #b45309; font-size: 14px;">
|
|
405
|
+
Content uses available width with 16px gutters on each side
|
|
406
|
+
</p>
|
|
407
|
+
</div>
|
|
408
|
+
</ContentContainerComponent>
|
|
409
|
+
</div>
|
|
410
|
+
</div>
|
|
411
|
+
|
|
412
|
+
<!-- Large container demonstration -->
|
|
413
|
+
<div style="margin-bottom: 40px;">
|
|
414
|
+
<h3 style="margin: 0 0 16px 0; color: #374151;">Wide Container (≥ 1064px)</h3>
|
|
415
|
+
<div style="border: 2px dashed #cbd5e1; padding: 20px;">
|
|
416
|
+
<ContentContainerComponent tag="div">
|
|
417
|
+
<div style="padding: 20px; background: #dcfce7; border-radius: 8px; text-align: center;">
|
|
418
|
+
<h4 style="margin: 0 0 8px 0; color: #166534;">Fixed Width Mode</h4>
|
|
419
|
+
<p style="margin: 0; color: #15803d; font-size: 14px;">
|
|
420
|
+
Content is constrained to 1064px max-width and centered within the container
|
|
421
|
+
</p>
|
|
422
|
+
</div>
|
|
423
|
+
</ContentContainerComponent>
|
|
424
|
+
</div>
|
|
425
|
+
</div>
|
|
426
|
+
|
|
427
|
+
<!-- Technical details -->
|
|
428
|
+
<ContentContainerComponent tag="section">
|
|
429
|
+
<div style="padding: 24px; background: white; border-radius: 12px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);">
|
|
430
|
+
<h3 style="margin: 0 0 16px 0; color: #374151;">How It Works</h3>
|
|
431
|
+
<div style="display: grid; gap: 16px;">
|
|
432
|
+
<div style="padding: 16px; background: #f1f5f9; border-radius: 8px; border-left: 4px solid #3b82f6;">
|
|
433
|
+
<h4 style="margin: 0 0 8px 0; color: #1e40af; font-size: 14px; font-weight: 600;">Container Queries</h4>
|
|
434
|
+
<p style="margin: 0; color: #475569; font-size: 14px; line-height: 1.5;">
|
|
435
|
+
Uses <code>@container</code> rules to respond to the container's own width, not the viewport width.
|
|
436
|
+
</p>
|
|
437
|
+
</div>
|
|
438
|
+
<div style="padding: 16px; background: #f0fdf4; border-radius: 8px; border-left: 4px solid #22c55e;">
|
|
439
|
+
<h4 style="margin: 0 0 8px 0; color: #15803d; font-size: 14px; font-weight: 600;">CSS Grid Layout</h4>
|
|
440
|
+
<p style="margin: 0; color: #166534; font-size: 14px; line-height: 1.5;">
|
|
441
|
+
Named grid lines create flexible layouts that adapt to content needs automatically.
|
|
442
|
+
</p>
|
|
443
|
+
</div>
|
|
444
|
+
<div style="padding: 16px; background: #fef7ff; border-radius: 8px; border-left: 4px solid #a855f7;">
|
|
445
|
+
<h4 style="margin: 0 0 8px 0; color: #7c3aed; font-size: 14px; font-weight: 600;">Component Reusability</h4>
|
|
446
|
+
<p style="margin: 0; color: #8b5cf6; font-size: 14px; line-height: 1.5;">
|
|
447
|
+
Works consistently regardless of where it's placed in your layout hierarchy.
|
|
448
|
+
</p>
|
|
449
|
+
</div>
|
|
450
|
+
</div>
|
|
451
|
+
</div>
|
|
452
|
+
</ContentContainerComponent>
|
|
453
|
+
</div>
|
|
454
|
+
`,
|
|
455
|
+
});
|
|
456
|
+
|
|
457
|
+
export const ResponsiveBehavior = ResponsiveTemplate.bind({});
|
|
458
|
+
ResponsiveBehavior.parameters = {
|
|
459
|
+
docs: {
|
|
460
|
+
description: {
|
|
461
|
+
story:
|
|
462
|
+
"Interactive demonstration of how the ContentContainer responds to different container widths using CSS Container Queries instead of media queries.",
|
|
463
|
+
},
|
|
464
|
+
},
|
|
465
|
+
};
|
|
@@ -19,12 +19,13 @@ const props = defineProps({
|
|
|
19
19
|
type: String,
|
|
20
20
|
default: "",
|
|
21
21
|
},
|
|
22
|
-
})
|
|
22
|
+
});
|
|
23
23
|
|
|
24
|
-
const slots = useSlots()
|
|
24
|
+
const slots = useSlots();
|
|
25
25
|
</script>
|
|
26
26
|
|
|
27
27
|
<style lang="css">
|
|
28
|
+
@layer components {
|
|
28
29
|
.ui-content-grid {
|
|
29
30
|
--_margin-inline: 0;
|
|
30
31
|
--_grid-template-columns: repeat(4, 1fr);
|
|
@@ -80,4 +81,5 @@ const slots = useSlots()
|
|
|
80
81
|
}
|
|
81
82
|
}
|
|
82
83
|
}
|
|
84
|
+
}
|
|
83
85
|
</style>
|
|
@@ -4,16 +4,16 @@
|
|
|
4
4
|
<template v-for="(link, key) in navLinks" :key="key">
|
|
5
5
|
<NuxtLink v-if="link.path" :to="link.path" class="navigation-link">{{ link.name }}</NuxtLink>
|
|
6
6
|
|
|
7
|
-
<div v-else class="navigation-group" :style="`--_anchor-name: --anchor-nav-1-${key};`"
|
|
7
|
+
<div v-else ref="detailsRef" class="navigation-group" :style="`--_anchor-name: --anchor-nav-1-${key};`">
|
|
8
8
|
<button :popovertarget="`popovertarget-nav-1-${key}`" class="navigation-group-toggle">
|
|
9
9
|
<span>{{ link.name }}</span>
|
|
10
10
|
<Icon name="bi:caret-down-fill" class="icon" />
|
|
11
11
|
</button>
|
|
12
12
|
|
|
13
|
-
<div class="navigation-group-panel" popover role="menu"
|
|
13
|
+
<div :id="`popovertarget-nav-1-${key}`" class="navigation-group-panel" popover role="menu">
|
|
14
14
|
<h4 class="page-heading-4 mb-6">{{ link.childLinksTitle }}</h4>
|
|
15
15
|
<ul class="navigation-group-list">
|
|
16
|
-
<li
|
|
16
|
+
<li v-for="childLink in link.childLinks" :key="childLink.name" class="navigation-group-item">
|
|
17
17
|
<NuxtLink :to="childLink.path" class="navigation-group-link">{{ childLink.name }}</NuxtLink>
|
|
18
18
|
</li>
|
|
19
19
|
</ul>
|
|
@@ -25,13 +25,13 @@
|
|
|
25
25
|
</template>
|
|
26
26
|
|
|
27
27
|
<script setup lang="ts">
|
|
28
|
-
import type { ResponsiveHeaderNavItem } from "../../types/components"
|
|
28
|
+
import type { ResponsiveHeaderNavItem } from "../../types/components";
|
|
29
29
|
const props = defineProps({
|
|
30
30
|
tag: {
|
|
31
31
|
type: String,
|
|
32
32
|
default: "nav",
|
|
33
33
|
validator(value: string) {
|
|
34
|
-
return ["div", "section", "nav", "ul", "ol"].includes(value)
|
|
34
|
+
return ["div", "section", "nav", "ul", "ol"].includes(value);
|
|
35
35
|
},
|
|
36
36
|
},
|
|
37
37
|
navLinks: {
|
|
@@ -42,20 +42,21 @@ const props = defineProps({
|
|
|
42
42
|
type: [String, Array] as PropType<string | string[]>,
|
|
43
43
|
default: () => [],
|
|
44
44
|
},
|
|
45
|
-
})
|
|
45
|
+
});
|
|
46
46
|
|
|
47
|
-
const { elementClasses, resetElementClasses } = useStyleClassPassthrough(props.styleClassPassthrough)
|
|
47
|
+
const { elementClasses, resetElementClasses } = useStyleClassPassthrough(props.styleClassPassthrough);
|
|
48
48
|
// const detailsRef = useTemplateRef('detailsRef');
|
|
49
49
|
|
|
50
50
|
watch(
|
|
51
51
|
() => props.styleClassPassthrough,
|
|
52
52
|
() => {
|
|
53
|
-
resetElementClasses(props.styleClassPassthrough)
|
|
53
|
+
resetElementClasses(props.styleClassPassthrough);
|
|
54
54
|
}
|
|
55
|
-
)
|
|
55
|
+
);
|
|
56
56
|
</script>
|
|
57
57
|
|
|
58
58
|
<style lang="css">
|
|
59
|
+
@layer components {
|
|
59
60
|
@layer deep-expanding-menu-setup {
|
|
60
61
|
@position-try --anchor-left {
|
|
61
62
|
inset: auto;
|
|
@@ -92,15 +93,15 @@ watch(
|
|
|
92
93
|
|
|
93
94
|
&:hover {
|
|
94
95
|
cursor: pointer;
|
|
95
|
-
border-color: light-dark(var(--blue-
|
|
96
|
+
border-color: light-dark(var(--blue-10), var(--slate-00));
|
|
96
97
|
}
|
|
97
98
|
|
|
98
99
|
&:focus {
|
|
99
|
-
border-color: light-dark(var(--blue-
|
|
100
|
+
border-color: light-dark(var(--blue-10), var(--slate-00));
|
|
100
101
|
}
|
|
101
102
|
|
|
102
103
|
&:focus-visible {
|
|
103
|
-
border-color: light-dark(var(--blue-
|
|
104
|
+
border-color: light-dark(var(--blue-10), var(--slate-00));
|
|
104
105
|
}
|
|
105
106
|
}
|
|
106
107
|
|
|
@@ -160,7 +161,7 @@ watch(
|
|
|
160
161
|
}
|
|
161
162
|
|
|
162
163
|
h4 {
|
|
163
|
-
color: var(--
|
|
164
|
+
color: var(--slate-10);
|
|
164
165
|
}
|
|
165
166
|
|
|
166
167
|
.navigation-group-list {
|
|
@@ -175,7 +176,7 @@ watch(
|
|
|
175
176
|
|
|
176
177
|
a.navigation-group-link {
|
|
177
178
|
display: inline-block;
|
|
178
|
-
color: var(--
|
|
179
|
+
color: var(--slate-10);
|
|
179
180
|
text-decoration: none;
|
|
180
181
|
padding-block: 8px;
|
|
181
182
|
|
|
@@ -185,11 +186,11 @@ watch(
|
|
|
185
186
|
|
|
186
187
|
&:hover {
|
|
187
188
|
cursor: pointer;
|
|
188
|
-
border-color: var(--
|
|
189
|
+
border-color: var(--slate-10);
|
|
189
190
|
}
|
|
190
191
|
|
|
191
192
|
&:focus-visible {
|
|
192
|
-
border-color: var(--
|
|
193
|
+
border-color: var(--slate-10);
|
|
193
194
|
}
|
|
194
195
|
}
|
|
195
196
|
}
|
|
@@ -203,4 +204,5 @@ watch(
|
|
|
203
204
|
}
|
|
204
205
|
}
|
|
205
206
|
}
|
|
207
|
+
}
|
|
206
208
|
</style>
|