@commercetools-frontend/experimental-components 7.1.1 → 7.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.
@@ -4197,6 +4197,29 @@ function formatCustomField(_ref) {
4197
4197
  userTimeZone
4198
4198
  });
4199
4199
  }
4200
+ function useFormatCustomField() {
4201
+ const intl = reactIntl.useIntl();
4202
+ const _useApplicationContex = applicationShellConnectors.useApplicationContext(applicationContext => ({
4203
+ language: applicationContext.dataLocale,
4204
+ languages: applicationContext.project?.languages,
4205
+ userTimeZone: applicationContext.user?.timeZone
4206
+ })),
4207
+ language = _useApplicationContex.language,
4208
+ languages = _useApplicationContex.languages,
4209
+ userTimeZone = _useApplicationContex.userTimeZone;
4210
+ return React.useCallback(_ref2 => {
4211
+ let type = _ref2.type,
4212
+ value = _ref2.value;
4213
+ return formatCustomField({
4214
+ type,
4215
+ value,
4216
+ intl,
4217
+ language,
4218
+ languages,
4219
+ userTimeZone
4220
+ });
4221
+ }, [intl, language, languages, userTimeZone]);
4222
+ }
4200
4223
 
4201
4224
  // FIXME: delete once prefix search is supported in ctp api
4202
4225
 
@@ -9055,11 +9078,11 @@ const RecurrentIntervalPicker = _ref => {
9055
9078
  formatMessage = _useIntl.formatMessage;
9056
9079
  const dataLocale = applicationShellConnectors.useApplicationContext(applicationContext => applicationContext.dataLocale);
9057
9080
  const formatLocalizedFieldToString = useFormatLocalizedFieldToString();
9058
- const skip = isReadOnly && !value;
9081
+ const skipFetch = isReadOnly && !value;
9059
9082
  const where = isReadOnly && value ? `id="${value}"` : undefined;
9060
9083
  const _useRecurrenceInterva = useRecurrenceIntervals({
9061
9084
  where,
9062
- skip
9085
+ skip: skipFetch
9063
9086
  }),
9064
9087
  recurrencePolicies = _useRecurrenceInterva.recurrencePolicies,
9065
9088
  loading = _useRecurrenceInterva.loading,
@@ -9084,7 +9107,7 @@ const RecurrentIntervalPicker = _ref => {
9084
9107
  }
9085
9108
  return mapped;
9086
9109
  }, [recurrencePolicies, selectedIsMissingInData, value, dataLocale, formatMessage, formatLocalizedFieldToString, loading]);
9087
- const noRecurrentIntervalsConfigured = !loading && recurrencePolicies.length === 0;
9110
+ const noRecurrentIntervalsConfigured = !loading && !skipFetch && recurrencePolicies.length === 0;
9088
9111
  React.useEffect(() => {
9089
9112
  if (error && onError) {
9090
9113
  onError(error);
@@ -9110,7 +9133,7 @@ const RecurrentIntervalPicker = _ref => {
9110
9133
  }) : selectedIsMissingInData ? jsxRuntime.jsx(uiKit.Text.Body, {
9111
9134
  tone: "negative",
9112
9135
  intlMessage: messages$w.missingSelectedWarning
9113
- }) : null, !error && !skip && noRecurrentIntervalsConfigured && jsxRuntime.jsx(uiKit.ContentNotification, {
9136
+ }) : null, !error && noRecurrentIntervalsConfigured && jsxRuntime.jsx(uiKit.ContentNotification, {
9114
9137
  type: "warning",
9115
9138
  children: jsxRuntime.jsx(uiKit.Text.Detail, {
9116
9139
  intlMessage: messages$w.noRecurrentIntervalsConfigured
@@ -9167,7 +9190,8 @@ const ScrollToFieldError = () => {
9167
9190
  // div is used only for custom fields
9168
9191
  document.querySelector(`div[aria-errormessage="${firstElementId}"]`) ?? document.querySelector(`label[for="${id}"]`) ?? document.querySelector(`label#${id}`) ?? firstErrorElement;
9169
9192
  elementToScrollTo.scrollIntoView?.({
9170
- behavior: 'smooth'
9193
+ behavior: 'smooth',
9194
+ block: 'center'
9171
9195
  });
9172
9196
  }
9173
9197
  }
@@ -14685,6 +14709,7 @@ exports.useCustomFieldsDnDContext = useDnDContext;
14685
14709
  exports.useCustomerGroupsPlatformLimits = useCustomerGroupsPlatformLimits$1;
14686
14710
  exports.useCustomersPlatformLimits = useCustomersPlatformLimits$1;
14687
14711
  exports.useDebouncedPromiseCallback = useDebouncedPromiseCallback$1;
14712
+ exports.useFormatCustomField = useFormatCustomField;
14688
14713
  exports.useFormatLocalizedFieldToString = useFormatLocalizedFieldToString;
14689
14714
  exports.useFormatLocalizedString = useFormatLocalizedString;
14690
14715
  exports.useIsFieldDuplicated = useIsFieldDuplicated$1;
@@ -4196,6 +4196,29 @@ function formatCustomField(_ref) {
4196
4196
  userTimeZone
4197
4197
  });
4198
4198
  }
4199
+ function useFormatCustomField() {
4200
+ const intl = reactIntl.useIntl();
4201
+ const _useApplicationContex = applicationShellConnectors.useApplicationContext(applicationContext => ({
4202
+ language: applicationContext.dataLocale,
4203
+ languages: applicationContext.project?.languages,
4204
+ userTimeZone: applicationContext.user?.timeZone
4205
+ })),
4206
+ language = _useApplicationContex.language,
4207
+ languages = _useApplicationContex.languages,
4208
+ userTimeZone = _useApplicationContex.userTimeZone;
4209
+ return React.useCallback(_ref2 => {
4210
+ let type = _ref2.type,
4211
+ value = _ref2.value;
4212
+ return formatCustomField({
4213
+ type,
4214
+ value,
4215
+ intl,
4216
+ language,
4217
+ languages,
4218
+ userTimeZone
4219
+ });
4220
+ }, [intl, language, languages, userTimeZone]);
4221
+ }
4199
4222
 
4200
4223
  // FIXME: delete once prefix search is supported in ctp api
4201
4224
 
@@ -9033,11 +9056,11 @@ const RecurrentIntervalPicker = _ref => {
9033
9056
  formatMessage = _useIntl.formatMessage;
9034
9057
  const dataLocale = applicationShellConnectors.useApplicationContext(applicationContext => applicationContext.dataLocale);
9035
9058
  const formatLocalizedFieldToString = useFormatLocalizedFieldToString();
9036
- const skip = isReadOnly && !value;
9059
+ const skipFetch = isReadOnly && !value;
9037
9060
  const where = isReadOnly && value ? `id="${value}"` : undefined;
9038
9061
  const _useRecurrenceInterva = useRecurrenceIntervals({
9039
9062
  where,
9040
- skip
9063
+ skip: skipFetch
9041
9064
  }),
9042
9065
  recurrencePolicies = _useRecurrenceInterva.recurrencePolicies,
9043
9066
  loading = _useRecurrenceInterva.loading,
@@ -9062,7 +9085,7 @@ const RecurrentIntervalPicker = _ref => {
9062
9085
  }
9063
9086
  return mapped;
9064
9087
  }, [recurrencePolicies, selectedIsMissingInData, value, dataLocale, formatMessage, formatLocalizedFieldToString, loading]);
9065
- const noRecurrentIntervalsConfigured = !loading && recurrencePolicies.length === 0;
9088
+ const noRecurrentIntervalsConfigured = !loading && !skipFetch && recurrencePolicies.length === 0;
9066
9089
  React.useEffect(() => {
9067
9090
  if (error && onError) {
9068
9091
  onError(error);
@@ -9088,7 +9111,7 @@ const RecurrentIntervalPicker = _ref => {
9088
9111
  }) : selectedIsMissingInData ? jsxRuntime.jsx(uiKit.Text.Body, {
9089
9112
  tone: "negative",
9090
9113
  intlMessage: messages$w.missingSelectedWarning
9091
- }) : null, !error && !skip && noRecurrentIntervalsConfigured && jsxRuntime.jsx(uiKit.ContentNotification, {
9114
+ }) : null, !error && noRecurrentIntervalsConfigured && jsxRuntime.jsx(uiKit.ContentNotification, {
9092
9115
  type: "warning",
9093
9116
  children: jsxRuntime.jsx(uiKit.Text.Detail, {
9094
9117
  intlMessage: messages$w.noRecurrentIntervalsConfigured
@@ -9145,7 +9168,8 @@ const ScrollToFieldError = () => {
9145
9168
  // div is used only for custom fields
9146
9169
  document.querySelector(`div[aria-errormessage="${firstElementId}"]`) ?? document.querySelector(`label[for="${id}"]`) ?? document.querySelector(`label#${id}`) ?? firstErrorElement;
9147
9170
  elementToScrollTo.scrollIntoView?.({
9148
- behavior: 'smooth'
9171
+ behavior: 'smooth',
9172
+ block: 'center'
9149
9173
  });
9150
9174
  }
9151
9175
  }
@@ -14655,6 +14679,7 @@ exports.useCustomFieldsDnDContext = useDnDContext;
14655
14679
  exports.useCustomerGroupsPlatformLimits = useCustomerGroupsPlatformLimits$1;
14656
14680
  exports.useCustomersPlatformLimits = useCustomersPlatformLimits$1;
14657
14681
  exports.useDebouncedPromiseCallback = useDebouncedPromiseCallback$1;
14682
+ exports.useFormatCustomField = useFormatCustomField;
14658
14683
  exports.useFormatLocalizedFieldToString = useFormatLocalizedFieldToString;
14659
14684
  exports.useFormatLocalizedString = useFormatLocalizedString;
14660
14685
  exports.useIsFieldDuplicated = useIsFieldDuplicated$1;
@@ -4095,6 +4095,29 @@ function formatCustomField(_ref) {
4095
4095
  userTimeZone
4096
4096
  });
4097
4097
  }
4098
+ function useFormatCustomField() {
4099
+ const intl = useIntl();
4100
+ const _useApplicationContex = useApplicationContext(applicationContext => ({
4101
+ language: applicationContext.dataLocale,
4102
+ languages: applicationContext.project?.languages,
4103
+ userTimeZone: applicationContext.user?.timeZone
4104
+ })),
4105
+ language = _useApplicationContex.language,
4106
+ languages = _useApplicationContex.languages,
4107
+ userTimeZone = _useApplicationContex.userTimeZone;
4108
+ return useCallback(_ref2 => {
4109
+ let type = _ref2.type,
4110
+ value = _ref2.value;
4111
+ return formatCustomField({
4112
+ type,
4113
+ value,
4114
+ intl,
4115
+ language,
4116
+ languages,
4117
+ userTimeZone
4118
+ });
4119
+ }, [intl, language, languages, userTimeZone]);
4120
+ }
4098
4121
 
4099
4122
  // FIXME: delete once prefix search is supported in ctp api
4100
4123
 
@@ -8953,11 +8976,11 @@ const RecurrentIntervalPicker = _ref => {
8953
8976
  formatMessage = _useIntl.formatMessage;
8954
8977
  const dataLocale = useApplicationContext(applicationContext => applicationContext.dataLocale);
8955
8978
  const formatLocalizedFieldToString = useFormatLocalizedFieldToString();
8956
- const skip = isReadOnly && !value;
8979
+ const skipFetch = isReadOnly && !value;
8957
8980
  const where = isReadOnly && value ? `id="${value}"` : undefined;
8958
8981
  const _useRecurrenceInterva = useRecurrenceIntervals({
8959
8982
  where,
8960
- skip
8983
+ skip: skipFetch
8961
8984
  }),
8962
8985
  recurrencePolicies = _useRecurrenceInterva.recurrencePolicies,
8963
8986
  loading = _useRecurrenceInterva.loading,
@@ -8982,7 +9005,7 @@ const RecurrentIntervalPicker = _ref => {
8982
9005
  }
8983
9006
  return mapped;
8984
9007
  }, [recurrencePolicies, selectedIsMissingInData, value, dataLocale, formatMessage, formatLocalizedFieldToString, loading]);
8985
- const noRecurrentIntervalsConfigured = !loading && recurrencePolicies.length === 0;
9008
+ const noRecurrentIntervalsConfigured = !loading && !skipFetch && recurrencePolicies.length === 0;
8986
9009
  useEffect(() => {
8987
9010
  if (error && onError) {
8988
9011
  onError(error);
@@ -9008,7 +9031,7 @@ const RecurrentIntervalPicker = _ref => {
9008
9031
  }) : selectedIsMissingInData ? jsx(Text.Body, {
9009
9032
  tone: "negative",
9010
9033
  intlMessage: messages$w.missingSelectedWarning
9011
- }) : null, !error && !skip && noRecurrentIntervalsConfigured && jsx(ContentNotification, {
9034
+ }) : null, !error && noRecurrentIntervalsConfigured && jsx(ContentNotification, {
9012
9035
  type: "warning",
9013
9036
  children: jsx(Text.Detail, {
9014
9037
  intlMessage: messages$w.noRecurrentIntervalsConfigured
@@ -9065,7 +9088,8 @@ const ScrollToFieldError = () => {
9065
9088
  // div is used only for custom fields
9066
9089
  document.querySelector(`div[aria-errormessage="${firstElementId}"]`) ?? document.querySelector(`label[for="${id}"]`) ?? document.querySelector(`label#${id}`) ?? firstErrorElement;
9067
9090
  elementToScrollTo.scrollIntoView?.({
9068
- behavior: 'smooth'
9091
+ behavior: 'smooth',
9092
+ block: 'center'
9069
9093
  });
9070
9094
  }
9071
9095
  }
@@ -14394,4 +14418,4 @@ function withPendingRequests() {
14394
14418
 
14395
14419
  var CategorySearchPickerOptionFragment = { kind: "Document", definitions: [{ kind: "FragmentDefinition", name: { kind: "Name", value: "CategorySearchPickerOptionFragment" }, typeCondition: { kind: "NamedType", name: { kind: "Name", value: "CategorySearch" } }, directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "externalId" }, 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: "slugAllLocales" }, 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: "parent" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ 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: "ancestors" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ 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: 685, source: { body: "query SearchCategoryReference($locale: Locale!, $text: String!) {\n categories: categoryAutocomplete(locale: $locale, text: $text) {\n results {\n ...CategorySearchPickerOptionFragment\n }\n }\n}\n\nquery FetchCategoriesByIds($where: String!) {\n categories(where: $where) {\n results {\n id\n nameAllLocales {\n locale\n value\n }\n }\n }\n}\n\nfragment CategorySearchPickerOptionFragment on CategorySearch {\n id\n externalId\n nameAllLocales {\n locale\n value\n }\n slugAllLocales {\n locale\n value\n }\n parent {\n nameAllLocales {\n locale\n value\n }\n }\n ancestors {\n nameAllLocales {\n locale\n value\n }\n }\n}\n", name: "GraphQL request", locationOffset: { line: 1, column: 1 } } } };
14396
14420
 
14397
- export { booleanField as BooleanField, Button$1 as Button, CUSTOM_FIELD_TYPES, Carousel$1 as Carousel, CartDiscountReferenceSearch, CategoryReferenceSearch, CategorySearchPickerOptionFragment, CenteredLoadingSpinner$1 as CenteredLoadingSpinner, ChannelPickerInput$1 as ChannelPickerInput, CountriesPicker, customFieldDefinitionsConnector as CustomFieldDefinitionsConnector, CustomFieldInput$1 as CustomFieldInput, CustomFieldTooltip$1 as CustomFieldTooltip, CustomFieldTypeDefinitionsConnector$1 as CustomFieldTypeDefinitionsConnector, CustomFields$1 as CustomFields, CustomFieldsErrorTextNotification$1 as CustomFieldsErrorTextNotification, CustomFieldsFormField$1 as CustomFieldsFormField, CustomerGroupPickerInput$1 as CustomerGroupPickerInput, DefaultPageSizes, Divider, EMAIL_REGEX, FileInput$1 as FileInput, FormattedDateTime$1 as FormattedDateTime, FormattedLocalizedString, LOWER_STORES_LIMIT, LabelRange$1 as LabelRange, MC_RESOURCES_WITH_KEYS, MissingValueField$1 as MissingValueField, MultiValueSearchInput$1 as MultiValueSearchInput, numericFormatInput as NumericFormatInput, Option$2 as Option, PRECISION_TYPES, pimIndexerProvider as PimIndexerProvider, PlatformLimitsFetcherQuery, ProductAttributeInput, ProductAttributes, ProductPickerInput$1 as ProductPickerInput, ProductSelectionsPicker as ProductSelectionPicker, QUERY_LIMIT, QUERY_MAX_LIMIT, RESOURCES_WITH_PLATFORM_LIMITS, RecurrentIntervalPicker$1 as RecurrentIntervalPicker, RequestCache$1 as RequestCache, RequiredIndicator$1 as RequiredIndicator, ScrollToFieldError$1 as ScrollToFieldError, searchInput as SearchInput, SelectableFieldSearchInput$1 as SelectableFieldSearchInput, StoreSelectField$1 as StoreSelectField, StoreSelectInput$1 as StoreSelectInput, ThrottledField$1 as ThrottledField, UPPER_STORES_LIMIT, VALIDATOR_INTEGER, VALIDATOR_NUMERIC, VALIDATOR_REQUIRED, WithPimIndexer$1 as WithPimIndexer, allowedProperties, and, attributeToCustomField, attributesMapToNameValuePairs, base64ToString, messages$c as booleanMessages, buildSearchQuery$1 as buildSearchQuery, businessRoleConstants$1 as businessRoleConstants, messages$7 as businessRoleMessages, businessRoleKeys$1 as businessRoles, capitalizeFirst, clone, coerceToInteger, computedProperties, convertApolloNetworkStatusToLoadingState, convertApolloQueryDataToConnectorData, convertProductSelectionFromGraphQl, convertRatioToPercentage, createGraphQlUpdateActions, createNextSortDefinition$1 as createNextSortDefinition, createPlatformLimitsQueryVariables, createReducer, createResourceReducer, customFields as customFieldsTransformer, dateTransformer$1 as dateTransformer, exact, exists, extractErrorFromGraphQlResponse, filterCustomTypeUpdateActionValues, filterDataAttributes, filterEmptyValues, formatCustomField, formatCustomerAddress, formatCustomerName, formatDateRangeValue, formatDateTime$1 as formatDateTime, formatDiscount, formatMoney$2 as formatMoney, formatMoneyRangeValue, formatMoneyValue, formatPercentage, formatAttribute as formatProductAttribute, getAncestors, getAttributeValueByType, getAttributeValueType, getBottomOption, getBulkNotification, getCategoryLevel, getCountsFromBulkSummary, getDiscountValue, getDisplayName$1 as getDisplayName, getFractionedAmount, getIndexesOfInvalidValues, getMinimumPricesByCurrencyCode, getNetUnitPrice, getPathName, getPrefixSearchBounds$1 as getPrefixSearchBounds, getPriceChannelName, getReferenceTypeId, getSelectedPrice, getStampToneByPublishState, getTimeZoneId, getTimeZoneLabel, getTypeNameOfType, graphqlCategoryLevelTransformer, dateTransformer as graphqlDateTransformer, missingLocaleTransformer as graphqlMissingLocaleTransformer, missingTransformer as graphqlMissingTransformer, numberTransformer as graphqlNumberTransformer, graphqlQueryBuilder, referenceTransformer as graphqlReferenceTransformer, textTransformer as graphqlTextTransformer, hasInvalidInputError$1 as hasInvalidInputError, hasSemanticError$1 as hasSemanticError, injectCustomerGroupsPlatformLimits$1 as injectCustomerGroupsPlatformLimits, injectCustomersPlatformLimits$1 as injectCustomersPlatformLimits, injectDataTablePaginationState$1 as injectDataTablePaginationState, injectModalState$3 as injectModalState, injectNotifications$1 as injectNotifications, injectPimIndexer, injectShippingMethodsPlatformLimits$1 as injectShippingMethodsPlatformLimits, injectStorage$1 as injectStorage, injectTaxCategoriesPlatformLimits$1 as injectTaxCategoriesPlatformLimits, injectModalState$1 as injectToggleState, injectZonesPlatformLimits$1 as injectZonesPlatformLimits, isEmptyFilter as isEmpty, isEmptyValue, isUUID$1 as isUUID, isValidISODate, isValidISODateTime, isValidISOTime, keepDisplayName$1 as keepDisplayName, mapShippingRateTierToGraphQL, mapStoresToOptions, mapTimeZonesToOptions, minusify, messages$9 as missingValueMessages, nameValuePairsToMap, normalizeProductSettings, not, omitDeep, omitSetsOfSets, or, commonPickerMessages as pickerMessages, range, reorderArrayItems, resolveStatusType, safelyAddFallback, sanitize, searchCategories, messages$O as searchInputMessages, setDisplayName$1 as setDisplayName, setToArray, shallowEqual, shouldUpdateAttributeInput, slugify, sortDataByIdsArray, sortRequiresLanguage, splitVariantAttributesByConstraint, stringToBase64, swapArrayItems, transformAllToProperNounCase, transformCustomFieldsRawToCustomFields, transformLocalizedFieldsForCategory, truncate, unique, uniqueObjects, useBusinessUnitsLimits$1 as useBusinessUnitsPlatformLimits, useCachedCategoryOptions, useCurrentOption, useDnDContext as useCustomFieldsDnDContext, useCustomerGroupsPlatformLimits$1 as useCustomerGroupsPlatformLimits, useCustomersPlatformLimits$1 as useCustomersPlatformLimits, useDebouncedPromiseCallback$1 as useDebouncedPromiseCallback, useFormatLocalizedFieldToString, useFormatLocalizedString, useIsFieldDuplicated$1 as useIsFieldDuplicated, useLoadOptions$1 as useLoadOptions, useLocalizedKeyFallback$1 as useLocalizedKeyFallback, usePendingRequests, usePersistedTableConfiguration$1 as usePersistedTableConfiguration, usePimIndexer, usePrevious$1 as usePrevious, useProductSelectionsFetcher$1 as useProductSelectionsFetcher, useProductSelectionsTotalFetcher$1 as useProductSelectionsTotalFetcher, useRecurrenceIntervals, useRoleNotificationEffect$1 as useRoleNotificationEffect, useShippingMethodsPlatformLimits, useStorage$1 as useStorage, useStoreKeysInDataFences$1 as useStoreKeysInDataFences, useStoresListFetcher$1 as useStoresListFetcher, useStoresLimits$1 as useStoresPlatformLimits, useTaxCategoriesPlatformLimits, useTotalNumberOfStoresFetcher$1 as useTotalNumberOfStoresFetcher, validateFilter$2 as validateCustomField, validations as validateCustomFields, validateFilter$1 as validateDate, validateMultiOptionEnum, validateFilter as validateNumber, validateSingleOptionEnum, validateText, validatedInput, validationMessages, withPendingRequests, withProps$1 as withProps, withRedirectTo$1 as withRedirectTo, withoutEmptyErrorsByField$1 as withoutEmptyErrorsByField, wrapDisplayName$1 as wrapDisplayName };
14421
+ export { booleanField as BooleanField, Button$1 as Button, CUSTOM_FIELD_TYPES, Carousel$1 as Carousel, CartDiscountReferenceSearch, CategoryReferenceSearch, CategorySearchPickerOptionFragment, CenteredLoadingSpinner$1 as CenteredLoadingSpinner, ChannelPickerInput$1 as ChannelPickerInput, CountriesPicker, customFieldDefinitionsConnector as CustomFieldDefinitionsConnector, CustomFieldInput$1 as CustomFieldInput, CustomFieldTooltip$1 as CustomFieldTooltip, CustomFieldTypeDefinitionsConnector$1 as CustomFieldTypeDefinitionsConnector, CustomFields$1 as CustomFields, CustomFieldsErrorTextNotification$1 as CustomFieldsErrorTextNotification, CustomFieldsFormField$1 as CustomFieldsFormField, CustomerGroupPickerInput$1 as CustomerGroupPickerInput, DefaultPageSizes, Divider, EMAIL_REGEX, FileInput$1 as FileInput, FormattedDateTime$1 as FormattedDateTime, FormattedLocalizedString, LOWER_STORES_LIMIT, LabelRange$1 as LabelRange, MC_RESOURCES_WITH_KEYS, MissingValueField$1 as MissingValueField, MultiValueSearchInput$1 as MultiValueSearchInput, numericFormatInput as NumericFormatInput, Option$2 as Option, PRECISION_TYPES, pimIndexerProvider as PimIndexerProvider, PlatformLimitsFetcherQuery, ProductAttributeInput, ProductAttributes, ProductPickerInput$1 as ProductPickerInput, ProductSelectionsPicker as ProductSelectionPicker, QUERY_LIMIT, QUERY_MAX_LIMIT, RESOURCES_WITH_PLATFORM_LIMITS, RecurrentIntervalPicker$1 as RecurrentIntervalPicker, RequestCache$1 as RequestCache, RequiredIndicator$1 as RequiredIndicator, ScrollToFieldError$1 as ScrollToFieldError, searchInput as SearchInput, SelectableFieldSearchInput$1 as SelectableFieldSearchInput, StoreSelectField$1 as StoreSelectField, StoreSelectInput$1 as StoreSelectInput, ThrottledField$1 as ThrottledField, UPPER_STORES_LIMIT, VALIDATOR_INTEGER, VALIDATOR_NUMERIC, VALIDATOR_REQUIRED, WithPimIndexer$1 as WithPimIndexer, allowedProperties, and, attributeToCustomField, attributesMapToNameValuePairs, base64ToString, messages$c as booleanMessages, buildSearchQuery$1 as buildSearchQuery, businessRoleConstants$1 as businessRoleConstants, messages$7 as businessRoleMessages, businessRoleKeys$1 as businessRoles, capitalizeFirst, clone, coerceToInteger, computedProperties, convertApolloNetworkStatusToLoadingState, convertApolloQueryDataToConnectorData, convertProductSelectionFromGraphQl, convertRatioToPercentage, createGraphQlUpdateActions, createNextSortDefinition$1 as createNextSortDefinition, createPlatformLimitsQueryVariables, createReducer, createResourceReducer, customFields as customFieldsTransformer, dateTransformer$1 as dateTransformer, exact, exists, extractErrorFromGraphQlResponse, filterCustomTypeUpdateActionValues, filterDataAttributes, filterEmptyValues, formatCustomField, formatCustomerAddress, formatCustomerName, formatDateRangeValue, formatDateTime$1 as formatDateTime, formatDiscount, formatMoney$2 as formatMoney, formatMoneyRangeValue, formatMoneyValue, formatPercentage, formatAttribute as formatProductAttribute, getAncestors, getAttributeValueByType, getAttributeValueType, getBottomOption, getBulkNotification, getCategoryLevel, getCountsFromBulkSummary, getDiscountValue, getDisplayName$1 as getDisplayName, getFractionedAmount, getIndexesOfInvalidValues, getMinimumPricesByCurrencyCode, getNetUnitPrice, getPathName, getPrefixSearchBounds$1 as getPrefixSearchBounds, getPriceChannelName, getReferenceTypeId, getSelectedPrice, getStampToneByPublishState, getTimeZoneId, getTimeZoneLabel, getTypeNameOfType, graphqlCategoryLevelTransformer, dateTransformer as graphqlDateTransformer, missingLocaleTransformer as graphqlMissingLocaleTransformer, missingTransformer as graphqlMissingTransformer, numberTransformer as graphqlNumberTransformer, graphqlQueryBuilder, referenceTransformer as graphqlReferenceTransformer, textTransformer as graphqlTextTransformer, hasInvalidInputError$1 as hasInvalidInputError, hasSemanticError$1 as hasSemanticError, injectCustomerGroupsPlatformLimits$1 as injectCustomerGroupsPlatformLimits, injectCustomersPlatformLimits$1 as injectCustomersPlatformLimits, injectDataTablePaginationState$1 as injectDataTablePaginationState, injectModalState$3 as injectModalState, injectNotifications$1 as injectNotifications, injectPimIndexer, injectShippingMethodsPlatformLimits$1 as injectShippingMethodsPlatformLimits, injectStorage$1 as injectStorage, injectTaxCategoriesPlatformLimits$1 as injectTaxCategoriesPlatformLimits, injectModalState$1 as injectToggleState, injectZonesPlatformLimits$1 as injectZonesPlatformLimits, isEmptyFilter as isEmpty, isEmptyValue, isUUID$1 as isUUID, isValidISODate, isValidISODateTime, isValidISOTime, keepDisplayName$1 as keepDisplayName, mapShippingRateTierToGraphQL, mapStoresToOptions, mapTimeZonesToOptions, minusify, messages$9 as missingValueMessages, nameValuePairsToMap, normalizeProductSettings, not, omitDeep, omitSetsOfSets, or, commonPickerMessages as pickerMessages, range, reorderArrayItems, resolveStatusType, safelyAddFallback, sanitize, searchCategories, messages$O as searchInputMessages, setDisplayName$1 as setDisplayName, setToArray, shallowEqual, shouldUpdateAttributeInput, slugify, sortDataByIdsArray, sortRequiresLanguage, splitVariantAttributesByConstraint, stringToBase64, swapArrayItems, transformAllToProperNounCase, transformCustomFieldsRawToCustomFields, transformLocalizedFieldsForCategory, truncate, unique, uniqueObjects, useBusinessUnitsLimits$1 as useBusinessUnitsPlatformLimits, useCachedCategoryOptions, useCurrentOption, useDnDContext as useCustomFieldsDnDContext, useCustomerGroupsPlatformLimits$1 as useCustomerGroupsPlatformLimits, useCustomersPlatformLimits$1 as useCustomersPlatformLimits, useDebouncedPromiseCallback$1 as useDebouncedPromiseCallback, useFormatCustomField, useFormatLocalizedFieldToString, useFormatLocalizedString, useIsFieldDuplicated$1 as useIsFieldDuplicated, useLoadOptions$1 as useLoadOptions, useLocalizedKeyFallback$1 as useLocalizedKeyFallback, usePendingRequests, usePersistedTableConfiguration$1 as usePersistedTableConfiguration, usePimIndexer, usePrevious$1 as usePrevious, useProductSelectionsFetcher$1 as useProductSelectionsFetcher, useProductSelectionsTotalFetcher$1 as useProductSelectionsTotalFetcher, useRecurrenceIntervals, useRoleNotificationEffect$1 as useRoleNotificationEffect, useShippingMethodsPlatformLimits, useStorage$1 as useStorage, useStoreKeysInDataFences$1 as useStoreKeysInDataFences, useStoresListFetcher$1 as useStoresListFetcher, useStoresLimits$1 as useStoresPlatformLimits, useTaxCategoriesPlatformLimits, useTotalNumberOfStoresFetcher$1 as useTotalNumberOfStoresFetcher, validateFilter$2 as validateCustomField, validations as validateCustomFields, validateFilter$1 as validateDate, validateMultiOptionEnum, validateFilter as validateNumber, validateSingleOptionEnum, validateText, validatedInput, validationMessages, withPendingRequests, withProps$1 as withProps, withRedirectTo$1 as withRedirectTo, withoutEmptyErrorsByField$1 as withoutEmptyErrorsByField, wrapDisplayName$1 as wrapDisplayName };
@@ -1,4 +1,4 @@
1
- import { TRecurrencePolicyQueryResult } from '../../../../../../types/src/generated/ctp';
1
+ import type { TRecurrencePolicyQueryResult } from '../../../../../../types/src/generated/ctp';
2
2
  declare const handlers: {
3
3
  FetchRecurrencePolicies: {
4
4
  all: (policies?: TRecurrencePolicyQueryResult['results']) => import("msw").GraphQLHandler<import("msw").GraphQLRequest<import("msw").GraphQLVariables>>;
@@ -85,7 +85,7 @@ import validateDate from "./utils/filters/validation/date/index.js";
85
85
  import { validateSingleOptionEnum, validateMultiOptionEnum } from "./utils/filters/validation/enum/enum.js";
86
86
  import validateNumber from "./utils/filters/validation/number/index.js";
87
87
  import { validateText } from "./utils/filters/validation/text/text.js";
88
- import { formatDateTime, formatDateRangeValue, formatMoney, formatMoneyValue, formatMoneyRangeValue, formatProductAttribute, formatCustomField } from "./utils/formats/index.js";
88
+ import { formatDateTime, formatDateRangeValue, formatMoney, formatMoneyValue, formatMoneyRangeValue, formatProductAttribute, formatCustomField, useFormatCustomField } from "./utils/formats/index.js";
89
89
  import formatDiscount from "./utils/formats/discount/discount.js";
90
90
  import { getFractionedAmount } from "./utils/formats/money/money.js";
91
91
  import { formatPercentage, convertRatioToPercentage } from "./utils/formats/percentage/percentage.js";
@@ -116,4 +116,4 @@ import getIndexesOfInvalidValues from "./utils/validation/get-indexes-of-invalid
116
116
  import withoutEmptyErrorsByField from "./utils/validation/without-empty-errors-by-field.js";
117
117
  import withPendingRequests from "./utils/with-pending-requests/with-pending-requests.jsx";
118
118
  export { QUERY_LIMIT, QUERY_MAX_LIMIT, LOWER_STORES_LIMIT, UPPER_STORES_LIMIT, } from "./constants/index.js";
119
- export { allowedProperties, and, attributesMapToNameValuePairs, attributeToCustomField, base64ToString, BooleanField, booleanMessages, buildSearchQuery, Button, businessRoles, businessRoleConstants, businessRoleMessages, capitalizeFirst, Carousel, type CarouselItem, CartDiscountReferenceSearch, CategoryReferenceSearch, CategorySearchPickerOptionFragment, CenteredLoadingSpinner, ChannelPickerInput, CustomerGroupPickerInput, clone, coerceToInteger, computedProperties, convertApolloNetworkStatusToLoadingState, convertApolloQueryDataToConnectorData, convertProductSelectionFromGraphQl, convertRatioToPercentage, CountriesPicker, createGraphQlUpdateActions, createNextSortDefinition, createPlatformLimitsQueryVariables, createReducer, createResourceReducer, CustomFieldDefinitionsConnector, CustomFieldTypeDefinitionsConnector, CustomFields, useDnDContext as useCustomFieldsDnDContext, CustomFieldsErrorTextNotification, CustomFieldsFormField, CustomFieldInput, customFieldsTransformer, CustomFieldTooltip, dateTransformer, DefaultPageSizes, Divider, EMAIL_REGEX, exact, exists, extractErrorFromGraphQlResponse, FileInput, filterCustomTypeUpdateActionValues, filterDataAttributes, filterEmptyValues, formatCustomerAddress, formatCustomerName, formatCustomField, formatDateTime, formatDateRangeValue, formatDiscount, formatMoneyRangeValue, formatMoney, formatMoneyValue, formatPercentage, formatProductAttribute, FormattedDateTime, FormattedLocalizedString, getAncestors, getAttributeValueByType, getAttributeValueType, getBottomOption, getBulkNotification, getCategoryLevel, getCountsFromBulkSummary, getDiscountValue, getDisplayName, getFractionedAmount, getIndexesOfInvalidValues, getMinimumPricesByCurrencyCode, getNetUnitPrice, getPathName, getPrefixSearchBounds, getPriceChannelName, getReferenceTypeId, getSelectedPrice, getStampToneByPublishState, getTimeZoneId, getTimeZoneLabel, getTypeNameOfType, graphqlCategoryLevelTransformer, graphqlDateTransformer, graphqlMissingLocaleTransformer, graphqlMissingTransformer, graphqlNumberTransformer, graphqlQueryBuilder, graphqlReferenceTransformer, graphqlTextTransformer, hasInvalidInputError, hasSemanticError, injectCustomerGroupsPlatformLimits, useBusinessUnitsPlatformLimits, injectCustomersPlatformLimits, injectDataTablePaginationState, injectModalState, injectNotifications, injectPimIndexer, injectShippingMethodsPlatformLimits, injectStorage, injectTaxCategoriesPlatformLimits, injectToggleState, injectZonesPlatformLimits, isEmpty, isEmptyValue, isUUID, isValidISODate, isValidISODateTime, isValidISOTime, keepDisplayName, LabelRange, mapShippingRateTierToGraphQL, mapTimeZonesToOptions, mapStoresToOptions, MC_RESOURCES_WITH_KEYS, minusify, MissingValueField, missingValueMessages, MultiValueSearchInput, nameValuePairsToMap, normalizeProductSettings, not, NumericFormatInput, omitDeep, omitSetsOfSets, or, Option, pickerMessages, PimIndexerProvider, PlatformLimitsFetcherQuery, PRECISION_TYPES, ProductAttributeInput, ProductAttributes, ProductPickerInput, ProductSelectionPicker, range, RecurrentIntervalPicker, reorderArrayItems, RequestCache, RequiredIndicator, resolveStatusType, RESOURCES_WITH_PLATFORM_LIMITS, safelyAddFallback, sanitize, ScrollToFieldError, searchCategories, SearchInput, searchInputMessages, SelectableFieldSearchInput, setToArray, setDisplayName, shallowEqual, shouldUpdateAttributeInput, slugify, sortDataByIdsArray, sortRequiresLanguage, splitVariantAttributesByConstraint, StoreSelectField, StoreSelectInput, stringToBase64, swapArrayItems, ThrottledField, transformAllToProperNounCase, transformCustomFieldsRawToCustomFields, transformLocalizedFieldsForCategory, truncate, unique, uniqueObjects, useCachedCategoryOptions, useCurrentOption, useCustomersPlatformLimits, useCustomerGroupsPlatformLimits, useDebouncedPromiseCallback, useFormatLocalizedFieldToString, useFormatLocalizedString, useIsFieldDuplicated, useLocalizedKeyFallback, useLoadOptions, usePendingRequests, usePersistedTableConfiguration, usePimIndexer, usePrevious, useProductSelectionsFetcher, useProductSelectionsTotalFetcher, useRecurrenceIntervals, useRoleNotificationEffect, useStorage, type UseStorageOptions, useStoreKeysInDataFences, useStoresListFetcher, useStoresPlatformLimits, useTaxCategoriesPlatformLimits, useTotalNumberOfStoresFetcher, useShippingMethodsPlatformLimits, validatedInput, validateCustomField, validateCustomFields, CUSTOM_FIELD_TYPES, validateDate, validateMultiOptionEnum, validateSingleOptionEnum, validateText, validateNumber, validationMessages, VALIDATOR_INTEGER, VALIDATOR_NUMERIC, VALIDATOR_REQUIRED, withProps, withoutEmptyErrorsByField, withPendingRequests, WithPimIndexer, withRedirectTo, wrapDisplayName, };
119
+ export { allowedProperties, and, attributesMapToNameValuePairs, attributeToCustomField, base64ToString, BooleanField, booleanMessages, buildSearchQuery, Button, businessRoles, businessRoleConstants, businessRoleMessages, capitalizeFirst, Carousel, type CarouselItem, CartDiscountReferenceSearch, CategoryReferenceSearch, CategorySearchPickerOptionFragment, CenteredLoadingSpinner, ChannelPickerInput, CustomerGroupPickerInput, clone, coerceToInteger, computedProperties, convertApolloNetworkStatusToLoadingState, convertApolloQueryDataToConnectorData, convertProductSelectionFromGraphQl, convertRatioToPercentage, CountriesPicker, createGraphQlUpdateActions, createNextSortDefinition, createPlatformLimitsQueryVariables, createReducer, createResourceReducer, CustomFieldDefinitionsConnector, CustomFieldTypeDefinitionsConnector, CustomFields, useDnDContext as useCustomFieldsDnDContext, CustomFieldsErrorTextNotification, CustomFieldsFormField, CustomFieldInput, customFieldsTransformer, CustomFieldTooltip, dateTransformer, DefaultPageSizes, Divider, EMAIL_REGEX, exact, exists, extractErrorFromGraphQlResponse, FileInput, filterCustomTypeUpdateActionValues, filterDataAttributes, filterEmptyValues, formatCustomerAddress, formatCustomerName, formatCustomField, formatDateTime, formatDateRangeValue, formatDiscount, formatMoneyRangeValue, formatMoney, formatMoneyValue, formatPercentage, formatProductAttribute, FormattedDateTime, FormattedLocalizedString, getAncestors, getAttributeValueByType, getAttributeValueType, getBottomOption, getBulkNotification, getCategoryLevel, getCountsFromBulkSummary, getDiscountValue, getDisplayName, getFractionedAmount, getIndexesOfInvalidValues, getMinimumPricesByCurrencyCode, getNetUnitPrice, getPathName, getPrefixSearchBounds, getPriceChannelName, getReferenceTypeId, getSelectedPrice, getStampToneByPublishState, getTimeZoneId, getTimeZoneLabel, getTypeNameOfType, graphqlCategoryLevelTransformer, graphqlDateTransformer, graphqlMissingLocaleTransformer, graphqlMissingTransformer, graphqlNumberTransformer, graphqlQueryBuilder, graphqlReferenceTransformer, graphqlTextTransformer, hasInvalidInputError, hasSemanticError, injectCustomerGroupsPlatformLimits, useBusinessUnitsPlatformLimits, injectCustomersPlatformLimits, injectDataTablePaginationState, injectModalState, injectNotifications, injectPimIndexer, injectShippingMethodsPlatformLimits, injectStorage, injectTaxCategoriesPlatformLimits, injectToggleState, injectZonesPlatformLimits, isEmpty, isEmptyValue, isUUID, isValidISODate, isValidISODateTime, isValidISOTime, keepDisplayName, LabelRange, mapShippingRateTierToGraphQL, mapTimeZonesToOptions, mapStoresToOptions, MC_RESOURCES_WITH_KEYS, minusify, MissingValueField, missingValueMessages, MultiValueSearchInput, nameValuePairsToMap, normalizeProductSettings, not, NumericFormatInput, omitDeep, omitSetsOfSets, or, Option, pickerMessages, PimIndexerProvider, PlatformLimitsFetcherQuery, PRECISION_TYPES, ProductAttributeInput, ProductAttributes, ProductPickerInput, ProductSelectionPicker, range, RecurrentIntervalPicker, reorderArrayItems, RequestCache, RequiredIndicator, resolveStatusType, RESOURCES_WITH_PLATFORM_LIMITS, safelyAddFallback, sanitize, ScrollToFieldError, searchCategories, SearchInput, searchInputMessages, SelectableFieldSearchInput, setToArray, setDisplayName, shallowEqual, shouldUpdateAttributeInput, slugify, sortDataByIdsArray, sortRequiresLanguage, splitVariantAttributesByConstraint, StoreSelectField, StoreSelectInput, stringToBase64, swapArrayItems, ThrottledField, transformAllToProperNounCase, transformCustomFieldsRawToCustomFields, transformLocalizedFieldsForCategory, truncate, unique, uniqueObjects, useCachedCategoryOptions, useCurrentOption, useCustomersPlatformLimits, useCustomerGroupsPlatformLimits, useDebouncedPromiseCallback, useFormatCustomField, useFormatLocalizedFieldToString, useFormatLocalizedString, useIsFieldDuplicated, useLocalizedKeyFallback, useLoadOptions, usePendingRequests, usePersistedTableConfiguration, usePimIndexer, usePrevious, useProductSelectionsFetcher, useProductSelectionsTotalFetcher, useRecurrenceIntervals, useRoleNotificationEffect, useStorage, type UseStorageOptions, useStoreKeysInDataFences, useStoresListFetcher, useStoresPlatformLimits, useTaxCategoriesPlatformLimits, useTotalNumberOfStoresFetcher, useShippingMethodsPlatformLimits, validatedInput, validateCustomField, validateCustomFields, CUSTOM_FIELD_TYPES, validateDate, validateMultiOptionEnum, validateSingleOptionEnum, validateText, validateNumber, validationMessages, VALIDATOR_INTEGER, VALIDATOR_NUMERIC, VALIDATOR_REQUIRED, withProps, withoutEmptyErrorsByField, withPendingRequests, WithPimIndexer, withRedirectTo, wrapDisplayName, };
@@ -7,7 +7,7 @@
7
7
  * value in `Custom Fields` contains a key of an `Enum` entry, and not an entry itself.
8
8
  * Therefore, before passing value to attributes formatter we need to replace value with Enum entry.
9
9
  */
10
- export default function formatCustomField({ type, value, intl, language, languages, userTimeZone, }: {
10
+ export function formatCustomField({ type, value, intl, language, languages, userTimeZone, }: {
11
11
  type: any;
12
12
  value: any;
13
13
  intl: any;
@@ -15,3 +15,7 @@ export default function formatCustomField({ type, value, intl, language, languag
15
15
  languages: any;
16
16
  userTimeZone: any;
17
17
  }): any;
18
+ export function useFormatCustomField(): ({ type, value }: {
19
+ type: any;
20
+ value: any;
21
+ }) => any;
@@ -1 +1 @@
1
- export { default } from "./custom-field.js";
1
+ export { formatCustomField, useFormatCustomField } from "./custom-field.js";
@@ -1,4 +1,4 @@
1
1
  export { default as formatProductAttribute } from "./product-attribute/index.js";
2
- export { default as formatCustomField } from "./custom-field/index.js";
3
2
  export { formatDateTime, formatDateRangeValue, formatUTCOffset } from "./date/index.js";
4
3
  export { formatMoney, formatMoneyValue, formatMoneyRangeValue } from "./money/index.js";
4
+ export { formatCustomField, useFormatCustomField } from "./custom-field/index.js";
package/dist/styles.css CHANGED
@@ -519,21 +519,6 @@
519
519
  align-items: center;
520
520
  justify-content: center;
521
521
  }
522
- /* imported from reference-search.module.css */
523
-
524
- .reference-search-module__container___3-iK3 {
525
- width: 100%;
526
- }
527
-
528
- .reference-search-module__container___3-iK3 > div {
529
- width: 100%;
530
- }
531
-
532
- .reference-search-module__missing-label___az9AO {
533
- color: var(--color-warning);
534
- font-size: 0.9rem;
535
- margin-left: var(--spacing-xs);
536
- }
537
522
  /* imported from divider.module.css */
538
523
 
539
524
  .divider-module__divider___4-vdy {
@@ -561,6 +546,21 @@
561
546
  .divider-module__divider-dashed___2Em8A {
562
547
  border-style: dashed;
563
548
  }
549
+ /* imported from reference-search.module.css */
550
+
551
+ .reference-search-module__container___3-iK3 {
552
+ width: 100%;
553
+ }
554
+
555
+ .reference-search-module__container___3-iK3 > div {
556
+ width: 100%;
557
+ }
558
+
559
+ .reference-search-module__missing-label___az9AO {
560
+ color: var(--color-warning);
561
+ font-size: 0.9rem;
562
+ margin-left: var(--spacing-xs);
563
+ }
564
564
  /* imported from set-buttons.module.css */
565
565
 
566
566
  .set-buttons-module__topAlign___3AZwc {
@@ -595,11 +595,6 @@
595
595
  .platform-limits-customers-status-module__status___3rXYM {
596
596
  min-width: max-content;
597
597
  }
598
- /* imported from platform-limits-customer-groups-status.module.css */
599
-
600
- .platform-limits-customer-groups-status-module__status___6099G {
601
- min-width: max-content;
602
- }
603
598
  /* imported from platform-limits-customers-combined.module.css */
604
599
 
605
600
  .platform-limits-customers-combined-module__combined___OszDd {
@@ -610,3 +605,8 @@
610
605
  .platform-limits-customer-groups-combined-module__combined___WjRoI {
611
606
  margin-bottom: var(--spacing-s);
612
607
  }
608
+ /* imported from platform-limits-customer-groups-status.module.css */
609
+
610
+ .platform-limits-customer-groups-status-module__status___6099G {
611
+ min-width: max-content;
612
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commercetools-frontend/experimental-components",
3
- "version": "7.1.1",
3
+ "version": "7.2.1",
4
4
  "description": "",
5
5
  "repository": {
6
6
  "type": "git",
@@ -25,14 +25,14 @@
25
25
  "dependencies": {
26
26
  "@babel/core": "^7.22.11",
27
27
  "@babel/runtime-corejs3": "^7.21.0",
28
- "@commercetools-frontend/actions-global": "24.0.0",
29
- "@commercetools-frontend/application-components": "24.0.0",
30
- "@commercetools-frontend/application-shell": "24.0.0",
31
- "@commercetools-frontend/application-shell-connectors": "24.0.0",
32
- "@commercetools-frontend/constants": "24.0.0",
33
- "@commercetools-frontend/l10n": "24.0.0",
34
- "@commercetools-frontend/sdk": "24.0.0",
35
- "@commercetools-frontend/sentry": "24.0.0",
28
+ "@commercetools-frontend/actions-global": "24.2.0",
29
+ "@commercetools-frontend/application-components": "24.2.0",
30
+ "@commercetools-frontend/application-shell": "24.2.0",
31
+ "@commercetools-frontend/application-shell-connectors": "24.2.0",
32
+ "@commercetools-frontend/constants": "24.2.0",
33
+ "@commercetools-frontend/l10n": "24.2.0",
34
+ "@commercetools-frontend/sdk": "24.2.0",
35
+ "@commercetools-frontend/sentry": "24.2.0",
36
36
  "@commercetools-frontend/ui-kit": "20.0.0",
37
37
  "@commercetools-uikit/design-system": "20.0.0",
38
38
  "@commercetools-uikit/select-utils": "20.0.0",
@@ -61,7 +61,7 @@
61
61
  },
62
62
  "devDependencies": {
63
63
  "@apollo/client": "3.12.4",
64
- "@commercetools/composable-commerce-test-data": "11.1.1",
64
+ "@commercetools/composable-commerce-test-data": "11.4.0",
65
65
  "@testing-library/react": "16.1.0",
66
66
  "@types/debounce-promise": "3.1.9",
67
67
  "@types/jest": "^29.5.2",
@@ -80,8 +80,8 @@
80
80
  "react-test-renderer": "17.0.2",
81
81
  "redux": "4.2.1",
82
82
  "typescript": "5.2.2",
83
- "@commercetools-local/test-data": "1.2.19",
84
- "@commercetools-local/test-utils": "1.2.20"
83
+ "@commercetools-local/test-data": "1.2.21",
84
+ "@commercetools-local/test-utils": "1.2.21"
85
85
  },
86
86
  "peerDependencies": {
87
87
  "@apollo/client": "3.x",