@commercetools-frontend-extensions/change-history 9.3.1 → 9.3.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.
|
@@ -135,7 +135,7 @@ var debounce__default = /*#__PURE__*/_interopDefault(debounce);
|
|
|
135
135
|
var RadioInput__default = /*#__PURE__*/_interopDefault(RadioInput);
|
|
136
136
|
|
|
137
137
|
// NOTE: This string will be replaced in the `prepare` script by the `scripts/version.js` file.
|
|
138
|
-
var version = "9.3.
|
|
138
|
+
var version = "9.3.2";
|
|
139
139
|
|
|
140
140
|
var fetchFeatureStatusQuery = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "FetchFeatureStatusQuery" }, variableDefinitions: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "allFeatures" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "reason" }, arguments: [], directives: [] }] } }] } }], loc: { start: 0, end: 84, source: { body: "query FetchFeatureStatusQuery {\n allFeatures {\n name\n value\n reason\n }\n}\n", name: "GraphQL request", locationOffset: { line: 1, column: 1 } } } };
|
|
141
141
|
/**
|
|
@@ -5399,10 +5399,7 @@ function ProductAddRemovePricePresenter(props) {
|
|
|
5399
5399
|
})), jsxRuntime.jsx("div", {
|
|
5400
5400
|
css: changeValueContainerStyles,
|
|
5401
5401
|
children: _mapInstanceProperty__default["default"](priceValue).call(priceValue, v => jsxRuntime.jsx("div", {
|
|
5402
|
-
children: v.value ?
|
|
5403
|
-
style: 'currency',
|
|
5404
|
-
currency: v.value.currencyCode
|
|
5405
|
-
}) : jsxRuntime.jsx(NoValueLabel, {})
|
|
5402
|
+
children: v.value ? experimentalComponents.formatMoney(v.value, intl) : jsxRuntime.jsx(NoValueLabel, {})
|
|
5406
5403
|
}, `${v.id}`))
|
|
5407
5404
|
})]
|
|
5408
5405
|
});
|
|
@@ -135,7 +135,7 @@ var debounce__default = /*#__PURE__*/_interopDefault(debounce);
|
|
|
135
135
|
var RadioInput__default = /*#__PURE__*/_interopDefault(RadioInput);
|
|
136
136
|
|
|
137
137
|
// NOTE: This string will be replaced in the `prepare` script by the `scripts/version.js` file.
|
|
138
|
-
var version = "9.3.
|
|
138
|
+
var version = "9.3.2";
|
|
139
139
|
|
|
140
140
|
var fetchFeatureStatusQuery = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "FetchFeatureStatusQuery" }, variableDefinitions: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "allFeatures" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "reason" }, arguments: [], directives: [] }] } }] } }], loc: { start: 0, end: 84, source: { body: "query FetchFeatureStatusQuery {\n allFeatures {\n name\n value\n reason\n }\n}\n", name: "GraphQL request", locationOffset: { line: 1, column: 1 } } } };
|
|
141
141
|
/**
|
|
@@ -5377,10 +5377,7 @@ function ProductAddRemovePricePresenter(props) {
|
|
|
5377
5377
|
})), jsxRuntime.jsx("div", {
|
|
5378
5378
|
css: changeValueContainerStyles,
|
|
5379
5379
|
children: _mapInstanceProperty__default["default"](priceValue).call(priceValue, v => jsxRuntime.jsx("div", {
|
|
5380
|
-
children: v.value ?
|
|
5381
|
-
style: 'currency',
|
|
5382
|
-
currency: v.value.currencyCode
|
|
5383
|
-
}) : jsxRuntime.jsx(NoValueLabel, {})
|
|
5380
|
+
children: v.value ? experimentalComponents.formatMoney(v.value, intl) : jsxRuntime.jsx(NoValueLabel, {})
|
|
5384
5381
|
}, `${v.id}`))
|
|
5385
5382
|
})]
|
|
5386
5383
|
});
|
|
@@ -80,7 +80,7 @@ import { oneLineTrim } from 'common-tags';
|
|
|
80
80
|
import { parseChunkImport, mapLocaleToIntlLocale } from '@commercetools-frontend/i18n';
|
|
81
81
|
|
|
82
82
|
// NOTE: This string will be replaced in the `prepare` script by the `scripts/version.js` file.
|
|
83
|
-
var version = "9.3.
|
|
83
|
+
var version = "9.3.2";
|
|
84
84
|
|
|
85
85
|
var fetchFeatureStatusQuery = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "FetchFeatureStatusQuery" }, variableDefinitions: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "allFeatures" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "reason" }, arguments: [], directives: [] }] } }] } }], loc: { start: 0, end: 84, source: { body: "query FetchFeatureStatusQuery {\n allFeatures {\n name\n value\n reason\n }\n}\n", name: "GraphQL request", locationOffset: { line: 1, column: 1 } } } };
|
|
86
86
|
/**
|
|
@@ -5344,10 +5344,7 @@ function ProductAddRemovePricePresenter(props) {
|
|
|
5344
5344
|
})), jsx("div", {
|
|
5345
5345
|
css: changeValueContainerStyles,
|
|
5346
5346
|
children: _mapInstanceProperty(priceValue).call(priceValue, v => jsx("div", {
|
|
5347
|
-
children: v.value ?
|
|
5348
|
-
style: 'currency',
|
|
5349
|
-
currency: v.value.currencyCode
|
|
5350
|
-
}) : jsx(NoValueLabel, {})
|
|
5347
|
+
children: v.value ? formatMoney(v.value, intl) : jsx(NoValueLabel, {})
|
|
5351
5348
|
}, `${v.id}`))
|
|
5352
5349
|
})]
|
|
5353
5350
|
});
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-frontend-extensions/change-history",
|
|
3
3
|
"description": "Change history shared components and utilities",
|
|
4
|
-
"version": "9.3.
|
|
4
|
+
"version": "9.3.2",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"deep-diff": "1.0.2",
|
|
26
26
|
"fast-equals": "4.0.3",
|
|
27
27
|
"formik": "2.4.6",
|
|
28
|
-
"lodash": "4.
|
|
28
|
+
"lodash": "4.18.1",
|
|
29
29
|
"memoize-one": "6.0.0",
|
|
30
30
|
"moment": "2.30.1",
|
|
31
31
|
"moment-timezone": "0.5.45",
|