@pnkx-lib/ui 1.9.416 → 1.9.418

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.
@@ -14,7 +14,7 @@ const SelectSingleTable = ({
14
14
  onSelectionChange,
15
15
  onLoadMore,
16
16
  onSearch,
17
- hasMore = false,
17
+ hasMore = true,
18
18
  loading = false,
19
19
  rowKey = "key",
20
20
  tableProps = {},
@@ -97,7 +97,7 @@ const SelectSingleTable = ({
97
97
  if (isEmpty(value) && !selectedRow) {
98
98
  return null;
99
99
  }
100
- if (!value)
100
+ if (!value && selectedRow)
101
101
  return selectedRow[displayField];
102
102
  return value[displayField];
103
103
  }, [selectedRow, displayField, value]);
@@ -115,10 +115,12 @@ const SelectSingleTable = ({
115
115
  }
116
116
  if (onSelectionChange) {
117
117
  onSelectionChange(void 0, void 0);
118
- onChange?.({
118
+ }
119
+ if (field && onChange) {
120
+ onChange({
119
121
  target: {
120
122
  name,
121
- value: void 0
123
+ value: null
122
124
  }
123
125
  });
124
126
  }
@@ -101,7 +101,7 @@ const SidebarV2 = ({ menu, children }) => {
101
101
  boxShadow: "0 1px 2px rgba(0, 0, 0, 0.15)",
102
102
  height: "56px",
103
103
  position: "fixed",
104
- zIndex: 2e3
104
+ zIndex: 1e3
105
105
  },
106
106
  children: /* @__PURE__ */ jsxs("div", { className: "w-full flex items-center justify-between", children: [
107
107
  /* @__PURE__ */ jsx("div", { className: "flex items-center ml-[-2rem]", children: /* @__PURE__ */ jsx("img", { src: logoHeaderText, alt: "logo", width: 200 }) }),
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pnkx-lib/ui",
3
3
  "private": false,
4
- "version": "1.9.416",
4
+ "version": "1.9.418",
5
5
  "type": "module",
6
6
  "main": "./es/index.js",
7
7
  "module": "./es/index.js",