design-system-silkhaus 2.11.0 → 2.11.2
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 +40 -40
- package/dist/index.d.ts +10 -5
- package/dist/index.js +6241 -6197
- package/dist/style.css +1 -1
- package/dist/tailwind.config.js +42 -0
- package/package.json +1 -2
package/dist/index.d.ts
CHANGED
|
@@ -437,7 +437,7 @@ export declare const HelperText: FC<HelperTextProps>;
|
|
|
437
437
|
|
|
438
438
|
export declare interface HelperTextProps {
|
|
439
439
|
error?: boolean;
|
|
440
|
-
text?:
|
|
440
|
+
text?: ReactNode;
|
|
441
441
|
className?: string;
|
|
442
442
|
}
|
|
443
443
|
|
|
@@ -467,9 +467,9 @@ export declare const Input: default_2.ForwardRefExoticComponent<InputProps & def
|
|
|
467
467
|
|
|
468
468
|
export declare interface InputProps extends default_2.InputHTMLAttributes<HTMLInputElement | HTMLTextAreaElement> {
|
|
469
469
|
textarea?: true | false | undefined;
|
|
470
|
-
label?: default_2.ReactNode
|
|
470
|
+
label?: default_2.ReactNode;
|
|
471
471
|
/**
|
|
472
|
-
* @deprecated This was wrongly
|
|
472
|
+
* @deprecated This was wrongly named. Please use `helperText` instead
|
|
473
473
|
*/
|
|
474
474
|
caption?: string;
|
|
475
475
|
helperText?: string;
|
|
@@ -477,7 +477,11 @@ export declare interface InputProps extends default_2.InputHTMLAttributes<HTMLIn
|
|
|
477
477
|
required?: boolean;
|
|
478
478
|
labelClass?: string | undefined;
|
|
479
479
|
InputDivClass?: string | undefined;
|
|
480
|
-
|
|
480
|
+
/**
|
|
481
|
+
* @deprecated This was wrongly named. Please use `helperTextClass` instead
|
|
482
|
+
*/
|
|
483
|
+
captionClass?: string;
|
|
484
|
+
helperTextClass?: string;
|
|
481
485
|
startAdornment?: default_2.ReactNode;
|
|
482
486
|
endAdornment?: default_2.ReactNode;
|
|
483
487
|
min?: number;
|
|
@@ -517,10 +521,11 @@ declare interface KeyMapping<SourceKey extends keyof PaymentRadioInputProps, Des
|
|
|
517
521
|
export declare const Label: FC<LabelProps>;
|
|
518
522
|
|
|
519
523
|
export declare type LabelProps = {
|
|
520
|
-
label:
|
|
524
|
+
label: default_2.ReactNode;
|
|
521
525
|
required?: boolean;
|
|
522
526
|
error?: boolean;
|
|
523
527
|
className?: string;
|
|
528
|
+
disabled?: boolean;
|
|
524
529
|
};
|
|
525
530
|
|
|
526
531
|
export declare const ListingCard: default_2.ForwardRefExoticComponent<ListingCardProps & default_2.RefAttributes<HTMLDivElement>>;
|