widenarrow-ui 1.0.19 → 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
@@ -559,6 +559,7 @@ interface ImageProps {
559
559
  imageClassName?: string;
560
560
  customCellComponent?: ReactNode;
561
561
  aspectRatio?: Partial<AspectRatioTypes>;
562
+ hoverOverlayColor?: Partial<ColorTypes>;
562
563
  bgImage?: boolean;
563
564
  bgImageProps?: {
564
565
  size: 'cover' | 'contain';
@@ -598,6 +599,7 @@ interface ListItemProps extends MarginInterface, PaddingInterface {
598
599
  imageSrc?: string;
599
600
  withBorderRadius?: boolean;
600
601
  withHoverEffect?: boolean;
602
+ withEllipsis?: boolean;
601
603
  imageIcon?: Partial<IconTypes>;
602
604
  size: Partial<SizeTypes>;
603
605
  imageAspectRatio?: Partial<AspectRatioTypes>;
@@ -735,6 +737,32 @@ interface SwitchButtonProps {
735
737
 
736
738
  declare const SwitchButton: FC<SwitchButtonProps>;
737
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
+
738
766
  interface ToolTipProps {
739
767
  text?: string;
740
768
  children?: string | number | ReactNode | null;
@@ -793,4 +821,4 @@ declare const Label: FC<LabelProps>;
793
821
  declare const Paragraph: FC<ParagraphProps>;
794
822
  declare const Span: FC<SpanProps>;
795
823
 
796
- 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 };