@commercetools-frontend/experimental-components 6.2.0 → 6.2.1

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.
@@ -113,7 +113,7 @@ import _Set from '@babel/runtime-corejs3/core-js-stable/set';
113
113
  import '@babel/runtime-corejs3/helpers/get';
114
114
  import _spliceInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/splice';
115
115
 
116
- var styles$j = {
116
+ var styles$k = {
117
117
  "loading-container": "centered-loading-spinner-module__loading-container___3_9-h"
118
118
  };
119
119
  /**
@@ -121,7 +121,7 @@ var styles$j = {
121
121
  * - the ui-kit Spacings.Stack does not allow for custom styles, nor does it stretch to fill its container's height
122
122
  */
123
123
  const CenteredLoadingSpinner = () => jsx("div", {
124
- className: styles$j['loading-container'],
124
+ className: styles$k['loading-container'],
125
125
  "data-testid": "centered-loading-spinner",
126
126
  children: jsx(LoadingSpinner, {})
127
127
  });
@@ -163,6 +163,7 @@ const INTERVALS_IN_SECONDS = {
163
163
  [REMINDER_OPTION_10_DAY]: 864000
164
164
  };
165
165
  const EXCLUDING_PRODUCTS = 'excludingProducts';
166
+ const PRODUCT_TAILORING_FOR_ATTRIBUTES = 'productTailoringForAttributes';
166
167
 
167
168
  // TODO: apply a more robust solution to overlaying issues
168
169
  const Z_INDEX_DROPDOWN = 30000;
@@ -987,7 +988,7 @@ function ownKeys$1l(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertyS
987
988
  function _objectSpread$1l(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys$1l(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys$1l(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
988
989
  function _callSuper$7(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct$7() ? _Reflect$construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
989
990
  function _isNativeReflectConstruct$7() { try { var t = !Boolean.prototype.valueOf.call(_Reflect$construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct$7 = function () { return !!t; })(); }
990
- var styles$i = {
991
+ var styles$j = {
991
992
  "size": "throttled-field-module__size___324jx",
992
993
  "input-text": "throttled-field-module__input-text___3zFFp",
993
994
  "input-secondary": "throttled-field-module__input-secondary___cFo9e throttled-field-module__input-text___3zFFp throttled-field-module__size___324jx",
@@ -1096,9 +1097,9 @@ let ThrottledField = /*#__PURE__*/function (_PureComponent) {
1096
1097
  })
1097
1098
  }), this.props.as === 'textarea' ? jsx(Textarea, _objectSpread$1l(_objectSpread$1l({}, commonProps), {}, {
1098
1099
  id: inputId,
1099
- className: classnames(styles$i.textarea, styles$i[`textarea-${this.props.style}`], {
1100
- [styles$i.invalid]: !this.props.isValid,
1101
- [styles$i.disabled]: this.props.disabled
1100
+ className: classnames(styles$j.textarea, styles$j[`textarea-${this.props.style}`], {
1101
+ [styles$j.invalid]: !this.props.isValid,
1102
+ [styles$j.disabled]: this.props.disabled
1102
1103
  }),
1103
1104
  rows: 1,
1104
1105
  maxRows: this.props.autoSize ? undefined : 1,
@@ -1107,10 +1108,10 @@ let ThrottledField = /*#__PURE__*/function (_PureComponent) {
1107
1108
  id: inputId,
1108
1109
  ref: this.props.inputRef,
1109
1110
  type: this.props.as,
1110
- className: classnames(styles$i[`input-${this.props.style}`], {
1111
- [styles$i.invalid]: !this.props.isValid,
1112
- [styles$i.disabled]: this.props.disabled,
1113
- [styles$i.granular]: this.props.isGranular
1111
+ className: classnames(styles$j[`input-${this.props.style}`], {
1112
+ [styles$j.invalid]: !this.props.isValid,
1113
+ [styles$j.disabled]: this.props.disabled,
1114
+ [styles$j.granular]: this.props.isGranular
1114
1115
  })
1115
1116
  }))]
1116
1117
  });
@@ -1155,7 +1156,7 @@ var messages$G = defineMessages({
1155
1156
 
1156
1157
  function _callSuper$6(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct$6() ? _Reflect$construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
1157
1158
  function _isNativeReflectConstruct$6() { try { var t = !Boolean.prototype.valueOf.call(_Reflect$construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct$6 = function () { return !!t; })(); }
1158
- var styles$h = {
1159
+ var styles$i = {
1159
1160
  "block": "search-input-module__block___1uM-y",
1160
1161
  "container": "search-input-module__container___9u6if",
1161
1162
  "input-container": "search-input-module__input-container___mJnyZ",
@@ -1230,14 +1231,14 @@ let SearchInput = /*#__PURE__*/function (_Component) {
1230
1231
  key: "render",
1231
1232
  value: function render() {
1232
1233
  return jsx("div", {
1233
- className: classnames(this.props.blockClassName, styles$h.block),
1234
+ className: classnames(this.props.blockClassName, styles$i.block),
1234
1235
  children: jsxs("div", {
1235
- className: classnames(this.props.containerClassName, styles$h.container),
1236
+ className: classnames(this.props.containerClassName, styles$i.container),
1236
1237
  children: [jsx("div", {
1237
- className: classnames(styles$h['input-container'], {
1238
- [styles$h['input-container-hoverable']]: !this.props.disabled,
1239
- [styles$h['input-container-disabled']]: this.props.disabled && this.props.enableDisabledStyle,
1240
- [styles$h['input-container-granular']]: this.props.isGranular
1238
+ className: classnames(styles$i['input-container'], {
1239
+ [styles$i['input-container-hoverable']]: !this.props.disabled,
1240
+ [styles$i['input-container-disabled']]: this.props.disabled && this.props.enableDisabledStyle,
1241
+ [styles$i['input-container-granular']]: this.props.isGranular
1241
1242
  }),
1242
1243
  children: jsx(ThrottledField, {
1243
1244
  style: "primary",
@@ -1255,8 +1256,8 @@ let SearchInput = /*#__PURE__*/function (_Component) {
1255
1256
  isGranular: this.props.isGranular
1256
1257
  })
1257
1258
  }), this.state.text && jsx(SecondaryIconButton, {
1258
- className: classnames(styles$h['clear-icon-container'], {
1259
- [styles$h['clear-icon-container-granular']]: this.props.isGranular
1259
+ className: classnames(styles$i['clear-icon-container'], {
1260
+ [styles$i['clear-icon-container-granular']]: this.props.isGranular
1260
1261
  }),
1261
1262
  icon: jsx(CloseIcon, {}),
1262
1263
  size: "30",
@@ -1264,9 +1265,9 @@ let SearchInput = /*#__PURE__*/function (_Component) {
1264
1265
  onClick: this.handleClear
1265
1266
  }), jsx("div", {
1266
1267
  "data-testid": "search-button",
1267
- className: classnames(styles$h['search-icon-container'], {
1268
- [styles$h['search-icon-container-hoverable']]: !this.props.disabled,
1269
- [styles$h['search-icon-container-granular']]: this.props.isGranular
1268
+ className: classnames(styles$i['search-icon-container'], {
1269
+ [styles$i['search-icon-container-hoverable']]: !this.props.disabled,
1270
+ [styles$i['search-icon-container-granular']]: this.props.isGranular
1270
1271
  }),
1271
1272
  onClick: this.props.disabled ? null : this.handleSubmit,
1272
1273
  label: "search-button",
@@ -2513,10 +2514,10 @@ function defaultFilterValidator$1(_ref2) {
2513
2514
  return true;
2514
2515
  }
2515
2516
 
2516
- var localizedTextTransformer = (localizedString => {
2517
+ var localizedTextTransformer = localizedString => {
2517
2518
  var _context;
2518
2519
  return _mapInstanceProperty(_context = _Object$keys(localizedString)).call(_context, locale => `${locale} = "${localizedString[locale]}"`).join(' and ');
2519
- });
2520
+ };
2520
2521
 
2521
2522
  const getCentAmountClause = (value, operator, locale) => `centAmount ${operator} ${MoneyInput.convertToMoneyValue(value, locale).centAmount}`;
2522
2523
  function moneyTransformer(value, option, locale) {
@@ -5185,7 +5186,7 @@ function getCartDiscountById(apolloClient, options) {
5185
5186
  }).then(response => response.data?.cartDiscount ? transformLocalizedFieldsForCartDiscount(response.data.cartDiscount) : null);
5186
5187
  }
5187
5188
 
5188
- var styles$g = {
5189
+ var styles$h = {
5189
5190
  "container": "reference-search-module__container___3-iK3",
5190
5191
  "missing-label": "reference-search-module__missing-label___az9AO"
5191
5192
  }; // This is a hashmap of loaded items used to map a value to an item
@@ -5292,9 +5293,9 @@ function ReferenceSearch(props) {
5292
5293
  props.onChange(option);
5293
5294
  };
5294
5295
  return jsxs("div", {
5295
- className: styles$g.container,
5296
+ className: styles$h.container,
5296
5297
  children: [areSomeItemsMissing && jsx("div", {
5297
- className: styles$g['missing-label'],
5298
+ className: styles$h['missing-label'],
5298
5299
  children: props.referenceIsMissingLabel
5299
5300
  }), jsx(CustomFieldTooltip, {
5300
5301
  title: tooltipTitle,
@@ -5614,7 +5615,7 @@ function useCachedCategoryOptions(ids) {
5614
5615
 
5615
5616
  function ownKeys$Z(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; }
5616
5617
  function _objectSpread$Z(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys$Z(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys$Z(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
5617
- var styles$f = {
5618
+ var styles$g = {
5618
5619
  "button": "button-module__button___1OzVf",
5619
5620
  "cancel": "button-module__cancel___1-jYL button-module__button___1OzVf",
5620
5621
  "confirm": "button-module__confirm___-W92x button-module__button___1OzVf",
@@ -5650,7 +5651,7 @@ const Button = props => {
5650
5651
  return jsx("button", _objectSpread$Z(_objectSpread$Z({
5651
5652
  onClick: isDisabled ? null : onClick,
5652
5653
  type: props.type,
5653
- className: classnames(styles$f.button, isDisabled ? styles$f.disabled : null, className),
5654
+ className: classnames(styles$g.button, isDisabled ? styles$g.disabled : null, className),
5654
5655
  disabled: isDisabled,
5655
5656
  "aria-label": props['aria-label']
5656
5657
  }, dataProps), {}, {
@@ -5672,15 +5673,15 @@ var messages$z = defineMessages({
5672
5673
 
5673
5674
  function ownKeys$Y(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; }
5674
5675
  function _objectSpread$Y(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys$Y(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys$Y(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
5675
- var styles$e = {
5676
+ var styles$f = {
5676
5677
  "button": "file-input-module__button___2KypN",
5677
5678
  "input": "file-input-module__input___3MP4D"
5678
5679
  };
5679
5680
  const FileInput = props => jsx("label", {
5680
5681
  children: jsxs("span", {
5681
- className: styles$e.button,
5682
+ className: styles$f.button,
5682
5683
  children: [jsx("input", {
5683
- className: styles$e.input,
5684
+ className: styles$f.input,
5684
5685
  type: "file",
5685
5686
  accept: props.acceptTypes,
5686
5687
  name: props.name,
@@ -5933,7 +5934,7 @@ const CustomerGroupPickerInput = _ref => {
5933
5934
  };
5934
5935
  CustomerGroupPickerInput.displayName = 'CustomerGroupPickerInput';
5935
5936
 
5936
- var styles$d = {
5937
+ var styles$e = {
5937
5938
  "divider": "divider-module__divider___4-vdy",
5938
5939
  "divider-horizontal": "divider-module__divider-horizontal___RuUcj",
5939
5940
  "divider-vertical": "divider-module__divider-vertical___32kJG",
@@ -5946,10 +5947,10 @@ function Divider(_ref) {
5946
5947
  orientation = _ref$orientation === void 0 ? 'horizontal' : _ref$orientation;
5947
5948
  return jsx("hr", {
5948
5949
  className: classnames({
5949
- [styles$d['divider-solid']]: !isDashed,
5950
- [styles$d['divider-dashed']]: isDashed,
5951
- [styles$d['divider-horizontal']]: orientation === 'horizontal',
5952
- [styles$d['divider-vertical']]: orientation === 'vertical'
5950
+ [styles$e['divider-solid']]: !isDashed,
5951
+ [styles$e['divider-dashed']]: isDashed,
5952
+ [styles$e['divider-horizontal']]: orientation === 'horizontal',
5953
+ [styles$e['divider-vertical']]: orientation === 'vertical'
5953
5954
  })
5954
5955
  });
5955
5956
  }
@@ -6093,7 +6094,7 @@ const ExpandButton = props => props.totalValues > 1 ? jsxs(Spacings.Stack, {
6093
6094
  }) : null;
6094
6095
  ExpandButton.displayName = 'ExpandButton';
6095
6096
 
6096
- var styles$c = {
6097
+ var styles$d = {
6097
6098
  "topAlign": "set-buttons-module__topAlign___3AZwc",
6098
6099
  "gap": "set-buttons-module__gap___38Qr0"
6099
6100
  }; // TODO(pa3): alignment of buttons made in a kinda ugly way (i.e. gap class).
@@ -6114,7 +6115,7 @@ const SetButtons = props => {
6114
6115
  size: "big",
6115
6116
  icon: jsx(PlusBoldIcon, {})
6116
6117
  }) : jsx("div", {
6117
- className: styles$c.gap
6118
+ className: styles$d.gap
6118
6119
  })]
6119
6120
  })
6120
6121
  });
@@ -6484,7 +6485,7 @@ CustomLocalizedTextInput.displayName = 'CustomLocalizedTextInput';
6484
6485
 
6485
6486
  function ownKeys$S(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; }
6486
6487
  function _objectSpread$S(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys$S(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys$S(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
6487
- var styles$b = {
6488
+ var styles$c = {
6488
6489
  "container": "custom-money-input-module__container___1fdO2"
6489
6490
  };
6490
6491
  const fixCurrencyCode = (value, currencies) => {
@@ -6549,7 +6550,7 @@ function CustomMoneyInput(props) {
6549
6550
 
6550
6551
  // TODO(pa3): fix setting proper id in UIKit
6551
6552
  return jsxs("div", {
6552
- className: styles$b.container,
6553
+ className: styles$c.container,
6553
6554
  "aria-labelledby": props.name,
6554
6555
  children: [jsx(AccessibleHidden, {
6555
6556
  children: jsx("label", {
@@ -7749,10 +7750,15 @@ const useDnDContext = () => {
7749
7750
  const _excluded$1 = ["WrapperComponent"];
7750
7751
  function ownKeys$J(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; }
7751
7752
  function _objectSpread$J(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys$J(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys$J(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
7753
+ const textAttributeTypes = ['text', 'ltext'];
7752
7754
  const getFieldName = (parentName, fieldName) => {
7753
7755
  if (!parentName) return fieldName;
7754
7756
  return `${parentName}.${fieldName}`;
7755
7757
  };
7758
+ const isTextAttribute = function () {
7759
+ let fieldDefinitionType = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
7760
+ return _includesInstanceProperty(textAttributeTypes).call(textAttributeTypes, fieldDefinitionType.name);
7761
+ };
7756
7762
  const isNested = fieldDefinition => {
7757
7763
  const type = fieldDefinition.type;
7758
7764
  const typeName = type.name.toLowerCase();
@@ -7771,6 +7777,7 @@ const CustomFieldsInternal = _ref => {
7771
7777
  values = _valuesInstanceProperty(_useFormikContext),
7772
7778
  handleBlur = _useFormikContext.handleBlur,
7773
7779
  status = _useFormikContext.status;
7780
+ const isTailoringAttributesEnabled = useFeatureToggle(PRODUCT_TAILORING_FOR_ATTRIBUTES);
7774
7781
  const didFormValidationFail = useDidFormValidationFail();
7775
7782
  const fieldDefinitions = omitSetsOfSets(props.fieldDefinitions);
7776
7783
  const _useDnDContext = useDnDContext(),
@@ -7784,6 +7791,7 @@ const CustomFieldsInternal = _ref => {
7784
7791
  children: _mapInstanceProperty(fieldDefinitions).call(fieldDefinitions, (fieldDefinition, index) => {
7785
7792
  const fieldName = getFieldName(props.name, fieldDefinition.name);
7786
7793
  const isTouched = Boolean(getIn(touched, fieldName));
7794
+ const isFieldDisabled = props.isDisabled && !(isTextAttribute(fieldDefinition.type) && isTailoringAttributesEnabled);
7787
7795
  const fieldErrors = getIn(errors, fieldName);
7788
7796
  const value = props.inputValuesConverter(fieldName, getIn(values, fieldName));
7789
7797
 
@@ -7801,7 +7809,7 @@ const CustomFieldsInternal = _ref => {
7801
7809
  name: fieldName,
7802
7810
  value: value,
7803
7811
  fieldDefinition: fieldDefinition,
7804
- isDisabled: props.isDisabled || isDnDMode,
7812
+ isDisabled: isFieldDisabled || isDnDMode,
7805
7813
  isReadOnly: props.isReadOnly,
7806
7814
  onBlur: handleBlur,
7807
7815
  setFieldValue: props.setFieldValue,
@@ -7859,7 +7867,7 @@ const findLabel = (enumType, key) => {
7859
7867
  };
7860
7868
  const convertEnumValues = (value, attributeDefinition) => {
7861
7869
  var _context2, _context3;
7862
- if (isNil$1(value)) return value;
7870
+ if (isEmpty$3(value)) return value;
7863
7871
  const typeName = getTypeName(attributeDefinition.type);
7864
7872
  if (_includesInstanceProperty(_context2 = ['enum', 'lenum']).call(_context2, typeName)) return value.key;
7865
7873
  if (typeName === 'set' && _includesInstanceProperty(_context3 = ['enum', 'lenum']).call(_context3, getTypeName(attributeDefinition.type.elementType))) return _mapInstanceProperty(value).call(value, _ref => {
@@ -7870,7 +7878,7 @@ const convertEnumValues = (value, attributeDefinition) => {
7870
7878
  };
7871
7879
  const customFieldToAttribute = (value, attributeDefinition) => {
7872
7880
  var _context4, _context5;
7873
- if (isNil$1(value)) return value;
7881
+ if (isEmpty$3(value)) return value;
7874
7882
  if (!attributeDefinition) return value;
7875
7883
  const type = attributeDefinition.type;
7876
7884
  const typeName = getTypeName(type);
@@ -8443,7 +8451,7 @@ ProductSelectionsPicker.defaultProps = {
8443
8451
  };
8444
8452
 
8445
8453
  // NOTE: this component is duplicated in `app-shell/from-core`.
8446
- var styles$a = {
8454
+ var styles$b = {
8447
8455
  "colored": "required-indicator-module__colored____YUFm",
8448
8456
  "indicatorAsterisk": "required-indicator-module__indicatorAsterisk___3lEdX"
8449
8457
  };
@@ -8451,8 +8459,8 @@ const RequiredIndicator = _ref => {
8451
8459
  let uncolored = _ref.uncolored;
8452
8460
  return jsx("em", {
8453
8461
  className: classnames({
8454
- [styles$a.colored]: !uncolored,
8455
- [styles$a.indicatorAsterisk]: true
8462
+ [styles$b.colored]: !uncolored,
8463
+ [styles$b.indicatorAsterisk]: true
8456
8464
  }),
8457
8465
  children: '*'
8458
8466
  });
@@ -8507,7 +8515,7 @@ var messages$r = defineMessages({
8507
8515
  }
8508
8516
  });
8509
8517
 
8510
- var styles$9 = {
8518
+ var styles$a = {
8511
8519
  "container": "selectable-field-search-input-module__container___z2ltR",
8512
8520
  "search-mode-menu": "selectable-field-search-input-module__search-mode-menu___Od6Le"
8513
8521
  };
@@ -8518,7 +8526,7 @@ const SelectableFieldSearchInput = props => {
8518
8526
  setSearchText = _useState2[1];
8519
8527
  const intl = useIntl();
8520
8528
  return jsx("div", {
8521
- className: styles$9.container,
8529
+ className: styles$a.container,
8522
8530
  children: jsx(SelectableSearchInput, {
8523
8531
  menuHorizontalConstraint: 5,
8524
8532
  options: props.options,
@@ -8915,7 +8923,7 @@ const useStoresByFieldFetcher = function (stores, predicateField, projectKey) {
8915
8923
  function ownKeys$C(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; }
8916
8924
  function _objectSpread$C(e) { for (var r = 1; r < arguments.length; r++) { var _context3, _context4; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context3 = ownKeys$C(Object(t), !0)).call(_context3, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context4 = ownKeys$C(Object(t))).call(_context4, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
8917
8925
  var FetchStoresByWherePredicate = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "FetchStoresByWherePredicate" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "where" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } }, directives: [] }, { kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "skipFetchingStores" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "Boolean" } } }, directives: [] }, { kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "excludeProductSelections" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "Boolean" } } }, directives: [] }], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", alias: { kind: "Name", value: "storesByWherePredicate" }, name: { kind: "Name", value: "stores" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "where" }, value: { kind: "Variable", name: { kind: "Name", value: "where" } } }], directives: [{ kind: "Directive", name: { kind: "Name", value: "skip" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "if" }, value: { kind: "Variable", name: { kind: "Name", value: "skipFetchingStores" } } }] }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "results" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "key" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "nameAllLocales" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "locale" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "productSelections" }, arguments: [], directives: [{ kind: "Directive", name: { kind: "Name", value: "skip" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "if" }, value: { kind: "Variable", name: { kind: "Name", value: "excludeProductSelections" } } }] }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "active" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "productSelection" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "nameAllLocales" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "locale" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }] } }] } }] } }] } }] } }], loc: { start: 0, end: 525, source: { body: "query FetchStoresByWherePredicate(\n $where: String!\n $skipFetchingStores: Boolean!\n $excludeProductSelections: Boolean!\n) {\n storesByWherePredicate: stores(where: $where) @skip(if: $skipFetchingStores) {\n results {\n id\n key\n nameAllLocales {\n locale\n value\n }\n productSelections @skip(if: $excludeProductSelections) {\n active\n productSelection {\n id\n nameAllLocales {\n locale\n value\n }\n }\n }\n }\n }\n}\n", name: "GraphQL request", locationOffset: { line: 1, column: 1 } } } };
8918
- var styles$8 = {
8926
+ var styles$9 = {
8919
8927
  "renderLabelContainer": "stores-search-selector-module__renderLabelContainer___3_PBc",
8920
8928
  "customLabel": "stores-search-selector-module__customLabel___1Xse8"
8921
8929
  }; // check wether there are any errors
@@ -9029,9 +9037,9 @@ const StoresSearchSelectInput = props => {
9029
9037
  const renderNoOptions = _ref4 => {
9030
9038
  let inputValue = _ref4.inputValue;
9031
9039
  return jsxs("div", {
9032
- className: styles$8.renderLabelContainer,
9040
+ className: styles$9.renderLabelContainer,
9033
9041
  children: [jsx("div", {
9034
- className: styles$8.customLabel,
9042
+ className: styles$9.customLabel,
9035
9043
  children: props?.renderLabel && props?.renderLabel
9036
9044
  }), jsx("div", {
9037
9045
  children: intl.formatMessage(inputValue ? messages$q.searchSelectInputNoOptionsFoundMessage : messages$q.searchSelectInputNoValueMessage)
@@ -9090,6 +9098,9 @@ StoresSearchSelectInput.defaultProps = {
9090
9098
 
9091
9099
  function ownKeys$B(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; }
9092
9100
  function _objectSpread$B(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys$B(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys$B(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
9101
+ var styles$8 = {
9102
+ "customOption": "store-select-input-module__customOption___2SC00"
9103
+ };
9093
9104
  const StoreSelectInput = props => {
9094
9105
  const totalNumberOfStoresFetcher = useTotalNumberOfStoresFetcher(props.projectKey);
9095
9106
  const components = useMemo(() => {
@@ -9099,13 +9110,17 @@ const StoreSelectInput = props => {
9099
9110
  if (optionInnerProps.isDisabled) {
9100
9111
  return jsx(SelectInput.Option, _objectSpread$B({}, optionInnerProps));
9101
9112
  }
9102
- return jsx(CustomSelectInputOption, {
9103
- optionType: props.optionType,
9104
- optionInnerProps: optionInnerProps
9113
+ const isSearchSelectInput = totalNumberOfStoresFetcher.total > props.upperStoresLimit;
9114
+ return jsx("div", {
9115
+ className: isSearchSelectInput ? styles$8.customOption : '',
9116
+ children: jsx(CustomSelectInputOption, {
9117
+ optionType: props.optionType,
9118
+ optionInnerProps: optionInnerProps
9119
+ })
9105
9120
  });
9106
9121
  }
9107
9122
  };
9108
- }, [props.optionType]);
9123
+ }, [props.optionType, totalNumberOfStoresFetcher.total, props.upperStoresLimit]);
9109
9124
  if (totalNumberOfStoresFetcher.isLoading) return jsx(CenteredLoadingSpinner, {});
9110
9125
  const CustomStoreSelectInput = totalNumberOfStoresFetcher.total <= props.lowerStoresLimit ? StoresBasicSelectInput : totalNumberOfStoresFetcher.total <= props.upperStoresLimit ? StoresAsyncSelectInput : StoresSearchSelectInput;
9111
9126
  return jsx(CustomStoreSelectInput, _objectSpread$B(_objectSpread$B({
@@ -10021,7 +10036,9 @@ const mapTypeDefinitionsToOptions = (typeDefinitions, language, languages, selec
10021
10036
  }));
10022
10037
  };
10023
10038
 
10024
- // Used to generate form state when the user selects a type definition from the dropdown
10039
+ /**
10040
+ * Creates a new form state based on the selected type definition from the dropdown.
10041
+ */
10025
10042
  const createFormStateFromTypeDefinition = selectedTypeDefinition => {
10026
10043
  return {
10027
10044
  type: {
@@ -10044,7 +10061,8 @@ const CustomTypeSubform = _ref => {
10044
10061
  const _useFormikContext = useFormikContext(),
10045
10062
  formValues = _valuesInstanceProperty(_useFormikContext),
10046
10063
  setFieldValue = _useFormikContext.setFieldValue,
10047
- validateForm = _useFormikContext.validateForm;
10064
+ validateForm = _useFormikContext.validateForm,
10065
+ initialValues = _useFormikContext.initialValues;
10048
10066
  const _useIntl = useIntl(),
10049
10067
  formatMessage = _useIntl.formatMessage;
10050
10068
  const _useApplicationContex = useApplicationContext(applicationContext => ({
@@ -10057,8 +10075,23 @@ const CustomTypeSubform = _ref => {
10057
10075
  const handleTypeDefinitionSelect = useCallback(event => {
10058
10076
  const selectedTypeDefinition = _findInstanceProperty(typeDefinitions).call(typeDefinitions, typeDefinition => typeDefinition.type.key === event.target.value);
10059
10077
  if (selectedTypeDefinition) {
10060
- const nextCustom = createFormStateFromTypeDefinition(selectedTypeDefinition);
10061
- setFieldValue(rootFieldName, nextCustom).then(() => {
10078
+ const initialValueCustomType = initialValues[rootFieldName];
10079
+ const selectedCustomTypeKey = selectedTypeDefinition?.type.key;
10080
+ let newFieldValue;
10081
+
10082
+ /**
10083
+ * If the user selects the same custom type that was already selected, we need to reset the `custom` field
10084
+ * back to its initial value to ensure that the form state is consistent with the initial values.
10085
+ */
10086
+ if (initialValueCustomType?.type?.obj?.key === selectedCustomTypeKey) {
10087
+ newFieldValue = initialValueCustomType;
10088
+ /**
10089
+ * Otherwise, set the `custom` field to the new custom type definition.
10090
+ */
10091
+ } else {
10092
+ newFieldValue = createFormStateFromTypeDefinition(selectedTypeDefinition);
10093
+ }
10094
+ setFieldValue(rootFieldName, newFieldValue).then(() => {
10062
10095
  validateForm();
10063
10096
  });
10064
10097
  } else {
@@ -10080,7 +10113,7 @@ const CustomTypeSubform = _ref => {
10080
10113
  children: panelTitle || jsx(FormattedMessage, _objectSpread$s({}, messages$o.title))
10081
10114
  }),
10082
10115
  headerControls: typeDefinitions.length > 0 && jsx("div", {
10083
- css: /*#__PURE__*/css("min-width:", designTokens.constraint11, ";" + (process.env.NODE_ENV === "production" ? "" : ";label:CustomTypeSubform;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImN1c3RvbS10eXBlLXN1YmZvcm0uanN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXFIb0IiLCJmaWxlIjoiY3VzdG9tLXR5cGUtc3ViZm9ybS5qc3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyB1c2VDYWxsYmFjayB9IGZyb20gJ3JlYWN0JztcbmltcG9ydCBQcm9wVHlwZXMgZnJvbSAncHJvcC10eXBlcyc7XG5pbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgeyB1c2VGb3JtaWtDb250ZXh0LCBnZXRJbiB9IGZyb20gJ2Zvcm1payc7XG5pbXBvcnQgeyBGb3JtYXR0ZWRNZXNzYWdlLCB1c2VJbnRsIH0gZnJvbSAncmVhY3QtaW50bCc7XG5pbXBvcnQgeyB1c2VBcHBsaWNhdGlvbkNvbnRleHQgfSBmcm9tICdAY29tbWVyY2V0b29scy1mcm9udGVuZC9hcHBsaWNhdGlvbi1zaGVsbC1jb25uZWN0b3JzJztcbmltcG9ydCB7IGZvcm1hdExvY2FsaXplZFN0cmluZyB9IGZyb20gJ0Bjb21tZXJjZXRvb2xzLWZyb250ZW5kL2wxMG4nO1xuaW1wb3J0IHtcbiAgQ29sbGFwc2libGVQYW5lbCxcbiAgU2VsZWN0SW5wdXQsXG4gIGRlc2lnblRva2Vucyxcbn0gZnJvbSAnQGNvbW1lcmNldG9vbHMtZnJvbnRlb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TZWxlY3RJbnB1dFxuICAgICAgICAgICAgICBpc0NsZWFyYWJsZVxuICAgICAgICAgICAgICBkYXRhLXRlc3RpZD1cImN1c3RvbS10eXBlLXNlbGVjdFwiXG4gICAgICAgICAgICAgIG5hbWU9e2Ake3Jvb3RGaWVsZE5hbWV9LnR5cGUub2JqLmtleWB9XG4gICAgICAgICAgICAgIG9wdGlvbnM9e21hcFR5cGVEZWZpbml0aW9uc1RvT3B0aW9ucyhcbiAgICAgICAgICAgICAgICB0eXBlRGVmaW5pdGlvbnMsXG4gICAgICAgICAgICAgICAgbGFuZ3VhZ2UsXG4gICAgICAgICAgICAgICAgbGFuZ3VhZ2VzLFxuXG4gICAgICAgICAgICAgICAgZ2V0SW4oZm9ybVZhbHVlcywgcm9vdEZpZWxkTmFtZSk/LnR5cGU/LmlkXG4gICAgICAgICAgICAgICl9XG4gICAgICAgICAgICAgIHZhbHVlPXtnZXRJbihmb3JtVmFsdWVzLCByb290RmllbGROYW1lKT8udHlwZT8ub2JqPy5rZXl9XG4gICAgICAgICAgICAgIG9uQ2hhbmdlPXtoYW5kbGVUeXBlRGVmaW5pdGlvblNlbGVjdH1cbiAgICAgICAgICAgICAgcGxhY2Vob2xkZXI9e2Zvcm1hdE1lc3NhZ2UobWVzc2FnZXMudHlwZXNQbGFjZWhvbGRlcil9XG4gICAgICAgICAgICAgIGlzUmVhZE9ubHk9e2lzUmVhZE9ubHl9XG4gICAgICAgICAgICAvPlxuICAgICAgICAgIDwvZGl2PlxuICAgICAgICApXG4gICAgICB9XG4gICAgICBoZWFkZXJDb250cm9sc0FsaWdubWVudD1cInJpZ2h0XCJcbiAgICA+XG4gICAgICA8Q3VzdG9tRmllbGRzSW5wdXRXcmFwcGVyXG4gICAgICAgIHR5cGVEZWZpbml0aW9ucz17dHlwZURlZmluaXRpb25zfVxuICAgICAgICBpc1JlYWRPbmx5PXtpc1JlYWRPbmx5fVxuICAgICAgICBoaWRlRW1wdHlGaWVsZHM9e2hpZGVFbXB0eUZpZWxkc31cbiAgICAgICAgcm9vdEZvcm1TdGF0ZUZpZWxkTmFtZT17cm9vdEZvcm1TdGF0ZUZpZWxkTmFtZX1cbiAgICAgIC8+XG4gICAgPC9Db2xsYXBzaWJsZVBhbmVsPlxuICApO1xufTtcblxuQ3VzdG9tVHlwZVN1YmZvcm0uZGlzcGxheU5hbWUgPSAnQ3VzdG9tVHlwZVN1YmZvcm0nO1xuQ3VzdG9tVHlwZVN1YmZvcm0ucHJvcFR5cGVzID0ge1xuICB0eXBlRGVmaW5pdGlvbnM6IFByb3BUeXBlcy5hcnJheS5pc1JlcXVpcmVkLFxuICBpc1JlYWRPbmx5OiBQcm9wVHlwZXMuYm9vbCxcbiAgaXNDb25kZW5zZWQ6IFByb3BUeXBlcy5ib29sLFxuICBoaWRlRW1wdHlGaWVsZHM6IFByb3BUeXBlcy5ib29sLFxuICByb290Rm9ybVN0YXRlRmllbGROYW1lOiBQcm9wVHlwZXMuc3RyaW5nLFxuICBwYW5lbFRpdGxlOiBQcm9wVHlwZXMubm9kZSxcbn07XG5cbmV4cG9ydCBkZWZhdWx0IEN1c3RvbVR5cGVTdWJmb3JtO1xuIl19 */"),
10116
+ css: /*#__PURE__*/css("min-width:", designTokens.constraint11, ";" + (process.env.NODE_ENV === "production" ? "" : ";label:CustomTypeSubform;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImN1c3RvbS10eXBlLXN1YmZvcm0uanN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQTBJb0IiLCJmaWxlIjoiY3VzdG9tLXR5cGUtc3ViZm9ybS5qc3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyB1c2VDYWxsYmFjayB9IGZyb20gJ3JlYWN0JztcbmltcG9ydCBQcm9wVHlwZXMgZnJvbSAncHJvcC10eXBlcyc7XG5pbXBvcnQgeyBjc3MgfSBmcm9tICdAZ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29sbGFwc2libGVQYW5lbC5IZWFkZXIgaXNDb25kZW5zZWQ9e2lzQ29uZGVuc2VkfT5cbiAgICAgICAgICB7cGFuZWxUaXRsZSB8fCA8Rm9ybWF0dGVkTWVzc2FnZSB7Li4ubWVzc2FnZXMudGl0bGV9IC8+fVxuICAgICAgICA8L0NvbGxhcHNpYmxlUGFuZWwuSGVhZGVyPlxuICAgICAgfVxuICAgICAgaGVhZGVyQ29udHJvbHM9e1xuICAgICAgICB0eXBlRGVmaW5pdGlvbnMubGVuZ3RoID4gMCAmJiAoXG4gICAgICAgICAgPGRpdlxuICAgICAgICAgICAgY3NzPXtjc3NgXG4gICAgICAgICAgICAgIG1pbi13aWR0aDogJHtkZXNpZ25Ub2tlbnMuY29uc3RyYWludDExfTtcbiAgICAgICAgICAgIGB9XG4gICAgICAgICAgPlxuICAgICAgICAgICAgPFNlbGVjdElucHV0XG4gICAgICAgICAgICAgIGlzQ2xlYXJhYmxlXG4gICAgICAgICAgICAgIGRhdGEtdGVzdGlkPVwiY3VzdG9tLXR5cGUtc2VsZWN0XCJcbiAgICAgICAgICAgICAgbmFtZT17YCR7cm9vdEZpZWxkTmFtZX0udHlwZS5vYmoua2V5YH1cbiAgICAgICAgICAgICAgb3B0aW9ucz17bWFwVHlwZURlZmluaXRpb25zVG9PcHRpb25zKFxuICAgICAgICAgICAgICAgIHR5cGVEZWZpbml0aW9ucyxcbiAgICAgICAgICAgICAgICBsYW5ndWFnZSxcbiAgICAgICAgICAgICAgICBsYW5ndWFnZXMsXG5cbiAgICAgICAgICAgICAgICBnZXRJbihmb3JtVmFsdWVzLCByb290RmllbGROYW1lKT8udHlwZT8uaWRcbiAgICAgICAgICAgICAgKX1cbiAgICAgICAgICAgICAgdmFsdWU9e2dldEluKGZvcm1WYWx1ZXMsIHJvb3RGaWVsZE5hbWUpPy50eXBlPy5vYmo/LmtleX1cbiAgICAgICAgICAgICAgb25DaGFuZ2U9e2hhbmRsZVR5cGVEZWZpbml0aW9uU2VsZW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= */"),
10084
10117
  children: jsx(SelectInput, {
10085
10118
  isClearable: true,
10086
10119
  "data-testid": "custom-type-select",
@@ -10163,7 +10196,7 @@ const defaultValue = {
10163
10196
  const PimIndexerContext = /*#__PURE__*/createContext(defaultValue);
10164
10197
 
10165
10198
  var FetchIndicesExist = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "FetchIndicesExist" }, variableDefinitions: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "indicesExist" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "products" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "searchableIndexExists" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "newInProgress" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "productTypes" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "searchableIndexExists" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "newInProgress" }, arguments: [], directives: [] }] } }] } }] } }], loc: { start: 0, end: 191, source: { body: "query FetchIndicesExist {\n indicesExist {\n products {\n searchableIndexExists\n newInProgress\n }\n productTypes {\n searchableIndexExists\n newInProgress\n }\n }\n}\n", name: "GraphQL request", locationOffset: { line: 1, column: 1 } } } };
10166
- var fetchPimIndexStatus = ((apolloClient, projectKey) => async dispatch => {
10199
+ var fetchPimIndexStatus = (apolloClient, projectKey) => async dispatch => {
10167
10200
  try {
10168
10201
  await dispatch(actions.head({
10169
10202
  mcApiProxyTarget: MC_API_PROXY_TARGETS.PIM_SEARCH,
@@ -10201,7 +10234,7 @@ var fetchPimIndexStatus = ((apolloClient, projectKey) => async dispatch => {
10201
10234
  status: 'unreachable'
10202
10235
  };
10203
10236
  }
10204
- });
10237
+ };
10205
10238
 
10206
10239
  var messages$n = defineMessages({
10207
10240
  indexingSucceed: {
package/dist/styles.css CHANGED
@@ -24,6 +24,11 @@
24
24
  margin-top: 2px;
25
25
  position: absolute;
26
26
  }
27
+ /* imported from store-select-input.module.css */
28
+
29
+ .store-select-input-module__customOption___2SC00 {
30
+ margin-top: 10px;
31
+ }
27
32
  /* imported from validated-input.module.css */
28
33
 
29
34
  .validated-input-module__invalid___380EL {
@@ -584,14 +589,9 @@
584
589
  .set-buttons-module__gap___38Qr0 {
585
590
  padding: 20px;
586
591
  }
587
- /* imported from platform-limits-customers-status.module.css */
588
-
589
- .platform-limits-customers-status-module__status___3rXYM {
590
- min-width: max-content;
591
- }
592
- /* imported from platform-limits-customers-combined.module.css */
592
+ /* imported from platform-limits-customer-groups-combined.module.css */
593
593
 
594
- .platform-limits-customers-combined-module__combined___OszDd {
594
+ .platform-limits-customer-groups-combined-module__combined___WjRoI {
595
595
  margin-bottom: var(--spacing-s);
596
596
  }
597
597
  /* imported from platform-limits-customer-groups-status.module.css */
@@ -599,8 +599,13 @@
599
599
  .platform-limits-customer-groups-status-module__status___6099G {
600
600
  min-width: max-content;
601
601
  }
602
- /* imported from platform-limits-customer-groups-combined.module.css */
602
+ /* imported from platform-limits-customers-status.module.css */
603
603
 
604
- .platform-limits-customer-groups-combined-module__combined___WjRoI {
604
+ .platform-limits-customers-status-module__status___3rXYM {
605
+ min-width: max-content;
606
+ }
607
+ /* imported from platform-limits-customers-combined.module.css */
608
+
609
+ .platform-limits-customers-combined-module__combined___OszDd {
605
610
  margin-bottom: var(--spacing-s);
606
611
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commercetools-frontend/experimental-components",
3
- "version": "6.2.0",
3
+ "version": "6.2.1",
4
4
  "description": "",
5
5
  "repository": {
6
6
  "type": "git",
@@ -18,19 +18,19 @@
18
18
  "@babel/core": "^7.22.11",
19
19
  "@babel/runtime": "^7.21.0",
20
20
  "@babel/runtime-corejs3": "^7.21.0",
21
- "@commercetools-frontend/actions-global": "npm:@commercetools-frontend/actions-global@^22.31.0",
22
- "@commercetools-frontend/application-components": "npm:@commercetools-frontend/application-components@^22.31.0",
23
- "@commercetools-frontend/application-shell": "npm:@commercetools-frontend/application-shell@^22.31.0",
24
- "@commercetools-frontend/application-shell-connectors": "npm:@commercetools-frontend/application-shell-connectors@^22.31.0",
25
- "@commercetools-frontend/constants": "npm:@commercetools-frontend/constants@^22.31.0",
26
- "@commercetools-frontend/l10n": "npm:@commercetools-frontend/l10n@^22.31.0",
27
- "@commercetools-frontend/sdk": "npm:@commercetools-frontend/sdk@^22.31.0",
28
- "@commercetools-frontend/sentry": "npm:@commercetools-frontend/sentry@^22.31.0",
29
- "@commercetools-frontend/ui-kit": "npm:@commercetools-frontend/ui-kit@^19.10.0",
30
- "@commercetools-uikit/design-system": "npm:@commercetools-uikit/design-system@^19.10.0",
31
- "@commercetools-uikit/select-utils": "npm:@commercetools-uikit/select-utils@^19.10.0",
32
- "@commercetools-uikit/utils": "npm:@commercetools-uikit/utils@^19.10.0",
33
- "@emotion/react": "^11.11.4",
21
+ "@commercetools-frontend/actions-global": "npm:@commercetools-frontend/actions-global@^22.32.2",
22
+ "@commercetools-frontend/application-components": "npm:@commercetools-frontend/application-components@^22.32.2",
23
+ "@commercetools-frontend/application-shell": "npm:@commercetools-frontend/application-shell@^22.32.2",
24
+ "@commercetools-frontend/application-shell-connectors": "npm:@commercetools-frontend/application-shell-connectors@^22.32.2",
25
+ "@commercetools-frontend/constants": "npm:@commercetools-frontend/constants@^22.32.2",
26
+ "@commercetools-frontend/l10n": "npm:@commercetools-frontend/l10n@^22.32.2",
27
+ "@commercetools-frontend/sdk": "npm:@commercetools-frontend/sdk@^22.32.2",
28
+ "@commercetools-frontend/sentry": "npm:@commercetools-frontend/sentry@^22.32.2",
29
+ "@commercetools-frontend/ui-kit": "npm:@commercetools-frontend/ui-kit@^19.11.0",
30
+ "@commercetools-uikit/design-system": "npm:@commercetools-uikit/design-system@^19.11.0",
31
+ "@commercetools-uikit/select-utils": "npm:@commercetools-uikit/select-utils@^19.11.0",
32
+ "@commercetools-uikit/utils": "npm:@commercetools-uikit/utils@^19.11.0",
33
+ "@emotion/react": "11.13.3",
34
34
  "classnames": "2.5.1",
35
35
  "cleave.js": "1.5.10",
36
36
  "common-tags": "1.8.2",
@@ -53,11 +53,11 @@
53
53
  },
54
54
  "devDependencies": {
55
55
  "@apollo/client": "3.7.10",
56
- "@commercetools-test-data/channel": "10.2.0",
57
- "@commercetools-test-data/commons": "10.2.0",
58
- "@commercetools-test-data/core": "10.2.0",
59
- "@commercetools-test-data/product-selection": "10.2.0",
60
- "@commercetools-test-data/store": "10.2.0",
56
+ "@commercetools-test-data/channel": "10.7.0",
57
+ "@commercetools-test-data/commons": "10.7.0",
58
+ "@commercetools-test-data/core": "10.7.0",
59
+ "@commercetools-test-data/product-selection": "10.7.0",
60
+ "@commercetools-test-data/store": "10.7.0",
61
61
  "@testing-library/react": "12.1.5",
62
62
  "@testing-library/react-hooks": "8.0.1",
63
63
  "formik": "2.4.6",