treege 3.0.0-beta.29 → 3.0.0-beta.30

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.
Files changed (36) hide show
  1. package/dist/ThemeContext-D49eu_oE.js +1472 -0
  2. package/dist/editor/constants/nodeTypes.d.ts +4 -4
  3. package/dist/editor/context/TreegeEditorContext.d.ts +9 -1
  4. package/dist/editor/features/TreegeEditor/inputs/OptionImageField.d.ts +6 -0
  5. package/dist/editor/features/TreegeEditor/nodes/GroupNode.d.ts +1 -1
  6. package/dist/editor/features/TreegeEditor/nodes/TreegeNode.d.ts +6 -0
  7. package/dist/editor/features/TreegeEditor/nodes/components/BottomHandleDropdown.d.ts +6 -0
  8. package/dist/editor/features/TreegeEditor/nodes/components/NodeLabelInput.d.ts +9 -0
  9. package/dist/editor/features/TreegeEditor/nodes/components/NodeTypeBadge.d.ts +8 -0
  10. package/dist/editor/features/TreegeEditor/nodes/components/OpenSheetButton.d.ts +6 -0
  11. package/dist/editor/features/TreegeEditor/nodes/components/SubTypeBadge.d.ts +8 -0
  12. package/dist/editor/hooks/useFlowActions.d.ts +1 -0
  13. package/dist/editor/hooks/useFlowConnections.d.ts +4 -1
  14. package/dist/editor/utils/image.d.ts +7 -0
  15. package/dist/{editor-iWcSAxOr.js → editor-DnrJgSrC.js} +1246 -1035
  16. package/dist/editor.js +2 -2
  17. package/dist/main.js +4 -4
  18. package/dist/{renderer-DZD267lH.js → renderer-MCPhNlp1.js} +20 -12
  19. package/dist/renderer-native.js +644 -631
  20. package/dist/renderer.js +3 -3
  21. package/dist/{separator-DzU4sadU.js → separator-gO82kpxa.js} +1 -1
  22. package/dist/shared/locales/ar.json.d.ts +12 -0
  23. package/dist/shared/locales/de.json.d.ts +12 -0
  24. package/dist/shared/locales/en.json.d.ts +12 -0
  25. package/dist/shared/locales/es.json.d.ts +12 -0
  26. package/dist/shared/locales/fr.json.d.ts +12 -0
  27. package/dist/shared/locales/it.json.d.ts +12 -0
  28. package/dist/shared/locales/pt.json.d.ts +12 -0
  29. package/dist/shared/types/node.d.ts +5 -0
  30. package/dist/{useRenderNode-Huckx5bu.js → useRenderNode-B_GPMTPf.js} +1 -1
  31. package/package.json +1 -1
  32. package/dist/ThemeContext-cNnjiSPY.js +0 -2152
  33. package/dist/editor/features/TreegeEditor/nodes/FlowNode.d.ts +0 -6
  34. package/dist/editor/features/TreegeEditor/nodes/InputNode.d.ts +0 -6
  35. package/dist/editor/features/TreegeEditor/nodes/UINode.d.ts +0 -6
  36. package/dist/editor/features/TreegeEditor/nodes/hooks/useBottomHandleClick.d.ts +0 -8
@@ -1,6 +0,0 @@
1
- import { Node, NodeProps } from '@xyflow/react';
2
- import { FlowNodeData } from '../../../../shared/types/node';
3
- export type FlowNodeType = Node<FlowNodeData, "flow">;
4
- export type FlowNodeProps = NodeProps<FlowNodeType>;
5
- declare const _default: import('react').MemoExoticComponent<({ data, isConnectable, type, parentId, id }: FlowNodeProps) => import("react/jsx-runtime").JSX.Element>;
6
- export default _default;
@@ -1,6 +0,0 @@
1
- import { Node, NodeProps } from '@xyflow/react';
2
- import { InputNodeData } from '../../../../shared/types/node';
3
- export type InputNodeType = Node<InputNodeData, "input">;
4
- export type InputNodeProps = NodeProps<InputNodeType>;
5
- declare const _default: import('react').MemoExoticComponent<({ data, isConnectable, parentId, id }: InputNodeProps) => import("react/jsx-runtime").JSX.Element>;
6
- export default _default;
@@ -1,6 +0,0 @@
1
- import { Node, NodeProps } from '@xyflow/react';
2
- import { UINodeData } from '../../../../shared/types/node';
3
- export type UINodeType = Node<UINodeData, "ui">;
4
- export type UINodeProps = NodeProps<UINodeType>;
5
- declare const _default: import('react').MemoExoticComponent<({ data, isConnectable, type, parentId, id }: UINodeProps) => import("react/jsx-runtime").JSX.Element>;
6
- export default _default;
@@ -1,8 +0,0 @@
1
- import { MouseEvent } from 'react';
2
- /**
3
- * Custom hook to handle clicks on bottom handles of nodes
4
- * @param nodeId - The ID of the current node
5
- * @returns Click handler for the bottom handle
6
- */
7
- declare const useBottomHandleClick: (nodeId: string) => (event: MouseEvent) => void;
8
- export default useBottomHandleClick;