srcdev-nuxt-components 8.0.3 → 9.0.1
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 +94 -9
- package/package.json +53 -16
- package/types/components/css-anchor-polyfill.d.ts +1 -0
|
@@ -0,0 +1,933 @@
|
|
|
1
|
+
import type { Meta, StoryFn } from "@nuxtjs/storybook";
|
|
2
|
+
import DisplayQrCodeComponent from "../DisplayQrCode.vue";
|
|
3
|
+
import CaptureQrCodeComponent from "../CaptureQrCode.vue";
|
|
4
|
+
import DecodeQrCodeComponent from "../DecodeQrCode.vue";
|
|
5
|
+
import type { QrCodeVariant } from "../../../types/components";
|
|
6
|
+
|
|
7
|
+
// Display QR Code Stories
|
|
8
|
+
const DisplayQrCodeMeta: Meta<typeof DisplayQrCodeComponent> = {
|
|
9
|
+
title: "Components/UI/QR Code/DisplayQrCode",
|
|
10
|
+
component: DisplayQrCodeComponent,
|
|
11
|
+
argTypes: {
|
|
12
|
+
// Content Configuration
|
|
13
|
+
qrValue: {
|
|
14
|
+
control: { type: "text" },
|
|
15
|
+
description: "The value/content to encode in the QR code",
|
|
16
|
+
table: {
|
|
17
|
+
category: "Content",
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
// Visual Configuration
|
|
21
|
+
size: {
|
|
22
|
+
control: { type: "text" },
|
|
23
|
+
description: "Size of the QR code (CSS value like '256px', '10rem')",
|
|
24
|
+
table: {
|
|
25
|
+
category: "Appearance",
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
radius: {
|
|
29
|
+
control: { type: "range", min: 0, max: 20, step: 1 },
|
|
30
|
+
description: "Border radius of the QR code corners",
|
|
31
|
+
table: {
|
|
32
|
+
category: "Appearance",
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
blackColor: {
|
|
36
|
+
control: { type: "color" },
|
|
37
|
+
description: "Color of the QR code foreground elements",
|
|
38
|
+
table: {
|
|
39
|
+
category: "Appearance",
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
whiteColor: {
|
|
43
|
+
control: { type: "color" },
|
|
44
|
+
description: "Color of the QR code background",
|
|
45
|
+
table: {
|
|
46
|
+
category: "Appearance",
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
// Hide complex props from controls
|
|
50
|
+
variant: {
|
|
51
|
+
table: {
|
|
52
|
+
disable: true,
|
|
53
|
+
},
|
|
54
|
+
},
|
|
55
|
+
styleClassPassthrough: {
|
|
56
|
+
table: {
|
|
57
|
+
disable: true,
|
|
58
|
+
},
|
|
59
|
+
},
|
|
60
|
+
},
|
|
61
|
+
args: {
|
|
62
|
+
qrValue: "https://github.com/srcdev/nuxt-components",
|
|
63
|
+
size: "256px",
|
|
64
|
+
radius: 0,
|
|
65
|
+
blackColor: "#000000",
|
|
66
|
+
whiteColor: "transparent",
|
|
67
|
+
styleClassPassthrough: [],
|
|
68
|
+
},
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
interface QrStoryArgs {
|
|
72
|
+
qrValue: string;
|
|
73
|
+
size: string;
|
|
74
|
+
radius: number;
|
|
75
|
+
blackColor: string;
|
|
76
|
+
whiteColor: string;
|
|
77
|
+
styleClassPassthrough: string[];
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
const DisplayTemplate: StoryFn<QrStoryArgs> = (args, { parameters }) => ({
|
|
81
|
+
components: { DisplayQrCodeComponent },
|
|
82
|
+
setup() {
|
|
83
|
+
const variant: QrCodeVariant = parameters?.variant || {
|
|
84
|
+
inner: "default",
|
|
85
|
+
marker: "default",
|
|
86
|
+
pixel: "default",
|
|
87
|
+
};
|
|
88
|
+
|
|
89
|
+
return { args, variant };
|
|
90
|
+
},
|
|
91
|
+
template: `
|
|
92
|
+
<div style="padding: 40px; display: flex; align-items: center; justify-content: center; background: #f5f5f5; border-radius: 8px;">
|
|
93
|
+
<DisplayQrCodeComponent
|
|
94
|
+
:qrValue="args.qrValue"
|
|
95
|
+
:variant="variant"
|
|
96
|
+
:radius="args.radius"
|
|
97
|
+
:blackColor="args.blackColor"
|
|
98
|
+
:whiteColor="args.whiteColor"
|
|
99
|
+
:size="args.size"
|
|
100
|
+
:style-class-passthrough="args.styleClassPassthrough"
|
|
101
|
+
/>
|
|
102
|
+
</div>
|
|
103
|
+
`,
|
|
104
|
+
});
|
|
105
|
+
|
|
106
|
+
// ===== BASIC DISPLAY STORIES =====
|
|
107
|
+
|
|
108
|
+
export const DisplayDefault = DisplayTemplate.bind({});
|
|
109
|
+
export const DisplayDefaultMeta = DisplayQrCodeMeta;
|
|
110
|
+
|
|
111
|
+
export const DisplayWebsite = DisplayTemplate.bind({});
|
|
112
|
+
DisplayWebsite.args = {
|
|
113
|
+
qrValue: "https://nuxt.com",
|
|
114
|
+
radius: 8,
|
|
115
|
+
blackColor: "#000000",
|
|
116
|
+
};
|
|
117
|
+
DisplayWebsite.parameters = {
|
|
118
|
+
variant: {
|
|
119
|
+
inner: "circle",
|
|
120
|
+
marker: "rounded",
|
|
121
|
+
pixel: "dots",
|
|
122
|
+
},
|
|
123
|
+
};
|
|
124
|
+
|
|
125
|
+
// ===== VARIANT SHOWCASE STORIES =====
|
|
126
|
+
|
|
127
|
+
export const VariantDefault = DisplayTemplate.bind({});
|
|
128
|
+
VariantDefault.args = {
|
|
129
|
+
qrValue: "Default variant style",
|
|
130
|
+
radius: 4,
|
|
131
|
+
};
|
|
132
|
+
VariantDefault.parameters = {
|
|
133
|
+
variant: { inner: "default", marker: "default", pixel: "default" },
|
|
134
|
+
};
|
|
135
|
+
|
|
136
|
+
export const VariantCircle = DisplayTemplate.bind({});
|
|
137
|
+
VariantCircle.args = {
|
|
138
|
+
qrValue: "Circle variant style",
|
|
139
|
+
radius: 8,
|
|
140
|
+
blackColor: "#1e40af",
|
|
141
|
+
};
|
|
142
|
+
VariantCircle.parameters = {
|
|
143
|
+
variant: { inner: "circle", marker: "circle", pixel: "circle" },
|
|
144
|
+
};
|
|
145
|
+
|
|
146
|
+
export const VariantRounded = DisplayTemplate.bind({});
|
|
147
|
+
VariantRounded.args = {
|
|
148
|
+
qrValue: "Rounded variant style",
|
|
149
|
+
radius: 12,
|
|
150
|
+
blackColor: "#059669",
|
|
151
|
+
};
|
|
152
|
+
VariantRounded.parameters = {
|
|
153
|
+
variant: { inner: "rounded", marker: "rounded", pixel: "rounded" },
|
|
154
|
+
};
|
|
155
|
+
|
|
156
|
+
export const VariantDots = DisplayTemplate.bind({});
|
|
157
|
+
VariantDots.args = {
|
|
158
|
+
qrValue: "Dots variant style",
|
|
159
|
+
radius: 6,
|
|
160
|
+
blackColor: "#dc2626",
|
|
161
|
+
};
|
|
162
|
+
VariantDots.parameters = {
|
|
163
|
+
variant: { inner: "dots", marker: "dots", pixel: "dots" },
|
|
164
|
+
};
|
|
165
|
+
|
|
166
|
+
export const VariantMixed = DisplayTemplate.bind({});
|
|
167
|
+
VariantMixed.args = {
|
|
168
|
+
qrValue: "Mixed variants for creative styling",
|
|
169
|
+
radius: 10,
|
|
170
|
+
blackColor: "#7c3aed",
|
|
171
|
+
};
|
|
172
|
+
VariantMixed.parameters = {
|
|
173
|
+
variant: { inner: "circle", marker: "rounded", pixel: "dots" },
|
|
174
|
+
};
|
|
175
|
+
|
|
176
|
+
// ===== REAL-WORLD USE CASE STORIES =====
|
|
177
|
+
|
|
178
|
+
export const WiFiConnection = DisplayTemplate.bind({});
|
|
179
|
+
WiFiConnection.args = {
|
|
180
|
+
qrValue: "WIFI:T:WPA;S:MyHomeNetwork;P:mySecurePassword123;H:false;",
|
|
181
|
+
blackColor: "#1e40af",
|
|
182
|
+
radius: 4,
|
|
183
|
+
};
|
|
184
|
+
WiFiConnection.parameters = {
|
|
185
|
+
variant: { inner: "rounded", marker: "circle", pixel: "default" },
|
|
186
|
+
docs: {
|
|
187
|
+
description: {
|
|
188
|
+
story: "WiFi connection QR code that allows users to automatically connect to a network.",
|
|
189
|
+
},
|
|
190
|
+
},
|
|
191
|
+
};
|
|
192
|
+
|
|
193
|
+
export const VCardContact = DisplayTemplate.bind({});
|
|
194
|
+
VCardContact.args = {
|
|
195
|
+
qrValue:
|
|
196
|
+
"BEGIN:VCARD\\nVERSION:3.0\\nFN:John Doe\\nORG:Acme Corp\\nTITLE:Software Engineer\\nTEL:+1234567890\\nEMAIL:john.doe@acme.com\\nURL:https://johndoe.dev\\nEND:VCARD",
|
|
197
|
+
blackColor: "#059669",
|
|
198
|
+
radius: 12,
|
|
199
|
+
};
|
|
200
|
+
VCardContact.parameters = {
|
|
201
|
+
variant: { inner: "dots", marker: "rounded", pixel: "circle" },
|
|
202
|
+
docs: {
|
|
203
|
+
description: {
|
|
204
|
+
story: "Business card QR code containing complete contact information in vCard format.",
|
|
205
|
+
},
|
|
206
|
+
},
|
|
207
|
+
};
|
|
208
|
+
|
|
209
|
+
export const SMSMessage = DisplayTemplate.bind({});
|
|
210
|
+
SMSMessage.args = {
|
|
211
|
+
qrValue: "sms:+1234567890?body=Hello! I scanned your QR code.",
|
|
212
|
+
blackColor: "#dc2626",
|
|
213
|
+
};
|
|
214
|
+
SMSMessage.parameters = {
|
|
215
|
+
variant: { inner: "circle", marker: "dots", pixel: "rounded" },
|
|
216
|
+
docs: {
|
|
217
|
+
description: {
|
|
218
|
+
story: "SMS QR code that pre-fills a text message when scanned.",
|
|
219
|
+
},
|
|
220
|
+
},
|
|
221
|
+
};
|
|
222
|
+
|
|
223
|
+
export const EmailTemplate = DisplayTemplate.bind({});
|
|
224
|
+
EmailTemplate.args = {
|
|
225
|
+
qrValue: "mailto:support@company.com?subject=Customer Inquiry&body=Hello, I have a question about...",
|
|
226
|
+
blackColor: "#7c3aed",
|
|
227
|
+
};
|
|
228
|
+
EmailTemplate.parameters = {
|
|
229
|
+
variant: { inner: "rounded", marker: "default", pixel: "dots" },
|
|
230
|
+
docs: {
|
|
231
|
+
description: {
|
|
232
|
+
story: "Email QR code with pre-filled subject and body content.",
|
|
233
|
+
},
|
|
234
|
+
},
|
|
235
|
+
};
|
|
236
|
+
|
|
237
|
+
export const CalendarEvent = DisplayTemplate.bind({});
|
|
238
|
+
CalendarEvent.args = {
|
|
239
|
+
qrValue:
|
|
240
|
+
"BEGIN:VCALENDAR\\nVERSION:2.0\\nBEGIN:VEVENT\\nSUMMARY:Team Meeting\\nDTSTART:20260301T140000Z\\nDTEND:20260301T150000Z\\nLOCATION:Conference Room A\\nDESCRIPTION:Weekly team sync meeting\\nEND:VEVENT\\nEND:VCALENDAR",
|
|
241
|
+
blackColor: "#f59e0b",
|
|
242
|
+
radius: 8,
|
|
243
|
+
};
|
|
244
|
+
CalendarEvent.parameters = {
|
|
245
|
+
variant: { inner: "circle", marker: "rounded", pixel: "dots" },
|
|
246
|
+
docs: {
|
|
247
|
+
description: {
|
|
248
|
+
story: "Calendar event QR code that adds an event to the user's calendar when scanned.",
|
|
249
|
+
},
|
|
250
|
+
},
|
|
251
|
+
};
|
|
252
|
+
|
|
253
|
+
export const GeolocationPin = DisplayTemplate.bind({});
|
|
254
|
+
GeolocationPin.args = {
|
|
255
|
+
qrValue: "geo:37.7749,-122.4194?q=37.7749,-122.4194(San Francisco Office)",
|
|
256
|
+
blackColor: "#ec4899",
|
|
257
|
+
radius: 6,
|
|
258
|
+
};
|
|
259
|
+
GeolocationPin.parameters = {
|
|
260
|
+
variant: { inner: "dots", marker: "circle", pixel: "rounded" },
|
|
261
|
+
docs: {
|
|
262
|
+
description: {
|
|
263
|
+
story: "Location QR code that opens maps application with specific coordinates.",
|
|
264
|
+
},
|
|
265
|
+
},
|
|
266
|
+
};
|
|
267
|
+
|
|
268
|
+
// ===== SIZE AND STYLING STORIES =====
|
|
269
|
+
|
|
270
|
+
export const SmallSize = DisplayTemplate.bind({});
|
|
271
|
+
SmallSize.args = {
|
|
272
|
+
qrValue: "Small QR for tight spaces",
|
|
273
|
+
size: "128px",
|
|
274
|
+
radius: 2,
|
|
275
|
+
blackColor: "#f59e0b",
|
|
276
|
+
};
|
|
277
|
+
SmallSize.parameters = {
|
|
278
|
+
variant: { inner: "dots", marker: "circle", pixel: "rounded" },
|
|
279
|
+
};
|
|
280
|
+
|
|
281
|
+
export const LargeSize = DisplayTemplate.bind({});
|
|
282
|
+
LargeSize.args = {
|
|
283
|
+
qrValue: "Large QR for posters and signage with detailed content",
|
|
284
|
+
size: "400px",
|
|
285
|
+
radius: 16,
|
|
286
|
+
blackColor: "#0ea5e9",
|
|
287
|
+
};
|
|
288
|
+
LargeSize.parameters = {
|
|
289
|
+
variant: { inner: "circle", marker: "rounded", pixel: "dots" },
|
|
290
|
+
};
|
|
291
|
+
|
|
292
|
+
export const CustomBranding = DisplayTemplate.bind({});
|
|
293
|
+
CustomBranding.args = {
|
|
294
|
+
qrValue: "https://brand.example.com",
|
|
295
|
+
blackColor: "#ec4899",
|
|
296
|
+
whiteColor: "#ffffff",
|
|
297
|
+
radius: 8,
|
|
298
|
+
size: "300px",
|
|
299
|
+
};
|
|
300
|
+
CustomBranding.parameters = {
|
|
301
|
+
variant: { inner: "circle", marker: "rounded", pixel: "dots" },
|
|
302
|
+
docs: {
|
|
303
|
+
description: {
|
|
304
|
+
story: "QR code with custom brand colors and styling for marketing materials.",
|
|
305
|
+
},
|
|
306
|
+
},
|
|
307
|
+
};
|
|
308
|
+
|
|
309
|
+
export const HighContrast = DisplayTemplate.bind({});
|
|
310
|
+
HighContrast.args = {
|
|
311
|
+
qrValue: "High contrast for accessibility",
|
|
312
|
+
blackColor: "#000000",
|
|
313
|
+
whiteColor: "#ffffff",
|
|
314
|
+
radius: 0,
|
|
315
|
+
size: "256px",
|
|
316
|
+
};
|
|
317
|
+
HighContrast.parameters = {
|
|
318
|
+
variant: { inner: "default", marker: "default", pixel: "default" },
|
|
319
|
+
docs: {
|
|
320
|
+
description: {
|
|
321
|
+
story: "High contrast QR code optimized for accessibility and scanning reliability.",
|
|
322
|
+
},
|
|
323
|
+
},
|
|
324
|
+
};
|
|
325
|
+
|
|
326
|
+
// ===== INTERACTIVE PLAYGROUND STORY =====
|
|
327
|
+
|
|
328
|
+
const PlaygroundTemplate: StoryFn<QrStoryArgs> = (args) => ({
|
|
329
|
+
components: { DisplayQrCodeComponent },
|
|
330
|
+
setup() {
|
|
331
|
+
const qrValue = ref(args.qrValue);
|
|
332
|
+
const variant = ref<QrCodeVariant>({
|
|
333
|
+
inner: "circle",
|
|
334
|
+
marker: "rounded",
|
|
335
|
+
pixel: "dots",
|
|
336
|
+
});
|
|
337
|
+
const radius = ref(args.radius);
|
|
338
|
+
const blackColor = ref(args.blackColor);
|
|
339
|
+
const whiteColor = ref(args.whiteColor);
|
|
340
|
+
const sizeValue = ref(256);
|
|
341
|
+
const size = computed(() => `${sizeValue.value}px`);
|
|
342
|
+
|
|
343
|
+
const presetValues = [
|
|
344
|
+
{ label: "Website URL", value: "https://nuxt.com" },
|
|
345
|
+
{ label: "WiFi Network", value: "WIFI:T:WPA;S:MyNetwork;P:password123;" },
|
|
346
|
+
{ label: "Phone Number", value: "tel:+1234567890" },
|
|
347
|
+
{ label: "Email", value: "mailto:hello@example.com" },
|
|
348
|
+
{ label: "SMS", value: "sms:+1234567890?body=Hello!" },
|
|
349
|
+
{ label: "Location", value: "geo:40.7128,-74.0060" },
|
|
350
|
+
];
|
|
351
|
+
|
|
352
|
+
const variantOptions = ["default", "circle", "rounded", "dots"];
|
|
353
|
+
|
|
354
|
+
return {
|
|
355
|
+
qrValue,
|
|
356
|
+
variant,
|
|
357
|
+
radius,
|
|
358
|
+
blackColor,
|
|
359
|
+
whiteColor,
|
|
360
|
+
sizeValue,
|
|
361
|
+
size,
|
|
362
|
+
presetValues,
|
|
363
|
+
variantOptions,
|
|
364
|
+
};
|
|
365
|
+
},
|
|
366
|
+
template: `
|
|
367
|
+
<div style="padding: 40px;">
|
|
368
|
+
<div style="display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start;">
|
|
369
|
+
|
|
370
|
+
<!-- QR Code Display -->
|
|
371
|
+
<div style="display: flex; align-items: center; justify-content: center; min-height: 400px; background: #f8fafc; border-radius: 8px; padding: 40px;">
|
|
372
|
+
<DisplayQrCodeComponent
|
|
373
|
+
:qrValue="qrValue"
|
|
374
|
+
:variant="variant"
|
|
375
|
+
:radius="radius"
|
|
376
|
+
:blackColor="blackColor"
|
|
377
|
+
:whiteColor="whiteColor"
|
|
378
|
+
:size="size"
|
|
379
|
+
/>
|
|
380
|
+
</div>
|
|
381
|
+
|
|
382
|
+
<!-- Controls Panel -->
|
|
383
|
+
<div style="background: white; padding: 24px; border-radius: 8px; border: 1px solid #e5e7eb;">
|
|
384
|
+
<h3 style="margin: 0 0 20px 0; color: #374151; font-size: 18px;">QR Code Playground</h3>
|
|
385
|
+
|
|
386
|
+
<!-- Content Presets -->
|
|
387
|
+
<div style="margin-bottom: 20px;">
|
|
388
|
+
<label style="display: block; margin-bottom: 8px; font-weight: 500; color: #374151;">Quick Presets:</label>
|
|
389
|
+
<select @change="qrValue = $event.target.value" style="width: 100%; padding: 8px; border: 1px solid #d1d5db; border-radius: 4px;">
|
|
390
|
+
<option value="">Select a preset...</option>
|
|
391
|
+
<option v-for="preset in presetValues" :key="preset.label" :value="preset.value">
|
|
392
|
+
{{ preset.label }}
|
|
393
|
+
</option>
|
|
394
|
+
</select>
|
|
395
|
+
</div>
|
|
396
|
+
|
|
397
|
+
<!-- Custom Content -->
|
|
398
|
+
<div style="margin-bottom: 20px;">
|
|
399
|
+
<label style="display: block; margin-bottom: 8px; font-weight: 500; color: #374151;">Custom Content:</label>
|
|
400
|
+
<textarea
|
|
401
|
+
v-model="qrValue"
|
|
402
|
+
rows="3"
|
|
403
|
+
style="width: 100%; padding: 8px; border: 1px solid #d1d5db; border-radius: 4px; font-family: monospace; font-size: 12px;"
|
|
404
|
+
placeholder="Enter QR code content..."
|
|
405
|
+
/>
|
|
406
|
+
</div>
|
|
407
|
+
|
|
408
|
+
<!-- Variant Controls -->
|
|
409
|
+
<div style="margin-bottom: 20px;">
|
|
410
|
+
<label style="display: block; margin-bottom: 8px; font-weight: 500; color: #374151;">Style Variants:</label>
|
|
411
|
+
<div style="display: grid; gap: 8px;">
|
|
412
|
+
<div>
|
|
413
|
+
<label style="font-size: 12px; color: #6b7280;">Inner:</label>
|
|
414
|
+
<select v-model="variant.inner" style="width: 100%; padding: 4px; border: 1px solid #d1d5db; border-radius: 4px; font-size: 12px;">
|
|
415
|
+
<option v-for="option in variantOptions" :key="option" :value="option">{{ option }}</option>
|
|
416
|
+
</select>
|
|
417
|
+
</div>
|
|
418
|
+
<div>
|
|
419
|
+
<label style="font-size: 12px; color: #6b7280;">Marker:</label>
|
|
420
|
+
<select v-model="variant.marker" style="width: 100%; padding: 4px; border: 1px solid #d1d5db; border-radius: 4px; font-size: 12px;">
|
|
421
|
+
<option v-for="option in variantOptions" :key="option" :value="option">{{ option }}</option>
|
|
422
|
+
</select>
|
|
423
|
+
</div>
|
|
424
|
+
<div>
|
|
425
|
+
<label style="font-size: 12px; color: #6b7280;">Pixel:</label>
|
|
426
|
+
<select v-model="variant.pixel" style="width: 100%; padding: 4px; border: 1px solid #d1d5db; border-radius: 4px; font-size: 12px;">
|
|
427
|
+
<option v-for="option in variantOptions" :key="option" :value="option">{{ option }}</option>
|
|
428
|
+
</select>
|
|
429
|
+
</div>
|
|
430
|
+
</div>
|
|
431
|
+
</div>
|
|
432
|
+
|
|
433
|
+
<!-- Visual Controls -->
|
|
434
|
+
<div style="margin-bottom: 20px;">
|
|
435
|
+
<label style="display: block; margin-bottom: 8px; font-weight: 500; color: #374151;">Appearance:</label>
|
|
436
|
+
<div style="display: grid; gap: 12px;">
|
|
437
|
+
<div>
|
|
438
|
+
<label style="font-size: 12px; color: #6b7280;">Size: {{ sizeValue }}px</label>
|
|
439
|
+
<input v-model.number="sizeValue" type="range" min="128" max="400" step="16" style="width: 100%;" />
|
|
440
|
+
</div>
|
|
441
|
+
<div>
|
|
442
|
+
<label style="font-size: 12px; color: #6b7280;">Radius: {{ radius }}px</label>
|
|
443
|
+
<input v-model.number="radius" type="range" min="0" max="20" step="1" style="width: 100%;" />
|
|
444
|
+
</div>
|
|
445
|
+
<div style="display: grid; grid-template-columns: 1fr 1fr; gap: 8px;">
|
|
446
|
+
<div>
|
|
447
|
+
<label style="font-size: 12px; color: #6b7280;">Foreground:</label>
|
|
448
|
+
<input v-model="blackColor" type="color" style="width: 100%; height: 32px; border: 1px solid #d1d5db; border-radius: 4px;" />
|
|
449
|
+
</div>
|
|
450
|
+
<div>
|
|
451
|
+
<label style="font-size: 12px; color: #6b7280;">Background:</label>
|
|
452
|
+
<input v-model="whiteColor" type="color" style="width: 100%; height: 32px; border: 1px solid #d1d5db; border-radius: 4px;" />
|
|
453
|
+
</div>
|
|
454
|
+
</div>
|
|
455
|
+
</div>
|
|
456
|
+
</div>
|
|
457
|
+
|
|
458
|
+
</div>
|
|
459
|
+
</div>
|
|
460
|
+
</div>
|
|
461
|
+
`,
|
|
462
|
+
});
|
|
463
|
+
|
|
464
|
+
export const InteractivePlayground = PlaygroundTemplate.bind({});
|
|
465
|
+
InteractivePlayground.args = {
|
|
466
|
+
qrValue: "https://github.com/srcdev/nuxt-components",
|
|
467
|
+
radius: 8,
|
|
468
|
+
blackColor: "#000000",
|
|
469
|
+
whiteColor: "transparent",
|
|
470
|
+
size: "256px",
|
|
471
|
+
styleClassPassthrough: [],
|
|
472
|
+
};
|
|
473
|
+
InteractivePlayground.parameters = {
|
|
474
|
+
docs: {
|
|
475
|
+
description: {
|
|
476
|
+
story:
|
|
477
|
+
"Interactive playground to experiment with QR code content, variants, and styling options. Try different presets or enter custom content.",
|
|
478
|
+
},
|
|
479
|
+
},
|
|
480
|
+
};
|
|
481
|
+
|
|
482
|
+
// ===== CAPTURE QR CODE STORIES =====
|
|
483
|
+
|
|
484
|
+
const CaptureQrCodeMeta: Meta<typeof CaptureQrCodeComponent> = {
|
|
485
|
+
title: "Components/UI/QR Code/CaptureQrCode",
|
|
486
|
+
component: CaptureQrCodeComponent,
|
|
487
|
+
argTypes: {
|
|
488
|
+
styleClassPassthrough: {
|
|
489
|
+
table: {
|
|
490
|
+
disable: true,
|
|
491
|
+
},
|
|
492
|
+
},
|
|
493
|
+
},
|
|
494
|
+
args: {
|
|
495
|
+
styleClassPassthrough: [],
|
|
496
|
+
},
|
|
497
|
+
parameters: {
|
|
498
|
+
docs: {
|
|
499
|
+
description: {
|
|
500
|
+
component:
|
|
501
|
+
"Interactive QR code scanner using device camera. Requires camera permissions to function properly. Features automatic detection, error handling, and camera management.",
|
|
502
|
+
},
|
|
503
|
+
},
|
|
504
|
+
},
|
|
505
|
+
};
|
|
506
|
+
|
|
507
|
+
const CaptureTemplate: StoryFn<typeof CaptureQrCodeComponent> = (args) => ({
|
|
508
|
+
components: { CaptureQrCodeComponent },
|
|
509
|
+
setup() {
|
|
510
|
+
return { args };
|
|
511
|
+
},
|
|
512
|
+
template: `
|
|
513
|
+
<div style="padding: 40px; max-width: 600px; margin: 0 auto;">
|
|
514
|
+
<div style="background: #f8fafc; padding: 20px; border-radius: 8px; margin-bottom: 20px;">
|
|
515
|
+
<h3 style="margin: 0 0 10px 0; color: #374151;">📱 Live Camera QR Scanner</h3>
|
|
516
|
+
<p style="margin: 0 0 10px 0; color: #6b7280; font-size: 14px;">
|
|
517
|
+
This component uses your device camera to scan QR codes in real-time.
|
|
518
|
+
Make sure to allow camera access when prompted.
|
|
519
|
+
</p>
|
|
520
|
+
<div style="background: #fff3cd; padding: 12px; border-radius: 4px; border: 1px solid #ffeaa7;">
|
|
521
|
+
<p style="margin: 0; color: #856404; font-size: 12px;">
|
|
522
|
+
<strong>Features:</strong> Automatic detection, multiple code scanning, camera management, error recovery
|
|
523
|
+
</p>
|
|
524
|
+
</div>
|
|
525
|
+
</div>
|
|
526
|
+
<CaptureQrCodeComponent :style-class-passthrough="args.styleClassPassthrough" />
|
|
527
|
+
</div>
|
|
528
|
+
`,
|
|
529
|
+
});
|
|
530
|
+
|
|
531
|
+
export const CaptureDefault = CaptureTemplate.bind({});
|
|
532
|
+
export const CaptureDefaultMeta = CaptureQrCodeMeta;
|
|
533
|
+
|
|
534
|
+
// ===== DECODE QR CODE STORIES =====
|
|
535
|
+
|
|
536
|
+
const DecodeQrCodeMeta: Meta<typeof DecodeQrCodeComponent> = {
|
|
537
|
+
title: "Components/UI/QR Code/DecodeQrCode",
|
|
538
|
+
component: DecodeQrCodeComponent,
|
|
539
|
+
argTypes: {
|
|
540
|
+
styleClassPassthrough: {
|
|
541
|
+
table: {
|
|
542
|
+
disable: true,
|
|
543
|
+
},
|
|
544
|
+
},
|
|
545
|
+
},
|
|
546
|
+
args: {
|
|
547
|
+
styleClassPassthrough: [],
|
|
548
|
+
},
|
|
549
|
+
parameters: {
|
|
550
|
+
docs: {
|
|
551
|
+
description: {
|
|
552
|
+
component:
|
|
553
|
+
"Upload or drag-and-drop QR code images to decode their content. Supports various image formats including PNG, JPEG, WEBP, and more.",
|
|
554
|
+
},
|
|
555
|
+
},
|
|
556
|
+
},
|
|
557
|
+
};
|
|
558
|
+
|
|
559
|
+
const DecodeTemplate: StoryFn<typeof DecodeQrCodeComponent> = (args) => ({
|
|
560
|
+
components: { DecodeQrCodeComponent },
|
|
561
|
+
setup() {
|
|
562
|
+
return { args };
|
|
563
|
+
},
|
|
564
|
+
template: `
|
|
565
|
+
<div style="padding: 40px; max-width: 600px; margin: 0 auto;">
|
|
566
|
+
<div style="background: #f8fafc; padding: 20px; border-radius: 8px; margin-bottom: 20px;">
|
|
567
|
+
<h3 style="margin: 0 0 10px 0; color: #374151;">📁 QR Image Decoder</h3>
|
|
568
|
+
<p style="margin: 0 0 10px 0; color: #6b7280; font-size: 14px;">
|
|
569
|
+
Upload or drag QR code images to extract their content.
|
|
570
|
+
Supports PNG, JPEG, WEBP, and other common image formats.
|
|
571
|
+
</p>
|
|
572
|
+
<div style="background: #d1ecf1; padding: 12px; border-radius: 4px; border: 1px solid #bee5eb;">
|
|
573
|
+
<p style="margin: 0; color: #0c5460; font-size: 12px;">
|
|
574
|
+
<strong>Supported formats:</strong> PNG, JPEG, WEBP, BMP, GIF • <strong>Methods:</strong> File upload, drag & drop
|
|
575
|
+
</p>
|
|
576
|
+
</div>
|
|
577
|
+
</div>
|
|
578
|
+
<DecodeQrCodeComponent :style-class-passthrough="args.styleClassPassthrough" />
|
|
579
|
+
</div>
|
|
580
|
+
`,
|
|
581
|
+
});
|
|
582
|
+
|
|
583
|
+
export const DecodeDefault = DecodeTemplate.bind({});
|
|
584
|
+
export const DecodeDefaultMeta = DecodeQrCodeMeta;
|
|
585
|
+
|
|
586
|
+
// ===== COMPREHENSIVE INTEGRATION STORIES =====
|
|
587
|
+
|
|
588
|
+
const IntegrationTemplate: StoryFn = () => ({
|
|
589
|
+
components: {
|
|
590
|
+
DisplayQrCodeComponent,
|
|
591
|
+
CaptureQrCodeComponent,
|
|
592
|
+
DecodeQrCodeComponent,
|
|
593
|
+
},
|
|
594
|
+
setup() {
|
|
595
|
+
const selectedDemo = ref("display");
|
|
596
|
+
const qrValue = ref("https://github.com/srcdev/nuxt-components");
|
|
597
|
+
|
|
598
|
+
const businessCardVariant: QrCodeVariant = {
|
|
599
|
+
inner: "circle",
|
|
600
|
+
marker: "rounded",
|
|
601
|
+
pixel: "dots",
|
|
602
|
+
};
|
|
603
|
+
|
|
604
|
+
const wifiVariant: QrCodeVariant = {
|
|
605
|
+
inner: "rounded",
|
|
606
|
+
marker: "circle",
|
|
607
|
+
pixel: "default",
|
|
608
|
+
};
|
|
609
|
+
|
|
610
|
+
const contactVariant: QrCodeVariant = {
|
|
611
|
+
inner: "dots",
|
|
612
|
+
marker: "rounded",
|
|
613
|
+
pixel: "circle",
|
|
614
|
+
};
|
|
615
|
+
|
|
616
|
+
return {
|
|
617
|
+
selectedDemo,
|
|
618
|
+
qrValue,
|
|
619
|
+
businessCardVariant,
|
|
620
|
+
wifiVariant,
|
|
621
|
+
contactVariant,
|
|
622
|
+
};
|
|
623
|
+
},
|
|
624
|
+
template: `
|
|
625
|
+
<div style="padding: 40px;">
|
|
626
|
+
<!-- Demo Selector -->
|
|
627
|
+
<div style="text-align: center; margin-bottom: 40px;">
|
|
628
|
+
<h2 style="margin: 0 0 20px 0; color: #374151;">QR Code Component Suite</h2>
|
|
629
|
+
<div style="display: inline-flex; background: #f3f4f6; border-radius: 8px; padding: 4px;">
|
|
630
|
+
<button
|
|
631
|
+
@click="selectedDemo = 'display'"
|
|
632
|
+
:style="{
|
|
633
|
+
padding: '8px 16px',
|
|
634
|
+
borderRadius: '6px',
|
|
635
|
+
border: 'none',
|
|
636
|
+
background: selectedDemo === 'display' ? '#fff' : 'transparent',
|
|
637
|
+
color: selectedDemo === 'display' ? '#374151' : '#6b7280',
|
|
638
|
+
cursor: 'pointer',
|
|
639
|
+
fontWeight: selectedDemo === 'display' ? '500' : '400'
|
|
640
|
+
}"
|
|
641
|
+
>
|
|
642
|
+
Display Examples
|
|
643
|
+
</button>
|
|
644
|
+
<button
|
|
645
|
+
@click="selectedDemo = 'interactive'"
|
|
646
|
+
:style="{
|
|
647
|
+
padding: '8px 16px',
|
|
648
|
+
borderRadius: '6px',
|
|
649
|
+
border: 'none',
|
|
650
|
+
background: selectedDemo === 'interactive' ? '#fff' : 'transparent',
|
|
651
|
+
color: selectedDemo === 'interactive' ? '#374151' : '#6b7280',
|
|
652
|
+
cursor: 'pointer',
|
|
653
|
+
fontWeight: selectedDemo === 'interactive' ? '500' : '400'
|
|
654
|
+
}"
|
|
655
|
+
>
|
|
656
|
+
Interactive Tools
|
|
657
|
+
</button>
|
|
658
|
+
<button
|
|
659
|
+
@click="selectedDemo = 'showcase'"
|
|
660
|
+
:style="{
|
|
661
|
+
padding: '8px 16px',
|
|
662
|
+
borderRadius: '6px',
|
|
663
|
+
border: 'none',
|
|
664
|
+
background: selectedDemo === 'showcase' ? '#fff' : 'transparent',
|
|
665
|
+
color: selectedDemo === 'showcase' ? '#374151' : '#6b7280',
|
|
666
|
+
cursor: 'pointer',
|
|
667
|
+
fontWeight: selectedDemo === 'showcase' ? '500' : '400'
|
|
668
|
+
}"
|
|
669
|
+
>
|
|
670
|
+
Complete Showcase
|
|
671
|
+
</button>
|
|
672
|
+
</div>
|
|
673
|
+
</div>
|
|
674
|
+
|
|
675
|
+
<!-- Display Examples -->
|
|
676
|
+
<div v-if="selectedDemo === 'display'" style="display: grid; gap: 32px;">
|
|
677
|
+
|
|
678
|
+
<!-- Business Use Cases -->
|
|
679
|
+
<div style="background: #f8fafc; padding: 24px; border-radius: 8px;">
|
|
680
|
+
<h3 style="margin: 0 0 20px 0; color: #374151;">Business & Marketing</h3>
|
|
681
|
+
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; text-align: center;">
|
|
682
|
+
|
|
683
|
+
<div>
|
|
684
|
+
<DisplayQrCodeComponent
|
|
685
|
+
qrValue="https://company.com/promo2024"
|
|
686
|
+
:variant="businessCardVariant"
|
|
687
|
+
:radius="8"
|
|
688
|
+
blackColor="#1e40af"
|
|
689
|
+
size="160px"
|
|
690
|
+
/>
|
|
691
|
+
<h4 style="margin: 12px 0 4px 0; font-size: 14px; color: #374151;">Promotional Campaign</h4>
|
|
692
|
+
<p style="margin: 0; font-size: 12px; color: #6b7280;">Marketing materials & ads</p>
|
|
693
|
+
</div>
|
|
694
|
+
|
|
695
|
+
<div>
|
|
696
|
+
<DisplayQrCodeComponent
|
|
697
|
+
qrValue="BEGIN:VCARD
|
|
698
|
+
VERSION:3.0
|
|
699
|
+
FN:Jane Smith
|
|
700
|
+
ORG:Tech Solutions Inc
|
|
701
|
+
TITLE:Senior Developer
|
|
702
|
+
TEL:+1-555-0123
|
|
703
|
+
EMAIL:jane@techsolutions.com
|
|
704
|
+
URL:https://linkedin.com/in/janesmith
|
|
705
|
+
END:VCARD"
|
|
706
|
+
:variant="contactVariant"
|
|
707
|
+
:radius="12"
|
|
708
|
+
blackColor="#059669"
|
|
709
|
+
size="160px"
|
|
710
|
+
/>
|
|
711
|
+
<h4 style="margin: 12px 0 4px 0; font-size: 14px; color: #374151;">Digital Business Card</h4>
|
|
712
|
+
<p style="margin: 0; font-size: 12px; color: #6b7280;">Contact information sharing</p>
|
|
713
|
+
</div>
|
|
714
|
+
|
|
715
|
+
<div>
|
|
716
|
+
<DisplayQrCodeComponent
|
|
717
|
+
qrValue="WIFI:T:WPA;S:CompanyGuest;P:Welcome2024!;H:false;"
|
|
718
|
+
:variant="wifiVariant"
|
|
719
|
+
:radius="6"
|
|
720
|
+
blackColor="#dc2626"
|
|
721
|
+
size="160px"
|
|
722
|
+
/>
|
|
723
|
+
<h4 style="margin: 12px 0 4px 0; font-size: 14px; color: #374151;">Guest WiFi Access</h4>
|
|
724
|
+
<p style="margin: 0; font-size: 12px; color: #6b7280;">Easy network connection</p>
|
|
725
|
+
</div>
|
|
726
|
+
|
|
727
|
+
</div>
|
|
728
|
+
</div>
|
|
729
|
+
|
|
730
|
+
<!-- Event & Social -->
|
|
731
|
+
<div style="background: #f8fafc; padding: 24px; border-radius: 8px;">
|
|
732
|
+
<h3 style="margin: 0 0 20px 0; color: #374151;">Events & Social</h3>
|
|
733
|
+
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; text-align: center;">
|
|
734
|
+
|
|
735
|
+
<div>
|
|
736
|
+
<DisplayQrCodeComponent
|
|
737
|
+
qrValue="BEGIN:VCALENDAR
|
|
738
|
+
VERSION:2.0
|
|
739
|
+
BEGIN:VEVENT
|
|
740
|
+
SUMMARY:Product Launch Event
|
|
741
|
+
DTSTART:20260315T180000Z
|
|
742
|
+
DTEND:20260315T210000Z
|
|
743
|
+
LOCATION:Convention Center Hall A
|
|
744
|
+
DESCRIPTION:Join us for the biggest product launch of the year!
|
|
745
|
+
END:VEVENT
|
|
746
|
+
END:VCALENDAR"
|
|
747
|
+
:variant="{ inner: 'circle', marker: 'rounded', pixel: 'dots' }"
|
|
748
|
+
:radius="10"
|
|
749
|
+
blackColor="#7c3aed"
|
|
750
|
+
size="160px"
|
|
751
|
+
/>
|
|
752
|
+
<h4 style="margin: 12px 0 4px 0; font-size: 14px; color: #374151;">Event Registration</h4>
|
|
753
|
+
<p style="margin: 0; font-size: 12px; color: #6b7280;">Calendar integration</p>
|
|
754
|
+
</div>
|
|
755
|
+
|
|
756
|
+
<div>
|
|
757
|
+
<DisplayQrCodeComponent
|
|
758
|
+
qrValue="sms:+1-555-0199?body=I'm interested in learning more about your services!"
|
|
759
|
+
:variant="{ inner: 'rounded', marker: 'dots', pixel: 'circle' }"
|
|
760
|
+
:radius="8"
|
|
761
|
+
blackColor="#f59e0b"
|
|
762
|
+
size="160px"
|
|
763
|
+
/>
|
|
764
|
+
<h4 style="margin: 12px 0 4px 0; font-size: 14px; color: #374151;">Quick Contact</h4>
|
|
765
|
+
<p style="margin: 0; font-size: 12px; color: #6b7280;">Pre-filled SMS message</p>
|
|
766
|
+
</div>
|
|
767
|
+
|
|
768
|
+
<div>
|
|
769
|
+
<DisplayQrCodeComponent
|
|
770
|
+
qrValue="geo:40.7589,-73.9851?q=40.7589,-73.9851(Times Square, New York)"
|
|
771
|
+
:variant="{ inner: 'dots', marker: 'circle', pixel: 'rounded' }"
|
|
772
|
+
:radius="4"
|
|
773
|
+
blackColor="#ec4899"
|
|
774
|
+
size="160px"
|
|
775
|
+
/>
|
|
776
|
+
<h4 style="margin: 12px 0 4px 0; font-size: 14px; color: #374151;">Location Sharing</h4>
|
|
777
|
+
<p style="margin: 0; font-size: 12px; color: #6b7280;">GPS coordinates</p>
|
|
778
|
+
</div>
|
|
779
|
+
|
|
780
|
+
</div>
|
|
781
|
+
</div>
|
|
782
|
+
|
|
783
|
+
</div>
|
|
784
|
+
|
|
785
|
+
<!-- Interactive Tools -->
|
|
786
|
+
<div v-if="selectedDemo === 'interactive'" style="display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 32px;">
|
|
787
|
+
|
|
788
|
+
<div style="background: #f8fafc; padding: 24px; border-radius: 8px;">
|
|
789
|
+
<h3 style="margin: 0 0 16px 0; color: #374151; display: flex; align-items: center;">
|
|
790
|
+
📱 <span style="margin-left: 8px;">Camera Scanner</span>
|
|
791
|
+
</h3>
|
|
792
|
+
<p style="margin: 0 0 16px 0; color: #6b7280; font-size: 14px;">
|
|
793
|
+
Real-time QR code detection using device camera. Perfect for mobile apps and kiosks.
|
|
794
|
+
</p>
|
|
795
|
+
<div style="border: 2px dashed #d1d5db; border-radius: 8px; padding: 20px; text-align: center;">
|
|
796
|
+
<p style="margin: 0; color: #9ca3af;">Interactive camera component would appear here</p>
|
|
797
|
+
<p style="margin: 8px 0 0 0; font-size: 12px; color: #6b7280;">Requires camera permissions in live environment</p>
|
|
798
|
+
</div>
|
|
799
|
+
</div>
|
|
800
|
+
|
|
801
|
+
<div style="background: #f8fafc; padding: 24px; border-radius: 8px;">
|
|
802
|
+
<h3 style="margin: 0 0 16px 0; color: #374151; display: flex; align-items: center;">
|
|
803
|
+
📁 <span style="margin-left: 8px;">File Decoder</span>
|
|
804
|
+
</h3>
|
|
805
|
+
<p style="margin: 0 0 16px 0; color: #6b7280; font-size: 14px;">
|
|
806
|
+
Upload or drag QR code images for instant decoding. Supports all major image formats.
|
|
807
|
+
</p>
|
|
808
|
+
<div style="border: 2px dashed #d1d5db; border-radius: 8px; padding: 20px; text-align: center; min-height: 120px; display: flex; align-items: center; justify-content: center;">
|
|
809
|
+
<div>
|
|
810
|
+
<p style="margin: 0; color: #9ca3af;">Drop QR code images here</p>
|
|
811
|
+
<p style="margin: 8px 0 0 0; font-size: 12px; color: #6b7280;">or click to upload</p>
|
|
812
|
+
</div>
|
|
813
|
+
</div>
|
|
814
|
+
</div>
|
|
815
|
+
|
|
816
|
+
</div>
|
|
817
|
+
|
|
818
|
+
<!-- Complete Showcase -->
|
|
819
|
+
<div v-if="selectedDemo === 'showcase'">
|
|
820
|
+
<div style="display: grid; gap: 40px;">
|
|
821
|
+
|
|
822
|
+
<!-- Style Variants Matrix -->
|
|
823
|
+
<div style="background: #f8fafc; padding: 24px; border-radius: 8px;">
|
|
824
|
+
<h3 style="margin: 0 0 20px 0; color: #374151;">Style Variant Matrix</h3>
|
|
825
|
+
<div style="display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center;">
|
|
826
|
+
|
|
827
|
+
<div>
|
|
828
|
+
<DisplayQrCodeComponent
|
|
829
|
+
qrValue="Default Style"
|
|
830
|
+
:variant="{ inner: 'default', marker: 'default', pixel: 'default' }"
|
|
831
|
+
:radius="0"
|
|
832
|
+
blackColor="#000000"
|
|
833
|
+
size="120px"
|
|
834
|
+
/>
|
|
835
|
+
<p style="margin: 8px 0 0 0; font-size: 12px; color: #6b7280;">Default</p>
|
|
836
|
+
</div>
|
|
837
|
+
|
|
838
|
+
<div>
|
|
839
|
+
<DisplayQrCodeComponent
|
|
840
|
+
qrValue="Circle Style"
|
|
841
|
+
:variant="{ inner: 'circle', marker: 'circle', pixel: 'circle' }"
|
|
842
|
+
:radius="8"
|
|
843
|
+
blackColor="#1e40af"
|
|
844
|
+
size="120px"
|
|
845
|
+
/>
|
|
846
|
+
<p style="margin: 8px 0 0 0; font-size: 12px; color: #6b7280;">Circle</p>
|
|
847
|
+
</div>
|
|
848
|
+
|
|
849
|
+
<div>
|
|
850
|
+
<DisplayQrCodeComponent
|
|
851
|
+
qrValue="Rounded Style"
|
|
852
|
+
:variant="{ inner: 'rounded', marker: 'rounded', pixel: 'rounded' }"
|
|
853
|
+
:radius="12"
|
|
854
|
+
blackColor="#059669"
|
|
855
|
+
size="120px"
|
|
856
|
+
/>
|
|
857
|
+
<p style="margin: 8px 0 0 0; font-size: 12px; color: #6b7280;">Rounded</p>
|
|
858
|
+
</div>
|
|
859
|
+
|
|
860
|
+
<div>
|
|
861
|
+
<DisplayQrCodeComponent
|
|
862
|
+
qrValue="Dots Style"
|
|
863
|
+
:variant="{ inner: 'dots', marker: 'dots', pixel: 'dots' }"
|
|
864
|
+
:radius="6"
|
|
865
|
+
blackColor="#dc2626"
|
|
866
|
+
size="120px"
|
|
867
|
+
/>
|
|
868
|
+
<p style="margin: 8px 0 0 0; font-size: 12px; color: #6b7280;">Dots</p>
|
|
869
|
+
</div>
|
|
870
|
+
|
|
871
|
+
</div>
|
|
872
|
+
</div>
|
|
873
|
+
|
|
874
|
+
<!-- Size Variations -->
|
|
875
|
+
<div style="background: #f8fafc; padding: 24px; border-radius: 8px;">
|
|
876
|
+
<h3 style="margin: 0 0 20px 0; color: #374151;">Size Variations</h3>
|
|
877
|
+
<div style="display: flex; align-items: center; justify-content: space-around; flex-wrap: wrap; gap: 20px;">
|
|
878
|
+
|
|
879
|
+
<div style="text-align: center;">
|
|
880
|
+
<DisplayQrCodeComponent
|
|
881
|
+
qrValue="Small 96px"
|
|
882
|
+
:variant="businessCardVariant"
|
|
883
|
+
:radius="4"
|
|
884
|
+
blackColor="#7c3aed"
|
|
885
|
+
size="96px"
|
|
886
|
+
/>
|
|
887
|
+
<p style="margin: 8px 0 0 0; font-size: 12px; color: #6b7280;">Small (96px)</p>
|
|
888
|
+
</div>
|
|
889
|
+
|
|
890
|
+
<div style="text-align: center;">
|
|
891
|
+
<DisplayQrCodeComponent
|
|
892
|
+
qrValue="Medium 160px"
|
|
893
|
+
:variant="businessCardVariant"
|
|
894
|
+
:radius="6"
|
|
895
|
+
blackColor="#7c3aed"
|
|
896
|
+
size="160px"
|
|
897
|
+
/>
|
|
898
|
+
<p style="margin: 8px 0 0 0; font-size: 12px; color: #6b7280;">Medium (160px)</p>
|
|
899
|
+
</div>
|
|
900
|
+
|
|
901
|
+
<div style="text-align: center;">
|
|
902
|
+
<DisplayQrCodeComponent
|
|
903
|
+
qrValue="Large 240px"
|
|
904
|
+
:variant="businessCardVariant"
|
|
905
|
+
:radius="8"
|
|
906
|
+
blackColor="#7c3aed"
|
|
907
|
+
size="240px"
|
|
908
|
+
/>
|
|
909
|
+
<p style="margin: 8px 0 0 0; font-size: 12px; color: #6b7280;">Large (240px)</p>
|
|
910
|
+
</div>
|
|
911
|
+
|
|
912
|
+
</div>
|
|
913
|
+
</div>
|
|
914
|
+
|
|
915
|
+
</div>
|
|
916
|
+
</div>
|
|
917
|
+
|
|
918
|
+
</div>
|
|
919
|
+
`,
|
|
920
|
+
});
|
|
921
|
+
|
|
922
|
+
export const ComponentIntegration = IntegrationTemplate.bind({});
|
|
923
|
+
ComponentIntegration.parameters = {
|
|
924
|
+
docs: {
|
|
925
|
+
description: {
|
|
926
|
+
story:
|
|
927
|
+
"Complete integration showcase of all QR Code components with real-world examples, interactive tools, and comprehensive styling options. Switch between different demo modes to explore all capabilities.",
|
|
928
|
+
},
|
|
929
|
+
},
|
|
930
|
+
};
|
|
931
|
+
|
|
932
|
+
// Export the meta for the main component
|
|
933
|
+
export default DisplayQrCodeMeta;
|