@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,3 +1,3 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { IconProps } from '../types';
|
|
1
|
+
import type { ReactElement } from 'react';
|
|
2
|
+
import type { IconProps } from '../types';
|
|
3
3
|
export default function SolidAlertWarning(props: IconProps): ReactElement;
|
package/icon/icon.d.ts
CHANGED
package/icon/types.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { SpacewebComponentProps } from '../types';
|
|
3
|
-
import { SVG_ICON_INTENTS } from './constants';
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import type { SpacewebComponentProps } from '../types';
|
|
3
|
+
import type { SVG_ICON_INTENTS } from './constants';
|
|
4
4
|
export type Size = number;
|
|
5
5
|
export type IntentType = (typeof SVG_ICON_INTENTS)[keyof typeof SVG_ICON_INTENTS];
|
|
6
6
|
export type AnimationType = 'hover' | 'always';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { DefaultFallbackProps } from './types';
|
|
1
|
+
import type { ReactElement } from 'react';
|
|
2
|
+
import type { DefaultFallbackProps } from './types';
|
|
3
3
|
export declare const StyledRoot: import("../style").StyledComponent;
|
|
4
4
|
declare const DefaultFallbackImg: ({ width, height, iconSize, overrides }: DefaultFallbackProps) => ReactElement;
|
|
5
5
|
export default DefaultFallbackImg;
|
package/image/types.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { Override } from '../overrides';
|
|
3
|
-
import { SpacewebComponentProps } from '../types';
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import type { Override } from '../overrides';
|
|
3
|
+
import type { SpacewebComponentProps } from '../types';
|
|
4
4
|
export type ImageOverrides = {
|
|
5
5
|
Image?: Override<{}>;
|
|
6
6
|
Root?: Override<{}>;
|
package/input/base-input.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { BaseInputProps } from './types';
|
|
3
|
-
declare const BaseInput: <T extends HTMLInputElement | HTMLTextAreaElement>({ value, adjoined, autoComplete, disabled, name, onBlur, onChange, onKeyDown, onKeyPress, onKeyUp, onFocus, onClear, clearable, clearOnEscape, overrides, pattern, placeholder, required, size, type, inputMode, readOnly, maxLength, id, min, max, step, role, rows, inputRef, resize, intent, variant, debouncedOnChange, debounceInterval, style, maxCharLimit, draggable, endEnhancer, animate, ...props }: BaseInputProps<T>) => JSX.Element;
|
|
2
|
+
import type { BaseInputProps } from './types';
|
|
3
|
+
declare const BaseInput: <T extends HTMLInputElement | HTMLTextAreaElement>({ value, adjoined, autoComplete, disabled, name, onBlur, onChange, onKeyDown, onKeyPress, onKeyUp, onFocus, onClear: _onClear, clearable, clearOnEscape, overrides, pattern, placeholder, required, size, type, inputMode, readOnly, maxLength, id, min, max, step, role, rows, inputRef, resize, intent, variant, debouncedOnChange, debounceInterval, style: _style, maxCharLimit, draggable, endEnhancer, animate, ...props }: BaseInputProps<T>) => JSX.Element;
|
|
4
4
|
export default BaseInput;
|
package/input/base-input.js
CHANGED
|
@@ -19,7 +19,7 @@ var typography_1 = require("../typography");
|
|
|
19
19
|
var progress_1 = require("../progress");
|
|
20
20
|
var NullComponent = function () { return null; };
|
|
21
21
|
var BaseInput = function (_a) {
|
|
22
|
-
var value = _a.value, _b = _a.adjoined, adjoined = _b === void 0 ? constants_1.ADJOINED.none : _b, _c = _a.autoComplete, autoComplete = _c === void 0 ? 'on' : _c, _d = _a.disabled, disabled = _d === void 0 ? false : _d, _e = _a.name, name = _e === void 0 ? '' : _e, _f = _a.onBlur, onBlur = _f === void 0 ? noop_1.default : _f, _g = _a.onChange, onChange = _g === void 0 ? noop_1.default : _g, _h = _a.onKeyDown, onKeyDown = _h === void 0 ? noop_1.default : _h, _j = _a.onKeyPress, onKeyPress = _j === void 0 ? noop_1.default : _j, _k = _a.onKeyUp, onKeyUp = _k === void 0 ? noop_1.default : _k, _l = _a.onFocus, onFocus = _l === void 0 ? noop_1.default : _l, _m = _a.onClear,
|
|
22
|
+
var value = _a.value, _b = _a.adjoined, adjoined = _b === void 0 ? constants_1.ADJOINED.none : _b, _c = _a.autoComplete, autoComplete = _c === void 0 ? 'on' : _c, _d = _a.disabled, disabled = _d === void 0 ? false : _d, _e = _a.name, name = _e === void 0 ? '' : _e, _f = _a.onBlur, onBlur = _f === void 0 ? noop_1.default : _f, _g = _a.onChange, onChange = _g === void 0 ? noop_1.default : _g, _h = _a.onKeyDown, onKeyDown = _h === void 0 ? noop_1.default : _h, _j = _a.onKeyPress, onKeyPress = _j === void 0 ? noop_1.default : _j, _k = _a.onKeyUp, onKeyUp = _k === void 0 ? noop_1.default : _k, _l = _a.onFocus, onFocus = _l === void 0 ? noop_1.default : _l, _m = _a.onClear, _onClear = _m === void 0 ? noop_1.default : _m, _o = _a.clearable, clearable = _o === void 0 ? false : _o, _p = _a.clearOnEscape, clearOnEscape = _p === void 0 ? true : _p, _q = _a.overrides, overrides = _q === void 0 ? {} : _q, pattern = _a.pattern, _r = _a.placeholder, placeholder = _r === void 0 ? '' : _r, _s = _a.required, required = _s === void 0 ? false : _s, _t = _a.size, size = _t === void 0 ? 'md' : _t, _u = _a.type, type = _u === void 0 ? 'text' : _u, _v = _a.inputMode, inputMode = _v === void 0 ? 'text' : _v, _w = _a.readOnly, readOnly = _w === void 0 ? false : _w, maxLength = _a.maxLength, id = _a.id, min = _a.min, max = _a.max, step = _a.step, role = _a.role, rows = _a.rows, _x = _a.inputRef, inputRef = _x === void 0 ? (0, react_1.createRef)() : _x, resize = _a.resize, _y = _a.intent, intent = _y === void 0 ? 'default' : _y, _z = _a.variant, variant = _z === void 0 ? 'default' : _z, _0 = _a.debouncedOnChange, debouncedOnChange = _0 === void 0 ? noop_1.default : _0, _1 = _a.debounceInterval, debounceInterval = _1 === void 0 ? 200 : _1, _style = _a.style, maxCharLimit = _a.maxCharLimit, _2 = _a.draggable, draggable = _2 === void 0 ? false : _2, endEnhancer = _a.endEnhancer, animate = _a.animate, props = tslib_1.__rest(_a, ["value", "adjoined", "autoComplete", "disabled", "name", "onBlur", "onChange", "onKeyDown", "onKeyPress", "onKeyUp", "onFocus", "onClear", "clearable", "clearOnEscape", "overrides", "pattern", "placeholder", "required", "size", "type", "inputMode", "readOnly", "maxLength", "id", "min", "max", "step", "role", "rows", "inputRef", "resize", "intent", "variant", "debouncedOnChange", "debounceInterval", "style", "maxCharLimit", "draggable", "endEnhancer", "animate"]);
|
|
23
23
|
var handleChange = (0, useDebouncedEventHandler_1.useDebouncedEventHandler)(debouncedOnChange, onChange, debounceInterval);
|
|
24
24
|
var handleOnDragStart = (0, react_1.useCallback)(function (e) { return e.preventDefault(); }, []);
|
|
25
25
|
var isEnhancer = function (enhancer) { return Boolean(enhancer || enhancer === 0); };
|
|
@@ -52,7 +52,7 @@ var BaseInput = function (_a) {
|
|
|
52
52
|
setState(function (prev) { return (tslib_1.__assign(tslib_1.__assign({}, prev), { isFocusVisibleForMaskToggle: false })); });
|
|
53
53
|
}
|
|
54
54
|
}, []);
|
|
55
|
-
var handleBlurForMaskToggle = (0, react_1.useCallback)(function (
|
|
55
|
+
var handleBlurForMaskToggle = (0, react_1.useCallback)(function (_event) {
|
|
56
56
|
if (state.isFocusVisibleForMaskToggle) {
|
|
57
57
|
setState(function (prev) { return (tslib_1.__assign(tslib_1.__assign({}, prev), { isFocusVisibleForMaskToggle: false })); });
|
|
58
58
|
}
|
package/input/masked-input.js
CHANGED
|
@@ -7,19 +7,19 @@ var react_input_mask_1 = tslib_1.__importDefault(require("react-input-mask"));
|
|
|
7
7
|
var input_1 = tslib_1.__importDefault(require("./input"));
|
|
8
8
|
var styled_components_1 = require("./styled-components");
|
|
9
9
|
var MaskOverride = React.forwardRef(function (_a, ref) {
|
|
10
|
-
var
|
|
10
|
+
var _startEnhancer = _a.startEnhancer, _endEnhancer = _a.endEnhancer, onChange = _a.onChange, onFocus = _a.onFocus, onBlur = _a.onBlur, value = _a.value, disabled = _a.disabled, readOnly = _a.readOnly, restProps = tslib_1.__rest(_a, ["startEnhancer", "endEnhancer", "onChange", "onFocus", "onBlur", "value", "disabled", "readOnly"]);
|
|
11
11
|
return ((0, jsx_runtime_1.jsx)(react_input_mask_1.default, tslib_1.__assign({ onChange: onChange, onFocus: onFocus, onBlur: onBlur, value: value, disabled: disabled, readOnly: readOnly }, restProps, { children: function (props) { return ((0, jsx_runtime_1.jsx)(styled_components_1.StyledInput, tslib_1.__assign({ ref: ref, onChange: onChange, onFocus: onFocus, onBlur: onBlur, value: value, disabled: disabled, readOnly: readOnly }, props))); } })));
|
|
12
12
|
});
|
|
13
13
|
MaskOverride.displayName = 'MaskOverride';
|
|
14
14
|
function MaskedInput(_a) {
|
|
15
15
|
var mask = _a.mask, maskChar = _a.maskChar, _b = _a.overrides, _c = _b === void 0 ? {} : _b, _d = _c.Input, inputOverride = _d === void 0 ? {} : _d, restOverrides = tslib_1.__rest(_c, ["Input"]), restProps = tslib_1.__rest(_a, ["mask", "maskChar", "overrides"]);
|
|
16
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
16
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- InputOverride union is loosely typed
|
|
17
17
|
var componentOverride = MaskOverride;
|
|
18
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
18
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- InputOverride union is loosely typed
|
|
19
19
|
var propsOverride = {};
|
|
20
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
20
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- InputOverride union is loosely typed
|
|
21
21
|
var styleOverride = {};
|
|
22
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
22
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- InputOverride union is loosely typed
|
|
23
23
|
var classNameOverride = '';
|
|
24
24
|
if (typeof inputOverride === 'function') {
|
|
25
25
|
componentOverride = inputOverride;
|
package/input/neutral400Hex.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Theme } from '@sprinklrjs/spaceweb-themes/types';
|
|
1
|
+
import type { Theme } from '@sprinklrjs/spaceweb-themes/types';
|
|
2
2
|
/**
|
|
3
3
|
* neutral-400 as hex for light (#B8B9BB) and dark (#94969A) themes.
|
|
4
4
|
* Used for disabled and unchecked form-control borders and tracks (checkbox, radio, switch)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ReactElement } from 'react';
|
|
2
|
-
import { NumberInputProps } from './NumberInput';
|
|
2
|
+
import type { NumberInputProps } from './NumberInput';
|
|
3
3
|
import type { StatefulContainerProps } from '../types';
|
|
4
4
|
import type { SpacewebComponentProps } from '../../types';
|
|
5
5
|
export type StatefulNumberInputProps = SpacewebComponentProps<Omit<NumberInputProps, 'onChange'>> & StatefulContainerProps<HTMLInputElement>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChangeEvent, KeyboardEvent } from 'react';
|
|
1
|
+
import type { ChangeEvent, KeyboardEvent } from 'react';
|
|
2
2
|
import type { NumberInputProps } from './NumberInput';
|
|
3
3
|
export declare const BaseNumberInput: import("react").ForwardRefExoticComponent<Omit<{
|
|
4
4
|
'aria-activedescendant'?: string | undefined;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
+
import { type ChangeEvent } from 'react';
|
|
1
2
|
import type { StatefulContainerProps } from './types';
|
|
2
|
-
import type { ChangeEvent } from 'react';
|
|
3
|
-
import * as React from 'react';
|
|
4
3
|
declare const useStatefulInput: <T extends HTMLInputElement | HTMLTextAreaElement>({ initialState, stateReducer, onChange, }: StatefulContainerProps<T>) => {
|
|
5
4
|
value?: string | number | undefined;
|
|
6
5
|
onChange?: ((e: ChangeEvent<T>) => void) | undefined;
|
package/layer/LayersManager.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { StyledComponent } from '../style/styled';
|
|
2
|
-
import { ClassName, Styles } from '../types';
|
|
1
|
+
import type { StyledComponent } from '../style/styled';
|
|
2
|
+
import type { ClassName, Styles } from '../types';
|
|
3
3
|
export declare const getLinkThemeFontOverride: Styles;
|
|
4
4
|
export declare const linkStyles: ClassName;
|
|
5
5
|
export declare const StyledLink: StyledComponent;
|
package/link/types.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { AvatarProps } from '../avatar';
|
|
3
|
-
import { ListItemProps } from './types';
|
|
4
|
-
import { Override } from '../overrides';
|
|
2
|
+
import type { AvatarProps } from '../avatar';
|
|
3
|
+
import type { ListItemProps } from './types';
|
|
4
|
+
import type { Override } from '../overrides';
|
|
5
5
|
type SharedProps = {
|
|
6
6
|
$item?: Record<string, any>;
|
|
7
7
|
$labelKey?: string;
|
package/list/list-item-text.d.ts
CHANGED
package/list/list-item.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { Enhancer, ListItemSharedProps } from './types';
|
|
2
|
+
import type { Enhancer, ListItemSharedProps } from './types';
|
|
3
3
|
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<Omit<React.AllHTMLAttributes<HTMLElement>, "className" | "style"> & {
|
|
4
4
|
$as?: React.ElementType | undefined;
|
|
5
5
|
className?: import("..").ClassName;
|
package/list/styled-component.js
CHANGED
|
@@ -51,7 +51,7 @@ var getListItemCompactStyles = function (_a) {
|
|
|
51
51
|
return 'pt-[--sw-padding-block-start] pb-[--sw-padding-block-end] px-2 text-14 leading-150 font-400 rounded-8 mb-1 last:mb-0';
|
|
52
52
|
};
|
|
53
53
|
exports.StyledListItem = (0, style_1.styledWithCssVariables)('li', { '--sw-padding-block-start': '0.55rem', '--sw-padding-block-end': '0.55rem' }, getListItemCompactStyles, cvaConfigs_1.listItemCVA,
|
|
54
|
-
// @ts-expect-error
|
|
54
|
+
// @ts-expect-error -- theme override helper is not in styledWithCssVariables overload
|
|
55
55
|
exports.getBackgroundColorThemeOverride);
|
|
56
56
|
exports.StyledListItemText = (0, style_1.styled)('div', cvaConfigs_1.listItemTextCVA);
|
|
57
57
|
exports.StyledPrimaryText = (0, style_1.styled)('div', cvaConfigs_1.primaryTextCVA);
|
package/loader/types.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { PropsWithChildren, ReactNode } from 'react';
|
|
2
|
-
import { Override } from '../overrides';
|
|
3
|
-
import { Intent, SpacewebComponentProps } from '../types';
|
|
1
|
+
import type { PropsWithChildren, ReactNode } from 'react';
|
|
2
|
+
import type { Override } from '../overrides';
|
|
3
|
+
import type { Intent, SpacewebComponentProps } from '../types';
|
|
4
4
|
export type Variant = 'clip' | 'beat' | 'spinner';
|
|
5
5
|
export type SharedProps = {
|
|
6
6
|
$variant: Variant;
|
package/locale/context.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { Locale } from './types';
|
|
2
|
+
import type { Locale } from './types';
|
|
3
3
|
type DeepPartial<T> = {
|
|
4
4
|
[P in keyof T]?: T[P] extends Array<infer U> ? Array<DeepPartial<U>> : T[P] extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : DeepPartial<T[P]>;
|
|
5
5
|
};
|
package/locale/en_US.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Locale } from './types';
|
|
1
|
+
import type { Locale } from './types';
|
|
2
2
|
export declare const DEFAULT_LOCALE: Locale;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ReactElement, PropsWithChildren } from 'react';
|
|
2
|
-
import { ContextMenuInfo } from './types';
|
|
1
|
+
import type { ReactElement, PropsWithChildren } from 'react';
|
|
2
|
+
import type { ContextMenuInfo } from './types';
|
|
3
3
|
export declare const NestedMenuContext: import("react").Context<Partial<{
|
|
4
4
|
registerMenu: (menuInfo: ContextMenuInfo) => void;
|
|
5
5
|
unregisterMenu: (menuRef?: HTMLElement | undefined) => void;
|
package/modal/adapter.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ROLE } from '../baseui/modal';
|
|
2
|
-
import { StyleUtils } from '../types';
|
|
3
|
-
import { Role, Size } from './types';
|
|
4
|
-
import { ValueOf } from '../utility-types';
|
|
2
|
+
import type { StyleUtils } from '../types';
|
|
3
|
+
import type { Role, Size } from './types';
|
|
4
|
+
import type { ValueOf } from '../utility-types';
|
|
5
5
|
export declare const getWidthFromSize: ({ px2rem }: StyleUtils, size: Size) => string;
|
|
6
6
|
export declare const roleMap: Record<Role, ValueOf<typeof ROLE>>;
|
package/modal/modal-footer.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { ModalFooterProps } from './types';
|
|
1
|
+
import type { ReactElement } from 'react';
|
|
2
|
+
import type { ModalFooterProps } from './types';
|
|
3
3
|
declare const ModalFooter: {
|
|
4
4
|
({ noBorder, ...props }: ModalFooterProps): ReactElement;
|
|
5
5
|
displayName: string;
|
package/modal/overrides.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { IconButtonProps } from '../button/IconButton';
|
|
2
|
-
import { ClassName, StyleUtils } from '../types';
|
|
3
|
-
import { SharedProps } from './types';
|
|
1
|
+
import type { IconButtonProps } from '../button/IconButton';
|
|
2
|
+
import type { ClassName, StyleUtils } from '../types';
|
|
3
|
+
import type { SharedProps } from './types';
|
|
4
4
|
export declare const getDialogContainerStyles: ClassName;
|
|
5
5
|
export declare const getDialogStyles: ClassName;
|
|
6
6
|
export declare const getCloseButtonProps: (_utils: StyleUtils, { $dialogSize }: SharedProps, ariaLabel: string) => IconButtonProps;
|
package/number/Number.d.ts
CHANGED
package/number/constants.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { CompactAutoFormat } from '../utils/intlNumberFormatUtils/types';
|
|
1
|
+
import type { CompactAutoFormat } from '../utils/intlNumberFormatUtils/types';
|
|
2
2
|
export declare const DEFAULT_VARIANT: CompactAutoFormat;
|
package/number/types.d.ts
CHANGED
package/number/useNumber.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { NumberProps } from './types';
|
|
1
|
+
import type { NumberProps } from './types';
|
|
2
2
|
export declare const useNumber: ({ value, variant, numberOptions }: NumberProps) => string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Override, OverrideObject, Overrides, OverridesObject } from './types';
|
|
1
|
+
import type { Override, OverrideObject, Overrides, OverridesObject } from './types';
|
|
2
2
|
declare const mergeOverride: <T>(_target?: Override<T> | undefined, _source?: Override<T> | undefined) => OverrideObject<T>;
|
|
3
3
|
declare const mergeOverrides: <T>(target?: Overrides<T>, source?: Overrides<T>) => OverridesObject<T>;
|
|
4
4
|
export { mergeOverrides, mergeOverride };
|
package/overrides/types.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @author Ivan Torres
|
|
3
3
|
*/
|
|
4
|
-
import * as React from 'react';
|
|
5
|
-
import { Styles, ClassName } from '../types';
|
|
6
|
-
export type StyleOverride<
|
|
4
|
+
import type * as React from 'react';
|
|
5
|
+
import type { Styles, ClassName } from '../types';
|
|
6
|
+
export type StyleOverride<_P> = Styles;
|
|
7
7
|
type ComponentWithProps<P> = React.ComponentType<P> | React.ForwardRefRenderFunction<unknown, P>;
|
|
8
8
|
type ComponentOverride<P> = ComponentWithProps<P> | ComponentWithProps<P & {
|
|
9
9
|
$DefaultComponent: React.ComponentType<P>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { Override } from './types';
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import type { Override } from './types';
|
|
3
3
|
declare const getOverrides: <T, P>(override: Override<T> | undefined, defaultComponent: React.ComponentType<any>) => [React.ComponentType<P & Record<string, unknown>>, Record<string, unknown>];
|
|
4
4
|
/**
|
|
5
5
|
* Wrapper on top of getOverrides of baseui.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sprinklrjs/spaceweb",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.12.0",
|
|
4
4
|
"description": "Components for SpaceWeb",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "./esm/index.js",
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
"ts-node": "^10.4.0"
|
|
101
101
|
},
|
|
102
102
|
"peerDependencies": {
|
|
103
|
-
"@sprinklrjs/spaceweb-themes": "14.
|
|
103
|
+
"@sprinklrjs/spaceweb-themes": "14.12.0",
|
|
104
104
|
"react": ">=17.0.2 <19.0.0",
|
|
105
105
|
"react-dom": ">=17.0.2 <19.0.0"
|
|
106
106
|
}
|
|
@@ -2,8 +2,16 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
var tslib_1 = require("tslib");
|
|
4
4
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
/*
|
|
6
|
+
Copyright (c) Uber Technologies, Inc.
|
|
7
|
+
|
|
8
|
+
This source code is licensed under the MIT license found in the
|
|
9
|
+
LICENSE file in the root directory of this source tree.
|
|
10
|
+
*/
|
|
5
11
|
var Amex = function (_a) {
|
|
6
12
|
var size = _a.size;
|
|
7
|
-
return (
|
|
13
|
+
return (
|
|
14
|
+
// eslint-disable-next-line react/forbid-elements -- payment brand mark must be raw svg
|
|
15
|
+
(0, jsx_runtime_1.jsxs)("svg", tslib_1.__assign({ width: size, height: size, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [(0, jsx_runtime_1.jsx)("path", { d: "M23 4H1V20H23V4Z", fill: "#1071CC" }), (0, jsx_runtime_1.jsxs)("g", tslib_1.__assign({ clipPath: "url(#clip0)" }, { children: [(0, jsx_runtime_1.jsx)("path", { d: "M20.4052 6H23.0031V11.6554V13.3873L21.6423 14.8365L23.0031 16.268V18H20.8647L19.7689 16.7982L18.6909 18H11.657V12.3446H9.3772L12.1872 6H14.9089L15.8809 8.15611V6H19.2388L19.822 7.64359L20.4052 6Z", fill: "#fff" }), (0, jsx_runtime_1.jsx)("path", { d: "M11.9926 11.6554H10.5081L12.6995 6.70691H14.4315L16.6053 11.5847V6.70691H18.7084L19.8218 9.76435L20.9175 6.70691H23.0029V11.6554H21.6598V8.24446L20.3873 11.6554H19.1855L17.9484 8.24446V11.6554H15.103L14.6612 10.6833H12.3991L11.9926 11.6554Z", fill: "#1071CC" }), (0, jsx_runtime_1.jsx)("path", { d: "M14.2018 9.55227L13.5302 7.97937L12.8586 9.55227H14.2018Z", fill: "#fff" }), (0, jsx_runtime_1.jsx)("path", { d: "M12.3992 17.3108V12.3623H18.3903L19.8042 13.9529L21.2534 12.3623H23.003L20.6702 14.8365L23.003 17.3108H21.2357L19.7688 15.7379L18.3373 17.3108H12.3992Z", fill: "#1071CC" }), (0, jsx_runtime_1.jsx)("path", { d: "M13.7422 14.271V13.5288H16.6052L16.6229 12.3977L18.9381 14.8366L16.6052 17.2755V16.1444H13.7422V15.4021H16.5345V14.271H13.7422Z", fill: "#fff" })] })), (0, jsx_runtime_1.jsx)("defs", { children: (0, jsx_runtime_1.jsx)("clipPath", tslib_1.__assign({ id: "clip0" }, { children: (0, jsx_runtime_1.jsx)("rect", { width: "14", height: "14", fill: "#fff", transform: "translate(9 5)" }) })) })] })));
|
|
8
16
|
};
|
|
9
17
|
exports.default = Amex;
|
|
@@ -2,8 +2,16 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
var tslib_1 = require("tslib");
|
|
4
4
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
/*
|
|
6
|
+
Copyright (c) Uber Technologies, Inc.
|
|
7
|
+
|
|
8
|
+
This source code is licensed under the MIT license found in the
|
|
9
|
+
LICENSE file in the root directory of this source tree.
|
|
10
|
+
*/
|
|
5
11
|
var DinersClub = function (_a) {
|
|
6
12
|
var size = _a.size;
|
|
7
|
-
return (
|
|
13
|
+
return (
|
|
14
|
+
// eslint-disable-next-line react/forbid-elements -- payment brand mark must be raw svg
|
|
15
|
+
(0, jsx_runtime_1.jsxs)("svg", tslib_1.__assign({ width: size, height: size, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [(0, jsx_runtime_1.jsx)("path", { d: "M23 4H1V20H23V4Z", fill: "#00AEEF" }), (0, jsx_runtime_1.jsx)("path", { d: "M13 6C12.66 6 11.34 6 11 6C7.69 6 5 8.69 5 12C5 15.31 7.69 18 11 18C11.34 18 12.66 18 13 18C16.31 18 19 15.31 19 12C19 8.69 16.31 6 13 6Z", fill: "#0269A8" }), (0, jsx_runtime_1.jsx)("path", { d: "M11 7C8.24 7 6 9.24 6 12C6 14.76 8.24 17 11 17C13.76 17 16 14.76 16 12C16 9.24 13.76 7 11 7ZM7.5 12C7.5 10.33 8.68 8.93 10.25 8.59V15.42C8.68 15.07 7.5 13.67 7.5 12ZM11.75 15.41V8.57999C13.32 8.91999 14.5 10.32 14.5 11.99C14.5 13.66 13.32 15.07 11.75 15.41Z", fill: "#fff" })] })));
|
|
8
16
|
};
|
|
9
17
|
exports.default = DinersClub;
|
|
@@ -2,8 +2,16 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
var tslib_1 = require("tslib");
|
|
4
4
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
/*
|
|
6
|
+
Copyright (c) Uber Technologies, Inc.
|
|
7
|
+
|
|
8
|
+
This source code is licensed under the MIT license found in the
|
|
9
|
+
LICENSE file in the root directory of this source tree.
|
|
10
|
+
*/
|
|
5
11
|
var Discover = function (_a) {
|
|
6
12
|
var size = _a.size;
|
|
7
|
-
return (
|
|
13
|
+
return (
|
|
14
|
+
// eslint-disable-next-line react/forbid-elements -- payment brand mark must be raw svg
|
|
15
|
+
(0, jsx_runtime_1.jsxs)("svg", tslib_1.__assign({ width: size, height: size, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [(0, jsx_runtime_1.jsx)("path", { d: "M23 4H1V20H23V4Z", fill: "#E7E7E7" }), (0, jsx_runtime_1.jsx)("path", { d: "M3.54 12.4401C3.54 12.4401 4.74 12.5701 4.74 11.5201V11.5001C4.74 10.4401 3.54 10.58 3.54 10.58V12.4401ZM3 10.0701H3.93C4.49 10.0701 5.31 10.5801 5.31 11.4801V11.4901V11.5001C5.31 12.4001 4.49 12.9101 3.93 12.9101H3V10.0701Z", fill: "#000" }), (0, jsx_runtime_1.jsx)("path", { d: "M6.13006 10.0701H5.56006V12.9201H6.13006V10.0701Z", fill: "#000" }), (0, jsx_runtime_1.jsx)("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M7.87007 10.73C7.87007 10.73 7.68007 10.51 7.43007 10.51C7.18007 10.51 7.03007 10.68 7.03007 10.8C7.03007 10.92 7.03007 10.99 7.39007 11.14C7.75007 11.29 8.28007 11.4 8.28007 12.03C8.28007 12.66 7.78007 12.99 7.34007 12.99C6.63007 12.99 6.32007 12.45 6.32007 12.45L6.68007 12.09C6.68007 12.09 6.91007 12.47 7.30007 12.47C7.69007 12.47 7.71007 12.17 7.71007 12.07C7.71007 11.92 7.63007 11.78 7.38007 11.69C7.14007 11.6 6.47007 11.51 6.47007 10.87C6.47007 10.3 6.90007 10.01 7.38007 10.01C7.81007 10.01 8.18007 10.35 8.18007 10.35L7.87007 10.73Z", fill: "#000" }), (0, jsx_runtime_1.jsx)("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M10.65 10.84C10.47 10.66 10.23 10.53 9.95996 10.53C9.41996 10.53 8.98996 10.96 8.98996 11.5C8.98996 12.04 9.41996 12.47 9.95996 12.47C10.23 12.47 10.48 12.34 10.65 12.16V12.83C10.44 12.94 10.21 13 9.95996 13C9.12996 13 8.45996 12.33 8.45996 11.5C8.45996 10.67 9.12996 10 9.95996 10C10.21 10 10.44 10.06 10.65 10.17V10.84Z", fill: "#000" }), (0, jsx_runtime_1.jsx)("path", { d: "M13.75 10.0701H14.37L15.15 11.9401L15.89 10.0701H16.51L15.31 12.9901H14.95L13.75 10.0701Z", fill: "#000" }), (0, jsx_runtime_1.jsx)("path", { d: "M19.2199 10.5401V11.3701H19.5299C19.7699 11.3701 19.9099 11.1601 19.9099 10.9701V10.9301C19.9099 10.7401 19.7599 10.5301 19.5299 10.5301H19.2199V10.5401ZM18.6699 10.0701H19.5999C19.8999 10.0701 20.4899 10.2301 20.4899 10.9101C20.4899 11.5901 19.8799 11.7301 19.8799 11.7301L20.7499 12.9201H20.0599L19.2899 11.7801H19.2299V12.9201H18.6699V10.0701Z", fill: "#000" }), (0, jsx_runtime_1.jsx)("path", { d: "M18.25 11.1901V11.7001H17.28V12.4201H18.3V12.9201H16.72V10.0701H18.3V10.5701H17.28V11.1901H18.25Z", fill: "#000" }), (0, jsx_runtime_1.jsx)("path", { d: "M12.3699 12.99C13.1873 12.99 13.8499 12.3274 13.8499 11.51C13.8499 10.6927 13.1873 10.03 12.3699 10.03C11.5525 10.03 10.8899 10.6927 10.8899 11.51C10.8899 12.3274 11.5525 12.99 12.3699 12.99Z", fill: "#F58221" }), (0, jsx_runtime_1.jsx)("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M23 14.28V20H8C11.9 19.1 17.56 17.86 23 14.28Z", fill: "#F58221" })] })));
|
|
8
16
|
};
|
|
9
17
|
exports.default = Discover;
|