design-system-silkhaus 2.7.1 → 2.8.0

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
@@ -373,6 +373,14 @@ export declare const HandCursorTapIcon: FC<{
373
373
  className?: string;
374
374
  }>;
375
375
 
376
+ export declare const HelperText: FC<HelperTextProps>;
377
+
378
+ export declare interface HelperTextProps {
379
+ error?: boolean;
380
+ text?: string;
381
+ className?: string;
382
+ }
383
+
376
384
  export declare const HouseRegularIcon: FC<{
377
385
  className?: string;
378
386
  }>;
@@ -442,6 +450,15 @@ declare interface KeyMapping<SourceKey extends keyof PaymentRadioInputProps, Des
442
450
  destinationKey: DestinationKey;
443
451
  }
444
452
 
453
+ export declare const Label: FC<LabelProps>;
454
+
455
+ export declare type LabelProps = {
456
+ label: string;
457
+ required?: boolean;
458
+ error?: boolean;
459
+ className?: string;
460
+ };
461
+
445
462
  export declare const ListingCard: default_2.ForwardRefExoticComponent<ListingCardProps & default_2.RefAttributes<HTMLDivElement>>;
446
463
 
447
464
  export declare type ListingCardProps = {
@@ -778,12 +795,19 @@ export declare interface ScrollbarProps extends Props {
778
795
 
779
796
  export declare const SECURITY_DEPOSIT_REFUND = "security_deposit_refund";
780
797
 
798
+ export declare const Select: FC<SelectProps>;
799
+
781
800
  export declare enum SelectionStateEnum {
782
801
  None = "none",
783
802
  Selected = "selected",
784
803
  Added = "added"
785
804
  }
786
805
 
806
+ export declare type SelectOption = {
807
+ label: ReactNode;
808
+ value: string;
809
+ };
810
+
787
811
  export declare const SelectPopover: ForwardRefExoticComponent<SelectPopoverProps & RefAttributes<HTMLDivElement>>;
788
812
 
789
813
  export declare interface SelectPopoverProps {
@@ -800,6 +824,19 @@ export declare interface SelectPopoverProps {
800
824
  handleClose?: () => void;
801
825
  }
802
826
 
827
+ export declare type SelectProps = {
828
+ label?: string;
829
+ options: Array<SelectOption>;
830
+ value?: string;
831
+ onChange: (value: string) => void;
832
+ error?: boolean;
833
+ className?: string;
834
+ required?: boolean;
835
+ placeholder?: string;
836
+ helperText?: string;
837
+ disabled?: boolean;
838
+ };
839
+
803
840
  export declare const ShareIcon: FC<{
804
841
  className?: string;
805
842
  }>;
@@ -1025,6 +1062,10 @@ export declare interface TravelListProps extends default_2.PropsWithChildren {
1025
1062
  hideEdit?: boolean;
1026
1063
  }
1027
1064
 
1065
+ export declare const TriangleDownIcon: FC<{
1066
+ className?: string;
1067
+ }>;
1068
+
1028
1069
  export declare const TwoColumnDialog: ForwardRefExoticComponent<TwoColumnDialogProps & RefAttributes<HTMLDivElement>>;
1029
1070
 
1030
1071
  export declare interface TwoColumnDialogProps extends HTMLAttributes<HTMLDivElement> {