@adgytec/adgytec-web-ui-components 2.0.0 → 2.1.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/dist/assets/AppBar.css +1 -0
- package/dist/assets/AppBarAvatar.css +1 -0
- package/dist/assets/AppBarHeadline.css +1 -0
- package/dist/assets/Navigation.css +1 -0
- package/dist/assets/NavigationScrollContainer.css +1 -0
- package/dist/assets/NavigationSection.css +1 -0
- package/dist/assets/NavigationSectionLabel.css +1 -0
- package/dist/assets/SideSheet.css +1 -1
- package/dist/assets/Tag.css +1 -1
- package/dist/assets/core10.css +1 -0
- package/dist/assets/core2.css +1 -1
- package/dist/assets/core3.css +1 -1
- package/dist/assets/core9.css +1 -0
- package/dist/chunks/ActionDialog +10 -10
- package/dist/chunks/AppBar +65 -0
- package/dist/chunks/AppBar.map +1 -0
- package/dist/chunks/AppBarAvatar +35 -0
- package/dist/chunks/AppBarAvatar.map +1 -0
- package/dist/chunks/AppBarHeadline +19 -0
- package/dist/chunks/AppBarHeadline.map +1 -0
- package/dist/chunks/BaseCalendar +35 -35
- package/dist/chunks/BottomSheet +17 -13
- package/dist/chunks/BottomSheet.map +1 -1
- package/dist/chunks/BottomSheetModal +5 -5
- package/dist/chunks/ButtonGroup +4 -4
- package/dist/chunks/CalendarCell +14 -14
- package/dist/chunks/CalendarGrid +7 -7
- package/dist/chunks/CalendarMenuItem +3 -3
- package/dist/chunks/CenteredSlider +16 -16
- package/dist/chunks/ComboBox +12 -12
- package/dist/chunks/ComboBoxTrigger +6 -6
- package/dist/chunks/ConnectedButtonGroup +4 -4
- package/dist/chunks/Dialog +10 -6
- package/dist/chunks/Dialog.map +1 -1
- package/dist/chunks/Disclosure +3 -3
- package/dist/chunks/DisclosureGroup +4 -4
- package/dist/chunks/DisclosureHeader +15 -15
- package/dist/chunks/DisclosurePanel +4 -4
- package/dist/chunks/Divider +3 -3
- package/dist/chunks/FieldError +3 -3
- package/dist/chunks/Input +12 -12
- package/dist/chunks/Input2 +28 -28
- package/dist/chunks/Modal +3 -3
- package/dist/chunks/ModalOverlay +3 -3
- package/dist/chunks/Navigation +68 -0
- package/dist/chunks/Navigation.map +1 -0
- package/dist/chunks/NavigationScrollContainer +32 -0
- package/dist/chunks/NavigationScrollContainer.map +1 -0
- package/dist/chunks/NavigationSection +10 -0
- package/dist/chunks/NavigationSection.map +1 -0
- package/dist/chunks/NavigationSectionLabel +12 -0
- package/dist/chunks/NavigationSectionLabel.map +1 -0
- package/dist/chunks/NavigationState +69 -0
- package/dist/chunks/NavigationState.map +1 -0
- package/dist/chunks/Popover +3 -3
- package/dist/chunks/Radio +13 -13
- package/dist/chunks/SearchField +10 -10
- package/dist/chunks/SelectTrigger +12 -12
- package/dist/chunks/SideSheet +50 -37
- package/dist/chunks/SideSheet.map +1 -1
- package/dist/chunks/SideSheetModal +6 -6
- package/dist/chunks/Slider +13 -13
- package/dist/chunks/SliderOutput +7 -7
- package/dist/chunks/SliderStops +9 -9
- package/dist/chunks/SliderThumb +5 -5
- package/dist/chunks/Snackbar +23 -23
- package/dist/chunks/SplitButton +20 -21
- package/dist/chunks/SplitButton.map +1 -1
- package/dist/chunks/SplitButtonTrigger +28 -28
- package/dist/chunks/SplitButtonTrigger.map +1 -1
- package/dist/chunks/Switch +21 -21
- package/dist/chunks/Switch.map +1 -1
- package/dist/chunks/Tab +12 -12
- package/dist/chunks/TabList +3 -3
- package/dist/chunks/TabPanel +3 -3
- package/dist/chunks/TabPanels +3 -3
- package/dist/chunks/Tabs +3 -3
- package/dist/chunks/Tag +18 -18
- package/dist/chunks/Tag.map +1 -1
- package/dist/chunks/ThemeSelector +42 -42
- package/dist/chunks/Toolbar +6 -6
- package/dist/chunks/Tooltip +3 -3
- package/dist/chunks/core +39 -39
- package/dist/chunks/core.map +1 -1
- package/dist/chunks/core2 +8 -8
- package/dist/chunks/core2.map +1 -1
- package/dist/chunks/core3 +3 -3
- package/dist/chunks/core8 +18 -0
- package/dist/chunks/core8.map +1 -0
- package/dist/chunks/core9 +6 -0
- package/dist/chunks/core9.map +1 -0
- package/dist/chunks/navContext +12 -0
- package/dist/chunks/navContext.map +1 -0
- package/dist/chunks/useSplash +7 -7
- package/dist/components/AppBar/AppBar/index.js +2 -0
- package/dist/components/AppBar/AppBarAction/index.js +12 -0
- package/dist/components/AppBar/AppBarAction/index.js.map +1 -0
- package/dist/components/AppBar/AppBarAvatar/index.js +2 -0
- package/dist/components/AppBar/AppBarHeadline/index.js +2 -0
- package/dist/components/AppBar/AppBarState/index.js +17 -0
- package/dist/components/AppBar/AppBarState/index.js.map +1 -0
- package/dist/components/AppBar/core/index.js +24 -0
- package/dist/components/AppBar/core/index.js.map +1 -0
- package/dist/components/AppBar/index.js +7 -0
- package/dist/components/Button/Button/index.js +16 -16
- package/dist/components/Button/IconButton/index.js +12 -12
- package/dist/components/Button/LinkButton/index.js +16 -16
- package/dist/components/Button/LinkIconButton/index.js +12 -12
- package/dist/components/Button/SplitButton/SplitButtonPrimary/index.js +32 -32
- package/dist/components/Button/SplitButton/SplitButtonPrimary/index.js.map +1 -1
- package/dist/components/Button/ToggleButton/index.js +17 -17
- package/dist/components/Button/ToggleIconButton/index.js +15 -15
- package/dist/components/Calendar/Calendar/index.js +4 -4
- package/dist/components/Calendar/CalendarMonthMenu/index.js +10 -10
- package/dist/components/Calendar/CalendarYearMenu/index.js +7 -7
- package/dist/components/Calendar/RangeCalendar/index.js +4 -4
- package/dist/components/Dialog/core/index.js +9 -2
- package/dist/components/Dialog/core/index.js.map +1 -1
- package/dist/components/Dialog/index.js +6 -6
- package/dist/components/Input/DateField/index.js +9 -9
- package/dist/components/Input/DatePicker/DatePicker/index.js +15 -15
- package/dist/components/Input/DatePicker/DateRangePicker/index.js +19 -19
- package/dist/components/Input/Description/index.js +3 -3
- package/dist/components/Input/Label/index.js +3 -3
- package/dist/components/Input/Select/Select/index.js +8 -8
- package/dist/components/Input/Select/SelectItem/index.js +18 -18
- package/dist/components/Input/Select/SelectList/index.js +3 -3
- package/dist/components/Input/Select/SelectListSection/index.js +3 -3
- package/dist/components/Input/Select/SelectListSectionHeader/index.js +3 -3
- package/dist/components/Input/Slider/RangeSlider/index.js +13 -13
- package/dist/components/Input/TextArea/index.js +11 -11
- package/dist/components/Input/TimeField/index.js +9 -9
- package/dist/components/Menu/Menu/index.js +4 -4
- package/dist/components/Menu/MenuItem/index.js +19 -19
- package/dist/components/Menu/MenuSection/index.js +3 -3
- package/dist/components/Menu/MenuSectionHeader/index.js +3 -3
- package/dist/components/Menu/MenuTrigger/index.js +4 -4
- package/dist/components/Navigation/Navigation/index.js +3 -0
- package/dist/components/Navigation/NavigationItem/NavigationButton/index.js +27 -0
- package/dist/components/Navigation/NavigationItem/NavigationButton/index.js.map +1 -0
- package/dist/components/Navigation/NavigationItem/NavigationItemIconRenderer/index.js +12 -0
- package/dist/components/Navigation/NavigationItem/NavigationItemIconRenderer/index.js.map +1 -0
- package/dist/components/Navigation/NavigationItem/NavigationLink/index.js +25 -0
- package/dist/components/Navigation/NavigationItem/NavigationLink/index.js.map +1 -0
- package/dist/components/Navigation/NavigationItem/core/index.js +2 -0
- package/dist/components/Navigation/NavigationItem/index.js +3 -0
- package/dist/components/Navigation/NavigationScrollContainer/index.js +2 -0
- package/dist/components/Navigation/NavigationSection/NavigationSection/index.js +2 -0
- package/dist/components/Navigation/NavigationSection/NavigationSectionLabel/index.js +2 -0
- package/dist/components/Navigation/NavigationSection/index.js +3 -0
- package/dist/components/Navigation/NavigationState/index.js +2 -0
- package/dist/components/Navigation/SubNavigation/SubNavigation/index.js +63 -0
- package/dist/components/Navigation/SubNavigation/SubNavigation/index.js.map +1 -0
- package/dist/components/Navigation/SubNavigation/SubNavigationTrigger/index.js +34 -0
- package/dist/components/Navigation/SubNavigation/SubNavigationTrigger/index.js.map +1 -0
- package/dist/components/Navigation/SubNavigation/index.js +3 -0
- package/dist/components/Navigation/core/index.js +2 -0
- package/dist/components/Navigation/index.js +10 -0
- package/dist/components/Sheets/SideSheet/index.js +2 -2
- package/dist/components/Sheets/index.js +2 -2
- package/dist/components/Tooltip/RichTooltip/RichTooltipInfo/RichTooltipSubhead/index.js +3 -3
- package/dist/components/Tooltip/RichTooltip/RichTooltipInfo/RichTooltipText/index.js +3 -3
- package/dist/components/Tooltip/TooltipTrigger/index.js +3 -3
- package/dist/index.js +122 -107
- package/dist/index.js.map +1 -1
- package/dist/src/components/AppBar/AppBar/AppBar.d.ts +2 -0
- package/dist/src/components/AppBar/AppBar/index.d.ts +2 -0
- package/dist/src/components/AppBar/AppBar/types.d.ts +9 -0
- package/dist/src/components/AppBar/AppBarAction/AppBarAction.d.ts +2 -0
- package/dist/src/components/AppBar/AppBarAction/index.d.ts +1 -0
- package/dist/src/components/AppBar/AppBarAvatar/AppBarAvatar.d.ts +2 -0
- package/dist/src/components/AppBar/AppBarAvatar/index.d.ts +1 -0
- package/dist/src/components/AppBar/AppBarHeadline/AppBarHeadline.d.ts +2 -0
- package/dist/src/components/AppBar/AppBarHeadline/index.d.ts +1 -0
- package/dist/src/components/AppBar/AppBarState/AppBarState.d.ts +5 -0
- package/dist/src/components/AppBar/AppBarState/context.d.ts +5 -0
- package/dist/src/components/AppBar/AppBarState/index.d.ts +2 -0
- package/dist/src/components/AppBar/core/alignment.d.ts +1 -0
- package/dist/src/components/AppBar/core/context.d.ts +10 -0
- package/dist/src/components/AppBar/core/index.d.ts +3 -0
- package/dist/src/components/AppBar/core/size.d.ts +3 -0
- package/dist/src/components/AppBar/index.d.ts +6 -0
- package/dist/src/components/Dialog/core/context.d.ts +2 -0
- package/dist/src/components/Dialog/core/index.d.ts +1 -0
- package/dist/src/components/Input/Switch/types.d.ts +3 -0
- package/dist/src/components/Navigation/Navigation/Navigation.d.ts +2 -0
- package/dist/src/components/Navigation/Navigation/index.d.ts +4 -0
- package/dist/src/components/Navigation/Navigation/navContext.d.ts +7 -0
- package/dist/src/components/Navigation/Navigation/navRenderingContext.d.ts +5 -0
- package/dist/src/components/Navigation/Navigation/types.d.ts +10 -0
- package/dist/src/components/Navigation/NavigationItem/NavigationButton/NavigationButton.d.ts +2 -0
- package/dist/src/components/Navigation/NavigationItem/NavigationButton/index.d.ts +2 -0
- package/dist/src/components/Navigation/NavigationItem/NavigationButton/types.d.ts +7 -0
- package/dist/src/components/Navigation/NavigationItem/NavigationItemIconRenderer/NavigationItemIconRenderer.d.ts +6 -0
- package/dist/src/components/Navigation/NavigationItem/NavigationItemIconRenderer/index.d.ts +1 -0
- package/dist/src/components/Navigation/NavigationItem/NavigationLink/NavigationLink.d.ts +2 -0
- package/dist/src/components/Navigation/NavigationItem/NavigationLink/index.d.ts +2 -0
- package/dist/src/components/Navigation/NavigationItem/NavigationLink/types.d.ts +4 -0
- package/dist/src/components/Navigation/NavigationItem/core/index.d.ts +1 -0
- package/dist/src/components/Navigation/NavigationItem/core/navigationItem.d.ts +10 -0
- package/dist/src/components/Navigation/NavigationItem/index.d.ts +2 -0
- package/dist/src/components/Navigation/NavigationScrollContainer/NavigationScrollContainer.d.ts +1 -0
- package/dist/src/components/Navigation/NavigationScrollContainer/index.d.ts +1 -0
- package/dist/src/components/Navigation/NavigationSection/NavigationSection/NavigationSection.d.ts +1 -0
- package/dist/src/components/Navigation/NavigationSection/NavigationSection/index.d.ts +1 -0
- package/dist/src/components/Navigation/NavigationSection/NavigationSectionLabel/NavigationSectionLabel.d.ts +2 -0
- package/dist/src/components/Navigation/NavigationSection/NavigationSectionLabel/index.d.ts +1 -0
- package/dist/src/components/Navigation/NavigationSection/index.d.ts +2 -0
- package/dist/src/components/Navigation/NavigationState/NavigationState.d.ts +4 -0
- package/dist/src/components/Navigation/NavigationState/context.d.ts +10 -0
- package/dist/src/components/Navigation/NavigationState/index.d.ts +2 -0
- package/dist/src/components/Navigation/NavigationState/types.d.ts +5 -0
- package/dist/src/components/Navigation/SubNavigation/SubNavigation/SubNavigation.d.ts +4 -0
- package/dist/src/components/Navigation/SubNavigation/SubNavigation/index.d.ts +1 -0
- package/dist/src/components/Navigation/SubNavigation/SubNavigationTrigger/SubNavigationTrigger.d.ts +6 -0
- package/dist/src/components/Navigation/SubNavigation/SubNavigationTrigger/index.d.ts +1 -0
- package/dist/src/components/Navigation/SubNavigation/index.d.ts +2 -0
- package/dist/src/components/Navigation/core/index.d.ts +3 -0
- package/dist/src/components/Navigation/core/navLabelContext.d.ts +3 -0
- package/dist/src/components/Navigation/core/navigation.d.ts +3 -0
- package/dist/src/components/Navigation/core/navigationInfo.d.ts +6 -0
- package/dist/src/components/Navigation/index.d.ts +5 -0
- package/dist/src/components/Sheets/SideSheet/SideSheetDialog.d.ts +2 -0
- package/dist/src/components/Sheets/SideSheet/index.d.ts +1 -0
- package/dist/src/components/Sheets/SideSheet/types.d.ts +2 -0
- package/dist/src/index.d.ts +2 -0
- package/dist/src/utils/index.d.ts +1 -0
- package/dist/src/utils/scroll/index.d.ts +1 -0
- package/dist/src/utils/scroll/scroll.d.ts +10 -0
- package/package.json +1 -2
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
import { t as e } from "../../../chunks/
|
|
2
|
-
import {
|
|
3
|
-
import { t as r } from "../../../chunks/
|
|
1
|
+
import { t as e } from "../../../chunks/base";
|
|
2
|
+
import { t } from "../../../chunks/Icon";
|
|
3
|
+
import { n, t as r } from "../../../chunks/useSplash";
|
|
4
4
|
import { f as i, n as a, p as o, r as s, t as c } from "../../../chunks/core6";
|
|
5
5
|
import l from "clsx";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
6
|
+
import { Fragment as u, jsx as d, jsxs as f } from "react/jsx-runtime";
|
|
7
|
+
import { MenuItem as p } from "react-aria-components";
|
|
8
8
|
import { Check as m, ChevronRight as h } from "lucide-react";
|
|
9
9
|
//#region src/components/Menu/MenuItem/MenuItem.tsx
|
|
10
10
|
var g = ({ leadingIcon: g, label: _, supportingText: v, trailingText: y, trailingIcon: b, className: x, onPress: S, ...C }) => {
|
|
11
|
-
let { splashInfo: w, handlePress: T } =
|
|
12
|
-
return /* @__PURE__ */
|
|
11
|
+
let { splashInfo: w, handlePress: T } = r(S);
|
|
12
|
+
return /* @__PURE__ */ d(p, {
|
|
13
13
|
className: (e) => l(i, a, typeof x == "function" ? x(e) : x),
|
|
14
14
|
onPress: T,
|
|
15
15
|
...C,
|
|
16
16
|
"data-multi-line": v ? !0 : void 0,
|
|
17
|
-
children: ({ hasSubmenu:
|
|
18
|
-
w && /* @__PURE__ */
|
|
19
|
-
/* @__PURE__ */
|
|
17
|
+
children: ({ hasSubmenu: r, isSelected: i }) => /* @__PURE__ */ f(u, { children: [
|
|
18
|
+
w && /* @__PURE__ */ d(n, { ...w }),
|
|
19
|
+
/* @__PURE__ */ f("div", {
|
|
20
20
|
className: l(c),
|
|
21
|
-
children: [i ? /* @__PURE__ */
|
|
21
|
+
children: [i ? /* @__PURE__ */ d(t, {
|
|
22
22
|
icon: m,
|
|
23
23
|
size: 20
|
|
24
|
-
}) : g && /* @__PURE__ */
|
|
24
|
+
}) : g && /* @__PURE__ */ d(t, {
|
|
25
25
|
icon: g,
|
|
26
26
|
size: 20
|
|
27
|
-
}), /* @__PURE__ */
|
|
27
|
+
}), /* @__PURE__ */ f("div", { children: [/* @__PURE__ */ d("p", {
|
|
28
28
|
slot: "label",
|
|
29
|
-
className: l(
|
|
29
|
+
className: l(e.labelLarge, o),
|
|
30
30
|
children: _
|
|
31
|
-
}), v && /* @__PURE__ */
|
|
31
|
+
}), v && /* @__PURE__ */ d("p", {
|
|
32
32
|
slot: "description",
|
|
33
|
-
className: l(
|
|
33
|
+
className: l(e.bodySmall),
|
|
34
34
|
children: v
|
|
35
35
|
})] })]
|
|
36
36
|
}),
|
|
37
|
-
/* @__PURE__ */
|
|
37
|
+
/* @__PURE__ */ f("div", {
|
|
38
38
|
className: l(s),
|
|
39
|
-
children: [y && y,
|
|
39
|
+
children: [y && y, r ? /* @__PURE__ */ d(t, {
|
|
40
40
|
icon: h,
|
|
41
41
|
size: 20
|
|
42
|
-
}) : b && /* @__PURE__ */
|
|
42
|
+
}) : b && /* @__PURE__ */ d(t, {
|
|
43
43
|
icon: b,
|
|
44
44
|
size: 20
|
|
45
45
|
})]
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { a as e } from "../../../chunks/core6";
|
|
2
2
|
import t from "clsx";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
4
|
+
import { MenuSection as r } from "react-aria-components";
|
|
5
5
|
//#region src/components/Menu/MenuSection/MenuSection.tsx
|
|
6
|
-
var i = ({ className: i, ...a }) => /* @__PURE__ */ r
|
|
6
|
+
var i = ({ className: i, ...a }) => /* @__PURE__ */ n(r, {
|
|
7
7
|
className: t(e, i),
|
|
8
8
|
...a,
|
|
9
9
|
"data-menu-section": !0
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as e } from "../../../chunks/base";
|
|
2
2
|
import { i as t } from "../../../chunks/core6";
|
|
3
3
|
import n from "clsx";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
5
|
+
import { Header as i } from "react-aria-components";
|
|
6
6
|
//#region src/components/Menu/MenuSectionHeader/MenuSectionHeader.tsx
|
|
7
|
-
var a = ({ className: a, ...o }) => /* @__PURE__ */ i
|
|
7
|
+
var a = ({ className: a, ...o }) => /* @__PURE__ */ r(i, {
|
|
8
8
|
className: n(e.labelLarge, t, a),
|
|
9
9
|
...o
|
|
10
10
|
});
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { MenuConfigContext as e } from "../context/index.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
3
|
+
import { MenuTrigger as n } from "react-aria-components";
|
|
4
4
|
//#region src/components/Menu/MenuTrigger/MenuTrigger.tsx
|
|
5
|
-
var r = ({ color: r, layout: i, ...a }) => /* @__PURE__ */
|
|
5
|
+
var r = ({ color: r, layout: i, ...a }) => /* @__PURE__ */ t(e, {
|
|
6
6
|
value: {
|
|
7
7
|
color: r,
|
|
8
8
|
layout: i
|
|
9
9
|
},
|
|
10
|
-
children: /* @__PURE__ */ n
|
|
10
|
+
children: /* @__PURE__ */ t(n, { ...a })
|
|
11
11
|
});
|
|
12
12
|
//#endregion
|
|
13
13
|
export { r as MenuTrigger };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { t as e } from "../../../../chunks/core8";
|
|
2
|
+
import { n as t } from "../../../../chunks/navContext";
|
|
3
|
+
import { n, t as r } from "../../../../chunks/core9";
|
|
4
|
+
import { NavigationItemIconRenderer as i } from "../NavigationItemIconRenderer/index.js";
|
|
5
|
+
import { clsx as a } from "clsx";
|
|
6
|
+
import { useContext as o } from "react";
|
|
7
|
+
import { jsx as s, jsxs as c } from "react/jsx-runtime";
|
|
8
|
+
import { Button as l } from "react-aria-components";
|
|
9
|
+
//#region src/components/Navigation/NavigationItem/NavigationButton/NavigationButton.tsx
|
|
10
|
+
var u = ({ className: u, icon: d, activeIcon: f, label: p, prefix: m, isActive: h, ...g }) => {
|
|
11
|
+
let { isButtonActive: _ } = t(), v = h ?? _?.(m), y = o(e), b = p ?? y;
|
|
12
|
+
return /* @__PURE__ */ c(l, {
|
|
13
|
+
className: (e) => a(n, r, typeof u == "function" ? u(e) : u),
|
|
14
|
+
...g,
|
|
15
|
+
slot: "open",
|
|
16
|
+
"data-active": v || void 0,
|
|
17
|
+
children: [/* @__PURE__ */ s(i, {
|
|
18
|
+
icon: d,
|
|
19
|
+
activeIcon: f,
|
|
20
|
+
isActive: v
|
|
21
|
+
}), b]
|
|
22
|
+
});
|
|
23
|
+
};
|
|
24
|
+
//#endregion
|
|
25
|
+
export { u as NavigationButton };
|
|
26
|
+
|
|
27
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../../../../src/components/Navigation/NavigationItem/NavigationButton/NavigationButton.tsx"],"sourcesContent":["import { clsx } from \"clsx\";\nimport { useContext } from \"react\";\nimport { Button } from \"react-aria-components\";\nimport { NavLabelContext } from \"../../core\";\nimport { useNavigationContext } from \"../../Navigation/navContext\";\nimport { NavigationItemLabelTypography, NavigationItemStyles } from \"../core\";\nimport { NavigationItemIconRenderer } from \"../NavigationItemIconRenderer\";\nimport type { NavigationButtonProps } from \"./types\";\n\nexport const NavigationButton: React.FC<NavigationButtonProps> = ({\n className,\n icon,\n activeIcon,\n label,\n prefix,\n isActive,\n ...props\n}) => {\n const { isButtonActive } = useNavigationContext();\n const buttonActive = isActive ?? isButtonActive?.(prefix);\n\n const triggerLabel = useContext(NavLabelContext);\n const buttonLabel = label ?? triggerLabel;\n\n return (\n <Button\n className={(renderProps) =>\n clsx(\n NavigationItemStyles,\n NavigationItemLabelTypography,\n typeof className === \"function\"\n ? className(renderProps)\n : className\n )\n }\n {...props}\n slot=\"open\"\n data-active={buttonActive || undefined}\n >\n <NavigationItemIconRenderer\n icon={icon}\n activeIcon={activeIcon}\n isActive={buttonActive}\n />\n {buttonLabel}\n </Button>\n );\n};\n"],"mappings":";;;;;;;;;AASA,IAAa,KAAqD,EAC9D,cACA,SACA,eACA,UACA,WACA,aACA,GAAG,QACD;CACF,IAAM,EAAE,sBAAmB,EAAqB,GAC1C,IAAe,KAAY,IAAiB,CAAM,GAElD,IAAe,EAAW,CAAe,GACzC,IAAc,KAAS;CAE7B,OACI,kBAAC,GAAD;EACI,YAAY,MACR,EACI,GACA,GACA,OAAO,KAAc,aACf,EAAU,CAAW,IACrB,CACV;EAEJ,GAAI;EACJ,MAAK;EACL,eAAa,KAAgB,KAAA;YAZjC,CAcI,kBAAC,GAAD;GACU;GACM;GACZ,UAAU;EACb,CAAA,GACA,CACG;;AAEhB"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { t as e } from "../../../../chunks/Icon";
|
|
2
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
3
|
+
//#region src/components/Navigation/NavigationItem/NavigationItemIconRenderer/NavigationItemIconRenderer.tsx
|
|
4
|
+
var n = ({ icon: n }) => /* @__PURE__ */ t(e, {
|
|
5
|
+
icon: n,
|
|
6
|
+
size: 24,
|
|
7
|
+
"data-nav-icon": !0
|
|
8
|
+
}), r = ({ icon: e, activeIcon: r, isActive: i }) => i && r ? /* @__PURE__ */ t(n, { icon: r }) : e ? /* @__PURE__ */ t(n, { icon: e }) : null;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { r as NavigationItemIconRenderer };
|
|
11
|
+
|
|
12
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../../../../src/components/Navigation/NavigationItem/NavigationItemIconRenderer/NavigationItemIconRenderer.tsx"],"sourcesContent":["import type { LucideIcon } from \"lucide-react\";\nimport { Icon } from \"@/components/Icon\";\n\nconst IconRenderer: React.FC<{ icon: LucideIcon }> = ({ icon }) => {\n return <Icon icon={icon} size={24} data-nav-icon />;\n};\n\nexport const NavigationItemIconRenderer: React.FC<{\n icon?: LucideIcon;\n activeIcon?: LucideIcon;\n isActive?: boolean;\n}> = ({ icon, activeIcon, isActive }) => {\n if (isActive) {\n if (activeIcon) return <IconRenderer icon={activeIcon} />;\n if (icon) return <IconRenderer icon={icon} />;\n\n return null;\n }\n\n if (icon) return <IconRenderer icon={icon} />;\n return null;\n};\n"],"mappings":";;;AAGA,IAAM,KAAgD,EAAE,cAC7C,kBAAC,GAAD;CAAY;CAAM,MAAM;CAAI,iBAAA;AAAe,CAAA,GAGzC,KAIP,EAAE,SAAM,eAAY,kBAClB,KACI,IAAmB,kBAAC,GAAD,EAAc,MAAM,EAAa,CAAA,IACpD,IAAa,kBAAC,GAAD,EAAoB,QAAO,CAAA,IAErC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { n as e } from "../../../../chunks/navContext";
|
|
2
|
+
import { n as t, t as n } from "../../../../chunks/core9";
|
|
3
|
+
import { NavigationItemIconRenderer as r } from "../NavigationItemIconRenderer/index.js";
|
|
4
|
+
import i from "clsx";
|
|
5
|
+
import { jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
6
|
+
import { Link as s } from "react-aria-components";
|
|
7
|
+
//#region src/components/Navigation/NavigationItem/NavigationLink/NavigationLink.tsx
|
|
8
|
+
var c = ({ className: c, icon: l, activeIcon: u, label: d, href: f, isActive: p, ...m }) => {
|
|
9
|
+
let { isLinkActive: h } = e(), g = p ?? h?.(f);
|
|
10
|
+
return /* @__PURE__ */ o(s, {
|
|
11
|
+
className: (e) => i(t, n, typeof c == "function" ? c(e) : c),
|
|
12
|
+
href: f,
|
|
13
|
+
...m,
|
|
14
|
+
"data-active": g || void 0,
|
|
15
|
+
children: [/* @__PURE__ */ a(r, {
|
|
16
|
+
icon: l,
|
|
17
|
+
activeIcon: u,
|
|
18
|
+
isActive: g
|
|
19
|
+
}), d]
|
|
20
|
+
});
|
|
21
|
+
};
|
|
22
|
+
//#endregion
|
|
23
|
+
export { c as NavigationLink };
|
|
24
|
+
|
|
25
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../../../../src/components/Navigation/NavigationItem/NavigationLink/NavigationLink.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport { Link } from \"react-aria-components\";\nimport { useNavigationContext } from \"../../Navigation/navContext\";\nimport { NavigationItemLabelTypography, NavigationItemStyles } from \"../core\";\nimport { NavigationItemIconRenderer } from \"../NavigationItemIconRenderer\";\nimport type { NavigationLinkProps } from \"./types\";\n\nexport const NavigationLink: React.FC<NavigationLinkProps> = ({\n className,\n icon,\n activeIcon,\n label,\n href,\n isActive,\n ...props\n}) => {\n const { isLinkActive } = useNavigationContext();\n const linkActive = isActive ?? isLinkActive?.(href);\n\n return (\n <Link\n className={(renderProps) =>\n clsx(\n NavigationItemStyles,\n NavigationItemLabelTypography,\n typeof className === \"function\"\n ? className(renderProps)\n : className\n )\n }\n href={href}\n {...props}\n data-active={linkActive || undefined}\n >\n <NavigationItemIconRenderer\n icon={icon}\n activeIcon={activeIcon}\n isActive={linkActive}\n />\n {label}\n </Link>\n );\n};\n"],"mappings":";;;;;;;AAOA,IAAa,KAAiD,EAC1D,cACA,SACA,eACA,UACA,SACA,aACA,GAAG,QACD;CACF,IAAM,EAAE,oBAAiB,EAAqB,GACxC,IAAa,KAAY,IAAe,CAAI;CAElD,OACI,kBAAC,GAAD;EACI,YAAY,MACR,EACI,GACA,GACA,OAAO,KAAc,aACf,EAAU,CAAW,IACrB,CACV;EAEE;EACN,GAAI;EACJ,eAAa,KAAc,KAAA;YAZ/B,CAcI,kBAAC,GAAD;GACU;GACM;GACZ,UAAU;EACb,CAAA,GACA,CACC;;AAEd"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { r as e } from "../../../../chunks/NavigationState";
|
|
2
|
+
import { t } from "../../../../chunks/base";
|
|
3
|
+
import { IconButton as n } from "../../../Button/IconButton/index.js";
|
|
4
|
+
import { useInDialog as r } from "../../../Dialog/core/index.js";
|
|
5
|
+
import { a as i, o as a, r as o, t as s } from "../../../../chunks/core8";
|
|
6
|
+
import { t as c } from "../../../../chunks/NavigationScrollContainer";
|
|
7
|
+
import { r as l } from "../../../../chunks/Navigation";
|
|
8
|
+
import u from "clsx";
|
|
9
|
+
import { useContext as d } from "react";
|
|
10
|
+
import { jsx as f, jsxs as p } from "react/jsx-runtime";
|
|
11
|
+
import { Header as m, Heading as h } from "react-aria-components";
|
|
12
|
+
import { ArrowLeft as g } from "lucide-react";
|
|
13
|
+
import { FocusScope as _, useObjectRef as v } from "react-aria";
|
|
14
|
+
import { Transition as y } from "react-transition-group";
|
|
15
|
+
import { createPortal as b } from "react-dom";
|
|
16
|
+
//#region src/components/Navigation/SubNavigation/SubNavigation/SubNavigation.tsx
|
|
17
|
+
var x = ({ className: x, label: S, children: C, inert: w, ref: T, style: E, ...D }) => {
|
|
18
|
+
let O = v(T), k = r(), { id: A, depth: j } = o(), { isInert: M, isSubNavigationOpen: N } = e(), { container: P } = l(), F = d(s), I = S ?? F;
|
|
19
|
+
return P === null ? null : b(/* @__PURE__ */ f(y, {
|
|
20
|
+
nodeRef: O,
|
|
21
|
+
timeout: {
|
|
22
|
+
enter: 0,
|
|
23
|
+
exit: 150
|
|
24
|
+
},
|
|
25
|
+
in: N(A),
|
|
26
|
+
mountOnEnter: !0,
|
|
27
|
+
unmountOnExit: !0,
|
|
28
|
+
children: (e) => /* @__PURE__ */ f(_, {
|
|
29
|
+
restoreFocus: !0,
|
|
30
|
+
children: /* @__PURE__ */ p("nav", {
|
|
31
|
+
ref: O,
|
|
32
|
+
className: u(i, x),
|
|
33
|
+
...D,
|
|
34
|
+
style: {
|
|
35
|
+
...E,
|
|
36
|
+
zIndex: j + 1
|
|
37
|
+
},
|
|
38
|
+
inert: w ?? M(j),
|
|
39
|
+
"data-header": !0,
|
|
40
|
+
"data-status": e,
|
|
41
|
+
"data-sub-nav": !0,
|
|
42
|
+
"data-modal": k || void 0,
|
|
43
|
+
children: [/* @__PURE__ */ p(m, {
|
|
44
|
+
className: u(a),
|
|
45
|
+
children: [/* @__PURE__ */ f(n, {
|
|
46
|
+
icon: g,
|
|
47
|
+
color: "standard",
|
|
48
|
+
slot: "close",
|
|
49
|
+
"data-close-button": !0
|
|
50
|
+
}), I && /* @__PURE__ */ f(h, {
|
|
51
|
+
className: u(t.titleLarge),
|
|
52
|
+
"data-heading": !0,
|
|
53
|
+
children: I
|
|
54
|
+
})]
|
|
55
|
+
}), /* @__PURE__ */ f(c, { children: C })]
|
|
56
|
+
})
|
|
57
|
+
})
|
|
58
|
+
}), P);
|
|
59
|
+
};
|
|
60
|
+
//#endregion
|
|
61
|
+
export { x as SubNavigation };
|
|
62
|
+
|
|
63
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../../../../src/components/Navigation/SubNavigation/SubNavigation/SubNavigation.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport { ArrowLeft } from \"lucide-react\";\nimport { type ReactNode, useContext } from \"react\";\nimport { FocusScope, useObjectRef } from \"react-aria\";\nimport { Header, Heading } from \"react-aria-components\";\nimport { createPortal } from \"react-dom\";\nimport { Transition } from \"react-transition-group\";\nimport { IconButton } from \"@/components/Button\";\nimport { useInDialog } from \"@/components/Dialog\";\nimport { typography } from \"@/utils\";\nimport {\n NavigationStyles,\n NavLabelContext,\n SubNavigationHeaderStyles,\n useNavigationInfo,\n} from \"../../core\";\nimport { useNavigationContainer } from \"../../Navigation\";\nimport { NavigationScrollContainer } from \"../../NavigationScrollContainer\";\nimport { useNavigationState } from \"../../NavigationState\";\n\nexport const SubNavigation: React.FC<\n React.ComponentPropsWithRef<\"nav\"> & { label?: ReactNode }\n> = ({ className, label, children, inert, ref, style, ...props }) => {\n const subNavRef = useObjectRef(ref);\n\n const isInModal = useInDialog();\n\n const { id, depth } = useNavigationInfo();\n const { isInert, isSubNavigationOpen } = useNavigationState();\n const { container } = useNavigationContainer();\n\n const triggerLabel = useContext(NavLabelContext);\n const headerLabel = label ?? triggerLabel;\n\n if (container === null) return null;\n\n return createPortal(\n <Transition\n nodeRef={subNavRef}\n timeout={{\n enter: 0,\n exit: 150,\n }}\n in={isSubNavigationOpen(id)}\n mountOnEnter\n unmountOnExit\n >\n {(status) => (\n <FocusScope restoreFocus>\n <nav\n ref={subNavRef}\n className={clsx(NavigationStyles, className)}\n {...props}\n style={{\n ...style,\n zIndex: depth + 1,\n }}\n inert={inert ?? isInert(depth)}\n data-header={true}\n data-status={status}\n data-sub-nav={true}\n data-modal={isInModal || undefined}\n >\n <Header className={clsx(SubNavigationHeaderStyles)}>\n <IconButton\n icon={ArrowLeft}\n color=\"standard\"\n slot=\"close\"\n data-close-button\n />\n\n {headerLabel && (\n <Heading\n className={clsx(typography.titleLarge)}\n data-heading\n >\n {headerLabel}\n </Heading>\n )}\n </Header>\n\n <NavigationScrollContainer>\n {children}\n </NavigationScrollContainer>\n </nav>\n </FocusScope>\n )}\n </Transition>,\n container\n );\n};\n"],"mappings":";;;;;;;;;;;;;;;;AAoBA,IAAa,KAER,EAAE,cAAW,UAAO,aAAU,UAAO,QAAK,UAAO,GAAG,QAAY;CACjE,IAAM,IAAY,EAAa,CAAG,GAE5B,IAAY,EAAY,GAExB,EAAE,OAAI,aAAU,EAAkB,GAClC,EAAE,YAAS,2BAAwB,EAAmB,GACtD,EAAE,iBAAc,EAAuB,GAEvC,IAAe,EAAW,CAAe,GACzC,IAAc,KAAS;CAI7B,OAFI,MAAc,OAAa,OAExB,EACH,kBAAC,GAAD;EACI,SAAS;EACT,SAAS;GACL,OAAO;GACP,MAAM;EACV;EACA,IAAI,EAAoB,CAAE;EAC1B,cAAA;EACA,eAAA;aAEE,MACE,kBAAC,GAAD;GAAY,cAAA;aACR,kBAAC,OAAD;IACI,KAAK;IACL,WAAW,EAAK,GAAkB,CAAS;IAC3C,GAAI;IACJ,OAAO;KACH,GAAG;KACH,QAAQ,IAAQ;IACpB;IACA,OAAO,KAAS,EAAQ,CAAK;IAC7B,eAAa;IACb,eAAa;IACb,gBAAc;IACd,cAAY,KAAa,KAAA;cAZ7B,CAcI,kBAAC,GAAD;KAAQ,WAAW,EAAK,CAAyB;eAAjD,CACI,kBAAC,GAAD;MACI,MAAM;MACN,OAAM;MACN,MAAK;MACL,qBAAA;KACH,CAAA,GAEA,KACG,kBAAC,GAAD;MACI,WAAW,EAAK,EAAW,UAAU;MACrC,gBAAA;gBAEC;KACI,CAAA,CAET;QAER,kBAAC,GAAD,EACK,YACsB,CAAA,CAC1B;;EACG,CAAA;CAER,CAAA,GACZ,CACJ;AACJ"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { r as e } from "../../../../chunks/NavigationState";
|
|
2
|
+
import { n as t, r as n, t as r } from "../../../../chunks/core8";
|
|
3
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
4
|
+
import { ButtonContext as a, DEFAULT_SLOT as o, Provider as s } from "react-aria-components";
|
|
5
|
+
//#region src/components/Navigation/SubNavigation/SubNavigationTrigger/SubNavigationTrigger.tsx
|
|
6
|
+
var c = ({ stateID: c, children: l, label: u }) => {
|
|
7
|
+
let d = n(), { openSubNavigation: f, closeSubNavigation: p, isSubNavigationOpen: m } = e(), h = `${d.id}--${c}`, g = d.depth + 1;
|
|
8
|
+
return /* @__PURE__ */ i(s, {
|
|
9
|
+
values: [
|
|
10
|
+
[r, u],
|
|
11
|
+
[t, {
|
|
12
|
+
id: h,
|
|
13
|
+
depth: g
|
|
14
|
+
}],
|
|
15
|
+
[a, { slots: {
|
|
16
|
+
[o]: {},
|
|
17
|
+
open: {
|
|
18
|
+
onPress: () => {
|
|
19
|
+
f(h, g);
|
|
20
|
+
},
|
|
21
|
+
isPressed: m(h)
|
|
22
|
+
},
|
|
23
|
+
close: { onPress: () => {
|
|
24
|
+
p(h);
|
|
25
|
+
} }
|
|
26
|
+
} }]
|
|
27
|
+
],
|
|
28
|
+
children: l
|
|
29
|
+
});
|
|
30
|
+
};
|
|
31
|
+
//#endregion
|
|
32
|
+
export { c as SubNavigationTrigger };
|
|
33
|
+
|
|
34
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../../../../src/components/Navigation/SubNavigation/SubNavigationTrigger/SubNavigationTrigger.tsx"],"sourcesContent":["import type { ReactNode } from \"react\";\nimport { ButtonContext, DEFAULT_SLOT, Provider } from \"react-aria-components\";\nimport {\n NavigationInfoContext,\n NavLabelContext,\n useNavigationInfo,\n} from \"../../core\";\nimport { useNavigationState } from \"../../NavigationState\";\n\nexport const SubNavigationTrigger: React.FC<{\n stateID: string;\n children?: ReactNode;\n label: ReactNode;\n}> = ({ stateID, children, label }) => {\n const parentInfo = useNavigationInfo();\n const { openSubNavigation, closeSubNavigation, isSubNavigationOpen } =\n useNavigationState();\n\n const subNavID = `${parentInfo.id}--${stateID}`;\n const depth = parentInfo.depth + 1;\n\n return (\n <Provider\n values={[\n [NavLabelContext, label],\n [NavigationInfoContext, { id: subNavID, depth }],\n [\n ButtonContext,\n {\n slots: {\n [DEFAULT_SLOT]: {},\n open: {\n onPress: () => {\n openSubNavigation(subNavID, depth);\n },\n isPressed: isSubNavigationOpen(subNavID),\n },\n close: {\n onPress: () => {\n closeSubNavigation(subNavID);\n },\n },\n },\n },\n ],\n ]}\n >\n {children}\n </Provider>\n );\n};\n"],"mappings":";;;;;AASA,IAAa,KAIP,EAAE,YAAS,aAAU,eAAY;CACnC,IAAM,IAAa,EAAkB,GAC/B,EAAE,sBAAmB,uBAAoB,2BAC3C,EAAmB,GAEjB,IAAW,GAAG,EAAW,GAAG,IAAI,KAChC,IAAQ,EAAW,QAAQ;CAEjC,OACI,kBAAC,GAAD;EACI,QAAQ;GACJ,CAAC,GAAiB,CAAK;GACvB,CAAC,GAAuB;IAAE,IAAI;IAAU;GAAM,CAAC;GAC/C,CACI,GACA,EACI,OAAO;KACF,IAAe,CAAC;IACjB,MAAM;KACF,eAAe;MACX,EAAkB,GAAU,CAAK;KACrC;KACA,WAAW,EAAoB,CAAQ;IAC3C;IACA,OAAO,EACH,eAAe;KACX,EAAmB,CAAQ;IAC/B,EACJ;GACJ,EACJ,CACJ;EACJ;EAEC;CACK,CAAA;AAElB"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { n as e, r as t, t as n } from "../../chunks/NavigationState";
|
|
2
|
+
import { n as r, t as i } from "../../chunks/navContext";
|
|
3
|
+
import { n as a, r as o, t as s } from "../../chunks/Navigation";
|
|
4
|
+
import { NavigationButton as c } from "./NavigationItem/NavigationButton/index.js";
|
|
5
|
+
import { NavigationLink as l } from "./NavigationItem/NavigationLink/index.js";
|
|
6
|
+
import { t as u } from "../../chunks/NavigationSection";
|
|
7
|
+
import { t as d } from "../../chunks/NavigationSectionLabel";
|
|
8
|
+
import { SubNavigation as f } from "./SubNavigation/SubNavigation/index.js";
|
|
9
|
+
import { SubNavigationTrigger as p } from "./SubNavigation/SubNavigationTrigger/index.js";
|
|
10
|
+
export { s as Navigation, c as NavigationButton, i as NavigationContext, l as NavigationLink, a as NavigationRenderingContext, u as NavigationSection, d as NavigationSectionLabel, n as NavigationState, e as NavigationStateContext, f as SubNavigation, p as SubNavigationTrigger, o as useNavigationContainer, r as useNavigationContext, t as useNavigationState };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { n as e, t } from "../../../chunks/SideSheet";
|
|
2
|
+
export { t as SideSheet, e as SideSheetDialog };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as e, t } from "../../chunks/BottomSheetModal";
|
|
2
2
|
import { t as n } from "../../chunks/BottomSheet";
|
|
3
3
|
import { n as r, t as i } from "../../chunks/SideSheetModal";
|
|
4
|
-
import {
|
|
5
|
-
export { n as BottomSheet, e as BottomSheetContext, t as BottomSheetModal,
|
|
4
|
+
import { n as a, t as o } from "../../chunks/SideSheet";
|
|
5
|
+
export { n as BottomSheet, e as BottomSheetContext, t as BottomSheetModal, o as SideSheet, r as SideSheetContext, a as SideSheetDialog, i as SideSheetModal };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as e } from "../../../../../chunks/base";
|
|
2
2
|
import t from "clsx";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
4
|
+
import { Heading as r } from "react-aria-components";
|
|
5
5
|
//#region src/components/Tooltip/RichTooltip/RichTooltipInfo/RichTooltipSubhead/RichTooltipSubhead.tsx
|
|
6
|
-
var i = ({ className: i, ...a }) => /* @__PURE__ */ r
|
|
6
|
+
var i = ({ className: i, ...a }) => /* @__PURE__ */ n(r, {
|
|
7
7
|
className: t(e.titleSmall, i),
|
|
8
8
|
...a
|
|
9
9
|
});
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as e } from "../../../../../chunks/base";
|
|
2
2
|
import t from "clsx";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
4
|
+
import { Text as r } from "react-aria-components";
|
|
5
5
|
//#region src/components/Tooltip/RichTooltip/RichTooltipInfo/RichTooltipText/RichTooltipText.tsx
|
|
6
|
-
var i = ({ className: i, ...a }) => /* @__PURE__ */ r
|
|
6
|
+
var i = ({ className: i, ...a }) => /* @__PURE__ */ n(r, {
|
|
7
7
|
className: t(e.bodyMedium, i),
|
|
8
8
|
...a
|
|
9
9
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { TooltipTrigger as t } from "react-aria-components";
|
|
3
3
|
//#region src/components/Tooltip/TooltipTrigger/TooltipTrigger.tsx
|
|
4
|
-
var n = ({ delay: n = 250, closeDelay: r = 150, ...i }) => /* @__PURE__ */ t
|
|
4
|
+
var n = ({ delay: n = 250, closeDelay: r = 150, ...i }) => /* @__PURE__ */ e(t, {
|
|
5
5
|
delay: n,
|
|
6
6
|
closeDelay: r,
|
|
7
7
|
...i
|