design-system-silkhaus 0.0.87-beta.develop-long-term-pricing-fixes.0 → 0.0.87-beta.develop-long-term-pricing.12
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 +64 -55
- package/dist/index.d.ts +52 -52
- package/dist/index.js +11531 -13340
- package/dist/style.css +1 -1
- package/package.json +2 -4
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { CalendarDayShape } from 'react-dates';
|
|
2
2
|
import { ClassProp } from 'class-variance-authority/types';
|
|
3
|
-
import { default as default_2 } from 'react';
|
|
4
3
|
import { FC } from 'react';
|
|
5
4
|
import { ForwardRefExoticComponent } from 'react';
|
|
6
5
|
import { HTMLAttributes } from 'react';
|
|
@@ -8,12 +7,13 @@ import { ModifiersShape } from 'react-dates';
|
|
|
8
7
|
import { Moment } from 'moment';
|
|
9
8
|
import { Placement } from '@floating-ui/react';
|
|
10
9
|
import { PropsWithChildren } from 'react';
|
|
11
|
-
import
|
|
10
|
+
import { default as React_2 } from 'react';
|
|
11
|
+
import * as React_3 from 'react';
|
|
12
12
|
import { ReactNode } from 'react';
|
|
13
13
|
import { RefAttributes } from 'react';
|
|
14
14
|
import { VariantProps } from 'class-variance-authority';
|
|
15
15
|
|
|
16
|
-
export declare const Accordion:
|
|
16
|
+
export declare const Accordion: React_2.ForwardRefExoticComponent<AccordionProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
17
17
|
|
|
18
18
|
export declare interface AccordionProps {
|
|
19
19
|
title: string | ReactNode;
|
|
@@ -28,7 +28,7 @@ export declare interface AccordionProps {
|
|
|
28
28
|
isExpanded?: boolean;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
export declare const ActionFooter:
|
|
31
|
+
export declare const ActionFooter: React_2.ForwardRefExoticComponent<ActionFooterProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
32
32
|
|
|
33
33
|
export declare interface ActionFooterProps {
|
|
34
34
|
className?: string;
|
|
@@ -36,12 +36,12 @@ export declare interface ActionFooterProps {
|
|
|
36
36
|
primaryBtnClick: () => void;
|
|
37
37
|
primaryBtnDisabled?: boolean;
|
|
38
38
|
secondaryBtnDisabled?: boolean;
|
|
39
|
-
primaryBtnTxt: string |
|
|
40
|
-
secondaryBtnTxt?: string |
|
|
41
|
-
thirdColumn?:
|
|
39
|
+
primaryBtnTxt: string | React_2.ReactNode;
|
|
40
|
+
secondaryBtnTxt?: string | React_2.ReactNode;
|
|
41
|
+
thirdColumn?: React_2.ReactNode;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
export declare const AlertDialog:
|
|
44
|
+
export declare const AlertDialog: React_2.ForwardRefExoticComponent<AlertDialogProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
45
45
|
|
|
46
46
|
export declare interface AlertDialogProps {
|
|
47
47
|
outerDivClassName?: string;
|
|
@@ -80,15 +80,15 @@ export declare interface AnimatedModalProps extends HTMLAttributes<HTMLDivElemen
|
|
|
80
80
|
contentClassName?: string;
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export declare const Asterisk:
|
|
83
|
+
export declare const Asterisk: React_2.ForwardRefExoticComponent<AsteriskProps & React_2.RefAttributes<HTMLSpanElement>>;
|
|
84
84
|
|
|
85
85
|
declare interface AsteriskProps {
|
|
86
86
|
className?: string;
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export declare const BookingQuoteCard:
|
|
89
|
+
export declare const BookingQuoteCard: React_2.ForwardRefExoticComponent<BookingQuoteCardProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
90
90
|
|
|
91
|
-
export declare interface BookingQuoteCardProps extends
|
|
91
|
+
export declare interface BookingQuoteCardProps extends React_2.HTMLAttributes<HTMLDivElement> {
|
|
92
92
|
items: BookingQuoteLineItemType[];
|
|
93
93
|
isExpandedInMobile?: boolean;
|
|
94
94
|
}
|
|
@@ -101,32 +101,32 @@ export declare interface BookingQuoteLineItemType {
|
|
|
101
101
|
description?: string;
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
-
export declare const Button:
|
|
104
|
+
export declare const Button: React_2.ForwardRefExoticComponent<ButtonProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
105
105
|
|
|
106
|
-
export declare interface ButtonProps extends
|
|
106
|
+
export declare interface ButtonProps extends React_2.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
107
107
|
color?: 'primary' | 'secondary' | 'tertiary' | 'quaternary';
|
|
108
108
|
size?: 'small' | 'large';
|
|
109
109
|
disabled?: true | false;
|
|
110
|
-
startIcon?:
|
|
111
|
-
endIcon?:
|
|
110
|
+
startIcon?: React_2.ReactNode;
|
|
111
|
+
endIcon?: React_2.ReactNode;
|
|
112
112
|
}
|
|
113
113
|
|
|
114
|
-
export declare const Card:
|
|
114
|
+
export declare const Card: React_3.ForwardRefExoticComponent<CardProps & React_3.RefAttributes<HTMLDivElement>>;
|
|
115
115
|
|
|
116
|
-
export declare const CardContent:
|
|
116
|
+
export declare const CardContent: React_3.ForwardRefExoticComponent<React_3.HTMLAttributes<HTMLDivElement> & React_3.RefAttributes<HTMLDivElement>>;
|
|
117
117
|
|
|
118
|
-
export declare const CardDescription:
|
|
118
|
+
export declare const CardDescription: React_3.ForwardRefExoticComponent<React_3.HTMLAttributes<HTMLDivElement> & React_3.RefAttributes<HTMLDivElement>>;
|
|
119
119
|
|
|
120
|
-
export declare const CardFooter:
|
|
120
|
+
export declare const CardFooter: React_3.ForwardRefExoticComponent<React_3.HTMLAttributes<HTMLDivElement> & React_3.RefAttributes<HTMLDivElement>>;
|
|
121
121
|
|
|
122
|
-
export declare const CardHeader:
|
|
122
|
+
export declare const CardHeader: React_3.ForwardRefExoticComponent<React_3.HTMLAttributes<HTMLDivElement> & React_3.RefAttributes<HTMLDivElement>>;
|
|
123
123
|
|
|
124
|
-
declare interface CardProps extends
|
|
124
|
+
declare interface CardProps extends React_3.HTMLAttributes<HTMLDivElement>, CardVariantProps {
|
|
125
125
|
asChild?: boolean;
|
|
126
126
|
as?: string;
|
|
127
127
|
}
|
|
128
128
|
|
|
129
|
-
export declare const CardTitle:
|
|
129
|
+
export declare const CardTitle: React_3.ForwardRefExoticComponent<React_3.HTMLAttributes<HTMLDivElement> & React_3.RefAttributes<HTMLDivElement>>;
|
|
130
130
|
|
|
131
131
|
export declare type CardVariantProps = VariantProps<typeof cardVariants>;
|
|
132
132
|
|
|
@@ -138,7 +138,7 @@ export declare const CloseIcon: FC<{
|
|
|
138
138
|
className?: string;
|
|
139
139
|
}>;
|
|
140
140
|
|
|
141
|
-
export declare const DateRangePicker:
|
|
141
|
+
export declare const DateRangePicker: React_2.ForwardRefExoticComponent<DateRangePickerProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
142
142
|
|
|
143
143
|
declare interface DateRangePickerProps {
|
|
144
144
|
startDatePlaceholderText?: string;
|
|
@@ -156,18 +156,18 @@ declare interface DateRangePickerProps {
|
|
|
156
156
|
focusedInput?: 'startDate' | 'endDate' | null;
|
|
157
157
|
onFocusChange?: (focusedInput: 'startDate' | 'endDate' | null) => void;
|
|
158
158
|
lTBannerImage?: string;
|
|
159
|
-
lTBannerTitle?: string |
|
|
160
|
-
lTBannerDesc?: string |
|
|
159
|
+
lTBannerTitle?: string | React_2.ReactNode;
|
|
160
|
+
lTBannerDesc?: string | React_2.ReactNode;
|
|
161
161
|
lTBannerBgColor?: string;
|
|
162
|
-
thirdColumn?: string |
|
|
162
|
+
thirdColumn?: string | React_2.ReactNode;
|
|
163
163
|
onMobileCloseClick: () => void;
|
|
164
164
|
onOutsideClick?: (e: unknown) => void;
|
|
165
165
|
onPrevMonthClick?: (e: unknown) => void;
|
|
166
166
|
onNextMonthClick?: (e: unknown) => void;
|
|
167
|
-
renderCalendarDay?: (props: CalendarDayShape) =>
|
|
167
|
+
renderCalendarDay?: (props: CalendarDayShape) => React_2.ReactNode | undefined;
|
|
168
168
|
isDayBlocked?: ((day: Moment) => boolean) | undefined;
|
|
169
|
-
renderDayContents?: (day: Moment, modifiers: ModifiersShape) =>
|
|
170
|
-
renderCalendarInfo?: () =>
|
|
169
|
+
renderDayContents?: (day: Moment, modifiers: ModifiersShape) => React_2.ReactNode | null | undefined;
|
|
170
|
+
renderCalendarInfo?: () => React_2.ReactNode | null | undefined;
|
|
171
171
|
_daySize?: number;
|
|
172
172
|
_mobileDaySize?: number;
|
|
173
173
|
mobileBreakPoint?: number;
|
|
@@ -175,15 +175,15 @@ declare interface DateRangePickerProps {
|
|
|
175
175
|
|
|
176
176
|
export declare const DesktopTooltip: FC<PropsWithChildren<TooltipProps>>;
|
|
177
177
|
|
|
178
|
-
export declare const Dialog:
|
|
178
|
+
export declare const Dialog: React_2.ForwardRefExoticComponent<DialogProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
179
179
|
|
|
180
180
|
export declare interface DialogProps extends HTMLAttributes<HTMLDivElement> {
|
|
181
181
|
open: boolean;
|
|
182
182
|
}
|
|
183
183
|
|
|
184
|
-
export declare const Grid:
|
|
184
|
+
export declare const Grid: React_3.ForwardRefExoticComponent<GridProps & React_3.RefAttributes<HTMLDivElement>>;
|
|
185
185
|
|
|
186
|
-
export declare interface GridProps extends
|
|
186
|
+
export declare interface GridProps extends React_3.HTMLAttributes<HTMLDivElement>, Omit<GridVariantProps, 'optional'> {
|
|
187
187
|
asChild?: boolean;
|
|
188
188
|
}
|
|
189
189
|
|
|
@@ -202,23 +202,23 @@ declare const gridVariants: (props?: ({
|
|
|
202
202
|
placeItems?: "start" | "end" | "center" | "stretch" | "baseline" | null | undefined;
|
|
203
203
|
} & ClassProp) | undefined) => string;
|
|
204
204
|
|
|
205
|
-
export declare const IconButton:
|
|
205
|
+
export declare const IconButton: React_2.ForwardRefExoticComponent<IconButtonProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
206
206
|
|
|
207
|
-
export declare interface IconButtonProps extends
|
|
207
|
+
export declare interface IconButtonProps extends React_2.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
208
208
|
color?: 'primary' | 'secondary' | 'tertiary' | 'quaternary';
|
|
209
209
|
size?: 'small' | 'large';
|
|
210
210
|
disabled?: true | false;
|
|
211
211
|
}
|
|
212
212
|
|
|
213
|
-
export declare const ImageCarousel:
|
|
213
|
+
export declare const ImageCarousel: React_2.ForwardRefExoticComponent<ImageCarouselProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
214
214
|
|
|
215
|
-
export declare interface ImageCarouselProps extends
|
|
215
|
+
export declare interface ImageCarouselProps extends React_2.HTMLAttributes<HTMLDivElement> {
|
|
216
216
|
images: string[];
|
|
217
217
|
}
|
|
218
218
|
|
|
219
|
-
export declare const Input:
|
|
219
|
+
export declare const Input: React_2.ForwardRefExoticComponent<InputProps & React_2.RefAttributes<HTMLInputElement>>;
|
|
220
220
|
|
|
221
|
-
export declare interface InputProps extends
|
|
221
|
+
export declare interface InputProps extends React_2.InputHTMLAttributes<HTMLInputElement | HTMLTextAreaElement> {
|
|
222
222
|
textarea?: true | false | undefined;
|
|
223
223
|
label?: string | undefined;
|
|
224
224
|
caption?: string | undefined;
|
|
@@ -229,18 +229,18 @@ export declare interface InputProps extends default_2.InputHTMLAttributes<HTMLIn
|
|
|
229
229
|
captionClass?: string | undefined;
|
|
230
230
|
}
|
|
231
231
|
|
|
232
|
-
export declare const LongTermBanner:
|
|
232
|
+
export declare const LongTermBanner: React_2.ForwardRefExoticComponent<LongTermBannerProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
233
233
|
|
|
234
234
|
export declare interface LongTermBannerProps {
|
|
235
235
|
image: string;
|
|
236
|
-
title: string |
|
|
237
|
-
desc: string |
|
|
236
|
+
title: string | React_2.ReactNode;
|
|
237
|
+
desc: string | React_2.ReactNode;
|
|
238
238
|
size: 'small' | 'large';
|
|
239
239
|
bgColor: string;
|
|
240
240
|
className?: string;
|
|
241
241
|
}
|
|
242
242
|
|
|
243
|
-
export declare const MobileFilterMenu:
|
|
243
|
+
export declare const MobileFilterMenu: React_2.ForwardRefExoticComponent<MobileFilterMenuProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
244
244
|
|
|
245
245
|
export declare interface MobileFilterMenuProps extends HTMLAttributes<HTMLDivElement> {
|
|
246
246
|
show: boolean;
|
|
@@ -256,7 +256,7 @@ export declare interface MobileFilterMenuProps extends HTMLAttributes<HTMLDivEle
|
|
|
256
256
|
maxWidth?: string;
|
|
257
257
|
}
|
|
258
258
|
|
|
259
|
-
export declare const MobileMultiSelectFilterDropDown:
|
|
259
|
+
export declare const MobileMultiSelectFilterDropDown: React_2.ForwardRefExoticComponent<MobileMultiSelectFilterDropDownProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
260
260
|
|
|
261
261
|
export declare interface MobileMultiSelectFilterDropDownProps extends HTMLAttributes<HTMLDivElement> {
|
|
262
262
|
label?: string;
|
|
@@ -277,7 +277,7 @@ export declare interface MobileMultiSelectFilterDropDownProps extends HTMLAttrib
|
|
|
277
277
|
noDataError?: string;
|
|
278
278
|
}
|
|
279
279
|
|
|
280
|
-
export declare const MobileSelectCardDropDown:
|
|
280
|
+
export declare const MobileSelectCardDropDown: React_2.ForwardRefExoticComponent<MobileSelectCardDropDownProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
281
281
|
|
|
282
282
|
export declare interface MobileSelectCardDropDownProps extends HTMLAttributes<HTMLDivElement> {
|
|
283
283
|
label?: string;
|
|
@@ -300,7 +300,7 @@ export declare const QuestionMarkIcon: FC<{
|
|
|
300
300
|
className?: string;
|
|
301
301
|
}>;
|
|
302
302
|
|
|
303
|
-
export declare const RoundedProgressBar:
|
|
303
|
+
export declare const RoundedProgressBar: React_2.ForwardRefExoticComponent<RoundedProgressBarProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
304
304
|
|
|
305
305
|
export declare interface RoundedProgressBarProps {
|
|
306
306
|
progress: number;
|
|
@@ -320,7 +320,7 @@ export declare interface Step {
|
|
|
320
320
|
mobileNextTitle: string;
|
|
321
321
|
}
|
|
322
322
|
|
|
323
|
-
export declare const Stepper:
|
|
323
|
+
export declare const Stepper: React_2.ForwardRefExoticComponent<StepperProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
324
324
|
|
|
325
325
|
export declare interface StepperProps {
|
|
326
326
|
steps: Step[];
|
|
@@ -328,16 +328,16 @@ export declare interface StepperProps {
|
|
|
328
328
|
outerMobileDivClass?: string;
|
|
329
329
|
}
|
|
330
330
|
|
|
331
|
-
export declare const Switch:
|
|
331
|
+
export declare const Switch: React_2.ForwardRefExoticComponent<SwitchProps & React_2.RefAttributes<HTMLInputElement>>;
|
|
332
332
|
|
|
333
333
|
export declare interface SwitchProps {
|
|
334
334
|
checked: boolean;
|
|
335
|
-
onChange: (event:
|
|
335
|
+
onChange: (event: React_2.ChangeEvent<HTMLInputElement>) => void;
|
|
336
336
|
disabled?: boolean;
|
|
337
337
|
htmlId?: string;
|
|
338
338
|
}
|
|
339
339
|
|
|
340
|
-
export declare const Timer:
|
|
340
|
+
export declare const Timer: React_2.ForwardRefExoticComponent<TimerProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
341
341
|
|
|
342
342
|
export declare interface TimerProps {
|
|
343
343
|
time: number;
|
|
@@ -391,7 +391,7 @@ export declare interface TooltipProps {
|
|
|
391
391
|
offset?: number;
|
|
392
392
|
}
|
|
393
393
|
|
|
394
|
-
export declare const TopNavBar:
|
|
394
|
+
export declare const TopNavBar: React_2.ForwardRefExoticComponent<TopNavBarProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
395
395
|
|
|
396
396
|
export declare interface TopNavBarProps extends HTMLAttributes<HTMLDivElement> {
|
|
397
397
|
text?: string | ReactNode;
|
|
@@ -400,7 +400,7 @@ export declare interface TopNavBarProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
400
400
|
direction?: 'marquee--left' | 'marquee--right' | 'marquee--up' | 'marquee--down';
|
|
401
401
|
}
|
|
402
402
|
|
|
403
|
-
export declare const TopNavContainerMobile:
|
|
403
|
+
export declare const TopNavContainerMobile: React_2.ForwardRefExoticComponent<TopNavContainerMobileProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
404
404
|
|
|
405
405
|
export declare interface TopNavContainerMobileProps extends HTMLAttributes<HTMLDivElement> {
|
|
406
406
|
img: string;
|
|
@@ -412,7 +412,7 @@ export declare interface TopNavContainerMobileProps extends HTMLAttributes<HTMLD
|
|
|
412
412
|
buttonText: string;
|
|
413
413
|
}
|
|
414
414
|
|
|
415
|
-
export declare const TwoColumnDialog:
|
|
415
|
+
export declare const TwoColumnDialog: React_2.ForwardRefExoticComponent<TwoColumnDialogProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
416
416
|
|
|
417
417
|
export declare interface TwoColumnDialogProps extends HTMLAttributes<HTMLDivElement> {
|
|
418
418
|
img: string;
|