srcdev-nuxt-components 8.0.2 → 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 -9
- package/package.json +51 -14
- package/types/components/css-anchor-polyfill.d.ts +1 -0
|
@@ -0,0 +1,380 @@
|
|
|
1
|
+
import type { Meta, StoryFn } from "@nuxtjs/storybook";
|
|
2
|
+
import { ref, onMounted } from "vue";
|
|
3
|
+
import StorybookComponent from "../DisplayToast.vue";
|
|
4
|
+
|
|
5
|
+
// Custom interface for story args
|
|
6
|
+
interface ToastStoryArgs {
|
|
7
|
+
theme: "primary" | "secondary" | "success" | "warning" | "error" | "info";
|
|
8
|
+
position: "top" | "bottom";
|
|
9
|
+
alignment: "left" | "center" | "right";
|
|
10
|
+
fullWidth: boolean;
|
|
11
|
+
autoDismiss: boolean;
|
|
12
|
+
duration: number;
|
|
13
|
+
revealDuration: number;
|
|
14
|
+
text: string;
|
|
15
|
+
customIcon: string;
|
|
16
|
+
// DisplayPromptCore specific props
|
|
17
|
+
usePrompt: boolean;
|
|
18
|
+
promptTheme: "primary" | "secondary" | "success" | "warning" | "error" | "info";
|
|
19
|
+
dismissible: boolean;
|
|
20
|
+
promptTitle: string;
|
|
21
|
+
promptContent: string;
|
|
22
|
+
useAutoFocus: boolean;
|
|
23
|
+
styleClassPassthrough: string[];
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export default {
|
|
27
|
+
title: "Components/UI/DisplayToast",
|
|
28
|
+
component: StorybookComponent,
|
|
29
|
+
argTypes: {
|
|
30
|
+
// Appearance Config
|
|
31
|
+
theme: {
|
|
32
|
+
control: { type: "select" },
|
|
33
|
+
options: ["primary", "secondary", "success", "warning", "error", "info"],
|
|
34
|
+
description: "Toast theme/variant",
|
|
35
|
+
table: {
|
|
36
|
+
category: "Appearance",
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
position: {
|
|
40
|
+
control: { type: "select" },
|
|
41
|
+
options: ["top", "bottom"],
|
|
42
|
+
description: "Vertical position of toast",
|
|
43
|
+
table: {
|
|
44
|
+
category: "Appearance",
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
alignment: {
|
|
48
|
+
control: { type: "select" },
|
|
49
|
+
options: ["left", "center", "right"],
|
|
50
|
+
description: "Horizontal alignment of toast",
|
|
51
|
+
table: {
|
|
52
|
+
category: "Appearance",
|
|
53
|
+
},
|
|
54
|
+
},
|
|
55
|
+
fullWidth: {
|
|
56
|
+
control: { type: "boolean" },
|
|
57
|
+
description: "Whether toast spans full width",
|
|
58
|
+
table: {
|
|
59
|
+
category: "Appearance",
|
|
60
|
+
},
|
|
61
|
+
},
|
|
62
|
+
// Behavior Config
|
|
63
|
+
autoDismiss: {
|
|
64
|
+
control: { type: "boolean" },
|
|
65
|
+
description: "Auto dismiss toast after duration",
|
|
66
|
+
table: {
|
|
67
|
+
category: "Behavior",
|
|
68
|
+
},
|
|
69
|
+
},
|
|
70
|
+
duration: {
|
|
71
|
+
control: { type: "range", min: 1000, max: 10000, step: 500 },
|
|
72
|
+
description: "Auto dismiss duration in milliseconds",
|
|
73
|
+
table: {
|
|
74
|
+
category: "Behavior",
|
|
75
|
+
},
|
|
76
|
+
},
|
|
77
|
+
revealDuration: {
|
|
78
|
+
control: { type: "range", min: 100, max: 1000, step: 50 },
|
|
79
|
+
description: "Animation duration for reveal/hide",
|
|
80
|
+
table: {
|
|
81
|
+
category: "Behavior",
|
|
82
|
+
},
|
|
83
|
+
},
|
|
84
|
+
// Content Config
|
|
85
|
+
text: {
|
|
86
|
+
control: { type: "text" },
|
|
87
|
+
description: "Toast message text",
|
|
88
|
+
table: {
|
|
89
|
+
category: "Content",
|
|
90
|
+
},
|
|
91
|
+
},
|
|
92
|
+
customIcon: {
|
|
93
|
+
control: { type: "text" },
|
|
94
|
+
description: "Custom icon name (e.g., 'akar-icons:check-box')",
|
|
95
|
+
table: {
|
|
96
|
+
category: "Content",
|
|
97
|
+
},
|
|
98
|
+
},
|
|
99
|
+
// DisplayPromptCore Config
|
|
100
|
+
usePrompt: {
|
|
101
|
+
control: { type: "boolean" },
|
|
102
|
+
description: "Use DisplayPromptCore instead of simple text",
|
|
103
|
+
table: {
|
|
104
|
+
category: "Prompt",
|
|
105
|
+
},
|
|
106
|
+
},
|
|
107
|
+
promptTheme: {
|
|
108
|
+
control: { type: "select" },
|
|
109
|
+
options: ["primary", "secondary", "success", "warning", "error", "info"],
|
|
110
|
+
description: "Theme for DisplayPromptCore",
|
|
111
|
+
table: {
|
|
112
|
+
category: "Prompt",
|
|
113
|
+
},
|
|
114
|
+
},
|
|
115
|
+
dismissible: {
|
|
116
|
+
control: { type: "boolean" },
|
|
117
|
+
description: "Whether DisplayPromptCore is dismissible",
|
|
118
|
+
table: {
|
|
119
|
+
category: "Prompt",
|
|
120
|
+
},
|
|
121
|
+
},
|
|
122
|
+
promptTitle: {
|
|
123
|
+
control: { type: "text" },
|
|
124
|
+
description: "Title for DisplayPromptCore",
|
|
125
|
+
table: {
|
|
126
|
+
category: "Prompt",
|
|
127
|
+
},
|
|
128
|
+
},
|
|
129
|
+
promptContent: {
|
|
130
|
+
control: { type: "text" },
|
|
131
|
+
description: "Content for DisplayPromptCore",
|
|
132
|
+
table: {
|
|
133
|
+
category: "Prompt",
|
|
134
|
+
},
|
|
135
|
+
},
|
|
136
|
+
useAutoFocus: {
|
|
137
|
+
control: { type: "boolean" },
|
|
138
|
+
description: "Auto focus DisplayPromptCore",
|
|
139
|
+
table: {
|
|
140
|
+
category: "Prompt",
|
|
141
|
+
},
|
|
142
|
+
},
|
|
143
|
+
styleClassPassthrough: {
|
|
144
|
+
control: { type: "object" },
|
|
145
|
+
description: "Style classes for DisplayPromptCore (e.g., ['dark', 'outlined'])",
|
|
146
|
+
table: {
|
|
147
|
+
category: "Prompt",
|
|
148
|
+
},
|
|
149
|
+
},
|
|
150
|
+
// Hide complex internal props
|
|
151
|
+
config: {
|
|
152
|
+
table: {
|
|
153
|
+
disable: true,
|
|
154
|
+
},
|
|
155
|
+
},
|
|
156
|
+
modelValue: {
|
|
157
|
+
table: {
|
|
158
|
+
disable: true,
|
|
159
|
+
},
|
|
160
|
+
},
|
|
161
|
+
},
|
|
162
|
+
args: {
|
|
163
|
+
theme: "primary",
|
|
164
|
+
position: "top",
|
|
165
|
+
alignment: "right",
|
|
166
|
+
fullWidth: false,
|
|
167
|
+
autoDismiss: false,
|
|
168
|
+
duration: 3000,
|
|
169
|
+
revealDuration: 300,
|
|
170
|
+
text: "This is a toast notification message",
|
|
171
|
+
customIcon: "",
|
|
172
|
+
usePrompt: false,
|
|
173
|
+
promptTheme: "primary",
|
|
174
|
+
dismissible: true,
|
|
175
|
+
promptTitle: "Prompt Title",
|
|
176
|
+
promptContent: "This is prompt content, it can contain html or plain text.",
|
|
177
|
+
useAutoFocus: false,
|
|
178
|
+
styleClassPassthrough: ["dark", "outlined"],
|
|
179
|
+
},
|
|
180
|
+
} as Meta<ToastStoryArgs>;
|
|
181
|
+
|
|
182
|
+
const Template: StoryFn<ToastStoryArgs> = (args) => ({
|
|
183
|
+
components: {
|
|
184
|
+
StorybookComponent,
|
|
185
|
+
},
|
|
186
|
+
setup() {
|
|
187
|
+
const isActive = ref(false);
|
|
188
|
+
|
|
189
|
+
// Auto-trigger toast for demo
|
|
190
|
+
onMounted(() => {
|
|
191
|
+
setTimeout(() => {
|
|
192
|
+
isActive.value = true;
|
|
193
|
+
}, 500);
|
|
194
|
+
});
|
|
195
|
+
|
|
196
|
+
return { args, isActive };
|
|
197
|
+
},
|
|
198
|
+
template: `
|
|
199
|
+
<div style="position: relative; height: 200px; padding: 20px;">
|
|
200
|
+
<p style="margin-bottom: 20px;">Toast will appear and demonstrate the configured behavior:</p>
|
|
201
|
+
<p v-if="args.usePrompt" style="margin-bottom: 10px; font-style: italic; color: #666;">
|
|
202
|
+
Note: DisplayPromptCore examples require component to be properly loaded in the environment.
|
|
203
|
+
</p>
|
|
204
|
+
<button
|
|
205
|
+
@click="isActive = true"
|
|
206
|
+
style="padding: 8px 16px; background: #0066cc; color: white; border: none; border-radius: 4px; cursor: pointer;"
|
|
207
|
+
>
|
|
208
|
+
Trigger Toast
|
|
209
|
+
</button>
|
|
210
|
+
|
|
211
|
+
<StorybookComponent
|
|
212
|
+
v-model="isActive"
|
|
213
|
+
:config="{
|
|
214
|
+
appearance: {
|
|
215
|
+
theme: args.theme,
|
|
216
|
+
position: args.position,
|
|
217
|
+
alignment: args.alignment,
|
|
218
|
+
fullWidth: args.fullWidth
|
|
219
|
+
},
|
|
220
|
+
behavior: {
|
|
221
|
+
autoDismiss: args.autoDismiss,
|
|
222
|
+
duration: args.duration,
|
|
223
|
+
revealDuration: args.revealDuration
|
|
224
|
+
},
|
|
225
|
+
content: args.usePrompt ? {
|
|
226
|
+
text: args.promptTitle + ': ' + args.promptContent
|
|
227
|
+
} : {
|
|
228
|
+
text: args.text,
|
|
229
|
+
...(args.customIcon && { customIcon: args.customIcon })
|
|
230
|
+
},
|
|
231
|
+
}"
|
|
232
|
+
/>
|
|
233
|
+
</div>
|
|
234
|
+
`,
|
|
235
|
+
});
|
|
236
|
+
|
|
237
|
+
export const Default = Template.bind({});
|
|
238
|
+
|
|
239
|
+
export const SuccessToast = Template.bind({});
|
|
240
|
+
SuccessToast.args = {
|
|
241
|
+
theme: "success",
|
|
242
|
+
text: "Success! Your action was completed.",
|
|
243
|
+
customIcon: "akar-icons:check-box",
|
|
244
|
+
autoDismiss: false,
|
|
245
|
+
duration: 4000,
|
|
246
|
+
position: "top",
|
|
247
|
+
alignment: "right",
|
|
248
|
+
fullWidth: false,
|
|
249
|
+
revealDuration: 300,
|
|
250
|
+
};
|
|
251
|
+
|
|
252
|
+
export const ErrorToast = Template.bind({});
|
|
253
|
+
ErrorToast.args = {
|
|
254
|
+
theme: "error",
|
|
255
|
+
text: "Error! Something went wrong.",
|
|
256
|
+
autoDismiss: false,
|
|
257
|
+
position: "top",
|
|
258
|
+
alignment: "center",
|
|
259
|
+
fullWidth: false,
|
|
260
|
+
duration: 3000,
|
|
261
|
+
revealDuration: 300,
|
|
262
|
+
customIcon: "",
|
|
263
|
+
};
|
|
264
|
+
|
|
265
|
+
export const BottomCenterToast = Template.bind({});
|
|
266
|
+
BottomCenterToast.args = {
|
|
267
|
+
theme: "info",
|
|
268
|
+
text: "Info message at bottom center",
|
|
269
|
+
position: "bottom",
|
|
270
|
+
alignment: "center",
|
|
271
|
+
autoDismiss: false,
|
|
272
|
+
duration: 5000,
|
|
273
|
+
fullWidth: false,
|
|
274
|
+
revealDuration: 300,
|
|
275
|
+
customIcon: "",
|
|
276
|
+
};
|
|
277
|
+
|
|
278
|
+
export const FullWidthToast = Template.bind({});
|
|
279
|
+
FullWidthToast.args = {
|
|
280
|
+
theme: "warning",
|
|
281
|
+
text: "Full width warning message",
|
|
282
|
+
fullWidth: true,
|
|
283
|
+
position: "top",
|
|
284
|
+
alignment: "left",
|
|
285
|
+
autoDismiss: false,
|
|
286
|
+
duration: 6000,
|
|
287
|
+
revealDuration: 300,
|
|
288
|
+
customIcon: "",
|
|
289
|
+
};
|
|
290
|
+
|
|
291
|
+
// DisplayPromptCore Examples - Based on Playground
|
|
292
|
+
export const ErrorPromptToast = Template.bind({});
|
|
293
|
+
ErrorPromptToast.args = {
|
|
294
|
+
theme: "error",
|
|
295
|
+
position: "top",
|
|
296
|
+
alignment: "right",
|
|
297
|
+
fullWidth: false,
|
|
298
|
+
autoDismiss: false,
|
|
299
|
+
duration: 5000,
|
|
300
|
+
revealDuration: 300,
|
|
301
|
+
usePrompt: true,
|
|
302
|
+
promptTheme: "error",
|
|
303
|
+
dismissible: false,
|
|
304
|
+
promptTitle: "Error Prompt Title with content",
|
|
305
|
+
promptContent: "This is an error prompt content, it can contain html or plain text.",
|
|
306
|
+
useAutoFocus: false,
|
|
307
|
+
styleClassPassthrough: ["dark", "outlined"],
|
|
308
|
+
};
|
|
309
|
+
|
|
310
|
+
export const SuccessPromptToast = Template.bind({});
|
|
311
|
+
SuccessPromptToast.args = {
|
|
312
|
+
theme: "success",
|
|
313
|
+
position: "top",
|
|
314
|
+
alignment: "right",
|
|
315
|
+
fullWidth: false,
|
|
316
|
+
autoDismiss: false,
|
|
317
|
+
duration: 3000,
|
|
318
|
+
revealDuration: 300,
|
|
319
|
+
usePrompt: true,
|
|
320
|
+
promptTheme: "success",
|
|
321
|
+
dismissible: true,
|
|
322
|
+
promptTitle: "Success Prompt Title with content (Dismissible)",
|
|
323
|
+
promptContent: "This is success prompt content, it can contain html or plain text.",
|
|
324
|
+
useAutoFocus: true,
|
|
325
|
+
styleClassPassthrough: ["dark", "outlined"],
|
|
326
|
+
};
|
|
327
|
+
|
|
328
|
+
export const InfoPromptFullWidth = Template.bind({});
|
|
329
|
+
InfoPromptFullWidth.args = {
|
|
330
|
+
theme: "info",
|
|
331
|
+
position: "top",
|
|
332
|
+
alignment: "center",
|
|
333
|
+
fullWidth: true,
|
|
334
|
+
autoDismiss: false,
|
|
335
|
+
duration: 4000,
|
|
336
|
+
revealDuration: 300,
|
|
337
|
+
usePrompt: true,
|
|
338
|
+
promptTheme: "info",
|
|
339
|
+
dismissible: false,
|
|
340
|
+
promptTitle: "Info Prompt Title with content (Auto Dismiss)",
|
|
341
|
+
promptContent: "This is info prompt content displayed full width.",
|
|
342
|
+
useAutoFocus: false,
|
|
343
|
+
styleClassPassthrough: ["dark", "outlined"],
|
|
344
|
+
};
|
|
345
|
+
|
|
346
|
+
export const WarningPromptBottomCenter = Template.bind({});
|
|
347
|
+
WarningPromptBottomCenter.args = {
|
|
348
|
+
theme: "warning",
|
|
349
|
+
position: "bottom",
|
|
350
|
+
alignment: "center",
|
|
351
|
+
fullWidth: false,
|
|
352
|
+
autoDismiss: false,
|
|
353
|
+
duration: 6000,
|
|
354
|
+
revealDuration: 300,
|
|
355
|
+
usePrompt: true,
|
|
356
|
+
promptTheme: "warning",
|
|
357
|
+
dismissible: true,
|
|
358
|
+
promptTitle: "Warning Prompt at Bottom Center",
|
|
359
|
+
promptContent: "This warning prompt appears at the bottom center with auto dismiss.",
|
|
360
|
+
useAutoFocus: false,
|
|
361
|
+
styleClassPassthrough: ["outlined"],
|
|
362
|
+
};
|
|
363
|
+
|
|
364
|
+
export const PrimaryPromptCustomStyles = Template.bind({});
|
|
365
|
+
PrimaryPromptCustomStyles.args = {
|
|
366
|
+
theme: "primary",
|
|
367
|
+
position: "top",
|
|
368
|
+
alignment: "left",
|
|
369
|
+
fullWidth: false,
|
|
370
|
+
autoDismiss: false,
|
|
371
|
+
duration: 3000,
|
|
372
|
+
revealDuration: 500,
|
|
373
|
+
usePrompt: true,
|
|
374
|
+
promptTheme: "primary",
|
|
375
|
+
dismissible: true,
|
|
376
|
+
promptTitle: "Primary Prompt with Custom Styles",
|
|
377
|
+
promptContent: "This prompt uses custom style configurations and slower reveal animation.",
|
|
378
|
+
useAutoFocus: false,
|
|
379
|
+
styleClassPassthrough: ["dark"],
|
|
380
|
+
};
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
<Icon name="fa7-solid:circle-question" class="display-tooltip-trigger-icon" aria-hidden="true" />
|
|
13
13
|
</button>
|
|
14
14
|
</div>
|
|
15
|
-
<div
|
|
15
|
+
<div :id="tooltipId" ref="popover1" popover class="display-tooltip-popover">
|
|
16
16
|
<div class="display-tooltip-popover-content">
|
|
17
17
|
<slot name="tooltipContent"></slot>
|
|
18
18
|
</div>
|
|
@@ -30,19 +30,20 @@ const props = defineProps({
|
|
|
30
30
|
type: [String, Array] as PropType<string | string[]>,
|
|
31
31
|
default: () => [],
|
|
32
32
|
},
|
|
33
|
-
})
|
|
33
|
+
});
|
|
34
34
|
|
|
35
|
-
const slots = useSlots()
|
|
35
|
+
const slots = useSlots();
|
|
36
36
|
const tooltipId = computed(() => {
|
|
37
|
-
return props.tooltipId.length ? props.tooltipId : `nuxt-tooltip-${useId()}
|
|
38
|
-
})
|
|
39
|
-
const tooltipAnchorName = `tooltip-anchor-${useId()}
|
|
40
|
-
const hideTooltipTrigger = ref(false)
|
|
37
|
+
return props.tooltipId.length ? props.tooltipId : `nuxt-tooltip-${useId()}`;
|
|
38
|
+
});
|
|
39
|
+
const tooltipAnchorName = `tooltip-anchor-${useId()}`;
|
|
40
|
+
const hideTooltipTrigger = ref(false);
|
|
41
41
|
|
|
42
|
-
const { elementClasses } = useStyleClassPassthrough(props.styleClassPassthrough)
|
|
42
|
+
const { elementClasses } = useStyleClassPassthrough(props.styleClassPassthrough);
|
|
43
43
|
</script>
|
|
44
44
|
|
|
45
45
|
<style lang="css">
|
|
46
|
+
@layer components {
|
|
46
47
|
.display-tooltip-core {
|
|
47
48
|
padding-block: 8px;
|
|
48
49
|
position: relative;
|
|
@@ -116,7 +117,10 @@ const { elementClasses } = useStyleClassPassthrough(props.styleClassPassthrough)
|
|
|
116
117
|
top: calc(anchor(top) + 0px);
|
|
117
118
|
left: calc(anchor(right) + 1px);
|
|
118
119
|
opacity: 0;
|
|
119
|
-
transition:
|
|
120
|
+
transition:
|
|
121
|
+
opacity 200ms,
|
|
122
|
+
display 200ms,
|
|
123
|
+
overlay 200ms;
|
|
120
124
|
|
|
121
125
|
transition-behavior: allow-discrete;
|
|
122
126
|
position-try-fallbacks: flip-inline;
|
|
@@ -162,4 +166,5 @@ const { elementClasses } = useStyleClassPassthrough(props.styleClassPassthrough)
|
|
|
162
166
|
}
|
|
163
167
|
}
|
|
164
168
|
}
|
|
169
|
+
}
|
|
165
170
|
</style>
|
|
@@ -79,6 +79,7 @@ const tooltipId = computed(() => {
|
|
|
79
79
|
</script>
|
|
80
80
|
|
|
81
81
|
<style lang="css">
|
|
82
|
+
@layer components {
|
|
82
83
|
.display-tooltip-core {
|
|
83
84
|
.popover {
|
|
84
85
|
.popover-content {
|
|
@@ -98,4 +99,5 @@ const tooltipId = computed(() => {
|
|
|
98
99
|
}
|
|
99
100
|
}
|
|
100
101
|
}
|
|
102
|
+
}
|
|
101
103
|
</style>
|
|
@@ -2,12 +2,11 @@
|
|
|
2
2
|
<div class="expanding-panel" :class="[elementClasses]">
|
|
3
3
|
<details class="expanding-panel-details" :name :open>
|
|
4
4
|
<summary
|
|
5
|
-
@click.prevent.stop="handleToggle"
|
|
6
|
-
@keydown.enter.prevent="handleToggle"
|
|
7
|
-
@keydown.space.prevent="handleToggle"
|
|
8
|
-
class="expanding-panel-summary"
|
|
9
5
|
:id="`id-${name}-trigger`"
|
|
6
|
+
class="expanding-panel-summary"
|
|
10
7
|
:aria-controls="`id-${name}-content`"
|
|
8
|
+
:aria-expanded="open"
|
|
9
|
+
@click.prevent.stop="handleToggle"
|
|
11
10
|
>
|
|
12
11
|
<span class="label-wrapper">
|
|
13
12
|
<slot name="summary"></slot>
|
|
@@ -20,9 +19,9 @@
|
|
|
20
19
|
</summary>
|
|
21
20
|
</details>
|
|
22
21
|
<div
|
|
22
|
+
:id="`id-${name}-content`"
|
|
23
23
|
class="expanding-panel-content"
|
|
24
24
|
:aria-labelledby="`id-${name}-trigger`"
|
|
25
|
-
:id="`id-${name}-content`"
|
|
26
25
|
role="region"
|
|
27
26
|
>
|
|
28
27
|
<div class="inner">
|
|
@@ -33,47 +32,37 @@
|
|
|
33
32
|
</template>
|
|
34
33
|
|
|
35
34
|
<script setup lang="ts">
|
|
36
|
-
|
|
37
|
-
name
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
animationDuration:
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
forceOpened: {
|
|
50
|
-
type: Boolean,
|
|
51
|
-
default: false,
|
|
52
|
-
},
|
|
53
|
-
styleClassPassthrough: {
|
|
54
|
-
type: [String, Array] as PropType<string | string[]>,
|
|
55
|
-
default: () => [],
|
|
56
|
-
},
|
|
57
|
-
})
|
|
35
|
+
interface Props {
|
|
36
|
+
name?: string;
|
|
37
|
+
animationDuration?: number;
|
|
38
|
+
forceOpened?: boolean;
|
|
39
|
+
styleClassPassthrough?: string | string[];
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
const props = withDefaults(defineProps<Props>(), {
|
|
43
|
+
name: undefined,
|
|
44
|
+
animationDuration: 400,
|
|
45
|
+
forceOpened: false,
|
|
46
|
+
styleClassPassthrough: () => [],
|
|
47
|
+
});
|
|
58
48
|
|
|
59
|
-
const name =
|
|
60
|
-
const isPanelOpen = defineModel({ default: false })
|
|
61
|
-
const animationDurationStr = computed(() => `${props.animationDuration}ms`)
|
|
62
|
-
const open = computed(() =>
|
|
63
|
-
return props.forceOpened ? true : isPanelOpen.value
|
|
64
|
-
})
|
|
49
|
+
const name = props.name || useId();
|
|
50
|
+
const isPanelOpen = defineModel<boolean>({ default: false });
|
|
51
|
+
const animationDurationStr = computed(() => `${props.animationDuration}ms`);
|
|
52
|
+
const open = computed(() => props.forceOpened || isPanelOpen.value);
|
|
65
53
|
|
|
66
|
-
const { elementClasses } = useStyleClassPassthrough(props.styleClassPassthrough)
|
|
54
|
+
const { elementClasses } = useStyleClassPassthrough(props.styleClassPassthrough);
|
|
67
55
|
|
|
68
56
|
const handleToggle = (event: Event) => {
|
|
69
57
|
if (props.forceOpened) {
|
|
70
|
-
event.preventDefault()
|
|
58
|
+
event.preventDefault();
|
|
71
59
|
}
|
|
72
|
-
isPanelOpen.value = !isPanelOpen.value
|
|
73
|
-
}
|
|
60
|
+
isPanelOpen.value = !isPanelOpen.value;
|
|
61
|
+
};
|
|
74
62
|
</script>
|
|
75
63
|
|
|
76
64
|
<style lang="css">
|
|
65
|
+
@layer components {
|
|
77
66
|
.expanding-panel {
|
|
78
67
|
.expanding-panel-details {
|
|
79
68
|
&:hover {
|
|
@@ -127,9 +116,6 @@ const handleToggle = (event: Event) => {
|
|
|
127
116
|
}
|
|
128
117
|
+ .expanding-panel-content {
|
|
129
118
|
grid-template-rows: 1fr;
|
|
130
|
-
.inner {
|
|
131
|
-
transition: all v-bind(animationDurationStr) ease-in-out;
|
|
132
|
-
}
|
|
133
119
|
}
|
|
134
120
|
}
|
|
135
121
|
}
|
|
@@ -137,7 +123,7 @@ const handleToggle = (event: Event) => {
|
|
|
137
123
|
.expanding-panel-content {
|
|
138
124
|
display: grid;
|
|
139
125
|
grid-template-rows: 0fr;
|
|
140
|
-
transition:
|
|
126
|
+
transition: grid-template-rows v-bind(animationDurationStr) ease-in-out;
|
|
141
127
|
will-change: grid-template-rows;
|
|
142
128
|
|
|
143
129
|
.inner {
|
|
@@ -146,4 +132,5 @@ const handleToggle = (event: Event) => {
|
|
|
146
132
|
}
|
|
147
133
|
}
|
|
148
134
|
}
|
|
135
|
+
}
|
|
149
136
|
</style>
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
export const propValidators = {
|
|
2
|
+
size: ["x-small", "small", "default", "medium", "large"],
|
|
3
|
+
weight: [
|
|
4
|
+
"wght-100",
|
|
5
|
+
"wght-200",
|
|
6
|
+
"wght-300",
|
|
7
|
+
"wght-400",
|
|
8
|
+
"wght-500",
|
|
9
|
+
"wght-600",
|
|
10
|
+
"wght-700",
|
|
11
|
+
"wght-800",
|
|
12
|
+
"wght-900",
|
|
13
|
+
"light",
|
|
14
|
+
"normal",
|
|
15
|
+
"bold",
|
|
16
|
+
"fvs-wght-100",
|
|
17
|
+
"fvs-wght-200",
|
|
18
|
+
"fvs-wght-300",
|
|
19
|
+
"fvs-wght-400",
|
|
20
|
+
"fvs-wght-500",
|
|
21
|
+
"fvs-wght-600",
|
|
22
|
+
"fvs-wght-700",
|
|
23
|
+
"fvs-wght-800",
|
|
24
|
+
"fvs-wght-900",
|
|
25
|
+
],
|
|
26
|
+
theme: [
|
|
27
|
+
"primary",
|
|
28
|
+
"secondary",
|
|
29
|
+
"tertiary",
|
|
30
|
+
"ghost",
|
|
31
|
+
"error",
|
|
32
|
+
"success",
|
|
33
|
+
"warning",
|
|
34
|
+
"input-action",
|
|
35
|
+
"input-action-underlined",
|
|
36
|
+
],
|
|
37
|
+
checkboxAppearance: [null, "with-decorator"],
|
|
38
|
+
checkboxStyle: ["check", "cross"],
|
|
39
|
+
radioAppearance: [null, "with-decorator"],
|
|
40
|
+
optionsLayout: ["block", "inline", "equal-widths"],
|
|
41
|
+
labelWeight: ["normal", "semi-bold", "bold"],
|
|
42
|
+
InputUiVariant: ["normal", "outlined", "underlined"],
|
|
43
|
+
inputTypesButton: ["button", "cancel", "reset", "submit"],
|
|
44
|
+
inputTypesText: ["text", "email", "password", "number", "tel", "url"],
|
|
45
|
+
inputMode: ["text", "email", "tel", "url", "search", "numeric", "none", "decimal"],
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
export default propValidators;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { InpuTextC12, IFormFieldC12, IFormData } from "../../../types/forms/types.forms"
|
|
2
|
+
|
|
3
|
+
const formFieldC12 = <IFormFieldC12>{
|
|
4
|
+
label: "",
|
|
5
|
+
placeholder: "",
|
|
6
|
+
errorMessage: "",
|
|
7
|
+
useCustomError: false,
|
|
8
|
+
customErrors: {},
|
|
9
|
+
isValid: false,
|
|
10
|
+
isDirty: false,
|
|
11
|
+
type: "string",
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export { formFieldC12 }
|