@sio-group/ui-datatable 0.1.4 → 0.1.6

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/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # @sio-group/ui-datatable
2
2
 
3
+ ## 0.1.6
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @sio-group/ui-core@0.4.1
9
+ - @sio-group/ui-modal@0.4.4
10
+ - @sio-group/ui-pagination@0.1.2
11
+
12
+ ## 0.1.5
13
+
14
+ ### Patch Changes
15
+
16
+ - Added inline input class
17
+
3
18
  ## 0.1.4
4
19
 
5
20
  ### Patch Changes
package/dist/index.cjs CHANGED
@@ -367,7 +367,7 @@ var InlineInputCell = ({
367
367
  document.addEventListener("keydown", handleEsc);
368
368
  return () => document.removeEventListener("keydown", handleEsc);
369
369
  }, [setShowEdit]);
370
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_jsx_runtime7.Fragment, { children: showEdit ? /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("form", { noValidate: true, children: [
370
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "inline-input", children: showEdit ? /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("form", { noValidate: true, children: [
371
371
  formField.type === "select" || formField.type === "radio" ? /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
372
372
  "select",
373
373
  {
package/dist/index.js CHANGED
@@ -341,7 +341,7 @@ var InlineInputCell = ({
341
341
  document.addEventListener("keydown", handleEsc);
342
342
  return () => document.removeEventListener("keydown", handleEsc);
343
343
  }, [setShowEdit]);
344
- return /* @__PURE__ */ jsx7(Fragment3, { children: showEdit ? /* @__PURE__ */ jsxs4("form", { noValidate: true, children: [
344
+ return /* @__PURE__ */ jsx7("div", { className: "inline-input", children: showEdit ? /* @__PURE__ */ jsxs4("form", { noValidate: true, children: [
345
345
  formField.type === "select" || formField.type === "radio" ? /* @__PURE__ */ jsx7(
346
346
  "select",
347
347
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sio-group/ui-datatable",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -31,9 +31,9 @@
31
31
  "react-dom": "^19"
32
32
  },
33
33
  "dependencies": {
34
- "@sio-group/ui-core": "0.4.0",
35
- "@sio-group/ui-pagination": "0.1.1",
36
- "@sio-group/ui-modal": "0.4.3"
34
+ "@sio-group/ui-core": "0.4.1",
35
+ "@sio-group/ui-pagination": "0.1.2",
36
+ "@sio-group/ui-modal": "0.4.4"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@vitejs/plugin-react": "^4",
@@ -42,7 +42,7 @@ export const InlineInputCell = <T extends { id: string | number }>({
42
42
  }, [setShowEdit]);
43
43
 
44
44
  return (
45
- <>
45
+ <div className="inline-input">
46
46
  {showEdit ? (
47
47
  <form noValidate>
48
48
  {formField.type === "select" || formField.type === "radio" ? (
@@ -115,6 +115,6 @@ export const InlineInputCell = <T extends { id: string | number }>({
115
115
  </Button>
116
116
  </>
117
117
  )}
118
- </>
118
+ </div>
119
119
  )
120
120
  }