@designcrowd/fe-shared-lib 1.2.0-ml-jj-5 → 1.2.0-ml-jj-6

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-ml-jj-5",
3
+ "version": "1.2.0-ml-jj-6",
4
4
  "scripts": {
5
5
  "start": "npm run storybook",
6
6
  "build": "npm run build:css --production",
@@ -31,10 +31,6 @@ const localePublishBrandPageModalContent = {
31
31
  publishedSuccessDescriptionLabel: 'Buy matching domain name for your brand',
32
32
  hasAlreadyPurchasedDomainCloseButtonLabel: 'No thanks, maybe later',
33
33
  },
34
- sellDomainNameListSearchResult: {
35
- domainSearchEmptyMessage: 'Sorry, we couldn\'t find any domain for "{domainNameSearchTerm}".',
36
- searchAnotherDomainMessage: 'Try searching with another domain name.',
37
- },
38
34
  },
39
35
  'en-test': {
40
36
  searchButtonLabel: '++Search',
@@ -57,10 +53,6 @@ const localePublishBrandPageModalContent = {
57
53
  publishedSuccessDescriptionLabel: '++Buy matching domain name for your brand',
58
54
  hasAlreadyPurchasedDomainCloseButtonLabel: '++No thanks, maybe later',
59
55
  },
60
- sellDomainNameListSearchResult: {
61
- domainSearchEmptyMessage: '++Sorry, we couldn\'t find any domain for "{domainNameSearchTerm}".',
62
- searchAnotherDomainMessage: '++Try searching with another domain name.',
63
- },
64
56
  },
65
57
  };
66
58
 
@@ -195,7 +195,7 @@
195
195
  :currency="userCurrency"
196
196
  :display-result-limit="4"
197
197
  :domain-search-location="sitePublishedModal"
198
- :content="content"
198
+ :search-button-label="content.searchButtonLabel"
199
199
  @on-change-search="onSearchTextChanged"
200
200
  />
201
201
  </div>
@@ -4,7 +4,7 @@
4
4
  :is-design-com="isDesignCom"
5
5
  :initial-search-term="initialSearchTerm"
6
6
  :show-white-search-background="showWhiteSearchBackground"
7
- :search-button-label="content.searchButtonLabel"
7
+ :search-button-label="searchButtonLabel"
8
8
  @onSearch="onSearchDomainName"
9
9
  />
10
10
  <SellDomainNameSearchResult
@@ -101,9 +101,9 @@ export default {
101
101
  type: Number,
102
102
  default: undefined,
103
103
  },
104
- content: {
105
- type: Object,
106
- required: true,
104
+ searchButtonLabel: {
105
+ type: String,
106
+ default: () => 'Search',
107
107
  },
108
108
  },
109
109
  data: () => ({