twenty-ui 2.46.0 → 2.48.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-Cyd7721G.cjs} +1 -1
- package/dist/{AllIcons-CLbeNZLM.js → AllIcons-D132B8_i.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-DQUIhQAm.js → Button-D5enZ0Qz.js} +7 -6
- package/dist/Button-Dbi5P05r.cjs +1 -0
- package/dist/Dropdown-BKjAaZS0.cjs +1 -0
- package/dist/Dropdown-C2hXrjvD.js +820 -0
- package/dist/Input-DZWl81G_.js +23 -0
- package/dist/Input-DvL77rvu.cjs +1 -0
- package/dist/{ListItem-fFbJhi6M.cjs → ListItem-CHTR-GLd.cjs} +1 -1
- package/dist/{ListItem-BVJEFywj.js → ListItem-CjnrSbka.js} +4 -4
- package/dist/ListItem.module-BJ9Ttjrc.js +34 -0
- package/dist/ListItem.module-CO4u2oeF.cjs +1 -0
- package/dist/{Loader-GFhTL4Aw.cjs → Loader-Bb72CUQ9.cjs} +1 -1
- package/dist/{Loader-BBMC4fe6.js → Loader-DtHWQH8w.js} +1 -1
- package/dist/OverflowingTextWithTooltip-BmUROIah.js +90 -0
- package/dist/OverflowingTextWithTooltip-Z2daM0_x.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-BvT1dyFo.js +84 -0
- package/dist/ProgressBar-DfFz0fFB.cjs +1 -0
- package/dist/ProgressRing-8mYV9cxE.js +68 -0
- package/dist/ProgressRing-g1nHGyUp.cjs +1 -0
- package/dist/Radio-DMI1B7o5.js +103 -0
- package/dist/Radio-xmHgGHQO.cjs +1 -0
- package/dist/{ResizeHandle-X2NdHzqt.js → ResizeHandle-C1kQ3MYR.js} +2 -1
- package/dist/ResizeHandle-DI4LHIQm.cjs +1 -0
- package/dist/Shortcut-BvWUZ3pb.js +72 -0
- package/dist/Shortcut-CgrdLv_L.cjs +1 -0
- package/dist/TabsTabContent-Co27Y2TU.cjs +1 -0
- package/dist/TabsTabContent-DVcObDp6.js +39 -0
- package/dist/{TintedIconTile-BZgRO7cg.js → TintedIconTile-4BGa8g8n.js} +2 -2
- package/dist/{TintedIconTile-Dp4uH0Up.cjs → TintedIconTile-CU2hCerq.cjs} +1 -1
- package/dist/Tooltip-Bg9Uk01p.cjs +1 -0
- package/dist/Tooltip-cLCgtFBF.js +124 -0
- package/dist/components/code-editor/CodeEditor/CodeEditor.d.ts +1 -1
- package/dist/components/code-editor/CodeEditor/__stories__/ControlledCodeEditor.d.ts +2 -0
- package/dist/components/code-editor/CodeEditor/__stories__/ModelCodeEditor.d.ts +2 -0
- package/dist/components/code-editor/CodeEditor/__stories__/ResizableCodeEditor.d.ts +2 -0
- package/dist/components/code-editor/CodeEditor/__stories__/ThemedCodeEditor.d.ts +2 -0
- package/dist/components/code-editor/CodeEditor/__stories__/UnmountingCodeEditor.d.ts +2 -0
- package/dist/components/code-editor/CodeEditor/__stories__/waitForCodeEditorContent.d.ts +4 -1
- package/dist/components/code-editor/CodeEditor/internal/CodeEditorAutoHeightEffect.d.ts +9 -0
- package/dist/components/code-editor/CodeEditor/internal/CodeEditorLifecycleEffect.d.ts +11 -0
- package/dist/components/code-editor/CodeEditor/internal/CodeEditorLoaderConfigurationEffect.d.ts +7 -0
- package/dist/components/code-editor/CodeEditor/internal/CodeEditorMarkersEffect.d.ts +10 -0
- package/dist/components/code-editor/CodeEditor/internal/CodeEditorResizableHeightEffect.d.ts +11 -0
- package/dist/components/code-editor/CodeEditor/internal/CodeEditorThemeEffect.d.ts +10 -0
- package/dist/components/code-editor/CodeEditor/internal/constants/CodeEditorDefaultHeight.d.ts +1 -0
- package/dist/components/code-editor/CodeEditor/internal/types/ResizedCodeEditorHeight.d.ts +4 -0
- package/dist/components/code-editor/CodeEditor/internal/useCodeEditorHeight.d.ts +13 -0
- package/dist/components/code-editor/CodeEditor/internal/utils/defineCodeEditorDefaultTheme.d.ts +7 -0
- package/dist/components/code-editor/CodeEditor/internal/utils/getBaseCodeEditorTheme.d.ts +4 -1
- package/dist/components/code-editor/CodeEditor/internal/utils/getBoundedCodeEditorHeight.d.ts +1 -0
- package/dist/components/code-editor/CodeEditor/internal/utils/getCurrentCodeEditorHeight.d.ts +7 -0
- package/dist/components/code-editor/CodeEditor/internal/utils/getResizableCodeEditorHeight.d.ts +5 -0
- package/dist/components/code-editor/CodeEditor/types/CodeEditorProps.d.ts +4 -2
- package/dist/components/code-editor.cjs +1 -1
- package/dist/components/code-editor.mjs +267 -155
- 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 +10 -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/components/ToastProviderLifecycleEffect.d.ts +3 -0
- package/dist/components/feedback/Toast/internal/constants/DefaultToastDuration.d.ts +1 -0
- package/dist/components/feedback/Toast/internal/contexts/ToastContext.d.ts +60 -1
- package/dist/components/feedback/Toast/internal/contexts/ToastTimingContext.d.ts +14 -0
- package/dist/components/feedback/Toast/internal/hooks/useToastContext.d.ts +60 -1
- package/dist/components/feedback/Toast/internal/hooks/useToastCountdown.d.ts +49 -0
- package/dist/components/feedback/Toast/internal/hooks/useUpdateToast.d.ts +4 -0
- package/dist/components/feedback/Toast/internal/stores/createToastStore.d.ts +60 -1
- package/dist/components/feedback/Toast/internal/types/ToastEntry.d.ts +1 -0
- package/dist/components/feedback/Toast/internal/utils/assertValidToastLimit.d.ts +1 -0
- package/dist/components/feedback/Toast/internal/utils/completeToastExit.d.ts +3 -2
- package/dist/components/feedback/Toast/internal/utils/createToastCountdown.d.ts +22 -0
- package/dist/components/feedback/Toast/internal/utils/createToastCountdownStore.d.ts +22 -0
- package/dist/components/feedback/Toast/internal/utils/createToastLifecycle.d.ts +62 -0
- package/dist/components/feedback/Toast/internal/utils/dismissToasts.d.ts +3 -2
- 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/internal/utils/updateToastLimit.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__/ToasterLifecycleControls.d.ts +7 -0
- package/dist/components/feedback/Toaster/__stories__/ToasterLifecycleExample.d.ts +2 -0
- package/dist/components/feedback/Toaster/__stories__/ToasterLifecycleExampleProps.d.ts +7 -0
- package/dist/components/feedback/Toaster/__stories__/ToasterLifecycleTimingOverrideExample.d.ts +9 -0
- package/dist/components/feedback/Toaster/__stories__/ToasterLifecycleUnrelatedNotificationActions.d.ts +5 -0
- package/dist/components/feedback/Toaster/__stories__/ToasterPortalExample.d.ts +5 -0
- package/dist/components/feedback/Toaster/__stories__/ToasterProviderLayoutReplayEffect.d.ts +4 -0
- package/dist/components/feedback/Toaster/__stories__/ToasterProviderPassiveReplayEffect.d.ts +4 -0
- package/dist/components/feedback/Toaster/__stories__/ToasterProviderReplayExample.d.ts +6 -0
- package/dist/components/feedback/Toaster/__stories__/ToasterProviderSuspenseExample.d.ts +4 -0
- package/dist/components/feedback/Toaster/__stories__/ToasterProviderSuspension.d.ts +5 -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/Toaster/internal/ToasterItemExitEffect.d.ts +2 -1
- 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/components/input/SearchInput/SearchInput.d.ts +1 -1
- package/dist/components/input/SearchInput/types/SearchInputProps.d.ts +2 -3
- package/dist/{primitives → components}/input/SegmentedControl/SegmentedControl.d.ts +1 -1
- package/dist/{primitives → components}/input/SegmentedControl/types/SegmentedControlProps.d.ts +3 -1
- package/dist/components/input/SegmentedControl/types/SegmentedControlSize.d.ts +1 -0
- package/dist/components/input/index.d.ts +6 -0
- package/dist/components/input.cjs +1 -1
- package/dist/components/input.mjs +11 -9
- package/dist/components/layout/OverflowingList/OverflowingList.d.ts +1 -1
- package/dist/components/layout/OverflowingList/__stories__/OverflowingListActionsExample.d.ts +7 -0
- package/dist/components/layout/OverflowingList/__stories__/OverflowingListCanceledCloseExample.d.ts +1 -0
- package/dist/components/layout/OverflowingList/__stories__/OverflowingListControlledExample.d.ts +1 -0
- package/dist/components/layout/OverflowingList/__stories__/OverflowingListControlledStateExample.d.ts +1 -0
- package/dist/components/layout/OverflowingList/__stories__/OverflowingListDisabledTriggerFocusExample.d.ts +1 -0
- package/dist/components/layout/OverflowingList/__stories__/OverflowingListEventBlockingExample.d.ts +7 -0
- package/dist/components/layout/OverflowingList/__stories__/OverflowingListFocusExample.d.ts +1 -0
- package/dist/components/layout/OverflowingList/__stories__/OverflowingListInstanceCleanupExample.d.ts +1 -0
- package/dist/components/layout/OverflowingList/__stories__/OverflowingListStateExample.d.ts +1 -0
- package/dist/components/layout/OverflowingList/__stories__/OverflowingListTriggerRefExample.d.ts +1 -0
- package/dist/components/layout/OverflowingList/internal/OverflowingListItem.d.ts +8 -2
- package/dist/components/layout/OverflowingList/internal/OverflowingListItemFocusEffect.d.ts +8 -0
- package/dist/components/layout/OverflowingList/internal/OverflowingListLayoutEffect.d.ts +16 -0
- package/dist/components/layout/OverflowingList/internal/OverflowingListPopupTarget.d.ts +10 -0
- package/dist/components/layout/OverflowingList/internal/focusOverflowingListFallback.d.ts +8 -0
- package/dist/components/layout/OverflowingList/internal/measureOverflowingListLayout.d.ts +10 -0
- package/dist/components/layout/OverflowingList/internal/types/OverflowingListLayout.d.ts +4 -0
- package/dist/components/layout/OverflowingList/internal/useFocusedElementUnmountRef.d.ts +1 -1
- package/dist/components/layout/OverflowingList/internal/useOverflowingListFocus.d.ts +30 -0
- package/dist/components/layout/OverflowingList/internal/useOverflowingListLayout.d.ts +6 -6
- package/dist/components/layout/OverflowingList/types/OverflowingListProps.d.ts +7 -2
- package/dist/components/layout.cjs +1 -1
- package/dist/components/layout.mjs +1 -1
- package/dist/components/navigation/Dropdown/Dropdown.d.ts +4 -4
- package/dist/components/navigation/Dropdown/internal/DropdownActionItem.d.ts +1 -1
- package/dist/components/navigation/Dropdown/internal/DropdownContent.d.ts +1 -1
- package/dist/components/navigation/Dropdown/internal/DropdownContextValue.d.ts +6 -5
- 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/DropdownOptionItem.d.ts +1 -1
- package/dist/components/navigation/Dropdown/internal/DropdownRowFocus.d.ts +5 -0
- package/dist/components/navigation/Dropdown/internal/DropdownRowsEffect.d.ts +5 -0
- package/dist/components/navigation/Dropdown/internal/DropdownSubmenuTrigger.d.ts +1 -1
- package/dist/components/navigation/Dropdown/internal/getDropdownItemExplicitId.d.ts +5 -0
- package/dist/components/navigation/Dropdown/internal/getDropdownRows.d.ts +1 -0
- package/dist/components/navigation/Dropdown/internal/getDropdownSearch.d.ts +1 -0
- package/dist/components/navigation/Dropdown/internal/getDropdownTabStopRowId.d.ts +4 -0
- package/dist/components/navigation/Dropdown/internal/isDropdownDismissPrevented.d.ts +2 -1
- package/dist/components/navigation/Dropdown/internal/isDropdownRow.d.ts +4 -0
- package/dist/components/navigation/Dropdown/internal/isEnabledDropdownItem.d.ts +4 -0
- package/dist/components/navigation/Dropdown/internal/useDropdownItemFocus.d.ts +0 -1
- package/dist/components/navigation/Dropdown/internal/useDropdownKeyboardNavigation.d.ts +1 -6
- 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-0QO_WDSs.js +183 -0
- package/dist/data-display-CPmTJAWJ.cjs +1 -0
- package/dist/data-display-DjhAHvj1.cjs +2 -0
- package/dist/data-display-KyZbLLy-.js +344 -0
- package/dist/feedback-CM6fatE8.js +664 -0
- package/dist/feedback-DA-AU5z5.js +38 -0
- package/dist/feedback-DNLERYY9.cjs +1 -0
- package/dist/feedback-ybO4n69s.cjs +1 -0
- package/dist/getProgressIndicatorPercentage-Mii9lnYd.cjs +1 -0
- package/dist/getProgressIndicatorPercentage-ejfaM6XU.js +7 -0
- package/dist/icon/components/TablerIcons.d.ts +1 -1
- package/dist/icon/constants/TwentyIconDictionary.d.ts +7 -7
- package/dist/icon/index.d.ts +1 -1
- package/dist/{icon-DM8Yjnig.cjs → icon-BNcdwwdl.cjs} +1 -1
- package/dist/{icon-Bo3y4NHM.js → icon-CUE-QGQK.js} +130 -129
- package/dist/icon.cjs +1 -1
- package/dist/icon.mjs +77 -76
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +274 -268
- package/dist/input-3D2lXywH.cjs +1 -0
- package/dist/input-CJDYNwoO.cjs +1 -0
- package/dist/input-DRpDiMRi.js +421 -0
- package/dist/input-TM3nUdu6.js +554 -0
- package/dist/layout-BszCDxAO.js +441 -0
- package/dist/layout-VaIq7Sjr.cjs +1 -0
- package/dist/navigation-B1SRvzKK.js +403 -0
- package/dist/navigation-CYAs2LnR.js +131 -0
- package/dist/navigation-CthkGHJ8.cjs +1 -0
- package/dist/navigation-DrOV5E67.cjs +1 -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/Tooltip/Tooltip.d.ts +1 -1
- package/dist/primitives/surfaces/Tooltip/internal/TooltipPopup.d.ts +1 -1
- package/dist/primitives/surfaces/Tooltip/types/TooltipPopupProps.d.ts +2 -0
- 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/OverflowingTextWithTooltip/OverflowingTextTooltipModeProvider.d.ts +6 -0
- package/dist/primitives/typography/OverflowingTextWithTooltip/internal/OverflowingTextTooltipModeContext.d.ts +2 -0
- package/dist/primitives/typography/OverflowingTextWithTooltip/internal/isElementOverflowing.d.ts +1 -0
- package/dist/primitives/typography/OverflowingTextWithTooltip/types/OverflowingTextTooltipMode.d.ts +1 -0
- package/dist/primitives/typography/Shortcut/Shortcut.d.ts +1 -1
- package/dist/primitives/typography/Shortcut/internal/getShortcutPresentation.d.ts +1 -1
- package/dist/primitives/typography/Shortcut/types/ShortcutFormatOptions.d.ts +1 -0
- package/dist/primitives/typography/index.d.ts +2 -0
- package/dist/primitives/typography.cjs +1 -1
- package/dist/primitives/typography.mjs +10 -9
- package/dist/primitives.cjs +1 -1
- package/dist/primitives.mjs +69 -67
- package/dist/{settings-bRqO7Q-5.cjs → settings-BAYsnlZJ.cjs} +1 -1
- package/dist/{settings-Fpo_5Uen.js → settings-BjEZiHXE.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/surfaces-0rL5DoHt.cjs +1 -0
- package/dist/surfaces-BLsR5ka0.js +202 -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-B5QEuPaL.cjs +1 -0
- package/dist/typography-fOTFr0jS.js +11 -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-CZVEnq0N.js +0 -774
- 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/ListItem.module-Ar-vZ7Qu.js +0 -34
- package/dist/ListItem.module-B8NeDH1P.cjs +0 -1
- 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/ResizeHandle-BGboQXCx.cjs +0 -1
- package/dist/Shortcut-CWRh02hg.js +0 -71
- package/dist/Shortcut-oYvcja2P.cjs +0 -1
- package/dist/TabsTabContent-DZUNi_iE.cjs +0 -1
- package/dist/TabsTabContent-s6J5bZ3R.js +0 -39
- package/dist/components/data-display/NotificationCounter/NotificationCounter.d.ts +0 -7
- package/dist/components/feedback/Toast/types/ToastVariant.d.ts +0 -1
- package/dist/components/navigation/Dropdown/internal/DropdownSearchTargetEffect.d.ts +0 -5
- 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-CBqN-Jhw.cjs +0 -1
- package/dist/typography-D-DQvgaS.js +0 -5
- /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/types/SegmentedControlOption.d.ts +0 -0
- /package/dist/utilities/{internal → utils}/preventDismissingClickActivation.d.ts +0 -0
package/dist/layout-Bt-DUE1X.js
DELETED
|
@@ -1,267 +0,0 @@
|
|
|
1
|
-
import { t as p } from "./isDefined-fMi6eQ4r.js";
|
|
2
|
-
import { n as re, t as se } from "./OverflowingTextWithTooltip-wRABzEWd.js";
|
|
3
|
-
import { t as P } from "./Popover-C-JjVGKl.js";
|
|
4
|
-
import { t as ae } from "./Heading-pXllCJCO.js";
|
|
5
|
-
import { useRender as j } from "@base-ui/react/use-render";
|
|
6
|
-
import { isNonEmptyString as ne, isString as K } from "@sniptt/guards";
|
|
7
|
-
import { clsx as W } from "clsx";
|
|
8
|
-
import { useCallback as Z, useId as oe, useLayoutEffect as G, useRef as E, useState as O } from "react";
|
|
9
|
-
import { Fragment as ee, jsx as l, jsxs as D } from "react/jsx-runtime";
|
|
10
|
-
import { useMergedRefs as J } from "@base-ui/utils/useMergedRefs";
|
|
11
|
-
var ie = "_container_1hm4x_1", le = "_layer_1hm4x_9", ce = "_visible_1hm4x_23", de = "_hidden_1hm4x_28", N = {
|
|
12
|
-
container: ie,
|
|
13
|
-
layer: le,
|
|
14
|
-
visible: ce,
|
|
15
|
-
hidden: de
|
|
16
|
-
}, He = ({ isActive: t, activeIcon: e, inactiveIcon: r, className: a, render: s, ref: n, ...o }) => j({
|
|
17
|
-
defaultTagName: "span",
|
|
18
|
-
render: s,
|
|
19
|
-
ref: n,
|
|
20
|
-
props: {
|
|
21
|
-
...o,
|
|
22
|
-
className: W(N.container, a),
|
|
23
|
-
children: /* @__PURE__ */ D(ee, { children: [/* @__PURE__ */ l("span", {
|
|
24
|
-
"aria-hidden": "true",
|
|
25
|
-
className: W(N.layer, t ? N.hidden : N.visible),
|
|
26
|
-
children: r
|
|
27
|
-
}), /* @__PURE__ */ l("span", {
|
|
28
|
-
"aria-hidden": "true",
|
|
29
|
-
className: W(N.layer, t ? N.visible : N.hidden),
|
|
30
|
-
children: e
|
|
31
|
-
})] })
|
|
32
|
-
}
|
|
33
|
-
}), ue = "_root_1yq9n_1", me = "_items_1yq9n_11", fe = "_item_1yq9n_11", ve = "_trigger_1yq9n_45", pe = "_popup_1yq9n_72", A = {
|
|
34
|
-
root: ue,
|
|
35
|
-
items: me,
|
|
36
|
-
item: fe,
|
|
37
|
-
trigger: ve,
|
|
38
|
-
popup: pe
|
|
39
|
-
}, te = (t) => Z((e) => {
|
|
40
|
-
if (p(e))
|
|
41
|
-
return () => {
|
|
42
|
-
e.contains(e.ownerDocument.activeElement) && t();
|
|
43
|
-
};
|
|
44
|
-
}, [t]), he = ({ children: t, isHidden: e, isLastVisible: r, onFocusedItemUnmount: a }) => /* @__PURE__ */ l("div", {
|
|
45
|
-
ref: te(a),
|
|
46
|
-
className: A.item,
|
|
47
|
-
"data-hidden": e || void 0,
|
|
48
|
-
"data-last-visible": r || void 0,
|
|
49
|
-
"aria-hidden": e || void 0,
|
|
50
|
-
inert: e,
|
|
51
|
-
children: t
|
|
52
|
-
}), Q = ({ itemWidths: t, availableWidth: e, gap: r, includePartialItem: a }) => {
|
|
53
|
-
let s = 0, n = 0;
|
|
54
|
-
for (const o of t) {
|
|
55
|
-
const c = s + o + (n > 0 ? r : 0);
|
|
56
|
-
if (n !== 0 && c > e) {
|
|
57
|
-
const h = s + r < e;
|
|
58
|
-
return a && h ? n + 1 : n;
|
|
59
|
-
}
|
|
60
|
-
s = c, n += 1;
|
|
61
|
-
}
|
|
62
|
-
return n;
|
|
63
|
-
}, _e = ({ items: t, itemElements: e, supportsSynchronousLayout: r }) => {
|
|
64
|
-
if (!r) return e.map((s) => s.scrollWidth);
|
|
65
|
-
t.setAttribute("data-measuring", "");
|
|
66
|
-
const a = e.map((s) => s.clientWidth);
|
|
67
|
-
return t.removeAttribute("data-measuring"), a;
|
|
68
|
-
}, ge = 100, be = ({ itemCount: t, inlineItemCount: e, reserveCountSpace: r, isMeasurementEnabled: a }) => {
|
|
69
|
-
const s = E(null), n = E(null), o = E(null), c = E(void 0), h = E({
|
|
70
|
-
itemCount: t,
|
|
71
|
-
reserveCountSpace: r
|
|
72
|
-
}), [T, x] = O(e), [F, y] = O(t > e);
|
|
73
|
-
return G(() => {
|
|
74
|
-
h.current = {
|
|
75
|
-
itemCount: t,
|
|
76
|
-
reserveCountSpace: r
|
|
77
|
-
}, c.current?.();
|
|
78
|
-
}, [
|
|
79
|
-
t,
|
|
80
|
-
e,
|
|
81
|
-
r
|
|
82
|
-
]), G(() => {
|
|
83
|
-
const f = s.current, d = n.current;
|
|
84
|
-
if (!a || !p(f) || !p(d)) return;
|
|
85
|
-
const u = p(globalThis.ResizeObserver), R = /* @__PURE__ */ new Set(), v = () => {
|
|
86
|
-
const b = Array.from(d.children), S = /* @__PURE__ */ new Set([f, ...b]);
|
|
87
|
-
p(o.current) && S.add(o.current);
|
|
88
|
-
for (const m of R) S.has(m) || (_?.unobserve(m), R.delete(m));
|
|
89
|
-
for (const m of S) R.has(m) || (_?.observe(m), R.add(m));
|
|
90
|
-
const I = h.current, H = _e({
|
|
91
|
-
items: d,
|
|
92
|
-
itemElements: b,
|
|
93
|
-
supportsSynchronousLayout: u
|
|
94
|
-
}), w = parseFloat(getComputedStyle(d).columnGap) || 0, L = f.clientWidth, V = Q({
|
|
95
|
-
itemWidths: H,
|
|
96
|
-
availableWidth: L,
|
|
97
|
-
gap: w,
|
|
98
|
-
includePartialItem: !1
|
|
99
|
-
}), q = I.itemCount > V, U = o.current?.offsetWidth ?? 0, $ = I.reserveCountSpace && q ? Math.max(0, L - U - w) : L;
|
|
100
|
-
y(q), x(Q({
|
|
101
|
-
itemWidths: H,
|
|
102
|
-
availableWidth: $,
|
|
103
|
-
gap: w,
|
|
104
|
-
includePartialItem: !I.reserveCountSpace
|
|
105
|
-
}));
|
|
106
|
-
}, _ = u ? new ResizeObserver(v) : void 0;
|
|
107
|
-
c.current = v, v();
|
|
108
|
-
const g = new MutationObserver(v);
|
|
109
|
-
if (g.observe(d, {
|
|
110
|
-
attributes: !0,
|
|
111
|
-
attributeFilter: [
|
|
112
|
-
"class",
|
|
113
|
-
"style",
|
|
114
|
-
"hidden"
|
|
115
|
-
],
|
|
116
|
-
characterData: !0,
|
|
117
|
-
childList: !0,
|
|
118
|
-
subtree: !0
|
|
119
|
-
}), g.observe(f, { childList: !0 }), !p(_)) {
|
|
120
|
-
const b = setInterval(v, ge);
|
|
121
|
-
return window.addEventListener("resize", v), () => {
|
|
122
|
-
c.current = void 0, clearInterval(b), g.disconnect(), window.removeEventListener("resize", v);
|
|
123
|
-
};
|
|
124
|
-
}
|
|
125
|
-
return () => {
|
|
126
|
-
c.current = void 0, g.disconnect(), _.disconnect();
|
|
127
|
-
};
|
|
128
|
-
}, [a]), {
|
|
129
|
-
containerRef: s,
|
|
130
|
-
itemsRef: n,
|
|
131
|
-
triggerRef: o,
|
|
132
|
-
visibleItemCount: T,
|
|
133
|
-
hasOverflow: F
|
|
134
|
-
};
|
|
135
|
-
}, M = (t) => t.stopPropagation(), X = {
|
|
136
|
-
onClick: M,
|
|
137
|
-
onMouseDown: M,
|
|
138
|
-
onPointerDown: M,
|
|
139
|
-
onKeyDown: M,
|
|
140
|
-
onKeyUp: M
|
|
141
|
-
}, Ve = ({ children: t, showOverflowCount: e, maxInlineCount: r, overflowLabel: a = "Show all items", className: s, onMouseEnter: n, onMouseLeave: o, onFocusCapture: c, onBlurCapture: h, ref: T, ...x }) => {
|
|
142
|
-
const [F, y] = O(!1), [f, d] = O(!1), [u, R] = O(!1), [v, _] = O(), g = e ?? v ?? (F || f || u), b = p(r) && Number.isFinite(r) ? Math.min(t.length, Math.max(0, Math.floor(r))) : t.length, { containerRef: S, itemsRef: I, triggerRef: H, visibleItemCount: w, hasOverflow: L } = be({
|
|
143
|
-
itemCount: t.length,
|
|
144
|
-
inlineItemCount: b,
|
|
145
|
-
reserveCountSpace: g,
|
|
146
|
-
isMeasurementEnabled: e !== !1 || u
|
|
147
|
-
}), V = Z(() => {
|
|
148
|
-
d(!1), _(void 0);
|
|
149
|
-
}, []), q = te(V), U = J(S, T), $ = J(H, q), m = e === !1 ? b : w, B = t.length - w, k = L && (u || e !== !1);
|
|
150
|
-
return u && !k && R(!1), /* @__PURE__ */ l(P.Root, {
|
|
151
|
-
open: u && k,
|
|
152
|
-
onOpenChange: R,
|
|
153
|
-
children: /* @__PURE__ */ D("div", {
|
|
154
|
-
...x,
|
|
155
|
-
ref: U,
|
|
156
|
-
className: W(A.root, s),
|
|
157
|
-
onMouseEnter: (i) => {
|
|
158
|
-
y(!0), n?.(i);
|
|
159
|
-
},
|
|
160
|
-
onMouseLeave: (i) => {
|
|
161
|
-
y(!1), o?.(i);
|
|
162
|
-
},
|
|
163
|
-
onFocusCapture: (i) => {
|
|
164
|
-
d(!0), I.current?.contains(i.target) && _((C) => C ?? g), c?.(i);
|
|
165
|
-
},
|
|
166
|
-
onBlurCapture: (i) => {
|
|
167
|
-
d(i.currentTarget.contains(i.relatedTarget)), I.current?.contains(i.relatedTarget) || _(void 0), h?.(i);
|
|
168
|
-
},
|
|
169
|
-
children: [
|
|
170
|
-
/* @__PURE__ */ l("div", {
|
|
171
|
-
ref: I,
|
|
172
|
-
className: A.items,
|
|
173
|
-
children: t.slice(0, b).map((i, C) => /* @__PURE__ */ l(he, {
|
|
174
|
-
isHidden: C >= m,
|
|
175
|
-
isLastVisible: e !== !1 && C === m - 1,
|
|
176
|
-
onFocusedItemUnmount: V,
|
|
177
|
-
children: i
|
|
178
|
-
}, i.key ?? C))
|
|
179
|
-
}),
|
|
180
|
-
k && /* @__PURE__ */ D(P.Trigger, {
|
|
181
|
-
ref: $,
|
|
182
|
-
type: "button",
|
|
183
|
-
className: A.trigger,
|
|
184
|
-
"data-visible": g || void 0,
|
|
185
|
-
"aria-label": `+${B} ${a}`,
|
|
186
|
-
...X,
|
|
187
|
-
children: ["+", B]
|
|
188
|
-
}),
|
|
189
|
-
/* @__PURE__ */ l(P.Portal, { children: /* @__PURE__ */ l(P.Positioner, {
|
|
190
|
-
anchor: S,
|
|
191
|
-
align: "start",
|
|
192
|
-
sideOffset: -9,
|
|
193
|
-
alignOffset: -7,
|
|
194
|
-
children: /* @__PURE__ */ l(P.Popup, {
|
|
195
|
-
"aria-label": a,
|
|
196
|
-
className: A.popup,
|
|
197
|
-
"data-overflowing-list-popup": "",
|
|
198
|
-
...X,
|
|
199
|
-
children: t
|
|
200
|
-
})
|
|
201
|
-
}) })
|
|
202
|
-
]
|
|
203
|
-
})
|
|
204
|
-
});
|
|
205
|
-
}, ye = "_header_1dz7y_1", Re = "_titleRow_1dz7y_8", Ie = "_title_1dz7y_8", Ne = "_actions_1dz7y_21", Se = "_description_1dz7y_27", z = {
|
|
206
|
-
header: ye,
|
|
207
|
-
titleRow: Re,
|
|
208
|
-
title: Ie,
|
|
209
|
-
actions: Ne,
|
|
210
|
-
description: Se
|
|
211
|
-
}, we = ({ title: t, description: e, actions: r, level: a = 2, size: s = "md", color: n = "primary", descriptionLineClamp: o = 5, isDescriptionFocusable: c = !1, render: h, ref: T, className: x, ...F }) => {
|
|
212
|
-
const y = oe(), f = K(e) ? ne(e) : p(e) && e !== !1, d = K(e) && o !== !1, u = K(e) ? /* @__PURE__ */ l(re, {
|
|
213
|
-
style: { whiteSpace: "pre-wrap" },
|
|
214
|
-
children: e
|
|
215
|
-
}) : e;
|
|
216
|
-
return j({
|
|
217
|
-
render: h,
|
|
218
|
-
ref: T,
|
|
219
|
-
props: {
|
|
220
|
-
...F,
|
|
221
|
-
className: W(z.header, x),
|
|
222
|
-
children: /* @__PURE__ */ D(ee, { children: [/* @__PURE__ */ D("div", {
|
|
223
|
-
className: z.titleRow,
|
|
224
|
-
children: [/* @__PURE__ */ l(ae, {
|
|
225
|
-
level: a,
|
|
226
|
-
size: s,
|
|
227
|
-
color: n,
|
|
228
|
-
className: z.title,
|
|
229
|
-
"aria-describedby": f ? y : void 0,
|
|
230
|
-
children: t
|
|
231
|
-
}), p(r) && /* @__PURE__ */ l("div", {
|
|
232
|
-
className: z.actions,
|
|
233
|
-
children: r
|
|
234
|
-
})]
|
|
235
|
-
}), f && /* @__PURE__ */ l("div", {
|
|
236
|
-
id: y,
|
|
237
|
-
className: z.description,
|
|
238
|
-
children: d ? /* @__PURE__ */ l(se, {
|
|
239
|
-
text: e,
|
|
240
|
-
lineClamp: o,
|
|
241
|
-
isTooltipMultiline: !0,
|
|
242
|
-
isFocusable: c
|
|
243
|
-
}) : u
|
|
244
|
-
})] })
|
|
245
|
-
}
|
|
246
|
-
});
|
|
247
|
-
}, Oe = "_root_ztxxm_1", We = "_fullWidth_ztxxm_20", Y = {
|
|
248
|
-
root: Oe,
|
|
249
|
-
fullWidth: We
|
|
250
|
-
}, Te = ({ align: t = "left", color: e = "primary", fullWidth: r = !0, className: a, render: s, ref: n, ...o }) => j({
|
|
251
|
-
render: s,
|
|
252
|
-
ref: n,
|
|
253
|
-
props: {
|
|
254
|
-
...o,
|
|
255
|
-
"data-align": t,
|
|
256
|
-
"data-color": e,
|
|
257
|
-
className: W(Y.root, r && Y.fullWidth, a)
|
|
258
|
-
}
|
|
259
|
-
}), qe = {
|
|
260
|
-
Root: Te,
|
|
261
|
-
Header: we
|
|
262
|
-
};
|
|
263
|
-
export {
|
|
264
|
-
Ve as n,
|
|
265
|
-
He as r,
|
|
266
|
-
qe as t
|
|
267
|
-
};
|
package/dist/layout-DJq0Dcmq.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const h=require("./isDefined-DS2Q42p5.cjs"),$=require("./OverflowingTextWithTooltip-CXHiE4BG.cjs"),D=require("./Popover-D_S9MGZm.cjs"),Y=require("./Heading-CTRYClCO.cjs");let U=require("@base-ui/react/use-render"),A=require("@sniptt/guards"),P=require("clsx"),o=require("react"),s=require("react/jsx-runtime"),B=require("@base-ui/utils/useMergedRefs");var Z="_container_1hm4x_1",ee="_layer_1hm4x_9",te="_visible_1hm4x_23",re="_hidden_1hm4x_28",I={container:Z,layer:ee,visible:te,hidden:re},se=({isActive:t,activeIcon:e,inactiveIcon:r,className:n,render:i,ref:a,...c})=>(0,U.useRender)({defaultTagName:"span",render:i,ref:a,props:{...c,className:(0,P.clsx)(I.container,n),children:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{"aria-hidden":"true",className:(0,P.clsx)(I.layer,t?I.hidden:I.visible),children:r}),(0,s.jsx)("span",{"aria-hidden":"true",className:(0,P.clsx)(I.layer,t?I.visible:I.hidden),children:e})]})}}),ie="_root_1yq9n_1",ne="_items_1yq9n_11",ae="_item_1yq9n_11",oe="_trigger_1yq9n_45",ce="_popup_1yq9n_72",F={root:ie,items:ne,item:ae,trigger:oe,popup:ce},X=t=>(0,o.useCallback)(e=>{if(h.isDefined(e))return()=>{e.contains(e.ownerDocument.activeElement)&&t()}},[t]),le=({children:t,isHidden:e,isLastVisible:r,onFocusedItemUnmount:n})=>(0,s.jsx)("div",{ref:X(n),className:F.item,"data-hidden":e||void 0,"data-last-visible":r||void 0,"aria-hidden":e||void 0,inert:e,children:t}),G=({itemWidths:t,availableWidth:e,gap:r,includePartialItem:n})=>{let i=0,a=0;for(const c of t){const u=i+c+(a>0?r:0);if(a!==0&&u>e){const p=i+r<e;return n&&p?a+1:a}i=u,a+=1}return a},ue=({items:t,itemElements:e,supportsSynchronousLayout:r})=>{if(!r)return e.map(i=>i.scrollWidth);t.setAttribute("data-measuring","");const n=e.map(i=>i.clientWidth);return t.removeAttribute("data-measuring"),n},de=100,fe=({itemCount:t,inlineItemCount:e,reserveCountSpace:r,isMeasurementEnabled:n})=>{const i=(0,o.useRef)(null),a=(0,o.useRef)(null),c=(0,o.useRef)(null),u=(0,o.useRef)(void 0),p=(0,o.useRef)({itemCount:t,reserveCountSpace:r}),[w,N]=(0,o.useState)(e),[q,y]=(0,o.useState)(t>e);return(0,o.useLayoutEffect)(()=>{p.current={itemCount:t,reserveCountSpace:r},u.current?.()},[t,e,r]),(0,o.useLayoutEffect)(()=>{const m=i.current,d=a.current;if(!n||!h.isDefined(m)||!h.isDefined(d))return;const f=h.isDefined(globalThis.ResizeObserver),R=new Set,_=()=>{const x=Array.from(d.children),O=new Set([m,...x]);h.isDefined(c.current)&&O.add(c.current);for(const v of R)O.has(v)||(g?.unobserve(v),R.delete(v));for(const v of O)R.has(v)||(g?.observe(v),R.add(v));const S=p.current,M=ue({items:d,itemElements:x,supportsSynchronousLayout:f}),j=parseFloat(getComputedStyle(d).columnGap)||0,T=m.clientWidth,E=G({itemWidths:M,availableWidth:T,gap:j,includePartialItem:!1}),z=S.itemCount>E,H=c.current?.offsetWidth??0,V=S.reserveCountSpace&&z?Math.max(0,T-H-j):T;y(z),N(G({itemWidths:M,availableWidth:V,gap:j,includePartialItem:!S.reserveCountSpace}))},g=f?new ResizeObserver(_):void 0;u.current=_,_();const b=new MutationObserver(_);if(b.observe(d,{attributes:!0,attributeFilter:["class","style","hidden"],characterData:!0,childList:!0,subtree:!0}),b.observe(m,{childList:!0}),!h.isDefined(g)){const x=setInterval(_,de);return window.addEventListener("resize",_),()=>{u.current=void 0,clearInterval(x),b.disconnect(),window.removeEventListener("resize",_)}}return()=>{u.current=void 0,b.disconnect(),g.disconnect()}},[n]),{containerRef:i,itemsRef:a,triggerRef:c,visibleItemCount:w,hasOverflow:q}},L=t=>t.stopPropagation(),J={onClick:L,onMouseDown:L,onPointerDown:L,onKeyDown:L,onKeyUp:L},ve=({children:t,showOverflowCount:e,maxInlineCount:r,overflowLabel:n="Show all items",className:i,onMouseEnter:a,onMouseLeave:c,onFocusCapture:u,onBlurCapture:p,ref:w,...N})=>{const[q,y]=(0,o.useState)(!1),[m,d]=(0,o.useState)(!1),[f,R]=(0,o.useState)(!1),[_,g]=(0,o.useState)(),b=e??_??(q||m||f),x=h.isDefined(r)&&Number.isFinite(r)?Math.min(t.length,Math.max(0,Math.floor(r))):t.length,{containerRef:O,itemsRef:S,triggerRef:M,visibleItemCount:j,hasOverflow:T}=fe({itemCount:t.length,inlineItemCount:x,reserveCountSpace:b,isMeasurementEnabled:e!==!1||f}),E=(0,o.useCallback)(()=>{d(!1),g(void 0)},[]),z=X(E),H=(0,B.useMergedRefs)(O,w),V=(0,B.useMergedRefs)(M,z),v=e===!1?x:j,K=t.length-j,k=T&&(f||e!==!1);return f&&!k&&R(!1),(0,s.jsx)(D.Popover.Root,{open:f&&k,onOpenChange:R,children:(0,s.jsxs)("div",{...N,ref:H,className:(0,P.clsx)(F.root,i),onMouseEnter:l=>{y(!0),a?.(l)},onMouseLeave:l=>{y(!1),c?.(l)},onFocusCapture:l=>{d(!0),S.current?.contains(l.target)&&g(W=>W??b),u?.(l)},onBlurCapture:l=>{d(l.currentTarget.contains(l.relatedTarget)),S.current?.contains(l.relatedTarget)||g(void 0),p?.(l)},children:[(0,s.jsx)("div",{ref:S,className:F.items,children:t.slice(0,x).map((l,W)=>(0,s.jsx)(le,{isHidden:W>=v,isLastVisible:e!==!1&&W===v-1,onFocusedItemUnmount:E,children:l},l.key??W))}),k&&(0,s.jsxs)(D.Popover.Trigger,{ref:V,type:"button",className:F.trigger,"data-visible":b||void 0,"aria-label":`+${K} ${n}`,...J,children:["+",K]}),(0,s.jsx)(D.Popover.Portal,{children:(0,s.jsx)(D.Popover.Positioner,{anchor:O,align:"start",sideOffset:-9,alignOffset:-7,children:(0,s.jsx)(D.Popover.Popup,{"aria-label":n,className:F.popup,"data-overflowing-list-popup":"",...J,children:t})})})]})})},me="_header_1dz7y_1",_e="_titleRow_1dz7y_8",he="_title_1dz7y_8",pe="_actions_1dz7y_21",ge="_description_1dz7y_27",C={header:me,titleRow:_e,title:he,actions:pe,description:ge},be=({title:t,description:e,actions:r,level:n=2,size:i="md",color:a="primary",descriptionLineClamp:c=5,isDescriptionFocusable:u=!1,render:p,ref:w,className:N,...q})=>{const y=(0,o.useId)(),m=(0,A.isString)(e)?(0,A.isNonEmptyString)(e):h.isDefined(e)&&e!==!1,d=(0,A.isString)(e)&&c!==!1,f=(0,A.isString)(e)?(0,s.jsx)($.Text,{style:{whiteSpace:"pre-wrap"},children:e}):e;return(0,U.useRender)({render:p,ref:w,props:{...q,className:(0,P.clsx)(C.header,N),children:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:C.titleRow,children:[(0,s.jsx)(Y.Heading,{level:n,size:i,color:a,className:C.title,"aria-describedby":m?y:void 0,children:t}),h.isDefined(r)&&(0,s.jsx)("div",{className:C.actions,children:r})]}),m&&(0,s.jsx)("div",{id:y,className:C.description,children:d?(0,s.jsx)($.OverflowingTextWithTooltip,{text:e,lineClamp:c,isTooltipMultiline:!0,isFocusable:u}):f})]})}})},xe="_root_ztxxm_1",ye="_fullWidth_ztxxm_20",Q={root:xe,fullWidth:ye},Re=({align:t="left",color:e="primary",fullWidth:r=!0,className:n,render:i,ref:a,...c})=>(0,U.useRender)({render:i,ref:a,props:{...c,"data-align":t,"data-color":e,className:(0,P.clsx)(Q.root,r&&Q.fullWidth,n)}}),Se={Root:Re,Header:be};Object.defineProperty(exports,"AnimatedIconCrossfade",{enumerable:!0,get:function(){return se}});Object.defineProperty(exports,"OverflowingList",{enumerable:!0,get:function(){return ve}});Object.defineProperty(exports,"Section",{enumerable:!0,get:function(){return Se}});
|
|
@@ -1,394 +0,0 @@
|
|
|
1
|
-
import { t as h } from "./isDefined-fMi6eQ4r.js";
|
|
2
|
-
import { Dn as Q, Xi as N } from "./icon-Bo3y4NHM.js";
|
|
3
|
-
import { a as S, r as b } from "./theme-yAk9zrNA.js";
|
|
4
|
-
import { t as A } from "./TintedIconTile-BZgRO7cg.js";
|
|
5
|
-
import { t as Z } from "./Shortcut-CWRh02hg.js";
|
|
6
|
-
import { t as ee } from "./Button-DQUIhQAm.js";
|
|
7
|
-
import { t as te } from "./mergeClassNames-ClFMR1v0.js";
|
|
8
|
-
import { r as ae, t as w } from "./OverflowingTextWithTooltip-wRABzEWd.js";
|
|
9
|
-
import { t as ne } from "./ListItem-BVJEFywj.js";
|
|
10
|
-
import { i as re } from "./Dropdown-CZVEnq0N.js";
|
|
11
|
-
import { t as oe } from "./Avatar-DnJMCjoR.js";
|
|
12
|
-
import { t as ie } from "./handleClickableElementKeyDown-C8Uz61XJ.js";
|
|
13
|
-
import { n as se, t as le } from "./TabsTabContent-s6J5bZ3R.js";
|
|
14
|
-
import { isNonEmptyString as E, isString as L } from "@sniptt/guards";
|
|
15
|
-
import { clsx as _ } from "clsx";
|
|
16
|
-
import { forwardRef as j } from "react";
|
|
17
|
-
import { Fragment as me, jsx as e, jsxs as g } from "react/jsx-runtime";
|
|
18
|
-
import { Button as de } from "@base-ui/react/button";
|
|
19
|
-
var dt = () => {
|
|
20
|
-
const { pageId: a, goToPage: r, goBack: n, canGoBack: i } = re();
|
|
21
|
-
return {
|
|
22
|
-
page: a,
|
|
23
|
-
goToPage: (t) => r({ id: t }),
|
|
24
|
-
goBack: n,
|
|
25
|
-
canGoBack: i
|
|
26
|
-
};
|
|
27
|
-
}, ut = ({ color: a, selected: r, focused: n, indicator: i, startIcon: t, endIcon: s, description: m, descriptionPlacement: o, shortcut: d, shortcutJoinLabel: l, hasSubmenu: c, disabled: u = !1, type: v = "button", children: k, ...M }) => /* @__PURE__ */ e(ne, {
|
|
28
|
-
color: a,
|
|
29
|
-
selected: r,
|
|
30
|
-
focused: n,
|
|
31
|
-
indicator: i,
|
|
32
|
-
startIcon: t,
|
|
33
|
-
endIcon: s,
|
|
34
|
-
description: m,
|
|
35
|
-
descriptionPlacement: o,
|
|
36
|
-
shortcut: d,
|
|
37
|
-
shortcutJoinLabel: l,
|
|
38
|
-
hasSubmenu: c,
|
|
39
|
-
disabled: u,
|
|
40
|
-
render: /* @__PURE__ */ e(de, {
|
|
41
|
-
...M,
|
|
42
|
-
nativeButton: !0,
|
|
43
|
-
type: v,
|
|
44
|
-
disabled: u
|
|
45
|
-
}),
|
|
46
|
-
children: k
|
|
47
|
-
}), ct = {
|
|
48
|
-
gray: "Gray",
|
|
49
|
-
tomato: "Tomato",
|
|
50
|
-
red: "Red",
|
|
51
|
-
ruby: "Ruby",
|
|
52
|
-
crimson: "Crimson",
|
|
53
|
-
pink: "Pink",
|
|
54
|
-
plum: "Plum",
|
|
55
|
-
purple: "Purple",
|
|
56
|
-
violet: "Violet",
|
|
57
|
-
iris: "Iris",
|
|
58
|
-
cyan: "Cyan",
|
|
59
|
-
turquoise: "Turquoise",
|
|
60
|
-
sky: "Sky",
|
|
61
|
-
blue: "Blue",
|
|
62
|
-
jade: "Jade",
|
|
63
|
-
green: "Green",
|
|
64
|
-
grass: "Grass",
|
|
65
|
-
mint: "Mint",
|
|
66
|
-
lime: "Lime",
|
|
67
|
-
bronze: "Bronze",
|
|
68
|
-
gold: "Gold",
|
|
69
|
-
brown: "Brown",
|
|
70
|
-
orange: "Orange",
|
|
71
|
-
amber: "Amber",
|
|
72
|
-
yellow: "Yellow"
|
|
73
|
-
}, ue = "_iconContainer_1ivx0_1", ce = "_withBackground_1ivx0_9", F = {
|
|
74
|
-
iconContainer: ue,
|
|
75
|
-
withBackground: ce
|
|
76
|
-
}, T = ({ children: a, className: r, hasBackground: n = !0 }) => /* @__PURE__ */ e("div", {
|
|
77
|
-
className: _(F.iconContainer, n && F.withBackground, r),
|
|
78
|
-
children: a
|
|
79
|
-
}), ve = ({ Icon: a, iconThemeColor: r, withContainer: n = !1, withContainerBackground: i = !0 }) => {
|
|
80
|
-
const t = b();
|
|
81
|
-
if (!a) return null;
|
|
82
|
-
if (h(r)) return /* @__PURE__ */ e(A, {
|
|
83
|
-
icon: /* @__PURE__ */ e(a, {
|
|
84
|
-
size: t.icon.size.md,
|
|
85
|
-
stroke: t.icon.stroke.sm
|
|
86
|
-
}),
|
|
87
|
-
color: r,
|
|
88
|
-
style: {
|
|
89
|
-
width: t.icon.size.md,
|
|
90
|
-
height: t.icon.size.md
|
|
91
|
-
}
|
|
92
|
-
});
|
|
93
|
-
const s = /* @__PURE__ */ e(a, {
|
|
94
|
-
size: t.icon.size.md,
|
|
95
|
-
stroke: t.icon.stroke.sm
|
|
96
|
-
});
|
|
97
|
-
return n ? /* @__PURE__ */ e(T, {
|
|
98
|
-
hasBackground: i,
|
|
99
|
-
children: s
|
|
100
|
-
}) : s;
|
|
101
|
-
}, _e = "_iconSwapContainer_g9ywp_1", Ie = "_defaultIcon_g9ywp_8", he = "_hoverIcon_g9ywp_13", z = {
|
|
102
|
-
iconSwapContainer: _e,
|
|
103
|
-
defaultIcon: Ie,
|
|
104
|
-
hoverIcon: he
|
|
105
|
-
}, fe = ({ LeftIcon: a, iconThemeColor: r, withIconContainer: n = !1, gripIconColor: i }) => {
|
|
106
|
-
const t = b();
|
|
107
|
-
if (!a) return null;
|
|
108
|
-
const s = /* @__PURE__ */ g("div", {
|
|
109
|
-
className: z.iconSwapContainer,
|
|
110
|
-
children: [/* @__PURE__ */ e("div", {
|
|
111
|
-
className: _(z.defaultIcon, "grip-swap-default-icon"),
|
|
112
|
-
children: h(r) ? /* @__PURE__ */ e(A, {
|
|
113
|
-
icon: /* @__PURE__ */ e(a, {
|
|
114
|
-
size: t.icon.size.md,
|
|
115
|
-
stroke: t.icon.stroke.sm
|
|
116
|
-
}),
|
|
117
|
-
color: r,
|
|
118
|
-
style: {
|
|
119
|
-
width: t.icon.size.md,
|
|
120
|
-
height: t.icon.size.md
|
|
121
|
-
}
|
|
122
|
-
}) : /* @__PURE__ */ e(a, {
|
|
123
|
-
size: t.icon.size.md,
|
|
124
|
-
stroke: t.icon.stroke.sm
|
|
125
|
-
})
|
|
126
|
-
}), /* @__PURE__ */ e("div", {
|
|
127
|
-
className: _(z.hoverIcon, "grip-swap-hover-icon"),
|
|
128
|
-
children: /* @__PURE__ */ e(N, {
|
|
129
|
-
size: t.icon.size.md,
|
|
130
|
-
stroke: t.icon.stroke.sm,
|
|
131
|
-
color: i
|
|
132
|
-
})
|
|
133
|
-
})]
|
|
134
|
-
});
|
|
135
|
-
return n && !h(r) ? /* @__PURE__ */ e(T, { children: s }) : s;
|
|
136
|
-
}, ge = "_menuItemBase_1jkew_1", be = "_hoverableMenuItemBase_1jkew_54", pe = "_menuItemLabel_1jkew_136", ye = "_menuItemLabelLight_1jkew_145", ke = "_noIconFiller_1jkew_155", Me = "_menuItemLeftContent_1jkew_159", Ce = "_menuItemRightContent_1jkew_172", Se = "_draggableItem_1jkew_183", we = "_menuItemIconCheckContainer_1jkew_189", Le = "_menuItemContextualText_1jkew_196", ze = "_rightMenuItemContextualText_1jkew_206", I = {
|
|
137
|
-
menuItemBase: ge,
|
|
138
|
-
hoverableMenuItemBase: be,
|
|
139
|
-
menuItemLabel: pe,
|
|
140
|
-
menuItemLabelLight: ye,
|
|
141
|
-
noIconFiller: ke,
|
|
142
|
-
menuItemLeftContent: Me,
|
|
143
|
-
menuItemRightContent: Ce,
|
|
144
|
-
draggableItem: Se,
|
|
145
|
-
menuItemIconCheckContainer: we,
|
|
146
|
-
menuItemContextualText: Le,
|
|
147
|
-
rightMenuItemContextualText: ze
|
|
148
|
-
}, Be = j(({ accent: a, isKeySelected: r, isHoverBackgroundDisabled: n, hovered: i, disabled: t, focused: s, className: m, children: o, ...d }, l) => /* @__PURE__ */ e("div", {
|
|
149
|
-
ref: l,
|
|
150
|
-
className: _(I.menuItemBase, m),
|
|
151
|
-
"data-accent": a,
|
|
152
|
-
"data-key-selected": r || void 0,
|
|
153
|
-
"data-hover-background-disabled": n || void 0,
|
|
154
|
-
"data-disabled": t || void 0,
|
|
155
|
-
"data-focused": s || void 0,
|
|
156
|
-
...d,
|
|
157
|
-
children: o
|
|
158
|
-
}));
|
|
159
|
-
Be.displayName = "StyledMenuItemBase";
|
|
160
|
-
var f = (a, r) => {
|
|
161
|
-
const n = j(({ className: i, children: t, ...s }, m) => /* @__PURE__ */ e("div", {
|
|
162
|
-
ref: m,
|
|
163
|
-
className: _(a, i),
|
|
164
|
-
...s,
|
|
165
|
-
children: t
|
|
166
|
-
}));
|
|
167
|
-
return n.displayName = r, n;
|
|
168
|
-
}, Ne = f(I.menuItemLabel, "StyledMenuItemLabel"), vt = f(I.menuItemLabelLight, "StyledMenuItemLabelLight"), _t = f(I.noIconFiller, "StyledNoIconFiller"), $ = f(I.menuItemLeftContent, "StyledMenuItemLeftContent"), x = f(I.menuItemRightContent, "StyledMenuItemRightContent"), G = f(I.draggableItem, "StyledDraggableItem"), R = j(({ accent: a, isKeySelected: r, isHoverBackgroundDisabled: n, hovered: i, disabled: t, focused: s, isIconDisplayedOnHoverOnly: m, cursor: o, className: d, children: l, ...c }, u) => /* @__PURE__ */ e("div", {
|
|
169
|
-
ref: u,
|
|
170
|
-
className: _(I.hoverableMenuItemBase, d),
|
|
171
|
-
"data-accent": a,
|
|
172
|
-
"data-key-selected": r || void 0,
|
|
173
|
-
"data-hover-background-disabled": n || void 0,
|
|
174
|
-
"data-disabled": t || void 0,
|
|
175
|
-
"data-focused": s || void 0,
|
|
176
|
-
"data-icon-displayed-on-hover-only": m || void 0,
|
|
177
|
-
"data-cursor": o,
|
|
178
|
-
...c,
|
|
179
|
-
children: l
|
|
180
|
-
}));
|
|
181
|
-
R.displayName = "StyledHoverableMenuItemBase";
|
|
182
|
-
var xe = f(I.menuItemContextualText, "StyledMenuItemContextualText"), je = f(I.rightMenuItemContextualText, "StyledRightMenuItemContextualText"), Te = "_mainText_d0zu3_1", Re = "_menuItemLabelRight_d0zu3_9", O = {
|
|
183
|
-
mainText: Te,
|
|
184
|
-
menuItemLabelRight: Re
|
|
185
|
-
}, D = ({ className: a, LeftComponent: r, LeftIcon: n, iconThemeColor: i, withIconContainer: t = !1, withIconContainerBackground: s = !0, text: m, contextualText: o, contextualTextPosition: d = "left", gripMode: l = "never", disabled: c = !1 }) => {
|
|
186
|
-
const u = b(), v = t ? S.font.color.tertiary : c ? S.font.color.extraLight : S.font.color.light;
|
|
187
|
-
return /* @__PURE__ */ g($, {
|
|
188
|
-
className: a,
|
|
189
|
-
children: [
|
|
190
|
-
l === "always" && (t ? /* @__PURE__ */ e(T, {
|
|
191
|
-
hasBackground: s,
|
|
192
|
-
children: /* @__PURE__ */ e(G, { children: /* @__PURE__ */ e(N, {
|
|
193
|
-
size: u.icon.size.md,
|
|
194
|
-
stroke: u.icon.stroke.sm,
|
|
195
|
-
color: v
|
|
196
|
-
}) })
|
|
197
|
-
}) : /* @__PURE__ */ e(G, { children: /* @__PURE__ */ e(N, {
|
|
198
|
-
size: u.icon.size.md,
|
|
199
|
-
stroke: u.icon.stroke.sm,
|
|
200
|
-
color: v
|
|
201
|
-
}) })),
|
|
202
|
-
l === "onHover" ? /* @__PURE__ */ e(fe, {
|
|
203
|
-
LeftIcon: n,
|
|
204
|
-
iconThemeColor: i,
|
|
205
|
-
withIconContainer: t,
|
|
206
|
-
gripIconColor: v
|
|
207
|
-
}) : /* @__PURE__ */ e(ve, {
|
|
208
|
-
Icon: n,
|
|
209
|
-
iconThemeColor: i,
|
|
210
|
-
withContainer: t,
|
|
211
|
-
withContainerBackground: s
|
|
212
|
-
}),
|
|
213
|
-
r,
|
|
214
|
-
/* @__PURE__ */ g(Ne, { children: [L(m) ? /* @__PURE__ */ e("div", {
|
|
215
|
-
className: O.mainText,
|
|
216
|
-
children: /* @__PURE__ */ e(w, { text: m })
|
|
217
|
-
}) : m, d === "left" && /* @__PURE__ */ e(me, { children: L(o) ? E(o) && /* @__PURE__ */ e(xe, { children: /* @__PURE__ */ e(w, {
|
|
218
|
-
text: `· ${o}`,
|
|
219
|
-
tooltipContent: o
|
|
220
|
-
}) }) : o })] }),
|
|
221
|
-
d === "right" && /* @__PURE__ */ e("div", {
|
|
222
|
-
className: O.menuItemLabelRight,
|
|
223
|
-
children: /* @__PURE__ */ e(je, { children: L(o) ? /* @__PURE__ */ e(w, { text: o }) : o })
|
|
224
|
-
})
|
|
225
|
-
]
|
|
226
|
-
});
|
|
227
|
-
}, De = "_subMenuIcon_j232v_1", Pe = "_subMenuIconOpened_j232v_9", q = {
|
|
228
|
-
subMenuIcon: De,
|
|
229
|
-
subMenuIconOpened: Pe
|
|
230
|
-
}, Fe = ({ accent: a = "default", className: r, withIconContainer: n = !1, withIconContainerBackground: i = !0, iconButtons: t, isIconDisplayedOnHoverOnly: s = !0, LeftIcon: m, iconThemeColor: o, LeftComponent: d, RightIcon: l, RightComponent: c, onClick: u, onMouseEnter: v, onMouseLeave: k, testId: M, text: H, contextualTextPosition: V = "left", contextualText: W, hasSubMenu: J = !1, disabled: p = !1, focused: K = !1, selected: U = !1, shortcut: P, shortcutJoinLabel: X, isSubMenuOpened: Y = !1 }) => {
|
|
231
|
-
const y = b();
|
|
232
|
-
return /* @__PURE__ */ g(R, {
|
|
233
|
-
"data-testid": M ?? void 0,
|
|
234
|
-
onClick: p ? void 0 : (C) => {
|
|
235
|
-
u && (C.preventDefault(), C.stopPropagation(), u?.(C));
|
|
236
|
-
},
|
|
237
|
-
disabled: p,
|
|
238
|
-
className: r,
|
|
239
|
-
accent: a,
|
|
240
|
-
isIconDisplayedOnHoverOnly: s,
|
|
241
|
-
onMouseEnter: v,
|
|
242
|
-
onMouseLeave: k,
|
|
243
|
-
focused: K || U,
|
|
244
|
-
children: [/* @__PURE__ */ e(D, {
|
|
245
|
-
LeftIcon: m ?? void 0,
|
|
246
|
-
iconThemeColor: o,
|
|
247
|
-
LeftComponent: d,
|
|
248
|
-
withIconContainer: n,
|
|
249
|
-
withIconContainerBackground: i,
|
|
250
|
-
text: H,
|
|
251
|
-
contextualText: W,
|
|
252
|
-
contextualTextPosition: V,
|
|
253
|
-
disabled: p
|
|
254
|
-
}), /* @__PURE__ */ g(x, { children: [
|
|
255
|
-
t && /* @__PURE__ */ e(x, {
|
|
256
|
-
className: "hoverable-buttons",
|
|
257
|
-
children: t
|
|
258
|
-
}),
|
|
259
|
-
h(P) && /* @__PURE__ */ e(Z, {
|
|
260
|
-
shortcut: P,
|
|
261
|
-
sequenceJoinLabel: X
|
|
262
|
-
}),
|
|
263
|
-
l && /* @__PURE__ */ e(l, {
|
|
264
|
-
size: y.icon.size.md,
|
|
265
|
-
stroke: y.icon.stroke.sm
|
|
266
|
-
}),
|
|
267
|
-
c,
|
|
268
|
-
J && /* @__PURE__ */ e("div", {
|
|
269
|
-
className: _(q.subMenuIcon, Y && q.subMenuIconOpened),
|
|
270
|
-
style: { visibility: p ? "hidden" : "visible" },
|
|
271
|
-
children: /* @__PURE__ */ e(Q, {
|
|
272
|
-
size: y.icon.size.sm,
|
|
273
|
-
color: y.font.color.light
|
|
274
|
-
})
|
|
275
|
-
})
|
|
276
|
-
] })]
|
|
277
|
-
});
|
|
278
|
-
}, It = ({ accent: a = "default", className: r, iconButtons: n, isIconDisplayedOnHoverOnly: i = !0, isTooltipOpen: t, onClick: s, onMouseEnter: m, onMouseLeave: o, testId: d, avatar: l, hasSubMenu: c = !1, text: u, contextualText: v }) => /* @__PURE__ */ e(Fe, {
|
|
279
|
-
accent: a,
|
|
280
|
-
className: r,
|
|
281
|
-
iconButtons: n,
|
|
282
|
-
isIconDisplayedOnHoverOnly: i,
|
|
283
|
-
isTooltipOpen: t,
|
|
284
|
-
LeftComponent: h(l) ? /* @__PURE__ */ e(oe, {
|
|
285
|
-
name: l.name,
|
|
286
|
-
src: l.src,
|
|
287
|
-
colorSeed: l.colorSeed,
|
|
288
|
-
size: l.size,
|
|
289
|
-
shape: l.shape
|
|
290
|
-
}) : void 0,
|
|
291
|
-
onClick: s,
|
|
292
|
-
onMouseEnter: m,
|
|
293
|
-
onMouseLeave: o,
|
|
294
|
-
testId: d,
|
|
295
|
-
text: u,
|
|
296
|
-
contextualText: v,
|
|
297
|
-
hasSubMenu: c
|
|
298
|
-
}), ht = ({ LeftIcon: a, withIconContainer: r = !1, accent: n = "default", iconButtons: i, onClick: t, text: s, contextualText: m, isDragDisabled: o = !1, className: d, isIconDisplayedOnHoverOnly: l = !0, gripMode: c = "never" }) => /* @__PURE__ */ g(R, {
|
|
299
|
-
onClick: t,
|
|
300
|
-
accent: n,
|
|
301
|
-
className: d,
|
|
302
|
-
isIconDisplayedOnHoverOnly: l,
|
|
303
|
-
cursor: c !== "never" ? o ? "default" : "drag" : "default",
|
|
304
|
-
children: [/* @__PURE__ */ e(D, {
|
|
305
|
-
LeftIcon: a,
|
|
306
|
-
text: s,
|
|
307
|
-
contextualText: m,
|
|
308
|
-
withIconContainer: r,
|
|
309
|
-
disabled: o,
|
|
310
|
-
gripMode: c
|
|
311
|
-
}), i && /* @__PURE__ */ e(x, {
|
|
312
|
-
className: "hoverable-buttons",
|
|
313
|
-
children: i
|
|
314
|
-
})]
|
|
315
|
-
}), Ge = "_suggestionMenuItem_1qyjt_1", Oe = { suggestionMenuItem: Ge }, ft = ({ LeftIcon: a, withIconContainer: r = !1, text: n, contextualText: i = void 0, contextualTextPosition: t = "left", className: s, selected: m, onClick: o }) => {
|
|
316
|
-
const d = (l) => {
|
|
317
|
-
o && (l.preventDefault(), l.stopPropagation(), o?.(l));
|
|
318
|
-
};
|
|
319
|
-
return /* @__PURE__ */ e("li", {
|
|
320
|
-
className: _(Oe.suggestionMenuItem, s),
|
|
321
|
-
"data-selected": m || void 0,
|
|
322
|
-
role: h(o) ? "button" : void 0,
|
|
323
|
-
tabIndex: h(o) ? 0 : void 0,
|
|
324
|
-
onClick: d,
|
|
325
|
-
onKeyDown: ie,
|
|
326
|
-
children: /* @__PURE__ */ e($, { children: /* @__PURE__ */ e(D, {
|
|
327
|
-
LeftIcon: a ?? void 0,
|
|
328
|
-
text: n,
|
|
329
|
-
contextualText: i,
|
|
330
|
-
contextualTextPosition: t,
|
|
331
|
-
withIconContainer: r
|
|
332
|
-
}) })
|
|
333
|
-
});
|
|
334
|
-
}, qe = "_menuPicker_o8ra4_1", Ae = "_iconContainer_o8ra4_41", Ee = "_label_o8ra4_50", B = {
|
|
335
|
-
menuPicker: qe,
|
|
336
|
-
iconContainer: Ae,
|
|
337
|
-
label: Ee
|
|
338
|
-
}, gt = ({ id: a, icon: r, label: n, selected: i = !1, disabled: t = !1, showLabel: s = !0, onClick: m, className: o, testId: d, tooltipContent: l, tooltipDelay: c = 0, tooltipOffset: u = 5 }) => {
|
|
339
|
-
const v = b();
|
|
340
|
-
return /* @__PURE__ */ e(ae, {
|
|
341
|
-
content: l,
|
|
342
|
-
disabled: !E(l),
|
|
343
|
-
sideOffset: u,
|
|
344
|
-
side: "bottom",
|
|
345
|
-
positionMethod: "fixed",
|
|
346
|
-
delay: c,
|
|
347
|
-
children: /* @__PURE__ */ g("button", {
|
|
348
|
-
id: a,
|
|
349
|
-
disabled: t,
|
|
350
|
-
onClick: m,
|
|
351
|
-
className: _(B.menuPicker, o),
|
|
352
|
-
"data-testid": d,
|
|
353
|
-
"data-selected": i ? "" : void 0,
|
|
354
|
-
"aria-pressed": i,
|
|
355
|
-
"aria-disabled": t,
|
|
356
|
-
"aria-label": n,
|
|
357
|
-
children: [/* @__PURE__ */ e("div", {
|
|
358
|
-
className: B.iconContainer,
|
|
359
|
-
children: /* @__PURE__ */ e(r, {
|
|
360
|
-
size: v.icon.size.md,
|
|
361
|
-
stroke: v.icon.stroke.sm
|
|
362
|
-
})
|
|
363
|
-
}), h(n) && s && /* @__PURE__ */ e("div", {
|
|
364
|
-
className: B.label,
|
|
365
|
-
"data-selected": i ? "" : void 0,
|
|
366
|
-
"data-disabled": t ? "" : void 0,
|
|
367
|
-
children: n
|
|
368
|
-
})]
|
|
369
|
-
})
|
|
370
|
-
});
|
|
371
|
-
}, $e = "_button_quwcq_1", He = { button: $e }, bt = ({ active: a = !1, className: r, children: n, startIcon: i, endIcon: t, badge: s, size: m = "sm", ...o }) => /* @__PURE__ */ e(ee, {
|
|
372
|
-
...o,
|
|
373
|
-
variant: "ghost",
|
|
374
|
-
size: m,
|
|
375
|
-
"data-active": a || void 0,
|
|
376
|
-
className: te(_(se.tab, He.button), r),
|
|
377
|
-
children: /* @__PURE__ */ e(le, {
|
|
378
|
-
startIcon: i,
|
|
379
|
-
endIcon: t,
|
|
380
|
-
badge: s,
|
|
381
|
-
children: n
|
|
382
|
-
})
|
|
383
|
-
});
|
|
384
|
-
export {
|
|
385
|
-
It as a,
|
|
386
|
-
ut as c,
|
|
387
|
-
ht as i,
|
|
388
|
-
dt as l,
|
|
389
|
-
gt as n,
|
|
390
|
-
Fe as o,
|
|
391
|
-
ft as r,
|
|
392
|
-
ct as s,
|
|
393
|
-
bt as t
|
|
394
|
-
};
|