design-system-silkhaus 1.1.0 → 1.2.0-beta.weekly-cleaning.4

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
@@ -126,6 +126,32 @@ export declare interface ButtonProps extends default_2.ButtonHTMLAttributes<HTML
126
126
  disabled?: true | false;
127
127
  startIcon?: default_2.ReactNode;
128
128
  endIcon?: default_2.ReactNode;
129
+ selected?: boolean;
130
+ }
131
+
132
+ export declare const ButtonsGroupSelector: default_2.ForwardRefExoticComponent<ButtonsGroupSelectorProps & default_2.RefAttributes<HTMLDivElement>>;
133
+
134
+ export declare interface ButtonsGroupSelectorProps extends HTMLAttributes<HTMLDivElement> {
135
+ label?: string;
136
+ value?: Array<{
137
+ label: string;
138
+ value: string;
139
+ }>;
140
+ options: Array<{
141
+ label: string;
142
+ value: string;
143
+ }>;
144
+ onSelectionChange?: (selected: Array<{
145
+ label: string;
146
+ value: string;
147
+ }>) => void;
148
+ placeholder?: string;
149
+ selected?: boolean;
150
+ isMultiSelect?: boolean;
151
+ noDataError?: string;
152
+ minWidthButton?: string;
153
+ buttonWidth?: string;
154
+ minSelectionError?: string;
129
155
  }
130
156
 
131
157
  export declare const Card: React_2.ForwardRefExoticComponent<CardProps & React_2.RefAttributes<HTMLDivElement>>;
@@ -504,6 +530,17 @@ export declare interface TimerProps {
504
530
  outerDivClass?: string;
505
531
  }
506
532
 
533
+ export declare const ToggleCard: default_2.ForwardRefExoticComponent<ToggleCardProps & default_2.RefAttributes<HTMLDivElement>>;
534
+
535
+ export declare interface ToggleCardProps extends HTMLAttributes<HTMLDivElement> {
536
+ cardImg?: string;
537
+ onSelectionChange: (event: default_2.ChangeEvent<HTMLInputElement>) => void;
538
+ heading?: string;
539
+ enabled: boolean;
540
+ subHeading?: string;
541
+ htmlId?: string;
542
+ }
543
+
507
544
  /**
508
545
  * A tooltip component that display a floating tooltip with the `content` on hover of the `trigger` element for desktop
509
546
  * and for mobile it displays a popover with the `content` on click of the `trigger` element