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
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="container-glow-wrapper" :class="elementClasses"
|
|
2
|
+
<div ref="containerGlowWrapper" class="container-glow-wrapper" :class="elementClasses">
|
|
3
3
|
<component
|
|
4
4
|
:is="tag"
|
|
5
5
|
v-for="(item, key) in itemCount"
|
|
6
6
|
:key="key"
|
|
7
|
-
class="container-glow-core"
|
|
8
7
|
ref="containerGlowItem"
|
|
8
|
+
class="container-glow-core"
|
|
9
9
|
>
|
|
10
10
|
<div class="glows"></div>
|
|
11
11
|
<slot :name="`container-glow-${key}`"></slot>
|
|
@@ -15,12 +15,12 @@
|
|
|
15
15
|
|
|
16
16
|
<script setup lang="ts">
|
|
17
17
|
interface Config {
|
|
18
|
-
proximity: number
|
|
19
|
-
spread: number
|
|
20
|
-
blur: number
|
|
21
|
-
gap: number
|
|
22
|
-
vertical: boolean
|
|
23
|
-
|
|
18
|
+
proximity: number;
|
|
19
|
+
spread: number;
|
|
20
|
+
blur: number;
|
|
21
|
+
gap: number;
|
|
22
|
+
vertical: boolean;
|
|
23
|
+
inactiveOpacity: number;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
const props = defineProps({
|
|
@@ -44,66 +44,131 @@ const props = defineProps({
|
|
|
44
44
|
blur: 20,
|
|
45
45
|
gap: 32,
|
|
46
46
|
vertical: false,
|
|
47
|
-
|
|
47
|
+
inactiveOpacity: 0,
|
|
48
48
|
}),
|
|
49
49
|
},
|
|
50
|
-
})
|
|
50
|
+
});
|
|
51
|
+
|
|
52
|
+
const { elementClasses } = useStyleClassPassthrough(props.styleClassPassthrough);
|
|
53
|
+
|
|
54
|
+
const controller = new AbortController();
|
|
51
55
|
|
|
52
|
-
const
|
|
56
|
+
const containerGlowWrapper = ref<HTMLElement>();
|
|
57
|
+
const containerGlowItem = ref<HTMLElement[]>([]);
|
|
53
58
|
|
|
54
|
-
|
|
59
|
+
// Cache frequently used values to avoid repeated access
|
|
60
|
+
const configCache = computed(() => ({
|
|
61
|
+
proximity: props.config.proximity,
|
|
62
|
+
inactiveOpacityStr: String(props.config.inactiveOpacity),
|
|
63
|
+
gapStr: String(props.config.gap),
|
|
64
|
+
blurStr: String(props.config.blur),
|
|
65
|
+
spreadStr: String(props.config.spread),
|
|
66
|
+
direction: props.config.vertical ? "column" : "row",
|
|
67
|
+
}));
|
|
55
68
|
|
|
56
|
-
|
|
57
|
-
const
|
|
69
|
+
// Pre-calculate constants to avoid repeated calculations
|
|
70
|
+
const ANGLE_OFFSET = 90;
|
|
71
|
+
const FULL_CIRCLE = 360;
|
|
72
|
+
const RAD_TO_DEG = 180 / Math.PI;
|
|
73
|
+
|
|
74
|
+
// Throttle mechanism using RAF
|
|
75
|
+
let rafId: number | null = null;
|
|
76
|
+
let lastEventData: { x: number; y: number } | null = null;
|
|
58
77
|
|
|
59
78
|
const updateStyles = (event: PointerEvent) => {
|
|
60
|
-
//
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
const cardBounds = cardElem.getBoundingClientRect()
|
|
64
|
-
// Get distance between pointer and outerbounds of card
|
|
65
|
-
if (
|
|
66
|
-
event?.x > cardBounds.left - props.config.proximity &&
|
|
67
|
-
event?.x < cardBounds.left + cardBounds.width + props.config.proximity &&
|
|
68
|
-
event?.y > cardBounds.top - props.config.proximity &&
|
|
69
|
-
event?.y < cardBounds.top + cardBounds.height + props.config.proximity
|
|
70
|
-
) {
|
|
71
|
-
// If within proximity set the active opacity
|
|
72
|
-
cardElem.style.setProperty("--opacity-active", String(1))
|
|
73
|
-
} else {
|
|
74
|
-
cardElem.style.setProperty("--opacity-active", String(props.config.opacity))
|
|
75
|
-
}
|
|
76
|
-
const cardCentre = [cardBounds.left + cardBounds.width * 0.5, cardBounds.top + cardBounds.height * 0.5]
|
|
77
|
-
let angle = (Math.atan2(event?.y - cardCentre[1], event?.x - cardCentre[0]) * 180) / Math.PI
|
|
78
|
-
angle = angle < 0 ? angle + 360 : angle
|
|
79
|
-
cardElem.style.setProperty("--start", String(angle + 90))
|
|
79
|
+
// Early return if event coordinates are not available
|
|
80
|
+
if (typeof event.x !== "number" || typeof event.y !== "number") {
|
|
81
|
+
return;
|
|
80
82
|
}
|
|
81
|
-
|
|
83
|
+
|
|
84
|
+
// Store event data and schedule update
|
|
85
|
+
lastEventData = { x: event.x, y: event.y };
|
|
86
|
+
|
|
87
|
+
if (rafId !== null) {
|
|
88
|
+
return; // Already scheduled
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
rafId = requestAnimationFrame(() => {
|
|
92
|
+
if (!lastEventData) {
|
|
93
|
+
rafId = null;
|
|
94
|
+
return;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
const { x: eventX, y: eventY } = lastEventData;
|
|
98
|
+
const { proximity, inactiveOpacityStr } = configCache.value;
|
|
99
|
+
|
|
100
|
+
// Process all elements
|
|
101
|
+
for (const cardElem of containerGlowItem.value) {
|
|
102
|
+
// Check the card against the proximity and then start updating
|
|
103
|
+
const cardBounds = cardElem.getBoundingClientRect();
|
|
104
|
+
|
|
105
|
+
// Pre-calculate bounds to avoid repeated operations
|
|
106
|
+
const leftBound = cardBounds.left - proximity;
|
|
107
|
+
const rightBound = cardBounds.left + cardBounds.width + proximity;
|
|
108
|
+
const topBound = cardBounds.top - proximity;
|
|
109
|
+
const bottomBound = cardBounds.top + cardBounds.height + proximity;
|
|
110
|
+
|
|
111
|
+
// Check proximity with pre-calculated bounds
|
|
112
|
+
const isInProximity = eventX > leftBound && eventX < rightBound && eventY > topBound && eventY < bottomBound;
|
|
113
|
+
|
|
114
|
+
// Set opacity based on proximity
|
|
115
|
+
cardElem.style.setProperty("--opacity-active", isInProximity ? "1" : inactiveOpacityStr);
|
|
116
|
+
|
|
117
|
+
if (isInProximity) {
|
|
118
|
+
// Only calculate angle when in proximity
|
|
119
|
+
const cardCentreX = cardBounds.left + cardBounds.width * 0.5;
|
|
120
|
+
const cardCentreY = cardBounds.top + cardBounds.height * 0.5;
|
|
121
|
+
|
|
122
|
+
let angle = Math.atan2(eventY - cardCentreY, eventX - cardCentreX) * RAD_TO_DEG;
|
|
123
|
+
angle = angle < 0 ? angle + FULL_CIRCLE : angle;
|
|
124
|
+
|
|
125
|
+
cardElem.style.setProperty("--start", String(angle + ANGLE_OFFSET));
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
rafId = null;
|
|
130
|
+
});
|
|
131
|
+
};
|
|
82
132
|
|
|
83
133
|
const applyStyles = () => {
|
|
84
|
-
containerGlowWrapper.value
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
containerGlowWrapper.value
|
|
88
|
-
}
|
|
134
|
+
if (!containerGlowWrapper.value) return;
|
|
135
|
+
|
|
136
|
+
const { gapStr, blurStr, spreadStr, direction } = configCache.value;
|
|
137
|
+
const wrapper = containerGlowWrapper.value;
|
|
89
138
|
|
|
90
|
-
//
|
|
139
|
+
// Batch DOM updates
|
|
140
|
+
wrapper.style.setProperty("--gap", gapStr);
|
|
141
|
+
wrapper.style.setProperty("--blur", blurStr);
|
|
142
|
+
wrapper.style.setProperty("--spread", spreadStr);
|
|
143
|
+
wrapper.style.setProperty("--direction", direction);
|
|
144
|
+
};
|
|
145
|
+
|
|
146
|
+
// Watch for config changes and reapply styles
|
|
147
|
+
watch(() => props.config, applyStyles, { deep: true });
|
|
91
148
|
|
|
92
149
|
onMounted(() => {
|
|
93
|
-
applyStyles()
|
|
150
|
+
applyStyles();
|
|
94
151
|
if (containerGlowWrapper.value) {
|
|
95
152
|
document.body.addEventListener("pointermove", updateStyles, {
|
|
96
153
|
signal: controller.signal,
|
|
97
|
-
|
|
154
|
+
passive: true, // Improve scroll performance
|
|
155
|
+
});
|
|
98
156
|
}
|
|
99
|
-
})
|
|
157
|
+
});
|
|
100
158
|
|
|
101
159
|
onBeforeUnmount(() => {
|
|
102
|
-
|
|
103
|
-
|
|
160
|
+
// Clean up RAF if pending
|
|
161
|
+
if (rafId !== null) {
|
|
162
|
+
cancelAnimationFrame(rafId);
|
|
163
|
+
rafId = null;
|
|
164
|
+
}
|
|
165
|
+
lastEventData = null;
|
|
166
|
+
controller.abort();
|
|
167
|
+
});
|
|
104
168
|
</script>
|
|
105
169
|
|
|
106
170
|
<style lang="css">
|
|
171
|
+
@layer components {
|
|
107
172
|
.container-glow-wrapper {
|
|
108
173
|
@property --start {
|
|
109
174
|
syntax: "<number>";
|
|
@@ -130,7 +195,7 @@ onBeforeUnmount(() => {
|
|
|
130
195
|
#4dffbf 288.0000042915344deg,
|
|
131
196
|
hsla(0, 0%, 98%, 1) 1turn
|
|
132
197
|
);
|
|
133
|
-
--opacity-active:
|
|
198
|
+
--opacity-active: v-bind("props.config.inactiveOpacity");
|
|
134
199
|
--start: 0;
|
|
135
200
|
|
|
136
201
|
position: relative;
|
|
@@ -165,7 +230,8 @@ onBeforeUnmount(() => {
|
|
|
165
230
|
background: hsl(280 10% 50% / 1);
|
|
166
231
|
background-attachment: fixed;
|
|
167
232
|
border-radius: 12px;
|
|
168
|
-
mask:
|
|
233
|
+
mask:
|
|
234
|
+
linear-gradient(#0000, #0000),
|
|
169
235
|
conic-gradient(
|
|
170
236
|
from calc(((var(--start) + (var(--spread) * 0.25)) - (var(--spread) * 1.5)) * 1deg),
|
|
171
237
|
hsl(0 0% 100% / 0.15) 0deg,
|
|
@@ -188,7 +254,8 @@ onBeforeUnmount(() => {
|
|
|
188
254
|
transition: opacity 1s;
|
|
189
255
|
--alpha: 0;
|
|
190
256
|
border: 2px solid transparent;
|
|
191
|
-
mask:
|
|
257
|
+
mask:
|
|
258
|
+
linear-gradient(#0000, #0000),
|
|
192
259
|
conic-gradient(
|
|
193
260
|
from calc(((var(--start) + (var(--spread) * 0.25)) - (var(--spread) * 0.5)) * 1deg),
|
|
194
261
|
#0000 0deg,
|
|
@@ -216,7 +283,8 @@ onBeforeUnmount(() => {
|
|
|
216
283
|
inset: -5px;
|
|
217
284
|
border: 10px solid transparent;
|
|
218
285
|
border-radius: 12px;
|
|
219
|
-
mask:
|
|
286
|
+
mask:
|
|
287
|
+
linear-gradient(#0000, #0000),
|
|
220
288
|
conic-gradient(
|
|
221
289
|
from calc((var(--start) - (var(--spread) * 0.5)) * 1deg),
|
|
222
290
|
#000 0deg,
|
|
@@ -231,4 +299,5 @@ onBeforeUnmount(() => {
|
|
|
231
299
|
}
|
|
232
300
|
}
|
|
233
301
|
}
|
|
302
|
+
}
|
|
234
303
|
</style>
|
|
@@ -0,0 +1,337 @@
|
|
|
1
|
+
import type { Meta, StoryFn } from "@nuxtjs/storybook";
|
|
2
|
+
import ContainerGlowCoreComponent from "../ContainerGlowCore.vue";
|
|
3
|
+
|
|
4
|
+
// Define the args interface
|
|
5
|
+
interface ContainerGlowCoreArgs {
|
|
6
|
+
itemCount: number;
|
|
7
|
+
tag: string;
|
|
8
|
+
styleClassPassthrough: string[];
|
|
9
|
+
config: {
|
|
10
|
+
proximity: number;
|
|
11
|
+
spread: number;
|
|
12
|
+
blur: number;
|
|
13
|
+
gap: number;
|
|
14
|
+
vertical: boolean;
|
|
15
|
+
inactiveOpacity: number;
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export default {
|
|
20
|
+
title: "Components/Effects/ContainerGlowCore",
|
|
21
|
+
component: ContainerGlowCoreComponent,
|
|
22
|
+
argTypes: {
|
|
23
|
+
// Core Properties
|
|
24
|
+
itemCount: {
|
|
25
|
+
control: { type: "range", min: 1, max: 6, step: 1 },
|
|
26
|
+
description: "Number of glowing containers to render",
|
|
27
|
+
table: {
|
|
28
|
+
category: "Core",
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
tag: {
|
|
32
|
+
control: { type: "text" },
|
|
33
|
+
description: "HTML tag for each container",
|
|
34
|
+
table: {
|
|
35
|
+
category: "Semantic",
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
// Config Object
|
|
39
|
+
config: {
|
|
40
|
+
control: { type: "object" },
|
|
41
|
+
description: "Configuration object for glow effects",
|
|
42
|
+
table: {
|
|
43
|
+
category: "Configuration",
|
|
44
|
+
},
|
|
45
|
+
},
|
|
46
|
+
// Individual config controls
|
|
47
|
+
"config.proximity": {
|
|
48
|
+
control: { type: "range", min: 10, max: 200, step: 10 },
|
|
49
|
+
description: "Mouse proximity distance to trigger glow effect (px)",
|
|
50
|
+
table: {
|
|
51
|
+
category: "Glow Settings",
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
"config.spread": {
|
|
55
|
+
control: { type: "range", min: 20, max: 180, step: 10 },
|
|
56
|
+
description: "Angular spread of the glow effect (degrees)",
|
|
57
|
+
table: {
|
|
58
|
+
category: "Glow Settings",
|
|
59
|
+
},
|
|
60
|
+
},
|
|
61
|
+
"config.blur": {
|
|
62
|
+
control: { type: "range", min: 0, max: 50, step: 2 },
|
|
63
|
+
description: "Blur amount for the glow effect (px)",
|
|
64
|
+
table: {
|
|
65
|
+
category: "Glow Settings",
|
|
66
|
+
},
|
|
67
|
+
},
|
|
68
|
+
"config.gap": {
|
|
69
|
+
control: { type: "range", min: 8, max: 64, step: 4 },
|
|
70
|
+
description: "Gap between containers (px)",
|
|
71
|
+
table: {
|
|
72
|
+
category: "Layout",
|
|
73
|
+
},
|
|
74
|
+
},
|
|
75
|
+
"config.vertical": {
|
|
76
|
+
control: { type: "boolean" },
|
|
77
|
+
description: "Arrange containers vertically instead of horizontally",
|
|
78
|
+
table: {
|
|
79
|
+
category: "Layout",
|
|
80
|
+
},
|
|
81
|
+
},
|
|
82
|
+
"config.inactiveOpacity": {
|
|
83
|
+
control: { type: "range", min: 0.05, max: 1, step: 0.05 },
|
|
84
|
+
description: "Opacity of the glow effect when not hovering (inactive state)",
|
|
85
|
+
table: {
|
|
86
|
+
category: "Glow Settings",
|
|
87
|
+
},
|
|
88
|
+
},
|
|
89
|
+
// Hide complex props
|
|
90
|
+
styleClassPassthrough: {
|
|
91
|
+
table: {
|
|
92
|
+
disable: true,
|
|
93
|
+
},
|
|
94
|
+
},
|
|
95
|
+
},
|
|
96
|
+
args: {
|
|
97
|
+
itemCount: 3,
|
|
98
|
+
tag: "div",
|
|
99
|
+
styleClassPassthrough: [],
|
|
100
|
+
config: {
|
|
101
|
+
proximity: 40,
|
|
102
|
+
spread: 80,
|
|
103
|
+
blur: 20,
|
|
104
|
+
gap: 32,
|
|
105
|
+
vertical: false,
|
|
106
|
+
inactiveOpacity: 0,
|
|
107
|
+
},
|
|
108
|
+
},
|
|
109
|
+
parameters: {
|
|
110
|
+
docs: {
|
|
111
|
+
description: {
|
|
112
|
+
component:
|
|
113
|
+
"An interactive glow effect component that creates multiple containers with animated gradient borders that respond to mouse movement. Each container glows more intensely when the cursor is nearby, with customizable proximity detection, blur effects, and gradient animations.",
|
|
114
|
+
},
|
|
115
|
+
},
|
|
116
|
+
},
|
|
117
|
+
} as Meta<ContainerGlowCoreArgs>;
|
|
118
|
+
|
|
119
|
+
const Template: StoryFn<ContainerGlowCoreArgs> = (args) => ({
|
|
120
|
+
components: { ContainerGlowCoreComponent },
|
|
121
|
+
setup() {
|
|
122
|
+
return { args };
|
|
123
|
+
},
|
|
124
|
+
template: `
|
|
125
|
+
<div style="background: radial-gradient(ellipse at center, #0f0f23 0%, #020024 100%); padding: 60px 40px; min-height: 80vh; display: flex; align-items: center; justify-content: center;">
|
|
126
|
+
<div style="text-align: center; width: 100%;">
|
|
127
|
+
<div style="margin-bottom: 40px;">
|
|
128
|
+
<h2 style="color: white; margin: 0 0 16px 0; font-size: 28px; font-weight: 700; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);">
|
|
129
|
+
✨ Interactive Glow Effects
|
|
130
|
+
</h2>
|
|
131
|
+
<p style="color: rgba(255, 255, 255, 0.8); margin: 0 0 8px 0; font-size: 16px;">
|
|
132
|
+
Move your mouse over the containers to see the glow effect
|
|
133
|
+
</p>
|
|
134
|
+
<p style="color: rgba(255, 255, 255, 0.6); margin: 0; font-size: 14px;">
|
|
135
|
+
{{ args.itemCount }} container{{ args.itemCount > 1 ? 's' : '' }} • {{ args.config.vertical ? 'Vertical' : 'Horizontal' }} layout
|
|
136
|
+
</p>
|
|
137
|
+
</div>
|
|
138
|
+
|
|
139
|
+
<ContainerGlowCoreComponent
|
|
140
|
+
:item-count="args.itemCount"
|
|
141
|
+
:tag="args.tag"
|
|
142
|
+
:style-class-passthrough="args.styleClassPassthrough"
|
|
143
|
+
:config="args.config"
|
|
144
|
+
>
|
|
145
|
+
<template v-for="n in args.itemCount" :key="n" v-slot:['container-glow-' + (n - 1)]>
|
|
146
|
+
<div style="height: 100%; display: flex; flex-direction: column;">
|
|
147
|
+
<div style="text-align: center; margin-bottom: 16px;">
|
|
148
|
+
<div style="width: 48px; height: 48px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); border-radius: 50%; margin: 0 auto 12px auto; display: flex; align-items: center; justify-content: center; font-size: 20px; color: white; font-weight: bold;">
|
|
149
|
+
{{ n }}
|
|
150
|
+
</div>
|
|
151
|
+
<h3 style="margin: 0 0 8px 0; color: #374151; font-size: 18px; font-weight: 600;">
|
|
152
|
+
Container {{ n }}
|
|
153
|
+
</h3>
|
|
154
|
+
<p style="margin: 0; color: #6b7280; font-size: 14px;">
|
|
155
|
+
Interactive glow card
|
|
156
|
+
</p>
|
|
157
|
+
</div>
|
|
158
|
+
|
|
159
|
+
<div style="flex: 1; display: flex; flex-direction: column; justify-content: center; text-align: center; padding: 16px 0;">
|
|
160
|
+
<div style="padding: 16px; background: rgba(0, 0, 0, 0.02); border-radius: 8px; margin-bottom: 16px;">
|
|
161
|
+
<h4 style="margin: 0 0 8px 0; color: #4b5563; font-size: 14px; font-weight: 600;">Effect Settings</h4>
|
|
162
|
+
<div style="font-family: monospace; font-size: 11px; color: #6b7280; line-height: 1.4;">
|
|
163
|
+
<div>Proximity: {{ args.config.proximity }}px</div>
|
|
164
|
+
<div>Spread: {{ args.config.spread }}°</div>
|
|
165
|
+
<div>Blur: {{ args.config.blur }}px</div>
|
|
166
|
+
</div>
|
|
167
|
+
</div>
|
|
168
|
+
|
|
169
|
+
<div style="padding: 12px; background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%); border-radius: 6px; border-left: 3px solid #3b82f6;">
|
|
170
|
+
<p style="margin: 0; color: #1e40af; font-size: 12px; line-height: 1.4; font-weight: 500;">
|
|
171
|
+
💡 Hover to activate the glow effect with mouse tracking
|
|
172
|
+
</p>
|
|
173
|
+
</div>
|
|
174
|
+
</div>
|
|
175
|
+
</div>
|
|
176
|
+
</template>
|
|
177
|
+
</ContainerGlowCoreComponent>
|
|
178
|
+
</div>
|
|
179
|
+
</div>
|
|
180
|
+
`,
|
|
181
|
+
});
|
|
182
|
+
|
|
183
|
+
// ===== BASIC STORIES =====
|
|
184
|
+
|
|
185
|
+
export const Default = Template.bind({});
|
|
186
|
+
Default.args = {};
|
|
187
|
+
|
|
188
|
+
// ===== CONTAINER COUNT STORIES =====
|
|
189
|
+
|
|
190
|
+
export const SingleContainer = Template.bind({});
|
|
191
|
+
SingleContainer.args = {
|
|
192
|
+
itemCount: 1,
|
|
193
|
+
};
|
|
194
|
+
SingleContainer.parameters = {
|
|
195
|
+
docs: {
|
|
196
|
+
description: {
|
|
197
|
+
story:
|
|
198
|
+
"Single container with glow effects - perfect for highlighting individual elements or call-to-action cards.",
|
|
199
|
+
},
|
|
200
|
+
},
|
|
201
|
+
};
|
|
202
|
+
|
|
203
|
+
export const TwoContainers = Template.bind({});
|
|
204
|
+
TwoContainers.args = {
|
|
205
|
+
itemCount: 2,
|
|
206
|
+
};
|
|
207
|
+
|
|
208
|
+
export const FourContainers = Template.bind({});
|
|
209
|
+
FourContainers.args = {
|
|
210
|
+
itemCount: 4,
|
|
211
|
+
};
|
|
212
|
+
FourContainers.parameters = {
|
|
213
|
+
docs: {
|
|
214
|
+
description: {
|
|
215
|
+
story:
|
|
216
|
+
"Four containers showing how the glow effect scales with multiple elements - ideal for feature grids or product showcases.",
|
|
217
|
+
},
|
|
218
|
+
},
|
|
219
|
+
};
|
|
220
|
+
|
|
221
|
+
// ===== CONFIGURATION STORIES =====
|
|
222
|
+
|
|
223
|
+
export const HighIntensityGlow: StoryFn<ContainerGlowCoreArgs> = (args) => ({
|
|
224
|
+
components: { ContainerGlowCoreComponent },
|
|
225
|
+
setup() {
|
|
226
|
+
return { args };
|
|
227
|
+
},
|
|
228
|
+
template: `
|
|
229
|
+
<div style="background: #000000; padding: 60px 40px; min-height: 80vh; display: flex; align-items: center; justify-content: center;">
|
|
230
|
+
<div style="text-align: center; width: 100%;">
|
|
231
|
+
<div style="margin-bottom: 40px;">
|
|
232
|
+
<h2 style="color: white; margin: 0 0 16px 0; font-size: 28px; font-weight: 700; text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);">
|
|
233
|
+
🔥 High Intensity Glow
|
|
234
|
+
</h2>
|
|
235
|
+
<p style="color: rgba(255, 255, 255, 0.8); margin: 0 0 8px 0; font-size: 16px;">
|
|
236
|
+
Maximum glow settings for dramatic effects
|
|
237
|
+
</p>
|
|
238
|
+
<div style="display: inline-flex; gap: 16px; font-family: monospace; font-size: 12px; color: #10b981;">
|
|
239
|
+
<span>Proximity: {{ args.config.proximity }}px</span>
|
|
240
|
+
<span>Spread: {{ args.config.spread }}°</span>
|
|
241
|
+
<span>Blur: {{ args.config.blur }}px</span>
|
|
242
|
+
<span>Inactive Opacity: {{ args.config.inactiveOpacity }}</span>
|
|
243
|
+
</div>
|
|
244
|
+
</div>
|
|
245
|
+
|
|
246
|
+
<ContainerGlowCoreComponent
|
|
247
|
+
:item-count="args.itemCount"
|
|
248
|
+
:tag="args.tag"
|
|
249
|
+
:style-class-passthrough="args.styleClassPassthrough"
|
|
250
|
+
:config="args.config"
|
|
251
|
+
>
|
|
252
|
+
<template v-for="n in args.itemCount" :key="n" v-slot:['container-glow-' + (n - 1)]>
|
|
253
|
+
<div style="height: 100%; display: flex; flex-direction: column; text-align: center;">
|
|
254
|
+
<div style="margin-bottom: 20px;">
|
|
255
|
+
<div style="width: 56px; height: 56px; background: linear-gradient(135deg, #ff6b6b, #ffd93d, #6bcf7f, #4d79ff); border-radius: 16px; margin: 0 auto 16px auto; display: flex; align-items: center; justify-content: center; font-size: 24px; color: white; font-weight: bold; box-shadow: 0 0 20px rgba(255, 107, 107, 0.4);">
|
|
256
|
+
🌟
|
|
257
|
+
</div>
|
|
258
|
+
<h3 style="margin: 0 0 8px 0; color: white; font-size: 18px; font-weight: 700; text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);">
|
|
259
|
+
Intense {{ n }}
|
|
260
|
+
</h3>
|
|
261
|
+
<p style="margin: 0; color: rgba(255, 255, 255, 0.7); font-size: 14px;">
|
|
262
|
+
High-impact glow effect
|
|
263
|
+
</p>
|
|
264
|
+
</div>
|
|
265
|
+
|
|
266
|
+
<div style="flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 16px;">
|
|
267
|
+
<div style="padding: 20px; background: rgba(255, 255, 255, 0.05); border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.1);">
|
|
268
|
+
<h4 style="margin: 0 0 12px 0; color: #f59e0b; font-size: 14px; font-weight: 600;">⚡ Power Settings</h4>
|
|
269
|
+
<div style="display: grid; gap: 8px; font-family: monospace; font-size: 10px; color: rgba(255, 255, 255, 0.8);">
|
|
270
|
+
<div style="display: flex; justify-content: space-between;">
|
|
271
|
+
<span>Range:</span>
|
|
272
|
+
<span style="color: #10b981;">{{ args.config.proximity }}px</span>
|
|
273
|
+
</div>
|
|
274
|
+
<div style="display: flex; justify-content: space-between;">
|
|
275
|
+
<span>Intensity:</span>
|
|
276
|
+
<span style="color: #f59e0b;">{{ Math.round(args.config.inactiveOpacity * 100) }}%</span>
|
|
277
|
+
</div>
|
|
278
|
+
<div style="display: flex; justify-content: space-between;">
|
|
279
|
+
<span>Blur:</span>
|
|
280
|
+
<span style="color: #8b5cf6;">{{ args.config.blur }}px</span>
|
|
281
|
+
</div>
|
|
282
|
+
</div>
|
|
283
|
+
</div>
|
|
284
|
+
|
|
285
|
+
<div style="padding: 16px; background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), rgba(139, 92, 246, 0.1)); border-radius: 8px; border: 1px solid rgba(255, 107, 107, 0.2);">
|
|
286
|
+
<p style="margin: 0; color: #ff6b6b; font-size: 11px; line-height: 1.4; font-weight: 500;">
|
|
287
|
+
🎯 Move cursor close for maximum glow intensity
|
|
288
|
+
</p>
|
|
289
|
+
</div>
|
|
290
|
+
</div>
|
|
291
|
+
</div>
|
|
292
|
+
</template>
|
|
293
|
+
</ContainerGlowCoreComponent>
|
|
294
|
+
</div>
|
|
295
|
+
</div>
|
|
296
|
+
`,
|
|
297
|
+
});
|
|
298
|
+
HighIntensityGlow.args = {
|
|
299
|
+
itemCount: 3,
|
|
300
|
+
config: {
|
|
301
|
+
proximity: 100,
|
|
302
|
+
spread: 120,
|
|
303
|
+
blur: 40,
|
|
304
|
+
gap: 48,
|
|
305
|
+
vertical: false,
|
|
306
|
+
inactiveOpacity: 0,
|
|
307
|
+
},
|
|
308
|
+
};
|
|
309
|
+
HighIntensityGlow.parameters = {
|
|
310
|
+
docs: {
|
|
311
|
+
description: {
|
|
312
|
+
story:
|
|
313
|
+
"High-intensity glow configuration with increased proximity range, spread, blur, and opacity for dramatic visual effects.",
|
|
314
|
+
},
|
|
315
|
+
},
|
|
316
|
+
};
|
|
317
|
+
|
|
318
|
+
export const SubtleGlow = Template.bind({});
|
|
319
|
+
SubtleGlow.args = {
|
|
320
|
+
itemCount: 4,
|
|
321
|
+
config: {
|
|
322
|
+
proximity: 30,
|
|
323
|
+
spread: 40,
|
|
324
|
+
blur: 10,
|
|
325
|
+
gap: 20,
|
|
326
|
+
vertical: false,
|
|
327
|
+
inactiveOpacity: 0,
|
|
328
|
+
},
|
|
329
|
+
};
|
|
330
|
+
SubtleGlow.parameters = {
|
|
331
|
+
docs: {
|
|
332
|
+
description: {
|
|
333
|
+
story:
|
|
334
|
+
"Subtle glow configuration with reduced intensity, tighter proximity, and minimal blur for elegant, understated effects.",
|
|
335
|
+
},
|
|
336
|
+
},
|
|
337
|
+
};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<component
|
|
3
|
+
:is="props.tag"
|
|
4
|
+
class="two-column-layout-container"
|
|
5
|
+
:class="[elementClasses]"
|
|
6
|
+
:data-testid="props.dataTestid"
|
|
7
|
+
>
|
|
8
|
+
<div class="two-column-layout">
|
|
9
|
+
<div v-if="slots.col1" class="col-1">
|
|
10
|
+
<slot name="col1"></slot>
|
|
11
|
+
</div>
|
|
12
|
+
<div v-if="slots.col2" class="col-2">
|
|
13
|
+
<slot name="col2"></slot>
|
|
14
|
+
</div>
|
|
15
|
+
</div>
|
|
16
|
+
</component>
|
|
17
|
+
</template>
|
|
18
|
+
|
|
19
|
+
<script setup lang="ts">
|
|
20
|
+
const props = defineProps({
|
|
21
|
+
dataTestid: {
|
|
22
|
+
type: String,
|
|
23
|
+
default: "two-column-layout",
|
|
24
|
+
},
|
|
25
|
+
tag: {
|
|
26
|
+
type: String,
|
|
27
|
+
default: "div",
|
|
28
|
+
validator(value: string) {
|
|
29
|
+
return ["div", "section", "article", "aside", "header", "footer", "main", "nav"].includes(value);
|
|
30
|
+
},
|
|
31
|
+
},
|
|
32
|
+
styleClassPassthrough: {
|
|
33
|
+
type: [String, Array] as PropType<string | string[]>,
|
|
34
|
+
default: () => [],
|
|
35
|
+
},
|
|
36
|
+
});
|
|
37
|
+
const slots = useSlots();
|
|
38
|
+
const { elementClasses } = useStyleClassPassthrough(props.styleClassPassthrough);
|
|
39
|
+
</script>
|
|
40
|
+
|
|
41
|
+
<style lang="css">
|
|
42
|
+
@layer components {
|
|
43
|
+
.two-column-layout-container {
|
|
44
|
+
container-type: inline-size;
|
|
45
|
+
container-name: two-column-layout;
|
|
46
|
+
|
|
47
|
+
.two-column-layout {
|
|
48
|
+
display: grid;
|
|
49
|
+
justify-content: start;
|
|
50
|
+
grid-auto-flow: row;
|
|
51
|
+
gap: 32px;
|
|
52
|
+
|
|
53
|
+
@container two-column-layout (width >= 1064px) {
|
|
54
|
+
grid-template-columns: repeat(2, 1fr);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
</style>
|