design-system-silkhaus 3.1.3 → 3.2.0-beta.dropdown.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.d.ts CHANGED
@@ -2,9 +2,11 @@ import { CalendarDayShape } from 'react-dates';
2
2
  import { ClassProp } from 'class-variance-authority/types';
3
3
  import { ClassValue } from 'clsx';
4
4
  import { default as default_2 } from 'react';
5
+ import { ElementType } from 'react';
5
6
  import { FC } from 'react';
6
7
  import { ForwardRefExoticComponent } from 'react';
7
8
  import { HTMLAttributes } from 'react';
9
+ import { JSX as JSX_2 } from 'react/jsx-runtime';
8
10
  import { LazyLoadTypes } from 'react-slick';
9
11
  import { ModifiersShape } from 'react-dates';
10
12
  import { Moment } from 'moment';
@@ -85,15 +87,13 @@ export declare const AnimatedModal: ForwardRefExoticComponent<AnimatedModalProps
85
87
  export declare interface AnimatedModalProps extends HTMLAttributes<HTMLDivElement> {
86
88
  show?: boolean;
87
89
  handleClose?: () => void;
88
- animation?: 'slideUp' | 'slideDown' | 'fadeIn';
90
+ animation?: 'slideUp' | 'slideDown' | 'slideLeft' | 'slideRight' | 'fadeIn';
89
91
  /**
90
- * @deprecated
91
- * Apply styles using `contentClassName` instead
92
+ * @deprecated Apply styles using `contentClassName` instead
92
93
  */
93
94
  marginTop?: string;
94
95
  /**
95
- * @deprecated
96
- * Apply styles using `contentClassName` instead
96
+ * @deprecated Apply styles using `contentClassName` instead
97
97
  */
98
98
  maxWidth?: string;
99
99
  /**
@@ -106,6 +106,10 @@ export declare const ArrowRightIcon: FC<{
106
106
  className?: string;
107
107
  }>;
108
108
 
109
+ export declare const ArrowTopRightIcon: FC<{
110
+ className?: string;
111
+ }>;
112
+
109
113
  export declare const ArrowUndoIcon: FC<{
110
114
  className?: string;
111
115
  }>;
@@ -172,6 +176,14 @@ export declare interface BookingQuoteLineItemType {
172
176
  description?: string;
173
177
  }
174
178
 
179
+ export declare const BoxCheckIcon: FC<{
180
+ className?: string;
181
+ }>;
182
+
183
+ export declare const BoxLineGraphUpIcon: FC<{
184
+ className?: string;
185
+ }>;
186
+
175
187
  export declare const BuildingIcon: FC<{
176
188
  className?: string;
177
189
  }>;
@@ -243,6 +255,10 @@ export declare const CalendarIcon: FC<{
243
255
  className?: string;
244
256
  }>;
245
257
 
258
+ export declare const CalendarPlusIcon: FC<{
259
+ className?: string;
260
+ }>;
261
+
246
262
  export declare const Card: React_2.ForwardRefExoticComponent<CardProps & React_2.RefAttributes<HTMLDivElement>>;
247
263
 
248
264
  export declare const CardContent: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
@@ -266,14 +282,19 @@ declare const cardVariants: (props?: ({
266
282
  cardType?: "default" | "shadowCard" | null | undefined;
267
283
  } & ClassProp) | undefined) => string;
268
284
 
285
+ export declare const ChairIcon: FC<{
286
+ className?: string;
287
+ }>;
288
+
269
289
  export declare const Checkbox: default_2.ForwardRefExoticComponent<CheckboxProps & default_2.RefAttributes<HTMLInputElement>>;
270
290
 
271
291
  export declare interface CheckboxProps extends HTMLAttributes<HTMLInputElement> {
272
292
  isChecked: boolean;
273
- onSelectionChange: () => void;
274
- label: string;
275
- onClick?: (e: default_2.MouseEvent) => void;
293
+ onSelectionChange?: () => void;
294
+ label?: default_2.ReactNode;
276
295
  disabled?: boolean;
296
+ className?: string;
297
+ labelPosition?: 'left' | 'right';
277
298
  }
278
299
 
279
300
  export declare const CheckmarkCircleIcon: FC<{
@@ -284,6 +305,10 @@ export declare const CheckmarkIcon: FC<{
284
305
  className?: string;
285
306
  }>;
286
307
 
308
+ export declare const ChevronDownRegularIcon: FC<{
309
+ className?: string;
310
+ }>;
311
+
287
312
  export declare const ChevronLeftRegularIcon: FC<{
288
313
  className?: string;
289
314
  }>;
@@ -306,6 +331,24 @@ export declare const CloseIcon: FC<{
306
331
 
307
332
  export declare function cn(...inputs: ClassValue[]): string;
308
333
 
334
+ /**
335
+ * A wrapper component that follows design system's margins on pages for different screen sizes
336
+ */
337
+ export declare const Container: <T extends ElementType = "div">({ as, children, className, dataTestId, ...rest }: ContainerProps<T>) => JSX_2.Element;
338
+
339
+ export declare type ContainerProps<T extends ElementType = 'div'> = React.PropsWithChildren<{
340
+ /**
341
+ * Element type to render as
342
+ * @default 'div'
343
+ */
344
+ as?: T;
345
+ dataTestId?: string;
346
+ }> & React.ComponentPropsWithoutRef<T>;
347
+
348
+ export declare const ContractIcon: FC<{
349
+ className?: string;
350
+ }>;
351
+
309
352
  export declare const DashboardIcon: FC<{
310
353
  className?: string;
311
354
  }>;
@@ -515,6 +558,10 @@ export declare const HandCursorTapIcon: FC<{
515
558
  className?: string;
516
559
  }>;
517
560
 
561
+ export declare const HeadsetIcon: FC<{
562
+ className?: string;
563
+ }>;
564
+
518
565
  export declare const HelperText: FC<HelperTextProps>;
519
566
 
520
567
  export declare interface HelperTextProps {
@@ -523,6 +570,10 @@ export declare interface HelperTextProps {
523
570
  className?: string;
524
571
  }
525
572
 
573
+ export declare const HouseOutlineIcon: FC<{
574
+ className?: string;
575
+ }>;
576
+
526
577
  export declare const HouseRegularIcon: FC<{
527
578
  className?: string;
528
579
  }>;
@@ -610,6 +661,14 @@ export declare type LabelProps = {
610
661
  disabled?: boolean;
611
662
  };
612
663
 
664
+ export declare const LineGraphDownIcon: FC<{
665
+ className?: string;
666
+ }>;
667
+
668
+ export declare const LineGraphUpIcon: FC<{
669
+ className?: string;
670
+ }>;
671
+
613
672
  export declare const ListingCard: default_2.ForwardRefExoticComponent<ListingCardProps & default_2.RefAttributes<HTMLDivElement>>;
614
673
 
615
674
  export declare type ListingCardProps = {
@@ -756,6 +815,10 @@ declare interface Option_2 {
756
815
  }
757
816
  export { Option_2 as Option }
758
817
 
818
+ export declare const PartnerIcon: FC<{
819
+ className?: string;
820
+ }>;
821
+
759
822
  export declare const PartyPopperIcon: FC<{
760
823
  className?: string;
761
824
  }>;
@@ -948,6 +1011,10 @@ export declare const PreviewIcon: FC<{
948
1011
  className?: string;
949
1012
  }>;
950
1013
 
1014
+ export declare const PriceCheckIcon: FC<{
1015
+ className?: string;
1016
+ }>;
1017
+
951
1018
  export declare const PriceRangeSlider: default_2.FC<PriceRangeSliderProps>;
952
1019
 
953
1020
  export declare interface PriceRangeSliderProps {
@@ -1326,7 +1393,7 @@ export declare interface TooltipProps {
1326
1393
  */
1327
1394
  contentContainerClassname?: string;
1328
1395
  /**
1329
- * When set true, tootlip will not be shown
1396
+ * When set true, tooltip will not be shown
1330
1397
  * @default false
1331
1398
  */
1332
1399
  disabled?: boolean;
@@ -1358,6 +1425,10 @@ export declare interface TopNavContainerMobileProps extends HTMLAttributes<HTMLD
1358
1425
  buttonText: string;
1359
1426
  }
1360
1427
 
1428
+ export declare const TowerBuildingIcon: FC<{
1429
+ className?: string;
1430
+ }>;
1431
+
1361
1432
  export declare const TowersIcon: FC<{
1362
1433
  className?: string;
1363
1434
  }>;