@designcrowd/fe-shared-lib 1.2.4-ml-jj-1 → 1.2.5-byo-1

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 (209) hide show
  1. package/buildspec.yml +1 -0
  2. package/index.js +1 -1
  3. package/package.json +2 -2
  4. package/public/css/tailwind-brandCrowd.css +0 -26
  5. package/public/css/tailwind-brandPage.css +0 -22
  6. package/public/css/tailwind-crazyDomains.css +0 -26
  7. package/public/css/tailwind-designCom.css +0 -26
  8. package/public/css/tailwind-designCrowd.css +0 -26
  9. package/src/atoms/components/Price/Price.vue +1 -1
  10. package/src/bundles/bundled-translations.de-DE.json +2 -49
  11. package/src/bundles/bundled-translations.es-ES.json +2 -49
  12. package/src/bundles/bundled-translations.fr-FR.json +2 -49
  13. package/src/bundles/bundled-translations.json +27 -48
  14. package/src/bundles/bundled-translations.pt-PT.json +2 -49
  15. package/src/experiences/components/PublishBrandPageModal/PublishBrandPageCard.vue +10 -14
  16. package/src/experiences/components/PublishBrandPageModal/PublishBrandPageModal.stories.js +0 -23
  17. package/src/experiences/components/PublishBrandPageModal/PublishBrandPageModal.vue +20 -49
  18. package/src/experiences/components/PublishBrandPageModal/i18n/publish-modal.de-DE.json +5 -0
  19. package/src/experiences/components/PublishBrandPageModal/i18n/publish-modal.es-ES.json +5 -0
  20. package/src/experiences/components/PublishBrandPageModal/i18n/publish-modal.fr-FR.json +5 -0
  21. package/src/experiences/components/PublishBrandPageModal/i18n/publish-modal.json +5 -0
  22. package/src/experiences/components/PublishBrandPageModal/i18n/publish-modal.pt-PT.json +5 -0
  23. package/src/experiences/components/SellDomainNameList/SellDomainNameList.vue +7 -15
  24. package/src/experiences/components/SellDomainNameListModal/SellDomainNameListModal.vue +8 -12
  25. package/src/experiences/components/SellDomainNameModalApplication/SellDomainNameModalApplication.vue +9 -13
  26. package/src/experiences/components/SellDomainNameSearch/SellDomainNameSearch.vue +13 -18
  27. package/src/experiences/components/SellDomainNameSearchResult/SellDomainNameListSearchResult.vue +5 -16
  28. package/src/experiences/components/SellDomainNameSearchWithResults/SellDomainNameSearchWithResults.vue +1 -0
  29. package/src/experiences/components/SellDomainNameWidget/SellDomainNameWidget.vue +12 -15
  30. package/src/experiences/components/UploadYourLogoOnBoarding/LogoBusinessBrandColours.vue +22 -12
  31. package/src/experiences/components/UploadYourLogoOnBoarding/LogoBusinessText.vue +11 -5
  32. package/src/experiences/components/UploadYourLogoOnBoarding/LogoCropper.vue +10 -4
  33. package/src/experiences/components/UploadYourLogoOnBoarding/LogoPreview.vue +11 -5
  34. package/src/experiences/components/UploadYourLogoOnBoarding/LogoUploadError.vue +10 -4
  35. package/src/experiences/components/UploadYourLogoOnBoarding/LogoUploadExitConfirmation.vue +11 -5
  36. package/src/experiences/components/UploadYourLogoOnBoarding/LogoUploader.vue +7 -1
  37. package/src/experiences/components/UploadYourLogoOnBoarding/UploadYourLogoOnBoarding.vue +11 -5
  38. package/src/experiences/components/UploadYourLogoOnBoarding/i18n/upload-your-logo.json +28 -0
  39. package/src/useSharedLibTranslate.js +3 -1
  40. package/.storybook-static/assets/Auth-CV5AmoX8.css +0 -1
  41. package/.storybook-static/assets/Auth.stories-Cz_ZqAh4.js +0 -490
  42. package/.storybook-static/assets/AuthCrazyDomains.stories-BG2a5Fiy.js +0 -73
  43. package/.storybook-static/assets/Button-5UzSGUF6.css +0 -1
  44. package/.storybook-static/assets/Button-BzAnYX76.js +0 -1
  45. package/.storybook-static/assets/ButtonGroup-Dfr7bNL2.css +0 -1
  46. package/.storybook-static/assets/ButtonGroup.stories-BPMM-1FJ.js +0 -503
  47. package/.storybook-static/assets/ButtonPrimary-Bu6bXb_c.css +0 -1
  48. package/.storybook-static/assets/ButtonPrimary-I4ElX09c.js +0 -1
  49. package/.storybook-static/assets/Buttons.stories-MGxXN_Mf.js +0 -761
  50. package/.storybook-static/assets/ButtonsCrazyDomains.stories-BYRogpq_.js +0 -199
  51. package/.storybook-static/assets/Checkbox.mixin-DkHpdvGa.js +0 -1
  52. package/.storybook-static/assets/Checkbox.stories-FTotNctQ.js +0 -203
  53. package/.storybook-static/assets/Checktile.stories-CXHiLTTg.js +0 -88
  54. package/.storybook-static/assets/CollapsiblePanel.stories-DPxd6Nub.js +0 -39
  55. package/.storybook-static/assets/ColorPicker.stories-qab6Fi1p.js +0 -73
  56. package/.storybook-static/assets/CopyToClipboardText.stories-Cy7hSepi.js +0 -32
  57. package/.storybook-static/assets/Dropdown.stories-6mhxzfJs.js +0 -159
  58. package/.storybook-static/assets/DropdownItem-CGRMlUxE.js +0 -1
  59. package/.storybook-static/assets/DropdownItem-CLNmWtKh.css +0 -1
  60. package/.storybook-static/assets/FormControl.mixin-UhvwWWkY.js +0 -1
  61. package/.storybook-static/assets/HashRouteModal.stories-DsNAjL5X.js +0 -64
  62. package/.storybook-static/assets/HelloBar-B0IZ13AZ.js +0 -1
  63. package/.storybook-static/assets/HelloBar.stories-FDF-a7Vn.js +0 -342
  64. package/.storybook-static/assets/Icon-DedGBPWG.js +0 -144
  65. package/.storybook-static/assets/Icon.stories-CsqSq0Zg.js +0 -126
  66. package/.storybook-static/assets/Icon.stories-WrJA58NP.js +0 -751
  67. package/.storybook-static/assets/Loader-Bb4ttPkS.js +0 -1
  68. package/.storybook-static/assets/LogoBusinessBrandColours-DEFhAyxR.css +0 -1
  69. package/.storybook-static/assets/LogoBusinessBrandColours-Dee8tz_C.js +0 -1
  70. package/.storybook-static/assets/LogoBusinessBrandColours.stories-nWwqZn1f.js +0 -36
  71. package/.storybook-static/assets/Masonry-C2MNiGg0.css +0 -1
  72. package/.storybook-static/assets/Masonry.stories-DSHDwD1P.js +0 -71
  73. package/.storybook-static/assets/Modal-BvVMN71n.css +0 -1
  74. package/.storybook-static/assets/Modal-okPPwsOL.js +0 -1
  75. package/.storybook-static/assets/Modal.stories-BskTae3l.js +0 -345
  76. package/.storybook-static/assets/Notice.stories-BTtLZHPT.js +0 -222
  77. package/.storybook-static/assets/NumberStepper-Blffv09R.css +0 -1
  78. package/.storybook-static/assets/NumberStepper.stories-CSI75THF.js +0 -64
  79. package/.storybook-static/assets/PaymentConfigList-wI1eTv5x.css +0 -1
  80. package/.storybook-static/assets/PaymentConfigList.stories-eSVKfV0g.js +0 -126
  81. package/.storybook-static/assets/Picture-Dq6p_Aq-.js +0 -1
  82. package/.storybook-static/assets/Picture.stories-D593-VFy.js +0 -119
  83. package/.storybook-static/assets/Pill-pxafaUKM.js +0 -1
  84. package/.storybook-static/assets/Pill.stories-CsMFnZ02.js +0 -18
  85. package/.storybook-static/assets/PillBar-os4mJV3M.css +0 -1
  86. package/.storybook-static/assets/PillBar.stories-JfHEPfh4.js +0 -41
  87. package/.storybook-static/assets/Price-DoDjD3Vy.js +0 -1
  88. package/.storybook-static/assets/Price.stories-Cuitwfvg.js +0 -221
  89. package/.storybook-static/assets/PublishBrandPageModal-CLU8-If3.css +0 -1
  90. package/.storybook-static/assets/PublishBrandPageModal.stories-C6cgEXAL.js +0 -273
  91. package/.storybook-static/assets/SearchBar.stories-DecFNo77.js +0 -12
  92. package/.storybook-static/assets/Select-Dw-zvSUg.css +0 -1
  93. package/.storybook-static/assets/Select.stories-ClR8YZOp.js +0 -108
  94. package/.storybook-static/assets/SellDomainNameList.fixtures-LC6fjr_b.js +0 -1
  95. package/.storybook-static/assets/SellDomainNameListModal-CdfyEX1a.css +0 -1
  96. package/.storybook-static/assets/SellDomainNameListModal-nCEdywp7.js +0 -1
  97. package/.storybook-static/assets/SellDomainNameListModal.stories-CemeptL0.js +0 -71
  98. package/.storybook-static/assets/SellDomainNameListSearchResult-1WuAKfzI.css +0 -1
  99. package/.storybook-static/assets/SellDomainNameListSearchResult-CXu-lSPr.js +0 -1
  100. package/.storybook-static/assets/SellDomainNameSearchWithResults-CPLdm7hM.js +0 -1
  101. package/.storybook-static/assets/SellDomainNameSearchWithResults.stories-C7m0GIM7.js +0 -37
  102. package/.storybook-static/assets/SellDomainNameWidget.stories-Dv73twOy.js +0 -36
  103. package/.storybook-static/assets/SignIn-DNYeJu86.css +0 -1
  104. package/.storybook-static/assets/SignIn-wYFPC3mn.js +0 -1
  105. package/.storybook-static/assets/Slider-Cog2FFdj.css +0 -1
  106. package/.storybook-static/assets/Slider.stories-D_adk_fS.js +0 -141
  107. package/.storybook-static/assets/StarRating-BtKh7pzm.css +0 -1
  108. package/.storybook-static/assets/StarRating.stories-DrspsDIx.js +0 -45
  109. package/.storybook-static/assets/TabMenu.stories-B0YJjvry.js +0 -47
  110. package/.storybook-static/assets/TextCopyField-BzyYbqLW.js +0 -1
  111. package/.storybook-static/assets/TextCopyField.stories-DlT_pY6z.js +0 -47
  112. package/.storybook-static/assets/TextInput-DpCuESqa.js +0 -1
  113. package/.storybook-static/assets/TextInput.stories-BzpoJIv1.js +0 -233
  114. package/.storybook-static/assets/Textarea.stories-D5zUql22.js +0 -207
  115. package/.storybook-static/assets/Toggle.stories-DqWm8uoF.js +0 -161
  116. package/.storybook-static/assets/Tooltip-CEv0sWK0.js +0 -1
  117. package/.storybook-static/assets/Tooltip-DyXIgFQH.css +0 -1
  118. package/.storybook-static/assets/Tooltip.stories-D9hFIHT1.js +0 -953
  119. package/.storybook-static/assets/UploadYourLogoApplication-EyTEQx-x.css +0 -9
  120. package/.storybook-static/assets/UploadYourLogoApplication.stories-BM012mHR.js +0 -194
  121. package/.storybook-static/assets/UploadYourLogoDropzone-BEKyNznK.js +0 -24
  122. package/.storybook-static/assets/UploadYourLogoDropzone-DQqACf-e.css +0 -1
  123. package/.storybook-static/assets/UploadYourLogoDropzone.stories-4rhDFEMp.js +0 -55
  124. package/.storybook-static/assets/UploadedLogoSearchResultCard.stories-Ct3Ctfn9.js +0 -79
  125. package/.storybook-static/assets/_commonjsHelpers-D6-XlEtG.js +0 -1
  126. package/.storybook-static/assets/_plugin-vue_export-helper-DlAUqK2U.js +0 -1
  127. package/.storybook-static/assets/api-lSJGRrF2.js +0 -1
  128. package/.storybook-static/assets/axe-nGVJxRof.js +0 -30
  129. package/.storybook-static/assets/brand-crowd-api.client-DiPM1Wo-.js +0 -1
  130. package/.storybook-static/assets/bundled-translations-BZ57czTo.js +0 -1
  131. package/.storybook-static/assets/bundled-translations.de-DE-DXggTXB2.js +0 -1
  132. package/.storybook-static/assets/bundled-translations.es-ES-DtMmvicd.js +0 -1
  133. package/.storybook-static/assets/bundled-translations.fr-FR-BrQqbieG.js +0 -1
  134. package/.storybook-static/assets/bundled-translations.pt-PT-CpiWEAtr.js +0 -1
  135. package/.storybook-static/assets/carousel-CMMZ5MZ-.css +0 -1
  136. package/.storybook-static/assets/carousel.stories-g84txwjc.js +0 -374
  137. package/.storybook-static/assets/event-constants-CMO9VQVu.js +0 -1
  138. package/.storybook-static/assets/iframe-CSus7xWA.js +0 -1126
  139. package/.storybook-static/assets/index-Bw-gCGc_.js +0 -6
  140. package/.storybook-static/assets/index-DhkYCT1V.js +0 -29
  141. package/.storybook-static/assets/matchers-7Z3WT2CE-T3xScrR7.js +0 -14
  142. package/.storybook-static/assets/tracking-ATsLLehC.js +0 -1
  143. package/.storybook-static/css/tailwind-brandCrowd.css +0 -2404
  144. package/.storybook-static/css/tailwind-brandPage.css +0 -2088
  145. package/.storybook-static/css/tailwind-crazyDomains.css +0 -2404
  146. package/.storybook-static/css/tailwind-designCom.css +0 -2404
  147. package/.storybook-static/css/tailwind-designCrowd.css +0 -2404
  148. package/.storybook-static/favicon.svg +0 -1
  149. package/.storybook-static/iframe.html +0 -694
  150. package/.storybook-static/index.html +0 -156
  151. package/.storybook-static/index.json +0 -1
  152. package/.storybook-static/nunito-sans-bold-italic.woff2 +0 -0
  153. package/.storybook-static/nunito-sans-bold.woff2 +0 -0
  154. package/.storybook-static/nunito-sans-italic.woff2 +0 -0
  155. package/.storybook-static/nunito-sans-regular.woff2 +0 -0
  156. package/.storybook-static/project.json +0 -1
  157. package/.storybook-static/sb-addons/a11y-1/manager-bundle.js +0 -5
  158. package/.storybook-static/sb-addons/links-2/manager-bundle.js +0 -3
  159. package/.storybook-static/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js +0 -188
  160. package/.storybook-static/sb-addons/themes-3/manager-bundle.js +0 -3
  161. package/.storybook-static/sb-common-assets/favicon.svg +0 -1
  162. package/.storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
  163. package/.storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
  164. package/.storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
  165. package/.storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
  166. package/.storybook-static/sb-manager/globals-module-info.js +0 -797
  167. package/.storybook-static/sb-manager/globals-runtime.js +0 -72062
  168. package/.storybook-static/sb-manager/globals.js +0 -34
  169. package/.storybook-static/sb-manager/runtime.js +0 -13002
  170. package/dist/css/tailwind-brandCrowd.css +0 -2419
  171. package/dist/css/tailwind-brandPage.css +0 -2107
  172. package/dist/css/tailwind-crazyDomains.css +0 -2419
  173. package/dist/css/tailwind-designCom.css +0 -2419
  174. package/dist/css/tailwind-designCrowd.css +0 -2419
  175. package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.de-DE.json +0 -22
  176. package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.es-ES.json +0 -22
  177. package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.fr-FR.json +0 -22
  178. package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.json +0 -22
  179. package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.pt-PT.json +0 -22
  180. package/src/experiences/components/SellDomainNameList/i18n/sell-domain-name-list.de-DE.json +0 -8
  181. package/src/experiences/components/SellDomainNameList/i18n/sell-domain-name-list.es-ES.json +0 -8
  182. package/src/experiences/components/SellDomainNameList/i18n/sell-domain-name-list.fr-FR.json +0 -8
  183. package/src/experiences/components/SellDomainNameList/i18n/sell-domain-name-list.json +0 -8
  184. package/src/experiences/components/SellDomainNameList/i18n/sell-domain-name-list.pt-PT.json +0 -8
  185. package/src/experiences/components/SellDomainNameListModal/i18n/sell-domain-name-list-modal.de-DE.json +0 -6
  186. package/src/experiences/components/SellDomainNameListModal/i18n/sell-domain-name-list-modal.es-ES.json +0 -6
  187. package/src/experiences/components/SellDomainNameListModal/i18n/sell-domain-name-list-modal.fr-FR.json +0 -6
  188. package/src/experiences/components/SellDomainNameListModal/i18n/sell-domain-name-list-modal.json +0 -6
  189. package/src/experiences/components/SellDomainNameListModal/i18n/sell-domain-name-list-modal.pt-PT.json +0 -6
  190. package/src/experiences/components/SellDomainNameModalApplication/i18n/sell-domain-name-modal-application.de-DE.json +0 -6
  191. package/src/experiences/components/SellDomainNameModalApplication/i18n/sell-domain-name-modal-application.es-ES.json +0 -6
  192. package/src/experiences/components/SellDomainNameModalApplication/i18n/sell-domain-name-modal-application.fr-FR.json +0 -6
  193. package/src/experiences/components/SellDomainNameModalApplication/i18n/sell-domain-name-modal-application.json +0 -6
  194. package/src/experiences/components/SellDomainNameModalApplication/i18n/sell-domain-name-modal-application.pt-PT.json +0 -6
  195. package/src/experiences/components/SellDomainNameSearch/i18n/sell-domain-name-search.de-DE.json +0 -8
  196. package/src/experiences/components/SellDomainNameSearch/i18n/sell-domain-name-search.es-ES.json +0 -8
  197. package/src/experiences/components/SellDomainNameSearch/i18n/sell-domain-name-search.fr-FR.json +0 -8
  198. package/src/experiences/components/SellDomainNameSearch/i18n/sell-domain-name-search.json +0 -8
  199. package/src/experiences/components/SellDomainNameSearch/i18n/sell-domain-name-search.pt-PT.json +0 -8
  200. package/src/experiences/components/SellDomainNameSearchResult/i18n/sell-domain-name-list-search-result.de-DE.json +0 -6
  201. package/src/experiences/components/SellDomainNameSearchResult/i18n/sell-domain-name-list-search-result.es-ES.json +0 -6
  202. package/src/experiences/components/SellDomainNameSearchResult/i18n/sell-domain-name-list-search-result.fr-FR.json +0 -6
  203. package/src/experiences/components/SellDomainNameSearchResult/i18n/sell-domain-name-list-search-result.json +0 -6
  204. package/src/experiences/components/SellDomainNameSearchResult/i18n/sell-domain-name-list-search-result.pt-PT.json +0 -6
  205. package/src/experiences/components/SellDomainNameWidget/i18n/sell-domain-name-widget.de-DE.json +0 -8
  206. package/src/experiences/components/SellDomainNameWidget/i18n/sell-domain-name-widget.es-ES.json +0 -8
  207. package/src/experiences/components/SellDomainNameWidget/i18n/sell-domain-name-widget.fr-FR.json +0 -8
  208. package/src/experiences/components/SellDomainNameWidget/i18n/sell-domain-name-widget.json +0 -8
  209. package/src/experiences/components/SellDomainNameWidget/i18n/sell-domain-name-widget.pt-PT.json +0 -8
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div>
3
- {{ domainSearchOrConnectHeaderSubtitle }}
3
+ Buy matching domain name for your brand or connect your existing domain
4
4
  <div class="tw-flex tw-flex-col md:tw-flex-row tw-mt-4 tw-mb-4">
5
5
  <TextInput
6
6
  v-model="searchText"
@@ -18,7 +18,7 @@
18
18
  <Button
19
19
  classes="tw-w-full tw-mt-2 md:tw-rounded-l-none md:tw-mt-0"
20
20
  variant="primary"
21
- :label="searchButtonLabel"
21
+ label="Search"
22
22
  :disabled="false"
23
23
  @on-click="onSearchBarClick"
24
24
  />
@@ -31,18 +31,21 @@
31
31
  :domain-name-items="domainNameItems"
32
32
  :previous-search-text="previousSearchText"
33
33
  :visible="isSearchDomainListModalVisible"
34
- :search-button-label="searchButtonLabel"
35
34
  @close-modal="onSellDomainNameListCloseModal"
36
35
  @search="onSearchDomainName(true)"
37
36
  />
38
37
  </div>
39
38
  </template>
40
39
  <script>
41
- import { tr } from '../../../useSharedLibTranslate';
42
- import Button from '../../../atoms/components/Button/Button.vue';
43
- import TextInput from '../../../atoms/components/TextInput/TextInput.vue';
40
+ import Button from '../../../../src/atoms/components/Button/Button.vue';
41
+ import TextInput from '../../../../src/atoms/components/TextInput/TextInput.vue';
42
+
44
43
  import SellDomainNameListModal from '../SellDomainNameListModal/SellDomainNameListModal.vue';
45
- import { sellDomainNameMinSearchTextLength } from '../../constants/sell-domain-name-constants';
44
+ import {
45
+ sellDomainNameMinSearchTextLength,
46
+ sellDomainNameSearchBarLabel,
47
+ sellDomainNameSearchBarPlaceholder,
48
+ } from '../../constants/sell-domain-name-constants';
46
49
  import Events from '../../constants/event-constants';
47
50
  import brandCrowdApiClient from '../../clients/brand-crowd-api.client';
48
51
 
@@ -73,19 +76,13 @@ export default {
73
76
  default: false,
74
77
  },
75
78
  },
76
- setup() {
77
- return {
78
- searchButtonLabel: tr('sellDomainNameWidget.searchButtonLabel'),
79
- searchBarLabel: tr('sellDomainNameWidget.searchBarLabel'),
80
- searchBarPlaceholder: tr('sellDomainNameWidget.searchBarPlaceholder'),
81
- domainSearchOrConnectHeaderSubtitle: tr('sellDomainNameWidget.domainSearchOrConnectHeaderSubtitle'),
82
- };
83
- },
84
79
  data: () => ({
85
80
  domainNameItems: undefined,
86
81
  userCurrency: undefined,
87
82
  isBusy: false,
88
83
  isSearchDomainListModalVisible: false,
84
+ searchBarLabel: sellDomainNameSearchBarLabel,
85
+ searchBarPlaceholder: sellDomainNameSearchBarPlaceholder,
89
86
  searchText: '',
90
87
  previousSearchText: '',
91
88
  }),
@@ -4,13 +4,13 @@
4
4
  <HelloBar
5
5
  v-if="areColorsTooClose"
6
6
  label=""
7
- description="Your text and background colors are too similar. Please choose a more distinct pairing to ensure they create quality designs."
7
+ :description="uploadYourLogoTr('colorsWarning')"
8
8
  variant="warning"
9
9
  class="tw-m-5 tw-mt-3"
10
10
  />
11
11
  <div class="tw-pb-8 tw-px-8 tw-text-center">
12
12
  <p class="tw-text-grayscale-600 tw-font-bold tw-text-xs tw-mb-2 tw-uppercase">
13
- Step {{ activeStep.number }} of {{ totalNumSteps }}
13
+ {{ stepCounter }}
14
14
  </p>
15
15
  <h2 class="tw-mb-4 tw-text-4xl tw-text-black tw-font-bold">
16
16
  {{ activeStep.title }}
@@ -80,7 +80,7 @@
80
80
  >
81
81
  <Button
82
82
  v-if="activeStep.index === 1"
83
- label="Back"
83
+ :label="uploadYourLogoTr('back')"
84
84
  size="large"
85
85
  variant="outline"
86
86
  container-classes="tw-mx-2"
@@ -89,7 +89,7 @@
89
89
  />
90
90
  <Button
91
91
  v-if="activeStep.index === 2"
92
- label="Back"
92
+ :label="uploadYourLogoTr('back')"
93
93
  size="large"
94
94
  variant="outline"
95
95
  container-classes="tw-mx-2"
@@ -98,7 +98,7 @@
98
98
  />
99
99
  <Button
100
100
  v-if="activeStep.index === 1"
101
- label="Continue"
101
+ :label="uploadYourLogoTr('continue')"
102
102
  size="large"
103
103
  variant="primary-with-icon"
104
104
  icon="chevron-right-wide"
@@ -108,7 +108,7 @@
108
108
  />
109
109
  <Button
110
110
  v-if="activeStep.index === 2"
111
- label="Continue"
111
+ :label="uploadYourLogoTr('continue')"
112
112
  size="large"
113
113
  variant="primary-with-icon"
114
114
  icon="chevron-right-wide"
@@ -126,6 +126,7 @@ import Icon from '../../../../src/atoms/components/Icon/Icon.vue';
126
126
  import HelloBar from '../../../../src/atoms/components/HelloBar/HelloBar.vue';
127
127
  import trackEvent from '../../helpers/tracking';
128
128
  import hexDiff from '../../helpers/hex-diff';
129
+ import { uploadYourLogoTr } from '../../../useSharedLibTranslate';
129
130
 
130
131
  export default {
131
132
  components: {
@@ -153,6 +154,11 @@ export default {
153
154
  required: true,
154
155
  },
155
156
  },
157
+ setup() {
158
+ return {
159
+ uploadYourLogoTr,
160
+ };
161
+ },
156
162
  data() {
157
163
  return {
158
164
  currentStep: null,
@@ -171,9 +177,8 @@ export default {
171
177
  index: 1,
172
178
  number: this.totalNumSteps - 1,
173
179
  active: false,
174
- title: 'Primary text color',
175
- description:
176
- 'Help us setup your logo by confirming the primary text color. Choose from the available colors or click the plus icon to add another.',
180
+ title: uploadYourLogoTr('primaryTextColor'),
181
+ description: uploadYourLogoTr('primaryTextColorDescription'),
177
182
  colourData: this.logoData.logoImageDetails.textColors,
178
183
  colours: [],
179
184
  },
@@ -181,9 +186,8 @@ export default {
181
186
  index: 2,
182
187
  number: this.totalNumSteps,
183
188
  active: false,
184
- title: 'Background color',
185
- description:
186
- 'Help us setup your logo by confirming the background color. Choose from the available colors or click the plus icon to add another.',
189
+ title: uploadYourLogoTr('backgroundColor'),
190
+ description: uploadYourLogoTr('backgroundColorDescription'),
187
191
  colourData: this.logoData.logoImageDetails.backgroundColors,
188
192
  colours: [],
189
193
  },
@@ -202,6 +206,12 @@ export default {
202
206
  this.activeStep.index === 2 && hexDiff(selectedTextColour.hex, selectedBackgroundColour.hex) !== 'Different'
203
207
  );
204
208
  },
209
+ stepCounter() {
210
+ return this.uploadYourLogoTr('stepOf', {
211
+ current: this.activeStep.number,
212
+ total: this.totalNumSteps,
213
+ });
214
+ },
205
215
  },
206
216
  mounted() {
207
217
  const keys = Object.keys(this.steps);
@@ -5,8 +5,8 @@
5
5
  <p class="tw-text-grayscale-600 tw-font-bold tw-text-xs tw-mb-2 tw-uppercase">
6
6
  {{ progressLabel }}
7
7
  </p>
8
- <h2 class="tw-mb-4 tw-text-4xl tw-text-black tw-font-bold">Business Name</h2>
9
- <p class="tw-mt-0">Enter your logo text or business name</p>
8
+ <h2 class="tw-mb-4 tw-text-4xl tw-text-black tw-font-bold">{{ uploadYourLogoTr('businessName') }}</h2>
9
+ <p class="tw-mt-0">{{ uploadYourLogoTr('businessNameDescription') }}</p>
10
10
  </div>
11
11
 
12
12
  <div class="tw-pb-8 tw-px-8">
@@ -37,7 +37,7 @@
37
37
  class="tw-fixed tw-rounded-b tw-bottom-0 tw-left-0 tw-z-10 tw-bg-grayscale-200 lg:tw-static tw-flex tw-w-full tw-items-center tw-justify-center tw-border-0 tw-border-t tw-border-black/10 tw-border-solid tw-py-4 tw-px-8 tw-box-border"
38
38
  >
39
39
  <Button
40
- label="Back"
40
+ :label="uploadYourLogoTr('back')"
41
41
  size="large"
42
42
  variant="outline"
43
43
  container-classes="tw-mx-2"
@@ -45,7 +45,7 @@
45
45
  @on-click="back"
46
46
  />
47
47
  <Button
48
- label="Continue"
48
+ :label="uploadYourLogoTr('continue')"
49
49
  size="large"
50
50
  variant="primary-with-icon"
51
51
  icon="chevron-right-wide"
@@ -57,8 +57,9 @@
57
57
  </div>
58
58
  </template>
59
59
  <script>
60
- import Button from '../../../../src/atoms/components/Button/Button.vue';
60
+ import Button from '../../../atoms/components/Button/Button.vue';
61
61
  import trackEvent from '../../helpers/tracking';
62
+ import { uploadYourLogoTr } from '../../../useSharedLibTranslate';
62
63
 
63
64
  export default {
64
65
  components: {
@@ -84,6 +85,11 @@ export default {
84
85
  required: true,
85
86
  },
86
87
  },
88
+ setup() {
89
+ return {
90
+ uploadYourLogoTr,
91
+ };
92
+ },
87
93
  data() {
88
94
  return {
89
95
  businessText: null,
@@ -5,8 +5,8 @@
5
5
  <p class="tw-text-grayscale-600 tw-font-bold tw-text-xs tw-mb-2 tw-uppercase">
6
6
  {{ progressLabel }}
7
7
  </p>
8
- <h2 class="tw-mb-4 tw-text-4xl tw-text-black tw-font-bold">Crop your logo</h2>
9
- <p class="tw-mt-0">Crop your logo design to fit our logo maker canvas</p>
8
+ <h2 class="tw-mb-4 tw-text-4xl tw-text-black tw-font-bold">{{ uploadYourLogoTr('cropYourLogo') }}</h2>
9
+ <p class="tw-mt-0">{{ uploadYourLogoTr('cropDescription') }}</p>
10
10
  </div>
11
11
 
12
12
  <div class="c-byo-cropper__container lg:tw-pb-8 tw-mx-auto" :class="{ 'tw-opacity-0': !cropperToolReady }">
@@ -27,7 +27,7 @@
27
27
  class="tw-fixed tw-rounded-b tw-bottom-0 tw-left-0 tw-z-10 tw-bg-grayscale-200 lg:tw-static tw-flex tw-w-full tw-items-center tw-justify-center tw-border-0 tw-border-t tw-border-black/10 tw-border-solid tw-py-4 tw-px-8 tw-box-border"
28
28
  >
29
29
  <Button
30
- label="Cancel"
30
+ :label="uploadYourLogoTr('cancel')"
31
31
  size="large"
32
32
  variant="outline"
33
33
  container-classes="tw-mx-2"
@@ -35,7 +35,7 @@
35
35
  @on-click="cancel"
36
36
  />
37
37
  <Button
38
- label="Continue"
38
+ :label="uploadYourLogoTr('continue')"
39
39
  size="large"
40
40
  variant="primary-with-icon"
41
41
  icon="chevron-right-wide"
@@ -51,6 +51,7 @@ import Button from '../../../../src/atoms/components/Button/Button.vue';
51
51
  import VueCropper from 'vue-cropperjs';
52
52
 
53
53
  import trackEvent from '../../helpers/tracking';
54
+ import { uploadYourLogoTr } from '../../../useSharedLibTranslate';
54
55
 
55
56
  export default {
56
57
  components: {
@@ -72,6 +73,11 @@ export default {
72
73
  required: true,
73
74
  },
74
75
  },
76
+ setup() {
77
+ return {
78
+ uploadYourLogoTr,
79
+ };
80
+ },
75
81
  data() {
76
82
  return {
77
83
  cropperToolReady: false,
@@ -5,8 +5,8 @@
5
5
  <p class="tw-text-grayscale-600 tw-font-bold tw-text-xs tw-mb-2 tw-uppercase">
6
6
  {{ progressLabel }}
7
7
  </p>
8
- <h2 class="tw-mb-4 tw-text-4xl tw-text-black tw-font-bold">Logo preview</h2>
9
- <p class="tw-mt-0">Your logo looks great! Help us setup your logo by completing the next steps.</p>
8
+ <h2 class="tw-mb-4 tw-text-4xl tw-text-black tw-font-bold">{{ uploadYourLogoTr('logoPreview') }}</h2>
9
+ <p class="tw-mt-0">{{ uploadYourLogoTr('logoPreviewDescription') }}</p>
10
10
  </div>
11
11
 
12
12
  <div class="lg:tw-pb-8 lg:tw-px-8">
@@ -24,7 +24,7 @@
24
24
  class="tw-fixed tw-rounded-b tw-bottom-0 tw-left-0 tw-z-10 tw-bg-grayscale-200 lg:tw-static tw-flex tw-w-full tw-items-center tw-justify-center tw-border-0 tw-border-t tw-border-black/10 tw-border-solid tw-py-4 tw-px-8 tw-box-border"
25
25
  >
26
26
  <Button
27
- label="Cancel"
27
+ :label="uploadYourLogoTr('cancel')"
28
28
  size="large"
29
29
  variant="outline"
30
30
  container-classes="tw-mx-2"
@@ -32,7 +32,7 @@
32
32
  @on-click="cancel"
33
33
  />
34
34
  <Button
35
- label="Continue"
35
+ :label="uploadYourLogoTr('continue')"
36
36
  size="large"
37
37
  variant="primary-with-icon"
38
38
  icon="chevron-right-wide"
@@ -44,8 +44,9 @@
44
44
  </div>
45
45
  </template>
46
46
  <script>
47
- import Button from '../../../../src/atoms/components/Button/Button.vue';
47
+ import Button from '../../../atoms/components/Button/Button.vue';
48
48
  import trackEvent from '../../helpers/tracking';
49
+ import { uploadYourLogoTr } from '../../../useSharedLibTranslate';
49
50
 
50
51
  export default {
51
52
  components: {
@@ -66,6 +67,11 @@ export default {
66
67
  required: true,
67
68
  },
68
69
  },
70
+ setup() {
71
+ return {
72
+ uploadYourLogoTr,
73
+ };
74
+ },
69
75
  methods: {
70
76
  cropImage() {
71
77
  if (!this.$refs.preview.complete) return;
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div class="tw-w-full">
3
3
  <div class="tw-px-8 tw-pb-8">
4
- <h2 class="tw-mb-8 tw-text-4xl tw-font-bold">Upload Error</h2>
4
+ <h2 class="tw-mb-8 tw-text-4xl tw-font-bold">{{ uploadYourLogoTr('uploadError') }}</h2>
5
5
  <p class="tw-mt-0 tw-text-grayscale-600 tw-text-base tw-text-center">
6
6
  {{ errorMessage }}
7
7
  </p>
@@ -11,7 +11,7 @@
11
11
  class="tw-flex tw-w-full tw-items-center tw-justify-center tw-border-0 tw-border-t tw-border-black/10 tw-border-solid tw-py-4 tw-px-8"
12
12
  >
13
13
  <Button
14
- label="Cancel"
14
+ :label="uploadYourLogoTr('cancel')"
15
15
  size="large"
16
16
  variant="outline"
17
17
  container-classes="tw-mx-2"
@@ -28,7 +28,7 @@
28
28
  />
29
29
 
30
30
  <Button
31
- label="Upload your logo"
31
+ :label="uploadYourLogoTr('uploadYourLogoText')"
32
32
  size="large"
33
33
  variant="primary-with-icon"
34
34
  icon="chevron-right-wide"
@@ -39,7 +39,8 @@
39
39
  </div>
40
40
  </template>
41
41
  <script>
42
- import Button from '../../../../src/atoms/components/Button/Button.vue';
42
+ import Button from '../../../atoms/components/Button/Button.vue';
43
+ import { uploadYourLogoTr } from '../../../useSharedLibTranslate';
43
44
 
44
45
  export default {
45
46
  components: {
@@ -52,6 +53,11 @@ export default {
52
53
  default: null,
53
54
  },
54
55
  },
56
+ setup() {
57
+ return {
58
+ uploadYourLogoTr,
59
+ };
60
+ },
55
61
  methods: {
56
62
  cancel() {
57
63
  this.$emit('on-cancel');
@@ -1,9 +1,9 @@
1
1
  <template>
2
2
  <div class="tw-w-full">
3
3
  <div class="tw-px-8 tw-pb-8">
4
- <h2 class="tw-mb-4 tw-text-4xl tw-text-black tw-font-bold">Are you sure you want to exit?</h2>
4
+ <h2 class="tw-mb-4 tw-text-4xl tw-text-black tw-font-bold">{{ uploadYourLogoTr('exitConfirmationTitle') }}</h2>
5
5
  <p class="tw-mt-0 tw-text-grayscale-600 tw-text-base tw-text-center">
6
- Your logo upload progress in this session will be lost
6
+ {{ uploadYourLogoTr('exitConfirmationDescription') }}
7
7
  </p>
8
8
  </div>
9
9
 
@@ -11,7 +11,7 @@
11
11
  class="tw-flex tw-w-full tw-items-center tw-justify-center tw-border-0 tw-border-t tw-border-black/10 tw-border-solid tw-py-4 tw-px-8"
12
12
  >
13
13
  <Button
14
- label="No"
14
+ :label="uploadYourLogoTr('no')"
15
15
  size="large"
16
16
  variant="outline"
17
17
  container-classes="tw-mx-2"
@@ -19,7 +19,7 @@
19
19
  @on-click="goBack"
20
20
  />
21
21
  <Button
22
- label="Yes"
22
+ :label="uploadYourLogoTr('yes')"
23
23
  size="large"
24
24
  variant="primary-with-icon"
25
25
  icon="chevron-right-wide"
@@ -31,12 +31,18 @@
31
31
  </div>
32
32
  </template>
33
33
  <script>
34
- import Button from '../../../../src/atoms/components/Button/Button.vue';
34
+ import Button from '../../../atoms/components/Button/Button.vue';
35
+ import { uploadYourLogoTr } from '../../../useSharedLibTranslate';
35
36
 
36
37
  export default {
37
38
  components: {
38
39
  Button,
39
40
  },
41
+ setup() {
42
+ return {
43
+ uploadYourLogoTr,
44
+ };
45
+ },
40
46
  methods: {
41
47
  goBack() {
42
48
  this.$emit('on-go-back');
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <LogoUploadingLoader loading-text="Uploading and converting your logo..." />
2
+ <LogoUploadingLoader :loading-text="uploadYourLogoTr('uploadingAndConverting')" />
3
3
  </template>
4
4
  <script>
5
5
  import brandCrowdClient from '../../clients/brand-crowd-api.client';
@@ -7,6 +7,7 @@ import LogoUploadingLoader from './LogoUploadingLoader.vue';
7
7
 
8
8
  import trackEvent from '../../helpers/tracking';
9
9
  import hexDiff from '../../helpers/hex-diff';
10
+ import { uploadYourLogoTr } from '../../../useSharedLibTranslate';
10
11
 
11
12
  export default {
12
13
  components: {
@@ -23,6 +24,11 @@ export default {
23
24
  required: true,
24
25
  },
25
26
  },
27
+ setup() {
28
+ return {
29
+ uploadYourLogoTr,
30
+ };
31
+ },
26
32
  data() {
27
33
  return {
28
34
  isRunning: false,
@@ -12,8 +12,8 @@
12
12
  <p class="tw-text-grayscale-600 tw-font-bold tw-text-xs tw-mb-2 tw-uppercase">
13
13
  {{ currentStepProgressLabel }}
14
14
  </p>
15
- <h2 class="tw-mb-4 tw-text-4xl tw-text-black tw-font-bold">Upload your logo</h2>
16
- <p class="tw-mt-0 tw-pb-8">Please ensure you have the right to use any image you upload.</p>
15
+ <h2 class="tw-mb-4 tw-text-4xl tw-text-black tw-font-bold">{{ uploadYourLogoTr('uploadYourLogoText') }}</h2>
16
+ <p class="tw-mt-0 tw-pb-8">{{ uploadYourLogoTr('disclaimerText') }}</p>
17
17
  <UploadYourLogoDropzone :is-modal="true" @on-upload-success="onLogoFileChange"> </UploadYourLogoDropzone>
18
18
  </div>
19
19
 
@@ -70,7 +70,7 @@
70
70
  @on-logo-file-change="onLogoFileChange"
71
71
  />
72
72
 
73
- <LogoUploadingLoader v-if="isCurrentlySaving" loading-text="Generating Designs..." />
73
+ <LogoUploadingLoader v-if="isCurrentlySaving" :loading-text="uploadYourLogoTr('generatingDesigns')" />
74
74
 
75
75
  <LogoUploadExitConfirmation
76
76
  v-if="isAttemptingToExit && currentStep > 1"
@@ -85,6 +85,7 @@
85
85
  import brandCrowdClient from '../../clients/brand-crowd-api.client';
86
86
  import Errors from '../../constants/error-constants';
87
87
  import trackEvent from '../../helpers/tracking';
88
+ import { uploadYourLogoTr } from '../../../useSharedLibTranslate';
88
89
 
89
90
  import LogoUploadModal from './LogoUploadModal.vue';
90
91
  import UploadYourLogoDropzone from '../UploadYourLogoDropzone/UploadYourLogoDropzone.vue';
@@ -127,6 +128,11 @@ export default {
127
128
  default: false,
128
129
  },
129
130
  },
131
+ setup() {
132
+ return {
133
+ uploadYourLogoTr,
134
+ };
135
+ },
130
136
  data() {
131
137
  return {
132
138
  currentStep: this.useDropzone ? 0 : 1,
@@ -145,9 +151,9 @@ export default {
145
151
  currentStepProgressLabel() {
146
152
  if (this.includeDropzoneInModal) {
147
153
  const currentStepDisplay = this.currentStep === 0 ? 1 : this.currentStep;
148
- return `Step ${currentStepDisplay} of 5`;
154
+ return this.uploadYourLogoTr('stepOf', { current: currentStepDisplay, total: 5 });
149
155
  }
150
- return `Step ${this.currentStep - 1} of 4`;
156
+ return this.uploadYourLogoTr('stepOf', { current: this.currentStep - 1, total: 4 });
151
157
  },
152
158
  hasError() {
153
159
  return !!this.errorMessage;
@@ -0,0 +1,28 @@
1
+ {
2
+ "uploadYourLogo": {
3
+ "uploadYourLogoText": "Upload your logo-",
4
+ "disclaimerText": "Please ensure you have the right to use any image you upload.-",
5
+ "generatingDesigns": "Generating Designs...-",
6
+ "uploadingAndConverting": "Uploading and converting your logo...-",
7
+ "stepOf": "Step {current} of {total}-",
8
+ "uploadError": "Upload Error-",
9
+ "cancel": "Cancel-",
10
+ "continue": "Continue-",
11
+ "back": "Back-",
12
+ "no": "No-",
13
+ "yes": "Yes-",
14
+ "businessName": "Business Name-",
15
+ "businessNameDescription": "Enter your logo text or business name-",
16
+ "cropYourLogo": "Crop your logo-",
17
+ "cropDescription": "Crop your logo design to fit our logo maker canvas-",
18
+ "logoPreview": "Logo preview-",
19
+ "logoPreviewDescription": "Your logo looks great! Help us setup your logo by completing the next steps.-",
20
+ "primaryTextColor": "Primary text color-",
21
+ "primaryTextColorDescription": "Help us setup your logo by confirming the primary text color. Choose from the available colors or click the plus icon to add another.-",
22
+ "backgroundColor": "Background color-",
23
+ "backgroundColorDescription": "Help us setup your logo by confirming the background color. Choose from the available colors or click the plus icon to add another.-",
24
+ "colorsWarning": "Your text and background colors are too similar. Please choose a more distinct pairing to ensure they create quality designs.-",
25
+ "exitConfirmationTitle": "Are you sure you want to exit?-",
26
+ "exitConfirmationDescription": "Your logo upload progress in this session will be lost-"
27
+ }
28
+ }
@@ -35,4 +35,6 @@ const tr = (key, valuesToInterpolate = {}) => {
35
35
  return translated;
36
36
  };
37
37
 
38
- export { setLocaleAsync, tr };
38
+ const uploadYourLogoTr = (key, valuesToInterpolate = {}) => tr(`uploadYourLogo.${key}`, valuesToInterpolate);
39
+
40
+ export { setLocaleAsync, tr, uploadYourLogoTr };
@@ -1 +0,0 @@
1
- .email-input[data-v-bb7289b6]{background-image:url(https://dcstatic.com/images/icons/forms/forms-email-58207f9a5c.svg);background-position:top 50% left .5rem}.password-input[data-v-bb7289b6]{background-image:url(https://dcstatic.com/images/icons/forms/forms-password-ff538cd5e4.svg);background-position:top 50% left .5rem}.tw-pl-10-important[data-v-bb7289b6]{padding-left:2.5rem!important}.email-input[data-v-965d0268]{background-image:url(https://dcstatic.com/images/icons/forms/forms-email-58207f9a5c.svg);background-position:top 50% left .5rem}.tw-pl-10-important[data-v-965d0268]{padding-left:2.5rem!important}.password-input[data-v-da12bb42]{background-image:url(https://dcstatic.com/images/icons/forms/forms-password-ff538cd5e4.svg);background-position:top 50% left .5rem}.tw-pl-10-important[data-v-da12bb42]{padding-left:2.5rem!important}