srcdev-nuxt-components 8.0.3 → 9.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +170 -118
- package/app/assets/styles/extends-layer/srcdev-components/components/_display-prompt-core.css +94 -0
- package/app/assets/styles/extends-layer/srcdev-components/components/_display-toast.css +5 -0
- package/app/assets/styles/extends-layer/srcdev-components/components/_expanding-panel.css +37 -0
- package/app/assets/styles/extends-layer/srcdev-components/components/index.css +3 -0
- package/app/assets/styles/extends-layer/srcdev-components/index.css +1 -0
- package/app/assets/styles/extends-layer/srcdev-forms/components/_form-fieldset.css +38 -0
- package/app/assets/styles/extends-layer/srcdev-forms/components/_input-button.css +67 -0
- package/app/assets/styles/extends-layer/srcdev-forms/components/_input-checkbox-radio-core.css +87 -0
- package/app/assets/styles/extends-layer/srcdev-forms/components/_input-checkbox-radio-options-button.css +74 -0
- package/app/assets/styles/extends-layer/srcdev-forms/components/_input-checkbox-radio-with-label.css +14 -0
- package/app/assets/styles/extends-layer/srcdev-forms/components/_input-description.css +13 -0
- package/app/assets/styles/extends-layer/srcdev-forms/components/_input-error.css +54 -0
- package/app/assets/styles/extends-layer/srcdev-forms/components/_input-label.css +21 -0
- package/app/assets/styles/extends-layer/srcdev-forms/components/_input-select.css +143 -0
- package/app/assets/styles/extends-layer/srcdev-forms/components/_input-text.css +190 -0
- package/app/assets/styles/extends-layer/srcdev-forms/components/_input-textarea.css +96 -0
- package/app/assets/styles/extends-layer/srcdev-forms/components/_input-toggle-switch.css +68 -0
- package/app/assets/styles/extends-layer/srcdev-forms/components/index.css +12 -0
- package/app/assets/styles/extends-layer/srcdev-forms/index.css +2 -0
- package/app/assets/styles/extends-layer/srcdev-forms/setup/_generic.css +21 -0
- package/app/assets/styles/extends-layer/srcdev-forms/setup/index.css +3 -0
- package/app/assets/styles/extends-layer/srcdev-forms/setup/sizes/_default.css +13 -0
- package/app/assets/styles/extends-layer/srcdev-forms/setup/sizes/_large.css +12 -0
- package/app/assets/styles/extends-layer/srcdev-forms/setup/sizes/_medium.css +12 -0
- package/app/assets/styles/extends-layer/srcdev-forms/setup/sizes/_small.css +12 -0
- package/app/assets/styles/extends-layer/srcdev-forms/setup/sizes/_x-small.css +11 -0
- package/app/assets/styles/extends-layer/srcdev-forms/setup/sizes/index.css +23 -0
- package/app/assets/styles/extends-layer/srcdev-forms/setup/themes/_default.css +62 -0
- package/app/assets/styles/extends-layer/srcdev-forms/setup/themes/_error.css +63 -0
- package/app/assets/styles/extends-layer/srcdev-forms/setup/themes/_ghost.css +63 -0
- package/app/assets/styles/extends-layer/srcdev-forms/setup/themes/_info.css +63 -0
- package/app/assets/styles/extends-layer/srcdev-forms/setup/themes/_primary.css +66 -0
- package/app/assets/styles/extends-layer/srcdev-forms/setup/themes/_secondary.css +64 -0
- package/app/assets/styles/extends-layer/srcdev-forms/setup/themes/_success.css +63 -0
- package/app/assets/styles/extends-layer/srcdev-forms/setup/themes/_tertiary.css +63 -0
- package/app/assets/styles/extends-layer/srcdev-forms/setup/themes/_warning.css +63 -0
- package/app/assets/styles/extends-layer/srcdev-forms/setup/themes/index.css +7 -0
- package/app/assets/styles/main.css +2 -0
- package/app/assets/styles/setup/01.config/_basic-resets.css +9 -0
- package/app/assets/styles/setup/01.config/_head.css +33 -0
- package/app/assets/styles/setup/01.config/_normalise.css +209 -0
- package/app/assets/styles/setup/01.config/index.css +3 -0
- package/app/assets/styles/setup/02.colours/_amber.css +12 -0
- package/app/assets/styles/setup/02.colours/_blue.css +13 -0
- package/app/assets/styles/setup/02.colours/_green.css +13 -0
- package/app/assets/styles/setup/02.colours/_orange.css +12 -0
- package/app/assets/styles/setup/02.colours/_red.css +13 -0
- package/app/assets/styles/setup/02.colours/_slate.css +13 -0
- package/app/assets/styles/setup/02.colours/_sunset.css +12 -0
- package/app/assets/styles/setup/02.colours/index.css +7 -0
- package/app/assets/styles/setup/03.theming/default/_dark.css +138 -0
- package/app/assets/styles/setup/03.theming/default/_light.css +156 -0
- package/app/assets/styles/setup/03.theming/default/index.css +2 -0
- package/app/assets/styles/setup/03.theming/error/_dark.css +56 -0
- package/app/assets/styles/setup/03.theming/error/_light.css +74 -0
- package/app/assets/styles/setup/03.theming/error/index.css +2 -0
- package/app/assets/styles/setup/03.theming/index.css +4 -0
- package/app/assets/styles/setup/03.theming/success/_dark.css +50 -0
- package/app/assets/styles/setup/03.theming/success/_light.css +65 -0
- package/app/assets/styles/setup/03.theming/success/index.css +2 -0
- package/app/assets/styles/setup/03.theming/warning/_dark.css +50 -0
- package/app/assets/styles/setup/03.theming/warning/_light.css +64 -0
- package/app/assets/styles/setup/03.theming/warning/index.css +2 -0
- package/app/assets/styles/setup/04.elements/forms/00.element-defaults.css +21 -0
- package/app/assets/styles/setup/04.elements/forms/01.field-layout-container-level.css +14 -0
- package/app/assets/styles/setup/04.elements/forms/02.typography.css +24 -0
- package/app/assets/styles/setup/04.elements/forms/03.generic-input-geometry.css +63 -0
- package/app/assets/styles/setup/04.elements/forms/04.slot-icon-system.css +14 -0
- package/app/assets/styles/setup/04.elements/forms/05.checkbox-radio-geometry.css +17 -0
- package/app/assets/styles/setup/04.elements/forms/06.button-geometry.css +17 -0
- package/app/assets/styles/setup/04.elements/forms/07.validation-error-block-layout.css +9 -0
- package/app/assets/styles/setup/04.elements/forms/09.animation-motion.css +6 -0
- package/app/assets/styles/setup/04.elements/forms/index.css +9 -0
- package/app/assets/styles/setup/04.elements/index.css +1 -0
- package/app/assets/styles/setup/05.typography/01.tokens/_font-family.css +8 -0
- package/app/assets/styles/setup/05.typography/01.tokens/_reponsive-font-sizes.css +22 -0
- package/app/assets/styles/setup/05.typography/01.tokens/_timing-functions.css +119 -0
- package/app/assets/styles/setup/05.typography/01.tokens/index.css +3 -0
- package/app/assets/styles/setup/05.typography/02.utility-classes/_font-classes-article.css +30 -0
- package/app/assets/styles/setup/05.typography/02.utility-classes/_font-classes-card.css +45 -0
- package/app/assets/styles/setup/05.typography/02.utility-classes/_font-classes-page-body.css +146 -0
- package/app/assets/styles/setup/05.typography/02.utility-classes/_font-classes-page-heading.css +35 -0
- package/app/assets/styles/setup/05.typography/02.utility-classes/_font-classes-page-link.css +116 -0
- package/app/assets/styles/setup/05.typography/02.utility-classes/_font-classes-section.css +7 -0
- package/app/assets/styles/setup/05.typography/02.utility-classes/_generic-font-classes.css +3 -0
- package/app/assets/styles/setup/05.typography/02.utility-classes/_generic-font-variation-settings.css +29 -0
- package/app/assets/styles/setup/05.typography/02.utility-classes/_generic-font-weights.css +39 -0
- package/app/assets/styles/setup/05.typography/02.utility-classes/index.css +9 -0
- package/app/assets/styles/setup/05.typography/index.css +2 -0
- package/app/assets/styles/setup/06.utility-classes/_a11y.css +280 -0
- package/app/assets/styles/setup/06.utility-classes/animations/_auto-rotate.css +13 -0
- package/app/assets/styles/setup/06.utility-classes/animations/_entry-exit-blur.css +16 -0
- package/app/assets/styles/setup/06.utility-classes/animations/_entry-slide-in.css +15 -0
- package/app/assets/styles/setup/06.utility-classes/animations/_entry-zoom-reveal.css +15 -0
- package/app/assets/styles/setup/06.utility-classes/animations/index.css +4 -0
- package/app/assets/styles/setup/06.utility-classes/index.css +4 -0
- package/app/assets/styles/setup/06.utility-classes/layout/_containers.css +96 -0
- package/app/assets/styles/setup/06.utility-classes/layout/_flexbox.css +196 -0
- package/app/assets/styles/setup/06.utility-classes/layout/_grid.css +266 -0
- package/app/assets/styles/setup/06.utility-classes/layout/_positioning.css +149 -0
- package/app/assets/styles/setup/06.utility-classes/layout/index.css +9 -0
- package/app/assets/styles/setup/06.utility-classes/spacing/_fluid-spacing.css +13 -0
- package/app/assets/styles/setup/06.utility-classes/spacing/_margin.css +334 -0
- package/app/assets/styles/setup/06.utility-classes/spacing/_padding.css +308 -0
- package/app/assets/styles/setup/06.utility-classes/spacing/index.css +3 -0
- package/app/assets/styles/setup/a11y/_variables.css +8 -0
- package/app/assets/styles/setup/a11y/index.css +1 -0
- package/app/assets/styles/setup/index.css +10 -0
- package/app/components/01.atoms/animations/entry/EntryAnimation.vue +22 -0
- package/app/components/01.atoms/animations/entry/stories/EntryAnimation.stories.ts +74 -0
- package/app/components/01.atoms/glass-panel/GlassPanel.vue +52 -0
- package/app/components/01.atoms/text-blocks/eyebrow-text/EyebrowText.vue +42 -0
- package/app/components/01.atoms/text-blocks/eyebrow-text/playwright/eyebrow-text.playwright.ts +67 -0
- package/app/components/01.atoms/text-blocks/eyebrow-text/playwright/eyebrow-text.playwright.ts-snapshots/default-chromium-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/eyebrow-text/playwright/eyebrow-text.playwright.ts-snapshots/default-firefox-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/eyebrow-text/playwright/eyebrow-text.playwright.ts-snapshots/default-webkit-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/eyebrow-text/playwright/eyebrow-text.playwright.ts-snapshots/fontSize-large-chromium-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/eyebrow-text/playwright/eyebrow-text.playwright.ts-snapshots/fontSize-large-firefox-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/eyebrow-text/playwright/eyebrow-text.playwright.ts-snapshots/fontSize-large-webkit-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/eyebrow-text/playwright/eyebrow-text.playwright.ts-snapshots/fontSize-medium-chromium-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/eyebrow-text/playwright/eyebrow-text.playwright.ts-snapshots/fontSize-medium-firefox-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/eyebrow-text/playwright/eyebrow-text.playwright.ts-snapshots/fontSize-medium-webkit-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/eyebrow-text/playwright/eyebrow-text.playwright.ts-snapshots/fontSize-small-chromium-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/eyebrow-text/playwright/eyebrow-text.playwright.ts-snapshots/fontSize-small-firefox-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/eyebrow-text/playwright/eyebrow-text.playwright.ts-snapshots/fontSize-small-webkit-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/eyebrow-text/playwright/eyebrow-text.playwright.ts-snapshots/tag-div-chromium-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/eyebrow-text/playwright/eyebrow-text.playwright.ts-snapshots/tag-div-firefox-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/eyebrow-text/playwright/eyebrow-text.playwright.ts-snapshots/tag-div-webkit-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/eyebrow-text/playwright/eyebrow-text.playwright.ts-snapshots/tag-p-chromium-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/eyebrow-text/playwright/eyebrow-text.playwright.ts-snapshots/tag-p-firefox-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/eyebrow-text/playwright/eyebrow-text.playwright.ts-snapshots/tag-p-webkit-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/eyebrow-text/playwright/eyebrow-text.playwright.ts-snapshots/tag-span-chromium-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/eyebrow-text/playwright/eyebrow-text.playwright.ts-snapshots/tag-span-firefox-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/eyebrow-text/playwright/eyebrow-text.playwright.ts-snapshots/tag-span-webkit-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/eyebrow-text/stories/EyebrowText.stories.ts +49 -0
- package/app/components/01.atoms/text-blocks/eyebrow-text/tests/EyebrowText.spec.ts +196 -0
- package/app/components/01.atoms/text-blocks/eyebrow-text/tests/__snapshots__/EyebrowText.spec.ts.snap +17 -0
- package/app/components/01.atoms/text-blocks/hero-text/HeroText.vue +101 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts +110 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-horizontal-chromium-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-horizontal-firefox-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-horizontal-fontSize-display-chromium-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-horizontal-fontSize-display-firefox-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-horizontal-fontSize-display-webkit-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-horizontal-fontSize-heading-chromium-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-horizontal-fontSize-heading-firefox-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-horizontal-fontSize-heading-webkit-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-horizontal-fontSize-label-chromium-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-horizontal-fontSize-label-firefox-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-horizontal-fontSize-label-webkit-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-horizontal-fontSize-subheading-chromium-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-horizontal-fontSize-subheading-firefox-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-horizontal-fontSize-subheading-webkit-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-horizontal-fontSize-title-chromium-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-horizontal-fontSize-title-firefox-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-horizontal-fontSize-title-webkit-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-horizontal-webkit-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-vertical-chromium-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-vertical-firefox-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-vertical-fontSize-display-chromium-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-vertical-fontSize-display-firefox-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-vertical-fontSize-display-webkit-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-vertical-fontSize-heading-chromium-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-vertical-fontSize-heading-firefox-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-vertical-fontSize-heading-webkit-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-vertical-fontSize-label-chromium-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-vertical-fontSize-label-firefox-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-vertical-fontSize-label-webkit-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-vertical-fontSize-subheading-chromium-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-vertical-fontSize-subheading-firefox-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-vertical-fontSize-subheading-webkit-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-vertical-fontSize-title-chromium-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-vertical-fontSize-title-firefox-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-vertical-fontSize-title-webkit-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-vertical-webkit-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/default-chromium-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/default-firefox-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/default-webkit-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/fontSize-display-chromium-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/fontSize-display-firefox-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/fontSize-display-webkit-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/fontSize-heading-chromium-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/fontSize-heading-firefox-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/fontSize-heading-webkit-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/fontSize-label-chromium-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/fontSize-label-firefox-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/fontSize-label-webkit-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/fontSize-subheading-chromium-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/fontSize-subheading-firefox-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/fontSize-subheading-webkit-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/fontSize-title-chromium-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/fontSize-title-firefox-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/fontSize-title-webkit-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/icon-with-chromium-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/icon-with-firefox-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/icon-with-webkit-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/icon-without-chromium-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/icon-without-firefox-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/icon-without-webkit-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/tag-h1-chromium-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/tag-h1-firefox-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/tag-h1-webkit-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/tag-h2-chromium-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/tag-h2-firefox-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/tag-h2-webkit-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/tag-h3-chromium-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/tag-h3-firefox-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/tag-h3-webkit-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/tag-h4-chromium-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/tag-h4-firefox-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/tag-h4-webkit-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/tag-h5-chromium-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/tag-h5-firefox-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/tag-h5-webkit-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/tag-h6-chromium-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/tag-h6-firefox-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/tag-h6-webkit-darwin.png +0 -0
- package/app/components/01.atoms/text-blocks/hero-text/stories/HeroText.stories.ts +70 -0
- package/app/components/01.atoms/text-blocks/hero-text/tests/HeroText.spec.ts +148 -0
- package/app/components/01.atoms/text-blocks/hero-text/tests/__snapshots__/HeroText.spec.ts.snap +7 -0
- package/app/components/02.molecules/contact-section/stories/ContactSection.stories.ts +197 -0
- package/app/components/02.molecules/contact-section/tests/ContactSection.spec.ts +196 -0
- package/app/components/02.molecules/contact-section/tests/ContactSection.vue +87 -0
- package/app/components/02.molecules/contact-section/tests/__snapshots__/ContactSection.spec.ts.snap +119 -0
- package/app/components/02.molecules/price-list/PriceList.vue +119 -0
- package/app/components/02.molecules/price-list/stories/PriceList.stories.ts +103 -0
- package/app/components/02.molecules/price-list/tests/PriceList.spec.ts +192 -0
- package/app/components/02.molecules/price-list/tests/__snapshots__/PriceList.spec.ts.snap +73 -0
- package/app/components/02.molecules/profile-section/ProfileSection.vue +154 -0
- package/app/components/02.molecules/profile-section/stories/ProfileSection.stories.ts +154 -0
- package/app/components/02.molecules/profile-section/tests/ProfileSection.spec.ts +147 -0
- package/app/components/02.molecules/profile-section/tests/__snapshots__/ProfileSection.spec.ts.snap +29 -0
- package/app/components/02.molecules/stepper-list/StepperList.vue +158 -0
- package/app/components/02.molecules/stepper-list/stories/StepperList.stories.ts +392 -0
- package/app/components/02.molecules/stepper-list/tests/StepperList.spec.ts +289 -0
- package/app/components/02.molecules/stepper-list/tests/__snapshots__/StepperList.spec.ts.snap +86 -0
- package/app/components/03.organisms/colour-finder/ColourFinder.vue +1519 -0
- package/app/components/03.organisms/services/services-card/ServicesCard.vue +104 -0
- package/app/components/03.organisms/services/services-grids/ServicesCardGrid.vue +39 -0
- package/app/components/03.organisms/services/services-grids/ServicesSectionGrid.vue +52 -0
- package/app/components/03.organisms/services/services-section/ServicesSection.vue +307 -0
- package/app/components/03.organisms/treatment-consultant/TreatmentConsultant.vue +2221 -0
- package/app/components/03.organisms/treatment-consultant/stories/TreatmentConsultant.stories.ts +38 -0
- package/app/components/accordian/AccordianCore.vue +26 -21
- package/app/components/accordian/stories/AccordianCore.stories.ts +241 -0
- package/app/components/accordian/tests/AccordianCore.spec.ts +218 -0
- package/app/components/accordian/tests/__snapshots__/AccordianCore.spec.ts.snap +74 -0
- package/app/components/alert-mask/AlertMaskCore.vue +35 -33
- package/app/components/alert-mask/tests/AlertMaskCore.spec.ts +304 -0
- package/app/components/animated-svg-text/AnimatedSvgText.vue +2 -0
- package/app/components/canvas-switcher/CanvasSwitcher.vue +10 -8
- package/app/components/{carousel-basic → carousels}/CarouselBasic.vue +58 -56
- package/app/components/{carousel-basic → carousels}/CarouselFlip.vue +150 -148
- package/app/components/{carousel-basic → carousels}/CarouselInfinite.vue +2 -0
- package/app/components/carousels/stories/CarouselFlip.stories.ts +637 -0
- package/app/components/carousels/tests/CarouselFlip.spec.ts +556 -0
- package/app/components/clip-element/ClipElement.vue +2 -0
- package/app/components/clipped-panels/ClippedPanel.vue +2 -0
- package/app/components/container-glow/ContainerGlowCore.vue +119 -50
- package/app/components/container-glow/stories/ContainerGlowCore.stories.ts +337 -0
- package/app/components/content-columns/TwoColumns.vue +59 -0
- package/app/components/content-columns/stories/TwoColumns.stories.ts +561 -0
- package/app/components/content-containers/ContentContainer.vue +89 -0
- package/app/components/content-containers/stories/ContentContainer.stories.ts +465 -0
- package/app/components/content-grid/ContentGrid.vue +4 -2
- package/app/components/deep-expanding-menu/DeepExpandingMenu.vue +18 -16
- package/app/components/deep-expanding-menu/DeepExpandingMenuOld.vue +28 -26
- package/app/components/display-avatar/DisplayAvatar.vue +15 -13
- package/app/components/display-avatar/stories/DisplayAvatar.stories.ts +94 -0
- package/app/components/display-banner/DisplayBanner.vue +2 -0
- package/app/components/display-card/DisplayCard.vue +16 -14
- package/app/components/display-chip/DisplayChip.vue +2 -0
- package/app/components/display-chip/stories/DisplayChip.stories.ts +346 -0
- package/app/components/display-details/DisplayDetailsCore.vue +2 -0
- package/app/components/display-dialog/DisplayDialogCore.vue +24 -17
- package/app/components/display-dialog/variants/DisplayDialogConfirm.vue +2 -0
- package/app/components/display-dialog/variants/DisplayDialogScrollableContent.vue +2 -0
- package/app/components/display-grid/DisplayGridCore.vue +4 -4
- package/app/components/display-prompt/DisplayPromptCore.vue +20 -16
- package/app/components/display-prompt/variants/DisplayPromptError.vue +6 -4
- package/app/components/display-theme-switch/DisplayThemeSwitch.vue +182 -0
- package/app/components/display-theme-switch/stories/DisplayThemeSwitch.stories.ts +154 -0
- package/app/components/display-toast/DisplayToast.vue +63 -61
- package/app/components/display-toast/molecules/DefaultToastContent.vue +21 -45
- package/app/components/display-toast/stories/DisplayToast.stories.ts +380 -0
- package/app/components/display-tooltip/DisplayTooltip.vue +14 -9
- package/app/components/display-tooltip/DisplayTooltipDefined.vue +2 -0
- package/app/components/expanding-panel/ExpandingPanel.vue +28 -41
- package/app/components/forms/c12/prop-validators/index.ts +48 -0
- package/app/components/forms/c12/utils.ts +14 -0
- package/app/components/forms/form-errors/InputError.vue +208 -0
- package/app/components/forms/form-errors/tests/InputError.spec.ts +66 -0
- package/app/components/forms/form-fieldset/FormFieldset.vue +75 -0
- package/app/components/forms/input-button/InputButtonCore.vue +219 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts +113 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/combo-icons-secondary-chromium-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/combo-icons-secondary-firefox-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/combo-icons-secondary-webkit-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/combo-icons-tertiary-chromium-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/combo-icons-tertiary-firefox-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/combo-icons-tertiary-webkit-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/combo-primary-pending-chromium-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/combo-primary-pending-firefox-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/combo-primary-pending-webkit-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/combo-secondary-pill-chromium-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/combo-secondary-pill-firefox-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/combo-secondary-pill-webkit-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/combo-tertiary-readonly-chromium-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/combo-tertiary-readonly-firefox-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/combo-tertiary-readonly-webkit-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-chromium-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-firefox-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-theme-default-chromium-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-theme-default-firefox-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-theme-default-webkit-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-theme-error-chromium-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-theme-error-firefox-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-theme-error-webkit-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-theme-success-chromium-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-theme-success-firefox-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-theme-success-webkit-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-theme-warning-chromium-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-theme-warning-firefox-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-theme-warning-webkit-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-variant-primary-chromium-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-variant-primary-firefox-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-variant-primary-webkit-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-variant-secondary-chromium-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-variant-secondary-firefox-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-variant-secondary-webkit-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-variant-tertiary-chromium-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-variant-tertiary-firefox-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-variant-tertiary-webkit-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-webkit-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/nuxt-icon-only-component-chromium-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/nuxt-icon-only-component-firefox-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/nuxt-icon-only-component-webkit-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/state-pending-chromium-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/state-pending-firefox-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/state-pending-webkit-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/state-pill-chromium-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/state-pill-firefox-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/state-pill-webkit-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/state-readonly-chromium-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/state-readonly-firefox-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/state-readonly-webkit-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/with-both-nuxt-icon-components-chromium-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/with-both-nuxt-icon-components-firefox-darwin.png +0 -0
- package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/with-both-nuxt-icon-components-webkit-darwin.png +0 -0
- package/app/components/forms/input-button/stories/InputButtonCore.stories.ts +304 -0
- package/app/components/forms/input-button/tests/InputButtonCore.spec.ts +269 -0
- package/app/components/forms/input-button/tests/__snapshots__/InputButtonCore.spec.ts.snap +72 -0
- package/app/components/forms/input-checkbox/MultipleCheckboxes.vue +181 -0
- package/app/components/forms/input-checkbox/SingleCheckbox.vue +144 -0
- package/app/components/forms/input-checkbox/tests/MultipleCheckboxes.spec.ts +101 -0
- package/app/components/forms/input-checkbox/tests/data/tags.json +67 -0
- package/app/components/forms/input-checkbox-radio/InputCheckboxRadioButton.vue +174 -0
- package/app/components/forms/input-checkbox-radio/InputCheckboxRadioCore.vue +199 -0
- package/app/components/forms/input-checkbox-radio/InputCheckboxRadioWithLabel.vue +104 -0
- package/app/components/forms/input-checkbox-radio/tests/InputCheckboxRadioCore.spec.ts +320 -0
- package/app/components/forms/input-description/InputDescription.vue +55 -0
- package/app/components/forms/input-description/tests/InputDescription.spec.ts +429 -0
- package/app/components/forms/input-label/InputLabel.vue +66 -0
- package/app/components/forms/input-label/tests/InputLabel.spec.ts +431 -0
- package/app/components/forms/input-number/InputNumberCore.vue +163 -0
- package/app/components/forms/input-number/variants/InputNumberDefault.vue +150 -0
- package/app/components/forms/input-radio/MultipleRadiobuttons.vue +180 -0
- package/app/components/forms/input-radio/tests/MultipleRadioButtons.spec.ts +90 -0
- package/app/components/forms/input-radio/tests/data/tags.json +67 -0
- package/app/components/forms/input-range/InputRangeCore.vue +233 -0
- package/app/components/forms/input-range/variants/InputRangeDefault.vue +166 -0
- package/app/components/forms/input-range-fancy/InputRangeFancyCore.vue +426 -0
- package/app/components/forms/input-range-fancy/InputRangeFancyWithLabel.vue +94 -0
- package/app/components/forms/input-select/InputSelectCore.vue +171 -0
- package/app/components/forms/input-select/variants/InputSelectWithLabel.vue +121 -0
- package/app/components/forms/input-text/InputTextCore.vue +222 -0
- package/app/components/forms/input-text/stories/InputPasswordWithLabel.stories.ts +339 -0
- package/app/components/forms/input-text/stories/InputTextAsNumberWithLabel.stories.ts +461 -0
- package/app/components/forms/input-text/stories/InputTextCore.stories.ts +241 -0
- package/app/components/forms/input-text/stories/InputTextWithLabel.stories.ts +293 -0
- package/app/components/forms/input-text/variants/InputPasswordWithLabel.vue +86 -0
- package/app/components/forms/input-text/variants/InputTextAsNumberWithLabel.vue +203 -0
- package/app/components/forms/input-text/variants/InputTextWithLabel.vue +149 -0
- package/app/components/forms/input-textarea/InputTextareaCore.vue +151 -0
- package/app/components/forms/input-textarea/stories/InputTextareaCore.stories.ts +247 -0
- package/app/components/forms/input-textarea/stories/InputTextareaWithLabel.stories.ts +452 -0
- package/app/components/forms/input-textarea/variants/InputTextareaWithLabel.vue +150 -0
- package/app/components/forms/pending-effect/PendingEffect.vue +101 -0
- package/app/components/forms/toggle-switch/ToggleSwitchCore.vue +221 -0
- package/app/components/forms/toggle-switch/stories/ToggleSwitchCore.stories.ts +236 -0
- package/app/components/forms/toggle-switch/stories/ToggleSwitchWithLabel.stories.ts +253 -0
- package/app/components/forms/toggle-switch/stories/ToggleSwitchWithLabelInline.stories.ts +280 -0
- package/app/components/forms/toggle-switch/variants/ToggleSwitchWithLabel.vue +101 -0
- package/app/components/forms/toggle-switch/variants/ToggleSwitchWithLabelInline.vue +84 -0
- package/app/components/forms/triple-toggle-switch/TripleToggleSwitchCore.vue +290 -0
- package/app/components/forms/ui/FormField.vue +81 -0
- package/app/components/forms/ui/FormWrapper.vue +37 -0
- package/app/components/glowing-border/GlowingBorder.vue +2 -0
- package/app/components/glowing-border/stories/GlowingBorder.stories.ts +141 -0
- package/app/components/image-galleries/SliderGallery.vue +100 -100
- package/app/components/layout-grids/LayoutGridA.vue +2 -0
- package/app/components/layout-grids/LayoutGridB.vue +8 -6
- package/app/components/layout-grids/stories/LayoutGridA.stories.ts +402 -0
- package/app/components/layout-grids/stories/LayoutGridB.stories.ts +420 -0
- package/app/components/layout-grids/tests/LayoutGridA.spec.ts +352 -0
- package/app/components/layout-grids/tests/LayoutGridB.spec.ts +490 -0
- package/app/components/layout-row/LayoutRow.vue +60 -54
- package/app/components/layout-row/stories/LayoutRow.stories.ts +528 -0
- package/app/components/magnetic-navigation/MagneticNavigation.vue +2 -0
- package/app/components/marquee-scroller/MarqueeScroller.vue +35 -33
- package/app/components/masonry-grid/MasonryGrid.vue +8 -6
- package/app/components/masonry-grid-ordered/MasonryGridOrdered.vue +2 -0
- package/app/components/masonry-grid-ordered/MasonryGridOrderedGridExperiment.vue +82 -87
- package/app/components/masonry-grid-ordered/stories/MasonryGridOrdered.stories.ts +354 -0
- package/app/components/masonry-grid-sorted/MasonryGridSorted.vue +2 -0
- package/app/components/parallax/SectionParallax.vue +10 -8
- package/app/components/pop-over/PopOver.vue +2 -0
- package/app/components/qr-code/CaptureQrCode.vue +2 -0
- package/app/components/qr-code/DecodeQrCode.vue +2 -0
- package/app/components/qr-code/DisplayQrCode.vue +7 -5
- package/app/components/qr-code/stories/QrCode.stories.ts +933 -0
- package/app/components/responsive-header/NavigationItems.vue +34 -23
- package/app/components/responsive-header/ResponsiveHeader.vue +163 -157
- package/app/components/rotating-carousel/RotatingCarouselImage.vue +2 -0
- package/app/components/skip-links/SkipLinks.vue +2 -0
- package/app/components/tabs/TabsCore.vue +38 -30
- package/app/components/test-storybook/TestStorybook.vue +49 -0
- package/app/components/test-storybook/stories/TestStorybook.stories.ts +28 -0
- package/app/components/ui-block-decorated/UiBlockDecorated.vue +2 -0
- package/app/components/view-timeline/WipeAwayVertical.vue +2 -0
- package/app/composables/useApiRequest.ts +25 -0
- package/app/composables/useAriaDescribedById.ts +19 -0
- package/app/composables/useColourScheme.ts +18 -0
- package/app/composables/useErrorMessages.ts +62 -0
- package/app/composables/useFormControl.ts +264 -0
- package/app/composables/useMaxChildWidth.ts +30 -0
- package/app/composables/useTabs.ts +207 -117
- package/app/composables/useZodValidation.ts +147 -0
- package/app/layouts/default.vue +605 -0
- package/app/pages/forms/examples/buttons/index.vue +285 -0
- package/app/pages/forms/examples/material/checkbox-radio-panels.vue +244 -0
- package/app/pages/forms/examples/material/cssbattle.vue +60 -0
- package/app/pages/forms/examples/material/text-fields.vue +913 -0
- package/app/pages/index.vue +122 -0
- package/app/pages/typography/hero-text.vue +97 -0
- package/app/pages/typography/index.vue +39 -0
- package/app/pages/typography/page-body.vue +171 -0
- package/app/pages/typography/page-heading.vue +76 -0
- package/app/pages/typography/page-link.vue +103 -0
- package/app/pages/ui/accordian.vue +211 -0
- package/app/pages/ui/animated-svg-text.vue +85 -0
- package/app/pages/ui/block-decorators.vue +142 -0
- package/app/pages/ui/carousel-basic.vue +292 -0
- package/app/pages/ui/carousel-flip.vue +244 -0
- package/app/pages/ui/carousel-infinite.vue +260 -0
- package/app/pages/ui/clipped-panels.vue +101 -0
- package/app/pages/ui/contact-section.vue +323 -0
- package/app/pages/ui/container-glow.vue +107 -0
- package/app/pages/ui/content-container.vue +112 -0
- package/app/pages/ui/display-avatar.vue +253 -0
- package/app/pages/ui/display-banner.vue +78 -0
- package/app/pages/ui/display-card.vue +82 -0
- package/app/pages/ui/display-chip.vue +225 -0
- package/app/pages/ui/display-details.vue +175 -0
- package/app/pages/ui/display-dialog.vue +231 -0
- package/app/pages/ui/display-prompt.vue +81 -0
- package/app/pages/ui/display-toast.vue +332 -0
- package/app/pages/ui/expanding-panel.vue +193 -0
- package/app/pages/ui/glowing-border.vue +111 -0
- package/app/pages/ui/layout-grid-a.vue +149 -0
- package/app/pages/ui/layout-grid-b.vue +132 -0
- package/app/pages/ui/layout-row.vue +139 -0
- package/app/pages/ui/magnetic-navigation.vue +50 -0
- package/app/pages/ui/marquee-scroller.vue +99 -0
- package/app/pages/ui/mask-element.vue +82 -0
- package/app/pages/ui/masonry-columns.vue +55 -0
- package/app/pages/ui/masonry-grid-ordered-experiment.vue +79 -0
- package/app/pages/ui/masonry-grid-ordered.vue +56 -0
- package/app/pages/ui/masonry-grid-sorted.vue +55 -0
- package/app/pages/ui/masonry-grid.vue +55 -0
- package/app/pages/ui/price-list.vue +65 -0
- package/app/pages/ui/profile-section.vue +96 -0
- package/app/pages/ui/qr-code/[componentName].vue +218 -0
- package/app/pages/ui/rotating-carousel.vue +154 -0
- package/app/pages/ui/section-parallax.vue +54 -0
- package/app/pages/ui/services/colour-finder.vue +43 -0
- package/app/pages/ui/services/services-cards.vue +42 -0
- package/app/pages/ui/services/services-section/[slug].vue +59 -0
- package/app/pages/ui/services/services-sections-compact.vue +64 -0
- package/app/pages/ui/services/treatment-consultant.vue +39 -0
- package/app/pages/ui/settings.vue +80 -0
- package/app/pages/ui/simple-grid.vue +66 -0
- package/app/pages/ui/slider-gallery.vue +261 -0
- package/app/pages/ui/tabs-y.vue +108 -0
- package/app/pages/ui/tabs.vue +192 -0
- package/app/pages/ui/tooltips.vue +104 -0
- package/app/pages/ui/wipe-away-vertical.vue +129 -0
- package/app/plugins/css-anchor-positioning-polyfill.client.ts +5 -0
- package/app/stores/useServicesStore.ts +37 -0
- package/app/stores/useSettingsStore.ts +35 -0
- package/app/types/components/hero-text.ts +4 -0
- package/app/types/components/index.ts +1 -0
- package/app/types/forms/types.forms.d.ts +293 -0
- package/app/types/forms/types.zodFormControl.d.ts +29 -0
- package/app/types/types.posts.ts +21 -0
- package/app/types/types.quotes.ts +12 -0
- package/app/types/types.services.ts +20 -0
- package/app/utils/colour-scheme-init.ts +17 -0
- package/nuxt.config.ts +86 -6
- package/package.json +51 -14
- package/types/components/css-anchor-polyfill.d.ts +1 -0
|
@@ -0,0 +1,346 @@
|
|
|
1
|
+
import type { Meta, StoryFn } from "@nuxtjs/storybook";
|
|
2
|
+
import StorybookComponent from "../DisplayChip.vue";
|
|
3
|
+
import type { DisplayChipConfig } from "../../../types/components";
|
|
4
|
+
|
|
5
|
+
// Custom interface for story args
|
|
6
|
+
interface ChipStoryArgs {
|
|
7
|
+
tag: "div" | "span";
|
|
8
|
+
shape: "circle" | "square";
|
|
9
|
+
chipSize: number;
|
|
10
|
+
chipMaskWidth: number;
|
|
11
|
+
chipOffset: number;
|
|
12
|
+
chipAngle: number;
|
|
13
|
+
icon: string;
|
|
14
|
+
label: string;
|
|
15
|
+
status: "offline" | "online" | "idle" | "dnd";
|
|
16
|
+
useSlot: boolean;
|
|
17
|
+
slotContent: string;
|
|
18
|
+
styleClassPassthrough: string[];
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export default {
|
|
22
|
+
title: "Components/UI/DisplayChip",
|
|
23
|
+
component: StorybookComponent,
|
|
24
|
+
argTypes: {
|
|
25
|
+
// Basic Configuration
|
|
26
|
+
tag: {
|
|
27
|
+
control: { type: "select" },
|
|
28
|
+
options: ["div", "span"],
|
|
29
|
+
description: "HTML tag to render",
|
|
30
|
+
table: {
|
|
31
|
+
category: "Basic",
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
shape: {
|
|
35
|
+
control: { type: "select" },
|
|
36
|
+
options: ["circle", "square"],
|
|
37
|
+
description: "Shape of the parent element for chip positioning",
|
|
38
|
+
table: {
|
|
39
|
+
category: "Basic",
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
// Chip Configuration
|
|
43
|
+
chipSize: {
|
|
44
|
+
control: { type: "range", min: 8, max: 32, step: 1 },
|
|
45
|
+
description: "Size of the chip in pixels",
|
|
46
|
+
table: {
|
|
47
|
+
category: "Chip Configuration",
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
chipMaskWidth: {
|
|
51
|
+
control: { type: "range", min: 0, max: 12, step: 1 },
|
|
52
|
+
description: "Width of the chip mask/border in pixels",
|
|
53
|
+
table: {
|
|
54
|
+
category: "Chip Configuration",
|
|
55
|
+
},
|
|
56
|
+
},
|
|
57
|
+
chipOffset: {
|
|
58
|
+
control: { type: "range", min: -20, max: 20, step: 1 },
|
|
59
|
+
description: "Offset of the chip from the edge in pixels",
|
|
60
|
+
table: {
|
|
61
|
+
category: "Chip Configuration",
|
|
62
|
+
},
|
|
63
|
+
},
|
|
64
|
+
chipAngle: {
|
|
65
|
+
control: { type: "range", min: 0, max: 360, step: 15 },
|
|
66
|
+
description: "Angle of the chip position around the element in degrees",
|
|
67
|
+
table: {
|
|
68
|
+
category: "Chip Configuration",
|
|
69
|
+
},
|
|
70
|
+
},
|
|
71
|
+
// Chip Content
|
|
72
|
+
icon: {
|
|
73
|
+
control: { type: "text" },
|
|
74
|
+
description: "Icon name to display in the chip (e.g., 'mdi:account')",
|
|
75
|
+
table: {
|
|
76
|
+
category: "Content",
|
|
77
|
+
},
|
|
78
|
+
},
|
|
79
|
+
label: {
|
|
80
|
+
control: { type: "text" },
|
|
81
|
+
description: "Text label to display in the chip (max 3 characters)",
|
|
82
|
+
table: {
|
|
83
|
+
category: "Content",
|
|
84
|
+
},
|
|
85
|
+
},
|
|
86
|
+
status: {
|
|
87
|
+
control: { type: "select" },
|
|
88
|
+
options: ["offline", "online", "idle", "dnd"],
|
|
89
|
+
description: "Status color for the chip",
|
|
90
|
+
table: {
|
|
91
|
+
category: "Appearance",
|
|
92
|
+
},
|
|
93
|
+
},
|
|
94
|
+
// Slot Configuration
|
|
95
|
+
useSlot: {
|
|
96
|
+
control: { type: "boolean" },
|
|
97
|
+
description: "Whether to use slot content",
|
|
98
|
+
table: {
|
|
99
|
+
category: "Slot",
|
|
100
|
+
},
|
|
101
|
+
},
|
|
102
|
+
slotContent: {
|
|
103
|
+
control: { type: "text" },
|
|
104
|
+
description: "Content to display in the default slot",
|
|
105
|
+
table: {
|
|
106
|
+
category: "Slot",
|
|
107
|
+
},
|
|
108
|
+
},
|
|
109
|
+
// Hide complex props from controls
|
|
110
|
+
config: {
|
|
111
|
+
table: {
|
|
112
|
+
disable: true,
|
|
113
|
+
},
|
|
114
|
+
},
|
|
115
|
+
styleClassPassthrough: {
|
|
116
|
+
table: {
|
|
117
|
+
disable: true,
|
|
118
|
+
},
|
|
119
|
+
},
|
|
120
|
+
},
|
|
121
|
+
args: {
|
|
122
|
+
tag: "div",
|
|
123
|
+
shape: "circle",
|
|
124
|
+
chipSize: 12,
|
|
125
|
+
chipMaskWidth: 4,
|
|
126
|
+
chipOffset: 0,
|
|
127
|
+
chipAngle: 45,
|
|
128
|
+
icon: "",
|
|
129
|
+
label: "",
|
|
130
|
+
status: "offline",
|
|
131
|
+
useSlot: true,
|
|
132
|
+
slotContent: "Avatar content",
|
|
133
|
+
styleClassPassthrough: [],
|
|
134
|
+
},
|
|
135
|
+
} as Meta<typeof StorybookComponent>;
|
|
136
|
+
|
|
137
|
+
const Template: StoryFn<ChipStoryArgs> = (args) => ({
|
|
138
|
+
components: { StorybookComponent },
|
|
139
|
+
setup() {
|
|
140
|
+
const chipConfig: DisplayChipConfig = {
|
|
141
|
+
size: `${args.chipSize}px`,
|
|
142
|
+
maskWidth: `${args.chipMaskWidth}px`,
|
|
143
|
+
offset: `${args.chipOffset}px`,
|
|
144
|
+
angle: `${args.chipAngle}deg`,
|
|
145
|
+
icon: args.icon || undefined,
|
|
146
|
+
label: args.label || undefined,
|
|
147
|
+
};
|
|
148
|
+
|
|
149
|
+
const classes = [...(args.styleClassPassthrough || []), args.status];
|
|
150
|
+
|
|
151
|
+
return { args, chipConfig, classes };
|
|
152
|
+
},
|
|
153
|
+
template: `
|
|
154
|
+
<div style="padding: 40px; display: flex; align-items: center; justify-content: center; min-height: 200px;">
|
|
155
|
+
<StorybookComponent
|
|
156
|
+
:tag="args.tag"
|
|
157
|
+
:shape="args.shape"
|
|
158
|
+
:config="chipConfig"
|
|
159
|
+
:style-class-passthrough="classes"
|
|
160
|
+
style="width: 100px; height: 100px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: white; font-weight: 500;"
|
|
161
|
+
>
|
|
162
|
+
<template v-if="args.useSlot" #default>
|
|
163
|
+
{{ args.slotContent }}
|
|
164
|
+
</template>
|
|
165
|
+
</StorybookComponent>
|
|
166
|
+
</div>
|
|
167
|
+
`,
|
|
168
|
+
});
|
|
169
|
+
|
|
170
|
+
// Default Story
|
|
171
|
+
export const Default = Template.bind({});
|
|
172
|
+
Default.args = {
|
|
173
|
+
status: "online",
|
|
174
|
+
label: "5",
|
|
175
|
+
};
|
|
176
|
+
|
|
177
|
+
// Icon Chip
|
|
178
|
+
export const WithIcon = Template.bind({});
|
|
179
|
+
WithIcon.args = {
|
|
180
|
+
status: "online",
|
|
181
|
+
icon: "mdi:check",
|
|
182
|
+
slotContent: "Icon Chip",
|
|
183
|
+
};
|
|
184
|
+
|
|
185
|
+
// Different Statuses
|
|
186
|
+
export const OnlineStatus = Template.bind({});
|
|
187
|
+
OnlineStatus.args = {
|
|
188
|
+
status: "online",
|
|
189
|
+
label: "●",
|
|
190
|
+
};
|
|
191
|
+
|
|
192
|
+
export const IdleStatus = Template.bind({});
|
|
193
|
+
IdleStatus.args = {
|
|
194
|
+
status: "idle",
|
|
195
|
+
label: "⏸",
|
|
196
|
+
};
|
|
197
|
+
|
|
198
|
+
export const DoNotDisturbStatus = Template.bind({});
|
|
199
|
+
DoNotDisturbStatus.args = {
|
|
200
|
+
status: "dnd",
|
|
201
|
+
label: "✕",
|
|
202
|
+
};
|
|
203
|
+
|
|
204
|
+
export const OfflineStatus = Template.bind({});
|
|
205
|
+
OfflineStatus.args = {
|
|
206
|
+
status: "offline",
|
|
207
|
+
label: "○",
|
|
208
|
+
};
|
|
209
|
+
|
|
210
|
+
// Different Positions
|
|
211
|
+
export const TopRight = Template.bind({});
|
|
212
|
+
TopRight.args = {
|
|
213
|
+
status: "online",
|
|
214
|
+
chipAngle: 45,
|
|
215
|
+
label: "TR",
|
|
216
|
+
};
|
|
217
|
+
|
|
218
|
+
export const TopLeft = Template.bind({});
|
|
219
|
+
TopLeft.args = {
|
|
220
|
+
status: "online",
|
|
221
|
+
chipAngle: 315,
|
|
222
|
+
label: "TL",
|
|
223
|
+
};
|
|
224
|
+
|
|
225
|
+
export const BottomRight = Template.bind({});
|
|
226
|
+
BottomRight.args = {
|
|
227
|
+
status: "online",
|
|
228
|
+
chipAngle: 135,
|
|
229
|
+
label: "BR",
|
|
230
|
+
};
|
|
231
|
+
|
|
232
|
+
export const BottomLeft = Template.bind({});
|
|
233
|
+
BottomLeft.args = {
|
|
234
|
+
status: "online",
|
|
235
|
+
chipAngle: 225,
|
|
236
|
+
label: "BL",
|
|
237
|
+
};
|
|
238
|
+
|
|
239
|
+
// Different Sizes
|
|
240
|
+
export const SmallChip = Template.bind({});
|
|
241
|
+
SmallChip.args = {
|
|
242
|
+
status: "online",
|
|
243
|
+
chipSize: 8,
|
|
244
|
+
label: "S",
|
|
245
|
+
};
|
|
246
|
+
|
|
247
|
+
export const LargeChip = Template.bind({});
|
|
248
|
+
LargeChip.args = {
|
|
249
|
+
status: "online",
|
|
250
|
+
chipSize: 20,
|
|
251
|
+
label: "L",
|
|
252
|
+
};
|
|
253
|
+
|
|
254
|
+
// Square Shape
|
|
255
|
+
export const SquareShape = Template.bind({});
|
|
256
|
+
SquareShape.args = {
|
|
257
|
+
shape: "square",
|
|
258
|
+
status: "online",
|
|
259
|
+
label: "□",
|
|
260
|
+
slotContent: "Square Parent",
|
|
261
|
+
};
|
|
262
|
+
|
|
263
|
+
// With Offset
|
|
264
|
+
export const WithOffset = Template.bind({});
|
|
265
|
+
WithOffset.args = {
|
|
266
|
+
status: "online",
|
|
267
|
+
chipOffset: 10,
|
|
268
|
+
label: "10",
|
|
269
|
+
slotContent: "Offset Example",
|
|
270
|
+
};
|
|
271
|
+
|
|
272
|
+
// Multiple Chips Demo
|
|
273
|
+
const MultipleChipsTemplate: StoryFn<ChipStoryArgs> = (args) => ({
|
|
274
|
+
components: { StorybookComponent },
|
|
275
|
+
setup() {
|
|
276
|
+
return { args };
|
|
277
|
+
},
|
|
278
|
+
template: `
|
|
279
|
+
<div style="padding: 40px; display: flex; gap: 40px; align-items: center; justify-content: center; flex-wrap: wrap;">
|
|
280
|
+
<StorybookComponent
|
|
281
|
+
:config="{
|
|
282
|
+
size: '12px',
|
|
283
|
+
maskWidth: '4px',
|
|
284
|
+
offset: '0px',
|
|
285
|
+
angle: '45deg',
|
|
286
|
+
label: '5'
|
|
287
|
+
}"
|
|
288
|
+
:style-class-passthrough="['online']"
|
|
289
|
+
style="width: 80px; height: 80px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white;"
|
|
290
|
+
>
|
|
291
|
+
Online
|
|
292
|
+
</StorybookComponent>
|
|
293
|
+
|
|
294
|
+
<StorybookComponent
|
|
295
|
+
:config="{
|
|
296
|
+
size: '10px',
|
|
297
|
+
maskWidth: '3px',
|
|
298
|
+
offset: '2px',
|
|
299
|
+
angle: '315deg',
|
|
300
|
+
icon: 'mdi:pause'
|
|
301
|
+
}"
|
|
302
|
+
:style-class-passthrough="['idle']"
|
|
303
|
+
style="width: 80px; height: 80px; background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: white;"
|
|
304
|
+
>
|
|
305
|
+
Idle
|
|
306
|
+
</StorybookComponent>
|
|
307
|
+
|
|
308
|
+
<StorybookComponent
|
|
309
|
+
shape="square"
|
|
310
|
+
:config="{
|
|
311
|
+
size: '14px',
|
|
312
|
+
maskWidth: '2px',
|
|
313
|
+
offset: '-5px',
|
|
314
|
+
angle: '135deg',
|
|
315
|
+
label: 'DND'
|
|
316
|
+
}"
|
|
317
|
+
:style-class-passthrough="['dnd']"
|
|
318
|
+
style="width: 80px; height: 80px; background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: white;"
|
|
319
|
+
>
|
|
320
|
+
DND
|
|
321
|
+
</StorybookComponent>
|
|
322
|
+
|
|
323
|
+
<StorybookComponent
|
|
324
|
+
:config="{
|
|
325
|
+
size: '16px',
|
|
326
|
+
maskWidth: '6px',
|
|
327
|
+
offset: '8px',
|
|
328
|
+
angle: '90deg'
|
|
329
|
+
}"
|
|
330
|
+
:style-class-passthrough="['offline']"
|
|
331
|
+
style="width: 80px; height: 80px; background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); border-radius: 16px; display: flex; align-items: center; justify-content: center; color: white;"
|
|
332
|
+
>
|
|
333
|
+
Offline
|
|
334
|
+
</StorybookComponent>
|
|
335
|
+
</div>
|
|
336
|
+
`,
|
|
337
|
+
});
|
|
338
|
+
|
|
339
|
+
export const MultipleChips = MultipleChipsTemplate.bind({});
|
|
340
|
+
MultipleChips.parameters = {
|
|
341
|
+
docs: {
|
|
342
|
+
description: {
|
|
343
|
+
story: "Examples of multiple chips with different configurations and statuses.",
|
|
344
|
+
},
|
|
345
|
+
},
|
|
346
|
+
};
|
|
@@ -54,6 +54,7 @@ const contentRef = useTemplateRef<HTMLDivElement | null>("contentRef")
|
|
|
54
54
|
</script>
|
|
55
55
|
|
|
56
56
|
<style lang="css">
|
|
57
|
+
@layer components {
|
|
57
58
|
.display-details {
|
|
58
59
|
border: none;
|
|
59
60
|
outline: none;
|
|
@@ -117,4 +118,5 @@ const contentRef = useTemplateRef<HTMLDivElement | null>("contentRef")
|
|
|
117
118
|
}
|
|
118
119
|
}
|
|
119
120
|
}
|
|
121
|
+
}
|
|
120
122
|
</style>
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
</template>
|
|
47
47
|
|
|
48
48
|
<script setup lang="ts">
|
|
49
|
-
import { FocusTrap } from "focus-trap-vue"
|
|
49
|
+
import { FocusTrap } from "focus-trap-vue";
|
|
50
50
|
const props = defineProps({
|
|
51
51
|
styleClassPassthrough: {
|
|
52
52
|
type: [String, Array] as PropType<string | string[]>,
|
|
@@ -79,33 +79,34 @@ const props = defineProps({
|
|
|
79
79
|
type: String,
|
|
80
80
|
required: true,
|
|
81
81
|
},
|
|
82
|
-
})
|
|
82
|
+
});
|
|
83
83
|
|
|
84
|
-
const { elementClasses } = useStyleClassPassthrough(props.styleClassPassthrough)
|
|
84
|
+
const { elementClasses } = useStyleClassPassthrough(props.styleClassPassthrough);
|
|
85
85
|
|
|
86
|
-
const open = defineModel<boolean>()
|
|
87
|
-
const bodyTag = ref<HTMLBodyElement | null>(null)
|
|
88
|
-
const lockViewport = toRef<boolean>(props.lockViewport)
|
|
86
|
+
const open = defineModel<boolean>();
|
|
87
|
+
const bodyTag = ref<HTMLBodyElement | null>(null);
|
|
88
|
+
const lockViewport = toRef<boolean>(props.lockViewport);
|
|
89
89
|
|
|
90
90
|
const closeDialog = () => {
|
|
91
|
-
open.value = false
|
|
91
|
+
open.value = false;
|
|
92
92
|
|
|
93
93
|
if (lockViewport.value && bodyTag.value !== null) {
|
|
94
|
-
bodyTag.value.classList.remove("lock")
|
|
94
|
+
bodyTag.value.classList.remove("lock");
|
|
95
95
|
}
|
|
96
|
-
}
|
|
96
|
+
};
|
|
97
97
|
|
|
98
|
-
const slots = useSlots()
|
|
98
|
+
const slots = useSlots();
|
|
99
99
|
|
|
100
100
|
onMounted(() => {
|
|
101
|
-
bodyTag.value = document.querySelector("body")
|
|
101
|
+
bodyTag.value = document.querySelector("body");
|
|
102
102
|
if (lockViewport.value && bodyTag.value !== null) {
|
|
103
|
-
bodyTag.value.classList.add("lock")
|
|
103
|
+
bodyTag.value.classList.add("lock");
|
|
104
104
|
}
|
|
105
|
-
})
|
|
105
|
+
});
|
|
106
106
|
</script>
|
|
107
107
|
|
|
108
108
|
<style lang="css">
|
|
109
|
+
@layer components {
|
|
109
110
|
.display-dialog-core {
|
|
110
111
|
display: flex;
|
|
111
112
|
position: fixed;
|
|
@@ -121,7 +122,10 @@ onMounted(() => {
|
|
|
121
122
|
padding: 0;
|
|
122
123
|
|
|
123
124
|
display: none;
|
|
124
|
-
transition:
|
|
125
|
+
transition:
|
|
126
|
+
opacity 200ms,
|
|
127
|
+
display 200ms,
|
|
128
|
+
overlay 200ms;
|
|
125
129
|
transition-behavior: allow-discrete;
|
|
126
130
|
|
|
127
131
|
&[open] {
|
|
@@ -163,8 +167,8 @@ onMounted(() => {
|
|
|
163
167
|
grid-template-rows: auto 1fr auto;
|
|
164
168
|
|
|
165
169
|
border-radius: 8px;
|
|
166
|
-
border: 1px solid light-dark(var(--
|
|
167
|
-
outline: 1px solid light-dark(var(--
|
|
170
|
+
border: 1px solid light-dark(var(--slate-10), var(--slate-02));
|
|
171
|
+
outline: 1px solid light-dark(var(--slate-10), var(--slate-00));
|
|
168
172
|
|
|
169
173
|
background-color: var(--dialog-inner-background);
|
|
170
174
|
height: initial;
|
|
@@ -226,7 +230,9 @@ onMounted(() => {
|
|
|
226
230
|
border-radius: var(--dialog-header-button-border-radius);
|
|
227
231
|
outline: var(--dialog-header-button-outline);
|
|
228
232
|
|
|
229
|
-
transition:
|
|
233
|
+
transition:
|
|
234
|
+
border-color 0.2s,
|
|
235
|
+
outline-color 0.2s;
|
|
230
236
|
|
|
231
237
|
&:hover,
|
|
232
238
|
&:focus-visible {
|
|
@@ -266,4 +272,5 @@ onMounted(() => {
|
|
|
266
272
|
}
|
|
267
273
|
}
|
|
268
274
|
}
|
|
275
|
+
}
|
|
269
276
|
</style>
|
|
@@ -8,15 +8,15 @@
|
|
|
8
8
|
const props = defineProps({
|
|
9
9
|
gridData: {
|
|
10
10
|
type: Object,
|
|
11
|
-
default: {},
|
|
11
|
+
default: () => ({}),
|
|
12
12
|
},
|
|
13
13
|
styleClassPassthrough: {
|
|
14
14
|
type: [String, Array] as PropType<string | string[]>,
|
|
15
15
|
default: () => [],
|
|
16
16
|
},
|
|
17
|
-
})
|
|
17
|
+
});
|
|
18
18
|
|
|
19
|
-
const { elementClasses } = useStyleClassPassthrough(props.styleClassPassthrough)
|
|
19
|
+
const { elementClasses } = useStyleClassPassthrough(props.styleClassPassthrough);
|
|
20
20
|
|
|
21
|
-
const gridData = toRef(() => props.gridData)
|
|
21
|
+
const gridData = toRef(() => props.gridData);
|
|
22
22
|
</script>
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div
|
|
3
|
+
ref="promptElementRef"
|
|
3
4
|
class="display-prompt-core"
|
|
4
5
|
:class="[{ closed: !compopnentOpen }]"
|
|
5
6
|
:data-test-id="`display-prompt-core-${theme}`"
|
|
6
|
-
ref="promptElementRef"
|
|
7
7
|
tabindex="0"
|
|
8
8
|
>
|
|
9
9
|
<div class="display-prompt-wrapper" :data-theme="theme" :class="[elementClasses]" data-test-id="display-prompt">
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
</div>
|
|
24
24
|
<button
|
|
25
25
|
v-if="dismissible"
|
|
26
|
-
@click.prevent="updateComponentState()"
|
|
27
26
|
data-test-id="display-prompt-action"
|
|
28
27
|
class="display-prompt-action"
|
|
28
|
+
@click.prevent="updateComponentState()"
|
|
29
29
|
>
|
|
30
30
|
<slot name="customCloseIcon">
|
|
31
31
|
<Icon name="bitcoin-icons:cross-filled" class="icon" />
|
|
@@ -71,31 +71,32 @@ const props = defineProps({
|
|
|
71
71
|
type: Boolean,
|
|
72
72
|
default: false,
|
|
73
73
|
},
|
|
74
|
-
})
|
|
74
|
+
});
|
|
75
75
|
|
|
76
|
-
const slots = useSlots()
|
|
77
|
-
const promptElementRef = useTemplateRef<HTMLElement>("promptElementRef")
|
|
78
|
-
const parentComponentState = defineModel<boolean>({ default: false })
|
|
79
|
-
const compopnentOpen = ref(true)
|
|
80
|
-
const { elementClasses } = useStyleClassPassthrough(props.styleClassPassthrough)
|
|
76
|
+
const slots = useSlots();
|
|
77
|
+
const promptElementRef = useTemplateRef<HTMLElement>("promptElementRef");
|
|
78
|
+
const parentComponentState = defineModel<boolean>({ default: false });
|
|
79
|
+
const compopnentOpen = ref(true);
|
|
80
|
+
const { elementClasses } = useStyleClassPassthrough(props.styleClassPassthrough);
|
|
81
81
|
|
|
82
82
|
const updateComponentState = () => {
|
|
83
83
|
if (parentComponentState.value) {
|
|
84
|
-
parentComponentState.value = false
|
|
85
|
-
return
|
|
84
|
+
parentComponentState.value = false;
|
|
85
|
+
return;
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
compopnentOpen.value = false
|
|
89
|
-
}
|
|
88
|
+
compopnentOpen.value = false;
|
|
89
|
+
};
|
|
90
90
|
|
|
91
91
|
onMounted(async () => {
|
|
92
92
|
if (props.useAutoFocus && promptElementRef.value) {
|
|
93
|
-
promptElementRef.value.focus()
|
|
93
|
+
promptElementRef.value.focus();
|
|
94
94
|
}
|
|
95
|
-
})
|
|
95
|
+
});
|
|
96
96
|
</script>
|
|
97
97
|
|
|
98
98
|
<style lang="css">
|
|
99
|
+
@layer components {
|
|
99
100
|
.display-prompt-core {
|
|
100
101
|
display: grid;
|
|
101
102
|
grid-template-rows: 1fr;
|
|
@@ -128,7 +129,7 @@ onMounted(async () => {
|
|
|
128
129
|
border-width: 0;
|
|
129
130
|
|
|
130
131
|
.display-prompt-inner {
|
|
131
|
-
background-color: var(--
|
|
132
|
+
background-color: var(--slate-01);
|
|
132
133
|
}
|
|
133
134
|
|
|
134
135
|
&.outlined {
|
|
@@ -197,7 +198,9 @@ onMounted(async () => {
|
|
|
197
198
|
border-radius: 50%;
|
|
198
199
|
outline: 1px solid var(--colour-theme-3);
|
|
199
200
|
|
|
200
|
-
transition:
|
|
201
|
+
transition:
|
|
202
|
+
border 200ms ease-in-out,
|
|
203
|
+
outline 200ms ease-in-out;
|
|
201
204
|
|
|
202
205
|
&:hover {
|
|
203
206
|
cursor: pointer;
|
|
@@ -221,4 +224,5 @@ onMounted(async () => {
|
|
|
221
224
|
}
|
|
222
225
|
}
|
|
223
226
|
}
|
|
227
|
+
}
|
|
224
228
|
</style>
|
|
@@ -22,15 +22,16 @@ const props = defineProps({
|
|
|
22
22
|
type: [String, Array] as PropType<string | string[]>,
|
|
23
23
|
default: () => [],
|
|
24
24
|
},
|
|
25
|
-
})
|
|
25
|
+
});
|
|
26
26
|
|
|
27
|
-
const slots = useSlots()
|
|
27
|
+
const slots = useSlots();
|
|
28
28
|
</script>
|
|
29
29
|
|
|
30
30
|
<style lang="css">
|
|
31
|
+
@layer components {
|
|
31
32
|
.display-prompt.error {
|
|
32
|
-
--bg-color: var(--red-
|
|
33
|
-
--text-color: var(--
|
|
33
|
+
--bg-color: var(--red-02);
|
|
34
|
+
--text-color: var(--slate-00);
|
|
34
35
|
}
|
|
35
36
|
|
|
36
37
|
.display-prompt {
|
|
@@ -48,4 +49,5 @@ const slots = useSlots()
|
|
|
48
49
|
color: var(--text-color);
|
|
49
50
|
}
|
|
50
51
|
}
|
|
52
|
+
}
|
|
51
53
|
</style>
|