design-system-silkhaus 0.0.87-beta.develop-long-term-pricing.5 → 0.0.87-beta.develop-long-term-pricing.6

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,9 +1,12 @@
1
1
  import { CalendarDayShape } from 'react-dates';
2
2
  import { ClassProp } from 'class-variance-authority/types';
3
+ import { FC } from 'react';
3
4
  import { ForwardRefExoticComponent } from 'react';
4
5
  import { HTMLAttributes } from 'react';
5
6
  import { ModifiersShape } from 'react-dates';
6
7
  import { Moment } from 'moment';
8
+ import { Placement } from '@floating-ui/react';
9
+ import { PropsWithChildren } from 'react';
7
10
  import { default as React_2 } from 'react';
8
11
  import * as React_3 from 'react';
9
12
  import { ReactNode } from 'react';
@@ -95,6 +98,7 @@ export declare interface BookingQuoteLineItemType {
95
98
  display_name: string;
96
99
  currency_converted_amount: string;
97
100
  type: string;
101
+ description?: string;
98
102
  }
99
103
 
100
104
  export declare const Button: React_2.ForwardRefExoticComponent<ButtonProps & React_2.RefAttributes<HTMLButtonElement>>;
@@ -130,6 +134,10 @@ declare const cardVariants: (props?: ({
130
134
  cardType?: "default" | "shadowCard" | null | undefined;
131
135
  } & ClassProp) | undefined) => string;
132
136
 
137
+ export declare const CloseIcon: FC<{
138
+ className?: string;
139
+ }>;
140
+
133
141
  export declare const DateRangePicker: React_2.ForwardRefExoticComponent<DateRangePickerProps & React_2.RefAttributes<HTMLDivElement>>;
134
142
 
135
143
  declare interface DateRangePickerProps {
@@ -165,6 +173,8 @@ declare interface DateRangePickerProps {
165
173
  mobileBreakPoint?: number;
166
174
  }
167
175
 
176
+ export declare const DesktopTooltip: FC<PropsWithChildren<TooltipProps>>;
177
+
168
178
  export declare const Dialog: React_2.ForwardRefExoticComponent<DialogProps & React_2.RefAttributes<HTMLDivElement>>;
169
179
 
170
180
  export declare interface DialogProps extends HTMLAttributes<HTMLDivElement> {
@@ -284,6 +294,12 @@ export declare interface MobileSelectCardDropDownProps extends HTMLAttributes<HT
284
294
  noDataError?: string;
285
295
  }
286
296
 
297
+ export declare const MobileTootip: FC<PropsWithChildren<TooltipProps>>;
298
+
299
+ export declare const QuestionMarkIcon: FC<{
300
+ className?: string;
301
+ }>;
302
+
287
303
  export declare const RoundedProgressBar: React_2.ForwardRefExoticComponent<RoundedProgressBarProps & React_2.RefAttributes<HTMLDivElement>>;
288
304
 
289
305
  export declare interface RoundedProgressBarProps {
@@ -329,6 +345,52 @@ export declare interface TimerProps {
329
345
  outerDivClass?: string;
330
346
  }
331
347
 
348
+ /**
349
+ * A tooltip component that display a floating tooltip with the `content` on hover of the `trigger` element for desktop
350
+ * and for mobile it displays a popover with the `content` on click of the `trigger` element
351
+ */
352
+ export declare const Tooltip: FC<PropsWithChildren<TooltipProps>>;
353
+
354
+ export declare interface TooltipProps {
355
+ /**
356
+ * Content of the tooltip
357
+ */
358
+ content: ReactNode;
359
+ /**
360
+ * Title of the tooltip that is displayed in the header of the tooltip
361
+ * Only applicable for mobile version of tooltip
362
+ * @default ''
363
+ */
364
+ title?: string;
365
+ /**
366
+ * The element that triggers the tooltip
367
+ */
368
+ trigger: ReactNode;
369
+ /**
370
+ * The placement of the floating tooltip. Only used in desktop version
371
+ * @default 'left'
372
+ */
373
+ placement?: Placement;
374
+ /**
375
+ * The trigger of the tooltip is wrapped in a container. This classname is added to that container
376
+ */
377
+ triggerContainerClassName?: string;
378
+ /**
379
+ * The content of the tooltip is wrapped in a container. This classname is added to that container
380
+ */
381
+ contentContainerClassname?: string;
382
+ /**
383
+ * When set true, tootlip will not be shown
384
+ * @default false
385
+ */
386
+ disabled?: boolean;
387
+ /**
388
+ * The offset of the tooltip from the trigger in px. Only applicable for desktop tooltip
389
+ * @dwefault 4
390
+ */
391
+ offset?: number;
392
+ }
393
+
332
394
  export declare const TopNavBar: React_2.ForwardRefExoticComponent<TopNavBarProps & React_2.RefAttributes<HTMLDivElement>>;
333
395
 
334
396
  export declare interface TopNavBarProps extends HTMLAttributes<HTMLDivElement> {