@commercetools-frontend-extensions/export-resources-modal 0.0.0-canary-20250227120018 → 0.0.0-canary-20250304112453

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.
@@ -1281,7 +1281,6 @@ const ExportPreferenceSection = () => {
1281
1281
  function ownKeys$4(e, r) { var t = _Object$keys__default["default"](e); if (_Object$getOwnPropertySymbols__default["default"]) { var o = _Object$getOwnPropertySymbols__default["default"](e); r && (o = _filterInstanceProperty__default["default"](o).call(o, function (r) { return _Object$getOwnPropertyDescriptor__default["default"](e, r).enumerable; })), t.push.apply(t, o); } return t; }
1282
1282
  function _objectSpread$4(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty__default["default"](_context = ownKeys$4(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](e, _Object$getOwnPropertyDescriptors__default["default"](t)) : _forEachInstanceProperty__default["default"](_context2 = ownKeys$4(Object(t))).call(_context2, function (r) { _Object$defineProperty__default["default"](e, r, _Object$getOwnPropertyDescriptor__default["default"](t, r)); }); } return e; }
1283
1283
  function ExportScopeSection() {
1284
- const intl = reactIntl.useIntl();
1285
1284
  const _useExportResourcesMo = useExportResourcesModalContext(),
1286
1285
  exportType = _useExportResourcesMo.exportType,
1287
1286
  totalResourcesCount = _useExportResourcesMo.totalResourcesCount,
@@ -1307,7 +1306,7 @@ function ExportScopeSection() {
1307
1306
  children: jsxRuntime.jsx(uiKit.Text.Body, {
1308
1307
  intlMessage: _objectSpread$4(_objectSpread$4({}, resourceTypeMessages[resourceType].exportScopeAll), {}, {
1309
1308
  values: {
1310
- total: intl.formatNumber(totalResourcesCount)
1309
+ total: totalResourcesCount
1311
1310
  }
1312
1311
  })
1313
1312
  })
@@ -1318,7 +1317,7 @@ function ExportScopeSection() {
1318
1317
  tone: !filters.total || !hasFilters ? 'tertiary' : undefined,
1319
1318
  intlMessage: filters.total ? _objectSpread$4(_objectSpread$4({}, resourceTypeMessages[resourceType].exportScopeFiltered), {}, {
1320
1319
  values: {
1321
- total: intl.formatNumber(filters.total)
1320
+ total: filters.total
1322
1321
  }
1323
1322
  }) : messages.exportScopeFilteredWithoutCount
1324
1323
  })
@@ -1329,7 +1328,7 @@ function ExportScopeSection() {
1329
1328
  tone: !selectedResourceIds?.length ? 'tertiary' : undefined,
1330
1329
  intlMessage: selectedResourceIds?.length ? _objectSpread$4(_objectSpread$4({}, resourceTypeMessages[resourceType].exportScopeSelected), {}, {
1331
1330
  values: {
1332
- total: intl.formatNumber(selectedResourceIds.length)
1331
+ total: selectedResourceIds.length
1333
1332
  }
1334
1333
  }) : messages.exportScopeSelectedWithoutCount
1335
1334
  })
@@ -1281,7 +1281,6 @@ const ExportPreferenceSection = () => {
1281
1281
  function ownKeys$4(e, r) { var t = _Object$keys__default["default"](e); if (_Object$getOwnPropertySymbols__default["default"]) { var o = _Object$getOwnPropertySymbols__default["default"](e); r && (o = _filterInstanceProperty__default["default"](o).call(o, function (r) { return _Object$getOwnPropertyDescriptor__default["default"](e, r).enumerable; })), t.push.apply(t, o); } return t; }
1282
1282
  function _objectSpread$4(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty__default["default"](_context = ownKeys$4(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](e, _Object$getOwnPropertyDescriptors__default["default"](t)) : _forEachInstanceProperty__default["default"](_context2 = ownKeys$4(Object(t))).call(_context2, function (r) { _Object$defineProperty__default["default"](e, r, _Object$getOwnPropertyDescriptor__default["default"](t, r)); }); } return e; }
1283
1283
  function ExportScopeSection() {
1284
- const intl = reactIntl.useIntl();
1285
1284
  const _useExportResourcesMo = useExportResourcesModalContext(),
1286
1285
  exportType = _useExportResourcesMo.exportType,
1287
1286
  totalResourcesCount = _useExportResourcesMo.totalResourcesCount,
@@ -1307,7 +1306,7 @@ function ExportScopeSection() {
1307
1306
  children: jsxRuntime.jsx(uiKit.Text.Body, {
1308
1307
  intlMessage: _objectSpread$4(_objectSpread$4({}, resourceTypeMessages[resourceType].exportScopeAll), {}, {
1309
1308
  values: {
1310
- total: intl.formatNumber(totalResourcesCount)
1309
+ total: totalResourcesCount
1311
1310
  }
1312
1311
  })
1313
1312
  })
@@ -1318,7 +1317,7 @@ function ExportScopeSection() {
1318
1317
  tone: !filters.total || !hasFilters ? 'tertiary' : undefined,
1319
1318
  intlMessage: filters.total ? _objectSpread$4(_objectSpread$4({}, resourceTypeMessages[resourceType].exportScopeFiltered), {}, {
1320
1319
  values: {
1321
- total: intl.formatNumber(filters.total)
1320
+ total: filters.total
1322
1321
  }
1323
1322
  }) : messages.exportScopeFilteredWithoutCount
1324
1323
  })
@@ -1329,7 +1328,7 @@ function ExportScopeSection() {
1329
1328
  tone: !selectedResourceIds?.length ? 'tertiary' : undefined,
1330
1329
  intlMessage: selectedResourceIds?.length ? _objectSpread$4(_objectSpread$4({}, resourceTypeMessages[resourceType].exportScopeSelected), {}, {
1331
1330
  values: {
1332
- total: intl.formatNumber(selectedResourceIds.length)
1331
+ total: selectedResourceIds.length
1333
1332
  }
1334
1333
  }) : messages.exportScopeSelectedWithoutCount
1335
1334
  })
@@ -1242,7 +1242,6 @@ const ExportPreferenceSection = () => {
1242
1242
  function ownKeys$4(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
1243
1243
  function _objectSpread$4(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys$4(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys$4(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
1244
1244
  function ExportScopeSection() {
1245
- const intl = useIntl();
1246
1245
  const _useExportResourcesMo = useExportResourcesModalContext(),
1247
1246
  exportType = _useExportResourcesMo.exportType,
1248
1247
  totalResourcesCount = _useExportResourcesMo.totalResourcesCount,
@@ -1268,7 +1267,7 @@ function ExportScopeSection() {
1268
1267
  children: jsx(Text.Body, {
1269
1268
  intlMessage: _objectSpread$4(_objectSpread$4({}, resourceTypeMessages[resourceType].exportScopeAll), {}, {
1270
1269
  values: {
1271
- total: intl.formatNumber(totalResourcesCount)
1270
+ total: totalResourcesCount
1272
1271
  }
1273
1272
  })
1274
1273
  })
@@ -1279,7 +1278,7 @@ function ExportScopeSection() {
1279
1278
  tone: !filters.total || !hasFilters ? 'tertiary' : undefined,
1280
1279
  intlMessage: filters.total ? _objectSpread$4(_objectSpread$4({}, resourceTypeMessages[resourceType].exportScopeFiltered), {}, {
1281
1280
  values: {
1282
- total: intl.formatNumber(filters.total)
1281
+ total: filters.total
1283
1282
  }
1284
1283
  }) : messages.exportScopeFilteredWithoutCount
1285
1284
  })
@@ -1290,7 +1289,7 @@ function ExportScopeSection() {
1290
1289
  tone: !selectedResourceIds?.length ? 'tertiary' : undefined,
1291
1290
  intlMessage: selectedResourceIds?.length ? _objectSpread$4(_objectSpread$4({}, resourceTypeMessages[resourceType].exportScopeSelected), {}, {
1292
1291
  values: {
1293
- total: intl.formatNumber(selectedResourceIds.length)
1292
+ total: selectedResourceIds.length
1294
1293
  }
1295
1294
  }) : messages.exportScopeSelectedWithoutCount
1296
1295
  })
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@commercetools-frontend-extensions/export-resources-modal",
3
3
  "description": "Shared export modal for exporting resources",
4
- "version": "0.0.0-canary-20250227120018",
4
+ "version": "0.0.0-canary-20250304112453",
5
5
  "license": "BSD-3-Clause",
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -41,8 +41,8 @@
41
41
  "@commercetools-frontend/l10n": "23.x",
42
42
  "@commercetools-frontend/sdk": "23.1.0",
43
43
  "@commercetools-frontend/sentry": "23.1.0",
44
- "@commercetools-frontend/ui-kit": "19.22.6",
45
- "@commercetools-uikit/design-system": "19.22.6",
44
+ "@commercetools-frontend/ui-kit": "19.22.7",
45
+ "@commercetools-uikit/design-system": "19.22.7",
46
46
  "@preconstruct/cli": "2.8.10",
47
47
  "@types/jest": "29.5.14",
48
48
  "@types/testing-library__jest-dom": "^5.14.5",