datastake-daf 0.6.312 → 0.6.313

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.
@@ -16114,10 +16114,12 @@ function ImageWidget(_ref) {
16114
16114
  isPdf = false
16115
16115
  } = _ref,
16116
16116
  props = _objectWithoutProperties(_ref, _excluded$p);
16117
+ const expandable = isPdf ? false : props.expandable;
16117
16118
  return /*#__PURE__*/jsxRuntime.jsx(Widget, _objectSpread2(_objectSpread2({
16118
16119
  loading: loading,
16119
16120
  title: title,
16120
- className: "with-border-header"
16121
+ className: "with-border-header",
16122
+ expandable: expandable
16121
16123
  }, props), {}, {
16122
16124
  children: /*#__PURE__*/jsxRuntime.jsxs("div", {
16123
16125
  className: "flex gap-4",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "datastake-daf",
3
- "version": "0.6.312",
3
+ "version": "0.6.313",
4
4
  "dependencies": {
5
5
  "@ant-design/icons": "^5.2.5",
6
6
  "@antv/g2": "^5.1.1",
@@ -11,8 +11,9 @@ export default function ImageWidget({
11
11
  isPdf = false,
12
12
  ...props
13
13
  }) {
14
+ const expandable = isPdf ? false : props.expandable
14
15
  return (
15
- <Widget loading={loading} title={title} className="with-border-header" {...props}>
16
+ <Widget loading={loading} title={title} className="with-border-header" expandable={expandable} {...props}>
16
17
  <div className="flex gap-4">
17
18
  {image ? (
18
19
  <Image