@commercetools-frontend/experimental-components 8.1.0 → 8.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (19) hide show
  1. package/dist/commercetools-frontend-experimental-components.cjs.dev.js +258 -756
  2. package/dist/commercetools-frontend-experimental-components.cjs.prod.js +251 -733
  3. package/dist/commercetools-frontend-experimental-components.esm.js +257 -747
  4. package/dist/declarations/src/hooks/index.d.ts +0 -1
  5. package/dist/declarations/src/index.d.ts +3 -10
  6. package/dist/declarations/src/utils/products/products.d.ts +4 -3
  7. package/package.json +28 -28
  8. package/dist/declarations/src/components/carousel/carousel.d.ts +0 -32
  9. package/dist/declarations/src/components/carousel/index.d.ts +0 -2
  10. package/dist/declarations/src/components/centered-loading-spinner/centered-loading-spinner.d.ts +0 -9
  11. package/dist/declarations/src/components/centered-loading-spinner/index.d.ts +0 -1
  12. package/dist/declarations/src/components/divider/divider.d.ts +0 -12
  13. package/dist/declarations/src/components/divider/index.d.ts +0 -1
  14. package/dist/declarations/src/components/formatted-date-time/formatted-date-time.d.ts +0 -17
  15. package/dist/declarations/src/components/required-indicator/required-indicator.d.ts +0 -10
  16. package/dist/declarations/src/components/scroll-to-field-error/scroll-to-field-error.d.ts +0 -2
  17. package/dist/declarations/src/components/selectable-field-search-input/selectable-field-search-input.d.ts +0 -14
  18. package/dist/declarations/src/hooks/use-db-maintenance-notification/index.d.ts +0 -1
  19. package/dist/declarations/src/hooks/use-db-maintenance-notification/use-db-maintenance-notification.d.ts +0 -7
@@ -9,7 +9,6 @@ export { default as useStoreKeysInDataFences } from "./use-store-keys-in-data-fe
9
9
  export { default as usePersistedReminder } from "./use-persisted-reminder/index.js";
10
10
  export { default as useRoleNotificationEffect } from "./use-role-notification-effect/index.js";
11
11
  export { default as useRoleNotification } from "./use-role-notification/index.js";
12
- export { useDbMaintenanceNotification } from "./use-db-maintenance-notification/index.js";
13
12
  export { default as usePendingRequests } from "./use-pending-requests/index.js";
14
13
  export { default as useEventCallback } from "./use-event-callback/index.js";
15
14
  export { default as useLocalizedKeyFallback } from "./use-localized-key-fallback/index.js";
@@ -4,13 +4,9 @@ import CartDiscountReferenceSearch from "./components/attribute-definitions/refe
4
4
  import CategoryReferenceSearch from "./components/attribute-definitions/reference-search/category-reference-search/category-reference-search.jsx";
5
5
  import useCachedCategoryOptions from "./components/attribute-definitions/reference-search/category-reference-search/use-cached-category-options.js";
6
6
  import FileInput from "./components/buttons/file-input/file-input.jsx";
7
- import Carousel, { type CarouselItem } from "./components/carousel/index.js";
8
- import CenteredLoadingSpinner from "./components/centered-loading-spinner/index.js";
9
7
  import ChannelPickerInput from "./components/channel-picker-input/index.js";
10
8
  import CountriesPicker from "./components/country-picker/index.js";
11
9
  import CustomerGroupPickerInput from "./components/customer-group-picker-input/index.js";
12
- import Divider from "./components/divider/index.js";
13
- import FormattedDateTime from "./components/formatted-date-time/formatted-date-time.jsx";
14
10
  import { FormattedLocalizedString } from "./components/formatted-localized-string/index.js";
15
11
  import keepDisplayName from "./components/keep-display-name/index.js";
16
12
  import pickerMessages from "./components/messages.js";
@@ -19,9 +15,6 @@ import ProductAttributeInput from "./components/product-attributes/product-attri
19
15
  import ProductPickerInput from "./components/product-picker-input/index.js";
20
16
  import ProductSelectionPicker from "./components/product-selection-picker/index.js";
21
17
  import RecurrentIntervalPicker, { useRecurrenceIntervals } from "./components/recurrent-interval-picker/index.js";
22
- import RequiredIndicator from "./components/required-indicator/required-indicator.jsx";
23
- import ScrollToFieldError from "./components/scroll-to-field-error/scroll-to-field-error.js";
24
- import SelectableFieldSearchInput from "./components/selectable-field-search-input/selectable-field-search-input.jsx";
25
18
  import StoreSelectField from "./components/store-select-field/store-select-field.jsx";
26
19
  import useTotalNumberOfStoresFetcher from "./components/store-select-input/hooks/use-total-number-of-stores-fetcher/use-total-number-of-stores-fetcher.js";
27
20
  import StoreSelectInput from "./components/store-select-input/store-select-input.jsx";
@@ -44,7 +37,7 @@ import MultiValueSearchInput from "./fields/multi-value-search-input/multi-value
44
37
  import NumericFormatInput from "./fields/numeric-format-input/numeric-format-input.jsx";
45
38
  import ThrottledField from "./fields/throttled-field/throttled-field.jsx";
46
39
  import { injectDataTablePaginationState, injectNotifications, wrapDisplayName, withProps, withRedirectTo, injectModalState, injectToggleState, injectStorage, getDisplayName, setDisplayName } from "./hocs/index.js";
47
- import { useDebouncedPromiseCallback, useFormatLocalizedFieldToString, useIsFieldDuplicated, useLocalizedKeyFallback, usePendingRequests, usePersistedTableConfiguration, usePrevious, useProductSelectionsFetcher, useProductSelectionsTotalFetcher, useRoleNotificationEffect, useDbMaintenanceNotification, useStorage, type UseStorageOptions, useStoreKeysInDataFences, useStoresListFetcher, useStoresSearchFetcher, useStoreSearchIndexStatusFetcher, useFormatLocalizedString, usePersistedReminder } from "./hooks/index.js";
40
+ import { useDebouncedPromiseCallback, useFormatLocalizedFieldToString, useIsFieldDuplicated, useLocalizedKeyFallback, usePendingRequests, usePersistedTableConfiguration, usePrevious, useProductSelectionsFetcher, useProductSelectionsTotalFetcher, useRoleNotificationEffect, useStorage, type UseStorageOptions, useStoreKeysInDataFences, useStoresListFetcher, useStoresSearchFetcher, useStoreSearchIndexStatusFetcher, useFormatLocalizedString, usePersistedReminder } from "./hooks/index.js";
48
41
  import { MC_RESOURCES_WITH_KEYS } from "./hooks/use-is-field-duplicated/index.js";
49
42
  import { setToArray } from "./utils/array-helpers/array-helpers.js";
50
43
  import { isEmptyValue, filterEmptyValues } from "./utils/attributes/attributes.js";
@@ -97,7 +90,7 @@ import omitDeep from "./utils/omit-deep/omit-deep.js";
97
90
  import { or, exact, and, not, range, exists, serializeAttributeValueForPimSearch } from "./utils/pim-query-clauses.js";
98
91
  import { getSelectedPrice, getDiscountValue, getNetUnitPrice, getPriceChannelName, getMinimumPricesByCurrencyCode } from "./utils/prices/prices.js";
99
92
  import { convertProductSelectionFromGraphQl } from "./utils/product-selections/convert-product-selection-from-graphql.js";
100
- import { sortRequiresLanguage, computedProperties, allowedProperties, resolveStatusType, normalizeProductSettings, getAttributeValueByType, getStampToneByPublishState, splitVariantAttributesByConstraint, splitProductAndVariantAttributes, getProductAttributes, getProductLevelAttributes } from "./utils/products/products.jsx";
93
+ import { sortRequiresLanguage, computedProperties, allowedProperties, resolveStatusType, normalizeProductSettings, getAttributeValueByType, getStampToneByPublishState, splitVariantAttributesByConstraint, splitProductAndVariantAttributes, getProductAttributes, getProductLevelAttributes, isVariantLevelAttribute } from "./utils/products/products.jsx";
101
94
  import { sanitize } from "./utils/query-string/query-string.js";
102
95
  import RequestCache from "./utils/request-cache/request-cache.js";
103
96
  import shallowEqual from "./utils/shallow-equal/shallow-equal.js";
@@ -114,4 +107,4 @@ import getIndexesOfInvalidValues from "./utils/validation/get-indexes-of-invalid
114
107
  import withoutEmptyErrorsByField from "./utils/validation/without-empty-errors-by-field.js";
115
108
  import withPendingRequests from "./utils/with-pending-requests/with-pending-requests.jsx";
116
109
  export { QUERY_LIMIT, QUERY_MAX_LIMIT, LOWER_STORES_LIMIT, UPPER_STORES_LIMIT, } from "./constants/index.js";
117
- export { allowedProperties, and, attributesMapToNameValuePairs, attributeToCustomField, base64ToString, BooleanField, booleanMessages, buildSearchQuery, 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, FILTER_TYPES, formatCustomerAddress, formatCustomerName, formatCustomField, formatDateTime, formatDateRangeValue, formatDiscount, formatMoneyRangeValue, formatMoney, formatMoneyValue, formatPercentage, formatProductAttribute, FormattedDateTime, FormattedLocalizedString, getAncestors, getAttributeValueByType, getAttributeValueType, getBottomOption, getBulkNotification, getCategoryLevel, getCountsFromBulkSummary, serializeAttributeValueForPimSearch, getDiscountValue, getDisplayName, getFractionedAmount, getFractionDigit, getIndexesOfInvalidValues, getMinimumPricesByCurrencyCode, getNetUnitPrice, getPathName, getPrefixSearchBounds, getProductAttributes, getProductLevelAttributes, 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, SelectableFieldSearchInput, setToArray, setDisplayName, shallowEqual, shouldUpdateAttributeInput, slugify, sortDataByIdsArray, sortRequiresLanguage, splitVariantAttributesByConstraint, splitProductAndVariantAttributes, StoreSelectField, StoreSelectInput, stringToBase64, swapArrayItems, ThrottledField, transformAllToProperNounCase, transformCustomFieldsRawToCustomFields, transformLocalizedFieldsForCategory, truncate, unique, uniqueObjects, useCachedCategoryOptions, useCurrentOption, useCustomersPlatformLimits, useCustomerGroupsPlatformLimits, useDebouncedPromiseCallback, useFormatCustomField, useFormatLocalizedFieldToString, useFormatLocalizedString, usePersistedReminder, useIsFieldDuplicated, useLocalizedKeyFallback, useLoadOptions, usePendingRequests, usePersistedTableConfiguration, usePimIndexer, usePrevious, useProductSelectionsFetcher, useProductSelectionsTotalFetcher, useRecurrenceIntervals, useRoleNotificationEffect, useDbMaintenanceNotification, useShowBulkNotification, useStorage, type UseStorageOptions, useStoreKeysInDataFences, useStoresListFetcher, useStoresSearchFetcher, useStoreSearchIndexStatusFetcher, useStoresPlatformLimits, useTaxCategoriesPlatformLimits, useTotalNumberOfStoresFetcher, useShippingMethodsPlatformLimits, validatedInput, validateCustomField, validateCustomFields, CUSTOM_FIELD_TYPES, validateDate, validateMultiOptionEnum, validateSingleOptionEnum, validateText, validateNumber, validationMessages, VALIDATOR_INTEGER, VALIDATOR_NUMERIC, VALIDATOR_REQUIRED, valueMapping, withProps, withoutEmptyErrorsByField, withPendingRequests, WithPimIndexer, withRedirectTo, wrapDisplayName, };
110
+ export { allowedProperties, and, attributesMapToNameValuePairs, attributeToCustomField, base64ToString, BooleanField, booleanMessages, buildSearchQuery, businessRoles, businessRoleConstants, businessRoleMessages, capitalizeFirst, CartDiscountReferenceSearch, CategoryReferenceSearch, CategorySearchPickerOptionFragment, 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, EMAIL_REGEX, exact, exists, extractErrorFromGraphQlResponse, FileInput, filterCustomTypeUpdateActionValues, filterDataAttributes, filterEmptyValues, FILTER_TYPES, formatCustomerAddress, formatCustomerName, formatCustomField, formatDateTime, formatDateRangeValue, formatDiscount, formatMoneyRangeValue, formatMoney, formatMoneyValue, formatPercentage, formatProductAttribute, FormattedLocalizedString, getAncestors, getAttributeValueByType, getAttributeValueType, getBottomOption, getBulkNotification, getCategoryLevel, getCountsFromBulkSummary, serializeAttributeValueForPimSearch, getDiscountValue, getDisplayName, getFractionedAmount, getFractionDigit, getIndexesOfInvalidValues, getMinimumPricesByCurrencyCode, getNetUnitPrice, getPathName, getPrefixSearchBounds, getProductAttributes, getProductLevelAttributes, isVariantLevelAttribute, 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, resolveStatusType, RESOURCES_WITH_PLATFORM_LIMITS, safelyAddFallback, sanitize, searchCategories, setToArray, setDisplayName, shallowEqual, shouldUpdateAttributeInput, slugify, sortDataByIdsArray, sortRequiresLanguage, splitVariantAttributesByConstraint, splitProductAndVariantAttributes, StoreSelectField, StoreSelectInput, stringToBase64, swapArrayItems, ThrottledField, transformAllToProperNounCase, transformCustomFieldsRawToCustomFields, transformLocalizedFieldsForCategory, truncate, unique, uniqueObjects, useCachedCategoryOptions, useCurrentOption, useCustomersPlatformLimits, useCustomerGroupsPlatformLimits, useDebouncedPromiseCallback, useFormatCustomField, useFormatLocalizedFieldToString, useFormatLocalizedString, usePersistedReminder, useIsFieldDuplicated, useLocalizedKeyFallback, useLoadOptions, usePendingRequests, usePersistedTableConfiguration, usePimIndexer, usePrevious, useProductSelectionsFetcher, useProductSelectionsTotalFetcher, useRecurrenceIntervals, useRoleNotificationEffect, useShowBulkNotification, useStorage, type UseStorageOptions, useStoreKeysInDataFences, useStoresListFetcher, useStoresSearchFetcher, useStoreSearchIndexStatusFetcher, useStoresPlatformLimits, useTaxCategoriesPlatformLimits, useTotalNumberOfStoresFetcher, useShippingMethodsPlatformLimits, validatedInput, validateCustomField, validateCustomFields, CUSTOM_FIELD_TYPES, validateDate, validateMultiOptionEnum, validateSingleOptionEnum, validateText, validateNumber, validationMessages, VALIDATOR_INTEGER, VALIDATOR_NUMERIC, VALIDATOR_REQUIRED, valueMapping, withProps, withoutEmptyErrorsByField, withPendingRequests, WithPimIndexer, withRedirectTo, wrapDisplayName, };
@@ -3,7 +3,7 @@ export function normalizeProductSettings(settings: any): {};
3
3
  export function splitVariantAttributesByConstraint(product: any, constraint: any): any[][];
4
4
  export function splitProductAndVariantAttributes(product: any): any[][];
5
5
  export function resolveStatusType(product: any): string;
6
- export function getStampToneByPublishState(statusCode: any): "secondary" | "positive" | "warning" | undefined;
6
+ export function getStampToneByPublishState(statusCode: any): "secondary" | "warning" | "positive" | undefined;
7
7
  export const COLUMN_WIDTH_FALLBACK: 200;
8
8
  export const allowedProperties: Map<string, string | null>;
9
9
  export const ignoredColumns: any[];
@@ -56,5 +56,6 @@ export function getAttributeValueByType({ type, value, projectDataLocale, intl,
56
56
  intl: any;
57
57
  projectLanguages: any;
58
58
  }): any;
59
- export function getProductLevelAttributes(attribueDefinition: any): boolean;
60
- export function getProductAttributes(attribueDefinition: any): boolean;
59
+ export function getProductLevelAttributes(attributeDefinition: any): boolean;
60
+ export function isVariantLevelAttribute(attributeDefinition: any): boolean;
61
+ export function getProductAttributes(attributeDefinition: any): boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commercetools-frontend/experimental-components",
3
- "version": "8.1.0",
3
+ "version": "8.1.2",
4
4
  "description": "",
5
5
  "repository": {
6
6
  "type": "git",
@@ -25,62 +25,62 @@
25
25
  "dependencies": {
26
26
  "@babel/core": "^7.22.11",
27
27
  "@babel/runtime-corejs3": "^7.21.0",
28
- "@commercetools-frontend/actions-global": "25.1.0",
29
- "@commercetools-frontend/application-components": "25.1.0",
30
- "@commercetools-frontend/application-shell": "25.1.0",
31
- "@commercetools-frontend/application-shell-connectors": "25.1.0",
32
- "@commercetools-frontend/constants": "25.1.0",
33
- "@commercetools-frontend/l10n": "25.1.0",
34
- "@commercetools-frontend/sdk": "25.1.0",
35
- "@commercetools-frontend/sentry": "25.1.0",
36
- "@commercetools-frontend/ui-kit": "20.3.0",
37
- "@commercetools-uikit/design-system": "20.3.0",
38
- "@commercetools-uikit/select-utils": "20.3.0",
39
- "@commercetools-uikit/utils": "20.3.0",
28
+ "@commercetools-frontend/actions-global": "26.1.0",
29
+ "@commercetools-frontend/application-components": "26.1.0",
30
+ "@commercetools-frontend/application-shell": "26.1.0",
31
+ "@commercetools-frontend/application-shell-connectors": "26.1.0",
32
+ "@commercetools-frontend/constants": "26.1.0",
33
+ "@commercetools-frontend/l10n": "26.1.0",
34
+ "@commercetools-frontend/sdk": "26.1.0",
35
+ "@commercetools-frontend/sentry": "26.1.0",
36
+ "@commercetools-frontend/ui-kit": "20.4.0",
37
+ "@commercetools-uikit/design-system": "20.4.0",
38
+ "@commercetools-uikit/select-utils": "20.4.0",
39
+ "@commercetools-uikit/utils": "20.4.0",
40
40
  "@emotion/react": "11.14.0",
41
41
  "@hello-pangea/dnd": "^18.0.1",
42
42
  "classnames": "2.5.1",
43
43
  "cleave.js": "1.5.10",
44
44
  "common-tags": "1.8.2",
45
45
  "debounce-promise": "3.1.2",
46
- "fast-equals": "4.0.3",
46
+ "fast-equals": "6.0.0",
47
47
  "hoist-non-react-statics": "3.3.2",
48
- "lodash": "4.17.21",
48
+ "lodash": "4.17.23",
49
49
  "memoize-one": "6.0.0",
50
50
  "moment": "2.30.1",
51
51
  "moment-timezone": "0.6.0",
52
52
  "omit-deep": "0.3.0",
53
53
  "omit-empty-es": "1.2.0",
54
54
  "prop-types": "15.8.1",
55
- "react-snap-carousel": "^0.5.1",
56
55
  "react-textarea-autosize": "8.5.9",
57
- "reselect": "4.1.8",
56
+ "reselect": "5.1.1",
58
57
  "tiny-invariant": "1.3.3",
59
58
  "tiny-warning": "1.0.3",
60
- "uuid": "9.0.1"
59
+ "uuid": "11.1.0",
60
+ "@commercetools/merchant-center-shared-ui": "0.0.3"
61
61
  },
62
62
  "devDependencies": {
63
63
  "@apollo/client": "3.12.4",
64
- "@commercetools/composable-commerce-test-data": "13.12.0",
64
+ "@commercetools/composable-commerce-test-data": "13.13.1",
65
65
  "@testing-library/jest-dom": "^6.9.1",
66
- "@testing-library/react": "16.3.1",
66
+ "@testing-library/react": "16.3.2",
67
67
  "@types/debounce-promise": "3.1.9",
68
68
  "@types/jest": "^30.0.0",
69
- "@types/react": "19.2.7",
70
- "formik": "2.4.6",
71
- "graphql": "16.11.0",
69
+ "@types/node": "24.11.0",
70
+ "@types/react": "19.2.14",
71
+ "formik": "2.4.9",
72
+ "graphql": "16.12.0",
72
73
  "graphql-tag": "2.12.6",
73
74
  "msw": "1.3.5",
74
- "react": "19.2.3",
75
- "react-dom": "19.2.3",
75
+ "react": "19.2.4",
76
+ "react-dom": "19.2.4",
76
77
  "react-intl": "7.1.14",
77
78
  "react-redux": "9.2.0",
78
79
  "react-required-if": "1.0.3",
79
80
  "react-router-dom": "5.3.4",
80
- "react-test-renderer": "17.0.2",
81
81
  "redux": "5.0.1",
82
- "typescript": "5.7.2",
83
- "@commercetools-local/test-utils": "1.2.25"
82
+ "typescript": "5.9.3",
83
+ "@commercetools-local/test-utils": "1.2.26"
84
84
  },
85
85
  "peerDependencies": {
86
86
  "@apollo/client": "3.x",
@@ -1,32 +0,0 @@
1
- import { type MessageDescriptor } from 'react-intl';
2
- import { Stamp } from '@commercetools-frontend/ui-kit';
3
- export type CarouselItem = {
4
- /** An identifier used to create keys */
5
- id: string;
6
- /** The source URL for the main image content. Should be 384px x 200px. */
7
- imgSrc?: string;
8
- /** An alt message for image accessibility */
9
- imgAlt?: MessageDescriptor;
10
- /** The label of the header stamp */
11
- stampLabel?: MessageDescriptor;
12
- /** UI-Kit-compatible color for the header stamp */
13
- stampTone?: React.ComponentProps<typeof Stamp>['tone'];
14
- /** Whether the header stamp should be condensed */
15
- isStampCondensed?: boolean;
16
- /** Text of the carousel slide. Shouldn't exceed ~70 characters. */
17
- textContent: MessageDescriptor;
18
- /** Where the content should redirect to on user click */
19
- linkTo?: (projectKey?: string) => string;
20
- /** Governs whether the redirection happens outside of the Merchant Center. */
21
- isExternal?: boolean;
22
- /** Feature flag to control visibility of the item */
23
- flag?: string;
24
- };
25
- type CarouselProps = {
26
- items: CarouselItem[];
27
- fullWidth?: boolean;
28
- borderless?: boolean;
29
- hasPadding?: boolean;
30
- };
31
- declare const Carousel: ({ items, fullWidth, borderless, hasPadding, }: CarouselProps) => import("@emotion/react/jsx-runtime").JSX.Element;
32
- export default Carousel;
@@ -1,2 +0,0 @@
1
- export { default } from "./carousel.js";
2
- export type { CarouselItem } from "./carousel.js";
@@ -1,9 +0,0 @@
1
- export default CenteredLoadingSpinner;
2
- /**
3
- * renders a centered LoadingSpinner that assumes the height of its parent
4
- * - the ui-kit Spacings.Stack does not allow for custom styles, nor does it stretch to fill its container's height
5
- */
6
- declare function CenteredLoadingSpinner(): import("@emotion/react/jsx-runtime").JSX.Element;
7
- declare namespace CenteredLoadingSpinner {
8
- let displayName: string;
9
- }
@@ -1 +0,0 @@
1
- export { default } from "./centered-loading-spinner.jsx";
@@ -1,12 +0,0 @@
1
- declare function Divider({ isDashed, orientation, }: {
2
- isDashed?: boolean | undefined;
3
- orientation?: string | undefined;
4
- }): import("@emotion/react/jsx-runtime").JSX.Element;
5
- declare namespace Divider {
6
- let displayName: string;
7
- namespace propTypes {
8
- let isDashed: any;
9
- let orientation: any;
10
- }
11
- }
12
- export default Divider;
@@ -1 +0,0 @@
1
- export { default } from "./divider.jsx";
@@ -1,17 +0,0 @@
1
- export class FormattedDateTime extends PureComponent<any, any, any> {
2
- static displayName: string;
3
- static propTypes: {
4
- type: any;
5
- value: any;
6
- timeZone: any;
7
- intl: any;
8
- };
9
- constructor(props: any);
10
- constructor(props: any, context: any);
11
- render(): import("@emotion/react/jsx-runtime").JSX.Element;
12
- }
13
- declare const _default: import("react").FC<import("react-intl").WithIntlProps<any>> & {
14
- WrappedComponent: import("react").ComponentType<any>;
15
- };
16
- export default _default;
17
- import { PureComponent } from 'react';
@@ -1,10 +0,0 @@
1
- export default RequiredIndicator;
2
- declare function RequiredIndicator({ uncolored }: {
3
- uncolored: any;
4
- }): import("@emotion/react/jsx-runtime").JSX.Element;
5
- declare namespace RequiredIndicator {
6
- let displayName: string;
7
- namespace propTypes {
8
- let uncolored: any;
9
- }
10
- }
@@ -1,2 +0,0 @@
1
- export default ScrollToFieldError;
2
- declare function ScrollToFieldError(): null;
@@ -1,14 +0,0 @@
1
- export function SelectableFieldSearchInput(props: any): import("@emotion/react/jsx-runtime").JSX.Element;
2
- export namespace SelectableFieldSearchInput {
3
- let displayName: string;
4
- namespace propTypes {
5
- let options: any;
6
- let onReset: any;
7
- let placeholder: any;
8
- let onChange: any;
9
- let initialValue: any;
10
- let searchMode: any;
11
- let disabled: any;
12
- }
13
- }
14
- export default SelectableFieldSearchInput;
@@ -1 +0,0 @@
1
- export { useDbMaintenanceNotification } from "./use-db-maintenance-notification.js";
@@ -1,7 +0,0 @@
1
- declare global {
2
- interface Window {
3
- Cypress: any;
4
- }
5
- }
6
- export declare const ENABLE_DB_MAINTENANCE_NOTIFICATION = "enableDbMaintenanceNotification";
7
- export declare const useDbMaintenanceNotification: () => void;