@zonos/amino 5.1.46 → 5.1.47

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.
@@ -2,9 +2,8 @@ import { type Dispatch } from 'react';
2
2
  import { type FilterAmountAction, type FilterAmountState } from "./filterAmountReducer";
3
3
  import { type BaseFilterProps } from "../useFilterWrapper";
4
4
  export type FilterAmountType = 'equal' | 'between' | 'greater' | 'less';
5
- type FilterAmountProps = BaseFilterProps & {
5
+ export type FilterAmountProps = BaseFilterProps & {
6
6
  dispatch: Dispatch<FilterAmountAction>;
7
7
  filter: FilterAmountState;
8
8
  };
9
9
  export declare const FilterAmount: ({ dispatch, dropdownTitle, filter, label, }: FilterAmountProps) => import("react/jsx-runtime").JSX.Element;
10
- export {};
@@ -1,12 +1,11 @@
1
1
  import { type Dispatch } from 'react';
2
2
  import { type FilterDateAction, type FilterDateState } from "./filterDateReducer";
3
3
  import { type BaseFilterProps } from "../useFilterWrapper";
4
- type BadgeFilterDateProps = BaseFilterProps & {
4
+ export type FilterDateProps = BaseFilterProps & {
5
5
  dispatch: Dispatch<FilterDateAction>;
6
6
  filter: FilterDateState;
7
7
  };
8
8
  /**
9
9
  * Assumes exclusive date range. Specific formats/ranges should be handled upstream.
10
10
  */
11
- export declare const FilterDate: ({ dispatch, dropdownTitle, filter, label, }: BadgeFilterDateProps) => import("react/jsx-runtime").JSX.Element;
12
- export {};
11
+ export declare const FilterDate: ({ dispatch, dropdownTitle, filter, label, }: FilterDateProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,9 +1,8 @@
1
1
  import { type BaseFilterProps } from "../useFilterWrapper";
2
2
  import type { SelectOption } from "../../../types/SelectOption";
3
- type FilterMultiSelectProps<T extends string = string> = BaseFilterProps & {
3
+ export type FilterMultiSelectProps<T extends string = string> = BaseFilterProps & {
4
4
  options: SelectOption<T>[];
5
5
  value: SelectOption<T>[];
6
6
  onChange: (value: SelectOption<T>[]) => void;
7
7
  };
8
8
  export declare const FilterMultiSelect: <T extends string = string>({ dropdownTitle, label, onChange, options, value, }: FilterMultiSelectProps<T>) => import("react/jsx-runtime").JSX.Element;
9
- export {};
@@ -1,9 +1,8 @@
1
1
  import { type BaseFilterProps } from "../useFilterWrapper";
2
2
  import type { SelectOption } from "../../../types/SelectOption";
3
- type FilterSelectProps<T extends string = string, O extends SelectOption<string> = SelectOption<T>> = BaseFilterProps & {
3
+ export type FilterSelectProps<T extends string = string, O extends SelectOption<string> = SelectOption<T>> = BaseFilterProps & {
4
4
  options: O[];
5
5
  value: O | null;
6
6
  onChange: (value: O | null) => void;
7
7
  };
8
8
  export declare const FilterSelect: <T extends string = string, O extends SelectOption<T> = SelectOption<T>>({ onChange, options, value, ...props }: FilterSelectProps<T, O>) => import("react/jsx-runtime").JSX.Element;
9
- export {};
@@ -1,6 +1,9 @@
1
1
  export type Props = {
2
2
  className?: string;
3
3
  disabled?: boolean;
4
+ /**
5
+ * @default select
6
+ */
4
7
  type?: 'cards' | 'select' | 'toggle';
5
8
  };
6
9
  export declare const ThemeSelect: ({ className, disabled, type, }: Props) => import("react/jsx-runtime").JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zonos/amino",
3
- "version": "5.1.46",
3
+ "version": "5.1.47",
4
4
  "description": "Core UI components for Amino",
5
5
  "repository": "git@github.com:Zonos/amino.git",
6
6
  "license": "MIT",