treege 0.5.0 → 0.5.2

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/CHANGELOG.md CHANGED
@@ -1,10 +1,4 @@
1
1
  # [Versions](https://github.com/Tracktor/treege/releases)
2
2
 
3
- ## v0.5.0
4
- - Add new props "initialTreeId"
5
- - Remove helper text name to tree name text field
6
- - Default tree name props
7
- - Fix translation
8
- - Improve tree select
9
- - Disable some features when endpoint is not provided
10
- - Documentation
3
+ ## v0.5.2
4
+ - Improve style select menu
@@ -1,4 +1,4 @@
1
- import { FormEvent } from "react";
1
+ import type { FormEvent } from "react";
2
2
  declare const useFormTreeCardDelete: () => {
3
3
  handleSubmit: (e: FormEvent) => void;
4
4
  };
@@ -1,5 +1,6 @@
1
- import { ChangeEvent } from "react";
1
+ import type { ChangeEvent } from "react";
2
2
  declare const useTreeNameTextField: () => {
3
+ disabled: boolean;
3
4
  errorName: string | undefined;
4
5
  handleChangeName: (e: ChangeEvent<HTMLInputElement>) => void;
5
6
  id: string | undefined;
@@ -0,0 +1,3 @@
1
+ import useSnackbar from "./useSnackbar";
2
+ export default useSnackbar;
3
+ export * from "./useSnackbar";
@@ -0,0 +1,3 @@
1
+ import useTreegeContext from "./useTreegeContext";
2
+ export default useTreegeContext;
3
+ export * from "./useTreegeContext";
@@ -0,0 +1,2 @@
1
+ declare const useTreegeContext: () => import('../../features/Treege/context/TreegeContext').TreeDefaultValue;
2
+ export default useTreegeContext;