@imperosoft/cris-webui-components 1.1.2-beta.14 → 1.1.2-beta.15

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.mjs CHANGED
@@ -1508,22 +1508,31 @@ function MatrixItemRow({
1508
1508
  opacity: isEnabled ? 1 : 0.4
1509
1509
  } : { ...itemStyleProp };
1510
1510
  return /* @__PURE__ */ jsxs7("div", { className: classes, style: computedStyle, children: [
1511
- /* @__PURE__ */ jsx8(
1511
+ useDefaults ? /* @__PURE__ */ jsx8("div", { style: defaults.itemBtn, children: /* @__PURE__ */ jsx8(
1512
1512
  CrisButton,
1513
1513
  {
1514
1514
  selected: isActive,
1515
1515
  enabled: isEnabled,
1516
1516
  onPress: onSelect,
1517
- className: itemClassName ? `cris-co-matrix-item-btn ${itemActiveClassName ?? ""}` : void 0,
1518
- classActive: itemClassName ? itemActiveClassName : void 0,
1519
- children: useDefaults ? /* @__PURE__ */ jsxs7("div", { style: defaults.itemBtnInner, children: [
1517
+ showLocalFeedback: false,
1518
+ children: /* @__PURE__ */ jsxs7("div", { style: defaults.itemBtnInner, children: [
1520
1519
  showChannels && /* @__PURE__ */ jsx8("span", { className: "cris-co-matrix-ch", style: defaults.channelNum, children: item.id }),
1521
1520
  /* @__PURE__ */ jsx8("span", { style: defaults.itemLabel, children: item.lb || `${type === "input" ? "Input" : "Output"} ${item.id}` }),
1522
1521
  /* @__PURE__ */ jsxs7("div", { style: defaults.indicators, children: [
1523
1522
  item.io.vs && (renderIoIndicator ? renderIoIndicator(item.io.on) : /* @__PURE__ */ jsx8(DefaultIoIndicator, { on: item.io.on })),
1524
1523
  item.sg.vs && (renderSignalIndicator ? renderSignalIndicator(item.sg.on) : /* @__PURE__ */ jsx8(DefaultSignalIndicator, { on: item.sg.on }))
1525
1524
  ] })
1526
- ] }) : /* @__PURE__ */ jsxs7("div", { style: { display: "flex", alignItems: "center", gap: "0.4rem", width: "100%" }, children: [
1525
+ ] })
1526
+ }
1527
+ ) }) : /* @__PURE__ */ jsx8(
1528
+ CrisButton,
1529
+ {
1530
+ selected: isActive,
1531
+ enabled: isEnabled,
1532
+ onPress: onSelect,
1533
+ className: `cris-co-matrix-item-btn ${itemActiveClassName ?? ""}`,
1534
+ classActive: itemActiveClassName,
1535
+ children: /* @__PURE__ */ jsxs7("div", { style: { display: "flex", alignItems: "center", gap: "0.4rem", width: "100%" }, children: [
1527
1536
  showChannels && /* @__PURE__ */ jsx8("span", { className: "cris-co-matrix-ch", style: { flexShrink: 0, opacity: 0.6 }, children: item.id }),
1528
1537
  /* @__PURE__ */ jsx8("span", { style: { flex: 1, whiteSpace: "nowrap", overflow: "hidden", textOverflow: "ellipsis" }, children: item.lb || `${type === "input" ? "Input" : "Output"} ${item.id}` }),
1529
1538
  /* @__PURE__ */ jsxs7("div", { style: defaults.indicators, children: [