design-system-silkhaus 0.0.87-beta.security-deposit.3 → 0.0.87-beta.weekly-cleaning.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.cjs +15 -134
- package/dist/index.d.ts +72 -169
- package/dist/index.js +1625 -21930
- package/dist/style.css +1 -1
- package/package.json +2 -6
package/dist/index.d.ts
CHANGED
|
@@ -1,16 +1,11 @@
|
|
|
1
|
-
import { CalendarDayShape } from 'react-dates';
|
|
2
1
|
import { ClassProp } from 'class-variance-authority/types';
|
|
3
|
-
import {
|
|
2
|
+
import { default as default_2 } from 'react';
|
|
4
3
|
import { HTMLAttributes } from 'react';
|
|
5
|
-
import
|
|
6
|
-
import { Moment } from 'moment';
|
|
7
|
-
import { default as React_2 } from 'react';
|
|
8
|
-
import * as React_3 from 'react';
|
|
4
|
+
import * as React_2 from 'react';
|
|
9
5
|
import { ReactNode } from 'react';
|
|
10
|
-
import { RefAttributes } from 'react';
|
|
11
6
|
import { VariantProps } from 'class-variance-authority';
|
|
12
7
|
|
|
13
|
-
export declare const Accordion:
|
|
8
|
+
export declare const Accordion: default_2.ForwardRefExoticComponent<AccordionProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
14
9
|
|
|
15
10
|
export declare interface AccordionProps {
|
|
16
11
|
title: string | ReactNode;
|
|
@@ -25,20 +20,7 @@ export declare interface AccordionProps {
|
|
|
25
20
|
isExpanded?: boolean;
|
|
26
21
|
}
|
|
27
22
|
|
|
28
|
-
export declare const
|
|
29
|
-
|
|
30
|
-
export declare interface ActionFooterProps {
|
|
31
|
-
className?: string;
|
|
32
|
-
secondaryBtnClick?: () => void;
|
|
33
|
-
primaryBtnClick: () => void;
|
|
34
|
-
primaryBtnDisabled?: boolean;
|
|
35
|
-
secondaryBtnDisabled?: boolean;
|
|
36
|
-
primaryBtnTxt: string | React_2.ReactNode;
|
|
37
|
-
secondaryBtnTxt?: string | React_2.ReactNode;
|
|
38
|
-
thirdColumn?: React_2.ReactNode;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
export declare const AlertDialog: React_2.ForwardRefExoticComponent<AlertDialogProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
23
|
+
export declare const AlertDialog: default_2.ForwardRefExoticComponent<AlertDialogProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
42
24
|
|
|
43
25
|
export declare interface AlertDialogProps {
|
|
44
26
|
outerDivClassName?: string;
|
|
@@ -55,37 +37,24 @@ export declare interface AlertDialogProps {
|
|
|
55
37
|
onSecondaryBtnClick?: () => void;
|
|
56
38
|
}
|
|
57
39
|
|
|
58
|
-
export declare const AnimatedModal: ForwardRefExoticComponent<AnimatedModalProps & RefAttributes<HTMLDivElement>>;
|
|
40
|
+
export declare const AnimatedModal: default_2.ForwardRefExoticComponent<AnimatedModalProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
59
41
|
|
|
60
42
|
export declare interface AnimatedModalProps extends HTMLAttributes<HTMLDivElement> {
|
|
61
43
|
show: boolean;
|
|
62
44
|
handleClose?: () => void;
|
|
45
|
+
staticBackdrop?: boolean;
|
|
63
46
|
animation?: 'slideUp' | 'slideDown' | 'fadeIn';
|
|
64
|
-
/**
|
|
65
|
-
* @deprecated
|
|
66
|
-
* Apply styles using `contentClassName` instead
|
|
67
|
-
*/
|
|
68
|
-
marginTop?: string;
|
|
69
|
-
/**
|
|
70
|
-
* @deprecated
|
|
71
|
-
* Apply styles using `contentClassName` instead
|
|
72
|
-
*/
|
|
73
|
-
maxWidth?: string;
|
|
74
|
-
/**
|
|
75
|
-
* classes to apply on container that wraps the children passed to AnimatedModal
|
|
76
|
-
*/
|
|
77
|
-
contentClassName?: string;
|
|
78
47
|
}
|
|
79
48
|
|
|
80
|
-
export declare const Asterisk:
|
|
49
|
+
export declare const Asterisk: default_2.ForwardRefExoticComponent<AsteriskProps & default_2.RefAttributes<HTMLSpanElement>>;
|
|
81
50
|
|
|
82
51
|
declare interface AsteriskProps {
|
|
83
52
|
className?: string;
|
|
84
53
|
}
|
|
85
54
|
|
|
86
|
-
export declare const BookingQuoteCard:
|
|
55
|
+
export declare const BookingQuoteCard: default_2.ForwardRefExoticComponent<BookingQuoteCardProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
87
56
|
|
|
88
|
-
export declare interface BookingQuoteCardProps extends
|
|
57
|
+
export declare interface BookingQuoteCardProps extends default_2.HTMLAttributes<HTMLDivElement> {
|
|
89
58
|
items: BookingQuoteLineItemType[];
|
|
90
59
|
isExpandedInMobile?: boolean;
|
|
91
60
|
}
|
|
@@ -95,35 +64,59 @@ export declare interface BookingQuoteLineItemType {
|
|
|
95
64
|
display_name: string;
|
|
96
65
|
currency_converted_amount: string;
|
|
97
66
|
type: string;
|
|
98
|
-
description?: string;
|
|
99
67
|
}
|
|
100
68
|
|
|
101
|
-
export declare const Button:
|
|
69
|
+
export declare const Button: default_2.ForwardRefExoticComponent<ButtonProps & default_2.RefAttributes<HTMLButtonElement>>;
|
|
102
70
|
|
|
103
|
-
export declare interface ButtonProps extends
|
|
71
|
+
export declare interface ButtonProps extends default_2.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
104
72
|
color?: 'primary' | 'secondary' | 'tertiary' | 'quaternary';
|
|
105
73
|
size?: 'small' | 'large';
|
|
106
74
|
disabled?: true | false;
|
|
107
|
-
startIcon?:
|
|
108
|
-
endIcon?:
|
|
75
|
+
startIcon?: default_2.ReactNode;
|
|
76
|
+
endIcon?: default_2.ReactNode;
|
|
77
|
+
selected?: boolean;
|
|
109
78
|
}
|
|
110
79
|
|
|
111
|
-
export declare const
|
|
80
|
+
export declare const ButtonsGroupSelector: default_2.ForwardRefExoticComponent<ButtonsGroupSelectorProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
112
81
|
|
|
113
|
-
export declare
|
|
82
|
+
export declare interface ButtonsGroupSelectorProps extends HTMLAttributes<HTMLDivElement> {
|
|
83
|
+
label?: string;
|
|
84
|
+
value?: Array<{
|
|
85
|
+
label: string;
|
|
86
|
+
value: string;
|
|
87
|
+
}>;
|
|
88
|
+
options: Array<{
|
|
89
|
+
label: string;
|
|
90
|
+
value: string;
|
|
91
|
+
}>;
|
|
92
|
+
onSelectionChange?: (selected: Array<{
|
|
93
|
+
label: string;
|
|
94
|
+
value: string;
|
|
95
|
+
}>) => void;
|
|
96
|
+
placeholder?: string;
|
|
97
|
+
selected?: boolean;
|
|
98
|
+
isMultiSelect?: boolean;
|
|
99
|
+
noDataError?: string;
|
|
100
|
+
minWidthButton?: string;
|
|
101
|
+
buttonWidth?: string;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
export declare const Card: React_2.ForwardRefExoticComponent<CardProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
114
105
|
|
|
115
|
-
export declare const
|
|
106
|
+
export declare const CardContent: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
|
|
116
107
|
|
|
117
|
-
export declare const
|
|
108
|
+
export declare const CardDescription: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
|
|
118
109
|
|
|
119
|
-
export declare const
|
|
110
|
+
export declare const CardFooter: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
|
|
120
111
|
|
|
121
|
-
declare
|
|
112
|
+
export declare const CardHeader: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
|
|
113
|
+
|
|
114
|
+
declare interface CardProps extends React_2.HTMLAttributes<HTMLDivElement>, CardVariantProps {
|
|
122
115
|
asChild?: boolean;
|
|
123
116
|
as?: string;
|
|
124
117
|
}
|
|
125
118
|
|
|
126
|
-
export declare const CardTitle:
|
|
119
|
+
export declare const CardTitle: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
|
|
127
120
|
|
|
128
121
|
export declare type CardVariantProps = VariantProps<typeof cardVariants>;
|
|
129
122
|
|
|
@@ -131,50 +124,15 @@ declare const cardVariants: (props?: ({
|
|
|
131
124
|
cardType?: "default" | "shadowCard" | null | undefined;
|
|
132
125
|
} & ClassProp) | undefined) => string;
|
|
133
126
|
|
|
134
|
-
export declare const
|
|
135
|
-
|
|
136
|
-
declare interface DateRangePickerProps {
|
|
137
|
-
startDatePlaceholderText?: string;
|
|
138
|
-
endDatePlaceholderText?: string;
|
|
139
|
-
onDatesSelected?: (dates: {
|
|
140
|
-
startDate: Moment | null;
|
|
141
|
-
endDate: Moment | null;
|
|
142
|
-
}) => void;
|
|
143
|
-
onDatesChange?: (dates: {
|
|
144
|
-
startDate: Moment | null;
|
|
145
|
-
endDate: Moment | null;
|
|
146
|
-
}) => void;
|
|
147
|
-
initialStartDate?: Moment | null;
|
|
148
|
-
initialEndDate?: Moment | null;
|
|
149
|
-
focusedInput?: 'startDate' | 'endDate' | null;
|
|
150
|
-
onFocusChange?: (focusedInput: 'startDate' | 'endDate' | null) => void;
|
|
151
|
-
lTBannerImage?: string;
|
|
152
|
-
lTBannerTitle?: string | React_2.ReactNode;
|
|
153
|
-
lTBannerDesc?: string | React_2.ReactNode;
|
|
154
|
-
lTBannerBgColor?: string;
|
|
155
|
-
thirdColumn?: string | React_2.ReactNode;
|
|
156
|
-
onMobileCloseClick: () => void;
|
|
157
|
-
onOutsideClick?: (e: unknown) => void;
|
|
158
|
-
onPrevMonthClick?: (e: unknown) => void;
|
|
159
|
-
onNextMonthClick?: (e: unknown) => void;
|
|
160
|
-
renderCalendarDay?: (props: CalendarDayShape) => React_2.ReactNode | undefined;
|
|
161
|
-
isDayBlocked?: ((day: Moment) => boolean) | undefined;
|
|
162
|
-
renderDayContents?: (day: Moment, modifiers: ModifiersShape) => React_2.ReactNode | null | undefined;
|
|
163
|
-
renderCalendarInfo?: () => React_2.ReactNode | null | undefined;
|
|
164
|
-
_daySize?: number;
|
|
165
|
-
_mobileDaySize?: number;
|
|
166
|
-
mobileBreakPoint?: number;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
export declare const Dialog: React_2.ForwardRefExoticComponent<DialogProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
127
|
+
export declare const Dialog: default_2.ForwardRefExoticComponent<DialogProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
170
128
|
|
|
171
129
|
export declare interface DialogProps extends HTMLAttributes<HTMLDivElement> {
|
|
172
130
|
open: boolean;
|
|
173
131
|
}
|
|
174
132
|
|
|
175
|
-
export declare const Grid:
|
|
133
|
+
export declare const Grid: React_2.ForwardRefExoticComponent<GridProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
176
134
|
|
|
177
|
-
export declare interface GridProps extends
|
|
135
|
+
export declare interface GridProps extends React_2.HTMLAttributes<HTMLDivElement>, Omit<GridVariantProps, 'optional'> {
|
|
178
136
|
asChild?: boolean;
|
|
179
137
|
}
|
|
180
138
|
|
|
@@ -193,23 +151,23 @@ declare const gridVariants: (props?: ({
|
|
|
193
151
|
placeItems?: "start" | "end" | "center" | "stretch" | "baseline" | null | undefined;
|
|
194
152
|
} & ClassProp) | undefined) => string;
|
|
195
153
|
|
|
196
|
-
export declare const IconButton:
|
|
154
|
+
export declare const IconButton: default_2.ForwardRefExoticComponent<IconButtonProps & default_2.RefAttributes<HTMLButtonElement>>;
|
|
197
155
|
|
|
198
|
-
export declare interface IconButtonProps extends
|
|
156
|
+
export declare interface IconButtonProps extends default_2.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
199
157
|
color?: 'primary' | 'secondary' | 'tertiary' | 'quaternary';
|
|
200
158
|
size?: 'small' | 'large';
|
|
201
159
|
disabled?: true | false;
|
|
202
160
|
}
|
|
203
161
|
|
|
204
|
-
export declare const ImageCarousel:
|
|
162
|
+
export declare const ImageCarousel: default_2.ForwardRefExoticComponent<ImageCarouselProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
205
163
|
|
|
206
|
-
export declare interface ImageCarouselProps extends
|
|
164
|
+
export declare interface ImageCarouselProps extends default_2.HTMLAttributes<HTMLDivElement> {
|
|
207
165
|
images: string[];
|
|
208
166
|
}
|
|
209
167
|
|
|
210
|
-
export declare const Input:
|
|
168
|
+
export declare const Input: default_2.ForwardRefExoticComponent<InputProps & default_2.RefAttributes<HTMLInputElement>>;
|
|
211
169
|
|
|
212
|
-
export declare interface InputProps extends
|
|
170
|
+
export declare interface InputProps extends default_2.InputHTMLAttributes<HTMLInputElement | HTMLTextAreaElement> {
|
|
213
171
|
textarea?: true | false | undefined;
|
|
214
172
|
label?: string | undefined;
|
|
215
173
|
caption?: string | undefined;
|
|
@@ -220,72 +178,7 @@ export declare interface InputProps extends React_2.InputHTMLAttributes<HTMLInpu
|
|
|
220
178
|
captionClass?: string | undefined;
|
|
221
179
|
}
|
|
222
180
|
|
|
223
|
-
export declare const
|
|
224
|
-
|
|
225
|
-
export declare interface LongTermBannerProps {
|
|
226
|
-
image: string;
|
|
227
|
-
title: string | React_2.ReactNode;
|
|
228
|
-
desc: string | React_2.ReactNode;
|
|
229
|
-
size: 'small' | 'large';
|
|
230
|
-
bgColor: string;
|
|
231
|
-
className?: string;
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
export declare const MobileFilterMenu: React_2.ForwardRefExoticComponent<MobileFilterMenuProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
235
|
-
|
|
236
|
-
export declare interface MobileFilterMenuProps extends HTMLAttributes<HTMLDivElement> {
|
|
237
|
-
show: boolean;
|
|
238
|
-
handleClose?: () => void;
|
|
239
|
-
staticBackdrop?: boolean;
|
|
240
|
-
filterHeader?: string;
|
|
241
|
-
filterDescription?: string;
|
|
242
|
-
closeIcon?: string;
|
|
243
|
-
animation?: 'slideDown' | 'slideUp' | 'fadeIn' | 'none';
|
|
244
|
-
isSecondary?: boolean;
|
|
245
|
-
backgroundImage?: string;
|
|
246
|
-
marginTop?: string;
|
|
247
|
-
maxWidth?: string;
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
export declare const MobileMultiSelectFilterDropDown: React_2.ForwardRefExoticComponent<MobileMultiSelectFilterDropDownProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
251
|
-
|
|
252
|
-
export declare interface MobileMultiSelectFilterDropDownProps extends HTMLAttributes<HTMLDivElement> {
|
|
253
|
-
label?: string;
|
|
254
|
-
value?: Array<{
|
|
255
|
-
label: string;
|
|
256
|
-
}>;
|
|
257
|
-
options: Array<{
|
|
258
|
-
label: string;
|
|
259
|
-
}>;
|
|
260
|
-
onSelectionChange?: (selected: Array<{
|
|
261
|
-
label: string;
|
|
262
|
-
}>) => void;
|
|
263
|
-
placeholder?: string;
|
|
264
|
-
selected?: boolean;
|
|
265
|
-
setCheckBoxValue?: boolean;
|
|
266
|
-
dropdownIcon?: string;
|
|
267
|
-
error?: string;
|
|
268
|
-
noDataError?: string;
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
export declare const MobileSelectCardDropDown: React_2.ForwardRefExoticComponent<MobileSelectCardDropDownProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
272
|
-
|
|
273
|
-
export declare interface MobileSelectCardDropDownProps extends HTMLAttributes<HTMLDivElement> {
|
|
274
|
-
label?: string;
|
|
275
|
-
value?: string;
|
|
276
|
-
options: {
|
|
277
|
-
imgUrl: string;
|
|
278
|
-
label: string;
|
|
279
|
-
}[];
|
|
280
|
-
onSelectionChange?: (selected: unknown) => void;
|
|
281
|
-
placeholder?: string;
|
|
282
|
-
selected?: boolean;
|
|
283
|
-
dropdownIcon?: string;
|
|
284
|
-
error?: string;
|
|
285
|
-
noDataError?: string;
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
export declare const RoundedProgressBar: React_2.ForwardRefExoticComponent<RoundedProgressBarProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
181
|
+
export declare const RoundedProgressBar: default_2.ForwardRefExoticComponent<RoundedProgressBarProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
289
182
|
|
|
290
183
|
export declare interface RoundedProgressBarProps {
|
|
291
184
|
progress: number;
|
|
@@ -305,7 +198,7 @@ export declare interface Step {
|
|
|
305
198
|
mobileNextTitle: string;
|
|
306
199
|
}
|
|
307
200
|
|
|
308
|
-
export declare const Stepper:
|
|
201
|
+
export declare const Stepper: default_2.ForwardRefExoticComponent<StepperProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
309
202
|
|
|
310
203
|
export declare interface StepperProps {
|
|
311
204
|
steps: Step[];
|
|
@@ -313,16 +206,16 @@ export declare interface StepperProps {
|
|
|
313
206
|
outerMobileDivClass?: string;
|
|
314
207
|
}
|
|
315
208
|
|
|
316
|
-
export declare const Switch:
|
|
209
|
+
export declare const Switch: default_2.ForwardRefExoticComponent<SwitchProps & default_2.RefAttributes<HTMLInputElement>>;
|
|
317
210
|
|
|
318
211
|
export declare interface SwitchProps {
|
|
319
212
|
checked: boolean;
|
|
320
|
-
onChange: (event:
|
|
213
|
+
onChange: (event: default_2.ChangeEvent<HTMLInputElement>) => void;
|
|
321
214
|
disabled?: boolean;
|
|
322
215
|
htmlId?: string;
|
|
323
216
|
}
|
|
324
217
|
|
|
325
|
-
export declare const Timer:
|
|
218
|
+
export declare const Timer: default_2.ForwardRefExoticComponent<TimerProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
326
219
|
|
|
327
220
|
export declare interface TimerProps {
|
|
328
221
|
time: number;
|
|
@@ -330,7 +223,17 @@ export declare interface TimerProps {
|
|
|
330
223
|
outerDivClass?: string;
|
|
331
224
|
}
|
|
332
225
|
|
|
333
|
-
export declare const
|
|
226
|
+
export declare const ToggleCard: default_2.ForwardRefExoticComponent<ToggleCardProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
227
|
+
|
|
228
|
+
export declare interface ToggleCardProps extends HTMLAttributes<HTMLDivElement> {
|
|
229
|
+
cardImg?: string;
|
|
230
|
+
onSelectionChange: (event: default_2.ChangeEvent<HTMLInputElement>) => void;
|
|
231
|
+
heading?: string;
|
|
232
|
+
enabled: boolean;
|
|
233
|
+
subHeading?: string;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
export declare const TopNavBar: default_2.ForwardRefExoticComponent<TopNavBarProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
334
237
|
|
|
335
238
|
export declare interface TopNavBarProps extends HTMLAttributes<HTMLDivElement> {
|
|
336
239
|
text?: string | ReactNode;
|
|
@@ -339,7 +242,7 @@ export declare interface TopNavBarProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
339
242
|
direction?: 'marquee--left' | 'marquee--right' | 'marquee--up' | 'marquee--down';
|
|
340
243
|
}
|
|
341
244
|
|
|
342
|
-
export declare const TopNavContainerMobile:
|
|
245
|
+
export declare const TopNavContainerMobile: default_2.ForwardRefExoticComponent<TopNavContainerMobileProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
343
246
|
|
|
344
247
|
export declare interface TopNavContainerMobileProps extends HTMLAttributes<HTMLDivElement> {
|
|
345
248
|
img: string;
|
|
@@ -351,7 +254,7 @@ export declare interface TopNavContainerMobileProps extends HTMLAttributes<HTMLD
|
|
|
351
254
|
buttonText: string;
|
|
352
255
|
}
|
|
353
256
|
|
|
354
|
-
export declare const TwoColumnDialog:
|
|
257
|
+
export declare const TwoColumnDialog: default_2.ForwardRefExoticComponent<TwoColumnDialogProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
355
258
|
|
|
356
259
|
export declare interface TwoColumnDialogProps extends HTMLAttributes<HTMLDivElement> {
|
|
357
260
|
img: string;
|