@commercetools-frontend/experimental-components 6.4.6 → 7.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commercetools-frontend-experimental-components.cjs.dev.js +1310 -1094
- package/dist/commercetools-frontend-experimental-components.cjs.prod.js +1309 -1093
- package/dist/commercetools-frontend-experimental-components.esm.js +1292 -1090
- package/dist/declarations/src/components/channel-picker-input/channel-picker-input.d.ts +3 -3
- package/dist/declarations/src/components/divider/divider.d.ts +2 -2
- package/dist/declarations/src/components/formatted-date-time/formatted-date-time.d.ts +0 -1
- package/dist/declarations/src/components/recurrent-interval-picker/index.d.ts +2 -0
- package/dist/declarations/src/components/recurrent-interval-picker/recurrent-interval-picker.d.ts +13 -0
- package/dist/declarations/src/components/recurrent-interval-picker/use-recurrence-intervals/index.d.ts +1 -0
- package/dist/declarations/src/{hooks → components/recurrent-interval-picker}/use-recurrence-intervals/use-recurrence-intervals.d.ts +6 -1
- package/dist/declarations/src/components/store-select-input/constants.d.ts +2 -0
- package/dist/declarations/src/components/validated-input/validated-input.d.ts +7 -38
- package/dist/declarations/src/constants/index.d.ts +1 -0
- package/dist/declarations/src/custom-fields/custom-field-definitions-connector/custom-field-definitions-connector.d.ts +0 -1
- package/dist/declarations/src/custom-fields/custom-field-type-definitions-connector/custom-field-type-definitions-connector.d.ts +0 -1
- package/dist/declarations/src/custom-fields/custom-fields/constants.d.ts +36 -0
- package/dist/declarations/src/custom-fields/custom-fields/custom-field-input.d.ts +2 -0
- package/dist/declarations/src/custom-fields/custom-fields/index.d.ts +2 -1
- package/dist/declarations/src/features/picker/shared/hooks/use-load-options.d.ts +1 -1
- package/dist/declarations/src/features/picker/shared/hooks/use-product-type-options.d.ts +2 -2
- package/dist/declarations/src/features/pim-indexer/components/pim-indexer-provider/pim-indexer-provider.d.ts +0 -1
- package/dist/declarations/src/features/pim-indexer/components/with-pim-indexer/with-pim-indexer.d.ts +0 -1
- package/dist/declarations/src/features/platform-limits/business-units/hooks/index.d.ts +2 -0
- package/dist/declarations/src/features/platform-limits/business-units/hooks/use-business-units-platform-limits/index.d.ts +1 -0
- package/dist/declarations/src/features/platform-limits/business-units/hooks/use-business-units-platform-limits/use-business-units-platform-limits.d.ts +10 -0
- package/dist/declarations/src/features/platform-limits/business-units/hooks/use-business-units-platform-limits-fetcher/index.d.ts +1 -0
- package/dist/declarations/src/features/platform-limits/business-units/hooks/use-business-units-platform-limits-fetcher/use-business-units-platform-limits-fetcher.d.ts +12 -0
- package/dist/declarations/src/features/platform-limits/business-units/index.d.ts +1 -0
- package/dist/declarations/src/features/platform-limits/customer-groups/hooks/use-customer-groups-platform-limits/use-customer-groups-platform-limits.d.ts +1 -1
- package/dist/declarations/src/features/platform-limits/customer-groups/hooks/use-customer-groups-platform-limits-fetcher/use-customer-groups-platform-limits-fetcher.d.ts +1 -1
- package/dist/declarations/src/features/platform-limits/customers/hooks/use-customers-platform-limits/use-customers-platform-limits.d.ts +2 -1
- package/dist/declarations/src/features/platform-limits/customers/hooks/use-customers-platform-limits-fetcher/use-customers-platform-limits-fetcher.d.ts +1 -1
- package/dist/declarations/src/features/platform-limits/index.d.ts +3 -0
- package/dist/declarations/src/features/platform-limits/shared/components/index.d.ts +2 -0
- package/dist/declarations/src/features/platform-limits/shared/components/notifications/error/error.d.ts +12 -0
- package/dist/declarations/src/features/platform-limits/shared/components/notifications/error/index.d.ts +1 -0
- package/dist/declarations/src/features/platform-limits/shared/components/notifications/index.d.ts +1 -0
- package/dist/declarations/src/features/platform-limits/shared/components/notifications/notifications.d.ts +7 -0
- package/dist/declarations/src/features/platform-limits/shared/components/notifications/warning/index.d.ts +1 -0
- package/dist/declarations/src/features/platform-limits/shared/components/notifications/warning/warning.d.ts +12 -0
- package/dist/declarations/src/features/platform-limits/shared/components/status-text/index.d.ts +1 -0
- package/dist/declarations/src/features/platform-limits/shared/components/status-text/status-text.d.ts +12 -0
- package/dist/declarations/src/features/platform-limits/shared/constants.d.ts +13 -0
- package/dist/declarations/src/features/platform-limits/shared/hooks/index.d.ts +3 -0
- package/dist/declarations/src/features/platform-limits/shared/hooks/use-intercept-navigation/index.d.ts +1 -0
- package/dist/declarations/src/features/platform-limits/shared/hooks/use-intercept-navigation/use-intercept-navigation.d.ts +7 -0
- package/dist/declarations/src/features/platform-limits/shared/hooks/use-limits-modal-state/index.d.ts +1 -0
- package/dist/declarations/src/features/platform-limits/shared/hooks/use-limits-modal-state/use-limits-modal-state.d.ts +6 -0
- package/dist/declarations/src/features/platform-limits/shared/hooks/use-platform-limits-fetcher/index.d.ts +3 -0
- package/dist/declarations/src/features/platform-limits/shared/hooks/use-platform-limits-fetcher/platform-limits-query-variables.d.ts +2 -0
- package/dist/declarations/src/features/platform-limits/shared/hooks/use-platform-limits-fetcher/use-platform-limits-fetcher.d.ts +7 -0
- package/dist/declarations/src/features/platform-limits/shared/index.d.ts +4 -0
- package/dist/declarations/src/features/platform-limits/shared/utils/index.d.ts +1 -0
- package/dist/declarations/src/features/platform-limits/shared/utils/utils.d.ts +14 -0
- package/dist/declarations/src/features/platform-limits/shipping-methods/hooks/use-shipping-methods-platform-limits/use-shipping-methods-platform-limits.d.ts +1 -1
- package/dist/declarations/src/features/platform-limits/shipping-methods/hooks/use-shipping-methods-platform-limits-fetcher/use-shipping-methods-platform-limits-fetcher.d.ts +1 -1
- package/dist/declarations/src/features/platform-limits/stores/hooks/index.d.ts +3 -0
- package/dist/declarations/src/features/platform-limits/stores/hooks/use-store-platform-limits/index.d.ts +1 -0
- package/dist/declarations/src/features/platform-limits/stores/hooks/use-store-platform-limits/use-store-platform-limits.d.ts +15 -0
- package/dist/declarations/src/features/platform-limits/stores/hooks/use-store-platform-limits-fetcher/index.d.ts +1 -0
- package/dist/declarations/src/features/platform-limits/stores/hooks/use-store-platform-limits-fetcher/use-store-platform-limits-fetcher.d.ts +13 -0
- package/dist/declarations/src/features/platform-limits/stores/hooks/use-store-platform-limits-status/index.d.ts +1 -0
- package/dist/declarations/src/features/platform-limits/stores/hooks/use-store-platform-limits-status/use-store-platform-limits-status.d.ts +5 -0
- package/dist/declarations/src/features/platform-limits/stores/index.d.ts +1 -0
- package/dist/declarations/src/features/platform-limits/tax-categories/hooks/use-tax-categories-platform-limits/use-tax-categories-platform-limits.d.ts +1 -1
- package/dist/declarations/src/features/platform-limits/tax-categories/hooks/use-tax-categories-platform-limits-fetcher/use-tax-categories-platform-limits-fetcher.d.ts +1 -1
- package/dist/declarations/src/features/platform-limits/zones/hooks/use-zones-platform-limits/use-zones-platform-limits.d.ts +1 -1
- package/dist/declarations/src/features/platform-limits/zones/hooks/use-zones-platform-limits-fetcher/use-zones-platform-limits-fetcher.d.ts +1 -1
- package/dist/declarations/src/fields/numeric-format-input/numeric-format-input.d.ts +0 -1
- package/dist/declarations/src/fields/search-input/search-input.d.ts +0 -1
- package/dist/declarations/src/fields/throttled-field/throttled-field.d.ts +0 -1
- package/dist/declarations/src/hooks/index.d.ts +0 -2
- package/dist/declarations/src/hooks/use-persisted-reminder/use-persisted-reminder.d.ts +1 -1
- package/dist/declarations/src/hooks/use-previous/use-previous.d.ts +1 -1
- package/dist/declarations/src/hooks/use-product-selections-fetcher/use-product-selections-fetcher.d.ts +1 -6
- package/dist/declarations/src/hooks/use-stores-list-fetcher/use-stores-list-fetcher.d.ts +1 -8
- package/dist/declarations/src/index.d.ts +10 -8
- package/dist/declarations/src/utils/type-definitions/type-definitions.d.ts +1 -1
- package/dist/styles.css +118 -118
- package/package.json +25 -28
- package/dist/declarations/src/hooks/use-did-form-validation-fail/index.d.ts +0 -1
- package/dist/declarations/src/hooks/use-did-form-validation-fail/use-did-form-validation-fail.d.ts +0 -1
|
@@ -3,5 +3,5 @@ declare function useZonesPlatformLimitsFetcher(): {
|
|
|
3
3
|
isLoading: boolean;
|
|
4
4
|
error: import("@apollo/client").ApolloError | undefined;
|
|
5
5
|
platformLimits: Pick<any, string | number | symbol>;
|
|
6
|
-
refetch: (variables?: Partial<
|
|
6
|
+
refetch: (variables?: Partial<import("@apollo/client").OperationVariables> | undefined) => Promise<import("@apollo/client").ApolloQueryResult<any>>;
|
|
7
7
|
};
|
|
@@ -4,7 +4,6 @@ export { default as usePrevious } from "./use-previous/index.js";
|
|
|
4
4
|
export { default as useStorage, type UseStorageOptions } from "./use-storage/index.js";
|
|
5
5
|
export { default as useStoresListFetcher } from "./use-stores-list-fetcher/index.js";
|
|
6
6
|
export { default as useStoreKeysInDataFences } from "./use-store-keys-in-data-fence/index.js";
|
|
7
|
-
export { default as useDidFormValidationFail } from "./use-did-form-validation-fail/index.js";
|
|
8
7
|
export { default as usePersistedReminder } from "./use-persisted-reminder/index.js";
|
|
9
8
|
export { default as useRoleNotificationEffect } from "./use-role-notification-effect/index.js";
|
|
10
9
|
export { default as useRoleNotification } from "./use-role-notification/index.js";
|
|
@@ -16,4 +15,3 @@ export { default as usePersistedTableConfiguration } from "./use-persisted-table
|
|
|
16
15
|
export { default as useProductSelectionsTotalFetcher } from "./use-product-selections-total-fetcher/index.js";
|
|
17
16
|
export { default as useProductSelectionsFetcher } from "./use-product-selections-fetcher/index.js";
|
|
18
17
|
export { useFormatLocalizedString } from "./use-format-localized-string/index.js";
|
|
19
|
-
export { useRecurrenceIntervals } from "./use-recurrence-intervals/use-recurrence-intervals.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export default usePersistedReminder;
|
|
2
|
-
declare function usePersistedReminder(options?: {}): (boolean | import("react").
|
|
2
|
+
declare function usePersistedReminder(options?: {}): (boolean | import("react").RefObject<boolean> | ((reminderInterval?: any) => void))[];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export default usePrevious;
|
|
2
|
-
declare function usePrevious(value: any):
|
|
2
|
+
declare function usePrevious(value: any): any;
|
|
@@ -2,10 +2,5 @@ export default useProductSelectionsFetcher;
|
|
|
2
2
|
declare function useProductSelectionsFetcher(props: any): {
|
|
3
3
|
isLoading: boolean;
|
|
4
4
|
productSelections: any;
|
|
5
|
-
refetch: (variables?: Partial<
|
|
6
|
-
limit: any;
|
|
7
|
-
offset: any;
|
|
8
|
-
sort: any;
|
|
9
|
-
where: any;
|
|
10
|
-
}> | undefined) => Promise<import("@apollo/client").ApolloQueryResult<any>>;
|
|
5
|
+
refetch: (variables?: Partial<import("@apollo/client").OperationVariables> | undefined) => Promise<import("@apollo/client").ApolloQueryResult<any>>;
|
|
11
6
|
};
|
|
@@ -9,14 +9,7 @@ export function createQueryVariables(ownProps: any): {
|
|
|
9
9
|
export default useStoresListFetcher;
|
|
10
10
|
declare function useStoresListFetcher(props: any): {
|
|
11
11
|
isLoading: boolean;
|
|
12
|
-
refetch: (variables?: Partial<
|
|
13
|
-
excludeExtendedStoresList: any;
|
|
14
|
-
excludeProductSelections: any;
|
|
15
|
-
where?: string | undefined;
|
|
16
|
-
limit: any;
|
|
17
|
-
offset: any;
|
|
18
|
-
sort: any;
|
|
19
|
-
}> | undefined) => Promise<import("@apollo/client").ApolloQueryResult<any>>;
|
|
12
|
+
refetch: (variables?: Partial<import("@apollo/client").OperationVariables> | undefined) => Promise<import("@apollo/client").ApolloQueryResult<any>>;
|
|
20
13
|
stores: {
|
|
21
14
|
total: any;
|
|
22
15
|
count: any;
|
|
@@ -14,10 +14,11 @@ import FormattedDateTime from "./components/formatted-date-time/formatted-date-t
|
|
|
14
14
|
import { FormattedLocalizedString } from "./components/formatted-localized-string/index.js";
|
|
15
15
|
import keepDisplayName from "./components/keep-display-name/index.js";
|
|
16
16
|
import pickerMessages from "./components/messages.js";
|
|
17
|
-
import ProductAttributes, { nameValuePairsToMap, attributesMapToNameValuePairs } from "./components/product-attributes/index.js";
|
|
17
|
+
import ProductAttributes, { nameValuePairsToMap, attributesMapToNameValuePairs, attributeToCustomField } from "./components/product-attributes/index.js";
|
|
18
18
|
import ProductAttributeInput from "./components/product-attributes/product-attribute-input.jsx";
|
|
19
19
|
import ProductPickerInput from "./components/product-picker-input/index.js";
|
|
20
20
|
import ProductSelectionPicker from "./components/product-selection-picker/index.js";
|
|
21
|
+
import RecurrentIntervalPicker, { useRecurrenceIntervals } from "./components/recurrent-interval-picker/index.js";
|
|
21
22
|
import RequiredIndicator from "./components/required-indicator/required-indicator.jsx";
|
|
22
23
|
import ScrollToFieldError from "./components/scroll-to-field-error/scroll-to-field-error.js";
|
|
23
24
|
import SelectableFieldSearchInput from "./components/selectable-field-search-input/selectable-field-search-input.jsx";
|
|
@@ -28,13 +29,14 @@ import { mapStoresToOptions } from "./components/store-select-input/utils.js";
|
|
|
28
29
|
import validatedInput, { EMAIL_REGEX, VALIDATOR_REQUIRED, VALIDATOR_NUMERIC, VALIDATOR_INTEGER } from "./components/validated-input/validated-input.jsx";
|
|
29
30
|
import CustomFieldDefinitionsConnector from "./custom-fields/custom-field-definitions-connector/index.js";
|
|
30
31
|
import CustomFieldTypeDefinitionsConnector from "./custom-fields/custom-field-type-definitions-connector/index.js";
|
|
31
|
-
import CustomFields, { validateCustomFields, useDnDContext } from "./custom-fields/custom-fields/index.js";
|
|
32
|
+
import CustomFields, { validateCustomFields, useDnDContext, CUSTOM_FIELD_TYPES } from "./custom-fields/custom-fields/index.js";
|
|
33
|
+
import CustomFieldInput from "./custom-fields/custom-fields/custom-field-input.jsx";
|
|
32
34
|
import CustomFieldTooltip from "./custom-fields/custom-fields/custom-field-tooltip.jsx";
|
|
33
35
|
import CustomFieldsErrorTextNotification from "./custom-fields/custom-fields-error-text-notification/custom-fields-error-text-notification.jsx";
|
|
34
36
|
import CustomFieldsFormField from "./custom-fields/custom-fields-form-field/index.js";
|
|
35
37
|
import { Option, getBottomOption, useLoadOptions, useCurrentOption } from "./features/picker/index.js";
|
|
36
38
|
import { PimIndexerProvider, WithPimIndexer, injectPimIndexer, usePimIndexer } from "./features/pim-indexer/index.js";
|
|
37
|
-
import { injectShippingMethodsPlatformLimits, useShippingMethodsPlatformLimits, injectTaxCategoriesPlatformLimits, useTaxCategoriesPlatformLimits, injectZonesPlatformLimits, useCustomersPlatformLimits, injectCustomersPlatformLimits, useCustomerGroupsPlatformLimits, injectCustomerGroupsPlatformLimits } from "./features/platform-limits/index.js";
|
|
39
|
+
import { injectShippingMethodsPlatformLimits, useShippingMethodsPlatformLimits, injectTaxCategoriesPlatformLimits, useTaxCategoriesPlatformLimits, injectZonesPlatformLimits, useCustomersPlatformLimits, injectCustomersPlatformLimits, useCustomerGroupsPlatformLimits, injectCustomerGroupsPlatformLimits, useBusinessUnitsPlatformLimits, RESOURCES_WITH_PLATFORM_LIMITS, createPlatformLimitsQueryVariables, PlatformLimitsFetcherQuery, useStoresPlatformLimits } from "./features/platform-limits/index.js";
|
|
38
40
|
import BooleanField, { messages as booleanMessages } from "./fields/boolean-field/index.js";
|
|
39
41
|
import LabelRange from "./fields/label-range/label-range.jsx";
|
|
40
42
|
import MissingValueField, { messages as missingValueMessages } from "./fields/missing-value-field/index.js";
|
|
@@ -44,7 +46,7 @@ import searchInputMessages from "./fields/search-input/messages.js";
|
|
|
44
46
|
import SearchInput from "./fields/search-input/search-input.jsx";
|
|
45
47
|
import ThrottledField from "./fields/throttled-field/throttled-field.jsx";
|
|
46
48
|
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, useStorage, type UseStorageOptions, useStoreKeysInDataFences, useStoresListFetcher, useFormatLocalizedString
|
|
49
|
+
import { useDebouncedPromiseCallback, useFormatLocalizedFieldToString, useIsFieldDuplicated, useLocalizedKeyFallback, usePendingRequests, usePersistedTableConfiguration, usePrevious, useProductSelectionsFetcher, useProductSelectionsTotalFetcher, useRoleNotificationEffect, useStorage, type UseStorageOptions, useStoreKeysInDataFences, useStoresListFetcher, useFormatLocalizedString } from "./hooks/index.js";
|
|
48
50
|
import { MC_RESOURCES_WITH_KEYS } from "./hooks/use-is-field-duplicated/index.js";
|
|
49
51
|
import { setToArray } from "./utils/array-helpers/array-helpers.js";
|
|
50
52
|
import { isEmptyValue, filterEmptyValues } from "./utils/attributes/attributes.js";
|
|
@@ -87,7 +89,7 @@ import formatDiscount from "./utils/formats/discount/discount.js";
|
|
|
87
89
|
import { getFractionedAmount } from "./utils/formats/money/money.js";
|
|
88
90
|
import { formatPercentage, convertRatioToPercentage } from "./utils/formats/percentage/percentage.js";
|
|
89
91
|
import getPrefixSearchBounds from "./utils/get-prefix-search-bounds/get-prefix-search-bounds.js";
|
|
90
|
-
import { extractErrorFromGraphQlResponse, createGraphQlUpdateActions, transformLocalizedFieldsForCategory, transformCustomFieldsRawToCustomFields } from "./utils/graphql/graphql.js";
|
|
92
|
+
import { extractErrorFromGraphQlResponse, createGraphQlUpdateActions, transformLocalizedFieldsForCategory, transformCustomFieldsRawToCustomFields, mapShippingRateTierToGraphQL } from "./utils/graphql/graphql.js";
|
|
91
93
|
import hasInvalidInputError from "./utils/has-error-code/has-invalid-input-error.js";
|
|
92
94
|
import hasSemanticError from "./utils/has-error-code/has-semantic-error.js";
|
|
93
95
|
import isUUID from "./utils/is-uuid/is-uuid.js";
|
|
@@ -96,7 +98,7 @@ import omitDeep from "./utils/omit-deep/omit-deep.js";
|
|
|
96
98
|
import { or, exact, and, not, range, exists } from "./utils/pim-query-clauses.js";
|
|
97
99
|
import { getSelectedPrice, getDiscountValue, getNetUnitPrice, getPriceChannelName, getMinimumPricesByCurrencyCode } from "./utils/prices/prices.js";
|
|
98
100
|
import { convertProductSelectionFromGraphQl } from "./utils/product-selections/convert-product-selection-from-graphql.js";
|
|
99
|
-
import { sortRequiresLanguage, computedProperties, allowedProperties, resolveStatusType, normalizeProductSettings, getAttributeValueByType, splitVariantAttributesByConstraint } from "./utils/products/products.jsx";
|
|
101
|
+
import { sortRequiresLanguage, computedProperties, allowedProperties, resolveStatusType, normalizeProductSettings, getAttributeValueByType, getStampToneByPublishState, splitVariantAttributesByConstraint } from "./utils/products/products.jsx";
|
|
100
102
|
import { sanitize } from "./utils/query-string/query-string.js";
|
|
101
103
|
import RequestCache from "./utils/request-cache/request-cache.js";
|
|
102
104
|
import shallowEqual from "./utils/shallow-equal/shallow-equal.js";
|
|
@@ -112,5 +114,5 @@ import { messages as validationMessages, unique, uniqueObjects } from "./utils/v
|
|
|
112
114
|
import getIndexesOfInvalidValues from "./utils/validation/get-indexes-of-invalid-values.js";
|
|
113
115
|
import withoutEmptyErrorsByField from "./utils/validation/without-empty-errors-by-field.js";
|
|
114
116
|
import withPendingRequests from "./utils/with-pending-requests/with-pending-requests.jsx";
|
|
115
|
-
export { QUERY_LIMIT } from "./constants/index.js";
|
|
116
|
-
export { allowedProperties, and, attributesMapToNameValuePairs, base64ToString, BooleanField, booleanMessages, buildSearchQuery, Button, businessRoles, businessRoleConstants, businessRoleMessages, capitalizeFirst, CartDiscountReferenceSearch, CategoryReferenceSearch, CategorySearchPickerOptionFragment, CenteredLoadingSpinner, ChannelPickerInput, CustomerGroupPickerInput, clone, coerceToInteger, computedProperties, convertApolloNetworkStatusToLoadingState, convertApolloQueryDataToConnectorData, convertProductSelectionFromGraphQl, convertRatioToPercentage, CountriesPicker, createGraphQlUpdateActions, createNextSortDefinition, createReducer, createResourceReducer, CustomFieldDefinitionsConnector, CustomFieldTypeDefinitionsConnector, CustomFields, useDnDContext as useCustomFieldsDnDContext, CustomFieldsErrorTextNotification, CustomFieldsFormField, 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, getTimeZoneId, getTimeZoneLabel, getTypeNameOfType, graphqlCategoryLevelTransformer, graphqlDateTransformer, graphqlMissingLocaleTransformer, graphqlMissingTransformer, graphqlNumberTransformer, graphqlQueryBuilder, graphqlReferenceTransformer, graphqlTextTransformer, hasInvalidInputError, hasSemanticError, injectCustomerGroupsPlatformLimits, injectCustomersPlatformLimits, injectDataTablePaginationState, injectModalState, injectNotifications, injectPimIndexer, injectShippingMethodsPlatformLimits, injectStorage, injectTaxCategoriesPlatformLimits, injectToggleState, injectZonesPlatformLimits, isEmpty, isEmptyValue, isUUID, isValidISODate, isValidISODateTime, isValidISOTime, keepDisplayName, LabelRange, mapTimeZonesToOptions, mapStoresToOptions, MC_RESOURCES_WITH_KEYS, minusify, MissingValueField, missingValueMessages, MultiValueSearchInput, nameValuePairsToMap, normalizeProductSettings, not, NumericFormatInput, omitDeep, omitSetsOfSets, or, Option, pickerMessages, PimIndexerProvider, PRECISION_TYPES, ProductAttributeInput, ProductAttributes, ProductPickerInput, ProductSelectionPicker, range, reorderArrayItems, RequestCache, RequiredIndicator, resolveStatusType, 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, useTaxCategoriesPlatformLimits, useTotalNumberOfStoresFetcher, useShippingMethodsPlatformLimits, validatedInput, validateCustomField, validateCustomFields, validateDate, validateMultiOptionEnum, validateSingleOptionEnum, validateText, validateNumber, validationMessages, VALIDATOR_INTEGER, VALIDATOR_NUMERIC, VALIDATOR_REQUIRED, withProps, withoutEmptyErrorsByField, withPendingRequests, WithPimIndexer, withRedirectTo, wrapDisplayName, };
|
|
117
|
+
export { QUERY_LIMIT, QUERY_MAX_LIMIT, LOWER_STORES_LIMIT, UPPER_STORES_LIMIT, } from "./constants/index.js";
|
|
118
|
+
export { allowedProperties, and, attributesMapToNameValuePairs, attributeToCustomField, base64ToString, BooleanField, booleanMessages, buildSearchQuery, Button, businessRoles, businessRoleConstants, businessRoleMessages, capitalizeFirst, 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, };
|
|
@@ -8,7 +8,7 @@ export function filterNotDefinedValues(values: any[] | undefined, definitionName
|
|
|
8
8
|
export function isNotDefinedValue(value: any, definitionName: any): boolean;
|
|
9
9
|
export function getReferenceTypeId(definition: any): any;
|
|
10
10
|
export function getTypeNameOfType(type: any): any;
|
|
11
|
-
export function getAttributeValueType(value: any): "time" | "date" | "
|
|
11
|
+
export function getAttributeValueType(value: any): "time" | "date" | "text" | "ltext" | "number" | "money" | "boolean" | "enum" | "lenum" | "reference" | "date-time";
|
|
12
12
|
/**
|
|
13
13
|
* Filters out all of those field definitions that are not supporte by
|
|
14
14
|
* CustomAttributes component which are the nested ones (Set of Sets)
|
package/dist/styles.css
CHANGED
|
@@ -40,6 +40,12 @@
|
|
|
40
40
|
.validated-input-module__container___3L2KB {
|
|
41
41
|
display: inline;
|
|
42
42
|
}
|
|
43
|
+
/* imported from label-range.module.css */
|
|
44
|
+
|
|
45
|
+
.label-range-module__label___3Tb0p {
|
|
46
|
+
font-size: 0.9rem;
|
|
47
|
+
font-weight: bold;
|
|
48
|
+
}
|
|
43
49
|
/* imported from multi-value-search-input.module.css */
|
|
44
50
|
|
|
45
51
|
.multi-value-search-input-module__container___2u64d {
|
|
@@ -86,90 +92,6 @@
|
|
|
86
92
|
border-bottom-left-radius: var(--border-radius-for-input);
|
|
87
93
|
border-bottom-right-radius: var(--border-radius-for-input);
|
|
88
94
|
}
|
|
89
|
-
/* imported from throttled-field.module.css */
|
|
90
|
-
|
|
91
|
-
.throttled-field-module__size___324jx {
|
|
92
|
-
width: 100%;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.throttled-field-module__size___324jx {
|
|
96
|
-
min-height: var(--height-for-input);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.throttled-field-module__input-text___3zFFp {
|
|
100
|
-
transition: 0.2s ease;
|
|
101
|
-
border-radius: 6px;
|
|
102
|
-
border-style: solid;
|
|
103
|
-
border-width: 1px;
|
|
104
|
-
color: var(--color-solid);
|
|
105
|
-
font-weight: 500;
|
|
106
|
-
font-size: 1rem;
|
|
107
|
-
font-family: 'Open Sans', sans-serif !important;
|
|
108
|
-
padding: 7.5px 10px;
|
|
109
|
-
outline: none;
|
|
110
|
-
box-shadow: none;
|
|
111
|
-
appearance: none;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.throttled-field-module__input-secondary___cFo9e {
|
|
115
|
-
background-color: var(--color-neutral-95);
|
|
116
|
-
border-color: var(--color-surface);
|
|
117
|
-
width: 100%;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
.throttled-field-module__input-primary___26G3R {
|
|
121
|
-
border-color: var(--color-neutral);
|
|
122
|
-
background-color: var(--color-surface);
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
.throttled-field-module__textarea___3ZNEs {
|
|
126
|
-
width: 100%;
|
|
127
|
-
min-height: 36px;
|
|
128
|
-
resize: vertical;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
.throttled-field-module__textarea-primary___24Wwt {
|
|
132
|
-
border-color: var(--color-neutral);
|
|
133
|
-
background-color: var(--color-surface);
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
.throttled-field-module__textarea-secondary___2rmFG {
|
|
137
|
-
background-color: var(--color-neutral-95);
|
|
138
|
-
border-color: var(--color-surface);
|
|
139
|
-
width: 100%;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
.throttled-field-module__invalid___1yZLW {
|
|
143
|
-
/* this needs !important because react-select has a :focus style that
|
|
144
|
-
stops the border colour being set unless the element is blurred */
|
|
145
|
-
border-color: var(--color-error) !important;
|
|
146
|
-
border: 1px solid;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
.throttled-field-module__disabled___qVj79 {
|
|
150
|
-
cursor: not-allowed;
|
|
151
|
-
background-color: var(--color-accent-98);
|
|
152
|
-
color: var(--color-solid);
|
|
153
|
-
opacity: 1; /* fix for mobile safari */
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
.throttled-field-module__granular___2LXJf {
|
|
157
|
-
border-top-left-radius: 0;
|
|
158
|
-
border-bottom-left-radius: 0;
|
|
159
|
-
margin-left: 0;
|
|
160
|
-
}
|
|
161
|
-
/* imported from numeric-format-input.module.css */
|
|
162
|
-
|
|
163
|
-
.numeric-format-input-module__invalid___3LcyE {
|
|
164
|
-
/* this needs !important because react-select has a :focus style that
|
|
165
|
-
stops the border colour being set unless the element is blurred */
|
|
166
|
-
border-color: var(--color-error) !important;
|
|
167
|
-
border: 1px solid;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
.numeric-format-input-module__disabled___hb6h4 {
|
|
171
|
-
cursor: not-allowed;
|
|
172
|
-
}
|
|
173
95
|
/* imported from search-input.module.css */
|
|
174
96
|
|
|
175
97
|
.search-input-module__block___1uM-y {
|
|
@@ -260,11 +182,89 @@
|
|
|
260
182
|
flex-shrink: 1;
|
|
261
183
|
margin-left: var(--spacing-s);
|
|
262
184
|
}
|
|
263
|
-
/* imported from
|
|
185
|
+
/* imported from numeric-format-input.module.css */
|
|
264
186
|
|
|
265
|
-
.
|
|
266
|
-
|
|
267
|
-
|
|
187
|
+
.numeric-format-input-module__invalid___3LcyE {
|
|
188
|
+
/* this needs !important because react-select has a :focus style that
|
|
189
|
+
stops the border colour being set unless the element is blurred */
|
|
190
|
+
border-color: var(--color-error) !important;
|
|
191
|
+
border: 1px solid;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.numeric-format-input-module__disabled___hb6h4 {
|
|
195
|
+
cursor: not-allowed;
|
|
196
|
+
}
|
|
197
|
+
/* imported from throttled-field.module.css */
|
|
198
|
+
|
|
199
|
+
.throttled-field-module__size___324jx {
|
|
200
|
+
width: 100%;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.throttled-field-module__size___324jx {
|
|
204
|
+
min-height: var(--height-for-input);
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.throttled-field-module__input-text___3zFFp {
|
|
208
|
+
transition: 0.2s ease;
|
|
209
|
+
border-radius: 6px;
|
|
210
|
+
border-style: solid;
|
|
211
|
+
border-width: 1px;
|
|
212
|
+
color: var(--color-solid);
|
|
213
|
+
font-weight: 500;
|
|
214
|
+
font-size: 1rem;
|
|
215
|
+
font-family: 'Open Sans', sans-serif !important;
|
|
216
|
+
padding: 7.5px 10px;
|
|
217
|
+
outline: none;
|
|
218
|
+
box-shadow: none;
|
|
219
|
+
appearance: none;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.throttled-field-module__input-secondary___cFo9e {
|
|
223
|
+
background-color: var(--color-neutral-95);
|
|
224
|
+
border-color: var(--color-surface);
|
|
225
|
+
width: 100%;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.throttled-field-module__input-primary___26G3R {
|
|
229
|
+
border-color: var(--color-neutral);
|
|
230
|
+
background-color: var(--color-surface);
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
.throttled-field-module__textarea___3ZNEs {
|
|
234
|
+
width: 100%;
|
|
235
|
+
min-height: 36px;
|
|
236
|
+
resize: vertical;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.throttled-field-module__textarea-primary___24Wwt {
|
|
240
|
+
border-color: var(--color-neutral);
|
|
241
|
+
background-color: var(--color-surface);
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
.throttled-field-module__textarea-secondary___2rmFG {
|
|
245
|
+
background-color: var(--color-neutral-95);
|
|
246
|
+
border-color: var(--color-surface);
|
|
247
|
+
width: 100%;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
.throttled-field-module__invalid___1yZLW {
|
|
251
|
+
/* this needs !important because react-select has a :focus style that
|
|
252
|
+
stops the border colour being set unless the element is blurred */
|
|
253
|
+
border-color: var(--color-error) !important;
|
|
254
|
+
border: 1px solid;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
.throttled-field-module__disabled___qVj79 {
|
|
258
|
+
cursor: not-allowed;
|
|
259
|
+
background-color: var(--color-accent-98);
|
|
260
|
+
color: var(--color-solid);
|
|
261
|
+
opacity: 1; /* fix for mobile safari */
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
.throttled-field-module__granular___2LXJf {
|
|
265
|
+
border-top-left-radius: 0;
|
|
266
|
+
border-bottom-left-radius: 0;
|
|
267
|
+
margin-left: 0;
|
|
268
268
|
}
|
|
269
269
|
/* imported from button.module.css */
|
|
270
270
|
|
|
@@ -505,6 +505,26 @@
|
|
|
505
505
|
width: 1px;
|
|
506
506
|
height: 1px;
|
|
507
507
|
}
|
|
508
|
+
/* imported from custom-money-input.module.css */
|
|
509
|
+
|
|
510
|
+
.custom-money-input-module__container___1fdO2 {
|
|
511
|
+
width: 100%;
|
|
512
|
+
}
|
|
513
|
+
/* imported from reference-search.module.css */
|
|
514
|
+
|
|
515
|
+
.reference-search-module__container___3-iK3 {
|
|
516
|
+
width: 100%;
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
.reference-search-module__container___3-iK3 > div {
|
|
520
|
+
width: 100%;
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
.reference-search-module__missing-label___az9AO {
|
|
524
|
+
color: var(--color-warning);
|
|
525
|
+
font-size: 0.9rem;
|
|
526
|
+
margin-left: var(--spacing-xs);
|
|
527
|
+
}
|
|
508
528
|
/* imported from centered-loading-spinner.module.css */
|
|
509
529
|
|
|
510
530
|
.centered-loading-spinner-module__loading-container___3_9-h {
|
|
@@ -541,25 +561,14 @@
|
|
|
541
561
|
.divider-module__divider-dashed___2Em8A {
|
|
542
562
|
border-style: dashed;
|
|
543
563
|
}
|
|
544
|
-
/* imported from
|
|
545
|
-
|
|
546
|
-
.reference-search-module__container___3-iK3 {
|
|
547
|
-
width: 100%;
|
|
548
|
-
}
|
|
549
|
-
|
|
550
|
-
.reference-search-module__container___3-iK3 > div {
|
|
551
|
-
width: 100%;
|
|
552
|
-
}
|
|
564
|
+
/* imported from set-buttons.module.css */
|
|
553
565
|
|
|
554
|
-
.
|
|
555
|
-
|
|
556
|
-
font-size: 0.9rem;
|
|
557
|
-
margin-left: var(--spacing-xs);
|
|
566
|
+
.set-buttons-module__topAlign___3AZwc {
|
|
567
|
+
padding-top: var(--spacing-xs);
|
|
558
568
|
}
|
|
559
|
-
/* imported from custom-money-input.module.css */
|
|
560
569
|
|
|
561
|
-
.
|
|
562
|
-
|
|
570
|
+
.set-buttons-module__gap___38Qr0 {
|
|
571
|
+
padding: 20px;
|
|
563
572
|
}
|
|
564
573
|
/* imported from stores-search-selector.module.css */
|
|
565
574
|
|
|
@@ -581,15 +590,6 @@
|
|
|
581
590
|
.stores-search-selector-module__renderLabelContainer___3_PBc div:nth-of-type(1) {
|
|
582
591
|
margin-top: -4px;
|
|
583
592
|
}
|
|
584
|
-
/* imported from set-buttons.module.css */
|
|
585
|
-
|
|
586
|
-
.set-buttons-module__topAlign___3AZwc {
|
|
587
|
-
padding-top: var(--spacing-xs);
|
|
588
|
-
}
|
|
589
|
-
|
|
590
|
-
.set-buttons-module__gap___38Qr0 {
|
|
591
|
-
padding: 20px;
|
|
592
|
-
}
|
|
593
593
|
/* imported from platform-limits-customers-status.module.css */
|
|
594
594
|
|
|
595
595
|
.platform-limits-customers-status-module__status___3rXYM {
|
|
@@ -600,13 +600,13 @@
|
|
|
600
600
|
.platform-limits-customers-combined-module__combined___OszDd {
|
|
601
601
|
margin-bottom: var(--spacing-s);
|
|
602
602
|
}
|
|
603
|
-
/* imported from platform-limits-customer-groups-status.module.css */
|
|
604
|
-
|
|
605
|
-
.platform-limits-customer-groups-status-module__status___6099G {
|
|
606
|
-
min-width: max-content;
|
|
607
|
-
}
|
|
608
603
|
/* imported from platform-limits-customer-groups-combined.module.css */
|
|
609
604
|
|
|
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": "
|
|
3
|
+
"version": "7.0.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -25,20 +25,20 @@
|
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@babel/core": "^7.22.11",
|
|
27
27
|
"@babel/runtime-corejs3": "^7.21.0",
|
|
28
|
-
"@commercetools-frontend/actions-global": "
|
|
29
|
-
"@commercetools-frontend/application-components": "
|
|
30
|
-
"@commercetools-frontend/application-shell": "
|
|
31
|
-
"@commercetools-frontend/application-shell-connectors": "
|
|
32
|
-
"@commercetools-frontend/constants": "
|
|
33
|
-
"@commercetools-frontend/l10n": "
|
|
34
|
-
"@commercetools-frontend/sdk": "
|
|
35
|
-
"@commercetools-frontend/sentry": "
|
|
36
|
-
"@commercetools-frontend/ui-kit": "
|
|
37
|
-
"@commercetools-uikit/design-system": "
|
|
38
|
-
"@commercetools-uikit/select-utils": "
|
|
39
|
-
"@commercetools-uikit/utils": "
|
|
28
|
+
"@commercetools-frontend/actions-global": "fec-156-react19",
|
|
29
|
+
"@commercetools-frontend/application-components": "fec-156-react19",
|
|
30
|
+
"@commercetools-frontend/application-shell": "fec-156-react19",
|
|
31
|
+
"@commercetools-frontend/application-shell-connectors": "fec-156-react19",
|
|
32
|
+
"@commercetools-frontend/constants": "fec-156-react19",
|
|
33
|
+
"@commercetools-frontend/l10n": "fec-156-react19",
|
|
34
|
+
"@commercetools-frontend/sdk": "fec-156-react19",
|
|
35
|
+
"@commercetools-frontend/sentry": "fec-156-react19",
|
|
36
|
+
"@commercetools-frontend/ui-kit": "fec-155-react-19",
|
|
37
|
+
"@commercetools-uikit/design-system": "fec-155-react-19",
|
|
38
|
+
"@commercetools-uikit/select-utils": "fec-155-react-19",
|
|
39
|
+
"@commercetools-uikit/utils": "fec-155-react-19",
|
|
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",
|
|
@@ -52,7 +52,6 @@
|
|
|
52
52
|
"omit-deep": "0.3.0",
|
|
53
53
|
"omit-empty-es": "1.2.0",
|
|
54
54
|
"prop-types": "15.8.1",
|
|
55
|
-
"react-beautiful-dnd": "13.1.1",
|
|
56
55
|
"react-textarea-autosize": "8.5.4",
|
|
57
56
|
"reselect": "4.1.8",
|
|
58
57
|
"tiny-invariant": "1.3.3",
|
|
@@ -60,20 +59,20 @@
|
|
|
60
59
|
"uuid": "9.0.1"
|
|
61
60
|
},
|
|
62
61
|
"devDependencies": {
|
|
63
|
-
"@apollo/client": "3.
|
|
64
|
-
"@commercetools/composable-commerce-test-data": "11.
|
|
65
|
-
"@testing-library/react": "
|
|
66
|
-
"@testing-library/react-hooks": "8.0.1",
|
|
62
|
+
"@apollo/client": "3.12.4",
|
|
63
|
+
"@commercetools/composable-commerce-test-data": "11.1.0",
|
|
64
|
+
"@testing-library/react": "16.1.0",
|
|
67
65
|
"@types/debounce-promise": "3.1.9",
|
|
68
66
|
"@types/jest": "^29.5.2",
|
|
69
67
|
"@types/react": "17.0.83",
|
|
68
|
+
"@types/testing-library__jest-dom": "^5.14.6",
|
|
70
69
|
"formik": "2.4.6",
|
|
71
70
|
"graphql": "16.10.0",
|
|
72
71
|
"graphql-tag": "2.12.6",
|
|
73
72
|
"msw": "1.3.5",
|
|
74
|
-
"react": "
|
|
75
|
-
"react-dom": "
|
|
76
|
-
"react-intl": "
|
|
73
|
+
"react": "19.0.0",
|
|
74
|
+
"react-dom": "19.0.0",
|
|
75
|
+
"react-intl": "7.1.4",
|
|
77
76
|
"react-redux": "7.2.9",
|
|
78
77
|
"react-required-if": "1.0.3",
|
|
79
78
|
"react-router-dom": "5.3.4",
|
|
@@ -85,14 +84,12 @@
|
|
|
85
84
|
},
|
|
86
85
|
"peerDependencies": {
|
|
87
86
|
"@apollo/client": "3.x",
|
|
88
|
-
"@
|
|
89
|
-
"@testing-library/react": "12.x",
|
|
90
|
-
"@testing-library/react-hooks": "8.x",
|
|
87
|
+
"@testing-library/react": "16.x",
|
|
91
88
|
"formik": "2.x.x",
|
|
92
89
|
"msw": "1.x.x",
|
|
93
|
-
"react": "17.x",
|
|
94
|
-
"react-dom": "17.x",
|
|
95
|
-
"react-intl": "6.x",
|
|
90
|
+
"react": "17.x || 19.x",
|
|
91
|
+
"react-dom": "17.x || 19.x",
|
|
92
|
+
"react-intl": "6.x || 7.x",
|
|
96
93
|
"react-redux": "7.x",
|
|
97
94
|
"react-required-if": "1.x.x",
|
|
98
95
|
"react-router-dom": "5.x",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./use-did-form-validation-fail.js";
|
package/dist/declarations/src/hooks/use-did-form-validation-fail/use-did-form-validation-fail.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function useDidFormValidationFail(): boolean;
|