@clasing/ui 0.1.38 → 0.1.39

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
@@ -190,6 +190,7 @@ declare interface IDateRangePickerProps extends React.InputHTMLAttributes<HTMLIn
190
190
  endDate: string;
191
191
  disabledDates?: Matcher | Matcher[] | undefined;
192
192
  locale?: 'enGB' | 'enUS' | 'es';
193
+ placement?: PopoverPlacement;
193
194
  placeholder?: string;
194
195
  minDate?: Date;
195
196
  maxDate?: Date;
@@ -232,10 +233,17 @@ declare interface IProgressBarProps extends Omit<React.HTMLAttributes<HTMLDivEle
232
233
  }
233
234
 
234
235
  declare interface ISelectableChipsProps {
236
+ id?: string;
237
+ label?: string;
235
238
  options: Option_2[];
236
239
  multiple?: boolean;
237
- selectedOptions: Option_2[];
238
- setSelectedOptions: Dispatch<SetStateAction<Option_2[]>>;
240
+ selectedOptions: Option_2['value'] | Option_2['value'][] | undefined;
241
+ setSelectedOptions: Dispatch<SetStateAction<Option_2['value'] | Option_2['value'][] | undefined>>;
242
+ className?: string;
243
+ disabled?: boolean;
244
+ helperText?: string;
245
+ error?: string;
246
+ touched?: boolean;
239
247
  }
240
248
 
241
249
  declare interface ISpinnerProps {
@@ -287,7 +295,7 @@ declare const progressBarStyles: (props?: ({
287
295
  rounded?: "sm" | "full" | null | undefined;
288
296
  } & ClassProp) | undefined) => string;
289
297
 
290
- export declare const SelectableChips: ({ options, multiple, selectedOptions, setSelectedOptions, }: ISelectableChipsProps) => JSX_2.Element;
298
+ export declare const SelectableChips: ({ id, label, options, multiple, selectedOptions, setSelectedOptions, className, disabled, helperText, error, touched, }: ISelectableChipsProps) => JSX_2.Element | null;
291
299
 
292
300
  export declare const Spinner: ({ className }: ISpinnerProps) => JSX_2.Element;
293
301