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,293 @@
|
|
|
1
|
+
// Theme types for form components
|
|
2
|
+
export type FormUiTheme = "default" | "success" | "error" | "warning";
|
|
3
|
+
|
|
4
|
+
// Button type attribute values
|
|
5
|
+
export type InputTypesButton = "button" | "reset" | "submit" | undefined;
|
|
6
|
+
|
|
7
|
+
// Input variant types for button components
|
|
8
|
+
export type InputButtonVariant = "primary" | "secondary" | "tertiary" | "inline";
|
|
9
|
+
|
|
10
|
+
// Input variant types for form components
|
|
11
|
+
export type InputUiVariant = "normal" | "outlined" | "underlined";
|
|
12
|
+
|
|
13
|
+
// Other form-specific types
|
|
14
|
+
export type CheckboxAppearance = null | "with-decorator";
|
|
15
|
+
export type CheckboxStyle = "check" | "cross";
|
|
16
|
+
export type RadioAppearance = null | "with-decorator";
|
|
17
|
+
export type OptionsLayout = "block" | "inline" | "equal-widths";
|
|
18
|
+
export type LabelWeight = "normal" | "semi-bold" | "bold";
|
|
19
|
+
export type InputTypesText = "text" | "email" | "password" | "number" | "tel" | "url";
|
|
20
|
+
export type InputMode = "text" | "email" | "tel" | "url" | "search" | "numeric" | "none" | "decimal";
|
|
21
|
+
|
|
22
|
+
// Weight types for form components
|
|
23
|
+
export type FormWeight =
|
|
24
|
+
| "wght-100"
|
|
25
|
+
| "wght-200"
|
|
26
|
+
| "wght-300"
|
|
27
|
+
| "wght-400"
|
|
28
|
+
| "wght-500"
|
|
29
|
+
| "wght-600"
|
|
30
|
+
| "wght-700"
|
|
31
|
+
| "wght-800"
|
|
32
|
+
| "wght-900"
|
|
33
|
+
| "light"
|
|
34
|
+
| "normal"
|
|
35
|
+
| "bold"
|
|
36
|
+
| "fvs-wght-100"
|
|
37
|
+
| "fvs-wght-200"
|
|
38
|
+
| "fvs-wght-300"
|
|
39
|
+
| "fvs-wght-400"
|
|
40
|
+
| "fvs-wght-500"
|
|
41
|
+
| "fvs-wght-600"
|
|
42
|
+
| "fvs-wght-700"
|
|
43
|
+
| "fvs-wght-800"
|
|
44
|
+
| "fvs-wght-900";
|
|
45
|
+
|
|
46
|
+
export interface IValidationPatterns {
|
|
47
|
+
pattern: string;
|
|
48
|
+
minlength: string;
|
|
49
|
+
maxlength: string;
|
|
50
|
+
hint: string;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export interface IOptionsConfig {
|
|
54
|
+
id: string;
|
|
55
|
+
name: string;
|
|
56
|
+
value: string;
|
|
57
|
+
label: string;
|
|
58
|
+
icon?: string;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export interface IFormMultipleOptions {
|
|
62
|
+
data: IOptionsConfig[];
|
|
63
|
+
total: number;
|
|
64
|
+
skip: number;
|
|
65
|
+
limit: number;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export interface IOptionsValueArr {
|
|
69
|
+
[key: string]: string | boolean | number | URL | object;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export interface IFieldsInitialState {
|
|
73
|
+
[key: string]: null | string | boolean | number | URL | object | IOptionsValueArr[];
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export type TFieldsInitialState = {
|
|
77
|
+
[key: string]: null | string | boolean | number | URL | object | IOptionsValueArr[];
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
export interface IValidityState {
|
|
81
|
+
badInput: boolean;
|
|
82
|
+
customError: boolean;
|
|
83
|
+
patternMismatch: boolean;
|
|
84
|
+
rangeOverflow: boolean;
|
|
85
|
+
rangeUnderflow: boolean;
|
|
86
|
+
stepMismatch: boolean;
|
|
87
|
+
tooLong: boolean;
|
|
88
|
+
tooShort: boolean;
|
|
89
|
+
typeMismatch: boolean;
|
|
90
|
+
valid: boolean;
|
|
91
|
+
valueMissing: boolean;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export interface IValidityStateArr {
|
|
95
|
+
[key: string]: {
|
|
96
|
+
badInput: boolean;
|
|
97
|
+
customError: boolean;
|
|
98
|
+
patternMismatch: boolean;
|
|
99
|
+
rangeOverflow: boolean;
|
|
100
|
+
rangeUnderflow: boolean;
|
|
101
|
+
stepMismatch: boolean;
|
|
102
|
+
tooLong: boolean;
|
|
103
|
+
tooShort: boolean;
|
|
104
|
+
typeMismatch: boolean;
|
|
105
|
+
valid: boolean;
|
|
106
|
+
valueMissing: boolean;
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
export interface IFormFieldsState {
|
|
111
|
+
[key: string]: boolean;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
export interface ICustomErrorMessage {
|
|
115
|
+
useCustomError: boolean;
|
|
116
|
+
message: string;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
export interface InpuTextC12 {
|
|
120
|
+
label: string;
|
|
121
|
+
placeholder: string;
|
|
122
|
+
errorMessage: string;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
export interface IErrorMessagesArr {
|
|
126
|
+
[x: string]: ICustomErrorMessage;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
export interface IFormFieldC12 {
|
|
130
|
+
label: string;
|
|
131
|
+
placeholder: string;
|
|
132
|
+
errorMessage: string;
|
|
133
|
+
useCustomError: boolean;
|
|
134
|
+
customErrors: null | string | string[];
|
|
135
|
+
isValid: boolean;
|
|
136
|
+
isDirty: boolean;
|
|
137
|
+
type: string;
|
|
138
|
+
previousValue: null | string | boolean | number | URL | object;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
export interface IFormFieldsC12 {
|
|
142
|
+
[x: string]: IFormFieldC12;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
export interface IFormFieldState {
|
|
146
|
+
isValid: boolean;
|
|
147
|
+
isDirty: boolean;
|
|
148
|
+
previousValue: null | string | boolean | number | URL | object;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
export interface IFormFieldStateObj {
|
|
152
|
+
[x: string]: IFormFieldState;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
export interface IFormData {
|
|
156
|
+
[x: string]: string | boolean | number | URL | object;
|
|
157
|
+
data: IFieldsInitialState;
|
|
158
|
+
validityState: IFormFieldsState;
|
|
159
|
+
dirtyFields: IFormFieldsState;
|
|
160
|
+
focusedField: string;
|
|
161
|
+
isPending: boolean;
|
|
162
|
+
errorCount: number;
|
|
163
|
+
errorMessages: IErrorMessagesArr;
|
|
164
|
+
formFieldsC12: IFormFieldsC12;
|
|
165
|
+
formIsValid: boolean;
|
|
166
|
+
submitAttempted: boolean;
|
|
167
|
+
submitDisabled: boolean;
|
|
168
|
+
submitSuccess: boolean;
|
|
169
|
+
displayErrorMessages: boolean;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
export interface IApiErrorMessages {
|
|
173
|
+
[x: string]: string;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
// New types
|
|
177
|
+
|
|
178
|
+
export interface C12nInputText {
|
|
179
|
+
type: string;
|
|
180
|
+
id: string;
|
|
181
|
+
name: string;
|
|
182
|
+
label: string;
|
|
183
|
+
placeholder: string;
|
|
184
|
+
errorMessage: string;
|
|
185
|
+
fieldHasError: boolean;
|
|
186
|
+
required: boolean;
|
|
187
|
+
styleClassPassthrough: string[];
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
export interface C12nMultipleCheckboxes {
|
|
191
|
+
id: string;
|
|
192
|
+
name: string;
|
|
193
|
+
label: string;
|
|
194
|
+
legend: string;
|
|
195
|
+
placeholder: string;
|
|
196
|
+
errorMessage: string;
|
|
197
|
+
fieldHasError: boolean;
|
|
198
|
+
required: boolean;
|
|
199
|
+
styleClassPassthrough: string[];
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
export interface C12nInputCheckboxWithLabel {
|
|
203
|
+
id: string;
|
|
204
|
+
name: string;
|
|
205
|
+
required: string;
|
|
206
|
+
label: string;
|
|
207
|
+
placeholder: string;
|
|
208
|
+
errorMessage: string | string[];
|
|
209
|
+
fieldHasError: boolean;
|
|
210
|
+
styleClassPassthrough: string[];
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
export interface C12nInputRange {
|
|
214
|
+
id: string;
|
|
215
|
+
name: string;
|
|
216
|
+
label: string;
|
|
217
|
+
min: number;
|
|
218
|
+
max: number;
|
|
219
|
+
step: number;
|
|
220
|
+
placeholder: string;
|
|
221
|
+
errorMessage: string;
|
|
222
|
+
fieldHasError: boolean;
|
|
223
|
+
required: boolean;
|
|
224
|
+
styleClassPassthrough: string[];
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
export interface C12nInputTextCore {
|
|
228
|
+
type: string;
|
|
229
|
+
id: string;
|
|
230
|
+
name: string;
|
|
231
|
+
label: string;
|
|
232
|
+
placeholder: string;
|
|
233
|
+
errorMessage: string;
|
|
234
|
+
fieldHasError: boolean;
|
|
235
|
+
required: boolean;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
export interface InputTextWithLabel {
|
|
239
|
+
type: string;
|
|
240
|
+
id: string;
|
|
241
|
+
name: string;
|
|
242
|
+
label: string;
|
|
243
|
+
placeholder: string;
|
|
244
|
+
errorMessage: string;
|
|
245
|
+
fieldHasError: boolean;
|
|
246
|
+
required: boolean;
|
|
247
|
+
styleClassPassthrough: string[];
|
|
248
|
+
deepCssClassPassthrough: string[];
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
export interface ApiErrorResponse {
|
|
252
|
+
url: string;
|
|
253
|
+
statusCode: number;
|
|
254
|
+
statusMessage: string;
|
|
255
|
+
message: string;
|
|
256
|
+
stack: string;
|
|
257
|
+
data: {
|
|
258
|
+
errors: {
|
|
259
|
+
[key: string]: string | string[]; // Index signature for dynamic keys
|
|
260
|
+
};
|
|
261
|
+
};
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
// Button component shared props
|
|
265
|
+
export interface BaseButtonProps {
|
|
266
|
+
size?: string;
|
|
267
|
+
weight?: string;
|
|
268
|
+
theme?: string;
|
|
269
|
+
buttonText: string;
|
|
270
|
+
dataTestid?: string;
|
|
271
|
+
styleClassPassthrough?: string | string[];
|
|
272
|
+
useEffect?: boolean;
|
|
273
|
+
effect?: "fancy" | "pulse";
|
|
274
|
+
isPending?: boolean;
|
|
275
|
+
readonly?: boolean;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
// Checkbox/Radio component shared props
|
|
279
|
+
export interface BaseCheckboxRadioProps {
|
|
280
|
+
type: "checkbox" | "radio";
|
|
281
|
+
id: string;
|
|
282
|
+
name: string;
|
|
283
|
+
required?: boolean;
|
|
284
|
+
size?: string;
|
|
285
|
+
theme?: string;
|
|
286
|
+
fieldHasError?: boolean;
|
|
287
|
+
styleClassPassthrough?: string | string[];
|
|
288
|
+
trueValue?: string | number | boolean;
|
|
289
|
+
falseValue?: string | number | boolean;
|
|
290
|
+
ariaDescribedby?: string;
|
|
291
|
+
displayAsDisc?: boolean;
|
|
292
|
+
multipleOptions?: boolean;
|
|
293
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type {
|
|
2
|
+
IFieldsInitialState,
|
|
3
|
+
IFormFieldsState,
|
|
4
|
+
IFormFieldsC12,
|
|
5
|
+
IFormFieldC12,
|
|
6
|
+
IApiErrorMessages,
|
|
7
|
+
ICustomErrorMessage,
|
|
8
|
+
IErrorMessagesArr,
|
|
9
|
+
} from "../../app/types/forms/types.forms"
|
|
10
|
+
|
|
11
|
+
export interface IZodeFormControl {
|
|
12
|
+
[x: string]: string | boolean | number | URL | object
|
|
13
|
+
data: IFieldsInitialState
|
|
14
|
+
validityState: IFormFieldsState
|
|
15
|
+
dirtyFields: IFormFieldsState
|
|
16
|
+
focusedField: string
|
|
17
|
+
isDisabled: boolean
|
|
18
|
+
isPending: boolean
|
|
19
|
+
errorCount: number
|
|
20
|
+
errorMessages: IErrorMessagesArr
|
|
21
|
+
formFieldsC12: IFormFieldsC12
|
|
22
|
+
formIsValid: boolean
|
|
23
|
+
submitAttempted: boolean
|
|
24
|
+
submitDisabled: boolean
|
|
25
|
+
submitSuccess: boolean
|
|
26
|
+
displayErrorMessages: boolean
|
|
27
|
+
displayLoader: boolean
|
|
28
|
+
submitSuccessful: boolean
|
|
29
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export interface Posts {
|
|
2
|
+
posts: Post[];
|
|
3
|
+
total: number;
|
|
4
|
+
skip: number;
|
|
5
|
+
limit: number;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export interface Post {
|
|
9
|
+
id: number;
|
|
10
|
+
title: string;
|
|
11
|
+
body: string;
|
|
12
|
+
tags: string[];
|
|
13
|
+
reactions: Reactions;
|
|
14
|
+
views: number;
|
|
15
|
+
userId: number;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export interface Reactions {
|
|
19
|
+
likes: number;
|
|
20
|
+
dislikes: number;
|
|
21
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { TextConfig } from "~/types/components/hero-text";
|
|
2
|
+
|
|
3
|
+
export interface Service {
|
|
4
|
+
slug: string;
|
|
5
|
+
title: string;
|
|
6
|
+
subtitle: string;
|
|
7
|
+
price: string;
|
|
8
|
+
duration: string;
|
|
9
|
+
image: string;
|
|
10
|
+
shortDescription: string;
|
|
11
|
+
longDescription: string;
|
|
12
|
+
heroHeading: TextConfig[];
|
|
13
|
+
whatIsIt: string;
|
|
14
|
+
process: string[];
|
|
15
|
+
idealFor: string[];
|
|
16
|
+
maintenance: string;
|
|
17
|
+
faqs: { question: string; answer: string }[];
|
|
18
|
+
seoTitle: string;
|
|
19
|
+
seoDescription: string;
|
|
20
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// utils/colour-scheme-init.ts
|
|
2
|
+
export const COLOUR_SCHEME_KEY = "colourScheme";
|
|
3
|
+
export type ColourScheme = "auto" | "dark" | "light";
|
|
4
|
+
|
|
5
|
+
export const getValidScheme = (value: string | null): ColourScheme => {
|
|
6
|
+
if (value === "dark" || value === "light" || value === "auto") return value;
|
|
7
|
+
return "auto";
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
export const applyColourScheme = (scheme: ColourScheme) => {
|
|
11
|
+
document.documentElement.dataset.colorScheme = scheme;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export const initColourScheme = () => {
|
|
15
|
+
const saved = localStorage.getItem(COLOUR_SCHEME_KEY);
|
|
16
|
+
applyColourScheme(getValidScheme(saved));
|
|
17
|
+
};
|
package/nuxt.config.ts
CHANGED
|
@@ -1,23 +1,60 @@
|
|
|
1
1
|
// https://nuxt.com/docs/api/configuration/nuxt-config
|
|
2
2
|
export default defineNuxtConfig({
|
|
3
3
|
devtools: { enabled: true },
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
|
|
5
|
+
// Server-only secrets — Nuxt reads matching NUXT_* env vars automatically.
|
|
6
|
+
// e.g. NUXT_RESEND_API_KEY → runtimeConfig.resendApiKey
|
|
7
|
+
// These are never sent to the browser.
|
|
8
|
+
runtimeConfig: {
|
|
9
|
+
resendApiKey: "", // NUXT_RESEND_API_KEY
|
|
10
|
+
contactEmailTo: "", // NUXT_CONTACT_EMAIL_TO — inbox that receives enquiries
|
|
11
|
+
contactEmailFrom: "", // NUXT_CONTACT_EMAIL_FROM — must be a verified Resend domain
|
|
12
|
+
},
|
|
13
|
+
css: ["./app/assets/styles/main.css"],
|
|
14
|
+
modules: [
|
|
15
|
+
"@nuxt/eslint",
|
|
16
|
+
"@nuxt/icon",
|
|
17
|
+
...(process.env.STORYBOOK ? [] : ["@nuxt/fonts"]),
|
|
18
|
+
"@nuxt/image",
|
|
19
|
+
"@nuxtjs/i18n",
|
|
20
|
+
"nuxt-qrcode",
|
|
21
|
+
"@pinia/nuxt",
|
|
22
|
+
"@vueuse/motion/nuxt",
|
|
23
|
+
"pinia-plugin-persistedstate/nuxt",
|
|
24
|
+
"@nuxt/test-utils/module",
|
|
25
|
+
],
|
|
6
26
|
i18n: {
|
|
7
27
|
defaultLocale: "en",
|
|
8
28
|
locales: ["en"],
|
|
9
29
|
},
|
|
30
|
+
imports: {
|
|
31
|
+
dirs: ["./stores"],
|
|
32
|
+
},
|
|
10
33
|
app: {
|
|
11
34
|
head: {
|
|
12
35
|
htmlAttrs: {
|
|
13
36
|
lang: "en",
|
|
14
|
-
"data-color-scheme": "auto",
|
|
15
37
|
},
|
|
16
38
|
titleTemplate: "%s - Nuxt Components Layer",
|
|
17
39
|
meta: [{ charset: "utf-8" }, { name: "viewport", content: "width=device-width, initial-scale=1" }],
|
|
18
40
|
bodyAttrs: {
|
|
19
41
|
class: "srcdev-components-extended",
|
|
20
42
|
},
|
|
43
|
+
script: [
|
|
44
|
+
{
|
|
45
|
+
// Inlined so it runs synchronously before first paint
|
|
46
|
+
innerHTML: `
|
|
47
|
+
(function() {
|
|
48
|
+
var saved = localStorage.getItem('colourScheme');
|
|
49
|
+
var valid = ['auto', 'dark', 'light'];
|
|
50
|
+
var scheme = valid.includes(saved) ? saved : 'auto';
|
|
51
|
+
document.documentElement.dataset.colorScheme = scheme;
|
|
52
|
+
})();
|
|
53
|
+
`,
|
|
54
|
+
tagPosition: "head",
|
|
55
|
+
tagPriority: "critical",
|
|
56
|
+
},
|
|
57
|
+
],
|
|
21
58
|
},
|
|
22
59
|
pageTransition: {
|
|
23
60
|
name: "page",
|
|
@@ -35,13 +72,56 @@ export default defineNuxtConfig({
|
|
|
35
72
|
pathPrefix: false,
|
|
36
73
|
},
|
|
37
74
|
],
|
|
75
|
+
fonts: {
|
|
76
|
+
assets: {
|
|
77
|
+
// The baseURL where font files are served.
|
|
78
|
+
prefix: "/_fonts",
|
|
79
|
+
},
|
|
80
|
+
families: [
|
|
81
|
+
{
|
|
82
|
+
name: "Poppins",
|
|
83
|
+
weights: [100, 200, 300, 400, 500, 600, 700, 800, 900],
|
|
84
|
+
styles: ["normal", "italic"],
|
|
85
|
+
provider: "bunny",
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
name: "Playfair Display",
|
|
89
|
+
weights: [400, 500, 600, 700, 800, 900],
|
|
90
|
+
styles: ["normal", "italic"],
|
|
91
|
+
provider: "bunny",
|
|
92
|
+
},
|
|
93
|
+
// {
|
|
94
|
+
// name: "Quicksand",
|
|
95
|
+
// weights: [300, 400, 500, 600, 700],
|
|
96
|
+
// styles: ["normal"],
|
|
97
|
+
// provider: "local",
|
|
98
|
+
// display: "swap",
|
|
99
|
+
// preload: false,
|
|
100
|
+
// },
|
|
101
|
+
// {
|
|
102
|
+
// name: "Inter Variable",
|
|
103
|
+
// styles: ["normal", "italic"],
|
|
104
|
+
// provider: "fontsource",
|
|
105
|
+
// },
|
|
106
|
+
],
|
|
107
|
+
},
|
|
108
|
+
image: {
|
|
109
|
+
// In Storybook, use 'none' provider so images render as plain /images/... paths
|
|
110
|
+
// (avoids /_vercel/image which has no source images in storybook-static/)
|
|
111
|
+
provider: process.env.STORYBOOK ? "none" : undefined,
|
|
112
|
+
},
|
|
38
113
|
vue: {
|
|
39
114
|
runtimeCompiler: true,
|
|
40
115
|
},
|
|
41
|
-
compatibilityDate: "
|
|
116
|
+
compatibilityDate: "2026-01-30",
|
|
42
117
|
typescript: {
|
|
43
118
|
includeWorkspace: true,
|
|
44
119
|
strict: true,
|
|
45
|
-
typeCheck:
|
|
120
|
+
typeCheck: "build", // Enable type checking during build only - Fixes vue-tsc dependency issues
|
|
121
|
+
tsConfig: {
|
|
122
|
+
compilerOptions: {
|
|
123
|
+
types: ["vitest/globals"], // TypeScript support for globals
|
|
124
|
+
},
|
|
125
|
+
},
|
|
46
126
|
},
|
|
47
|
-
})
|
|
127
|
+
});
|
package/package.json
CHANGED
|
@@ -1,21 +1,36 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "srcdev-nuxt-components",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "9.0.0",
|
|
5
5
|
"main": "nuxt.config.ts",
|
|
6
6
|
"types": "types.d.ts",
|
|
7
|
+
"license": "MIT",
|
|
8
|
+
"engines": {
|
|
9
|
+
"node": ">=20.19.0",
|
|
10
|
+
"npm": ">=10.0.0"
|
|
11
|
+
},
|
|
7
12
|
"scripts": {
|
|
8
|
-
"clean": "rm -rf .nuxt && rm -rf .output
|
|
9
|
-
"cleanall": "rm -rf node_modules && rm -rf .nuxt && rm -rf .output && rm
|
|
13
|
+
"clean": "rm -rf .nuxt && rm -rf .output",
|
|
14
|
+
"cleanall": "rm -rf node_modules && rm -rf .nuxt && rm -rf .output && rm package-lock.json",
|
|
10
15
|
"reinstall": "rm -rf node_modules && npm install",
|
|
11
16
|
"cleaninstall": "npm run clean && npm run reinstall",
|
|
12
|
-
"dev": "nuxi dev
|
|
13
|
-
"build": "nuxt build
|
|
14
|
-
"generate": "nuxt generate
|
|
15
|
-
"preview": "nuxt preview
|
|
17
|
+
"dev": "nuxi dev",
|
|
18
|
+
"build": "nuxt build",
|
|
19
|
+
"generate": "nuxt generate",
|
|
20
|
+
"preview": "nuxt preview",
|
|
16
21
|
"lint": "eslint .",
|
|
17
|
-
"postinstall": "nuxt prepare
|
|
18
|
-
"release": "release-it"
|
|
22
|
+
"postinstall": "nuxt prepare",
|
|
23
|
+
"release": "release-it",
|
|
24
|
+
"test": "vitest",
|
|
25
|
+
"test:run": "vitest --run",
|
|
26
|
+
"test:ui": "vitest --ui",
|
|
27
|
+
"test:update": "vitest --update",
|
|
28
|
+
"storybook": "storybook dev -p 6006",
|
|
29
|
+
"storybook:build": "storybook build",
|
|
30
|
+
"storybook:serve": "npm run storybook:build && npx http-server storybook-static --port 6006",
|
|
31
|
+
"storybook:cache:clean": "rm -rf node_modules/.cache/storybook node_modules/.vite",
|
|
32
|
+
"playwright": "npx playwright test",
|
|
33
|
+
"playwright:update": "npx playwright test --update-snapshots"
|
|
19
34
|
},
|
|
20
35
|
"files": [
|
|
21
36
|
"app/",
|
|
@@ -25,24 +40,35 @@
|
|
|
25
40
|
"types.d.ts"
|
|
26
41
|
],
|
|
27
42
|
"devDependencies": {
|
|
43
|
+
"@chromatic-com/storybook": "4.1.2",
|
|
28
44
|
"@iconify-json/akar-icons": "1.2.7",
|
|
29
45
|
"@iconify-json/bi": "1.2.7",
|
|
30
46
|
"@iconify-json/bitcoin-icons": "1.2.4",
|
|
31
|
-
"@iconify-json/gravity-ui": "1.2.
|
|
47
|
+
"@iconify-json/gravity-ui": "1.2.11",
|
|
32
48
|
"@iconify-json/material-symbols": "1.2.53",
|
|
33
49
|
"@iconify-json/mdi": "1.2.3",
|
|
34
50
|
"@nuxt/eslint": "1.13.0",
|
|
35
51
|
"@nuxt/icon": "2.2.1",
|
|
36
52
|
"@nuxt/image": "2.0.0",
|
|
53
|
+
"@nuxt/test-utils": "3.23.0",
|
|
37
54
|
"@nuxtjs/i18n": "10.2.1",
|
|
38
|
-
"@
|
|
55
|
+
"@nuxtjs/storybook": "9.1.0-29374011.dab79ae",
|
|
56
|
+
"@pinia/nuxt": "0.11.3",
|
|
57
|
+
"@playwright/test": "1.58.2",
|
|
58
|
+
"@storybook/addon-a11y": "10.0.7",
|
|
59
|
+
"@storybook/addon-docs": "10.0.7",
|
|
60
|
+
"@storybook/builder-vite": "10.0.7",
|
|
61
|
+
"@vue/test-utils": "2.4.6",
|
|
39
62
|
"eslint": "9.39.2",
|
|
40
|
-
"
|
|
41
|
-
"
|
|
63
|
+
"eslint-plugin-storybook": "10.0.7",
|
|
64
|
+
"happy-dom": "20.5.0",
|
|
42
65
|
"nuxt-qrcode": "0.4.8",
|
|
43
66
|
"patch-package": "8.0.1",
|
|
44
67
|
"release-it": "19.2.4",
|
|
45
|
-
"
|
|
68
|
+
"storybook": "10.0.7",
|
|
69
|
+
"typescript": "5.9.3",
|
|
70
|
+
"vitest": "3.2.4",
|
|
71
|
+
"vue-tsc": "3.2.4"
|
|
46
72
|
},
|
|
47
73
|
"release-it": {
|
|
48
74
|
"$schema": "https://unpkg.com/release-it/schema/release-it.json",
|
|
@@ -53,5 +79,16 @@
|
|
|
53
79
|
"release": true,
|
|
54
80
|
"releaseName": "v${version}"
|
|
55
81
|
}
|
|
82
|
+
},
|
|
83
|
+
"dependencies": {
|
|
84
|
+
"@nuxt/fonts": "0.14.0",
|
|
85
|
+
"@oddbird/css-anchor-positioning": "0.9.0",
|
|
86
|
+
"@vueuse/core": "14.2.0",
|
|
87
|
+
"@vueuse/motion": "^3.0.3",
|
|
88
|
+
"focus-trap-vue": "4.1.0",
|
|
89
|
+
"nuxt": "4.3.0",
|
|
90
|
+
"pinia": "3.0.4",
|
|
91
|
+
"pinia-plugin-persistedstate": "4.7.1",
|
|
92
|
+
"zod": "4.3.6"
|
|
56
93
|
}
|
|
57
94
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
declare module "@oddbird/css-anchor-positioning/polyfill";
|