@pnkx-lib/ui 1.5.7 → 1.5.8

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.
@@ -2561,8 +2561,8 @@ const typeColorMap = {
2561
2561
  success: "green",
2562
2562
  warning: "yellow"
2563
2563
  };
2564
- const Badge = ({ type, children, ...rest }) => {
2565
- const color = type ? typeColorMap[type] : void 0;
2564
+ const Badge = ({ type, children, customColor, ...rest }) => {
2565
+ const color = type ? typeColorMap[type] : customColor;
2566
2566
  return /* @__PURE__ */ jsxRuntimeExports.jsx(Badge$1, { color, ...rest, children });
2567
2567
  };
2568
2568
 
@@ -11803,7 +11803,7 @@ const Sidebar = ({ children, menu }) => {
11803
11803
  const handleOpenSubmenu = (itemName) => {
11804
11804
  setOpenSubmenu((prev) => prev === itemName ? null : itemName);
11805
11805
  };
11806
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex relative h-screen gap-8", children: [
11806
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex relative h-full gap-8", children: [
11807
11807
  /* @__PURE__ */ jsxRuntimeExports.jsxs(
11808
11808
  "div",
11809
11809
  {
@@ -12579,4 +12579,4 @@ const ConfirmModal = ({
12579
12579
  };
12580
12580
 
12581
12581
  export { Alert as A, Button as B, CascaderField as C, Dropdown as D, Anchor as E, Flex as F, Appfix as G, Heading as H, AutoComplete as I, PnkxCollapse as J, PnkxColorPicker as K, Layout as L, Modal as M, Empty as N, Image as O, Popover as P, QRCode as Q, Row as R, Skeleton as S, Table as T, BulkAction as U, ConfirmModal as V, Watermark as W, Tooltip as a, Tabs as b, SearchFiltersForm as c, Container as d, Badge as e, Col as f, Breadcrumb as g, Space as h, Splitter as i, Menu as j, Pagination as k, Steps as l, Sidebar as m, Tag as n, Divider as o, Spin as p, Drawer as q, Popconfirm as r, Result as s, typeColorMap as t, Rate as u, Segmented as v, Statistic as w, Timeline as x, Tour as y, Tree as z };
12582
- //# sourceMappingURL=ConfirmModal-fbJXEktP.js.map
12582
+ //# sourceMappingURL=ConfirmModal-BB38ZWjg.js.map