@ixo/ui 0.0.2 → 0.0.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/dist/.vite/manifest.json +31 -31
- package/dist/components/NavigationBar/NavigationBar.d.ts +1 -1
- package/dist/components/NavigationBar/NavigationBar.d.ts.map +1 -1
- package/dist/components/NavigationBar/UserNav.d.ts +3 -3
- package/dist/components/NavigationBar/UserNav.d.ts.map +1 -1
- package/dist/{components-CZzxFRC3.cjs → components-CHw5jEoW.cjs} +15 -14
- package/dist/{components-CZzxFRC3.cjs.map → components-CHw5jEoW.cjs.map} +1 -1
- package/dist/{components-CcLa67E1.js → components-DwhQhLPm.js} +15 -14
- package/dist/{components-CcLa67E1.js.map → components-DwhQhLPm.js.map} +1 -1
- package/dist/export/components.cjs +1 -1
- package/dist/export/components.mjs +1 -1
- package/dist/{index-CZWdbU4E.cjs → index-B6HOechF.cjs} +2 -2
- package/dist/{index-CZWdbU4E.cjs.map → index-B6HOechF.cjs.map} +1 -1
- package/dist/{index-B4pWZMLl.js → index-BBel7Xdj.js} +2 -2
- package/dist/{index-B4pWZMLl.js.map → index-BBel7Xdj.js.map} +1 -1
- package/dist/{index-BYyVXK0P.cjs → index-BGuk50yr.cjs} +2 -2
- package/dist/{index-BYyVXK0P.cjs.map → index-BGuk50yr.cjs.map} +1 -1
- package/dist/{index-BH5NOZ6n.js → index-BIFVgSxH.js} +2 -2
- package/dist/{index-BH5NOZ6n.js.map → index-BIFVgSxH.js.map} +1 -1
- package/dist/{index-BUyivmx_.cjs → index-B_ZmmwEe.cjs} +2 -2
- package/dist/{index-BUyivmx_.cjs.map → index-B_ZmmwEe.cjs.map} +1 -1
- package/dist/{index-BuRdNBuS.js → index-BxPBL9YF.js} +2 -2
- package/dist/{index-BuRdNBuS.js.map → index-BxPBL9YF.js.map} +1 -1
- package/dist/{index-D2C1JXno.cjs → index-CVdy8C9p.cjs} +2 -2
- package/dist/{index-D2C1JXno.cjs.map → index-CVdy8C9p.cjs.map} +1 -1
- package/dist/{index-DjumXADw.js → index-CWXtlI-e.js} +2 -2
- package/dist/{index-DjumXADw.js.map → index-CWXtlI-e.js.map} +1 -1
- package/dist/{index-CJMaNSid.cjs → index-C_KUatu4.cjs} +3 -3
- package/dist/{index-CJMaNSid.cjs.map → index-C_KUatu4.cjs.map} +1 -1
- package/dist/{index-BSNwdPFK.js → index-CcZKqfw0.js} +2 -2
- package/dist/{index-BSNwdPFK.js.map → index-CcZKqfw0.js.map} +1 -1
- package/dist/{index-BOFcwysu.js → index-CmspLyTv.js} +2 -2
- package/dist/{index-BOFcwysu.js.map → index-CmspLyTv.js.map} +1 -1
- package/dist/{index-6y8GG7Bk.js → index-D58mrVim.js} +2 -2
- package/dist/{index-6y8GG7Bk.js.map → index-D58mrVim.js.map} +1 -1
- package/dist/{index-CMsifKvb.js → index-DA1mgDGF.js} +3 -3
- package/dist/{index-CMsifKvb.js.map → index-DA1mgDGF.js.map} +1 -1
- package/dist/{index-BT_QWzeu.js → index-DoQULSJZ.js} +2 -2
- package/dist/{index-BT_QWzeu.js.map → index-DoQULSJZ.js.map} +1 -1
- package/dist/{index-CQzAYKbg.cjs → index-DuQW8UvT.cjs} +2 -2
- package/dist/{index-CQzAYKbg.cjs.map → index-DuQW8UvT.cjs.map} +1 -1
- package/dist/{index-BKMghlTE.cjs → index-DzhUdjUL.cjs} +2 -2
- package/dist/{index-BKMghlTE.cjs.map → index-DzhUdjUL.cjs.map} +1 -1
- package/dist/{index-vZ3HilDD.cjs → index-ENvEnnl-.cjs} +3 -3
- package/dist/{index-vZ3HilDD.cjs.map → index-ENvEnnl-.cjs.map} +1 -1
- package/dist/{index-Cnvoj4ID.cjs → index-VDoa1Q1D.cjs} +2 -2
- package/dist/{index-Cnvoj4ID.cjs.map → index-VDoa1Q1D.cjs.map} +1 -1
- package/dist/{index-DVsDIbAX.cjs → index-VaICO7W_.cjs} +2 -2
- package/dist/{index-DVsDIbAX.cjs.map → index-VaICO7W_.cjs.map} +1 -1
- package/dist/{index-B6fPzqfk.js → index-jDvFGrHn.js} +3 -3
- package/dist/{index-B6fPzqfk.js.map → index-jDvFGrHn.js.map} +1 -1
- package/package.json +1 -1
|
@@ -774,8 +774,8 @@ function AccordionTable({
|
|
|
774
774
|
}
|
|
775
775
|
);
|
|
776
776
|
}
|
|
777
|
-
const Header$3 = lazy(() => import("./index-
|
|
778
|
-
const Footer = lazy(() => import("./index-
|
|
777
|
+
const Header$3 = lazy(() => import("./index-BxPBL9YF.js"));
|
|
778
|
+
const Footer = lazy(() => import("./index-DA1mgDGF.js"));
|
|
779
779
|
function ActionCard({ header, content, footer, useHoverMode = false }) {
|
|
780
780
|
const hasContent = !!content || !!footer;
|
|
781
781
|
const initialVisibility = footer?.startHidden !== true;
|
|
@@ -859,7 +859,7 @@ function Loader({ size, color = "primary" }) {
|
|
|
859
859
|
}
|
|
860
860
|
const CARD_WIDTH$1 = 350;
|
|
861
861
|
const CARD_HEADER_HEIGHT = 158;
|
|
862
|
-
const Header$2 = lazy(() => import("./index-
|
|
862
|
+
const Header$2 = lazy(() => import("./index-BBel7Xdj.js"));
|
|
863
863
|
function Card({ children, className, contentClassName, roundedBottom, noPadding = false, fullWidth = false, header, wrapperSx, onClick }) {
|
|
864
864
|
const wrapperRef = useRef(null);
|
|
865
865
|
const handleOnClick = useCallback(
|
|
@@ -1294,7 +1294,7 @@ function ModalSheet({ isOpen, children, hideHandler, zIndex, onRequestHide, onRe
|
|
|
1294
1294
|
document.body
|
|
1295
1295
|
);
|
|
1296
1296
|
}
|
|
1297
|
-
const Badge = lazy(() => import("./index-
|
|
1297
|
+
const Badge = lazy(() => import("./index-CcZKqfw0.js"));
|
|
1298
1298
|
function ActionSheet({ children, isOpen, header, navMenu = void 0, onRequestHide, onRequestShow }) {
|
|
1299
1299
|
const shadowScrollRef = useRef(null);
|
|
1300
1300
|
const wrapperContentAreaRef = useRef(null);
|
|
@@ -5059,13 +5059,13 @@ function ActionButton({ onClick, left, right }) {
|
|
|
5059
5059
|
}
|
|
5060
5060
|
);
|
|
5061
5061
|
}
|
|
5062
|
-
const MainAction = lazy(() => import("./index-
|
|
5063
|
-
const Header$1 = lazy(() => import("./index-
|
|
5064
|
-
const Content = lazy(() => import("./index-
|
|
5062
|
+
const MainAction = lazy(() => import("./index-DoQULSJZ.js"));
|
|
5063
|
+
const Header$1 = lazy(() => import("./index-CmspLyTv.js"));
|
|
5064
|
+
const Content = lazy(() => import("./index-CWXtlI-e.js"));
|
|
5065
5065
|
const Map = lazy(() => import("./index-D5Ufmf-s.js"));
|
|
5066
5066
|
const CustomContent = lazy(() => import("./index-DsYjW_4y.js"));
|
|
5067
|
-
const Assets = lazy(() => import("./index-
|
|
5068
|
-
const Actions = lazy(() => import("./index-
|
|
5067
|
+
const Assets = lazy(() => import("./index-BIFVgSxH.js"));
|
|
5068
|
+
const Actions = lazy(() => import("./index-jDvFGrHn.js"));
|
|
5069
5069
|
const HOVER_BORDER_WIDTH = 1;
|
|
5070
5070
|
function SodaCardCmp({ numSelected = 0, expanded = true, mainAction, header, content, map, customContent, customFooter, actions, assets, onClick }, ref) {
|
|
5071
5071
|
const wrapperRef = useRef(null);
|
|
@@ -8679,7 +8679,7 @@ function UserNav({ workspaces, user, onWorkspaceChange, onItemHover, onItemLeave
|
|
|
8679
8679
|
const handleItemLeave = useCallback(() => {
|
|
8680
8680
|
onItemLeave?.();
|
|
8681
8681
|
}, [onItemLeave]);
|
|
8682
|
-
const activeWorkspace = workspaces
|
|
8682
|
+
const activeWorkspace = workspaces?.find((w) => w.isActive);
|
|
8683
8683
|
const containerStyle = {
|
|
8684
8684
|
display: "flex",
|
|
8685
8685
|
flexDirection: "column",
|
|
@@ -8702,8 +8702,9 @@ function UserNav({ workspaces, user, onWorkspaceChange, onItemHover, onItemLeave
|
|
|
8702
8702
|
alignItems: "center",
|
|
8703
8703
|
width: "100%"
|
|
8704
8704
|
};
|
|
8705
|
+
if (!workspaces && !user) return null;
|
|
8705
8706
|
return /* @__PURE__ */ jsx("div", { style: containerStyle, "data-user-nav": true, children: /* @__PURE__ */ jsxs("div", { style: contentStyle, children: [
|
|
8706
|
-
activeWorkspace && /* @__PURE__ */ jsx(
|
|
8707
|
+
activeWorkspace && workspaces && workspaces?.length > 0 && /* @__PURE__ */ jsx(
|
|
8707
8708
|
NavigationItem,
|
|
8708
8709
|
{
|
|
8709
8710
|
useImage: activeWorkspace.type === "domain" || activeWorkspace.type === "basic",
|
|
@@ -8718,7 +8719,7 @@ function UserNav({ workspaces, user, onWorkspaceChange, onItemHover, onItemLeave
|
|
|
8718
8719
|
onClick: () => onWorkspaceChange?.(activeWorkspace)
|
|
8719
8720
|
}
|
|
8720
8721
|
),
|
|
8721
|
-
/* @__PURE__ */ jsx(
|
|
8722
|
+
user && /* @__PURE__ */ jsx(
|
|
8722
8723
|
NavigationItem,
|
|
8723
8724
|
{
|
|
8724
8725
|
useImage: true,
|
|
@@ -10336,7 +10337,7 @@ function NavigationBar({
|
|
|
10336
10337
|
onInputBlur: handleModalInputBlur
|
|
10337
10338
|
}
|
|
10338
10339
|
),
|
|
10339
|
-
hoveredItem === "user" && /* @__PURE__ */ jsx(UserModal, { items: userModalItems, position: modalPosition, onMouseEnter: handleModalEnter, onMouseLeave: handleModalLeave })
|
|
10340
|
+
hoveredItem === "user" && user && /* @__PURE__ */ jsx(UserModal, { items: userModalItems, position: modalPosition, onMouseEnter: handleModalEnter, onMouseLeave: handleModalLeave })
|
|
10340
10341
|
] });
|
|
10341
10342
|
}
|
|
10342
10343
|
export {
|
|
@@ -10431,4 +10432,4 @@ export {
|
|
|
10431
10432
|
CardOutput as y,
|
|
10432
10433
|
CardUserFollowUp as z
|
|
10433
10434
|
};
|
|
10434
|
-
//# sourceMappingURL=components-
|
|
10435
|
+
//# sourceMappingURL=components-DwhQhLPm.js.map
|