indicator-ui 0.0.29 → 0.0.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.
@@ -7,4 +7,5 @@ export type CascadeBlockPropsType = {
7
7
  label?: React.ReactNode;
8
8
  supportingText?: React.ReactNode;
9
9
  noWrapper?: boolean;
10
+ defaultAllHidden?: boolean;
10
11
  };
@@ -15,7 +15,8 @@ export type CascadeSelectorPropsType = {
15
15
  * Учтите, что переменные сравниваются без глубокого сравнения, то есть словари, массивы будут сравниваться по значению указателя.
16
16
  * */
17
17
  value?: any | any[];
18
- onChange?: (value?: string[]) => void;
18
+ onChange?: (value?: any[]) => void;
19
19
  options?: CascadeSelectorOptionsType;
20
20
  multiple?: boolean;
21
+ defaultAllHidden?: boolean;
21
22
  };
@@ -1,2 +1,2 @@
1
1
  import { CascadeBlockPropsType } from "../types";
2
- export declare function CascadeBlock({ options, onClick, label, supportingText, noWrapper, value }: CascadeBlockPropsType): import("react/jsx-runtime").JSX.Element | import("react/jsx-runtime").JSX.Element[];
2
+ export declare function CascadeBlock({ options, onClick, label, supportingText, noWrapper, defaultAllHidden, value }: CascadeBlockPropsType): import("react/jsx-runtime").JSX.Element | import("react/jsx-runtime").JSX.Element[];
@@ -1,2 +1,2 @@
1
1
  import { CascadeSelectorPropsType } from "../types";
2
- export declare function CascadeSelector({ value, options, onChange, multiple }: CascadeSelectorPropsType): import("react/jsx-runtime").JSX.Element;
2
+ export declare function CascadeSelector({ value, options, onChange, multiple, defaultAllHidden }: CascadeSelectorPropsType): import("react/jsx-runtime").JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "indicator-ui",
3
- "version": "0.0.29",
3
+ "version": "0.0.30",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/types/src/index.d.ts",
6
6
  "style": "dist/index.css",