widenarrow-ui 1.0.20 → 1.0.21

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/lib/index.d.ts CHANGED
@@ -737,6 +737,32 @@ interface SwitchButtonProps {
737
737
 
738
738
  declare const SwitchButton: FC<SwitchButtonProps>;
739
739
 
740
+ interface OptionItem {
741
+ text: string;
742
+ value: string | number;
743
+ disabled?: boolean;
744
+ }
745
+ interface SelectInputProps {
746
+ className?: string;
747
+ inputClassName?: string;
748
+ defaultOption?: string;
749
+ size: SizeTypes.SMALL | SizeTypes.MEDIUM | SizeTypes.LARGE;
750
+ disabled?: boolean;
751
+ error?: string;
752
+ helperText?: string;
753
+ text?: string;
754
+ marginBottom?: boolean;
755
+ loading?: boolean;
756
+ label?: string;
757
+ name: string;
758
+ onChange: (value: string | number) => void;
759
+ options: Array<OptionItem>;
760
+ value: string | number;
761
+ nativeHtmlComponent?: boolean;
762
+ }
763
+
764
+ declare const SelectInput: FC<SelectInputProps>;
765
+
740
766
  interface ToolTipProps {
741
767
  text?: string;
742
768
  children?: string | number | ReactNode | null;
@@ -795,4 +821,4 @@ declare const Label: FC<LabelProps>;
795
821
  declare const Paragraph: FC<ParagraphProps>;
796
822
  declare const Span: FC<SpanProps>;
797
823
 
798
- export { AppColors, AspectRatioTypes, Box, Button, Checkbox, ColorStyleInterface, ColorTypes, DropDown, DropDownItem, FacetButton, FlexStylingInterface, FontFamilyTypes, FormSkeleton, Grid, Heading, HierarchyInterface, HierarchyTypes, Icon, IconButton, IconStyleInterface, IconTypes, Image, InlineButton, Label, ListItem, ListSkeleton, MarginInterface, MultiActionButton, PaddingInterface, Paragraph, RadioButton, Separator, SizeStyleInterface, SizeTypes, SolidSpinner, SortableTable, Span, SwitchButton, ToolTip };
824
+ export { AppColors, AspectRatioTypes, Box, Button, Checkbox, ColorStyleInterface, ColorTypes, DropDown, DropDownItem, FacetButton, FlexStylingInterface, FontFamilyTypes, FormSkeleton, Grid, Heading, HierarchyInterface, HierarchyTypes, Icon, IconButton, IconStyleInterface, IconTypes, Image, InlineButton, Label, ListItem, ListSkeleton, MarginInterface, MultiActionButton, PaddingInterface, Paragraph, RadioButton, SelectInput, Separator, SizeStyleInterface, SizeTypes, SolidSpinner, SortableTable, Span, SwitchButton, ToolTip };