design-system-silkhaus 0.0.87-beta.weekly-cleaning.4 → 0.0.88-beta.slider-input.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
@@ -126,32 +126,6 @@ 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;
155
129
  }
156
130
 
157
131
  export declare const Card: React_2.ForwardRefExoticComponent<CardProps & React_2.RefAttributes<HTMLDivElement>>;
@@ -287,6 +261,21 @@ export declare interface InputProps extends default_2.InputHTMLAttributes<HTMLIn
287
261
  labelClass?: string | undefined;
288
262
  InputDivClass?: string | undefined;
289
263
  captionClass?: string | undefined;
264
+ startAdornment?: default_2.ReactNode;
265
+ endAdornment?: default_2.ReactNode;
266
+ min?: number;
267
+ max?: number;
268
+ value?: string | number;
269
+ /**
270
+ * When `true`, only numbers can be entered. Any other input will be ignored
271
+ * When min and max are set, the entered value is set to min when less than min and max when greater than max
272
+ */
273
+ isNumbersOnly?: boolean;
274
+ /**
275
+ * When `isNumbersOnly` is `true`, entered value might be modified depending on min and max.
276
+ * While `onChange` will you give what the user enters, `onNumberUpdate` will give the final modified value
277
+ */
278
+ onNumberUpdate: (val: string | number | undefined) => void;
290
279
  }
291
280
 
292
281
  export declare const ListingCard: default_2.ForwardRefExoticComponent<ListingCardProps & default_2.RefAttributes<HTMLDivElement>>;
@@ -449,17 +438,6 @@ export declare interface TimerProps {
449
438
  outerDivClass?: string;
450
439
  }
451
440
 
452
- export declare const ToggleCard: default_2.ForwardRefExoticComponent<ToggleCardProps & default_2.RefAttributes<HTMLDivElement>>;
453
-
454
- export declare interface ToggleCardProps extends HTMLAttributes<HTMLDivElement> {
455
- cardImg?: string;
456
- onSelectionChange: (event: default_2.ChangeEvent<HTMLInputElement>) => void;
457
- heading?: string;
458
- enabled: boolean;
459
- subHeading?: string;
460
- htmlId?: string;
461
- }
462
-
463
441
  /**
464
442
  * A tooltip component that display a floating tooltip with the `content` on hover of the `trigger` element for desktop
465
443
  * and for mobile it displays a popover with the `content` on click of the `trigger` element