@sprinklrjs/spaceweb 14.11.4 → 14.12.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/ClientOnly.d.ts +1 -1
- package/asyncSelect/asyncSelect.d.ts +2 -2
- package/asyncSelect/asyncSelect.js +1 -1
- package/asyncSelect/groupedAsyncSelect.d.ts +1 -1
- package/asyncSelect/groupedAsyncSelect.js +1 -1
- package/asyncSelect/hooks/useAsyncOptions.d.ts +1 -1
- package/asyncSelect/hooks/useAsyncOptions.js +4 -5
- package/asyncSelect/hooks/useAsyncSelect.d.ts +1 -1
- package/asyncSelect/hooks/useAsyncSelectAdapter.d.ts +1 -1
- package/asyncSelect/hooks/useBaseAsyncSelect.js +1 -1
- package/asyncSelect/hooks/useCreateOption.d.ts +2 -2
- package/asyncSelect/hooks/useCreateOption.js +3 -6
- package/asyncSelect/hooks/useGroupAsyncSelectAdapter.d.ts +3 -3
- package/asyncSelect/hooks/useGroupedAsyncSelect.d.ts +1 -1
- package/asyncSelect/hooks/useInputChangeHandler.d.ts +2 -2
- package/asyncSelect/hooks/useResolveSelectedOptions.d.ts +3 -3
- package/asyncSelect/hooks/useResolveSelectedOptions.js +2 -4
- package/asyncSelect/types.d.ts +5 -6
- package/asyncSelect/utils/defaultCreateOption.d.ts +1 -1
- package/avatar/avatar.d.ts +2 -2
- package/avatar/components/grid-variant.d.ts +2 -2
- package/avatar/components/grid-variant.js +0 -1
- package/avatar/components/linear-variant.js +0 -2
- package/avatar/constants.d.ts +1 -1
- package/avatar/hooks/useAvatarGroupChildren.d.ts +2 -2
- package/avatar/hooks/useAvatarGroupChildren.js +0 -1
- package/avatar/styled-component.d.ts +1 -1
- package/avatar/styled-component.js +1 -3
- package/avatar/types.d.ts +2 -2
- package/avatar/useAvatarColor.js +0 -1
- package/avatar/utils/avatarGroupHelpers.d.ts +1 -1
- package/avatar/utils/cleanupDisplayName.js +2 -2
- package/badge/badge.d.ts +2 -2
- package/badge/types.d.ts +2 -2
- package/banner/banner.d.ts +1 -1
- package/banner/banner.js +2 -2
- package/banner/types.d.ts +3 -3
- package/base-button/styled-components.d.ts +1 -1
- package/base-button/types.d.ts +3 -3
- package/baseui/accordion/panel.js +1 -3
- package/baseui/accordion/stateful-panel-container.js +1 -2
- package/baseui/accordion/stateless-accordion.js +4 -6
- package/baseui/datepicker/calendar-header.js +2 -4
- package/baseui/datepicker/calendar.d.ts +1 -1
- package/baseui/datepicker/calendar.js +2 -3
- package/baseui/datepicker/day.d.ts +1 -1
- package/baseui/datepicker/day.js +1 -1
- package/baseui/datepicker/styled-components.js +1 -1
- package/baseui/datepicker/utils/date-helpers.js +4 -4
- package/baseui/datepicker/utils/index.js +7 -12
- package/baseui/helpers/overrides.d.ts +2 -2
- package/baseui/helpers/overrides.js +4 -7
- package/baseui/layer/layer.js +2 -1
- package/baseui/layer/layers-manager.js +2 -1
- package/baseui/layer/tether.js +1 -0
- package/baseui/layer/types.d.ts +1 -1
- package/baseui/modal/close-icon.js +9 -1
- package/baseui/modal/modal.d.ts +3 -3
- package/baseui/modal/modal.js +6 -8
- package/baseui/popover/popover.js +3 -4
- package/baseui/popover/stateful-container.js +1 -1
- package/baseui/popover/utils.js +1 -3
- package/baseui/select/autosize-input.d.ts +1 -1
- package/baseui/select/autosize-input.js +1 -1
- package/baseui/select/dropdown.js +1 -1
- package/baseui/select/select-component.d.ts +3 -4
- package/baseui/select/select-component.js +15 -10
- package/baseui/select/stateful-select-container.js +4 -8
- package/baseui/select/types.d.ts +4 -5
- package/baseui/select/utils/index.js +2 -6
- package/baseui/select/value.js +5 -1
- package/baseui/timepicker/timepicker.js +6 -7
- package/baseui/timepicker/types.d.ts +1 -1
- package/baseui/tree-view/index.d.ts +1 -1
- package/baseui/tree-view/tree-label-interactable.d.ts +1 -1
- package/baseui/tree-view/tree-label.js +1 -1
- package/baseui/tree-view/tree-node.js +1 -1
- package/baseui/tree-view/tree-view.js +1 -2
- package/baseui/tree-view/utils.js +3 -7
- package/baseui/utils/focusVisible.js +1 -1
- package/box/types.d.ts +2 -2
- package/breadcrumb/breadcrumb-ellipsis.d.ts +1 -1
- package/breadcrumb/breadcrumb-item.d.ts +1 -1
- package/breadcrumb/breadcrumb-item.js +0 -1
- package/breadcrumb/breadcrumb.d.ts +1 -1
- package/breadcrumb/breadcrumb.js +2 -1
- package/breadcrumb/types.d.ts +5 -4
- package/button/Button.js +2 -2
- package/button/CitationButton/CitationButton.d.ts +1 -1
- package/button/CitationButton/types.d.ts +1 -1
- package/button/DropdownEnhancer.d.ts +3 -3
- package/button/DropdownEnhancer.js +0 -1
- package/button/IconButton/IconButton.d.ts +1 -1
- package/button/IconButton/styled-components.d.ts +2 -2
- package/button/IconButton/types.d.ts +3 -3
- package/button/IconTextButton/styled-components.d.ts +1 -1
- package/button/IconTextButton/styled-components.js +2 -3
- package/button/IconTextButton/types.d.ts +3 -3
- package/button/button-enhancers.d.ts +1 -1
- package/button/helpers.d.ts +3 -3
- package/button/styled-components.d.ts +2 -2
- package/button/types.d.ts +6 -7
- package/button-group/ButtonGroup.d.ts +1 -1
- package/button-group/helpers.d.ts +2 -2
- package/button-group/styled-components.d.ts +3 -3
- package/button-group/types.d.ts +7 -8
- package/checkbox/checkbox.js +1 -3
- package/checkbox/hooks/useStatefulCheckbox.d.ts +1 -1
- package/checkbox/styled-components.d.ts +2 -2
- package/color-picker/ColorPalette.d.ts +1 -1
- package/color-picker/ColorPalette.js +1 -1
- package/color-picker/Swatch.d.ts +3 -3
- package/color-picker/types.d.ts +2 -2
- package/container/ContainerProps.d.ts +1 -1
- package/currency/Currency.d.ts +1 -1
- package/currency/constants.d.ts +1 -1
- package/currency/types.d.ts +1 -1
- package/currency/useCurrency.d.ts +1 -1
- package/currency/utils.d.ts +1 -1
- package/date-input/DateInput.d.ts +1 -1
- package/date-input/types.d.ts +5 -5
- package/date-picker/Calendar.d.ts +2 -2
- package/date-picker/DateInput.js +1 -1
- package/date-picker/DatePicker.d.ts +2 -2
- package/date-picker/StatelessDatePicker.js +1 -1
- package/date-picker/TimeInput.d.ts +3 -3
- package/date-picker/TimezoneDisplay.d.ts +1 -1
- package/date-picker/stateful-container.d.ts +2 -2
- package/date-picker/stateful-container.js +1 -1
- package/date-picker/styled-components.d.ts +2 -2
- package/date-picker/styled-components.js +1 -1
- package/date-picker/types.d.ts +6 -6
- package/date-picker/utils.js +0 -3
- package/date-time/DateTime.d.ts +1 -1
- package/date-time/types.d.ts +1 -1
- package/date-time/useDateTime.d.ts +1 -1
- package/esm/ClientOnly.d.ts +1 -1
- package/esm/asyncSelect/asyncSelect.d.ts +2 -2
- package/esm/asyncSelect/asyncSelect.js +1 -1
- package/esm/asyncSelect/groupedAsyncSelect.d.ts +1 -1
- package/esm/asyncSelect/groupedAsyncSelect.js +1 -1
- package/esm/asyncSelect/hooks/useAsyncOptions.d.ts +1 -1
- package/esm/asyncSelect/hooks/useAsyncOptions.js +4 -5
- package/esm/asyncSelect/hooks/useAsyncSelect.d.ts +1 -1
- package/esm/asyncSelect/hooks/useAsyncSelectAdapter.d.ts +1 -1
- package/esm/asyncSelect/hooks/useBaseAsyncSelect.js +1 -1
- package/esm/asyncSelect/hooks/useCreateOption.d.ts +2 -2
- package/esm/asyncSelect/hooks/useCreateOption.js +3 -6
- package/esm/asyncSelect/hooks/useGroupAsyncSelectAdapter.d.ts +3 -3
- package/esm/asyncSelect/hooks/useGroupedAsyncSelect.d.ts +1 -1
- package/esm/asyncSelect/hooks/useInputChangeHandler.d.ts +2 -2
- package/esm/asyncSelect/hooks/useResolveSelectedOptions.d.ts +3 -3
- package/esm/asyncSelect/hooks/useResolveSelectedOptions.js +2 -4
- package/esm/asyncSelect/types.d.ts +5 -6
- package/esm/asyncSelect/utils/defaultCreateOption.d.ts +1 -1
- package/esm/avatar/avatar.d.ts +2 -2
- package/esm/avatar/components/grid-variant.d.ts +2 -2
- package/esm/avatar/components/grid-variant.js +0 -1
- package/esm/avatar/components/linear-variant.js +0 -2
- package/esm/avatar/constants.d.ts +1 -1
- package/esm/avatar/hooks/useAvatarGroupChildren.d.ts +2 -2
- package/esm/avatar/hooks/useAvatarGroupChildren.js +0 -1
- package/esm/avatar/styled-component.d.ts +1 -1
- package/esm/avatar/styled-component.js +1 -3
- package/esm/avatar/types.d.ts +2 -2
- package/esm/avatar/useAvatarColor.js +0 -1
- package/esm/avatar/utils/avatarGroupHelpers.d.ts +1 -1
- package/esm/avatar/utils/cleanupDisplayName.js +2 -2
- package/esm/badge/badge.d.ts +2 -2
- package/esm/badge/types.d.ts +2 -2
- package/esm/banner/banner.d.ts +1 -1
- package/esm/banner/banner.js +2 -2
- package/esm/banner/types.d.ts +3 -3
- package/esm/base-button/styled-components.d.ts +1 -1
- package/esm/base-button/types.d.ts +3 -3
- package/esm/baseui/accordion/panel.js +1 -3
- package/esm/baseui/accordion/stateful-panel-container.js +1 -2
- package/esm/baseui/accordion/stateless-accordion.js +4 -6
- package/esm/baseui/datepicker/calendar-header.js +2 -4
- package/esm/baseui/datepicker/calendar.d.ts +1 -1
- package/esm/baseui/datepicker/calendar.js +2 -3
- package/esm/baseui/datepicker/day.d.ts +1 -1
- package/esm/baseui/datepicker/day.js +1 -1
- package/esm/baseui/datepicker/styled-components.js +1 -1
- package/esm/baseui/datepicker/utils/date-helpers.js +4 -4
- package/esm/baseui/datepicker/utils/index.js +7 -12
- package/esm/baseui/helpers/overrides.d.ts +2 -2
- package/esm/baseui/helpers/overrides.js +4 -7
- package/esm/baseui/layer/layer.js +2 -1
- package/esm/baseui/layer/layers-manager.js +2 -1
- package/esm/baseui/layer/tether.js +1 -0
- package/esm/baseui/layer/types.d.ts +1 -1
- package/esm/baseui/modal/close-icon.js +9 -1
- package/esm/baseui/modal/modal.d.ts +3 -3
- package/esm/baseui/modal/modal.js +6 -8
- package/esm/baseui/popover/popover.js +3 -4
- package/esm/baseui/popover/stateful-container.js +1 -1
- package/esm/baseui/popover/utils.js +1 -3
- package/esm/baseui/select/autosize-input.d.ts +1 -1
- package/esm/baseui/select/autosize-input.js +1 -1
- package/esm/baseui/select/dropdown.js +1 -1
- package/esm/baseui/select/select-component.d.ts +3 -4
- package/esm/baseui/select/select-component.js +15 -10
- package/esm/baseui/select/stateful-select-container.js +4 -8
- package/esm/baseui/select/types.d.ts +4 -5
- package/esm/baseui/select/utils/index.js +2 -6
- package/esm/baseui/select/value.js +5 -1
- package/esm/baseui/timepicker/timepicker.js +6 -7
- package/esm/baseui/timepicker/types.d.ts +1 -1
- package/esm/baseui/tree-view/index.d.ts +1 -1
- package/esm/baseui/tree-view/index.js +1 -1
- package/esm/baseui/tree-view/tree-label-interactable.d.ts +1 -1
- package/esm/baseui/tree-view/tree-label.js +1 -1
- package/esm/baseui/tree-view/tree-node.js +1 -1
- package/esm/baseui/tree-view/tree-view.js +1 -2
- package/esm/baseui/tree-view/utils.js +3 -7
- package/esm/baseui/utils/focusVisible.js +1 -1
- package/esm/box/types.d.ts +2 -2
- package/esm/breadcrumb/breadcrumb-ellipsis.d.ts +1 -1
- package/esm/breadcrumb/breadcrumb-item.d.ts +1 -1
- package/esm/breadcrumb/breadcrumb-item.js +0 -1
- package/esm/breadcrumb/breadcrumb.d.ts +1 -1
- package/esm/breadcrumb/breadcrumb.js +2 -1
- package/esm/breadcrumb/types.d.ts +5 -4
- package/esm/button/Button.js +2 -2
- package/esm/button/CitationButton/CitationButton.d.ts +1 -1
- package/esm/button/CitationButton/types.d.ts +1 -1
- package/esm/button/DropdownEnhancer.d.ts +3 -3
- package/esm/button/DropdownEnhancer.js +0 -1
- package/esm/button/IconButton/IconButton.d.ts +1 -1
- package/esm/button/IconButton/styled-components.d.ts +2 -2
- package/esm/button/IconButton/types.d.ts +3 -3
- package/esm/button/IconTextButton/styled-components.d.ts +1 -1
- package/esm/button/IconTextButton/styled-components.js +2 -3
- package/esm/button/IconTextButton/types.d.ts +3 -3
- package/esm/button/button-enhancers.d.ts +1 -1
- package/esm/button/helpers.d.ts +3 -3
- package/esm/button/styled-components.d.ts +2 -2
- package/esm/button/types.d.ts +6 -7
- package/esm/button-group/ButtonGroup.d.ts +1 -1
- package/esm/button-group/helpers.d.ts +2 -2
- package/esm/button-group/styled-components.d.ts +3 -3
- package/esm/button-group/types.d.ts +7 -8
- package/esm/checkbox/checkbox.js +1 -3
- package/esm/checkbox/hooks/useStatefulCheckbox.d.ts +1 -1
- package/esm/checkbox/styled-components.d.ts +2 -2
- package/esm/color-picker/ColorPalette.d.ts +1 -1
- package/esm/color-picker/ColorPalette.js +1 -1
- package/esm/color-picker/Swatch.d.ts +3 -3
- package/esm/color-picker/types.d.ts +2 -2
- package/esm/container/ContainerProps.d.ts +1 -1
- package/esm/currency/Currency.d.ts +1 -1
- package/esm/currency/constants.d.ts +1 -1
- package/esm/currency/types.d.ts +1 -1
- package/esm/currency/useCurrency.d.ts +1 -1
- package/esm/currency/utils.d.ts +1 -1
- package/esm/date-input/DateInput.d.ts +1 -1
- package/esm/date-input/types.d.ts +5 -5
- package/esm/date-picker/Calendar.d.ts +2 -2
- package/esm/date-picker/DateInput.js +1 -1
- package/esm/date-picker/DatePicker.d.ts +2 -2
- package/esm/date-picker/StatelessDatePicker.js +1 -1
- package/esm/date-picker/TimeInput.d.ts +3 -3
- package/esm/date-picker/TimezoneDisplay.d.ts +1 -1
- package/esm/date-picker/stateful-container.d.ts +2 -2
- package/esm/date-picker/stateful-container.js +1 -1
- package/esm/date-picker/styled-components.d.ts +2 -2
- package/esm/date-picker/styled-components.js +1 -1
- package/esm/date-picker/types.d.ts +6 -6
- package/esm/date-picker/utils.js +0 -3
- package/esm/date-time/DateTime.d.ts +1 -1
- package/esm/date-time/types.d.ts +1 -1
- package/esm/date-time/useDateTime.d.ts +1 -1
- package/esm/form-control/context.d.ts +1 -1
- package/esm/form-control/form-control.d.ts +1 -1
- package/esm/form-control/form-control.js +1 -1
- package/esm/form-control/info-icon.d.ts +6 -5
- package/esm/form-control/info-icon.js +0 -1
- package/esm/form-control/styled-component.js +2 -1
- package/esm/form-control/types.d.ts +3 -4
- package/esm/grid/Col.d.ts +2 -2
- package/esm/grid/Grid.d.ts +2 -2
- package/esm/grid/Grid.js +0 -3
- package/esm/grid/index.d.ts +1 -1
- package/esm/grid/types.d.ts +1 -1
- package/esm/helpers/ClearIconButton.d.ts +3 -3
- package/esm/helpers/ClearIconButton.js +1 -1
- package/esm/helpers/commonStyles.js +2 -3
- package/esm/helpers/intentHelper.d.ts +1 -1
- package/esm/helpers/longHandHelpers.d.ts +1 -1
- package/esm/helpers/themeHelpers.d.ts +2 -2
- package/esm/hooks/useAutoFocus.d.ts +2 -2
- package/esm/hooks/useAutoFocus.js +1 -0
- package/esm/hooks/useDebouncedEventHandler.d.ts +1 -1
- package/esm/hooks/useDebouncedEventHandler.js +0 -3
- package/esm/hooks/useHover.d.ts +1 -1
- package/esm/hooks/useMatchMedia.js +3 -2
- package/esm/hooks/useSVGAnimation.d.ts +2 -2
- package/esm/hooks/useTabsKeyboardNavigation.d.ts +1 -1
- package/esm/hooks/useTabsKeyboardNavigation.js +0 -1
- package/esm/hooks/useTransitionState.js +0 -1
- package/esm/icon/components/alert-solid.d.ts +1 -1
- package/esm/icon/components/alert-warning.d.ts +1 -1
- package/esm/icon/components/alert.d.ts +1 -1
- package/esm/icon/components/calendar-solid.d.ts +1 -1
- package/esm/icon/components/chevron-down-solid.d.ts +1 -1
- package/esm/icon/components/chevron-down.d.ts +1 -1
- package/esm/icon/components/chevron-left.d.ts +1 -1
- package/esm/icon/components/chevron-right.d.ts +1 -1
- package/esm/icon/components/clock-icon.d.ts +1 -1
- package/esm/icon/components/close.d.ts +1 -1
- package/esm/icon/components/delete-solid.d.ts +1 -1
- package/esm/icon/components/error-clr.d.ts +1 -1
- package/esm/icon/components/error.d.ts +1 -1
- package/esm/icon/components/form.d.ts +1 -1
- package/esm/icon/components/imagePreview.d.ts +1 -1
- package/esm/icon/components/info-circle.d.ts +1 -1
- package/esm/icon/components/info-solid.d.ts +2 -2
- package/esm/icon/components/info.d.ts +1 -1
- package/esm/icon/components/no-video.d.ts +1 -1
- package/esm/icon/components/noPreview.d.ts +1 -1
- package/esm/icon/components/options.d.ts +1 -1
- package/esm/icon/components/overview.d.ts +1 -1
- package/esm/icon/components/play-video.d.ts +1 -1
- package/esm/icon/components/reset-color.d.ts +1 -1
- package/esm/icon/components/search.d.ts +1 -1
- package/esm/icon/components/subtract.d.ts +1 -1
- package/esm/icon/components/tick.d.ts +1 -1
- package/esm/icon/components/tickCircle-solid.d.ts +1 -1
- package/esm/icon/components/timezone.d.ts +1 -1
- package/esm/icon/components/transparentBackground.d.ts +1 -1
- package/esm/icon/components/user.d.ts +1 -1
- package/esm/icon/components/video-non-playable.d.ts +1 -1
- package/esm/icon/components/warning-solid.d.ts +1 -1
- package/esm/icon/icon.d.ts +1 -1
- package/esm/icon/types.d.ts +3 -3
- package/esm/image/defaultFallbackImg.d.ts +2 -2
- package/esm/image/types.d.ts +3 -3
- package/esm/input/InputContainer.d.ts +1 -1
- package/esm/input/base-input.d.ts +2 -2
- package/esm/input/base-input.js +2 -2
- package/esm/input/masked-input.js +5 -5
- package/esm/input/neutral400Hex.d.ts +1 -1
- package/esm/input/number/NumberInput.d.ts +1 -1
- package/esm/input/number/StatefulNumberInput.d.ts +1 -1
- package/esm/input/number/base-input.d.ts +1 -1
- package/esm/input/useStatefulInput.d.ts +1 -2
- package/esm/layer/LayersManager.d.ts +1 -1
- package/esm/link/styled-components.d.ts +2 -2
- package/esm/link/types.d.ts +1 -1
- package/esm/list/avatar-list-item.d.ts +3 -3
- package/esm/list/list-item-text.d.ts +1 -1
- package/esm/list/list-item.d.ts +1 -1
- package/esm/list/styled-component.js +1 -1
- package/esm/loader/types.d.ts +3 -3
- package/esm/locale/context.d.ts +1 -1
- package/esm/locale/en_US.d.ts +1 -1
- package/esm/menu/nested-menu-context.d.ts +2 -2
- package/esm/menu/useItemContainerEventHandlers.d.ts +1 -1
- package/esm/modal/adapter.d.ts +3 -3
- package/esm/modal/modal-footer.d.ts +2 -2
- package/esm/modal/overrides.d.ts +3 -3
- package/esm/number/Number.d.ts +1 -1
- package/esm/number/constants.d.ts +1 -1
- package/esm/number/types.d.ts +1 -1
- package/esm/number/useNumber.d.ts +1 -1
- package/esm/overrides/mergeOverrides.d.ts +1 -1
- package/esm/overrides/types.d.ts +3 -3
- package/esm/overrides/useOverrides.d.ts +2 -2
- package/esm/payment-card/icons/amex.js +9 -1
- package/esm/payment-card/icons/dinersclub.js +9 -1
- package/esm/payment-card/icons/discover.js +9 -1
- package/esm/payment-card/icons/elo.js +9 -1
- package/esm/payment-card/icons/generic.js +9 -1
- package/esm/payment-card/icons/jcb.js +9 -1
- package/esm/payment-card/icons/maestro.js +9 -1
- package/esm/payment-card/icons/mastercard.js +9 -1
- package/esm/payment-card/icons/uatp.js +9 -1
- package/esm/payment-card/icons/unionpay.js +9 -1
- package/esm/payment-card/icons/visa.js +9 -1
- package/esm/payment-card/paymentCard.js +1 -1
- package/esm/payment-card/types.d.ts +4 -4
- package/esm/phone-input/country-select-container.d.ts +1 -1
- package/esm/phone-input/country-select.d.ts +1 -1
- package/esm/phone-input/default-props.d.ts +2 -2
- package/esm/phone-input/dial-code.d.ts +1 -1
- package/esm/phone-input/phone-input.d.ts +1 -1
- package/esm/phone-input/stateful-phone-input.d.ts +2 -2
- package/esm/phone-input/stateful-phone-input.js +2 -2
- package/esm/phone-input/types.d.ts +5 -5
- package/esm/phone-input/useStatefulPhoneInput.d.ts +1 -1
- package/esm/phone-input/utils.d.ts +2 -2
- package/esm/popover/PopoverEnhancer.d.ts +6 -6
- package/esm/popover/PopoverEnhancer.js +11 -9
- package/esm/popover/adapter.d.ts +2 -2
- package/esm/popover/hooks.d.ts +1 -1
- package/esm/popover/overrides.d.ts +2 -2
- package/esm/popover/stateful-popover.d.ts +1 -1
- package/esm/popover/utils.d.ts +1 -1
- package/esm/progress/circular/styled-component.d.ts +1 -1
- package/esm/progress/circular/types.d.ts +2 -2
- package/esm/progress/helper.d.ts +2 -2
- package/esm/progress/linear/ProgressSegment.js +1 -1
- package/esm/progress/linear/types.d.ts +2 -2
- package/esm/progress/types.d.ts +1 -1
- package/esm/progressSteps/progress-steps.d.ts +1 -1
- package/esm/progressSteps/step.d.ts +1 -1
- package/esm/progressSteps/styled-components.d.ts +1 -1
- package/esm/progressSteps/types.d.ts +1 -1
- package/esm/radio/radio.js +2 -1
- package/esm/radio/radiogroup.js +1 -1
- package/esm/radio/space-radio-context.d.ts +2 -2
- package/esm/radio/styled-components.d.ts +2 -2
- package/esm/radio/types.d.ts +5 -5
- package/esm/search/search.d.ts +3 -3
- package/esm/search/stateful-search.d.ts +2 -2
- package/esm/search/styled-components.d.ts +1 -1
- package/esm/search/types.d.ts +2 -2
- package/esm/select/SelectIdsContext.d.ts +1 -1
- package/esm/select/adaptor.d.ts +2 -2
- package/esm/select/base-select.js +4 -4
- package/esm/select/default-props.d.ts +1 -1
- package/esm/select/grouped-select.d.ts +2 -2
- package/esm/select/grouped-select.js +0 -1
- package/esm/select/mobileSelect/AdaptedCSSTransition/AdaptedCSSTransition.d.ts +1 -1
- package/esm/select/mobileSelect/AdaptedCSSTransition/types.d.ts +2 -2
- package/esm/select/mobileSelect/Backdrop.d.ts +1 -1
- package/esm/select/mobileSelect/MobileSelect.d.ts +1 -1
- package/esm/select/mobileSelect/MobileSheet.d.ts +1 -1
- package/esm/select/mobileSelect/hooks/usePauseBodyScrollEffect.d.ts +1 -1
- package/esm/select/mobileSelect/hooks/useSwipeableSheetStyles.d.ts +1 -1
- package/esm/select/mobileSelect/hooks/useSwipeableSheetStyles.js +2 -2
- package/esm/select/mobileSelect/hooks/useTransitionStyles.d.ts +1 -1
- package/esm/select/multi-value.d.ts +1 -1
- package/esm/select/multi-value.js +1 -1
- package/esm/select/no-results-message.d.ts +2 -2
- package/esm/select/overlaySelect/hooks/useControlRef.d.ts +1 -1
- package/esm/select/overlaySelect/hooks/usePopover.d.ts +1 -1
- package/esm/select/overrides.d.ts +3 -3
- package/esm/select/overrides.js +3 -2
- package/esm/select/select-variants.d.ts +1 -1
- package/esm/select/selectMenuAdapter/SelectMenuAdapter.js +2 -1
- package/esm/select/stateful-select.d.ts +1 -1
- package/esm/select/styled-component.js +1 -3
- package/esm/select/utils/adapt-select-value.d.ts +1 -1
- package/esm/select/utils/default-create-option.d.ts +1 -1
- package/esm/select/utils/hidden-element.d.ts +1 -1
- package/esm/select/utils/hidden-element.js +2 -1
- package/esm/select/utils/merge-options.d.ts +1 -1
- package/esm/slider/slider.js +13 -7
- package/esm/slider/stateful-slider-container.d.ts +1 -1
- package/esm/slider/stateful-slider-container.js +4 -4
- package/esm/slider/stateful-slider.d.ts +2 -2
- package/esm/slider/styled-components.d.ts +1 -1
- package/esm/slider/styled-components.js +27 -3
- package/esm/slider/types.d.ts +2 -2
- package/esm/snackbar/constants.d.ts +3 -3
- package/esm/snackbar/snackbarContext.d.ts +1 -1
- package/esm/snackbar/types.d.ts +1 -1
- package/esm/snackbar/useSnackbar.d.ts +2 -2
- package/esm/spaceConsumer/SpaceConsumer.d.ts +2 -2
- package/esm/spacewebProvider/AiIconLinearGradients.js +3 -1
- package/esm/spacewebProvider/CustomBaseProvider.d.ts +1 -1
- package/esm/spacewebProvider/DocumentProvider.d.ts +1 -1
- package/esm/spacewebProvider/SpacewebProvider.d.ts +4 -4
- package/esm/spacewebProvider/SpacewebProvider.js +1 -1
- package/esm/stack/context.d.ts +1 -1
- package/esm/stack/stack.d.ts +1 -1
- package/esm/stack/types.d.ts +2 -2
- package/esm/style/_buildUtils.d.ts +1 -1
- package/esm/style/_css.d.ts +1 -1
- package/esm/style/_cssParseStyle.d.ts +1 -1
- package/esm/style/_getStyle.d.ts +1 -1
- package/esm/style/_getStyleWithProps.d.ts +1 -1
- package/esm/style/_parseClassName.d.ts +1 -1
- package/esm/style/_parseStyleProp.d.ts +2 -2
- package/esm/style/_parseStyleProp.js +3 -2
- package/esm/style/_px2rem.d.ts +1 -1
- package/esm/style/styled-with-css-variables.d.ts +1 -1
- package/esm/style/styled.d.ts +2 -2
- package/esm/style/styled.js +1 -1
- package/esm/style/useMemoizedStyletron.js +2 -2
- package/esm/style/useStyle.d.ts +1 -1
- package/esm/styleEngine/styleEngine.d.ts +2 -2
- package/esm/styleEngine/styleEngine.js +0 -1
- package/esm/switch/switch.d.ts +3 -3
- package/esm/switch/switch.js +1 -1
- package/esm/tabs/contexts.d.ts +2 -2
- package/esm/tabs/helpers.d.ts +1 -1
- package/esm/tabs/scroll-button.d.ts +1 -1
- package/esm/tabs/stateful-tabs.d.ts +2 -2
- package/esm/tabs/styled-components.d.ts +2 -2
- package/esm/tabs/tab-list.d.ts +1 -1
- package/esm/tabs/tab.d.ts +2 -2
- package/esm/tabs/tabs-panel.d.ts +2 -2
- package/esm/tabs/types.d.ts +4 -4
- package/esm/tag/constants.d.ts +1 -1
- package/esm/tag/status-tag.d.ts +1 -1
- package/esm/tag/tag.js +6 -2
- package/esm/tag/utils.d.ts +1 -1
- package/esm/test-utils/test-provider/TestProvider.d.ts +1 -1
- package/esm/test-utils/test-provider/helpers.d.ts +2 -2
- package/esm/test-utils/test-provider/testableThemes.d.ts +1 -1
- package/esm/textarea/textarea.js +5 -5
- package/esm/textarea/types.d.ts +4 -5
- package/esm/textarea/useAutoSizeTextarea.d.ts +2 -2
- package/esm/theme/Provider.d.ts +2 -2
- package/esm/theme/context.d.ts +1 -1
- package/esm/theme/types.d.ts +1 -1
- package/esm/time-picker/TimePicker.d.ts +2 -2
- package/esm/time-picker/types.d.ts +5 -5
- package/esm/time-range-picker/RangeSelector.d.ts +2 -2
- package/esm/time-range-picker/TimeRangeList.d.ts +2 -2
- package/esm/time-range-picker/TimeRangePicker.d.ts +2 -2
- package/esm/time-range-picker/TimeRangePicker.js +2 -1
- package/esm/time-range-picker/TimezonePicker.d.ts +1 -1
- package/esm/time-range-picker/types.d.ts +1 -1
- package/esm/time-range-picker/utils.d.ts +2 -2
- package/esm/time-zone-picker/TimezonePicker.d.ts +2 -2
- package/esm/time-zone-picker/types.d.ts +1 -1
- package/esm/tooltip/disabled-tooltip-container.d.ts +1 -1
- package/esm/tooltip/overrides.d.ts +2 -2
- package/esm/tooltip/stateful-tooltip-container.d.ts +1 -1
- package/esm/tooltip/stateful-tooltip.d.ts +2 -2
- package/esm/tooltip/tooltip.d.ts +2 -2
- package/esm/tooltip/types.d.ts +5 -5
- package/esm/transitions/collapse/collapse.d.ts +2 -2
- package/esm/transitions/collapse/types.d.ts +2 -2
- package/esm/transitions/fade/fade.d.ts +2 -2
- package/esm/transitions/fade/types.d.ts +2 -2
- package/esm/transitions/grow/grow.d.ts +2 -2
- package/esm/transitions/grow/types.d.ts +2 -2
- package/esm/transitions/transition/SwitchTransition.d.ts +2 -2
- package/esm/transitions/transition/transition.d.ts +2 -2
- package/esm/transitions/transition/types.d.ts +5 -4
- package/esm/truncateWithTooltip/TruncateWithTooltip.d.ts +1 -1
- package/esm/truncateWithTooltip/TruncateWithTooltip.js +6 -5
- package/esm/truncateWithTooltip/hooks/useTruncateWithTooltip.d.ts +7 -2
- package/esm/truncateWithTooltip/hooks/useTruncateWithTooltip.js +9 -9
- package/esm/types.d.ts +5 -5
- package/esm/typography/Typography.d.ts +1 -1
- package/esm/typography/types.d.ts +4 -4
- package/esm/utils/intlNumberFormatUtils/index.d.ts +1 -1
- package/esm/utils/intlNumberFormatUtils/index.js +1 -1
- package/esm/video/DefaultFallbackImg.d.ts +2 -2
- package/esm/video/Video.js +0 -1
- package/esm/video/types.d.ts +4 -5
- package/form-control/context.d.ts +1 -1
- package/form-control/form-control.d.ts +1 -1
- package/form-control/form-control.js +1 -1
- package/form-control/info-icon.d.ts +6 -5
- package/form-control/info-icon.js +0 -1
- package/form-control/styled-component.js +2 -1
- package/form-control/types.d.ts +3 -4
- package/grid/Col.d.ts +2 -2
- package/grid/Grid.d.ts +2 -2
- package/grid/Grid.js +0 -3
- package/grid/index.d.ts +1 -1
- package/grid/types.d.ts +1 -1
- package/helpers/ClearIconButton.d.ts +3 -3
- package/helpers/ClearIconButton.js +1 -1
- package/helpers/commonStyles.js +2 -3
- package/helpers/intentHelper.d.ts +1 -1
- package/helpers/longHandHelpers.d.ts +1 -1
- package/helpers/themeHelpers.d.ts +2 -2
- package/hooks/useAutoFocus.d.ts +2 -2
- package/hooks/useAutoFocus.js +1 -0
- package/hooks/useDebouncedEventHandler.d.ts +1 -1
- package/hooks/useDebouncedEventHandler.js +0 -3
- package/hooks/useHover.d.ts +1 -1
- package/hooks/useMatchMedia.js +3 -2
- package/hooks/useSVGAnimation.d.ts +2 -2
- package/hooks/useTabsKeyboardNavigation.d.ts +1 -1
- package/hooks/useTabsKeyboardNavigation.js +0 -1
- package/hooks/useTransitionState.js +0 -1
- package/icon/components/alert-solid.d.ts +1 -1
- package/icon/components/alert-warning.d.ts +1 -1
- package/icon/components/alert.d.ts +1 -1
- package/icon/components/calendar-solid.d.ts +1 -1
- package/icon/components/chevron-down-solid.d.ts +1 -1
- package/icon/components/chevron-down.d.ts +1 -1
- package/icon/components/chevron-left.d.ts +1 -1
- package/icon/components/chevron-right.d.ts +1 -1
- package/icon/components/clock-icon.d.ts +1 -1
- package/icon/components/close.d.ts +1 -1
- package/icon/components/delete-solid.d.ts +1 -1
- package/icon/components/error-clr.d.ts +1 -1
- package/icon/components/error.d.ts +1 -1
- package/icon/components/form.d.ts +1 -1
- package/icon/components/imagePreview.d.ts +1 -1
- package/icon/components/info-circle.d.ts +1 -1
- package/icon/components/info-solid.d.ts +2 -2
- package/icon/components/info.d.ts +1 -1
- package/icon/components/no-video.d.ts +1 -1
- package/icon/components/noPreview.d.ts +1 -1
- package/icon/components/options.d.ts +1 -1
- package/icon/components/overview.d.ts +1 -1
- package/icon/components/play-video.d.ts +1 -1
- package/icon/components/reset-color.d.ts +1 -1
- package/icon/components/search.d.ts +1 -1
- package/icon/components/subtract.d.ts +1 -1
- package/icon/components/tick.d.ts +1 -1
- package/icon/components/tickCircle-solid.d.ts +1 -1
- package/icon/components/timezone.d.ts +1 -1
- package/icon/components/transparentBackground.d.ts +1 -1
- package/icon/components/user.d.ts +1 -1
- package/icon/components/video-non-playable.d.ts +1 -1
- package/icon/components/warning-solid.d.ts +1 -1
- package/icon/icon.d.ts +1 -1
- package/icon/types.d.ts +3 -3
- package/image/defaultFallbackImg.d.ts +2 -2
- package/image/types.d.ts +3 -3
- package/input/InputContainer.d.ts +1 -1
- package/input/base-input.d.ts +2 -2
- package/input/base-input.js +2 -2
- package/input/masked-input.js +5 -5
- package/input/neutral400Hex.d.ts +1 -1
- package/input/number/NumberInput.d.ts +1 -1
- package/input/number/StatefulNumberInput.d.ts +1 -1
- package/input/number/base-input.d.ts +1 -1
- package/input/useStatefulInput.d.ts +1 -2
- package/layer/LayersManager.d.ts +1 -1
- package/link/styled-components.d.ts +2 -2
- package/link/types.d.ts +1 -1
- package/list/avatar-list-item.d.ts +3 -3
- package/list/list-item-text.d.ts +1 -1
- package/list/list-item.d.ts +1 -1
- package/list/styled-component.js +1 -1
- package/loader/types.d.ts +3 -3
- package/locale/context.d.ts +1 -1
- package/locale/en_US.d.ts +1 -1
- package/menu/nested-menu-context.d.ts +2 -2
- package/menu/useItemContainerEventHandlers.d.ts +1 -1
- package/modal/adapter.d.ts +3 -3
- package/modal/modal-footer.d.ts +2 -2
- package/modal/overrides.d.ts +3 -3
- package/number/Number.d.ts +1 -1
- package/number/constants.d.ts +1 -1
- package/number/types.d.ts +1 -1
- package/number/useNumber.d.ts +1 -1
- package/overrides/mergeOverrides.d.ts +1 -1
- package/overrides/types.d.ts +3 -3
- package/overrides/useOverrides.d.ts +2 -2
- package/package.json +2 -2
- package/payment-card/icons/amex.js +9 -1
- package/payment-card/icons/dinersclub.js +9 -1
- package/payment-card/icons/discover.js +9 -1
- package/payment-card/icons/elo.js +9 -1
- package/payment-card/icons/generic.js +9 -1
- package/payment-card/icons/jcb.js +9 -1
- package/payment-card/icons/maestro.js +9 -1
- package/payment-card/icons/mastercard.js +9 -1
- package/payment-card/icons/uatp.js +9 -1
- package/payment-card/icons/unionpay.js +9 -1
- package/payment-card/icons/visa.js +9 -1
- package/payment-card/paymentCard.js +1 -1
- package/payment-card/types.d.ts +4 -4
- package/phone-input/country-select-container.d.ts +1 -1
- package/phone-input/country-select.d.ts +1 -1
- package/phone-input/default-props.d.ts +2 -2
- package/phone-input/dial-code.d.ts +1 -1
- package/phone-input/phone-input.d.ts +1 -1
- package/phone-input/stateful-phone-input.d.ts +2 -2
- package/phone-input/stateful-phone-input.js +1 -1
- package/phone-input/types.d.ts +5 -5
- package/phone-input/useStatefulPhoneInput.d.ts +1 -1
- package/phone-input/utils.d.ts +2 -2
- package/popover/PopoverEnhancer.d.ts +6 -6
- package/popover/PopoverEnhancer.js +10 -8
- package/popover/adapter.d.ts +2 -2
- package/popover/hooks.d.ts +1 -1
- package/popover/overrides.d.ts +2 -2
- package/popover/stateful-popover.d.ts +1 -1
- package/popover/utils.d.ts +1 -1
- package/progress/circular/styled-component.d.ts +1 -1
- package/progress/circular/types.d.ts +2 -2
- package/progress/helper.d.ts +2 -2
- package/progress/linear/ProgressSegment.js +1 -1
- package/progress/linear/types.d.ts +2 -2
- package/progress/types.d.ts +1 -1
- package/progressSteps/progress-steps.d.ts +1 -1
- package/progressSteps/step.d.ts +1 -1
- package/progressSteps/styled-components.d.ts +1 -1
- package/progressSteps/types.d.ts +1 -1
- package/radio/radio.js +2 -1
- package/radio/radiogroup.js +1 -1
- package/radio/space-radio-context.d.ts +2 -2
- package/radio/styled-components.d.ts +2 -2
- package/radio/types.d.ts +5 -5
- package/search/search.d.ts +3 -3
- package/search/stateful-search.d.ts +2 -2
- package/search/styled-components.d.ts +1 -1
- package/search/types.d.ts +2 -2
- package/select/SelectIdsContext.d.ts +1 -1
- package/select/adaptor.d.ts +2 -2
- package/select/base-select.js +4 -4
- package/select/default-props.d.ts +1 -1
- package/select/grouped-select.d.ts +2 -2
- package/select/grouped-select.js +0 -1
- package/select/mobileSelect/AdaptedCSSTransition/AdaptedCSSTransition.d.ts +1 -1
- package/select/mobileSelect/AdaptedCSSTransition/types.d.ts +2 -2
- package/select/mobileSelect/Backdrop.d.ts +1 -1
- package/select/mobileSelect/MobileSelect.d.ts +1 -1
- package/select/mobileSelect/MobileSheet.d.ts +1 -1
- package/select/mobileSelect/hooks/usePauseBodyScrollEffect.d.ts +1 -1
- package/select/mobileSelect/hooks/useSwipeableSheetStyles.d.ts +1 -1
- package/select/mobileSelect/hooks/useSwipeableSheetStyles.js +2 -2
- package/select/mobileSelect/hooks/useTransitionStyles.d.ts +1 -1
- package/select/multi-value.d.ts +1 -1
- package/select/multi-value.js +1 -1
- package/select/no-results-message.d.ts +2 -2
- package/select/overlaySelect/hooks/useControlRef.d.ts +1 -1
- package/select/overlaySelect/hooks/usePopover.d.ts +1 -1
- package/select/overrides.d.ts +3 -3
- package/select/overrides.js +3 -2
- package/select/select-variants.d.ts +1 -1
- package/select/selectMenuAdapter/SelectMenuAdapter.js +2 -1
- package/select/stateful-select.d.ts +1 -1
- package/select/styled-component.js +1 -3
- package/select/utils/adapt-select-value.d.ts +1 -1
- package/select/utils/default-create-option.d.ts +1 -1
- package/select/utils/hidden-element.d.ts +1 -1
- package/select/utils/hidden-element.js +2 -1
- package/select/utils/merge-options.d.ts +1 -1
- package/slider/slider.js +13 -7
- package/slider/stateful-slider-container.d.ts +1 -1
- package/slider/stateful-slider-container.js +4 -4
- package/slider/stateful-slider.d.ts +2 -2
- package/slider/styled-components.d.ts +1 -1
- package/slider/styled-components.js +27 -3
- package/slider/types.d.ts +2 -2
- package/snackbar/constants.d.ts +3 -3
- package/snackbar/snackbarContext.d.ts +1 -1
- package/snackbar/types.d.ts +1 -1
- package/snackbar/useSnackbar.d.ts +2 -2
- package/spaceConsumer/SpaceConsumer.d.ts +2 -2
- package/spacewebProvider/AiIconLinearGradients.js +3 -1
- package/spacewebProvider/CustomBaseProvider.d.ts +1 -1
- package/spacewebProvider/DocumentProvider.d.ts +1 -1
- package/spacewebProvider/SpacewebProvider.d.ts +4 -4
- package/spacewebProvider/SpacewebProvider.js +1 -1
- package/stack/context.d.ts +1 -1
- package/stack/stack.d.ts +1 -1
- package/stack/types.d.ts +2 -2
- package/style/_buildUtils.d.ts +1 -1
- package/style/_css.d.ts +1 -1
- package/style/_cssParseStyle.d.ts +1 -1
- package/style/_getStyle.d.ts +1 -1
- package/style/_getStyleWithProps.d.ts +1 -1
- package/style/_parseClassName.d.ts +1 -1
- package/style/_parseStyleProp.d.ts +2 -2
- package/style/_parseStyleProp.js +3 -2
- package/style/_px2rem.d.ts +1 -1
- package/style/styled-with-css-variables.d.ts +1 -1
- package/style/styled.d.ts +2 -2
- package/style/styled.js +1 -1
- package/style/useMemoizedStyletron.js +2 -2
- package/style/useStyle.d.ts +1 -1
- package/styleEngine/styleEngine.d.ts +2 -2
- package/styleEngine/styleEngine.js +0 -1
- package/switch/switch.d.ts +3 -3
- package/switch/switch.js +1 -1
- package/tabs/contexts.d.ts +2 -2
- package/tabs/helpers.d.ts +1 -1
- package/tabs/scroll-button.d.ts +1 -1
- package/tabs/stateful-tabs.d.ts +2 -2
- package/tabs/styled-components.d.ts +2 -2
- package/tabs/tab-list.d.ts +1 -1
- package/tabs/tab.d.ts +2 -2
- package/tabs/tabs-panel.d.ts +2 -2
- package/tabs/types.d.ts +4 -4
- package/tag/constants.d.ts +1 -1
- package/tag/status-tag.d.ts +1 -1
- package/tag/tag.js +6 -2
- package/tag/utils.d.ts +1 -1
- package/test-utils/test-provider/TestProvider.d.ts +1 -1
- package/test-utils/test-provider/helpers.d.ts +2 -2
- package/test-utils/test-provider/testableThemes.d.ts +1 -1
- package/textarea/textarea.js +5 -5
- package/textarea/types.d.ts +4 -5
- package/textarea/useAutoSizeTextarea.d.ts +2 -2
- package/theme/Provider.d.ts +2 -2
- package/theme/context.d.ts +1 -1
- package/theme/types.d.ts +1 -1
- package/time-picker/TimePicker.d.ts +2 -2
- package/time-picker/types.d.ts +5 -5
- package/time-range-picker/RangeSelector.d.ts +2 -2
- package/time-range-picker/TimeRangeList.d.ts +2 -2
- package/time-range-picker/TimeRangePicker.d.ts +2 -2
- package/time-range-picker/TimeRangePicker.js +2 -1
- package/time-range-picker/TimezonePicker.d.ts +1 -1
- package/time-range-picker/types.d.ts +1 -1
- package/time-range-picker/utils.d.ts +2 -2
- package/time-zone-picker/TimezonePicker.d.ts +2 -2
- package/time-zone-picker/types.d.ts +1 -1
- package/tooltip/disabled-tooltip-container.d.ts +1 -1
- package/tooltip/overrides.d.ts +2 -2
- package/tooltip/stateful-tooltip-container.d.ts +1 -1
- package/tooltip/stateful-tooltip.d.ts +2 -2
- package/tooltip/tooltip.d.ts +2 -2
- package/tooltip/types.d.ts +5 -5
- package/transitions/collapse/collapse.d.ts +2 -2
- package/transitions/collapse/types.d.ts +2 -2
- package/transitions/fade/fade.d.ts +2 -2
- package/transitions/fade/types.d.ts +2 -2
- package/transitions/grow/grow.d.ts +2 -2
- package/transitions/grow/types.d.ts +2 -2
- package/transitions/transition/SwitchTransition.d.ts +2 -2
- package/transitions/transition/transition.d.ts +2 -2
- package/transitions/transition/types.d.ts +5 -4
- package/truncateWithTooltip/TruncateWithTooltip.d.ts +1 -1
- package/truncateWithTooltip/TruncateWithTooltip.js +6 -5
- package/truncateWithTooltip/hooks/useTruncateWithTooltip.d.ts +7 -2
- package/truncateWithTooltip/hooks/useTruncateWithTooltip.js +9 -9
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types.d.ts +5 -5
- package/typography/Typography.d.ts +1 -1
- package/typography/types.d.ts +4 -4
- package/utils/intlNumberFormatUtils/index.d.ts +1 -1
- package/utils/intlNumberFormatUtils/index.js +1 -1
- package/video/DefaultFallbackImg.d.ts +2 -2
- package/video/Video.js +0 -1
- package/video/types.d.ts +4 -5
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
/*
|
|
4
|
+
Copyright (c) Uber Technologies, Inc.
|
|
5
|
+
|
|
6
|
+
This source code is licensed under the MIT license found in the
|
|
7
|
+
LICENSE file in the root directory of this source tree.
|
|
8
|
+
*/
|
|
3
9
|
var Mastercard = function (_a) {
|
|
4
10
|
var size = _a.size;
|
|
5
|
-
return (
|
|
11
|
+
return (
|
|
12
|
+
// eslint-disable-next-line react/forbid-elements -- payment brand mark must be raw svg
|
|
13
|
+
_jsxs("svg", __assign({ width: size, height: size, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [_jsx("path", { d: "M23 4H1V20H23V4Z", fill: "#3F3F4E" }), _jsx("path", { d: "M9 17C11.7614 17 14 14.7614 14 12C14 9.23858 11.7614 7 9 7C6.23858 7 4 9.23858 4 12C4 14.7614 6.23858 17 9 17Z", fill: "#EB001A" }), _jsx("path", { d: "M15 17C17.7614 17 20 14.7614 20 12C20 9.23858 17.7614 7 15 7C12.2386 7 10 9.23858 10 12C10 14.7614 12.2386 17 15 17Z", fill: "#F79E1C" }), _jsx("path", { d: "M12 15.98C13.1046 15.98 14 14.1981 14 12C14 9.80191 13.1046 8.02002 12 8.02002C10.8954 8.02002 10 9.80191 10 12C10 14.1981 10.8954 15.98 12 15.98Z", fill: "#FF5F00" })] })));
|
|
6
14
|
};
|
|
7
15
|
export default Mastercard;
|
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
/*
|
|
4
|
+
Copyright (c) Uber Technologies, Inc.
|
|
5
|
+
|
|
6
|
+
This source code is licensed under the MIT license found in the
|
|
7
|
+
LICENSE file in the root directory of this source tree.
|
|
8
|
+
*/
|
|
3
9
|
var UatpIcon = function (_a) {
|
|
4
10
|
var size = _a.size;
|
|
5
|
-
return (
|
|
11
|
+
return (
|
|
12
|
+
// eslint-disable-next-line react/forbid-elements -- payment brand mark must be raw svg
|
|
13
|
+
_jsxs("svg", __assign({ width: size, height: size, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [_jsx("path", { d: "M23 4H1V20H23V4Z", fill: "#F0F0F0" }), _jsxs("g", __assign({ clipPath: "url(#clip0_90345_28085)" }, { children: [_jsx("path", { d: "M10.5057 9.64723H10.1817H9.70679V10.9659L10.3044 12.6255L11.4708 12.133L10.5057 9.64723Z", fill: "#0A2C1B" }), _jsx("path", { d: "M6.34592 14.6471L6.34001 9.64723H5.07682V13.7451C4.94173 13.7928 4.80176 13.8253 4.65948 13.8421C4.38337 13.8743 3.9371 13.9265 3.60459 13.6339C3.27002 13.3394 3.26507 12.8846 3.26655 12.7802V9.64723H2.00336V12.7802C1.96122 13.7182 2.32658 14.1754 2.45948 14.3209C3.17638 15.1058 4.54287 14.9387 5.39513 14.8345C5.71171 14.7958 6.02491 14.7331 6.33204 14.6471L6.32786 14.6427L6.34592 14.6471Z", fill: "#0A2C1B" }), _jsx("path", { d: "M21.999 11.453C21.9951 11.2269 21.9447 10.4929 21.3738 10.0162C21.1483 9.82795 20.9283 9.75218 20.7469 9.6897C20.5867 9.63455 20.2633 9.54148 19.3754 9.58086C18.9585 9.59952 18.5429 9.64148 18.1306 9.70653V14.8388H19.3938V13.3179C19.4958 13.3263 19.6189 13.3331 19.7586 13.3337C19.9448 13.3351 20.1309 13.325 20.3158 13.3033C20.4802 13.2817 21.266 13.1786 21.709 12.5414C22.0104 12.1079 22.0024 11.6443 21.999 11.453ZM20.5118 11.9928C20.3546 12.1594 20.1557 12.1903 19.9414 12.2236C19.7608 12.2514 19.5768 12.2484 19.3972 12.2148V10.7433C19.4924 10.7303 19.5885 10.7245 19.6845 10.7259C19.9706 10.73 20.2799 10.7344 20.4943 10.9523C20.6881 11.1491 20.6983 11.4123 20.699 11.4747C20.6996 11.5392 20.6985 11.7948 20.5118 11.9928Z", fill: "#0A2C1B" }), _jsx("path", { d: "M10.4995 13.1673L11.1015 14.8388H12.5212L11.6926 12.7045C11.3054 12.8761 10.9077 13.0304 10.4995 13.1673Z", fill: "#0A2C1B" }), _jsx("path", { d: "M6.60772 13.6849C6.59882 13.6856 6.59 13.6828 6.58303 13.6773C6.57607 13.6717 6.57148 13.6637 6.57019 13.6548C6.56891 13.646 6.57102 13.637 6.5761 13.6297C6.58119 13.6223 6.58887 13.6172 6.59759 13.6153C7.44534 13.4378 8.27682 13.1899 9.08338 12.8742C12.0436 11.7142 12.5355 10.4597 14.7222 9.60822C17.2224 8.63467 19.7225 9.06335 20.7271 9.30762C20.7338 9.30921 20.7396 9.31329 20.7433 9.31903C20.7471 9.32476 20.7485 9.3317 20.7473 9.33844C20.746 9.34518 20.7423 9.35119 20.7368 9.35525C20.7313 9.35931 20.7244 9.3611 20.7176 9.36026C19.7189 9.24529 18.7085 9.28396 17.7216 9.47491C15.1767 9.96677 14.237 11.2345 11.9094 12.341C10.7268 12.9032 8.98995 13.517 6.60772 13.6849Z", fill: "#3EB54A" }), _jsx("path", { d: "M16.9918 9.64723H12.6013V10.7793H14.1649V14.8388H15.4281V10.7793H16.9918V9.64723Z", fill: "#0A2C1B" }), _jsx("path", { d: "M9.23192 9.64723H8.95198L6.93652 14.8388H8.31211L9.70682 10.9659V9.64723H9.23192Z", fill: "#0A2C1B" })] })), _jsx("defs", { children: _jsx("clipPath", __assign({ id: "clip0_90345_28085" }, { children: _jsx("rect", { width: "20", height: "5.92493", fill: "white", transform: "translate(2 9)" }) })) })] })));
|
|
6
14
|
};
|
|
7
15
|
export default UatpIcon;
|
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
/*
|
|
4
|
+
Copyright (c) Uber Technologies, Inc.
|
|
5
|
+
|
|
6
|
+
This source code is licensed under the MIT license found in the
|
|
7
|
+
LICENSE file in the root directory of this source tree.
|
|
8
|
+
*/
|
|
3
9
|
var UnionPay = function (_a) {
|
|
4
10
|
var size = _a.size;
|
|
5
|
-
return (_jsxs("svg", __assign({ width: size, height: size, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [_jsx("path", { d: "M1 4V20H9.5L13.12 4H1Z", fill: "#D0112B" }), _jsx("path", { d: "M9.85999 4L6.23999 20H16.5L20.12 4H9.85999Z", fill: "#002857" }), _jsx("path", { d: "M22.9999 4H17.7599L14.1399 20H22.9999V4Z", fill: "#007178" }), _jsx("path", { d: "M18.0499 12.52C17.9699 12.52 17.9299 12.5 17.9299 12.45L17.9199 12.1899H17.2199C16.9999 12.1899 16.3199 12.21 16.1799 12.25C16.0099 12.29 15.8399 12.42 15.8399 12.42L15.9099 12.1899H15.2499L15.1099 12.65L14.4199 14.92H14.2999L14.1699 15.35H15.4799L15.4399 15.49H16.0799L16.1199 15.35H16.2999L16.4399 14.89H16.2599L16.9399 12.65H17.1599L17.2299 12.42L17.2399 12.6801C17.2299 12.8401 17.3599 12.98 17.6799 12.96H18.0599L18.1899 12.53H18.0499V12.52ZM15.6199 14.9H15.0999L15.2499 14.4H15.7699L15.6199 14.9ZM15.9199 13.9301C15.9199 13.9301 15.7599 13.95 15.6499 13.97C15.5399 14 15.3399 14.1 15.3399 14.1L15.5199 13.5H16.0399L15.9199 13.9301ZM16.1699 13.0699C16.1699 13.0699 16.0099 13.08 15.8999 13.11C15.7899 13.14 15.5999 13.23 15.5999 13.23L15.7699 12.66H16.2899L16.1699 13.0699Z", fill: "white" }), _jsx("path", { d: "M17.32 14.24H16.65L16.76 13.86H17.52L17.63 13.51H16.88L17.01 13.08H19.11L18.98 13.51H18.28L18.17 13.86H18.88L18.76 14.24H18L17.86 14.4H18.17L18.25 14.88C18.26 14.93 18.26 14.96 18.27 14.98C18.29 15 18.38 15.01 18.43 15.01H18.52L18.38 15.48H18.14C18.1 15.48 18.05 15.48 17.97 15.47C17.9 15.46 17.85 15.42 17.8 15.4C17.76 15.38 17.69 15.33 17.68 15.24L17.61 14.76L17.26 15.23C17.15 15.38 17 15.5 16.75 15.5H16.27L16.4 15.08H16.59C16.64 15.08 16.69 15.06 16.73 15.04C16.77 15.03 16.8 15.01 16.83 14.95L17.32 14.24Z", fill: "white" }), _jsx("path", { d: "M10.0001 13.1899H11.7701L11.6401 13.61H10.9301L10.8201 13.97H11.5401L11.4101 14.41H10.6901L10.5101 15C10.4901 15.06 10.6801 15.0699 10.7501 15.0699L11.1101 15.02L10.9601 15.5H10.1401C10.0701 15.5 10.0301 15.49 9.95011 15.47C9.88011 15.45 9.85011 15.42 9.82011 15.38C9.79011 15.33 9.74011 15.2899 9.78011 15.1899L10.0101 14.42H9.61011L9.74011 13.98H10.1401L10.2501 13.62H9.85011L10.0001 13.1899Z", fill: "white" }), _jsx("path", { d: "M11.1899 12.4301H11.9199L11.7899 12.87H10.7999L10.6899 12.96C10.6399 13 10.6299 12.99 10.5699 13.02C10.5099 13.05 10.3999 13.1 10.2399 13.1H9.91992L10.0499 12.6801H10.1499C10.2299 12.6801 10.2899 12.67 10.3099 12.66C10.3399 12.64 10.3799 12.59 10.4199 12.52L10.5999 12.1899H11.3199L11.1899 12.4301Z", fill: "white" }), _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M12.5801 13.16C12.5801 13.16 12.7801 12.98 13.1201 12.92C13.2001 12.91 13.6801 12.91 13.6801 12.91L13.7501 12.67H12.7301L12.5801 13.16ZM13.5401 13.34H12.5301L12.4701 13.54H13.3501C13.4501 13.53 13.4701 13.54 13.4801 13.54L13.5401 13.34ZM12.2301 12.2H12.8501L12.7601 12.51C12.7601 12.51 12.9601 12.35 13.0901 12.3C13.2301 12.25 13.5301 12.2 13.5301 12.2L14.5301 12.1899L14.1901 13.33C14.1301 13.52 14.0701 13.65 14.0201 13.71C13.9801 13.77 13.9401 13.82 13.8501 13.87C13.7701 13.92 13.6901 13.94 13.6201 13.95C13.5501 13.95 13.4501 13.96 13.3101 13.96H12.3501L12.0801 14.86C12.0501 14.95 12.0401 14.99 12.0601 15.02C12.0701 15.04 12.1101 15.0601 12.1501 15.0601L12.5801 15.02L12.4301 15.51H11.9601C11.8101 15.51 11.7001 15.51 11.6201 15.5C11.5501 15.49 11.4701 15.5 11.4201 15.46C11.3801 15.42 11.3101 15.3699 11.3101 15.3199C11.3101 15.2699 11.3401 15.19 11.3701 15.08L12.2301 12.2Z", fill: "white" }), _jsx("path", { d: "M14.0301 14.03L13.9701 14.3C13.9501 14.39 13.9201 14.45 13.8601 14.5C13.7901 14.56 13.7101 14.62 13.5301 14.62L13.1901 14.63V14.9399C13.1901 15.0299 13.2101 15.02 13.2201 15.03C13.2401 15.05 13.2501 15.0501 13.2601 15.0601L13.3701 15.05L13.7001 15.03L13.5601 15.48H13.1801C12.9201 15.48 12.7201 15.47 12.6601 15.42C12.6001 15.38 12.5901 15.33 12.5901 15.24L12.6101 14.04H13.2101L13.2001 14.29H13.3401C13.3901 14.29 13.4201 14.29 13.4401 14.27C13.4601 14.26 13.4701 14.24 13.4801 14.21L13.5401 14.02H14.0301V14.03Z", fill: "white" }), _jsx("path", { d: "M5.46996 8.01001C5.44996 8.11001 5.05996 9.88001 5.05996 9.89001C4.97996 10.25 4.91996 10.51 4.70996 10.67C4.58996 10.77 4.45996 10.8101 4.29996 10.8101C4.04996 10.8101 3.89996 10.68 3.86996 10.45V10.37L3.94996 9.89001C3.94996 9.89001 4.34996 8.27006 4.42996 8.06006C4.42996 8.05006 4.42996 8.04004 4.43996 8.04004C3.64996 8.05004 3.50996 8.04003 3.49996 8.03003C3.48996 8.05003 3.47996 8.15002 3.47996 8.15002L3.06996 9.96997L3.02996 10.12L2.95996 10.63C2.95996 10.78 2.98996 10.9 3.04996 11.01C3.23996 11.34 3.76996 11.39 4.07996 11.39C4.46996 11.39 4.83996 11.31 5.08996 11.16C5.51996 10.91 5.62996 10.51 5.72996 10.16L5.77996 9.97998C5.77996 9.97998 6.19996 8.29996 6.26996 8.07996C6.26996 8.06996 6.26996 8.06006 6.27996 8.06006C5.68996 8.03006 5.51996 8.02001 5.46996 8.01001Z", fill: "white" }), _jsx("path", { d: "M7.76994 11.35C7.48994 11.35 7.38994 11.35 7.06994 11.36L7.05994 11.34C7.08994 11.22 7.11994 11.09 7.14994 10.97L7.18994 10.8C7.24994 10.54 7.30994 10.23 7.31994 10.14C7.32994 10.08 7.34994 9.93994 7.17994 9.93994C7.10994 9.93994 7.03994 9.97001 6.96994 10.01C6.92994 10.15 6.84994 10.55 6.80994 10.72C6.72994 11.1 6.71994 11.14 6.68994 11.33L6.66994 11.36C6.37994 11.36 6.27994 11.36 5.94994 11.37L5.93994 11.34C5.98994 11.12 6.04994 10.89 6.09994 10.66C6.23994 10.05 6.26994 9.82001 6.30994 9.51001L6.33994 9.48999C6.65994 9.43999 6.73994 9.43999 7.08994 9.35999L7.11994 9.39001L7.06994 9.57996C7.12994 9.53996 7.18994 9.50998 7.24994 9.47998C7.40994 9.39998 7.59994 9.37 7.69994 9.37C7.84994 9.37 8.01994 9.40997 8.08994 9.58997C8.15994 9.74997 8.10994 9.93995 8.02994 10.3199L7.98994 10.52C7.89994 10.95 7.88994 11.0199 7.83994 11.3199L7.76994 11.35Z", fill: "white" }), _jsx("path", { d: "M8.9099 11.35C8.7399 11.35 8.6299 11.35 8.5299 11.35C8.4199 11.35 8.3199 11.36 8.1699 11.36L8.1599 11.35L8.1499 11.34C8.1899 11.18 8.2199 11.1199 8.2399 11.0699C8.2599 11.0099 8.2799 10.96 8.3199 10.79C8.3699 10.58 8.3999 10.43 8.4199 10.3C8.4399 10.17 8.4599 10.0699 8.4699 9.93994L8.4799 9.93005L8.4899 9.92004C8.6599 9.90004 8.7599 9.87999 8.8699 9.85999C8.9799 9.84999 9.0899 9.82004 9.2599 9.79004L9.2699 9.80005V9.81995C9.2399 9.94995 9.2099 10.08 9.1699 10.22C9.1399 10.35 9.1099 10.49 9.0799 10.62C9.0199 10.9 8.9899 11.01 8.9799 11.08C8.9699 11.15 8.9599 11.19 8.9399 11.34L8.9199 11.35H8.9099Z", fill: "white" }), _jsx("path", { d: "M10.68 10.35C10.67 10.42 10.6 10.6901 10.52 10.8101C10.46 10.8901 10.39 10.95 10.31 10.95C10.29 10.95 10.15 10.95 10.15 10.74C10.15 10.64 10.17 10.54 10.19 10.42C10.26 10.1 10.35 9.81995 10.57 9.81995C10.75 9.82995 10.76 10.03 10.68 10.35ZM11.41 10.38C11.51 9.95 11.43 9.75 11.34 9.63C11.19 9.44 10.94 9.38 10.67 9.38C10.51 9.38 10.13 9.40004 9.82995 9.67004C9.61995 9.87004 9.51995 10.14 9.45995 10.39C9.39995 10.65 9.32995 11.13 9.76995 11.3C9.89995 11.36 10.1 11.37 10.22 11.37C10.54 11.37 10.86 11.28 11.11 11.02C11.3 10.83 11.38 10.51 11.41 10.38Z", fill: "white" }), _jsx("path", { d: "M18.6699 9.41003C18.3199 9.47003 18.2299 9.49004 17.8899 9.54004L17.8599 9.56006C17.8599 9.59006 17.8499 9.62001 17.8499 9.64001C17.7999 9.55001 17.7199 9.47994 17.6099 9.43994C17.4599 9.37994 17.1099 9.45998 16.8099 9.72998C16.5999 9.92998 16.4999 10.19 16.4399 10.45C16.3799 10.71 16.3099 11.18 16.7399 11.35C16.8799 11.41 16.9999 11.43 17.1299 11.42C17.2599 11.41 17.3899 11.34 17.4999 11.25C17.4899 11.29 17.4799 11.33 17.4699 11.37L17.4899 11.4C17.7999 11.39 17.8999 11.39 18.2299 11.39L18.2599 11.37C18.3099 11.08 18.3599 10.8 18.4799 10.25C18.5399 9.98 18.5999 9.71996 18.6699 9.45996V9.41003ZM17.5599 10.85C17.4999 10.93 17.3699 10.98 17.2899 10.98C17.2699 10.98 17.1299 10.98 17.1299 10.78C17.1299 10.68 17.1499 10.58 17.1799 10.46C17.2499 10.14 17.3399 9.87 17.5599 9.87C17.6999 9.87 17.7699 10.01 17.7499 10.24C17.7399 10.29 17.7299 10.34 17.7199 10.4C17.6999 10.5 17.6699 10.5899 17.6499 10.6899C17.6199 10.7499 17.5899 10.81 17.5599 10.85Z", fill: "white" }), _jsx("path", { d: "M13.32 11.35C13.04 11.35 12.94 11.35 12.62 11.36L12.61 11.34C12.64 11.22 12.67 11.09 12.7 10.97L12.74 10.8C12.8 10.54 12.86 10.23 12.87 10.14C12.88 10.08 12.9 9.93994 12.74 9.93994C12.67 9.93994 12.6 9.97001 12.53 10.01C12.49 10.15 12.41 10.55 12.37 10.72C12.29 11.1 12.29 11.14 12.25 11.33L12.23 11.36C11.94 11.36 11.84 11.36 11.51 11.37L11.5 11.34C11.55 11.12 11.61 10.89 11.66 10.66C11.8 10.05 11.83 9.82001 11.87 9.51001L11.89 9.48999C12.21 9.43999 12.29 9.43999 12.64 9.35999L12.67 9.39001L12.62 9.57996C12.68 9.53996 12.74 9.50998 12.79 9.47998C12.95 9.39998 13.14 9.37 13.24 9.37C13.39 9.37 13.56 9.40997 13.63 9.58997C13.69 9.74997 13.65 9.93995 13.56 10.3199L13.52 10.52C13.43 10.95 13.41 11.0199 13.37 11.3199L13.32 11.35Z", fill: "white" }), _jsx("path", { d: "M15.74 8H15.51C14.91 8.01 14.66 8.00999 14.57 7.98999C14.56 8.02999 14.55 8.10999 14.55 8.10999L14.33 9.10999C14.33 9.10999 13.81 11.24 13.79 11.34C14.32 11.33 14.53 11.33 14.62 11.34C14.64 11.24 14.76 10.64 14.76 10.64C14.76 10.64 14.86 10.1999 14.87 10.1899C14.87 10.1899 14.9 10.14 14.94 10.13H14.99C15.44 10.13 15.96 10.13 16.36 9.82996C16.63 9.62996 16.82 9.32996 16.9 8.95996C16.92 8.86996 16.94 8.76003 16.94 8.66003C16.94 8.52003 16.91 8.38002 16.83 8.27002C16.62 8.01002 16.21 8.01 15.74 8ZM16.04 9.05005C15.99 9.27005 15.85 9.46005 15.66 9.55005C15.51 9.63005 15.32 9.63 15.13 9.63H15L15.01 9.57996L15.24 8.57996L15.25 8.53003V8.48999L15.34 8.5C15.34 8.5 15.81 8.54004 15.82 8.54004C16.01 8.62004 16.09 8.80005 16.04 9.05005Z", fill: "white" }), _jsx("path", { d: "M9.20998 9.62995C9.38998 9.49995 9.41998 9.31992 9.25998 9.22992C9.09998 9.13992 8.82998 9.16998 8.63998 9.28998C8.44998 9.41998 8.42998 9.58988 8.58998 9.68988C8.74998 9.78988 9.02998 9.75995 9.20998 9.62995Z", fill: "white" }), _jsx("path", { d: "M20.99 9.40002L20.9599 9.37C20.6199 9.44 20.55 9.44999 20.24 9.48999L20.2199 9.51001V9.52002V9.51001C19.9799 10.05 19.9899 9.93999 19.7999 10.36C19.7999 10.34 19.7999 10.3301 19.7999 10.3101L19.75 9.38L19.7199 9.34998C19.3599 9.41998 19.35 9.42997 19.02 9.46997L18.99 9.48999C18.99 9.49999 18.9899 9.51003 18.9799 9.53003C19.0199 9.74003 19.0099 9.70003 19.0499 10.03C19.0699 10.19 19.1 10.36 19.12 10.52C19.15 10.79 19.1699 10.93 19.2099 11.34C18.9899 11.71 18.9299 11.8501 18.7199 12.1801L18.57 12.42C18.55 12.45 18.54 12.46 18.51 12.47C18.49 12.48 18.45 12.48 18.41 12.48H18.33L18.2 12.9L18.6299 12.91C18.8799 12.91 19.0399 12.79 19.1299 12.63L19.4 12.17L19.43 12.14C19.6 11.78 20.99 9.40002 20.99 9.40002Z", fill: "white" })] })));
|
|
11
|
+
return (
|
|
12
|
+
// eslint-disable-next-line react/forbid-elements -- payment brand mark must be raw svg
|
|
13
|
+
_jsxs("svg", __assign({ width: size, height: size, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [_jsx("path", { d: "M1 4V20H9.5L13.12 4H1Z", fill: "#D0112B" }), _jsx("path", { d: "M9.85999 4L6.23999 20H16.5L20.12 4H9.85999Z", fill: "#002857" }), _jsx("path", { d: "M22.9999 4H17.7599L14.1399 20H22.9999V4Z", fill: "#007178" }), _jsx("path", { d: "M18.0499 12.52C17.9699 12.52 17.9299 12.5 17.9299 12.45L17.9199 12.1899H17.2199C16.9999 12.1899 16.3199 12.21 16.1799 12.25C16.0099 12.29 15.8399 12.42 15.8399 12.42L15.9099 12.1899H15.2499L15.1099 12.65L14.4199 14.92H14.2999L14.1699 15.35H15.4799L15.4399 15.49H16.0799L16.1199 15.35H16.2999L16.4399 14.89H16.2599L16.9399 12.65H17.1599L17.2299 12.42L17.2399 12.6801C17.2299 12.8401 17.3599 12.98 17.6799 12.96H18.0599L18.1899 12.53H18.0499V12.52ZM15.6199 14.9H15.0999L15.2499 14.4H15.7699L15.6199 14.9ZM15.9199 13.9301C15.9199 13.9301 15.7599 13.95 15.6499 13.97C15.5399 14 15.3399 14.1 15.3399 14.1L15.5199 13.5H16.0399L15.9199 13.9301ZM16.1699 13.0699C16.1699 13.0699 16.0099 13.08 15.8999 13.11C15.7899 13.14 15.5999 13.23 15.5999 13.23L15.7699 12.66H16.2899L16.1699 13.0699Z", fill: "white" }), _jsx("path", { d: "M17.32 14.24H16.65L16.76 13.86H17.52L17.63 13.51H16.88L17.01 13.08H19.11L18.98 13.51H18.28L18.17 13.86H18.88L18.76 14.24H18L17.86 14.4H18.17L18.25 14.88C18.26 14.93 18.26 14.96 18.27 14.98C18.29 15 18.38 15.01 18.43 15.01H18.52L18.38 15.48H18.14C18.1 15.48 18.05 15.48 17.97 15.47C17.9 15.46 17.85 15.42 17.8 15.4C17.76 15.38 17.69 15.33 17.68 15.24L17.61 14.76L17.26 15.23C17.15 15.38 17 15.5 16.75 15.5H16.27L16.4 15.08H16.59C16.64 15.08 16.69 15.06 16.73 15.04C16.77 15.03 16.8 15.01 16.83 14.95L17.32 14.24Z", fill: "white" }), _jsx("path", { d: "M10.0001 13.1899H11.7701L11.6401 13.61H10.9301L10.8201 13.97H11.5401L11.4101 14.41H10.6901L10.5101 15C10.4901 15.06 10.6801 15.0699 10.7501 15.0699L11.1101 15.02L10.9601 15.5H10.1401C10.0701 15.5 10.0301 15.49 9.95011 15.47C9.88011 15.45 9.85011 15.42 9.82011 15.38C9.79011 15.33 9.74011 15.2899 9.78011 15.1899L10.0101 14.42H9.61011L9.74011 13.98H10.1401L10.2501 13.62H9.85011L10.0001 13.1899Z", fill: "white" }), _jsx("path", { d: "M11.1899 12.4301H11.9199L11.7899 12.87H10.7999L10.6899 12.96C10.6399 13 10.6299 12.99 10.5699 13.02C10.5099 13.05 10.3999 13.1 10.2399 13.1H9.91992L10.0499 12.6801H10.1499C10.2299 12.6801 10.2899 12.67 10.3099 12.66C10.3399 12.64 10.3799 12.59 10.4199 12.52L10.5999 12.1899H11.3199L11.1899 12.4301Z", fill: "white" }), _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M12.5801 13.16C12.5801 13.16 12.7801 12.98 13.1201 12.92C13.2001 12.91 13.6801 12.91 13.6801 12.91L13.7501 12.67H12.7301L12.5801 13.16ZM13.5401 13.34H12.5301L12.4701 13.54H13.3501C13.4501 13.53 13.4701 13.54 13.4801 13.54L13.5401 13.34ZM12.2301 12.2H12.8501L12.7601 12.51C12.7601 12.51 12.9601 12.35 13.0901 12.3C13.2301 12.25 13.5301 12.2 13.5301 12.2L14.5301 12.1899L14.1901 13.33C14.1301 13.52 14.0701 13.65 14.0201 13.71C13.9801 13.77 13.9401 13.82 13.8501 13.87C13.7701 13.92 13.6901 13.94 13.6201 13.95C13.5501 13.95 13.4501 13.96 13.3101 13.96H12.3501L12.0801 14.86C12.0501 14.95 12.0401 14.99 12.0601 15.02C12.0701 15.04 12.1101 15.0601 12.1501 15.0601L12.5801 15.02L12.4301 15.51H11.9601C11.8101 15.51 11.7001 15.51 11.6201 15.5C11.5501 15.49 11.4701 15.5 11.4201 15.46C11.3801 15.42 11.3101 15.3699 11.3101 15.3199C11.3101 15.2699 11.3401 15.19 11.3701 15.08L12.2301 12.2Z", fill: "white" }), _jsx("path", { d: "M14.0301 14.03L13.9701 14.3C13.9501 14.39 13.9201 14.45 13.8601 14.5C13.7901 14.56 13.7101 14.62 13.5301 14.62L13.1901 14.63V14.9399C13.1901 15.0299 13.2101 15.02 13.2201 15.03C13.2401 15.05 13.2501 15.0501 13.2601 15.0601L13.3701 15.05L13.7001 15.03L13.5601 15.48H13.1801C12.9201 15.48 12.7201 15.47 12.6601 15.42C12.6001 15.38 12.5901 15.33 12.5901 15.24L12.6101 14.04H13.2101L13.2001 14.29H13.3401C13.3901 14.29 13.4201 14.29 13.4401 14.27C13.4601 14.26 13.4701 14.24 13.4801 14.21L13.5401 14.02H14.0301V14.03Z", fill: "white" }), _jsx("path", { d: "M5.46996 8.01001C5.44996 8.11001 5.05996 9.88001 5.05996 9.89001C4.97996 10.25 4.91996 10.51 4.70996 10.67C4.58996 10.77 4.45996 10.8101 4.29996 10.8101C4.04996 10.8101 3.89996 10.68 3.86996 10.45V10.37L3.94996 9.89001C3.94996 9.89001 4.34996 8.27006 4.42996 8.06006C4.42996 8.05006 4.42996 8.04004 4.43996 8.04004C3.64996 8.05004 3.50996 8.04003 3.49996 8.03003C3.48996 8.05003 3.47996 8.15002 3.47996 8.15002L3.06996 9.96997L3.02996 10.12L2.95996 10.63C2.95996 10.78 2.98996 10.9 3.04996 11.01C3.23996 11.34 3.76996 11.39 4.07996 11.39C4.46996 11.39 4.83996 11.31 5.08996 11.16C5.51996 10.91 5.62996 10.51 5.72996 10.16L5.77996 9.97998C5.77996 9.97998 6.19996 8.29996 6.26996 8.07996C6.26996 8.06996 6.26996 8.06006 6.27996 8.06006C5.68996 8.03006 5.51996 8.02001 5.46996 8.01001Z", fill: "white" }), _jsx("path", { d: "M7.76994 11.35C7.48994 11.35 7.38994 11.35 7.06994 11.36L7.05994 11.34C7.08994 11.22 7.11994 11.09 7.14994 10.97L7.18994 10.8C7.24994 10.54 7.30994 10.23 7.31994 10.14C7.32994 10.08 7.34994 9.93994 7.17994 9.93994C7.10994 9.93994 7.03994 9.97001 6.96994 10.01C6.92994 10.15 6.84994 10.55 6.80994 10.72C6.72994 11.1 6.71994 11.14 6.68994 11.33L6.66994 11.36C6.37994 11.36 6.27994 11.36 5.94994 11.37L5.93994 11.34C5.98994 11.12 6.04994 10.89 6.09994 10.66C6.23994 10.05 6.26994 9.82001 6.30994 9.51001L6.33994 9.48999C6.65994 9.43999 6.73994 9.43999 7.08994 9.35999L7.11994 9.39001L7.06994 9.57996C7.12994 9.53996 7.18994 9.50998 7.24994 9.47998C7.40994 9.39998 7.59994 9.37 7.69994 9.37C7.84994 9.37 8.01994 9.40997 8.08994 9.58997C8.15994 9.74997 8.10994 9.93995 8.02994 10.3199L7.98994 10.52C7.89994 10.95 7.88994 11.0199 7.83994 11.3199L7.76994 11.35Z", fill: "white" }), _jsx("path", { d: "M8.9099 11.35C8.7399 11.35 8.6299 11.35 8.5299 11.35C8.4199 11.35 8.3199 11.36 8.1699 11.36L8.1599 11.35L8.1499 11.34C8.1899 11.18 8.2199 11.1199 8.2399 11.0699C8.2599 11.0099 8.2799 10.96 8.3199 10.79C8.3699 10.58 8.3999 10.43 8.4199 10.3C8.4399 10.17 8.4599 10.0699 8.4699 9.93994L8.4799 9.93005L8.4899 9.92004C8.6599 9.90004 8.7599 9.87999 8.8699 9.85999C8.9799 9.84999 9.0899 9.82004 9.2599 9.79004L9.2699 9.80005V9.81995C9.2399 9.94995 9.2099 10.08 9.1699 10.22C9.1399 10.35 9.1099 10.49 9.0799 10.62C9.0199 10.9 8.9899 11.01 8.9799 11.08C8.9699 11.15 8.9599 11.19 8.9399 11.34L8.9199 11.35H8.9099Z", fill: "white" }), _jsx("path", { d: "M10.68 10.35C10.67 10.42 10.6 10.6901 10.52 10.8101C10.46 10.8901 10.39 10.95 10.31 10.95C10.29 10.95 10.15 10.95 10.15 10.74C10.15 10.64 10.17 10.54 10.19 10.42C10.26 10.1 10.35 9.81995 10.57 9.81995C10.75 9.82995 10.76 10.03 10.68 10.35ZM11.41 10.38C11.51 9.95 11.43 9.75 11.34 9.63C11.19 9.44 10.94 9.38 10.67 9.38C10.51 9.38 10.13 9.40004 9.82995 9.67004C9.61995 9.87004 9.51995 10.14 9.45995 10.39C9.39995 10.65 9.32995 11.13 9.76995 11.3C9.89995 11.36 10.1 11.37 10.22 11.37C10.54 11.37 10.86 11.28 11.11 11.02C11.3 10.83 11.38 10.51 11.41 10.38Z", fill: "white" }), _jsx("path", { d: "M18.6699 9.41003C18.3199 9.47003 18.2299 9.49004 17.8899 9.54004L17.8599 9.56006C17.8599 9.59006 17.8499 9.62001 17.8499 9.64001C17.7999 9.55001 17.7199 9.47994 17.6099 9.43994C17.4599 9.37994 17.1099 9.45998 16.8099 9.72998C16.5999 9.92998 16.4999 10.19 16.4399 10.45C16.3799 10.71 16.3099 11.18 16.7399 11.35C16.8799 11.41 16.9999 11.43 17.1299 11.42C17.2599 11.41 17.3899 11.34 17.4999 11.25C17.4899 11.29 17.4799 11.33 17.4699 11.37L17.4899 11.4C17.7999 11.39 17.8999 11.39 18.2299 11.39L18.2599 11.37C18.3099 11.08 18.3599 10.8 18.4799 10.25C18.5399 9.98 18.5999 9.71996 18.6699 9.45996V9.41003ZM17.5599 10.85C17.4999 10.93 17.3699 10.98 17.2899 10.98C17.2699 10.98 17.1299 10.98 17.1299 10.78C17.1299 10.68 17.1499 10.58 17.1799 10.46C17.2499 10.14 17.3399 9.87 17.5599 9.87C17.6999 9.87 17.7699 10.01 17.7499 10.24C17.7399 10.29 17.7299 10.34 17.7199 10.4C17.6999 10.5 17.6699 10.5899 17.6499 10.6899C17.6199 10.7499 17.5899 10.81 17.5599 10.85Z", fill: "white" }), _jsx("path", { d: "M13.32 11.35C13.04 11.35 12.94 11.35 12.62 11.36L12.61 11.34C12.64 11.22 12.67 11.09 12.7 10.97L12.74 10.8C12.8 10.54 12.86 10.23 12.87 10.14C12.88 10.08 12.9 9.93994 12.74 9.93994C12.67 9.93994 12.6 9.97001 12.53 10.01C12.49 10.15 12.41 10.55 12.37 10.72C12.29 11.1 12.29 11.14 12.25 11.33L12.23 11.36C11.94 11.36 11.84 11.36 11.51 11.37L11.5 11.34C11.55 11.12 11.61 10.89 11.66 10.66C11.8 10.05 11.83 9.82001 11.87 9.51001L11.89 9.48999C12.21 9.43999 12.29 9.43999 12.64 9.35999L12.67 9.39001L12.62 9.57996C12.68 9.53996 12.74 9.50998 12.79 9.47998C12.95 9.39998 13.14 9.37 13.24 9.37C13.39 9.37 13.56 9.40997 13.63 9.58997C13.69 9.74997 13.65 9.93995 13.56 10.3199L13.52 10.52C13.43 10.95 13.41 11.0199 13.37 11.3199L13.32 11.35Z", fill: "white" }), _jsx("path", { d: "M15.74 8H15.51C14.91 8.01 14.66 8.00999 14.57 7.98999C14.56 8.02999 14.55 8.10999 14.55 8.10999L14.33 9.10999C14.33 9.10999 13.81 11.24 13.79 11.34C14.32 11.33 14.53 11.33 14.62 11.34C14.64 11.24 14.76 10.64 14.76 10.64C14.76 10.64 14.86 10.1999 14.87 10.1899C14.87 10.1899 14.9 10.14 14.94 10.13H14.99C15.44 10.13 15.96 10.13 16.36 9.82996C16.63 9.62996 16.82 9.32996 16.9 8.95996C16.92 8.86996 16.94 8.76003 16.94 8.66003C16.94 8.52003 16.91 8.38002 16.83 8.27002C16.62 8.01002 16.21 8.01 15.74 8ZM16.04 9.05005C15.99 9.27005 15.85 9.46005 15.66 9.55005C15.51 9.63005 15.32 9.63 15.13 9.63H15L15.01 9.57996L15.24 8.57996L15.25 8.53003V8.48999L15.34 8.5C15.34 8.5 15.81 8.54004 15.82 8.54004C16.01 8.62004 16.09 8.80005 16.04 9.05005Z", fill: "white" }), _jsx("path", { d: "M9.20998 9.62995C9.38998 9.49995 9.41998 9.31992 9.25998 9.22992C9.09998 9.13992 8.82998 9.16998 8.63998 9.28998C8.44998 9.41998 8.42998 9.58988 8.58998 9.68988C8.74998 9.78988 9.02998 9.75995 9.20998 9.62995Z", fill: "white" }), _jsx("path", { d: "M20.99 9.40002L20.9599 9.37C20.6199 9.44 20.55 9.44999 20.24 9.48999L20.2199 9.51001V9.52002V9.51001C19.9799 10.05 19.9899 9.93999 19.7999 10.36C19.7999 10.34 19.7999 10.3301 19.7999 10.3101L19.75 9.38L19.7199 9.34998C19.3599 9.41998 19.35 9.42997 19.02 9.46997L18.99 9.48999C18.99 9.49999 18.9899 9.51003 18.9799 9.53003C19.0199 9.74003 19.0099 9.70003 19.0499 10.03C19.0699 10.19 19.1 10.36 19.12 10.52C19.15 10.79 19.1699 10.93 19.2099 11.34C18.9899 11.71 18.9299 11.8501 18.7199 12.1801L18.57 12.42C18.55 12.45 18.54 12.46 18.51 12.47C18.49 12.48 18.45 12.48 18.41 12.48H18.33L18.2 12.9L18.6299 12.91C18.8799 12.91 19.0399 12.79 19.1299 12.63L19.4 12.17L19.43 12.14C19.6 11.78 20.99 9.40002 20.99 9.40002Z", fill: "white" })] })));
|
|
6
14
|
};
|
|
7
15
|
export default UnionPay;
|
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
/*
|
|
4
|
+
Copyright (c) Uber Technologies, Inc.
|
|
5
|
+
|
|
6
|
+
This source code is licensed under the MIT license found in the
|
|
7
|
+
LICENSE file in the root directory of this source tree.
|
|
8
|
+
*/
|
|
3
9
|
var Visa = function (_a) {
|
|
4
10
|
var size = _a.size;
|
|
5
|
-
return (
|
|
11
|
+
return (
|
|
12
|
+
// eslint-disable-next-line react/forbid-elements -- payment brand mark must be raw svg
|
|
13
|
+
_jsxs("svg", __assign({ width: size, height: size, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [_jsx("path", { d: "M23 4H1V20H23V4Z", fill: "#16216B" }), _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M12.98 14.5C11.99 14.5 11.34 14.21 10.87 13.95L11.53 13.01C11.95 13.23 12.28 13.48 13.04 13.48C13.28 13.48 13.52 13.42 13.65 13.21C13.84 12.9 13.61 12.73 13.06 12.45L12.79 12.29C11.98 11.78 11.63 11.3 12.01 10.45C12.25 9.90995 12.9 9.5 13.95 9.5C14.68 9.5 15.37 9.78996 15.76 10.08L15 10.91C14.61 10.62 14.29 10.47 13.92 10.47C13.63 10.47 13.4 10.57 13.32 10.72C13.17 10.99 13.37 11.17 13.79 11.41L14.11 11.6C15.09 12.17 15.32 12.77 15.08 13.33C14.67 14.28 13.84 14.5 12.98 14.5ZM18.62 11.5601C18.6 11.2101 18.59 10.7299 18.62 10.4399H18.6C18.52 10.6799 17.47 12.78 17.47 12.78H18.69L18.62 11.5601ZM18.78 14.36L18.74 13.65H17L16.64 14.36H15.12L17.87 9.60999H19.73L20.2 14.36H18.78ZM7.93 9.60999L6.67 11.63C6.35 12.16 6.16 12.43 6.07 12.76H6.06C6.08 12.34 6.02 11.82 6.01 11.52L5.87 9.60999H3.52L3.5 9.73999C4.1 9.73999 4.46 10.02 4.56 10.59L5.02 14.37H6.47L9.39 9.60999H7.93ZM8.55 14.36L10.11 9.59998H11.51L9.95 14.36H8.55Z", fill: "#fff" })] })));
|
|
6
14
|
};
|
|
7
15
|
export default Visa;
|
|
@@ -41,7 +41,7 @@ var PaymentCard = function (props) {
|
|
|
41
41
|
var intent = useContextualFormProps(restProps).intent;
|
|
42
42
|
var theme = useStyle().theme;
|
|
43
43
|
var size = (_a = props.size) !== null && _a !== void 0 ? _a : getDefaultSize(theme);
|
|
44
|
-
var
|
|
44
|
+
var _sharedProps = {
|
|
45
45
|
$size: size,
|
|
46
46
|
$variant: restProps.variant,
|
|
47
47
|
$intent: intent,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Ref } from 'react';
|
|
2
|
-
import { Override } from '../overrides';
|
|
3
|
-
import { SpacewebComponentProps, Intent } from '../types';
|
|
4
|
-
import { InputOverrides, InputProps, InputSize, InputVariant, SharedProps, FocusPosition, StatefulContainerProps } from '../input';
|
|
1
|
+
import type { Ref } from 'react';
|
|
2
|
+
import type { Override } from '../overrides';
|
|
3
|
+
import type { SpacewebComponentProps, Intent } from '../types';
|
|
4
|
+
import type { InputOverrides, InputProps, InputSize, InputVariant, SharedProps, FocusPosition, StatefulContainerProps } from '../input';
|
|
5
5
|
export type PaymentCardOverrides = {
|
|
6
6
|
IconWrapper?: Override<SharedProps & Record<string, any>>;
|
|
7
7
|
} & InputOverrides;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { CountrySelectContainerProps } from './types';
|
|
2
|
+
import type { CountrySelectContainerProps } from './types';
|
|
3
3
|
declare const CountrySelectContainer: (props: CountrySelectContainerProps & {
|
|
4
4
|
inputRef: React.MutableRefObject<HTMLInputElement>;
|
|
5
5
|
}) => React.ReactElement;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { CountrySelectProps } from './types';
|
|
2
|
+
import type { CountrySelectProps } from './types';
|
|
3
3
|
declare const CountrySelect: (props: Omit<import("./types").CountrySelectContainerProps, "overrides"> & {
|
|
4
4
|
overrides?: Pick<import("./types").PhoneInputOverrides, "CountrySelect" | "FlagContainer"> | undefined;
|
|
5
5
|
} & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { InputVariant } from '../input';
|
|
2
|
-
import { Country, PhoneInputOverrides } from './types';
|
|
1
|
+
import type { InputVariant } from '../input';
|
|
2
|
+
import type { Country, PhoneInputOverrides } from './types';
|
|
3
3
|
declare const defaultProps: {
|
|
4
4
|
clearable: boolean;
|
|
5
5
|
focusLock: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { StatefulPhoneInputProps } from './types';
|
|
1
|
+
import type { ReactElement } from 'react';
|
|
2
|
+
import type { StatefulPhoneInputProps } from './types';
|
|
3
3
|
declare const StatefulPhoneInput: {
|
|
4
4
|
(props: StatefulPhoneInputProps): ReactElement;
|
|
5
5
|
defaultProps: {
|
|
@@ -2,11 +2,11 @@ import { __assign, __rest } from "tslib";
|
|
|
2
2
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
3
|
import PhoneInput from './phone-input';
|
|
4
4
|
import defaultProps from './default-props';
|
|
5
|
-
import useStatefulPhoneInput from
|
|
5
|
+
import useStatefulPhoneInput from './useStatefulPhoneInput';
|
|
6
6
|
var StatefulPhoneInput = function (props) {
|
|
7
7
|
var overrides = props.overrides, rest = __rest(props, ["overrides"]);
|
|
8
8
|
var adaptedProps = useStatefulPhoneInput(rest);
|
|
9
|
-
return
|
|
9
|
+
return _jsx(PhoneInput, __assign({}, adaptedProps, { overrides: overrides }));
|
|
10
10
|
};
|
|
11
11
|
StatefulPhoneInput.defaultProps = defaultProps;
|
|
12
12
|
export default StatefulPhoneInput;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { MenuProps } from '../menu';
|
|
3
|
-
import { InputProps, SharedProps } from '../input';
|
|
4
|
-
import { Override } from '../overrides';
|
|
5
|
-
import { COUNTRIES, STATE_CHANGE_TYPE } from './constants';
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import type { MenuProps } from '../menu';
|
|
3
|
+
import type { InputProps, SharedProps } from '../input';
|
|
4
|
+
import type { Override } from '../overrides';
|
|
5
|
+
import type { COUNTRIES, STATE_CHANGE_TYPE } from './constants';
|
|
6
6
|
export type Country = {
|
|
7
7
|
id: keyof typeof COUNTRIES;
|
|
8
8
|
label: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StatefulPhoneInputContainerProps, State } from './types';
|
|
1
|
+
import type { StatefulPhoneInputContainerProps, State } from './types';
|
|
2
2
|
declare const useStatefulPhoneInput: ({ clearable, disabled, id, initialState, intent, maxDropdownHeight, maxDropdownWidth, mapIsoToLabel, name, onChange, overrides, placeholder, required, size, stateReducer, variant, countries, ...restProps }: StatefulPhoneInputContainerProps) => {
|
|
3
3
|
'aria-label': string | undefined;
|
|
4
4
|
'aria-labelledby': string | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Value as ValueT } from '../select/types';
|
|
2
|
-
import { Value, Country } from './types';
|
|
1
|
+
import type { Value as ValueT } from '../select/types';
|
|
2
|
+
import type { Value, Country } from './types';
|
|
3
3
|
export declare const iso2FlagEmoji: (iso: string) => string | undefined;
|
|
4
4
|
export declare const sanitize: (value?: string) => string;
|
|
5
5
|
export declare const getPhoneNumberWithCountryDialCode: (value: Value) => string | undefined;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
2
|
/**
|
|
3
3
|
* Baseui overrides anchor element's ref. This component clones and stores anchor/child element's ref.
|
|
4
4
|
* TODO: should be removed once https://github.com/uber/baseweb/issues/4032 is addressed
|
|
5
5
|
*/
|
|
6
|
-
export declare const PopoverRefHandler:
|
|
7
|
-
export declare const TargetElementProxy:
|
|
6
|
+
export declare const PopoverRefHandler: import("react").ForwardRefExoticComponent<Omit<any, "ref"> & import("react").RefAttributes<HTMLElement | null | undefined>>;
|
|
7
|
+
export declare const TargetElementProxy: import("react").ForwardRefExoticComponent<{
|
|
8
8
|
targetElement?: HTMLElement | null | undefined;
|
|
9
|
-
} &
|
|
9
|
+
} & import("react").RefAttributes<HTMLElement | null | undefined>>;
|
|
10
10
|
type PopoverChildEnhancerProps = {
|
|
11
|
-
children?:
|
|
11
|
+
children?: ReactNode;
|
|
12
12
|
targetElement?: HTMLElement | null | undefined;
|
|
13
13
|
};
|
|
14
|
-
export declare const PopoverChildEnhancer:
|
|
14
|
+
export declare const PopoverChildEnhancer: import("react").ForwardRefExoticComponent<PopoverChildEnhancerProps & import("react").RefAttributes<HTMLElement | null | undefined>>;
|
|
15
15
|
export {};
|
|
@@ -1,32 +1,33 @@
|
|
|
1
1
|
import { __assign, __read, __rest } from "tslib";
|
|
2
2
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
-
import { useEffect } from 'react';
|
|
4
|
-
import * as React from 'react';
|
|
3
|
+
import { Children, cloneElement, forwardRef, isValidElement, useEffect } from 'react';
|
|
5
4
|
import useCombinedRefs from '../hooks/useCombinedRef';
|
|
5
|
+
import { Box } from '../box';
|
|
6
6
|
var __DEV__ = process.env.NODE_ENV !== 'production';
|
|
7
7
|
function getFirstElement(children) {
|
|
8
|
-
var childArray =
|
|
8
|
+
var childArray = Children.toArray(children);
|
|
9
9
|
if (__DEV__ && childArray.length !== 1) {
|
|
10
|
+
// eslint-disable-next-line no-console -- debug logging
|
|
10
11
|
console.error("[spaceweb] Exactly 1 child must be passed to Popover/Tooltip, found ".concat(childArray.length, " children"));
|
|
11
12
|
}
|
|
12
13
|
var _a = __read(childArray, 1), child = _a[0];
|
|
13
|
-
return
|
|
14
|
+
return isValidElement(child) && typeof child === 'object' ? child : _jsx(Box, __assign({ "$as": "span" }, { children: child }));
|
|
14
15
|
}
|
|
15
16
|
/**
|
|
16
17
|
* Baseui overrides anchor element's ref. This component clones and stores anchor/child element's ref.
|
|
17
18
|
* TODO: should be removed once https://github.com/uber/baseweb/issues/4032 is addressed
|
|
18
19
|
*/
|
|
19
|
-
export var PopoverRefHandler =
|
|
20
|
+
export var PopoverRefHandler = forwardRef(function (_a, ref) {
|
|
20
21
|
var children = _a.children, anchorProps = __rest(_a, ["children"]);
|
|
21
22
|
var childElement = getFirstElement(children);
|
|
22
23
|
var childRef = childElement.ref || null;
|
|
23
24
|
var combinedRef = useCombinedRefs(ref, childRef);
|
|
24
25
|
var childProps = __assign(__assign({}, anchorProps), { ref: combinedRef });
|
|
25
|
-
return
|
|
26
|
+
return cloneElement(childElement, childProps);
|
|
26
27
|
});
|
|
27
28
|
PopoverRefHandler.displayName = 'PopoverRefHandler';
|
|
28
|
-
export var TargetElementProxy =
|
|
29
|
-
var targetElement = _a.targetElement,
|
|
29
|
+
export var TargetElementProxy = forwardRef(function (_a, ref) {
|
|
30
|
+
var targetElement = _a.targetElement, _anchorProps = __rest(_a, ["targetElement"]);
|
|
30
31
|
useEffect(function () {
|
|
31
32
|
if (!ref)
|
|
32
33
|
return;
|
|
@@ -41,11 +42,12 @@ export var TargetElementProxy = React.forwardRef(function (_a, ref) {
|
|
|
41
42
|
return null;
|
|
42
43
|
});
|
|
43
44
|
TargetElementProxy.displayName = 'PopoverTargetElementProxy';
|
|
44
|
-
export var PopoverChildEnhancer =
|
|
45
|
+
export var PopoverChildEnhancer = forwardRef(function (_a, ref) {
|
|
45
46
|
var children = _a.children, targetElement = _a.targetElement, anchorProps = __rest(_a, ["children", "targetElement"]);
|
|
46
47
|
if (__DEV__) {
|
|
47
48
|
// When targetElement is null (before ref to the element is set), it throws an unnecessary error, hence checking only for undefined
|
|
48
49
|
if (typeof targetElement === 'undefined' && !children) {
|
|
50
|
+
// eslint-disable-next-line no-console -- debug logging
|
|
49
51
|
console.warn('[spaceweb] One of the children or targetElement should be provided to Popover');
|
|
50
52
|
}
|
|
51
53
|
}
|
package/esm/popover/adapter.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ACCESSIBILITY_TYPE, PLACEMENT, TRIGGER_TYPE } from '../baseui/popover';
|
|
2
|
-
import { AccessibilityType, TriggerType, Placement } from './types';
|
|
3
|
-
import { ValueOf } from '../utility-types';
|
|
2
|
+
import type { AccessibilityType, TriggerType, Placement } from './types';
|
|
3
|
+
import type { ValueOf } from '../utility-types';
|
|
4
4
|
export declare const accessibilityMap: Record<AccessibilityType, ValueOf<typeof ACCESSIBILITY_TYPE>>;
|
|
5
5
|
export declare const triggerTypeMap: Record<TriggerType, ValueOf<typeof TRIGGER_TYPE>>;
|
|
6
6
|
export declare const placementMap: Record<Placement, ValueOf<typeof PLACEMENT>>;
|
package/esm/popover/hooks.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PopoverProps } from './types';
|
|
1
|
+
import type { PopoverProps } from './types';
|
|
2
2
|
type UseFocusLockParams = Pick<PopoverProps, 'focusLock' | 'returnFocus'>;
|
|
3
3
|
export declare const useFocusLock: ({ focusLock, returnFocus }: UseFocusLockParams) => UseFocusLockParams;
|
|
4
4
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Placement } from './types';
|
|
2
|
-
import { ClassName, Styles } from '../types';
|
|
1
|
+
import type { Placement } from './types';
|
|
2
|
+
import type { ClassName, Styles } from '../types';
|
|
3
3
|
export declare const getPseudoElementPosition: (placement: Placement, popoverMargin: number) => {
|
|
4
4
|
[x: string]: string | number;
|
|
5
5
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { StatefulPopoverProps } from './types';
|
|
2
|
+
import type { StatefulPopoverProps } from './types';
|
|
3
3
|
declare function StatefulPopover(props: StatefulPopoverProps): React.ReactElement;
|
|
4
4
|
declare namespace StatefulPopover {
|
|
5
5
|
var defaultProps: Partial<StatefulPopoverProps>;
|
package/esm/popover/utils.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CircularSharedProps } from './types';
|
|
1
|
+
import type { CircularSharedProps } from './types';
|
|
2
2
|
/**
|
|
3
3
|
* CircularProgress styles are inspired from material-ui
|
|
4
4
|
* https://github.com/mui-org/material-ui/blob/next/packages/material-ui/src/CircularProgress/CircularProgress.js
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { Override } from '../../overrides';
|
|
3
|
-
import { ProgressSharedProps, ProgressProps } from '../types';
|
|
2
|
+
import type { Override } from '../../overrides';
|
|
3
|
+
import type { ProgressSharedProps, ProgressProps } from '../types';
|
|
4
4
|
export type CircularSharedProps = ProgressSharedProps & {
|
|
5
5
|
$size: number;
|
|
6
6
|
$thickness: number;
|
package/esm/progress/helper.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { Theme } from '@sprinklrjs/spaceweb-themes/types';
|
|
2
|
-
import { Intent } from '../types';
|
|
1
|
+
import type { Theme } from '@sprinklrjs/spaceweb-themes/types';
|
|
2
|
+
import type { Intent } from '../types';
|
|
3
3
|
export declare const getIntentColor: (intent: Intent, theme: Theme) => string;
|
|
@@ -7,7 +7,7 @@ import { StyledProgress } from './styled-component';
|
|
|
7
7
|
import { getIntentColor } from '../helper';
|
|
8
8
|
import { useStyle } from '../../style';
|
|
9
9
|
var ProgressSegment = forwardRef(function (_a, ref) {
|
|
10
|
-
var _b = _a.intent, intent = _b === void 0 ? 'default' : _b, color = _a.color, value = _a.value, overrides = _a.overrides,
|
|
10
|
+
var _b = _a.intent, intent = _b === void 0 ? 'default' : _b, color = _a.color, value = _a.value, overrides = _a.overrides, _className = _a.className, _c = _a.first, first = _c === void 0 ? false : _c, _d = _a.last, last = _d === void 0 ? false : _d, props = __rest(_a, ["intent", "color", "value", "overrides", "className", "first", "last"]);
|
|
11
11
|
var sharedProps = add$props({ intent: intent, color: color, value: value, first: first, last: last });
|
|
12
12
|
var theme = useStyle().theme;
|
|
13
13
|
var _e = __read(useOverrides(overrides === null || overrides === void 0 ? void 0 : overrides.Progress, StyledProgress), 2), Progress = _e[0], progressProps = _e[1];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { Override } from '../../overrides';
|
|
3
|
-
import { ProgressProps, ProgressSharedProps } from '../types';
|
|
2
|
+
import type { Override } from '../../overrides';
|
|
3
|
+
import type { ProgressProps, ProgressSharedProps } from '../types';
|
|
4
4
|
export type LinearSharedProps = ProgressSharedProps;
|
|
5
5
|
export type LinearProgressProps = ProgressProps & {
|
|
6
6
|
overrides?: {
|
package/esm/progress/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
1
|
+
import type { ReactElement } from 'react';
|
|
2
2
|
import type { ProgressStepsProps } from './types';
|
|
3
3
|
declare const ProgressSteps: {
|
|
4
4
|
({ overrides, current, alwaysShowDescription, orientation, children, style, className, onClick, variant, intent, role, showStepNumber, ...restProps }: ProgressStepsProps): ReactElement;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
1
|
+
import type { ReactElement } from 'react';
|
|
2
2
|
import type { StepProps } from './types';
|
|
3
3
|
declare const _default: import("react").MemoExoticComponent<{
|
|
4
4
|
({ overrides, isCompleted, isCurrent, isActive, intent, isRightBeforeActive, isLast, childrenCount, orientation, title, subTitle, alwaysShowDescription, children, className, onClick, variant, role, style, step, showStepNumber, ...restProps }: StepProps): ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StyleFn } from '../types';
|
|
1
|
+
import type { StyleFn } from '../types';
|
|
2
2
|
export declare const StyledProgressSteps: import("../style").StyledComponent;
|
|
3
3
|
export declare const StyledStep: import("../style").StyledComponent;
|
|
4
4
|
export declare const StyledIconContainer: import("../style").StyledComponent;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ReactNode, MouseEvent, AriaRole } from 'react';
|
|
2
2
|
import type { Override } from '../overrides';
|
|
3
3
|
import type { ORIENTATION } from './constants';
|
|
4
|
-
import { SpacewebComponentProps } from '../types';
|
|
4
|
+
import type { SpacewebComponentProps } from '../types';
|
|
5
5
|
export type Orientation = keyof typeof ORIENTATION;
|
|
6
6
|
export type Variants = 'default' | 'radio';
|
|
7
7
|
export type Intent = 'default' | 'error' | 'ai';
|
package/esm/radio/radio.js
CHANGED
|
@@ -8,6 +8,7 @@ import useCombinedRefs from '../hooks/useCombinedRef';
|
|
|
8
8
|
import _noop from 'lodash/noop';
|
|
9
9
|
import { useStyle } from '../style';
|
|
10
10
|
import TickIcon from '../icon/components/tick';
|
|
11
|
+
import { Box } from '../box';
|
|
11
12
|
function isLabelTopLeft(labelPlacement) {
|
|
12
13
|
return labelPlacement === 'top' || labelPlacement === 'left';
|
|
13
14
|
}
|
|
@@ -75,7 +76,7 @@ var Radio = function (_a) {
|
|
|
75
76
|
};
|
|
76
77
|
var label = (_jsx(Label, __assign({}, sharedProps, labelProps, { children: containsInteractiveElement ? (
|
|
77
78
|
// eslint-disable-next-line jsx-a11y/click-events-have-key-events,jsx-a11y/no-static-element-interactions -- Prevents the event from bubbling up to the label and moving focus to the radio button
|
|
78
|
-
_jsx(
|
|
79
|
+
_jsx(Box, __assign({ onClick: function (e) { return e.preventDefault(); } }, { children: props.children }))) : (props.children) })));
|
|
79
80
|
var radioMark;
|
|
80
81
|
if (variant === 'checked') {
|
|
81
82
|
if (checked) {
|
package/esm/radio/radiogroup.js
CHANGED
|
@@ -24,7 +24,7 @@ var StatelessRadioGroup = function (_a) {
|
|
|
24
24
|
setState(function (prevState) { return (__assign(__assign({}, prevState), { focusedRadioIndex: index })); });
|
|
25
25
|
onFocus && onFocus(event);
|
|
26
26
|
};
|
|
27
|
-
var handleBlur = function (event,
|
|
27
|
+
var handleBlur = function (event, _index) {
|
|
28
28
|
if (state.isFocusVisible !== false) {
|
|
29
29
|
setState(__assign(__assign({}, state), { isFocusVisible: false }));
|
|
30
30
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { Size } from './types';
|
|
3
|
-
import { Intent } from '../types';
|
|
2
|
+
import type { Size } from './types';
|
|
3
|
+
import type { Intent } from '../types';
|
|
4
4
|
export declare const SpaceRadioContext: import("react").Context<{
|
|
5
5
|
size?: Size | undefined;
|
|
6
6
|
intent?: Intent | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { StyleUtils } from '../types';
|
|
2
|
-
import { SharedProps } from './types';
|
|
1
|
+
import type { StyleUtils } from '../types';
|
|
2
|
+
import type { SharedProps } from './types';
|
|
3
3
|
export declare const getBorderColor: (utils: StyleUtils, props: SharedProps) => string;
|
|
4
4
|
export declare const getInnerColor: (utils: StyleUtils, props: SharedProps) => string;
|
|
5
5
|
export declare const StyledRadioGroupRoot: import("../style").StyledComponent;
|
package/esm/radio/types.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { ALIGN } from './constants';
|
|
3
|
-
import { Intent, SpacewebComponentProps } from '../types';
|
|
4
|
-
import { Override } from '../overrides';
|
|
5
|
-
import { OutlineProps } from '../helpers/commonStyles';
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import type { ALIGN } from './constants';
|
|
3
|
+
import type { Intent, SpacewebComponentProps } from '../types';
|
|
4
|
+
import type { Override } from '../overrides';
|
|
5
|
+
import type { OutlineProps } from '../helpers/commonStyles';
|
|
6
6
|
export type Alignment = 'horizontal' | 'vertical';
|
|
7
7
|
export type LabelPlacement = 'top' | 'right' | 'bottom' | 'left';
|
|
8
8
|
export type Align = keyof typeof ALIGN;
|
package/esm/search/search.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { IconButtonProps } from '../button/IconButton';
|
|
3
|
-
import { SearchProps } from './types';
|
|
1
|
+
import type { ReactElement } from 'react';
|
|
2
|
+
import type { IconButtonProps } from '../button/IconButton';
|
|
3
|
+
import type { SearchProps } from './types';
|
|
4
4
|
export declare const ClearIconButton: ({ overrides, ...props }: IconButtonProps) => ReactElement;
|
|
5
5
|
export declare const Search: {
|
|
6
6
|
({ size: _size, debounceInterval, placeholder, overrides, className, style, variant, shape, intent, ...props }: SearchProps): ReactElement;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { StatefulSearchProps } from './types';
|
|
1
|
+
import type { ReactElement } from 'react';
|
|
2
|
+
import type { StatefulSearchProps } from './types';
|
|
3
3
|
export declare const StatefulSearch: ({ initialState, onChange, ...restProps }: StatefulSearchProps) => ReactElement;
|
package/esm/search/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { InputOverrides, InputProps, SharedProps as InputSharedProps } from '../input/types';
|
|
2
|
-
import { Override } from '../overrides';
|
|
1
|
+
import type { InputOverrides, InputProps, SharedProps as InputSharedProps } from '../input/types';
|
|
2
|
+
import type { Override } from '../overrides';
|
|
3
3
|
/** @deprecated */
|
|
4
4
|
type DeprecatedSize = 'xxxs' | 'xxs' | 'xs' | 'sm' | 'md' | 'lg';
|
|
5
5
|
export type Size = DeprecatedSize | 'small' | 'medium' | 'large' | 'x-large';
|
package/esm/select/adaptor.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { TYPE } from '../baseui/select';
|
|
2
|
-
import { Type } from './types';
|
|
3
|
-
import { ValueOf } from '../utility-types';
|
|
2
|
+
import type { Type } from './types';
|
|
3
|
+
import type { ValueOf } from '../utility-types';
|
|
4
4
|
export declare const typeAdaptor: Record<Type, ValueOf<typeof TYPE>>;
|