tycho-components 0.2.4-SNAPSHOT-3 → 0.2.4-SNAPSHOT-5

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.
@@ -10,7 +10,7 @@ type Props = {
10
10
  renderWithInfo?: boolean;
11
11
  placeholder?: string;
12
12
  onClickExpression?: () => void;
13
- onExpand?: (reset: () => void) => void;
13
+ onExpand?: () => void;
14
14
  onReadyCustom?: (thisCy: Core) => void;
15
15
  };
16
16
  export default function TreeView({ struct, expression, selector, translations, wheelSensitivity, renderWithInfo, placeholder, onClickExpression, onExpand, onReadyCustom, }: Props): import("react/jsx-runtime").JSX.Element;
@@ -131,7 +131,7 @@ const getButtons = (generateImage, reset, downloadPsd, toggleInfo, onExpand, exp
131
131
  {
132
132
  condition: !!onExpand,
133
133
  title: 'button.expand.tree',
134
- onClick: () => onExpand && onExpand(reset),
134
+ onClick: onExpand,
135
135
  icon: faUpRightAndDownLeftFromCenter,
136
136
  },
137
137
  {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tycho-components",
3
3
  "private": false,
4
- "version": "0.2.4-SNAPSHOT-3",
4
+ "version": "0.2.4-SNAPSHOT-5",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {