@minimalstuff/ui 0.0.24 → 0.0.26

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
@@ -9,7 +9,6 @@ import { DetailedHTMLProps } from 'react';
9
9
  import { ElementType } from 'react';
10
10
  import { FormatOptionLabelMeta } from 'react-select';
11
11
  import { FormHTMLAttributes } from 'react';
12
- import { GroupBase } from 'react-select';
13
12
  import { HTMLAttributes } from 'react';
14
13
  import { IconType } from 'react-icons/lib';
15
14
  import { ImgHTMLAttributes } from 'react';
@@ -18,7 +17,6 @@ import { JSX as JSX_2 } from 'react';
18
17
  import { JSX as JSX_3 } from '@emotion/react/jsx-runtime';
19
18
  import { LiHTMLAttributes } from 'react';
20
19
  import { MutableRefObject } from 'react';
21
- import { OptionsOrGroups } from 'react-select';
22
20
  import { PropsWithChildren } from 'react';
23
21
  import { ReactNode } from 'react';
24
22
  import { RefObject } from 'react';
@@ -227,10 +225,10 @@ export declare function Selector({ name, label, value, options, onChangeCallback
227
225
 
228
226
  declare interface SelectorProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'onChange'> {
229
227
  label: string;
228
+ value: string | number;
230
229
  name: string;
231
230
  errors?: string[];
232
- options: OptionsOrGroups<Option_2, GroupBase<Option_2>>;
233
- value: number | string;
231
+ options: Option_2[];
234
232
  onChangeCallback?: (value: number | string) => void;
235
233
  formatOptionLabel?: (data: Option_2, formatOptionLabelMeta: FormatOptionLabelMeta<Option_2>) => ReactNode;
236
234
  }