stratosphere-ui 0.2.6 → 0.2.8

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": "stratosphere-ui",
3
- "version": "0.2.6",
3
+ "version": "0.2.8",
4
4
  "description": "React component library for all Stratosphere Labs user interfaces",
5
5
  "type": "module",
6
6
  "files": [
@@ -1,17 +0,0 @@
1
- import { ComponentProps, FC } from 'react';
2
- import { ComponentColor } from 'react-daisyui/dist/types';
3
- import { FieldValues } from 'react-hook-form';
4
- import { FormFieldProps } from './types';
5
- import { GenericDataType } from '../../common';
6
- export interface FormSelectProps<DataItem extends GenericDataType, Values extends FieldValues> extends Omit<FormFieldProps<Values>, 'controllerProps' | 'placeholder' | 'showDirty'> {
7
- buttonColor?: ComponentColor;
8
- className?: string;
9
- defaultOptionId?: string;
10
- dropdownIcon?: FC<ComponentProps<'svg'>>;
11
- getItemText: (data: DataItem) => string;
12
- getItemValue?: (data: DataItem) => string;
13
- menuClassName?: string;
14
- options: DataItem[];
15
- showDirty?: boolean;
16
- }
17
- export declare const FormSelect: <DataItem extends GenericDataType, Values extends FieldValues>({ buttonColor, className, defaultOptionId, dropdownIcon, getItemText, getItemValue, isRequired, labelText, menuClassName, name, options, showDirty, }: FormSelectProps<DataItem, Values>) => JSX.Element;