@clasing/ui 0.1.70 → 0.1.72
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 +7 -0
- package/dist/index.es.js +1348 -1304
- package/dist/index.umd.js +10 -10
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -159,6 +159,7 @@ declare interface DropdownSelectProps<T extends string | number | readonly strin
|
|
|
159
159
|
options?: DropdownOption<T>[];
|
|
160
160
|
value?: T;
|
|
161
161
|
onChange?: (value: T | null) => void;
|
|
162
|
+
dropdownWidth?: PopoverWidth;
|
|
162
163
|
}
|
|
163
164
|
|
|
164
165
|
declare interface IBadgeProps extends React.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof badgeStyles> {
|
|
@@ -217,6 +218,7 @@ declare interface ICalendarProps {
|
|
|
217
218
|
locale?: 'enGB' | 'enUS' | 'es';
|
|
218
219
|
disabledDates?: string | string[] | Date | Date[] | undefined;
|
|
219
220
|
enabledDates?: string | string[] | Date | Date[] | undefined;
|
|
221
|
+
dropdownsSelectors?: boolean;
|
|
220
222
|
hideNavigation?: boolean;
|
|
221
223
|
showOutsideDays?: boolean;
|
|
222
224
|
minDate?: Date;
|
|
@@ -254,6 +256,7 @@ declare interface IDatepickerProps extends React.InputHTMLAttributes<HTMLInputEl
|
|
|
254
256
|
placeholder?: string;
|
|
255
257
|
disabledDates?: string | string[] | Date | Date[] | undefined;
|
|
256
258
|
enabledDates?: string | string[] | Date | Date[] | undefined;
|
|
259
|
+
calendarDropdowns?: boolean;
|
|
257
260
|
hideNavigation?: boolean;
|
|
258
261
|
showOutsideDays?: boolean;
|
|
259
262
|
closeOnAction?: boolean;
|
|
@@ -268,6 +271,7 @@ declare interface IDateRangePickerProps extends React.InputHTMLAttributes<HTMLIn
|
|
|
268
271
|
touched?: boolean;
|
|
269
272
|
startDate: string;
|
|
270
273
|
endDate: string;
|
|
274
|
+
calendarDropdowns?: boolean;
|
|
271
275
|
disabledDates?: Matcher | Matcher[] | undefined;
|
|
272
276
|
locale?: 'enGB' | 'enUS' | 'es';
|
|
273
277
|
placement?: PopoverPlacement;
|
|
@@ -335,6 +339,7 @@ declare interface IPopoverProps {
|
|
|
335
339
|
className?: string;
|
|
336
340
|
onMouseDown?: (e: default_2.MouseEvent) => void;
|
|
337
341
|
onMouseUp?: (e: default_2.MouseEvent) => void;
|
|
342
|
+
popoverWidth?: 'as-trigger' | 'auto';
|
|
338
343
|
}
|
|
339
344
|
|
|
340
345
|
declare interface IProgressBarProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'children'>, VariantProps<typeof progressBarStyles> {
|
|
@@ -412,6 +417,8 @@ export declare const Popover: default_2.ForwardRefExoticComponent<IPopoverProps
|
|
|
412
417
|
|
|
413
418
|
declare type PopoverPlacement = Placement;
|
|
414
419
|
|
|
420
|
+
declare type PopoverWidth = 'as-trigger' | 'auto';
|
|
421
|
+
|
|
415
422
|
declare type PositionProps = 'top-right' | 'top-left' | 'top' | 'bottom-right' | 'bottom-left' | 'bottom';
|
|
416
423
|
|
|
417
424
|
export declare const ProgressBar: ({ progress, className, intent, size, rounded, ...props }: IProgressBarProps) => JSX_2.Element;
|