@designcrowd/fe-shared-lib 1.2.0-tr-3 → 1.2.0-tr-4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@designcrowd/fe-shared-lib",
3
- "version": "1.2.0-tr-3",
3
+ "version": "1.2.0-tr-4",
4
4
  "scripts": {
5
5
  "start": "run-p storybook watch:translation",
6
6
  "build": "npm run build:css --production",
@@ -719,9 +719,6 @@ video {
719
719
  .theme-brandCrowd .tw-ml-auto {
720
720
  margin-left: auto;
721
721
  }
722
- .theme-brandCrowd .tw-mr-1 {
723
- margin-right: 0.25rem;
724
- }
725
722
  .theme-brandCrowd .tw-mr-2 {
726
723
  margin-right: 0.5rem;
727
724
  }
@@ -830,10 +827,6 @@ video {
830
827
  .theme-brandCrowd .tw-h-auto {
831
828
  height: auto;
832
829
  }
833
- .theme-brandCrowd .tw-h-fit {
834
- height: -moz-fit-content;
835
- height: fit-content;
836
- }
837
830
  .theme-brandCrowd .tw-h-full {
838
831
  height: 100%;
839
832
  }
@@ -1453,17 +1446,6 @@ video {
1453
1446
  .theme-brandCrowd .tw-bg-opacity-80 {
1454
1447
  --tw-bg-opacity: 0.8;
1455
1448
  }
1456
- .theme-brandCrowd .tw-bg-gradient-to-t {
1457
- background-image: linear-gradient(to top, var(--tw-gradient-stops));
1458
- }
1459
- .theme-brandCrowd .tw-from-\[\#d946ef\] {
1460
- --tw-gradient-from: #d946ef var(--tw-gradient-from-position);
1461
- --tw-gradient-to: rgb(217 70 239 / 0) var(--tw-gradient-to-position);
1462
- --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
1463
- }
1464
- .theme-brandCrowd .tw-to-\[\#8b5cf6\] {
1465
- --tw-gradient-to: #8b5cf6 var(--tw-gradient-to-position);
1466
- }
1467
1449
  .theme-brandCrowd .tw-bg-no-repeat {
1468
1450
  background-repeat: no-repeat;
1469
1451
  }
@@ -2041,10 +2023,6 @@ video {
2041
2023
  --tw-bg-opacity: 1;
2042
2024
  background-color: rgb(0 121 172 / var(--tw-bg-opacity));
2043
2025
  }
2044
- .theme-brandCrowd .hover\:tw-bg-primary-100:hover {
2045
- --tw-bg-opacity: 1;
2046
- background-color: rgb(252 209 217 / var(--tw-bg-opacity));
2047
- }
2048
2026
  .theme-brandCrowd .hover\:tw-bg-primary-400:hover {
2049
2027
  --tw-bg-opacity: 1;
2050
2028
  background-color: rgb(245 73 101 / var(--tw-bg-opacity));
@@ -2109,10 +2087,6 @@ video {
2109
2087
  --tw-shadow-color: #0097D7 !important;
2110
2088
  --tw-shadow: var(--tw-shadow-colored) !important;
2111
2089
  }
2112
- .theme-brandCrowd .hover\:tw-brightness-\[0\.85\]:hover {
2113
- --tw-brightness: brightness(0.85);
2114
- filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
2115
- }
2116
2090
  .theme-brandCrowd .focus\:tw-border-error-600:focus {
2117
2091
  --tw-border-opacity: 1;
2118
2092
  border-color: rgb(194 22 50 / var(--tw-border-opacity));
@@ -719,9 +719,6 @@ video {
719
719
  .theme-brandPage .tw-ml-auto {
720
720
  margin-left: auto;
721
721
  }
722
- .theme-brandPage .tw-mr-1 {
723
- margin-right: 0.25rem;
724
- }
725
722
  .theme-brandPage .tw-mr-2 {
726
723
  margin-right: 0.5rem;
727
724
  }
@@ -830,10 +827,6 @@ video {
830
827
  .theme-brandPage .tw-h-auto {
831
828
  height: auto;
832
829
  }
833
- .theme-brandPage .tw-h-fit {
834
- height: -moz-fit-content;
835
- height: fit-content;
836
- }
837
830
  .theme-brandPage .tw-h-full {
838
831
  height: 100%;
839
832
  }
@@ -1301,17 +1294,6 @@ video {
1301
1294
  .theme-brandPage .tw-bg-opacity-80 {
1302
1295
  --tw-bg-opacity: 0.8;
1303
1296
  }
1304
- .theme-brandPage .tw-bg-gradient-to-t {
1305
- background-image: linear-gradient(to top, var(--tw-gradient-stops));
1306
- }
1307
- .theme-brandPage .tw-from-\[\#d946ef\] {
1308
- --tw-gradient-from: #d946ef var(--tw-gradient-from-position);
1309
- --tw-gradient-to: rgb(217 70 239 / 0) var(--tw-gradient-to-position);
1310
- --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
1311
- }
1312
- .theme-brandPage .tw-to-\[\#8b5cf6\] {
1313
- --tw-gradient-to: #8b5cf6 var(--tw-gradient-to-position);
1314
- }
1315
1297
  .theme-brandPage .tw-bg-no-repeat {
1316
1298
  background-repeat: no-repeat;
1317
1299
  }
@@ -1809,10 +1791,6 @@ video {
1809
1791
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
1810
1792
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
1811
1793
  }
1812
- .theme-brandPage .hover\:tw-brightness-\[0\.85\]:hover {
1813
- --tw-brightness: brightness(0.85);
1814
- filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
1815
- }
1816
1794
  .theme-brandPage .focus\:tw-border-grayscale-600:focus {
1817
1795
  --tw-border-opacity: 1;
1818
1796
  border-color: rgb(94 94 94 / var(--tw-border-opacity));
@@ -719,9 +719,6 @@ video {
719
719
  .theme-crazyDomains .tw-ml-auto {
720
720
  margin-left: auto;
721
721
  }
722
- .theme-crazyDomains .tw-mr-1 {
723
- margin-right: 0.25rem;
724
- }
725
722
  .theme-crazyDomains .tw-mr-2 {
726
723
  margin-right: 0.5rem;
727
724
  }
@@ -830,10 +827,6 @@ video {
830
827
  .theme-crazyDomains .tw-h-auto {
831
828
  height: auto;
832
829
  }
833
- .theme-crazyDomains .tw-h-fit {
834
- height: -moz-fit-content;
835
- height: fit-content;
836
- }
837
830
  .theme-crazyDomains .tw-h-full {
838
831
  height: 100%;
839
832
  }
@@ -1453,17 +1446,6 @@ video {
1453
1446
  .theme-crazyDomains .tw-bg-opacity-80 {
1454
1447
  --tw-bg-opacity: 0.8;
1455
1448
  }
1456
- .theme-crazyDomains .tw-bg-gradient-to-t {
1457
- background-image: linear-gradient(to top, var(--tw-gradient-stops));
1458
- }
1459
- .theme-crazyDomains .tw-from-\[\#d946ef\] {
1460
- --tw-gradient-from: #d946ef var(--tw-gradient-from-position);
1461
- --tw-gradient-to: rgb(217 70 239 / 0) var(--tw-gradient-to-position);
1462
- --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
1463
- }
1464
- .theme-crazyDomains .tw-to-\[\#8b5cf6\] {
1465
- --tw-gradient-to: #8b5cf6 var(--tw-gradient-to-position);
1466
- }
1467
1449
  .theme-crazyDomains .tw-bg-no-repeat {
1468
1450
  background-repeat: no-repeat;
1469
1451
  }
@@ -2041,10 +2023,6 @@ video {
2041
2023
  --tw-bg-opacity: 1;
2042
2024
  background-color: rgb(0 129 191 / var(--tw-bg-opacity));
2043
2025
  }
2044
- .theme-crazyDomains .hover\:tw-bg-primary-100:hover {
2045
- --tw-bg-opacity: 1;
2046
- background-color: rgb(226 238 213 / var(--tw-bg-opacity));
2047
- }
2048
2026
  .theme-crazyDomains .hover\:tw-bg-primary-400:hover {
2049
2027
  --tw-bg-opacity: 1;
2050
2028
  background-color: rgb(140 189 89 / var(--tw-bg-opacity));
@@ -2109,10 +2087,6 @@ video {
2109
2087
  --tw-shadow-color: #00A1EF !important;
2110
2088
  --tw-shadow: var(--tw-shadow-colored) !important;
2111
2089
  }
2112
- .theme-crazyDomains .hover\:tw-brightness-\[0\.85\]:hover {
2113
- --tw-brightness: brightness(0.85);
2114
- filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
2115
- }
2116
2090
  .theme-crazyDomains .focus\:tw-border-error-600:focus {
2117
2091
  --tw-border-opacity: 1;
2118
2092
  border-color: rgb(186 24 79 / var(--tw-border-opacity));
@@ -719,9 +719,6 @@ video {
719
719
  .theme-designCom .tw-ml-auto {
720
720
  margin-left: auto;
721
721
  }
722
- .theme-designCom .tw-mr-1 {
723
- margin-right: 0.25rem;
724
- }
725
722
  .theme-designCom .tw-mr-2 {
726
723
  margin-right: 0.5rem;
727
724
  }
@@ -830,10 +827,6 @@ video {
830
827
  .theme-designCom .tw-h-auto {
831
828
  height: auto;
832
829
  }
833
- .theme-designCom .tw-h-fit {
834
- height: -moz-fit-content;
835
- height: fit-content;
836
- }
837
830
  .theme-designCom .tw-h-full {
838
831
  height: 100%;
839
832
  }
@@ -1453,17 +1446,6 @@ video {
1453
1446
  .theme-designCom .tw-bg-opacity-80 {
1454
1447
  --tw-bg-opacity: 0.8;
1455
1448
  }
1456
- .theme-designCom .tw-bg-gradient-to-t {
1457
- background-image: linear-gradient(to top, var(--tw-gradient-stops));
1458
- }
1459
- .theme-designCom .tw-from-\[\#d946ef\] {
1460
- --tw-gradient-from: #d946ef var(--tw-gradient-from-position);
1461
- --tw-gradient-to: rgb(217 70 239 / 0) var(--tw-gradient-to-position);
1462
- --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
1463
- }
1464
- .theme-designCom .tw-to-\[\#8b5cf6\] {
1465
- --tw-gradient-to: #8b5cf6 var(--tw-gradient-to-position);
1466
- }
1467
1449
  .theme-designCom .tw-bg-no-repeat {
1468
1450
  background-repeat: no-repeat;
1469
1451
  }
@@ -2041,10 +2023,6 @@ video {
2041
2023
  --tw-bg-opacity: 1;
2042
2024
  background-color: rgb(50 71 197 / var(--tw-bg-opacity));
2043
2025
  }
2044
- .theme-designCom .hover\:tw-bg-primary-100:hover {
2045
- --tw-bg-opacity: 1;
2046
- background-color: rgb(236 238 254 / var(--tw-bg-opacity));
2047
- }
2048
2026
  .theme-designCom .hover\:tw-bg-primary-400:hover {
2049
2027
  --tw-bg-opacity: 1;
2050
2028
  background-color: rgb(121 139 249 / var(--tw-bg-opacity));
@@ -2109,10 +2087,6 @@ video {
2109
2087
  --tw-shadow-color: #3f59f6 !important;
2110
2088
  --tw-shadow: var(--tw-shadow-colored) !important;
2111
2089
  }
2112
- .theme-designCom .hover\:tw-brightness-\[0\.85\]:hover {
2113
- --tw-brightness: brightness(0.85);
2114
- filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
2115
- }
2116
2090
  .theme-designCom .focus\:tw-border-error-600:focus {
2117
2091
  --tw-border-opacity: 1;
2118
2092
  border-color: rgb(182 58 42 / var(--tw-border-opacity));
@@ -719,9 +719,6 @@ video {
719
719
  .theme-designCrowd .tw-ml-auto {
720
720
  margin-left: auto;
721
721
  }
722
- .theme-designCrowd .tw-mr-1 {
723
- margin-right: 0.25rem;
724
- }
725
722
  .theme-designCrowd .tw-mr-2 {
726
723
  margin-right: 0.5rem;
727
724
  }
@@ -830,10 +827,6 @@ video {
830
827
  .theme-designCrowd .tw-h-auto {
831
828
  height: auto;
832
829
  }
833
- .theme-designCrowd .tw-h-fit {
834
- height: -moz-fit-content;
835
- height: fit-content;
836
- }
837
830
  .theme-designCrowd .tw-h-full {
838
831
  height: 100%;
839
832
  }
@@ -1453,17 +1446,6 @@ video {
1453
1446
  .theme-designCrowd .tw-bg-opacity-80 {
1454
1447
  --tw-bg-opacity: 0.8;
1455
1448
  }
1456
- .theme-designCrowd .tw-bg-gradient-to-t {
1457
- background-image: linear-gradient(to top, var(--tw-gradient-stops));
1458
- }
1459
- .theme-designCrowd .tw-from-\[\#d946ef\] {
1460
- --tw-gradient-from: #d946ef var(--tw-gradient-from-position);
1461
- --tw-gradient-to: rgb(217 70 239 / 0) var(--tw-gradient-to-position);
1462
- --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
1463
- }
1464
- .theme-designCrowd .tw-to-\[\#8b5cf6\] {
1465
- --tw-gradient-to: #8b5cf6 var(--tw-gradient-to-position);
1466
- }
1467
1449
  .theme-designCrowd .tw-bg-no-repeat {
1468
1450
  background-repeat: no-repeat;
1469
1451
  }
@@ -2041,10 +2023,6 @@ video {
2041
2023
  --tw-bg-opacity: 1;
2042
2024
  background-color: rgb(14 121 188 / var(--tw-bg-opacity));
2043
2025
  }
2044
- .theme-designCrowd .hover\:tw-bg-primary-100:hover {
2045
- --tw-bg-opacity: 1;
2046
- background-color: rgb(207 234 251 / var(--tw-bg-opacity));
2047
- }
2048
2026
  .theme-designCrowd .hover\:tw-bg-primary-400:hover {
2049
2027
  --tw-bg-opacity: 1;
2050
2028
  background-color: rgb(65 172 239 / var(--tw-bg-opacity));
@@ -2109,10 +2087,6 @@ video {
2109
2087
  --tw-shadow-color: #1197EB !important;
2110
2088
  --tw-shadow: var(--tw-shadow-colored) !important;
2111
2089
  }
2112
- .theme-designCrowd .hover\:tw-brightness-\[0\.85\]:hover {
2113
- --tw-brightness: brightness(0.85);
2114
- filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
2115
- }
2116
2090
  .theme-designCrowd .focus\:tw-border-error-600:focus {
2117
2091
  --tw-border-opacity: 1;
2118
2092
  border-color: rgb(195 50 48 / var(--tw-border-opacity));
@@ -1,3 +1,5 @@
1
1
  {
2
- "test": "Publish Brand Page"
2
+ "publishModal": {
3
+ "test": "EN-Publish Brand Page"
4
+ }
3
5
  }
@@ -1,3 +1,5 @@
1
1
  {
2
- "test": "DE-Publish Brand Page"
2
+ "publishModal": {
3
+ "test": "DE-Publish Brand Page"
4
+ }
3
5
  }
@@ -1,3 +1,5 @@
1
1
  {
2
- "test": "ES-Publish Brand Page"
2
+ "publishModal": {
3
+ "test": "ES-Publish Brand Page"
4
+ }
3
5
  }
@@ -1,3 +1,5 @@
1
1
  {
2
- "test": "FR-Publish Brand Page"
2
+ "publishModal": {
3
+ "test": "FR-Publish Brand Page"
4
+ }
3
5
  }
@@ -1,3 +1,5 @@
1
1
  {
2
- "test": "PT-Publish Brand Page"
2
+ "publishModal": {
3
+ "test": "PT-Publish Brand Page"
4
+ }
3
5
  }
@@ -50,7 +50,7 @@
50
50
  <div v-if="isNotPublished || isSlugEditMode" class="tw-mt-4">
51
51
  <PublishBrandPageCard
52
52
  v-if="!hasPurchasedDomains"
53
- :imgUrl="iconUrl"
53
+ :img-url="iconUrl"
54
54
  title="Free Address"
55
55
  description="Choose a free address to publish now. You can always edit the URL later"
56
56
  :is-design-com="isDesignCom"
@@ -84,11 +84,11 @@
84
84
  data-test-brand-page-publish-button
85
85
  variant="primary"
86
86
  size="small-medium"
87
- @on-click="onPublish"
88
87
  :full-width="isMobile"
89
88
  :class="{
90
89
  'tw-uppercase': !isDesignCom,
91
90
  }"
91
+ @on-click="onPublish"
92
92
  />
93
93
  </div>
94
94
  </template>
@@ -245,19 +245,21 @@
245
245
  </div>
246
246
  </template>
247
247
  <script>
248
- import Modal from '../../../../src/atoms/components/Modal/Modal.vue';
248
+ import { computed } from 'vue';
249
+ import Modal from '../../../atoms/components/Modal/Modal.vue';
249
250
  import PublishBrandPageCard from './PublishBrandPageCard.vue';
250
- import TextInput from '../../../../src/atoms/components/TextInput/TextInput.vue';
251
- import Dropdown from '../../../../src/atoms/components/Dropdown/Dropdown.vue';
252
- import DropdownItem from '../../../../src/atoms/components/Dropdown/DropdownItem.vue';
253
- import Button from '../../../../src/atoms/components/Button/Button.vue';
254
- import TextCopyField from '../../../../src/atoms/components/TextCopyField/TextCopyField.vue';
251
+ import TextInput from '../../../atoms/components/TextInput/TextInput.vue';
252
+ import Dropdown from '../../../atoms/components/Dropdown/Dropdown.vue';
253
+ import DropdownItem from '../../../atoms/components/Dropdown/DropdownItem.vue';
254
+ import Button from '../../../atoms/components/Button/Button.vue';
255
+ import TextCopyField from '../../../atoms/components/TextCopyField/TextCopyField.vue';
255
256
 
256
257
  import SellDomainNameSearchWithResults from '../SellDomainNameSearchWithResults/SellDomainNameSearchWithResults.vue';
257
258
  import SellDomainNameListModal from '../SellDomainNameListModal/SellDomainNameListModal.vue';
258
259
  import brandCrowdApiClient from '../../clients/brand-crowd-api.client';
259
260
  import Events, { sitePublishedModal } from '../../constants/event-constants';
260
261
  import mediaQueryMixin from '../../mixins/mediaQueryMixin';
262
+ import { tr } from '../../../useSharedLibTranslate';
261
263
 
262
264
  const headerSubtitle = 'Buy matching domain name for your brand';
263
265
 
@@ -412,6 +414,12 @@ export default {
412
414
  'on-view-more-domains',
413
415
  'on-slug-changed',
414
416
  ],
417
+ setup() {
418
+ return {
419
+ tr,
420
+ testMessage: computed(() => tr('publishModal.testMessage')),
421
+ };
422
+ },
415
423
  data() {
416
424
  return {
417
425
  DOMAIN_TYPES,
@@ -485,6 +493,7 @@ export default {
485
493
  this.$emit('radio-button-changed', domain);
486
494
  },
487
495
  onCloseModal() {
496
+ console.log(this.testMessage);
488
497
  this.$emit('close-modal');
489
498
  this.$emit('on-hide-domain-modal');
490
499
  },
@@ -1,3 +1,5 @@
1
1
  {
2
- "test": "Publish Brand Page"
2
+ "publishModal": {
3
+ "test": "EN-Publish Brand Page"
4
+ }
3
5
  }
@@ -1,3 +1,5 @@
1
1
  {
2
- "test": "DE-Publish Brand Page"
2
+ "publishModal": {
3
+ "test": "DE-Publish Brand Page"
4
+ }
3
5
  }
@@ -1,3 +1,5 @@
1
1
  {
2
- "test": "ES-Publish Brand Page"
2
+ "publishModal": {
3
+ "test": "ES-Publish Brand Page"
4
+ }
3
5
  }
@@ -1,3 +1,5 @@
1
1
  {
2
- "test": "FR-Publish Brand Page"
2
+ "publishModal": {
3
+ "test": "FR-Publish Brand Page"
4
+ }
3
5
  }
@@ -1,3 +1,5 @@
1
1
  {
2
- "test": "PT-Publish Brand Page"
2
+ "publishModal": {
3
+ "test": "PT-Publish Brand Page"
4
+ }
3
5
  }