twenty-ui 2.49.0 → 2.51.1
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/CHANGELOG.md +23 -0
- package/README.md +36 -32
- package/dist/{AllIcons-Cyd7721G.cjs → AllIcons-1tBWXXrE.cjs} +1 -1
- package/dist/{AllIcons-D132B8_i.js → AllIcons-ayl8BCtV.js} +1 -1
- package/dist/Button-CU8BS-Yd.js +75 -0
- package/dist/Button-iVyxlrwO.cjs +1 -0
- package/dist/Dropdown-D_hFndP5.cjs +1 -0
- package/dist/Dropdown-xXsGBv57.js +1056 -0
- package/dist/Heading-CHvEXL6n.cjs +1 -0
- package/dist/{Heading-pXllCJCO.js → Heading-Nj5BlPqB.js} +3 -3
- package/dist/Input-D1sIHUZ5.js +25 -0
- package/dist/Input-D69M4UwD.cjs +1 -0
- package/dist/ListItem-B-SFWJZb.cjs +1 -0
- package/dist/ListItem-WLONJMo5.js +91 -0
- package/dist/ListItem.module-B31VK9XZ.js +34 -0
- package/dist/ListItem.module-DiUK6-0Z.cjs +1 -0
- package/dist/OverflowingTextWithTooltip-ClpPsdpP.cjs +1 -0
- package/dist/OverflowingTextWithTooltip-D4eZc-7P.js +96 -0
- package/dist/ProgressBar-8pjpGrmZ.js +99 -0
- package/dist/ProgressBar-goqxS9NE.cjs +1 -0
- package/dist/Radio-CpQPRHXa.cjs +1 -0
- package/dist/Radio-VTjpEz8M.js +175 -0
- package/dist/Skeleton-BbIF780H.js +31 -0
- package/dist/Skeleton-tXeIy4qq.cjs +1 -0
- package/dist/TablerIcons-B-5Ua_Ne.js +460 -0
- package/dist/TabsTabContent-6rkARU9F.cjs +1 -0
- package/dist/TabsTabContent-DPkLTBi2.js +39 -0
- package/dist/Tooltip-08dDawT_.cjs +1 -0
- package/dist/Tooltip-C7zc16gI.js +132 -0
- package/dist/components/data-display/DetailsRow/DetailsRow.d.ts +2 -0
- package/dist/components/data-display/DetailsRow/types/DetailsRowProps.d.ts +9 -0
- package/dist/components/data-display/index.d.ts +2 -0
- package/dist/components/data-display.cjs +1 -1
- package/dist/components/data-display.mjs +9 -9
- package/dist/components/feedback/InlineBanner/InlineBanner.d.ts +2 -2
- package/dist/components/feedback/InlineBanner/internal/InlineBannerComponent.d.ts +1 -1
- package/dist/components/feedback/InlineBanner/types/InlineBannerProps.d.ts +2 -1
- package/dist/components/feedback.cjs +1 -1
- package/dist/components/feedback.mjs +1 -1
- package/dist/components/input/DatePicker/DatePicker.d.ts +2 -0
- package/dist/components/input/DatePicker/__stories__/DatePickerCssVariableThemeExample.d.ts +1 -0
- package/dist/components/input/DatePicker/__stories__/DatePickerExample.d.ts +5 -0
- package/dist/components/input/DatePicker/__stories__/DatePickerExternalMonthExample.d.ts +4 -0
- package/dist/components/input/DatePicker/__stories__/DatePickerNavigationUnmountExample.d.ts +2 -0
- package/dist/components/input/DatePicker/__stories__/datePickerWeekdayLabels.d.ts +1 -0
- package/dist/components/input/DatePicker/internal/DatePickerException.d.ts +5 -0
- package/dist/components/input/DatePicker/internal/DatePickerHeader.d.ts +3 -0
- package/dist/components/input/DatePicker/internal/DatePickerSelect.d.ts +15 -0
- package/dist/components/input/DatePicker/internal/DatePickerSelectLifecycleEffect.d.ts +7 -0
- package/dist/components/input/DatePicker/internal/DatePickerViewedMonthEffect.d.ts +9 -0
- package/dist/components/input/DatePicker/internal/ReactDatePickerLibrary.d.ts +2 -0
- package/dist/components/input/DatePicker/internal/datePickerConstants.d.ts +6 -0
- package/dist/components/input/DatePicker/internal/formatDatePickerLocalDate.d.ts +1 -0
- package/dist/components/input/DatePicker/internal/parseDatePickerDateOrThrow.d.ts +1 -0
- package/dist/components/input/DatePicker/internal/parseDatePickerLocalDateOrThrow.d.ts +1 -0
- package/dist/components/input/DatePicker/internal/validateDatePickerHighlightedRangeOrThrow.d.ts +4 -0
- package/dist/components/input/DatePicker/types/DatePickerHeaderProps.d.ts +9 -0
- package/dist/components/input/DatePicker/types/DatePickerProps.d.ts +42 -0
- package/dist/components/input/EmojiPicker/EmojiPicker.d.ts +2 -0
- package/dist/components/input/EmojiPicker/__stories__/EmojiPickerExample.d.ts +4 -0
- package/dist/components/input/EmojiPicker/__stories__/emojiPickerStoryData.d.ts +30 -0
- package/dist/components/input/EmojiPicker/__stories__/emojiPickerStoryEmojibaseUrl.d.ts +1 -0
- package/dist/components/input/EmojiPicker/__stories__/mockEmojiPickerStoryData.d.ts +5 -0
- package/dist/components/input/EmojiPicker/internal/EmojiPickerEmoji.d.ts +2 -0
- package/dist/components/input/EmojiPicker/internal/EmojiPickerRow.d.ts +2 -0
- package/dist/components/input/EmojiPicker/internal/EmojiPickerScrollEffect.d.ts +6 -0
- package/dist/components/input/EmojiPicker/internal/scrollActiveEmojiIntoView.d.ts +1 -0
- package/dist/components/input/EmojiPicker/types/EmojiPickerProps.d.ts +11 -0
- package/dist/components/input/FormFieldRow/FormFieldRow.d.ts +2 -0
- package/dist/components/input/FormFieldRow/types/FormFieldRowProps.d.ts +12 -0
- package/dist/components/input/ReactionButton/ReactionButton.d.ts +2 -0
- package/dist/components/input/ReactionButton/__stories__/ReactionButtonExample.d.ts +2 -0
- package/dist/components/input/ReactionButton/types/ReactionButtonProps.d.ts +14 -0
- package/dist/components/input/SearchInput/SearchInput.d.ts +1 -1
- package/dist/components/input/SearchInput/types/SearchInputProps.d.ts +1 -1
- package/dist/components/input/SegmentedControl/SegmentedControl.d.ts +1 -1
- package/dist/components/input/SegmentedControl/types/SegmentedControlProps.d.ts +3 -1
- package/dist/components/input/SegmentedControl/types/SegmentedControlVariant.d.ts +1 -0
- package/dist/components/input/index.d.ts +10 -0
- package/dist/components/input.cjs +1 -1
- package/dist/components/input.mjs +17 -13
- package/dist/components/layout/LabeledSeparator/LabeledSeparator.d.ts +2 -0
- package/dist/components/layout/LabeledSeparator/types/LabeledSeparatorProps.d.ts +7 -0
- package/dist/components/layout/index.d.ts +2 -0
- package/dist/components/layout.cjs +1 -1
- package/dist/components/layout.mjs +5 -4
- package/dist/components/navigation/CountPager/CountPager.d.ts +2 -0
- package/dist/components/navigation/CountPager/__stories__/CountPagerCollectionExample.d.ts +3 -0
- package/dist/components/navigation/CountPager/__stories__/CountPagerExample.d.ts +2 -0
- package/dist/components/navigation/CountPager/types/CountPagerProps.d.ts +11 -0
- package/dist/components/navigation/Dropdown/Dropdown.d.ts +4 -4
- package/dist/components/navigation/Dropdown/__stories__/DropdownControlledPageSessionExample.d.ts +1 -0
- package/dist/components/navigation/Dropdown/__stories__/DropdownNestedPageSessionExample.d.ts +6 -0
- package/dist/components/navigation/Dropdown/__stories__/DropdownPageActivityExample.d.ts +1 -0
- package/dist/components/navigation/Dropdown/__stories__/DropdownPageSessionExample.d.ts +5 -0
- package/dist/components/navigation/Dropdown/__stories__/DropdownPickerPageSessionExample.d.ts +1 -0
- package/dist/components/navigation/Dropdown/hooks/useDropdownPage.d.ts +1 -0
- package/dist/components/navigation/Dropdown/internal/DropdownContent.d.ts +1 -1
- package/dist/components/navigation/Dropdown/internal/DropdownContextValue.d.ts +3 -0
- package/dist/components/navigation/Dropdown/internal/DropdownEmpty.d.ts +1 -1
- package/dist/components/navigation/Dropdown/internal/DropdownLoading.d.ts +1 -1
- package/dist/components/navigation/Dropdown/internal/DropdownPageEffect.d.ts +8 -0
- package/dist/components/navigation/Dropdown/internal/DropdownSearch.d.ts +1 -1
- package/dist/components/navigation/Dropdown/internal/DropdownSearchEffect.d.ts +8 -0
- package/dist/components/navigation/Dropdown/internal/isActiveDropdownElement.d.ts +1 -0
- package/dist/components/navigation/Dropdown/types/DropdownSearchProps.d.ts +1 -1
- package/dist/components/navigation/ListItemButton/ListItemButton.d.ts +1 -1
- package/dist/components/navigation/ListItemButton/types/ListItemButtonProps.d.ts +1 -1
- package/dist/components/navigation/index.d.ts +2 -11
- package/dist/components/navigation.cjs +1 -1
- package/dist/components/navigation.mjs +7 -11
- package/dist/components/settings.cjs +1 -1
- package/dist/components/settings.mjs +1 -1
- package/dist/components.cjs +1 -1
- package/dist/components.mjs +42 -41
- package/dist/data-display-DUMj_z1t.js +252 -0
- package/dist/data-display-D_kbXJJd.cjs +2 -0
- package/dist/data-display-DzHM5j7j.cjs +1 -0
- package/dist/data-display-b-9s0RTe.js +422 -0
- package/dist/feedback-B50I0C35.cjs +1 -0
- package/dist/feedback-BQFSnMjh.js +10 -0
- package/dist/feedback-BzR4ggrP.cjs +1 -0
- package/dist/{feedback-DTyVVcTb.js → feedback-EaZszoXf.js} +225 -224
- package/dist/icon/components/TablerIcons.d.ts +1 -1
- package/dist/icon/constants/TwentyIconDictionary.d.ts +9 -0
- package/dist/icon/index.d.ts +1 -1
- package/dist/{icon-CUE-QGQK.js → icon-ICz2_dVB.js} +550 -944
- package/dist/icon-TSBamkxk.cjs +1 -0
- package/dist/icon.cjs +1 -1
- package/dist/icon.mjs +510 -504
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +666 -658
- package/dist/input-BQABEELu.cjs +1 -0
- package/dist/input-CuySKbhm.js +2356 -0
- package/dist/input-DxoXgI5-.js +373 -0
- package/dist/input-ExCbk62Y.cjs +1 -0
- package/dist/layout-B1Iwc9ku.cjs +1 -0
- package/dist/layout-B2KvJ900.js +479 -0
- package/dist/{navigation-CIVYqPc5.js → navigation-BY8X2w04.js} +31 -31
- package/dist/navigation-ByYN6NgX.cjs +1 -0
- package/dist/navigation-DP5Edsq_.cjs +1 -0
- package/dist/navigation-DXMjQMPm.js +134 -0
- package/dist/normalizeSearchText-DLmPiBUZ.js +19 -0
- package/dist/normalizeSearchText-Do0MELpQ.cjs +1 -0
- package/dist/preventDismissingClickActivation-BEBrL9aB.cjs +1 -0
- package/dist/preventDismissingClickActivation-BQFMKRey.js +29 -0
- package/dist/primitives/accessibility.cjs +1 -1
- package/dist/primitives/accessibility.mjs +1 -1
- package/dist/primitives/data-display/Avatar/constants/AvatarPropertiesBySize.d.ts +4 -0
- package/dist/primitives/data-display/Avatar/types/AvatarSize.d.ts +1 -1
- package/dist/primitives/data-display/Badge/types/BadgeColor.d.ts +1 -1
- package/dist/primitives/data-display/Chip/types/ChipVariant.d.ts +1 -1
- package/dist/primitives/data-display.cjs +1 -1
- package/dist/primitives/data-display.mjs +7 -8
- package/dist/primitives/feedback/Banner/Banner.d.ts +2 -2
- package/dist/primitives/feedback/Banner/internal/BannerAction.d.ts +1 -1
- package/dist/primitives/feedback/Banner/internal/BannerComponent.d.ts +1 -1
- package/dist/primitives/feedback/Banner/types/BannerProps.d.ts +2 -0
- package/dist/primitives/feedback.cjs +1 -1
- package/dist/primitives/feedback.mjs +9 -8
- package/dist/primitives/input/Autocomplete/Autocomplete.d.ts +1 -1
- package/dist/primitives/input/Autocomplete/internal/AutocompleteInput.d.ts +1 -1
- package/dist/primitives/input/Autocomplete/types/AutocompleteInputProps.d.ts +8 -1
- package/dist/primitives/input/Autocomplete/types/AutocompleteItemProps.d.ts +3 -1
- package/dist/primitives/input/Button/types/ButtonColor.d.ts +1 -1
- package/dist/primitives/input/Input/Input.d.ts +1 -1
- package/dist/primitives/input/Input/types/InputProps.d.ts +3 -0
- package/dist/primitives/input/InputGroup/InputGroup.d.ts +1 -1
- package/dist/primitives/input/InputGroup/types/InputGroupProps.d.ts +1 -0
- package/dist/primitives/input/RadioGroup/RadioGroup.d.ts +1 -1
- package/dist/primitives/input/RadioGroup/types/RadioGroupProps.d.ts +3 -1
- package/dist/primitives/input/Textarea/Textarea.d.ts +1 -1
- package/dist/primitives/input/Textarea/internal/TextareaAutoResizeEffect.d.ts +8 -0
- package/dist/primitives/input/Textarea/types/TextareaProps.d.ts +2 -0
- package/dist/primitives/input/index.d.ts +1 -0
- package/dist/primitives/input/types/InputVariant.d.ts +1 -0
- package/dist/primitives/input.cjs +1 -1
- package/dist/primitives/input.mjs +15 -15
- package/dist/primitives/navigation/ListItem/ListItem.d.ts +1 -1
- package/dist/primitives/navigation/ListItem/__stories__/ListItemMultilineExample.d.ts +7 -0
- package/dist/primitives/navigation/ListItem/types/ListItemDescriptionPlacement.d.ts +1 -1
- package/dist/primitives/navigation/ListItem/types/ListItemProps.d.ts +3 -0
- package/dist/primitives/navigation/ListItem/types/ListItemState.d.ts +1 -0
- package/dist/primitives/navigation/Tabs/types/TabsSize.d.ts +1 -1
- package/dist/primitives/navigation.cjs +1 -1
- package/dist/primitives/navigation.mjs +2 -2
- package/dist/primitives/surfaces/Card/Card.d.ts +3 -1
- package/dist/primitives/surfaces/Card/internal/CardAction.d.ts +2 -0
- package/dist/primitives/surfaces/Card/internal/CardControl.d.ts +2 -0
- package/dist/primitives/surfaces/Card/internal/CardRoot.d.ts +1 -1
- package/dist/primitives/surfaces/Card/types/CardActionProps.d.ts +2 -0
- package/dist/primitives/surfaces/Card/types/CardControlProps.d.ts +2 -0
- package/dist/primitives/surfaces/Card/types/CardRootProps.d.ts +0 -1
- package/dist/primitives/surfaces/Tooltip/Tooltip.d.ts +1 -0
- package/dist/primitives/surfaces/Tooltip/__stories__/findTooltip.d.ts +1 -0
- package/dist/primitives/surfaces/Tooltip/internal/TooltipBody.d.ts +2 -8
- package/dist/primitives/surfaces/Tooltip/types/TooltipBodyProps.d.ts +6 -0
- package/dist/primitives/surfaces/index.d.ts +3 -0
- package/dist/primitives/surfaces.cjs +1 -1
- package/dist/primitives/surfaces.mjs +2 -2
- package/dist/primitives/typography/Heading/types/HeadingProps.d.ts +4 -2
- package/dist/primitives/typography/OverflowingTextWithTooltip/types/OverflowingTextWithTooltipProps.d.ts +2 -1
- package/dist/primitives/typography/Text/Text.d.ts +1 -1
- package/dist/primitives/typography/Text/internal/TextTypographyProps.d.ts +7 -0
- package/dist/primitives/typography/Text/types/TextProps.d.ts +2 -1
- package/dist/primitives/typography/internal/TypographyColor.d.ts +2 -0
- package/dist/primitives/typography/internal/TypographyFontSize.d.ts +2 -0
- package/dist/primitives/typography.cjs +1 -1
- package/dist/primitives/typography.mjs +3 -3
- package/dist/primitives.cjs +1 -1
- package/dist/primitives.mjs +40 -40
- package/dist/{settings-BgVuLpg9.js → settings-BTFAqYrD.js} +1 -1
- package/dist/{settings-CPXhrmbK.cjs → settings-D_iT1ngl.cjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/surfaces-DtZwsfms.cjs +1 -0
- package/dist/surfaces-v0kQLZYO.js +224 -0
- package/dist/testing/index.d.ts +1 -0
- package/dist/testing/utils/waitForStorybookFontsLoaded.d.ts +1 -0
- package/dist/testing.cjs +1 -1
- package/dist/testing.mjs +87 -77
- package/dist/{typography-bKeSMuJd.cjs → typography-B05olPwL.cjs} +1 -1
- package/dist/{typography-DT2eKLvd.js → typography-BwyZEDDi.js} +1 -1
- package/dist/utilities/color/utils/themeColorSchema.d.ts +15 -15
- package/dist/utilities.cjs +1 -1
- package/dist/utilities.mjs +11 -10
- package/package.json +3 -1
- package/dist/Avatar-C6WxBgjS.cjs +0 -1
- package/dist/Avatar-ifVlxbx_.js +0 -73
- package/dist/Button-DIw804CX.js +0 -72
- package/dist/Button-DTm1WDzp.cjs +0 -1
- package/dist/Dropdown-1OAJvS1f.js +0 -1000
- package/dist/Dropdown-Bl4OXCf9.cjs +0 -1
- package/dist/Heading-CTRYClCO.cjs +0 -1
- package/dist/Input-DZWl81G_.js +0 -23
- package/dist/Input-DvL77rvu.cjs +0 -1
- package/dist/ListItem-DizNUBT8.js +0 -86
- package/dist/ListItem-DwBb-I1D.cjs +0 -1
- package/dist/ListItem.module-BJ9Ttjrc.js +0 -34
- package/dist/ListItem.module-CO4u2oeF.cjs +0 -1
- package/dist/OverflowingTextWithTooltip-BmUROIah.js +0 -90
- package/dist/OverflowingTextWithTooltip-Z2daM0_x.cjs +0 -1
- package/dist/ProgressBar-B3xACTV2.js +0 -84
- package/dist/ProgressBar-OpSMnDBz.cjs +0 -1
- package/dist/Radio-BEAztmPu.js +0 -103
- package/dist/Radio-Dx6b4SYZ.cjs +0 -1
- package/dist/TabsTabContent-Co27Y2TU.cjs +0 -1
- package/dist/TabsTabContent-DVcObDp6.js +0 -39
- package/dist/TintedIconTile-B1XDtGrF.js +0 -40
- package/dist/TintedIconTile-DO1XJXCQ.cjs +0 -1
- package/dist/Tooltip-Bg9Uk01p.cjs +0 -1
- package/dist/Tooltip-cLCgtFBF.js +0 -124
- package/dist/components/navigation/MenuItem/MenuItem.d.ts +0 -2
- package/dist/components/navigation/MenuItem/parts/MenuItemIcon.d.ts +0 -9
- package/dist/components/navigation/MenuItem/parts/MenuItemIconBoxContainer.d.ts +0 -7
- package/dist/components/navigation/MenuItem/parts/MenuItemIconWithGripSwap.d.ts +0 -8
- package/dist/components/navigation/MenuItem/parts/MenuItemLeftContent.d.ts +0 -19
- package/dist/components/navigation/MenuItem/parts/StyledMenuItemBase.d.ts +0 -25
- package/dist/components/navigation/MenuItem/types/MenuItemDraggableGripMode.d.ts +0 -1
- package/dist/components/navigation/MenuItem/types/MenuItemProps.d.ts +0 -33
- package/dist/components/navigation/MenuItemAvatar/MenuItemAvatar.d.ts +0 -2
- package/dist/components/navigation/MenuItemAvatar/types/MenuItemAvatarProps.d.ts +0 -18
- package/dist/components/navigation/MenuItemDraggable/MenuItemDraggable.d.ts +0 -2
- package/dist/components/navigation/MenuItemDraggable/types/MenuItemDraggableProps.d.ts +0 -20
- package/dist/components/navigation/MenuItemSuggestion/MenuItemSuggestion.d.ts +0 -2
- package/dist/components/navigation/MenuItemSuggestion/types/MenuItemSuggestionProps.d.ts +0 -12
- package/dist/components/navigation/MenuPicker/MenuPicker.d.ts +0 -2
- package/dist/components/navigation/MenuPicker/types/MenuPickerProps.d.ts +0 -15
- package/dist/data-display-BSKGlijb.cjs +0 -1
- package/dist/data-display-BtXCGOGw.js +0 -345
- package/dist/data-display-DtXIhJ4B.js +0 -184
- package/dist/data-display-XV3ht1rC.cjs +0 -2
- package/dist/feedback-Cs-38OH4.cjs +0 -1
- package/dist/feedback-DA-AU5z5.js +0 -38
- package/dist/feedback-DNLERYY9.cjs +0 -1
- package/dist/icon-BNcdwwdl.cjs +0 -1
- package/dist/input-B_rBplmn.cjs +0 -1
- package/dist/input-BrjD91wv.js +0 -785
- package/dist/input-ChlFcqIS.cjs +0 -1
- package/dist/input-D1oyk0tD.js +0 -421
- package/dist/layout-CthYckvl.cjs +0 -1
- package/dist/layout-DQcjBu08.js +0 -439
- package/dist/navigation-B6nka3bW.js +0 -400
- package/dist/navigation-CflGBYv-.cjs +0 -1
- package/dist/navigation-DoInK0Sp.cjs +0 -1
- package/dist/preventDismissingClickActivation-AaqHBLnW.js +0 -45
- package/dist/preventDismissingClickActivation-CIhWvKCu.cjs +0 -1
- package/dist/primitives/typography/internal/Label/Label.d.ts +0 -8
- package/dist/surfaces-0rL5DoHt.cjs +0 -1
- package/dist/surfaces-BLsR5ka0.js +0 -202
- /package/dist/{handleClickableElementKeyDown-C8Uz61XJ.js → accessibility-C8Uz61XJ.js} +0 -0
- /package/dist/{handleClickableElementKeyDown-CByqtBhO.cjs → accessibility-CByqtBhO.cjs} +0 -0
package/dist/layout-DQcjBu08.js
DELETED
|
@@ -1,439 +0,0 @@
|
|
|
1
|
-
import { t as f } from "./isDefined-fMi6eQ4r.js";
|
|
2
|
-
import { t as Q } from "./doNotTranslate-BSVT8Xyd.js";
|
|
3
|
-
import { r as Fe, t as Ce } from "./OverflowingTextWithTooltip-BmUROIah.js";
|
|
4
|
-
import { t as V } from "./Popover-CWeCV7X9.js";
|
|
5
|
-
import { t as Ie } from "./Heading-pXllCJCO.js";
|
|
6
|
-
import { useRender as Z } from "@base-ui/react/use-render";
|
|
7
|
-
import { isFunction as X, isNonEmptyString as Oe, isString as J, isUndefined as Le } from "@sniptt/guards";
|
|
8
|
-
import { clsx as D } from "clsx";
|
|
9
|
-
import { cloneElement as Ee, isValidElement as Ne, memo as le, useCallback as j, useId as Me, useLayoutEffect as Y, useRef as R, useState as $ } from "react";
|
|
10
|
-
import { Fragment as G, jsx as d, jsxs as W } from "react/jsx-runtime";
|
|
11
|
-
import { mergeProps as Se } from "@base-ui/react/merge-props";
|
|
12
|
-
import { useMergedRefs as H } from "@base-ui/utils/useMergedRefs";
|
|
13
|
-
import { useControlled as Te } from "@base-ui/utils/useControlled";
|
|
14
|
-
import { useStableCallback as U } from "@base-ui/utils/useStableCallback";
|
|
15
|
-
var De = "_container_1hm4x_1", xe = "_layer_1hm4x_9", Ae = "_visible_1hm4x_23", Re = "_hidden_1hm4x_28", A = {
|
|
16
|
-
container: De,
|
|
17
|
-
layer: xe,
|
|
18
|
-
visible: Ae,
|
|
19
|
-
hidden: Re
|
|
20
|
-
}, gt = ({ isActive: t, activeIcon: e, inactiveIcon: n, className: r, render: s, ref: a, ...c }) => Z({
|
|
21
|
-
defaultTagName: "span",
|
|
22
|
-
render: s,
|
|
23
|
-
ref: a,
|
|
24
|
-
props: {
|
|
25
|
-
...c,
|
|
26
|
-
className: D(A.container, r),
|
|
27
|
-
children: /* @__PURE__ */ W(G, { children: [/* @__PURE__ */ d("span", {
|
|
28
|
-
"aria-hidden": "true",
|
|
29
|
-
className: D(A.layer, t ? A.hidden : A.visible),
|
|
30
|
-
children: n
|
|
31
|
-
}), /* @__PURE__ */ d("span", {
|
|
32
|
-
"aria-hidden": "true",
|
|
33
|
-
className: D(A.layer, t ? A.visible : A.hidden),
|
|
34
|
-
children: e
|
|
35
|
-
})] })
|
|
36
|
-
}
|
|
37
|
-
}), We = "_root_eheyl_1", Ue = "_items_eheyl_11", ke = "_item_eheyl_11", ze = "_popupItem_eheyl_45", Ke = "_trigger_eheyl_49", Ve = "_popup_eheyl_45", K = {
|
|
38
|
-
root: We,
|
|
39
|
-
items: Ue,
|
|
40
|
-
item: ke,
|
|
41
|
-
popupItem: ze,
|
|
42
|
-
trigger: Ke,
|
|
43
|
-
popup: Ve
|
|
44
|
-
}, Be = ({ props: t, state: e, render: n }) => {
|
|
45
|
-
const r = Ne(n) ? n : void 0, s = H(t.ref, r?.props.ref);
|
|
46
|
-
if (X(n)) return n(t, e);
|
|
47
|
-
const a = {
|
|
48
|
-
...Se(t, r?.props),
|
|
49
|
-
children: t.children,
|
|
50
|
-
ref: s
|
|
51
|
-
};
|
|
52
|
-
return f(r) ? Ee(r, a) : /* @__PURE__ */ d("div", { ...a });
|
|
53
|
-
}, He = le(({ elementRef: t, isHidden: e, onFocusLost: n }) => (Y(() => {
|
|
54
|
-
const r = t.current, s = f(r) && r.contains(r.ownerDocument.activeElement);
|
|
55
|
-
e && s && n(r);
|
|
56
|
-
}, [
|
|
57
|
-
t,
|
|
58
|
-
e,
|
|
59
|
-
n
|
|
60
|
-
]), null)), ue = (t) => j((e) => {
|
|
61
|
-
if (f(e))
|
|
62
|
-
return () => {
|
|
63
|
-
const n = e.ownerDocument, r = e.contains(n.activeElement);
|
|
64
|
-
queueMicrotask(() => {
|
|
65
|
-
const s = n.activeElement === n.body;
|
|
66
|
-
r && !e.isConnected && s && t(e);
|
|
67
|
-
});
|
|
68
|
-
};
|
|
69
|
-
}, [t]), se = ({ children: t, index: e, isHidden: n, isLastVisible: r, isInPopup: s, onFocusLost: a }) => {
|
|
70
|
-
const c = R(null), i = U((o) => {
|
|
71
|
-
a({
|
|
72
|
-
index: e,
|
|
73
|
-
element: o,
|
|
74
|
-
isInPopup: s
|
|
75
|
-
});
|
|
76
|
-
});
|
|
77
|
-
return /* @__PURE__ */ W(G, { children: [/* @__PURE__ */ d("div", {
|
|
78
|
-
ref: H(c, ue(i)),
|
|
79
|
-
className: s ? K.popupItem : K.item,
|
|
80
|
-
"data-item-index": e,
|
|
81
|
-
"data-hidden": n || void 0,
|
|
82
|
-
"data-last-visible": r || void 0,
|
|
83
|
-
"aria-hidden": n || void 0,
|
|
84
|
-
inert: n,
|
|
85
|
-
children: t
|
|
86
|
-
}), /* @__PURE__ */ d(He, {
|
|
87
|
-
elementRef: c,
|
|
88
|
-
isHidden: n,
|
|
89
|
-
onFocusLost: i
|
|
90
|
-
})] });
|
|
91
|
-
}, ae = ({ itemWidths: t, availableWidth: e, gap: n, includePartialItem: r }) => {
|
|
92
|
-
let s = 0, a = 0;
|
|
93
|
-
for (const c of t) {
|
|
94
|
-
const i = s + c + (a > 0 ? n : 0);
|
|
95
|
-
if (a !== 0 && i > e) {
|
|
96
|
-
const o = s + n < e;
|
|
97
|
-
return r && o ? a + 1 : a;
|
|
98
|
-
}
|
|
99
|
-
s = i, a += 1;
|
|
100
|
-
}
|
|
101
|
-
return a;
|
|
102
|
-
}, $e = ({ items: t, itemElements: e }) => {
|
|
103
|
-
t.setAttribute("data-measuring", "");
|
|
104
|
-
const n = e.map((r) => r.clientWidth);
|
|
105
|
-
return t.removeAttribute("data-measuring"), n;
|
|
106
|
-
}, qe = ({ container: t, items: e, trigger: n, itemElements: r, itemCount: s, reserveCountSpace: a }) => {
|
|
107
|
-
const c = $e({
|
|
108
|
-
items: e,
|
|
109
|
-
itemElements: r
|
|
110
|
-
}), i = parseFloat(getComputedStyle(e).columnGap) || 0, o = t.clientWidth, u = s > ae({
|
|
111
|
-
itemWidths: c,
|
|
112
|
-
availableWidth: o,
|
|
113
|
-
gap: i,
|
|
114
|
-
includePartialItem: !1
|
|
115
|
-
}), _ = n?.offsetWidth ?? 0;
|
|
116
|
-
return {
|
|
117
|
-
visibleItemCount: ae({
|
|
118
|
-
itemWidths: c,
|
|
119
|
-
availableWidth: a && u ? Math.max(0, o - _ - i) : o,
|
|
120
|
-
gap: i,
|
|
121
|
-
includePartialItem: !0
|
|
122
|
-
}),
|
|
123
|
-
hasOverflow: u
|
|
124
|
-
};
|
|
125
|
-
}, je = 100, Ge = le(({ containerRef: t, itemsRef: e, triggerRef: n, itemCount: r, inlineItemCount: s, reserveCountSpace: a, isMeasurementEnabled: c, isOpen: i, onLayoutChange: o, onOverflowUnavailable: u }) => {
|
|
126
|
-
const _ = R(void 0), L = R(void 0), C = U(() => ({
|
|
127
|
-
itemCount: r,
|
|
128
|
-
inlineItemCount: s,
|
|
129
|
-
reserveCountSpace: a,
|
|
130
|
-
isOpen: i
|
|
131
|
-
})), F = U(o), M = U(u);
|
|
132
|
-
return Y(() => {
|
|
133
|
-
const y = t.current, I = e.current;
|
|
134
|
-
if (!c || !f(y) || !f(I)) {
|
|
135
|
-
L.current = void 0;
|
|
136
|
-
return;
|
|
137
|
-
}
|
|
138
|
-
const E = /* @__PURE__ */ new Set(), g = () => {
|
|
139
|
-
const b = Array.from(I.children), k = /* @__PURE__ */ new Set([y, ...b]);
|
|
140
|
-
f(n.current) && k.add(n.current);
|
|
141
|
-
for (const p of E) k.has(p) || (N?.unobserve(p), E.delete(p));
|
|
142
|
-
for (const p of k) E.has(p) || (N?.observe(p), E.add(p));
|
|
143
|
-
const T = C();
|
|
144
|
-
if (b.length !== T.inlineItemCount) return;
|
|
145
|
-
const l = qe({
|
|
146
|
-
container: y,
|
|
147
|
-
items: I,
|
|
148
|
-
trigger: n.current,
|
|
149
|
-
itemElements: b,
|
|
150
|
-
itemCount: T.itemCount,
|
|
151
|
-
reserveCountSpace: T.reserveCountSpace
|
|
152
|
-
}), h = L.current, v = f(h) && h.isOpen && !h.layout.hasOverflow, x = T.isOpen && !l.hasOverflow;
|
|
153
|
-
L.current = {
|
|
154
|
-
layout: l,
|
|
155
|
-
isOpen: T.isOpen
|
|
156
|
-
}, F(l), x && !v && M();
|
|
157
|
-
}, N = f(globalThis.ResizeObserver) ? new ResizeObserver(g) : void 0;
|
|
158
|
-
_.current = g, g();
|
|
159
|
-
const S = new MutationObserver(g);
|
|
160
|
-
if (S.observe(I, {
|
|
161
|
-
attributes: !0,
|
|
162
|
-
attributeFilter: [
|
|
163
|
-
"class",
|
|
164
|
-
"style",
|
|
165
|
-
"hidden"
|
|
166
|
-
],
|
|
167
|
-
characterData: !0,
|
|
168
|
-
childList: !0,
|
|
169
|
-
subtree: !0
|
|
170
|
-
}), S.observe(y, { childList: !0 }), !f(N)) {
|
|
171
|
-
const b = setInterval(g, je);
|
|
172
|
-
return window.addEventListener("resize", g), () => {
|
|
173
|
-
_.current = void 0, clearInterval(b), S.disconnect(), window.removeEventListener("resize", g);
|
|
174
|
-
};
|
|
175
|
-
}
|
|
176
|
-
return () => {
|
|
177
|
-
_.current = void 0, S.disconnect(), N.disconnect();
|
|
178
|
-
};
|
|
179
|
-
}, [
|
|
180
|
-
t,
|
|
181
|
-
e,
|
|
182
|
-
n,
|
|
183
|
-
c,
|
|
184
|
-
C,
|
|
185
|
-
F,
|
|
186
|
-
M
|
|
187
|
-
]), Y(() => {
|
|
188
|
-
_.current?.();
|
|
189
|
-
}, [
|
|
190
|
-
r,
|
|
191
|
-
s,
|
|
192
|
-
a,
|
|
193
|
-
i
|
|
194
|
-
]), null;
|
|
195
|
-
}), Je = ({ itemCount: t, inlineItemCount: e }) => {
|
|
196
|
-
const n = R(null), r = R(null), s = R(null), [a, c] = $({
|
|
197
|
-
visibleItemCount: e,
|
|
198
|
-
hasOverflow: t > e
|
|
199
|
-
});
|
|
200
|
-
return {
|
|
201
|
-
containerRef: n,
|
|
202
|
-
itemsRef: r,
|
|
203
|
-
triggerRef: s,
|
|
204
|
-
updateLayout: j((i) => {
|
|
205
|
-
c((o) => o.visibleItemCount !== i.visibleItemCount || o.hasOverflow !== i.hasOverflow ? i : o);
|
|
206
|
-
}, []),
|
|
207
|
-
...a
|
|
208
|
-
};
|
|
209
|
-
}, Qe = Q("button, a[href], input, select, textarea, [tabindex]"), ie = ({ items: t, popup: e, trigger: n, root: r, removedIndex: s, excludedItem: a }) => {
|
|
210
|
-
const c = [...Array.from(t?.children ?? []), ...Array.from(e?.children ?? [])].filter((i) => i !== a).sort((i, o) => Math.abs(Number(i.getAttribute("data-item-index")) - s) - Math.abs(Number(o.getAttribute("data-item-index")) - s) || Number(o.getAttribute("data-item-index")) - Number(i.getAttribute("data-item-index")));
|
|
211
|
-
for (const i of c)
|
|
212
|
-
if (!i.hasAttribute("inert")) {
|
|
213
|
-
for (const o of Array.from(i.querySelectorAll(Qe))) if (!o.matches(":disabled") && !f(o.closest("[inert]")) && (o.focus(), o.ownerDocument.activeElement === o))
|
|
214
|
-
return;
|
|
215
|
-
}
|
|
216
|
-
n?.focus(), !(f(n) && n.ownerDocument.activeElement === n) && r?.focus();
|
|
217
|
-
}, Xe = ({ containerRef: t, itemsRef: e, triggerRef: n, popup: r, itemCount: s, canExpand: a, isPopupOpen: c, isOpen: i, isHovered: o, showOverflowCount: u, onFocusCapture: _, onBlurCapture: L }) => {
|
|
218
|
-
const [C, F] = $(!1), [M, y] = $(), I = u ?? M ?? (o || C || i), E = U(({ index: l, element: h, isInPopup: v }) => {
|
|
219
|
-
ie({
|
|
220
|
-
items: v && a ? null : e.current,
|
|
221
|
-
popup: v && c ? r : null,
|
|
222
|
-
trigger: n.current,
|
|
223
|
-
root: t.current,
|
|
224
|
-
removedIndex: l,
|
|
225
|
-
excludedItem: h
|
|
226
|
-
});
|
|
227
|
-
}), g = j(() => {
|
|
228
|
-
const l = t.current;
|
|
229
|
-
l?.focus(), F(l?.ownerDocument.activeElement === l), y(void 0);
|
|
230
|
-
}, [t]), N = U(() => {
|
|
231
|
-
if (c) return;
|
|
232
|
-
const l = t.current, h = l?.ownerDocument, v = h?.activeElement, x = f(v) && e.current?.contains(v) && !f(v.closest("[inert]")), p = f(v) && v !== h?.body && !l?.contains(v) && !r?.contains(v);
|
|
233
|
-
if (x || p) return;
|
|
234
|
-
if (!a) {
|
|
235
|
-
ie({
|
|
236
|
-
items: e.current,
|
|
237
|
-
popup: null,
|
|
238
|
-
trigger: null,
|
|
239
|
-
root: l,
|
|
240
|
-
removedIndex: s
|
|
241
|
-
});
|
|
242
|
-
return;
|
|
243
|
-
}
|
|
244
|
-
const z = n.current;
|
|
245
|
-
if (f(z) && !z.matches(":disabled")) {
|
|
246
|
-
z.focus({ preventScroll: !0 });
|
|
247
|
-
return;
|
|
248
|
-
}
|
|
249
|
-
l?.focus({ preventScroll: !0 });
|
|
250
|
-
}), S = j(() => (queueMicrotask(N), !1), [N]), b = ue(g);
|
|
251
|
-
return {
|
|
252
|
-
hasFocus: C,
|
|
253
|
-
isCountVisible: I,
|
|
254
|
-
restoreItemFocus: E,
|
|
255
|
-
schedulePopupFocusRestoration: S,
|
|
256
|
-
resetFocusWhenFocusedTriggerUnmounts: b,
|
|
257
|
-
handleFocusCapture: (l) => {
|
|
258
|
-
F(!0), e.current?.contains(l.target) && y((h) => h ?? I), _?.(l);
|
|
259
|
-
},
|
|
260
|
-
handleBlurCapture: (l) => {
|
|
261
|
-
F(l.currentTarget.contains(l.relatedTarget) || (r?.contains(l.relatedTarget) ?? !1)), e.current?.contains(l.relatedTarget) || y(void 0), L?.(l);
|
|
262
|
-
}
|
|
263
|
-
};
|
|
264
|
-
}, O = (t) => t.stopPropagation(), wt = ({ children: t, showOverflowCount: e, maxInlineCount: n, overflowLabel: r = Q("Show all items"), open: s, defaultOpen: a = !1, onOpenChange: c, actionsRef: i, triggerProps: o, popupProps: u, className: _, onMouseEnter: L, onMouseLeave: C, onFocusCapture: F, onBlurCapture: M, ref: y, ...I }) => {
|
|
265
|
-
const [E, g] = $(!1), [N, S] = $(null), [b, k] = Te({
|
|
266
|
-
controlled: s,
|
|
267
|
-
default: a,
|
|
268
|
-
name: Q("OverflowingList"),
|
|
269
|
-
state: "open"
|
|
270
|
-
}), T = R(null), l = i ?? T, h = f(n) && Number.isFinite(n) ? Math.min(t.length, Math.max(0, Math.floor(n))) : t.length, { containerRef: v, itemsRef: x, triggerRef: p, visibleItemCount: z, hasOverflow: de, updateLayout: me } = Je({
|
|
271
|
-
itemCount: t.length,
|
|
272
|
-
inlineItemCount: h
|
|
273
|
-
}), q = de && (b || e !== !1), P = b && q, { hasFocus: fe, isCountVisible: ee, restoreItemFocus: te, schedulePopupFocusRestoration: ve, resetFocusWhenFocusedTriggerUnmounts: he, handleFocusCapture: be, handleBlurCapture: pe } = Xe({
|
|
274
|
-
containerRef: v,
|
|
275
|
-
itemsRef: x,
|
|
276
|
-
triggerRef: p,
|
|
277
|
-
popup: N,
|
|
278
|
-
itemCount: t.length,
|
|
279
|
-
canExpand: q,
|
|
280
|
-
isPopupOpen: P,
|
|
281
|
-
isOpen: b,
|
|
282
|
-
isHovered: E,
|
|
283
|
-
showOverflowCount: e,
|
|
284
|
-
onFocusCapture: F,
|
|
285
|
-
onBlurCapture: M
|
|
286
|
-
}), ne = (e ?? (E || fe)) || b, _e = H(v, y), ye = H(p, he, o?.ref), ge = H(S, u?.ref), re = ne && e !== !1 ? z : h, oe = t.length - z, we = U(() => {
|
|
287
|
-
l.current?.close();
|
|
288
|
-
});
|
|
289
|
-
return /* @__PURE__ */ W(G, { children: [/* @__PURE__ */ W("div", {
|
|
290
|
-
...I,
|
|
291
|
-
ref: _e,
|
|
292
|
-
tabIndex: I.tabIndex ?? -1,
|
|
293
|
-
className: D(K.root, _),
|
|
294
|
-
onMouseEnter: (m) => {
|
|
295
|
-
g(!0), L?.(m);
|
|
296
|
-
},
|
|
297
|
-
onMouseLeave: (m) => {
|
|
298
|
-
g(!1), C?.(m);
|
|
299
|
-
},
|
|
300
|
-
onFocusCapture: be,
|
|
301
|
-
onBlurCapture: pe,
|
|
302
|
-
children: [/* @__PURE__ */ d("div", {
|
|
303
|
-
ref: x,
|
|
304
|
-
className: K.items,
|
|
305
|
-
children: t.slice(0, h).map((m, w) => /* @__PURE__ */ d(se, {
|
|
306
|
-
index: w,
|
|
307
|
-
isHidden: w >= re,
|
|
308
|
-
isLastVisible: e !== !1 && w === re - 1,
|
|
309
|
-
isInPopup: !1,
|
|
310
|
-
onFocusLost: te,
|
|
311
|
-
children: m
|
|
312
|
-
}, m.key ?? w))
|
|
313
|
-
}), (q || b) && /* @__PURE__ */ W(V.Root, {
|
|
314
|
-
open: P,
|
|
315
|
-
actionsRef: l,
|
|
316
|
-
onOpenChange: (m, w) => {
|
|
317
|
-
c?.(m, w), w.isCanceled || k(m);
|
|
318
|
-
},
|
|
319
|
-
children: [q && /* @__PURE__ */ d(V.Trigger, {
|
|
320
|
-
type: "button",
|
|
321
|
-
"aria-label": `+${oe} ${r}`,
|
|
322
|
-
...o,
|
|
323
|
-
onClick: o?.onClick ?? O,
|
|
324
|
-
onMouseDown: o?.onMouseDown ?? O,
|
|
325
|
-
onPointerDown: o?.onPointerDown ?? O,
|
|
326
|
-
onKeyDown: o?.onKeyDown ?? O,
|
|
327
|
-
onKeyUp: o?.onKeyUp ?? O,
|
|
328
|
-
ref: ye,
|
|
329
|
-
className: (m) => D(K.trigger, X(o?.className) ? o.className(m) : o?.className),
|
|
330
|
-
"data-visible": ee || void 0,
|
|
331
|
-
children: Le(o?.children) ? `+${oe}` : o.children
|
|
332
|
-
}), /* @__PURE__ */ d(V.Portal, { children: /* @__PURE__ */ d(V.Positioner, {
|
|
333
|
-
anchor: v,
|
|
334
|
-
align: "start",
|
|
335
|
-
sideOffset: -9,
|
|
336
|
-
alignOffset: -7,
|
|
337
|
-
children: /* @__PURE__ */ d(V.Popup, {
|
|
338
|
-
"aria-label": r,
|
|
339
|
-
...u,
|
|
340
|
-
onClick: u?.onClick ?? O,
|
|
341
|
-
onMouseDown: u?.onMouseDown ?? O,
|
|
342
|
-
onPointerDown: u?.onPointerDown ?? O,
|
|
343
|
-
onKeyDown: u?.onKeyDown ?? O,
|
|
344
|
-
onKeyUp: u?.onKeyUp ?? O,
|
|
345
|
-
ref: ge,
|
|
346
|
-
render: (m, w) => /* @__PURE__ */ d(Be, {
|
|
347
|
-
props: m,
|
|
348
|
-
state: w,
|
|
349
|
-
render: u?.render
|
|
350
|
-
}),
|
|
351
|
-
finalFocus: u?.finalFocus ?? ve,
|
|
352
|
-
className: (m) => D(K.popup, X(u?.className) ? u.className(m) : u?.className),
|
|
353
|
-
"data-overflowing-list-popup": "",
|
|
354
|
-
children: t.map((m, w) => /* @__PURE__ */ d(se, {
|
|
355
|
-
index: w,
|
|
356
|
-
isHidden: !1,
|
|
357
|
-
isLastVisible: !1,
|
|
358
|
-
isInPopup: !0,
|
|
359
|
-
onFocusLost: te,
|
|
360
|
-
children: m
|
|
361
|
-
}, m.key ?? w))
|
|
362
|
-
})
|
|
363
|
-
}) })]
|
|
364
|
-
})]
|
|
365
|
-
}), /* @__PURE__ */ d(Ge, {
|
|
366
|
-
containerRef: v,
|
|
367
|
-
itemsRef: x,
|
|
368
|
-
triggerRef: p,
|
|
369
|
-
itemCount: t.length,
|
|
370
|
-
inlineItemCount: h,
|
|
371
|
-
reserveCountSpace: ee,
|
|
372
|
-
isMeasurementEnabled: ne,
|
|
373
|
-
isOpen: b,
|
|
374
|
-
onLayoutChange: me,
|
|
375
|
-
onOverflowUnavailable: we
|
|
376
|
-
})] });
|
|
377
|
-
}, Ye = "_header_1dz7y_1", Ze = "_titleRow_1dz7y_8", Pe = "_title_1dz7y_8", et = "_actions_1dz7y_21", tt = "_description_1dz7y_27", B = {
|
|
378
|
-
header: Ye,
|
|
379
|
-
titleRow: Ze,
|
|
380
|
-
title: Pe,
|
|
381
|
-
actions: et,
|
|
382
|
-
description: tt
|
|
383
|
-
}, nt = ({ title: t, description: e, actions: n, level: r = 2, size: s = "md", color: a = "primary", descriptionLineClamp: c = 5, isDescriptionFocusable: i = !1, render: o, ref: u, className: _, ...L }) => {
|
|
384
|
-
const C = Me(), F = J(e) ? Oe(e) : f(e) && e !== !1, M = J(e) && c !== !1, y = J(e) ? /* @__PURE__ */ d(Fe, {
|
|
385
|
-
style: { whiteSpace: "pre-wrap" },
|
|
386
|
-
children: e
|
|
387
|
-
}) : e;
|
|
388
|
-
return Z({
|
|
389
|
-
render: o,
|
|
390
|
-
ref: u,
|
|
391
|
-
props: {
|
|
392
|
-
...L,
|
|
393
|
-
className: D(B.header, _),
|
|
394
|
-
children: /* @__PURE__ */ W(G, { children: [/* @__PURE__ */ W("div", {
|
|
395
|
-
className: B.titleRow,
|
|
396
|
-
children: [/* @__PURE__ */ d(Ie, {
|
|
397
|
-
level: r,
|
|
398
|
-
size: s,
|
|
399
|
-
color: a,
|
|
400
|
-
className: B.title,
|
|
401
|
-
"aria-describedby": F ? C : void 0,
|
|
402
|
-
children: t
|
|
403
|
-
}), f(n) && /* @__PURE__ */ d("div", {
|
|
404
|
-
className: B.actions,
|
|
405
|
-
children: n
|
|
406
|
-
})]
|
|
407
|
-
}), F && /* @__PURE__ */ d("div", {
|
|
408
|
-
id: C,
|
|
409
|
-
className: B.description,
|
|
410
|
-
children: M ? /* @__PURE__ */ d(Ce, {
|
|
411
|
-
text: e,
|
|
412
|
-
lineClamp: c,
|
|
413
|
-
isTooltipMultiline: !0,
|
|
414
|
-
isFocusable: i
|
|
415
|
-
}) : y
|
|
416
|
-
})] })
|
|
417
|
-
}
|
|
418
|
-
});
|
|
419
|
-
}, rt = "_root_ztxxm_1", ot = "_fullWidth_ztxxm_20", ce = {
|
|
420
|
-
root: rt,
|
|
421
|
-
fullWidth: ot
|
|
422
|
-
}, st = ({ align: t = "left", color: e = "primary", fullWidth: n = !0, className: r, render: s, ref: a, ...c }) => Z({
|
|
423
|
-
render: s,
|
|
424
|
-
ref: a,
|
|
425
|
-
props: {
|
|
426
|
-
...c,
|
|
427
|
-
"data-align": t,
|
|
428
|
-
"data-color": e,
|
|
429
|
-
className: D(ce.root, n && ce.fullWidth, r)
|
|
430
|
-
}
|
|
431
|
-
}), Ft = {
|
|
432
|
-
Root: st,
|
|
433
|
-
Header: nt
|
|
434
|
-
};
|
|
435
|
-
export {
|
|
436
|
-
wt as n,
|
|
437
|
-
gt as r,
|
|
438
|
-
Ft as t
|
|
439
|
-
};
|