twenty-ui 2.50.0 → 2.51.3
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 +5 -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/Dropdown-D_hFndP5.cjs +1 -0
- package/dist/Dropdown-xXsGBv57.js +1056 -0
- 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/{Tooltip-DL3sfbuw.cjs → Tooltip-08dDawT_.cjs} +1 -1
- 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 -8
- package/dist/components/feedback/InlineBanner/types/InlineBannerProps.d.ts +1 -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 +2 -0
- 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/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 -0
- package/dist/components/navigation.cjs +1 -1
- package/dist/components/navigation.mjs +7 -6
- package/dist/components/settings.cjs +1 -1
- package/dist/components/settings.mjs +1 -1
- package/dist/components.cjs +1 -1
- package/dist/components.mjs +44 -37
- package/dist/{data-display-CXw-mxeS.js → data-display-DUMj_z1t.js} +25 -25
- package/dist/data-display-D_kbXJJd.cjs +2 -0
- package/dist/{data-display-DdES9XqZ.cjs → data-display-DzHM5j7j.cjs} +1 -1
- 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-DspXawf9.cjs → feedback-BzR4ggrP.cjs} +1 -1
- package/dist/{feedback-4HKPcMRs.js → feedback-EaZszoXf.js} +29 -29
- 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 -652
- 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-DP5Edsq_.cjs +1 -0
- package/dist/navigation-DXMjQMPm.js +134 -0
- package/dist/primitives/data-display.cjs +1 -1
- package/dist/primitives/data-display.mjs +1 -1
- package/dist/primitives/feedback/Banner/Banner.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/types/AutocompleteItemProps.d.ts +3 -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/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 +14 -14
- 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.cjs +1 -1
- package/dist/primitives/navigation.mjs +1 -1
- package/dist/primitives/surfaces/Card/Card.d.ts +2 -0
- 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/types/CardActionProps.d.ts +2 -0
- package/dist/primitives/surfaces/Card/types/CardControlProps.d.ts +2 -0
- package/dist/primitives/surfaces/index.d.ts +2 -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 +2 -2
- package/dist/primitives.cjs +1 -1
- package/dist/primitives.mjs +52 -51
- package/dist/{settings-XGSJtobU.js → settings-BTFAqYrD.js} +1 -1
- package/dist/{settings-DT5bEO6A.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/{typography-CWtuNruY.cjs → typography-B05olPwL.cjs} +1 -1
- package/dist/{typography-BPdXzW2T.js → typography-BwyZEDDi.js} +1 -1
- package/dist/utilities/color/utils/themeColorSchema.d.ts +15 -15
- package/package.json +3 -1
- package/dist/Dropdown-ChTVyesF.js +0 -1018
- package/dist/Dropdown-DlItz8Gh.cjs +0 -1
- package/dist/Input-DZWl81G_.js +0 -23
- package/dist/Input-DvL77rvu.cjs +0 -1
- package/dist/ListItem-C6Xl00m1.cjs +0 -1
- package/dist/ListItem-C84ANa76.js +0 -86
- package/dist/ListItem.module-BJ9Ttjrc.js +0 -34
- package/dist/ListItem.module-CO4u2oeF.cjs +0 -1
- package/dist/OverflowingTextWithTooltip-BQmpPObX.cjs +0 -1
- package/dist/OverflowingTextWithTooltip-BtB9cGdJ.js +0 -89
- package/dist/ProgressBar-CzGs7cuE.cjs +0 -1
- package/dist/ProgressBar-D4tKQ7OA.js +0 -84
- package/dist/Radio-BwBZ4e8g.js +0 -103
- package/dist/Radio-sIYxZnR_.cjs +0 -1
- package/dist/data-display-C-eoJ5En.js +0 -378
- package/dist/data-display-CM1yXpnE.cjs +0 -2
- package/dist/feedback-BSOWDBI0.js +0 -38
- package/dist/feedback-DBRXDPSP.cjs +0 -1
- package/dist/icon-BNcdwwdl.cjs +0 -1
- package/dist/input-CWWp7cqL.cjs +0 -1
- package/dist/input-CvZ_uB_9.cjs +0 -1
- package/dist/input-Qn5_aFYU.js +0 -785
- package/dist/input-k5cMhFI_.js +0 -428
- package/dist/layout-DDqeMgFv.js +0 -439
- package/dist/layout-iSfGrMrH.cjs +0 -1
- package/dist/navigation-7Y6gHFlj.cjs +0 -1
- package/dist/navigation-BcXCiLE1.js +0 -86
- package/dist/primitives/typography/internal/Label/Label.d.ts +0 -8
- package/dist/surfaces-q8voTXEJ.cjs +0 -1
- package/dist/surfaces-vhSZBmbz.js +0 -201
- package/dist/{Tooltip-6uS8_wdA.js → Tooltip-C7zc16gI.js} +1 -1
|
@@ -1,201 +0,0 @@
|
|
|
1
|
-
import { t as D } from "./isDefined-fMi6eQ4r.js";
|
|
2
|
-
import { t as _ } from "./theme-B2EaXhye.js";
|
|
3
|
-
import { t as p } from "./mergeClassNames-ClFMR1v0.js";
|
|
4
|
-
import { t as v } from "./useProvidedTextDirection-Dk8LBQeF.js";
|
|
5
|
-
import { t as u } from "./Heading-Nj5BlPqB.js";
|
|
6
|
-
import { useRender as c } from "@base-ui/react/use-render";
|
|
7
|
-
import { isUndefined as f } from "@sniptt/guards";
|
|
8
|
-
import { clsx as s } from "clsx";
|
|
9
|
-
import { jsx as i } from "react/jsx-runtime";
|
|
10
|
-
import { AlertDialog as d } from "@base-ui/react/alert-dialog";
|
|
11
|
-
import { Dialog as l } from "@base-ui/react/dialog";
|
|
12
|
-
var C = "_backdrop_aak4r_1", N = "_viewport_aak4r_12", k = "_popup_aak4r_30", H = "_header_aak4r_82", P = "_body_aak4r_91", T = "_footer_aak4r_95", y = "_title_aak4r_106", A = "_description_aak4r_113", t = {
|
|
13
|
-
backdrop: C,
|
|
14
|
-
viewport: N,
|
|
15
|
-
popup: k,
|
|
16
|
-
header: H,
|
|
17
|
-
body: P,
|
|
18
|
-
footer: T,
|
|
19
|
-
title: y,
|
|
20
|
-
description: A
|
|
21
|
-
}, w = ({ className: r, ...a }) => /* @__PURE__ */ i(d.Backdrop, {
|
|
22
|
-
...a,
|
|
23
|
-
className: p(t.backdrop, r)
|
|
24
|
-
}), B = ({ render: r, ref: a, className: e, ...o }) => c({
|
|
25
|
-
render: r,
|
|
26
|
-
ref: a,
|
|
27
|
-
props: {
|
|
28
|
-
...o,
|
|
29
|
-
className: s(t.body, e)
|
|
30
|
-
}
|
|
31
|
-
}), F = ({ className: r, ...a }) => /* @__PURE__ */ i(d.Description, {
|
|
32
|
-
...a,
|
|
33
|
-
className: p(t.description, r)
|
|
34
|
-
}), b = ({ render: r, ref: a, className: e, ...o }) => c({
|
|
35
|
-
render: r,
|
|
36
|
-
ref: a,
|
|
37
|
-
props: {
|
|
38
|
-
...o,
|
|
39
|
-
className: s(t.footer, e)
|
|
40
|
-
}
|
|
41
|
-
}), h = ({ render: r, ref: a, className: e, ...o }) => c({
|
|
42
|
-
render: r,
|
|
43
|
-
ref: a,
|
|
44
|
-
props: {
|
|
45
|
-
...o,
|
|
46
|
-
className: s(t.header, e)
|
|
47
|
-
}
|
|
48
|
-
}), R = ({ container: r, ...a }) => {
|
|
49
|
-
const e = _(), o = v();
|
|
50
|
-
return /* @__PURE__ */ i(d.Portal, {
|
|
51
|
-
dir: o,
|
|
52
|
-
...a,
|
|
53
|
-
container: r === void 0 ? e ?? void 0 : r
|
|
54
|
-
});
|
|
55
|
-
}, V = ({ size: r = "md", className: a, ...e }) => /* @__PURE__ */ i(d.Popup, {
|
|
56
|
-
...e,
|
|
57
|
-
"data-size": r,
|
|
58
|
-
className: p(t.popup, a)
|
|
59
|
-
}), x = ({ className: r, ...a }) => /* @__PURE__ */ i(d.Title, {
|
|
60
|
-
...a,
|
|
61
|
-
className: p(t.title, r)
|
|
62
|
-
}), $ = ({ className: r, ...a }) => {
|
|
63
|
-
const e = v();
|
|
64
|
-
return /* @__PURE__ */ i(d.Viewport, {
|
|
65
|
-
dir: e,
|
|
66
|
-
...a,
|
|
67
|
-
className: p(t.viewport, r)
|
|
68
|
-
});
|
|
69
|
-
}, z = () => ({
|
|
70
|
-
Root: d.Root,
|
|
71
|
-
Trigger: d.Trigger,
|
|
72
|
-
Portal: R,
|
|
73
|
-
Backdrop: w,
|
|
74
|
-
Viewport: $,
|
|
75
|
-
Popup: V,
|
|
76
|
-
Title: x,
|
|
77
|
-
Description: F,
|
|
78
|
-
Close: d.Close,
|
|
79
|
-
Header: h,
|
|
80
|
-
Body: B,
|
|
81
|
-
Footer: b,
|
|
82
|
-
Handle: d.Handle,
|
|
83
|
-
createHandle: d.createHandle
|
|
84
|
-
}), Cr = /* @__PURE__ */ z(), j = "_cardContent_122dn_1", U = { cardContent: j }, q = ({ className: r, divider: a, render: e, ref: o, ...n }) => c({
|
|
85
|
-
render: e,
|
|
86
|
-
ref: o,
|
|
87
|
-
props: {
|
|
88
|
-
...n,
|
|
89
|
-
className: s(U.cardContent, r),
|
|
90
|
-
"data-divider": a || void 0
|
|
91
|
-
}
|
|
92
|
-
}), E = "_cardFooter_yo8y2_1", G = { cardFooter: E }, I = ({ className: r, divider: a, render: e, ref: o, ...n }) => c({
|
|
93
|
-
render: e,
|
|
94
|
-
ref: o,
|
|
95
|
-
props: {
|
|
96
|
-
...n,
|
|
97
|
-
className: s(G.cardFooter, r),
|
|
98
|
-
"data-no-divider": a === !1 || void 0
|
|
99
|
-
}
|
|
100
|
-
}), J = "_cardHeader_18psr_1", K = { cardHeader: J }, L = ({ className: r, render: a, ref: e, ...o }) => c({
|
|
101
|
-
render: a,
|
|
102
|
-
ref: e,
|
|
103
|
-
props: {
|
|
104
|
-
...o,
|
|
105
|
-
className: s(K.cardHeader, r)
|
|
106
|
-
}
|
|
107
|
-
}), M = "_card_l2pp2_1", O = { card: M }, Q = ({ className: r, fullWidth: a, backgroundColor: e, style: o, render: n, ref: m, ...g }) => c({
|
|
108
|
-
render: n,
|
|
109
|
-
ref: m,
|
|
110
|
-
props: {
|
|
111
|
-
...g,
|
|
112
|
-
className: s(O.card, r),
|
|
113
|
-
"data-full-width": a || void 0,
|
|
114
|
-
style: D(e) ? {
|
|
115
|
-
...o,
|
|
116
|
-
"--card-background-color": e
|
|
117
|
-
} : o
|
|
118
|
-
}
|
|
119
|
-
}), Nr = {
|
|
120
|
-
Root: Q,
|
|
121
|
-
Header: L,
|
|
122
|
-
Content: q,
|
|
123
|
-
Footer: I
|
|
124
|
-
}, S = ({ className: r, ...a }) => /* @__PURE__ */ i(l.Backdrop, {
|
|
125
|
-
...a,
|
|
126
|
-
className: p(t.backdrop, r)
|
|
127
|
-
}), W = ({ render: r, ref: a, className: e, ...o }) => c({
|
|
128
|
-
render: r,
|
|
129
|
-
ref: a,
|
|
130
|
-
props: {
|
|
131
|
-
...o,
|
|
132
|
-
className: s(t.body, e)
|
|
133
|
-
}
|
|
134
|
-
}), X = "_description_3f4d1_1", Y = { description: X }, Z = ({ className: r, ...a }) => /* @__PURE__ */ i(l.Description, {
|
|
135
|
-
...a,
|
|
136
|
-
className: p(s(t.description, Y.description), r)
|
|
137
|
-
}), rr = ({ render: r, ref: a, className: e, ...o }) => c({
|
|
138
|
-
render: r,
|
|
139
|
-
ref: a,
|
|
140
|
-
props: {
|
|
141
|
-
...o,
|
|
142
|
-
className: s(t.footer, e)
|
|
143
|
-
}
|
|
144
|
-
}), ar = ({ render: r, ref: a, className: e, ...o }) => c({
|
|
145
|
-
render: r,
|
|
146
|
-
ref: a,
|
|
147
|
-
props: {
|
|
148
|
-
...o,
|
|
149
|
-
className: s(t.header, e)
|
|
150
|
-
}
|
|
151
|
-
}), er = ({ size: r = "md", className: a, ...e }) => {
|
|
152
|
-
const o = v();
|
|
153
|
-
return /* @__PURE__ */ i(l.Popup, {
|
|
154
|
-
dir: o,
|
|
155
|
-
...e,
|
|
156
|
-
"data-size": r,
|
|
157
|
-
className: p(t.popup, a)
|
|
158
|
-
});
|
|
159
|
-
}, or = ({ container: r, ...a }) => {
|
|
160
|
-
const e = _();
|
|
161
|
-
return /* @__PURE__ */ i(l.Portal, {
|
|
162
|
-
...a,
|
|
163
|
-
container: f(r) ? e ?? void 0 : r
|
|
164
|
-
});
|
|
165
|
-
}, tr = "_title_yzpck_1", ir = { title: tr }, dr = ({ level: r = 2, size: a = "lg", color: e = "primary", className: o, render: n, ...m }) => /* @__PURE__ */ i(l.Title, {
|
|
166
|
-
...m,
|
|
167
|
-
className: p(ir.title, o),
|
|
168
|
-
render: /* @__PURE__ */ i(u, {
|
|
169
|
-
level: r,
|
|
170
|
-
size: a,
|
|
171
|
-
color: e,
|
|
172
|
-
render: n
|
|
173
|
-
})
|
|
174
|
-
}), lr = ({ className: r, ...a }) => {
|
|
175
|
-
const e = v();
|
|
176
|
-
return /* @__PURE__ */ i(l.Viewport, {
|
|
177
|
-
dir: e,
|
|
178
|
-
...a,
|
|
179
|
-
className: p(t.viewport, r)
|
|
180
|
-
});
|
|
181
|
-
}, kr = {
|
|
182
|
-
createHandle: l.createHandle,
|
|
183
|
-
Handle: l.Handle,
|
|
184
|
-
Root: l.Root,
|
|
185
|
-
Trigger: l.Trigger,
|
|
186
|
-
Portal: or,
|
|
187
|
-
Backdrop: S,
|
|
188
|
-
Viewport: lr,
|
|
189
|
-
Popup: er,
|
|
190
|
-
Title: dr,
|
|
191
|
-
Description: Z,
|
|
192
|
-
Close: l.Close,
|
|
193
|
-
Header: ar,
|
|
194
|
-
Body: W,
|
|
195
|
-
Footer: rr
|
|
196
|
-
};
|
|
197
|
-
export {
|
|
198
|
-
Nr as n,
|
|
199
|
-
Cr as r,
|
|
200
|
-
kr as t
|
|
201
|
-
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as tr } from "./isDefined-fMi6eQ4r.js";
|
|
2
|
+
import { t as n } from "./isRenderableSlot-DT_depzM.js";
|
|
2
3
|
import { t as ar } from "./theme-B2EaXhye.js";
|
|
3
4
|
import { t as T } from "./mergeClassNames-ClFMR1v0.js";
|
|
4
|
-
import { t as n } from "./isRenderableSlot-DT_depzM.js";
|
|
5
5
|
import { t as sr } from "./useProvidedTextDirection-Dk8LBQeF.js";
|
|
6
6
|
import { useRender as nr } from "@base-ui/react/use-render";
|
|
7
7
|
import { isFunction as v, isNumber as P, isString as pr } from "@sniptt/guards";
|