react-better-html 1.1.196 → 1.1.197
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/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +43 -40
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +44 -41
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -8607,7 +8607,7 @@ var TableComponent = forwardRef15(function Table({
|
|
|
8607
8607
|
)
|
|
8608
8608
|
] })
|
|
8609
8609
|
},
|
|
8610
|
-
value.value
|
|
8610
|
+
value.value.toString()
|
|
8611
8611
|
);
|
|
8612
8612
|
}) : /* @__PURE__ */ jsx23(Text_default.unknown, { children: "No values" }) })
|
|
8613
8613
|
] }),
|
|
@@ -9355,7 +9355,7 @@ var Foldable_default = Foldable2;
|
|
|
9355
9355
|
|
|
9356
9356
|
// src/components/SideMenu.tsx
|
|
9357
9357
|
import { memo as memo27, useCallback as useCallback16, useEffect as useEffect15, useMemo as useMemo12 } from "react";
|
|
9358
|
-
import { jsx as jsx27, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
9358
|
+
import { Fragment as Fragment8, jsx as jsx27, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
9359
9359
|
var MenuItemComponent = memo27(function MenuItemComponent2({ item, backgroundColor, onClick }) {
|
|
9360
9360
|
const reactRouterDomPlugin2 = usePlugin("react-router-dom");
|
|
9361
9361
|
if (!reactRouterDomPlugin2) {
|
|
@@ -9512,6 +9512,7 @@ var SideMenuComponent = function SideMenu({
|
|
|
9512
9512
|
widthMobileHandle,
|
|
9513
9513
|
absoluteComponent,
|
|
9514
9514
|
additionalComponent,
|
|
9515
|
+
isLoading,
|
|
9515
9516
|
backgroundColor,
|
|
9516
9517
|
paddingTop
|
|
9517
9518
|
}) {
|
|
@@ -9584,45 +9585,47 @@ var SideMenuComponent = function SideMenu({
|
|
|
9584
9585
|
) }),
|
|
9585
9586
|
withCloseButton && mediaQuery.size1000 && /* @__PURE__ */ jsx27(Button_default.icon, { icon: "XMark", marginLeft: "auto", onClick: onClickXButton })
|
|
9586
9587
|
] }),
|
|
9587
|
-
/* @__PURE__ */
|
|
9588
|
-
|
|
9589
|
-
|
|
9590
|
-
|
|
9591
|
-
|
|
9592
|
-
|
|
9593
|
-
|
|
9594
|
-
|
|
9595
|
-
|
|
9596
|
-
|
|
9597
|
-
|
|
9598
|
-
|
|
9599
|
-
|
|
9600
|
-
|
|
9601
|
-
|
|
9602
|
-
|
|
9603
|
-
|
|
9604
|
-
|
|
9605
|
-
|
|
9606
|
-
|
|
9607
|
-
|
|
9608
|
-
|
|
9609
|
-
|
|
9610
|
-
|
|
9611
|
-
|
|
9612
|
-
|
|
9613
|
-
|
|
9614
|
-
|
|
9615
|
-
|
|
9616
|
-
|
|
9617
|
-
|
|
9618
|
-
|
|
9619
|
-
|
|
9620
|
-
|
|
9621
|
-
|
|
9622
|
-
|
|
9623
|
-
|
|
9624
|
-
|
|
9625
|
-
|
|
9588
|
+
!isLoading ? /* @__PURE__ */ jsxs23(Fragment8, { children: [
|
|
9589
|
+
/* @__PURE__ */ jsx27(
|
|
9590
|
+
Div_default.column,
|
|
9591
|
+
{
|
|
9592
|
+
width: "100%",
|
|
9593
|
+
height: "100%",
|
|
9594
|
+
overflowY: "auto",
|
|
9595
|
+
paddingInline: theme2.styles.space,
|
|
9596
|
+
paddingBottom: !isCollapsable && !readyBottomItems ? theme2.styles.space : void 0,
|
|
9597
|
+
children: /* @__PURE__ */ jsx27(Div_default.column, { gap: theme2.styles.gap / 2, children: readyItems.map((item) => /* @__PURE__ */ jsx27(
|
|
9598
|
+
MenuItemComponent,
|
|
9599
|
+
{
|
|
9600
|
+
item,
|
|
9601
|
+
backgroundColor: readyBackgroundColor,
|
|
9602
|
+
onClick: onClickXButton
|
|
9603
|
+
},
|
|
9604
|
+
item.text
|
|
9605
|
+
)) })
|
|
9606
|
+
}
|
|
9607
|
+
),
|
|
9608
|
+
readyBottomItems && /* @__PURE__ */ jsx27(
|
|
9609
|
+
Div_default.column,
|
|
9610
|
+
{
|
|
9611
|
+
borderTop: mediaQuery.size1000 ? `solid 1px ${theme2.colors.border}` : void 0,
|
|
9612
|
+
gap: theme2.styles.gap / 2,
|
|
9613
|
+
marginTop: "auto",
|
|
9614
|
+
paddingTop: mediaQuery.size1000 ? theme2.styles.space : void 0,
|
|
9615
|
+
paddingInline: theme2.styles.space,
|
|
9616
|
+
paddingBottom: !isCollapsable ? theme2.styles.space : void 0,
|
|
9617
|
+
children: readyBottomItems.map((item) => /* @__PURE__ */ jsx27(
|
|
9618
|
+
MenuItemComponent,
|
|
9619
|
+
{
|
|
9620
|
+
item,
|
|
9621
|
+
backgroundColor: readyBackgroundColor,
|
|
9622
|
+
onClick: onClickXButton
|
|
9623
|
+
},
|
|
9624
|
+
item.text
|
|
9625
|
+
))
|
|
9626
|
+
}
|
|
9627
|
+
)
|
|
9628
|
+
] }) : /* @__PURE__ */ jsx27(Div_default, { flex: 1, children: /* @__PURE__ */ jsx27(Loader_default.box, { text: isCollapsed ? "" : void 0 }) }),
|
|
9626
9629
|
additionalComponent,
|
|
9627
9630
|
isCollapsable && /* @__PURE__ */ jsx27(
|
|
9628
9631
|
Div_default,
|