tg-core-components 6.0.0 → 6.0.2
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/es/components/Input/Input.js +1 -1
- package/es/widgets/ResponsibleGamingWidget/Timespan.js +1 -1
- package/es/widgets/ResponsibleGamingWidget/messages.js +1 -1
- package/lib/components/Input/Input.js +1 -1
- package/lib/widgets/ResponsibleGamingWidget/Timespan.js +1 -1
- package/lib/widgets/ResponsibleGamingWidget/messages.js +1 -1
- package/package.json +2 -2
|
@@ -375,7 +375,7 @@ var DefaultTimespan = function DefaultTimespan(_ref10) {
|
|
|
375
375
|
showCurrentValue && typeof getByPath(currentLimit, 'Amount') === 'number' && React.createElement(
|
|
376
376
|
'div',
|
|
377
377
|
{ className: 'ResponsibleGamingWidget__timespan-row' },
|
|
378
|
-
|
|
378
|
+
messages.get('message.responsiblegaming.current-limit'),
|
|
379
379
|
messages.getValue(currentLimit.Amount)
|
|
380
380
|
)
|
|
381
381
|
);
|
|
@@ -328,7 +328,7 @@ var messages = (_messages = {}, _defineProperty(_messages, 'header.responsible-g
|
|
|
328
328
|
Product = _ref24.Product;
|
|
329
329
|
return translate({
|
|
330
330
|
id: 'label.responsible-gaming.admin-limits-row',
|
|
331
|
-
defaultMessage: '{Timespan, select,\n 0 {Transaction}\n 1 {Daily}\n 7 {Weekly}\n 30 {Monthly}\n }: {Amount} {Product, select,\n Casino {(Only applies for casino games)}\n other {}\n }',
|
|
331
|
+
defaultMessage: '{Timespan, select,\n 0 {Transaction}\n 1 {Daily}\n 7 {Weekly}\n 30 {Monthly}\n other {Other}\n }: {Amount} {Product, select,\n Casino {(Only applies for casino games)}\n other {}\n }',
|
|
332
332
|
values: { Timespan: Timespan, Amount: Amount, Product: Product }
|
|
333
333
|
}, intl);
|
|
334
334
|
}), _messages);
|
|
@@ -25,7 +25,7 @@ var TGInput = function TGInput(_ref) {
|
|
|
25
25
|
props = _objectWithoutProperties(_ref, ['icon']);
|
|
26
26
|
|
|
27
27
|
var input = {
|
|
28
|
-
id: (0, _common.useId)(),
|
|
28
|
+
id: props.id || (0, _common.useId)(),
|
|
29
29
|
value: (0, _common.useValue)(props.value),
|
|
30
30
|
focus: (0, _common.useFocus)(),
|
|
31
31
|
touched: (0, _common.useTouched)(),
|
|
@@ -406,7 +406,7 @@ var DefaultTimespan = function DefaultTimespan(_ref10) {
|
|
|
406
406
|
showCurrentValue && typeof (0, _get2.default)(currentLimit, 'Amount') === 'number' && _react2.default.createElement(
|
|
407
407
|
'div',
|
|
408
408
|
{ className: 'ResponsibleGamingWidget__timespan-row' },
|
|
409
|
-
|
|
409
|
+
messages.get('message.responsiblegaming.current-limit'),
|
|
410
410
|
messages.getValue(currentLimit.Amount)
|
|
411
411
|
)
|
|
412
412
|
);
|
|
@@ -349,7 +349,7 @@ var messages = (_messages = {}, _defineProperty(_messages, 'header.responsible-g
|
|
|
349
349
|
Product = _ref24.Product;
|
|
350
350
|
return (0, _translate2.default)({
|
|
351
351
|
id: 'label.responsible-gaming.admin-limits-row',
|
|
352
|
-
defaultMessage: '{Timespan, select,\n 0 {Transaction}\n 1 {Daily}\n 7 {Weekly}\n 30 {Monthly}\n }: {Amount} {Product, select,\n Casino {(Only applies for casino games)}\n other {}\n }',
|
|
352
|
+
defaultMessage: '{Timespan, select,\n 0 {Transaction}\n 1 {Daily}\n 7 {Weekly}\n 30 {Monthly}\n other {Other}\n }: {Amount} {Product, select,\n Casino {(Only applies for casino games)}\n other {}\n }',
|
|
353
353
|
values: { Timespan: Timespan, Amount: Amount, Product: Product }
|
|
354
354
|
}, intl);
|
|
355
355
|
}), _messages);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tg-core-components",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.2",
|
|
4
4
|
"description": "tg-core-components",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -76,5 +76,5 @@
|
|
|
76
76
|
"webpack": "^3.0.0",
|
|
77
77
|
"webpack-blocks": "^1.0.0"
|
|
78
78
|
},
|
|
79
|
-
"gitHead": "
|
|
79
|
+
"gitHead": "78edb2cfc7752764a9260f01dd13dd5369c05e7d"
|
|
80
80
|
}
|