@kazee-ds/react 0.5.5 → 0.7.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 +3 -1
- package/dist/index.js +4742 -1012
- package/dist/index.js.map +1 -1
- package/dist/types/Alert.d.ts +20 -4
- package/dist/types/Avatar.d.ts +42 -0
- package/dist/types/AvatarGroup.d.ts +18 -0
- package/dist/types/Badge.d.ts +23 -4
- package/dist/types/Breadcrumb.d.ts +24 -2
- package/dist/types/Button.d.ts +4 -3
- package/dist/types/ButtonGroup.d.ts +4 -3
- package/dist/types/Calendar.d.ts +60 -0
- package/dist/types/Card.d.ts +49 -4
- package/dist/types/Chart.d.ts +13 -2
- package/dist/types/Checkbox.d.ts +11 -2
- package/dist/types/Combobox.d.ts +13 -3
- package/dist/types/DataTable.d.ts +23 -2
- package/dist/types/DateRangePicker.d.ts +20 -2
- package/dist/types/Dialog.d.ts +20 -2
- package/dist/types/DropdownMenu.d.ts +23 -3
- package/dist/types/Empty.d.ts +12 -2
- package/dist/types/FieldComponent.d.ts +3 -2
- package/dist/types/Form.d.ts +3 -2
- package/dist/types/Input.d.ts +19 -4
- package/dist/types/Label.d.ts +4 -3
- package/dist/types/Listbox.d.ts +11 -2
- package/dist/types/NumberField.d.ts +12 -2
- package/dist/types/OverlayDirection.d.ts +1 -1
- package/dist/types/Pagination.d.ts +29 -2
- package/dist/types/Popover.d.ts +19 -2
- package/dist/types/RadioGroup.d.ts +12 -2
- package/dist/types/Select.d.ts +19 -7
- package/dist/types/SelectGroup.d.ts +3 -2
- package/dist/types/Separator.d.ts +2 -1
- package/dist/types/Sidebar.d.ts +16 -2
- package/dist/types/Skeleton.d.ts +2 -1
- package/dist/types/Spinner.d.ts +3 -2
- package/dist/types/Switch.d.ts +18 -2
- package/dist/types/Table.d.ts +16 -2
- package/dist/types/Tabs.d.ts +38 -3
- package/dist/types/TemporalField.d.ts +36 -0
- package/dist/types/TemporalPicker.d.ts +137 -0
- package/dist/types/Textarea.d.ts +13 -2
- package/dist/types/TimeControls.d.ts +14 -0
- package/dist/types/Toast.d.ts +31 -7
- package/dist/types/ToggleButton.d.ts +5 -3
- package/dist/types/ToggleButtonGroup.d.ts +4 -1
- package/dist/types/ToggleGroup.d.ts +18 -3
- package/dist/types/Tooltip.d.ts +12 -2
- package/dist/types/choice-composition.d.ts +35 -0
- package/dist/types/combobox-composition.d.ts +22 -0
- package/dist/types/control-composition.d.ts +73 -0
- package/dist/types/date-range-composition.d.ts +46 -0
- package/dist/types/date-range-model.d.ts +3 -1
- package/dist/types/field.d.ts +6 -1
- package/dist/types/index.d.ts +46 -1
- package/dist/types/input-clear.d.ts +24 -0
- package/dist/types/label-context.d.ts +8 -0
- package/dist/types/layout-parts.d.ts +44 -0
- package/dist/types/number-composition.d.ts +24 -0
- package/dist/types/structural-parts.d.ts +56 -0
- package/dist/types/styling.d.ts +8 -0
- package/dist/types/switch-visual.d.ts +21 -0
- package/dist/types/temporal-model.d.ts +44 -0
- package/dist/types/toggle-group-model.d.ts +1 -1
- package/dist/types/visual-slot.d.ts +3 -0
- package/dist/types/visual.d.ts +5 -0
- package/package.json +1 -1
package/dist/types/Input.d.ts
CHANGED
|
@@ -1,11 +1,14 @@
|
|
|
1
|
+
import { InputRoot, InputGroup, InputPrefix, InputSuffix, type InputCompositionProps } from './control-composition.js';
|
|
2
|
+
import { type StylingProps } from './styling.js';
|
|
3
|
+
import { InputClearButton } from './input-clear.js';
|
|
1
4
|
import { type FocusEventHandler, type KeyboardEventHandler, type ReactNode } from 'react';
|
|
2
|
-
export type InputSize = 'sm' | 'md' | 'lg';
|
|
5
|
+
export type InputSize = 'xs' | 'sm' | 'dense' | 'md' | 'lg' | 'xl';
|
|
3
6
|
export type InputType = 'text' | 'email' | 'password' | 'search' | 'tel' | 'url';
|
|
4
|
-
export type InputVariant = 'primary' | 'secondary';
|
|
7
|
+
export type InputVariant = 'primary' | 'secondary' | 'flat' | 'sunken';
|
|
5
8
|
export type InputMode = 'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search';
|
|
6
9
|
export type InputEnterKeyHint = 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send';
|
|
7
10
|
/** A labeled single-line string field. Numeric/date parsing is a separate contract. */
|
|
8
|
-
export interface InputProps {
|
|
11
|
+
export interface InputProps extends StylingProps<'root' | 'input' | 'control' | 'label' | 'boundary' | 'prefix' | 'suffix' | 'description' | 'error' | 'group' | 'clearButton'> {
|
|
9
12
|
label: string;
|
|
10
13
|
value?: string;
|
|
11
14
|
defaultValue?: string;
|
|
@@ -24,6 +27,9 @@ export interface InputProps {
|
|
|
24
27
|
variant?: InputVariant;
|
|
25
28
|
/** Fill the available width. Defaults to true to preserve the existing field layout. */
|
|
26
29
|
fullWidth?: boolean;
|
|
30
|
+
hideLabel?: boolean;
|
|
31
|
+
isClearable?: boolean;
|
|
32
|
+
clearLabel?: string;
|
|
27
33
|
/** Leading/trailing content. Mark decorative icons aria-hidden; name interactive buttons. */
|
|
28
34
|
prefix?: ReactNode;
|
|
29
35
|
suffix?: ReactNode;
|
|
@@ -44,4 +50,13 @@ export interface InputProps {
|
|
|
44
50
|
onKeyUp?: KeyboardEventHandler<HTMLInputElement>;
|
|
45
51
|
dir?: 'ltr' | 'rtl';
|
|
46
52
|
}
|
|
47
|
-
export declare const Input: import("react").ForwardRefExoticComponent<InputProps & import("react").RefAttributes<HTMLInputElement
|
|
53
|
+
export declare const Input: import("react").ForwardRefExoticComponent<(InputCompositionProps | InputProps) & import("react").RefAttributes<HTMLInputElement>> & {
|
|
54
|
+
Root: typeof InputRoot;
|
|
55
|
+
Control: import("react").ForwardRefExoticComponent<Omit<import("react-aria-components").InputProps, "className"> & {
|
|
56
|
+
className?: string;
|
|
57
|
+
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
58
|
+
Group: typeof InputGroup;
|
|
59
|
+
Prefix: typeof InputPrefix;
|
|
60
|
+
Suffix: typeof InputSuffix;
|
|
61
|
+
ClearButton: typeof InputClearButton;
|
|
62
|
+
};
|
package/dist/types/Label.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import type
|
|
2
|
-
|
|
1
|
+
import { type StylingProps } from './styling.js';
|
|
2
|
+
import { type ReactNode } from 'react';
|
|
3
|
+
export interface LabelProps extends StylingProps<'root'> {
|
|
3
4
|
children: ReactNode;
|
|
4
5
|
htmlFor?: string;
|
|
5
6
|
id?: string;
|
|
6
7
|
}
|
|
7
8
|
/** Associates visible text with a separately rendered control. */
|
|
8
|
-
export declare function Label({ children, htmlFor, id }: LabelProps): import("react").JSX.Element;
|
|
9
|
+
export declare function Label({ children, htmlFor, id, className, style, classNames }: LabelProps): import("react").JSX.Element;
|
package/dist/types/Listbox.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import { ListBoxRoot, ListBoxItemPart, ListBoxSectionPart, ListBoxItemIndicator } from './control-composition.js';
|
|
2
|
+
import { type StylingProps } from './styling.js';
|
|
1
3
|
import { type FieldFeedbackProps } from './field.js';
|
|
2
4
|
import { type ListboxOption, type ListboxSelectionMode } from './listbox-selection.js';
|
|
3
|
-
export interface ListboxProps extends FieldFeedbackProps {
|
|
5
|
+
export interface ListboxProps extends FieldFeedbackProps, StylingProps<'root' | 'label' | 'list' | 'empty' | 'item' | 'itemLabel' | 'indicator' | 'description' | 'error'> {
|
|
4
6
|
label: string;
|
|
5
7
|
options: ListboxOption[];
|
|
6
8
|
/** Always an array; empty selection is []. */
|
|
@@ -14,4 +16,11 @@ export interface ListboxProps extends FieldFeedbackProps {
|
|
|
14
16
|
dir?: 'ltr' | 'rtl';
|
|
15
17
|
emptyMessage?: string;
|
|
16
18
|
}
|
|
17
|
-
|
|
19
|
+
declare function ListboxRoot(props: ListboxProps | Parameters<typeof ListBoxRoot>[0]): import("react").JSX.Element;
|
|
20
|
+
export declare const Listbox: typeof ListboxRoot & {
|
|
21
|
+
Root: typeof ListBoxRoot;
|
|
22
|
+
Item: typeof ListBoxItemPart;
|
|
23
|
+
Section: typeof ListBoxSectionPart;
|
|
24
|
+
ItemIndicator: typeof ListBoxItemIndicator;
|
|
25
|
+
};
|
|
26
|
+
export {};
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import { NumberFieldComposition, NumberFieldGroup, NumberFieldInput, NumberFieldIncrement, NumberFieldDecrement, type NumberFieldCompositionProps } from './number-composition.js';
|
|
2
|
+
import { type StylingProps } from './styling.js';
|
|
3
|
+
export interface NumberFieldProps extends StylingProps<'root' | 'label' | 'group' | 'input' | 'button' | 'decrementButton' | 'incrementButton' | 'description' | 'error'> {
|
|
2
4
|
label: string;
|
|
3
5
|
value?: number | null;
|
|
4
6
|
defaultValue?: number | null;
|
|
@@ -21,4 +23,12 @@ export interface NumberFieldProps {
|
|
|
21
23
|
incrementLabel?: string;
|
|
22
24
|
decrementLabel?: string;
|
|
23
25
|
}
|
|
24
|
-
|
|
26
|
+
declare function NumberFieldRoot(props: NumberFieldProps | NumberFieldCompositionProps): import("react").JSX.Element;
|
|
27
|
+
export declare const NumberField: typeof NumberFieldRoot & {
|
|
28
|
+
Root: typeof NumberFieldComposition;
|
|
29
|
+
Group: typeof NumberFieldGroup;
|
|
30
|
+
Input: typeof NumberFieldInput;
|
|
31
|
+
IncrementButton: typeof NumberFieldIncrement;
|
|
32
|
+
DecrementButton: typeof NumberFieldDecrement;
|
|
33
|
+
};
|
|
34
|
+
export type { NumberFieldCompositionProps } from './number-composition.js';
|
|
@@ -2,4 +2,4 @@ import type { ReactNode } from 'react';
|
|
|
2
2
|
export declare function OverlayDirection({ dir, children }: {
|
|
3
3
|
dir?: 'ltr' | 'rtl';
|
|
4
4
|
children: ReactNode;
|
|
5
|
-
}): string | number | bigint | boolean |
|
|
5
|
+
}): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import("react").JSX.Element | null | undefined;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import { type StylingProps } from './styling.js';
|
|
2
|
+
import { type HTMLAttributes, type ButtonHTMLAttributes, type ReactNode } from 'react';
|
|
3
|
+
export type PaginationPart = 'root' | 'button' | 'gap' | 'summary';
|
|
4
|
+
export interface PaginationProps extends StylingProps<PaginationPart> {
|
|
2
5
|
totalItems: number;
|
|
3
6
|
pageSize?: number;
|
|
4
7
|
value?: number;
|
|
@@ -13,4 +16,28 @@ export interface PaginationProps {
|
|
|
13
16
|
dir?: 'ltr' | 'rtl';
|
|
14
17
|
id?: string;
|
|
15
18
|
}
|
|
16
|
-
export
|
|
19
|
+
export interface PaginationRootProps extends Omit<PaginationProps, 'previousLabel' | 'nextLabel' | 'pageLabel'> {
|
|
20
|
+
children?: ReactNode;
|
|
21
|
+
}
|
|
22
|
+
export declare function PaginationRoot({ totalItems, pageSize, value, defaultValue, onChange, isDisabled, siblingCount, label, className, classNames, style, dir, id, children, }: PaginationRootProps): import("react").JSX.Element;
|
|
23
|
+
export declare function PaginationPageButton({ page, className, onClick, disabled, ...props }: ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
24
|
+
page: number;
|
|
25
|
+
}): import("react").JSX.Element;
|
|
26
|
+
export declare function PaginationPrevious(props: ButtonHTMLAttributes<HTMLButtonElement>): import("react").JSX.Element;
|
|
27
|
+
export declare function PaginationNext(props: ButtonHTMLAttributes<HTMLButtonElement>): import("react").JSX.Element;
|
|
28
|
+
export declare function PaginationSummary({ className, children, ...props }: HTMLAttributes<HTMLSpanElement>): import("react").JSX.Element;
|
|
29
|
+
export declare function PaginationContent(props: HTMLAttributes<HTMLDivElement>): import("react").JSX.Element;
|
|
30
|
+
export declare function PaginationItem(props: HTMLAttributes<HTMLSpanElement>): import("react").JSX.Element;
|
|
31
|
+
export declare function PaginationEllipsis({ className, children, ...props }: HTMLAttributes<HTMLSpanElement>): import("react").JSX.Element;
|
|
32
|
+
declare function PaginationComponent(props: PaginationProps | PaginationRootProps): import("react").JSX.Element;
|
|
33
|
+
export declare const Pagination: typeof PaginationComponent & {
|
|
34
|
+
Root: typeof PaginationRoot;
|
|
35
|
+
Content: typeof PaginationContent;
|
|
36
|
+
Item: typeof PaginationItem;
|
|
37
|
+
PageButton: typeof PaginationPageButton;
|
|
38
|
+
Previous: typeof PaginationPrevious;
|
|
39
|
+
Next: typeof PaginationNext;
|
|
40
|
+
Summary: typeof PaginationSummary;
|
|
41
|
+
Ellipsis: typeof PaginationEllipsis;
|
|
42
|
+
};
|
|
43
|
+
export {};
|
package/dist/types/Popover.d.ts
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
|
+
import type { DialogRootProps } from './structural-parts.js';
|
|
2
|
+
import { PopoverDialog, OverlayHeading, DialogRoot, PopoverCloseButton, OverlayDescription } from './structural-parts.js';
|
|
3
|
+
import { type StylingProps } from './styling.js';
|
|
1
4
|
import { type ReactNode } from 'react';
|
|
2
|
-
export
|
|
5
|
+
export type PopoverPart = 'root' | 'trigger' | 'panel' | 'content' | 'title' | 'description' | 'body' | 'footer' | 'close';
|
|
6
|
+
export interface PopoverProps extends StylingProps<PopoverPart> {
|
|
3
7
|
triggerLabel: string;
|
|
4
8
|
title: string;
|
|
5
9
|
description?: string;
|
|
@@ -11,4 +15,17 @@ export interface PopoverProps {
|
|
|
11
15
|
closeLabel?: string;
|
|
12
16
|
dir?: 'ltr' | 'rtl';
|
|
13
17
|
}
|
|
14
|
-
|
|
18
|
+
declare function PopoverComponent(props: PopoverProps | DialogRootProps): import("react").JSX.Element;
|
|
19
|
+
export declare const Popover: typeof PopoverComponent & {
|
|
20
|
+
Root: typeof DialogRoot;
|
|
21
|
+
Trigger: ({ className, ...props }: import("react-aria-components").ButtonProps & import("react").RefAttributes<HTMLButtonElement>) => import("react").ReactElement<import("react-aria-components").ButtonProps & import("react").RefAttributes<HTMLButtonElement>, string | import("react").JSXElementConstructor<any>>;
|
|
22
|
+
Content: ({ className, ...props }: import("react-aria-components").PopoverProps & import("react").RefAttributes<HTMLElement>) => import("react").ReactElement<import("react-aria-components").PopoverProps & import("react").RefAttributes<HTMLElement>, string | import("react").JSXElementConstructor<any>>;
|
|
23
|
+
Dialog: typeof PopoverDialog;
|
|
24
|
+
Heading: typeof OverlayHeading;
|
|
25
|
+
Description: typeof OverlayDescription;
|
|
26
|
+
Header: ({ className, ...props }: import("react").HTMLAttributes<HTMLDivElement>) => import("react").JSX.Element;
|
|
27
|
+
Body: ({ className, ...props }: import("react").HTMLAttributes<HTMLDivElement>) => import("react").JSX.Element;
|
|
28
|
+
Footer: ({ className, ...props }: import("react").HTMLAttributes<HTMLDivElement>) => import("react").JSX.Element;
|
|
29
|
+
CloseButton: typeof PopoverCloseButton;
|
|
30
|
+
};
|
|
31
|
+
export {};
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
+
import { RadioGroupComposition, RadioItem, RadioControl, RadioIndicator, ChoiceContent, type RadioGroupCompositionProps } from './choice-composition.js';
|
|
2
|
+
import { type StylingProps } from './styling.js';
|
|
1
3
|
import { type FieldFeedbackProps } from './field.js';
|
|
2
4
|
export interface RadioOption {
|
|
3
5
|
id: string;
|
|
4
6
|
label: string;
|
|
5
7
|
isDisabled?: boolean;
|
|
6
8
|
}
|
|
7
|
-
export interface RadioGroupProps extends FieldFeedbackProps {
|
|
9
|
+
export interface RadioGroupProps extends FieldFeedbackProps, StylingProps<'root' | 'label' | 'items' | 'item' | 'control' | 'indicator' | 'itemLabel' | 'description' | 'error'> {
|
|
8
10
|
label: string;
|
|
9
11
|
options: RadioOption[];
|
|
10
12
|
value?: string;
|
|
@@ -17,4 +19,12 @@ export interface RadioGroupProps extends FieldFeedbackProps {
|
|
|
17
19
|
orientation?: 'vertical' | 'horizontal';
|
|
18
20
|
dir?: 'ltr' | 'rtl';
|
|
19
21
|
}
|
|
20
|
-
|
|
22
|
+
declare function RadioGroupRoot(props: RadioGroupProps | RadioGroupCompositionProps): import("react").JSX.Element;
|
|
23
|
+
export declare const RadioGroup: typeof RadioGroupRoot & {
|
|
24
|
+
Root: typeof RadioGroupComposition;
|
|
25
|
+
Item: typeof RadioItem;
|
|
26
|
+
Control: typeof RadioControl;
|
|
27
|
+
Indicator: typeof RadioIndicator;
|
|
28
|
+
Content: typeof ChoiceContent;
|
|
29
|
+
};
|
|
30
|
+
export type { RadioGroupCompositionProps } from './choice-composition.js';
|
package/dist/types/Select.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
import { SelectComposition, SelectControl, SelectTrigger, SelectValuePart, SelectIndicator, SelectClearButton, SelectPopover, type SelectCompositionProps } from './control-composition.js';
|
|
2
|
+
import { type StylingProps } from './styling.js';
|
|
1
3
|
import { type ReactNode } from 'react';
|
|
2
4
|
import { type SelectOption } from './selection-options.js';
|
|
3
5
|
export type { SelectOption } from './selection-options.js';
|
|
4
|
-
export type SelectSize = 'sm' | 'md' | 'lg';
|
|
5
|
-
export type SelectVariant = 'primary' | 'secondary' | 'outline';
|
|
6
|
-
interface SelectCommonProps {
|
|
6
|
+
export type SelectSize = 'xs' | 'sm' | 'dense' | 'md' | 'lg' | 'xl';
|
|
7
|
+
export type SelectVariant = 'primary' | 'secondary' | 'outline' | 'flat';
|
|
8
|
+
interface SelectCommonProps extends StylingProps<'root' | 'label' | 'required' | 'control' | 'trigger' | 'leading' | 'value' | 'indicator' | 'clearButton' | 'clearIcon' | 'popover' | 'list' | 'item' | 'itemLabel' | 'itemDescription' | 'itemIndicator' | 'description' | 'error'> {
|
|
7
9
|
/** Activates an option even when it is already selected (for linked editors). */
|
|
8
10
|
onAction?: (value: string) => void;
|
|
9
11
|
label: string;
|
|
@@ -42,9 +44,19 @@ export type SelectProps = SelectCommonProps & ({
|
|
|
42
44
|
defaultValue?: string[];
|
|
43
45
|
onChange?: (value: string[]) => void;
|
|
44
46
|
});
|
|
45
|
-
|
|
47
|
+
declare function SelectRoot(props: Extract<SelectProps, {
|
|
46
48
|
selectionMode: 'multiple';
|
|
47
|
-
}>): ReactNode;
|
|
48
|
-
|
|
49
|
+
}> | SelectCompositionProps<'multiple'>): ReactNode;
|
|
50
|
+
declare function SelectRoot(props: Exclude<SelectProps, {
|
|
49
51
|
selectionMode: 'multiple';
|
|
50
|
-
}>): ReactNode;
|
|
52
|
+
}> | SelectCompositionProps<'single'>): ReactNode;
|
|
53
|
+
export declare const Select: typeof SelectRoot & {
|
|
54
|
+
Root: typeof SelectComposition;
|
|
55
|
+
Control: typeof SelectControl;
|
|
56
|
+
Trigger: typeof SelectTrigger;
|
|
57
|
+
Value: typeof SelectValuePart;
|
|
58
|
+
Indicator: typeof SelectIndicator;
|
|
59
|
+
ClearButton: typeof SelectClearButton;
|
|
60
|
+
Popover: typeof SelectPopover;
|
|
61
|
+
};
|
|
62
|
+
export type { SelectCompositionProps } from './control-composition.js';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { type StylingProps } from './styling.js';
|
|
1
2
|
import { type ReactNode } from 'react';
|
|
2
3
|
import { type SelectSize, type SelectVariant } from './Select.js';
|
|
3
|
-
export interface SelectGroupProps {
|
|
4
|
+
export interface SelectGroupProps extends StylingProps<'root' | 'label' | 'controls'> {
|
|
4
5
|
label: string;
|
|
5
6
|
children: ReactNode;
|
|
6
7
|
size?: SelectSize;
|
|
@@ -10,4 +11,4 @@ export interface SelectGroupProps {
|
|
|
10
11
|
dir?: 'ltr' | 'rtl';
|
|
11
12
|
}
|
|
12
13
|
/** Joins direct Select children. Each child retains its own value and accessible label. */
|
|
13
|
-
export declare function SelectGroup({ label, children, size, variant, fullWidth, isDisabled, dir, }: SelectGroupProps): import("react").JSX.Element;
|
|
14
|
+
export declare function SelectGroup({ label, children, size, variant, fullWidth, isDisabled, dir, className, style, classNames, }: SelectGroupProps): import("react").JSX.Element;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { HTMLAttributes } from 'react';
|
|
2
2
|
export interface SeparatorProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children' | 'role' | 'aria-hidden' | 'aria-orientation'> {
|
|
3
|
+
classNames?: Partial<Record<'root', string>>;
|
|
3
4
|
orientation?: 'horizontal' | 'vertical';
|
|
4
5
|
decorative?: boolean;
|
|
5
6
|
}
|
|
6
|
-
export declare function Separator({ orientation, decorative, className, ...props }: SeparatorProps): import("react").JSX.Element;
|
|
7
|
+
export declare function Separator({ orientation, decorative, className, classNames, ...props }: SeparatorProps): import("react").JSX.Element;
|
package/dist/types/Sidebar.d.ts
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
|
+
import { SidebarRoot, SidebarHeader, SidebarTitle, SidebarToggle, SidebarNavigation, SidebarList, SidebarItem, SidebarLink } from './layout-parts.js';
|
|
2
|
+
import { type StylingProps } from './styling.js';
|
|
1
3
|
import type { NavigationItem } from './dashboard-types.js';
|
|
2
|
-
export
|
|
4
|
+
export type SidebarPart = 'root' | 'header' | 'title' | 'toggle' | 'navigation' | 'list' | 'item' | 'link';
|
|
5
|
+
export interface SidebarProps extends StylingProps<SidebarPart> {
|
|
3
6
|
label: string;
|
|
4
7
|
items: NavigationItem[];
|
|
5
8
|
currentId?: string;
|
|
@@ -10,4 +13,15 @@ export interface SidebarProps {
|
|
|
10
13
|
dir?: 'ltr' | 'rtl';
|
|
11
14
|
id?: string;
|
|
12
15
|
}
|
|
13
|
-
|
|
16
|
+
declare function SidebarComponent(props: SidebarProps | import('./layout-parts.js').SidebarRootProps): import("react").JSX.Element;
|
|
17
|
+
export declare const Sidebar: typeof SidebarComponent & {
|
|
18
|
+
Root: typeof SidebarRoot;
|
|
19
|
+
Header: typeof SidebarHeader;
|
|
20
|
+
Title: typeof SidebarTitle;
|
|
21
|
+
Toggle: typeof SidebarToggle;
|
|
22
|
+
Navigation: typeof SidebarNavigation;
|
|
23
|
+
List: typeof SidebarList;
|
|
24
|
+
Item: typeof SidebarItem;
|
|
25
|
+
Link: typeof SidebarLink;
|
|
26
|
+
};
|
|
27
|
+
export {};
|
package/dist/types/Skeleton.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { HTMLAttributes } from 'react';
|
|
2
2
|
export interface SkeletonProps extends Omit<HTMLAttributes<HTMLSpanElement>, 'children' | 'aria-hidden'> {
|
|
3
|
+
classNames?: Partial<Record<'root', string>>;
|
|
3
4
|
shape?: 'rectangle' | 'circle';
|
|
4
5
|
animated?: boolean;
|
|
5
6
|
}
|
|
6
7
|
/** Decorative placeholder. Set aria-busy and loading text on the surrounding content. */
|
|
7
|
-
export declare function Skeleton({ shape, animated, className, ...props }: SkeletonProps): import("react").JSX.Element;
|
|
8
|
+
export declare function Skeleton({ shape, animated, className, classNames, ...props }: SkeletonProps): import("react").JSX.Element;
|
package/dist/types/Spinner.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
import { type StylingProps } from './styling.js';
|
|
1
2
|
export type SpinnerSize = 'sm' | 'md' | 'lg';
|
|
2
3
|
export type SpinnerColor = 'current' | 'primary';
|
|
3
|
-
export interface SpinnerProps {
|
|
4
|
+
export interface SpinnerProps extends StylingProps<'root' | 'track' | 'arc' | 'label'> {
|
|
4
5
|
size?: SpinnerSize;
|
|
5
6
|
color?: SpinnerColor;
|
|
6
7
|
label?: string;
|
|
7
8
|
id?: string;
|
|
8
9
|
}
|
|
9
10
|
/** Decorative by default. Use label for a standalone loading status; omit it inside a labeled Button. */
|
|
10
|
-
export declare function Spinner({ size, color, label, id }: SpinnerProps): import("react").JSX.Element;
|
|
11
|
+
export declare function Spinner({ size, color, label, id, className, style, classNames, }: SpinnerProps): import("react").JSX.Element;
|
package/dist/types/Switch.d.ts
CHANGED
|
@@ -1,13 +1,29 @@
|
|
|
1
|
+
import { SwitchComposition, SwitchControl, SwitchThumb, SwitchIcon, ChoiceContent, type SwitchCompositionProps } from './choice-composition.js';
|
|
2
|
+
import { type StylingProps } from './styling.js';
|
|
1
3
|
import type { FieldFeedbackProps } from './field.js';
|
|
2
|
-
|
|
4
|
+
import { type SwitchVisualProps } from './switch-visual.js';
|
|
5
|
+
export { SwitchGroup } from './switch-visual.js';
|
|
6
|
+
export interface SwitchProps extends FieldFeedbackProps, SwitchVisualProps, StylingProps<'root' | 'choice' | 'control' | 'thumb' | 'label' | 'description' | 'error'> {
|
|
3
7
|
label: string;
|
|
4
8
|
isSelected?: boolean;
|
|
5
9
|
defaultSelected?: boolean;
|
|
6
10
|
onChange?: (selected: boolean) => void;
|
|
7
11
|
isDisabled?: boolean;
|
|
12
|
+
isReadOnly?: boolean;
|
|
13
|
+
isRequired?: boolean;
|
|
14
|
+
validate?: import('react-aria-components/Switch').SwitchFieldProps['validate'];
|
|
15
|
+
validationBehavior?: 'native' | 'aria';
|
|
8
16
|
name?: string;
|
|
9
17
|
value?: string;
|
|
10
18
|
id?: string;
|
|
11
19
|
dir?: 'ltr' | 'rtl';
|
|
12
20
|
}
|
|
13
|
-
|
|
21
|
+
declare function SwitchRoot(props: SwitchProps | SwitchCompositionProps): import("react").JSX.Element;
|
|
22
|
+
export declare const Switch: typeof SwitchRoot & {
|
|
23
|
+
Root: typeof SwitchComposition;
|
|
24
|
+
Control: typeof SwitchControl;
|
|
25
|
+
Thumb: typeof SwitchThumb;
|
|
26
|
+
Icon: typeof SwitchIcon;
|
|
27
|
+
Content: typeof ChoiceContent;
|
|
28
|
+
};
|
|
29
|
+
export type { SwitchCompositionProps } from './choice-composition.js';
|
package/dist/types/Table.d.ts
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
import type { TableHTMLAttributes } from 'react';
|
|
2
|
-
|
|
2
|
+
import { type StylingProps } from './styling.js';
|
|
3
|
+
import { TableRoot, TableScrollContainer, TableHeader, TableBody, TableFooter, TableRow, TableColumn, TableCell, TableCaption } from './structural-parts.js';
|
|
4
|
+
export interface TableProps extends TableHTMLAttributes<HTMLTableElement>, StylingProps<'root' | 'scroll' | 'caption'> {
|
|
3
5
|
caption: string;
|
|
4
6
|
}
|
|
5
|
-
|
|
7
|
+
declare function CompactTable({ caption, children, className, classNames, ...props }: TableProps): import("react").JSX.Element;
|
|
8
|
+
export declare const Table: typeof CompactTable & {
|
|
9
|
+
Root: typeof TableRoot;
|
|
10
|
+
ScrollContainer: typeof TableScrollContainer;
|
|
11
|
+
Header: typeof TableHeader;
|
|
12
|
+
Body: typeof TableBody;
|
|
13
|
+
Footer: typeof TableFooter;
|
|
14
|
+
Row: typeof TableRow;
|
|
15
|
+
Column: typeof TableColumn;
|
|
16
|
+
Cell: typeof TableCell;
|
|
17
|
+
Caption: typeof TableCaption;
|
|
18
|
+
};
|
|
19
|
+
export {};
|
package/dist/types/Tabs.d.ts
CHANGED
|
@@ -1,15 +1,19 @@
|
|
|
1
|
+
import { type StylingProps } from './styling.js';
|
|
1
2
|
import type { ButtonSize } from './Button.js';
|
|
2
|
-
import { type ReactNode } from 'react';
|
|
3
|
+
import { type ReactNode, type HTMLAttributes } from 'react';
|
|
4
|
+
import type { TabsProps as AriaTabsProps, TabListProps, TabProps, TabPanelProps } from 'react-aria-components/Tabs';
|
|
3
5
|
export interface TabItem {
|
|
4
6
|
id: string;
|
|
5
7
|
label: string;
|
|
6
8
|
isDisabled?: boolean;
|
|
7
9
|
}
|
|
8
10
|
export type TabsVariant = 'primary' | 'secondary' | 'default' | 'pill';
|
|
9
|
-
export
|
|
11
|
+
export type TabsPart = 'root' | 'listContainer' | 'list' | 'tab' | 'separator' | 'icon' | 'label' | 'panel' | 'toolbar' | 'navigation' | 'extras' | 'actions' | 'scrollButton';
|
|
12
|
+
export interface TabsProps extends StylingProps<TabsPart> {
|
|
10
13
|
label: string;
|
|
11
14
|
variant?: TabsVariant;
|
|
12
15
|
size?: ButtonSize;
|
|
16
|
+
indicatorShadow?: boolean;
|
|
13
17
|
orientation?: 'horizontal' | 'vertical';
|
|
14
18
|
align?: 'start' | 'center' | 'end';
|
|
15
19
|
fullWidth?: boolean;
|
|
@@ -30,4 +34,35 @@ export interface TabsProps {
|
|
|
30
34
|
dir?: 'ltr' | 'rtl';
|
|
31
35
|
id?: string;
|
|
32
36
|
}
|
|
33
|
-
export
|
|
37
|
+
export interface TabsRootProps extends Omit<AriaTabsProps, 'selectedKey' | 'defaultSelectedKey' | 'onSelectionChange' | 'className' | 'style' | 'children'>, StylingProps<'root'> {
|
|
38
|
+
children?: ReactNode;
|
|
39
|
+
value?: string;
|
|
40
|
+
defaultValue?: string;
|
|
41
|
+
onChange?: (value: string) => void;
|
|
42
|
+
variant?: TabsVariant;
|
|
43
|
+
size?: ButtonSize;
|
|
44
|
+
indicatorShadow?: boolean;
|
|
45
|
+
align?: 'start' | 'center' | 'end';
|
|
46
|
+
fullWidth?: boolean;
|
|
47
|
+
}
|
|
48
|
+
export declare function TabsRoot({ className, classNames, value, defaultValue, onChange, variant, size, align, fullWidth, indicatorShadow, ...props }: TabsRootProps): import("react").JSX.Element;
|
|
49
|
+
export declare function TabsListContainer({ className, children, previousLabel, nextLabel, ...props }: HTMLAttributes<HTMLDivElement> & {
|
|
50
|
+
previousLabel?: string;
|
|
51
|
+
nextLabel?: string;
|
|
52
|
+
}): import("react").JSX.Element;
|
|
53
|
+
export declare function TabsList<T extends object>(props: TabListProps<T>): import("react").JSX.Element;
|
|
54
|
+
export declare function TabsTab(props: TabProps): import("react").JSX.Element;
|
|
55
|
+
export declare function TabsPanel(props: TabPanelProps): import("react").JSX.Element;
|
|
56
|
+
export declare function TabsIndicator({ className, ...props }: HTMLAttributes<HTMLSpanElement>): import("react").JSX.Element;
|
|
57
|
+
export declare function TabsSeparator({ className, ...props }: HTMLAttributes<HTMLSpanElement>): import("react").JSX.Element;
|
|
58
|
+
declare function TabsComponent(props: TabsProps | TabsRootProps): import("react").JSX.Element;
|
|
59
|
+
export declare const Tabs: typeof TabsComponent & {
|
|
60
|
+
Root: typeof TabsRoot;
|
|
61
|
+
ListContainer: typeof TabsListContainer;
|
|
62
|
+
List: typeof TabsList;
|
|
63
|
+
Tab: typeof TabsTab;
|
|
64
|
+
Panel: typeof TabsPanel;
|
|
65
|
+
Indicator: typeof TabsIndicator;
|
|
66
|
+
Separator: typeof TabsSeparator;
|
|
67
|
+
};
|
|
68
|
+
export {};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { type TemporalConstraints, type TemporalKind } from './temporal-model.js';
|
|
2
|
+
import { type StylingProps } from './styling.js';
|
|
3
|
+
export interface TemporalFieldProps extends Omit<TemporalConstraints, 'kind'>, StylingProps<'label' | 'input' | 'segment' | 'description' | 'error'> {
|
|
4
|
+
label: string;
|
|
5
|
+
value?: string | null;
|
|
6
|
+
defaultValue?: string | null;
|
|
7
|
+
onChange?: (value: string | null) => void;
|
|
8
|
+
onError?: (error: string | null) => void;
|
|
9
|
+
locale?: string;
|
|
10
|
+
dir?: 'ltr' | 'rtl';
|
|
11
|
+
hourCycle?: 12 | 24;
|
|
12
|
+
isDisabled?: boolean;
|
|
13
|
+
isReadOnly?: boolean;
|
|
14
|
+
isInvalid?: boolean;
|
|
15
|
+
name?: string;
|
|
16
|
+
id?: string;
|
|
17
|
+
description?: string;
|
|
18
|
+
errorMessage?: string;
|
|
19
|
+
hideLabel?: boolean;
|
|
20
|
+
/** Disable only when this field edits an uncommitted picker draft. */
|
|
21
|
+
formValidation?: boolean;
|
|
22
|
+
}
|
|
23
|
+
export declare function TemporalField({ kind, ...props }: TemporalFieldProps & {
|
|
24
|
+
kind: TemporalKind;
|
|
25
|
+
}): import("react").JSX.Element;
|
|
26
|
+
export declare function DateField(props: TemporalFieldProps): import("react").JSX.Element;
|
|
27
|
+
export declare function TimeField(props: TemporalFieldProps): import("react").JSX.Element;
|
|
28
|
+
export declare function DateTimeField(props: TemporalFieldProps): import("react").JSX.Element;
|
|
29
|
+
export interface TemporalRangeFieldProps extends Omit<TemporalFieldProps, 'value' | 'defaultValue' | 'onChange'> {
|
|
30
|
+
value?: import('./temporal-model.js').TemporalRange | null;
|
|
31
|
+
defaultValue?: import('./temporal-model.js').TemporalRange | null;
|
|
32
|
+
onChange?: (value: import('./temporal-model.js').TemporalRange | null) => void;
|
|
33
|
+
}
|
|
34
|
+
export declare function DateRangeField(props: TemporalRangeFieldProps): import("react").JSX.Element;
|
|
35
|
+
export declare function TimeRangeField(props: TemporalRangeFieldProps): import("react").JSX.Element;
|
|
36
|
+
export declare function DateTimeRangeField(props: TemporalRangeFieldProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import { type ReactNode, type HTMLAttributes, type ButtonHTMLAttributes } from 'react';
|
|
2
|
+
import { type ButtonProps } from 'react-aria-components/Button';
|
|
3
|
+
import { MonthPicker, YearPicker } from './Calendar.js';
|
|
4
|
+
import { type TemporalFieldProps } from './TemporalField.js';
|
|
5
|
+
import { type StylingProps } from './styling.js';
|
|
6
|
+
import { type TemporalConstraints, type TemporalRange } from './temporal-model.js';
|
|
7
|
+
export type TemporalValue = string | TemporalRange;
|
|
8
|
+
export interface TemporalPreset<T> {
|
|
9
|
+
id: string;
|
|
10
|
+
label: string;
|
|
11
|
+
value: T | null;
|
|
12
|
+
}
|
|
13
|
+
export interface TemporalPickerOptions extends Omit<TemporalConstraints, 'kind'>, StylingProps<'label' | 'trigger' | 'value' | 'panel' | 'content' | 'field' | 'calendar' | 'time' | 'footer' | 'applyButton' | 'cancelButton' | 'clearButton' | 'preset' | 'description' | 'error'> {
|
|
14
|
+
label: string;
|
|
15
|
+
locale?: string;
|
|
16
|
+
dir?: 'ltr' | 'rtl';
|
|
17
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
18
|
+
hourCycle?: 12 | 24;
|
|
19
|
+
display?: 'inline' | 'popover' | 'dialog' | 'auto';
|
|
20
|
+
commitMode?: 'apply' | 'immediate';
|
|
21
|
+
isDisabled?: boolean;
|
|
22
|
+
isReadOnly?: boolean;
|
|
23
|
+
isInvalid?: boolean;
|
|
24
|
+
hideLabel?: boolean;
|
|
25
|
+
name?: string;
|
|
26
|
+
description?: string;
|
|
27
|
+
errorMessage?: string;
|
|
28
|
+
open?: boolean;
|
|
29
|
+
defaultOpen?: boolean;
|
|
30
|
+
onOpenChange?: (open: boolean) => void;
|
|
31
|
+
onError?: (error: string | null) => void;
|
|
32
|
+
visibleMonths?: 1 | 2;
|
|
33
|
+
weekStartsOn?: 0 | 1;
|
|
34
|
+
referenceDate?: string;
|
|
35
|
+
timePresentation?: 'list' | 'clock';
|
|
36
|
+
showInputs?: boolean;
|
|
37
|
+
showActions?: boolean;
|
|
38
|
+
children?: ReactNode;
|
|
39
|
+
formatValue?: (value: TemporalValue, locale: string) => string;
|
|
40
|
+
}
|
|
41
|
+
export interface TemporalPickerProps<T extends TemporalValue = string> extends TemporalPickerOptions {
|
|
42
|
+
value?: T | null;
|
|
43
|
+
defaultValue?: T | null;
|
|
44
|
+
onChange?: (value: T | null) => void;
|
|
45
|
+
onApply?: (value: T | null) => void;
|
|
46
|
+
presets?: TemporalPreset<T>[];
|
|
47
|
+
}
|
|
48
|
+
export declare function TemporalPickerField({ part, ...props }: Partial<TemporalFieldProps> & {
|
|
49
|
+
part?: 'start' | 'end';
|
|
50
|
+
}): import("react").JSX.Element;
|
|
51
|
+
export declare function TemporalPickerCalendar(props: HTMLAttributes<HTMLDivElement>): import("react").JSX.Element;
|
|
52
|
+
export declare function TemporalPickerTime({ part, ...props }: HTMLAttributes<HTMLDivElement> & {
|
|
53
|
+
part?: 'start' | 'end';
|
|
54
|
+
}): import("react").JSX.Element;
|
|
55
|
+
export declare function TemporalPickerValue({ children, className, ...props }: HTMLAttributes<HTMLSpanElement>): import("react").JSX.Element;
|
|
56
|
+
export declare function TemporalPickerTrigger({ children, className, ...props }: Omit<ButtonProps, 'children' | 'className'> & {
|
|
57
|
+
children?: ReactNode;
|
|
58
|
+
className?: string;
|
|
59
|
+
}): import("react").JSX.Element;
|
|
60
|
+
export declare function TemporalPickerContent({ children, className, ...props }: HTMLAttributes<HTMLDivElement>): import("react").JSX.Element;
|
|
61
|
+
export declare function TemporalPickerPopover({ children, className, ...props }: HTMLAttributes<HTMLDivElement>): import("react").JSX.Element;
|
|
62
|
+
export declare const TemporalPickerApplyButton: ({ children, className, onClick, ...props }: ButtonHTMLAttributes<HTMLButtonElement>) => import("react").JSX.Element, TemporalPickerCancelButton: ({ children, className, onClick, ...props }: ButtonHTMLAttributes<HTMLButtonElement>) => import("react").JSX.Element, TemporalPickerClearButton: ({ children, className, onClick, ...props }: ButtonHTMLAttributes<HTMLButtonElement>) => import("react").JSX.Element;
|
|
63
|
+
export declare const DatePicker: ((props: TemporalPickerProps<string>) => import("react").JSX.Element) & {
|
|
64
|
+
Root: (props: TemporalPickerProps<string>) => import("react").JSX.Element;
|
|
65
|
+
Trigger: typeof TemporalPickerTrigger;
|
|
66
|
+
Value: typeof TemporalPickerValue;
|
|
67
|
+
Popover: typeof TemporalPickerPopover;
|
|
68
|
+
Content: typeof TemporalPickerContent;
|
|
69
|
+
Field: typeof TemporalPickerField;
|
|
70
|
+
Calendar: typeof TemporalPickerCalendar;
|
|
71
|
+
Time: typeof TemporalPickerTime;
|
|
72
|
+
MonthPicker: typeof MonthPicker;
|
|
73
|
+
YearPicker: typeof YearPicker;
|
|
74
|
+
ApplyButton: ({ children, className, onClick, ...props }: ButtonHTMLAttributes<HTMLButtonElement>) => import("react").JSX.Element;
|
|
75
|
+
CancelButton: ({ children, className, onClick, ...props }: ButtonHTMLAttributes<HTMLButtonElement>) => import("react").JSX.Element;
|
|
76
|
+
ClearButton: ({ children, className, onClick, ...props }: ButtonHTMLAttributes<HTMLButtonElement>) => import("react").JSX.Element;
|
|
77
|
+
};
|
|
78
|
+
export declare const TimePicker: ((props: TemporalPickerProps<string>) => import("react").JSX.Element) & {
|
|
79
|
+
Root: (props: TemporalPickerProps<string>) => import("react").JSX.Element;
|
|
80
|
+
Trigger: typeof TemporalPickerTrigger;
|
|
81
|
+
Value: typeof TemporalPickerValue;
|
|
82
|
+
Popover: typeof TemporalPickerPopover;
|
|
83
|
+
Content: typeof TemporalPickerContent;
|
|
84
|
+
Field: typeof TemporalPickerField;
|
|
85
|
+
Calendar: typeof TemporalPickerCalendar;
|
|
86
|
+
Time: typeof TemporalPickerTime;
|
|
87
|
+
MonthPicker: typeof MonthPicker;
|
|
88
|
+
YearPicker: typeof YearPicker;
|
|
89
|
+
ApplyButton: ({ children, className, onClick, ...props }: ButtonHTMLAttributes<HTMLButtonElement>) => import("react").JSX.Element;
|
|
90
|
+
CancelButton: ({ children, className, onClick, ...props }: ButtonHTMLAttributes<HTMLButtonElement>) => import("react").JSX.Element;
|
|
91
|
+
ClearButton: ({ children, className, onClick, ...props }: ButtonHTMLAttributes<HTMLButtonElement>) => import("react").JSX.Element;
|
|
92
|
+
};
|
|
93
|
+
export declare const TimeRangePicker: ((props: TemporalPickerProps<TemporalRange>) => import("react").JSX.Element) & {
|
|
94
|
+
Root: (props: TemporalPickerProps<TemporalRange>) => import("react").JSX.Element;
|
|
95
|
+
Trigger: typeof TemporalPickerTrigger;
|
|
96
|
+
Value: typeof TemporalPickerValue;
|
|
97
|
+
Popover: typeof TemporalPickerPopover;
|
|
98
|
+
Content: typeof TemporalPickerContent;
|
|
99
|
+
Field: typeof TemporalPickerField;
|
|
100
|
+
Calendar: typeof TemporalPickerCalendar;
|
|
101
|
+
Time: typeof TemporalPickerTime;
|
|
102
|
+
MonthPicker: typeof MonthPicker;
|
|
103
|
+
YearPicker: typeof YearPicker;
|
|
104
|
+
ApplyButton: ({ children, className, onClick, ...props }: ButtonHTMLAttributes<HTMLButtonElement>) => import("react").JSX.Element;
|
|
105
|
+
CancelButton: ({ children, className, onClick, ...props }: ButtonHTMLAttributes<HTMLButtonElement>) => import("react").JSX.Element;
|
|
106
|
+
ClearButton: ({ children, className, onClick, ...props }: ButtonHTMLAttributes<HTMLButtonElement>) => import("react").JSX.Element;
|
|
107
|
+
};
|
|
108
|
+
export declare const DateTimePicker: ((props: TemporalPickerProps<string>) => import("react").JSX.Element) & {
|
|
109
|
+
Root: (props: TemporalPickerProps<string>) => import("react").JSX.Element;
|
|
110
|
+
Trigger: typeof TemporalPickerTrigger;
|
|
111
|
+
Value: typeof TemporalPickerValue;
|
|
112
|
+
Popover: typeof TemporalPickerPopover;
|
|
113
|
+
Content: typeof TemporalPickerContent;
|
|
114
|
+
Field: typeof TemporalPickerField;
|
|
115
|
+
Calendar: typeof TemporalPickerCalendar;
|
|
116
|
+
Time: typeof TemporalPickerTime;
|
|
117
|
+
MonthPicker: typeof MonthPicker;
|
|
118
|
+
YearPicker: typeof YearPicker;
|
|
119
|
+
ApplyButton: ({ children, className, onClick, ...props }: ButtonHTMLAttributes<HTMLButtonElement>) => import("react").JSX.Element;
|
|
120
|
+
CancelButton: ({ children, className, onClick, ...props }: ButtonHTMLAttributes<HTMLButtonElement>) => import("react").JSX.Element;
|
|
121
|
+
ClearButton: ({ children, className, onClick, ...props }: ButtonHTMLAttributes<HTMLButtonElement>) => import("react").JSX.Element;
|
|
122
|
+
};
|
|
123
|
+
export declare const DateTimeRangePicker: ((props: TemporalPickerProps<TemporalRange>) => import("react").JSX.Element) & {
|
|
124
|
+
Root: (props: TemporalPickerProps<TemporalRange>) => import("react").JSX.Element;
|
|
125
|
+
Trigger: typeof TemporalPickerTrigger;
|
|
126
|
+
Value: typeof TemporalPickerValue;
|
|
127
|
+
Popover: typeof TemporalPickerPopover;
|
|
128
|
+
Content: typeof TemporalPickerContent;
|
|
129
|
+
Field: typeof TemporalPickerField;
|
|
130
|
+
Calendar: typeof TemporalPickerCalendar;
|
|
131
|
+
Time: typeof TemporalPickerTime;
|
|
132
|
+
MonthPicker: typeof MonthPicker;
|
|
133
|
+
YearPicker: typeof YearPicker;
|
|
134
|
+
ApplyButton: ({ children, className, onClick, ...props }: ButtonHTMLAttributes<HTMLButtonElement>) => import("react").JSX.Element;
|
|
135
|
+
CancelButton: ({ children, className, onClick, ...props }: ButtonHTMLAttributes<HTMLButtonElement>) => import("react").JSX.Element;
|
|
136
|
+
ClearButton: ({ children, className, onClick, ...props }: ButtonHTMLAttributes<HTMLButtonElement>) => import("react").JSX.Element;
|
|
137
|
+
};
|