design-system-silkhaus 0.0.85-beta.1 → 0.0.85-beta.10
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 +29 -29
- package/dist/index.d.ts +19 -5
- package/dist/index.js +4494 -4468
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import { CalendarDayShape } from 'react-dates';
|
|
1
2
|
import { ClassProp } from 'class-variance-authority/types';
|
|
2
3
|
import { HTMLAttributes } from 'react';
|
|
4
|
+
import { ModifiersShape } from 'react-dates';
|
|
3
5
|
import { Moment } from 'moment';
|
|
4
6
|
import { default as React_2 } from 'react';
|
|
5
7
|
import * as React_3 from 'react';
|
|
@@ -32,7 +34,6 @@ export declare interface ActionFooterProps {
|
|
|
32
34
|
primaryBtnTxt: string | React_2.ReactNode;
|
|
33
35
|
secondaryBtnTxt?: string | React_2.ReactNode;
|
|
34
36
|
thirdColumn?: React_2.ReactNode;
|
|
35
|
-
relevance: 'primary' | 'secondary';
|
|
36
37
|
}
|
|
37
38
|
|
|
38
39
|
export declare const AlertDialog: React_2.ForwardRefExoticComponent<AlertDialogProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
@@ -119,6 +120,10 @@ export declare const DateRangePicker: React_2.ForwardRefExoticComponent<DateRang
|
|
|
119
120
|
declare interface DateRangePickerProps {
|
|
120
121
|
startDatePlaceholderText?: string;
|
|
121
122
|
endDatePlaceholderText?: string;
|
|
123
|
+
onDatesSelected?: (dates: {
|
|
124
|
+
startDate: Moment | null;
|
|
125
|
+
endDate: Moment | null;
|
|
126
|
+
}) => void;
|
|
122
127
|
onDatesChange?: (dates: {
|
|
123
128
|
startDate: Moment | null;
|
|
124
129
|
endDate: Moment | null;
|
|
@@ -130,10 +135,18 @@ declare interface DateRangePickerProps {
|
|
|
130
135
|
lTBannerImage?: string;
|
|
131
136
|
lTBannerTitle?: string | React_2.ReactNode;
|
|
132
137
|
lTBannerDesc?: string | React_2.ReactNode;
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
138
|
+
lTBannerBgColor?: string;
|
|
139
|
+
thirdColumn?: string | React_2.ReactNode;
|
|
140
|
+
onMobileCloseClick: () => void;
|
|
141
|
+
onOutsideClick?: (e: unknown) => void;
|
|
142
|
+
onPrevMonthClick?: (e: unknown) => void;
|
|
143
|
+
onNextMonthClick?: (e: unknown) => void;
|
|
144
|
+
renderCalendarDay?: (props: CalendarDayShape) => React_2.ReactNode | undefined;
|
|
145
|
+
renderDayContents?: (day: Moment, modifiers: ModifiersShape) => React_2.ReactNode | null | undefined;
|
|
146
|
+
renderCalendarInfo?: () => React_2.ReactNode | null | undefined;
|
|
147
|
+
_daySize?: number;
|
|
148
|
+
_mobileDaySize?: number;
|
|
149
|
+
mobileBreakPoint?: number;
|
|
137
150
|
}
|
|
138
151
|
|
|
139
152
|
export declare const Dialog: React_2.ForwardRefExoticComponent<DialogProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
@@ -198,6 +211,7 @@ export declare interface LongTermBannerProps {
|
|
|
198
211
|
desc: string | React_2.ReactNode;
|
|
199
212
|
size: 'small' | 'large';
|
|
200
213
|
bgColor: string;
|
|
214
|
+
className?: string;
|
|
201
215
|
}
|
|
202
216
|
|
|
203
217
|
export declare const RoundedProgressBar: React_2.ForwardRefExoticComponent<RoundedProgressBarProps & React_2.RefAttributes<HTMLDivElement>>;
|