@designcrowd/fe-shared-lib 1.0.0-test-publish

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 (739) hide show
  1. package/.eslintrc.js +35 -0
  2. package/.prettierrc.js +7 -0
  3. package/.storybook/main.ts +39 -0
  4. package/.storybook/preview-head-master.html +4 -0
  5. package/.storybook/preview-head-publish-master.html +4 -0
  6. package/.storybook/preview-head-publish.html +10 -0
  7. package/.storybook/preview-head.html +10 -0
  8. package/.storybook/preview.js +14 -0
  9. package/.storybook-static/assets/Auth-Cog6hw8U.css +1 -0
  10. package/.storybook-static/assets/Auth.stories-ChzrCEEO.js +490 -0
  11. package/.storybook-static/assets/AuthCrazyDomains.stories-BVFzTQgj.js +73 -0
  12. package/.storybook-static/assets/Button-C9BkIo_w.js +1 -0
  13. package/.storybook-static/assets/Button-Dt0lL0uX.css +1 -0
  14. package/.storybook-static/assets/ButtonGroup-JjgCZ8Bt.css +1 -0
  15. package/.storybook-static/assets/ButtonGroup.stories-C_pSNuPs.js +494 -0
  16. package/.storybook-static/assets/ButtonPrimary-BD3XC-26.js +1 -0
  17. package/.storybook-static/assets/ButtonPrimary-CFNYtrCi.css +1 -0
  18. package/.storybook-static/assets/Buttons.stories-BCz47Kev.js +699 -0
  19. package/.storybook-static/assets/ButtonsCrazyDomains.stories-Cr8IrzcL.js +199 -0
  20. package/.storybook-static/assets/Checkbox.mixin-CL6A4kGP.js +1 -0
  21. package/.storybook-static/assets/Checkbox.stories-0nRBCAZo.js +161 -0
  22. package/.storybook-static/assets/Checktile.stories-BCEogB4v.js +88 -0
  23. package/.storybook-static/assets/CollapsiblePanel.stories-BP-FImZQ.js +39 -0
  24. package/.storybook-static/assets/Color-RQJUDNI5-DCDdN3vb.js +1 -0
  25. package/.storybook-static/assets/ColorPicker.stories-vaA-jLow.js +73 -0
  26. package/.storybook-static/assets/DocsRenderer-K4EAMTCU-Bvtp66Th.js +513 -0
  27. package/.storybook-static/assets/Dropdown.stories-URhoPzyZ.js +154 -0
  28. package/.storybook-static/assets/DropdownItem-BQ0eJTHo.css +1 -0
  29. package/.storybook-static/assets/DropdownItem-DhJH7ViO.js +1 -0
  30. package/.storybook-static/assets/FormControl.mixin-BBDP7qRp.js +1 -0
  31. package/.storybook-static/assets/HashRouteModal.stories-DRXQEHa8.js +64 -0
  32. package/.storybook-static/assets/HelloBar-DtIRdNgP.js +1 -0
  33. package/.storybook-static/assets/HelloBar.stories-DC9quWiP.js +342 -0
  34. package/.storybook-static/assets/Icon-CLd6chSw.js +1 -0
  35. package/.storybook-static/assets/Icon.stories-CN22t9vh.js +126 -0
  36. package/.storybook-static/assets/Icon.stories-xBTQr6ZV.js +733 -0
  37. package/.storybook-static/assets/Loader-CIm9SBxn.js +1 -0
  38. package/.storybook-static/assets/LogoBusinessBrandColours-8SUh_BWV.css +1 -0
  39. package/.storybook-static/assets/LogoBusinessBrandColours-BL9vqKnt.js +1 -0
  40. package/.storybook-static/assets/LogoBusinessBrandColours.stories-CH5CwVl_.js +36 -0
  41. package/.storybook-static/assets/Masonry-Q4MdMr0_.css +1 -0
  42. package/.storybook-static/assets/Masonry.stories-BNS1SkB3.js +71 -0
  43. package/.storybook-static/assets/Modal-BLdvoK5M.js +1 -0
  44. package/.storybook-static/assets/Modal-BnKdpp5L.css +1 -0
  45. package/.storybook-static/assets/Modal.stories--h84M-r_.js +380 -0
  46. package/.storybook-static/assets/Notice.stories-Dcrjykoh.js +222 -0
  47. package/.storybook-static/assets/NumberStepper.stories-CJc109aH.js +48 -0
  48. package/.storybook-static/assets/PaymentConfigList.stories-DNm4Lvvk.js +126 -0
  49. package/.storybook-static/assets/Picture-zuMOWzvt.js +1 -0
  50. package/.storybook-static/assets/Picture.stories-DdhMmLEh.js +119 -0
  51. package/.storybook-static/assets/Pill-C7qxntuo.js +1 -0
  52. package/.storybook-static/assets/Pill.stories-CRIlio0a.js +18 -0
  53. package/.storybook-static/assets/PillBar-BeJSf_Pk.css +1 -0
  54. package/.storybook-static/assets/PillBar.stories-C5hh4cri.js +41 -0
  55. package/.storybook-static/assets/Price-C2LQcwTh.js +1 -0
  56. package/.storybook-static/assets/Price.stories-_55T9bgL.js +221 -0
  57. package/.storybook-static/assets/PublishBrandPageModal-BOGSPjB0.css +1 -0
  58. package/.storybook-static/assets/PublishBrandPageModal.stories-RjwyGq84.js +349 -0
  59. package/.storybook-static/assets/SearchBar.stories-C2rpvDPE.js +12 -0
  60. package/.storybook-static/assets/Select-NfSykZpz.css +1 -0
  61. package/.storybook-static/assets/Select.stories-DzvEsBf4.js +108 -0
  62. package/.storybook-static/assets/SellDomainNameList.fixtures-LC6fjr_b.js +1 -0
  63. package/.storybook-static/assets/SellDomainNameListModal-PFmHb8L4.js +1 -0
  64. package/.storybook-static/assets/SellDomainNameListModal-geQc7R-K.css +1 -0
  65. package/.storybook-static/assets/SellDomainNameListModal.stories-DqoSMxKs.js +71 -0
  66. package/.storybook-static/assets/SellDomainNameListSearchResult-BC9dwpco.js +1 -0
  67. package/.storybook-static/assets/SellDomainNameListSearchResult-Dtf2vM3k.css +1 -0
  68. package/.storybook-static/assets/SellDomainNameSearchWithResults-CdmFjQux.js +1 -0
  69. package/.storybook-static/assets/SellDomainNameSearchWithResults.stories-H41Js9un.js +37 -0
  70. package/.storybook-static/assets/SellDomainNameWidget.stories-CSH2m1ht.js +36 -0
  71. package/.storybook-static/assets/SignIn-BWJ8nG_4.js +1 -0
  72. package/.storybook-static/assets/SignIn-Dp4SZqnm.css +1 -0
  73. package/.storybook-static/assets/Slider-CQ7DbC3q.css +1 -0
  74. package/.storybook-static/assets/Slider.stories-Soa4tvwi.js +129 -0
  75. package/.storybook-static/assets/StarRating-BRQqs_py.css +1 -0
  76. package/.storybook-static/assets/StarRating.stories-Bbx4rxr_.js +45 -0
  77. package/.storybook-static/assets/TabMenu.stories-B4pbxmGz.js +47 -0
  78. package/.storybook-static/assets/TextCopyField-BYUCKh4x.js +1 -0
  79. package/.storybook-static/assets/TextCopyField.stories-D1kvx6hJ.js +47 -0
  80. package/.storybook-static/assets/TextInput-AbeV01jN.js +1 -0
  81. package/.storybook-static/assets/TextInput.stories-BdFmduiV.js +233 -0
  82. package/.storybook-static/assets/Textarea.stories-YWHlLp1e.js +207 -0
  83. package/.storybook-static/assets/Toggle.stories-DL8X0gl8.js +161 -0
  84. package/.storybook-static/assets/Tooltip-BHf5qq0n.css +1 -0
  85. package/.storybook-static/assets/Tooltip.stories-CxaxsFXA.js +953 -0
  86. package/.storybook-static/assets/UploadYourLogoApplication-CeFWp7qz.css +9 -0
  87. package/.storybook-static/assets/UploadYourLogoApplication.stories-Bw3p2gdb.js +194 -0
  88. package/.storybook-static/assets/UploadYourLogoDropzone-BZeSfjIk.css +1 -0
  89. package/.storybook-static/assets/UploadYourLogoDropzone-BmhC3n1M.js +24 -0
  90. package/.storybook-static/assets/UploadYourLogoDropzone.stories-bs059Co-.js +35 -0
  91. package/.storybook-static/assets/UploadedLogoSearchResultCard.stories-BISC5ELm.js +79 -0
  92. package/.storybook-static/assets/WithTooltip-Y7J54OF7-ConbuPqs.js +1 -0
  93. package/.storybook-static/assets/_commonjsHelpers-BosuxZz1.js +1 -0
  94. package/.storybook-static/assets/_plugin-vue_export-helper-DlAUqK2U.js +1 -0
  95. package/.storybook-static/assets/api-lSJGRrF2.js +1 -0
  96. package/.storybook-static/assets/axe-CeoKsdFO.js +30 -0
  97. package/.storybook-static/assets/axios-dxcvQi4N.js +6 -0
  98. package/.storybook-static/assets/brand-crowd-api.client-CfTgrTzo.js +1 -0
  99. package/.storybook-static/assets/carousel-B0jomWUs.css +1 -0
  100. package/.storybook-static/assets/carousel.stories-CdEzrRrP.js +374 -0
  101. package/.storybook-static/assets/entry-preview-docs-Dk-WIil3.js +14 -0
  102. package/.storybook-static/assets/entry-preview-y6pzYfUQ.js +1 -0
  103. package/.storybook-static/assets/event-constants-6ydiL1p5.js +1 -0
  104. package/.storybook-static/assets/formatter-B5HCVTEV-C39tdgDq.js +58 -0
  105. package/.storybook-static/assets/iframe-CaInkaFx.js +7 -0
  106. package/.storybook-static/assets/index-BqKh95Lf.js +24 -0
  107. package/.storybook-static/assets/index-BwDkhjyp.js +9 -0
  108. package/.storybook-static/assets/index-D-8MO0q_.js +1 -0
  109. package/.storybook-static/assets/index-DK28puIS.js +3 -0
  110. package/.storybook-static/assets/index-DlpNa54Y.js +1 -0
  111. package/.storybook-static/assets/index-DrFu-skq.js +6 -0
  112. package/.storybook-static/assets/preview-B4GcaC1c.js +1 -0
  113. package/.storybook-static/assets/preview-BAymYkVd.js +7 -0
  114. package/.storybook-static/assets/preview-BAz7FMXc.js +396 -0
  115. package/.storybook-static/assets/preview-BJPLiuSt.js +1 -0
  116. package/.storybook-static/assets/preview-CBGjgnh2.js +1 -0
  117. package/.storybook-static/assets/preview-Cv3rAi2i.js +7 -0
  118. package/.storybook-static/assets/preview-CwqMn10d.js +20 -0
  119. package/.storybook-static/assets/preview-DF-d5FoE.js +1 -0
  120. package/.storybook-static/assets/preview-Db4Idchh.js +1 -0
  121. package/.storybook-static/assets/preview-DyKfdery.js +7 -0
  122. package/.storybook-static/assets/preview-G-5UVXmd.js +1 -0
  123. package/.storybook-static/assets/syntaxhighlighter-JOJW2KGS-D64iC1CN.js +1 -0
  124. package/.storybook-static/assets/tracking-ATsLLehC.js +1 -0
  125. package/.storybook-static/assets/vue.esm-bundler-BuzEyh6o.js +47 -0
  126. package/.storybook-static/css/tailwind-brandCrowd.css +1931 -0
  127. package/.storybook-static/css/tailwind-brandPage.css +1619 -0
  128. package/.storybook-static/css/tailwind-crazyDomains.css +1931 -0
  129. package/.storybook-static/css/tailwind-designCom.css +1931 -0
  130. package/.storybook-static/css/tailwind-designCrowd.css +1931 -0
  131. package/.storybook-static/favicon.svg +7 -0
  132. package/.storybook-static/iframe.html +501 -0
  133. package/.storybook-static/index.html +163 -0
  134. package/.storybook-static/index.json +1 -0
  135. package/.storybook-static/project.json +1 -0
  136. package/.storybook-static/sb-addons/a11y-1/manager-bundle.js +3 -0
  137. package/.storybook-static/sb-addons/a11y-1/manager-bundle.js.LEGAL.txt +0 -0
  138. package/.storybook-static/sb-addons/actions-2/manager-bundle.js +3 -0
  139. package/.storybook-static/sb-addons/actions-2/manager-bundle.js.LEGAL.txt +0 -0
  140. package/.storybook-static/sb-addons/controls-3/manager-bundle.js +60 -0
  141. package/.storybook-static/sb-addons/controls-3/manager-bundle.js.LEGAL.txt +18 -0
  142. package/.storybook-static/sb-addons/essentials-backgrounds-4/manager-bundle.js +12 -0
  143. package/.storybook-static/sb-addons/essentials-backgrounds-4/manager-bundle.js.LEGAL.txt +0 -0
  144. package/.storybook-static/sb-addons/essentials-measure-7/manager-bundle.js +3 -0
  145. package/.storybook-static/sb-addons/essentials-measure-7/manager-bundle.js.LEGAL.txt +0 -0
  146. package/.storybook-static/sb-addons/essentials-outline-8/manager-bundle.js +3 -0
  147. package/.storybook-static/sb-addons/essentials-outline-8/manager-bundle.js.LEGAL.txt +0 -0
  148. package/.storybook-static/sb-addons/essentials-toolbars-6/manager-bundle.js +3 -0
  149. package/.storybook-static/sb-addons/essentials-toolbars-6/manager-bundle.js.LEGAL.txt +0 -0
  150. package/.storybook-static/sb-addons/essentials-viewport-5/manager-bundle.js +3 -0
  151. package/.storybook-static/sb-addons/essentials-viewport-5/manager-bundle.js.LEGAL.txt +0 -0
  152. package/.storybook-static/sb-addons/links-9/manager-bundle.js +3 -0
  153. package/.storybook-static/sb-addons/links-9/manager-bundle.js.LEGAL.txt +0 -0
  154. package/.storybook-static/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js +3 -0
  155. package/.storybook-static/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js.LEGAL.txt +0 -0
  156. package/.storybook-static/sb-addons/themes-10/manager-bundle.js +3 -0
  157. package/.storybook-static/sb-addons/themes-10/manager-bundle.js.LEGAL.txt +0 -0
  158. package/.storybook-static/sb-common-assets/fonts.css +31 -0
  159. package/.storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
  160. package/.storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
  161. package/.storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
  162. package/.storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
  163. package/.storybook-static/sb-manager/WithTooltip-Y7J54OF7-3AIPQNGM.js +1 -0
  164. package/.storybook-static/sb-manager/chunk-KCJCJECS.js +234 -0
  165. package/.storybook-static/sb-manager/chunk-TZAR34JC.js +6 -0
  166. package/.storybook-static/sb-manager/chunk-UOBNU442.js +347 -0
  167. package/.storybook-static/sb-manager/chunk-VCJ56UEM.js +183 -0
  168. package/.storybook-static/sb-manager/chunk-VMGB76WP.js +9 -0
  169. package/.storybook-static/sb-manager/chunk-XP3HGWTR.js +1 -0
  170. package/.storybook-static/sb-manager/formatter-B5HCVTEV-7DCBOGO6.js +58 -0
  171. package/.storybook-static/sb-manager/globals-module-info.js +1 -0
  172. package/.storybook-static/sb-manager/globals-runtime.js +1 -0
  173. package/.storybook-static/sb-manager/globals.js +1 -0
  174. package/.storybook-static/sb-manager/index.js +1 -0
  175. package/.storybook-static/sb-manager/runtime.js +1 -0
  176. package/.storybook-static/sb-manager/syntaxhighlighter-JOJW2KGS-7BF26SBB.js +1 -0
  177. package/.storybook-static/sb-preview/globals.js +1 -0
  178. package/.storybook-static/sb-preview/runtime.js +128 -0
  179. package/Dockerfile +41 -0
  180. package/README.md +108 -0
  181. package/buildspec.yml +46 -0
  182. package/dist/css/tailwind-brandCrowd.css +2419 -0
  183. package/dist/css/tailwind-brandPage.css +2107 -0
  184. package/dist/css/tailwind-crazyDomains.css +2419 -0
  185. package/dist/css/tailwind-designCom.css +2419 -0
  186. package/dist/css/tailwind-designCrowd.css +2419 -0
  187. package/index.cjs +17 -0
  188. package/index.js +53 -0
  189. package/npmrc +1 -0
  190. package/package.json +109 -0
  191. package/postcss.config.js +5 -0
  192. package/public/css/tailwind-brandCrowd.css +2344 -0
  193. package/public/css/tailwind-brandPage.css +2032 -0
  194. package/public/css/tailwind-crazyDomains.css +2344 -0
  195. package/public/css/tailwind-designCom.css +2344 -0
  196. package/public/css/tailwind-designCrowd.css +2344 -0
  197. package/src/atoms/components/Button/Button.vue +323 -0
  198. package/src/atoms/components/Button/ButtonVariant.mixin.vue +126 -0
  199. package/src/atoms/components/Button/Buttons.stories.js +778 -0
  200. package/src/atoms/components/Button/ButtonsCrazyDomains.stories.js +117 -0
  201. package/src/atoms/components/Button/variants/ButtonDarkModePill.vue +52 -0
  202. package/src/atoms/components/Button/variants/ButtonFlat.vue +65 -0
  203. package/src/atoms/components/Button/variants/ButtonGray.vue +64 -0
  204. package/src/atoms/components/Button/variants/ButtonInfo.vue +51 -0
  205. package/src/atoms/components/Button/variants/ButtonInfoFilled.vue +63 -0
  206. package/src/atoms/components/Button/variants/ButtonNoBorder.vue +65 -0
  207. package/src/atoms/components/Button/variants/ButtonOutline.vue +62 -0
  208. package/src/atoms/components/Button/variants/ButtonOutlineNoHover.vue +62 -0
  209. package/src/atoms/components/Button/variants/ButtonOutlineSuccess.vue +54 -0
  210. package/src/atoms/components/Button/variants/ButtonPill.vue +52 -0
  211. package/src/atoms/components/Button/variants/ButtonPrimary.vue +69 -0
  212. package/src/atoms/components/Button/variants/ButtonPrimaryWithIcon.vue +68 -0
  213. package/src/atoms/components/Button/variants/ButtonSecondary.vue +51 -0
  214. package/src/atoms/components/Button/variants/ButtonSuccess.vue +55 -0
  215. package/src/atoms/components/Button/variants/ButtonWarning.vue +65 -0
  216. package/src/atoms/components/Button/variants/crazy-domains/ButtonCrazyDomainsOutline.vue +58 -0
  217. package/src/atoms/components/Button/variants/crazy-domains/ButtonCrazyDomainsPrimary.vue +38 -0
  218. package/src/atoms/components/ButtonGroup/ButtonGroup.stories.js +562 -0
  219. package/src/atoms/components/ButtonGroup/ButtonGroup.vue +188 -0
  220. package/src/atoms/components/Carousel/Carousel.fixtures.js +35 -0
  221. package/src/atoms/components/Carousel/Carousel.vue +352 -0
  222. package/src/atoms/components/Carousel/carousel.stories.js +261 -0
  223. package/src/atoms/components/Checkbox/Checkbox.mixin.js +47 -0
  224. package/src/atoms/components/Checkbox/Checkbox.stories.js +176 -0
  225. package/src/atoms/components/Checkbox/Checkbox.vue +88 -0
  226. package/src/atoms/components/Checktile/Checktile.stories.js +79 -0
  227. package/src/atoms/components/Checktile/Checktile.vue +73 -0
  228. package/src/atoms/components/CollapsiblePanel/CollapsiblePanel.mixin.js +34 -0
  229. package/src/atoms/components/CollapsiblePanel/CollapsiblePanel.stories.js +40 -0
  230. package/src/atoms/components/CollapsiblePanel/CollapsiblePanel.vue +30 -0
  231. package/src/atoms/components/ColorPicker/ColorPicker.stories.js +89 -0
  232. package/src/atoms/components/ColorPicker/ColorPicker.vue +95 -0
  233. package/src/atoms/components/CopyToClipboardText/CopyToClipboardText.stories.js +41 -0
  234. package/src/atoms/components/CopyToClipboardText/CopyToClipboardText.vue +71 -0
  235. package/src/atoms/components/Dropdown/Dropdown.stories.js +135 -0
  236. package/src/atoms/components/Dropdown/Dropdown.vue +91 -0
  237. package/src/atoms/components/Dropdown/DropdownItem.vue +19 -0
  238. package/src/atoms/components/FormControl/FormControl.mixin.js +127 -0
  239. package/src/atoms/components/HelloBar/HelloBar.stories.js +195 -0
  240. package/src/atoms/components/HelloBar/HelloBar.vue +156 -0
  241. package/src/atoms/components/Icon/Icon.stories.js +382 -0
  242. package/src/atoms/components/Icon/Icon.vue +796 -0
  243. package/src/atoms/components/Icon/icons/about.vue +6 -0
  244. package/src/atoms/components/Icon/icons/add-page.vue +6 -0
  245. package/src/atoms/components/Icon/icons/ai.vue +6 -0
  246. package/src/atoms/components/Icon/icons/arrow-down.vue +6 -0
  247. package/src/atoms/components/Icon/icons/arrow-left.vue +7 -0
  248. package/src/atoms/components/Icon/icons/arrow-right.vue +7 -0
  249. package/src/atoms/components/Icon/icons/arrow-top-right.vue +6 -0
  250. package/src/atoms/components/Icon/icons/arrow-up-underline.vue +7 -0
  251. package/src/atoms/components/Icon/icons/arrow-up.vue +7 -0
  252. package/src/atoms/components/Icon/icons/attach.vue +6 -0
  253. package/src/atoms/components/Icon/icons/auth-facebook-white.vue +17 -0
  254. package/src/atoms/components/Icon/icons/auth-facebook.vue +24 -0
  255. package/src/atoms/components/Icon/icons/auth-google.vue +32 -0
  256. package/src/atoms/components/Icon/icons/background.vue +7 -0
  257. package/src/atoms/components/Icon/icons/ban.vue +5 -0
  258. package/src/atoms/components/Icon/icons/banner-centered.vue +6 -0
  259. package/src/atoms/components/Icon/icons/banner-left.vue +6 -0
  260. package/src/atoms/components/Icon/icons/banner.vue +7 -0
  261. package/src/atoms/components/Icon/icons/bc-mast.vue +7 -0
  262. package/src/atoms/components/Icon/icons/brush.vue +6 -0
  263. package/src/atoms/components/Icon/icons/business-card-filled.vue +5 -0
  264. package/src/atoms/components/Icon/icons/business.vue +6 -0
  265. package/src/atoms/components/Icon/icons/button-justified.vue +6 -0
  266. package/src/atoms/components/Icon/icons/button.vue +8 -0
  267. package/src/atoms/components/Icon/icons/buttons/button-arrow-left.vue +5 -0
  268. package/src/atoms/components/Icon/icons/buttons/button-arrow-right.vue +5 -0
  269. package/src/atoms/components/Icon/icons/buttons/button-arrow.vue +5 -0
  270. package/src/atoms/components/Icon/icons/buttons/button-brushstroke-left.vue +7 -0
  271. package/src/atoms/components/Icon/icons/buttons/button-brushstroke-right.vue +7 -0
  272. package/src/atoms/components/Icon/icons/buttons/button-brushstroke.vue +10 -0
  273. package/src/atoms/components/Icon/icons/buttons/button-dashed-oval.vue +5 -0
  274. package/src/atoms/components/Icon/icons/buttons/button-dashed-rectangle.vue +5 -0
  275. package/src/atoms/components/Icon/icons/buttons/button-dashed-rounded.vue +5 -0
  276. package/src/atoms/components/Icon/icons/buttons/button-doubleline-oval.vue +12 -0
  277. package/src/atoms/components/Icon/icons/buttons/button-doubleline-rectangle.vue +6 -0
  278. package/src/atoms/components/Icon/icons/buttons/button-doubleline-rounded.vue +12 -0
  279. package/src/atoms/components/Icon/icons/buttons/button-paper-bottom.vue +7 -0
  280. package/src/atoms/components/Icon/icons/buttons/button-paper-top.vue +7 -0
  281. package/src/atoms/components/Icon/icons/buttons/button-paper.vue +25 -0
  282. package/src/atoms/components/Icon/icons/buttons/button-softshadow-oval.vue +35 -0
  283. package/src/atoms/components/Icon/icons/buttons/button-softshadow-rectangle.vue +32 -0
  284. package/src/atoms/components/Icon/icons/buttons/button-softshadow-rounded.vue +35 -0
  285. package/src/atoms/components/Icon/icons/calendar.vue +5 -0
  286. package/src/atoms/components/Icon/icons/callout-error.vue +6 -0
  287. package/src/atoms/components/Icon/icons/callout-info.vue +6 -0
  288. package/src/atoms/components/Icon/icons/callout-success.vue +8 -0
  289. package/src/atoms/components/Icon/icons/callout-warning.vue +6 -0
  290. package/src/atoms/components/Icon/icons/card.vue +9 -0
  291. package/src/atoms/components/Icon/icons/check-thin.vue +7 -0
  292. package/src/atoms/components/Icon/icons/check.vue +3 -0
  293. package/src/atoms/components/Icon/icons/chevron-down.vue +7 -0
  294. package/src/atoms/components/Icon/icons/chevron-left.vue +7 -0
  295. package/src/atoms/components/Icon/icons/chevron-right-wide.vue +3 -0
  296. package/src/atoms/components/Icon/icons/chevron-right.vue +3 -0
  297. package/src/atoms/components/Icon/icons/chevron-up.vue +7 -0
  298. package/src/atoms/components/Icon/icons/close.vue +6 -0
  299. package/src/atoms/components/Icon/icons/column-1.vue +5 -0
  300. package/src/atoms/components/Icon/icons/column-2.vue +6 -0
  301. package/src/atoms/components/Icon/icons/column-3.vue +7 -0
  302. package/src/atoms/components/Icon/icons/column-4.vue +8 -0
  303. package/src/atoms/components/Icon/icons/community.vue +5 -0
  304. package/src/atoms/components/Icon/icons/contact-message.vue +10 -0
  305. package/src/atoms/components/Icon/icons/content.vue +7 -0
  306. package/src/atoms/components/Icon/icons/copy.vue +10 -0
  307. package/src/atoms/components/Icon/icons/crazy-domains/filter.vue +6 -0
  308. package/src/atoms/components/Icon/icons/crazy-domains/globe.vue +6 -0
  309. package/src/atoms/components/Icon/icons/crazy-domains/home.vue +6 -0
  310. package/src/atoms/components/Icon/icons/crazy-domains/social-facebook.vue +6 -0
  311. package/src/atoms/components/Icon/icons/crazy-domains/social-google.vue +6 -0
  312. package/src/atoms/components/Icon/icons/crazy-domains/social-instagram.vue +6 -0
  313. package/src/atoms/components/Icon/icons/crazy-domains/social-twitter.vue +6 -0
  314. package/src/atoms/components/Icon/icons/crazy-domains/social-youtube.vue +6 -0
  315. package/src/atoms/components/Icon/icons/crop.vue +6 -0
  316. package/src/atoms/components/Icon/icons/delete.vue +8 -0
  317. package/src/atoms/components/Icon/icons/designs.vue +6 -0
  318. package/src/atoms/components/Icon/icons/desktop.vue +7 -0
  319. package/src/atoms/components/Icon/icons/divider-thick.vue +5 -0
  320. package/src/atoms/components/Icon/icons/divider-thin.vue +5 -0
  321. package/src/atoms/components/Icon/icons/divider.vue +7 -0
  322. package/src/atoms/components/Icon/icons/donate.vue +6 -0
  323. package/src/atoms/components/Icon/icons/download.vue +5 -0
  324. package/src/atoms/components/Icon/icons/duplicate.vue +6 -0
  325. package/src/atoms/components/Icon/icons/edit-line.vue +10 -0
  326. package/src/atoms/components/Icon/icons/edit.vue +6 -0
  327. package/src/atoms/components/Icon/icons/ellipsis.vue +6 -0
  328. package/src/atoms/components/Icon/icons/envelope-email.vue +9 -0
  329. package/src/atoms/components/Icon/icons/error.vue +8 -0
  330. package/src/atoms/components/Icon/icons/eye-crossed.vue +7 -0
  331. package/src/atoms/components/Icon/icons/fees.vue +6 -0
  332. package/src/atoms/components/Icon/icons/filter.vue +7 -0
  333. package/src/atoms/components/Icon/icons/filters.vue +6 -0
  334. package/src/atoms/components/Icon/icons/flag.vue +6 -0
  335. package/src/atoms/components/Icon/icons/flip-horizontal.vue +7 -0
  336. package/src/atoms/components/Icon/icons/flip-vertical.vue +7 -0
  337. package/src/atoms/components/Icon/icons/folder.vue +6 -0
  338. package/src/atoms/components/Icon/icons/footer-centered.vue +7 -0
  339. package/src/atoms/components/Icon/icons/footer-left.vue +7 -0
  340. package/src/atoms/components/Icon/icons/form-message.vue +6 -0
  341. package/src/atoms/components/Icon/icons/form.vue +5 -0
  342. package/src/atoms/components/Icon/icons/fullscreen-exit.vue +5 -0
  343. package/src/atoms/components/Icon/icons/fullscreen.vue +5 -0
  344. package/src/atoms/components/Icon/icons/globe.vue +6 -0
  345. package/src/atoms/components/Icon/icons/godaddy/logo.vue +5 -0
  346. package/src/atoms/components/Icon/icons/hamburger-1.vue +13 -0
  347. package/src/atoms/components/Icon/icons/hamburger-2.vue +9 -0
  348. package/src/atoms/components/Icon/icons/hamburger-3.vue +9 -0
  349. package/src/atoms/components/Icon/icons/hamburger-4.vue +21 -0
  350. package/src/atoms/components/Icon/icons/hamburger.vue +7 -0
  351. package/src/atoms/components/Icon/icons/home.vue +7 -0
  352. package/src/atoms/components/Icon/icons/icon-style-circle-bg.vue +22 -0
  353. package/src/atoms/components/Icon/icons/icon-style-no-bg.vue +16 -0
  354. package/src/atoms/components/Icon/icons/icon-style-square-bg.vue +22 -0
  355. package/src/atoms/components/Icon/icons/image-gallery-carousel.vue +7 -0
  356. package/src/atoms/components/Icon/icons/image-gallery-grid.vue +7 -0
  357. package/src/atoms/components/Icon/icons/image-gallery-masonry.vue +6 -0
  358. package/src/atoms/components/Icon/icons/images-gallery.vue +5 -0
  359. package/src/atoms/components/Icon/icons/images.vue +7 -0
  360. package/src/atoms/components/Icon/icons/info.vue +9 -0
  361. package/src/atoms/components/Icon/icons/jobs.vue +8 -0
  362. package/src/atoms/components/Icon/icons/layer-bring-front.vue +6 -0
  363. package/src/atoms/components/Icon/icons/layer-send-back.vue +6 -0
  364. package/src/atoms/components/Icon/icons/layer.vue +6 -0
  365. package/src/atoms/components/Icon/icons/layout/display-style-about-1.vue +20 -0
  366. package/src/atoms/components/Icon/icons/layout/display-style-about-2.vue +20 -0
  367. package/src/atoms/components/Icon/icons/layout/display-style-about-3.vue +20 -0
  368. package/src/atoms/components/Icon/icons/layout/display-style-about-4.vue +32 -0
  369. package/src/atoms/components/Icon/icons/layout/display-style-about-5.vue +27 -0
  370. package/src/atoms/components/Icon/icons/layout/display-style-about-6.vue +27 -0
  371. package/src/atoms/components/Icon/icons/layout/display-style-banner-1.vue +20 -0
  372. package/src/atoms/components/Icon/icons/layout/display-style-banner-2.vue +20 -0
  373. package/src/atoms/components/Icon/icons/layout/display-style-banner-3.vue +20 -0
  374. package/src/atoms/components/Icon/icons/layout/display-style-banner-4.vue +20 -0
  375. package/src/atoms/components/Icon/icons/layout/display-style-banner-5.vue +20 -0
  376. package/src/atoms/components/Icon/icons/layout/display-style-banner-6.vue +27 -0
  377. package/src/atoms/components/Icon/icons/layout/display-style-banner-7.vue +27 -0
  378. package/src/atoms/components/Icon/icons/layout/display-style-banner-8.vue +20 -0
  379. package/src/atoms/components/Icon/icons/layout/display-style-banner-9.vue +20 -0
  380. package/src/atoms/components/Icon/icons/layout/display-style-contact-1.vue +24 -0
  381. package/src/atoms/components/Icon/icons/layout/display-style-contact-2.vue +24 -0
  382. package/src/atoms/components/Icon/icons/layout/display-style-contact-4.vue +24 -0
  383. package/src/atoms/components/Icon/icons/layout/display-style-contact-5.vue +39 -0
  384. package/src/atoms/components/Icon/icons/layout/display-style-contact-6.vue +39 -0
  385. package/src/atoms/components/Icon/icons/layout/display-style-images-1.vue +32 -0
  386. package/src/atoms/components/Icon/icons/layout/display-style-images-2.vue +32 -0
  387. package/src/atoms/components/Icon/icons/layout/display-style-images-3.vue +32 -0
  388. package/src/atoms/components/Icon/icons/layout/display-style-images-4.vue +16 -0
  389. package/src/atoms/components/Icon/icons/layout/display-style-images-5.vue +40 -0
  390. package/src/atoms/components/Icon/icons/layout/display-style-images-6.vue +32 -0
  391. package/src/atoms/components/Icon/icons/layout/footer/display-style-1.vue +7 -0
  392. package/src/atoms/components/Icon/icons/layout/footer/display-style-2.vue +16 -0
  393. package/src/atoms/components/Icon/icons/layout/header/desktop-hamburger-display-style-1.vue +17 -0
  394. package/src/atoms/components/Icon/icons/layout/header/desktop-hamburger-display-style-2.vue +17 -0
  395. package/src/atoms/components/Icon/icons/layout/header/desktop-tab-display-style-1.vue +17 -0
  396. package/src/atoms/components/Icon/icons/layout/header/desktop-tab-display-style-2.vue +17 -0
  397. package/src/atoms/components/Icon/icons/layout/header/desktop-tab-display-style-3.vue +13 -0
  398. package/src/atoms/components/Icon/icons/layout/header/desktop-tab-display-style-4.vue +13 -0
  399. package/src/atoms/components/Icon/icons/layout/header/desktop-tab-display-style-5.vue +17 -0
  400. package/src/atoms/components/Icon/icons/layout/header/desktop-tab-display-style-6.vue +17 -0
  401. package/src/atoms/components/Icon/icons/layout/header/hamburger-display-style-no-logo-1.vue +16 -0
  402. package/src/atoms/components/Icon/icons/layout/header/hamburger-display-style-no-logo-2.vue +16 -0
  403. package/src/atoms/components/Icon/icons/layout/header/hamburger-display-style-no-logo-3.vue +16 -0
  404. package/src/atoms/components/Icon/icons/layout/header/mobile-hamburger-display-style-1.vue +17 -0
  405. package/src/atoms/components/Icon/icons/layout/header/mobile-hamburger-display-style-2.vue +17 -0
  406. package/src/atoms/components/Icon/icons/layout/header/mobile-hamburger-display-style-3.vue +17 -0
  407. package/src/atoms/components/Icon/icons/layout/header/mobile-hamburger-display-style-4.vue +21 -0
  408. package/src/atoms/components/Icon/icons/layout/header/mobile-tab-display-style-1.vue +17 -0
  409. package/src/atoms/components/Icon/icons/layout/header/mobile-tab-display-style-2.vue +17 -0
  410. package/src/atoms/components/Icon/icons/layout/header/tab-display-style-no-logo-1.vue +16 -0
  411. package/src/atoms/components/Icon/icons/layout/header/tab-display-style-no-logo-2.vue +16 -0
  412. package/src/atoms/components/Icon/icons/layout/header/tab-display-style-no-logo-3.vue +16 -0
  413. package/src/atoms/components/Icon/icons/layout/layout-icon-bottom-normal-text-center-normal.vue +7 -0
  414. package/src/atoms/components/Icon/icons/layout/layout-icon-bottom-normal-text-center-small.vue +7 -0
  415. package/src/atoms/components/Icon/icons/layout/layout-icon-bottom-small-text-center-normal.vue +7 -0
  416. package/src/atoms/components/Icon/icons/layout/layout-icon-center-normal-curved-text-bottom.vue +11 -0
  417. package/src/atoms/components/Icon/icons/layout/layout-icon-center-normal-curved-text-circle.vue +10 -0
  418. package/src/atoms/components/Icon/icons/layout/layout-icon-center-normal-curved-text-top.vue +11 -0
  419. package/src/atoms/components/Icon/icons/layout/layout-icon-left-normal-text-center-normal.vue +7 -0
  420. package/src/atoms/components/Icon/icons/layout/layout-icon-left-normal-text-justify-normal.vue +7 -0
  421. package/src/atoms/components/Icon/icons/layout/layout-icon-left-normal-text-left-normal.vue +7 -0
  422. package/src/atoms/components/Icon/icons/layout/layout-icon-left-small-text-left-normal.vue +7 -0
  423. package/src/atoms/components/Icon/icons/layout/layout-icon-right-normal-text-center-normal.vue +7 -0
  424. package/src/atoms/components/Icon/icons/layout/layout-icon-right-normal-text-justify-normal.vue +7 -0
  425. package/src/atoms/components/Icon/icons/layout/layout-icon-right-normal-text-right-normal.vue +7 -0
  426. package/src/atoms/components/Icon/icons/layout/layout-icon-right-small-text-right-normal.vue +7 -0
  427. package/src/atoms/components/Icon/icons/layout/layout-icon-top-normal-text-center-normal.vue +7 -0
  428. package/src/atoms/components/Icon/icons/layout/layout-icon-top-normal-text-center-small.vue +7 -0
  429. package/src/atoms/components/Icon/icons/layout/layout-icon-top-normal-text-justify-normal.vue +7 -0
  430. package/src/atoms/components/Icon/icons/layout/layout-icon-top-small-text-center-normal.vue +7 -0
  431. package/src/atoms/components/Icon/icons/layout/nav/hamburger/display-style-1.vue +16 -0
  432. package/src/atoms/components/Icon/icons/layout/nav/hamburger/display-style-2.vue +10 -0
  433. package/src/atoms/components/Icon/icons/layout/nav/hamburger/display-style-3.vue +10 -0
  434. package/src/atoms/components/Icon/icons/layout/nav/hamburger/display-style-4.vue +23 -0
  435. package/src/atoms/components/Icon/icons/layout/nav/tab/display-style-1.vue +16 -0
  436. package/src/atoms/components/Icon/icons/layout/nav/tab/display-style-2.vue +7 -0
  437. package/src/atoms/components/Icon/icons/letterhead-filled.vue +5 -0
  438. package/src/atoms/components/Icon/icons/link.vue +6 -0
  439. package/src/atoms/components/Icon/icons/location.vue +6 -0
  440. package/src/atoms/components/Icon/icons/lock.vue +6 -0
  441. package/src/atoms/components/Icon/icons/mac-command.vue +7 -0
  442. package/src/atoms/components/Icon/icons/maker/align-center.vue +7 -0
  443. package/src/atoms/components/Icon/icons/maker/align-justify.vue +7 -0
  444. package/src/atoms/components/Icon/icons/maker/align-left.vue +7 -0
  445. package/src/atoms/components/Icon/icons/maker/align-right.vue +7 -0
  446. package/src/atoms/components/Icon/icons/maker/animate.vue +7 -0
  447. package/src/atoms/components/Icon/icons/maker/bold.vue +7 -0
  448. package/src/atoms/components/Icon/icons/maker/custom-landscape.vue +5 -0
  449. package/src/atoms/components/Icon/icons/maker/email-symbol.vue +5 -0
  450. package/src/atoms/components/Icon/icons/maker/email.vue +5 -0
  451. package/src/atoms/components/Icon/icons/maker/eraser.vue +5 -0
  452. package/src/atoms/components/Icon/icons/maker/etsy.vue +5 -0
  453. package/src/atoms/components/Icon/icons/maker/facebook.vue +5 -0
  454. package/src/atoms/components/Icon/icons/maker/favicon.vue +7 -0
  455. package/src/atoms/components/Icon/icons/maker/flyer.vue +7 -0
  456. package/src/atoms/components/Icon/icons/maker/gift-certificate.vue +5 -0
  457. package/src/atoms/components/Icon/icons/maker/globe.vue +5 -0
  458. package/src/atoms/components/Icon/icons/maker/image.vue +7 -0
  459. package/src/atoms/components/Icon/icons/maker/instagram.vue +7 -0
  460. package/src/atoms/components/Icon/icons/maker/invitation.vue +5 -0
  461. package/src/atoms/components/Icon/icons/maker/invoice.vue +5 -0
  462. package/src/atoms/components/Icon/icons/maker/italic.vue +7 -0
  463. package/src/atoms/components/Icon/icons/maker/link.vue +7 -0
  464. package/src/atoms/components/Icon/icons/maker/linkedin.vue +7 -0
  465. package/src/atoms/components/Icon/icons/maker/menu.vue +5 -0
  466. package/src/atoms/components/Icon/icons/maker/pause.vue +5 -0
  467. package/src/atoms/components/Icon/icons/maker/phone.vue +5 -0
  468. package/src/atoms/components/Icon/icons/maker/pinterest.vue +5 -0
  469. package/src/atoms/components/Icon/icons/maker/play.vue +5 -0
  470. package/src/atoms/components/Icon/icons/maker/postcard.vue +5 -0
  471. package/src/atoms/components/Icon/icons/maker/poster.vue +7 -0
  472. package/src/atoms/components/Icon/icons/maker/profile.vue +5 -0
  473. package/src/atoms/components/Icon/icons/maker/qrcode.vue +5 -0
  474. package/src/atoms/components/Icon/icons/maker/snapchat.vue +5 -0
  475. package/src/atoms/components/Icon/icons/maker/soundcloud.vue +7 -0
  476. package/src/atoms/components/Icon/icons/maker/strikethrough.vue +7 -0
  477. package/src/atoms/components/Icon/icons/maker/text.vue +7 -0
  478. package/src/atoms/components/Icon/icons/maker/thankyou-card.vue +5 -0
  479. package/src/atoms/components/Icon/icons/maker/tiktok.vue +5 -0
  480. package/src/atoms/components/Icon/icons/maker/tumblr.vue +5 -0
  481. package/src/atoms/components/Icon/icons/maker/twitch.vue +7 -0
  482. package/src/atoms/components/Icon/icons/maker/twitter.vue +5 -0
  483. package/src/atoms/components/Icon/icons/maker/underline.vue +7 -0
  484. package/src/atoms/components/Icon/icons/maker/uppercase.vue +14 -0
  485. package/src/atoms/components/Icon/icons/maker/video.vue +5 -0
  486. package/src/atoms/components/Icon/icons/maker/whatsapp.vue +7 -0
  487. package/src/atoms/components/Icon/icons/maker/youtube.vue +5 -0
  488. package/src/atoms/components/Icon/icons/maker/zoom.vue +5 -0
  489. package/src/atoms/components/Icon/icons/map.vue +6 -0
  490. package/src/atoms/components/Icon/icons/message.vue +6 -0
  491. package/src/atoms/components/Icon/icons/minus-circle-light.vue +7 -0
  492. package/src/atoms/components/Icon/icons/minus.vue +3 -0
  493. package/src/atoms/components/Icon/icons/mobile.vue +5 -0
  494. package/src/atoms/components/Icon/icons/opacity.vue +6 -0
  495. package/src/atoms/components/Icon/icons/other.vue +7 -0
  496. package/src/atoms/components/Icon/icons/page-buttons.vue +8 -0
  497. package/src/atoms/components/Icon/icons/page-hamburger.vue +9 -0
  498. package/src/atoms/components/Icon/icons/page-tabs.vue +9 -0
  499. package/src/atoms/components/Icon/icons/pages.vue +6 -0
  500. package/src/atoms/components/Icon/icons/palette.vue +6 -0
  501. package/src/atoms/components/Icon/icons/pause.vue +5 -0
  502. package/src/atoms/components/Icon/icons/payment.vue +8 -0
  503. package/src/atoms/components/Icon/icons/payments-featured.vue +6 -0
  504. package/src/atoms/components/Icon/icons/payments-textonly.vue +8 -0
  505. package/src/atoms/components/Icon/icons/payments-thumbnail.vue +9 -0
  506. package/src/atoms/components/Icon/icons/phone.vue +6 -0
  507. package/src/atoms/components/Icon/icons/plus-circle-light.vue +8 -0
  508. package/src/atoms/components/Icon/icons/plus-circle.vue +7 -0
  509. package/src/atoms/components/Icon/icons/plus.vue +3 -0
  510. package/src/atoms/components/Icon/icons/poll.vue +3 -0
  511. package/src/atoms/components/Icon/icons/portfolio.vue +10 -0
  512. package/src/atoms/components/Icon/icons/preview.vue +6 -0
  513. package/src/atoms/components/Icon/icons/printing.vue +6 -0
  514. package/src/atoms/components/Icon/icons/processing.vue +5 -0
  515. package/src/atoms/components/Icon/icons/question.vue +11 -0
  516. package/src/atoms/components/Icon/icons/quote.vue +7 -0
  517. package/src/atoms/components/Icon/icons/ratio-1-1.vue +3 -0
  518. package/src/atoms/components/Icon/icons/ratio-16-9.vue +1 -0
  519. package/src/atoms/components/Icon/icons/ratio-2-3.vue +3 -0
  520. package/src/atoms/components/Icon/icons/ratio-3-2.vue +3 -0
  521. package/src/atoms/components/Icon/icons/ratio-3-4.vue +3 -0
  522. package/src/atoms/components/Icon/icons/ratio-4-3.vue +3 -0
  523. package/src/atoms/components/Icon/icons/ratio-9-16.vue +3 -0
  524. package/src/atoms/components/Icon/icons/ratio-circle.vue +8 -0
  525. package/src/atoms/components/Icon/icons/ratio-original.vue +11 -0
  526. package/src/atoms/components/Icon/icons/redo.vue +6 -0
  527. package/src/atoms/components/Icon/icons/reload.vue +6 -0
  528. package/src/atoms/components/Icon/icons/reorderable.vue +5 -0
  529. package/src/atoms/components/Icon/icons/request-payment.vue +6 -0
  530. package/src/atoms/components/Icon/icons/reset.vue +6 -0
  531. package/src/atoms/components/Icon/icons/search.vue +11 -0
  532. package/src/atoms/components/Icon/icons/secure.vue +7 -0
  533. package/src/atoms/components/Icon/icons/services.vue +7 -0
  534. package/src/atoms/components/Icon/icons/settings.vue +7 -0
  535. package/src/atoms/components/Icon/icons/shape.vue +5 -0
  536. package/src/atoms/components/Icon/icons/share.vue +8 -0
  537. package/src/atoms/components/Icon/icons/shop.vue +6 -0
  538. package/src/atoms/components/Icon/icons/sms.vue +5 -0
  539. package/src/atoms/components/Icon/icons/social-facebook-color.vue +9 -0
  540. package/src/atoms/components/Icon/icons/social-facebook.vue +5 -0
  541. package/src/atoms/components/Icon/icons/social-google.vue +5 -0
  542. package/src/atoms/components/Icon/icons/social-instagram-color.vue +24 -0
  543. package/src/atoms/components/Icon/icons/social-linkedin-color.vue +9 -0
  544. package/src/atoms/components/Icon/icons/social-share.vue +7 -0
  545. package/src/atoms/components/Icon/icons/social-twitter-color.vue +9 -0
  546. package/src/atoms/components/Icon/icons/star-filled.vue +6 -0
  547. package/src/atoms/components/Icon/icons/star-hollow.vue +6 -0
  548. package/src/atoms/components/Icon/icons/styles.vue +5 -0
  549. package/src/atoms/components/Icon/icons/submit.vue +5 -0
  550. package/src/atoms/components/Icon/icons/templates.vue +7 -0
  551. package/src/atoms/components/Icon/icons/testimonial-big-image.vue +12 -0
  552. package/src/atoms/components/Icon/icons/testimonial-centered.vue +8 -0
  553. package/src/atoms/components/Icon/icons/testimonial-columns.vue +9 -0
  554. package/src/atoms/components/Icon/icons/text-image-center.vue +6 -0
  555. package/src/atoms/components/Icon/icons/text-image-justified.vue +7 -0
  556. package/src/atoms/components/Icon/icons/text-image-left.vue +9 -0
  557. package/src/atoms/components/Icon/icons/text-image-only.vue +5 -0
  558. package/src/atoms/components/Icon/icons/text-image-right.vue +9 -0
  559. package/src/atoms/components/Icon/icons/text-image.vue +13 -0
  560. package/src/atoms/components/Icon/icons/time.vue +8 -0
  561. package/src/atoms/components/Icon/icons/tooltip-bottom.vue +5 -0
  562. package/src/atoms/components/Icon/icons/tooltip-left.vue +5 -0
  563. package/src/atoms/components/Icon/icons/tooltip-right.vue +5 -0
  564. package/src/atoms/components/Icon/icons/tooltip-top.vue +5 -0
  565. package/src/atoms/components/Icon/icons/undo.vue +6 -0
  566. package/src/atoms/components/Icon/icons/upgrade-alt.vue +7 -0
  567. package/src/atoms/components/Icon/icons/upgrade.vue +9 -0
  568. package/src/atoms/components/Icon/icons/upload-arrow.vue +6 -0
  569. package/src/atoms/components/Icon/icons/upload.vue +5 -0
  570. package/src/atoms/components/Icon/icons/user-accounts.vue +5 -0
  571. package/src/atoms/components/Icon/icons/volume-muted.vue +5 -0
  572. package/src/atoms/components/Icon/icons/volume.vue +5 -0
  573. package/src/atoms/components/Icon/icons/watchlist-filled.vue +14 -0
  574. package/src/atoms/components/Icon/icons/watchlist-hollow-alt.vue +14 -0
  575. package/src/atoms/components/Icon/icons/watchlist-hollow.vue +6 -0
  576. package/src/atoms/components/Icon/icons/website-filled.vue +5 -0
  577. package/src/atoms/components/Icon/icons/website.vue +6 -0
  578. package/src/atoms/components/Icon/icons/wholesale.vue +6 -0
  579. package/src/atoms/components/Icon/icons/zoom.vue +11 -0
  580. package/src/atoms/components/Loader/Loader.vue +15 -0
  581. package/src/atoms/components/Masonry/Masonry.stories.js +48 -0
  582. package/src/atoms/components/Masonry/Masonry.vue +48 -0
  583. package/src/atoms/components/Masonry/fixtures.js +589 -0
  584. package/src/atoms/components/Modal/HashRouteModal.stories.js +68 -0
  585. package/src/atoms/components/Modal/HashRouteModal.vue +120 -0
  586. package/src/atoms/components/Modal/Modal.stories.js +303 -0
  587. package/src/atoms/components/Modal/Modal.vue +234 -0
  588. package/src/atoms/components/Notice/Notice.stories.js +174 -0
  589. package/src/atoms/components/Notice/Notice.vue +71 -0
  590. package/src/atoms/components/NumberStepper/NumberStepper.stories.js +47 -0
  591. package/src/atoms/components/NumberStepper/NumberStepper.vue +282 -0
  592. package/src/atoms/components/Picture/Picture.stories.js +90 -0
  593. package/src/atoms/components/Picture/Picture.vue +84 -0
  594. package/src/atoms/components/Picture/picture.fixtures.js +35 -0
  595. package/src/atoms/components/Pill/Pill.stories.js +20 -0
  596. package/src/atoms/components/Pill/Pill.vue +8 -0
  597. package/src/atoms/components/PillBar/PillBar.fixtures.js +941 -0
  598. package/src/atoms/components/PillBar/PillBar.stories.js +39 -0
  599. package/src/atoms/components/PillBar/PillBar.vue +62 -0
  600. package/src/atoms/components/Price/Price.fixtures.js +25 -0
  601. package/src/atoms/components/Price/Price.stories.js +173 -0
  602. package/src/atoms/components/Price/Price.vue +97 -0
  603. package/src/atoms/components/SearchBar/SearchBar.stories.js +21 -0
  604. package/src/atoms/components/SearchBar/SearchBar.vue +51 -0
  605. package/src/atoms/components/Select/Select.stories.js +142 -0
  606. package/src/atoms/components/Select/Select.vue +583 -0
  607. package/src/atoms/components/Select/pointerMixin.js +99 -0
  608. package/src/atoms/components/Select/selectMixin.js +325 -0
  609. package/src/atoms/components/Slider/Slider.stories.js +127 -0
  610. package/src/atoms/components/Slider/Slider.vue +322 -0
  611. package/src/atoms/components/StarRating/StarRating.stories.js +50 -0
  612. package/src/atoms/components/StarRating/StarRating.vue +84 -0
  613. package/src/atoms/components/TabMenu/TabMenu.stories.js +54 -0
  614. package/src/atoms/components/TabMenu/TabMenu.vue +44 -0
  615. package/src/atoms/components/TextCopyField/TextCopyField.stories.js +68 -0
  616. package/src/atoms/components/TextCopyField/TextCopyField.vue +75 -0
  617. package/src/atoms/components/TextInput/TextInput.stories.js +232 -0
  618. package/src/atoms/components/TextInput/TextInput.vue +156 -0
  619. package/src/atoms/components/Textarea/Textarea.stories.js +209 -0
  620. package/src/atoms/components/Textarea/Textarea.vue +109 -0
  621. package/src/atoms/components/Toggle/Toggle.stories.js +176 -0
  622. package/src/atoms/components/Toggle/Toggle.vue +69 -0
  623. package/src/atoms/components/Tooltip/Tooltip.stories.js +493 -0
  624. package/src/atoms/components/Tooltip/Tooltip.vue +196 -0
  625. package/src/atoms/components/design-com/Icon/Icon.stories.js +82 -0
  626. package/src/atoms/components/design-com/Icon/Icon.vue +150 -0
  627. package/src/atoms/components/design-com/Icon/icons/annotate-heart.vue +7 -0
  628. package/src/atoms/components/design-com/Icon/icons/award.vue +7 -0
  629. package/src/atoms/components/design-com/Icon/icons/bezier-curve.vue +7 -0
  630. package/src/atoms/components/design-com/Icon/icons/bulb.vue +7 -0
  631. package/src/atoms/components/design-com/Icon/icons/card.vue +7 -0
  632. package/src/atoms/components/design-com/Icon/icons/check-circle-light.vue +7 -0
  633. package/src/atoms/components/design-com/Icon/icons/chevron-down.vue +7 -0
  634. package/src/atoms/components/design-com/Icon/icons/chevron-left.vue +7 -0
  635. package/src/atoms/components/design-com/Icon/icons/chevron-right.vue +3 -0
  636. package/src/atoms/components/design-com/Icon/icons/chevron-up.vue +7 -0
  637. package/src/atoms/components/design-com/Icon/icons/diamond.vue +7 -0
  638. package/src/atoms/components/design-com/Icon/icons/download.vue +7 -0
  639. package/src/atoms/components/design-com/Icon/icons/file-empty.vue +7 -0
  640. package/src/atoms/components/design-com/Icon/icons/file.vue +7 -0
  641. package/src/atoms/components/design-com/Icon/icons/filter.vue +7 -0
  642. package/src/atoms/components/design-com/Icon/icons/font.vue +7 -0
  643. package/src/atoms/components/design-com/Icon/icons/headphones.vue +7 -0
  644. package/src/atoms/components/design-com/Icon/icons/heart.vue +7 -0
  645. package/src/atoms/components/design-com/Icon/icons/image.vue +7 -0
  646. package/src/atoms/components/design-com/Icon/icons/logo.vue +7 -0
  647. package/src/atoms/components/design-com/Icon/icons/minus-circle-light.vue +7 -0
  648. package/src/atoms/components/design-com/Icon/icons/palette.vue +7 -0
  649. package/src/atoms/components/design-com/Icon/icons/pen.vue +7 -0
  650. package/src/atoms/components/design-com/Icon/icons/plus-circle-light.vue +8 -0
  651. package/src/atoms/components/design-com/Icon/icons/question-circle-filled.vue +7 -0
  652. package/src/atoms/components/design-com/Icon/icons/search.vue +7 -0
  653. package/src/atoms/components/design-com/Icon/icons/star-filled.vue +6 -0
  654. package/src/atoms/components/design-com/Icon/icons/star-hollow.vue +6 -0
  655. package/src/atoms/components/design-com/Icon/icons/text.vue +7 -0
  656. package/src/atoms/components/design-com/Icon/icons/users.vue +7 -0
  657. package/src/atoms/constants/constants.ts +6 -0
  658. package/src/atoms/mixin/hash-router-mixin.js +68 -0
  659. package/src/atoms/thirdparty-components/VueMasonryWall/VueMasonryWall.vue +280 -0
  660. package/src/atoms/thirdparty-components/VueMasonryWall/maxBy.js +50 -0
  661. package/src/css/tailwind.css +3 -0
  662. package/src/experiences/clients/brand-crowd-api.client.js +104 -0
  663. package/src/experiences/clients/brand-page-api.client.js +30 -0
  664. package/src/experiences/components/AuthFlow/Auth.fixtures.js +4 -0
  665. package/src/experiences/components/AuthFlow/Auth.stories.js +345 -0
  666. package/src/experiences/components/AuthFlow/AuthCrazyDomains.stories.js +60 -0
  667. package/src/experiences/components/AuthFlow/AuthLegal.vue +68 -0
  668. package/src/experiences/components/AuthFlow/AuthModal.vue +39 -0
  669. package/src/experiences/components/AuthFlow/ForgotPassword.vue +198 -0
  670. package/src/experiences/components/AuthFlow/ForgotPasswordModal.vue +62 -0
  671. package/src/experiences/components/AuthFlow/ResetPassword.vue +150 -0
  672. package/src/experiences/components/AuthFlow/ResetPasswordModal.vue +64 -0
  673. package/src/experiences/components/AuthFlow/ResetPasswordSuccessModal.vue +56 -0
  674. package/src/experiences/components/AuthFlow/SignIn.vue +419 -0
  675. package/src/experiences/components/AuthFlow/SignUp.vue +245 -0
  676. package/src/experiences/components/AuthFlow/SignUpModal.vue +90 -0
  677. package/src/experiences/components/AuthFlow/SocialSignIn.vue +165 -0
  678. package/src/experiences/components/AuthFlow/SocialSignInButton.vue +74 -0
  679. package/src/experiences/components/AuthFlow/SubmissionButton.vue +56 -0
  680. package/src/experiences/components/PaymentConfigList/PaymentConfig.mixin.js +91 -0
  681. package/src/experiences/components/PaymentConfigList/PaymentConfigDropdown.vue +121 -0
  682. package/src/experiences/components/PaymentConfigList/PaymentConfigList.stories.js +189 -0
  683. package/src/experiences/components/PaymentConfigList/PaymentConfigList.vue +45 -0
  684. package/src/experiences/components/PublishBrandPageModal/PublishBrandPageModal.stories.js +240 -0
  685. package/src/experiences/components/PublishBrandPageModal/PublishBrandPageModal.vue +509 -0
  686. package/src/experiences/components/PublishBrandPageModal/__fixtures__/data.js +26 -0
  687. package/src/experiences/components/SellDomainNameList/SellDomainNameList.fixtures.js +32 -0
  688. package/src/experiences/components/SellDomainNameList/SellDomainNameList.vue +145 -0
  689. package/src/experiences/components/SellDomainNameListModal/SellDomainNameListModal.stories.js +74 -0
  690. package/src/experiences/components/SellDomainNameListModal/SellDomainNameListModal.vue +124 -0
  691. package/src/experiences/components/SellDomainNameModalApplication/SellDomainNameModalApplication.vue +163 -0
  692. package/src/experiences/components/SellDomainNameSearch/SellDomainNameSearch.vue +147 -0
  693. package/src/experiences/components/SellDomainNameSearchResult/SellDomainNameListSearchResult.vue +153 -0
  694. package/src/experiences/components/SellDomainNameSearchWithResults/SellDomainNameSearchWithResults.stories.js +38 -0
  695. package/src/experiences/components/SellDomainNameSearchWithResults/SellDomainNameSearchWithResults.vue +184 -0
  696. package/src/experiences/components/SellDomainNameWidget/SellDomainNameWidget.stories.js +40 -0
  697. package/src/experiences/components/SellDomainNameWidget/SellDomainNameWidget.vue +152 -0
  698. package/src/experiences/components/UploadYourLogoApplication/UploadYourLogoApplication.stories.js +205 -0
  699. package/src/experiences/components/UploadYourLogoApplication/UploadYourLogoApplication.vue +127 -0
  700. package/src/experiences/components/UploadYourLogoDropzone/UploadYourLogoDropzone.stories.js +40 -0
  701. package/src/experiences/components/UploadYourLogoDropzone/UploadYourLogoDropzone.vue +266 -0
  702. package/src/experiences/components/UploadYourLogoOnBoarding/LogoBusinessBrandColours.stories.js +37 -0
  703. package/src/experiences/components/UploadYourLogoOnBoarding/LogoBusinessBrandColours.vue +328 -0
  704. package/src/experiences/components/UploadYourLogoOnBoarding/LogoBusinessText.vue +140 -0
  705. package/src/experiences/components/UploadYourLogoOnBoarding/LogoCropper.vue +467 -0
  706. package/src/experiences/components/UploadYourLogoOnBoarding/LogoPreview.vue +97 -0
  707. package/src/experiences/components/UploadYourLogoOnBoarding/LogoUploadError.vue +69 -0
  708. package/src/experiences/components/UploadYourLogoOnBoarding/LogoUploadExitConfirmation.vue +49 -0
  709. package/src/experiences/components/UploadYourLogoOnBoarding/LogoUploadModal.vue +38 -0
  710. package/src/experiences/components/UploadYourLogoOnBoarding/LogoUploader.vue +91 -0
  711. package/src/experiences/components/UploadYourLogoOnBoarding/LogoUploadingLoader.vue +22 -0
  712. package/src/experiences/components/UploadYourLogoOnBoarding/UploadYourLogoOnBoarding.vue +290 -0
  713. package/src/experiences/components/UploadedLogoSearchResultCard/UploadedLogoSearchResultCard.stories.js +82 -0
  714. package/src/experiences/components/UploadedLogoSearchResultCard/UploadedLogoSearchResultCard.vue +201 -0
  715. package/src/experiences/constants/api.js +8 -0
  716. package/src/experiences/constants/error-constants.js +5 -0
  717. package/src/experiences/constants/event-constants.js +18 -0
  718. package/src/experiences/constants/partner-dictionary-constants.js +27 -0
  719. package/src/experiences/constants/rego-source-constants.js +3 -0
  720. package/src/experiences/constants/sell-domain-name-constants.js +4 -0
  721. package/src/experiences/helpers/email-validator.js +5 -0
  722. package/src/experiences/helpers/hex-diff.js +116 -0
  723. package/src/experiences/helpers/tracking.js +5 -0
  724. package/src/experiences/mixins/mediaQueryMixin.js +31 -0
  725. package/src/experiences/mixins/themeMixin.js +22 -0
  726. package/src/themes/base.js +20 -0
  727. package/src/themes/bc.js +95 -0
  728. package/src/themes/bp.js +21 -0
  729. package/src/themes/cd.js +95 -0
  730. package/src/themes/dc.js +85 -0
  731. package/src/themes/dcom.js +106 -0
  732. package/src/themes/themes.js +17 -0
  733. package/src/viewports.js +51 -0
  734. package/storybook-static/favicon.ico +0 -0
  735. package/stylelint.config.js +19 -0
  736. package/tailwind.build.js +83 -0
  737. package/tailwind.config.js +37 -0
  738. package/tailwind.themes.js +59 -0
  739. package/vite.config.ts +37 -0
@@ -0,0 +1,232 @@
1
+ import TextInput from './TextInput.vue';
2
+
3
+ export default {
4
+ title: 'Components/Text Input',
5
+ component: TextInput,
6
+ };
7
+
8
+ const data = {
9
+ components: {
10
+ TextInput,
11
+ },
12
+ data() {
13
+ return {
14
+ value: 'Hello world',
15
+ attrs: {
16
+ 'data-test-tag': 'test',
17
+ },
18
+ };
19
+ },
20
+ };
21
+
22
+ export const Sample = () => {
23
+ return {
24
+ ...data,
25
+ template: `
26
+ <TextInput v-model="value" :attrs="attrs" />
27
+ `,
28
+ };
29
+ };
30
+
31
+ export const Small = () => {
32
+ return {
33
+ ...data,
34
+ template: `
35
+ <TextInput v-model="value" size="sm" :attrs="attrs" />
36
+ `,
37
+ };
38
+ };
39
+
40
+ export const SmallWithIcon = () => {
41
+ return {
42
+ ...data,
43
+ template: `
44
+ <TextInput v-model="value" size="sm" icon="message" :attrs="attrs" />
45
+ `,
46
+ };
47
+ };
48
+
49
+ export const Icon = () => {
50
+ return {
51
+ ...data,
52
+ template: `
53
+ <TextInput v-model="value" icon="message" :attrs="attrs" />
54
+ `,
55
+ };
56
+ };
57
+
58
+ export const Label = () => {
59
+ return {
60
+ ...data,
61
+ template: `
62
+ <TextInput v-model="value" label="Your Name" :attrs="attrs" />
63
+ `,
64
+ };
65
+ };
66
+
67
+ export const LabelRequired = () => {
68
+ return {
69
+ ...data,
70
+ template: `
71
+ <TextInput v-model="value" label="Your Name" :required="true" :attrs="attrs" />
72
+ `,
73
+ };
74
+ };
75
+
76
+ export const LabelIcon = () => {
77
+ return {
78
+ ...data,
79
+ template: `
80
+ <TextInput v-model="value" label="Your Name" icon="message" :attrs="attrs" />
81
+ `,
82
+ };
83
+ };
84
+
85
+ export const Warning = () => {
86
+ return {
87
+ ...data,
88
+ template: `
89
+ <TextInput v-model="value" :warning="true" :attrs="attrs" />
90
+ `,
91
+ };
92
+ };
93
+
94
+ export const Error = () => {
95
+ return {
96
+ ...data,
97
+ template: `
98
+ <TextInput v-model="value" :error="true" :attrs="attrs" />
99
+ `,
100
+ };
101
+ };
102
+
103
+ export const Success = () => {
104
+ return {
105
+ ...data,
106
+ template: `
107
+ <TextInput v-model="value" :success="true" :attrs="attrs" />
108
+ `,
109
+ };
110
+ };
111
+
112
+ export const Disabled = () => {
113
+ return {
114
+ ...data,
115
+ template: `
116
+ <TextInput v-model="value" :disabled="true" :attrs="attrs" />
117
+ `,
118
+ };
119
+ };
120
+
121
+ export const Readonly = () => {
122
+ return {
123
+ ...data,
124
+ template: `
125
+ <TextInput v-model="value" :readonly="true" :attrs="attrs" />
126
+ `,
127
+ };
128
+ };
129
+
130
+ export const Placeholder = () => {
131
+ return {
132
+ ...data,
133
+ template: `
134
+ <TextInput placeholder="Start typing..." :attrs="attrs" />
135
+ `,
136
+ };
137
+ };
138
+
139
+ export const TextClearButton = () => {
140
+ return {
141
+ ...data,
142
+ template: `
143
+ <div>
144
+ <TextInput v-model="value" :enable-clear="true" @on-clear="value = ''" :attrs="attrs" />
145
+ <span>Current Text Value: {{value}}</span>
146
+ </div>
147
+ `,
148
+ };
149
+ };
150
+
151
+ export const PrefixText = () => {
152
+ return {
153
+ ...data,
154
+ template: `
155
+ <TextInput placeholder="your-brand-name" prefix-text="https://www.brand.page/" :attrs="attrs" />
156
+ `,
157
+ };
158
+ };
159
+
160
+ export const NoLeftBorder = () => {
161
+ return {
162
+ ...data,
163
+ template: `
164
+ <TextInput v-model="value" :border-left="false" :attrs="attrs" />
165
+ `,
166
+ };
167
+ };
168
+
169
+ export const NoRightBorder = () => {
170
+ return {
171
+ ...data,
172
+ template: `
173
+ <TextInput v-model="value" :border-right="false" :attrs="attrs" />
174
+ `,
175
+ };
176
+ };
177
+
178
+ export const Events = () => {
179
+ return {
180
+ components: {
181
+ TextInput,
182
+ },
183
+ data() {
184
+ return {
185
+ blurCalled: 0,
186
+ focusCalled: 0,
187
+ keyDownCalled: 0,
188
+ keyUpCalled: 0,
189
+ };
190
+ },
191
+ template: `
192
+ <div>
193
+ <TextInput placeholder="Start typing..." @blur="onBlur" @focus="onFocus" @keydown="onKeyDown" @keyup="onKeyUp" />
194
+ <table border="1" class="tw-font-sans tw-mt-8">
195
+ <tr>
196
+ <td>blurCalled</td>
197
+ <td>{{ blurCalled }}</td>
198
+ </tr>
199
+ <tr>
200
+ <td>focusCalled</td>
201
+ <td>{{ focusCalled }}</td>
202
+ </tr>
203
+ <tr>
204
+ <td>keyDownCalled</td>
205
+ <td>{{ keyDownCalled }}</td>
206
+ </tr>
207
+ <tr>
208
+ <td>keyUpCalled</td>
209
+ <td>{{ keyUpCalled }}</td>
210
+ </tr>
211
+ </table>
212
+ </div>
213
+ `,
214
+ methods: {
215
+ onBlur() {
216
+ this.blurCalled += 1;
217
+ },
218
+
219
+ onFocus() {
220
+ this.focusCalled += 1;
221
+ },
222
+
223
+ onKeyDown() {
224
+ this.keyDownCalled += 1;
225
+ },
226
+
227
+ onKeyUp() {
228
+ this.keyUpCalled += 1;
229
+ },
230
+ },
231
+ };
232
+ };
@@ -0,0 +1,156 @@
1
+ <template>
2
+ <div class="tw-box-border">
3
+ <label
4
+ v-if="label"
5
+ :for="`scl-input-${id}`"
6
+ class="tw-font-sans tw-text-grayscale-600 tw-text-sm tw-mb-2 tw-block tw-font-semibold"
7
+ :class="{
8
+ 'tw-sr-only': showLabelScreenReaderOnly,
9
+ }"
10
+ >
11
+ {{ label }}
12
+ <span v-if="required" class="tw-text-error-500">*</span>
13
+ </label>
14
+ <div
15
+ :class="{
16
+ 'tw-flex': !!prefixText,
17
+ }"
18
+ >
19
+ <span
20
+ v-if="!!prefixText"
21
+ class="tw-font-sans tw-bg-grayscale-200 tw-text-grayscale-600 tw-text-sm tw-px-2 tw-inline-flex tw-items-center tw-border tw-border-solid tw-shadow-inner tw-border-grayscale-500 tw-rounded-l tw-border-r-0"
22
+ >
23
+ {{ prefixText }}
24
+ </span>
25
+ <div
26
+ :class="{
27
+ 'tw-relative': icon || enableInput,
28
+ }"
29
+ class="tw-w-full"
30
+ >
31
+ <div
32
+ v-if="icon"
33
+ class="tw-absolute tw-top-0 tw-left-0 tw-transform tw-translate-x-4 tw-text-grayscale-500"
34
+ :class="{
35
+ 'tw-translate-y-2.5': size === 'sm',
36
+ 'tw-translate-y-1/2': size !== 'sm',
37
+ }"
38
+ >
39
+ <Icon :name="icon" size="md" />
40
+ </div>
41
+ <input
42
+ :id="id ? `scl-input-${id}` : null"
43
+ v-bind="attrs"
44
+ :type="type"
45
+ :value="modelValue"
46
+ :name="name"
47
+ :required="required"
48
+ :placeholder="placeholder"
49
+ :disabled="disabled"
50
+ :readonly="readonly"
51
+ :minlength="minlength"
52
+ :maxlength="maxlength"
53
+ :class="[
54
+ elementClasses,
55
+ {
56
+ 'tw-bg-white': !readonly,
57
+ 'tw-bg-grayscale-200': readonly,
58
+ 'tw-border-error-500 focus:tw-border-error-600': error,
59
+ 'tw-border-warning-500 focus:tw-border-warning-600': warning,
60
+ 'tw-border-success-500 focus:tw-border-success-600': success,
61
+ 'tw-border-grayscale-500 focus:tw-border-grayscale-600': !error && !warning && !success,
62
+ 'tw-opacity-50': disabled,
63
+ 'tw-pl-12': icon,
64
+ 'tw-pr-12': enableClear,
65
+ 'tw-py-2': size === 'sm',
66
+ 'tw-py-3.5': size !== 'sm',
67
+ 'tw-rounded-r': borderRight,
68
+ 'tw-rounded-l': borderLeft && !prefixText,
69
+ 'tw-border-l-0': !borderLeft,
70
+ 'tw-border-r-0': !borderRight,
71
+ '!tw-rounded-l-none': borderRight && !borderLeft,
72
+ '!tw-rounded-r-none': borderLeft && !borderRight,
73
+ },
74
+ ]"
75
+ class="tw-text-grayscale-600 tw-box-border tw-w-full tw-text-base tw-px-4 tw-border tw-border-solid focus:tw-outline-none tw-transition-colors tw-duration-300 tw-ease-out tw-shadow-inner"
76
+ @input.stop="input($event.target.value)"
77
+ @keyup.stop="keyup($event.target.value)"
78
+ @keydown.stop="keydown($event)"
79
+ @focus="focus($event.target.value)"
80
+ @blur="blur($event.target.value)"
81
+ @keyup.enter="enterKeyUp($event.target.value)"
82
+ />
83
+ <div
84
+ v-if="enableInput && modelValue !== ''"
85
+ class="tw-absolute tw-top-0 tw-right-0 tw-transform tw--translate-x-4 tw-text-grayscale-500 tw-cursor-pointer"
86
+ :class="{
87
+ 'tw-translate-y-2.5': size === 'sm',
88
+ 'tw-translate-y-1/2': size !== 'sm',
89
+ }"
90
+ @click="onClearInput"
91
+ >
92
+ <Icon name="close" size="md" />
93
+ </div>
94
+ </div>
95
+ </div>
96
+ </div>
97
+ </template>
98
+ <script>
99
+ import FormControlMixin from '../FormControl/FormControl.mixin';
100
+
101
+ export default {
102
+ mixins: [FormControlMixin],
103
+ props: {
104
+ type: {
105
+ type: String,
106
+ required: false,
107
+ default: 'text',
108
+ },
109
+ enableClear: {
110
+ type: Boolean,
111
+ required: false,
112
+ default: false,
113
+ },
114
+ enableClearConfirmation: {
115
+ type: Boolean,
116
+ required: false,
117
+ default: false,
118
+ },
119
+ borderLeft: {
120
+ type: Boolean,
121
+ required: false,
122
+ default: true,
123
+ },
124
+ borderRight: {
125
+ type: Boolean,
126
+ required: false,
127
+ default: true,
128
+ },
129
+ prefixText: {
130
+ type: String,
131
+ required: false,
132
+ default: undefined,
133
+ },
134
+ elementClasses: {
135
+ type: String,
136
+ required: false,
137
+ default: '',
138
+ },
139
+ },
140
+ computed: {
141
+ enableInput() {
142
+ return this.enableClear || this.enableClearConfirmation;
143
+ },
144
+ },
145
+ methods: {
146
+ onClearInput() {
147
+ if (this.enableClear) {
148
+ this.$emit('on-clear');
149
+ this.input('');
150
+ } else if (this.enableClearConfirmation) {
151
+ this.$emit('on-clear-confirmation');
152
+ }
153
+ },
154
+ },
155
+ };
156
+ </script>
@@ -0,0 +1,209 @@
1
+ import Textarea from './Textarea.vue';
2
+
3
+ export default {
4
+ title: 'Components/Textarea',
5
+ component: Textarea,
6
+ };
7
+
8
+ const data = {
9
+ components: {
10
+ Textarea,
11
+ },
12
+ data() {
13
+ return {
14
+ value: 'Hello world',
15
+ attrs: {
16
+ 'data-test-tag': 'test',
17
+ },
18
+ };
19
+ },
20
+ };
21
+
22
+ export const Small = () => {
23
+ return {
24
+ ...data,
25
+ template: `
26
+ <Textarea v-model="value" :attrs="attrs" />
27
+ `,
28
+ };
29
+ };
30
+
31
+ export const Medium = () => {
32
+ return {
33
+ ...data,
34
+ template: `
35
+ <Textarea v-model="value" size="md" :attrs="attrs" />
36
+ `,
37
+ };
38
+ };
39
+
40
+ export const Large = () => {
41
+ return {
42
+ ...data,
43
+ template: `
44
+ <Textarea v-model="value" size="lg" :attrs="attrs" />
45
+ `,
46
+ };
47
+ };
48
+
49
+ export const Icon = () => {
50
+ return {
51
+ ...data,
52
+ template: `
53
+ <Textarea v-model="value" icon="message" :attrs="attrs" />
54
+ `,
55
+ };
56
+ };
57
+
58
+ export const Placeholder = () => {
59
+ return {
60
+ components: {
61
+ Textarea,
62
+ },
63
+ data() {
64
+ return {
65
+ value: '',
66
+ };
67
+ },
68
+ template: `
69
+ <Textarea v-model="value" placeholder="Start typing..." :attrs="attrs"/>
70
+ `,
71
+ };
72
+ };
73
+
74
+ export const Disabled = () => {
75
+ return {
76
+ ...data,
77
+ template: `
78
+ <Textarea v-model="value" :disabled="true" :attrs="attrs" />
79
+ `,
80
+ };
81
+ };
82
+
83
+ export const Readonly = () => {
84
+ return {
85
+ ...data,
86
+ template: `
87
+ <Textarea v-model="value" :readonly="true" :attrs="attrs" />
88
+ `,
89
+ };
90
+ };
91
+
92
+ export const Label = () => {
93
+ return {
94
+ ...data,
95
+ template: `
96
+ <Textarea v-model="value" label="Message" :attrs="attrs" />
97
+ `,
98
+ };
99
+ };
100
+
101
+ export const LabelRequired = () => {
102
+ return {
103
+ ...data,
104
+ template: `
105
+ <Textarea v-model="value" label="Message" :required="true" :attrs="attrs" />
106
+ `,
107
+ };
108
+ };
109
+
110
+ export const LabelIcon = () => {
111
+ return {
112
+ ...data,
113
+ template: `
114
+ <Textarea v-model="value" label="Your Name" icon="message" :attrs="attrs" />
115
+ `,
116
+ };
117
+ };
118
+
119
+ export const Warning = () => {
120
+ return {
121
+ ...data,
122
+ template: `
123
+ <Textarea v-model="value" :warning="true" :attrs="attrs" />
124
+ `,
125
+ };
126
+ };
127
+
128
+ export const Error = () => {
129
+ return {
130
+ ...data,
131
+ template: `
132
+ <Textarea v-model="value" :error="true" :attrs="attrs" />
133
+ `,
134
+ };
135
+ };
136
+
137
+ export const Success = () => {
138
+ return {
139
+ ...data,
140
+ template: `
141
+ <Textarea v-model="value" :success="true" :attrs="attrs" />
142
+ `,
143
+ };
144
+ };
145
+
146
+ export const NoResize = () => {
147
+ return {
148
+ ...data,
149
+ template: `
150
+ <Textarea v-model="value" :resize="false" :attrs="attrs" />
151
+ `,
152
+ };
153
+ };
154
+
155
+ export const Events = () => {
156
+ return {
157
+ components: {
158
+ Textarea,
159
+ },
160
+ data() {
161
+ return {
162
+ blurCalled: 0,
163
+ focusCalled: 0,
164
+ keyDownCalled: 0,
165
+ keyUpCalled: 0,
166
+ };
167
+ },
168
+ template: `
169
+ <div>
170
+ <Textarea placeholder="Start typing..." @blur="onBlur" @focus="onFocus" @keydown="onKeyDown" @keyup="onKeyUp" />
171
+ <table border="1" class="tw-font-sans tw-mt-8">
172
+ <tr>
173
+ <td>blurCalled</td>
174
+ <td>{{ blurCalled }}</td>
175
+ </tr>
176
+ <tr>
177
+ <td>focusCalled</td>
178
+ <td>{{ focusCalled }}</td>
179
+ </tr>
180
+ <tr>
181
+ <td>keyDownCalled</td>
182
+ <td>{{ keyDownCalled }}</td>
183
+ </tr>
184
+ <tr>
185
+ <td>keyUpCalled</td>
186
+ <td>{{ keyUpCalled }}</td>
187
+ </tr>
188
+ </table>
189
+ </div>
190
+ `,
191
+ methods: {
192
+ onBlur() {
193
+ this.blurCalled += 1;
194
+ },
195
+
196
+ onFocus() {
197
+ this.focusCalled += 1;
198
+ },
199
+
200
+ onKeyDown() {
201
+ this.keyDownCalled += 1;
202
+ },
203
+
204
+ onKeyUp() {
205
+ this.keyUpCalled += 1;
206
+ },
207
+ },
208
+ };
209
+ };
@@ -0,0 +1,109 @@
1
+ <template>
2
+ <div class="tw-box-border">
3
+ <label
4
+ v-if="label"
5
+ :for="`scl-input-${id}`"
6
+ class="tw-font-sans tw-text-grayscale-600 tw-text-sm tw-mb-2 tw-block tw-font-semibold"
7
+ :class="{
8
+ 'tw-sr-only': showLabelScreenReaderOnly,
9
+ }"
10
+ >
11
+ {{ label }}
12
+ <span v-if="required" class="tw-text-error-500">*</span>
13
+ </label>
14
+ <div
15
+ :class="{
16
+ 'tw-relative': icon,
17
+ }"
18
+ >
19
+ <div
20
+ v-if="icon"
21
+ class="tw-absolute tw-top-0 tw-left-0 tw-transform tw-translate-y-4 tw-translate-x-4 tw-text-grayscale-500"
22
+ >
23
+ <Icon :name="icon" size="md" />
24
+ </div>
25
+ <textarea
26
+ :id="id ? `scl-input-${id}` : null"
27
+ v-bind="attrs"
28
+ type="text"
29
+ :value="modelValue"
30
+ :required="required"
31
+ :placeholder="placeholder"
32
+ :disabled="disabled"
33
+ :readonly="readonly"
34
+ :minlength="minlength"
35
+ :maxlength="maxlength"
36
+ :class="[
37
+ elementClasses,
38
+ {
39
+ 'tw-border-error-500 focus:tw-border-error-600': error,
40
+ 'tw-border-warning-500 focus:tw-border-warning-600': warning,
41
+ 'tw-border-success-500 focus:tw-border-success-600': success,
42
+ 'tw-border-grayscale-500 focus:tw-border-grayscale-600': !error && !warning && !success,
43
+ 'tw-opacity-50': disabled,
44
+ 'tw-pl-12': icon,
45
+ 'tw-h-20': size === 'sm',
46
+ 'tw-h-40': size === 'md',
47
+ 'tw-h-80': size === 'lg',
48
+ 'tw-resize-none': resize === false,
49
+ },
50
+ ]"
51
+ class="tw-font-sans tw-bg-white tw-text-grayscale-600 tw-box-border tw-w-full tw-py-3.5 tw-text-base tw-px-4 tw-rounded tw-border tw-border-solid focus:tw-outline-none tw-transition-colors tw-duration-300 tw-ease-out tw-shadow-inner"
52
+ @input.stop="input($event.target.value)"
53
+ @keyup.stop="keyup($event.target.value)"
54
+ @keydown.stop="keydown($event)"
55
+ @focus="focus($event.target.value)"
56
+ @blur="blur($event.target.value)"
57
+ ></textarea>
58
+ </div>
59
+ </div>
60
+ </template>
61
+ <script>
62
+ import FormControlMixin from '../FormControl/FormControl.mixin';
63
+
64
+ export default {
65
+ mixins: [FormControlMixin],
66
+ props: {
67
+ resize: {
68
+ type: Boolean,
69
+ required: false,
70
+ default: true,
71
+ },
72
+ shouldAutoFitContent: {
73
+ type: Boolean,
74
+ default: false,
75
+ },
76
+ elementClasses: {
77
+ type: String,
78
+ required: false,
79
+ default: '',
80
+ },
81
+ },
82
+ watch: {
83
+ modelValue() {
84
+ this.$emit('value-changed');
85
+ this.resizeIfRequired();
86
+ },
87
+ },
88
+ mounted() {
89
+ this.$emit('value-changed');
90
+ this.resizeIfRequired();
91
+ },
92
+ methods: {
93
+ resizeIfRequired() {
94
+ if (this.shouldAutoFitContent) {
95
+ this.autoFitToContent();
96
+ }
97
+ },
98
+ autoFitToContent() {
99
+ setTimeout(() => {
100
+ const textarea = document.getElementById(`scl-input-${this.id}`);
101
+ if (textarea) {
102
+ textarea.style.height = 'auto';
103
+ textarea.style.height = `${textarea.scrollHeight}px`;
104
+ }
105
+ }, 1000);
106
+ },
107
+ },
108
+ };
109
+ </script>