pds-dev-kit-web 2.0.9-alpha.6 → 2.0.9-alpha.7

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.
@@ -22,6 +22,7 @@
22
22
  "str_payment_option_one_time": "One-time Payment",
23
23
  "str_payment_option_subs_regularly": "Regular Payment",
24
24
  "str_5831": "{{price}} USD",
25
- "str_1460": "Start for Free"
25
+ "str_start": "Start",
26
+ "str_free": "FREE"
26
27
  }
27
28
  }
@@ -22,6 +22,7 @@
22
22
  "str_payment_option_one_time": "One-time Payment",
23
23
  "str_payment_option_subs_regularly": "Regular Payment",
24
24
  "str_5831": "{{price}} USD",
25
- "str_1460": "Start for Free"
25
+ "str_start": "Start",
26
+ "str_free": "FREE"
26
27
  }
27
28
  }
@@ -22,6 +22,7 @@
22
22
  "str_payment_option_one_time": "Isang beses na pagbayad",
23
23
  "str_payment_option_subs_regularly": "Regular na Pagbabayad",
24
24
  "str_5831": "{{price}} USD",
25
- "str_1460": "Magsimula nang Libre"
25
+ "str_start": "Start",
26
+ "str_free": "FREE"
26
27
  }
27
28
  }
@@ -23,7 +23,8 @@ declare const locale: {
23
23
  str_payment_option_one_time: string;
24
24
  str_payment_option_subs_regularly: string;
25
25
  str_5831: string;
26
- str_1460: string;
26
+ str_start: string;
27
+ str_free: string;
27
28
  };
28
29
  };
29
30
  readonly en: {
@@ -50,7 +51,8 @@ declare const locale: {
50
51
  str_payment_option_one_time: string;
51
52
  str_payment_option_subs_regularly: string;
52
53
  str_5831: string;
53
- str_1460: string;
54
+ str_start: string;
55
+ str_free: string;
54
56
  };
55
57
  };
56
58
  readonly ja: {
@@ -77,7 +79,8 @@ declare const locale: {
77
79
  str_payment_option_one_time: string;
78
80
  str_payment_option_subs_regularly: string;
79
81
  str_5831: string;
80
- str_1460: string;
82
+ str_start: string;
83
+ str_free: string;
81
84
  };
82
85
  };
83
86
  readonly es: {
@@ -104,7 +107,8 @@ declare const locale: {
104
107
  str_payment_option_one_time: string;
105
108
  str_payment_option_subs_regularly: string;
106
109
  str_5831: string;
107
- str_1460: string;
110
+ str_start: string;
111
+ str_free: string;
108
112
  };
109
113
  };
110
114
  readonly 'zh-cn': {
@@ -131,7 +135,8 @@ declare const locale: {
131
135
  str_payment_option_one_time: string;
132
136
  str_payment_option_subs_regularly: string;
133
137
  str_5831: string;
134
- str_1460: string;
138
+ str_start: string;
139
+ str_free: string;
135
140
  };
136
141
  };
137
142
  readonly 'zh-tw': {
@@ -158,7 +163,8 @@ declare const locale: {
158
163
  str_payment_option_one_time: string;
159
164
  str_payment_option_subs_regularly: string;
160
165
  str_5831: string;
161
- str_1460: string;
166
+ str_start: string;
167
+ str_free: string;
162
168
  };
163
169
  };
164
170
  readonly fil: {
@@ -185,7 +191,8 @@ declare const locale: {
185
191
  str_payment_option_one_time: string;
186
192
  str_payment_option_subs_regularly: string;
187
193
  str_5831: string;
188
- str_1460: string;
194
+ str_start: string;
195
+ str_free: string;
189
196
  };
190
197
  };
191
198
  };
@@ -22,6 +22,7 @@
22
22
  "str_payment_option_one_time": "One-time Payment",
23
23
  "str_payment_option_subs_regularly": "Regular Payment",
24
24
  "str_5831": "{{price}} USD",
25
- "str_1460": "Start for Free"
25
+ "str_start": "Start",
26
+ "str_free": "FREE"
26
27
  }
27
28
  }
@@ -22,6 +22,7 @@
22
22
  "str_payment_option_one_time": "1회 결제",
23
23
  "str_payment_option_subs_regularly": "정기 결제",
24
24
  "str_5831": "{{price}} USD",
25
- "str_1460": "무료로 시작하기"
25
+ "str_start": "시작하기",
26
+ "str_free": "무료"
26
27
  }
27
28
  }
@@ -22,6 +22,7 @@
22
22
  "str_payment_option_one_time": "一次性付款",
23
23
  "str_payment_option_subs_regularly": "定期付款",
24
24
  "str_5831": "{{price}} USD",
25
- "str_1460": "免费开始"
25
+ "str_start": "Start",
26
+ "str_free": "FREE"
26
27
  }
27
28
  }
@@ -22,6 +22,7 @@
22
22
  "str_payment_option_one_time": "結算一次",
23
23
  "str_payment_option_subs_regularly": "定期結算",
24
24
  "str_5831": "{{price}} USD",
25
- "str_1460": "免費開始"
25
+ "str_start": "Start",
26
+ "str_free": "FREE"
26
27
  }
27
28
  }
@@ -36,6 +36,13 @@ function MembershipPlanSheet(_a) {
36
36
  var productFeeText = (0, react_1.useMemo)(function () {
37
37
  var amount = fee.amount, currency = fee.currency;
38
38
  var price = (0, formatCurrency_1.default)(amount, currency);
39
+ switch (type) {
40
+ case 'COUPON_FREE_FINITE':
41
+ case 'COUPON_FREE_INFINITE':
42
+ case 'FREE_FINITE':
43
+ case 'FREE_INFINITE':
44
+ return t('str_free');
45
+ }
39
46
  switch (currency) {
40
47
  case 'KRW':
41
48
  return t('str_5339', { price: price });
@@ -52,7 +59,7 @@ function MembershipPlanSheet(_a) {
52
59
  case 'COUPON_FREE_INFINITE':
53
60
  case 'FREE_FINITE':
54
61
  case 'FREE_INFINITE':
55
- return t('str_1460');
62
+ return t('str_start');
56
63
  default:
57
64
  return itemActionButtonTextType;
58
65
  }
@@ -35,6 +35,13 @@ function MembershipPlanSheet(_a) {
35
35
  var productFeeText = (0, react_1.useMemo)(function () {
36
36
  var amount = fee.amount, currency = fee.currency;
37
37
  var price = (0, formatCurrency_1.default)(amount, currency);
38
+ switch (type) {
39
+ case 'COUPON_FREE_FINITE':
40
+ case 'COUPON_FREE_INFINITE':
41
+ case 'FREE_FINITE':
42
+ case 'FREE_INFINITE':
43
+ return t('str_free');
44
+ }
38
45
  switch (currency) {
39
46
  case 'KRW':
40
47
  return t('str_5339', { price: price });
@@ -51,7 +58,7 @@ function MembershipPlanSheet(_a) {
51
58
  case 'COUPON_FREE_INFINITE':
52
59
  case 'FREE_FINITE':
53
60
  case 'FREE_INFINITE':
54
- return t('str_1460');
61
+ return t('str_start');
55
62
  default:
56
63
  return itemActionButtonTextType;
57
64
  }
@@ -4,7 +4,7 @@ exports.MEMBERSHIP_SECTION_SUBSCRIPTION_PRODUCT_TYPE_TEXT = exports.MEMBERSHIP_S
4
4
  exports.COMMON_OVERLAY_IMAGE_SRC = 'https://static.publ.site/membership_card_deco.png';
5
5
  exports.MEMBERSHIP_SECTION_TONE_COLOR = {
6
6
  LIGHT: {
7
- contentBackgroundDimColor: '#F5F5F8B3',
7
+ contentBackgroundDimColor: '#F5F5F8CC',
8
8
  iconButtonBackgroundColor: '#FFFFFFFF',
9
9
  iconButtonBorderColor: '#E3E5E9FF',
10
10
  iconButtonDisabledBackgroundColor: '#FFFFFFFF',
@@ -19,7 +19,7 @@ exports.MEMBERSHIP_SECTION_TONE_COLOR = {
19
19
  emptyMembershipSheetTextLabelColor: '#68686BFF'
20
20
  },
21
21
  DARK: {
22
- contentBackgroundDimColor: '#25252699',
22
+ contentBackgroundDimColor: '#252526B3',
23
23
  iconButtonBackgroundColor: '#1E1E20FF',
24
24
  iconButtonBorderColor: '#404042FF',
25
25
  iconButtonDisabledBackgroundColor: '#151515FF',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web",
3
- "version": "2.0.9-alpha.6",
3
+ "version": "2.0.9-alpha.7",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",
package/release-note.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # PDS-DEV-KIT-WEB Release Notes
2
- ## [v2.0.9-alpha.6]
2
+ ## [v2.0.9-alpha.7]
3
3
 
4
4
  ## alpha|https://staging.storybook.publ.biz/
5
5