design-system-silkhaus 2.16.2-beta.buttonfix.1 → 2.17.0-beta.notifications.1
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.cjs +43 -43
- package/dist/index.d.ts +68 -1
- package/dist/index.js +8782 -8520
- package/dist/style.css +1 -1
- package/dist/tailwind.config.js +8 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -331,7 +331,13 @@ declare interface DateRangePickerProps {
|
|
|
331
331
|
_mobileDaySize?: number;
|
|
332
332
|
mobileBreakPoint?: number;
|
|
333
333
|
isAdjustHeightForViewport?: boolean;
|
|
334
|
+
/**
|
|
335
|
+
* @default 'button'
|
|
336
|
+
*/
|
|
334
337
|
primaryBtnType?: 'button' | 'submit' | 'reset';
|
|
338
|
+
/**
|
|
339
|
+
* @default 'button'
|
|
340
|
+
*/
|
|
335
341
|
secondaryBtnType?: 'button' | 'submit' | 'reset';
|
|
336
342
|
}
|
|
337
343
|
|
|
@@ -341,6 +347,8 @@ export declare const DeleteIcon: FC<{
|
|
|
341
347
|
|
|
342
348
|
export declare const desktopMinWidth: number;
|
|
343
349
|
|
|
350
|
+
export declare const DesktopPopover: FC<PropsWithChildren<PopoverProps>>;
|
|
351
|
+
|
|
344
352
|
export declare const DesktopTooltip: FC<PropsWithChildren<TooltipProps>>;
|
|
345
353
|
|
|
346
354
|
export declare const Dialog: ForwardRefExoticComponent<DialogProps & RefAttributes<HTMLDivElement>>;
|
|
@@ -647,6 +655,8 @@ export declare interface MobileMultiSelectFilterDropDownProps extends HTMLAttrib
|
|
|
647
655
|
disabled?: boolean;
|
|
648
656
|
}
|
|
649
657
|
|
|
658
|
+
export declare const MobilePopover: FC<PropsWithChildren<PopoverProps>>;
|
|
659
|
+
|
|
650
660
|
export declare const MobileSelectCardDropDown: ForwardRefExoticComponent<MobileSelectCardDropDownProps & RefAttributes<HTMLDivElement>>;
|
|
651
661
|
|
|
652
662
|
export declare interface MobileSelectCardDropDownProps extends HTMLAttributes<HTMLDivElement> {
|
|
@@ -678,6 +688,19 @@ export declare const MoonIcon: FC<{
|
|
|
678
688
|
className?: string;
|
|
679
689
|
}>;
|
|
680
690
|
|
|
691
|
+
export declare const NotificationItem: FC<NotificationItemProps>;
|
|
692
|
+
|
|
693
|
+
export declare type NotificationItemProps = {
|
|
694
|
+
id?: string | number;
|
|
695
|
+
className?: string;
|
|
696
|
+
title: string;
|
|
697
|
+
description1: string;
|
|
698
|
+
description2?: string;
|
|
699
|
+
thumbnailUrl?: string;
|
|
700
|
+
isRead?: boolean;
|
|
701
|
+
onClick?: (item: NotificationItemProps) => void;
|
|
702
|
+
};
|
|
703
|
+
|
|
681
704
|
export declare const OpenNewIcon: FC<{
|
|
682
705
|
className?: string;
|
|
683
706
|
}>;
|
|
@@ -812,6 +835,50 @@ export declare const PlusCircleIcon: FC<{
|
|
|
812
835
|
className?: string;
|
|
813
836
|
}>;
|
|
814
837
|
|
|
838
|
+
/**
|
|
839
|
+
* A component that displays a floating popover with the `content` on click of the `trigger` element for desktop
|
|
840
|
+
* and for mobile it displays a dialog that slides from the bottom
|
|
841
|
+
*/
|
|
842
|
+
export declare const Popover: FC<PropsWithChildren<PopoverProps>>;
|
|
843
|
+
|
|
844
|
+
export declare interface PopoverProps {
|
|
845
|
+
/**
|
|
846
|
+
* Content of the popover
|
|
847
|
+
*/
|
|
848
|
+
content: ReactNode;
|
|
849
|
+
/**
|
|
850
|
+
* The element that triggers the popover
|
|
851
|
+
*/
|
|
852
|
+
trigger: ReactNode;
|
|
853
|
+
/**
|
|
854
|
+
* The placement of the floating popover. Only used in desktop version
|
|
855
|
+
* @default 'bottom'
|
|
856
|
+
*/
|
|
857
|
+
placement?: Placement;
|
|
858
|
+
/**
|
|
859
|
+
* The trigger of the popover is wrapped in a container. This classname is added to that container
|
|
860
|
+
*/
|
|
861
|
+
triggerContainerClassName?: string;
|
|
862
|
+
/**
|
|
863
|
+
* The content of the popover is wrapped in a container. This classname is added to that container
|
|
864
|
+
*/
|
|
865
|
+
contentContainerClassname?: string;
|
|
866
|
+
/**
|
|
867
|
+
* When set true, popover will not be shown
|
|
868
|
+
* @default false
|
|
869
|
+
*/
|
|
870
|
+
disabled?: boolean;
|
|
871
|
+
/**
|
|
872
|
+
* The offset of the popover from the trigger in px. Only applicable for desktop popover
|
|
873
|
+
* @default 4
|
|
874
|
+
*/
|
|
875
|
+
offset?: number;
|
|
876
|
+
/**
|
|
877
|
+
* The title of the popover
|
|
878
|
+
*/
|
|
879
|
+
title?: string;
|
|
880
|
+
}
|
|
881
|
+
|
|
815
882
|
export declare const PreviewIcon: FC<{
|
|
816
883
|
className?: string;
|
|
817
884
|
}>;
|
|
@@ -1178,7 +1245,7 @@ export declare interface TooltipProps {
|
|
|
1178
1245
|
disabled?: boolean;
|
|
1179
1246
|
/**
|
|
1180
1247
|
* The offset of the tooltip from the trigger in px. Only applicable for desktop tooltip
|
|
1181
|
-
* @
|
|
1248
|
+
* @default 4
|
|
1182
1249
|
*/
|
|
1183
1250
|
offset?: number;
|
|
1184
1251
|
}
|