unifyedx-storybook-new 0.2.67 → 0.2.69

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.
Binary file
Binary file
@@ -5968,9 +5968,11 @@ const Bt = () => {
5968
5968
  const M = x();
5969
5969
  if (M)
5970
5970
  switch (w) {
5971
- case "Delete":
5972
- N && M.deleteRecords?.();
5971
+ case "Delete": {
5972
+ const S = M.getSelectedRecords();
5973
+ console.log("delete action is clicked", S), N && M.getSelectedRecords?.();
5973
5974
  break;
5975
+ }
5974
5976
  case "ColumnChooser":
5975
5977
  y && (T ? p(T) : M.openColumnChooser?.());
5976
5978
  break;
@@ -6088,7 +6090,7 @@ const Bt = () => {
6088
6090
  ] });
6089
6091
  };
6090
6092
  function ai(t) {
6091
- console.log("consoling from CustomDataGrid");
6093
+ console.log("consoling from CustomDataGrid****");
6092
6094
  const {
6093
6095
  data: a = [],
6094
6096
  totalCount: s = 0,
@@ -6149,9 +6151,7 @@ function ai(t) {
6149
6151
  y,
6150
6152
  R,
6151
6153
  F
6152
- ]);
6153
- console.log("checking service", _);
6154
- const E = ae(() => {
6154
+ ]), E = ae(() => {
6155
6155
  const V = () => f.current, ne = (W, ce) => {
6156
6156
  !ce && process.env.NODE_ENV !== "production" && console.warn(`[CustomDataGrid] ${W} requested but related service/feature is disabled.`);
6157
6157
  };
@@ -6307,6 +6307,7 @@ function ai(t) {
6307
6307
  rowSelected: U,
6308
6308
  rowDeselected: Y,
6309
6309
  recordDoubleClick: $e,
6310
+ cssClass: "custom-grid-padding",
6310
6311
  ...I,
6311
6312
  children: [
6312
6313
  /* @__PURE__ */ e(vn, { children: Ta() }),
package/package.json CHANGED
@@ -1,11 +1,10 @@
1
1
  {
2
2
  "name": "unifyedx-storybook-new",
3
3
  "private": false,
4
- "version": "0.2.67",
4
+ "version": "0.2.69",
5
5
  "type": "module",
6
6
  "main": "dist/unifyedx-storybook-new.es.js",
7
7
  "module": "dist/unifyedx-storybook-new.es.js",
8
- "types": "dist/index.d.ts",
9
8
  "style": "dist/unifyedx-storybook-new.css",
10
9
  "files": [
11
10
  "dist"
@@ -79,7 +78,6 @@
79
78
  "react-tailwindcss-datepicker": "^2.0.0",
80
79
  "react-toastify": "^10",
81
80
  "react-tooltip": "^5.29.1",
82
- "unifyedx-storybook-new": "^0.1.87",
83
81
  "yup": "^1.6.1"
84
82
  },
85
83
  "devDependencies": {
@@ -124,6 +122,7 @@
124
122
  "preview": "vite preview",
125
123
  "storybook": "storybook dev -p 6006",
126
124
  "build-storybook": "storybook build",
125
+ "dev:lib": "vite build --watch",
127
126
  "local-pub": "rm -rf dist && npm run build && yalc publish --push",
128
127
  "local-push": "npm run build && yalc push --replace",
129
128
  "local-watch": "npm run build && yalc push --replace --watch"