@krosoft/react 0.0.429 → 0.0.430

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.
@@ -49,7 +49,7 @@ var g = ({ header: g, output: _ }) => {
49
49
  }, e)) })
50
50
  }), /* @__PURE__ */ d(r, { children: e.map((e, n) => /* @__PURE__ */ d(s, { children: t.map((t) => /* @__PURE__ */ d(i, {
51
51
  className: "text-sm whitespace-pre-wrap",
52
- children: p(e[t])
52
+ children: C(e[t])
53
53
  }, t)) }, n)) })] });
54
54
  }
55
55
  if (m(x)) {
@@ -1 +1 @@
1
- {"version":3,"file":"AppVerticalTabs.d.ts","sourceRoot":"","sources":["../../../../src/components/core/tabs/AppVerticalTabs.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAKnD,MAAM,WAAW,oBAAoB,CAAC,CAAC,GAAG,OAAO;IAC/C,IAAI,EAAE,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC;IACrB,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC;CACjB;AAED,eAAO,MAAM,eAAe,GAAI,gBAAgB,oBAAoB,KAAG,KAAK,CAAC,GAAG,CAAC,OAsFhF,CAAC"}
1
+ {"version":3,"file":"AppVerticalTabs.d.ts","sourceRoot":"","sources":["../../../../src/components/core/tabs/AppVerticalTabs.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAKnD,MAAM,WAAW,oBAAoB,CAAC,CAAC,GAAG,OAAO;IAC/C,IAAI,EAAE,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC;IACrB,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC;CACjB;AAED,eAAO,MAAM,eAAe,GAAI,gBAAgB,oBAAoB,KAAG,KAAK,CAAC,GAAG,CAAC,OA0FhF,CAAC"}
@@ -43,7 +43,9 @@ var f = ({ tabs: f, item: p }) => {
43
43
  className: "space-y-1",
44
44
  children: f.map((e, t) => /* @__PURE__ */ c("div", {
45
45
  className: `px-2 py-2 rounded-control text-sm transition-colors flex items-center gap-2 ${e.disabled ? "text-gray-400 cursor-not-allowed opacity-50" : y === e.value ? "crm-color-styled font-medium cursor-pointer" : "text-gray-600 hover:bg-gray-100 dark:text-gray-300 dark:hover:bg-gray-700 cursor-pointer"}`,
46
- onClick: () => !e.disabled && b(e.value),
46
+ onClick: () => {
47
+ e.disabled || b(e.value);
48
+ },
47
49
  children: [
48
50
  e.icon && /* @__PURE__ */ s(e.icon, { className: "size-4" }),
49
51
  /* @__PURE__ */ s("span", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@krosoft/react",
3
- "version": "0.0.429",
3
+ "version": "0.0.430",
4
4
  "description": "Krosoft shared React package",
5
5
  "type": "module",
6
6
  "sideEffects": [