@gobolt/genesis 0.4.43 → 0.4.44

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.cjs CHANGED
@@ -85792,7 +85792,7 @@ const GroupItem = ({
85792
85792
  onGroupItemClick,
85793
85793
  getCustomIcon
85794
85794
  }) => {
85795
- if (items.length === 0) return null;
85795
+ if (!items || items?.length === 0) return null;
85796
85796
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
85797
85797
  /* @__PURE__ */ jsxRuntime.jsx(Tooltip2, { tip: title, isAbsolutePositioned: false, children: /* @__PURE__ */ jsxRuntime.jsx(
85798
85798
  "div",
@@ -85807,7 +85807,7 @@ const GroupItem = ({
85807
85807
  children: getCustomIcon ? getCustomIcon(title) : getIcon$1(title)
85808
85808
  }
85809
85809
  ) }),
85810
- /* @__PURE__ */ jsxRuntime.jsx("div", { style: { display: "flex", gap: 4 }, children: items.map((item) => /* @__PURE__ */ jsxRuntime.jsx(
85810
+ /* @__PURE__ */ jsxRuntime.jsx("div", { style: { display: "flex", gap: 4 }, children: items?.map((item) => /* @__PURE__ */ jsxRuntime.jsx(
85811
85811
  Badge$1,
85812
85812
  {
85813
85813
  label: item,
package/dist/index.js CHANGED
@@ -85774,7 +85774,7 @@ const GroupItem = ({
85774
85774
  onGroupItemClick,
85775
85775
  getCustomIcon
85776
85776
  }) => {
85777
- if (items.length === 0) return null;
85777
+ if (!items || items?.length === 0) return null;
85778
85778
  return /* @__PURE__ */ jsxs(Fragment, { children: [
85779
85779
  /* @__PURE__ */ jsx(Tooltip2, { tip: title, isAbsolutePositioned: false, children: /* @__PURE__ */ jsx(
85780
85780
  "div",
@@ -85789,7 +85789,7 @@ const GroupItem = ({
85789
85789
  children: getCustomIcon ? getCustomIcon(title) : getIcon$1(title)
85790
85790
  }
85791
85791
  ) }),
85792
- /* @__PURE__ */ jsx("div", { style: { display: "flex", gap: 4 }, children: items.map((item) => /* @__PURE__ */ jsx(
85792
+ /* @__PURE__ */ jsx("div", { style: { display: "flex", gap: 4 }, children: items?.map((item) => /* @__PURE__ */ jsx(
85793
85793
  Badge$1,
85794
85794
  {
85795
85795
  label: item,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gobolt/genesis",
3
- "version": "0.4.43",
3
+ "version": "0.4.44",
4
4
  "description": "genesis design system",
5
5
  "author": "gobolt",
6
6
  "license": "MIT",