@commercetools-frontend/application-components 22.23.3 → 22.25.0

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.
@@ -46,9 +46,7 @@ var FlatButton = require('@commercetools-uikit/flat-button');
46
46
  var IconButton = require('@commercetools-uikit/icon-button');
47
47
  var _findInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/find');
48
48
  var _Object$entries = require('@babel/runtime-corejs3/core-js-stable/object/entries');
49
- var PageNotFoundSVGRebranding = require('@commercetools-frontend/assets/images/page-not-found-rebranding.svg');
50
49
  var PageNotFoundSVG = require('@commercetools-frontend/assets/images/page-not-found.svg');
51
- var FailedAuthorizationSVGRebranding = require('@commercetools-frontend/assets/images/doors-closed-rebranding.svg');
52
50
  var FailedAuthorizationSVG = require('@commercetools-frontend/assets/images/doors-closed.svg');
53
51
  var _objectWithoutProperties = require('@babel/runtime-corejs3/helpers/objectWithoutProperties');
54
52
  var _valuesInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/values');
@@ -85,18 +83,16 @@ var FlatButton__default = /*#__PURE__*/_interopDefault(FlatButton);
85
83
  var IconButton__default = /*#__PURE__*/_interopDefault(IconButton);
86
84
  var _findInstanceProperty__default = /*#__PURE__*/_interopDefault(_findInstanceProperty);
87
85
  var _Object$entries__default = /*#__PURE__*/_interopDefault(_Object$entries);
88
- var PageNotFoundSVGRebranding__default = /*#__PURE__*/_interopDefault(PageNotFoundSVGRebranding);
89
86
  var PageNotFoundSVG__default = /*#__PURE__*/_interopDefault(PageNotFoundSVG);
90
- var FailedAuthorizationSVGRebranding__default = /*#__PURE__*/_interopDefault(FailedAuthorizationSVGRebranding);
91
87
  var FailedAuthorizationSVG__default = /*#__PURE__*/_interopDefault(FailedAuthorizationSVG);
92
88
  var _valuesInstanceProperty__default = /*#__PURE__*/_interopDefault(_valuesInstanceProperty);
93
89
  var Stamp__default = /*#__PURE__*/_interopDefault(Stamp);
94
90
  var useResizeObserver__default = /*#__PURE__*/_interopDefault(useResizeObserver);
95
91
 
96
92
  // NOTE: This string will be replaced on build time with the package version.
97
- var version = "22.23.3";
93
+ var version = "22.25.0";
98
94
 
99
- var _context, _context2, _context3, _context4, _context5, _context6, _context7, _context8, _context9, _context10, _context11;
95
+ var _context, _context2, _context3, _context4, _context5;
100
96
 
101
97
  // We keep these tokens as they are related to page layout components which should have
102
98
  // a slightly different layout (margins/paddings) when used within a Custom View panel.
@@ -108,42 +104,9 @@ const themesOverrides = {
108
104
  paddingForDetailPageHeader: _concatInstanceProperty__default["default"](_context2 = _concatInstanceProperty__default["default"](_context3 = "".concat(designSystem.designTokens.spacing50, " ")).call(_context3, designSystem.designTokens.spacing55, " ")).call(_context2, designSystem.designTokens.spacing40),
109
105
  paddingForMainPageHeader: _concatInstanceProperty__default["default"](_context4 = "".concat(designSystem.designTokens.spacing50, " ")).call(_context4, designSystem.designTokens.spacing55, " 0"),
110
106
  paddingForTabularPageHeader: _concatInstanceProperty__default["default"](_context5 = "".concat(designSystem.designTokens.spacing40, " ")).call(_context5, designSystem.designTokens.spacing55, " 0"),
111
- // recolouring rollout
112
- backgroundColorForNavbar: designSystem.designTokens.colorPrimary,
113
- backgroundColorForNavbarExpander: _concatInstanceProperty__default["default"](_context6 = "linear-gradient(180deg, ".concat(designSystem.designTokens.colorPrimary, " 0%, ")).call(_context6, designSystem.designTokens.colorPrimary25, " 100%)"),
114
- backgroundColorForNavbarExpanderWhenHovered: designSystem.designTokens.colorPrimary40,
115
- backgroundColorForNavbarHeader: designSystem.designTokens.colorAccent10,
116
- backgroundColorForNavbarMenuItemWhenActive: designSystem.designTokens.colorAccent30,
117
- backgroundColorForNavbarSubmenuItemWhenActive: designSystem.designTokens.colorAccent30,
118
- backgroundColorForNavbarMenuItemWhenHovered: designSystem.designTokens.colorPrimary40,
119
- backgroundColorForNavbarSkeleton: '#009987',
120
- backgroundColorForNavbarSkeletonFooter: 'linear-gradient(180deg, #009987 0%, #004d44 100%)',
121
- borderColorForNotificationWhenSuccess: designSystem.designTokens.colorPrimary85,
122
- fontColorForNotificationWhenSuccess: designSystem.designTokens.colorPrimary,
123
- fontColorForNotificationWhenWarning: designSystem.designTokens.colorWarning,
124
- fontColorForTabLabelWhenActive: designSystem.designTokens.colorSolid,
125
- visibilityForNavbarFaded: 'visible'
126
- },
127
- recolouring: {
128
- marginForCustomViewsSelectorAsTabular: "0 ".concat(designSystem.designTokens.spacing55),
129
- marginForPageContent: _concatInstanceProperty__default["default"](_context7 = "".concat(designSystem.designTokens.spacing50, " ")).call(_context7, designSystem.designTokens.spacing55),
130
- paddingForDetailPageHeader: _concatInstanceProperty__default["default"](_context8 = _concatInstanceProperty__default["default"](_context9 = "".concat(designSystem.designTokens.spacing50, " ")).call(_context9, designSystem.designTokens.spacing55, " ")).call(_context8, designSystem.designTokens.spacing40),
131
- paddingForMainPageHeader: _concatInstanceProperty__default["default"](_context10 = "".concat(designSystem.designTokens.spacing50, " ")).call(_context10, designSystem.designTokens.spacing55, " 0"),
132
- paddingForTabularPageHeader: _concatInstanceProperty__default["default"](_context11 = "".concat(designSystem.designTokens.spacing40, " ")).call(_context11, designSystem.designTokens.spacing55, " 0"),
133
107
  backgroundColorForNavbar: designSystem.designTokens.colorPrimary10,
134
- backgroundColorForNavbarExpander: designSystem.designTokens.colorPrimary10,
135
- backgroundColorForNavbarExpanderWhenHovered: designSystem.designTokens.colorPrimary10,
136
108
  backgroundColorForNavbarHeader: designSystem.designTokens.colorPrimary10,
137
- backgroundColorForNavbarMenuItemWhenActive: designSystem.designTokens.colorPrimary25,
138
- backgroundColorForNavbarSubmenuItemWhenActive: designSystem.designTokens.colorPrimary40,
139
- backgroundColorForNavbarMenuItemWhenHovered: designSystem.designTokens.colorPrimary20,
140
- backgroundColorForNavbarSkeleton: designSystem.designTokens.colorPrimary10,
141
- backgroundColorForNavbarSkeletonFooter: designSystem.designTokens.colorPrimary10,
142
- borderColorForNotificationWhenSuccess: designSystem.designTokens.colorSuccess85,
143
- fontColorForNotificationWhenSuccess: designSystem.designTokens.colorSuccess,
144
- fontColorForNotificationWhenWarning: designSystem.designTokens.colorWarning60,
145
- fontColorForTabLabelWhenActive: designSystem.designTokens.colorPrimary,
146
- visibilityForNavbarFaded: 'hidden'
109
+ fontColorForTabLabelWhenActive: designSystem.designTokens.colorPrimary
147
110
  }
148
111
  };
149
112
  const designTokens = designSystem.transformTokensToCssVarsReferences(themesOverrides.default, {
@@ -203,11 +166,11 @@ const TabHeader = props => {
203
166
  };
204
167
  TabHeader.propTypes = {};
205
168
  TabHeader.displayName = 'TabHeader';
206
- const defaultProps$j = {
169
+ const defaultProps$i = {
207
170
  isDisabled: false,
208
171
  exactPathMatch: false
209
172
  };
210
- TabHeader.defaultProps = defaultProps$j;
173
+ TabHeader.defaultProps = defaultProps$i;
211
174
 
212
175
  const getConstraintForGridStyle = size => {
213
176
  switch (size) {
@@ -257,7 +220,7 @@ jsxRuntime.jsx("div", _objectSpread$7(_objectSpread$7({}, props), {}, {
257
220
  "data-role": "dialog-overlay",
258
221
  children: contentElement
259
222
  }));
260
- const defaultProps$i = {
223
+ const defaultProps$h = {
261
224
  // TODO: t-shirt sizes are deprecated but we need to keep using them for
262
225
  // backwards compatibility and to help with styling migration
263
226
  // After the migration is done, we should change this default value to 13.
@@ -320,7 +283,7 @@ const DialogContainer = props => {
320
283
  };
321
284
  DialogContainer.propTypes = {};
322
285
  DialogContainer.displayName = 'DialogContainer';
323
- DialogContainer.defaultProps = defaultProps$i;
286
+ DialogContainer.defaultProps = defaultProps$h;
324
287
 
325
288
  // The overflow should be "auto", to make the container scrollable
326
289
  const DialogContent = /*#__PURE__*/_styled__default["default"]("div", {
@@ -392,7 +355,7 @@ function filterDataAttributes(obj) {
392
355
 
393
356
  function ownKeys$6(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; }
394
357
  function _objectSpread$6(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$6(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$6(Object(t))).call(_context2, function (r) { _Object$defineProperty__default["default"](e, r, _Object$getOwnPropertyDescriptor__default["default"](t, r)); }); } return e; }
395
- const defaultProps$h = {
358
+ const defaultProps$g = {
396
359
  isPrimaryButtonDisabled: false,
397
360
  dataAttributesPrimaryButton: {},
398
361
  dataAttributesSecondaryButton: {}
@@ -420,9 +383,9 @@ const DialogFooter = props => {
420
383
  };
421
384
  DialogFooter.propTypes = {};
422
385
  DialogFooter.displayName = 'DialogFooter';
423
- DialogFooter.defaultProps = defaultProps$h;
386
+ DialogFooter.defaultProps = defaultProps$g;
424
387
 
425
- const defaultProps$g = {
388
+ const defaultProps$f = {
426
389
  labelSecondary: i18n.sharedMessages.cancel,
427
390
  labelPrimary: i18n.sharedMessages.confirm
428
391
  };
@@ -451,7 +414,7 @@ const ConfirmationDialog = props => jsxRuntime.jsxs(DialogContainer, {
451
414
  });
452
415
  ConfirmationDialog.propTypes = {};
453
416
  ConfirmationDialog.displayName = 'ConfirmationDialog';
454
- ConfirmationDialog.defaultProps = defaultProps$g;
417
+ ConfirmationDialog.defaultProps = defaultProps$f;
455
418
  // This is a convenience proxy export to expose pre-defined Intl messages defined in the `@commercetools-frontend/i18n` package.
456
419
  // The Intl messages can be used for button labels.
457
420
  ConfirmationDialog.Intl = i18n.sharedMessages;
@@ -459,7 +422,7 @@ ConfirmationDialog.Intl = i18n.sharedMessages;
459
422
  // as the default dialog title.
460
423
  ConfirmationDialog.TextTitle = TextTitle;
461
424
 
462
- const defaultProps$f = {
425
+ const defaultProps$e = {
463
426
  labelSecondary: i18n.sharedMessages.cancel,
464
427
  labelPrimary: i18n.sharedMessages.save
465
428
  };
@@ -489,7 +452,7 @@ const FormDialog = props => jsxRuntime.jsxs(DialogContainer, {
489
452
  });
490
453
  FormDialog.propTypes = {};
491
454
  FormDialog.displayName = 'FormDialog';
492
- FormDialog.defaultProps = defaultProps$f;
455
+ FormDialog.defaultProps = defaultProps$e;
493
456
  // This is a convenience proxy export to expose pre-defined Intl messages defined in the `@commercetools-frontend/i18n` package.
494
457
  // The Intl messages can be used for button labels.
495
458
  FormDialog.Intl = i18n.sharedMessages;
@@ -524,7 +487,7 @@ const LargeIconWrapper = props => jsxRuntime.jsx("span", {
524
487
  // However, we need to explicitly define this otherwise the prop-types babel plugin
525
488
  // does not recognize the object shape.
526
489
  LargeIconWrapper.propTypes = {};
527
- const defaultProps$e = {
490
+ const defaultProps$d = {
528
491
  color: 'surface',
529
492
  previousPathLabel: messages$5.back,
530
493
  hidePathLabel: false
@@ -570,7 +533,7 @@ const ModalPageTopBar = props => {
570
533
  };
571
534
  ModalPageTopBar.propTypes = {};
572
535
  ModalPageTopBar.displayName = 'ModalPageTopBar';
573
- ModalPageTopBar.defaultProps = defaultProps$e;
536
+ ModalPageTopBar.defaultProps = defaultProps$d;
574
537
 
575
538
  const stylesBySize = {
576
539
  '10': {
@@ -630,7 +593,7 @@ jsxRuntime.jsx("div", _objectSpread$5(_objectSpread$5({}, props), {}, {
630
593
  // However, we need to explicitly define this otherwise the prop-types babel plugin
631
594
  // does not recognize the object shape.
632
595
 
633
- const defaultProps$d = {
596
+ const defaultProps$c = {
634
597
  size: 'scale',
635
598
  getParentSelector: getDefaultParentSelector,
636
599
  shouldDelayOnClose: true
@@ -709,7 +672,7 @@ const ModalPage = props => {
709
672
  };
710
673
  ModalPage.propTypes = {};
711
674
  ModalPage.displayName = 'ModalPage';
712
- ModalPage.defaultProps = defaultProps$d;
675
+ ModalPage.defaultProps = defaultProps$c;
713
676
 
714
677
  const messages$4 = reactIntl.defineMessages({
715
678
  loadError: {
@@ -983,7 +946,7 @@ const CustomViewSelectorOrNothing = props => {
983
946
  };
984
947
  CustomViewSelectorOrNothing.propTypes = {};
985
948
 
986
- const defaultProps$c = {
949
+ const defaultProps$b = {
987
950
  titleSize: 'small',
988
951
  truncate: false
989
952
  };
@@ -1054,7 +1017,7 @@ const PageHeaderTitle = props => jsxRuntime.jsxs("div", {
1054
1017
  });
1055
1018
  PageHeaderTitle.propTypes = {};
1056
1019
  PageHeaderTitle.displayName = 'PageHeaderTitle';
1057
- PageHeaderTitle.defaultProps = defaultProps$c;
1020
+ PageHeaderTitle.defaultProps = defaultProps$b;
1058
1021
 
1059
1022
  const PageHeader = props => {
1060
1023
  return jsxRuntime.jsxs("div", {
@@ -1200,7 +1163,7 @@ CustomFormModalPage.FormDeleteButton = FormDeleteButton;
1200
1163
  // The Intl messages can be used for button labels.
1201
1164
  CustomFormModalPage.Intl = i18n.sharedMessages;
1202
1165
 
1203
- const defaultProps$b = {
1166
+ const defaultProps$a = {
1204
1167
  hideControls: false
1205
1168
  };
1206
1169
  const FormModalPage = props => jsxRuntime.jsx(CustomFormModalPage, {
@@ -1234,7 +1197,7 @@ const FormModalPage = props => jsxRuntime.jsx(CustomFormModalPage, {
1234
1197
  });
1235
1198
  FormModalPage.propTypes = {};
1236
1199
  FormModalPage.displayName = 'FormModalPage';
1237
- FormModalPage.defaultProps = defaultProps$b;
1200
+ FormModalPage.defaultProps = defaultProps$a;
1238
1201
  // This is a convenience proxy export to expose pre-defined Intl messages defined in the `@commercetools-frontend/i18n` package.
1239
1202
  // The Intl messages can be used for button labels.
1240
1203
  FormModalPage.Intl = i18n.sharedMessages;
@@ -1260,7 +1223,7 @@ const useCustomViewLocatorSelector = function () {
1260
1223
  };
1261
1224
 
1262
1225
  const TabControls = /*#__PURE__*/_styled__default["default"]("div", {
1263
- target: "elpldre2"
1226
+ target: "elpldre4"
1264
1227
  } )("margin-top:", designSystem.designTokens.spacingS, ";" + ("" ));
1265
1228
  const ControlsContainter = props => jsxRuntime.jsxs("div", {
1266
1229
  css: /*#__PURE__*/react.css("display:flex;align-items:flex-end;justify-content:space-between;margin-top:", designSystem.designTokens.spacing40, ";" + ("" ), "" ),
@@ -1271,22 +1234,18 @@ const ControlsContainter = props => jsxRuntime.jsxs("div", {
1271
1234
  });
1272
1235
  ControlsContainter.propTypes = {};
1273
1236
  ControlsContainter.displayName = 'ControlsContainter';
1274
- const TabularPageContainer = props => jsxRuntime.jsx("div", {
1275
- css: /*#__PURE__*/react.css("background-color:", designSystem.designTokens.colorSurface, ";padding:", designTokens.paddingForTabularPageHeader, ";border-bottom:1px solid ", designSystem.designTokens.colorNeutral90, ";" + ("" ), "" ),
1276
- children: props.children
1277
- });
1278
- TabularPageContainer.propTypes = {};
1279
- TabularPageContainer.displayName = 'TabularPageContainer';
1280
- const defaultProps$a = {
1281
- color: 'surface'
1282
- };
1283
- TabularPageContainer.defaultProps = defaultProps$a;
1237
+ const TabularPageContainer = /*#__PURE__*/_styled__default["default"]("div", {
1238
+ target: "elpldre3"
1239
+ } )("background-color:", designSystem.designTokens.colorSurface, ";padding:", designTokens.paddingForTabularPageHeader, ";border-bottom:1px solid ", designSystem.designTokens.colorNeutral90, ";" + ("" ));
1284
1240
  const FormControlsContainer = /*#__PURE__*/_styled__default["default"]("div", {
1285
- target: "elpldre1"
1241
+ target: "elpldre2"
1286
1242
  } )("margin-bottom:", designSystem.designTokens.spacingM, ";" + ("" ));
1287
1243
  const CustomViewsSelectorWrapper = /*#__PURE__*/_styled__default["default"]("div", {
1288
- target: "elpldre0"
1244
+ target: "elpldre1"
1289
1245
  } )("margin:", designTokens.marginForCustomViewsSelectorAsTabular, ";" + ("" ));
1246
+ const TabularModalPageContainer = /*#__PURE__*/_styled__default["default"]("div", {
1247
+ target: "elpldre0"
1248
+ } )(TabularPageContainer, "{padding:", designSystem.designTokens.spacing40, " ", designSystem.designTokens.spacing55, " 0;}" + ("" ));
1290
1249
 
1291
1250
  const defaultProps$9 = {
1292
1251
  hideControls: false
@@ -1305,22 +1264,23 @@ const TabularModalPage = props => {
1305
1264
  getParentSelector: props.getParentSelector,
1306
1265
  shouldDelayOnClose: props.shouldDelayOnClose,
1307
1266
  afterOpenStyles: props.afterOpenStyles,
1308
- children: [jsxRuntime.jsxs(TabularPageContainer, {
1309
- color: "neutral",
1310
- children: [props.customTitleRow || jsxRuntime.jsx(PageHeaderTitle, {
1311
- title: props.title,
1312
- titleSize: "big",
1313
- subtitle: props.subtitle,
1314
- truncate: true
1315
- }), jsxRuntime.jsx(ControlsContainter, {
1316
- tabControls: props.tabControls,
1317
- formControls: jsxRuntime.jsx(FormControlsContainer, {
1318
- children: !props.hideControls && props.formControls && jsxRuntime.jsx(Spacings__default["default"].Inline, {
1319
- alignItems: "flex-end",
1320
- children: props.formControls
1267
+ children: [jsxRuntime.jsx(TabularModalPageContainer, {
1268
+ children: jsxRuntime.jsxs(TabularPageContainer, {
1269
+ children: [props.customTitleRow || jsxRuntime.jsx(PageHeaderTitle, {
1270
+ title: props.title,
1271
+ titleSize: "big",
1272
+ subtitle: props.subtitle,
1273
+ truncate: true
1274
+ }), jsxRuntime.jsx(ControlsContainter, {
1275
+ tabControls: props.tabControls,
1276
+ formControls: jsxRuntime.jsx(FormControlsContainer, {
1277
+ children: !props.hideControls && props.formControls && jsxRuntime.jsx(Spacings__default["default"].Inline, {
1278
+ alignItems: "flex-end",
1279
+ children: props.formControls
1280
+ })
1321
1281
  })
1322
- })
1323
- })]
1282
+ })]
1283
+ })
1324
1284
  }), jsxRuntime.jsx(CustomViewsSelectorWrapper, {
1325
1285
  children: jsxRuntime.jsx(CustomViewSelectorOrNothing, {
1326
1286
  margin: "".concat(designSystem.designTokens.spacing30, " 0 0 0"),
@@ -1488,7 +1448,6 @@ const TabularDetailPage = props => {
1488
1448
  currentCustomViewLocatorCode = _useCustomViewLocator.currentCustomViewLocatorCode;
1489
1449
  return jsxRuntime.jsxs(PageWrapper, {
1490
1450
  children: [jsxRuntime.jsxs(TabularPageContainer, {
1491
- color: "neutral",
1492
1451
  children: [jsxRuntime.jsx(PageTopBar, {
1493
1452
  color: "neutral",
1494
1453
  previousPathLabel: props.previousPathLabel,
@@ -1657,7 +1616,6 @@ const TabularMainPage = props => {
1657
1616
  currentCustomViewLocatorCode = _useCustomViewLocator.currentCustomViewLocatorCode;
1658
1617
  return jsxRuntime.jsxs(PageWrapper, {
1659
1618
  children: [jsxRuntime.jsxs(TabularPageContainer, {
1660
- color: "surface",
1661
1619
  children: [props.customTitleRow || jsxRuntime.jsx(PageHeaderTitle, {
1662
1620
  title: (_props$title = props.title) !== null && _props$title !== void 0 ? _props$title : '',
1663
1621
  subtitle: props.subtitle,
@@ -1756,10 +1714,8 @@ const getLink = msg => jsxRuntime.jsx("a", {
1756
1714
  });
1757
1715
  const PageNotFound = () => {
1758
1716
  const intl = reactIntl.useIntl();
1759
- const _useTheme = designSystem.useTheme(),
1760
- themedValue = _useTheme.themedValue;
1761
1717
  return jsxRuntime.jsx(MaintenancePageLayout, {
1762
- imageSrc: themedValue(PageNotFoundSVG__default["default"], PageNotFoundSVGRebranding__default["default"]),
1718
+ imageSrc: PageNotFoundSVG__default["default"],
1763
1719
  title: jsxRuntime.jsx(reactIntl.FormattedMessage, _objectSpread$2({}, messages$2.title)),
1764
1720
  label: intl.formatMessage(messages$2.title),
1765
1721
  paragraph1: jsxRuntime.jsx(reactIntl.FormattedMessage, _objectSpread$2(_objectSpread$2({}, messages$2.paragraph1), {}, {
@@ -1796,10 +1752,8 @@ const getSupportUrlLink = msg => jsxRuntime.jsx("a", {
1796
1752
  });
1797
1753
  const PageUnauthorized = () => {
1798
1754
  const intl = reactIntl.useIntl();
1799
- const _useTheme = designSystem.useTheme(),
1800
- themedValue = _useTheme.themedValue;
1801
1755
  return jsxRuntime.jsx(MaintenancePageLayout, {
1802
- imageSrc: themedValue(FailedAuthorizationSVG__default["default"], FailedAuthorizationSVGRebranding__default["default"]),
1756
+ imageSrc: FailedAuthorizationSVG__default["default"],
1803
1757
  title: jsxRuntime.jsx(reactIntl.FormattedMessage, _objectSpread$1({}, messages$1.title)),
1804
1758
  label: intl.formatMessage(messages$1.title),
1805
1759
  paragraph1: jsxRuntime.jsx(reactIntl.FormattedMessage, _objectSpread$1({}, messages$1.paragraph1)),
@@ -2034,15 +1988,13 @@ var _ref$1 = {
2034
1988
  styles: "height:18px;svg{height:18px;width:12px;}"
2035
1989
  } ;
2036
1990
  const IsProduction = () => {
2037
- const _useTheme = designSystem.useTheme(),
2038
- themedValue = _useTheme.themedValue;
2039
1991
  return jsxRuntime.jsx(CustomStamp, {
2040
1992
  tone: "positive",
2041
1993
  label: messages.ProjectProduction,
2042
1994
  icon: jsxRuntime.jsx("div", {
2043
1995
  css: _ref$1,
2044
1996
  children: jsxRuntime.jsx(icons.DotIcon, {
2045
- color: themedValue('primary', 'success')
1997
+ color: "success"
2046
1998
  })
2047
1999
  })
2048
2000
  });