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
package/README.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# SRCDEV Nuxt Components
|
|
2
2
|
|
|
3
|
+
[](https://github.com/srcdev/nuxt-components/actions/workflows/test.yml)
|
|
4
|
+
[](https://badge.fury.io/js/srcdev-nuxt-components)
|
|
5
|
+
[](https://github.com/srcdev/nuxt-components/blob/main/LICENSE)
|
|
6
|
+
|
|
3
7
|
## NOTE
|
|
4
8
|
|
|
5
9
|
Althought this repo is public and feel free to do what you wish with it, this has been developed for use with websites we develop.
|
|
@@ -13,127 +17,20 @@ npm install --save srcdev-nuxt-components
|
|
|
13
17
|
```ts
|
|
14
18
|
defineNuxtConfig({
|
|
15
19
|
extends: "srcdev-nuxt-components",
|
|
16
|
-
})
|
|
20
|
+
});
|
|
17
21
|
```
|
|
18
22
|
|
|
19
|
-
##
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
### Setup Layer (`/setup`)
|
|
28
|
-
|
|
29
|
-
The setup layer provides the foundational styles and utilities:
|
|
30
|
-
|
|
31
|
-
#### Core Configuration
|
|
32
|
-
|
|
33
|
-
- **`_head.css`** - Root-level CSS custom properties including:
|
|
34
|
-
- Font size and line height defaults
|
|
35
|
-
- Primary font family stack (futura-pt, Seravek, 'Gill Sans Nova', Ubuntu, Calibri, 'DejaVu Sans', source-sans-pro, sans-serif)
|
|
36
|
-
|
|
37
|
-
#### Variables (`/variables`)
|
|
38
|
-
|
|
39
|
-
- **Color System** - Comprehensive color palette with semantic naming:
|
|
40
|
-
- `_blue.css` - Blue color scale (--blue-0 to --blue-12)
|
|
41
|
-
- `_gray.css` - Gray color scale
|
|
42
|
-
- `_green.css` - Green color scale
|
|
43
|
-
- `_orange.css` - Orange color scale
|
|
44
|
-
- `_red.css` - Red color scale
|
|
45
|
-
- `_yellow.css` - Yellow color scale
|
|
46
|
-
|
|
47
|
-
#### Typography (`/typography`)
|
|
48
|
-
|
|
49
|
-
- **Responsive Font Sizes** - Fluid typography using clamp() functions:
|
|
50
|
-
- `--step-8` to `--step-1` providing 8 responsive font size steps
|
|
51
|
-
- **Utility Classes** - Pre-built typography classes:
|
|
52
|
-
- `.page-heading-1` through `.page-heading-5` - Semantic heading styles
|
|
53
|
-
- Generic font weight and variation settings
|
|
54
|
-
- **Font Variation Settings** - Advanced typography controls
|
|
55
|
-
|
|
56
|
-
#### Utility Classes (`/utility-classes`)
|
|
57
|
-
|
|
58
|
-
- **Spacing Helpers**:
|
|
59
|
-
- `_margin-helpers.css` - Comprehensive margin utilities (`.mi-auto`, `.mb-0`, etc.)
|
|
60
|
-
- `_padding-helpers.css` - Padding utility classes
|
|
61
|
-
- **Page Layout** - Base page styling (`_page.css`)
|
|
62
|
-
|
|
63
|
-
#### Accessibility (`/a11y`)
|
|
64
|
-
|
|
65
|
-
- **Screen Reader Utilities** - `.sr-only` class for accessible hidden content
|
|
66
|
-
- **A11y Variables** - Accessibility-focused CSS custom properties
|
|
67
|
-
- **Utility Functions** - Helper classes for improved accessibility
|
|
68
|
-
|
|
69
|
-
### Component Layer (`/extends-layer/srcdev-components`)
|
|
70
|
-
|
|
71
|
-
Component-specific styles for the included components:
|
|
72
|
-
|
|
73
|
-
#### Display Prompt Component
|
|
74
|
-
|
|
75
|
-
- **`_scaffolding.css`** - Core component structure with CSS custom properties:
|
|
76
|
-
- Wrapper styling (border-radius, layout)
|
|
77
|
-
- Inner content styling (margin, padding, gap)
|
|
78
|
-
- Icon sizing and positioning
|
|
79
|
-
- Content spacing and typography
|
|
80
|
-
- **Themes** - Pre-built component variants:
|
|
81
|
-
- `_error.css` - Error state styling
|
|
82
|
-
- `_info.css` - Information state styling
|
|
83
|
-
- `_success.css` - Success state styling
|
|
84
|
-
- `_warning.css` - Warning state styling
|
|
85
|
-
|
|
86
|
-
### Import Structure
|
|
87
|
-
|
|
88
|
-
The styles follow a cascading import pattern:
|
|
89
|
-
|
|
90
|
-
```text
|
|
91
|
-
main.css
|
|
92
|
-
├── setup/
|
|
93
|
-
│ ├── index.css
|
|
94
|
-
│ ├── _head.css
|
|
95
|
-
│ ├── utility-classes/
|
|
96
|
-
│ │ ├── index.css
|
|
97
|
-
│ │ ├── _margin-helpers.css
|
|
98
|
-
│ │ ├── _padding-helpers.css
|
|
99
|
-
│ │ └── _page.css
|
|
100
|
-
│ ├── a11y/
|
|
101
|
-
│ │ ├── index.css
|
|
102
|
-
│ │ ├── _utils.css
|
|
103
|
-
│ │ └── _variables.css
|
|
104
|
-
│ ├── variables/
|
|
105
|
-
│ │ ├── index.css
|
|
106
|
-
│ │ └── colors/
|
|
107
|
-
│ │ ├── index.css
|
|
108
|
-
│ │ ├── _blue.css
|
|
109
|
-
│ │ ├── _gray.css
|
|
110
|
-
│ │ ├── _green.css
|
|
111
|
-
│ │ ├── _orange.css
|
|
112
|
-
│ │ ├── _red.css
|
|
113
|
-
│ │ └── _yellow.css
|
|
114
|
-
│ └── typography/
|
|
115
|
-
│ ├── index.css
|
|
116
|
-
│ ├── utility-classes/
|
|
117
|
-
│ │ ├── index.css
|
|
118
|
-
│ │ ├── _generic-font-classes.css
|
|
119
|
-
│ │ ├── _generic-font-variation-settings.css
|
|
120
|
-
│ │ └── _generic-font-weights.css
|
|
121
|
-
│ └── vars/
|
|
122
|
-
│ ├── index.css
|
|
123
|
-
│ └── _reponsive-font-sizes.css
|
|
124
|
-
└── extends-layer/srcdev-components/
|
|
125
|
-
├── index.css
|
|
126
|
-
├── display-prompt-core/
|
|
127
|
-
│ └── index.css
|
|
128
|
-
└── themes/
|
|
129
|
-
├── index.css
|
|
130
|
-
├── _error.css
|
|
131
|
-
├── _info.css
|
|
132
|
-
├── _success.css
|
|
133
|
-
└── _warning.css
|
|
134
|
-
```
|
|
23
|
+
## Known Dev Server Warnings
|
|
24
|
+
|
|
25
|
+
### `[request error] [GET] http://localhost:3000/_nuxt/` (404)
|
|
26
|
+
|
|
27
|
+
This error appears in the terminal when running `npm run dev` and is **harmless** — it does not affect dev server operation.
|
|
28
|
+
|
|
29
|
+
**Cause**: The Vue/Nuxt browser DevTools extension probes `/_nuxt/` to detect if the page is a Nuxt app. Since `/_nuxt/` is a directory (not a file), the server returns 404 and logs it.
|
|
135
30
|
|
|
136
|
-
|
|
31
|
+
**Resolution**: It cannot be suppressed without disabling the browser extension. Since the DevTools extension is useful for inspecting Pinia stores and component state, the recommended approach is to ignore this warning.
|
|
32
|
+
|
|
33
|
+
---
|
|
137
34
|
|
|
138
35
|
## Development Environment (`.vscode`)
|
|
139
36
|
|
|
@@ -162,6 +59,161 @@ The `.vscode` directory contains Visual Studio Code configuration files to ensur
|
|
|
162
59
|
|
|
163
60
|
The `.vscode` directory includes comprehensive code snippets for rapid component development:
|
|
164
61
|
|
|
62
|
+
## Contact Form — Resend Setup
|
|
63
|
+
|
|
64
|
+
The contact form at `/ui/contact-section` sends enquiries via [Resend](https://resend.com).
|
|
65
|
+
No extra packages are required — the server route calls the Resend REST API directly.
|
|
66
|
+
|
|
67
|
+
### 1. Create a Resend account
|
|
68
|
+
|
|
69
|
+
Sign up at [resend.com](https://resend.com). The free tier allows 3,000 emails/month (100/day),
|
|
70
|
+
which is more than sufficient for a contact form.
|
|
71
|
+
|
|
72
|
+
### 2. Verify a sending domain
|
|
73
|
+
|
|
74
|
+
In the Resend dashboard go to **Domains → Add Domain** and follow the DNS instructions for your
|
|
75
|
+
domain. This is required before you can send from a custom `from` address in production.
|
|
76
|
+
|
|
77
|
+
> **Local development shortcut:** you can skip domain verification and use Resend's shared sandbox
|
|
78
|
+
> address `onboarding@resend.dev` as the `from` address. Emails will only be delivered to the
|
|
79
|
+
> email address registered on your Resend account, so it is safe for testing.
|
|
80
|
+
|
|
81
|
+
### 3. Create an API key
|
|
82
|
+
|
|
83
|
+
In the Resend dashboard go to **API Keys → Create API Key**. Copy the key — it is only shown once.
|
|
84
|
+
|
|
85
|
+
### 4. Configure environment variables
|
|
86
|
+
|
|
87
|
+
Copy `.env.example` to `.env` and fill in the three values:
|
|
88
|
+
|
|
89
|
+
```bash
|
|
90
|
+
cp .env.example .env
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
```env
|
|
94
|
+
NUXT_RESEND_API_KEY=re_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|
95
|
+
NUXT_CONTACT_EMAIL_TO=you@yourdomain.com
|
|
96
|
+
NUXT_CONTACT_EMAIL_FROM=Enquiries <hello@yourdomain.com>
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
| Variable | Description |
|
|
100
|
+
| ------------------------- | -------------------------------------------------------------------------- |
|
|
101
|
+
| `NUXT_RESEND_API_KEY` | API key from the Resend dashboard |
|
|
102
|
+
| `NUXT_CONTACT_EMAIL_TO` | The inbox that receives enquiries |
|
|
103
|
+
| `NUXT_CONTACT_EMAIL_FROM` | The "from" address shown to recipients — must use a verified Resend domain |
|
|
104
|
+
|
|
105
|
+
Nuxt maps `NUXT_*` variables to `runtimeConfig` automatically at runtime. The values are
|
|
106
|
+
**server-only** and never included in the client bundle.
|
|
107
|
+
|
|
108
|
+
### 5. Vercel deployment
|
|
109
|
+
|
|
110
|
+
Rather than committing a `.env` file, add the variables directly in the Vercel dashboard:
|
|
111
|
+
|
|
112
|
+
1. Open your project in [vercel.com](https://vercel.com)
|
|
113
|
+
2. Go to **Settings → Environment Variables**
|
|
114
|
+
3. Add each of the three `NUXT_*` variables, setting the environment to **Production**
|
|
115
|
+
(and **Preview** if you want the form to work on preview deployments too)
|
|
116
|
+
4. Redeploy — Vercel injects the variables at build and runtime automatically
|
|
117
|
+
|
|
118
|
+
> `.env` is listed in `.gitignore` and should never be committed to the repository.
|
|
119
|
+
|
|
120
|
+
---
|
|
121
|
+
|
|
122
|
+
## Testing
|
|
123
|
+
|
|
124
|
+
This project has two test layers that run independently.
|
|
125
|
+
|
|
126
|
+
---
|
|
127
|
+
|
|
128
|
+
### Unit & Snapshot Tests (Vitest)
|
|
129
|
+
|
|
130
|
+
Runs component logic, HTML structure, and snapshot regression tests. No browser or running server required.
|
|
131
|
+
|
|
132
|
+
```bash
|
|
133
|
+
# Run in watch mode (development)
|
|
134
|
+
npm run test
|
|
135
|
+
|
|
136
|
+
# Run once (CI / pre-commit)
|
|
137
|
+
npm run test:run
|
|
138
|
+
|
|
139
|
+
# Open the Vitest UI (browser-based test explorer)
|
|
140
|
+
npm run test:ui
|
|
141
|
+
|
|
142
|
+
# Update snapshots after an intentional component change
|
|
143
|
+
npm run test:update
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
---
|
|
147
|
+
|
|
148
|
+
### Visual Regression Tests (Playwright)
|
|
149
|
+
|
|
150
|
+
Runs pixel-level screenshot comparisons against Storybook. Requires Storybook to be running first.
|
|
151
|
+
|
|
152
|
+
```bash
|
|
153
|
+
# 1. Start Storybook
|
|
154
|
+
npm run storybook:serve
|
|
155
|
+
|
|
156
|
+
# 2. In a separate terminal, run visual tests
|
|
157
|
+
npm run playwright
|
|
158
|
+
|
|
159
|
+
# Update visual baselines after an intentional visual change
|
|
160
|
+
npm run playwright:update
|
|
161
|
+
|
|
162
|
+
# View Playwright test report
|
|
163
|
+
npx playwright show-report
|
|
164
|
+
```
|
|
165
|
+
|
|
166
|
+
> Visual tests run across Chromium, Firefox, and WebKit. Snapshot baselines are stored per browser — expect three PNG files per component test.
|
|
167
|
+
|
|
168
|
+
---
|
|
169
|
+
|
|
170
|
+
### What Each Layer Catches
|
|
171
|
+
|
|
172
|
+
| Change | Unit tests | Visual tests |
|
|
173
|
+
| ------------------------------------- | ---------- | ------------ |
|
|
174
|
+
| Class added / removed | ✅ | ✅ |
|
|
175
|
+
| HTML structure changed | ✅ | ✅ |
|
|
176
|
+
| Font weight / color / spacing changed | ❌ | ✅ |
|
|
177
|
+
| Prop or slot logic broken | ✅ | ❌ |
|
|
178
|
+
| Accessibility attribute missing | ✅ | ❌ |
|
|
179
|
+
|
|
180
|
+
---
|
|
181
|
+
|
|
182
|
+
## Storybook
|
|
183
|
+
|
|
184
|
+
Storybook is used for isolated component development and as the target for visual regression tests. It runs as a separate Vite-based dev server.
|
|
185
|
+
|
|
186
|
+
### Scripts
|
|
187
|
+
|
|
188
|
+
```bash
|
|
189
|
+
# Start Storybook dev server (http://localhost:6006)
|
|
190
|
+
npm run storybook
|
|
191
|
+
|
|
192
|
+
# Build a static Storybook (outputs to storybook-static/)
|
|
193
|
+
npm run storybook:build
|
|
194
|
+
|
|
195
|
+
# Build and serve locally — used before running Playwright visual tests
|
|
196
|
+
npm run storybook:serve
|
|
197
|
+
|
|
198
|
+
# Clear Storybook and Vite caches — run this if styles appear stale after changes
|
|
199
|
+
npm run storybook:cache:clean
|
|
200
|
+
```
|
|
201
|
+
|
|
202
|
+
> After clearing the cache, restart with `npm run storybook`. The cache clear is particularly
|
|
203
|
+
> useful when changes inside `@layer` CSS blocks are not reflected in the running dev server.
|
|
204
|
+
|
|
205
|
+
### Fonts
|
|
206
|
+
|
|
207
|
+
`@nuxt/fonts` is disabled in Storybook (detected via `process.env.STORYBOOK` in `nuxt.config.ts`).
|
|
208
|
+
Fonts are served instead from local files in `.storybook/public/_fonts/`, declared in `.storybook/fonts.css` and imported in `.storybook/preview.ts`.
|
|
209
|
+
|
|
210
|
+
| Font | Format | Source |
|
|
211
|
+
| ---------------- | ------ | -------------------------------------------- |
|
|
212
|
+
| Poppins | TTF | `.storybook/public/_fonts/poppins/` |
|
|
213
|
+
| Playfair Display | woff2 | `.storybook/public/_fonts/playfair-display/` |
|
|
214
|
+
|
|
215
|
+
To add a new font, see [.claude/skills/storybook-add-font.md](.claude/skills/storybook-add-font.md).
|
|
216
|
+
|
|
165
217
|
#### Core Components
|
|
166
218
|
|
|
167
219
|
- **`srcdev-nuxt3-component-boilerplate.code-snippets`** - Base component template with prop validation
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
.srcdev-components-extended {
|
|
2
|
+
.display-prompt-core {
|
|
3
|
+
.display-prompt-wrapper {
|
|
4
|
+
background-color: var(--colour-theme-8);
|
|
5
|
+
border: 0px solid transparent;
|
|
6
|
+
border-radius: 4px;
|
|
7
|
+
border-start-start-radius: 8px;
|
|
8
|
+
border-end-start-radius: 8px;
|
|
9
|
+
padding-inline-start: 8px;
|
|
10
|
+
|
|
11
|
+
&:not(.dark) {
|
|
12
|
+
&.outlined {
|
|
13
|
+
border: 1px solid var(--colour-theme-8);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&.dark {
|
|
18
|
+
border-width: 0;
|
|
19
|
+
|
|
20
|
+
.display-prompt-inner {
|
|
21
|
+
background-color: var(--slate-10);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&.outlined {
|
|
25
|
+
border: 1px solid var(--colour-theme-8);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.display-prompt-inner {
|
|
30
|
+
align-items: center;
|
|
31
|
+
gap: 12px;
|
|
32
|
+
padding-block: 1rem;
|
|
33
|
+
padding-inline: 1.5rem;
|
|
34
|
+
|
|
35
|
+
border-start-start-radius: 8px;
|
|
36
|
+
border-end-start-radius: 8px;
|
|
37
|
+
background-color: var(--colour-theme-10);
|
|
38
|
+
|
|
39
|
+
.display-prompt-icon {
|
|
40
|
+
.icon {
|
|
41
|
+
color: var(--colour-theme-0);
|
|
42
|
+
font-size: 3rem;
|
|
43
|
+
font-style: normal;
|
|
44
|
+
font-weight: normal;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.display-prompt-content {
|
|
49
|
+
gap: 1rem;
|
|
50
|
+
margin: 0;
|
|
51
|
+
padding: 0.2rem;
|
|
52
|
+
|
|
53
|
+
.title {
|
|
54
|
+
font-size: var(--step-5);
|
|
55
|
+
font-weight: bold;
|
|
56
|
+
line-height: 1.3;
|
|
57
|
+
color: var(--colour-theme-0);
|
|
58
|
+
margin: 0;
|
|
59
|
+
padding: 0;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.text {
|
|
63
|
+
font-size: var(--step-4);
|
|
64
|
+
font-weight: normal;
|
|
65
|
+
line-height: 1.3;
|
|
66
|
+
color: var(--colour-theme-0);
|
|
67
|
+
margin: 0;
|
|
68
|
+
padding: 0;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
.display-prompt-action {
|
|
72
|
+
background-color: transparent;
|
|
73
|
+
align-items: center;
|
|
74
|
+
margin: 1rem;
|
|
75
|
+
padding: 0.5rem;
|
|
76
|
+
border: 0.1rem solid var(--colour-theme-8);
|
|
77
|
+
border-radius: 50%;
|
|
78
|
+
outline: 1px solid var(--colour-theme-3);
|
|
79
|
+
|
|
80
|
+
&:hover {
|
|
81
|
+
cursor: pointer;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.icon {
|
|
85
|
+
color: var(--colour-theme-0);
|
|
86
|
+
font-size: var(--step-5);
|
|
87
|
+
border: 1px solid green;
|
|
88
|
+
padding: 1rem;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
.srcdev-components-extended {
|
|
2
|
+
.expanding-panel {
|
|
3
|
+
.expanding-panel-details {
|
|
4
|
+
.expanding-panel-summary {
|
|
5
|
+
&::-webkit-details-marker,
|
|
6
|
+
&::marker {
|
|
7
|
+
display: none;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.label-wrapper {
|
|
11
|
+
}
|
|
12
|
+
.icon-wrapper {
|
|
13
|
+
.icon {
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&[open] {
|
|
19
|
+
.expanding-panel-summary {
|
|
20
|
+
.icon-wrapper {
|
|
21
|
+
.icon {
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
+ .expanding-panel-content {
|
|
26
|
+
.inner {
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.expanding-panel-content {
|
|
33
|
+
.inner {
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import "./components";
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
.srcdev-forms-extended {
|
|
2
|
+
.form-fieldset {
|
|
3
|
+
margin: 0;
|
|
4
|
+
padding: 0;
|
|
5
|
+
border: 0;
|
|
6
|
+
|
|
7
|
+
&.single-checkbox-fieldset {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
&.multiple-checkboxes-fieldset {
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
&.multiple-radiobuttons-fieldset {
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.form-fieldset-legend {
|
|
17
|
+
color: var(--form-fieldset-legend-color);
|
|
18
|
+
margin-block: 0.8rem;
|
|
19
|
+
font-size: var(--step-5);
|
|
20
|
+
font-weight: normal;
|
|
21
|
+
line-height: 1.5;
|
|
22
|
+
|
|
23
|
+
&.has-description {
|
|
24
|
+
margin-bottom: 0;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.form-fieldset-description {
|
|
29
|
+
font-size: 1.6rem;
|
|
30
|
+
margin-top: 1.2rem;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.form-fieldset-content {
|
|
34
|
+
margin-block-start: 0;
|
|
35
|
+
margin-block-end: 0;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
.srcdev-forms-extended {
|
|
2
|
+
.input-button-core {
|
|
3
|
+
gap: var(--form-button-icon-gap);
|
|
4
|
+
border-radius: var(--form-input-border-radius);
|
|
5
|
+
|
|
6
|
+
padding-inline: var(--form-button-padding-inline);
|
|
7
|
+
padding-block-start: var(--form-element-padding-block-start);
|
|
8
|
+
padding-block-end: var(--form-element-padding-block-end);
|
|
9
|
+
|
|
10
|
+
box-shadow: var(--box-shadow-off);
|
|
11
|
+
background-color: var(--theme-button-surface);
|
|
12
|
+
border: var(--form-element-border-width) solid var(--theme-button-border);
|
|
13
|
+
color: var(--theme-button-text);
|
|
14
|
+
outline: var(--form-element-outline-width) solid var(--theme-button-outline);
|
|
15
|
+
outline-offset: var(--form-element-outline-offset-focus);
|
|
16
|
+
|
|
17
|
+
&:hover {
|
|
18
|
+
background-color: var(--theme-button-surface-hover);
|
|
19
|
+
border-color: var(--theme-button-border-hover);
|
|
20
|
+
color: var(--theme-button-text-hover);
|
|
21
|
+
outline-color: var(--theme-button-outline-hover);
|
|
22
|
+
outline-offset: var(--form-element-outline-offset-focus);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&:focus-visible {
|
|
26
|
+
background-color: var(--theme-button-surface-hover);
|
|
27
|
+
border-color: var(--theme-button-border-hover);
|
|
28
|
+
color: var(--theme-button-text-focus);
|
|
29
|
+
outline-color: var(--theme-button-outline-focus);
|
|
30
|
+
outline-offset: var(--form-element-outline-offset-focus);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&[readonly] {
|
|
34
|
+
opacity: 0.5;
|
|
35
|
+
&:hover,
|
|
36
|
+
&:focus-visible {
|
|
37
|
+
cursor: not-allowed;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&.icon-only {
|
|
42
|
+
aspect-ratio: 1;
|
|
43
|
+
height: var(--form-icon-only-button-size);
|
|
44
|
+
width: var(--form-icon-only-button-size);
|
|
45
|
+
margin: 0;
|
|
46
|
+
padding: 0;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.btn-text {
|
|
50
|
+
display: inline-block;
|
|
51
|
+
white-space: nowrap;
|
|
52
|
+
font-size: var(--form-element-font-size);
|
|
53
|
+
line-height: var(--input-element-line-height);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.btn-icon {
|
|
57
|
+
display: flex;
|
|
58
|
+
.icon {
|
|
59
|
+
aspect-ratio: 1;
|
|
60
|
+
display: inline-block;
|
|
61
|
+
height: var(--form-icon-size);
|
|
62
|
+
width: var(--form-icon-size);
|
|
63
|
+
color: var(--theme-button-icon-color);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
package/app/assets/styles/extends-layer/srcdev-forms/components/_input-checkbox-radio-core.css
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
.srcdev-forms-extended {
|
|
2
|
+
.input-checkbox-radio-wrapper {
|
|
3
|
+
background-color: var(--theme-checkbox-symbol-surface);
|
|
4
|
+
border: var(--form-element-border-width) solid var(--theme-input-border);
|
|
5
|
+
outline: var(--form-element-outline-width) solid var(--theme-input-outline);
|
|
6
|
+
box-shadow: var(--_box-shadow);
|
|
7
|
+
|
|
8
|
+
&.x-small {
|
|
9
|
+
--input-checked-element-size: var(--step-3);
|
|
10
|
+
--input-checked-icon-size: var(--step-2);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
&.small {
|
|
14
|
+
--input-checked-element-size: var(--step-4);
|
|
15
|
+
--input-checked-icon-size: var(--step-3);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&.default {
|
|
19
|
+
--input-checked-element-size: var(--step-7);
|
|
20
|
+
--input-checked-icon-size: var(--step-6);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&.medium {
|
|
24
|
+
--input-checked-element-size: var(--step-6);
|
|
25
|
+
--input-checked-icon-size: var(--step-5);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&.large {
|
|
29
|
+
--input-checked-element-size: var(--step-6);
|
|
30
|
+
--input-checked-icon-size: var(--step-5);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&.checkbox {
|
|
34
|
+
border-radius: var(--form-input-border-radius);
|
|
35
|
+
&.button {
|
|
36
|
+
&.display-as-disc {
|
|
37
|
+
border-radius: 50%;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&.radio {
|
|
43
|
+
border-radius: 50%;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&:hover {
|
|
47
|
+
/* Duplicate within _input-checkbox-radio-with-label.css */
|
|
48
|
+
background-color: var(--theme-input-surface-hover);
|
|
49
|
+
outline-color: var(--theme-input-outline-hover);
|
|
50
|
+
outline-offset: var(--form-element-outline-offset-hover);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&:has(.input-checkbox-radio-core:checked) {
|
|
54
|
+
.input-checked-icon-slot {
|
|
55
|
+
.input-checked-icon-checked {
|
|
56
|
+
color: var(--theme-checkbox-symbol-color);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/* focus-visible */
|
|
62
|
+
&:not(.button):focus-within {
|
|
63
|
+
background-color: var(--theme-input-surface-focus);
|
|
64
|
+
outline-color: var(--theme-input-outline-focus);
|
|
65
|
+
outline-offset: var(--form-element-outline-offset-focus);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.input-checked-icon-checked,
|
|
69
|
+
.icon {
|
|
70
|
+
color: var(--theme-checkbox-symbol-color);
|
|
71
|
+
box-shadow: var(--_box-shadow);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.input-checkbox-radio-core {
|
|
75
|
+
margin: 0;
|
|
76
|
+
opacity: 0;
|
|
77
|
+
|
|
78
|
+
&:not(.is-button) {
|
|
79
|
+
&:focus-visible {
|
|
80
|
+
/* background-color: var(--theme-input-surface-focus);
|
|
81
|
+
outline-color: var(--theme-input-outline-focus);
|
|
82
|
+
outline-offset: var(--form-element-outline-offset-focus); */
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|