design-system-silkhaus 0.0.87-beta.listing-card.1 → 0.0.87-beta.listing-card.3
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 +106 -43
- package/dist/index.d.ts +165 -59
- package/dist/index.js +14672 -14363
- package/dist/style.css +1 -1
- package/package.json +2 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
import { CalendarDayShape } from 'react-dates';
|
|
2
2
|
import { ClassProp } from 'class-variance-authority/types';
|
|
3
|
-
import {
|
|
3
|
+
import { FC } from 'react';
|
|
4
4
|
import { ForwardRefExoticComponent } from 'react';
|
|
5
5
|
import { HTMLAttributes } from 'react';
|
|
6
6
|
import { ModifiersShape } from 'react-dates';
|
|
7
7
|
import { Moment } from 'moment';
|
|
8
|
-
import
|
|
8
|
+
import { Placement } from '@floating-ui/react';
|
|
9
|
+
import { PropsWithChildren } from 'react';
|
|
10
|
+
import { default as React_2 } from 'react';
|
|
11
|
+
import * as React_3 from 'react';
|
|
9
12
|
import { ReactNode } from 'react';
|
|
10
13
|
import { RefAttributes } from 'react';
|
|
11
14
|
import { VariantProps } from 'class-variance-authority';
|
|
12
15
|
|
|
13
|
-
export declare const Accordion:
|
|
16
|
+
export declare const Accordion: React_2.ForwardRefExoticComponent<AccordionProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
14
17
|
|
|
15
18
|
export declare interface AccordionProps {
|
|
16
19
|
title: string | ReactNode;
|
|
@@ -25,7 +28,7 @@ export declare interface AccordionProps {
|
|
|
25
28
|
isExpanded?: boolean;
|
|
26
29
|
}
|
|
27
30
|
|
|
28
|
-
export declare const ActionFooter:
|
|
31
|
+
export declare const ActionFooter: React_2.ForwardRefExoticComponent<ActionFooterProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
29
32
|
|
|
30
33
|
export declare interface ActionFooterProps {
|
|
31
34
|
className?: string;
|
|
@@ -33,12 +36,12 @@ export declare interface ActionFooterProps {
|
|
|
33
36
|
primaryBtnClick: () => void;
|
|
34
37
|
primaryBtnDisabled?: boolean;
|
|
35
38
|
secondaryBtnDisabled?: boolean;
|
|
36
|
-
primaryBtnTxt: string |
|
|
37
|
-
secondaryBtnTxt?: string |
|
|
38
|
-
thirdColumn?:
|
|
39
|
+
primaryBtnTxt: string | React_2.ReactNode;
|
|
40
|
+
secondaryBtnTxt?: string | React_2.ReactNode;
|
|
41
|
+
thirdColumn?: React_2.ReactNode;
|
|
39
42
|
}
|
|
40
43
|
|
|
41
|
-
export declare const AlertDialog:
|
|
44
|
+
export declare const AlertDialog: React_2.ForwardRefExoticComponent<AlertDialogProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
42
45
|
|
|
43
46
|
export declare interface AlertDialogProps {
|
|
44
47
|
outerDivClassName?: string;
|
|
@@ -61,28 +64,48 @@ export declare interface AnimatedModalProps extends HTMLAttributes<HTMLDivElemen
|
|
|
61
64
|
show: boolean;
|
|
62
65
|
handleClose?: () => void;
|
|
63
66
|
animation?: 'slideUp' | 'slideDown' | 'fadeIn';
|
|
67
|
+
/**
|
|
68
|
+
* @deprecated
|
|
69
|
+
* Apply styles using `contentClassName` instead
|
|
70
|
+
*/
|
|
64
71
|
marginTop?: string;
|
|
72
|
+
/**
|
|
73
|
+
* @deprecated
|
|
74
|
+
* Apply styles using `contentClassName` instead
|
|
75
|
+
*/
|
|
65
76
|
maxWidth?: string;
|
|
77
|
+
/**
|
|
78
|
+
* classes to apply on container that wraps the children passed to AnimatedModal
|
|
79
|
+
*/
|
|
80
|
+
contentClassName?: string;
|
|
66
81
|
}
|
|
67
82
|
|
|
68
|
-
export declare const Asterisk:
|
|
83
|
+
export declare const Asterisk: React_2.ForwardRefExoticComponent<AsteriskProps & React_2.RefAttributes<HTMLSpanElement>>;
|
|
69
84
|
|
|
70
85
|
declare interface AsteriskProps {
|
|
71
86
|
className?: string;
|
|
72
87
|
}
|
|
73
88
|
|
|
74
|
-
export declare const Badge:
|
|
89
|
+
export declare const Badge: React_2.ForwardRefExoticComponent<BadgeProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
75
90
|
|
|
76
91
|
export declare type BadgeProps = {
|
|
77
|
-
icon?:
|
|
92
|
+
icon?: React_2.ReactNode;
|
|
78
93
|
label: string;
|
|
79
94
|
variant: 'dark' | 'light' | 'amenity';
|
|
80
95
|
className?: string;
|
|
81
96
|
};
|
|
82
97
|
|
|
83
|
-
export declare const
|
|
98
|
+
export declare const BedLineIcon: FC<{
|
|
99
|
+
className?: string;
|
|
100
|
+
}>;
|
|
101
|
+
|
|
102
|
+
export declare const BedRegularIcon: FC<{
|
|
103
|
+
className?: string;
|
|
104
|
+
}>;
|
|
105
|
+
|
|
106
|
+
export declare const BookingQuoteCard: React_2.ForwardRefExoticComponent<BookingQuoteCardProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
84
107
|
|
|
85
|
-
export declare interface BookingQuoteCardProps extends
|
|
108
|
+
export declare interface BookingQuoteCardProps extends React_2.HTMLAttributes<HTMLDivElement> {
|
|
86
109
|
items: BookingQuoteLineItemType[];
|
|
87
110
|
isExpandedInMobile?: boolean;
|
|
88
111
|
}
|
|
@@ -92,34 +115,35 @@ export declare interface BookingQuoteLineItemType {
|
|
|
92
115
|
display_name: string;
|
|
93
116
|
currency_converted_amount: string;
|
|
94
117
|
type: string;
|
|
118
|
+
description?: string;
|
|
95
119
|
}
|
|
96
120
|
|
|
97
|
-
export declare const Button:
|
|
121
|
+
export declare const Button: React_2.ForwardRefExoticComponent<ButtonProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
98
122
|
|
|
99
|
-
export declare interface ButtonProps extends
|
|
123
|
+
export declare interface ButtonProps extends React_2.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
100
124
|
color?: 'primary' | 'secondary' | 'tertiary' | 'quaternary';
|
|
101
125
|
size?: 'small' | 'large';
|
|
102
126
|
disabled?: true | false;
|
|
103
|
-
startIcon?:
|
|
104
|
-
endIcon?:
|
|
127
|
+
startIcon?: React_2.ReactNode;
|
|
128
|
+
endIcon?: React_2.ReactNode;
|
|
105
129
|
}
|
|
106
130
|
|
|
107
|
-
export declare const Card:
|
|
131
|
+
export declare const Card: React_3.ForwardRefExoticComponent<CardProps & React_3.RefAttributes<HTMLDivElement>>;
|
|
108
132
|
|
|
109
|
-
export declare const CardContent:
|
|
133
|
+
export declare const CardContent: React_3.ForwardRefExoticComponent<React_3.HTMLAttributes<HTMLDivElement> & React_3.RefAttributes<HTMLDivElement>>;
|
|
110
134
|
|
|
111
|
-
export declare const CardDescription:
|
|
135
|
+
export declare const CardDescription: React_3.ForwardRefExoticComponent<React_3.HTMLAttributes<HTMLDivElement> & React_3.RefAttributes<HTMLDivElement>>;
|
|
112
136
|
|
|
113
|
-
export declare const CardFooter:
|
|
137
|
+
export declare const CardFooter: React_3.ForwardRefExoticComponent<React_3.HTMLAttributes<HTMLDivElement> & React_3.RefAttributes<HTMLDivElement>>;
|
|
114
138
|
|
|
115
|
-
export declare const CardHeader:
|
|
139
|
+
export declare const CardHeader: React_3.ForwardRefExoticComponent<React_3.HTMLAttributes<HTMLDivElement> & React_3.RefAttributes<HTMLDivElement>>;
|
|
116
140
|
|
|
117
|
-
declare interface CardProps extends
|
|
141
|
+
declare interface CardProps extends React_3.HTMLAttributes<HTMLDivElement>, CardVariantProps {
|
|
118
142
|
asChild?: boolean;
|
|
119
143
|
as?: string;
|
|
120
144
|
}
|
|
121
145
|
|
|
122
|
-
export declare const CardTitle:
|
|
146
|
+
export declare const CardTitle: React_3.ForwardRefExoticComponent<React_3.HTMLAttributes<HTMLDivElement> & React_3.RefAttributes<HTMLDivElement>>;
|
|
123
147
|
|
|
124
148
|
export declare type CardVariantProps = VariantProps<typeof cardVariants>;
|
|
125
149
|
|
|
@@ -127,7 +151,19 @@ declare const cardVariants: (props?: ({
|
|
|
127
151
|
cardType?: "default" | "shadowCard" | null | undefined;
|
|
128
152
|
} & ClassProp) | undefined) => string;
|
|
129
153
|
|
|
130
|
-
export declare const
|
|
154
|
+
export declare const ChevronLeftRegularIcon: FC<{
|
|
155
|
+
className?: string;
|
|
156
|
+
}>;
|
|
157
|
+
|
|
158
|
+
export declare const ChevronRightRegularIcon: FC<{
|
|
159
|
+
className?: string;
|
|
160
|
+
}>;
|
|
161
|
+
|
|
162
|
+
export declare const CloseIcon: FC<{
|
|
163
|
+
className?: string;
|
|
164
|
+
}>;
|
|
165
|
+
|
|
166
|
+
export declare const DateRangePicker: React_2.ForwardRefExoticComponent<DateRangePickerProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
131
167
|
|
|
132
168
|
declare interface DateRangePickerProps {
|
|
133
169
|
startDatePlaceholderText?: string;
|
|
@@ -145,32 +181,34 @@ declare interface DateRangePickerProps {
|
|
|
145
181
|
focusedInput?: 'startDate' | 'endDate' | null;
|
|
146
182
|
onFocusChange?: (focusedInput: 'startDate' | 'endDate' | null) => void;
|
|
147
183
|
lTBannerImage?: string;
|
|
148
|
-
lTBannerTitle?: string |
|
|
149
|
-
lTBannerDesc?: string |
|
|
184
|
+
lTBannerTitle?: string | React_2.ReactNode;
|
|
185
|
+
lTBannerDesc?: string | React_2.ReactNode;
|
|
150
186
|
lTBannerBgColor?: string;
|
|
151
|
-
thirdColumn?: string |
|
|
187
|
+
thirdColumn?: string | React_2.ReactNode;
|
|
152
188
|
onMobileCloseClick: () => void;
|
|
153
189
|
onOutsideClick?: (e: unknown) => void;
|
|
154
190
|
onPrevMonthClick?: (e: unknown) => void;
|
|
155
191
|
onNextMonthClick?: (e: unknown) => void;
|
|
156
|
-
renderCalendarDay?: (props: CalendarDayShape) =>
|
|
192
|
+
renderCalendarDay?: (props: CalendarDayShape) => React_2.ReactNode | undefined;
|
|
157
193
|
isDayBlocked?: ((day: Moment) => boolean) | undefined;
|
|
158
|
-
renderDayContents?: (day: Moment, modifiers: ModifiersShape) =>
|
|
159
|
-
renderCalendarInfo?: () =>
|
|
194
|
+
renderDayContents?: (day: Moment, modifiers: ModifiersShape) => React_2.ReactNode | null | undefined;
|
|
195
|
+
renderCalendarInfo?: () => React_2.ReactNode | null | undefined;
|
|
160
196
|
_daySize?: number;
|
|
161
197
|
_mobileDaySize?: number;
|
|
162
198
|
mobileBreakPoint?: number;
|
|
163
199
|
}
|
|
164
200
|
|
|
165
|
-
export declare const
|
|
201
|
+
export declare const DesktopTooltip: FC<PropsWithChildren<TooltipProps>>;
|
|
202
|
+
|
|
203
|
+
export declare const Dialog: React_2.ForwardRefExoticComponent<DialogProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
166
204
|
|
|
167
205
|
export declare interface DialogProps extends HTMLAttributes<HTMLDivElement> {
|
|
168
206
|
open: boolean;
|
|
169
207
|
}
|
|
170
208
|
|
|
171
|
-
export declare const Grid:
|
|
209
|
+
export declare const Grid: React_3.ForwardRefExoticComponent<GridProps & React_3.RefAttributes<HTMLDivElement>>;
|
|
172
210
|
|
|
173
|
-
export declare interface GridProps extends
|
|
211
|
+
export declare interface GridProps extends React_3.HTMLAttributes<HTMLDivElement>, Omit<GridVariantProps, 'optional'> {
|
|
174
212
|
asChild?: boolean;
|
|
175
213
|
}
|
|
176
214
|
|
|
@@ -189,23 +227,27 @@ declare const gridVariants: (props?: ({
|
|
|
189
227
|
placeItems?: "start" | "end" | "center" | "stretch" | "baseline" | null | undefined;
|
|
190
228
|
} & ClassProp) | undefined) => string;
|
|
191
229
|
|
|
192
|
-
export declare const
|
|
230
|
+
export declare const HouseRegularIcon: FC<{
|
|
231
|
+
className?: string;
|
|
232
|
+
}>;
|
|
233
|
+
|
|
234
|
+
export declare const IconButton: React_2.ForwardRefExoticComponent<IconButtonProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
193
235
|
|
|
194
|
-
export declare interface IconButtonProps extends
|
|
236
|
+
export declare interface IconButtonProps extends React_2.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
195
237
|
color?: 'primary' | 'secondary' | 'tertiary' | 'quaternary';
|
|
196
238
|
size?: 'small' | 'large';
|
|
197
239
|
disabled?: true | false;
|
|
198
240
|
}
|
|
199
241
|
|
|
200
|
-
export declare const ImageCarousel:
|
|
242
|
+
export declare const ImageCarousel: React_2.ForwardRefExoticComponent<ImageCarouselProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
201
243
|
|
|
202
|
-
export declare interface ImageCarouselProps extends
|
|
244
|
+
export declare interface ImageCarouselProps extends React_2.HTMLAttributes<HTMLDivElement> {
|
|
203
245
|
images: string[];
|
|
204
246
|
}
|
|
205
247
|
|
|
206
|
-
export declare const Input:
|
|
248
|
+
export declare const Input: React_2.ForwardRefExoticComponent<InputProps & React_2.RefAttributes<HTMLInputElement>>;
|
|
207
249
|
|
|
208
|
-
export declare interface InputProps extends
|
|
250
|
+
export declare interface InputProps extends React_2.InputHTMLAttributes<HTMLInputElement | HTMLTextAreaElement> {
|
|
209
251
|
textarea?: true | false | undefined;
|
|
210
252
|
label?: string | undefined;
|
|
211
253
|
caption?: string | undefined;
|
|
@@ -216,12 +258,12 @@ export declare interface InputProps extends default_2.InputHTMLAttributes<HTMLIn
|
|
|
216
258
|
captionClass?: string | undefined;
|
|
217
259
|
}
|
|
218
260
|
|
|
219
|
-
export declare const ListingCard:
|
|
261
|
+
export declare const ListingCard: React_2.ForwardRefExoticComponent<ListingCardProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
220
262
|
|
|
221
263
|
export declare type ListingCardProps = {
|
|
222
264
|
images: string[];
|
|
223
|
-
title: string |
|
|
224
|
-
subtitle: string |
|
|
265
|
+
title: string | React_2.ReactNode;
|
|
266
|
+
subtitle: string | React_2.ReactNode;
|
|
225
267
|
guests: number;
|
|
226
268
|
type: string;
|
|
227
269
|
sqft: string;
|
|
@@ -233,18 +275,18 @@ export declare type ListingCardProps = {
|
|
|
233
275
|
onClick: () => void;
|
|
234
276
|
};
|
|
235
277
|
|
|
236
|
-
export declare const LongTermBanner:
|
|
278
|
+
export declare const LongTermBanner: React_2.ForwardRefExoticComponent<LongTermBannerProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
237
279
|
|
|
238
280
|
export declare interface LongTermBannerProps {
|
|
239
281
|
image: string;
|
|
240
|
-
title: string |
|
|
241
|
-
desc: string |
|
|
282
|
+
title: string | React_2.ReactNode;
|
|
283
|
+
desc: string | React_2.ReactNode;
|
|
242
284
|
size: 'small' | 'large';
|
|
243
285
|
bgColor: string;
|
|
244
286
|
className?: string;
|
|
245
287
|
}
|
|
246
288
|
|
|
247
|
-
export declare const MobileFilterMenu:
|
|
289
|
+
export declare const MobileFilterMenu: React_2.ForwardRefExoticComponent<MobileFilterMenuProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
248
290
|
|
|
249
291
|
export declare interface MobileFilterMenuProps extends HTMLAttributes<HTMLDivElement> {
|
|
250
292
|
show: boolean;
|
|
@@ -260,7 +302,7 @@ export declare interface MobileFilterMenuProps extends HTMLAttributes<HTMLDivEle
|
|
|
260
302
|
maxWidth?: string;
|
|
261
303
|
}
|
|
262
304
|
|
|
263
|
-
export declare const MobileMultiSelectFilterDropDown:
|
|
305
|
+
export declare const MobileMultiSelectFilterDropDown: React_2.ForwardRefExoticComponent<MobileMultiSelectFilterDropDownProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
264
306
|
|
|
265
307
|
export declare interface MobileMultiSelectFilterDropDownProps extends HTMLAttributes<HTMLDivElement> {
|
|
266
308
|
label?: string;
|
|
@@ -281,7 +323,7 @@ export declare interface MobileMultiSelectFilterDropDownProps extends HTMLAttrib
|
|
|
281
323
|
noDataError?: string;
|
|
282
324
|
}
|
|
283
325
|
|
|
284
|
-
export declare const MobileSelectCardDropDown:
|
|
326
|
+
export declare const MobileSelectCardDropDown: React_2.ForwardRefExoticComponent<MobileSelectCardDropDownProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
285
327
|
|
|
286
328
|
export declare interface MobileSelectCardDropDownProps extends HTMLAttributes<HTMLDivElement> {
|
|
287
329
|
label?: string;
|
|
@@ -298,7 +340,13 @@ export declare interface MobileSelectCardDropDownProps extends HTMLAttributes<HT
|
|
|
298
340
|
noDataError?: string;
|
|
299
341
|
}
|
|
300
342
|
|
|
301
|
-
export declare const
|
|
343
|
+
export declare const MobileTootip: FC<PropsWithChildren<TooltipProps>>;
|
|
344
|
+
|
|
345
|
+
export declare const QuestionMarkIcon: FC<{
|
|
346
|
+
className?: string;
|
|
347
|
+
}>;
|
|
348
|
+
|
|
349
|
+
export declare const RoundedProgressBar: React_2.ForwardRefExoticComponent<RoundedProgressBarProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
302
350
|
|
|
303
351
|
export declare interface RoundedProgressBarProps {
|
|
304
352
|
progress: number;
|
|
@@ -310,7 +358,11 @@ export declare interface RoundedProgressBarProps {
|
|
|
310
358
|
textClass?: string;
|
|
311
359
|
}
|
|
312
360
|
|
|
313
|
-
export declare const
|
|
361
|
+
export declare const RulerRegularIcon: FC<{
|
|
362
|
+
className?: string;
|
|
363
|
+
}>;
|
|
364
|
+
|
|
365
|
+
export declare const SlickImageCarousel: React_2.ForwardRefExoticComponent<SlickImageCarouselProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
314
366
|
|
|
315
367
|
export declare type SlickImageCarouselProps = {
|
|
316
368
|
images: string[];
|
|
@@ -320,6 +372,14 @@ export declare type SlickImageCarouselProps = {
|
|
|
320
372
|
onClick?: () => void;
|
|
321
373
|
};
|
|
322
374
|
|
|
375
|
+
export declare const StarLineIcon: FC<{
|
|
376
|
+
className?: string;
|
|
377
|
+
}>;
|
|
378
|
+
|
|
379
|
+
export declare const StarRegularIcon: FC<{
|
|
380
|
+
className?: string;
|
|
381
|
+
}>;
|
|
382
|
+
|
|
323
383
|
export declare interface Step {
|
|
324
384
|
number: number;
|
|
325
385
|
title: string;
|
|
@@ -328,7 +388,7 @@ export declare interface Step {
|
|
|
328
388
|
mobileNextTitle: string;
|
|
329
389
|
}
|
|
330
390
|
|
|
331
|
-
export declare const Stepper:
|
|
391
|
+
export declare const Stepper: React_2.ForwardRefExoticComponent<StepperProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
332
392
|
|
|
333
393
|
export declare interface StepperProps {
|
|
334
394
|
steps: Step[];
|
|
@@ -336,21 +396,21 @@ export declare interface StepperProps {
|
|
|
336
396
|
outerMobileDivClass?: string;
|
|
337
397
|
}
|
|
338
398
|
|
|
339
|
-
export declare const Switch:
|
|
399
|
+
export declare const Switch: React_2.ForwardRefExoticComponent<SwitchProps & React_2.RefAttributes<HTMLInputElement>>;
|
|
340
400
|
|
|
341
401
|
export declare interface SwitchProps {
|
|
342
402
|
checked: boolean;
|
|
343
|
-
onChange: (event:
|
|
403
|
+
onChange: (event: React_2.ChangeEvent<HTMLInputElement>) => void;
|
|
344
404
|
disabled?: boolean;
|
|
345
405
|
htmlId?: string;
|
|
346
406
|
}
|
|
347
407
|
|
|
348
408
|
declare type TagProps = {
|
|
349
|
-
icon:
|
|
409
|
+
icon: React_2.ReactNode;
|
|
350
410
|
label: string;
|
|
351
411
|
};
|
|
352
412
|
|
|
353
|
-
export declare const Timer:
|
|
413
|
+
export declare const Timer: React_2.ForwardRefExoticComponent<TimerProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
354
414
|
|
|
355
415
|
export declare interface TimerProps {
|
|
356
416
|
time: number;
|
|
@@ -358,7 +418,53 @@ export declare interface TimerProps {
|
|
|
358
418
|
outerDivClass?: string;
|
|
359
419
|
}
|
|
360
420
|
|
|
361
|
-
|
|
421
|
+
/**
|
|
422
|
+
* A tooltip component that display a floating tooltip with the `content` on hover of the `trigger` element for desktop
|
|
423
|
+
* and for mobile it displays a popover with the `content` on click of the `trigger` element
|
|
424
|
+
*/
|
|
425
|
+
export declare const Tooltip: FC<PropsWithChildren<TooltipProps>>;
|
|
426
|
+
|
|
427
|
+
export declare interface TooltipProps {
|
|
428
|
+
/**
|
|
429
|
+
* Content of the tooltip
|
|
430
|
+
*/
|
|
431
|
+
content: ReactNode;
|
|
432
|
+
/**
|
|
433
|
+
* Title of the tooltip that is displayed in the header of the tooltip
|
|
434
|
+
* Only applicable for mobile version of tooltip
|
|
435
|
+
* @default ''
|
|
436
|
+
*/
|
|
437
|
+
title?: string;
|
|
438
|
+
/**
|
|
439
|
+
* The element that triggers the tooltip
|
|
440
|
+
*/
|
|
441
|
+
trigger: ReactNode;
|
|
442
|
+
/**
|
|
443
|
+
* The placement of the floating tooltip. Only used in desktop version
|
|
444
|
+
* @default 'left'
|
|
445
|
+
*/
|
|
446
|
+
placement?: Placement;
|
|
447
|
+
/**
|
|
448
|
+
* The trigger of the tooltip is wrapped in a container. This classname is added to that container
|
|
449
|
+
*/
|
|
450
|
+
triggerContainerClassName?: string;
|
|
451
|
+
/**
|
|
452
|
+
* The content of the tooltip is wrapped in a container. This classname is added to that container
|
|
453
|
+
*/
|
|
454
|
+
contentContainerClassname?: string;
|
|
455
|
+
/**
|
|
456
|
+
* When set true, tootlip will not be shown
|
|
457
|
+
* @default false
|
|
458
|
+
*/
|
|
459
|
+
disabled?: boolean;
|
|
460
|
+
/**
|
|
461
|
+
* The offset of the tooltip from the trigger in px. Only applicable for desktop tooltip
|
|
462
|
+
* @dwefault 4
|
|
463
|
+
*/
|
|
464
|
+
offset?: number;
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
export declare const TopNavBar: React_2.ForwardRefExoticComponent<TopNavBarProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
362
468
|
|
|
363
469
|
export declare interface TopNavBarProps extends HTMLAttributes<HTMLDivElement> {
|
|
364
470
|
text?: string | ReactNode;
|
|
@@ -367,7 +473,7 @@ export declare interface TopNavBarProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
367
473
|
direction?: 'marquee--left' | 'marquee--right' | 'marquee--up' | 'marquee--down';
|
|
368
474
|
}
|
|
369
475
|
|
|
370
|
-
export declare const TopNavContainerMobile:
|
|
476
|
+
export declare const TopNavContainerMobile: React_2.ForwardRefExoticComponent<TopNavContainerMobileProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
371
477
|
|
|
372
478
|
export declare interface TopNavContainerMobileProps extends HTMLAttributes<HTMLDivElement> {
|
|
373
479
|
img: string;
|
|
@@ -379,7 +485,7 @@ export declare interface TopNavContainerMobileProps extends HTMLAttributes<HTMLD
|
|
|
379
485
|
buttonText: string;
|
|
380
486
|
}
|
|
381
487
|
|
|
382
|
-
export declare const TwoColumnDialog:
|
|
488
|
+
export declare const TwoColumnDialog: React_2.ForwardRefExoticComponent<TwoColumnDialogProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
383
489
|
|
|
384
490
|
export declare interface TwoColumnDialogProps extends HTMLAttributes<HTMLDivElement> {
|
|
385
491
|
img: string;
|