design-system-silkhaus 2.18.0-beta.app-components.3 → 2.18.0-beta.app-components.4

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
@@ -141,6 +141,14 @@ export declare const BedRegularIcon: FC<{
141
141
  className?: string;
142
142
  }>;
143
143
 
144
+ export declare const BellIcon: FC<{
145
+ className?: string;
146
+ }>;
147
+
148
+ export declare const BellSolidIcon: FC<{
149
+ className?: string;
150
+ }>;
151
+
144
152
  export declare const BoltIcon: FC<{
145
153
  className?: string;
146
154
  }>;
@@ -348,6 +356,8 @@ export declare const DeleteIcon: FC<{
348
356
 
349
357
  export declare const desktopMinWidth: number;
350
358
 
359
+ export declare const DesktopPopover: FC<PropsWithChildren<PopoverProps>>;
360
+
351
361
  export declare const DesktopTooltip: FC<PropsWithChildren<TooltipProps>>;
352
362
 
353
363
  export declare const Dialog: ForwardRefExoticComponent<DialogProps & RefAttributes<HTMLDivElement>>;
@@ -654,6 +664,8 @@ export declare interface MobileMultiSelectFilterDropDownProps extends HTMLAttrib
654
664
  disabled?: boolean;
655
665
  }
656
666
 
667
+ export declare const MobilePopover: FC<PropsWithChildren<PopoverProps>>;
668
+
657
669
  export declare const MobileSelectCardDropDown: ForwardRefExoticComponent<MobileSelectCardDropDownProps & RefAttributes<HTMLDivElement>>;
658
670
 
659
671
  export declare interface MobileSelectCardDropDownProps extends HTMLAttributes<HTMLDivElement> {
@@ -685,6 +697,19 @@ export declare const MoonIcon: FC<{
685
697
  className?: string;
686
698
  }>;
687
699
 
700
+ export declare const NotificationItem: FC<NotificationItemProps>;
701
+
702
+ export declare type NotificationItemProps = {
703
+ id?: string | number;
704
+ className?: string;
705
+ title: string;
706
+ description1: string;
707
+ description2?: string;
708
+ thumbnailUrl?: string;
709
+ isRead?: boolean;
710
+ onClick?: (item: NotificationItemProps) => void;
711
+ };
712
+
688
713
  export declare const OpenNewIcon: FC<{
689
714
  className?: string;
690
715
  }>;
@@ -819,6 +844,66 @@ export declare const PlusCircleIcon: FC<{
819
844
  className?: string;
820
845
  }>;
821
846
 
847
+ /**
848
+ * A component that displays a floating popover with the `content` on click of the `trigger` element for desktop
849
+ * and for mobile it displays a dialog that slides from the bottom
850
+ */
851
+ export declare const Popover: FC<PropsWithChildren<PopoverProps>>;
852
+
853
+ export declare interface PopoverProps {
854
+ /**
855
+ * Content of the popover
856
+ */
857
+ content: ReactNode;
858
+ /**
859
+ * The element that triggers the popover
860
+ */
861
+ trigger: ReactNode;
862
+ /**
863
+ * The placement of the floating popover. Only used in desktop version
864
+ * @default 'bottom'
865
+ */
866
+ placement?: Placement;
867
+ /**
868
+ * The trigger of the popover is wrapped in a container. This classname is added to that container
869
+ */
870
+ triggerContainerClassName?: string;
871
+ /**
872
+ * The content of the popover is wrapped in a container. This classname is added to that container
873
+ */
874
+ contentContainerClassname?: string;
875
+ /**
876
+ * When set true, popover will not be shown
877
+ * @default false
878
+ */
879
+ disabled?: boolean;
880
+ /**
881
+ * The offset of the popover from the trigger in px. Only applicable for desktop popover
882
+ * @default 4
883
+ */
884
+ offset?: number;
885
+ /**
886
+ * The title of the popover
887
+ */
888
+ title?: string;
889
+ /**
890
+ * Callback when popover is opened or closed
891
+ */
892
+ onOpenChange?: (isOpen: boolean) => void;
893
+ /**
894
+ * Pass this value to control the open state
895
+ */
896
+ isOpen?: boolean;
897
+ /**
898
+ * Adjust the height of the popover to fit the content in viewport
899
+ */
900
+ adjustHeight?: boolean | number;
901
+ /**
902
+ * Adjust the width of the popover to fit the content in viewport
903
+ */
904
+ adjustWidth?: boolean;
905
+ }
906
+
822
907
  export declare const PreviewIcon: FC<{
823
908
  className?: string;
824
909
  }>;
@@ -941,6 +1026,26 @@ export declare const Scrollbar: FC<ScrollbarProps>;
941
1026
  export declare interface ScrollbarProps extends Props {
942
1027
  }
943
1028
 
1029
+ export declare const Section: default_2.FC<SectionProps>;
1030
+
1031
+ export declare const SectionHeader: default_2.FC<SectionHeaderProps>;
1032
+
1033
+ export declare interface SectionHeaderProps {
1034
+ title?: string;
1035
+ description?: string;
1036
+ className?: string;
1037
+ titleClassName?: string;
1038
+ descriptionClassName?: string;
1039
+ }
1040
+
1041
+ export declare interface SectionProps {
1042
+ head?: default_2.ReactNode;
1043
+ body?: default_2.ReactNode;
1044
+ className?: string;
1045
+ headClassName?: string;
1046
+ bodyClassName?: string;
1047
+ }
1048
+
944
1049
  export declare const SECURITY_DEPOSIT_REFUND = "security_deposit_refund";
945
1050
 
946
1051
  export declare const SegmentedControl: FC<SegmentedControlProps>;
@@ -1187,7 +1292,7 @@ export declare interface TooltipProps {
1187
1292
  disabled?: boolean;
1188
1293
  /**
1189
1294
  * The offset of the tooltip from the trigger in px. Only applicable for desktop tooltip
1190
- * @dwefault 4
1295
+ * @default 4
1191
1296
  */
1192
1297
  offset?: number;
1193
1298
  }