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
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import { Ot as w, kt as T } from "./TablerIcons-B-5Ua_Ne.js";
|
|
2
|
+
import { t as h } from "./doNotTranslate-BSVT8Xyd.js";
|
|
3
|
+
import { t as y } from "./mergeClassNames-ClFMR1v0.js";
|
|
4
|
+
import { r as I, t as L } from "./Button-CU8BS-Yd.js";
|
|
5
|
+
import { r as N } from "./OverflowingTextWithTooltip-D4eZc-7P.js";
|
|
6
|
+
import { t as P } from "./ListItem-WLONJMo5.js";
|
|
7
|
+
import { i as _, o as z } from "./Dropdown-xXsGBv57.js";
|
|
8
|
+
import { n as G, t as x } from "./TabsTabContent-DPkLTBi2.js";
|
|
9
|
+
import { useRender as R } from "@base-ui/react/use-render";
|
|
10
|
+
import { isInteger as B } from "@sniptt/guards";
|
|
11
|
+
import { clsx as C } from "clsx";
|
|
12
|
+
import { useContext as A } from "react";
|
|
13
|
+
import { Fragment as D, jsx as r, jsxs as q } from "react/jsx-runtime";
|
|
14
|
+
import { Button as O } from "@base-ui/react/button";
|
|
15
|
+
var j = "_pager_wkox0_1", F = "_position_wkox0_11", S = "_icon_wkox0_21", d = {
|
|
16
|
+
pager: j,
|
|
17
|
+
position: F,
|
|
18
|
+
icon: S
|
|
19
|
+
}, eo = ({ index: o, count: t, onIndexChange: e, positionText: s, previousLabel: i, nextLabel: n, disabled: a = !1, positionPlacement: m = "between", render: l, ref: u, className: b, ...v }) => {
|
|
20
|
+
const p = B(o) && B(t) && o >= 0 && o < t, c = a || !p || o === 0, f = a || !p || o === t - 1, g = /* @__PURE__ */ r(N, {
|
|
21
|
+
render: /* @__PURE__ */ r("span", {}),
|
|
22
|
+
className: d.position,
|
|
23
|
+
"aria-live": "polite",
|
|
24
|
+
"aria-atomic": "true",
|
|
25
|
+
children: s
|
|
26
|
+
});
|
|
27
|
+
return R({
|
|
28
|
+
render: l,
|
|
29
|
+
ref: u,
|
|
30
|
+
props: {
|
|
31
|
+
role: "group",
|
|
32
|
+
...v,
|
|
33
|
+
className: C(d.pager, b),
|
|
34
|
+
"data-position-placement": m,
|
|
35
|
+
children: /* @__PURE__ */ q(D, { children: [
|
|
36
|
+
m === "start" && g,
|
|
37
|
+
/* @__PURE__ */ r(_, {
|
|
38
|
+
size: "sm",
|
|
39
|
+
disabled: c,
|
|
40
|
+
onClick: () => e(o - 1),
|
|
41
|
+
"aria-label": i,
|
|
42
|
+
children: /* @__PURE__ */ r(w, { className: d.icon })
|
|
43
|
+
}),
|
|
44
|
+
m === "between" && g,
|
|
45
|
+
/* @__PURE__ */ r(_, {
|
|
46
|
+
size: "sm",
|
|
47
|
+
disabled: f,
|
|
48
|
+
onClick: () => e(o + 1),
|
|
49
|
+
"aria-label": n,
|
|
50
|
+
children: /* @__PURE__ */ r(T, { className: d.icon })
|
|
51
|
+
})
|
|
52
|
+
] })
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
}, ao = () => {
|
|
56
|
+
const { pageId: o, isPageActive: t, open: e, goToPage: s, goBack: i, canGoBack: n } = z();
|
|
57
|
+
return {
|
|
58
|
+
page: o,
|
|
59
|
+
isActive: t && e,
|
|
60
|
+
goToPage: (a) => s({ id: a }),
|
|
61
|
+
goBack: i,
|
|
62
|
+
canGoBack: n
|
|
63
|
+
};
|
|
64
|
+
}, so = ({ color: o, selected: t, selectionAppearance: e, active: s, focused: i, indicator: n, startIcon: a, endIcon: m, description: l, descriptionPlacement: u, shortcut: b, shortcutJoinLabel: v, hasSubmenu: p, disabled: c = !1, type: f = "button", children: g, ...k }) => /* @__PURE__ */ r(P, {
|
|
65
|
+
color: o,
|
|
66
|
+
selected: t,
|
|
67
|
+
selectionAppearance: e,
|
|
68
|
+
active: s,
|
|
69
|
+
focused: i,
|
|
70
|
+
indicator: n,
|
|
71
|
+
startIcon: a,
|
|
72
|
+
endIcon: m,
|
|
73
|
+
description: l,
|
|
74
|
+
descriptionPlacement: u,
|
|
75
|
+
shortcut: b,
|
|
76
|
+
shortcutJoinLabel: v,
|
|
77
|
+
hasSubmenu: p,
|
|
78
|
+
disabled: c,
|
|
79
|
+
render: /* @__PURE__ */ r(O, {
|
|
80
|
+
...k,
|
|
81
|
+
nativeButton: !0,
|
|
82
|
+
type: f,
|
|
83
|
+
disabled: c
|
|
84
|
+
}),
|
|
85
|
+
children: g
|
|
86
|
+
}), io = h({
|
|
87
|
+
gray: "Gray",
|
|
88
|
+
tomato: "Tomato",
|
|
89
|
+
red: "Red",
|
|
90
|
+
ruby: "Ruby",
|
|
91
|
+
crimson: "Crimson",
|
|
92
|
+
pink: "Pink",
|
|
93
|
+
plum: "Plum",
|
|
94
|
+
purple: "Purple",
|
|
95
|
+
violet: "Violet",
|
|
96
|
+
iris: "Iris",
|
|
97
|
+
cyan: "Cyan",
|
|
98
|
+
turquoise: "Turquoise",
|
|
99
|
+
sky: "Sky",
|
|
100
|
+
blue: "Blue",
|
|
101
|
+
jade: "Jade",
|
|
102
|
+
green: "Green",
|
|
103
|
+
grass: "Grass",
|
|
104
|
+
mint: "Mint",
|
|
105
|
+
lime: "Lime",
|
|
106
|
+
bronze: "Bronze",
|
|
107
|
+
gold: "Gold",
|
|
108
|
+
brown: "Brown",
|
|
109
|
+
orange: "Orange",
|
|
110
|
+
amber: "Amber",
|
|
111
|
+
yellow: "Yellow"
|
|
112
|
+
}), E = "_button_quwcq_1", $ = { button: E }, no = ({ active: o = !1, className: t, children: e, startIcon: s, endIcon: i, badge: n, size: a, ...m }) => {
|
|
113
|
+
const l = A(I), u = a ?? l?.size ?? "sm";
|
|
114
|
+
return /* @__PURE__ */ r(L, {
|
|
115
|
+
...m,
|
|
116
|
+
variant: "ghost",
|
|
117
|
+
size: u,
|
|
118
|
+
"data-active": o || void 0,
|
|
119
|
+
className: y(C(G.tab, $.button), t),
|
|
120
|
+
children: /* @__PURE__ */ r(x, {
|
|
121
|
+
startIcon: s,
|
|
122
|
+
endIcon: i,
|
|
123
|
+
badge: n,
|
|
124
|
+
children: e
|
|
125
|
+
})
|
|
126
|
+
});
|
|
127
|
+
};
|
|
128
|
+
export {
|
|
129
|
+
eo as a,
|
|
130
|
+
ao as i,
|
|
131
|
+
io as n,
|
|
132
|
+
so as r,
|
|
133
|
+
no as t
|
|
134
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { t as i } from "./isDefined-fMi6eQ4r.js";
|
|
2
|
+
import { t as a } from "./doNotTranslate-BSVT8Xyd.js";
|
|
3
|
+
var T = /[·ʻʼ´¨ˆ˜΄ˇ˘˙˚˛˝¯¸^`]/g, p = new RegExp("([\\p{Script=Latin}\\p{Script=Greek}\\p{Script_Extensions=Arabic}\\p{Script=Hebrew}])\\p{Mark}+", "gu"), R = new RegExp("(\\p{Script=Cyrillic})(\\p{Mark}+)", "gu"), C = /[\u0300\u0301]/g, L = ["г", "к"], S = /[가-힣]+/g, c = /[ㄱ-ㆎ]/g, _ = {
|
|
4
|
+
ø: "o",
|
|
5
|
+
æ: "ae",
|
|
6
|
+
ß: "ss",
|
|
7
|
+
ð: "d",
|
|
8
|
+
þ: "th",
|
|
9
|
+
ł: "l",
|
|
10
|
+
œ: "oe",
|
|
11
|
+
đ: "d",
|
|
12
|
+
ı: "i",
|
|
13
|
+
ŋ: "ng",
|
|
14
|
+
ς: "σ",
|
|
15
|
+
ё: "е"
|
|
16
|
+
}, A = new RegExp(`[${Object.keys(_).join("")}]`, "g"), o = (e, r, E) => L.includes(r) ? `${r}${E}` : `${r}${E.replace(C, "")}`, l = (e) => i(e) ? e.toLowerCase().normalize(a("NFD")).replace(T, "").replace(p, "$1").replace(R, o).normalize(a("NFC")).replace(S, (r) => r.normalize(a("NFD"))).replace(c, (r) => r.normalize("NFKD")).replace(A, (r) => _[r] ?? r) : "";
|
|
17
|
+
export {
|
|
18
|
+
l as t
|
|
19
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const n=require("./isDefined-DS2Q42p5.cjs"),a=require("./doNotTranslate-CHE7WmRS.cjs");var T=/[·ʻʼ´¨ˆ˜΄ˇ˘˙˚˛˝¯¸^`]/g,_=new RegExp("([\\p{Script=Latin}\\p{Script=Greek}\\p{Script_Extensions=Arabic}\\p{Script=Hebrew}])\\p{Mark}+","gu"),c=new RegExp("(\\p{Script=Cyrillic})(\\p{Mark}+)","gu"),o=/[\u0300\u0301]/g,t=["г","к"],R=/[가-힣]+/g,S=/[ㄱ-ㆎ]/g,E={ø:"o",æ:"ae",ß:"ss",ð:"d",þ:"th",ł:"l",œ:"oe",đ:"d",ı:"i",ŋ:"ng",ς:"σ",ё:"е"},C=new RegExp(`[${Object.keys(E).join("")}]`,"g"),L=(r,e,i)=>t.includes(e)?`${e}${i}`:`${e}${i.replace(o,"")}`,l=r=>n.isDefined(r)?r.toLowerCase().normalize(a.doNotTranslate("NFD")).replace(T,"").replace(_,"$1").replace(c,L).normalize(a.doNotTranslate("NFC")).replace(R,e=>e.normalize(a.doNotTranslate("NFD"))).replace(S,e=>e.normalize("NFKD")).replace(C,e=>E[e]??e):"";Object.defineProperty(exports,"normalizeSearchText",{enumerable:!0,get:function(){return l}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var u=["pointerdown","mousedown","touchend","focusout"],l=["pointerdown","keydown"],p=[...l,"keyup","mousedown"],c=t=>{t.preventDefault(),t.stopPropagation()},C=t=>{if(t.type==="click"){c(t);return}if(!u.includes(t.type))return;const n=t.target instanceof Node?t.target.ownerDocument??document:document,o=n.defaultView??n,i=new AbortController,r=()=>i.abort(),s={capture:!0,signal:i.signal},a=t.type==="focusout"?p:l;o.addEventListener("click",e=>{c(e),r()},s);for(const e of a)o.addEventListener(e,r,s)};Object.defineProperty(exports,"preventDismissingClickActivation",{enumerable:!0,get:function(){return C}});
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
var u = [
|
|
2
|
+
"pointerdown",
|
|
3
|
+
"mousedown",
|
|
4
|
+
"touchend",
|
|
5
|
+
"focusout"
|
|
6
|
+
], a = ["pointerdown", "keydown"], p = [
|
|
7
|
+
...a,
|
|
8
|
+
"keyup",
|
|
9
|
+
"mousedown"
|
|
10
|
+
], c = (o) => {
|
|
11
|
+
o.preventDefault(), o.stopPropagation();
|
|
12
|
+
}, C = (o) => {
|
|
13
|
+
if (o.type === "click") {
|
|
14
|
+
c(o);
|
|
15
|
+
return;
|
|
16
|
+
}
|
|
17
|
+
if (!u.includes(o.type)) return;
|
|
18
|
+
const n = o.target instanceof Node ? o.target.ownerDocument ?? document : document, e = n.defaultView ?? n, i = new AbortController(), r = () => i.abort(), s = {
|
|
19
|
+
capture: !0,
|
|
20
|
+
signal: i.signal
|
|
21
|
+
}, l = o.type === "focusout" ? p : a;
|
|
22
|
+
e.addEventListener("click", (t) => {
|
|
23
|
+
c(t), r();
|
|
24
|
+
}, s);
|
|
25
|
+
for (const t of l) e.addEventListener(t, r, s);
|
|
26
|
+
};
|
|
27
|
+
export {
|
|
28
|
+
C as t
|
|
29
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../VisuallyHidden-B-n4x1KY.cjs"),l=require("../
|
|
1
|
+
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../VisuallyHidden-B-n4x1KY.cjs"),l=require("../accessibility-CByqtBhO.cjs");exports.VisuallyHidden=e.VisuallyHidden;exports.handleClickableElementKeyDown=l.handleClickableElementKeyDown;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type AvatarSize = 'xl' | 'lg' | 'md' | 'sm' | 'xs';
|
|
1
|
+
export type AvatarSize = 'xxl' | 'xl' | 'lg' | 'md' | 'sm' | 'xs';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type BadgeColor = 'tertiary' | 'inherit' | 'primary' | 'secondary';
|
|
1
|
+
export type BadgeColor = 'tertiary' | 'inherit' | 'primary' | 'secondary' | 'accent';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type ChipVariant = 'solid' | 'soft' | 'ghost';
|
|
1
|
+
export type ChipVariant = 'solid' | 'soft' | 'ghost' | 'plain' | 'outline';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
1
|
+
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../data-display-DzHM5j7j.cjs");exports.AVATAR_PROPERTIES_BY_SIZE=e.AVATAR_PROPERTIES_BY_SIZE;exports.Avatar=e.Avatar;exports.Badge=e.Badge;exports.Chip=e.Chip;exports.ColorSample=e.ColorSample;exports.Status=e.Status;exports.Tag=e.Tag;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as s, i as t, n as m, o as p, r as i, t as A } from "../data-display-DtXIhJ4B.js";
|
|
1
|
+
import { a as s, i as o, n as r, o as t, r as p, s as A, t as S } from "../data-display-DUMj_z1t.js";
|
|
3
2
|
export {
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
t as AVATAR_PROPERTIES_BY_SIZE,
|
|
4
|
+
A as Avatar,
|
|
6
5
|
s as Badge,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
o as Chip,
|
|
7
|
+
p as ColorSample,
|
|
8
|
+
r as Status,
|
|
9
|
+
S as Tag
|
|
11
10
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const Banner: (({ status, variant, color, icon, action, className, children, render, ref, ...props }: import('..').BannerProps) => import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>) & {
|
|
2
|
-
Action: (
|
|
1
|
+
export declare const Banner: (({ status, variant, color, icon, action, onDismiss, closeLabel, className, children, render, ref, ...props }: import('..').BannerProps) => import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>) & {
|
|
2
|
+
Action: (props: import('..').BannerActionProps) => import("react").JSX.Element;
|
|
3
3
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { BannerActionProps } from '../types/BannerActionProps';
|
|
2
|
-
export declare const BannerAction: (
|
|
2
|
+
export declare const BannerAction: (props: BannerActionProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { BannerProps } from '../types/BannerProps';
|
|
2
|
-
export declare const BannerComponent: ({ status, variant, color, icon, action, className, children, render, ref, ...props }: BannerProps) => import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
|
|
2
|
+
export declare const BannerComponent: ({ status, variant, color, icon, action, onDismiss, closeLabel, className, children, render, ref, ...props }: BannerProps) => import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
1
|
+
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("../ProgressRing-g1nHGyUp.cjs"),o=require("../Loader-Bb72CUQ9.cjs"),e=require("../ProgressBar-goqxS9NE.cjs"),s=require("../Skeleton-tXeIy4qq.cjs"),n=require("../feedback-B50I0C35.cjs");let t=require("@base-ui/react/progress");exports.Banner=e.Banner;exports.Loader=o.Loader;Object.defineProperty(exports,"Progress",{enumerable:!0,get:function(){return t.Progress}});exports.ProgressBar=e.ProgressBar;exports.ProgressRing=r.ProgressRing;exports.SKELETON_HEIGHT_SIZES=n.SKELETON_HEIGHT_SIZES;exports.Skeleton=s.Skeleton;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { n as o } from "../getProgressIndicatorPercentage-ejfaM6XU.js";
|
|
2
2
|
import { t } from "../ProgressRing-8mYV9cxE.js";
|
|
3
|
-
import { t as
|
|
4
|
-
import { n, t as
|
|
5
|
-
import {
|
|
3
|
+
import { t as a } from "../Loader-DtHWQH8w.js";
|
|
4
|
+
import { n as i, t as p } from "../ProgressBar-8pjpGrmZ.js";
|
|
5
|
+
import { t as n } from "../Skeleton-BbIF780H.js";
|
|
6
|
+
import { t as E } from "../feedback-BQFSnMjh.js";
|
|
6
7
|
export {
|
|
7
|
-
|
|
8
|
-
|
|
8
|
+
i as Banner,
|
|
9
|
+
a as Loader,
|
|
9
10
|
o as Progress,
|
|
10
|
-
|
|
11
|
+
p as ProgressBar,
|
|
11
12
|
t as ProgressRing,
|
|
12
|
-
|
|
13
|
-
|
|
13
|
+
E as SKELETON_HEIGHT_SIZES,
|
|
14
|
+
n as Skeleton
|
|
14
15
|
};
|
|
@@ -4,7 +4,7 @@ export declare const Autocomplete: {
|
|
|
4
4
|
Value: typeof AutocompletePrimitive.Value;
|
|
5
5
|
Trigger: AutocompletePrimitive.Trigger;
|
|
6
6
|
InputGroup: ({ className, ...props }: import('..').AutocompleteInputGroupProps) => import("react").JSX.Element;
|
|
7
|
-
Input: ({ size, className, ...props }: import('..').AutocompleteInputProps) => import("react").JSX.Element;
|
|
7
|
+
Input: ({ size, className, render, ...props }: import('..').AutocompleteInputProps) => import("react").JSX.Element;
|
|
8
8
|
Icon: import('react').ForwardRefExoticComponent<Omit<import('@base-ui/react').AutocompleteIconProps, "ref"> & import('react').RefAttributes<HTMLSpanElement>>;
|
|
9
9
|
Clear: import('react').ForwardRefExoticComponent<Omit<import('@base-ui/react').AutocompleteClearProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>>;
|
|
10
10
|
Portal: ({ container, ...props }: import('..').AutocompletePortalProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { AutocompleteInputProps } from '../types/AutocompleteInputProps';
|
|
2
|
-
export declare const AutocompleteInput: ({ size, className, ...props }: AutocompleteInputProps) => import("react").JSX.Element;
|
|
2
|
+
export declare const AutocompleteInput: ({ size, className, render, ...props }: AutocompleteInputProps) => import("react").JSX.Element;
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
import { Autocomplete as AutocompletePrimitive } from '@base-ui/react/autocomplete';
|
|
2
2
|
import { InputSize } from '../../types/InputSize';
|
|
3
|
-
|
|
3
|
+
type AutocompletePrimitiveInputProps = Omit<AutocompletePrimitive.Input.Props, 'size'>;
|
|
4
|
+
type AutocompleteInputAppearanceProps = {
|
|
5
|
+
render?: undefined;
|
|
4
6
|
size?: InputSize;
|
|
7
|
+
} | {
|
|
8
|
+
render: NonNullable<AutocompletePrimitive.Input.Props['render']>;
|
|
9
|
+
size?: never;
|
|
5
10
|
};
|
|
11
|
+
export type AutocompleteInputProps = AutocompletePrimitiveInputProps & AutocompleteInputAppearanceProps;
|
|
12
|
+
export {};
|
|
@@ -1,3 +1,5 @@
|
|
|
1
1
|
import { Autocomplete as AutocompletePrimitive } from '@base-ui/react/autocomplete';
|
|
2
2
|
import { ListItemProps } from '../../../navigation/ListItem/types/ListItemProps';
|
|
3
|
-
export type AutocompleteItemProps = AutocompletePrimitive.Item.Props & Pick<ListItemProps, 'startIcon' | 'endIcon' | 'description'
|
|
3
|
+
export type AutocompleteItemProps = AutocompletePrimitive.Item.Props & Pick<ListItemProps, 'startIcon' | 'endIcon' | 'description'> & {
|
|
4
|
+
descriptionPlacement?: Exclude<ListItemProps['descriptionPlacement'], 'below'>;
|
|
5
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type ButtonColor = 'neutral' | 'accent' | 'danger' | 'success';
|
|
1
|
+
export type ButtonColor = 'neutral' | 'accent' | 'danger' | 'success' | 'inherit';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { InputProps } from './types/InputProps';
|
|
2
|
-
export declare const Input: ({ size, className, ...props }: InputProps) => import("react").JSX.Element;
|
|
2
|
+
export declare const Input: ({ size, variant, hasFocusRing, className, ...props }: InputProps) => import("react").JSX.Element;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { Input as InputPrimitive } from '@base-ui/react/input';
|
|
2
2
|
import { InputSize } from '../../types/InputSize';
|
|
3
|
+
import { InputVariant } from '../../types/InputVariant';
|
|
3
4
|
export type InputProps = Omit<InputPrimitive.Props, 'size'> & {
|
|
4
5
|
size?: InputSize;
|
|
6
|
+
variant?: InputVariant;
|
|
7
|
+
hasFocusRing?: boolean;
|
|
5
8
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { InputGroupProps } from './types/InputGroupProps';
|
|
2
|
-
export declare const InputGroup: ({ size, startElement, endElement, className, children, render, ref, ...props }: InputGroupProps) => import("react").JSX.Element;
|
|
2
|
+
export declare const InputGroup: ({ size, hasFocusRing, startElement, endElement, className, children, render, ref, ...props }: InputGroupProps) => import("react").JSX.Element;
|
|
@@ -3,6 +3,7 @@ import { ReactNode } from 'react';
|
|
|
3
3
|
import { InputSize } from '../../types/InputSize';
|
|
4
4
|
export type InputGroupProps = useRender.ComponentProps<'div'> & {
|
|
5
5
|
size?: InputSize;
|
|
6
|
+
hasFocusRing?: boolean;
|
|
6
7
|
/** Content rendered before the input, such as a prefix or an icon. */
|
|
7
8
|
startElement?: ReactNode;
|
|
8
9
|
/** Content rendered after the input, such as a suffix or a button. */
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { RadioGroupProps } from './types/RadioGroupProps';
|
|
2
|
-
export declare const RadioGroup: <TValue>({ className, ...props }: RadioGroupProps<TValue>) => import("react").JSX.Element;
|
|
2
|
+
export declare const RadioGroup: <TValue>({ className, orientation, ...props }: RadioGroupProps<TValue>) => import("react").JSX.Element;
|
|
@@ -1,2 +1,4 @@
|
|
|
1
1
|
import { RadioGroup as RadioGroupPrimitive } from '@base-ui/react/radio-group';
|
|
2
|
-
export type RadioGroupProps<TValue = string> = RadioGroupPrimitive.Props<TValue
|
|
2
|
+
export type RadioGroupProps<TValue = string> = RadioGroupPrimitive.Props<TValue> & {
|
|
3
|
+
orientation?: 'horizontal' | 'vertical';
|
|
4
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { TextareaProps } from './types/TextareaProps';
|
|
2
|
-
export declare const Textarea: ({ size, autoResize, maxRows, className, style, ref, render, onChange, value, rows, ...props }: TextareaProps) => import("react").JSX.Element;
|
|
2
|
+
export declare const Textarea: ({ size, variant, autoResize, maxRows, className, style, ref, render, onChange, value, rows, ...props }: TextareaProps) => import("react").JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { TextareaProps } from '../types/TextareaProps';
|
|
3
|
+
type TextareaAutoResizeEffectProps = Pick<TextareaProps, 'autoResize' | 'value' | 'maxRows' | 'rows' | 'size' | 'variant' | 'form'> & {
|
|
4
|
+
textarea: HTMLTextAreaElement | null;
|
|
5
|
+
consumerBlockSize: CSSProperties['blockSize'];
|
|
6
|
+
};
|
|
7
|
+
export declare const TextareaAutoResizeEffect: ({ textarea, autoResize, value, maxRows, rows, size, variant, consumerBlockSize, form, }: TextareaAutoResizeEffectProps) => null;
|
|
8
|
+
export {};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Input as InputPrimitive } from '@base-ui/react/input';
|
|
2
2
|
import { useRender } from '@base-ui/react/use-render';
|
|
3
3
|
import { InputSize } from '../../types/InputSize';
|
|
4
|
+
import { InputVariant } from '../../types/InputVariant';
|
|
4
5
|
export type TextareaProps = Omit<useRender.ComponentProps<'textarea', InputPrimitive.State, useRender.ElementProps<'textarea'>>, 'className'> & {
|
|
5
6
|
/**
|
|
6
7
|
* CSS class applied to the textarea, or a function that returns a class
|
|
@@ -10,6 +11,7 @@ export type TextareaProps = Omit<useRender.ComponentProps<'textarea', InputPrimi
|
|
|
10
11
|
onValueChange?: (value: string, eventDetails: InputPrimitive.ChangeEventDetails) => void;
|
|
11
12
|
/** Visual size of the textarea. */
|
|
12
13
|
size?: InputSize;
|
|
14
|
+
variant?: InputVariant;
|
|
13
15
|
autoResize?: boolean;
|
|
14
16
|
maxRows?: number;
|
|
15
17
|
};
|
|
@@ -164,4 +164,5 @@ export type { SwitchThumbProps } from './Switch/types/SwitchThumbProps';
|
|
|
164
164
|
export { Textarea } from './Textarea/Textarea';
|
|
165
165
|
export type { TextareaProps } from './Textarea/types/TextareaProps';
|
|
166
166
|
export type { InputSize } from './types/InputSize';
|
|
167
|
+
export type { InputVariant } from './types/InputVariant';
|
|
167
168
|
export type { SelectOption } from './types/SelectOption';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type InputVariant = 'default' | 'plain';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("../Button-
|
|
1
|
+
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("../Button-iVyxlrwO.cjs"),u=require("../Input-D69M4UwD.cjs"),t=require("../Radio-CpQPRHXa.cjs"),o=require("../Switch-Ck8QAAbb.cjs"),e=require("../input-ExCbk62Y.cjs");exports.Autocomplete=e.Autocomplete;exports.Button=r.Button;exports.ButtonGroup=e.ButtonGroup;exports.Checkbox=e.Checkbox;exports.Field=e.Field;exports.Input=u.Input;exports.InputGroup=t.InputGroup;exports.NumberField=t.NumberField;exports.Radio=t.Radio;exports.RadioGroup=e.RadioGroup;exports.Select=t.Select;exports.Slider=e.Slider;exports.Switch=o.Switch;exports.Textarea=e.Textarea;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { t } from "../Button-
|
|
2
|
-
import { t as r } from "../Input-
|
|
3
|
-
import { n as e, r as
|
|
4
|
-
import { t as
|
|
5
|
-
import { a as
|
|
1
|
+
import { t } from "../Button-CU8BS-Yd.js";
|
|
2
|
+
import { t as r } from "../Input-D1sIHUZ5.js";
|
|
3
|
+
import { i, n as e, r as m, t as p } from "../Radio-VTjpEz8M.js";
|
|
4
|
+
import { t as n } from "../Switch-DOd0gh7W.js";
|
|
5
|
+
import { a as f, i as l, n as c, o as x, r as G, s as S, t as b } from "../input-DxoXgI5-.js";
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
S as Autocomplete,
|
|
8
8
|
t as Button,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
x as ButtonGroup,
|
|
10
|
+
f as Checkbox,
|
|
11
|
+
l as Field,
|
|
12
12
|
r as Input,
|
|
13
13
|
e as InputGroup,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
14
|
+
m as NumberField,
|
|
15
|
+
p as Radio,
|
|
16
|
+
G as RadioGroup,
|
|
17
|
+
i as Select,
|
|
18
|
+
c as Slider,
|
|
19
|
+
n as Switch,
|
|
20
20
|
b as Textarea
|
|
21
21
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { ListItemProps } from './types/ListItemProps';
|
|
2
|
-
export declare const ListItem: ({ color, selected, focused, disabled, indicator, startIcon, endIcon, description, descriptionPlacement, actions, actionsVisibility, shortcut, shortcutJoinLabel, hasSubmenu, className, children, render, ref, ...props }: ListItemProps) => import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
|
|
2
|
+
export declare const ListItem: ({ color, selected, selectionAppearance, active, focused, disabled, indicator, startIcon, endIcon, description, descriptionPlacement, actions, actionsVisibility, actionsPlacement, shortcut, shortcutJoinLabel, hasSubmenu, className, children, render, ref, ...props }: ListItemProps) => import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
type ListItemMultilineExampleProps = {
|
|
2
|
+
disabled?: boolean;
|
|
3
|
+
onOpen?: () => void;
|
|
4
|
+
onArchive?: () => void;
|
|
5
|
+
};
|
|
6
|
+
export declare const ListItemMultilineExample: ({ disabled, onOpen, onArchive, }: ListItemMultilineExampleProps) => import("react").JSX.Element;
|
|
7
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type ListItemDescriptionPlacement = 'inline' | 'end';
|
|
1
|
+
export type ListItemDescriptionPlacement = 'inline' | 'end' | 'below';
|
|
@@ -14,6 +14,8 @@ export type ListItemProps = Omit<useRender.ComponentProps<'div', ListItemState>,
|
|
|
14
14
|
* `indicator` is set.
|
|
15
15
|
*/
|
|
16
16
|
selected?: boolean;
|
|
17
|
+
active?: boolean;
|
|
18
|
+
selectionAppearance?: 'default' | 'accent';
|
|
17
19
|
/** Applies the highlighted style, for example to the focused item of a list. */
|
|
18
20
|
focused?: boolean;
|
|
19
21
|
disabled?: boolean;
|
|
@@ -36,6 +38,7 @@ export type ListItemProps = Omit<useRender.ComponentProps<'div', ListItemState>,
|
|
|
36
38
|
/** Trailing content, such as buttons, rendered after the content. */
|
|
37
39
|
actions?: ReactNode;
|
|
38
40
|
actionsVisibility?: 'hover' | 'always';
|
|
41
|
+
actionsPlacement?: 'auto' | 'end';
|
|
39
42
|
/**
|
|
40
43
|
* Keyboard shortcut keys displayed at the end of the row. Registering the
|
|
41
44
|
* shortcut is up to the application.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type TabsSize = 'sm' | 'md';
|
|
1
|
+
export type TabsSize = 'compact' | 'sm' | 'md';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("../ListItem-
|
|
1
|
+
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("../ListItem-B-SFWJZb.cjs"),e=require("../navigation-ByYN6NgX.cjs");exports.Breadcrumb=e.Breadcrumb;exports.ListItem=r.ListItem;exports.Tabs=e.Tabs;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export declare const Card: {
|
|
2
|
-
Root: ({ className, fullWidth,
|
|
2
|
+
Root: ({ className, fullWidth, backgroundColor, style, render, ref, ...props }: import('..').CardRootProps) => import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
|
|
3
|
+
Action: ({ className, disabled, render, ref, ...props }: import('..').CardActionProps) => import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
|
|
4
|
+
Control: ({ className, render, ref, ...props }: import('..').CardControlProps) => import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
|
|
3
5
|
Header: ({ className, render, ref, ...props }: import('..').CardHeaderProps) => import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
|
|
4
6
|
Content: ({ className, divider, render, ref, ...props }: import('..').CardContentProps) => import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
|
|
5
7
|
Footer: ({ className, divider, render, ref, ...props }: import('..').CardFooterProps) => import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { CardRootProps } from '../types/CardRootProps';
|
|
2
|
-
export declare const CardRoot: ({ className, fullWidth,
|
|
2
|
+
export declare const CardRoot: ({ className, fullWidth, backgroundColor, style, render, ref, ...props }: CardRootProps) => import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
|
|
@@ -5,6 +5,7 @@ export declare const Tooltip: (<TPayload>({ content, children, description, star
|
|
|
5
5
|
Portal: ({ container, ...props }: import('..').TooltipPortalProps) => import("react").JSX.Element;
|
|
6
6
|
Positioner: ({ className, ...props }: import('..').TooltipPositionerProps) => import("react").JSX.Element;
|
|
7
7
|
Popup: ({ className, withExitAnimation, maxWidth, style, ...props }: import('..').TooltipPopupProps) => import("react").JSX.Element;
|
|
8
|
+
Body: ({ children, description, startIcon, className, render, ref, ...props }: import('..').TooltipBodyProps) => import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
|
|
8
9
|
Arrow: ({ className, ...props }: import('..').TooltipArrowProps) => import("react").JSX.Element;
|
|
9
10
|
Viewport: import('react').ForwardRefExoticComponent<Omit<import('@base-ui/react').TooltipViewportProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
10
11
|
Provider: import('react').FC<import('@base-ui/react').TooltipProviderProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const findTooltip: (canvasElement: HTMLElement) => Promise<HTMLElement>;
|