maritime-ui 0.1.141 → 0.1.144

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/dist/index.d.ts CHANGED
@@ -208,13 +208,20 @@ export declare const FileTypePdfIcon: () => JSX.Element;
208
208
 
209
209
  export declare const FilterButton: FC<FilterButtonProps>;
210
210
 
211
+ declare type FilterButtonOption = {
212
+ value: string;
213
+ label: string;
214
+ toggle?: {
215
+ label: string;
216
+ value: boolean;
217
+ onChange: (value: boolean) => void;
218
+ };
219
+ };
220
+
211
221
  declare type FilterButtonProps = {
212
222
  Icon: FC;
213
223
  title: string;
214
- options: {
215
- value: string;
216
- label: string;
217
- }[];
224
+ options: FilterButtonOption[];
218
225
  selectedOptions: string[];
219
226
  onChange: (selectedOptions: string[]) => void;
220
227
  menuAlign?: 'left' | 'right';
@@ -766,6 +773,8 @@ export declare const XIcon: () => JSX.Element;
766
773
 
767
774
  export declare const XlsIcon: () => JSX.Element;
768
775
 
776
+ export declare const XSmallIcon: () => JSX.Element;
777
+
769
778
  export declare const ZipIcon: () => JSX.Element;
770
779
 
771
780
  export { }