design-system-silkhaus 0.0.80 → 0.0.83-beta.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
@@ -1,5 +1,6 @@
1
1
  import { ClassProp } from 'class-variance-authority/types';
2
2
  import { HTMLAttributes } from 'react';
3
+ import { Moment } from 'moment';
3
4
  import { default as React_2 } from 'react';
4
5
  import * as React_3 from 'react';
5
6
  import { ReactNode } from 'react';
@@ -20,6 +21,18 @@ export declare interface AccordionProps {
20
21
  isExpanded?: boolean;
21
22
  }
22
23
 
24
+ export declare const ActionFooter: React_2.ForwardRefExoticComponent<ActionFooterProps & React_2.RefAttributes<HTMLDivElement>>;
25
+
26
+ export declare interface ActionFooterProps {
27
+ outerDivclassName?: string;
28
+ secondaryBtnClick: () => void;
29
+ primaryBtnClick: () => void;
30
+ primaryBtnDisabled?: boolean;
31
+ secondaryBtnDisabled?: boolean;
32
+ primaryBtnTxt: string | React_2.ReactNode;
33
+ secondaryBtnTxt: string | React_2.ReactNode;
34
+ }
35
+
23
36
  export declare const AlertDialog: React_2.ForwardRefExoticComponent<AlertDialogProps & React_2.RefAttributes<HTMLDivElement>>;
24
37
 
25
38
  export declare interface AlertDialogProps {
@@ -97,6 +110,28 @@ declare const cardVariants: (props?: ({
97
110
  cardType?: "default" | "shadowCard" | null | undefined;
98
111
  } & ClassProp) | undefined) => string;
99
112
 
113
+ export declare const CustomDateRangePicker: React_2.ForwardRefExoticComponent<CustomDateRangePickerProps & React_2.RefAttributes<HTMLDivElement>>;
114
+
115
+ declare interface CustomDateRangePickerProps {
116
+ startDatePlaceholderText?: string;
117
+ endDatePlaceholderText?: string;
118
+ onDatesChange?: (dates: {
119
+ startDate: Moment | null;
120
+ endDate: Moment | null;
121
+ }) => void;
122
+ initialStartDate?: Moment | null;
123
+ initialEndDate?: Moment | null;
124
+ focusedInput?: 'startDate' | 'endDate' | null;
125
+ onFocusChange?: (focusedInput: 'startDate' | 'endDate' | null) => void;
126
+ lTBannerImage?: string;
127
+ lTBannerTitle?: string | React_2.ReactNode;
128
+ lTBannerDesc?: string | React_2.ReactNode;
129
+ onMobileCloseClick?: () => void;
130
+ onOutsideClick?: (e: any) => void;
131
+ onPrevMonthClick?: (e: any) => void;
132
+ onNextMonthClick?: (e: any) => void;
133
+ }
134
+
100
135
  export declare const Dialog: React_2.ForwardRefExoticComponent<DialogProps & React_2.RefAttributes<HTMLDivElement>>;
101
136
 
102
137
  export declare interface DialogProps extends HTMLAttributes<HTMLDivElement> {
@@ -143,6 +178,14 @@ export declare interface InputProps extends React_2.InputHTMLAttributes<HTMLInpu
143
178
  captionClass?: string | undefined;
144
179
  }
145
180
 
181
+ export declare const LongTermBanner: React_2.ForwardRefExoticComponent<LongTermBannerProps & React_2.RefAttributes<HTMLDivElement>>;
182
+
183
+ export declare interface LongTermBannerProps {
184
+ image?: string;
185
+ title?: string | React_2.ReactNode;
186
+ desc?: string | React_2.ReactNode;
187
+ }
188
+
146
189
  export declare const RoundedProgressBar: React_2.ForwardRefExoticComponent<RoundedProgressBarProps & React_2.RefAttributes<HTMLDivElement>>;
147
190
 
148
191
  export declare interface RoundedProgressBarProps {
@@ -193,6 +236,8 @@ export declare const TopNavBar: React_2.ForwardRefExoticComponent<TopNavBarProps
193
236
  export declare interface TopNavBarProps extends HTMLAttributes<HTMLDivElement> {
194
237
  text?: string | ReactNode;
195
238
  onNavBarClick?: () => void;
239
+ isMarquee?: boolean;
240
+ direction?: 'marquee--left' | 'marquee--right' | 'marquee--up' | 'marquee--down';
196
241
  }
197
242
 
198
243
  export declare const TopNavContainerMobile: React_2.ForwardRefExoticComponent<TopNavContainerMobileProps & React_2.RefAttributes<HTMLDivElement>>;