twenty-ui 2.45.0 → 2.47.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/README.md +24 -18
- package/dist/{AllIcons-Cz8pObev.cjs → AllIcons-DrlkKKQf.cjs} +1 -1
- package/dist/{AllIcons-CFMhMGzh.js → AllIcons-G3nKeM41.js} +1 -1
- package/dist/Avatar-CQhIEazb.cjs +1 -0
- package/dist/Avatar-D-QA0RE5.js +72 -0
- package/dist/Button-COxEKIHL.cjs +1 -0
- package/dist/Button-Cs07psdD.js +72 -0
- package/dist/Dropdown-BBUGkQQV.cjs +1 -0
- package/dist/Dropdown-CScN_olN.js +784 -0
- package/dist/{Heading-CQqDjovJ.cjs → Heading-CTRYClCO.cjs} +1 -1
- package/dist/{Heading-DvxTKEaL.js → Heading-pXllCJCO.js} +4 -4
- package/dist/Input-DZWl81G_.js +23 -0
- package/dist/Input-DvL77rvu.cjs +1 -0
- package/dist/ListItem-CXu35dzp.js +86 -0
- package/dist/ListItem-q6DHGlev.cjs +1 -0
- package/dist/ListItem.module-Ar-vZ7Qu.js +34 -0
- package/dist/ListItem.module-B8NeDH1P.cjs +1 -0
- package/dist/Loader-Bb72CUQ9.cjs +1 -0
- package/dist/Loader-DtHWQH8w.js +29 -0
- package/dist/OverflowingTextWithTooltip-Be2-wCcZ.js +88 -0
- package/dist/OverflowingTextWithTooltip-BlufG-6n.cjs +1 -0
- package/dist/Popover-CWeCV7X9.js +57 -0
- package/dist/Popover-CneCJTvD.cjs +1 -0
- package/dist/ProgressBar-D_3Gia0E.js +84 -0
- package/dist/ProgressBar-oF1qVHFx.cjs +1 -0
- package/dist/ProgressRing-8mYV9cxE.js +68 -0
- package/dist/ProgressRing-g1nHGyUp.cjs +1 -0
- package/dist/Radio-BMoQHDe7.js +103 -0
- package/dist/Radio-D_YUizSv.cjs +1 -0
- package/dist/ResizeHandle-Bjg4R0c-.js +191 -0
- package/dist/ResizeHandle-CNlQ4TEE.cjs +1 -0
- package/dist/Separator-0LzwPfOn.js +10 -0
- package/dist/Separator-UJVlrTzw.cjs +1 -0
- package/dist/Shortcut-DKfB0kej.js +71 -0
- package/dist/Shortcut-ZuZ-KYSk.cjs +1 -0
- package/dist/Switch-Ck8QAAbb.cjs +1 -0
- package/dist/Switch-DOd0gh7W.js +25 -0
- package/dist/TintedIconTile-4BGa8g8n.js +40 -0
- package/dist/TintedIconTile-CU2hCerq.cjs +1 -0
- package/dist/Tooltip-BMkznyoi.js +120 -0
- package/dist/Tooltip-JOYVeSsf.cjs +1 -0
- package/dist/VisuallyHidden-B-n4x1KY.cjs +1 -0
- package/dist/VisuallyHidden-CFZP7ybO.js +14 -0
- package/dist/components/code-editor/CodeEditorHeader/CodeEditorHeader.d.ts +1 -1
- package/dist/components/code-editor/CodeEditorHeader/types/CodeEditorHeaderProps.d.ts +6 -4
- package/dist/components/code-editor.cjs +1 -1
- package/dist/components/code-editor.mjs +76 -69
- package/dist/components/data-display/AvatarGroup/AvatarGroup.d.ts +1 -1
- package/dist/components/data-display/AvatarGroup/__stories__/AvatarGroupIdentityExample.d.ts +1 -0
- package/dist/components/data-display/AvatarGroup/__stories__/AvatarGroupStatefulAvatar.d.ts +3 -0
- package/dist/components/data-display/AvatarGroup/types/AvatarGroupProps.d.ts +4 -4
- package/dist/components/data-display/CommandBlock/CommandBlock.d.ts +2 -7
- package/dist/components/data-display/CommandBlock/types/CommandBlockProps.d.ts +6 -0
- package/dist/components/data-display/MetricRow/MetricRow.d.ts +1 -1
- package/dist/components/data-display/MetricRow/types/MetricRowProps.d.ts +2 -3
- package/dist/components/data-display/StackIcon/StackIcon.d.ts +2 -0
- package/dist/components/data-display/StackIcon/types/StackIconProps.d.ts +6 -0
- package/dist/components/data-display/TintedIconTile/TintedIconTile.d.ts +1 -1
- package/dist/components/data-display/TintedIconTile/types/TintedIconTileProps.d.ts +4 -5
- package/dist/components/data-display/index.d.ts +18 -0
- package/dist/components/data-display.cjs +1 -0
- package/dist/components/data-display.mjs +11 -0
- package/dist/components/feedback/Callout/Callout.d.ts +3 -2
- package/dist/components/feedback/Callout/internal/CalloutAction.d.ts +2 -0
- package/dist/components/feedback/Callout/internal/CalloutComponent.d.ts +2 -0
- package/dist/components/feedback/Callout/types/CalloutActionProps.d.ts +2 -0
- package/dist/components/feedback/Callout/types/CalloutColor.d.ts +2 -0
- package/dist/components/feedback/Callout/types/CalloutProps.d.ts +14 -12
- package/dist/components/feedback/Callout/types/CalloutState.d.ts +8 -0
- package/dist/components/feedback/Callout/types/CalloutStatus.d.ts +2 -0
- package/dist/components/feedback/Callout/types/CalloutVariant.d.ts +1 -1
- package/dist/components/feedback/InlineBanner/InlineBanner.d.ts +3 -2
- package/dist/components/feedback/InlineBanner/internal/InlineBannerComponent.d.ts +2 -0
- package/dist/components/feedback/InlineBanner/types/InlineBannerLayout.d.ts +1 -0
- package/dist/components/feedback/InlineBanner/types/InlineBannerProps.d.ts +4 -10
- package/dist/components/feedback/Toast/Toast.d.ts +1 -1
- package/dist/components/feedback/Toast/hooks/useToast.d.ts +3 -2
- package/dist/components/feedback/Toast/internal/components/ToastCountdownEffect.d.ts +9 -0
- package/dist/components/feedback/Toast/internal/components/ToastFocusEffect.d.ts +7 -0
- package/dist/components/feedback/Toast/internal/components/ToastProgress.d.ts +3 -2
- package/dist/components/feedback/Toast/internal/contexts/ToastTimingContext.d.ts +4 -0
- package/dist/components/feedback/Toast/internal/hooks/useToastCountdown.d.ts +23 -0
- package/dist/components/feedback/Toast/internal/hooks/useUpdateToast.d.ts +4 -0
- package/dist/components/feedback/Toast/internal/types/ToastEntry.d.ts +1 -0
- package/dist/components/feedback/Toast/internal/utils/createToastCountdown.d.ts +22 -0
- package/dist/components/feedback/Toast/internal/utils/isCountdownDuration.d.ts +1 -0
- package/dist/components/feedback/Toast/internal/utils/updateToastInStore.d.ts +5 -0
- package/dist/components/feedback/Toast/types/ToastProps.d.ts +4 -6
- package/dist/components/feedback/Toast/types/ToastStatus.d.ts +1 -0
- package/dist/components/feedback/Toast/types/ToastUpdate.d.ts +4 -0
- package/dist/components/feedback/Toaster/__stories__/DefaultTimingDuration.d.ts +1 -0
- package/dist/components/feedback/Toaster/__stories__/ToastUpdateControls.d.ts +2 -0
- package/dist/components/feedback/Toaster/__stories__/ToasterRootReplacementExample.d.ts +2 -0
- package/dist/components/feedback/Toaster/__stories__/ToasterSelfRemovingActionExample.d.ts +2 -0
- package/dist/components/feedback/Toaster/__stories__/ToasterTimingExample.d.ts +2 -0
- package/dist/components/feedback/Toaster/__stories__/ToasterTimingExampleProps.d.ts +6 -0
- package/dist/components/feedback/Toaster/__stories__/ToasterUpdateExample.d.ts +2 -0
- package/dist/components/feedback/Toaster/__stories__/ToasterUpdateExampleProps.d.ts +8 -0
- package/dist/components/feedback/index.d.ts +21 -0
- package/dist/components/feedback.cjs +1 -0
- package/dist/components/feedback.mjs +9 -0
- package/dist/components/index.d.ts +6 -85
- package/dist/components/input/CountrySelect/CountrySelect.d.ts +2 -0
- package/dist/components/input/CountrySelect/__stories__/COUNTRY_CHOICES.d.ts +5 -0
- package/dist/components/input/CountrySelect/__stories__/CountrySelectAvailabilityExample.d.ts +8 -0
- package/dist/components/input/CountrySelect/__stories__/CountrySelectExample.d.ts +2 -0
- package/dist/components/input/CountrySelect/__stories__/assertCountryAvailabilityReset.d.ts +5 -0
- package/dist/components/input/CountrySelect/__stories__/waitForCountryPopup.d.ts +4 -0
- package/dist/components/input/CountrySelect/internal/CountrySelectAvailabilityEffect.d.ts +7 -0
- package/dist/components/input/CountrySelect/internal/CountrySelectOptions.d.ts +11 -0
- package/dist/components/input/CountrySelect/internal/getCountrySelectLabelledBy.d.ts +5 -0
- package/dist/components/input/CountrySelect/types/CountryChoice.d.ts +6 -0
- package/dist/components/input/CountrySelect/types/CountrySelectProps.d.ts +15 -0
- package/dist/components/input/CurrencyPicker/CurrencyPicker.d.ts +4 -0
- package/dist/components/input/CurrencyPicker/__stories__/CurrencyPickerExample.d.ts +11 -0
- package/dist/components/input/CurrencyPicker/__stories__/currencyPickerStoryOptions.d.ts +9 -0
- package/dist/components/input/CurrencyPicker/__stories__/openCurrencyPicker.d.ts +8 -0
- package/dist/components/input/CurrencyPicker/internal/CurrencyPickerOptions.d.ts +2 -0
- package/dist/components/input/CurrencyPicker/internal/CurrencyPickerTrigger.d.ts +2 -0
- package/dist/components/input/CurrencyPicker/internal/getCurrencyPickerLabel.d.ts +2 -0
- package/dist/components/input/CurrencyPicker/types/CurrencyPickerOption.d.ts +5 -0
- package/dist/components/input/CurrencyPicker/types/CurrencyPickerOptionsProps.d.ts +10 -0
- package/dist/components/input/CurrencyPicker/types/CurrencyPickerTriggerProps.d.ts +4 -0
- package/dist/components/input/IconButton/types/IconButtonProps.d.ts +8 -3
- package/dist/components/input/ImageInput/ImageInput.d.ts +1 -1
- package/dist/components/input/ImageInput/types/ImageInputProps.d.ts +4 -4
- package/dist/components/input/NumberStepper/NumberStepper.d.ts +2 -0
- package/dist/{primitives → components}/input/NumberStepper/internal/utils/isBlurRoundingOfCurrentValue.d.ts +2 -2
- package/dist/components/input/NumberStepper/types/NumberStepperProps.d.ts +8 -0
- package/dist/components/input/PhoneCountryPicker/PhoneCountryPicker.d.ts +4 -0
- package/dist/components/input/PhoneCountryPicker/__stories__/PhoneCountryPickerExample.d.ts +12 -0
- package/dist/components/input/PhoneCountryPicker/__stories__/openPhoneCountryPicker.d.ts +8 -0
- package/dist/components/input/PhoneCountryPicker/__stories__/phoneCountryOptions.d.ts +2 -0
- package/dist/components/input/PhoneCountryPicker/__stories__/phoneCountryPickerStoryA11yParameters.d.ts +12 -0
- package/dist/components/input/PhoneCountryPicker/internal/PhoneCountryPickerOptions.d.ts +2 -0
- package/dist/components/input/PhoneCountryPicker/internal/PhoneCountryPickerTrigger.d.ts +2 -0
- package/dist/components/input/PhoneCountryPicker/internal/getPhoneCountryOptionLabel.d.ts +2 -0
- package/dist/components/input/PhoneCountryPicker/types/PhoneCountryOption.d.ts +7 -0
- package/dist/components/input/PhoneCountryPicker/types/PhoneCountryPickerOptionsProps.d.ts +8 -0
- package/dist/components/input/PhoneCountryPicker/types/PhoneCountryPickerTriggerProps.d.ts +6 -0
- package/dist/{primitives → components}/input/SegmentedControl/types/SegmentedControlProps.d.ts +1 -1
- package/dist/components/input/index.d.ts +28 -0
- package/dist/components/input.cjs +1 -0
- package/dist/components/input.mjs +15 -0
- package/dist/components/layout/AnimatedIconCrossfade/AnimatedIconCrossfade.d.ts +2 -9
- package/dist/components/layout/AnimatedIconCrossfade/types/AnimatedIconCrossfadeProps.d.ts +7 -0
- package/dist/components/layout/Section/Section.d.ts +2 -2
- package/dist/components/layout/Section/internal/SectionHeader.d.ts +1 -1
- package/dist/components/layout/Section/types/SectionHeaderProps.d.ts +3 -2
- package/dist/components/layout/index.d.ts +7 -0
- package/dist/components/layout.cjs +1 -0
- package/dist/components/layout.mjs +6 -0
- package/dist/components/navigation/Dropdown/Dropdown.d.ts +13 -13
- package/dist/components/navigation/Dropdown/internal/DropdownActionItem.d.ts +1 -1
- package/dist/components/navigation/Dropdown/internal/DropdownBack.d.ts +1 -1
- package/dist/components/navigation/Dropdown/internal/DropdownContent.d.ts +1 -1
- package/dist/components/navigation/Dropdown/internal/DropdownGroup.d.ts +4 -0
- package/dist/components/navigation/Dropdown/internal/DropdownGroupLabel.d.ts +4 -0
- package/dist/components/navigation/Dropdown/internal/DropdownItemOwner.d.ts +4 -0
- package/dist/components/navigation/Dropdown/internal/DropdownItemWithActions.d.ts +7 -0
- package/dist/components/navigation/Dropdown/internal/DropdownOptionItem.d.ts +1 -1
- package/dist/components/navigation/Dropdown/internal/DropdownSection.d.ts +1 -1
- package/dist/components/navigation/Dropdown/internal/getNativeDisabled.d.ts +4 -0
- package/dist/components/navigation/Dropdown/internal/getNextDropdownGridItem.d.ts +7 -0
- package/dist/components/navigation/Dropdown/internal/getNextDropdownItem.d.ts +2 -1
- package/dist/components/navigation/Dropdown/internal/useDropdownItemFocus.d.ts +2 -1
- package/dist/components/navigation/Dropdown/types/DropdownActionItemProps.d.ts +1 -1
- package/dist/components/navigation/Dropdown/types/DropdownContentProps.d.ts +3 -1
- package/dist/components/navigation/Dropdown/types/DropdownDismissEvent.d.ts +1 -0
- package/dist/components/navigation/Dropdown/types/DropdownSectionProps.d.ts +1 -0
- package/dist/components/navigation/Dropdown/types/DropdownSubmenuTriggerProps.d.ts +1 -1
- package/dist/components/navigation/Dropdown/types/DropdownTriggerProps.d.ts +1 -1
- package/dist/components/navigation/ListItemButton/ListItemButton.d.ts +2 -0
- package/dist/components/navigation/ListItemButton/types/ListItemButtonProps.d.ts +4 -0
- package/dist/components/navigation/MenuItem/parts/MenuItemIconWithGripSwap.d.ts +4 -5
- package/dist/components/navigation/MenuItemDraggable/MenuItemDraggable.d.ts +1 -1
- package/dist/components/navigation/MenuItemDraggable/types/MenuItemDraggableProps.d.ts +1 -0
- package/dist/components/navigation/TabButton/types/TabButtonProps.d.ts +1 -1
- package/dist/components/navigation/index.d.ts +35 -0
- package/dist/components/navigation.cjs +1 -0
- package/dist/components/navigation.mjs +14 -0
- package/dist/components/settings/SettingsRow/SettingsRow.d.ts +2 -0
- package/dist/components/settings/SettingsRow/__stories__/ControlledSettingsRowFormExample.d.ts +2 -0
- package/dist/components/settings/SettingsRow/internal/SettingsRowLabel.d.ts +2 -0
- package/dist/components/settings/SettingsRow/types/SettingsRowProps.d.ts +11 -0
- package/dist/components/settings/index.d.ts +2 -0
- package/dist/components/settings.cjs +1 -0
- package/dist/components/settings.mjs +4 -0
- package/dist/components.cjs +1 -1
- package/dist/components.mjs +46 -33
- package/dist/data-display-BMV-nC-9.js +181 -0
- package/dist/data-display-BkujQe5v.cjs +1 -0
- package/dist/data-display-DU3G8ZyI.js +344 -0
- package/dist/data-display-DjhAHvj1.cjs +2 -0
- package/dist/feedback-B5x8tmnG.cjs +1 -0
- package/dist/feedback-DA-AU5z5.js +38 -0
- package/dist/feedback-DNLERYY9.cjs +1 -0
- package/dist/feedback-DhilJ_fX.js +509 -0
- package/dist/getProgressIndicatorPercentage-Mii9lnYd.cjs +1 -0
- package/dist/getProgressIndicatorPercentage-ejfaM6XU.js +7 -0
- package/dist/handleClickableElementKeyDown-C8Uz61XJ.js +6 -0
- package/dist/handleClickableElementKeyDown-CByqtBhO.cjs +1 -0
- package/dist/icon/components/TablerIcons.d.ts +1 -1
- package/dist/icon/index.d.ts +1 -1
- package/dist/{icon-B7aZ6RxF.js → icon-BdXwnJA6.js} +552 -548
- package/dist/{icon-DK8OPi-m.cjs → icon-JuDK6Wxr.cjs} +1 -1
- package/dist/icon.cjs +1 -1
- package/dist/icon.mjs +468 -464
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +661 -631
- package/dist/input-BEKjAOjS.cjs +1 -0
- package/dist/input-BUgnp6eA.js +559 -0
- package/dist/input-Bnu5kNjg.cjs +1 -0
- package/dist/input-vl6yK36n.js +421 -0
- package/dist/layout-BKHabkTu.js +267 -0
- package/dist/layout-d4uPminV.cjs +1 -0
- package/dist/layout-wuIu4rJ3.cjs +1 -0
- package/dist/layout-xYrynD7_.js +29 -0
- package/dist/mergeClassNames-ClFMR1v0.js +6 -0
- package/dist/mergeClassNames-D4lshrT6.cjs +1 -0
- package/dist/navigation-B1hPNYv2.cjs +1 -0
- package/dist/navigation-Dg46Wr5m.js +131 -0
- package/dist/navigation-WsiYsmaq.cjs +1 -0
- package/dist/navigation-itBinyPi.js +403 -0
- package/dist/preventDismissingClickActivation-CzWqpjiX.js +44 -0
- package/dist/preventDismissingClickActivation-DZxTSLV3.cjs +1 -0
- package/dist/primitives/accessibility/components/VisuallyHidden.d.ts +2 -0
- package/dist/primitives/accessibility/index.d.ts +2 -1
- package/dist/primitives/accessibility/types/VisuallyHiddenProps.d.ts +2 -0
- package/dist/primitives/accessibility.cjs +1 -1
- package/dist/primitives/accessibility.mjs +4 -3
- package/dist/primitives/data-display/Avatar/Avatar.d.ts +5 -1
- package/dist/primitives/data-display/Avatar/internal/AvatarFallback.d.ts +2 -0
- package/dist/primitives/data-display/Avatar/internal/AvatarImage.d.ts +2 -0
- package/dist/primitives/data-display/Avatar/internal/AvatarRoot.d.ts +2 -0
- package/dist/primitives/data-display/Avatar/internal/getAvatarInitial.d.ts +1 -0
- package/dist/primitives/data-display/Avatar/types/AvatarFallbackProps.d.ts +2 -0
- package/dist/primitives/data-display/Avatar/types/AvatarFallbackState.d.ts +2 -0
- package/dist/primitives/data-display/Avatar/types/AvatarImageLoadingStatus.d.ts +2 -0
- package/dist/primitives/data-display/Avatar/types/AvatarImageProps.d.ts +2 -0
- package/dist/primitives/data-display/Avatar/types/AvatarImageState.d.ts +2 -0
- package/dist/primitives/data-display/Avatar/types/AvatarProps.d.ts +6 -16
- package/dist/primitives/data-display/Avatar/types/AvatarRootProps.d.ts +15 -0
- package/dist/primitives/data-display/Avatar/types/AvatarRootState.d.ts +2 -0
- package/dist/primitives/data-display/Badge/Badge.d.ts +2 -0
- package/dist/primitives/data-display/Badge/types/BadgeColor.d.ts +1 -0
- package/dist/primitives/data-display/Badge/types/BadgeProps.d.ts +9 -0
- package/dist/primitives/data-display/Badge/types/BadgeShape.d.ts +1 -0
- package/dist/primitives/data-display/Badge/types/BadgeSize.d.ts +1 -0
- package/dist/primitives/data-display/Chip/Chip.d.ts +1 -1
- package/dist/primitives/data-display/Chip/types/ChipProps.d.ts +2 -10
- package/dist/primitives/data-display/ColorSample/ColorSample.d.ts +2 -12
- package/dist/primitives/data-display/ColorSample/types/ColorSampleProps.d.ts +8 -0
- package/dist/primitives/data-display/ColorSample/types/ColorSampleVariant.d.ts +1 -0
- package/dist/primitives/data-display/Status/Status.d.ts +1 -1
- package/dist/primitives/data-display/Status/types/StatusProps.d.ts +2 -19
- package/dist/primitives/data-display/Status/types/StatusState.d.ts +4 -0
- package/dist/primitives/data-display/Tag/Tag.d.ts +1 -1
- package/dist/primitives/data-display/Tag/types/TagProps.d.ts +2 -7
- package/dist/primitives/data-display/Tag/types/TagState.d.ts +5 -0
- package/dist/primitives/data-display/index.d.ts +16 -2
- package/dist/primitives/data-display.cjs +1 -1
- package/dist/primitives/data-display.mjs +8 -8
- package/dist/primitives/feedback/Banner/Banner.d.ts +2 -9
- package/dist/primitives/feedback/Banner/internal/BannerAction.d.ts +2 -0
- package/dist/primitives/feedback/Banner/internal/BannerComponent.d.ts +2 -0
- package/dist/primitives/feedback/Banner/types/BannerActionProps.d.ts +2 -0
- package/dist/primitives/feedback/Banner/types/BannerColor.d.ts +1 -0
- package/dist/primitives/feedback/Banner/types/BannerProps.d.ts +13 -0
- package/dist/primitives/feedback/Banner/types/BannerState.d.ts +8 -0
- package/dist/primitives/feedback/Banner/types/BannerStatus.d.ts +1 -0
- package/dist/primitives/feedback/Banner/types/BannerVariant.d.ts +1 -0
- package/dist/primitives/feedback/Loader/Loader.d.ts +2 -6
- package/dist/primitives/feedback/Loader/types/LoaderProps.d.ts +5 -0
- package/dist/primitives/feedback/Progress/Progress.d.ts +1 -0
- package/dist/primitives/feedback/Progress/internal/getProgressIndicatorPercentage.d.ts +7 -0
- package/dist/primitives/feedback/Progress/types/ProgressIndicatorProps.d.ts +2 -0
- package/dist/primitives/feedback/Progress/types/ProgressIndicatorState.d.ts +2 -0
- package/dist/primitives/feedback/Progress/types/ProgressLabelProps.d.ts +2 -0
- package/dist/primitives/feedback/Progress/types/ProgressLabelState.d.ts +2 -0
- package/dist/primitives/feedback/Progress/types/ProgressRootProps.d.ts +2 -0
- package/dist/primitives/feedback/Progress/types/ProgressRootState.d.ts +2 -0
- package/dist/primitives/feedback/Progress/types/ProgressStatus.d.ts +2 -0
- package/dist/primitives/feedback/Progress/types/ProgressTrackProps.d.ts +2 -0
- package/dist/primitives/feedback/Progress/types/ProgressTrackState.d.ts +2 -0
- package/dist/primitives/feedback/Progress/types/ProgressValueProps.d.ts +2 -0
- package/dist/primitives/feedback/Progress/types/ProgressValueState.d.ts +2 -0
- package/dist/primitives/feedback/ProgressBar/ProgressBar.d.ts +1 -1
- package/dist/primitives/feedback/ProgressBar/types/ProgressBarProps.d.ts +2 -8
- package/dist/primitives/feedback/ProgressRing/ProgressRing.d.ts +1 -1
- package/dist/primitives/feedback/ProgressRing/internal/ProgressRingIndicator.d.ts +2 -0
- package/dist/primitives/feedback/ProgressRing/types/ProgressRingProps.d.ts +2 -3
- package/dist/primitives/feedback/Skeleton/Skeleton.d.ts +2 -0
- package/dist/primitives/feedback/Skeleton/constants/SKELETON_HEIGHT_SIZES.d.ts +7 -0
- package/dist/primitives/feedback/Skeleton/types/SkeletonProps.d.ts +11 -0
- package/dist/primitives/feedback/index.d.ts +22 -1
- package/dist/primitives/feedback/internal/constants/FeedbackStatusColors.d.ts +7 -0
- package/dist/primitives/feedback.cjs +1 -1
- package/dist/primitives/feedback.mjs +12 -6
- package/dist/primitives/input/Autocomplete/Autocomplete.d.ts +26 -0
- package/dist/primitives/input/Autocomplete/__stories__/AutocompleteExample.d.ts +4 -0
- package/dist/primitives/input/Autocomplete/__stories__/AutocompleteFilteredCount.d.ts +1 -0
- package/dist/primitives/input/Autocomplete/__stories__/AutocompleteFilteredExample.d.ts +1 -0
- package/dist/primitives/input/Autocomplete/__stories__/AutocompleteGridExample.d.ts +1 -0
- package/dist/primitives/input/Autocomplete/__stories__/AutocompleteGroupedExample.d.ts +1 -0
- package/dist/primitives/input/Autocomplete/__stories__/AutocompletePositionedExample.d.ts +1 -0
- package/dist/primitives/input/Autocomplete/internal/AutocompleteArrow.d.ts +2 -0
- package/dist/primitives/input/Autocomplete/internal/AutocompleteEmpty.d.ts +2 -0
- package/dist/primitives/input/Autocomplete/internal/AutocompleteInput.d.ts +2 -0
- package/dist/primitives/input/Autocomplete/internal/AutocompleteInputGroup.d.ts +2 -0
- package/dist/primitives/input/Autocomplete/internal/AutocompleteItem.d.ts +2 -0
- package/dist/primitives/input/Autocomplete/internal/AutocompleteList.d.ts +2 -0
- package/dist/primitives/input/Autocomplete/internal/AutocompletePopup.d.ts +2 -0
- package/dist/primitives/input/Autocomplete/internal/AutocompletePortal.d.ts +2 -0
- package/dist/primitives/input/Autocomplete/internal/AutocompletePositioner.d.ts +2 -0
- package/dist/primitives/input/Autocomplete/internal/AutocompleteSeparator.d.ts +2 -0
- package/dist/primitives/input/Autocomplete/types/AutocompleteArrowProps.d.ts +2 -0
- package/dist/primitives/input/Autocomplete/types/AutocompleteArrowState.d.ts +2 -0
- package/dist/primitives/input/Autocomplete/types/AutocompleteBackdropProps.d.ts +2 -0
- package/dist/primitives/input/Autocomplete/types/AutocompleteBackdropState.d.ts +2 -0
- package/dist/primitives/input/Autocomplete/types/AutocompleteClearProps.d.ts +2 -0
- package/dist/primitives/input/Autocomplete/types/AutocompleteClearState.d.ts +2 -0
- package/dist/primitives/input/Autocomplete/types/AutocompleteCollectionProps.d.ts +2 -0
- package/dist/primitives/input/Autocomplete/types/AutocompleteCollectionState.d.ts +2 -0
- package/dist/primitives/input/Autocomplete/types/AutocompleteEmptyProps.d.ts +2 -0
- package/dist/primitives/input/Autocomplete/types/AutocompleteEmptyState.d.ts +2 -0
- package/dist/primitives/input/Autocomplete/types/AutocompleteFilter.d.ts +2 -0
- package/dist/primitives/input/Autocomplete/types/AutocompleteFilterOptions.d.ts +2 -0
- package/dist/primitives/input/Autocomplete/types/AutocompleteGroupLabelProps.d.ts +2 -0
- package/dist/primitives/input/Autocomplete/types/AutocompleteGroupLabelState.d.ts +2 -0
- package/dist/primitives/input/Autocomplete/types/AutocompleteGroupProps.d.ts +2 -0
- package/dist/primitives/input/Autocomplete/types/AutocompleteGroupState.d.ts +2 -0
- package/dist/primitives/input/Autocomplete/types/AutocompleteIconProps.d.ts +2 -0
- package/dist/primitives/input/Autocomplete/types/AutocompleteIconState.d.ts +2 -0
- package/dist/primitives/input/Autocomplete/types/AutocompleteInputGroupProps.d.ts +2 -0
- package/dist/primitives/input/Autocomplete/types/AutocompleteInputGroupState.d.ts +2 -0
- package/dist/primitives/input/Autocomplete/types/AutocompleteInputProps.d.ts +5 -0
- package/dist/primitives/input/Autocomplete/types/AutocompleteInputState.d.ts +2 -0
- package/dist/primitives/input/Autocomplete/types/AutocompleteItemProps.d.ts +3 -0
- package/dist/primitives/input/Autocomplete/types/AutocompleteItemState.d.ts +2 -0
- package/dist/primitives/input/Autocomplete/types/AutocompleteListProps.d.ts +2 -0
- package/dist/primitives/input/Autocomplete/types/AutocompleteListState.d.ts +2 -0
- package/dist/primitives/input/Autocomplete/types/AutocompletePopupProps.d.ts +4 -0
- package/dist/primitives/input/Autocomplete/types/AutocompletePopupState.d.ts +2 -0
- package/dist/primitives/input/Autocomplete/types/AutocompletePortalProps.d.ts +2 -0
- package/dist/primitives/input/Autocomplete/types/AutocompletePortalState.d.ts +2 -0
- package/dist/primitives/input/Autocomplete/types/AutocompletePositionerProps.d.ts +2 -0
- package/dist/primitives/input/Autocomplete/types/AutocompletePositionerState.d.ts +2 -0
- package/dist/primitives/input/Autocomplete/types/AutocompleteRootActions.d.ts +2 -0
- package/dist/primitives/input/Autocomplete/types/AutocompleteRootChangeEventDetails.d.ts +2 -0
- package/dist/primitives/input/Autocomplete/types/AutocompleteRootChangeEventReason.d.ts +2 -0
- package/dist/primitives/input/Autocomplete/types/AutocompleteRootHighlightEventDetails.d.ts +2 -0
- package/dist/primitives/input/Autocomplete/types/AutocompleteRootHighlightEventReason.d.ts +2 -0
- package/dist/primitives/input/Autocomplete/types/AutocompleteRootProps.d.ts +2 -0
- package/dist/primitives/input/Autocomplete/types/AutocompleteRootState.d.ts +2 -0
- package/dist/primitives/input/Autocomplete/types/AutocompleteRowProps.d.ts +2 -0
- package/dist/primitives/input/Autocomplete/types/AutocompleteRowState.d.ts +2 -0
- package/dist/primitives/input/Autocomplete/types/AutocompleteSeparatorProps.d.ts +2 -0
- package/dist/primitives/input/Autocomplete/types/AutocompleteSeparatorState.d.ts +2 -0
- package/dist/primitives/input/Autocomplete/types/AutocompleteStatusProps.d.ts +2 -0
- package/dist/primitives/input/Autocomplete/types/AutocompleteStatusState.d.ts +2 -0
- package/dist/primitives/input/Autocomplete/types/AutocompleteTriggerProps.d.ts +2 -0
- package/dist/primitives/input/Autocomplete/types/AutocompleteTriggerState.d.ts +2 -0
- package/dist/primitives/input/Autocomplete/types/AutocompleteValueProps.d.ts +2 -0
- package/dist/primitives/input/Autocomplete/types/AutocompleteValueState.d.ts +2 -0
- package/dist/primitives/input/Button/Button.d.ts +1 -1
- package/dist/primitives/input/Button/types/ButtonLoadingPosition.d.ts +1 -0
- package/dist/primitives/input/Button/types/ButtonProps.d.ts +3 -1
- package/dist/primitives/input/Checkbox/Checkbox.d.ts +4 -2
- package/dist/primitives/input/Checkbox/internal/CheckboxComponent.d.ts +2 -0
- package/dist/primitives/input/Checkbox/internal/CheckboxIndicator.d.ts +2 -0
- package/dist/primitives/input/Checkbox/internal/CheckboxRoot.d.ts +2 -0
- package/dist/primitives/input/Checkbox/types/CheckboxIndicatorProps.d.ts +2 -0
- package/dist/primitives/input/Checkbox/types/CheckboxProps.d.ts +2 -20
- package/dist/primitives/input/Checkbox/types/CheckboxRootProps.d.ts +12 -0
- package/dist/primitives/input/Field/Field.d.ts +4 -3
- package/dist/primitives/input/Field/internal/FieldDescription.d.ts +1 -1
- package/dist/primitives/input/Field/internal/FieldError.d.ts +1 -1
- package/dist/primitives/input/Field/internal/FieldLabel.d.ts +1 -1
- package/dist/primitives/input/Field/types/FieldControlProps.d.ts +2 -0
- package/dist/primitives/input/Field/types/FieldDescriptionProps.d.ts +2 -0
- package/dist/primitives/input/Field/types/FieldErrorProps.d.ts +2 -0
- package/dist/primitives/input/Field/types/FieldItemProps.d.ts +2 -0
- package/dist/primitives/input/Field/types/FieldLabelProps.d.ts +2 -0
- package/dist/primitives/input/Field/types/FieldRootProps.d.ts +2 -0
- package/dist/primitives/input/Field/types/FieldValidityProps.d.ts +2 -0
- package/dist/primitives/input/Input/types/InputProps.d.ts +0 -1
- package/dist/primitives/input/InputGroup/types/InputGroupProps.d.ts +0 -1
- package/dist/primitives/input/NumberField/NumberField.d.ts +9 -0
- package/dist/primitives/input/NumberField/__stories__/ControlledNumberFieldInteractionExample.d.ts +2 -0
- package/dist/primitives/input/NumberField/__stories__/NumberFieldFormInteractionExample.d.ts +2 -0
- package/dist/primitives/input/NumberField/__stories__/NumberFieldInteractionExample.d.ts +4 -0
- package/dist/primitives/input/NumberField/__stories__/NumberFieldScrubInteractionExample.d.ts +2 -0
- package/dist/primitives/input/NumberField/internal/NumberFieldDecrement.d.ts +2 -0
- package/dist/primitives/input/NumberField/internal/NumberFieldGroup.d.ts +2 -0
- package/dist/primitives/input/NumberField/internal/NumberFieldIncrement.d.ts +2 -0
- package/dist/primitives/input/NumberField/internal/NumberFieldInput.d.ts +2 -0
- package/dist/primitives/input/NumberField/types/NumberFieldDecrementProps.d.ts +2 -0
- package/dist/primitives/input/NumberField/types/NumberFieldDecrementState.d.ts +2 -0
- package/dist/primitives/input/NumberField/types/NumberFieldGroupProps.d.ts +2 -0
- package/dist/primitives/input/NumberField/types/NumberFieldGroupState.d.ts +2 -0
- package/dist/primitives/input/NumberField/types/NumberFieldIncrementProps.d.ts +2 -0
- package/dist/primitives/input/NumberField/types/NumberFieldIncrementState.d.ts +2 -0
- package/dist/primitives/input/NumberField/types/NumberFieldInputProps.d.ts +2 -0
- package/dist/primitives/input/NumberField/types/NumberFieldInputState.d.ts +2 -0
- package/dist/primitives/input/NumberField/types/NumberFieldRootChangeEventDetails.d.ts +2 -0
- package/dist/primitives/input/NumberField/types/NumberFieldRootChangeEventReason.d.ts +2 -0
- package/dist/primitives/input/NumberField/types/NumberFieldRootCommitEventDetails.d.ts +2 -0
- package/dist/primitives/input/NumberField/types/NumberFieldRootCommitEventReason.d.ts +2 -0
- package/dist/primitives/input/NumberField/types/NumberFieldRootProps.d.ts +2 -0
- package/dist/primitives/input/NumberField/types/NumberFieldRootState.d.ts +2 -0
- package/dist/primitives/input/NumberField/types/NumberFieldScrubAreaCursorProps.d.ts +2 -0
- package/dist/primitives/input/NumberField/types/NumberFieldScrubAreaCursorState.d.ts +2 -0
- package/dist/primitives/input/NumberField/types/NumberFieldScrubAreaProps.d.ts +2 -0
- package/dist/primitives/input/NumberField/types/NumberFieldScrubAreaState.d.ts +2 -0
- package/dist/primitives/input/Radio/Radio.d.ts +4 -2
- package/dist/primitives/input/Radio/internal/RadioComponent.d.ts +2 -0
- package/dist/primitives/input/Radio/internal/RadioIndicator.d.ts +1 -0
- package/dist/primitives/input/Radio/internal/RadioRoot.d.ts +2 -0
- package/dist/primitives/input/Radio/types/RadioIndicatorProps.d.ts +2 -0
- package/dist/primitives/input/Radio/types/RadioIndicatorState.d.ts +2 -0
- package/dist/primitives/input/Radio/types/RadioRootProps.d.ts +2 -0
- package/dist/primitives/input/Radio/types/RadioRootState.d.ts +2 -0
- package/dist/primitives/input/RadioGroup/types/RadioGroupChangeEventDetails.d.ts +2 -0
- package/dist/primitives/input/RadioGroup/types/RadioGroupChangeEventReason.d.ts +2 -0
- package/dist/primitives/input/RadioGroup/types/RadioGroupState.d.ts +2 -0
- package/dist/primitives/input/Select/Select.d.ts +14 -3
- package/dist/primitives/input/Select/__stories__/SelectExample.d.ts +2 -9
- package/dist/primitives/input/Select/__stories__/SelectExampleProps.d.ts +5 -0
- package/dist/primitives/input/Select/__stories__/SelectPositioningExample.d.ts +2 -0
- package/dist/primitives/input/Select/__stories__/selectItems.d.ts +4 -0
- package/dist/primitives/input/Select/internal/SelectIcon.d.ts +2 -0
- package/dist/primitives/input/Select/internal/SelectItem.d.ts +1 -1
- package/dist/primitives/input/Select/internal/SelectItemIndicator.d.ts +2 -0
- package/dist/primitives/input/Select/internal/SelectItemText.d.ts +2 -0
- package/dist/primitives/input/Select/internal/SelectPopup.d.ts +1 -1
- package/dist/primitives/input/Select/internal/SelectPortal.d.ts +2 -0
- package/dist/primitives/input/Select/internal/SelectPositioner.d.ts +2 -0
- package/dist/primitives/input/Select/internal/SelectTrigger.d.ts +1 -1
- package/dist/primitives/input/Select/types/SelectArrowProps.d.ts +2 -0
- package/dist/primitives/input/Select/types/SelectArrowState.d.ts +2 -0
- package/dist/primitives/input/Select/types/SelectBackdropProps.d.ts +2 -0
- package/dist/primitives/input/Select/types/SelectBackdropState.d.ts +2 -0
- package/dist/primitives/input/Select/types/SelectGroupLabelState.d.ts +2 -0
- package/dist/primitives/input/Select/types/SelectGroupState.d.ts +2 -0
- package/dist/primitives/input/Select/types/SelectIconProps.d.ts +2 -0
- package/dist/primitives/input/Select/types/SelectIconState.d.ts +2 -0
- package/dist/primitives/input/Select/types/SelectItemIndicatorProps.d.ts +2 -0
- package/dist/primitives/input/Select/types/SelectItemIndicatorState.d.ts +2 -0
- package/dist/primitives/input/Select/types/SelectItemProps.d.ts +2 -2
- package/dist/primitives/input/Select/types/SelectItemState.d.ts +2 -0
- package/dist/primitives/input/Select/types/SelectItemTextProps.d.ts +2 -0
- package/dist/primitives/input/Select/types/SelectItemTextState.d.ts +2 -0
- package/dist/primitives/input/Select/types/SelectLabelProps.d.ts +2 -0
- package/dist/primitives/input/Select/types/SelectLabelState.d.ts +2 -0
- package/dist/primitives/input/Select/types/SelectListProps.d.ts +2 -0
- package/dist/primitives/input/Select/types/SelectListState.d.ts +2 -0
- package/dist/primitives/input/Select/types/SelectPopupProps.d.ts +1 -7
- package/dist/primitives/input/Select/types/SelectPopupState.d.ts +2 -0
- package/dist/primitives/input/Select/types/SelectPortalProps.d.ts +2 -0
- package/dist/primitives/input/Select/types/SelectPortalState.d.ts +2 -0
- package/dist/primitives/input/Select/types/SelectPositionerProps.d.ts +2 -0
- package/dist/primitives/input/Select/types/SelectPositionerState.d.ts +2 -0
- package/dist/primitives/input/Select/types/SelectRootActions.d.ts +2 -0
- package/dist/primitives/input/Select/types/SelectRootChangeEventDetails.d.ts +2 -0
- package/dist/primitives/input/Select/types/SelectRootChangeEventReason.d.ts +2 -0
- package/dist/primitives/input/Select/types/SelectRootState.d.ts +2 -0
- package/dist/primitives/input/Select/types/SelectScrollDownArrowProps.d.ts +2 -0
- package/dist/primitives/input/Select/types/SelectScrollDownArrowState.d.ts +2 -0
- package/dist/primitives/input/Select/types/SelectScrollUpArrowProps.d.ts +2 -0
- package/dist/primitives/input/Select/types/SelectScrollUpArrowState.d.ts +2 -0
- package/dist/primitives/input/Select/types/SelectSeparatorState.d.ts +2 -0
- package/dist/primitives/input/Select/types/SelectTriggerState.d.ts +2 -0
- package/dist/primitives/input/Select/types/SelectValueState.d.ts +2 -0
- package/dist/primitives/input/Slider/types/SliderRootProps.d.ts +1 -1
- package/dist/primitives/input/Switch/Switch.d.ts +4 -2
- package/dist/primitives/input/Switch/internal/SwitchComponent.d.ts +2 -0
- package/dist/primitives/input/Switch/internal/SwitchRoot.d.ts +2 -0
- package/dist/primitives/input/Switch/internal/SwitchThumb.d.ts +2 -0
- package/dist/primitives/input/Switch/types/SwitchProps.d.ts +2 -6
- package/dist/primitives/input/Switch/types/SwitchRootProps.d.ts +5 -0
- package/dist/primitives/input/Switch/types/SwitchThumbProps.d.ts +2 -0
- package/dist/primitives/input/Textarea/internal/TextareaControl.d.ts +11 -0
- package/dist/primitives/input/Textarea/internal/observeTextareaWidth.d.ts +1 -0
- package/dist/primitives/input/Textarea/types/TextareaProps.d.ts +1 -7
- package/dist/primitives/input/index.d.ts +121 -5
- package/dist/primitives/input.cjs +1 -1
- package/dist/primitives/input.mjs +17 -14
- package/dist/primitives/layout/Collapsible/Collapsible.d.ts +4 -12
- package/dist/primitives/layout/Collapsible/internal/CollapsiblePanel.d.ts +2 -0
- package/dist/primitives/layout/Collapsible/types/CollapsiblePanelProps.d.ts +8 -0
- package/dist/primitives/layout/Collapsible/types/CollapsiblePanelState.d.ts +2 -0
- package/dist/primitives/layout/Collapsible/types/CollapsibleRootChangeEventDetails.d.ts +2 -0
- package/dist/primitives/layout/Collapsible/types/CollapsibleRootChangeEventReason.d.ts +2 -0
- package/dist/primitives/layout/Collapsible/types/CollapsibleRootProps.d.ts +2 -0
- package/dist/primitives/layout/Collapsible/types/CollapsibleRootState.d.ts +2 -0
- package/dist/primitives/layout/Collapsible/types/CollapsibleTriggerProps.d.ts +2 -0
- package/dist/primitives/layout/Collapsible/types/CollapsibleTriggerState.d.ts +2 -0
- package/dist/primitives/layout/DirectionProvider/DirectionProvider.d.ts +2 -0
- package/dist/primitives/layout/DirectionProvider/types/DirectionProviderProps.d.ts +2 -0
- package/dist/primitives/layout/ResizeHandle/ResizeHandle.d.ts +1 -1
- package/dist/primitives/layout/ResizeHandle/__stories__/ControlledResizeHandlePanel.d.ts +2 -0
- package/dist/primitives/layout/ResizeHandle/__stories__/DisablingResizeHandle.d.ts +2 -0
- package/dist/primitives/layout/ResizeHandle/__stories__/ResizeHandlePanelDemo.d.ts +2 -0
- package/dist/primitives/layout/ResizeHandle/__stories__/UnmountingResizeHandle.d.ts +2 -0
- package/dist/primitives/layout/ResizeHandle/__stories__/playCancelledResize.d.ts +6 -0
- package/dist/primitives/layout/ResizeHandle/internal/ResizeGesture.d.ts +12 -0
- package/dist/primitives/layout/ResizeHandle/internal/ResizeHandleDefaults.constant.d.ts +2 -0
- package/dist/primitives/layout/ResizeHandle/internal/ResizeHandleEdges.constant.d.ts +18 -0
- package/dist/primitives/layout/ResizeHandle/internal/useResizeHandleInteraction.d.ts +13 -14
- package/dist/primitives/layout/ResizeHandle/internal/useResizeHandlePointerInteraction.d.ts +19 -0
- package/dist/primitives/layout/ResizeHandle/types/ResizeHandleProps.d.ts +21 -1
- package/dist/primitives/layout/Separator/Separator.d.ts +2 -0
- package/dist/primitives/layout/Separator/types/SeparatorProps.d.ts +3 -0
- package/dist/primitives/layout/index.d.ts +12 -4
- package/dist/primitives/layout.cjs +1 -1
- package/dist/primitives/layout.mjs +5 -5
- package/dist/primitives/navigation/Breadcrumb/internal/BreadcrumbItemContent.d.ts +1 -1
- package/dist/primitives/navigation/Breadcrumb/types/BreadcrumbItem.d.ts +4 -1
- package/dist/primitives/navigation/ListItem/ListItem.d.ts +1 -1
- package/dist/primitives/navigation/ListItem/types/ListItemProps.d.ts +3 -3
- package/dist/primitives/navigation/Tabs/Tabs.d.ts +2 -1
- package/dist/primitives/navigation/Tabs/internal/TabsIndicator.d.ts +2 -0
- package/dist/primitives/navigation/Tabs/internal/TabsList.d.ts +1 -1
- package/dist/primitives/navigation/Tabs/types/TabsIndicatorProps.d.ts +2 -0
- package/dist/primitives/navigation/Tabs/types/TabsIndicatorState.d.ts +2 -0
- package/dist/primitives/navigation/Tabs/types/TabsListState.d.ts +2 -0
- package/dist/primitives/navigation/Tabs/types/TabsPanelMetadata.d.ts +2 -0
- package/dist/primitives/navigation/Tabs/types/TabsPanelState.d.ts +2 -0
- package/dist/primitives/navigation/Tabs/types/TabsRootChangeEventDetails.d.ts +2 -0
- package/dist/primitives/navigation/Tabs/types/TabsRootChangeEventReason.d.ts +2 -0
- package/dist/primitives/navigation/Tabs/types/TabsRootOrientation.d.ts +2 -0
- package/dist/primitives/navigation/Tabs/types/TabsRootState.d.ts +2 -0
- package/dist/primitives/navigation/Tabs/types/TabsTabActivationDirection.d.ts +2 -0
- package/dist/primitives/navigation/Tabs/types/TabsTabMetadata.d.ts +2 -0
- package/dist/primitives/navigation/Tabs/types/TabsTabPosition.d.ts +2 -0
- package/dist/primitives/navigation/Tabs/types/TabsTabProps.d.ts +2 -2
- package/dist/primitives/navigation/Tabs/types/TabsTabSize.d.ts +2 -0
- package/dist/primitives/navigation/Tabs/types/TabsTabState.d.ts +2 -0
- package/dist/primitives/navigation/Tabs/types/TabsTabValue.d.ts +2 -0
- package/dist/primitives/navigation/index.d.ts +15 -0
- package/dist/primitives/navigation.cjs +1 -1
- package/dist/primitives/navigation.mjs +2 -2
- package/dist/primitives/surfaces/AlertDialog/AlertDialog.d.ts +6 -1
- package/dist/primitives/surfaces/AlertDialog/__stories__/AlertDialogExample.d.ts +2 -10
- package/dist/primitives/surfaces/AlertDialog/__stories__/AlertDialogExampleProps.d.ts +11 -0
- package/dist/primitives/surfaces/AlertDialog/internal/AlertDialogBackdrop.d.ts +2 -0
- package/dist/primitives/surfaces/AlertDialog/internal/AlertDialogPopup.d.ts +1 -1
- package/dist/primitives/surfaces/AlertDialog/internal/AlertDialogPortal.d.ts +2 -0
- package/dist/primitives/surfaces/AlertDialog/internal/AlertDialogViewport.d.ts +2 -0
- package/dist/primitives/surfaces/AlertDialog/types/AlertDialogBackdropProps.d.ts +2 -0
- package/dist/primitives/surfaces/AlertDialog/types/AlertDialogBackdropState.d.ts +2 -0
- package/dist/primitives/surfaces/AlertDialog/types/AlertDialogCloseState.d.ts +2 -0
- package/dist/primitives/surfaces/AlertDialog/types/AlertDialogDescriptionState.d.ts +2 -0
- package/dist/primitives/surfaces/AlertDialog/types/AlertDialogHandle.d.ts +2 -0
- package/dist/primitives/surfaces/AlertDialog/types/AlertDialogPopupProps.d.ts +0 -8
- package/dist/primitives/surfaces/AlertDialog/types/AlertDialogPopupState.d.ts +2 -0
- package/dist/primitives/surfaces/AlertDialog/types/AlertDialogPortalProps.d.ts +2 -0
- package/dist/primitives/surfaces/AlertDialog/types/AlertDialogPortalState.d.ts +2 -0
- package/dist/primitives/surfaces/AlertDialog/types/AlertDialogRootActions.d.ts +2 -0
- package/dist/primitives/surfaces/AlertDialog/types/AlertDialogRootChangeEventDetails.d.ts +2 -0
- package/dist/primitives/surfaces/AlertDialog/types/AlertDialogRootChangeEventReason.d.ts +2 -0
- package/dist/primitives/surfaces/AlertDialog/types/AlertDialogRootState.d.ts +2 -0
- package/dist/primitives/surfaces/AlertDialog/types/AlertDialogTitleState.d.ts +2 -0
- package/dist/primitives/surfaces/AlertDialog/types/AlertDialogTriggerState.d.ts +2 -0
- package/dist/primitives/surfaces/AlertDialog/types/AlertDialogViewportProps.d.ts +2 -0
- package/dist/primitives/surfaces/AlertDialog/types/AlertDialogViewportState.d.ts +2 -0
- package/dist/primitives/surfaces/Card/Card.d.ts +4 -16
- package/dist/primitives/surfaces/Card/internal/CardContent.d.ts +2 -10
- package/dist/primitives/surfaces/Card/internal/CardFooter.d.ts +2 -6
- package/dist/primitives/surfaces/Card/internal/CardHeader.d.ts +2 -4
- package/dist/primitives/surfaces/Card/internal/CardRoot.d.ts +2 -8
- package/dist/primitives/surfaces/Card/types/CardContentProps.d.ts +4 -0
- package/dist/primitives/surfaces/Card/types/CardFooterProps.d.ts +4 -0
- package/dist/primitives/surfaces/Card/types/CardHeaderProps.d.ts +2 -0
- package/dist/primitives/surfaces/Card/types/CardRootProps.d.ts +6 -0
- package/dist/primitives/surfaces/Dialog/Dialog.d.ts +5 -1
- package/dist/primitives/surfaces/Dialog/__stories__/DialogExample.d.ts +1 -1
- package/dist/primitives/surfaces/Dialog/__stories__/DialogExampleProps.d.ts +3 -0
- package/dist/primitives/surfaces/Dialog/internal/DialogBackdrop.d.ts +2 -0
- package/dist/primitives/surfaces/Dialog/internal/DialogPopup.d.ts +1 -1
- package/dist/primitives/surfaces/Dialog/internal/DialogPortal.d.ts +2 -0
- package/dist/primitives/surfaces/Dialog/internal/DialogViewport.d.ts +2 -0
- package/dist/primitives/surfaces/Dialog/types/DialogBackdropProps.d.ts +2 -0
- package/dist/primitives/surfaces/Dialog/types/DialogBackdropState.d.ts +2 -0
- package/dist/primitives/surfaces/Dialog/types/DialogCloseState.d.ts +2 -0
- package/dist/primitives/surfaces/Dialog/types/DialogDescriptionState.d.ts +2 -0
- package/dist/primitives/surfaces/Dialog/types/DialogHandle.d.ts +2 -0
- package/dist/primitives/surfaces/Dialog/types/DialogPopupProps.d.ts +0 -4
- package/dist/primitives/surfaces/Dialog/types/DialogPopupState.d.ts +2 -0
- package/dist/primitives/surfaces/Dialog/types/DialogPortalProps.d.ts +2 -0
- package/dist/primitives/surfaces/Dialog/types/DialogPortalState.d.ts +2 -0
- package/dist/primitives/surfaces/Dialog/types/DialogRootActions.d.ts +2 -0
- package/dist/primitives/surfaces/Dialog/types/DialogRootChangeEventDetails.d.ts +2 -0
- package/dist/primitives/surfaces/Dialog/types/DialogRootChangeEventReason.d.ts +2 -0
- package/dist/primitives/surfaces/Dialog/types/DialogRootState.d.ts +2 -0
- package/dist/primitives/surfaces/Dialog/types/DialogTitleState.d.ts +2 -0
- package/dist/primitives/surfaces/Dialog/types/DialogTriggerState.d.ts +2 -0
- package/dist/primitives/surfaces/Dialog/types/DialogViewportProps.d.ts +2 -0
- package/dist/primitives/surfaces/Dialog/types/DialogViewportState.d.ts +2 -0
- package/dist/primitives/surfaces/Popover/Popover.d.ts +8 -1
- package/dist/primitives/surfaces/Popover/internal/PopoverArrow.d.ts +2 -0
- package/dist/primitives/surfaces/Popover/internal/PopoverPopup.d.ts +1 -1
- package/dist/primitives/surfaces/Popover/internal/PopoverPortal.d.ts +2 -0
- package/dist/primitives/surfaces/Popover/internal/PopoverPositioner.d.ts +2 -0
- package/dist/primitives/surfaces/Popover/types/PopoverAlign.d.ts +2 -1
- package/dist/primitives/surfaces/Popover/types/PopoverArrowProps.d.ts +2 -0
- package/dist/primitives/surfaces/Popover/types/PopoverArrowState.d.ts +2 -0
- package/dist/primitives/surfaces/Popover/types/PopoverBackdropProps.d.ts +2 -0
- package/dist/primitives/surfaces/Popover/types/PopoverBackdropState.d.ts +2 -0
- package/dist/primitives/surfaces/Popover/types/PopoverCloseState.d.ts +2 -0
- package/dist/primitives/surfaces/Popover/types/PopoverDescriptionState.d.ts +2 -0
- package/dist/primitives/surfaces/Popover/types/PopoverHandle.d.ts +2 -0
- package/dist/primitives/surfaces/Popover/types/PopoverPopupProps.d.ts +1 -28
- package/dist/primitives/surfaces/Popover/types/PopoverPopupState.d.ts +2 -0
- package/dist/primitives/surfaces/Popover/types/PopoverPortalProps.d.ts +2 -0
- package/dist/primitives/surfaces/Popover/types/PopoverPortalState.d.ts +2 -0
- package/dist/primitives/surfaces/Popover/types/PopoverPositionerProps.d.ts +2 -0
- package/dist/primitives/surfaces/Popover/types/PopoverPositionerState.d.ts +2 -0
- package/dist/primitives/surfaces/Popover/types/PopoverRootActions.d.ts +2 -0
- package/dist/primitives/surfaces/Popover/types/PopoverRootChangeEventDetails.d.ts +2 -0
- package/dist/primitives/surfaces/Popover/types/PopoverRootChangeEventReason.d.ts +2 -0
- package/dist/primitives/surfaces/Popover/types/PopoverRootState.d.ts +2 -0
- package/dist/primitives/surfaces/Popover/types/PopoverSide.d.ts +2 -1
- package/dist/primitives/surfaces/Popover/types/PopoverTitleState.d.ts +2 -0
- package/dist/primitives/surfaces/Popover/types/PopoverTriggerState.d.ts +2 -0
- package/dist/primitives/surfaces/Popover/types/PopoverViewportProps.d.ts +2 -0
- package/dist/primitives/surfaces/Popover/types/PopoverViewportState.d.ts +2 -0
- package/dist/primitives/surfaces/Tooltip/Tooltip.d.ts +7 -3
- package/dist/primitives/surfaces/Tooltip/internal/TooltipArrow.d.ts +2 -0
- package/dist/primitives/surfaces/Tooltip/internal/TooltipBody.d.ts +8 -0
- package/dist/primitives/surfaces/Tooltip/internal/TooltipComponent.d.ts +1 -1
- package/dist/primitives/surfaces/Tooltip/internal/TooltipPopup.d.ts +1 -1
- package/dist/primitives/surfaces/Tooltip/internal/TooltipPortal.d.ts +2 -0
- package/dist/primitives/surfaces/Tooltip/internal/TooltipPositioner.d.ts +2 -0
- package/dist/primitives/surfaces/Tooltip/types/TooltipAlign.d.ts +2 -1
- package/dist/primitives/surfaces/Tooltip/types/TooltipArrowProps.d.ts +2 -0
- package/dist/primitives/surfaces/Tooltip/types/TooltipArrowState.d.ts +2 -0
- package/dist/primitives/surfaces/Tooltip/types/TooltipHandle.d.ts +2 -0
- package/dist/primitives/surfaces/Tooltip/types/TooltipPopupProps.d.ts +1 -10
- package/dist/primitives/surfaces/Tooltip/types/TooltipPopupState.d.ts +2 -0
- package/dist/primitives/surfaces/Tooltip/types/TooltipPortalProps.d.ts +2 -0
- package/dist/primitives/surfaces/Tooltip/types/TooltipPortalState.d.ts +2 -0
- package/dist/primitives/surfaces/Tooltip/types/TooltipPositionerProps.d.ts +2 -0
- package/dist/primitives/surfaces/Tooltip/types/TooltipPositionerState.d.ts +2 -0
- package/dist/primitives/surfaces/Tooltip/types/TooltipProps.d.ts +16 -4
- package/dist/primitives/surfaces/Tooltip/types/TooltipProviderState.d.ts +2 -0
- package/dist/primitives/surfaces/Tooltip/types/TooltipRootActions.d.ts +2 -0
- package/dist/primitives/surfaces/Tooltip/types/TooltipRootChangeEventDetails.d.ts +2 -0
- package/dist/primitives/surfaces/Tooltip/types/TooltipRootChangeEventReason.d.ts +2 -0
- package/dist/primitives/surfaces/Tooltip/types/TooltipRootState.d.ts +2 -0
- package/dist/primitives/surfaces/Tooltip/types/TooltipSide.d.ts +2 -1
- package/dist/primitives/surfaces/Tooltip/types/TooltipTriggerState.d.ts +2 -0
- package/dist/primitives/surfaces/Tooltip/types/TooltipViewportProps.d.ts +2 -0
- package/dist/primitives/surfaces/Tooltip/types/TooltipViewportState.d.ts +2 -0
- package/dist/primitives/surfaces/index.d.ts +72 -17
- package/dist/primitives/surfaces.cjs +1 -1
- package/dist/primitives/surfaces.mjs +7 -8
- package/dist/primitives/typography/OverflowingTextWithTooltip/OverflowingTextWithTooltip.d.ts +1 -18
- package/dist/primitives/typography/OverflowingTextWithTooltip/types/OverflowingTextWithTooltipProps.d.ts +17 -0
- package/dist/primitives/typography/Text/Text.d.ts +1 -18
- package/dist/primitives/typography/Text/internal/TextTruncationProps.d.ts +7 -0
- package/dist/primitives/typography/Text/types/TextProps.d.ts +3 -0
- package/dist/primitives/typography/index.d.ts +2 -0
- package/dist/primitives/typography.cjs +1 -1
- package/dist/primitives/typography.mjs +4 -4
- package/dist/primitives.cjs +1 -1
- package/dist/primitives.mjs +71 -61
- package/dist/settings-BiSAY2oN.cjs +1 -0
- package/dist/settings-CC-2gcAx.js +44 -0
- package/dist/style.css +1 -1
- package/dist/surfaces-DZ2A-Nb9.js +202 -0
- package/dist/surfaces-vyAhk2Gw.cjs +1 -0
- package/dist/testing.cjs +1 -1
- package/dist/testing.mjs +6 -6
- package/dist/theme/constants/ThemeLight.d.ts +1 -0
- package/dist/theme/themeCssVariables.d.ts +1 -0
- package/dist/theme/themeTypes.d.ts +1 -0
- package/dist/theme-1XkFz8Qu.cjs +1 -0
- package/dist/{theme-CjHovJAZ.js → theme-B2EaXhye.js} +14 -11
- package/dist/theme-dark.css +1045 -1042
- package/dist/theme-light.css +1049 -1046
- package/dist/theme.cjs +1 -1
- package/dist/theme.mjs +1 -1
- package/dist/{typography-D3fk3hSo.cjs → typography-8DF9mq2w.cjs} +1 -1
- package/dist/typography-DmY7-GzQ.js +5 -0
- package/dist/{useIsMobile-UXHqqYXb.cjs → useIsMobile-DxOPI2_E.cjs} +1 -1
- package/dist/{useIsMobile-CAIiLC-3.js → useIsMobile-nrufFzMb.js} +1 -1
- package/dist/useProvidedTextDirection-Dk8LBQeF.js +6 -0
- package/dist/useProvidedTextDirection-PVaoQCLH.cjs +1 -0
- package/dist/utilities/color/utils/themeColorSchema.d.ts +1 -1
- package/dist/utilities/index.d.ts +2 -0
- package/dist/utilities/utils/normalizeSearchText.d.ts +1 -0
- package/dist/utilities-BeLfNQ0Q.cjs +1 -0
- package/dist/utilities-CEi9I09B.js +52 -0
- package/dist/utilities.cjs +1 -1
- package/dist/utilities.mjs +18 -16
- package/package.json +51 -1
- package/dist/Avatar-C0FtFpJC.js +0 -68
- package/dist/Avatar-CkI8b3nh.cjs +0 -1
- package/dist/HorizontalSeparator-JwV0dB5W.js +0 -44
- package/dist/HorizontalSeparator-vJLHHlc4.cjs +0 -1
- package/dist/ListItem-B2HOeN2h.cjs +0 -1
- package/dist/ListItem-D8BQRK1W.js +0 -97
- package/dist/ListItem.module-Dxd8jOJP.js +0 -35
- package/dist/ListItem.module-RqrfwrFg.cjs +0 -1
- package/dist/Loader-BLkXvZli.js +0 -14
- package/dist/Loader-CMXdrX1d.cjs +0 -1
- package/dist/MenuSeparator-Ct3cQtJ2.cjs +0 -1
- package/dist/MenuSeparator-CyUYx1nk.js +0 -68
- package/dist/OverflowingTextWithTooltip-CNpmkBvJ.js +0 -198
- package/dist/OverflowingTextWithTooltip-tsJWb_Ie.cjs +0 -1
- package/dist/ProgressBar-21MXyySH.js +0 -108
- package/dist/ProgressBar-CyqeRyzA.cjs +0 -1
- package/dist/ResizeHandle-CGYGfOVF.js +0 -89
- package/dist/ResizeHandle-CI-VTVOi.cjs +0 -1
- package/dist/Shortcut-CRCVbA2m.js +0 -71
- package/dist/Shortcut-CuBFak3I.cjs +0 -1
- package/dist/Switch-BQp0t6JZ.js +0 -129
- package/dist/Switch-CFCj3OQZ.cjs +0 -1
- package/dist/components/data-display/NotificationCounter/NotificationCounter.d.ts +0 -7
- package/dist/components/data-display/TintedIconTile/internal/StyledTintedIconTileContainer/StyledTintedIconTileContainer.d.ts +0 -7
- package/dist/components/feedback/InlineBanner/internal/InlineBannerButton.d.ts +0 -5
- package/dist/components/feedback/InlineBanner/types/InlineBannerButtonProps.d.ts +0 -7
- package/dist/components/feedback/Toast/types/ToastVariant.d.ts +0 -1
- package/dist/components/input/SettingsRow/SettingsRow.d.ts +0 -2
- package/dist/components/input/SettingsRow/types/SettingsRowProps.d.ts +0 -6
- package/dist/components-BizDepCM.cjs +0 -1
- package/dist/components-CC-3jXEq.js +0 -2144
- package/dist/data-display-BgweQocz.cjs +0 -1
- package/dist/data-display-Dn_nzrc8.js +0 -190
- package/dist/getSafeUrl-BuX_E2_8.cjs +0 -1
- package/dist/getSafeUrl-DXwcx-N0.js +0 -27
- package/dist/handleClickableElementKeyDown-0XD9MRqa.cjs +0 -1
- package/dist/handleClickableElementKeyDown-CJ_JsX2K.js +0 -11
- package/dist/input-C50264Jb.js +0 -407
- package/dist/input-CRiX4eQH.cjs +0 -1
- package/dist/layout-BEC7fKLU.js +0 -34
- package/dist/layout-DniJJ8Mx.cjs +0 -1
- package/dist/navigation-B9YTBTaa.cjs +0 -1
- package/dist/navigation-CQUyRKgk.js +0 -122
- package/dist/primitives/accessibility/components/VisibilityHidden.d.ts +0 -3
- package/dist/primitives/data-display/Pill/Pill.d.ts +0 -10
- package/dist/primitives/input/NumberStepper/NumberStepper.d.ts +0 -2
- package/dist/primitives/input/NumberStepper/types/NumberStepperProps.d.ts +0 -7
- package/dist/primitives/layout/Collapsible/types/AnimationDurationObject.d.ts +0 -4
- package/dist/primitives/layout/Collapsible/types/AnimationDurations.d.ts +0 -2
- package/dist/primitives/layout/HorizontalSeparator/HorizontalSeparator.d.ts +0 -9
- package/dist/primitives/layout/TextDirectionProvider/TextDirectionProvider.d.ts +0 -8
- package/dist/primitives/surfaces/Menu/Menu.d.ts +0 -15
- package/dist/primitives/surfaces/Menu/internal/MenuCheckboxItem.d.ts +0 -2
- package/dist/primitives/surfaces/Menu/internal/MenuGroup.d.ts +0 -2
- package/dist/primitives/surfaces/Menu/internal/MenuGroupLabel.d.ts +0 -2
- package/dist/primitives/surfaces/Menu/internal/MenuItem.d.ts +0 -2
- package/dist/primitives/surfaces/Menu/internal/MenuNestingContext.d.ts +0 -1
- package/dist/primitives/surfaces/Menu/internal/MenuPopup.d.ts +0 -2
- package/dist/primitives/surfaces/Menu/internal/MenuPopupPositionDefaults.d.ts +0 -8
- package/dist/primitives/surfaces/Menu/internal/MenuRadioGroup.d.ts +0 -2
- package/dist/primitives/surfaces/Menu/internal/MenuRadioItem.d.ts +0 -2
- package/dist/primitives/surfaces/Menu/internal/MenuSeparator.d.ts +0 -2
- package/dist/primitives/surfaces/Menu/internal/MenuSubmenuRoot.d.ts +0 -2
- package/dist/primitives/surfaces/Menu/internal/MenuSubmenuTrigger.d.ts +0 -2
- package/dist/primitives/surfaces/Menu/internal/getMenuListItemProps.d.ts +0 -17
- package/dist/primitives/surfaces/Menu/types/MenuActionItemProps.d.ts +0 -3
- package/dist/primitives/surfaces/Menu/types/MenuAlign.d.ts +0 -1
- package/dist/primitives/surfaces/Menu/types/MenuCheckboxItemProps.d.ts +0 -3
- package/dist/primitives/surfaces/Menu/types/MenuGroupLabelProps.d.ts +0 -2
- package/dist/primitives/surfaces/Menu/types/MenuGroupProps.d.ts +0 -2
- package/dist/primitives/surfaces/Menu/types/MenuItemSlotProps.d.ts +0 -2
- package/dist/primitives/surfaces/Menu/types/MenuPopupProps.d.ts +0 -31
- package/dist/primitives/surfaces/Menu/types/MenuRadioGroupProps.d.ts +0 -2
- package/dist/primitives/surfaces/Menu/types/MenuRadioItemProps.d.ts +0 -3
- package/dist/primitives/surfaces/Menu/types/MenuRootProps.d.ts +0 -2
- package/dist/primitives/surfaces/Menu/types/MenuSeparatorProps.d.ts +0 -2
- package/dist/primitives/surfaces/Menu/types/MenuSide.d.ts +0 -1
- package/dist/primitives/surfaces/Menu/types/MenuSubmenuRootProps.d.ts +0 -2
- package/dist/primitives/surfaces/Menu/types/MenuSubmenuTriggerProps.d.ts +0 -3
- package/dist/primitives/surfaces/Menu/types/MenuTriggerProps.d.ts +0 -2
- package/dist/primitives/surfaces/Tooltip/internal/TooltipContent.d.ts +0 -2
- package/dist/primitives/surfaces/Tooltip/types/TooltipContentProps.d.ts +0 -6
- package/dist/primitives/typography/OverflowingTextWithTooltip/internal/LinkifiedText/LinkifiedText.d.ts +0 -5
- package/dist/primitives/typography/OverflowingTextWithTooltip/internal/LinkifiedText/linkifyText.d.ts +0 -6
- package/dist/surfaces-C9ZUjKxU.js +0 -264
- package/dist/surfaces-Davk4uBw.cjs +0 -1
- package/dist/theme-DumxXtpW.cjs +0 -1
- package/dist/typography-DUJWRilJ.js +0 -5
- package/dist/useProvidedTextDirection-B7ovnsdr.cjs +0 -1
- package/dist/useProvidedTextDirection-P1dtjUtE.js +0 -9
- package/dist/utilities-CJKPcDM4.js +0 -28
- package/dist/utilities-CdR__WZM.cjs +0 -1
- /package/dist/{primitives → components}/input/NumberStepper/__stories__/ControlledNumberStepperExample.d.ts +0 -0
- /package/dist/{primitives → components}/input/NumberStepper/__stories__/NumberStepperFieldExample.d.ts +0 -0
- /package/dist/{primitives → components}/input/NumberStepper/__stories__/NumberStepperFormExample.d.ts +0 -0
- /package/dist/{primitives → components}/input/NumberStepper/internal/constants/NumberStepperFormat.d.ts +0 -0
- /package/dist/{primitives → components}/input/SegmentedControl/SegmentedControl.d.ts +0 -0
- /package/dist/{primitives → components}/input/SegmentedControl/types/SegmentedControlOption.d.ts +0 -0
- /package/dist/components/{input → settings}/SettingsRow/__stories__/ControlledSettingsRowExample.d.ts +0 -0
- /package/dist/primitives/layout/{TextDirectionProvider → DirectionProvider}/internal/TextDirection.d.ts +0 -0
- /package/dist/primitives/layout/{TextDirectionProvider → DirectionProvider}/internal/TextDirectionContext.d.ts +0 -0
- /package/dist/primitives/layout/{TextDirectionProvider → DirectionProvider}/internal/useProvidedTextDirection.d.ts +0 -0
- /package/dist/{components/navigation/Dropdown/internal → utilities/utils}/preventDismissingClickActivation.d.ts +0 -0
|
@@ -1,17 +1,15 @@
|
|
|
1
1
|
import { useRender } from '@base-ui/react/use-render';
|
|
2
2
|
import { ComponentPropsWithRef, ReactNode } from 'react';
|
|
3
|
-
import {
|
|
4
|
-
export type ToastProps = ComponentPropsWithRef<'div'> & {
|
|
3
|
+
import { ToastStatus } from './ToastStatus';
|
|
4
|
+
export type ToastProps = Omit<ComponentPropsWithRef<'div'>, 'color'> & {
|
|
5
5
|
/**
|
|
6
6
|
* Replaces the rendered element or composes it with another component.
|
|
7
7
|
* Accepts a React element or a function that returns the element to render.
|
|
8
8
|
*/
|
|
9
9
|
render?: useRender.RenderProp;
|
|
10
|
-
|
|
11
|
-
variant?: ToastVariant;
|
|
10
|
+
status?: ToastStatus;
|
|
12
11
|
/** Supporting content rendered below the message. */
|
|
13
12
|
description?: ReactNode;
|
|
14
|
-
/** Replaces the variant's icon. */
|
|
15
13
|
icon?: ReactNode;
|
|
16
14
|
/**
|
|
17
15
|
* Accessible name of the default icon. Without it, the icon is hidden from
|
|
@@ -41,7 +39,7 @@ export type ToastProps = ComponentPropsWithRef<'div'> & {
|
|
|
41
39
|
*/
|
|
42
40
|
onClose?: () => void;
|
|
43
41
|
/** Label of the cancel button. */
|
|
44
|
-
cancelLabel?:
|
|
42
|
+
cancelLabel?: ReactNode;
|
|
45
43
|
/** Accessible name of the close button. */
|
|
46
44
|
closeLabel?: string;
|
|
47
45
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type ToastStatus = 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const DEFAULT_TIMING_DURATION = 1400;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ToasterExampleProps } from './ToasterExampleProps';
|
|
2
|
+
export type ToasterUpdateExampleProps = ToasterExampleProps & {
|
|
3
|
+
onAction?: () => void;
|
|
4
|
+
onCancel?: () => void;
|
|
5
|
+
onUpdatedAction?: () => void;
|
|
6
|
+
onUpdatedCancel?: () => void;
|
|
7
|
+
onUpdatedClose?: () => void;
|
|
8
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export { Callout } from './Callout/Callout';
|
|
2
|
+
export type { CalloutActionProps } from './Callout/types/CalloutActionProps';
|
|
3
|
+
export type { CalloutColor } from './Callout/types/CalloutColor';
|
|
4
|
+
export type { CalloutProps } from './Callout/types/CalloutProps';
|
|
5
|
+
export type { CalloutState } from './Callout/types/CalloutState';
|
|
6
|
+
export type { CalloutStatus } from './Callout/types/CalloutStatus';
|
|
7
|
+
export type { CalloutVariant } from './Callout/types/CalloutVariant';
|
|
8
|
+
export { InlineBanner } from './InlineBanner/InlineBanner';
|
|
9
|
+
export type { InlineBannerLayout } from './InlineBanner/types/InlineBannerLayout';
|
|
10
|
+
export type { InlineBannerProps } from './InlineBanner/types/InlineBannerProps';
|
|
11
|
+
export { useToast } from './Toast/hooks/useToast';
|
|
12
|
+
export { Toast } from './Toast/Toast';
|
|
13
|
+
export { ToastProvider } from './Toast/ToastProvider';
|
|
14
|
+
export type { ToastNotification } from './Toast/types/ToastNotification';
|
|
15
|
+
export type { ToastOptions } from './Toast/types/ToastOptions';
|
|
16
|
+
export type { ToastProps } from './Toast/types/ToastProps';
|
|
17
|
+
export type { ToastProviderProps } from './Toast/types/ToastProviderProps';
|
|
18
|
+
export type { ToastStatus } from './Toast/types/ToastStatus';
|
|
19
|
+
export type { ToastUpdate } from './Toast/types/ToastUpdate';
|
|
20
|
+
export { Toaster } from './Toaster/Toaster';
|
|
21
|
+
export type { ToasterProps } from './Toaster/types/ToasterProps';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../feedback-B5x8tmnG.cjs");exports.Callout=e.Callout;exports.InlineBanner=e.InlineBanner;exports.Toast=e.Toast;exports.ToastProvider=e.ToastProvider;exports.Toaster=e.Toaster;exports.useToast=e.useToast;
|
|
@@ -1,85 +1,6 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export type { JsonTreeEntry } from './data-display/JsonTree/types/JsonTreeEntry';
|
|
8
|
-
export type { JsonTreeProps } from './data-display/JsonTree/types/JsonTreeProps';
|
|
9
|
-
export type { ShouldExpandNodeInitiallyProps } from './data-display/JsonTree/types/ShouldExpandNodeInitiallyProps';
|
|
10
|
-
export { MetricRow } from './data-display/MetricRow/MetricRow';
|
|
11
|
-
export type { MetricRowProps } from './data-display/MetricRow/types/MetricRowProps';
|
|
12
|
-
export { NotificationCounter } from './data-display/NotificationCounter/NotificationCounter';
|
|
13
|
-
export { TintedIconTile } from './data-display/TintedIconTile/TintedIconTile';
|
|
14
|
-
export type { TintedIconTileProps } from './data-display/TintedIconTile/types/TintedIconTileProps';
|
|
15
|
-
export type { IconTileColorShades } from './data-display/TintedIconTile/utils/getIconTileColorShades';
|
|
16
|
-
export { getIconTileColorShades } from './data-display/TintedIconTile/utils/getIconTileColorShades';
|
|
17
|
-
export { Callout } from './feedback/Callout/Callout';
|
|
18
|
-
export type { CalloutProps } from './feedback/Callout/types/CalloutProps';
|
|
19
|
-
export type { CalloutVariant } from './feedback/Callout/types/CalloutVariant';
|
|
20
|
-
export { InlineBanner } from './feedback/InlineBanner/InlineBanner';
|
|
21
|
-
export type { InlineBannerButtonProps } from './feedback/InlineBanner/types/InlineBannerButtonProps';
|
|
22
|
-
export type { InlineBannerProps } from './feedback/InlineBanner/types/InlineBannerProps';
|
|
23
|
-
export { useToast } from './feedback/Toast/hooks/useToast';
|
|
24
|
-
export { Toast } from './feedback/Toast/Toast';
|
|
25
|
-
export { ToastProvider } from './feedback/Toast/ToastProvider';
|
|
26
|
-
export type { ToastNotification } from './feedback/Toast/types/ToastNotification';
|
|
27
|
-
export type { ToastOptions } from './feedback/Toast/types/ToastOptions';
|
|
28
|
-
export type { ToastProps } from './feedback/Toast/types/ToastProps';
|
|
29
|
-
export type { ToastProviderProps } from './feedback/Toast/types/ToastProviderProps';
|
|
30
|
-
export type { ToastVariant } from './feedback/Toast/types/ToastVariant';
|
|
31
|
-
export { Toaster } from './feedback/Toaster/Toaster';
|
|
32
|
-
export type { ToasterProps } from './feedback/Toaster/types/ToasterProps';
|
|
33
|
-
export { IconButton } from './input/IconButton/IconButton';
|
|
34
|
-
export type { IconButtonProps } from './input/IconButton/types/IconButtonProps';
|
|
35
|
-
export type { IconButtonSize } from './input/IconButton/types/IconButtonSize';
|
|
36
|
-
export { ImageInput } from './input/ImageInput/ImageInput';
|
|
37
|
-
export type { ImageInputProps } from './input/ImageInput/types/ImageInputProps';
|
|
38
|
-
export { LightButton } from './input/LightButton/LightButton';
|
|
39
|
-
export type { LightButtonProps } from './input/LightButton/types/LightButtonProps';
|
|
40
|
-
export { LightIconButton } from './input/LightIconButton/LightIconButton';
|
|
41
|
-
export type { LightIconButtonProps } from './input/LightIconButton/types/LightIconButtonProps';
|
|
42
|
-
export { MainButton } from './input/MainButton/MainButton';
|
|
43
|
-
export { SearchInput } from './input/SearchInput/SearchInput';
|
|
44
|
-
export type { SearchInputProps } from './input/SearchInput/types/SearchInputProps';
|
|
45
|
-
export { SettingsRow } from './input/SettingsRow/SettingsRow';
|
|
46
|
-
export type { SettingsRowProps } from './input/SettingsRow/types/SettingsRowProps';
|
|
47
|
-
export { AnimatedIconCrossfade } from './layout/AnimatedIconCrossfade/AnimatedIconCrossfade';
|
|
48
|
-
export { OverflowingList } from './layout/OverflowingList/OverflowingList';
|
|
49
|
-
export type { OverflowingListProps } from './layout/OverflowingList/types/OverflowingListProps';
|
|
50
|
-
export { Section } from './layout/Section/Section';
|
|
51
|
-
export type { SectionHeaderProps } from './layout/Section/types/SectionHeaderProps';
|
|
52
|
-
export type { SectionRootProps } from './layout/Section/types/SectionRootProps';
|
|
53
|
-
export { Dropdown } from './navigation/Dropdown/Dropdown';
|
|
54
|
-
export { useDropdownPage } from './navigation/Dropdown/hooks/useDropdownPage';
|
|
55
|
-
export type { DropdownActionItemProps } from './navigation/Dropdown/types/DropdownActionItemProps';
|
|
56
|
-
export type { DropdownCloseProps } from './navigation/Dropdown/types/DropdownCloseProps';
|
|
57
|
-
export type { DropdownContentProps } from './navigation/Dropdown/types/DropdownContentProps';
|
|
58
|
-
export type { DropdownDismissEvent } from './navigation/Dropdown/types/DropdownDismissEvent';
|
|
59
|
-
export type { DropdownHeaderProps } from './navigation/Dropdown/types/DropdownHeaderProps';
|
|
60
|
-
export type { DropdownOptionItemProps } from './navigation/Dropdown/types/DropdownOptionItemProps';
|
|
61
|
-
export type { DropdownPageProps } from './navigation/Dropdown/types/DropdownPageProps';
|
|
62
|
-
export type { DropdownRootProps } from './navigation/Dropdown/types/DropdownRootProps';
|
|
63
|
-
export type { DropdownSearchProps } from './navigation/Dropdown/types/DropdownSearchProps';
|
|
64
|
-
export type { DropdownSectionProps } from './navigation/Dropdown/types/DropdownSectionProps';
|
|
65
|
-
export type { DropdownSubmenuProps } from './navigation/Dropdown/types/DropdownSubmenuProps';
|
|
66
|
-
export type { DropdownSubmenuTriggerProps } from './navigation/Dropdown/types/DropdownSubmenuTriggerProps';
|
|
67
|
-
export type { DropdownTitleProps } from './navigation/Dropdown/types/DropdownTitleProps';
|
|
68
|
-
export type { DropdownTriggerProps } from './navigation/Dropdown/types/DropdownTriggerProps';
|
|
69
|
-
export type { DropdownType } from './navigation/Dropdown/types/DropdownType';
|
|
70
|
-
export { DEFAULT_COLOR_LABELS } from './navigation/MenuItem/constants/DefaultColorLabels';
|
|
71
|
-
export { MenuItem } from './navigation/MenuItem/MenuItem';
|
|
72
|
-
export type { ColorLabels } from './navigation/MenuItem/types/ColorLabels';
|
|
73
|
-
export type { MenuItemAccent } from './navigation/MenuItem/types/MenuItemAccent';
|
|
74
|
-
export type { MenuItemDraggableGripMode } from './navigation/MenuItem/types/MenuItemDraggableGripMode';
|
|
75
|
-
export type { MenuItemProps } from './navigation/MenuItem/types/MenuItemProps';
|
|
76
|
-
export { MenuItemAvatar } from './navigation/MenuItemAvatar/MenuItemAvatar';
|
|
77
|
-
export type { MenuItemAvatarProps } from './navigation/MenuItemAvatar/types/MenuItemAvatarProps';
|
|
78
|
-
export { MenuItemDraggable } from './navigation/MenuItemDraggable/MenuItemDraggable';
|
|
79
|
-
export type { MenuItemDraggableProps } from './navigation/MenuItemDraggable/types/MenuItemDraggableProps';
|
|
80
|
-
export { MenuItemSuggestion } from './navigation/MenuItemSuggestion/MenuItemSuggestion';
|
|
81
|
-
export type { MenuItemSuggestionProps } from './navigation/MenuItemSuggestion/types/MenuItemSuggestionProps';
|
|
82
|
-
export { MenuPicker } from './navigation/MenuPicker/MenuPicker';
|
|
83
|
-
export type { MenuPickerProps } from './navigation/MenuPicker/types/MenuPickerProps';
|
|
84
|
-
export { TabButton } from './navigation/TabButton/TabButton';
|
|
85
|
-
export type { TabButtonProps } from './navigation/TabButton/types/TabButtonProps';
|
|
1
|
+
export * from './data-display';
|
|
2
|
+
export * from './feedback';
|
|
3
|
+
export * from './input';
|
|
4
|
+
export * from './layout';
|
|
5
|
+
export * from './navigation';
|
|
6
|
+
export * from './settings';
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { CountrySelectProps } from './types/CountrySelectProps';
|
|
2
|
+
export declare const CountrySelect: ({ countries, value, onValueChange, label, searchLabel, noCountryLabel, noResultsLabel, open: controlledOpen, onOpenChange, popupProps, disabled, className, style, render, onClick, onMouseDown, onPointerDown, onKeyDown, onKeyUp, id, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, "aria-describedby": ariaDescribedBy, ...props }: CountrySelectProps) => import("react").JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { CountrySelectProps } from '../types/CountrySelectProps';
|
|
2
|
+
type CountrySelectAvailabilityExampleProps = Partial<CountrySelectProps> & {
|
|
3
|
+
controlled?: boolean;
|
|
4
|
+
availability: 'disabled' | 'countries';
|
|
5
|
+
ignoreCloseRequests?: boolean;
|
|
6
|
+
};
|
|
7
|
+
export declare const CountrySelectAvailabilityExample: ({ controlled, availability, ignoreCloseRequests, onOpenChange, }: CountrySelectAvailabilityExampleProps) => import("react").JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
type CountrySelectAvailabilityEffectProps = {
|
|
2
|
+
disabled: boolean;
|
|
3
|
+
open: boolean;
|
|
4
|
+
onOpenChange: (open: boolean) => void;
|
|
5
|
+
};
|
|
6
|
+
export declare const CountrySelectAvailabilityEffect: ({ disabled, open, onOpenChange, }: CountrySelectAvailabilityEffectProps) => null;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CountryChoice } from '../types/CountryChoice';
|
|
2
|
+
type CountrySelectOptionsProps = {
|
|
3
|
+
countries: readonly CountryChoice[];
|
|
4
|
+
value: string;
|
|
5
|
+
onValueChange: (value: string) => void;
|
|
6
|
+
searchLabel: string;
|
|
7
|
+
noCountryLabel: string;
|
|
8
|
+
noResultsLabel: string;
|
|
9
|
+
};
|
|
10
|
+
export declare const CountrySelectOptions: ({ countries, value, onValueChange, searchLabel, noCountryLabel, noResultsLabel, }: CountrySelectOptionsProps) => import("react").JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { DropdownContentProps } from '../../../navigation/Dropdown/types/DropdownContentProps';
|
|
2
|
+
import { DropdownTriggerProps } from '../../../navigation/Dropdown/types/DropdownTriggerProps';
|
|
3
|
+
import { CountryChoice } from './CountryChoice';
|
|
4
|
+
export type CountrySelectProps = Omit<DropdownTriggerProps, 'children' | 'value' | 'defaultValue' | 'onChange' | 'openOnHover' | 'delay' | 'closeDelay'> & {
|
|
5
|
+
countries: readonly CountryChoice[];
|
|
6
|
+
value: string;
|
|
7
|
+
onValueChange: (value: string) => void;
|
|
8
|
+
label?: string;
|
|
9
|
+
searchLabel?: string;
|
|
10
|
+
noCountryLabel?: string;
|
|
11
|
+
noResultsLabel?: string;
|
|
12
|
+
open?: boolean;
|
|
13
|
+
onOpenChange?: (open: boolean) => void;
|
|
14
|
+
popupProps?: Omit<DropdownContentProps, 'children' | 'aria-label' | 'aria-labelledby' | 'keepMounted'>;
|
|
15
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const CurrencyPicker: {
|
|
2
|
+
Trigger: ({ value, className, ...props }: import('..').CurrencyPickerTriggerProps) => import("react").JSX.Element;
|
|
3
|
+
Options: ({ currencies, value, onValueChange, disabled, searchLabel, emptyLabel, className, render, ref, ...props }: import('..').CurrencyPickerOptionsProps) => import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
|
|
4
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import { CurrencyPicker } from '../CurrencyPicker';
|
|
3
|
+
type CurrencyPickerExampleProps = Pick<ComponentProps<typeof CurrencyPicker.Options>, 'currencies' | 'searchLabel' | 'emptyLabel' | 'onValueChange' | 'dir'> & {
|
|
4
|
+
defaultValue?: string;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
optionsDisabled?: boolean;
|
|
7
|
+
defaultOpen?: boolean;
|
|
8
|
+
triggerLabel?: string;
|
|
9
|
+
};
|
|
10
|
+
export declare const CurrencyPickerExample: ({ currencies, defaultValue, disabled, optionsDisabled, defaultOpen, triggerLabel, searchLabel, emptyLabel, onValueChange, dir, }: Partial<CurrencyPickerExampleProps>) => import("react").JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { CurrencyPickerOptionsProps } from '../types/CurrencyPickerOptionsProps';
|
|
2
|
+
export declare const CurrencyPickerOptions: ({ currencies, value, onValueChange, disabled, searchLabel, emptyLabel, className, render, ref, ...props }: CurrencyPickerOptionsProps) => import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { useRender } from '@base-ui/react/use-render';
|
|
2
|
+
import { CurrencyPickerOption } from './CurrencyPickerOption';
|
|
3
|
+
export type CurrencyPickerOptionsProps = Omit<useRender.ComponentProps<'div'>, 'children'> & {
|
|
4
|
+
currencies: readonly CurrencyPickerOption[];
|
|
5
|
+
value?: string;
|
|
6
|
+
onValueChange: (code: string) => void;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
searchLabel?: string;
|
|
9
|
+
emptyLabel?: string;
|
|
10
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { DropdownTriggerProps } from '../../../navigation/Dropdown/types/DropdownTriggerProps';
|
|
2
|
+
export type CurrencyPickerTriggerProps = Omit<DropdownTriggerProps, 'children' | 'value' | 'openOnHover' | 'delay' | 'closeDelay' | 'handle' | 'payload'> & {
|
|
3
|
+
value: string;
|
|
4
|
+
};
|
|
@@ -2,13 +2,18 @@ import { ReactNode } from 'react';
|
|
|
2
2
|
import { IconButtonSize } from './IconButtonSize';
|
|
3
3
|
import { ButtonProps } from '../../../../primitives/input/Button/types/ButtonProps';
|
|
4
4
|
import { TooltipSide } from '../../../../primitives/surfaces/Tooltip/types/TooltipSide';
|
|
5
|
-
export type IconButtonProps = Omit<ButtonProps, 'size' | 'aria-label' | 'children' | 'startIcon' | 'endIcon' | 'shortcut' | 'shortcutJoinLabel' | 'fullWidth'> & {
|
|
5
|
+
export type IconButtonProps = Omit<ButtonProps, 'size' | 'aria-label' | 'aria-labelledby' | 'children' | 'startIcon' | 'endIcon' | 'shortcut' | 'shortcutJoinLabel' | 'fullWidth' | 'loadingPosition'> & {
|
|
6
6
|
size?: IconButtonSize;
|
|
7
7
|
shape?: 'square' | 'round';
|
|
8
8
|
children: ReactNode;
|
|
9
|
-
'aria-label': string;
|
|
10
9
|
tooltip?: string;
|
|
11
10
|
tooltipPlace?: TooltipSide;
|
|
12
11
|
tooltipDelay?: number;
|
|
13
12
|
tooltipOffset?: number;
|
|
14
|
-
}
|
|
13
|
+
} & ({
|
|
14
|
+
'aria-label': string;
|
|
15
|
+
'aria-labelledby'?: string;
|
|
16
|
+
} | {
|
|
17
|
+
'aria-label'?: string;
|
|
18
|
+
'aria-labelledby': string;
|
|
19
|
+
});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { ImageInputProps } from './types/ImageInputProps';
|
|
2
|
-
export declare const ImageInput: ({ src,
|
|
2
|
+
export declare const ImageInput: ({ src, onFileSelect, onRemove, onAbort, disabled, isUploading, helperText, errorMessage, uploadLabel, removeLabel, abortLabel, accept, inputRef, onChange, "aria-describedby": ariaDescribedBy, className, style, dir, render, ref, ...inputProps }: ImageInputProps) => import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { useRender } from '@base-ui/react/use-render';
|
|
2
|
-
|
|
2
|
+
import { ComponentPropsWithRef } from 'react';
|
|
3
|
+
export type ImageInputProps = Omit<ComponentPropsWithRef<'input'>, 'children' | 'dangerouslySetInnerHTML' | 'type' | 'multiple' | 'value' | 'defaultValue' | 'hidden' | 'onAbort' | 'src' | 'ref' | 'className' | 'style'> & Pick<useRender.ComponentProps<'div'>, 'ref' | 'render' | 'className' | 'style'> & {
|
|
3
4
|
src?: string | null;
|
|
4
|
-
|
|
5
|
+
onFileSelect?: (file: File) => void;
|
|
5
6
|
onRemove?: () => void;
|
|
6
7
|
onAbort?: () => void;
|
|
7
|
-
disabled?: boolean;
|
|
8
8
|
isUploading?: boolean;
|
|
9
9
|
helperText?: string;
|
|
10
10
|
errorMessage?: string | null;
|
|
11
11
|
uploadLabel?: string;
|
|
12
12
|
removeLabel?: string;
|
|
13
13
|
abortLabel?: string;
|
|
14
|
-
|
|
14
|
+
inputRef?: ComponentPropsWithRef<'input'>['ref'];
|
|
15
15
|
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { NumberStepperProps } from './types/NumberStepperProps';
|
|
2
|
+
export declare const NumberStepper: ({ value, defaultValue, onValueChange, onValueCommitted, allowOutOfRange, min, max, step, disabled, readOnly, required, name, form, id, showButtons, decrementLabel, incrementLabel, className, ...props }: NumberStepperProps) => import("react").JSX.Element;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { NumberFieldRootChangeEventReason } from '../../../../../primitives/input/NumberField/types/NumberFieldRootChangeEventReason';
|
|
2
2
|
type IsBlurRoundingOfCurrentValueArgs = {
|
|
3
3
|
nextValue: number | null;
|
|
4
4
|
currentValue: number | null;
|
|
5
|
-
reason:
|
|
5
|
+
reason: NumberFieldRootChangeEventReason;
|
|
6
6
|
};
|
|
7
7
|
export declare const isBlurRoundingOfCurrentValue: ({ nextValue, currentValue, reason, }: IsBlurRoundingOfCurrentValueArgs) => boolean;
|
|
8
8
|
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { NumberFieldInputProps } from '../../../../primitives/input/NumberField/types/NumberFieldInputProps';
|
|
2
|
+
import { NumberFieldRootProps } from '../../../../primitives/input/NumberField/types/NumberFieldRootProps';
|
|
3
|
+
export type NumberStepperProps = Omit<NumberFieldInputProps, 'children' | 'defaultValue' | 'disabled' | 'max' | 'min' | 'name' | 'onChange' | 'readOnly' | 'required' | 'size' | 'step' | 'type' | 'value'> & Pick<NumberFieldRootProps, 'allowOutOfRange' | 'defaultValue' | 'disabled' | 'max' | 'min' | 'name' | 'onValueChange' | 'onValueCommitted' | 'readOnly' | 'required' | 'value'> & {
|
|
4
|
+
step?: number;
|
|
5
|
+
showButtons?: boolean;
|
|
6
|
+
decrementLabel?: string;
|
|
7
|
+
incrementLabel?: string;
|
|
8
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const PhoneCountryPicker: {
|
|
2
|
+
Trigger: ({ country, className, "aria-describedby": ariaDescribedBy, ...props }: import('..').PhoneCountryPickerTriggerProps) => import("react").JSX.Element;
|
|
3
|
+
Options: ({ countries, value, onValueChange, searchLabel, emptyLabel, }: import('..').PhoneCountryPickerOptionsProps) => import("react").JSX.Element;
|
|
4
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { PhoneCountryOption } from '../types/PhoneCountryOption';
|
|
2
|
+
type PhoneCountryPickerExampleProps = {
|
|
3
|
+
initialValue?: string;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
label?: string;
|
|
6
|
+
countries?: readonly PhoneCountryOption[];
|
|
7
|
+
searchLabel?: string;
|
|
8
|
+
emptyLabel?: string;
|
|
9
|
+
onValueChange?: (value: string) => void;
|
|
10
|
+
};
|
|
11
|
+
export declare const PhoneCountryPickerExample: ({ initialValue, disabled, label, countries, searchLabel, emptyLabel, onValueChange, }: PhoneCountryPickerExampleProps) => import("react").JSX.Element;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { DropdownTriggerProps } from '../../../navigation/Dropdown/types/DropdownTriggerProps';
|
|
2
|
+
import { PhoneCountryOption } from './PhoneCountryOption';
|
|
3
|
+
export type PhoneCountryPickerTriggerProps = Omit<DropdownTriggerProps, 'children' | 'render' | 'nativeButton' | 'aria-label'> & {
|
|
4
|
+
country?: PhoneCountryOption;
|
|
5
|
+
'aria-label': string;
|
|
6
|
+
};
|
package/dist/{primitives → components}/input/SegmentedControl/types/SegmentedControlProps.d.ts
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RadioGroupProps } from '
|
|
1
|
+
import { RadioGroupProps } from '../../../../primitives/input/RadioGroup/types/RadioGroupProps';
|
|
2
2
|
import { SegmentedControlOption } from './SegmentedControlOption';
|
|
3
3
|
export type SegmentedControlProps<TValue extends string = string> = Omit<RadioGroupProps<TValue>, 'aria-label' | 'aria-labelledby' | 'children' | 'role'> & {
|
|
4
4
|
itemWidth?: 'content' | 'equal';
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export { CountrySelect } from './CountrySelect/CountrySelect';
|
|
2
|
+
export type { CountryChoice } from './CountrySelect/types/CountryChoice';
|
|
3
|
+
export type { CountrySelectProps } from './CountrySelect/types/CountrySelectProps';
|
|
4
|
+
export { CurrencyPicker } from './CurrencyPicker/CurrencyPicker';
|
|
5
|
+
export type { CurrencyPickerOption } from './CurrencyPicker/types/CurrencyPickerOption';
|
|
6
|
+
export type { CurrencyPickerOptionsProps } from './CurrencyPicker/types/CurrencyPickerOptionsProps';
|
|
7
|
+
export type { CurrencyPickerTriggerProps } from './CurrencyPicker/types/CurrencyPickerTriggerProps';
|
|
8
|
+
export { IconButton } from './IconButton/IconButton';
|
|
9
|
+
export type { IconButtonProps } from './IconButton/types/IconButtonProps';
|
|
10
|
+
export type { IconButtonSize } from './IconButton/types/IconButtonSize';
|
|
11
|
+
export { ImageInput } from './ImageInput/ImageInput';
|
|
12
|
+
export type { ImageInputProps } from './ImageInput/types/ImageInputProps';
|
|
13
|
+
export { LightButton } from './LightButton/LightButton';
|
|
14
|
+
export type { LightButtonProps } from './LightButton/types/LightButtonProps';
|
|
15
|
+
export { LightIconButton } from './LightIconButton/LightIconButton';
|
|
16
|
+
export type { LightIconButtonProps } from './LightIconButton/types/LightIconButtonProps';
|
|
17
|
+
export { MainButton } from './MainButton/MainButton';
|
|
18
|
+
export { NumberStepper } from './NumberStepper/NumberStepper';
|
|
19
|
+
export type { NumberStepperProps } from './NumberStepper/types/NumberStepperProps';
|
|
20
|
+
export { PhoneCountryPicker } from './PhoneCountryPicker/PhoneCountryPicker';
|
|
21
|
+
export type { PhoneCountryOption } from './PhoneCountryPicker/types/PhoneCountryOption';
|
|
22
|
+
export type { PhoneCountryPickerOptionsProps } from './PhoneCountryPicker/types/PhoneCountryPickerOptionsProps';
|
|
23
|
+
export type { PhoneCountryPickerTriggerProps } from './PhoneCountryPicker/types/PhoneCountryPickerTriggerProps';
|
|
24
|
+
export { SearchInput } from './SearchInput/SearchInput';
|
|
25
|
+
export type { SearchInputProps } from './SearchInput/types/SearchInputProps';
|
|
26
|
+
export { SegmentedControl } from './SegmentedControl/SegmentedControl';
|
|
27
|
+
export type { SegmentedControlOption } from './SegmentedControl/types/SegmentedControlOption';
|
|
28
|
+
export type { SegmentedControlProps } from './SegmentedControl/types/SegmentedControlProps';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("../Dropdown-BBUGkQQV.cjs"),e=require("../input-BEKjAOjS.cjs");exports.CountrySelect=e.CountrySelect;exports.CurrencyPicker=e.CurrencyPicker;exports.IconButton=t.IconButton;exports.ImageInput=e.ImageInput;exports.LightButton=e.LightButton;exports.LightIconButton=t.LightIconButton;exports.MainButton=e.MainButton;exports.NumberStepper=e.NumberStepper;exports.PhoneCountryPicker=e.PhoneCountryPicker;exports.SearchInput=e.SearchInput;exports.SegmentedControl=e.SegmentedControl;
|