twenty-ui 2.46.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/dist/{AllIcons-C_27esn4.cjs → AllIcons-DrlkKKQf.cjs} +1 -1
- package/dist/{AllIcons-CLbeNZLM.js → AllIcons-G3nKeM41.js} +1 -1
- package/dist/{Avatar-DK78lGPU.cjs → Avatar-CQhIEazb.cjs} +1 -1
- package/dist/{Avatar-DnJMCjoR.js → Avatar-D-QA0RE5.js} +2 -2
- package/dist/Button-COxEKIHL.cjs +1 -0
- package/dist/{Button-DQUIhQAm.js → Button-Cs07psdD.js} +7 -6
- package/dist/Dropdown-BBUGkQQV.cjs +1 -0
- package/dist/{Dropdown-CZVEnq0N.js → Dropdown-CScN_olN.js} +210 -200
- package/dist/Input-DZWl81G_.js +23 -0
- package/dist/Input-DvL77rvu.cjs +1 -0
- package/dist/{ListItem-BVJEFywj.js → ListItem-CXu35dzp.js} +3 -3
- package/dist/{ListItem-fFbJhi6M.cjs → ListItem-q6DHGlev.cjs} +1 -1
- package/dist/{Loader-GFhTL4Aw.cjs → Loader-Bb72CUQ9.cjs} +1 -1
- package/dist/{Loader-BBMC4fe6.js → Loader-DtHWQH8w.js} +1 -1
- package/dist/OverflowingTextWithTooltip-Be2-wCcZ.js +88 -0
- package/dist/OverflowingTextWithTooltip-BlufG-6n.cjs +1 -0
- package/dist/{Popover-C-JjVGKl.js → Popover-CWeCV7X9.js} +1 -1
- package/dist/{Popover-D_S9MGZm.cjs → Popover-CneCJTvD.cjs} +1 -1
- 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-BGboQXCx.cjs → ResizeHandle-CNlQ4TEE.cjs} +1 -1
- package/dist/{Shortcut-CWRh02hg.js → Shortcut-DKfB0kej.js} +1 -1
- package/dist/{Shortcut-oYvcja2P.cjs → Shortcut-ZuZ-KYSk.cjs} +1 -1
- package/dist/{TintedIconTile-BZgRO7cg.js → TintedIconTile-4BGa8g8n.js} +2 -2
- package/dist/{TintedIconTile-Dp4uH0Up.cjs → TintedIconTile-CU2hCerq.cjs} +1 -1
- package/dist/Tooltip-BMkznyoi.js +120 -0
- package/dist/Tooltip-JOYVeSsf.cjs +1 -0
- package/dist/components/code-editor.cjs +1 -1
- package/dist/components/code-editor.mjs +7 -7
- 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/index.d.ts +2 -1
- package/dist/components/data-display.cjs +1 -1
- package/dist/components/data-display.mjs +5 -5
- package/dist/components/feedback/Toast/Toast.d.ts +1 -1
- package/dist/components/feedback/Toast/hooks/useToast.d.ts +1 -0
- 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 +2 -1
- package/dist/components/feedback.cjs +1 -1
- package/dist/components/feedback.mjs +1 -1
- 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/{primitives → components}/input/SegmentedControl/types/SegmentedControlProps.d.ts +1 -1
- package/dist/components/input/index.d.ts +5 -0
- package/dist/components/input.cjs +1 -1
- package/dist/components/input.mjs +11 -9
- package/dist/components/layout.cjs +1 -1
- package/dist/components/layout.mjs +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/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.cjs +1 -1
- package/dist/components/navigation.mjs +2 -2
- package/dist/components/settings.cjs +1 -1
- package/dist/components/settings.mjs +1 -1
- package/dist/components.cjs +1 -1
- package/dist/components.mjs +35 -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/{icon-Bo3y4NHM.js → icon-BdXwnJA6.js} +2 -2
- package/dist/{icon-DM8Yjnig.cjs → icon-JuDK6Wxr.cjs} +1 -1
- package/dist/icon.cjs +1 -1
- package/dist/icon.mjs +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +193 -189
- 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-wuIu4rJ3.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/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/index.d.ts +5 -1
- package/dist/primitives/data-display.cjs +1 -1
- package/dist/primitives/data-display.mjs +8 -8
- 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 +1 -1
- package/dist/primitives/feedback/Skeleton/types/SkeletonProps.d.ts +1 -0
- package/dist/primitives/feedback/index.d.ts +12 -0
- package/dist/primitives/feedback.cjs +1 -1
- package/dist/primitives/feedback.mjs +12 -10
- package/dist/primitives/input/Autocomplete/Autocomplete.d.ts +20 -3
- 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/AutocompleteInput.d.ts +1 -1
- package/dist/primitives/input/Autocomplete/internal/AutocompletePopup.d.ts +1 -1
- 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/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/AutocompleteInputGroupState.d.ts +2 -0
- package/dist/primitives/input/Autocomplete/types/AutocompleteInputState.d.ts +2 -0
- package/dist/primitives/input/Autocomplete/types/AutocompleteItemState.d.ts +2 -0
- package/dist/primitives/input/Autocomplete/types/AutocompleteListState.d.ts +2 -0
- package/dist/primitives/input/Autocomplete/types/AutocompletePopupProps.d.ts +1 -2
- 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 +1 -3
- 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/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/index.d.ts +101 -5
- package/dist/primitives/input.cjs +1 -1
- package/dist/primitives/input.mjs +16 -17
- package/dist/primitives/layout.cjs +1 -1
- package/dist/primitives/layout.mjs +1 -1
- 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/index.d.ts +0 -16
- package/dist/primitives/surfaces.cjs +1 -1
- package/dist/primitives/surfaces.mjs +7 -8
- package/dist/primitives/typography.cjs +1 -1
- package/dist/primitives/typography.mjs +3 -3
- package/dist/primitives.cjs +1 -1
- package/dist/primitives.mjs +67 -66
- package/dist/{settings-bRqO7Q-5.cjs → settings-BiSAY2oN.cjs} +1 -1
- package/dist/{settings-Fpo_5Uen.js → settings-CC-2gcAx.js} +1 -1
- 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 +1 -1
- 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-yAk9zrNA.js → theme-B2EaXhye.js} +10 -7
- 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-CBqN-Jhw.cjs → typography-8DF9mq2w.cjs} +1 -1
- package/dist/typography-DmY7-GzQ.js +5 -0
- package/dist/{useIsMobile-C_rtkXZO.cjs → useIsMobile-DxOPI2_E.cjs} +1 -1
- package/dist/{useIsMobile-BvEB9MOV.js → useIsMobile-nrufFzMb.js} +1 -1
- package/dist/utilities/index.d.ts +1 -0
- package/dist/{utilities-06FvJQzl.cjs → utilities-BeLfNQ0Q.cjs} +1 -1
- package/dist/{utilities-DpSj_IdQ.js → utilities-CEi9I09B.js} +2 -2
- package/dist/utilities.cjs +1 -1
- package/dist/utilities.mjs +13 -12
- package/package.json +3 -1
- package/dist/Button-DkijwPOi.cjs +0 -1
- package/dist/Dropdown-Ckcy6ZLF.cjs +0 -1
- package/dist/Input-D3-FH2Zz.js +0 -49
- package/dist/Input-W2vWPc9r.cjs +0 -1
- package/dist/InputGroup-DEozqrQd.cjs +0 -1
- package/dist/InputGroup-wM9PT12U.js +0 -51
- package/dist/MenuSeparator-BdPwyE9f.js +0 -25
- package/dist/MenuSeparator-wRxC7b_c.cjs +0 -1
- package/dist/OverflowingTextWithTooltip-CXHiE4BG.cjs +0 -1
- package/dist/OverflowingTextWithTooltip-wRABzEWd.js +0 -199
- package/dist/ProgressBar-BHiYQW6F.cjs +0 -1
- package/dist/ProgressBar-B_GDjg9S.js +0 -83
- package/dist/ProgressRing-CHLADu5q.cjs +0 -1
- package/dist/ProgressRing-Cwqo4hWZ.js +0 -57
- package/dist/components/data-display/NotificationCounter/NotificationCounter.d.ts +0 -7
- package/dist/components/feedback/Toast/types/ToastVariant.d.ts +0 -1
- package/dist/data-display-BMM4rYOl.cjs +0 -1
- package/dist/data-display-Bw-5dsCu.cjs +0 -2
- package/dist/data-display-CRDo6TBH.js +0 -175
- package/dist/data-display-CehSwX8i.js +0 -333
- package/dist/feedback-BV1EK98d.js +0 -382
- package/dist/feedback-BleeRoOP.cjs +0 -1
- package/dist/feedback-CI5j7IZ3.js +0 -37
- package/dist/feedback-f1_n3da1.cjs +0 -1
- package/dist/input-CKcuJwhb.js +0 -450
- package/dist/input-CmZ5aC9o.js +0 -548
- package/dist/input-D9vXRp8R.cjs +0 -1
- package/dist/input-DSvyF-Tb.cjs +0 -1
- package/dist/layout-Bt-DUE1X.js +0 -267
- package/dist/layout-DJq0Dcmq.cjs +0 -1
- package/dist/navigation-BVhRDMCr.js +0 -394
- package/dist/navigation-CsxM7PWb.cjs +0 -1
- package/dist/navigation-DK1z9KJj.js +0 -124
- package/dist/navigation-DOSnqFwk.cjs +0 -1
- package/dist/normalizeSearchText-DA4xMLCJ.js +0 -18
- package/dist/normalizeSearchText-DoNMfZqV.cjs +0 -1
- package/dist/primitives/data-display/Pill/Pill.d.ts +0 -10
- package/dist/primitives/input/Autocomplete/internal/AutocompleteRoot.d.ts +0 -2
- package/dist/primitives/input/NumberStepper/NumberStepper.d.ts +0 -2
- package/dist/primitives/input/NumberStepper/types/NumberStepperProps.d.ts +0 -7
- package/dist/primitives/navigation/ListItem/__stories__/ListItemMenuExample.d.ts +0 -6
- 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/surfaces-C2s4Qrvy.cjs +0 -1
- package/dist/surfaces-CV04bWoI.js +0 -294
- package/dist/theme-Zf62UE02.cjs +0 -1
- package/dist/typography-D-DQvgaS.js +0 -5
- package/dist/{ResizeHandle-X2NdHzqt.js → ResizeHandle-Bjg4R0c-.js} +1 -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/utilities/{internal → utils}/preventDismissingClickActivation.d.ts +0 -0
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import { t as ir } from "./isDefined-fMi6eQ4r.js";
|
|
2
|
+
import { t as er } from "./theme-B2EaXhye.js";
|
|
3
|
+
import { t as c } from "./mergeClassNames-ClFMR1v0.js";
|
|
4
|
+
import { t as s } from "./isRenderableSlot-DT_depzM.js";
|
|
5
|
+
import { t as ar } from "./useProvidedTextDirection-Dk8LBQeF.js";
|
|
6
|
+
import { isFunction as T, isNumber as tr, isString as sr } from "@sniptt/guards";
|
|
7
|
+
import { Fragment as h, jsx as o, jsxs as p } from "react/jsx-runtime";
|
|
8
|
+
import { Tooltip as e } from "@base-ui/react/tooltip";
|
|
9
|
+
var nr = "_positioner_w2bea_1", pr = "_popup_w2bea_5", lr = "_content_w2bea_47", dr = "_title_w2bea_53", cr = "_icon_w2bea_65", mr = "_description_w2bea_75", _r = "_arrow_w2bea_81", n = {
|
|
10
|
+
positioner: nr,
|
|
11
|
+
popup: pr,
|
|
12
|
+
content: lr,
|
|
13
|
+
title: dr,
|
|
14
|
+
icon: cr,
|
|
15
|
+
description: mr,
|
|
16
|
+
arrow: _r
|
|
17
|
+
}, w = ({ className: r, ...i }) => /* @__PURE__ */ o(e.Arrow, {
|
|
18
|
+
...i,
|
|
19
|
+
className: c(n.arrow, r)
|
|
20
|
+
}), vr = ({ children: r, description: i, startIcon: a }) => /* @__PURE__ */ p("div", {
|
|
21
|
+
className: n.content,
|
|
22
|
+
children: [s(r) && /* @__PURE__ */ p("div", {
|
|
23
|
+
className: n.title,
|
|
24
|
+
children: [s(a) && /* @__PURE__ */ o("span", {
|
|
25
|
+
className: n.icon,
|
|
26
|
+
"aria-hidden": !0,
|
|
27
|
+
children: a
|
|
28
|
+
}), /* @__PURE__ */ o("span", { children: r })]
|
|
29
|
+
}), s(i) && /* @__PURE__ */ o("div", {
|
|
30
|
+
className: n.description,
|
|
31
|
+
children: i
|
|
32
|
+
})]
|
|
33
|
+
}), f = ({ className: r, withExitAnimation: i = !1, ...a }) => /* @__PURE__ */ o(e.Popup, {
|
|
34
|
+
role: "tooltip",
|
|
35
|
+
"data-with-exit-animation": i || void 0,
|
|
36
|
+
...a,
|
|
37
|
+
className: c(n.popup, r)
|
|
38
|
+
}), b = ({ container: r, ...i }) => {
|
|
39
|
+
const a = er();
|
|
40
|
+
return /* @__PURE__ */ o(e.Portal, {
|
|
41
|
+
...i,
|
|
42
|
+
container: r ?? a ?? void 0
|
|
43
|
+
});
|
|
44
|
+
}, g = ({ className: r, ...i }) => {
|
|
45
|
+
const a = ar();
|
|
46
|
+
return /* @__PURE__ */ o(e.Positioner, {
|
|
47
|
+
dir: a,
|
|
48
|
+
...i,
|
|
49
|
+
className: c(n.positioner, r)
|
|
50
|
+
});
|
|
51
|
+
}, ur = 10, Tr = "300px", hr = ({ content: r, children: i, description: a, startIcon: m, open: _, defaultOpen: P, onOpenChange: N, onOpenChangeComplete: D, disabled: x = !1, disableHoverablePopup: A, trackCursorAxis: F, actionsRef: H, handle: E, triggerId: R, defaultTriggerId: S, delay: j, closeDelay: y, closeOnClick: L, side: O = "top", align: U = "center", sideOffset: V = ur, alignOffset: B, anchor: C, positionMethod: M, collisionBoundary: W, collisionPadding: X, collisionAvoidance: $, sticky: k, arrowPadding: q, disableAnchorTracking: z, arrow: G = !1, maxWidth: I = Tr, container: J, keepMounted: K, triggerProps: Q, positionerProps: Y, portalProps: Z, ...rr }) => {
|
|
52
|
+
const l = s(a), d = x || !T(r) && !s(r) && !l, v = /* @__PURE__ */ o(e.Trigger, {
|
|
53
|
+
render: i,
|
|
54
|
+
delay: j,
|
|
55
|
+
closeDelay: y,
|
|
56
|
+
closeOnClick: L,
|
|
57
|
+
...Q
|
|
58
|
+
}), u = (t) => {
|
|
59
|
+
if (!(s(t) || l)) return /* @__PURE__ */ o(h, { children: v });
|
|
60
|
+
const or = sr(t) || tr(t) || l || s(m);
|
|
61
|
+
return /* @__PURE__ */ p(h, { children: [v, /* @__PURE__ */ o(b, {
|
|
62
|
+
container: J,
|
|
63
|
+
keepMounted: K,
|
|
64
|
+
...Z,
|
|
65
|
+
children: /* @__PURE__ */ o(g, {
|
|
66
|
+
side: O,
|
|
67
|
+
align: U,
|
|
68
|
+
sideOffset: V,
|
|
69
|
+
alignOffset: B,
|
|
70
|
+
anchor: C,
|
|
71
|
+
positionMethod: M,
|
|
72
|
+
collisionBoundary: W,
|
|
73
|
+
collisionPadding: X,
|
|
74
|
+
collisionAvoidance: $,
|
|
75
|
+
sticky: k,
|
|
76
|
+
arrowPadding: q,
|
|
77
|
+
disableAnchorTracking: z,
|
|
78
|
+
style: { maxWidth: I },
|
|
79
|
+
...Y,
|
|
80
|
+
children: /* @__PURE__ */ p(f, {
|
|
81
|
+
...rr,
|
|
82
|
+
children: [or ? /* @__PURE__ */ o(vr, {
|
|
83
|
+
description: a,
|
|
84
|
+
startIcon: m,
|
|
85
|
+
children: t
|
|
86
|
+
}) : t, G && /* @__PURE__ */ o(w, {})]
|
|
87
|
+
})
|
|
88
|
+
})
|
|
89
|
+
})] });
|
|
90
|
+
};
|
|
91
|
+
return /* @__PURE__ */ o(e.Root, {
|
|
92
|
+
open: ir(_) ? _ && !d : void 0,
|
|
93
|
+
defaultOpen: P && !d,
|
|
94
|
+
onOpenChange: N,
|
|
95
|
+
onOpenChangeComplete: D,
|
|
96
|
+
disabled: d,
|
|
97
|
+
disableHoverablePopup: A,
|
|
98
|
+
trackCursorAxis: F,
|
|
99
|
+
actionsRef: H,
|
|
100
|
+
handle: E,
|
|
101
|
+
triggerId: R,
|
|
102
|
+
defaultTriggerId: S,
|
|
103
|
+
children: T(r) ? (t) => u(r(t)) : u(r)
|
|
104
|
+
});
|
|
105
|
+
}, Ar = Object.assign(hr, {
|
|
106
|
+
Root: e.Root,
|
|
107
|
+
Trigger: e.Trigger,
|
|
108
|
+
Portal: b,
|
|
109
|
+
Positioner: g,
|
|
110
|
+
Popup: f,
|
|
111
|
+
Arrow: w,
|
|
112
|
+
Viewport: e.Viewport,
|
|
113
|
+
Provider: e.Provider,
|
|
114
|
+
Handle: e.Handle,
|
|
115
|
+
createHandle: e.createHandle
|
|
116
|
+
});
|
|
117
|
+
export {
|
|
118
|
+
vr as n,
|
|
119
|
+
Ar as t
|
|
120
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const re=require("./theme-1XkFz8Qu.cjs"),ie=require("./isDefined-DS2Q42p5.cjs"),c=require("./mergeClassNames-D4lshrT6.cjs"),a=require("./isRenderableSlot-Guryb6Nf.cjs"),oe=require("./useProvidedTextDirection-PVaoQCLH.cjs");let n=require("@sniptt/guards"),e=require("react/jsx-runtime"),o=require("@base-ui/react/tooltip");var te="_positioner_w2bea_1",se="_popup_w2bea_5",ae="_content_w2bea_47",le="_title_w2bea_53",ne="_icon_w2bea_65",pe="_description_w2bea_75",de="_arrow_w2bea_81",l={positioner:te,popup:se,content:ae,title:le,icon:ne,description:pe,arrow:de},b=({className:r,...i})=>(0,e.jsx)(o.Tooltip.Arrow,{...i,className:c.mergeClassNames(l.arrow,r)}),x=({children:r,description:i,startIcon:t})=>(0,e.jsxs)("div",{className:l.content,children:[a.isRenderableSlot(r)&&(0,e.jsxs)("div",{className:l.title,children:[a.isRenderableSlot(t)&&(0,e.jsx)("span",{className:l.icon,"aria-hidden":!0,children:t}),(0,e.jsx)("span",{children:r})]}),a.isRenderableSlot(i)&&(0,e.jsx)("div",{className:l.description,children:i})]}),v=({className:r,withExitAnimation:i=!1,...t})=>(0,e.jsx)(o.Tooltip.Popup,{role:"tooltip","data-with-exit-animation":i||void 0,...t,className:c.mergeClassNames(l.popup,r)}),j=({container:r,...i})=>{const t=re.useThemeContainer();return(0,e.jsx)(o.Tooltip.Portal,{...i,container:r??t??void 0})},g=({className:r,...i})=>{const t=oe.useProvidedTextDirection();return(0,e.jsx)(o.Tooltip.Positioner,{dir:t,...i,className:c.mergeClassNames(l.positioner,r)})},ce=10,ue="300px",_e=({content:r,children:i,description:t,startIcon:u,open:_,defaultOpen:h,onOpenChange:w,onOpenChangeComplete:P,disabled:q=!1,disableHoverablePopup:f,trackCursorAxis:N,actionsRef:R,handle:S,triggerId:D,defaultTriggerId:F,delay:y,closeDelay:A,closeOnClick:H,side:O="top",align:C="center",sideOffset:E=ce,alignOffset:L,anchor:B,positionMethod:U,collisionBoundary:V,collisionPadding:M,collisionAvoidance:W,sticky:X,arrowPadding:k,disableAnchorTracking:z,arrow:G=!1,maxWidth:I=ue,container:J,keepMounted:K,triggerProps:Q,positionerProps:Y,portalProps:Z,...$})=>{const p=a.isRenderableSlot(t),d=q||!(0,n.isFunction)(r)&&!a.isRenderableSlot(r)&&!p,T=(0,e.jsx)(o.Tooltip.Trigger,{render:i,delay:y,closeDelay:A,closeOnClick:H,...Q}),m=s=>{if(!(a.isRenderableSlot(s)||p))return(0,e.jsx)(e.Fragment,{children:T});const ee=(0,n.isString)(s)||(0,n.isNumber)(s)||p||a.isRenderableSlot(u);return(0,e.jsxs)(e.Fragment,{children:[T,(0,e.jsx)(j,{container:J,keepMounted:K,...Z,children:(0,e.jsx)(g,{side:O,align:C,sideOffset:E,alignOffset:L,anchor:B,positionMethod:U,collisionBoundary:V,collisionPadding:M,collisionAvoidance:W,sticky:X,arrowPadding:k,disableAnchorTracking:z,style:{maxWidth:I},...Y,children:(0,e.jsxs)(v,{...$,children:[ee?(0,e.jsx)(x,{description:t,startIcon:u,children:s}):s,G&&(0,e.jsx)(b,{})]})})})]})};return(0,e.jsx)(o.Tooltip.Root,{open:ie.isDefined(_)?_&&!d:void 0,defaultOpen:h&&!d,onOpenChange:w,onOpenChangeComplete:P,disabled:d,disableHoverablePopup:f,trackCursorAxis:N,actionsRef:R,handle:S,triggerId:D,defaultTriggerId:F,children:(0,n.isFunction)(r)?s=>m(r(s)):m(r)})},Te=Object.assign(_e,{Root:o.Tooltip.Root,Trigger:o.Tooltip.Trigger,Portal:j,Positioner:g,Popup:v,Arrow:b,Viewport:o.Tooltip.Viewport,Provider:o.Tooltip.Provider,Handle:o.Tooltip.Handle,createHandle:o.Tooltip.createHandle});Object.defineProperty(exports,"Tooltip",{enumerable:!0,get:function(){return Te}});Object.defineProperty(exports,"TooltipBody",{enumerable:!0,get:function(){return x}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var Z=Object.create;var B=Object.defineProperty;var ee=Object.getOwnPropertyDescriptor;var oe=Object.getOwnPropertyNames;var re=Object.getPrototypeOf,te=Object.prototype.hasOwnProperty;var ne=(e,t,n,l)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of oe(t))!te.call(e,i)&&i!==n&&B(e,i,{get:()=>t[i],enumerable:!(l=ee(t,i))||l.enumerable});return e};var ie=(e,t,n)=>(n=e!=null?Z(re(e)):{},ne(t||!e||!e.__esModule?B(n,"default",{value:e,enumerable:!0}):n,e));Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const D=require("../theme-
|
|
1
|
+
var Z=Object.create;var B=Object.defineProperty;var ee=Object.getOwnPropertyDescriptor;var oe=Object.getOwnPropertyNames;var re=Object.getPrototypeOf,te=Object.prototype.hasOwnProperty;var ne=(e,t,n,l)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of oe(t))!te.call(e,i)&&i!==n&&B(e,i,{get:()=>t[i],enumerable:!(l=ee(t,i))||l.enumerable});return e};var ie=(e,t,n)=>(n=e!=null?Z(re(e)):{},ne(t||!e||!e.__esModule?B(n,"default",{value:e,enumerable:!0}):n,e));Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const D=require("../theme-1XkFz8Qu.cjs"),s=require("../isDefined-DS2Q42p5.cjs"),de=require("../Loader-Bb72CUQ9.cjs"),ae=require("../ResizeHandle-CNlQ4TEE.cjs");let se=require("@base-ui/react/use-render"),le=require("clsx"),a=require("react"),d=require("react/jsx-runtime"),C=require("@monaco-editor/react");C=D.__toESM(C,1);var z="baseCodeEditorTheme",o=e=>{if(e.trim()==="transparent")return"#00000000";const t=e.match(/color\(display-p3\s+([\d.]+)\s+([\d.]+)\s+([\d.]+)(?:\s+\/\s+([\d.]+))?\)/);if(s.isDefined(t)){const[,n,l,i,f]=t;if(!s.isDefined(n)||!s.isDefined(l)||!s.isDefined(i))return e;const u=Math.round(parseFloat(n)*255).toString(16).padStart(2,"0"),k=Math.round(parseFloat(l)*255).toString(16).padStart(2,"0"),v=Math.round(parseFloat(i)*255).toString(16).padStart(2,"0");return s.isDefined(f)?`#${u}${k}${v}${Math.round(parseFloat(f)*255).toString(16).padStart(2,"0")}`:`#${u}${k}${v}`}return e},ue=(e,t)=>({base:t==="dark"?"vs-dark":"vs",inherit:!0,rules:[{token:"",foreground:o(e.font.color.secondary)},{token:"keyword",foreground:o(e.color.pink11)},{token:"keyword.control",foreground:o(e.color.pink11)},{token:"keyword.json",foreground:o(e.color.orange11)},{token:"number",foreground:o(e.color.orange11)},{token:"number.json",foreground:o(e.color.orange11)},{token:"regexp",foreground:o(e.color.orange11)},{token:"type",foreground:o(e.color.green11)},{token:"attribute.name",foreground:o(e.color.blue11)},{token:"tag",foreground:o(e.color.pink11)},{token:"string",foreground:o(e.color.green11)},{token:"string.key.json",foreground:o(e.color.blue11)},{token:"delimiter",foreground:o(e.font.color.light)},{token:"delimiter.bracket.json",foreground:o(e.font.color.light)},{token:"string.value.json",foreground:o(e.color.green11)},{token:"comment",foreground:o(e.font.color.light),fontStyle:"italic"}],colors:{"editor.background":o("transparent"),"editor.foreground":o(e.font.color.secondary),"editorCursor.foreground":o(e.font.color.primary),"editorLineNumber.foreground":o(e.font.color.extraLight),"editorLineNumber.activeForeground":o(e.font.color.light),"editor.lineHighlightBackground":o(e.background.tertiary),"editor.selectionBackground":o(e.background.transparent.blue),"editor.inactiveSelectionBackground":o(e.background.transparent.light),"editorIndentGuide.background1":o(e.border.color.light),"editorIndentGuide.activeBackground1":o(e.border.color.medium),"editorBracketMatch.background":o(e.background.transparent.light),"editorBracketMatch.border":o(e.border.color.medium)}}),ce="_editorWrapper_zilk9_24",ge="_editorLoader_zilk9_1",fe="_container_zilk9_20",S={editorWrapper:ce,editorLoader:ge,container:fe},N,pe=()=>(N??=import("monaco-editor").then(e=>{C.loader.config({monaco:e})}),N),I=(e,t,n)=>{e.editor.defineTheme(z,ue(t,n)),e.editor.setTheme(z)},ke=({value:e,language:t,onMount:n,onChange:l,setMarkers:i,onValidate:f,height:u=450,variant:k="default",transparentBackground:v,isLoading:O=!1,options:P,resizable:M=!1,resizeLabel:$="Resize editor",contentPadding:R="default",autoHeight:w=!1})=>{const p=D.useTheme(),y=D.useThemeColorScheme(),[h,W]=(0,a.useState)(void 0),[_,A]=(0,a.useState)(void 0),[V,j]=(0,a.useState)(!1),[G,K]=(0,a.useState)(!1),[J,q]=(0,a.useState)(void 0),[L,Q]=(0,a.useState)(typeof u=="number"?u:450),T=(0,a.useId)(),E=w&&!M,H=typeof p.spacingMultiplicator=="number"?p.spacingMultiplicator*4:void 0,m=E?J??u:M?L:u,U={...R==="comfortable"?{lineDecorationsWidth:H}:{},padding:{bottom:H,top:H}},{padding:he,...X}=P??{},F=(r,c)=>{const g=r?.getModel();if(!s.isDefined(g))return;const b=i?.(g.getValue());s.isDefined(b)&&c?.editor.setModelMarkers(g,"customMarker",b)},Y=r=>{V&&r.stopPropagation()};return(0,a.useEffect)(()=>{let r=!0;return pe().then(()=>{r&&K(!0)}),()=>{r=!1}},[]),(0,a.useEffect)(()=>{s.isDefined(h)&&I(h,p,y)},[y,h,p]),(0,a.useEffect)(()=>{if(!E||!s.isDefined(_)){q(void 0);return}const r=()=>{const g=_.getContentHeight();!Number.isFinite(g)||g<=0||q(b=>b===g?b:g)};r();const c=_.onDidContentSizeChange(r);return()=>{c.dispose()}},[_,E]),O||!G?(0,d.jsx)("div",{className:S.editorLoader,"data-variant":k,style:{"--code-editor-height":typeof m=="number"?`${m}px`:m},children:(0,d.jsx)(de.Loader,{})}):(0,d.jsxs)("div",{className:S.container,onKeyDown:Y,children:[(0,d.jsx)("input",{type:"hidden","data-testid":"code-editor-value",value:e??"",readOnly:!0}),(0,d.jsx)("div",{id:T,className:S.editorWrapper,"data-variant":k,"data-transparent-background":v||void 0,children:(0,d.jsx)(C.default,{height:m,value:e,language:t,loading:"",onMount:(r,c)=>{W(c),A(r),I(c,p,y),r.onDidFocusEditorWidget(()=>{j(!0)}),r.onDidBlurEditorWidget(()=>{j(!1)}),n?.(r,c),F(r,c)},onChange:r=>{s.isDefined(r)&&(l?.(r),F(_,h))},onValidate:r=>{f?.(r)},options:{formatOnPaste:!0,formatOnType:!0,fontFamily:p.code.font.family,bracketPairColorization:{enabled:!1},overviewRulerLanes:0,scrollBeyondLastLine:!1,scrollbar:{vertical:"hidden",horizontal:"hidden"},minimap:{enabled:!1},...X,...U}})}),M&&(0,d.jsx)(ae.ResizeHandle,{"aria-label":$,"aria-controls":T,value:L,onValueChange:Q})]})},_e="_editorHeader_19qlo_1",be="_elementContainer_19qlo_15",x={editorHeader:_e,elementContainer:be},ve=({title:e,startElement:t,endElement:n,className:l,render:i,ref:f,...u})=>(0,se.useRender)({render:i,ref:f,props:{...u,className:(0,le.clsx)(x.editorHeader,l),children:(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:x.elementContainer,children:[t,e]}),(0,d.jsx)("div",{className:x.elementContainer,children:n})]})}});exports.CodeEditor=ke;exports.CodeEditorHeader=ve;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as n } from "../isDefined-fMi6eQ4r.js";
|
|
2
|
-
import { n as Y, r as Z } from "../theme-
|
|
3
|
-
import { t as oo } from "../Loader-
|
|
4
|
-
import { t as ro } from "../ResizeHandle-
|
|
2
|
+
import { n as Y, r as Z } from "../theme-B2EaXhye.js";
|
|
3
|
+
import { t as oo } from "../Loader-DtHWQH8w.js";
|
|
4
|
+
import { t as ro } from "../ResizeHandle-Bjg4R0c-.js";
|
|
5
5
|
import { useRender as eo } from "@base-ui/react/use-render";
|
|
6
6
|
import { clsx as to } from "clsx";
|
|
7
7
|
import { useEffect as E, useId as no, useState as p } from "react";
|
|
@@ -101,10 +101,10 @@ var $ = "baseCodeEditorTheme", r = (o) => {
|
|
|
101
101
|
"editorBracketMatch.background": r(o.background.transparent.light),
|
|
102
102
|
"editorBracketMatch.border": r(o.border.color.medium)
|
|
103
103
|
}
|
|
104
|
-
}), co = "
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
104
|
+
}), co = "_editorWrapper_zilk9_24", uo = "_editorLoader_zilk9_1", go = "_container_zilk9_20", S = {
|
|
105
|
+
editorWrapper: co,
|
|
106
|
+
editorLoader: uo,
|
|
107
|
+
container: go
|
|
108
108
|
}, z, fo = () => (z ??= import("monaco-editor").then((o) => {
|
|
109
109
|
so.config({ monaco: o });
|
|
110
110
|
}), z), I = (o, t, i) => {
|
|
@@ -10,7 +10,8 @@ export type { JsonTreeProps } from './JsonTree/types/JsonTreeProps';
|
|
|
10
10
|
export type { ShouldExpandNodeInitiallyProps } from './JsonTree/types/ShouldExpandNodeInitiallyProps';
|
|
11
11
|
export { MetricRow } from './MetricRow/MetricRow';
|
|
12
12
|
export type { MetricRowProps } from './MetricRow/types/MetricRowProps';
|
|
13
|
-
export {
|
|
13
|
+
export { StackIcon } from './StackIcon/StackIcon';
|
|
14
|
+
export type { StackIconProps } from './StackIcon/types/StackIconProps';
|
|
14
15
|
export { TintedIconTile } from './TintedIconTile/TintedIconTile';
|
|
15
16
|
export type { TintedIconTileProps } from './TintedIconTile/types/TintedIconTileProps';
|
|
16
17
|
export type { IconTileColorShades } from './TintedIconTile/utils/getIconTileColorShades';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../data-display-
|
|
1
|
+
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../data-display-DjhAHvj1.cjs"),o=require("../TintedIconTile-CU2hCerq.cjs");exports.AvatarGroup=e.AvatarGroup;exports.CommandBlock=e.CommandBlock;exports.JsonTree=e.JsonTree;exports.MetricRow=e.MetricRow;exports.StackIcon=e.StackIcon;exports.TintedIconTile=o.TintedIconTile;exports.getIconTileColorShades=o.getIconTileColorShades;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { a, i as r, n as t, r as e, t as
|
|
2
|
-
import { n as
|
|
1
|
+
import { a, i as r, n as t, r as e, t as s } from "../data-display-DU3G8ZyI.js";
|
|
2
|
+
import { n as i, t as c } from "../TintedIconTile-4BGa8g8n.js";
|
|
3
3
|
export {
|
|
4
4
|
a as AvatarGroup,
|
|
5
5
|
r as CommandBlock,
|
|
6
6
|
e as JsonTree,
|
|
7
7
|
t as MetricRow,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
s as StackIcon,
|
|
9
|
+
c as TintedIconTile,
|
|
10
|
+
i as getIconTileColorShades
|
|
11
11
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { ToastProps } from './types/ToastProps';
|
|
2
|
-
export declare const Toast: ({ children, description, icon, iconLabel, action, progress, duration, onCancel, onClose, cancelLabel, closeLabel,
|
|
2
|
+
export declare const Toast: ({ children, description, icon, iconLabel, action, progress, duration, onCancel, onClose, cancelLabel, closeLabel, status, role, className, onMouseEnter, onMouseLeave, onFocus, onBlur, render, ref, ...props }: ToastProps) => import("react").JSX.Element;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ToastProps } from '../../types/ToastProps';
|
|
2
|
+
import { createToastCountdown } from '../utils/createToastCountdown';
|
|
3
|
+
type ToastCountdownEffectProps = Pick<ToastProps, 'progress' | 'onClose'> & {
|
|
4
|
+
clock: ReturnType<typeof createToastCountdown>;
|
|
5
|
+
duration: number;
|
|
6
|
+
isPaused: boolean;
|
|
7
|
+
};
|
|
8
|
+
export declare const ToastCountdownEffect: ({ clock, duration, progress, isPaused, onClose, }: ToastCountdownEffectProps) => null;
|
|
9
|
+
export {};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
type ToastProgressProps = {
|
|
2
2
|
progress?: number;
|
|
3
3
|
duration: number;
|
|
4
|
+
remainingDuration: number;
|
|
5
|
+
revision: number;
|
|
4
6
|
isPaused: boolean;
|
|
5
7
|
barColor: string;
|
|
6
|
-
onClose?: () => void;
|
|
7
8
|
};
|
|
8
|
-
export declare const ToastProgress: ({ progress, duration, isPaused, barColor,
|
|
9
|
+
export declare const ToastProgress: ({ progress, duration, remainingDuration, revision, isPaused, barColor, }: ToastProgressProps) => import("react").JSX.Element | null;
|
|
9
10
|
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare const useToastCountdown: ({ duration, isPaused, }: {
|
|
2
|
+
duration: number;
|
|
3
|
+
isPaused: boolean;
|
|
4
|
+
}) => {
|
|
5
|
+
countdown: {
|
|
6
|
+
duration: number;
|
|
7
|
+
remainingDuration: number;
|
|
8
|
+
revision: number;
|
|
9
|
+
isPaused: boolean;
|
|
10
|
+
};
|
|
11
|
+
clock: {
|
|
12
|
+
update: (nextConfiguration: {
|
|
13
|
+
duration: number;
|
|
14
|
+
durationRevision: number;
|
|
15
|
+
isPaused: boolean;
|
|
16
|
+
isProgress: boolean;
|
|
17
|
+
isActive: boolean;
|
|
18
|
+
onClose?: () => void;
|
|
19
|
+
}) => void;
|
|
20
|
+
close: () => void;
|
|
21
|
+
stop: () => void;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
type CountdownConfiguration = {
|
|
2
|
+
duration: number;
|
|
3
|
+
durationRevision: number;
|
|
4
|
+
isPaused: boolean;
|
|
5
|
+
isProgress: boolean;
|
|
6
|
+
isActive: boolean;
|
|
7
|
+
onClose?: () => void;
|
|
8
|
+
};
|
|
9
|
+
type CountdownSnapshot = {
|
|
10
|
+
duration: number;
|
|
11
|
+
remainingDuration: number;
|
|
12
|
+
revision: number;
|
|
13
|
+
isPaused: boolean;
|
|
14
|
+
};
|
|
15
|
+
export declare const createToastCountdown: ({ onChange, }: {
|
|
16
|
+
onChange: (snapshot: CountdownSnapshot) => void;
|
|
17
|
+
}) => {
|
|
18
|
+
update: (nextConfiguration: CountdownConfiguration) => void;
|
|
19
|
+
close: () => void;
|
|
20
|
+
stop: () => void;
|
|
21
|
+
};
|
|
22
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const isCountdownDuration: (duration: number) => boolean;
|
|
@@ -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
|
+
};
|
|
@@ -15,6 +15,7 @@ export type { ToastNotification } from './Toast/types/ToastNotification';
|
|
|
15
15
|
export type { ToastOptions } from './Toast/types/ToastOptions';
|
|
16
16
|
export type { ToastProps } from './Toast/types/ToastProps';
|
|
17
17
|
export type { ToastProviderProps } from './Toast/types/ToastProviderProps';
|
|
18
|
-
export type {
|
|
18
|
+
export type { ToastStatus } from './Toast/types/ToastStatus';
|
|
19
|
+
export type { ToastUpdate } from './Toast/types/ToastUpdate';
|
|
19
20
|
export { Toaster } from './Toaster/Toaster';
|
|
20
21
|
export type { ToasterProps } from './Toaster/types/ToasterProps';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../feedback-
|
|
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;
|
|
@@ -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
|
+
};
|
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';
|
|
@@ -15,9 +15,14 @@ export type { LightButtonProps } from './LightButton/types/LightButtonProps';
|
|
|
15
15
|
export { LightIconButton } from './LightIconButton/LightIconButton';
|
|
16
16
|
export type { LightIconButtonProps } from './LightIconButton/types/LightIconButtonProps';
|
|
17
17
|
export { MainButton } from './MainButton/MainButton';
|
|
18
|
+
export { NumberStepper } from './NumberStepper/NumberStepper';
|
|
19
|
+
export type { NumberStepperProps } from './NumberStepper/types/NumberStepperProps';
|
|
18
20
|
export { PhoneCountryPicker } from './PhoneCountryPicker/PhoneCountryPicker';
|
|
19
21
|
export type { PhoneCountryOption } from './PhoneCountryPicker/types/PhoneCountryOption';
|
|
20
22
|
export type { PhoneCountryPickerOptionsProps } from './PhoneCountryPicker/types/PhoneCountryPickerOptionsProps';
|
|
21
23
|
export type { PhoneCountryPickerTriggerProps } from './PhoneCountryPicker/types/PhoneCountryPickerTriggerProps';
|
|
22
24
|
export { SearchInput } from './SearchInput/SearchInput';
|
|
23
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';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
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;
|
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
import { n, r as o } from "../Dropdown-
|
|
2
|
-
import { a, i as s, n as
|
|
1
|
+
import { n, r as o } from "../Dropdown-CScN_olN.js";
|
|
2
|
+
import { a, c as e, i as s, l as u, n as c, o as i, r as m, s as p, t as I } from "../input-BUgnp6eA.js";
|
|
3
3
|
export {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
u as CountrySelect,
|
|
5
|
+
e as CurrencyPicker,
|
|
6
6
|
o as IconButton,
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
p as ImageInput,
|
|
8
|
+
i as LightButton,
|
|
9
9
|
n as LightIconButton,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
m as
|
|
10
|
+
a as MainButton,
|
|
11
|
+
s as NumberStepper,
|
|
12
|
+
m as PhoneCountryPicker,
|
|
13
|
+
c as SearchInput,
|
|
14
|
+
I as SegmentedControl
|
|
13
15
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../layout-
|
|
1
|
+
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../layout-wuIu4rJ3.cjs");exports.AnimatedIconCrossfade=e.AnimatedIconCrossfade;exports.OverflowingList=e.OverflowingList;exports.Section=e.Section;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ThemeColor } from '../../../../theme';
|
|
1
|
+
import { ReactNode } from 'react';
|
|
3
2
|
export type MenuItemIconWithGripSwapProps = {
|
|
4
|
-
|
|
5
|
-
iconThemeColor?: ThemeColor | null;
|
|
3
|
+
leadingContent?: ReactNode;
|
|
6
4
|
withIconContainer?: boolean;
|
|
5
|
+
withIconContainerBackground?: boolean;
|
|
7
6
|
gripIconColor: string;
|
|
8
7
|
};
|
|
9
|
-
export declare const MenuItemIconWithGripSwap: ({
|
|
8
|
+
export declare const MenuItemIconWithGripSwap: ({ leadingContent, withIconContainer, withIconContainerBackground, gripIconColor, }: MenuItemIconWithGripSwapProps) => import("react").JSX.Element | null;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { MenuItemDraggableProps } from './types/MenuItemDraggableProps';
|
|
2
|
-
export declare const MenuItemDraggable: ({ LeftIcon, withIconContainer, accent, iconButtons, onClick, text, contextualText, isDragDisabled, className, isIconDisplayedOnHoverOnly, gripMode, }: MenuItemDraggableProps) => import("react").JSX.Element;
|
|
2
|
+
export declare const MenuItemDraggable: ({ LeftIcon, LeftComponent, withIconContainer, accent, iconButtons, onClick, text, contextualText, isDragDisabled, className, isIconDisplayedOnHoverOnly, gripMode, }: MenuItemDraggableProps) => import("react").JSX.Element;
|
|
@@ -4,6 +4,7 @@ import { IconComponent } from '../../../../icon';
|
|
|
4
4
|
import { ReactNode } from 'react';
|
|
5
5
|
export type MenuItemDraggableProps = {
|
|
6
6
|
LeftIcon?: IconComponent | undefined;
|
|
7
|
+
LeftComponent?: ReactNode;
|
|
7
8
|
withIconContainer?: boolean;
|
|
8
9
|
accent?: MenuItemAccent;
|
|
9
10
|
iconButtons?: ReactNode;
|