@pelatform/ui 1.5.6 → 1.5.7

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.
@@ -2092,20 +2092,20 @@ function ModeSwitcher({
2092
2092
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
2093
2093
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Monitor, {}),
2094
2094
  " ",
2095
- _nullishCoalesce(withLabel, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: label.system })))
2095
+ withLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: label.system })
2096
2096
  ] });
2097
2097
  }
2098
2098
  if (theme === _chunkI46SELBAcjs.THEME_MODES.DARK) {
2099
2099
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
2100
2100
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Moon, {}),
2101
2101
  " ",
2102
- _nullishCoalesce(withLabel, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: label.dark })))
2102
+ withLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: label.dark })
2103
2103
  ] });
2104
2104
  }
2105
2105
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
2106
2106
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Sun, {}),
2107
2107
  " ",
2108
- _nullishCoalesce(withLabel, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: label.light })))
2108
+ withLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: label.light })
2109
2109
  ] });
2110
2110
  };
2111
2111
  const isActive = (val) => theme === val;
@@ -2092,20 +2092,20 @@ function ModeSwitcher({
2092
2092
  return /* @__PURE__ */ jsxs24(Fragment4, { children: [
2093
2093
  /* @__PURE__ */ jsx36(Monitor, {}),
2094
2094
  " ",
2095
- withLabel ?? /* @__PURE__ */ jsx36("span", { children: label.system })
2095
+ withLabel && /* @__PURE__ */ jsx36("span", { children: label.system })
2096
2096
  ] });
2097
2097
  }
2098
2098
  if (theme === THEME_MODES.DARK) {
2099
2099
  return /* @__PURE__ */ jsxs24(Fragment4, { children: [
2100
2100
  /* @__PURE__ */ jsx36(Moon, {}),
2101
2101
  " ",
2102
- withLabel ?? /* @__PURE__ */ jsx36("span", { children: label.dark })
2102
+ withLabel && /* @__PURE__ */ jsx36("span", { children: label.dark })
2103
2103
  ] });
2104
2104
  }
2105
2105
  return /* @__PURE__ */ jsxs24(Fragment4, { children: [
2106
2106
  /* @__PURE__ */ jsx36(Sun, {}),
2107
2107
  " ",
2108
- withLabel ?? /* @__PURE__ */ jsx36("span", { children: label.light })
2108
+ withLabel && /* @__PURE__ */ jsx36("span", { children: label.light })
2109
2109
  ] });
2110
2110
  };
2111
2111
  const isActive = (val) => theme === val;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pelatform/ui",
3
- "version": "1.5.6",
3
+ "version": "1.5.7",
4
4
  "description": "A Modern and Minimal React UI Library built with TailwindCSS.",
5
5
  "author": "Pelatform Dev",
6
6
  "license": "MIT",