@commercelayer/app-elements 1.0.1 → 1.1.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/{InputDateComponent-bd7f867f.js → InputDateComponent-42ce4751.js} +1 -1
- package/dist/{main-4dd99122.js → main-6e2634ae.js} +2281 -2242
- package/dist/main.d.ts +94 -1
- package/dist/main.js +55 -56
- package/dist/{src/ui → ui}/atoms/A.d.ts +2 -2
- package/dist/{src/ui → ui}/atoms/AvatarLetter/AvatarLetter.d.ts +1 -2
- package/dist/ui/atoms/AvatarLetter/index.d.ts +1 -0
- package/dist/ui/atoms/Badge/Badge.d.ts +9 -0
- package/dist/ui/atoms/Badge/badgeVariants.d.ts +3 -0
- package/dist/ui/atoms/Badge/index.d.ts +1 -0
- package/dist/{src/ui → ui}/atoms/Button.d.ts +4 -4
- package/dist/{src/ui → ui}/atoms/ButtonFilter.d.ts +1 -1
- package/dist/{src/ui → ui}/atoms/Card.d.ts +15 -0
- package/dist/{src/ui → ui}/atoms/Container.d.ts +1 -4
- package/dist/{src/ui → ui}/atoms/CopyToClipboard.d.ts +1 -2
- package/dist/{src/ui → ui}/atoms/Grid.d.ts +2 -3
- package/dist/{src/ui → ui}/atoms/Hint.d.ts +2 -3
- package/dist/{src/ui → ui}/atoms/Hr.d.ts +2 -3
- package/dist/{src/ui → ui}/atoms/PageHeading.d.ts +2 -2
- package/dist/{src/ui → ui}/atoms/Progress.d.ts +1 -2
- package/dist/{src/ui → ui}/atoms/RadialProgress.d.ts +1 -1
- package/dist/{src/ui → ui}/atoms/Skeleton.d.ts +2 -2
- package/dist/{src/ui → ui}/atoms/Spacer.d.ts +7 -7
- package/dist/ui/atoms/StatusDot.d.ts +10 -0
- package/dist/{src/ui → ui}/atoms/Steps.d.ts +2 -2
- package/dist/{src/ui → ui}/atoms/Table/Table.d.ts +2 -3
- package/dist/{src/ui → ui}/atoms/Table/Td.d.ts +2 -3
- package/dist/ui/atoms/Table/Th.d.ts +9 -0
- package/dist/{src/ui → ui}/atoms/Table/Tr.d.ts +2 -2
- package/dist/ui/atoms/Table/index.d.ts +4 -0
- package/dist/{src/ui → ui}/atoms/Tabs.d.ts +3 -3
- package/dist/{src/ui → ui}/atoms/Text.d.ts +5 -5
- package/dist/{src/ui → ui}/composite/ActionButtons/ActionButtons.d.ts +3 -3
- package/dist/ui/composite/CardDialog.d.ts +42 -0
- package/dist/{src/ui → ui}/composite/Dropdown/Dropdown.d.ts +1 -2
- package/dist/ui/composite/Dropdown/DropdownDivider.d.ts +8 -0
- package/dist/ui/composite/Dropdown/DropdownItem.d.ts +9 -0
- package/dist/ui/composite/Dropdown/index.d.ts +3 -0
- package/dist/{src/ui → ui}/composite/List.d.ts +1 -1
- package/dist/{src/ui → ui}/composite/ListDetails.d.ts +2 -2
- package/dist/{src/ui → ui}/composite/ListDetailsItem.d.ts +1 -2
- package/dist/{src/ui → ui}/composite/ListItem.d.ts +2 -2
- package/dist/{src/ui → ui}/composite/PageError.d.ts +3 -4
- package/dist/{src/ui → ui}/composite/PageLayout.d.ts +2 -3
- package/dist/{src/ui → ui}/composite/PageSkeleton.d.ts +1 -1
- package/dist/{src/ui → ui}/composite/Report.d.ts +3 -3
- package/dist/{src/ui → ui}/composite/SearchBar.d.ts +1 -2
- package/dist/{src/ui → ui}/composite/Timeline.d.ts +6 -0
- package/dist/{src/ui → ui}/forms/Input/HookedInput.d.ts +2 -3
- package/dist/ui/forms/Input/index.d.ts +2 -0
- package/dist/{src/ui → ui}/forms/InputCheckbox/HookedInputCheckbox.d.ts +2 -3
- package/dist/ui/forms/InputCheckbox/index.d.ts +2 -0
- package/dist/{src/ui → ui}/forms/InputCheckboxGroup.d.ts +3 -2
- package/dist/{src/ui → ui}/forms/InputCurrency/HookedInputCurrency.d.ts +2 -3
- package/dist/ui/forms/InputCurrency/index.d.ts +4 -0
- package/dist/{src/ui → ui}/forms/InputDate/HookedInputDate.d.ts +2 -3
- package/dist/ui/forms/InputDate/index.d.ts +3 -0
- package/dist/{src/ui → ui}/forms/InputDateRange/HookedInputDateRange.d.ts +2 -3
- package/dist/ui/forms/InputDateRange/index.d.ts +2 -0
- package/dist/{src/ui → ui}/forms/InputFeedback.d.ts +2 -1
- package/dist/{src/ui → ui}/forms/InputFile.d.ts +1 -2
- package/dist/{src/ui → ui}/forms/InputRadioGroup.d.ts +2 -1
- package/dist/{src/ui → ui}/forms/InputReadonly.d.ts +1 -2
- package/dist/{src/ui → ui}/forms/InputResourceGroup/HookedInputResourceGroup.d.ts +2 -3
- package/dist/ui/forms/InputResourceGroup/index.d.ts +2 -0
- package/dist/{src/ui → ui}/forms/InputSelect/AsyncComponent.d.ts +2 -2
- package/dist/{src/ui → ui}/forms/InputSelect/HookedInputSelect.d.ts +2 -3
- package/dist/{src/ui → ui}/forms/InputSelect/InputSelect.d.ts +7 -7
- package/dist/{src/ui → ui}/forms/InputSelect/SelectComponent.d.ts +2 -2
- package/dist/ui/forms/InputSelect/index.d.ts +3 -0
- package/dist/{src/ui → ui}/forms/InputSelect/overrides.d.ts +6 -6
- package/dist/{src/ui → ui}/forms/InputSelect/styles.d.ts +2 -2
- package/dist/{src/ui → ui}/forms/InputSelect/utils.d.ts +6 -6
- package/dist/{src/ui → ui}/forms/InputSimpleSelect/HookedInputSimpleSelect.d.ts +2 -3
- package/dist/{src/ui → ui}/forms/InputSimpleSelect/InputSimpleSelect.d.ts +2 -1
- package/dist/ui/forms/InputSimpleSelect/index.d.ts +2 -0
- package/dist/{src/ui → ui}/forms/InputSpinner/HookedInputSpinner.d.ts +2 -3
- package/dist/ui/forms/InputSpinner/index.d.ts +2 -0
- package/dist/{src/ui → ui}/forms/InputSwitch/HookedInputSwitch.d.ts +2 -3
- package/dist/ui/forms/InputSwitch/index.d.ts +2 -0
- package/dist/{src/ui → ui}/forms/InputTextArea.d.ts +1 -2
- package/dist/{src/ui → ui}/forms/InputToggleButton/HookedInputToggleButton.d.ts +2 -3
- package/dist/{src/ui → ui}/forms/InputToggleButton/InputToggleButton.d.ts +1 -1
- package/dist/ui/forms/InputToggleButton/index.d.ts +2 -0
- package/dist/{src/ui → ui}/forms/Label.d.ts +2 -3
- package/dist/{src/ui → ui}/forms/Legend.d.ts +2 -3
- package/dist/ui/resources/ResourceAddress/ResourceAddress.d.ts +39 -0
- package/dist/ui/resources/ResourceAddress/index.d.ts +1 -0
- package/dist/{src/ui → ui}/resources/ResourceLineItems/ResourceLineItems.d.ts +23 -0
- package/dist/ui/resources/ResourceLineItems/index.d.ts +1 -0
- package/dist/{src/ui → ui}/resources/ResourceListItem/ResourceListItem.d.ts +5 -0
- package/dist/ui/resources/ResourceListItem/index.d.ts +1 -0
- package/dist/{src/ui → ui}/resources/ResourceListItem/types.d.ts +0 -1
- package/dist/{src/ui → ui}/resources/ResourceMetadata/ResourceMetadata.d.ts +8 -0
- package/dist/ui/resources/ResourceMetadata/index.d.ts +1 -0
- package/dist/{src/ui → ui}/resources/ResourceOrderSummary.d.ts +8 -1
- package/dist/{src/ui → ui}/resources/ResourceOrderTimeline.d.ts +8 -0
- package/dist/{src/ui → ui}/resources/ResourceShipmentParcels.d.ts +4 -0
- package/dist/{src/ui → ui}/resources/ResourceTags.d.ts +12 -0
- package/dist/{src/ui → ui}/resources/useResourceFilters/index.d.ts +1 -0
- package/package.json +1 -1
- package/dist/src/main.d.ts +0 -94
- package/dist/src/ui/atoms/AvatarLetter/index.d.ts +0 -1
- package/dist/src/ui/atoms/Badge.d.ts +0 -11
- package/dist/src/ui/atoms/StatusDot.d.ts +0 -10
- package/dist/src/ui/atoms/Table/Th.d.ts +0 -9
- package/dist/src/ui/atoms/Table/index.d.ts +0 -4
- package/dist/src/ui/composite/CardDialog.d.ts +0 -11
- package/dist/src/ui/composite/Dropdown/DropdownDivider.d.ts +0 -9
- package/dist/src/ui/composite/Dropdown/DropdownItem.d.ts +0 -10
- package/dist/src/ui/composite/Dropdown/index.d.ts +0 -3
- package/dist/src/ui/forms/Input/index.d.ts +0 -2
- package/dist/src/ui/forms/InputCheckbox/index.d.ts +0 -2
- package/dist/src/ui/forms/InputCurrency/index.d.ts +0 -3
- package/dist/src/ui/forms/InputDate/index.d.ts +0 -2
- package/dist/src/ui/forms/InputDateRange/index.d.ts +0 -2
- package/dist/src/ui/forms/InputResourceGroup/index.d.ts +0 -2
- package/dist/src/ui/forms/InputSelect/index.d.ts +0 -3
- package/dist/src/ui/forms/InputSimpleSelect/index.d.ts +0 -2
- package/dist/src/ui/forms/InputSpinner/index.d.ts +0 -2
- package/dist/src/ui/forms/InputSwitch/index.d.ts +0 -2
- package/dist/src/ui/forms/InputToggleButton/index.d.ts +0 -2
- package/dist/src/ui/resources/ResourceAddress/ResourceAddress.d.ts +0 -15
- package/dist/src/ui/resources/ResourceAddress/index.d.ts +0 -1
- package/dist/src/ui/resources/ResourceLineItems/index.d.ts +0 -1
- package/dist/src/ui/resources/ResourceListItem/index.d.ts +0 -1
- package/dist/src/ui/resources/ResourceMetadata/index.d.ts +0 -1
- package/dist/vite.config.d.ts +0 -2
- /package/dist/{src/dictionaries → dictionaries}/customers.d.ts +0 -0
- /package/dist/{src/dictionaries → dictionaries}/orders.d.ts +0 -0
- /package/dist/{src/dictionaries → dictionaries}/returns.d.ts +0 -0
- /package/dist/{src/dictionaries → dictionaries}/types.d.ts +0 -0
- /package/dist/{src/helpers → helpers}/appsNavigation.d.ts +0 -0
- /package/dist/{src/helpers → helpers}/appsNavigation.test.d.ts +0 -0
- /package/dist/{src/helpers → helpers}/attachments.d.ts +0 -0
- /package/dist/{src/helpers → helpers}/date.d.ts +0 -0
- /package/dist/{src/helpers → helpers}/date.test.d.ts +0 -0
- /package/dist/{src/helpers → helpers}/downloadJsonAsFile.d.ts +0 -0
- /package/dist/{src/helpers → helpers}/name.d.ts +0 -0
- /package/dist/{src/helpers → helpers}/name.test.d.ts +0 -0
- /package/dist/{src/helpers → helpers}/resources.d.ts +0 -0
- /package/dist/{src/helpers → helpers}/resources.test.d.ts +0 -0
- /package/dist/{src/helpers → helpers}/tracking.d.ts +0 -0
- /package/dist/{src/hooks → hooks}/useClickAway.d.ts +0 -0
- /package/dist/{src/hooks → hooks}/useDelayShow.d.ts +0 -0
- /package/dist/{src/hooks → hooks}/useDelayShow.test.d.ts +0 -0
- /package/dist/{src/hooks → hooks}/useIsChanged.d.ts +0 -0
- /package/dist/{src/hooks → hooks}/useIsChanged.test.d.ts +0 -0
- /package/dist/{src/hooks → hooks}/useOnBlurFromContainer.d.ts +0 -0
- /package/dist/{src/hooks → hooks}/useOverlay.d.ts +0 -0
- /package/dist/{src/hooks → hooks}/useOverlay.test.d.ts +0 -0
- /package/dist/{src/main.test.d.ts → main.test.d.ts} +0 -0
- /package/dist/{src/mocks → mocks}/data/customers.d.ts +0 -0
- /package/dist/{src/mocks → mocks}/handlers.d.ts +0 -0
- /package/dist/{src/mocks → mocks}/server.d.ts +0 -0
- /package/dist/{src/mocks → mocks}/setup.d.ts +0 -0
- /package/dist/{src/mocks → mocks}/stubs.d.ts +0 -0
- /package/dist/{src/providers → providers}/CoreSdkProvider/CoreSdkProvider.d.ts +0 -0
- /package/dist/{src/providers → providers}/CoreSdkProvider/index.d.ts +0 -0
- /package/dist/{src/providers → providers}/CoreSdkProvider/makeSdkClient.d.ts +0 -0
- /package/dist/{src/providers → providers}/CoreSdkProvider/makeSdkClient.test.d.ts +0 -0
- /package/dist/{src/providers → providers}/CoreSdkProvider/useCoreApi.d.ts +0 -0
- /package/dist/{src/providers → providers}/ErrorBoundary.d.ts +0 -0
- /package/dist/{src/providers → providers}/TokenProvider/MetaTags.d.ts +0 -0
- /package/dist/{src/providers → providers}/TokenProvider/MockTokenProvider.d.ts +0 -0
- /package/dist/{src/providers → providers}/TokenProvider/TokenProvider.d.ts +0 -0
- /package/dist/{src/providers → providers}/TokenProvider/TokenProvider.test.d.ts +0 -0
- /package/dist/{src/providers → providers}/TokenProvider/getAccessTokenFromUrl.d.ts +0 -0
- /package/dist/{src/providers → providers}/TokenProvider/getAccessTokenFromUrl.test.d.ts +0 -0
- /package/dist/{src/providers → providers}/TokenProvider/getInfoFromJwt.d.ts +0 -0
- /package/dist/{src/providers → providers}/TokenProvider/getInfoFromJwt.test.d.ts +0 -0
- /package/dist/{src/providers → providers}/TokenProvider/getOrganization.d.ts +0 -0
- /package/dist/{src/providers → providers}/TokenProvider/index.d.ts +0 -0
- /package/dist/{src/providers → providers}/TokenProvider/makeSdkClient.d.ts +0 -0
- /package/dist/{src/providers → providers}/TokenProvider/makeSdkClient.test.d.ts +0 -0
- /package/dist/{src/providers → providers}/TokenProvider/reducer.d.ts +0 -0
- /package/dist/{src/providers → providers}/TokenProvider/storage.d.ts +0 -0
- /package/dist/{src/providers → providers}/TokenProvider/storage.test.d.ts +0 -0
- /package/dist/{src/providers → providers}/TokenProvider/types.d.ts +0 -0
- /package/dist/{src/providers → providers}/TokenProvider/url.d.ts +0 -0
- /package/dist/{src/providers → providers}/TokenProvider/url.test.d.ts +0 -0
- /package/dist/{src/providers → providers}/TokenProvider/validateToken.d.ts +0 -0
- /package/dist/{src/providers → providers}/TokenProvider/validateToken.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/atoms/A.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/atoms/Avatar.d.ts +0 -0
- /package/dist/{src/ui → ui}/atoms/Avatar.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/atoms/Avatar.utils.d.ts +0 -0
- /package/dist/{src/ui → ui}/atoms/AvatarLetter/AvatarLetter.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/atoms/AvatarLetter/colors.d.ts +0 -0
- /package/dist/{src/ui → ui}/atoms/AvatarLetter/colors.test.d.ts +0 -0
- /package/dist/{src/ui/atoms → ui/atoms/Badge}/Badge.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/atoms/Button.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/atoms/ButtonFilter.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/atoms/Card.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/atoms/Container.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/atoms/CopyToClipboard.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/atoms/EmptyState.d.ts +0 -0
- /package/dist/{src/ui → ui}/atoms/EmptyState.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/atoms/Grid.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/atoms/Hint.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/atoms/Hr.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/atoms/Icon/Icon.d.ts +0 -0
- /package/dist/{src/ui → ui}/atoms/Icon/Icon.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/atoms/Icon/icons.d.ts +0 -0
- /package/dist/{src/ui → ui}/atoms/Icon/index.d.ts +0 -0
- /package/dist/{src/ui → ui}/atoms/PageHeading.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/atoms/Pagination.d.ts +0 -0
- /package/dist/{src/ui → ui}/atoms/Pagination.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/atoms/Progress.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/atoms/RadialProgress.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/atoms/Section.d.ts +0 -0
- /package/dist/{src/ui → ui}/atoms/Section.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/atoms/Skeleton.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/atoms/SkeletonTemplate.d.ts +0 -0
- /package/dist/{src/ui → ui}/atoms/SkeletonTemplate.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/atoms/Spacer.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/atoms/Stack.d.ts +0 -0
- /package/dist/{src/ui → ui}/atoms/Stack.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/atoms/StatusDot.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/atoms/Steps.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/atoms/Table/Table.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/atoms/Tabs.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/atoms/Tag.d.ts +0 -0
- /package/dist/{src/ui → ui}/atoms/Tag.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/atoms/Text.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/composite/ActionButtons/ActionButtons.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/composite/ActionButtons/index.d.ts +0 -0
- /package/dist/{src/ui → ui}/composite/Dropdown/DropdownMenu.d.ts +0 -0
- /package/dist/{src/ui → ui}/composite/List.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/composite/ListDetails.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/composite/ListDetailsItem.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/composite/ListItem.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/composite/PageError.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/composite/PageLayout.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/composite/PageSkeleton.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/composite/Report.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/composite/SearchBar.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/composite/TableData.d.ts +0 -0
- /package/dist/{src/ui → ui}/composite/TableData.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/composite/Timeline.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/forms/Form/HookedForm.d.ts +0 -0
- /package/dist/{src/ui → ui}/forms/Form/index.d.ts +0 -0
- /package/dist/{src/ui → ui}/forms/Input/Input.d.ts +0 -0
- /package/dist/{src/ui → ui}/forms/Input/Input.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/forms/InputCheckbox/InputCheckbox.d.ts +0 -0
- /package/dist/{src/ui → ui}/forms/InputCheckbox/InputCheckbox.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/forms/InputCheckboxGroup.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/forms/InputCurrency/InputCurrency.d.ts +0 -0
- /package/dist/{src/ui → ui}/forms/InputCurrency/InputCurrency.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/forms/InputCurrency/currencies.d.ts +0 -0
- /package/dist/{src/ui → ui}/forms/InputCurrency/utils.d.ts +0 -0
- /package/dist/{src/ui → ui}/forms/InputCurrency/utils.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/forms/InputCurrencyRange.d.ts +0 -0
- /package/dist/{src/ui → ui}/forms/InputCurrencyRange.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/forms/InputDate/InputDate.d.ts +0 -0
- /package/dist/{src/ui → ui}/forms/InputDate/InputDateComponent.d.ts +0 -0
- /package/dist/{src/ui → ui}/forms/InputDate/InputDateComponent.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/forms/InputDateRange/InputDateRange.d.ts +0 -0
- /package/dist/{src/ui → ui}/forms/InputDateRange/InputDateRange.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/forms/InputFeedback.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/forms/InputFile.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/forms/InputJson.d.ts +0 -0
- /package/dist/{src/ui → ui}/forms/InputJson.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/forms/InputRadioGroup.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/forms/InputReadonly.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/forms/InputResourceGroup/Checkbox.d.ts +0 -0
- /package/dist/{src/ui → ui}/forms/InputResourceGroup/FullList.d.ts +0 -0
- /package/dist/{src/ui → ui}/forms/InputResourceGroup/InputResourceGroup.d.ts +0 -0
- /package/dist/{src/ui → ui}/forms/InputResourceGroup/utils.d.ts +0 -0
- /package/dist/{src/ui → ui}/forms/InputResourceGroup/utils.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/forms/InputSelect/InputSelect.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/forms/InputSelect/utils.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/forms/InputSimpleSelect/InputSimpleSelect.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/forms/InputSpinner/InputSpinner.d.ts +0 -0
- /package/dist/{src/ui → ui}/forms/InputSpinner/InputSpinner.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/forms/InputSwitch/InputSwitch.d.ts +0 -0
- /package/dist/{src/ui → ui}/forms/InputSwitch/InputSwitch.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/forms/InputTextArea.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/forms/InputToggleButton/InputToggleButton.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/forms/InputWrapper.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/forms/Label.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/forms/ReactHookForm/HookedValidationApiError.d.ts +0 -0
- /package/dist/{src/ui → ui}/forms/ReactHookForm/HookedValidationError.d.ts +0 -0
- /package/dist/{src/ui → ui}/forms/ReactHookForm/index.d.ts +0 -0
- /package/dist/{src/ui → ui}/forms/ReactHookForm/setApiFormErrors.d.ts +0 -0
- /package/dist/{src/ui → ui}/forms/ReactHookForm/setApiFormErrors.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/forms/ReactHookForm/useValidationFeedback.d.ts +0 -0
- /package/dist/{src/ui → ui}/internals/FlexRow.d.ts +0 -0
- /package/dist/{src/ui → ui}/internals/InputWrapper.d.ts +0 -0
- /package/dist/{src/ui → ui}/resources/ResourceAddress/ResourceAddress.mocks.d.ts +0 -0
- /package/dist/{src/ui → ui}/resources/ResourceAddress/ResourceAddress.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/resources/ResourceAddress/ResourceAddressForm.d.ts +0 -0
- /package/dist/{src/ui → ui}/resources/ResourceLineItems/ResourceLineItems.mocks.d.ts +0 -0
- /package/dist/{src/ui → ui}/resources/ResourceLineItems/ResourceLineItems.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/resources/ResourceList/ResourceList.d.ts +0 -0
- /package/dist/{src/ui → ui}/resources/ResourceList/ResourceList.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/resources/ResourceList/VisibilityTrigger.d.ts +0 -0
- /package/dist/{src/ui → ui}/resources/ResourceList/VisibilityTrigger.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/resources/ResourceList/index.d.ts +0 -0
- /package/dist/{src/ui → ui}/resources/ResourceList/infiniteFetcher.d.ts +0 -0
- /package/dist/{src/ui → ui}/resources/ResourceList/reducer.d.ts +0 -0
- /package/dist/{src/ui → ui}/resources/ResourceList/utils.d.ts +0 -0
- /package/dist/{src/ui → ui}/resources/ResourceList/utils.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/resources/ResourceListItem/ResourceListItem.mocks.d.ts +0 -0
- /package/dist/{src/ui → ui}/resources/ResourceListItem/common.d.ts +0 -0
- /package/dist/{src/ui → ui}/resources/ResourceListItem/transformers/customers.d.ts +0 -0
- /package/dist/{src/ui → ui}/resources/ResourceListItem/transformers/index.d.ts +0 -0
- /package/dist/{src/ui → ui}/resources/ResourceListItem/transformers/orders.d.ts +0 -0
- /package/dist/{src/ui → ui}/resources/ResourceListItem/transformers/returns.d.ts +0 -0
- /package/dist/{src/ui → ui}/resources/ResourceMetadata/ResourceMetadata.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/resources/ResourceMetadata/ResourceMetadataForm.d.ts +0 -0
- /package/dist/{src/ui → ui}/resources/ResourceOrderSummary.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/resources/ResourceShipmentParcels.mocks.d.ts +0 -0
- /package/dist/{src/ui → ui}/resources/ResourceShipmentParcels.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/resources/useResourceFilters/FieldCurrencyRange.d.ts +0 -0
- /package/dist/{src/ui → ui}/resources/useResourceFilters/FieldItem.d.ts +0 -0
- /package/dist/{src/ui → ui}/resources/useResourceFilters/FieldTimeRange.d.ts +0 -0
- /package/dist/{src/ui → ui}/resources/useResourceFilters/FiltersForm.d.ts +0 -0
- /package/dist/{src/ui → ui}/resources/useResourceFilters/FiltersNav.d.ts +0 -0
- /package/dist/{src/ui → ui}/resources/useResourceFilters/FiltersSearchBar.d.ts +0 -0
- /package/dist/{src/ui → ui}/resources/useResourceFilters/adaptFormValuesToSdk.d.ts +0 -0
- /package/dist/{src/ui → ui}/resources/useResourceFilters/adaptFormValuesToSdk.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/resources/useResourceFilters/adaptFormValuesToUrlQuery.d.ts +0 -0
- /package/dist/{src/ui → ui}/resources/useResourceFilters/adaptFormValuesToUrlQuery.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/resources/useResourceFilters/adaptUrlQueryToFormValues.d.ts +0 -0
- /package/dist/{src/ui → ui}/resources/useResourceFilters/adaptUrlQueryToFormValues.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/resources/useResourceFilters/adaptUrlQueryToSdk.d.ts +0 -0
- /package/dist/{src/ui → ui}/resources/useResourceFilters/adaptUrlQueryToSdk.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/resources/useResourceFilters/adaptUrlQueryToUrlQuery.d.ts +0 -0
- /package/dist/{src/ui → ui}/resources/useResourceFilters/adaptUrlQueryToUrlQuery.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/resources/useResourceFilters/adapters.d.ts +0 -0
- /package/dist/{src/ui → ui}/resources/useResourceFilters/adapters.types.d.ts +0 -0
- /package/dist/{src/ui → ui}/resources/useResourceFilters/mockedInstructions.d.ts +0 -0
- /package/dist/{src/ui → ui}/resources/useResourceFilters/timeUtils.d.ts +0 -0
- /package/dist/{src/ui → ui}/resources/useResourceFilters/timeUtils.test.d.ts +0 -0
- /package/dist/{src/ui → ui}/resources/useResourceFilters/types.d.ts +0 -0
- /package/dist/{src/ui → ui}/resources/useResourceFilters/useResourceFilters.d.ts +0 -0
- /package/dist/{src/ui → ui}/resources/useResourceFilters/utils.d.ts +0 -0
- /package/dist/{src/ui → ui}/resources/useResourceFilters/utils.test.d.ts +0 -0
- /package/dist/{src/utils → utils}/array.d.ts +0 -0
- /package/dist/{src/utils → utils}/children.d.ts +0 -0
- /package/dist/{src/utils → utils}/children.test.d.ts +0 -0
- /package/dist/{src/utils → utils}/extractHeaders.d.ts +0 -0
- /package/dist/{src/utils → utils}/extractHeaders.test.d.ts +0 -0
- /package/dist/{src/utils → utils}/htmltags.d.ts +0 -0
- /package/dist/{src/utils → utils}/pagination.d.ts +0 -0
- /package/dist/{src/utils → utils}/pagination.test.d.ts +0 -0
- /package/dist/{src/utils → utils}/text.d.ts +0 -0
- /package/dist/{src/utils → utils}/text.test.d.ts +0 -0
package/dist/main.d.ts
CHANGED
|
@@ -1 +1,94 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { goBack, navigateTo } from './helpers/appsNavigation';
|
|
2
|
+
export { isAttachmentValidNote, referenceOrigins } from './helpers/attachments';
|
|
3
|
+
export { formatDate, getIsoDateAtDayEdge, getIsoDateAtDaysBefore, sortAndGroupByDate, timeSeparator } from './helpers/date';
|
|
4
|
+
export { downloadJsonAsFile } from './helpers/downloadJsonAsFile';
|
|
5
|
+
export { computeFullname, formatDisplayName } from './helpers/name';
|
|
6
|
+
export { formatResourceName, type TriggerAttribute } from './helpers/resources';
|
|
7
|
+
export { getAvatarSrcFromRate, getParcelTrackingDetail, getParcelTrackingDetails, getShipmentRate, getShipmentRates, hasBeenPurchased, hasSingleTracking, type Rate, type TrackingDetail } from './helpers/tracking';
|
|
8
|
+
export { useClickAway } from './hooks/useClickAway';
|
|
9
|
+
export { useDelayShow } from './hooks/useDelayShow';
|
|
10
|
+
export { useIsChanged } from './hooks/useIsChanged';
|
|
11
|
+
export { useOnBlurFromContainer } from './hooks/useOnBlurFromContainer';
|
|
12
|
+
export { useOverlay } from './hooks/useOverlay';
|
|
13
|
+
export { CoreSdkProvider, useCoreApi, useCoreSdkProvider } from './providers/CoreSdkProvider';
|
|
14
|
+
export { ErrorBoundary } from './providers/ErrorBoundary';
|
|
15
|
+
export { MetaTags, TokenProvider, useTokenProvider, type TokenProviderAllowedApp, type TokenProviderPermissionItem, type TokenProviderRoleActions, type TokenProviderRolePermissions, type TokenProviderTokenApplicationKind } from './providers/TokenProvider';
|
|
16
|
+
export { A, type AProps } from './ui/atoms/A';
|
|
17
|
+
export { Avatar, type AvatarProps } from './ui/atoms/Avatar';
|
|
18
|
+
export { AvatarLetter, type AvatarLetterProps } from './ui/atoms/AvatarLetter';
|
|
19
|
+
export { Badge, type BadgeProps } from './ui/atoms/Badge';
|
|
20
|
+
export { Button, type ButtonProps } from './ui/atoms/Button';
|
|
21
|
+
export { ButtonFilter, type ButtonFilterProps } from './ui/atoms/ButtonFilter';
|
|
22
|
+
export { Card, type CardProps } from './ui/atoms/Card';
|
|
23
|
+
export { Container, type ContainerProps } from './ui/atoms/Container';
|
|
24
|
+
export { CopyToClipboard, type CopyToClipboardProps } from './ui/atoms/CopyToClipboard';
|
|
25
|
+
export { EmptyState, type EmptyStateProps } from './ui/atoms/EmptyState';
|
|
26
|
+
export { Grid, type GridProps } from './ui/atoms/Grid';
|
|
27
|
+
export { Hint, type HintProps } from './ui/atoms/Hint';
|
|
28
|
+
export { Hr, type HrProps } from './ui/atoms/Hr';
|
|
29
|
+
export { Icon, type IconProps } from './ui/atoms/Icon';
|
|
30
|
+
export { PageHeading, type PageHeadingProps } from './ui/atoms/PageHeading';
|
|
31
|
+
export { Pagination, type PaginationProps } from './ui/atoms/Pagination';
|
|
32
|
+
export { Progress, type ProgressProps } from './ui/atoms/Progress';
|
|
33
|
+
export { RadialProgress, type RadialProgressProps } from './ui/atoms/RadialProgress';
|
|
34
|
+
export { Section, type SectionProps } from './ui/atoms/Section';
|
|
35
|
+
export { Skeleton, SkeletonItem, type SkeletonItemProps, type SkeletonProps } from './ui/atoms/Skeleton';
|
|
36
|
+
export { SkeletonTemplate, withSkeletonTemplate } from './ui/atoms/SkeletonTemplate';
|
|
37
|
+
export { Spacer, type SpacerProps } from './ui/atoms/Spacer';
|
|
38
|
+
export { Stack, type StackProps } from './ui/atoms/Stack';
|
|
39
|
+
export { StatusDot, type StatusDotProps } from './ui/atoms/StatusDot';
|
|
40
|
+
export { Steps, type StepsProps } from './ui/atoms/Steps';
|
|
41
|
+
export { Table, Td, Th, Tr, type TableProps, type TdProps, type ThProps, type TrProps } from './ui/atoms/Table';
|
|
42
|
+
export { Tab, Tabs, type TabProps, type TabsProps } from './ui/atoms/Tabs';
|
|
43
|
+
export { Tag, type TagProps } from './ui/atoms/Tag';
|
|
44
|
+
export { Text, type TextProps } from './ui/atoms/Text';
|
|
45
|
+
export { ActionButtons, type ActionButtonsProps } from './ui/composite/ActionButtons';
|
|
46
|
+
export { CardDialog, type CardDialogProps } from './ui/composite/CardDialog';
|
|
47
|
+
export { Dropdown, DropdownDivider, DropdownItem, type DropdownDividerProps, type DropdownItemProps, type DropdownProps } from './ui/composite/Dropdown';
|
|
48
|
+
export { List, type ListProps } from './ui/composite/List';
|
|
49
|
+
export { ListDetails, type ListDetailsProps } from './ui/composite/ListDetails';
|
|
50
|
+
export { ListDetailsItem, type ListDetailsItemProps } from './ui/composite/ListDetailsItem';
|
|
51
|
+
export { ListItem, type ListItemProps } from './ui/composite/ListItem';
|
|
52
|
+
export { PageError, type PageErrorProps } from './ui/composite/PageError';
|
|
53
|
+
export { PageLayout, type PageLayoutProps } from './ui/composite/PageLayout';
|
|
54
|
+
export { PageSkeleton, type PageSkeletonProps } from './ui/composite/PageSkeleton';
|
|
55
|
+
export { Report, type ReportProps } from './ui/composite/Report';
|
|
56
|
+
export { SearchBar, type SearchBarProps } from './ui/composite/SearchBar';
|
|
57
|
+
export { TableData, type TableDataProps } from './ui/composite/TableData';
|
|
58
|
+
export { Timeline, type TimelineEvent, type TimelineProps } from './ui/composite/Timeline';
|
|
59
|
+
export { HookedForm } from './ui/forms/Form';
|
|
60
|
+
export { HookedInput, Input, type HookedInputProps, type InputProps } from './ui/forms/Input';
|
|
61
|
+
export { HookedInputCheckbox, InputCheckbox, type HookedInputCheckboxProps, type InputCheckboxProps } from './ui/forms/InputCheckbox';
|
|
62
|
+
export { InputCheckboxGroup, type InputCheckboxGroupProps } from './ui/forms/InputCheckboxGroup';
|
|
63
|
+
export { HookedInputCurrency, InputCurrency, formatCentsToCurrency, type CurrencyCode, type HookedInputCurrencyProps, type InputCurrencyProps } from './ui/forms/InputCurrency';
|
|
64
|
+
export { InputCurrencyRange, type InputCurrencyRangeProps } from './ui/forms/InputCurrencyRange';
|
|
65
|
+
export { HookedInputDate, InputDate, type HookedInputDateProps, type InputDateProps } from './ui/forms/InputDate';
|
|
66
|
+
export { HookedInputDateRange, InputDateRange, type HookedInputDateRangeProps, type InputDateRangeProps } from './ui/forms/InputDateRange';
|
|
67
|
+
export { InputFeedback, type InputFeedbackProps } from './ui/forms/InputFeedback';
|
|
68
|
+
export { InputFile, type InputFileProps } from './ui/forms/InputFile';
|
|
69
|
+
export { InputJson, type InputJsonProps } from './ui/forms/InputJson';
|
|
70
|
+
export { InputRadioGroup, type InputRadioGroupProps } from './ui/forms/InputRadioGroup';
|
|
71
|
+
export { InputReadonly, type InputReadonlyProps } from './ui/forms/InputReadonly';
|
|
72
|
+
export { HookedInputResourceGroup, InputResourceGroup, type HookedInputResourceGroupProps, type InputResourceGroupProps } from './ui/forms/InputResourceGroup';
|
|
73
|
+
export { HookedInputSelect, InputSelect, flatSelectValues, getDefaultValueFromFlatten, isGroupedSelectValues, isMultiValueSelected, isSingleValueSelected, type HookedInputSelectProps, type InputSelectProps, type InputSelectValue } from './ui/forms/InputSelect';
|
|
74
|
+
export { HookedInputSimpleSelect, InputSimpleSelect, type HookedInputSimpleSelectProps, type InputSimpleSelectProps } from './ui/forms/InputSimpleSelect';
|
|
75
|
+
export { HookedInputSpinner, InputSpinner, type HookedInputSpinnerProps, type InputSpinnerProps } from './ui/forms/InputSpinner';
|
|
76
|
+
export { HookedInputSwitch, InputSwitch, type HookedInputSwitchProps, type InputSwitchProps } from './ui/forms/InputSwitch';
|
|
77
|
+
export { InputTextArea, type InputTextAreaProps } from './ui/forms/InputTextArea';
|
|
78
|
+
export { HookedInputToggleButton, InputToggleButton, type HookedInputToggleButtonProps, type InputToggleButtonProps } from './ui/forms/InputToggleButton';
|
|
79
|
+
export { Label, type LabelProps } from './ui/forms/Label';
|
|
80
|
+
export { Legend, type LegendProps } from './ui/forms/Legend';
|
|
81
|
+
export { HookedValidationApiError, HookedValidationError, setApiFormErrors, useValidationFeedback } from './ui/forms/ReactHookForm';
|
|
82
|
+
export { ResourceAddress, type ResourceAddressProps } from './ui/resources/ResourceAddress';
|
|
83
|
+
export { ResourceLineItems, type ResourceLineItemsProps } from './ui/resources/ResourceLineItems';
|
|
84
|
+
export { ResourceList, type ResourceListProps } from './ui/resources/ResourceList';
|
|
85
|
+
export { ResourceListItem, type ResourceListItemProps } from './ui/resources/ResourceListItem';
|
|
86
|
+
export { ResourceMetadata, type ResourceMetadataProps } from './ui/resources/ResourceMetadata';
|
|
87
|
+
export { ResourceOrderSummary, type ResourceOrderSummaryProps } from './ui/resources/ResourceOrderSummary';
|
|
88
|
+
export { ResourceOrderTimeline, type ResourceOrderTimelineProps } from './ui/resources/ResourceOrderTimeline';
|
|
89
|
+
export { ResourceShipmentParcels, type ResourceShipmentParcelsProps } from './ui/resources/ResourceShipmentParcels';
|
|
90
|
+
export { ResourceTags, type ResourceTagsProps } from './ui/resources/ResourceTags';
|
|
91
|
+
export { useResourceFilters, type FiltersInstructions } from './ui/resources/useResourceFilters';
|
|
92
|
+
export { getCustomerDisplayStatus, getCustomerStatusName } from './dictionaries/customers';
|
|
93
|
+
export { getOrderDisplayStatus, getOrderFulfillmentStatusName, getOrderPaymentStatusName, getOrderStatusName, getOrderTransactionPastTense, getOrderTriggerAttributeName } from './dictionaries/orders';
|
|
94
|
+
export { getReturnDisplayStatus, getReturnStatusName, getReturnTriggerAttributeName } from './dictionaries/returns';
|
package/dist/main.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ao as u,
|
|
1
|
+
import { ao as u, aX as i, ap as b, aq as p, ar as l, as as c, at as d, au as g, aY as m, av as S, aw as I, ah as k, aZ as T, a_ as D, a$ as R, ax as y, ak as C, ay as A, az as h, bb as H, bc as P, be as F, bh as B, bl as L, bn as O, bu as f, bw as v, bD as N, bF as V, bH as w, bK as E, bO as G, bP as x, aA as M, aB as J, bd as U, bf as W, bg as Y, bi as Z, bk as $, bm as j, bo as q, bp as z, bq as K, br as Q, bs as X, bt as _, bv as aa, bx as ea, bE as sa, bG as ta, bI as ra, bJ as oa, bL as na, bM as ua, bN as ia, b0 as ba, b1 as pa, b2 as la, b3 as ca, al as da, b4 as ga, aC as ma, b5 as Sa, b6 as Ia, aD as ka, aE as Ta, aF as Da, b7 as Ra, bS as ya, bT as Ca, bU as Aa, bV as ha, bW as Ha, bX as Pa, bY as Fa, bZ as Ba, b_ as La, b8 as Oa, aG as fa, aH as va, aI as Na, aJ as Va, aL as wa, aM as Ea, aN as Ga, aO as xa, aT as Ma, aP as Ja, b9 as Ua, aU as Wa, aV as Ya, aQ as Za, aW as $a, aR as ja, ba as qa, am as za, aS as Ka, a2 as Qa, a1 as Xa, by as _a, bj as ae, W as ee, a3 as se, a4 as te, a5 as re, c0 as oe, c1 as ne, bz as ue, Y as ie, Z as be, c2 as pe, c3 as le, c4 as ce, c5 as de, c6 as ge, c7 as me, a6 as Se, a7 as Ie, c8 as ke, c9 as Te, ca as De, a8 as Re, a9 as ye, S as Ce, aa as Ae, ab as he, U as He, bA as Pe, bB as Fe, bC as Be, T as Le, V as Oe, bQ as fe, $ as ve, a0 as Ne, ac as Ve, ai as we, aj as Ee, ad as Ge, ae as xe, af as Me, ag as Je, b$ as Ue, an as We, bR as Ye, aK as Ze } from "./main-6e2634ae.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
4
|
import "@commercelayer/sdk";
|
|
@@ -30,10 +30,10 @@ export {
|
|
|
30
30
|
B as HookedInputCurrency,
|
|
31
31
|
L as HookedInputDate,
|
|
32
32
|
O as HookedInputDateRange,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
33
|
+
f as HookedInputResourceGroup,
|
|
34
|
+
v as HookedInputSelect,
|
|
35
|
+
N as HookedInputSimpleSelect,
|
|
36
|
+
V as HookedInputSpinner,
|
|
37
37
|
w as HookedInputSwitch,
|
|
38
38
|
E as HookedInputToggleButton,
|
|
39
39
|
G as HookedValidationApiError,
|
|
@@ -84,10 +84,10 @@ export {
|
|
|
84
84
|
Ba as ResourceShipmentParcels,
|
|
85
85
|
La as ResourceTags,
|
|
86
86
|
Oa as SearchBar,
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
87
|
+
fa as Section,
|
|
88
|
+
va as Skeleton,
|
|
89
|
+
Na as SkeletonItem,
|
|
90
|
+
Va as SkeletonTemplate,
|
|
91
91
|
wa as Spacer,
|
|
92
92
|
Ea as Stack,
|
|
93
93
|
Ga as StatusDot,
|
|
@@ -103,54 +103,53 @@ export {
|
|
|
103
103
|
qa as Timeline,
|
|
104
104
|
za as TokenProvider,
|
|
105
105
|
Ka as Tr,
|
|
106
|
-
Qa as
|
|
107
|
-
Xa as
|
|
108
|
-
_a as
|
|
109
|
-
ae as
|
|
110
|
-
ee as
|
|
111
|
-
se as
|
|
112
|
-
te as
|
|
113
|
-
re as
|
|
114
|
-
oe as
|
|
115
|
-
ne as
|
|
116
|
-
ue as
|
|
117
|
-
ie as
|
|
118
|
-
be as
|
|
119
|
-
pe as
|
|
120
|
-
le as
|
|
121
|
-
ce as
|
|
122
|
-
de as
|
|
123
|
-
ge as
|
|
124
|
-
me as
|
|
125
|
-
Se as
|
|
126
|
-
Ie as
|
|
127
|
-
ke as
|
|
128
|
-
Te as
|
|
129
|
-
De as
|
|
130
|
-
Re as
|
|
131
|
-
ye as
|
|
132
|
-
Ce as
|
|
133
|
-
Ae as
|
|
134
|
-
he as
|
|
135
|
-
He as
|
|
136
|
-
Pe as
|
|
137
|
-
Fe as
|
|
138
|
-
Be as
|
|
139
|
-
Le as
|
|
140
|
-
Oe as
|
|
141
|
-
Ve as referenceOrigins,
|
|
106
|
+
Qa as computeFullname,
|
|
107
|
+
Xa as downloadJsonAsFile,
|
|
108
|
+
_a as flatSelectValues,
|
|
109
|
+
ae as formatCentsToCurrency,
|
|
110
|
+
ee as formatDate,
|
|
111
|
+
se as formatDisplayName,
|
|
112
|
+
te as formatResourceName,
|
|
113
|
+
re as getAvatarSrcFromRate,
|
|
114
|
+
oe as getCustomerDisplayStatus,
|
|
115
|
+
ne as getCustomerStatusName,
|
|
116
|
+
ue as getDefaultValueFromFlatten,
|
|
117
|
+
ie as getIsoDateAtDayEdge,
|
|
118
|
+
be as getIsoDateAtDaysBefore,
|
|
119
|
+
pe as getOrderDisplayStatus,
|
|
120
|
+
le as getOrderFulfillmentStatusName,
|
|
121
|
+
ce as getOrderPaymentStatusName,
|
|
122
|
+
de as getOrderStatusName,
|
|
123
|
+
ge as getOrderTransactionPastTense,
|
|
124
|
+
me as getOrderTriggerAttributeName,
|
|
125
|
+
Se as getParcelTrackingDetail,
|
|
126
|
+
Ie as getParcelTrackingDetails,
|
|
127
|
+
ke as getReturnDisplayStatus,
|
|
128
|
+
Te as getReturnStatusName,
|
|
129
|
+
De as getReturnTriggerAttributeName,
|
|
130
|
+
Re as getShipmentRate,
|
|
131
|
+
ye as getShipmentRates,
|
|
132
|
+
Ce as goBack,
|
|
133
|
+
Ae as hasBeenPurchased,
|
|
134
|
+
he as hasSingleTracking,
|
|
135
|
+
He as isAttachmentValidNote,
|
|
136
|
+
Pe as isGroupedSelectValues,
|
|
137
|
+
Fe as isMultiValueSelected,
|
|
138
|
+
Be as isSingleValueSelected,
|
|
139
|
+
Le as navigateTo,
|
|
140
|
+
Oe as referenceOrigins,
|
|
142
141
|
fe as setApiFormErrors,
|
|
143
142
|
ve as sortAndGroupByDate,
|
|
144
143
|
Ne as timeSeparator,
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
144
|
+
Ve as useClickAway,
|
|
145
|
+
we as useCoreApi,
|
|
146
|
+
Ee as useCoreSdkProvider,
|
|
147
|
+
Ge as useDelayShow,
|
|
148
|
+
xe as useIsChanged,
|
|
149
|
+
Me as useOnBlurFromContainer,
|
|
150
|
+
Je as useOverlay,
|
|
151
|
+
Ue as useResourceFilters,
|
|
152
|
+
We as useTokenProvider,
|
|
153
|
+
Ye as useValidationFeedback,
|
|
154
|
+
Ze as withSkeletonTemplate
|
|
156
155
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { type SetRequired } from 'type-fest';
|
|
3
|
-
export type
|
|
3
|
+
export type AProps = SetRequired<React.AnchorHTMLAttributes<HTMLAnchorElement>, 'href'>;
|
|
4
4
|
/**
|
|
5
5
|
* This component wraps an [`<a>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a) HTML element.
|
|
6
6
|
* <span type='info'>All the props are directly sent to the anchor element.</span>
|
|
7
7
|
*/
|
|
8
|
-
export declare const A: React.FC<
|
|
8
|
+
export declare const A: React.FC<AProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
interface AvatarLetterProps {
|
|
2
|
+
export interface AvatarLetterProps {
|
|
3
3
|
/**
|
|
4
4
|
* Text to be used to generate initials
|
|
5
5
|
*/
|
|
@@ -20,4 +20,3 @@ export declare function AvatarLetter({ text, className, style, ...rest }: Avatar
|
|
|
20
20
|
export declare namespace AvatarLetter {
|
|
21
21
|
var displayName: string;
|
|
22
22
|
}
|
|
23
|
-
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { AvatarLetter, type AvatarLetterProps } from './AvatarLetter';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { variantCss } from './badgeVariants';
|
|
3
|
+
export interface BadgeProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'children'> {
|
|
4
|
+
/** Render a different variant. */
|
|
5
|
+
variant: keyof typeof variantCss;
|
|
6
|
+
children: string;
|
|
7
|
+
}
|
|
8
|
+
/** Badges are used to highlight an item's status for quick recognition. */
|
|
9
|
+
export declare const Badge: React.FC<BadgeProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Badge, type BadgeProps } from './Badge';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ReactNode } from 'react';
|
|
2
|
-
interface
|
|
2
|
+
export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
3
3
|
/**
|
|
4
4
|
* Button content
|
|
5
5
|
*/
|
|
@@ -17,10 +17,10 @@ interface Props extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
|
17
17
|
*/
|
|
18
18
|
fullWidth?: boolean;
|
|
19
19
|
}
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
type ButtonVariant = 'primary' | 'secondary' | 'danger' | 'link';
|
|
21
|
+
type ButtonSize = 'small' | 'regular' | 'large';
|
|
22
22
|
/** Button component is used to trigger an action or event, such as submitting a form, opening a Dialog, or performing an action. */
|
|
23
|
-
export declare function Button({ children, className, size, variant, disabled, fullWidth, ...rest }:
|
|
23
|
+
export declare function Button({ children, className, size, variant, disabled, fullWidth, ...rest }: ButtonProps): JSX.Element;
|
|
24
24
|
export declare namespace Button {
|
|
25
25
|
var displayName: string;
|
|
26
26
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { type IconProps } from './Icon';
|
|
3
|
-
interface ButtonFilterProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
export interface ButtonFilterProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
4
|
onClick?: () => void;
|
|
5
5
|
onRemoveRequest?: () => void;
|
|
6
6
|
icon?: IconProps['name'];
|
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
/// <reference types="react" />
|
|
3
|
+
export interface CardProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
+
/**
|
|
5
|
+
* Possible values are:
|
|
6
|
+
* - `"1"`: 0.25rem, 4px
|
|
7
|
+
* - `"4"`: 1rem, 16px
|
|
8
|
+
* - `"6"`: 1.5rem, 24px
|
|
9
|
+
*
|
|
10
|
+
* @default 6
|
|
11
|
+
*/
|
|
12
|
+
gap?: '1' | '4' | '6';
|
|
13
|
+
/**
|
|
14
|
+
* Footer will render in a dedicated section below the main content.
|
|
15
|
+
*/
|
|
16
|
+
footer?: React.ReactNode;
|
|
17
|
+
}
|
|
3
18
|
/** Card is a flexible component used to group and display content in a clear and concise format. */
|
|
4
19
|
export declare const Card: import("./SkeletonTemplate").SkeletonTemplateComponent<{
|
|
5
20
|
gap?: "1" | "4" | "6" | undefined;
|
|
@@ -4,8 +4,6 @@ export interface ContainerProps {
|
|
|
4
4
|
* Set min height as screen size. Default is `true`.
|
|
5
5
|
*/
|
|
6
6
|
minHeight?: boolean;
|
|
7
|
-
}
|
|
8
|
-
interface Props extends ContainerProps {
|
|
9
7
|
/**
|
|
10
8
|
* CSS class name
|
|
11
9
|
*/
|
|
@@ -16,5 +14,4 @@ interface Props extends ContainerProps {
|
|
|
16
14
|
children: React.ReactNode;
|
|
17
15
|
}
|
|
18
16
|
/** This component can be used to constrain a content's width to the current breakpoint, while keeping it fluid. */
|
|
19
|
-
export declare const Container: React.FC<
|
|
20
|
-
export {};
|
|
17
|
+
export declare const Container: React.FC<ContainerProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
interface CopyToClipboardProps {
|
|
2
|
+
export interface CopyToClipboardProps {
|
|
3
3
|
/**
|
|
4
4
|
* text to display that will be copied on button click
|
|
5
5
|
*/
|
|
@@ -15,4 +15,3 @@ interface CopyToClipboardProps {
|
|
|
15
15
|
}
|
|
16
16
|
/** CopyToClipboard can copy a provided value to the clipboard. You can use the `showValue` prop to decide whether to render or not the provided value. */
|
|
17
17
|
export declare const CopyToClipboard: React.FC<CopyToClipboardProps>;
|
|
18
|
-
export {};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { type ReactNode } from 'react';
|
|
2
|
-
|
|
3
|
-
interface GridProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'children'> {
|
|
1
|
+
import React, { type ReactNode } from 'react';
|
|
2
|
+
export interface GridProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'children'> {
|
|
4
3
|
children: ReactNode;
|
|
5
4
|
columns: '1' | '2';
|
|
6
5
|
}
|
|
@@ -5,8 +5,7 @@ export interface HintProps {
|
|
|
5
5
|
className?: string;
|
|
6
6
|
children: ReactNode;
|
|
7
7
|
}
|
|
8
|
-
declare function Hint({ icon, className, children, ...rest }: HintProps): JSX.Element;
|
|
9
|
-
declare namespace Hint {
|
|
8
|
+
export declare function Hint({ icon, className, children, ...rest }: HintProps): JSX.Element;
|
|
9
|
+
export declare namespace Hint {
|
|
10
10
|
var displayName: string;
|
|
11
11
|
}
|
|
12
|
-
export { Hint };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
type
|
|
2
|
+
export type HrProps = Omit<React.HTMLProps<HTMLHRElement>, 'children'>;
|
|
3
3
|
/**
|
|
4
4
|
* This component wraps an [`<hr>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/hr) HTML element.
|
|
5
5
|
* <span type='info'>All the props are directly sent to the horizontal rule element.</span>
|
|
6
6
|
*/
|
|
7
|
-
export declare const Hr: React.FC<
|
|
8
|
-
export {};
|
|
7
|
+
export declare const Hr: React.FC<HrProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ReactNode } from 'react';
|
|
2
|
-
import { type
|
|
2
|
+
import { type BadgeProps } from './Badge';
|
|
3
3
|
export interface PageHeadingProps {
|
|
4
4
|
/**
|
|
5
5
|
* Main page title wrapped in a h1 element
|
|
@@ -25,7 +25,7 @@ export interface PageHeadingProps {
|
|
|
25
25
|
/**
|
|
26
26
|
* When set, it will render a badge (default as warning variant) above the title
|
|
27
27
|
*/
|
|
28
|
-
badgeVariant?:
|
|
28
|
+
badgeVariant?: BadgeProps['variant'];
|
|
29
29
|
/**
|
|
30
30
|
* When set, it will render a button on the right side of the first row
|
|
31
31
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
interface ProgressProps extends React.ProgressHTMLAttributes<HTMLProgressElement> {
|
|
2
|
+
export interface ProgressProps extends React.ProgressHTMLAttributes<HTMLProgressElement> {
|
|
3
3
|
/**
|
|
4
4
|
* This attribute describes how much work the task indicated by the `progress` element requires.
|
|
5
5
|
* The `max` attribute, if present, must have a value greater than `0` and be a valid floating point number.
|
|
@@ -22,4 +22,3 @@ interface ProgressProps extends React.ProgressHTMLAttributes<HTMLProgressElement
|
|
|
22
22
|
* <span type='info'>All the props are directly sent to the progress indicator element.</span>
|
|
23
23
|
*/
|
|
24
24
|
export declare const Progress: React.FC<ProgressProps>;
|
|
25
|
-
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type SVGAttributes } from 'react';
|
|
2
2
|
import { type IconProps } from './Icon';
|
|
3
|
-
interface RadialProgressProps extends SVGAttributes<SVGElement> {
|
|
3
|
+
export interface RadialProgressProps extends SVGAttributes<SVGElement> {
|
|
4
4
|
/**
|
|
5
5
|
* Progress percentage express as number from 0 to 100.
|
|
6
6
|
* When not specified, it will render a dashed circle (eg: pending state)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ReactNode } from 'react';
|
|
2
|
-
interface SkeletonProps {
|
|
2
|
+
export interface SkeletonProps {
|
|
3
3
|
/**
|
|
4
4
|
* This prevents Skeleton to appear immediately.
|
|
5
5
|
* It can be used when loading times are too short and you don't want flashing of content
|
|
@@ -15,7 +15,7 @@ declare function Skeleton({ children, delayMs, ...rest }: SkeletonProps): JSX.El
|
|
|
15
15
|
declare namespace Skeleton {
|
|
16
16
|
var displayName: string;
|
|
17
17
|
}
|
|
18
|
-
interface SkeletonItemProps {
|
|
18
|
+
export interface SkeletonItemProps {
|
|
19
19
|
/**
|
|
20
20
|
* CSS classes
|
|
21
21
|
*/
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { type ReactNode } from 'react';
|
|
2
|
-
export interface
|
|
2
|
+
export interface SpacerProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
3
|
/**
|
|
4
4
|
* Value to be applied as `margin-top`
|
|
5
5
|
*/
|
|
6
|
-
top?:
|
|
6
|
+
top?: SpacerValues;
|
|
7
7
|
/**
|
|
8
8
|
* Value to be applied as `margin-bottom`.
|
|
9
9
|
*/
|
|
10
|
-
bottom?:
|
|
10
|
+
bottom?: SpacerValues;
|
|
11
11
|
/**
|
|
12
12
|
* Value to be applied as `margin-left`.
|
|
13
13
|
*/
|
|
14
|
-
left?:
|
|
14
|
+
left?: SpacerValues;
|
|
15
15
|
/**
|
|
16
16
|
* Value to be applied as `margin-right`.
|
|
17
17
|
*/
|
|
18
|
-
right?:
|
|
18
|
+
right?: SpacerValues;
|
|
19
19
|
children?: ReactNode;
|
|
20
20
|
}
|
|
21
21
|
/**
|
|
@@ -27,8 +27,8 @@ export interface SpacingProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
27
27
|
* 12: 3rem, 48px
|
|
28
28
|
* 14: 3.5rem, 56px
|
|
29
29
|
*/
|
|
30
|
-
|
|
31
|
-
declare function Spacer({ top, bottom, left, right, children, ...rest }:
|
|
30
|
+
type SpacerValues = '2' | '4' | '6' | '8' | '10' | '12' | '14';
|
|
31
|
+
declare function Spacer({ top, bottom, left, right, children, ...rest }: SpacerProps): JSX.Element;
|
|
32
32
|
declare namespace Spacer {
|
|
33
33
|
var displayName: string;
|
|
34
34
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
type DotVariant = 'success' | 'danger' | 'warning';
|
|
3
|
+
export interface StatusDotProps {
|
|
4
|
+
variant: DotVariant;
|
|
5
|
+
}
|
|
6
|
+
export declare function StatusDot({ variant, ...rest }: StatusDotProps): JSX.Element;
|
|
7
|
+
export declare namespace StatusDot {
|
|
8
|
+
var displayName: string;
|
|
9
|
+
}
|
|
10
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
interface
|
|
2
|
+
export interface TableProps {
|
|
3
3
|
thead?: React.ReactNode;
|
|
4
4
|
tbody?: React.ReactNode;
|
|
5
5
|
className?: string;
|
|
@@ -17,5 +17,4 @@ interface Props {
|
|
|
17
17
|
* } from '@commercelayer/app-elements'
|
|
18
18
|
* ```
|
|
19
19
|
*/
|
|
20
|
-
export declare const Table: React.FC<
|
|
21
|
-
export {};
|
|
20
|
+
export declare const Table: React.FC<TableProps>;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
interface
|
|
2
|
+
export interface TdProps {
|
|
3
3
|
className?: string;
|
|
4
4
|
children?: React.ReactNode;
|
|
5
5
|
textEllipsis?: number;
|
|
6
6
|
}
|
|
7
|
-
export declare const Td: React.FC<
|
|
8
|
-
export {};
|
|
7
|
+
export declare const Td: React.FC<TdProps>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface ThProps extends React.ThHTMLAttributes<HTMLElement> {
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
}
|
|
5
|
+
declare function Th({ children, ...rest }: ThProps): JSX.Element;
|
|
6
|
+
declare namespace Th {
|
|
7
|
+
var displayName: string;
|
|
8
|
+
}
|
|
9
|
+
export { Th };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
interface
|
|
2
|
+
export interface TrProps extends React.HTMLAttributes<HTMLElement> {
|
|
3
3
|
children?: React.ReactNode;
|
|
4
4
|
}
|
|
5
|
-
declare function Tr({ children, ...rest }:
|
|
5
|
+
declare function Tr({ children, ...rest }: TrProps): JSX.Element;
|
|
6
6
|
declare namespace Tr {
|
|
7
7
|
var displayName: string;
|
|
8
8
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { type ReactNode } from 'react';
|
|
2
|
-
interface
|
|
2
|
+
export interface TabsProps {
|
|
3
3
|
/**
|
|
4
4
|
* Used for accessability
|
|
5
5
|
*/
|
|
@@ -25,11 +25,11 @@ interface Props {
|
|
|
25
25
|
*/
|
|
26
26
|
keepAlive?: boolean;
|
|
27
27
|
}
|
|
28
|
-
declare function Tabs({ id, children, onTabSwitch, className, keepAlive, ...rest }:
|
|
28
|
+
declare function Tabs({ id, children, onTabSwitch, className, keepAlive, ...rest }: TabsProps): JSX.Element;
|
|
29
29
|
declare namespace Tabs {
|
|
30
30
|
var displayName: string;
|
|
31
31
|
}
|
|
32
|
-
interface TabProps {
|
|
32
|
+
export interface TabProps {
|
|
33
33
|
/**
|
|
34
34
|
* This is the tab name used to render the Tab Navigation on top
|
|
35
35
|
*/
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { type ReactNode } from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
type TextVariant = 'danger' | 'success' | 'primary' | 'warning' | 'info' | 'plain' | 'disabled';
|
|
3
|
+
type TextSize = 'small' | 'regular' | 'large' | 'inherit';
|
|
4
|
+
type TextWeight = 'regular' | 'medium' | 'semibold' | 'bold' | 'inherit';
|
|
5
|
+
type TextAlignment = 'center' | 'left' | 'right' | 'inherit';
|
|
6
|
+
type TextWrap = 'normal' | 'nowrap' | 'inherit';
|
|
7
7
|
export interface TextProps extends React.HTMLAttributes<HTMLElement> {
|
|
8
8
|
children?: ReactNode;
|
|
9
9
|
variant?: TextVariant;
|