@bigbinary/neeto-filters-frontend 2.10.1 → 2.11.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigbinary/neeto-filters-frontend",
3
- "version": "2.10.1",
3
+ "version": "2.11.0",
4
4
  "description": "Manage filters across neeto products.",
5
5
  "author": "BigBinary",
6
6
  "license": "MIT",
package/types.d.ts CHANGED
@@ -83,6 +83,7 @@ export function Filters(props: {
83
83
  isSearchable?: boolean;
84
84
  className?: string;
85
85
  keyword?: KeywordType;
86
+ childrenKeys?: string[]
86
87
  children?: React.ReactNode;
87
88
  [otherProps: string]: any;
88
89
  }): JSX.Element;
@@ -92,12 +93,20 @@ export function Bar(props: {
92
93
  columns: ColumnType[];
93
94
  keyword?: KeywordType;
94
95
  className?: string;
96
+ enttiy?: string;
95
97
  onChange: (filters: filters) => void;
96
98
  onSelectorsChange?: (selectors: selectors) => void;
99
+ childrenKeys?: string[]
97
100
  children?: React.ReactNode;
98
101
  [otherProps: string]: any;
99
102
  }): JSX.Element;
100
103
 
104
+ export function Segments(props: {
105
+ entity: string;
106
+ columns: ColumnType[];
107
+ setIsFilterPaneOpen: (boolean) => void;
108
+ }): JSX.Element;
109
+
101
110
  export function buildFiltersFromURL(
102
111
  columns: Array<ColumnType | KeywordType>
103
112
  ): filters[];