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.
Files changed (512) hide show
  1. package/README.md +170 -118
  2. package/app/assets/styles/extends-layer/srcdev-components/components/_display-prompt-core.css +94 -0
  3. package/app/assets/styles/extends-layer/srcdev-components/components/_display-toast.css +5 -0
  4. package/app/assets/styles/extends-layer/srcdev-components/components/_expanding-panel.css +37 -0
  5. package/app/assets/styles/extends-layer/srcdev-components/components/index.css +3 -0
  6. package/app/assets/styles/extends-layer/srcdev-components/index.css +1 -0
  7. package/app/assets/styles/extends-layer/srcdev-forms/components/_form-fieldset.css +38 -0
  8. package/app/assets/styles/extends-layer/srcdev-forms/components/_input-button.css +67 -0
  9. package/app/assets/styles/extends-layer/srcdev-forms/components/_input-checkbox-radio-core.css +87 -0
  10. package/app/assets/styles/extends-layer/srcdev-forms/components/_input-checkbox-radio-options-button.css +74 -0
  11. package/app/assets/styles/extends-layer/srcdev-forms/components/_input-checkbox-radio-with-label.css +14 -0
  12. package/app/assets/styles/extends-layer/srcdev-forms/components/_input-description.css +13 -0
  13. package/app/assets/styles/extends-layer/srcdev-forms/components/_input-error.css +54 -0
  14. package/app/assets/styles/extends-layer/srcdev-forms/components/_input-label.css +21 -0
  15. package/app/assets/styles/extends-layer/srcdev-forms/components/_input-select.css +143 -0
  16. package/app/assets/styles/extends-layer/srcdev-forms/components/_input-text.css +190 -0
  17. package/app/assets/styles/extends-layer/srcdev-forms/components/_input-textarea.css +96 -0
  18. package/app/assets/styles/extends-layer/srcdev-forms/components/_input-toggle-switch.css +68 -0
  19. package/app/assets/styles/extends-layer/srcdev-forms/components/index.css +12 -0
  20. package/app/assets/styles/extends-layer/srcdev-forms/index.css +2 -0
  21. package/app/assets/styles/extends-layer/srcdev-forms/setup/_generic.css +21 -0
  22. package/app/assets/styles/extends-layer/srcdev-forms/setup/index.css +3 -0
  23. package/app/assets/styles/extends-layer/srcdev-forms/setup/sizes/_default.css +13 -0
  24. package/app/assets/styles/extends-layer/srcdev-forms/setup/sizes/_large.css +12 -0
  25. package/app/assets/styles/extends-layer/srcdev-forms/setup/sizes/_medium.css +12 -0
  26. package/app/assets/styles/extends-layer/srcdev-forms/setup/sizes/_small.css +12 -0
  27. package/app/assets/styles/extends-layer/srcdev-forms/setup/sizes/_x-small.css +11 -0
  28. package/app/assets/styles/extends-layer/srcdev-forms/setup/sizes/index.css +23 -0
  29. package/app/assets/styles/extends-layer/srcdev-forms/setup/themes/_default.css +62 -0
  30. package/app/assets/styles/extends-layer/srcdev-forms/setup/themes/_error.css +63 -0
  31. package/app/assets/styles/extends-layer/srcdev-forms/setup/themes/_ghost.css +63 -0
  32. package/app/assets/styles/extends-layer/srcdev-forms/setup/themes/_info.css +63 -0
  33. package/app/assets/styles/extends-layer/srcdev-forms/setup/themes/_primary.css +66 -0
  34. package/app/assets/styles/extends-layer/srcdev-forms/setup/themes/_secondary.css +64 -0
  35. package/app/assets/styles/extends-layer/srcdev-forms/setup/themes/_success.css +63 -0
  36. package/app/assets/styles/extends-layer/srcdev-forms/setup/themes/_tertiary.css +63 -0
  37. package/app/assets/styles/extends-layer/srcdev-forms/setup/themes/_warning.css +63 -0
  38. package/app/assets/styles/extends-layer/srcdev-forms/setup/themes/index.css +7 -0
  39. package/app/assets/styles/main.css +2 -0
  40. package/app/assets/styles/setup/01.config/_basic-resets.css +9 -0
  41. package/app/assets/styles/setup/01.config/_head.css +33 -0
  42. package/app/assets/styles/setup/01.config/_normalise.css +209 -0
  43. package/app/assets/styles/setup/01.config/index.css +3 -0
  44. package/app/assets/styles/setup/02.colours/_amber.css +12 -0
  45. package/app/assets/styles/setup/02.colours/_blue.css +13 -0
  46. package/app/assets/styles/setup/02.colours/_green.css +13 -0
  47. package/app/assets/styles/setup/02.colours/_orange.css +12 -0
  48. package/app/assets/styles/setup/02.colours/_red.css +13 -0
  49. package/app/assets/styles/setup/02.colours/_slate.css +13 -0
  50. package/app/assets/styles/setup/02.colours/_sunset.css +12 -0
  51. package/app/assets/styles/setup/02.colours/index.css +7 -0
  52. package/app/assets/styles/setup/03.theming/default/_dark.css +138 -0
  53. package/app/assets/styles/setup/03.theming/default/_light.css +156 -0
  54. package/app/assets/styles/setup/03.theming/default/index.css +2 -0
  55. package/app/assets/styles/setup/03.theming/error/_dark.css +56 -0
  56. package/app/assets/styles/setup/03.theming/error/_light.css +74 -0
  57. package/app/assets/styles/setup/03.theming/error/index.css +2 -0
  58. package/app/assets/styles/setup/03.theming/index.css +4 -0
  59. package/app/assets/styles/setup/03.theming/success/_dark.css +50 -0
  60. package/app/assets/styles/setup/03.theming/success/_light.css +65 -0
  61. package/app/assets/styles/setup/03.theming/success/index.css +2 -0
  62. package/app/assets/styles/setup/03.theming/warning/_dark.css +50 -0
  63. package/app/assets/styles/setup/03.theming/warning/_light.css +64 -0
  64. package/app/assets/styles/setup/03.theming/warning/index.css +2 -0
  65. package/app/assets/styles/setup/04.elements/forms/00.element-defaults.css +21 -0
  66. package/app/assets/styles/setup/04.elements/forms/01.field-layout-container-level.css +14 -0
  67. package/app/assets/styles/setup/04.elements/forms/02.typography.css +24 -0
  68. package/app/assets/styles/setup/04.elements/forms/03.generic-input-geometry.css +63 -0
  69. package/app/assets/styles/setup/04.elements/forms/04.slot-icon-system.css +14 -0
  70. package/app/assets/styles/setup/04.elements/forms/05.checkbox-radio-geometry.css +17 -0
  71. package/app/assets/styles/setup/04.elements/forms/06.button-geometry.css +17 -0
  72. package/app/assets/styles/setup/04.elements/forms/07.validation-error-block-layout.css +9 -0
  73. package/app/assets/styles/setup/04.elements/forms/09.animation-motion.css +6 -0
  74. package/app/assets/styles/setup/04.elements/forms/index.css +9 -0
  75. package/app/assets/styles/setup/04.elements/index.css +1 -0
  76. package/app/assets/styles/setup/05.typography/01.tokens/_font-family.css +8 -0
  77. package/app/assets/styles/setup/05.typography/01.tokens/_reponsive-font-sizes.css +22 -0
  78. package/app/assets/styles/setup/05.typography/01.tokens/_timing-functions.css +119 -0
  79. package/app/assets/styles/setup/05.typography/01.tokens/index.css +3 -0
  80. package/app/assets/styles/setup/05.typography/02.utility-classes/_font-classes-article.css +30 -0
  81. package/app/assets/styles/setup/05.typography/02.utility-classes/_font-classes-card.css +45 -0
  82. package/app/assets/styles/setup/05.typography/02.utility-classes/_font-classes-page-body.css +146 -0
  83. package/app/assets/styles/setup/05.typography/02.utility-classes/_font-classes-page-heading.css +35 -0
  84. package/app/assets/styles/setup/05.typography/02.utility-classes/_font-classes-page-link.css +116 -0
  85. package/app/assets/styles/setup/05.typography/02.utility-classes/_font-classes-section.css +7 -0
  86. package/app/assets/styles/setup/05.typography/02.utility-classes/_generic-font-classes.css +3 -0
  87. package/app/assets/styles/setup/05.typography/02.utility-classes/_generic-font-variation-settings.css +29 -0
  88. package/app/assets/styles/setup/05.typography/02.utility-classes/_generic-font-weights.css +39 -0
  89. package/app/assets/styles/setup/05.typography/02.utility-classes/index.css +9 -0
  90. package/app/assets/styles/setup/05.typography/index.css +2 -0
  91. package/app/assets/styles/setup/06.utility-classes/_a11y.css +280 -0
  92. package/app/assets/styles/setup/06.utility-classes/animations/_auto-rotate.css +13 -0
  93. package/app/assets/styles/setup/06.utility-classes/animations/_entry-exit-blur.css +16 -0
  94. package/app/assets/styles/setup/06.utility-classes/animations/_entry-slide-in.css +15 -0
  95. package/app/assets/styles/setup/06.utility-classes/animations/_entry-zoom-reveal.css +15 -0
  96. package/app/assets/styles/setup/06.utility-classes/animations/index.css +4 -0
  97. package/app/assets/styles/setup/06.utility-classes/index.css +4 -0
  98. package/app/assets/styles/setup/06.utility-classes/layout/_containers.css +96 -0
  99. package/app/assets/styles/setup/06.utility-classes/layout/_flexbox.css +196 -0
  100. package/app/assets/styles/setup/06.utility-classes/layout/_grid.css +266 -0
  101. package/app/assets/styles/setup/06.utility-classes/layout/_positioning.css +149 -0
  102. package/app/assets/styles/setup/06.utility-classes/layout/index.css +9 -0
  103. package/app/assets/styles/setup/06.utility-classes/spacing/_fluid-spacing.css +13 -0
  104. package/app/assets/styles/setup/06.utility-classes/spacing/_margin.css +334 -0
  105. package/app/assets/styles/setup/06.utility-classes/spacing/_padding.css +308 -0
  106. package/app/assets/styles/setup/06.utility-classes/spacing/index.css +3 -0
  107. package/app/assets/styles/setup/a11y/_variables.css +8 -0
  108. package/app/assets/styles/setup/a11y/index.css +1 -0
  109. package/app/assets/styles/setup/index.css +10 -0
  110. package/app/components/01.atoms/animations/entry/EntryAnimation.vue +22 -0
  111. package/app/components/01.atoms/animations/entry/stories/EntryAnimation.stories.ts +74 -0
  112. package/app/components/01.atoms/glass-panel/GlassPanel.vue +52 -0
  113. package/app/components/01.atoms/text-blocks/eyebrow-text/EyebrowText.vue +42 -0
  114. package/app/components/01.atoms/text-blocks/eyebrow-text/playwright/eyebrow-text.playwright.ts +67 -0
  115. package/app/components/01.atoms/text-blocks/eyebrow-text/playwright/eyebrow-text.playwright.ts-snapshots/default-chromium-darwin.png +0 -0
  116. package/app/components/01.atoms/text-blocks/eyebrow-text/playwright/eyebrow-text.playwright.ts-snapshots/default-firefox-darwin.png +0 -0
  117. package/app/components/01.atoms/text-blocks/eyebrow-text/playwright/eyebrow-text.playwright.ts-snapshots/default-webkit-darwin.png +0 -0
  118. package/app/components/01.atoms/text-blocks/eyebrow-text/playwright/eyebrow-text.playwright.ts-snapshots/fontSize-large-chromium-darwin.png +0 -0
  119. package/app/components/01.atoms/text-blocks/eyebrow-text/playwright/eyebrow-text.playwright.ts-snapshots/fontSize-large-firefox-darwin.png +0 -0
  120. package/app/components/01.atoms/text-blocks/eyebrow-text/playwright/eyebrow-text.playwright.ts-snapshots/fontSize-large-webkit-darwin.png +0 -0
  121. package/app/components/01.atoms/text-blocks/eyebrow-text/playwright/eyebrow-text.playwright.ts-snapshots/fontSize-medium-chromium-darwin.png +0 -0
  122. package/app/components/01.atoms/text-blocks/eyebrow-text/playwright/eyebrow-text.playwright.ts-snapshots/fontSize-medium-firefox-darwin.png +0 -0
  123. package/app/components/01.atoms/text-blocks/eyebrow-text/playwright/eyebrow-text.playwright.ts-snapshots/fontSize-medium-webkit-darwin.png +0 -0
  124. package/app/components/01.atoms/text-blocks/eyebrow-text/playwright/eyebrow-text.playwright.ts-snapshots/fontSize-small-chromium-darwin.png +0 -0
  125. package/app/components/01.atoms/text-blocks/eyebrow-text/playwright/eyebrow-text.playwright.ts-snapshots/fontSize-small-firefox-darwin.png +0 -0
  126. package/app/components/01.atoms/text-blocks/eyebrow-text/playwright/eyebrow-text.playwright.ts-snapshots/fontSize-small-webkit-darwin.png +0 -0
  127. package/app/components/01.atoms/text-blocks/eyebrow-text/playwright/eyebrow-text.playwright.ts-snapshots/tag-div-chromium-darwin.png +0 -0
  128. package/app/components/01.atoms/text-blocks/eyebrow-text/playwright/eyebrow-text.playwright.ts-snapshots/tag-div-firefox-darwin.png +0 -0
  129. package/app/components/01.atoms/text-blocks/eyebrow-text/playwright/eyebrow-text.playwright.ts-snapshots/tag-div-webkit-darwin.png +0 -0
  130. package/app/components/01.atoms/text-blocks/eyebrow-text/playwright/eyebrow-text.playwright.ts-snapshots/tag-p-chromium-darwin.png +0 -0
  131. package/app/components/01.atoms/text-blocks/eyebrow-text/playwright/eyebrow-text.playwright.ts-snapshots/tag-p-firefox-darwin.png +0 -0
  132. package/app/components/01.atoms/text-blocks/eyebrow-text/playwright/eyebrow-text.playwright.ts-snapshots/tag-p-webkit-darwin.png +0 -0
  133. package/app/components/01.atoms/text-blocks/eyebrow-text/playwright/eyebrow-text.playwright.ts-snapshots/tag-span-chromium-darwin.png +0 -0
  134. package/app/components/01.atoms/text-blocks/eyebrow-text/playwright/eyebrow-text.playwright.ts-snapshots/tag-span-firefox-darwin.png +0 -0
  135. package/app/components/01.atoms/text-blocks/eyebrow-text/playwright/eyebrow-text.playwright.ts-snapshots/tag-span-webkit-darwin.png +0 -0
  136. package/app/components/01.atoms/text-blocks/eyebrow-text/stories/EyebrowText.stories.ts +49 -0
  137. package/app/components/01.atoms/text-blocks/eyebrow-text/tests/EyebrowText.spec.ts +196 -0
  138. package/app/components/01.atoms/text-blocks/eyebrow-text/tests/__snapshots__/EyebrowText.spec.ts.snap +17 -0
  139. package/app/components/01.atoms/text-blocks/hero-text/HeroText.vue +101 -0
  140. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts +110 -0
  141. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-horizontal-chromium-darwin.png +0 -0
  142. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-horizontal-firefox-darwin.png +0 -0
  143. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-horizontal-fontSize-display-chromium-darwin.png +0 -0
  144. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-horizontal-fontSize-display-firefox-darwin.png +0 -0
  145. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-horizontal-fontSize-display-webkit-darwin.png +0 -0
  146. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-horizontal-fontSize-heading-chromium-darwin.png +0 -0
  147. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-horizontal-fontSize-heading-firefox-darwin.png +0 -0
  148. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-horizontal-fontSize-heading-webkit-darwin.png +0 -0
  149. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-horizontal-fontSize-label-chromium-darwin.png +0 -0
  150. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-horizontal-fontSize-label-firefox-darwin.png +0 -0
  151. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-horizontal-fontSize-label-webkit-darwin.png +0 -0
  152. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-horizontal-fontSize-subheading-chromium-darwin.png +0 -0
  153. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-horizontal-fontSize-subheading-firefox-darwin.png +0 -0
  154. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-horizontal-fontSize-subheading-webkit-darwin.png +0 -0
  155. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-horizontal-fontSize-title-chromium-darwin.png +0 -0
  156. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-horizontal-fontSize-title-firefox-darwin.png +0 -0
  157. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-horizontal-fontSize-title-webkit-darwin.png +0 -0
  158. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-horizontal-webkit-darwin.png +0 -0
  159. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-vertical-chromium-darwin.png +0 -0
  160. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-vertical-firefox-darwin.png +0 -0
  161. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-vertical-fontSize-display-chromium-darwin.png +0 -0
  162. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-vertical-fontSize-display-firefox-darwin.png +0 -0
  163. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-vertical-fontSize-display-webkit-darwin.png +0 -0
  164. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-vertical-fontSize-heading-chromium-darwin.png +0 -0
  165. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-vertical-fontSize-heading-firefox-darwin.png +0 -0
  166. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-vertical-fontSize-heading-webkit-darwin.png +0 -0
  167. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-vertical-fontSize-label-chromium-darwin.png +0 -0
  168. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-vertical-fontSize-label-firefox-darwin.png +0 -0
  169. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-vertical-fontSize-label-webkit-darwin.png +0 -0
  170. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-vertical-fontSize-subheading-chromium-darwin.png +0 -0
  171. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-vertical-fontSize-subheading-firefox-darwin.png +0 -0
  172. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-vertical-fontSize-subheading-webkit-darwin.png +0 -0
  173. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-vertical-fontSize-title-chromium-darwin.png +0 -0
  174. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-vertical-fontSize-title-firefox-darwin.png +0 -0
  175. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-vertical-fontSize-title-webkit-darwin.png +0 -0
  176. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/axis-vertical-webkit-darwin.png +0 -0
  177. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/default-chromium-darwin.png +0 -0
  178. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/default-firefox-darwin.png +0 -0
  179. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/default-webkit-darwin.png +0 -0
  180. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/fontSize-display-chromium-darwin.png +0 -0
  181. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/fontSize-display-firefox-darwin.png +0 -0
  182. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/fontSize-display-webkit-darwin.png +0 -0
  183. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/fontSize-heading-chromium-darwin.png +0 -0
  184. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/fontSize-heading-firefox-darwin.png +0 -0
  185. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/fontSize-heading-webkit-darwin.png +0 -0
  186. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/fontSize-label-chromium-darwin.png +0 -0
  187. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/fontSize-label-firefox-darwin.png +0 -0
  188. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/fontSize-label-webkit-darwin.png +0 -0
  189. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/fontSize-subheading-chromium-darwin.png +0 -0
  190. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/fontSize-subheading-firefox-darwin.png +0 -0
  191. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/fontSize-subheading-webkit-darwin.png +0 -0
  192. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/fontSize-title-chromium-darwin.png +0 -0
  193. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/fontSize-title-firefox-darwin.png +0 -0
  194. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/fontSize-title-webkit-darwin.png +0 -0
  195. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/icon-with-chromium-darwin.png +0 -0
  196. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/icon-with-firefox-darwin.png +0 -0
  197. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/icon-with-webkit-darwin.png +0 -0
  198. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/icon-without-chromium-darwin.png +0 -0
  199. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/icon-without-firefox-darwin.png +0 -0
  200. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/icon-without-webkit-darwin.png +0 -0
  201. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/tag-h1-chromium-darwin.png +0 -0
  202. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/tag-h1-firefox-darwin.png +0 -0
  203. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/tag-h1-webkit-darwin.png +0 -0
  204. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/tag-h2-chromium-darwin.png +0 -0
  205. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/tag-h2-firefox-darwin.png +0 -0
  206. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/tag-h2-webkit-darwin.png +0 -0
  207. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/tag-h3-chromium-darwin.png +0 -0
  208. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/tag-h3-firefox-darwin.png +0 -0
  209. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/tag-h3-webkit-darwin.png +0 -0
  210. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/tag-h4-chromium-darwin.png +0 -0
  211. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/tag-h4-firefox-darwin.png +0 -0
  212. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/tag-h4-webkit-darwin.png +0 -0
  213. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/tag-h5-chromium-darwin.png +0 -0
  214. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/tag-h5-firefox-darwin.png +0 -0
  215. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/tag-h5-webkit-darwin.png +0 -0
  216. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/tag-h6-chromium-darwin.png +0 -0
  217. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/tag-h6-firefox-darwin.png +0 -0
  218. package/app/components/01.atoms/text-blocks/hero-text/playwright/hero-text.playwright.ts-snapshots/tag-h6-webkit-darwin.png +0 -0
  219. package/app/components/01.atoms/text-blocks/hero-text/stories/HeroText.stories.ts +70 -0
  220. package/app/components/01.atoms/text-blocks/hero-text/tests/HeroText.spec.ts +148 -0
  221. package/app/components/01.atoms/text-blocks/hero-text/tests/__snapshots__/HeroText.spec.ts.snap +7 -0
  222. package/app/components/02.molecules/contact-section/stories/ContactSection.stories.ts +197 -0
  223. package/app/components/02.molecules/contact-section/tests/ContactSection.spec.ts +196 -0
  224. package/app/components/02.molecules/contact-section/tests/ContactSection.vue +87 -0
  225. package/app/components/02.molecules/contact-section/tests/__snapshots__/ContactSection.spec.ts.snap +119 -0
  226. package/app/components/02.molecules/price-list/PriceList.vue +119 -0
  227. package/app/components/02.molecules/price-list/stories/PriceList.stories.ts +103 -0
  228. package/app/components/02.molecules/price-list/tests/PriceList.spec.ts +192 -0
  229. package/app/components/02.molecules/price-list/tests/__snapshots__/PriceList.spec.ts.snap +73 -0
  230. package/app/components/02.molecules/profile-section/ProfileSection.vue +154 -0
  231. package/app/components/02.molecules/profile-section/stories/ProfileSection.stories.ts +154 -0
  232. package/app/components/02.molecules/profile-section/tests/ProfileSection.spec.ts +147 -0
  233. package/app/components/02.molecules/profile-section/tests/__snapshots__/ProfileSection.spec.ts.snap +29 -0
  234. package/app/components/02.molecules/stepper-list/StepperList.vue +158 -0
  235. package/app/components/02.molecules/stepper-list/stories/StepperList.stories.ts +392 -0
  236. package/app/components/02.molecules/stepper-list/tests/StepperList.spec.ts +289 -0
  237. package/app/components/02.molecules/stepper-list/tests/__snapshots__/StepperList.spec.ts.snap +86 -0
  238. package/app/components/03.organisms/colour-finder/ColourFinder.vue +1519 -0
  239. package/app/components/03.organisms/services/services-card/ServicesCard.vue +104 -0
  240. package/app/components/03.organisms/services/services-grids/ServicesCardGrid.vue +39 -0
  241. package/app/components/03.organisms/services/services-grids/ServicesSectionGrid.vue +52 -0
  242. package/app/components/03.organisms/services/services-section/ServicesSection.vue +307 -0
  243. package/app/components/03.organisms/treatment-consultant/TreatmentConsultant.vue +2221 -0
  244. package/app/components/03.organisms/treatment-consultant/stories/TreatmentConsultant.stories.ts +38 -0
  245. package/app/components/accordian/AccordianCore.vue +26 -21
  246. package/app/components/accordian/stories/AccordianCore.stories.ts +241 -0
  247. package/app/components/accordian/tests/AccordianCore.spec.ts +218 -0
  248. package/app/components/accordian/tests/__snapshots__/AccordianCore.spec.ts.snap +74 -0
  249. package/app/components/alert-mask/AlertMaskCore.vue +35 -33
  250. package/app/components/alert-mask/tests/AlertMaskCore.spec.ts +304 -0
  251. package/app/components/animated-svg-text/AnimatedSvgText.vue +2 -0
  252. package/app/components/canvas-switcher/CanvasSwitcher.vue +10 -8
  253. package/app/components/{carousel-basic → carousels}/CarouselBasic.vue +58 -56
  254. package/app/components/{carousel-basic → carousels}/CarouselFlip.vue +150 -148
  255. package/app/components/{carousel-basic → carousels}/CarouselInfinite.vue +2 -0
  256. package/app/components/carousels/stories/CarouselFlip.stories.ts +637 -0
  257. package/app/components/carousels/tests/CarouselFlip.spec.ts +556 -0
  258. package/app/components/clip-element/ClipElement.vue +2 -0
  259. package/app/components/clipped-panels/ClippedPanel.vue +2 -0
  260. package/app/components/container-glow/ContainerGlowCore.vue +119 -50
  261. package/app/components/container-glow/stories/ContainerGlowCore.stories.ts +337 -0
  262. package/app/components/content-columns/TwoColumns.vue +59 -0
  263. package/app/components/content-columns/stories/TwoColumns.stories.ts +561 -0
  264. package/app/components/content-containers/ContentContainer.vue +89 -0
  265. package/app/components/content-containers/stories/ContentContainer.stories.ts +465 -0
  266. package/app/components/content-grid/ContentGrid.vue +4 -2
  267. package/app/components/deep-expanding-menu/DeepExpandingMenu.vue +18 -16
  268. package/app/components/deep-expanding-menu/DeepExpandingMenuOld.vue +28 -26
  269. package/app/components/display-avatar/DisplayAvatar.vue +15 -13
  270. package/app/components/display-avatar/stories/DisplayAvatar.stories.ts +94 -0
  271. package/app/components/display-banner/DisplayBanner.vue +2 -0
  272. package/app/components/display-card/DisplayCard.vue +16 -14
  273. package/app/components/display-chip/DisplayChip.vue +2 -0
  274. package/app/components/display-chip/stories/DisplayChip.stories.ts +346 -0
  275. package/app/components/display-details/DisplayDetailsCore.vue +2 -0
  276. package/app/components/display-dialog/DisplayDialogCore.vue +24 -17
  277. package/app/components/display-dialog/variants/DisplayDialogConfirm.vue +2 -0
  278. package/app/components/display-dialog/variants/DisplayDialogScrollableContent.vue +2 -0
  279. package/app/components/display-grid/DisplayGridCore.vue +4 -4
  280. package/app/components/display-prompt/DisplayPromptCore.vue +20 -16
  281. package/app/components/display-prompt/variants/DisplayPromptError.vue +6 -4
  282. package/app/components/display-theme-switch/DisplayThemeSwitch.vue +182 -0
  283. package/app/components/display-theme-switch/stories/DisplayThemeSwitch.stories.ts +154 -0
  284. package/app/components/display-toast/DisplayToast.vue +63 -61
  285. package/app/components/display-toast/molecules/DefaultToastContent.vue +21 -45
  286. package/app/components/display-toast/stories/DisplayToast.stories.ts +380 -0
  287. package/app/components/display-tooltip/DisplayTooltip.vue +14 -9
  288. package/app/components/display-tooltip/DisplayTooltipDefined.vue +2 -0
  289. package/app/components/expanding-panel/ExpandingPanel.vue +28 -41
  290. package/app/components/forms/c12/prop-validators/index.ts +48 -0
  291. package/app/components/forms/c12/utils.ts +14 -0
  292. package/app/components/forms/form-errors/InputError.vue +208 -0
  293. package/app/components/forms/form-errors/tests/InputError.spec.ts +66 -0
  294. package/app/components/forms/form-fieldset/FormFieldset.vue +75 -0
  295. package/app/components/forms/input-button/InputButtonCore.vue +219 -0
  296. package/app/components/forms/input-button/playwright/input-button-core.playwright.ts +113 -0
  297. package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/combo-icons-secondary-chromium-darwin.png +0 -0
  298. package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/combo-icons-secondary-firefox-darwin.png +0 -0
  299. package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/combo-icons-secondary-webkit-darwin.png +0 -0
  300. package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/combo-icons-tertiary-chromium-darwin.png +0 -0
  301. package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/combo-icons-tertiary-firefox-darwin.png +0 -0
  302. package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/combo-icons-tertiary-webkit-darwin.png +0 -0
  303. package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/combo-primary-pending-chromium-darwin.png +0 -0
  304. package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/combo-primary-pending-firefox-darwin.png +0 -0
  305. package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/combo-primary-pending-webkit-darwin.png +0 -0
  306. package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/combo-secondary-pill-chromium-darwin.png +0 -0
  307. package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/combo-secondary-pill-firefox-darwin.png +0 -0
  308. package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/combo-secondary-pill-webkit-darwin.png +0 -0
  309. package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/combo-tertiary-readonly-chromium-darwin.png +0 -0
  310. package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/combo-tertiary-readonly-firefox-darwin.png +0 -0
  311. package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/combo-tertiary-readonly-webkit-darwin.png +0 -0
  312. package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-chromium-darwin.png +0 -0
  313. package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-firefox-darwin.png +0 -0
  314. package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-theme-default-chromium-darwin.png +0 -0
  315. package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-theme-default-firefox-darwin.png +0 -0
  316. package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-theme-default-webkit-darwin.png +0 -0
  317. package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-theme-error-chromium-darwin.png +0 -0
  318. package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-theme-error-firefox-darwin.png +0 -0
  319. package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-theme-error-webkit-darwin.png +0 -0
  320. package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-theme-success-chromium-darwin.png +0 -0
  321. package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-theme-success-firefox-darwin.png +0 -0
  322. package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-theme-success-webkit-darwin.png +0 -0
  323. package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-theme-warning-chromium-darwin.png +0 -0
  324. package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-theme-warning-firefox-darwin.png +0 -0
  325. package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-theme-warning-webkit-darwin.png +0 -0
  326. package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-variant-primary-chromium-darwin.png +0 -0
  327. package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-variant-primary-firefox-darwin.png +0 -0
  328. package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-variant-primary-webkit-darwin.png +0 -0
  329. package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-variant-secondary-chromium-darwin.png +0 -0
  330. package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-variant-secondary-firefox-darwin.png +0 -0
  331. package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-variant-secondary-webkit-darwin.png +0 -0
  332. package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-variant-tertiary-chromium-darwin.png +0 -0
  333. package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-variant-tertiary-firefox-darwin.png +0 -0
  334. package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-variant-tertiary-webkit-darwin.png +0 -0
  335. package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/default-webkit-darwin.png +0 -0
  336. package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/nuxt-icon-only-component-chromium-darwin.png +0 -0
  337. package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/nuxt-icon-only-component-firefox-darwin.png +0 -0
  338. package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/nuxt-icon-only-component-webkit-darwin.png +0 -0
  339. package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/state-pending-chromium-darwin.png +0 -0
  340. package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/state-pending-firefox-darwin.png +0 -0
  341. package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/state-pending-webkit-darwin.png +0 -0
  342. package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/state-pill-chromium-darwin.png +0 -0
  343. package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/state-pill-firefox-darwin.png +0 -0
  344. package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/state-pill-webkit-darwin.png +0 -0
  345. package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/state-readonly-chromium-darwin.png +0 -0
  346. package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/state-readonly-firefox-darwin.png +0 -0
  347. package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/state-readonly-webkit-darwin.png +0 -0
  348. package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/with-both-nuxt-icon-components-chromium-darwin.png +0 -0
  349. package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/with-both-nuxt-icon-components-firefox-darwin.png +0 -0
  350. package/app/components/forms/input-button/playwright/input-button-core.playwright.ts-snapshots/with-both-nuxt-icon-components-webkit-darwin.png +0 -0
  351. package/app/components/forms/input-button/stories/InputButtonCore.stories.ts +304 -0
  352. package/app/components/forms/input-button/tests/InputButtonCore.spec.ts +269 -0
  353. package/app/components/forms/input-button/tests/__snapshots__/InputButtonCore.spec.ts.snap +72 -0
  354. package/app/components/forms/input-checkbox/MultipleCheckboxes.vue +181 -0
  355. package/app/components/forms/input-checkbox/SingleCheckbox.vue +144 -0
  356. package/app/components/forms/input-checkbox/tests/MultipleCheckboxes.spec.ts +101 -0
  357. package/app/components/forms/input-checkbox/tests/data/tags.json +67 -0
  358. package/app/components/forms/input-checkbox-radio/InputCheckboxRadioButton.vue +174 -0
  359. package/app/components/forms/input-checkbox-radio/InputCheckboxRadioCore.vue +199 -0
  360. package/app/components/forms/input-checkbox-radio/InputCheckboxRadioWithLabel.vue +104 -0
  361. package/app/components/forms/input-checkbox-radio/tests/InputCheckboxRadioCore.spec.ts +320 -0
  362. package/app/components/forms/input-description/InputDescription.vue +55 -0
  363. package/app/components/forms/input-description/tests/InputDescription.spec.ts +429 -0
  364. package/app/components/forms/input-label/InputLabel.vue +66 -0
  365. package/app/components/forms/input-label/tests/InputLabel.spec.ts +431 -0
  366. package/app/components/forms/input-number/InputNumberCore.vue +163 -0
  367. package/app/components/forms/input-number/variants/InputNumberDefault.vue +150 -0
  368. package/app/components/forms/input-radio/MultipleRadiobuttons.vue +180 -0
  369. package/app/components/forms/input-radio/tests/MultipleRadioButtons.spec.ts +90 -0
  370. package/app/components/forms/input-radio/tests/data/tags.json +67 -0
  371. package/app/components/forms/input-range/InputRangeCore.vue +233 -0
  372. package/app/components/forms/input-range/variants/InputRangeDefault.vue +166 -0
  373. package/app/components/forms/input-range-fancy/InputRangeFancyCore.vue +426 -0
  374. package/app/components/forms/input-range-fancy/InputRangeFancyWithLabel.vue +94 -0
  375. package/app/components/forms/input-select/InputSelectCore.vue +171 -0
  376. package/app/components/forms/input-select/variants/InputSelectWithLabel.vue +121 -0
  377. package/app/components/forms/input-text/InputTextCore.vue +222 -0
  378. package/app/components/forms/input-text/stories/InputPasswordWithLabel.stories.ts +339 -0
  379. package/app/components/forms/input-text/stories/InputTextAsNumberWithLabel.stories.ts +461 -0
  380. package/app/components/forms/input-text/stories/InputTextCore.stories.ts +241 -0
  381. package/app/components/forms/input-text/stories/InputTextWithLabel.stories.ts +293 -0
  382. package/app/components/forms/input-text/variants/InputPasswordWithLabel.vue +86 -0
  383. package/app/components/forms/input-text/variants/InputTextAsNumberWithLabel.vue +203 -0
  384. package/app/components/forms/input-text/variants/InputTextWithLabel.vue +149 -0
  385. package/app/components/forms/input-textarea/InputTextareaCore.vue +151 -0
  386. package/app/components/forms/input-textarea/stories/InputTextareaCore.stories.ts +247 -0
  387. package/app/components/forms/input-textarea/stories/InputTextareaWithLabel.stories.ts +452 -0
  388. package/app/components/forms/input-textarea/variants/InputTextareaWithLabel.vue +150 -0
  389. package/app/components/forms/pending-effect/PendingEffect.vue +101 -0
  390. package/app/components/forms/toggle-switch/ToggleSwitchCore.vue +221 -0
  391. package/app/components/forms/toggle-switch/stories/ToggleSwitchCore.stories.ts +236 -0
  392. package/app/components/forms/toggle-switch/stories/ToggleSwitchWithLabel.stories.ts +253 -0
  393. package/app/components/forms/toggle-switch/stories/ToggleSwitchWithLabelInline.stories.ts +280 -0
  394. package/app/components/forms/toggle-switch/variants/ToggleSwitchWithLabel.vue +101 -0
  395. package/app/components/forms/toggle-switch/variants/ToggleSwitchWithLabelInline.vue +84 -0
  396. package/app/components/forms/triple-toggle-switch/TripleToggleSwitchCore.vue +290 -0
  397. package/app/components/forms/ui/FormField.vue +81 -0
  398. package/app/components/forms/ui/FormWrapper.vue +37 -0
  399. package/app/components/glowing-border/GlowingBorder.vue +2 -0
  400. package/app/components/glowing-border/stories/GlowingBorder.stories.ts +141 -0
  401. package/app/components/image-galleries/SliderGallery.vue +100 -100
  402. package/app/components/layout-grids/LayoutGridA.vue +2 -0
  403. package/app/components/layout-grids/LayoutGridB.vue +8 -6
  404. package/app/components/layout-grids/stories/LayoutGridA.stories.ts +402 -0
  405. package/app/components/layout-grids/stories/LayoutGridB.stories.ts +420 -0
  406. package/app/components/layout-grids/tests/LayoutGridA.spec.ts +352 -0
  407. package/app/components/layout-grids/tests/LayoutGridB.spec.ts +490 -0
  408. package/app/components/layout-row/LayoutRow.vue +60 -54
  409. package/app/components/layout-row/stories/LayoutRow.stories.ts +528 -0
  410. package/app/components/magnetic-navigation/MagneticNavigation.vue +2 -0
  411. package/app/components/marquee-scroller/MarqueeScroller.vue +35 -33
  412. package/app/components/masonry-grid/MasonryGrid.vue +8 -6
  413. package/app/components/masonry-grid-ordered/MasonryGridOrdered.vue +2 -0
  414. package/app/components/masonry-grid-ordered/MasonryGridOrderedGridExperiment.vue +82 -87
  415. package/app/components/masonry-grid-ordered/stories/MasonryGridOrdered.stories.ts +354 -0
  416. package/app/components/masonry-grid-sorted/MasonryGridSorted.vue +2 -0
  417. package/app/components/parallax/SectionParallax.vue +10 -8
  418. package/app/components/pop-over/PopOver.vue +2 -0
  419. package/app/components/qr-code/CaptureQrCode.vue +2 -0
  420. package/app/components/qr-code/DecodeQrCode.vue +2 -0
  421. package/app/components/qr-code/DisplayQrCode.vue +7 -5
  422. package/app/components/qr-code/stories/QrCode.stories.ts +933 -0
  423. package/app/components/responsive-header/NavigationItems.vue +34 -23
  424. package/app/components/responsive-header/ResponsiveHeader.vue +163 -157
  425. package/app/components/rotating-carousel/RotatingCarouselImage.vue +2 -0
  426. package/app/components/skip-links/SkipLinks.vue +2 -0
  427. package/app/components/tabs/TabsCore.vue +38 -30
  428. package/app/components/test-storybook/TestStorybook.vue +49 -0
  429. package/app/components/test-storybook/stories/TestStorybook.stories.ts +28 -0
  430. package/app/components/ui-block-decorated/UiBlockDecorated.vue +2 -0
  431. package/app/components/view-timeline/WipeAwayVertical.vue +2 -0
  432. package/app/composables/useApiRequest.ts +25 -0
  433. package/app/composables/useAriaDescribedById.ts +19 -0
  434. package/app/composables/useColourScheme.ts +18 -0
  435. package/app/composables/useErrorMessages.ts +62 -0
  436. package/app/composables/useFormControl.ts +264 -0
  437. package/app/composables/useMaxChildWidth.ts +30 -0
  438. package/app/composables/useTabs.ts +207 -117
  439. package/app/composables/useZodValidation.ts +147 -0
  440. package/app/layouts/default.vue +605 -0
  441. package/app/pages/forms/examples/buttons/index.vue +285 -0
  442. package/app/pages/forms/examples/material/checkbox-radio-panels.vue +244 -0
  443. package/app/pages/forms/examples/material/cssbattle.vue +60 -0
  444. package/app/pages/forms/examples/material/text-fields.vue +913 -0
  445. package/app/pages/index.vue +122 -0
  446. package/app/pages/typography/hero-text.vue +97 -0
  447. package/app/pages/typography/index.vue +39 -0
  448. package/app/pages/typography/page-body.vue +171 -0
  449. package/app/pages/typography/page-heading.vue +76 -0
  450. package/app/pages/typography/page-link.vue +103 -0
  451. package/app/pages/ui/accordian.vue +211 -0
  452. package/app/pages/ui/animated-svg-text.vue +85 -0
  453. package/app/pages/ui/block-decorators.vue +142 -0
  454. package/app/pages/ui/carousel-basic.vue +292 -0
  455. package/app/pages/ui/carousel-flip.vue +244 -0
  456. package/app/pages/ui/carousel-infinite.vue +260 -0
  457. package/app/pages/ui/clipped-panels.vue +101 -0
  458. package/app/pages/ui/contact-section.vue +323 -0
  459. package/app/pages/ui/container-glow.vue +107 -0
  460. package/app/pages/ui/content-container.vue +112 -0
  461. package/app/pages/ui/display-avatar.vue +253 -0
  462. package/app/pages/ui/display-banner.vue +78 -0
  463. package/app/pages/ui/display-card.vue +82 -0
  464. package/app/pages/ui/display-chip.vue +225 -0
  465. package/app/pages/ui/display-details.vue +175 -0
  466. package/app/pages/ui/display-dialog.vue +231 -0
  467. package/app/pages/ui/display-prompt.vue +81 -0
  468. package/app/pages/ui/display-toast.vue +332 -0
  469. package/app/pages/ui/expanding-panel.vue +193 -0
  470. package/app/pages/ui/glowing-border.vue +111 -0
  471. package/app/pages/ui/layout-grid-a.vue +149 -0
  472. package/app/pages/ui/layout-grid-b.vue +132 -0
  473. package/app/pages/ui/layout-row.vue +139 -0
  474. package/app/pages/ui/magnetic-navigation.vue +50 -0
  475. package/app/pages/ui/marquee-scroller.vue +99 -0
  476. package/app/pages/ui/mask-element.vue +82 -0
  477. package/app/pages/ui/masonry-columns.vue +55 -0
  478. package/app/pages/ui/masonry-grid-ordered-experiment.vue +79 -0
  479. package/app/pages/ui/masonry-grid-ordered.vue +56 -0
  480. package/app/pages/ui/masonry-grid-sorted.vue +55 -0
  481. package/app/pages/ui/masonry-grid.vue +55 -0
  482. package/app/pages/ui/price-list.vue +65 -0
  483. package/app/pages/ui/profile-section.vue +96 -0
  484. package/app/pages/ui/qr-code/[componentName].vue +218 -0
  485. package/app/pages/ui/rotating-carousel.vue +154 -0
  486. package/app/pages/ui/section-parallax.vue +54 -0
  487. package/app/pages/ui/services/colour-finder.vue +43 -0
  488. package/app/pages/ui/services/services-cards.vue +42 -0
  489. package/app/pages/ui/services/services-section/[slug].vue +59 -0
  490. package/app/pages/ui/services/services-sections-compact.vue +64 -0
  491. package/app/pages/ui/services/treatment-consultant.vue +39 -0
  492. package/app/pages/ui/settings.vue +80 -0
  493. package/app/pages/ui/simple-grid.vue +66 -0
  494. package/app/pages/ui/slider-gallery.vue +261 -0
  495. package/app/pages/ui/tabs-y.vue +108 -0
  496. package/app/pages/ui/tabs.vue +192 -0
  497. package/app/pages/ui/tooltips.vue +104 -0
  498. package/app/pages/ui/wipe-away-vertical.vue +129 -0
  499. package/app/plugins/css-anchor-positioning-polyfill.client.ts +5 -0
  500. package/app/stores/useServicesStore.ts +37 -0
  501. package/app/stores/useSettingsStore.ts +35 -0
  502. package/app/types/components/hero-text.ts +4 -0
  503. package/app/types/components/index.ts +1 -0
  504. package/app/types/forms/types.forms.d.ts +293 -0
  505. package/app/types/forms/types.zodFormControl.d.ts +29 -0
  506. package/app/types/types.posts.ts +21 -0
  507. package/app/types/types.quotes.ts +12 -0
  508. package/app/types/types.services.ts +20 -0
  509. package/app/utils/colour-scheme-init.ts +17 -0
  510. package/nuxt.config.ts +86 -6
  511. package/package.json +51 -14
  512. package/types/components/css-anchor-polyfill.d.ts +1 -0
@@ -39,7 +39,7 @@
39
39
  >
40
40
  <ExpandingPanel
41
41
  name="overflow-navigation-group"
42
- :animation-duration="detailsAanimationDuration"
42
+ :animation-duration="DETAILS_ANIMATION_DURATION"
43
43
  icon-size="medium"
44
44
  :style-class-passthrough="['overflow-navigation-details']"
45
45
  >
@@ -79,39 +79,49 @@
79
79
  </template>
80
80
 
81
81
  <script setup lang="ts">
82
- import type { ResponsiveHeaderState } from "../../types/components"
82
+ import type { ResponsiveHeaderState } from "../../types/components";
83
83
 
84
- const props = defineProps({
85
- mainNavigationState: {
86
- type: Object as PropType<ResponsiveHeaderState>,
87
- default: () => [],
88
- },
89
- styleClassPassthrough: {
90
- type: [String, Array] as PropType<string | string[]>,
91
- default: () => [],
92
- },
93
- })
84
+ interface Props {
85
+ mainNavigationState?: ResponsiveHeaderState;
86
+ styleClassPassthrough?: string | string[];
87
+ }
94
88
 
95
- const detailsAanimationDuration = 200
96
- const detailsAanimationDurationString = `${detailsAanimationDuration}ms`
89
+ const props = withDefaults(defineProps<Props>(), {
90
+ mainNavigationState: () => ({ clonedNavLinks: {}, navListVisibility: {}, hasSecondNav: false }),
91
+ styleClassPassthrough: () => [],
92
+ });
97
93
 
94
+ // Performance: Use const assertion for static values
95
+ const DETAILS_ANIMATION_DURATION = 200 as const;
96
+ // const DETAILS_ANIMATION_DURATION_STRING = `${DETAILS_ANIMATION_DURATION}ms` as const;
97
+
98
+ // Performance: Memoize expensive computed with proper dependencies
98
99
  const widestNavLinkWidthInMainNavigationState = computed(() => {
99
- return Object.values(props.mainNavigationState.clonedNavLinks || {}).reduce((maxWidth, group) => {
100
- return Math.max(maxWidth, ...group.map((link) => link.config?.width || 0))
101
- }, 0)
102
- })
100
+ const clonedNavLinks = props.mainNavigationState?.clonedNavLinks;
101
+ if (!clonedNavLinks || Object.keys(clonedNavLinks).length === 0) {
102
+ return 0;
103
+ }
103
104
 
104
- const { elementClasses, resetElementClasses } = useStyleClassPassthrough(props.styleClassPassthrough)
105
+ return Object.values(clonedNavLinks).reduce((maxWidth, group) => {
106
+ if (!Array.isArray(group)) return maxWidth;
107
+ return Math.max(maxWidth, ...group.map((link) => link.config?.width || 0));
108
+ }, 0);
109
+ });
105
110
 
111
+ const { elementClasses, resetElementClasses } = useStyleClassPassthrough(props.styleClassPassthrough);
112
+
113
+ // Performance: Use immediate flag and more efficient watching
106
114
  watch(
107
115
  () => props.styleClassPassthrough,
108
- () => {
109
- resetElementClasses(props.styleClassPassthrough)
110
- }
111
- )
116
+ (newValue) => {
117
+ resetElementClasses(newValue);
118
+ },
119
+ { immediate: false, flush: "post" }
120
+ );
112
121
  </script>
113
122
 
114
123
  <style lang="css">
124
+ @layer components {
115
125
  .overflow-navigation-wrapper {
116
126
  --overflow-nav-padding-inline: 0.8rem;
117
127
  --overflow-nav-items-gap: 0px;
@@ -217,4 +227,5 @@ watch(
217
227
  }
218
228
  }
219
229
  }
230
+ }
220
231
  </style>
@@ -1,17 +1,18 @@
1
1
  <template>
2
- <div class="navigation" :class="[elementClasses, { loaded: navLoaded }]" ref="navigationWrapper" role="banner">
3
- <nav class="main-navigation" ref="mainNav" aria-label="Main navigation">
2
+ <div ref="navigationWrapper" class="navigation" :class="[elementClasses, { loaded: navLoaded }]" role="banner">
3
+ <nav ref="mainNav" class="main-navigation" aria-label="Main navigation">
4
4
  <ul
5
5
  v-for="(navGroup, groupKey) in responsiveNavLinks"
6
6
  :key="groupKey"
7
- class="main-navigation-list"
8
7
  :ref="
9
8
  (el: Element | ComponentPublicInstance | null) => setNavRef(String(groupKey), el as HTMLUListElement | null)
10
9
  "
10
+ class="main-navigation-list"
11
11
  >
12
12
  <li
13
13
  v-for="(link, localIndex) in navGroup"
14
14
  :key="localIndex"
15
+ ref="mainNavigationItems"
15
16
  class="main-navigation-item"
16
17
  :class="{
17
18
  'visually-hidden': !mainNavigationState.clonedNavLinks?.[groupKey]?.[localIndex]?.config?.visible,
@@ -20,7 +21,6 @@
20
21
  '--_main-navigation-item-width':
21
22
  mainNavigationState.clonedNavLinks?.[groupKey]?.[localIndex]?.config?.width + 'px',
22
23
  }"
23
- ref="mainNavigationItems"
24
24
  :data-group-key="groupKey"
25
25
  :data-local-index="localIndex"
26
26
  @mouseenter="handleNavigationItemHover"
@@ -35,14 +35,14 @@
35
35
  <Icon v-if="link.iconName" :name="link.iconName" class="decorator-icon" aria-hidden="true" />
36
36
  {{ link.name }}
37
37
  </NuxtLink>
38
- <details v-else class="main-navigation-details" name="navigation-group" ref="navigationDetails">
38
+ <details v-else ref="navigationDetails" class="main-navigation-details" name="navigation-group">
39
39
  <summary
40
+ class="main-navigation-details-summary has-toggle-icon"
41
+ :aria-label="`${link.childLinksTitle} submenu`"
40
42
  @mouseenter="handleSummaryHover($event)"
41
43
  @focusin="handleSummaryHover($event)"
42
44
  @click.prevent="handleSummaryAction($event)"
43
45
  @keyup.prevent.stop="handleSummaryAction($event)"
44
- class="main-navigation-details-summary has-toggle-icon"
45
- :aria-label="`${link.childLinksTitle} submenu`"
46
46
  >
47
47
  <Icon name="mdi:chevron-down" class="icon" :aria-hidden="true" />
48
48
  <Icon v-if="link.iconName" :name="link.iconName" class="decorator-icon" aria-hidden="true" />
@@ -51,7 +51,7 @@
51
51
  </summary>
52
52
  <div class="main-navigation-sub-nav" role="menu">
53
53
  <ul class="main-navigation-sub-nav-list">
54
- <li class="main-navigation-sub-nav-item" v-for="childLink in link.childLinks" :key="childLink.name">
54
+ <li v-for="childLink in link.childLinks" :key="childLink.name" class="main-navigation-sub-nav-item">
55
55
  <NuxtLink :to="childLink.path" class="main-navigation-sub-nav-link" role="menuitem">
56
56
  {{ childLink.name }}
57
57
  </NuxtLink>
@@ -62,11 +62,11 @@
62
62
  </li>
63
63
  </ul>
64
64
  </nav>
65
- <nav class="secondary-navigation" ref="secondaryNav" aria-label="Secondary navigation">
65
+ <nav ref="secondaryNav" class="secondary-navigation" aria-label="Secondary navigation">
66
66
  <details
67
+ ref="overflowDetails"
67
68
  class="overflow-details"
68
69
  :class="[{ 'visually-hidden': !navLoaded || !showOverflowDetails }]"
69
- ref="overflowDetails"
70
70
  name="overflow-group"
71
71
  >
72
72
  <summary class="overflow-details-summary has-toggle-icon">
@@ -108,47 +108,36 @@
108
108
  </template>
109
109
 
110
110
  <script setup lang="ts">
111
- import type { ResponsiveHeaderProp, ResponsiveHeaderState, IFlooredRect } from "../../types/components"
112
- import { useResizeObserver, onClickOutside } from "@vueuse/core"
111
+ import type { ResponsiveHeaderProp, ResponsiveHeaderState, IFlooredRect } from "../../types/components";
112
+ import { useResizeObserver, onClickOutside } from "@vueuse/core";
113
+
114
+ interface Props {
115
+ responsiveNavLinks?: ResponsiveHeaderProp;
116
+ gapBetweenFirstAndSecondNav?: number;
117
+ overflowDetailsSummaryIcons?: Record<string, string>;
118
+ collapseBreakpoint?: number | null;
119
+ collapseAtMainNavIntersection?: boolean;
120
+ styleClassPassthrough?: string | string[];
121
+ allowExpandOnGesture?: boolean;
122
+ }
113
123
 
114
- const props = defineProps({
115
- responsiveNavLinks: {
116
- type: Object as PropType<ResponsiveHeaderProp>,
117
- default: () => [],
118
- },
119
- gapBetweenFirstAndSecondNav: {
120
- type: Number,
121
- default: 12, // px
122
- },
123
- overflowDetailsSummaryIcons: {
124
- type: Object as PropType<Record<string, string>>,
125
- default: {
126
- more: "gravity-ui:ellipsis",
127
- burger: "gravity-ui:bars",
128
- },
129
- },
130
- collapseBreakpoint: {
131
- type: Number,
132
- default: null, // px
133
- },
134
- collapseAtMainNavIntersection: {
135
- type: Boolean,
136
- default: false,
137
- },
138
- styleClassPassthrough: {
139
- type: [String, Array] as PropType<string | string[]>,
140
- default: () => [],
141
- },
142
- allowExpandOnGesture: {
143
- type: Boolean,
144
- default: true,
145
- },
146
- })
124
+ const props = withDefaults(defineProps<Props>(), {
125
+ responsiveNavLinks: () => ({}),
126
+ gapBetweenFirstAndSecondNav: 12,
127
+ overflowDetailsSummaryIcons: () => ({
128
+ more: "gravity-ui:ellipsis",
129
+ burger: "gravity-ui:bars",
130
+ }),
131
+ collapseBreakpoint: null,
132
+ collapseAtMainNavIntersection: false,
133
+ styleClassPassthrough: () => [],
134
+ allowExpandOnGesture: true,
135
+ });
147
136
 
148
137
  const collapseNavigationBelowWidth = computed(
149
138
  () => props.collapseBreakpoint !== null || props.collapseAtMainNavIntersection
150
- )
151
- const collapseBreakpoint = ref(props.collapseBreakpoint)
139
+ );
140
+ const collapseBreakpoint = ref(props.collapseBreakpoint);
152
141
 
153
142
  // Use global navigation state for caching between route changes
154
143
  const {
@@ -156,65 +145,64 @@ const {
156
145
  navigationInitialized,
157
146
  navigationWrapperRects: cachedNavigationWrapperRects,
158
147
  secondaryNavRects: cachedSecondaryNavRects,
159
- clearNavigationCache,
160
- } = useNavigationState()
148
+ } = useNavigationState();
161
149
 
162
- const slots = useSlots()
150
+ const slots = useSlots();
163
151
 
164
- const navigationWrapperRef = useTemplateRef<HTMLDivElement>("navigationWrapper")
152
+ const navigationWrapperRef = useTemplateRef<HTMLDivElement>("navigationWrapper");
165
153
 
166
154
  const closeAllNavigationDetails = () => {
167
155
  navigationDetailsRefs.value?.forEach((element) => {
168
- element?.removeAttribute("open")
169
- })
170
- overflowDetailsRef.value?.removeAttribute("open")
171
- }
156
+ element?.removeAttribute("open");
157
+ });
158
+ overflowDetailsRef.value?.removeAttribute("open");
159
+ };
172
160
 
173
161
  const toggleDetailsElement = (event: Event) => {
174
- const summaryElement = event.currentTarget as HTMLElement
175
- const parentDetailsElement = summaryElement.closest("details")
176
- if (!parentDetailsElement) return
162
+ const summaryElement = event.currentTarget as HTMLElement;
163
+ const parentDetailsElement = summaryElement.closest("details");
164
+ if (!parentDetailsElement) return;
177
165
 
178
166
  if (parentDetailsElement.hasAttribute("open")) {
179
- parentDetailsElement.removeAttribute("open")
167
+ parentDetailsElement.removeAttribute("open");
180
168
  } else {
181
- parentDetailsElement.setAttribute("open", "")
169
+ parentDetailsElement.setAttribute("open", "");
182
170
  }
183
- overflowDetailsRef.value?.removeAttribute("open")
184
- }
171
+ overflowDetailsRef.value?.removeAttribute("open");
172
+ };
185
173
 
186
174
  const handleSummaryHover = (event: MouseEvent | FocusEvent) => {
187
175
  if (!props.allowExpandOnGesture) {
188
- return
176
+ return;
189
177
  }
190
178
 
191
179
  // Close all other open navigation details first
192
- const summaryElement = event.currentTarget as HTMLElement
193
- const parentDetailsElement = summaryElement.closest("details")
180
+ const summaryElement = event.currentTarget as HTMLElement;
181
+ const parentDetailsElement = summaryElement.closest("details");
194
182
 
195
183
  navigationDetailsRefs.value?.forEach((element) => {
196
184
  if (element !== parentDetailsElement) {
197
- element?.removeAttribute("open")
185
+ element?.removeAttribute("open");
198
186
  }
199
- })
200
- overflowDetailsRef.value?.removeAttribute("open")
187
+ });
188
+ overflowDetailsRef.value?.removeAttribute("open");
201
189
 
202
190
  // Then toggle the current one
203
- toggleDetailsElement(event)
204
- }
191
+ toggleDetailsElement(event);
192
+ };
205
193
 
206
194
  const handleNavigationItemHover = () => {
207
195
  if (!props.allowExpandOnGesture) {
208
- return
196
+ return;
209
197
  }
210
198
 
211
199
  // Close all open navigation details when hovering over regular nav items
212
- closeAllNavigationDetails()
213
- }
200
+ closeAllNavigationDetails();
201
+ };
214
202
 
215
203
  const handleSummaryAction = (event: MouseEvent | KeyboardEvent) => {
216
- toggleDetailsElement(event)
217
- }
204
+ toggleDetailsElement(event);
205
+ };
218
206
 
219
207
  // Initialize main navigation state
220
208
  const mainNavigationState = ref<ResponsiveHeaderState>({
@@ -224,64 +212,64 @@ const mainNavigationState = ref<ResponsiveHeaderState>({
224
212
  },
225
213
  clonedNavLinks: props.responsiveNavLinks,
226
214
  hasSecondNav: Object.keys(props.responsiveNavLinks).length > 1,
227
- })
215
+ });
228
216
 
229
- const navRefs = ref<Record<string, HTMLUListElement | null>>({})
217
+ const navRefs = ref<Record<string, HTMLUListElement | null>>({});
230
218
 
231
219
  const setNavRef = (key: string, el: Element | ComponentPublicInstance | null) => {
232
- navRefs.value[key] = el as HTMLUListElement | null
233
- }
220
+ navRefs.value[key] = el as HTMLUListElement | null;
221
+ };
234
222
 
235
223
  const navigationWrapperRects = computed({
236
224
  get: () => cachedNavigationWrapperRects.value,
237
225
  set: (value: IFlooredRect | null) => {
238
- cachedNavigationWrapperRects.value = value
226
+ cachedNavigationWrapperRects.value = value;
239
227
  },
240
- })
228
+ });
241
229
 
242
- const firstNavRef = ref<HTMLUListElement | null>(null)
243
- const firstNavRects = ref<IFlooredRect | null>(null)
230
+ const firstNavRef = ref<HTMLUListElement | null>(null);
231
+ const firstNavRects = ref<IFlooredRect | null>(null);
244
232
 
245
- const secondNavRef = ref<HTMLUListElement | null>(null)
246
- const secondNavRects = ref<IFlooredRect | null>(null)
233
+ const secondNavRef = ref<HTMLUListElement | null>(null);
234
+ const secondNavRects = ref<IFlooredRect | null>(null);
247
235
 
248
- const secondaryNavRef = useTemplateRef<HTMLElement>("secondaryNav")
236
+ const secondaryNavRef = useTemplateRef<HTMLElement>("secondaryNav");
249
237
  const secondaryNavRects = computed({
250
238
  get: () => cachedSecondaryNavRects.value,
251
239
  set: (value: IFlooredRect | null) => {
252
- cachedSecondaryNavRects.value = value
240
+ cachedSecondaryNavRects.value = value;
253
241
  },
254
- })
242
+ });
255
243
 
256
- const mainNavigationItemsRefs = useTemplateRef<HTMLLIElement[]>("mainNavigationItems")
244
+ const mainNavigationItemsRefs = useTemplateRef<HTMLLIElement[]>("mainNavigationItems");
257
245
 
258
- const navigationDetailsRefs = useTemplateRef<HTMLElement[]>("navigationDetails")
246
+ const navigationDetailsRefs = useTemplateRef<HTMLElement[]>("navigationDetails");
259
247
 
260
- const overflowDetailsRef = useTemplateRef<HTMLDetailsElement>("overflowDetails")
248
+ const overflowDetailsRef = useTemplateRef<HTMLDetailsElement>("overflowDetails");
261
249
 
262
250
  const showOverflowDetails = computed(() => {
263
251
  const hasHiddenNav =
264
252
  !mainNavigationState.value.navListVisibility["firstNav"] ||
265
- (!mainNavigationState.value.navListVisibility["secondNav"] && mainNavigationState.value.hasSecondNav)
266
- return hasHiddenNav
267
- })
253
+ (!mainNavigationState.value.navListVisibility["secondNav"] && mainNavigationState.value.hasSecondNav);
254
+ return hasHiddenNav;
255
+ });
268
256
 
269
257
  const mainNavigationMarginBlockEnd = computed(() => {
270
- return secondaryNavRects.value ? secondaryNavRects.value.width + props.gapBetweenFirstAndSecondNav : 0
271
- })
258
+ return secondaryNavRects.value ? secondaryNavRects.value.width + props.gapBetweenFirstAndSecondNav : 0;
259
+ });
272
260
 
273
261
  const mainNavigationMarginBlockEndStr = computed(() => {
274
- return mainNavigationMarginBlockEnd.value + "px"
275
- })
262
+ return mainNavigationMarginBlockEnd.value + "px";
263
+ });
276
264
 
277
265
  const initTemplateRefs = async () => {
278
- firstNavRef.value = navRefs.value["firstNav"] as HTMLUListElement | null
279
- secondNavRef.value = navRefs.value["secondNav"] as HTMLUListElement | null
280
- return
281
- }
266
+ firstNavRef.value = navRefs.value["firstNav"] as HTMLUListElement | null;
267
+ secondNavRef.value = navRefs.value["secondNav"] as HTMLUListElement | null;
268
+ return;
269
+ };
282
270
 
283
271
  const getFlooredRect = (rect: DOMRect | null) => {
284
- if (!rect) return null
272
+ if (!rect) return null;
285
273
  return {
286
274
  left: Math.floor(rect.left),
287
275
  right: Math.floor(rect.right),
@@ -289,36 +277,38 @@ const getFlooredRect = (rect: DOMRect | null) => {
289
277
  bottom: Math.floor(rect.bottom),
290
278
  width: Math.floor(rect.width),
291
279
  height: Math.floor(rect.height),
292
- }
293
- }
280
+ };
281
+ };
294
282
 
295
- const updateNavigationConfig = async (source: string) => {
283
+ const updateNavigationConfig = async (_source?: string) => {
296
284
  navigationWrapperRects.value =
297
- getFlooredRect((navigationWrapperRef.value && navigationWrapperRef.value.getBoundingClientRect()) ?? null) || null
285
+ getFlooredRect((navigationWrapperRef.value && navigationWrapperRef.value.getBoundingClientRect()) ?? null) || null;
298
286
  secondaryNavRects.value =
299
- getFlooredRect((secondaryNavRef.value && secondaryNavRef.value.getBoundingClientRect()) ?? null) || null
300
- firstNavRects.value = getFlooredRect((firstNavRef.value && firstNavRef.value.getBoundingClientRect()) ?? null) || null
287
+ getFlooredRect((secondaryNavRef.value && secondaryNavRef.value.getBoundingClientRect()) ?? null) || null;
288
+ firstNavRects.value =
289
+ getFlooredRect((firstNavRef.value && firstNavRef.value.getBoundingClientRect()) ?? null) || null;
301
290
  secondNavRects.value =
302
- getFlooredRect((secondNavRef.value && secondNavRef.value.getBoundingClientRect()) ?? null) || null
291
+ getFlooredRect((secondNavRef.value && secondNavRef.value.getBoundingClientRect()) ?? null) || null;
303
292
 
304
293
  if (collapseNavigationBelowWidth.value && firstNavRects.value) {
305
- collapseBreakpoint.value = firstNavRects.value?.right
294
+ collapseBreakpoint.value = firstNavRects.value?.right;
306
295
  }
307
- }
296
+ };
308
297
 
309
298
  const allowNavigationCollapse = computed(() => {
310
299
  return (
311
300
  collapseNavigationBelowWidth.value &&
312
301
  navigationWrapperRects.value &&
313
302
  secondaryNavRects.value !== null &&
303
+ collapseBreakpoint.value !== null &&
314
304
  Math.floor(secondaryNavRects.value.left - props.gapBetweenFirstAndSecondNav) <= collapseBreakpoint.value
315
- )
316
- })
305
+ );
306
+ });
317
307
 
318
308
  const determineNavigationItemVisibility = (rect: DOMRect) => {
319
309
  // Check if navigation should be collapsed based on width breakpoint
320
310
  if (allowNavigationCollapse.value) {
321
- return false
311
+ return false;
322
312
  }
323
313
 
324
314
  // Use default responsive visibility logic if wrapper exists
@@ -326,22 +316,22 @@ const determineNavigationItemVisibility = (rect: DOMRect) => {
326
316
  return (
327
317
  Math.floor(rect.right + mainNavigationMarginBlockEnd.value + props.gapBetweenFirstAndSecondNav) <
328
318
  navigationWrapperRects.value.right
329
- )
319
+ );
330
320
  }
331
321
 
332
322
  // Default to visible
333
- return true
334
- }
323
+ return true;
324
+ };
335
325
 
336
326
  const initMainNavigationState = () => {
337
- if (!mainNavigationItemsRefs.value) return
327
+ if (!mainNavigationItemsRefs.value) return;
338
328
 
339
- mainNavigationItemsRefs.value.forEach(async (item, index) => {
329
+ mainNavigationItemsRefs.value.forEach(async (item) => {
340
330
  // await nextTick()
341
- const rect = item.getBoundingClientRect()
331
+ const rect = item.getBoundingClientRect();
342
332
 
343
- const groupKey = item.dataset.groupKey
344
- const localIndex = item.dataset.localIndex ? parseInt(item.dataset.localIndex, 10) : 0
333
+ const groupKey = item.dataset.groupKey;
334
+ const localIndex = item.dataset.localIndex ? parseInt(item.dataset.localIndex, 10) : 0;
345
335
  if (
346
336
  groupKey !== undefined &&
347
337
  groupKey !== null &&
@@ -357,7 +347,7 @@ const initMainNavigationState = () => {
357
347
  width: item.offsetWidth,
358
348
  visible: determineNavigationItemVisibility(rect),
359
349
  },
360
- }
350
+ };
361
351
  }
362
352
 
363
353
  // Check if a single item has visible set to false and set the visibility of the group accordingly
@@ -368,61 +358,63 @@ const initMainNavigationState = () => {
368
358
  mainNavigationState.value.clonedNavLinks[groupKey][localIndex] &&
369
359
  mainNavigationState.value.clonedNavLinks[groupKey][localIndex].config?.visible === false
370
360
  ) {
371
- mainNavigationState.value.navListVisibility[groupKey] = false
361
+ mainNavigationState.value.navListVisibility[groupKey] = false;
372
362
  } else if (typeof groupKey === "string") {
373
- mainNavigationState.value.navListVisibility[groupKey] = true
363
+ mainNavigationState.value.navListVisibility[groupKey] = true;
374
364
  }
375
- })
376
- }
365
+ });
366
+ };
377
367
 
378
368
  // Function to set up click outside listeners
379
369
  const setupClickOutsideListeners = () => {
380
370
  navigationDetailsRefs.value?.forEach((element, index) => {
381
371
  onClickOutside(element, () => {
382
- navigationDetailsRefs.value?.[index]?.removeAttribute("open")
383
- })
384
- })
372
+ navigationDetailsRefs.value?.[index]?.removeAttribute("open");
373
+ });
374
+ });
385
375
  // Add onClickOutside to overflowDetailsRef
386
- overflowDetailsRef.value &&
376
+ if (overflowDetailsRef.value) {
387
377
  onClickOutside(overflowDetailsRef.value, () => {
388
- overflowDetailsRef.value?.removeAttribute("open")
389
- })
390
- }
378
+ overflowDetailsRef.value?.removeAttribute("open");
379
+ });
380
+ }
381
+ };
391
382
 
392
383
  onMounted(async () => {
393
384
  // If navigation is already initialized and loaded, skip the template refs setup
394
385
  if (navigationInitialized.value && navLoaded.value) {
395
386
  // But still set up click outside listeners as DOM elements may have changed
396
- await nextTick()
397
- setupClickOutsideListeners()
398
- return
387
+ await nextTick();
388
+ setupClickOutsideListeners();
389
+ return;
399
390
  }
400
391
 
401
392
  await initTemplateRefs().then(() => {
402
- navLoaded.value = true
403
- navigationInitialized.value = true
404
- })
393
+ navLoaded.value = true;
394
+ navigationInitialized.value = true;
395
+ });
405
396
 
406
- setupClickOutsideListeners()
407
- })
397
+ setupClickOutsideListeners();
398
+ });
408
399
 
409
400
  useResizeObserver(navigationWrapperRef, async () => {
410
401
  await updateNavigationConfig("useResizeObserver").then(() => {
411
- initMainNavigationState()
412
- })
413
- })
402
+ initMainNavigationState();
403
+ });
404
+ });
414
405
 
415
- const { elementClasses, resetElementClasses } = useStyleClassPassthrough(props.styleClassPassthrough)
406
+ const { elementClasses, resetElementClasses } = useStyleClassPassthrough(props.styleClassPassthrough);
416
407
 
417
408
  watch(
418
409
  () => props.styleClassPassthrough,
419
410
  () => {
420
- resetElementClasses(props.styleClassPassthrough)
411
+ resetElementClasses(props.styleClassPassthrough);
421
412
  }
422
- )
413
+ );
423
414
  </script>
424
415
 
425
416
  <style lang="css">
417
+ @layer components {
426
418
  .navigation {
427
419
  ul,
428
420
  ol {
@@ -448,12 +440,6 @@ watch(
448
440
  display: grid;
449
441
  grid-template-areas: "navStack";
450
442
 
451
- margin: 12px;
452
- border-radius: 8px;
453
- background-color: #efefef05;
454
- border: 1px solid #efefef75;
455
- padding: 12px;
456
-
457
443
  .main-navigation {
458
444
  /* Set up some global vars */
459
445
  --_link-padding-block: 0.8rem;
@@ -462,7 +448,7 @@ watch(
462
448
  --_link-margin-inline: 0.1rem;
463
449
  --_link-focus-visible-outline-width: 0.2rem;
464
450
  --_link-border-default: 2px solid transparent;
465
- --_link-border-bottom-hover: var(--green-8);
451
+ --_link-border-bottom-hover: var(--green-08);
466
452
 
467
453
  grid-area: navStack;
468
454
  display: flex;
@@ -552,6 +538,7 @@ watch(
552
538
  margin-block: var(--_link-margin-block);
553
539
  margin-inline: var(--_link-margin-inline);
554
540
  border-bottom: var(--_link-border-default);
541
+ white-space: nowrap;
555
542
 
556
543
  &::-webkit-details-marker,
557
544
  &::marker {
@@ -611,6 +598,25 @@ watch(
611
598
  }
612
599
  }
613
600
  }
601
+
602
+ &:last-child {
603
+ .main-navigation-item {
604
+ /* border: 2px solid red; */
605
+
606
+ .main-navigation-details {
607
+ /* border: 2px solid blue; */
608
+ /* position: relative; */
609
+ /* isolation: isolate; */
610
+
611
+ .main-navigation-sub-nav {
612
+ /* border: 2px solid yellow; */
613
+ /* left: initial; */
614
+ /* right: 0; */
615
+ translate: calc(-1 * var(--_main-navigation-item-width)) 12px;
616
+ }
617
+ }
618
+ }
619
+ }
614
620
  }
615
621
  }
616
622
 
@@ -682,7 +688,6 @@ watch(
682
688
  background-color: Canvas;
683
689
 
684
690
  width: var(--_icon-size);
685
- height: var(--_icon-size);
686
691
  overflow: hidden;
687
692
  transition-property: all;
688
693
  transition-timing-function: linear;
@@ -753,4 +758,5 @@ watch(
753
758
  }
754
759
  }
755
760
  }
761
+ }
756
762
  </style>
@@ -145,6 +145,7 @@ onUnmounted(() => {
145
145
  </script>
146
146
 
147
147
  <style lang="css">
148
+ @layer components {
148
149
  /* @property --_rotate-x {
149
150
  syntax: '<angle>';
150
151
  inherits: false;
@@ -211,4 +212,5 @@ onUnmounted(() => {
211
212
  }
212
213
  }
213
214
  }
215
+ }
214
216
  </style>