@juv/codego-react-ui 3.5.8 → 3.6.0

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.cjs CHANGED
@@ -2271,7 +2271,7 @@ function BulletinBoard({
2271
2271
  } : onDelete ? (item) => {
2272
2272
  onDelete(item);
2273
2273
  } : void 0,
2274
- footerAction: footerPreviewAction ? footerPreviewAction(previewItem.id) : void 0,
2274
+ footerAction: footerPreviewAction ? footerPreviewAction(previewItem) : void 0,
2275
2275
  headerAction: headerPreviewAction
2276
2276
  }
2277
2277
  ),
package/dist/index.d.cts CHANGED
@@ -888,7 +888,7 @@ interface BulletinBoardProps {
888
888
  /** Extra React elements rendered in the preview modal header's left area. */
889
889
  headerPreviewAction?: React.ReactNode;
890
890
  /** Extra React elements rendered in the preview modal footer's action area. */
891
- footerPreviewAction?: (id: string | number) => React.ReactNode;
891
+ footerPreviewAction?: (item: BulletinItem) => React.ReactNode;
892
892
  /** Additional CSS classes on the outer wrapper. */
893
893
  className?: string;
894
894
  }
package/dist/index.d.ts CHANGED
@@ -888,7 +888,7 @@ interface BulletinBoardProps {
888
888
  /** Extra React elements rendered in the preview modal header's left area. */
889
889
  headerPreviewAction?: React.ReactNode;
890
890
  /** Extra React elements rendered in the preview modal footer's action area. */
891
- footerPreviewAction?: (id: string | number) => React.ReactNode;
891
+ footerPreviewAction?: (item: BulletinItem) => React.ReactNode;
892
892
  /** Additional CSS classes on the outer wrapper. */
893
893
  className?: string;
894
894
  }
@@ -65445,7 +65445,7 @@ ${n2.shaderPreludeCode.vertexSource}`, define: n2.shaderDefine }, defaultProject
65445
65445
  } : onDelete ? (item) => {
65446
65446
  onDelete(item);
65447
65447
  } : void 0,
65448
- footerAction: footerPreviewAction ? footerPreviewAction(previewItem.id) : void 0,
65448
+ footerAction: footerPreviewAction ? footerPreviewAction(previewItem) : void 0,
65449
65449
  headerAction: headerPreviewAction
65450
65450
  }
65451
65451
  ),
package/dist/index.js CHANGED
@@ -2146,7 +2146,7 @@ function BulletinBoard({
2146
2146
  } : onDelete ? (item) => {
2147
2147
  onDelete(item);
2148
2148
  } : void 0,
2149
- footerAction: footerPreviewAction ? footerPreviewAction(previewItem.id) : void 0,
2149
+ footerAction: footerPreviewAction ? footerPreviewAction(previewItem) : void 0,
2150
2150
  headerAction: headerPreviewAction
2151
2151
  }
2152
2152
  ),
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "registry": "https://registry.npmjs.org/",
5
5
  "access": "public"
6
6
  },
7
- "version": "3.5.8",
7
+ "version": "3.6.0",
8
8
  "description": "Reusable React UI components",
9
9
  "license": "MIT",
10
10
  "main": "dist/index.js",