design-system-silkhaus 2.9.1 → 2.10.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.d.ts CHANGED
@@ -55,6 +55,10 @@ export declare interface ActionFooterProps {
55
55
  thirdColumn?: default_2.ReactNode;
56
56
  }
57
57
 
58
+ export declare const AirConditionIcon: FC<{
59
+ className?: string;
60
+ }>;
61
+
58
62
  export declare const AlertDialog: default_2.ForwardRefExoticComponent<AlertDialogProps & default_2.RefAttributes<HTMLDivElement>>;
59
63
 
60
64
  export declare interface AlertDialogProps {
@@ -125,6 +129,10 @@ export declare const BedRegularIcon: FC<{
125
129
  className?: string;
126
130
  }>;
127
131
 
132
+ export declare const BoltIcon: FC<{
133
+ className?: string;
134
+ }>;
135
+
128
136
  export declare const BookingQuoteCard: default_2.ForwardRefExoticComponent<BookingQuoteCardProps & default_2.RefAttributes<HTMLDivElement>>;
129
137
 
130
138
  export declare interface BookingQuoteCardProps extends default_2.HTMLAttributes<HTMLDivElement> {
@@ -342,10 +350,62 @@ export declare const FileIcon: FC<{
342
350
  className?: string;
343
351
  }>;
344
352
 
353
+ export declare const FileInput: default_2.FC<FileInputProps>;
354
+
355
+ export declare interface FileInputProps {
356
+ label?: string;
357
+ /**
358
+ * label that will appear on the button.
359
+ * @default 'Upload'
360
+ */
361
+ uploadButtonLabel?: string;
362
+ /**
363
+ * label that will appear next to the upload button
364
+ * @default 'Choose...'
365
+ */
366
+ uploadLabel?: string;
367
+ helperText?: string;
368
+ /**
369
+ * file types that will be accepted by the input.
370
+ * accepts same values as https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/accept
371
+ */
372
+ accept?: string;
373
+ multiple?: boolean;
374
+ onChange?: (files: FileList | null) => void;
375
+ disabled?: boolean;
376
+ required?: boolean;
377
+ /**
378
+ * If the file input is being used for uploading, an array of upload statuses
379
+ * for each file can be passed to show status of each file.
380
+ */
381
+ uploadStatuses?: {
382
+ isComplete: boolean;
383
+ message: string;
384
+ }[];
385
+ className?: string;
386
+ error?: boolean;
387
+ /**
388
+ * Controls whether we need to show tooltip or not
389
+ */
390
+ showTooltip?: boolean;
391
+ /**
392
+ * Provide option to overide default tooltip icon
393
+ */
394
+ tooltipIcon?: default_2.ReactNode;
395
+ /**
396
+ * Optional tooltip props without trigger
397
+ */
398
+ tooltipProps?: Omit<TooltipProps, 'trigger'>;
399
+ }
400
+
345
401
  export declare const FilterIcon: FC<{
346
402
  className?: string;
347
403
  }>;
348
404
 
405
+ export declare const FlameIcon: FC<{
406
+ className?: string;
407
+ }>;
408
+
349
409
  export declare const formatCurrency: (val: number, currency?: string) => string;
350
410
 
351
411
  export declare const Grid: React_2.ForwardRefExoticComponent<GridProps & React_2.RefAttributes<HTMLDivElement>>;
@@ -408,7 +468,11 @@ export declare const Input: default_2.ForwardRefExoticComponent<InputProps & def
408
468
  export declare interface InputProps extends default_2.InputHTMLAttributes<HTMLInputElement | HTMLTextAreaElement> {
409
469
  textarea?: true | false | undefined;
410
470
  label?: default_2.ReactNode | undefined;
411
- caption?: string | undefined;
471
+ /**
472
+ * @deprecated This was wrongly names. Please use `helperText` instead
473
+ */
474
+ caption?: string;
475
+ helperText?: string;
412
476
  color?: 'primary' | 'success' | 'error' | 'primaryRounded' | 'errorRounded' | 'disabled';
413
477
  required?: boolean;
414
478
  labelClass?: string | undefined;
@@ -1092,4 +1156,12 @@ export declare const useDocumentSize: () => {
1092
1156
  screenSize: "mobile" | "tablet" | "desktop";
1093
1157
  };
1094
1158
 
1159
+ export declare const WarningIcon: FC<{
1160
+ className?: string;
1161
+ }>;
1162
+
1163
+ export declare const WifiIcon: FC<{
1164
+ className?: string;
1165
+ }>;
1166
+
1095
1167
  export { }