plume-ui-react 0.10.0 → 0.12.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/README.md +1 -1
- package/dist/chunk-4DL6M5ND.mjs +1 -0
- package/dist/chunk-GO3CDGZ7.mjs +1 -0
- package/dist/chunk-Q5AGMWEH.mjs +1 -0
- package/dist/chunk-QDAOFE7Q.mjs +1 -0
- package/dist/chunk-T77ETN3T.mjs +1 -0
- package/dist/components/form/slider/index.mjs +1 -0
- package/dist/components/form/slider/slider-marks.mjs +1 -0
- package/dist/components/form/slider/slider-math.mjs +1 -0
- package/dist/components/form/slider/slider.mjs +1 -0
- package/dist/components/form/slider/use-track-press.mjs +1 -0
- package/dist/components/interaction/button/button.mjs +2 -2
- package/dist/components/interaction/paginator/index.mjs +1 -0
- package/dist/components/interaction/paginator/paginator-range.mjs +1 -0
- package/dist/components/interaction/paginator/paginator.mjs +1 -0
- package/dist/components/interaction/tree/index.mjs +1 -0
- package/dist/components/interaction/tree/tree-checks.mjs +1 -0
- package/dist/components/interaction/tree/tree-context.mjs +1 -0
- package/dist/components/interaction/tree/tree-item-group.mjs +1 -0
- package/dist/components/interaction/tree/tree-item-label.mjs +1 -0
- package/dist/components/interaction/tree/tree-item.mjs +1 -0
- package/dist/components/interaction/tree/tree-navigation.mjs +1 -0
- package/dist/components/interaction/tree/tree.mjs +1 -0
- package/dist/components/interaction/tree/use-tree-keyboard.mjs +1 -0
- package/dist/components/interaction/tree/use-tree-state.mjs +1 -0
- package/dist/components/navigation/accordion/accordion-content.mjs +1 -1
- package/dist/components/navigation/accordion/accordion-item.mjs +1 -1
- package/dist/components/navigation/accordion/accordion-trigger.mjs +1 -1
- package/dist/components/navigation/accordion/accordion.mjs +1 -1
- package/dist/components/navigation/stepper/step-description.mjs +1 -1
- package/dist/components/navigation/stepper/step-indicator.mjs +1 -1
- package/dist/components/navigation/stepper/step-separator.mjs +1 -1
- package/dist/components/navigation/stepper/step-title.mjs +1 -1
- package/dist/components/navigation/stepper/step.mjs +1 -1
- package/dist/components/navigation/stepper/stepper.mjs +1 -1
- package/dist/components/utility/carousel/carousel-arrow.mjs +1 -0
- package/dist/components/utility/carousel/carousel-context.mjs +1 -0
- package/dist/components/utility/carousel/carousel-dots.mjs +1 -0
- package/dist/components/utility/carousel/carousel-next.mjs +1 -0
- package/dist/components/utility/carousel/carousel-play-pause.mjs +1 -0
- package/dist/components/utility/carousel/carousel-prev.mjs +1 -0
- package/dist/components/utility/carousel/carousel-slide.mjs +1 -0
- package/dist/components/utility/carousel/carousel-slides.mjs +1 -0
- package/dist/components/utility/carousel/carousel.mjs +1 -0
- package/dist/components/utility/carousel/index.mjs +1 -0
- package/dist/components/utility/collapse/collapse.mjs +1 -0
- package/dist/components/utility/collapse/index.mjs +1 -0
- package/dist/components/utility/fileupload/file-utils.mjs +1 -0
- package/dist/components/utility/fileupload/fileupload.mjs +1 -0
- package/dist/components/utility/fileupload/index.mjs +1 -0
- package/dist/components/utility/progressbar/progressbar.mjs +1 -1
- package/dist/components/utility/table/index.mjs +1 -0
- package/dist/components/utility/table/table-body.mjs +1 -0
- package/dist/components/utility/table/table-caption.mjs +1 -0
- package/dist/components/utility/table/table-cell.mjs +1 -0
- package/dist/components/utility/table/table-footer.mjs +1 -0
- package/dist/components/utility/table/table-head.mjs +1 -0
- package/dist/components/utility/table/table-header.mjs +1 -0
- package/dist/components/utility/table/table-row.mjs +1 -0
- package/dist/components/utility/table/table.mjs +1 -0
- package/dist/index.d.mts +283 -3
- package/dist/index.d.ts +283 -3
- package/dist/index.js +7 -7
- package/dist/index.mjs +1 -1
- package/dist/overlay/icons.mjs +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/dist/chunk-DNENE4UC.mjs +0 -1
- package/dist/chunk-T34B4PAZ.mjs +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
|
-
import { CSSProperties, ReactNode, RefObject, ChangeEvent, LazyExoticComponent, HTMLAttributes, AnchorHTMLAttributes, ButtonHTMLAttributes, InputHTMLAttributes, MouseEvent, Ref, ReactElement, LiHTMLAttributes, MouseEventHandler, HtmlHTMLAttributes, TextareaHTMLAttributes } from 'react';
|
|
2
|
+
import { CSSProperties, ReactNode, RefObject, ChangeEvent, LazyExoticComponent, HTMLAttributes, AnchorHTMLAttributes, ButtonHTMLAttributes, InputHTMLAttributes, MouseEvent, Ref, ReactElement, LiHTMLAttributes, MouseEventHandler, HtmlHTMLAttributes, TdHTMLAttributes, ThHTMLAttributes, TextareaHTMLAttributes } from 'react';
|
|
3
3
|
|
|
4
4
|
type RadiusValue = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 'full';
|
|
5
5
|
type SizeValue = 'max' | 'min' | 'full';
|
|
@@ -339,7 +339,7 @@ interface ButtonOwnProps {
|
|
|
339
339
|
variant?: ButtonVariant;
|
|
340
340
|
}
|
|
341
341
|
type ButtonVariant = 'solid' | 'outline' | 'link' | 'icon' | 'ghost' | 'unstyled';
|
|
342
|
-
type ButtonRootAttributes = Pick<ButtonHTMLAttributes<HTMLButtonElement>, 'aria-expanded' | 'aria-haspopup' | 'aria-label' | 'aria-labelledby' | 'children' | 'disabled' | 'hidden' | 'id' | 'onBlur' | 'onClick' | 'onFocus' | 'onKeyDown' | 'onMouseEnter' | 'role' | 'tabIndex' | 'title' | 'type'>;
|
|
342
|
+
type ButtonRootAttributes = Pick<ButtonHTMLAttributes<HTMLButtonElement>, 'aria-current' | 'aria-expanded' | 'aria-haspopup' | 'aria-label' | 'aria-labelledby' | 'children' | 'disabled' | 'hidden' | 'id' | 'onBlur' | 'onClick' | 'onFocus' | 'onKeyDown' | 'onMouseEnter' | 'role' | 'tabIndex' | 'title' | 'type'>;
|
|
343
343
|
type ButtonProps = ComponentProps & ButtonRootAttributes & ButtonOwnProps;
|
|
344
344
|
declare const Button: react.ForwardRefExoticComponent<ComponentProps & ButtonRootAttributes & ButtonOwnProps & react.RefAttributes<HTMLButtonElement>>;
|
|
345
345
|
|
|
@@ -364,6 +364,72 @@ type CardHeaderRootAttributes = Pick<HTMLAttributes<HTMLDivElement>, 'children'
|
|
|
364
364
|
type CardHeaderProps = Omit<ComponentProps, 'index'> & CardHeaderRootAttributes;
|
|
365
365
|
declare const CardHeader: react.ForwardRefExoticComponent<Omit<ComponentProps, "index"> & CardHeaderRootAttributes & react.RefAttributes<HTMLDivElement>>;
|
|
366
366
|
|
|
367
|
+
type CarouselVariant = 'ghost' | 'outline' | 'overlay' | 'solid' | 'unstyled';
|
|
368
|
+
|
|
369
|
+
interface CarouselOwnProps {
|
|
370
|
+
autoplay?: number | false;
|
|
371
|
+
colorScheme?: ColorScheme;
|
|
372
|
+
defaultIndex?: number;
|
|
373
|
+
index?: number;
|
|
374
|
+
loop?: boolean;
|
|
375
|
+
onIndexChange?: (index: number) => void;
|
|
376
|
+
size?: Size;
|
|
377
|
+
slideLabel?: (index: number, count: number) => string;
|
|
378
|
+
variant?: CarouselVariant;
|
|
379
|
+
}
|
|
380
|
+
type CarouselRootAttributes = Pick<HTMLAttributes<HTMLElement>, 'aria-label' | 'aria-labelledby' | 'children' | 'hidden' | 'id' | 'title'>;
|
|
381
|
+
type CarouselProps = Omit<ComponentProps, 'index'> & CarouselRootAttributes & CarouselOwnProps;
|
|
382
|
+
declare const Carousel: react.ForwardRefExoticComponent<Omit<ComponentProps, "index"> & CarouselRootAttributes & CarouselOwnProps & react.RefAttributes<HTMLElement>>;
|
|
383
|
+
|
|
384
|
+
interface CarouselDotsOwnProps {
|
|
385
|
+
dotClassName?: string;
|
|
386
|
+
dotLabel?: (index: number, count: number) => string;
|
|
387
|
+
}
|
|
388
|
+
type CarouselDotsRootAttributes = Pick<HTMLAttributes<HTMLDivElement>, 'aria-label' | 'hidden' | 'id' | 'title'>;
|
|
389
|
+
type CarouselDotsProps = Omit<ComponentProps, 'index'> & CarouselDotsRootAttributes & CarouselDotsOwnProps;
|
|
390
|
+
declare const CarouselDots: react.ForwardRefExoticComponent<Omit<ComponentProps, "index"> & CarouselDotsRootAttributes & CarouselDotsOwnProps & react.RefAttributes<HTMLDivElement>>;
|
|
391
|
+
|
|
392
|
+
interface CarouselArrowOwnProps {
|
|
393
|
+
icon?: ReactNode;
|
|
394
|
+
label?: string;
|
|
395
|
+
}
|
|
396
|
+
type CarouselArrowRootAttributes = Pick<ButtonHTMLAttributes<HTMLButtonElement>, 'children' | 'disabled' | 'id' | 'onClick' | 'title'>;
|
|
397
|
+
type CarouselArrowProps = Omit<ComponentProps, 'index'> & CarouselArrowRootAttributes & CarouselArrowOwnProps;
|
|
398
|
+
|
|
399
|
+
type CarouselNextProps = CarouselArrowProps;
|
|
400
|
+
declare const CarouselNext: react.ForwardRefExoticComponent<Omit<ComponentProps, "index"> & {
|
|
401
|
+
children?: ReactNode;
|
|
402
|
+
disabled?: boolean | undefined | undefined;
|
|
403
|
+
id?: string | undefined | undefined;
|
|
404
|
+
title?: string | undefined | undefined;
|
|
405
|
+
onClick?: react.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
406
|
+
} & CarouselArrowOwnProps & react.RefAttributes<HTMLButtonElement>>;
|
|
407
|
+
|
|
408
|
+
interface CarouselPlayPauseOwnProps {
|
|
409
|
+
pauseLabel?: string;
|
|
410
|
+
playLabel?: string;
|
|
411
|
+
}
|
|
412
|
+
type CarouselPlayPauseRootAttributes = Pick<ButtonHTMLAttributes<HTMLButtonElement>, 'children' | 'disabled' | 'id' | 'onClick' | 'title'>;
|
|
413
|
+
type CarouselPlayPauseProps = Omit<ComponentProps, 'index'> & CarouselPlayPauseRootAttributes & CarouselPlayPauseOwnProps;
|
|
414
|
+
declare const CarouselPlayPause: react.ForwardRefExoticComponent<Omit<ComponentProps, "index"> & CarouselPlayPauseRootAttributes & CarouselPlayPauseOwnProps & react.RefAttributes<HTMLButtonElement>>;
|
|
415
|
+
|
|
416
|
+
type CarouselPrevProps = CarouselArrowProps;
|
|
417
|
+
declare const CarouselPrev: react.ForwardRefExoticComponent<Omit<ComponentProps, "index"> & {
|
|
418
|
+
children?: ReactNode;
|
|
419
|
+
disabled?: boolean | undefined | undefined;
|
|
420
|
+
id?: string | undefined | undefined;
|
|
421
|
+
title?: string | undefined | undefined;
|
|
422
|
+
onClick?: react.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
423
|
+
} & CarouselArrowOwnProps & react.RefAttributes<HTMLButtonElement>>;
|
|
424
|
+
|
|
425
|
+
type CarouselSlideRootAttributes = Pick<HTMLAttributes<HTMLDivElement>, 'aria-label' | 'children' | 'hidden' | 'title'>;
|
|
426
|
+
type CarouselSlideProps = Omit<ComponentProps, 'index'> & CarouselSlideRootAttributes;
|
|
427
|
+
declare const CarouselSlide: react.ForwardRefExoticComponent<Omit<ComponentProps, "index"> & CarouselSlideRootAttributes & react.RefAttributes<HTMLDivElement>>;
|
|
428
|
+
|
|
429
|
+
type CarouselSlidesRootAttributes = Pick<HTMLAttributes<HTMLDivElement>, 'aria-label' | 'children' | 'id' | 'title'>;
|
|
430
|
+
type CarouselSlidesProps = Omit<ComponentProps, 'index'> & CarouselSlidesRootAttributes;
|
|
431
|
+
declare const CarouselSlides: react.ForwardRefExoticComponent<Omit<ComponentProps, "index"> & CarouselSlidesRootAttributes & react.RefAttributes<HTMLDivElement>>;
|
|
432
|
+
|
|
367
433
|
interface CheckboxOwnProps {
|
|
368
434
|
inputClassName?: string;
|
|
369
435
|
labelClassName?: string;
|
|
@@ -397,6 +463,19 @@ type ChipRootAttributes = Pick<HTMLAttributes<HTMLSpanElement>, 'aria-label' | '
|
|
|
397
463
|
type ChipProps = Omit<ComponentProps, 'index'> & ChipRootAttributes & ChipOwnProps;
|
|
398
464
|
declare const Chip: react.ForwardRefExoticComponent<Omit<ComponentProps, "index"> & ChipRootAttributes & ChipOwnProps & react.RefAttributes<HTMLSpanElement>>;
|
|
399
465
|
|
|
466
|
+
type CollapseVariant = 'accent' | 'filled' | 'outline' | 'unstyled';
|
|
467
|
+
interface CollapseOwnProps {
|
|
468
|
+
as?: 'div' | 'section';
|
|
469
|
+
bodyClassName?: string;
|
|
470
|
+
colorScheme?: ColorScheme;
|
|
471
|
+
open?: boolean;
|
|
472
|
+
size?: Size;
|
|
473
|
+
variant?: CollapseVariant;
|
|
474
|
+
}
|
|
475
|
+
type CollapseRootAttributes = Pick<HTMLAttributes<HTMLElement>, 'aria-label' | 'aria-labelledby' | 'children' | 'hidden' | 'id' | 'role' | 'title'>;
|
|
476
|
+
type CollapseProps = Omit<ComponentProps, 'index'> & CollapseRootAttributes & CollapseOwnProps;
|
|
477
|
+
declare const Collapse: react.ForwardRefExoticComponent<Omit<ComponentProps, "index"> & CollapseRootAttributes & CollapseOwnProps & react.RefAttributes<HTMLElement>>;
|
|
478
|
+
|
|
400
479
|
interface DatePickerOwnProps {
|
|
401
480
|
colorScheme?: ColorScheme;
|
|
402
481
|
config?: DatePickerConfig;
|
|
@@ -511,6 +590,37 @@ type FieldRootAttributes = {
|
|
|
511
590
|
type FieldProps = Omit<ComponentProps, 'index'> & FieldRootAttributes & FieldOwnProps;
|
|
512
591
|
declare const Field: react.ForwardRefExoticComponent<Omit<ComponentProps, "index"> & FieldRootAttributes & FieldOwnProps & react.RefAttributes<HTMLDivElement>>;
|
|
513
592
|
|
|
593
|
+
type FileRejectionReason = 'type' | 'size' | 'count';
|
|
594
|
+
interface FileRejection {
|
|
595
|
+
file: File;
|
|
596
|
+
reason: FileRejectionReason;
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
type FileUploadVariant = 'bordered' | 'filled' | 'outline' | 'unstyled';
|
|
600
|
+
type FileUploadPart = 'dropzone' | 'error' | 'file' | 'list' | 'progress' | 'progressIndicator' | 'remove';
|
|
601
|
+
interface FileUploadOwnProps {
|
|
602
|
+
accept?: string;
|
|
603
|
+
classNames?: Partial<Record<FileUploadPart, string>>;
|
|
604
|
+
colorScheme?: ColorScheme;
|
|
605
|
+
defaultValue?: File[];
|
|
606
|
+
formatRejection?: (rejection: FileRejection) => string;
|
|
607
|
+
maxFiles?: number;
|
|
608
|
+
maxSize?: number;
|
|
609
|
+
multiple?: boolean;
|
|
610
|
+
name?: string;
|
|
611
|
+
onReject?: (rejections: FileRejection[]) => void;
|
|
612
|
+
onValueChange?: (files: File[]) => void;
|
|
613
|
+
progress?: (file: File) => number | undefined;
|
|
614
|
+
progressLabel?: (file: File) => string;
|
|
615
|
+
removeLabel?: (file: File) => string;
|
|
616
|
+
size?: Size;
|
|
617
|
+
value?: File[];
|
|
618
|
+
variant?: FileUploadVariant;
|
|
619
|
+
}
|
|
620
|
+
type FileUploadRootAttributes = Pick<InputHTMLAttributes<HTMLInputElement>, 'aria-describedby' | 'aria-invalid' | 'aria-label' | 'aria-labelledby' | 'children' | 'disabled' | 'hidden' | 'id' | 'readOnly' | 'required' | 'title'>;
|
|
621
|
+
type FileUploadProps = Omit<ComponentProps, 'index'> & FileUploadRootAttributes & FileUploadOwnProps;
|
|
622
|
+
declare const FileUpload: react.ForwardRefExoticComponent<Omit<ComponentProps, "index"> & FileUploadRootAttributes & FileUploadOwnProps & react.RefAttributes<HTMLInputElement>>;
|
|
623
|
+
|
|
514
624
|
interface IconOwnProps {
|
|
515
625
|
colorScheme?: ColorScheme;
|
|
516
626
|
label?: string;
|
|
@@ -714,6 +824,34 @@ type NumberInputRootAttributes = Pick<InputHTMLAttributes<HTMLInputElement>, 'ar
|
|
|
714
824
|
type NumberInputProps = Omit<ComponentProps, 'index'> & NumberInputRootAttributes & NumberInputOwnProps;
|
|
715
825
|
declare const NumberInput: react.ForwardRefExoticComponent<Omit<ComponentProps, "index"> & NumberInputRootAttributes & NumberInputOwnProps & react.RefAttributes<HTMLInputElement>>;
|
|
716
826
|
|
|
827
|
+
type PaginatorVariant = 'ghost' | 'outline' | 'solid' | 'unstyled';
|
|
828
|
+
type PaginatorPart = 'ellipsis' | 'first' | 'item' | 'last' | 'list' | 'next' | 'page' | 'previous';
|
|
829
|
+
interface PaginatorOwnProps {
|
|
830
|
+
boundaryCount?: number;
|
|
831
|
+
classNames?: Partial<Record<PaginatorPart, string>>;
|
|
832
|
+
colorScheme?: ColorScheme;
|
|
833
|
+
count?: number;
|
|
834
|
+
defaultPage?: number;
|
|
835
|
+
disabled?: boolean;
|
|
836
|
+
firstLabel?: string;
|
|
837
|
+
getPageLabel?: (page: number, current: boolean) => string;
|
|
838
|
+
lastLabel?: string;
|
|
839
|
+
nextLabel?: string;
|
|
840
|
+
onPageChange?: (page: number) => void;
|
|
841
|
+
page?: number;
|
|
842
|
+
pageSize?: number;
|
|
843
|
+
previousLabel?: string;
|
|
844
|
+
shape?: Shape;
|
|
845
|
+
showEdges?: boolean;
|
|
846
|
+
siblingCount?: number;
|
|
847
|
+
size?: Size;
|
|
848
|
+
total?: number;
|
|
849
|
+
variant?: PaginatorVariant;
|
|
850
|
+
}
|
|
851
|
+
type PaginatorRootAttributes = Pick<HTMLAttributes<HTMLElement>, 'aria-label' | 'aria-labelledby' | 'hidden' | 'id' | 'title'>;
|
|
852
|
+
type PaginatorProps = Omit<ComponentProps, 'children' | 'index'> & PaginatorRootAttributes & PaginatorOwnProps;
|
|
853
|
+
declare const Paginator: react.ForwardRefExoticComponent<Omit<ComponentProps, "children" | "index"> & PaginatorRootAttributes & PaginatorOwnProps & react.RefAttributes<HTMLElement>>;
|
|
854
|
+
|
|
717
855
|
type PinInputType = 'numeric' | 'alphanumeric' | 'text';
|
|
718
856
|
|
|
719
857
|
type PinInputVariant = 'outline' | 'filled' | 'underline' | 'unstyled';
|
|
@@ -773,12 +911,15 @@ type ProgressBarVariant = 'solid' | 'striped' | 'unstyled';
|
|
|
773
911
|
interface ProgressBarOwnProps {
|
|
774
912
|
animated?: boolean;
|
|
775
913
|
colorScheme?: ColorScheme;
|
|
914
|
+
formatValue?: (value: number, max: number) => string;
|
|
776
915
|
indeterminate?: boolean;
|
|
777
916
|
indicatorClassName?: string;
|
|
778
917
|
max?: number;
|
|
779
918
|
shape?: Shape;
|
|
919
|
+
showValue?: boolean;
|
|
780
920
|
size?: Size;
|
|
781
921
|
value?: number;
|
|
922
|
+
valueClassName?: string;
|
|
782
923
|
valueText?: string;
|
|
783
924
|
variant?: ProgressBarVariant;
|
|
784
925
|
}
|
|
@@ -1012,6 +1153,40 @@ type SkeletonRootAttributes = Pick<HTMLAttributes<HTMLDivElement>, 'hidden' | 'i
|
|
|
1012
1153
|
type SkeletonProps = Omit<ComponentProps, 'index'> & SkeletonRootAttributes & SkeletonOwnProps;
|
|
1013
1154
|
declare const Skeleton: react.ForwardRefExoticComponent<Omit<ComponentProps, "index"> & SkeletonRootAttributes & SkeletonOwnProps & react.RefAttributes<HTMLDivElement>>;
|
|
1014
1155
|
|
|
1156
|
+
interface SliderMark {
|
|
1157
|
+
label?: ReactNode;
|
|
1158
|
+
value: number;
|
|
1159
|
+
}
|
|
1160
|
+
|
|
1161
|
+
type SliderValue = number | [number, number];
|
|
1162
|
+
type SliderVariant = 'outline' | 'solid' | 'unstyled';
|
|
1163
|
+
type SliderOrientation = 'horizontal' | 'vertical';
|
|
1164
|
+
type SliderPart = 'mark' | 'markLabel' | 'range' | 'thumb' | 'track';
|
|
1165
|
+
interface SliderOwnProps {
|
|
1166
|
+
classNames?: Partial<Record<SliderPart, string>>;
|
|
1167
|
+
colorScheme?: ColorScheme;
|
|
1168
|
+
defaultValue?: SliderValue;
|
|
1169
|
+
disabled?: boolean;
|
|
1170
|
+
formatValue?: (value: number) => string;
|
|
1171
|
+
getThumbLabel?: (index: number) => string;
|
|
1172
|
+
invalid?: boolean;
|
|
1173
|
+
marks?: boolean | number[] | SliderMark[];
|
|
1174
|
+
max?: number;
|
|
1175
|
+
min?: number;
|
|
1176
|
+
name?: string;
|
|
1177
|
+
onValueChange?: (value: SliderValue) => void;
|
|
1178
|
+
onValueCommit?: (value: SliderValue) => void;
|
|
1179
|
+
orientation?: SliderOrientation;
|
|
1180
|
+
readOnly?: boolean;
|
|
1181
|
+
size?: Size;
|
|
1182
|
+
step?: number;
|
|
1183
|
+
value?: SliderValue;
|
|
1184
|
+
variant?: SliderVariant;
|
|
1185
|
+
}
|
|
1186
|
+
type SliderRootAttributes = Pick<HTMLAttributes<HTMLElement>, 'aria-describedby' | 'aria-invalid' | 'aria-label' | 'aria-labelledby' | 'hidden' | 'id' | 'title'>;
|
|
1187
|
+
type SliderProps = Omit<ComponentProps, 'children' | 'index'> & SliderRootAttributes & SliderOwnProps;
|
|
1188
|
+
declare const Slider: react.ForwardRefExoticComponent<Omit<ComponentProps, "children" | "index"> & SliderRootAttributes & SliderOwnProps & react.RefAttributes<HTMLInputElement>>;
|
|
1189
|
+
|
|
1015
1190
|
interface SpinnerOwnProps {
|
|
1016
1191
|
color?: ColorShade;
|
|
1017
1192
|
size?: Size;
|
|
@@ -1059,6 +1234,63 @@ type StepperRootAttributes = Pick<HTMLAttributes<HTMLOListElement>, 'aria-label'
|
|
|
1059
1234
|
type StepperProps = Omit<ComponentProps, 'index'> & StepperRootAttributes & StepperOwnProps;
|
|
1060
1235
|
declare const Stepper: react.ForwardRefExoticComponent<Omit<ComponentProps, "index"> & StepperRootAttributes & StepperOwnProps & react.RefAttributes<HTMLOListElement>>;
|
|
1061
1236
|
|
|
1237
|
+
type TableVariant = 'plain' | 'bordered' | 'striped' | 'unstyled';
|
|
1238
|
+
interface TableOwnProps {
|
|
1239
|
+
containerClassName?: string;
|
|
1240
|
+
hoverable?: boolean;
|
|
1241
|
+
maxHeight?: number | string;
|
|
1242
|
+
size?: Size;
|
|
1243
|
+
stickyHeader?: boolean;
|
|
1244
|
+
variant?: TableVariant;
|
|
1245
|
+
}
|
|
1246
|
+
type TableRootAttributes = Pick<HTMLAttributes<HTMLTableElement>, 'aria-label' | 'aria-labelledby' | 'children' | 'hidden' | 'id' | 'title'>;
|
|
1247
|
+
type TableProps = Omit<ComponentProps, 'index'> & TableRootAttributes & TableOwnProps;
|
|
1248
|
+
declare const Table: react.ForwardRefExoticComponent<Omit<ComponentProps, "index"> & TableRootAttributes & TableOwnProps & react.RefAttributes<HTMLTableElement>>;
|
|
1249
|
+
|
|
1250
|
+
type TableBodyRootAttributes = Pick<HTMLAttributes<HTMLTableSectionElement>, 'children' | 'hidden' | 'id' | 'title'>;
|
|
1251
|
+
type TableBodyProps = Omit<ComponentProps, 'index'> & TableBodyRootAttributes;
|
|
1252
|
+
declare const TableBody: react.ForwardRefExoticComponent<Omit<ComponentProps, "index"> & TableBodyRootAttributes & react.RefAttributes<HTMLTableSectionElement>>;
|
|
1253
|
+
|
|
1254
|
+
interface TableCaptionOwnProps {
|
|
1255
|
+
side?: 'top' | 'bottom';
|
|
1256
|
+
}
|
|
1257
|
+
type TableCaptionRootAttributes = Pick<HTMLAttributes<HTMLElement>, 'children' | 'id' | 'title'>;
|
|
1258
|
+
type TableCaptionProps = Omit<ComponentProps, 'index'> & TableCaptionRootAttributes & TableCaptionOwnProps;
|
|
1259
|
+
declare const TableCaption: react.ForwardRefExoticComponent<Omit<ComponentProps, "index"> & TableCaptionRootAttributes & TableCaptionOwnProps & react.RefAttributes<HTMLTableCaptionElement>>;
|
|
1260
|
+
|
|
1261
|
+
interface TableCellOwnProps {
|
|
1262
|
+
align?: 'start' | 'center' | 'end';
|
|
1263
|
+
}
|
|
1264
|
+
type TableCellRootAttributes = Pick<TdHTMLAttributes<HTMLTableCellElement>, 'children' | 'colSpan' | 'headers' | 'hidden' | 'id' | 'rowSpan' | 'title'>;
|
|
1265
|
+
type TableCellProps = Omit<ComponentProps, 'index'> & TableCellRootAttributes & TableCellOwnProps;
|
|
1266
|
+
declare const TableCell: react.ForwardRefExoticComponent<Omit<ComponentProps, "index"> & TableCellRootAttributes & TableCellOwnProps & react.RefAttributes<HTMLTableCellElement>>;
|
|
1267
|
+
|
|
1268
|
+
type TableFooterRootAttributes = Pick<HTMLAttributes<HTMLTableSectionElement>, 'children' | 'hidden' | 'id' | 'title'>;
|
|
1269
|
+
type TableFooterProps = Omit<ComponentProps, 'index'> & TableFooterRootAttributes;
|
|
1270
|
+
declare const TableFooter: react.ForwardRefExoticComponent<Omit<ComponentProps, "index"> & TableFooterRootAttributes & react.RefAttributes<HTMLTableSectionElement>>;
|
|
1271
|
+
|
|
1272
|
+
type TableSortDirection = 'ascending' | 'descending' | 'none';
|
|
1273
|
+
interface TableHeadOwnProps {
|
|
1274
|
+
align?: 'start' | 'center' | 'end';
|
|
1275
|
+
onSort?: MouseEventHandler<HTMLButtonElement>;
|
|
1276
|
+
sort?: TableSortDirection;
|
|
1277
|
+
sortClassName?: string;
|
|
1278
|
+
}
|
|
1279
|
+
type TableHeadRootAttributes = Pick<ThHTMLAttributes<HTMLTableCellElement>, 'abbr' | 'children' | 'colSpan' | 'headers' | 'hidden' | 'id' | 'rowSpan' | 'scope' | 'title'>;
|
|
1280
|
+
type TableHeadProps = Omit<ComponentProps, 'index'> & TableHeadRootAttributes & TableHeadOwnProps;
|
|
1281
|
+
declare const TableHead: react.ForwardRefExoticComponent<Omit<ComponentProps, "index"> & TableHeadRootAttributes & TableHeadOwnProps & react.RefAttributes<HTMLTableCellElement>>;
|
|
1282
|
+
|
|
1283
|
+
type TableHeaderRootAttributes = Pick<HTMLAttributes<HTMLTableSectionElement>, 'children' | 'hidden' | 'id' | 'title'>;
|
|
1284
|
+
type TableHeaderProps = Omit<ComponentProps, 'index'> & TableHeaderRootAttributes;
|
|
1285
|
+
declare const TableHeader: react.ForwardRefExoticComponent<Omit<ComponentProps, "index"> & TableHeaderRootAttributes & react.RefAttributes<HTMLTableSectionElement>>;
|
|
1286
|
+
|
|
1287
|
+
interface TableRowOwnProps {
|
|
1288
|
+
selected?: boolean;
|
|
1289
|
+
}
|
|
1290
|
+
type TableRowRootAttributes = Pick<HTMLAttributes<HTMLTableRowElement>, 'children' | 'hidden' | 'id' | 'title'>;
|
|
1291
|
+
type TableRowProps = Omit<ComponentProps, 'index'> & TableRowRootAttributes & TableRowOwnProps;
|
|
1292
|
+
declare const TableRow: react.ForwardRefExoticComponent<Omit<ComponentProps, "index"> & TableRowRootAttributes & TableRowOwnProps & react.RefAttributes<HTMLTableRowElement>>;
|
|
1293
|
+
|
|
1062
1294
|
interface TabsOwnProps {
|
|
1063
1295
|
alignment?: TabsAlignment;
|
|
1064
1296
|
colorScheme?: ColorScheme;
|
|
@@ -1193,4 +1425,52 @@ interface TooltipProps {
|
|
|
1193
1425
|
type TooltipVariant = 'solid' | 'outline' | 'unstyled';
|
|
1194
1426
|
declare function Tooltip({ children, className, closeDelay, content, defaultOpen, disabled, offset, onOpenChange, open: openProp, openDelay, placement, size, style, variant, }: Readonly<TooltipProps>): ReactNode;
|
|
1195
1427
|
|
|
1196
|
-
|
|
1428
|
+
type TreeSelection = 'checkbox' | 'multiple' | 'none' | 'single';
|
|
1429
|
+
type TreeVariant = 'accent' | 'ghost' | 'solid' | 'unstyled';
|
|
1430
|
+
|
|
1431
|
+
interface TreeBaseProps {
|
|
1432
|
+
cascade?: boolean;
|
|
1433
|
+
colorScheme?: ColorScheme;
|
|
1434
|
+
defaultExpanded?: string[];
|
|
1435
|
+
expanded?: string[];
|
|
1436
|
+
onExpandedChange?: (expanded: string[]) => void;
|
|
1437
|
+
size?: Size;
|
|
1438
|
+
variant?: TreeVariant;
|
|
1439
|
+
}
|
|
1440
|
+
interface TreeSingleProps {
|
|
1441
|
+
defaultValue?: string;
|
|
1442
|
+
onValueChange?: (value: string) => void;
|
|
1443
|
+
selection?: 'none' | 'single';
|
|
1444
|
+
value?: string;
|
|
1445
|
+
}
|
|
1446
|
+
interface TreeMultipleProps {
|
|
1447
|
+
defaultValue?: string[];
|
|
1448
|
+
onValueChange?: (value: string[]) => void;
|
|
1449
|
+
selection: 'checkbox' | 'multiple';
|
|
1450
|
+
value?: string[];
|
|
1451
|
+
}
|
|
1452
|
+
type TreeOwnProps = TreeBaseProps & (TreeMultipleProps | TreeSingleProps);
|
|
1453
|
+
type TreeRootAttributes = Pick<HTMLAttributes<HTMLDivElement>, 'aria-label' | 'aria-labelledby' | 'children' | 'hidden' | 'id' | 'title'>;
|
|
1454
|
+
type TreeProps = Omit<ComponentProps, 'index'> & TreeRootAttributes & TreeOwnProps;
|
|
1455
|
+
declare const Tree: react.ForwardRefExoticComponent<TreeProps & react.RefAttributes<HTMLDivElement>>;
|
|
1456
|
+
|
|
1457
|
+
interface TreeItemOwnProps {
|
|
1458
|
+
disabled?: boolean;
|
|
1459
|
+
value: string;
|
|
1460
|
+
}
|
|
1461
|
+
type TreeItemRootAttributes = Pick<HTMLAttributes<HTMLDivElement>, 'aria-label' | 'children' | 'hidden' | 'id' | 'title'>;
|
|
1462
|
+
type TreeItemProps = Omit<ComponentProps, 'index'> & TreeItemRootAttributes & TreeItemOwnProps;
|
|
1463
|
+
declare const TreeItem: react.ForwardRefExoticComponent<Omit<ComponentProps, "index"> & TreeItemRootAttributes & TreeItemOwnProps & react.RefAttributes<HTMLDivElement>>;
|
|
1464
|
+
|
|
1465
|
+
type TreeItemGroupRootAttributes = Pick<HTMLAttributes<HTMLElement>, 'children' | 'title'>;
|
|
1466
|
+
type TreeItemGroupProps = Omit<ComponentProps, 'index'> & TreeItemGroupRootAttributes;
|
|
1467
|
+
declare const TreeItemGroup: react.ForwardRefExoticComponent<Omit<ComponentProps, "index"> & TreeItemGroupRootAttributes & react.RefAttributes<HTMLElement>>;
|
|
1468
|
+
|
|
1469
|
+
interface TreeItemLabelOwnProps {
|
|
1470
|
+
icon?: ReactNode;
|
|
1471
|
+
}
|
|
1472
|
+
type TreeItemLabelRootAttributes = Pick<HTMLAttributes<HTMLSpanElement>, 'children' | 'title'>;
|
|
1473
|
+
type TreeItemLabelProps = Omit<ComponentProps, 'index'> & TreeItemLabelRootAttributes & TreeItemLabelOwnProps;
|
|
1474
|
+
declare const TreeItemLabel: react.ForwardRefExoticComponent<Omit<ComponentProps, "index"> & TreeItemLabelRootAttributes & TreeItemLabelOwnProps & react.RefAttributes<HTMLSpanElement>>;
|
|
1475
|
+
|
|
1476
|
+
export { Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemProps, type AccordionOwnProps, type AccordionProps, AccordionTrigger, type AccordionTriggerPart, type AccordionTriggerProps, type AccordionVariant, Badge, type BadgeProps, Breadcrumb, BreadcrumbItem, type BreadcrumbItemProps, BreadcrumbLink, type BreadcrumbLinkProps, type BreadcrumbOwnProps, type BreadcrumbProps, BreadcrumbSeparator, type BreadcrumbSeparatorProps, type BreadcrumbVariant, type Breakpoints, Button, type ButtonProps, Card, CardBody, type CardBodyProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, Carousel, CarouselDots, type CarouselDotsProps, CarouselNext, type CarouselNextProps, type CarouselOwnProps, CarouselPlayPause, type CarouselPlayPauseProps, CarouselPrev, type CarouselPrevProps, type CarouselProps, CarouselSlide, type CarouselSlideProps, CarouselSlides, type CarouselSlidesProps, type CarouselVariant, Checkbox, type CheckboxProps, Chip, type ChipPart, type ChipProps, type ChipVariant, Collapse, type CollapseOwnProps, type CollapseProps, type CollapseVariant, type ColorMode, type ColorModeSetting, type ColorPalette, type ColorScheme, type ColorShade, type ComponentProps, DatePicker, type DatePickerConfig, type DatePickerProps, type DateRange, type DeepPartial, Dropdown, DropdownItem, type DropdownItemProps, DropdownLabel, type DropdownLabelProps, DropdownMenu, type DropdownMenuProps, type DropdownProps, DropdownSeparator, type DropdownSeparatorProps, DropdownTrigger, type DropdownTriggerProps, Field, type FieldControlProps, type FieldOrientation, type FieldProps, type FileRejection, type FileRejectionReason, FileUpload, type FileUploadOwnProps, type FileUploadPart, type FileUploadProps, type FileUploadVariant, type FontSizes, type FontWeights, Icon, type IconProps, Input, type InputProps, type LazyLoadedComponent, type LineHeights, List, ListDivider, type ListDividerProps, ListItem, ListItemButton, type ListItemButtonProps, ListItemIcon, type ListItemIconProps, type ListItemProps, ListItemText, type ListItemTextProps, type ListProps, ListSubheader, type ListSubheaderProps, type MaskChangeHandler, Modal, ModalBody, type ModalBodyProps, ModalClose, type ModalCloseProps, ModalContent, type ModalContentProps, ModalFooter, type ModalFooterProps, ModalHeader, type ModalHeaderProps, type ModalProps, ModalTrigger, type ModalTriggerProps, Navbar, NavbarBrand, type NavbarBrandProps, type NavbarBreakpoint, NavbarContent, type NavbarContentProps, NavbarItem, type NavbarItemProps, type NavbarOwnProps, type NavbarProps, NavbarToggle, type NavbarToggleProps, type NavbarVariant, NumberInput, type NumberInputPart, type NumberInputProps, type NumberInputVariant, Paginator, type PaginatorOwnProps, type PaginatorPart, type PaginatorProps, type PaginatorVariant, PinInput, type PinInputProps, type PinInputType, type PinInputVariant, Popover, PopoverClose, type PopoverCloseProps, PopoverContent, type PopoverContentProps, type PopoverProps, PopoverTrigger, type PopoverTriggerProps, ProgressBar, type ProgressBarProps, type ProgressBarVariant, type Radii, Radio, RadioGroup, type RadioGroupProps, type RadioProps, Rating, type RatingPart, type RatingProps, type RatingVariant, Select, SelectContent, type SelectContentPart, type SelectContentProps, SelectGroup, type SelectGroupProps, SelectOption, type SelectOptionPart, type SelectOptionProps, type SelectProps, SelectTrigger, type SelectTriggerPart, type SelectTriggerProps, SelectValue, type SelectValueProps, type SelectVariant, type SelectedOption, type SemanticColors, type Shade, type ShadeLevel, type Shadows, type Shape, Sidebar, type SidebarBreakpoint, SidebarContent, type SidebarContentProps, SidebarItem, type SidebarItemPart, type SidebarItemProps, type SidebarOwnProps, type SidebarProps, SidebarProvider, type SidebarProviderProps, type SidebarSide, SidebarToggle, type SidebarToggleProps, type SidebarVariant, type Size, type Sizes, Skeleton, type SkeletonProps, type SkeletonShape, type SkeletonVariant, Slider, type SliderMark, type SliderOrientation, type SliderOwnProps, type SliderPart, type SliderProps, type SliderValue, type SliderVariant, type Spaces, Spinner, type SpinnerProps, Step, StepDescription, type StepDescriptionProps, StepIndicator, type StepIndicatorProps, type StepProps, StepSeparator, type StepSeparatorProps, type StepStatus, StepTitle, type StepTitleProps, Stepper, type StepperOrientation, type StepperOwnProps, type StepperProps, type StepperVariant, Tab, TabList, type TabListProps, TabPanel, type TabPanelProps, TabPanels, type TabPanelsProps, type TabProps, Table, TableBody, type TableBodyProps, TableCaption, type TableCaptionProps, TableCell, type TableCellProps, TableFooter, type TableFooterProps, TableHead, type TableHeadProps, TableHeader, type TableHeaderProps, type TableOwnProps, type TableProps, TableRow, type TableRowProps, type TableSortDirection, type TableVariant, Tabs, type TabsProps, Textarea, type TextareaProps, type Theme, type ThemeContextValue, ThemeProvider, type ThemeProviderProps, type ToastAction, type ToastApi, type ToastContent, type ToastIcons, type ToastOptions, type ToastPart, type ToastPosition, ToastProvider, type ToastProviderProps, type ToastStatus, type ToastVariant, Toggle, type ToggleProps, Tooltip, type TooltipProps, Tree, TreeItem, TreeItemGroup, type TreeItemGroupProps, TreeItemLabel, type TreeItemLabelOwnProps, type TreeItemLabelProps, type TreeItemOwnProps, type TreeItemProps, type TreeOwnProps, type TreeProps, type TreeSelection, type TreeVariant, type Typography, type UseClickOutsideProps, type UseDebounceProps, type UseMaskProps, type UseMaskResult, type ZIndeces, applyMask, colorVar, deepMerge, defaultDarkTheme, defaultTheme, formatDate, getContrastColor, getContrastRatio, getDarkenColor, getDateFormatByLanguage, getDateFromDateString, getDateStringByLanguage, getDaysOfWeekByLanguage, getLightenColor, getMonthsByLanguage, lazyLoadContent, themeToCssVars, useClickOutside, useDebounce, useMask, useTheme, useToast, validateFormatDate };
|