@drivenets/design-system 0.7.3 → 0.9.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/CHANGELOG.md +47 -0
- package/dist/index.cjs +5730 -4569
- package/dist/index.d.cts +1768 -1065
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.ts +1768 -1065
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5718 -4577
- package/dist/index.js.map +1 -1
- package/dist/index.min.css +1 -1
- package/package.json +14 -14
- package/src/components/ds-autocomplete/ds-autocomplete.module.scss +1 -2
- package/src/components/ds-autocomplete/ds-autocomplete.tsx +13 -8
- package/src/components/ds-autocomplete/ds-autocomplete.types.ts +2 -1
- package/src/components/ds-button/versions/ds-button-new/ds-button-new.module.scss +25 -9
- package/src/components/ds-button/versions/ds-button-new/ds-button-new.tsx +5 -5
- package/src/components/ds-button/versions/ds-button-new/ds-button-new.types.ts +11 -1
- package/src/components/ds-button/versions/ds-button-new/index.ts +4 -1
- package/src/components/ds-button-v3/ds-button-v3.module.scss +391 -0
- package/src/components/ds-button-v3/ds-button-v3.tsx +55 -0
- package/src/components/ds-button-v3/ds-button-v3.types.ts +49 -0
- package/src/components/ds-button-v3/index.ts +2 -0
- package/src/components/ds-comment-bubble/ds-comment-bubble.module.scss +6 -2
- package/src/components/ds-comment-bubble/ds-comment-bubble.tsx +22 -15
- package/src/components/ds-comment-bubble/ds-comment-bubble.types.ts +1 -0
- package/src/components/ds-comments-drawer/components/comments-filter-modal/comments-filter-modal.tsx +1 -1
- package/src/components/ds-comments-drawer/ds-comments-drawer.tsx +3 -9
- package/src/components/ds-date-input/ds-date-input.tsx +3 -4
- package/src/components/ds-date-input/ds-date-input.types.ts +3 -1
- package/src/components/ds-date-input/index.ts +10 -0
- package/src/components/ds-date-picker/components/calendar-table.module.scss +93 -0
- package/src/components/ds-date-picker/components/calendar-view-control/calendar-view-control.module.scss +48 -0
- package/src/components/ds-date-picker/components/calendar-view-control/calendar-view-control.tsx +20 -0
- package/src/components/ds-date-picker/components/calendar-view-control/index.ts +1 -0
- package/src/components/ds-date-picker/components/day-view/day-view.module.scss +12 -0
- package/src/components/ds-date-picker/components/day-view/day-view.tsx +45 -0
- package/src/components/ds-date-picker/components/day-view/index.ts +1 -0
- package/src/components/ds-date-picker/components/month-view/index.ts +1 -0
- package/src/components/ds-date-picker/components/month-view/month-view.module.scss +4 -0
- package/src/components/ds-date-picker/components/month-view/month-view.tsx +35 -0
- package/src/components/ds-date-picker/components/year-view/index.ts +1 -0
- package/src/components/ds-date-picker/components/year-view/year-view.module.scss +4 -0
- package/src/components/ds-date-picker/components/year-view/year-view.tsx +35 -0
- package/src/components/ds-date-picker/ds-date-picker.module.scss +29 -0
- package/src/components/ds-date-picker/ds-date-picker.tsx +211 -0
- package/src/components/ds-date-picker/ds-date-picker.types.ts +94 -0
- package/src/components/ds-date-picker/ds-date-picker.utils.ts +87 -0
- package/src/components/ds-date-picker/ds-date-picker.utils.unit.test.ts +226 -0
- package/src/components/ds-date-picker/index.ts +2 -0
- package/src/components/ds-date-range-picker/ds-date-range-picker.module.scss +20 -0
- package/src/components/ds-date-range-picker/ds-date-range-picker.tsx +101 -0
- package/src/components/ds-date-range-picker/ds-date-range-picker.types.ts +95 -0
- package/src/components/ds-date-range-picker/ds-date-range-picker.utils.ts +19 -0
- package/src/components/ds-date-range-picker/ds-date-range-picker.utils.unit.test.ts +48 -0
- package/src/components/ds-date-range-picker/index.ts +9 -0
- package/src/components/ds-drawer/ds-drawer.tsx +6 -9
- package/src/components/ds-drawer/ds-drawer.types.ts +4 -2
- package/src/components/ds-file-upload/ds-file-upload-api.types.ts +1 -0
- package/src/components/ds-file-upload/hooks/use-file-upload.ts +1 -1
- package/src/components/ds-file-upload/index.ts +6 -1
- package/src/components/ds-file-upload/utils/file-factory.ts +1 -0
- package/src/components/ds-file-upload/utils/file-factory.unit.test.ts +37 -0
- package/src/components/ds-form-control/ds-form-control.tsx +7 -3
- package/src/components/ds-key-value-pair/ds-key-value-pair.module.scss +72 -0
- package/src/components/ds-key-value-pair/ds-key-value-pair.tsx +47 -0
- package/src/components/ds-key-value-pair/ds-key-value-pair.types.ts +24 -0
- package/src/components/ds-key-value-pair/index.ts +3 -0
- package/src/components/ds-loader/ds-loader.tsx +1 -1
- package/src/components/ds-panel/ds-panel.module.scss +4 -1
- package/src/components/ds-panel/ds-panel.tsx +8 -3
- package/src/components/ds-panel/ds-panel.types.ts +8 -1
- package/src/components/ds-panel/index.ts +4 -1
- package/src/components/ds-select/ds-select.module.scss +4 -1
- package/src/components/ds-split-button/ds-split-button.module.scss +99 -0
- package/src/components/ds-split-button/ds-split-button.tsx +49 -0
- package/src/components/ds-split-button/ds-split-button.types.ts +25 -0
- package/src/components/ds-split-button/index.ts +10 -0
- package/src/components/ds-stack/ds-stack.module.scss +4 -0
- package/src/components/ds-stack/ds-stack.tsx +35 -0
- package/src/components/ds-stack/ds-stack.types.ts +19 -0
- package/src/components/ds-stack/index.ts +18 -0
- package/src/components/ds-status-badge/ds-status-badge.module.scss +1 -1
- package/src/components/ds-table/components/ds-table-body-virtualized/ds-table-body-virtualized.tsx +6 -4
- package/src/components/ds-table/components/ds-table-bulk-actions/ds-table-bulk-actions.module.scss +5 -8
- package/src/components/ds-table/ds-table.module.scss +6 -0
- package/src/components/ds-table/ds-table.tsx +3 -0
- package/src/components/ds-time-picker/components/time-item/index.ts +1 -0
- package/src/components/ds-time-picker/components/time-item/time-item.module.scss +37 -0
- package/src/components/ds-time-picker/components/time-item/time-item.tsx +26 -0
- package/src/components/ds-time-picker/components/time-item/time-item.types.ts +10 -0
- package/src/components/ds-time-picker/components/time-scroller/index.ts +2 -0
- package/src/components/ds-time-picker/components/time-scroller/time-scroller.module.scss +25 -0
- package/src/components/ds-time-picker/components/time-scroller/time-scroller.tsx +61 -0
- package/src/components/ds-time-picker/components/time-scroller/time-scroller.types.ts +17 -0
- package/src/components/ds-time-picker/components/time-scroller/time-scroller.utils.ts +44 -0
- package/src/components/ds-time-picker/ds-time-picker.module.scss +11 -0
- package/src/components/ds-time-picker/ds-time-picker.tsx +178 -0
- package/src/components/ds-time-picker/ds-time-picker.types.ts +54 -0
- package/src/components/ds-time-picker/ds-time-picker.utils.ts +176 -0
- package/src/components/ds-time-picker/ds-time-picker.utils.unit.test.ts +316 -0
- package/src/components/ds-time-picker/index.ts +3 -0
- package/src/components/ds-tooltip/ds-tooltip.module.scss +1 -7
- package/src/components/ds-tooltip/ds-tooltip.tsx +9 -9
- package/src/components/ds-tooltip/ds-tooltip.types.ts +7 -1
- package/src/index.ts +8 -0
- package/src/styles/_breakpoints.module.scss +5 -0
- package/src/styles/_responsive.scss +13 -0
- package/src/styles/_root_updated.scss +593 -0
- package/src/styles/_variables.scss +2 -0
- package/src/styles/shared/_button.scss +2 -0
- package/src/styles/shared/_dropdown.scss +4 -1
- package/src/styles/shared/_input.scss +3 -40
- package/src/utils/responsive.browser.test.ts +94 -0
- package/src/utils/responsive.ts +79 -0
- package/src/utils/responsive.unit.test.ts +54 -0
- package/src/utils/type-utils.ts +1 -0
- package/src/utils/use-controlled.browser.test.ts +79 -0
- package/src/utils/use-controlled.ts +18 -0
package/dist/index.d.cts
CHANGED
|
@@ -1,16 +1,18 @@
|
|
|
1
|
-
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
|
-
import * as react from "react";
|
|
3
|
-
import React, { CSSProperties, ComponentPropsWithoutRef, ComponentType, FC, FunctionComponent, HTMLAttributes, KeyboardEvent, MouseEvent, PropsWithChildren, ReactNode, Ref, SVGProps } from "react";
|
|
1
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
|
+
import * as _$react from "react";
|
|
3
|
+
import React, { ButtonHTMLAttributes, CSSProperties, ComponentProps, ComponentPropsWithoutRef, ComponentType, FC, FunctionComponent, HTMLAttributes, KeyboardEvent, MouseEvent, PropsWithChildren, ReactNode, Ref, RefObject, SVGProps } from "react";
|
|
4
4
|
import { Root } from "@radix-ui/react-checkbox";
|
|
5
5
|
import { DatePickerRootProps } from "@ark-ui/react/date-picker";
|
|
6
|
+
import { PopoverContentProps } from "@ark-ui/react/popover";
|
|
6
7
|
import { UseDialogProps } from "@ark-ui/react/dialog";
|
|
7
8
|
import { Menu } from "@ark-ui/react/menu";
|
|
8
|
-
import * as _ark_ui_react0 from "@ark-ui/react";
|
|
9
|
+
import * as _$_ark_ui_react0 from "@ark-ui/react";
|
|
9
10
|
import { FileUploadFileAcceptDetails, FileUploadFileError, FileUploadFileMimeType, FileUploadFileRejectDetails } from "@ark-ui/react";
|
|
10
11
|
import * as Collapsible from "@radix-ui/react-collapsible";
|
|
11
12
|
import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
|
|
12
13
|
import { RadioGroupItemProps, RadioGroupRootProps } from "@ark-ui/react/radio-group";
|
|
13
14
|
import { SegmentGroupItemProps, SegmentGroupItemTextProps, SegmentGroupRootProps } from "@ark-ui/react/segment-group";
|
|
15
|
+
import * as _$csstype from "csstype";
|
|
14
16
|
import * as steps from "@zag-js/steps";
|
|
15
17
|
import { ColumnDef, ColumnFiltersState, Row, SortingState, Table, VisibilityState } from "@tanstack/react-table";
|
|
16
18
|
import { TreeView } from "@ark-ui/react/tree-view";
|
|
@@ -6315,7 +6317,7 @@ declare const DsIcon: ({
|
|
|
6315
6317
|
className,
|
|
6316
6318
|
style,
|
|
6317
6319
|
...rest
|
|
6318
|
-
}: DsIconProps) => react_jsx_runtime0.JSX.Element;
|
|
6320
|
+
}: DsIconProps) => _$react_jsx_runtime0.JSX.Element;
|
|
6319
6321
|
//#endregion
|
|
6320
6322
|
//#region src/components/ds-alert-banner/ds-alert-banner.types.d.ts
|
|
6321
6323
|
declare const alertBannerVariants: readonly ["info-neutral", "info-blue", "warning", "error", "success"];
|
|
@@ -6377,7 +6379,7 @@ declare const DsAlertBanner: {
|
|
|
6377
6379
|
className,
|
|
6378
6380
|
style,
|
|
6379
6381
|
children
|
|
6380
|
-
}: DsAlertBannerProps): react_jsx_runtime0.JSX.Element | null;
|
|
6382
|
+
}: DsAlertBannerProps): _$react_jsx_runtime0.JSX.Element | null;
|
|
6381
6383
|
Title: ({
|
|
6382
6384
|
style,
|
|
6383
6385
|
className,
|
|
@@ -6386,7 +6388,7 @@ declare const DsAlertBanner: {
|
|
|
6386
6388
|
style?: CSSProperties;
|
|
6387
6389
|
className?: string;
|
|
6388
6390
|
children: ReactNode;
|
|
6389
|
-
}) => react_jsx_runtime0.JSX.Element;
|
|
6391
|
+
}) => _$react_jsx_runtime0.JSX.Element;
|
|
6390
6392
|
Body: ({
|
|
6391
6393
|
style,
|
|
6392
6394
|
className,
|
|
@@ -6395,7 +6397,7 @@ declare const DsAlertBanner: {
|
|
|
6395
6397
|
style?: CSSProperties;
|
|
6396
6398
|
className?: string;
|
|
6397
6399
|
children: ReactNode;
|
|
6398
|
-
}) => react_jsx_runtime0.JSX.Element;
|
|
6400
|
+
}) => _$react_jsx_runtime0.JSX.Element;
|
|
6399
6401
|
Actions: ({
|
|
6400
6402
|
style,
|
|
6401
6403
|
className,
|
|
@@ -6404,7 +6406,7 @@ declare const DsAlertBanner: {
|
|
|
6404
6406
|
style?: CSSProperties;
|
|
6405
6407
|
className?: string;
|
|
6406
6408
|
children: ReactNode;
|
|
6407
|
-
}) => react_jsx_runtime0.JSX.Element;
|
|
6409
|
+
}) => _$react_jsx_runtime0.JSX.Element;
|
|
6408
6410
|
};
|
|
6409
6411
|
//#endregion
|
|
6410
6412
|
//#region src/components/ds-autocomplete/ds-autocomplete.types.d.ts
|
|
@@ -6488,7 +6490,8 @@ interface DsAutocompleteProps {
|
|
|
6488
6490
|
*/
|
|
6489
6491
|
startAdornment?: React.ReactNode;
|
|
6490
6492
|
/**
|
|
6491
|
-
* Event handler called when the value changes
|
|
6493
|
+
* Event handler called when the value changes.
|
|
6494
|
+
* Fires with the selected option's value, or an empty string when cleared.
|
|
6492
6495
|
*/
|
|
6493
6496
|
onValueChange?: (value: string) => void;
|
|
6494
6497
|
/**
|
|
@@ -6521,7 +6524,7 @@ declare const DsAutocomplete: ({
|
|
|
6521
6524
|
highlightMatch,
|
|
6522
6525
|
showTrigger,
|
|
6523
6526
|
startAdornment
|
|
6524
|
-
}: DsAutocompleteProps) => react_jsx_runtime0.JSX.Element;
|
|
6527
|
+
}: DsAutocompleteProps) => _$react_jsx_runtime0.JSX.Element;
|
|
6525
6528
|
//#endregion
|
|
6526
6529
|
//#region src/components/ds-avatar/ds-avatar.types.d.ts
|
|
6527
6530
|
type DsAvatarSize = 'xsm' | 'sm' | 'regular' | 'md' | 'lg' | 'xl';
|
|
@@ -6674,6 +6677,30 @@ interface DsButtonProps$1 extends React.ButtonHTMLAttributes<HTMLButtonElement>
|
|
|
6674
6677
|
contentClassName?: string;
|
|
6675
6678
|
}
|
|
6676
6679
|
//#endregion
|
|
6680
|
+
//#region src/utils/responsive.d.ts
|
|
6681
|
+
declare const BREAKPOINT_LG: number;
|
|
6682
|
+
declare const breakpoints: readonly ["lg", "md"];
|
|
6683
|
+
type Breakpoint = (typeof breakpoints)[number];
|
|
6684
|
+
type Responsive<T> = Partial<Record<Breakpoint, T>>;
|
|
6685
|
+
type ResponsiveValue<T> = T | Responsive<T>;
|
|
6686
|
+
declare const isResponsiveValue: <T>(value: ResponsiveValue<T>) => value is Responsive<T>;
|
|
6687
|
+
declare const resolveResponsiveValue: <T>(value: ResponsiveValue<T>, breakpoint: Breakpoint) => T;
|
|
6688
|
+
declare const useBreakpoint: () => Breakpoint;
|
|
6689
|
+
/**
|
|
6690
|
+
* Resolves a `ResponsiveValue<T>` to `T` using the current breakpoint.
|
|
6691
|
+
* Use for conditional rendering or JS logic that depends on the breakpoint.
|
|
6692
|
+
*/
|
|
6693
|
+
declare const useResponsiveValue: <T>(value: ResponsiveValue<T>) => T;
|
|
6694
|
+
/**
|
|
6695
|
+
* Wraps a component so that the specified props accept `ResponsiveValue<T>`.
|
|
6696
|
+
* The wrapper resolves each responsive prop to a plain value before rendering,
|
|
6697
|
+
* so the wrapped component stays completely unaware of breakpoints.
|
|
6698
|
+
*/
|
|
6699
|
+
declare function withResponsiveProps<Props, const Keys extends readonly (keyof Props)[]>(Component: FunctionComponent<Props>, responsiveKeys: Keys): {
|
|
6700
|
+
(props: { [P in keyof Props]: P extends Keys[number] ? ResponsiveValue<NonNullable<Props[P]>> : Props[P] }): _$react.FunctionComponentElement<Record<string, unknown>>;
|
|
6701
|
+
displayName: string;
|
|
6702
|
+
};
|
|
6703
|
+
//#endregion
|
|
6677
6704
|
//#region src/components/ds-button/versions/ds-button-new/ds-button-new.types.d.ts
|
|
6678
6705
|
declare const buttonTypes: readonly ["primary", "secondary", "secondary-light", "tertiary"];
|
|
6679
6706
|
type ButtonType = (typeof buttonTypes)[number];
|
|
@@ -6681,7 +6708,7 @@ declare const buttonVariants: readonly ["filled", "ghost", "danger", "dark"];
|
|
|
6681
6708
|
type ButtonVariant = (typeof buttonVariants)[number];
|
|
6682
6709
|
declare const buttonSizes: readonly ["large", "medium", "small", "tiny"];
|
|
6683
6710
|
type ButtonSize = (typeof buttonSizes)[number];
|
|
6684
|
-
interface
|
|
6711
|
+
interface DsButtonBaseProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
6685
6712
|
/**
|
|
6686
6713
|
* Type of the button
|
|
6687
6714
|
* @default 'primary'
|
|
@@ -6707,6 +6734,13 @@ interface DsButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
|
6707
6734
|
*/
|
|
6708
6735
|
contentClassName?: string;
|
|
6709
6736
|
}
|
|
6737
|
+
interface DsButtonProps extends Omit<DsButtonBaseProps, 'size'> {
|
|
6738
|
+
/**
|
|
6739
|
+
* Size of the button. Accepts a static value or a responsive object.
|
|
6740
|
+
* @default 'medium'
|
|
6741
|
+
*/
|
|
6742
|
+
size?: ResponsiveValue<ButtonSize>;
|
|
6743
|
+
}
|
|
6710
6744
|
//#endregion
|
|
6711
6745
|
//#region src/components/ds-button/ds-button.types.d.ts
|
|
6712
6746
|
type DsButtonUnifiedProps = (DsButtonProps$1 & {
|
|
@@ -6716,7 +6750,63 @@ type DsButtonUnifiedProps = (DsButtonProps$1 & {
|
|
|
6716
6750
|
});
|
|
6717
6751
|
//#endregion
|
|
6718
6752
|
//#region src/components/ds-button/ds-button.d.ts
|
|
6719
|
-
declare const DsButton: (props: DsButtonUnifiedProps) => react_jsx_runtime0.JSX.Element;
|
|
6753
|
+
declare const DsButton: (props: DsButtonUnifiedProps) => _$react_jsx_runtime0.JSX.Element;
|
|
6754
|
+
//#endregion
|
|
6755
|
+
//#region src/components/ds-button-v3/ds-button-v3.types.d.ts
|
|
6756
|
+
declare const buttonV3Variants: readonly ["primary", "secondary", "tertiary"];
|
|
6757
|
+
type ButtonV3Variant = (typeof buttonV3Variants)[number];
|
|
6758
|
+
declare const buttonV3Colors: readonly ["default", "negative", "light"];
|
|
6759
|
+
type ButtonV3Color = (typeof buttonV3Colors)[number];
|
|
6760
|
+
declare const buttonV3Sizes: readonly ["large", "medium", "small", "tiny"];
|
|
6761
|
+
type ButtonV3Size = (typeof buttonV3Sizes)[number];
|
|
6762
|
+
interface DsButtonV3Props extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
6763
|
+
ref?: Ref<HTMLButtonElement>;
|
|
6764
|
+
/**
|
|
6765
|
+
* - `default` — standard light-UI palette
|
|
6766
|
+
* - `negative` — destructive / danger palette (red tones)
|
|
6767
|
+
* - `light` — palette for dark-background surfaces (Figma **Type** onDark)
|
|
6768
|
+
* @default 'default'
|
|
6769
|
+
*/
|
|
6770
|
+
color?: ButtonV3Color;
|
|
6771
|
+
/**
|
|
6772
|
+
* @default 'primary'
|
|
6773
|
+
*/
|
|
6774
|
+
variant?: ButtonV3Variant;
|
|
6775
|
+
/**
|
|
6776
|
+
* @default 'medium'
|
|
6777
|
+
*/
|
|
6778
|
+
size?: ButtonV3Size;
|
|
6779
|
+
/**
|
|
6780
|
+
* @default false
|
|
6781
|
+
*/
|
|
6782
|
+
selected?: boolean;
|
|
6783
|
+
/**
|
|
6784
|
+
* Leading icon. When set without children, renders as icon-only (square) layout.
|
|
6785
|
+
*/
|
|
6786
|
+
icon?: IconType;
|
|
6787
|
+
/**
|
|
6788
|
+
* Shows a spinner as the leading element and disables interaction.
|
|
6789
|
+
* @default false
|
|
6790
|
+
*/
|
|
6791
|
+
loading?: boolean;
|
|
6792
|
+
}
|
|
6793
|
+
//#endregion
|
|
6794
|
+
//#region src/components/ds-button-v3/ds-button-v3.d.ts
|
|
6795
|
+
declare const DsButtonV3: ({
|
|
6796
|
+
ref,
|
|
6797
|
+
className,
|
|
6798
|
+
style,
|
|
6799
|
+
children,
|
|
6800
|
+
icon,
|
|
6801
|
+
disabled,
|
|
6802
|
+
loading,
|
|
6803
|
+
color,
|
|
6804
|
+
variant,
|
|
6805
|
+
size,
|
|
6806
|
+
selected,
|
|
6807
|
+
type,
|
|
6808
|
+
...rest
|
|
6809
|
+
}: DsButtonV3Props) => _$react_jsx_runtime0.JSX.Element;
|
|
6720
6810
|
//#endregion
|
|
6721
6811
|
//#region src/components/ds-card/ds-card.types.d.ts
|
|
6722
6812
|
declare const cardSizes: readonly ["small", "medium", "large"];
|
|
@@ -6794,25 +6884,25 @@ declare const DsCard: {
|
|
|
6794
6884
|
onClick,
|
|
6795
6885
|
onKeyDown,
|
|
6796
6886
|
...rest
|
|
6797
|
-
}: DsCardRootProps) => react_jsx_runtime0.JSX.Element;
|
|
6887
|
+
}: DsCardRootProps) => _$react_jsx_runtime0.JSX.Element;
|
|
6798
6888
|
Header: ({
|
|
6799
6889
|
className,
|
|
6800
6890
|
children,
|
|
6801
6891
|
ref,
|
|
6802
6892
|
...rest
|
|
6803
|
-
}: DsCardHeaderProps) => react_jsx_runtime0.JSX.Element;
|
|
6893
|
+
}: DsCardHeaderProps) => _$react_jsx_runtime0.JSX.Element;
|
|
6804
6894
|
Body: ({
|
|
6805
6895
|
className,
|
|
6806
6896
|
children,
|
|
6807
6897
|
ref,
|
|
6808
6898
|
...rest
|
|
6809
|
-
}: DsCardBodyProps) => react_jsx_runtime0.JSX.Element;
|
|
6899
|
+
}: DsCardBodyProps) => _$react_jsx_runtime0.JSX.Element;
|
|
6810
6900
|
Footer: ({
|
|
6811
6901
|
className,
|
|
6812
6902
|
children,
|
|
6813
6903
|
ref,
|
|
6814
6904
|
...rest
|
|
6815
|
-
}: DsCardFooterProps) => react_jsx_runtime0.JSX.Element;
|
|
6905
|
+
}: DsCardFooterProps) => _$react_jsx_runtime0.JSX.Element;
|
|
6816
6906
|
};
|
|
6817
6907
|
//#endregion
|
|
6818
6908
|
//#region src/components/ds-checkbox/ds-checkbox.types.d.ts
|
|
@@ -7040,13 +7130,14 @@ declare const DsCommentCard: ({
|
|
|
7040
7130
|
formatTimestamp,
|
|
7041
7131
|
className,
|
|
7042
7132
|
style
|
|
7043
|
-
}: DsCommentCardProps) => react_jsx_runtime0.JSX.Element;
|
|
7133
|
+
}: DsCommentCardProps) => _$react_jsx_runtime0.JSX.Element;
|
|
7044
7134
|
//#endregion
|
|
7045
7135
|
//#region src/components/ds-comment-bubble/ds-comment-bubble.types.d.ts
|
|
7046
7136
|
interface DsCommentBubbleProps {
|
|
7047
7137
|
ref?: Ref<HTMLDivElement>;
|
|
7048
7138
|
comment?: CommentData;
|
|
7049
7139
|
currentUser?: CommentAuthor;
|
|
7140
|
+
hideActionRequired?: boolean;
|
|
7050
7141
|
actionRequired?: boolean;
|
|
7051
7142
|
onActionRequiredChange?: (checked: boolean) => void;
|
|
7052
7143
|
value?: string;
|
|
@@ -7073,6 +7164,7 @@ declare const DsCommentBubble: ({
|
|
|
7073
7164
|
ref,
|
|
7074
7165
|
comment,
|
|
7075
7166
|
currentUser,
|
|
7167
|
+
hideActionRequired,
|
|
7076
7168
|
actionRequired,
|
|
7077
7169
|
onActionRequiredChange,
|
|
7078
7170
|
value,
|
|
@@ -7092,7 +7184,7 @@ declare const DsCommentBubble: ({
|
|
|
7092
7184
|
referenceTag,
|
|
7093
7185
|
className,
|
|
7094
7186
|
style
|
|
7095
|
-
}: DsCommentBubbleProps) => react_jsx_runtime0.JSX.Element;
|
|
7187
|
+
}: DsCommentBubbleProps) => _$react_jsx_runtime0.JSX.Element;
|
|
7096
7188
|
//#endregion
|
|
7097
7189
|
//#region src/components/ds-comment-bubble/components/ds-comment-thread/ds-comment-thread.types.d.ts
|
|
7098
7190
|
interface DsCommentThreadProps {
|
|
@@ -7116,7 +7208,7 @@ declare const DsCommentThread: ({
|
|
|
7116
7208
|
onMarkUnread,
|
|
7117
7209
|
onResolved,
|
|
7118
7210
|
className
|
|
7119
|
-
}: DsCommentThreadProps) => react_jsx_runtime0.JSX.Element | null;
|
|
7211
|
+
}: DsCommentThreadProps) => _$react_jsx_runtime0.JSX.Element | null;
|
|
7120
7212
|
//#endregion
|
|
7121
7213
|
//#region src/components/ds-comment-bubble/components/ds-thread-item/ds-thread-item.types.d.ts
|
|
7122
7214
|
interface DsThreadItemProps {
|
|
@@ -7146,7 +7238,7 @@ declare const DsThreadItem: ({
|
|
|
7146
7238
|
onMarkUnread,
|
|
7147
7239
|
onResolved,
|
|
7148
7240
|
className
|
|
7149
|
-
}: DsThreadItemProps) => react_jsx_runtime0.JSX.Element;
|
|
7241
|
+
}: DsThreadItemProps) => _$react_jsx_runtime0.JSX.Element;
|
|
7150
7242
|
//#endregion
|
|
7151
7243
|
//#region src/components/ds-comment-indicator/ds-comment-indicator.types.d.ts
|
|
7152
7244
|
type CommentIndicatorType = 'placeholder' | 'default' | 'action-required';
|
|
@@ -7169,7 +7261,7 @@ declare const DsCommentIndicator: ({
|
|
|
7169
7261
|
ref,
|
|
7170
7262
|
className,
|
|
7171
7263
|
style
|
|
7172
|
-
}: DsCommentIndicatorProps) => react_jsx_runtime0.JSX.Element;
|
|
7264
|
+
}: DsCommentIndicatorProps) => _$react_jsx_runtime0.JSX.Element;
|
|
7173
7265
|
//#endregion
|
|
7174
7266
|
//#region src/components/ds-comments-drawer/ds-comments-drawer.types.d.ts
|
|
7175
7267
|
interface DsCommentsDrawerProps {
|
|
@@ -7212,7 +7304,7 @@ declare const DsCommentsDrawer: ({
|
|
|
7212
7304
|
noCommentsMessage,
|
|
7213
7305
|
className,
|
|
7214
7306
|
style
|
|
7215
|
-
}: DsCommentsDrawerProps) => react_jsx_runtime0.JSX.Element;
|
|
7307
|
+
}: DsCommentsDrawerProps) => _$react_jsx_runtime0.JSX.Element;
|
|
7216
7308
|
//#endregion
|
|
7217
7309
|
//#region src/components/ds-comments-drawer/comments-filters.types.d.ts
|
|
7218
7310
|
interface FilterTag {
|
|
@@ -7264,59 +7356,59 @@ interface DsConfirmationProps {
|
|
|
7264
7356
|
* @see {@link ../ds-modal} for the replacement component.
|
|
7265
7357
|
*/
|
|
7266
7358
|
declare const DsConfirmation: {
|
|
7267
|
-
(props: DsConfirmationProps): react_jsx_runtime0.JSX.Element;
|
|
7359
|
+
(props: DsConfirmationProps): _$react_jsx_runtime0.JSX.Element;
|
|
7268
7360
|
Header: ({
|
|
7269
7361
|
style,
|
|
7270
7362
|
className,
|
|
7271
7363
|
children
|
|
7272
7364
|
}: {
|
|
7273
|
-
style?: react.CSSProperties;
|
|
7365
|
+
style?: _$react.CSSProperties;
|
|
7274
7366
|
className?: string;
|
|
7275
|
-
children: react.ReactNode;
|
|
7276
|
-
}) => react_jsx_runtime0.JSX.Element;
|
|
7367
|
+
children: _$react.ReactNode;
|
|
7368
|
+
}) => _$react_jsx_runtime0.JSX.Element;
|
|
7277
7369
|
Title: ({
|
|
7278
7370
|
style,
|
|
7279
7371
|
className,
|
|
7280
7372
|
children
|
|
7281
7373
|
}: {
|
|
7282
|
-
style?: react.CSSProperties;
|
|
7374
|
+
style?: _$react.CSSProperties;
|
|
7283
7375
|
className?: string;
|
|
7284
|
-
children: react.ReactNode;
|
|
7285
|
-
}) => react_jsx_runtime0.JSX.Element;
|
|
7376
|
+
children: _$react.ReactNode;
|
|
7377
|
+
}) => _$react_jsx_runtime0.JSX.Element;
|
|
7286
7378
|
CloseTrigger: ({
|
|
7287
7379
|
style,
|
|
7288
7380
|
className
|
|
7289
7381
|
}: {
|
|
7290
|
-
style?: react.CSSProperties;
|
|
7382
|
+
style?: _$react.CSSProperties;
|
|
7291
7383
|
className?: string;
|
|
7292
|
-
}) => react_jsx_runtime0.JSX.Element;
|
|
7384
|
+
}) => _$react_jsx_runtime0.JSX.Element;
|
|
7293
7385
|
Body: ({
|
|
7294
7386
|
style,
|
|
7295
7387
|
className,
|
|
7296
7388
|
children
|
|
7297
7389
|
}: {
|
|
7298
|
-
style?: react.CSSProperties;
|
|
7390
|
+
style?: _$react.CSSProperties;
|
|
7299
7391
|
className?: string;
|
|
7300
|
-
children: react.ReactNode;
|
|
7301
|
-
}) => react_jsx_runtime0.JSX.Element;
|
|
7392
|
+
children: _$react.ReactNode;
|
|
7393
|
+
}) => _$react_jsx_runtime0.JSX.Element;
|
|
7302
7394
|
Footer: ({
|
|
7303
7395
|
style,
|
|
7304
7396
|
className,
|
|
7305
7397
|
children
|
|
7306
7398
|
}: {
|
|
7307
|
-
style?: react.CSSProperties;
|
|
7399
|
+
style?: _$react.CSSProperties;
|
|
7308
7400
|
className?: string;
|
|
7309
|
-
children: react.ReactNode;
|
|
7310
|
-
}) => react_jsx_runtime0.JSX.Element;
|
|
7401
|
+
children: _$react.ReactNode;
|
|
7402
|
+
}) => _$react_jsx_runtime0.JSX.Element;
|
|
7311
7403
|
Actions: ({
|
|
7312
7404
|
style,
|
|
7313
7405
|
className,
|
|
7314
7406
|
children
|
|
7315
7407
|
}: {
|
|
7316
|
-
style?: react.CSSProperties;
|
|
7408
|
+
style?: _$react.CSSProperties;
|
|
7317
7409
|
className?: string;
|
|
7318
|
-
children: react.ReactNode;
|
|
7319
|
-
}) => react_jsx_runtime0.JSX.Element;
|
|
7410
|
+
children: _$react.ReactNode;
|
|
7411
|
+
}) => _$react_jsx_runtime0.JSX.Element;
|
|
7320
7412
|
};
|
|
7321
7413
|
//#endregion
|
|
7322
7414
|
//#region src/components/ds-date-input/ds-date-input.types.d.ts
|
|
@@ -7407,16 +7499,17 @@ type DsDateInputBaseProps = Pick<DatePickerRootProps, 'disabled' | 'readOnly' |
|
|
|
7407
7499
|
hideClearButton?: boolean;
|
|
7408
7500
|
};
|
|
7409
7501
|
/**
|
|
7410
|
-
*
|
|
7502
|
+
* @deprecated DsDateInput is deprecated. Use DsDatePicker or DsDateRangePicker instead.
|
|
7503
|
+
* @see {@link ../ds-date-picker} for single date selection.
|
|
7504
|
+
* @see {@link ../ds-date-range-picker} for date range selection.
|
|
7411
7505
|
*/
|
|
7412
7506
|
type DsDateInputProps = DsDateInputBaseProps & DsDateInputRangeProps;
|
|
7413
7507
|
//#endregion
|
|
7414
7508
|
//#region src/components/ds-date-input/ds-date-input.d.ts
|
|
7415
7509
|
/**
|
|
7416
|
-
*
|
|
7417
|
-
*
|
|
7418
|
-
*
|
|
7419
|
-
* Features built-in validation, manual text entry, and calendar selection.
|
|
7510
|
+
* @deprecated DsDateInput is deprecated. Use DsDatePicker or DsDateRangePicker instead.
|
|
7511
|
+
* @see {@link ../ds-date-picker} for single date selection.
|
|
7512
|
+
* @see {@link ../ds-date-range-picker} for date range selection.
|
|
7420
7513
|
*/
|
|
7421
7514
|
declare const DsDateInput: ({
|
|
7422
7515
|
range,
|
|
@@ -7435,561 +7528,440 @@ declare const DsDateInput: ({
|
|
|
7435
7528
|
readOnly,
|
|
7436
7529
|
id,
|
|
7437
7530
|
...datePickerProps
|
|
7438
|
-
}: DsDateInputProps) => react_jsx_runtime0.JSX.Element;
|
|
7531
|
+
}: DsDateInputProps) => _$react_jsx_runtime0.JSX.Element;
|
|
7439
7532
|
//#endregion
|
|
7440
|
-
//#region src/components/ds-
|
|
7441
|
-
|
|
7533
|
+
//#region src/components/ds-text-input/ds-text-input.types.d.ts
|
|
7534
|
+
declare const textInputSizes: readonly ["small", "default"];
|
|
7535
|
+
type TextInputSize = (typeof textInputSizes)[number];
|
|
7536
|
+
interface DsTextInputProps {
|
|
7442
7537
|
/**
|
|
7443
|
-
*
|
|
7538
|
+
* Unique identifier for the input field
|
|
7444
7539
|
*/
|
|
7445
|
-
|
|
7540
|
+
id?: string;
|
|
7446
7541
|
/**
|
|
7447
|
-
*
|
|
7542
|
+
* The ref to the input field
|
|
7448
7543
|
*/
|
|
7449
|
-
|
|
7544
|
+
ref?: React.Ref<HTMLInputElement>;
|
|
7450
7545
|
/**
|
|
7451
|
-
* The
|
|
7546
|
+
* The name of the input field
|
|
7452
7547
|
*/
|
|
7453
|
-
|
|
7548
|
+
name?: string;
|
|
7454
7549
|
/**
|
|
7455
|
-
*
|
|
7550
|
+
* The size of the input field
|
|
7551
|
+
* @default default
|
|
7456
7552
|
*/
|
|
7457
|
-
|
|
7553
|
+
size?: TextInputSize;
|
|
7458
7554
|
/**
|
|
7459
|
-
* The
|
|
7555
|
+
* The type of the input field
|
|
7556
|
+
* @default text
|
|
7460
7557
|
*/
|
|
7461
|
-
|
|
7558
|
+
type?: string;
|
|
7462
7559
|
/**
|
|
7463
|
-
*
|
|
7560
|
+
* Event handler called when the input field receives focus
|
|
7464
7561
|
*/
|
|
7465
|
-
|
|
7562
|
+
onFocus?: (event: React.FocusEvent<HTMLInputElement>) => void;
|
|
7466
7563
|
/**
|
|
7467
|
-
*
|
|
7564
|
+
* Event handler called when the input field loses focus
|
|
7565
|
+
*
|
|
7566
|
+
* @param event
|
|
7468
7567
|
*/
|
|
7469
|
-
|
|
7568
|
+
onBlur?: (event: React.FocusEvent<HTMLInputElement>) => void;
|
|
7470
7569
|
/**
|
|
7471
|
-
*
|
|
7570
|
+
* Callback when a key is pressed down
|
|
7571
|
+
*/
|
|
7572
|
+
onKeyDown?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
|
|
7573
|
+
/**
|
|
7574
|
+
* Callback when the value changes
|
|
7575
|
+
*/
|
|
7576
|
+
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
7577
|
+
/**
|
|
7578
|
+
* Value change event handler (provides just the value)
|
|
7579
|
+
*/
|
|
7580
|
+
onValueChange?: (value: string) => void;
|
|
7581
|
+
/**
|
|
7582
|
+
* Additional CSS class names
|
|
7472
7583
|
*/
|
|
7473
7584
|
className?: string;
|
|
7474
7585
|
/**
|
|
7475
|
-
*
|
|
7586
|
+
* Additional styles to apply to the component
|
|
7476
7587
|
*/
|
|
7477
|
-
|
|
7588
|
+
style?: React.CSSProperties;
|
|
7478
7589
|
/**
|
|
7479
|
-
*
|
|
7590
|
+
* The placeholder text
|
|
7480
7591
|
*/
|
|
7481
|
-
|
|
7482
|
-
top: number;
|
|
7483
|
-
left: number;
|
|
7484
|
-
};
|
|
7592
|
+
placeholder?: string;
|
|
7485
7593
|
/**
|
|
7486
|
-
*
|
|
7594
|
+
* The current value
|
|
7487
7595
|
*/
|
|
7488
|
-
|
|
7489
|
-
}
|
|
7490
|
-
//#endregion
|
|
7491
|
-
//#region src/components/ds-dialog/ds-dialog.d.ts
|
|
7492
|
-
declare const DsDialog: React.FC<DsDialogProps>;
|
|
7493
|
-
//#endregion
|
|
7494
|
-
//#region src/components/ds-divider/ds-divider.types.d.ts
|
|
7495
|
-
interface DsDividerProps {
|
|
7596
|
+
value?: string;
|
|
7496
7597
|
/**
|
|
7497
|
-
*
|
|
7598
|
+
* The minimum value of the input
|
|
7498
7599
|
*/
|
|
7499
|
-
|
|
7600
|
+
min?: number | string;
|
|
7500
7601
|
/**
|
|
7501
|
-
*
|
|
7502
|
-
* Examples: "hr", "div", "span", Link, etc.
|
|
7602
|
+
* The maximum value of the input
|
|
7503
7603
|
*/
|
|
7504
|
-
|
|
7604
|
+
max?: number | string;
|
|
7505
7605
|
/**
|
|
7506
|
-
*
|
|
7606
|
+
* The minimum number of characters
|
|
7507
7607
|
*/
|
|
7508
|
-
|
|
7608
|
+
minLength?: number;
|
|
7509
7609
|
/**
|
|
7510
|
-
*
|
|
7610
|
+
* The maximum number of characters
|
|
7611
|
+
*/
|
|
7612
|
+
maxLength?: number;
|
|
7613
|
+
/**
|
|
7614
|
+
* The initial value of the input when rendered.
|
|
7615
|
+
* Use when you don't need to control the value of the input.
|
|
7616
|
+
*/
|
|
7617
|
+
defaultValue?: string;
|
|
7618
|
+
/**
|
|
7619
|
+
* Whether the input is disabled
|
|
7620
|
+
*/
|
|
7621
|
+
disabled?: boolean;
|
|
7622
|
+
/**
|
|
7623
|
+
* Whether the input is read only
|
|
7624
|
+
*/
|
|
7625
|
+
readOnly?: boolean;
|
|
7626
|
+
/**
|
|
7627
|
+
* The tabIndex of the input
|
|
7511
7628
|
*/
|
|
7629
|
+
tabIndex?: number;
|
|
7630
|
+
slots?: {
|
|
7631
|
+
/**
|
|
7632
|
+
* Custom component to wrap the input element
|
|
7633
|
+
*/
|
|
7634
|
+
inputWrapper?: ComponentType<{
|
|
7635
|
+
children: React.ReactNode;
|
|
7636
|
+
}>;
|
|
7637
|
+
/**
|
|
7638
|
+
* Adornment to display at the start of the input
|
|
7639
|
+
*/
|
|
7640
|
+
startAdornment?: React.ReactNode;
|
|
7641
|
+
/**
|
|
7642
|
+
* Adornment to display at the end of the input
|
|
7643
|
+
*/
|
|
7644
|
+
endAdornment?: React.ReactNode;
|
|
7645
|
+
};
|
|
7646
|
+
}
|
|
7647
|
+
//#endregion
|
|
7648
|
+
//#region src/components/ds-text-input/ds-text-input.d.ts
|
|
7649
|
+
declare const DsTextInput: FC<DsTextInputProps>;
|
|
7650
|
+
//#endregion
|
|
7651
|
+
//#region src/components/ds-time-picker/ds-time-picker.types.d.ts
|
|
7652
|
+
interface DsTimePickerProps {
|
|
7653
|
+
id?: string;
|
|
7654
|
+
ref?: RefObject<HTMLDivElement>;
|
|
7512
7655
|
className?: string;
|
|
7656
|
+
value?: Date | null;
|
|
7657
|
+
defaultValue?: Date;
|
|
7658
|
+
open?: boolean;
|
|
7659
|
+
defaultOpen?: boolean;
|
|
7660
|
+
placeholder?: string;
|
|
7661
|
+
min?: Date;
|
|
7662
|
+
max?: Date;
|
|
7663
|
+
disabled?: boolean;
|
|
7664
|
+
readOnly?: boolean;
|
|
7665
|
+
/**
|
|
7666
|
+
* Whether to hide the clear button
|
|
7667
|
+
* @default false
|
|
7668
|
+
*/
|
|
7669
|
+
hideClearButton?: boolean;
|
|
7670
|
+
/**
|
|
7671
|
+
* Whether to disable the portal for the popover content
|
|
7672
|
+
* @default false
|
|
7673
|
+
*/
|
|
7674
|
+
disablePortal?: boolean;
|
|
7675
|
+
locale?: DsTimePickerLocale;
|
|
7676
|
+
slotProps?: DsTimePickerSlotProps;
|
|
7677
|
+
onChange?: (value: Date | null) => void;
|
|
7678
|
+
onOpenChange?: (open: boolean) => void;
|
|
7679
|
+
}
|
|
7680
|
+
interface DsTimePickerLocale {
|
|
7681
|
+
openLabel?: string;
|
|
7682
|
+
clearLabel?: string;
|
|
7683
|
+
hourLabel?: string;
|
|
7684
|
+
minuteLabel?: string;
|
|
7685
|
+
periodLabel?: string;
|
|
7686
|
+
}
|
|
7687
|
+
interface DsTimePickerSlotProps {
|
|
7688
|
+
input?: DsTextInputProps;
|
|
7689
|
+
popover?: PopoverContentProps;
|
|
7513
7690
|
}
|
|
7514
7691
|
//#endregion
|
|
7515
|
-
//#region src/components/ds-
|
|
7516
|
-
declare const
|
|
7692
|
+
//#region src/components/ds-time-picker/ds-time-picker.d.ts
|
|
7693
|
+
declare const DsTimePicker: (props: DsTimePickerProps) => _$react_jsx_runtime0.JSX.Element;
|
|
7517
7694
|
//#endregion
|
|
7518
|
-
//#region src/components/ds-
|
|
7519
|
-
/**
|
|
7520
|
-
* Available positions for the drawer
|
|
7521
|
-
*/
|
|
7522
|
-
type DsDrawerPosition = 'start' | 'end';
|
|
7695
|
+
//#region src/components/ds-time-picker/ds-time-picker.utils.d.ts
|
|
7523
7696
|
/**
|
|
7524
|
-
*
|
|
7697
|
+
* Format a Date to a 12-hour time string (hh:mm AM/PM)
|
|
7525
7698
|
*/
|
|
7526
|
-
|
|
7527
|
-
|
|
7699
|
+
declare const formatTime: (date?: Date | null) => string;
|
|
7700
|
+
//#endregion
|
|
7701
|
+
//#region src/components/ds-date-picker/ds-date-picker.types.d.ts
|
|
7702
|
+
interface DsDatePickerLocale {
|
|
7703
|
+
openCalendarLabel?: string;
|
|
7704
|
+
timeTriggerLabel?: string;
|
|
7705
|
+
clearLabel?: string;
|
|
7706
|
+
}
|
|
7707
|
+
interface DsDatePickerSlotProps {
|
|
7708
|
+
input?: DsTextInputProps;
|
|
7709
|
+
timePicker?: DsTimePickerProps;
|
|
7710
|
+
}
|
|
7711
|
+
interface DsDatePickerProps extends Pick<DatePickerRootProps, 'disabled' | 'readOnly' | 'id' | 'open' | 'name'> {
|
|
7528
7712
|
/**
|
|
7529
|
-
*
|
|
7713
|
+
* Controlled value as Date object.
|
|
7714
|
+
* `null` means the date is empty.
|
|
7715
|
+
* `undefined` means value is not provided, so component will be uncontrolled.
|
|
7530
7716
|
*/
|
|
7531
|
-
|
|
7717
|
+
value?: Date | null;
|
|
7532
7718
|
/**
|
|
7533
|
-
*
|
|
7719
|
+
* Default value for uncontrolled mode
|
|
7534
7720
|
*/
|
|
7535
|
-
|
|
7721
|
+
defaultValue?: Date;
|
|
7536
7722
|
/**
|
|
7537
|
-
*
|
|
7538
|
-
* @
|
|
7723
|
+
* Callback when the value changes
|
|
7724
|
+
* @param value - Date object or null when cleared
|
|
7539
7725
|
*/
|
|
7540
|
-
|
|
7726
|
+
onChange?: (value: Date | null) => void;
|
|
7541
7727
|
/**
|
|
7542
|
-
*
|
|
7543
|
-
* @default 'end'
|
|
7728
|
+
* Callback when the calendar open state changes
|
|
7544
7729
|
*/
|
|
7545
|
-
|
|
7730
|
+
onOpenChange?: (open: boolean) => void;
|
|
7546
7731
|
/**
|
|
7547
|
-
*
|
|
7548
|
-
* @default false
|
|
7732
|
+
* Minimum allowed datetime as Date object
|
|
7549
7733
|
*/
|
|
7550
|
-
|
|
7734
|
+
min?: Date;
|
|
7551
7735
|
/**
|
|
7552
|
-
*
|
|
7736
|
+
* Maximum allowed datetime as Date object
|
|
7737
|
+
*/
|
|
7738
|
+
max?: Date;
|
|
7739
|
+
/**
|
|
7740
|
+
* Whether to show the time picker alongside the date picker
|
|
7553
7741
|
* @default false
|
|
7554
7742
|
*/
|
|
7555
|
-
|
|
7743
|
+
withTime?: boolean;
|
|
7556
7744
|
/**
|
|
7557
|
-
*
|
|
7745
|
+
* Placeholder text for the input
|
|
7746
|
+
* @default 'mm/dd/yyyy'
|
|
7558
7747
|
*/
|
|
7559
|
-
|
|
7748
|
+
placeholder?: string;
|
|
7560
7749
|
/**
|
|
7561
|
-
*
|
|
7750
|
+
* Whether to close the calendar when a date is selected. This is ignored when withTime is true.
|
|
7751
|
+
* @default true
|
|
7562
7752
|
*/
|
|
7753
|
+
closeOnSelect?: boolean;
|
|
7563
7754
|
className?: string;
|
|
7564
7755
|
/**
|
|
7565
|
-
*
|
|
7756
|
+
* Whether to disable the portal for the calendar content
|
|
7757
|
+
* @default false
|
|
7566
7758
|
*/
|
|
7567
|
-
|
|
7759
|
+
disablePortal?: boolean;
|
|
7760
|
+
/**
|
|
7761
|
+
* Whether to hide the clear button
|
|
7762
|
+
* @default true
|
|
7763
|
+
*/
|
|
7764
|
+
hideClearButton?: boolean;
|
|
7765
|
+
/**
|
|
7766
|
+
* Localizable aria-labels and text
|
|
7767
|
+
*/
|
|
7768
|
+
locale?: DsDatePickerLocale;
|
|
7769
|
+
/**
|
|
7770
|
+
* Props forwarded to sub-component slots
|
|
7771
|
+
*/
|
|
7772
|
+
slotProps?: DsDatePickerSlotProps;
|
|
7568
7773
|
}
|
|
7569
7774
|
//#endregion
|
|
7570
|
-
//#region src/components/ds-
|
|
7571
|
-
|
|
7572
|
-
|
|
7573
|
-
|
|
7574
|
-
|
|
7575
|
-
|
|
7576
|
-
|
|
7577
|
-
|
|
7578
|
-
|
|
7579
|
-
|
|
7580
|
-
|
|
7581
|
-
|
|
7582
|
-
|
|
7583
|
-
|
|
7584
|
-
|
|
7585
|
-
|
|
7586
|
-
|
|
7587
|
-
|
|
7588
|
-
|
|
7589
|
-
|
|
7590
|
-
|
|
7591
|
-
style,
|
|
7592
|
-
className,
|
|
7593
|
-
children
|
|
7594
|
-
}: {
|
|
7595
|
-
style?: CSSProperties;
|
|
7596
|
-
className?: string;
|
|
7597
|
-
children: ReactNode;
|
|
7598
|
-
}) => react_jsx_runtime0.JSX.Element;
|
|
7599
|
-
Title: ({
|
|
7600
|
-
style,
|
|
7601
|
-
className,
|
|
7602
|
-
children
|
|
7603
|
-
}: {
|
|
7604
|
-
style?: CSSProperties;
|
|
7605
|
-
className?: string;
|
|
7606
|
-
children: ReactNode;
|
|
7607
|
-
}) => react_jsx_runtime0.JSX.Element;
|
|
7608
|
-
CloseTrigger: ({
|
|
7609
|
-
style,
|
|
7610
|
-
className
|
|
7611
|
-
}: {
|
|
7612
|
-
style?: CSSProperties;
|
|
7613
|
-
className?: string;
|
|
7614
|
-
}) => react_jsx_runtime0.JSX.Element;
|
|
7615
|
-
Toolbar: ({
|
|
7616
|
-
style,
|
|
7617
|
-
className,
|
|
7618
|
-
children
|
|
7619
|
-
}: {
|
|
7620
|
-
style?: CSSProperties;
|
|
7621
|
-
className?: string;
|
|
7622
|
-
children: ReactNode;
|
|
7623
|
-
}) => react_jsx_runtime0.JSX.Element;
|
|
7624
|
-
Body: ({
|
|
7625
|
-
style,
|
|
7626
|
-
className,
|
|
7627
|
-
children
|
|
7628
|
-
}: {
|
|
7629
|
-
style?: CSSProperties;
|
|
7630
|
-
className?: string;
|
|
7631
|
-
children: ReactNode;
|
|
7632
|
-
}) => react_jsx_runtime0.JSX.Element;
|
|
7633
|
-
Footer: ({
|
|
7634
|
-
style,
|
|
7635
|
-
className,
|
|
7636
|
-
children
|
|
7637
|
-
}: {
|
|
7638
|
-
style?: CSSProperties;
|
|
7639
|
-
className?: string;
|
|
7640
|
-
children: ReactNode;
|
|
7641
|
-
}) => react_jsx_runtime0.JSX.Element;
|
|
7642
|
-
Actions: ({
|
|
7643
|
-
style,
|
|
7644
|
-
className,
|
|
7645
|
-
children
|
|
7646
|
-
}: {
|
|
7647
|
-
style?: CSSProperties;
|
|
7648
|
-
className?: string;
|
|
7649
|
-
children: ReactNode;
|
|
7650
|
-
}) => react_jsx_runtime0.JSX.Element;
|
|
7651
|
-
};
|
|
7775
|
+
//#region src/components/ds-date-picker/ds-date-picker.d.ts
|
|
7776
|
+
declare const DsDatePicker: ({
|
|
7777
|
+
placeholder,
|
|
7778
|
+
className,
|
|
7779
|
+
withTime,
|
|
7780
|
+
closeOnSelect,
|
|
7781
|
+
disablePortal,
|
|
7782
|
+
hideClearButton,
|
|
7783
|
+
locale,
|
|
7784
|
+
slotProps,
|
|
7785
|
+
onChange,
|
|
7786
|
+
onOpenChange,
|
|
7787
|
+
value: _value,
|
|
7788
|
+
defaultValue: _defaultValue,
|
|
7789
|
+
min: _min,
|
|
7790
|
+
max: _max,
|
|
7791
|
+
disabled,
|
|
7792
|
+
readOnly,
|
|
7793
|
+
id,
|
|
7794
|
+
...restProps
|
|
7795
|
+
}: DsDatePickerProps) => _$react_jsx_runtime0.JSX.Element;
|
|
7652
7796
|
//#endregion
|
|
7653
|
-
//#region src/components/ds-
|
|
7654
|
-
|
|
7655
|
-
* Base positioning type
|
|
7656
|
-
*/
|
|
7657
|
-
type BasePositioning = NonNullable<Menu.RootProps['positioning']>;
|
|
7658
|
-
/**
|
|
7659
|
-
* Positioning options for dropdown menu
|
|
7660
|
-
*/
|
|
7661
|
-
type DsDropdownMenuPositioning = Pick<BasePositioning, 'placement' | 'gutter' | 'sameWidth' | 'getAnchorRect'>;
|
|
7662
|
-
/**
|
|
7663
|
-
* DEPRECATED: Legacy dropdown menu option configuration
|
|
7664
|
-
* Use compound component pattern instead
|
|
7665
|
-
* @deprecated
|
|
7666
|
-
*/
|
|
7667
|
-
interface DsDropdownMenuOptionLegacy {
|
|
7668
|
-
/**
|
|
7669
|
-
* Display label for the menu option
|
|
7670
|
-
*/
|
|
7671
|
-
label: string;
|
|
7797
|
+
//#region src/components/ds-number-input/ds-number-input.types.d.ts
|
|
7798
|
+
interface DsNumberInputProps {
|
|
7672
7799
|
/**
|
|
7673
|
-
*
|
|
7800
|
+
* Unique identifier for the input field
|
|
7674
7801
|
*/
|
|
7675
|
-
|
|
7802
|
+
id?: string;
|
|
7676
7803
|
/**
|
|
7677
|
-
*
|
|
7804
|
+
* The ref to the input field
|
|
7678
7805
|
*/
|
|
7679
|
-
|
|
7806
|
+
ref?: React.Ref<HTMLInputElement>;
|
|
7680
7807
|
/**
|
|
7681
|
-
*
|
|
7808
|
+
* The name of the input field
|
|
7682
7809
|
*/
|
|
7683
|
-
|
|
7810
|
+
name?: string;
|
|
7684
7811
|
/**
|
|
7685
|
-
*
|
|
7812
|
+
* The size of the input field
|
|
7813
|
+
* @default default
|
|
7686
7814
|
*/
|
|
7687
|
-
|
|
7688
|
-
}
|
|
7689
|
-
/**
|
|
7690
|
-
* DEPRECATED: Legacy props for DsDropdownMenuLegacy component
|
|
7691
|
-
* Use compound component pattern instead
|
|
7692
|
-
* @deprecated
|
|
7693
|
-
*/
|
|
7694
|
-
interface DsDropdownMenuLegacyProps {
|
|
7815
|
+
size?: 'small' | 'default';
|
|
7695
7816
|
/**
|
|
7696
|
-
*
|
|
7817
|
+
* Event handler called when the input field loses focus
|
|
7818
|
+
*
|
|
7819
|
+
* @param event
|
|
7697
7820
|
*/
|
|
7698
|
-
|
|
7821
|
+
onBlur?: (event: React.FocusEvent<HTMLInputElement>) => void;
|
|
7699
7822
|
/**
|
|
7700
|
-
*
|
|
7701
|
-
*
|
|
7823
|
+
* Callback when the value changes (native input onChange event)
|
|
7824
|
+
* This is provided for compatibility but onValueChange is preferred
|
|
7702
7825
|
*/
|
|
7703
|
-
|
|
7826
|
+
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
7704
7827
|
/**
|
|
7705
|
-
*
|
|
7706
|
-
*
|
|
7828
|
+
* Value change event handler (provides just the number value)
|
|
7829
|
+
* This is the preferred way to handle value changes
|
|
7707
7830
|
*/
|
|
7708
|
-
|
|
7831
|
+
onValueChange?: (value: number) => void;
|
|
7709
7832
|
/**
|
|
7710
7833
|
* Additional CSS class names
|
|
7711
7834
|
*/
|
|
7712
7835
|
className?: string;
|
|
7713
7836
|
/**
|
|
7714
|
-
*
|
|
7837
|
+
* Additional styles to apply to the component
|
|
7715
7838
|
*/
|
|
7716
|
-
style?: CSSProperties;
|
|
7839
|
+
style?: React.CSSProperties;
|
|
7717
7840
|
/**
|
|
7718
|
-
* The
|
|
7719
|
-
* @default 'center'
|
|
7841
|
+
* The placeholder text
|
|
7720
7842
|
*/
|
|
7721
|
-
|
|
7843
|
+
placeholder?: string;
|
|
7722
7844
|
/**
|
|
7723
|
-
*
|
|
7724
|
-
* @default 'bottom'
|
|
7845
|
+
* Whether the number input is disabled
|
|
7725
7846
|
*/
|
|
7726
|
-
|
|
7847
|
+
disabled?: boolean;
|
|
7727
7848
|
/**
|
|
7728
|
-
*
|
|
7729
|
-
* @default false
|
|
7849
|
+
* The minimum value of the number input
|
|
7730
7850
|
*/
|
|
7731
|
-
|
|
7851
|
+
min?: number | undefined;
|
|
7732
7852
|
/**
|
|
7733
|
-
*
|
|
7734
|
-
* @default
|
|
7853
|
+
* The maximum value of the number input
|
|
7854
|
+
* @default Number.MAX_SAFE_INTEGER
|
|
7735
7855
|
*/
|
|
7736
|
-
|
|
7856
|
+
max?: number | undefined;
|
|
7737
7857
|
/**
|
|
7738
|
-
*
|
|
7858
|
+
* The amount to increment or decrement the value by
|
|
7859
|
+
* @default 1
|
|
7739
7860
|
*/
|
|
7740
|
-
|
|
7861
|
+
step?: number | undefined;
|
|
7741
7862
|
/**
|
|
7742
|
-
*
|
|
7863
|
+
* The controlled value of the input
|
|
7743
7864
|
*/
|
|
7744
|
-
|
|
7745
|
-
}
|
|
7746
|
-
/**
|
|
7747
|
-
* Props for the DsDropdownMenu Root component
|
|
7748
|
-
*/
|
|
7749
|
-
interface DsDropdownMenuRootProps {
|
|
7865
|
+
value?: number | undefined;
|
|
7750
7866
|
/**
|
|
7751
|
-
*
|
|
7867
|
+
* The initial value of the input when rendered.
|
|
7868
|
+
* Use when you don't need to control the value of the input.
|
|
7752
7869
|
*/
|
|
7753
|
-
|
|
7870
|
+
defaultValue?: number | undefined;
|
|
7871
|
+
}
|
|
7872
|
+
//#endregion
|
|
7873
|
+
//#region src/components/ds-number-input/ds-number-input.d.ts
|
|
7874
|
+
declare const DsNumberInput: FC<DsNumberInputProps>;
|
|
7875
|
+
//#endregion
|
|
7876
|
+
//#region src/components/ds-password-input/ds-password-input.types.d.ts
|
|
7877
|
+
interface DsPasswordInputProps {
|
|
7754
7878
|
/**
|
|
7755
|
-
*
|
|
7879
|
+
* Unique identifier for the input field
|
|
7756
7880
|
*/
|
|
7757
|
-
|
|
7881
|
+
id?: string;
|
|
7758
7882
|
/**
|
|
7759
|
-
*
|
|
7883
|
+
* The ref to the input field
|
|
7760
7884
|
*/
|
|
7761
|
-
|
|
7885
|
+
ref?: React.Ref<HTMLInputElement>;
|
|
7762
7886
|
/**
|
|
7763
|
-
*
|
|
7887
|
+
* The name of the input field
|
|
7764
7888
|
*/
|
|
7765
|
-
|
|
7889
|
+
name?: string;
|
|
7766
7890
|
/**
|
|
7767
|
-
*
|
|
7891
|
+
* The size of the input field
|
|
7892
|
+
* @default default
|
|
7768
7893
|
*/
|
|
7769
|
-
|
|
7894
|
+
size?: 'small' | 'default';
|
|
7770
7895
|
/**
|
|
7771
|
-
*
|
|
7772
|
-
*
|
|
7896
|
+
* Event handler called when the input field loses focus
|
|
7897
|
+
*
|
|
7898
|
+
* @param event
|
|
7773
7899
|
*/
|
|
7774
|
-
|
|
7900
|
+
onBlur?: (event: React.FocusEvent<HTMLInputElement>) => void;
|
|
7775
7901
|
/**
|
|
7776
|
-
*
|
|
7902
|
+
* Callback when the value changes (native input onChange event)
|
|
7903
|
+
* This is provided for compatibility but onValueChange is preferred
|
|
7777
7904
|
*/
|
|
7778
|
-
|
|
7779
|
-
}
|
|
7780
|
-
/**
|
|
7781
|
-
* Props for the DsDropdownMenu Trigger component
|
|
7782
|
-
*/
|
|
7783
|
-
type DsDropdownMenuTriggerProps = Menu.TriggerProps;
|
|
7784
|
-
/**
|
|
7785
|
-
* Props for the DsDropdownMenu Content component
|
|
7786
|
-
*/
|
|
7787
|
-
interface DsDropdownMenuContentProps extends Pick<Menu.ContentProps, 'className' | 'style' | 'children'> {
|
|
7905
|
+
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
7788
7906
|
/**
|
|
7789
|
-
*
|
|
7790
|
-
*
|
|
7907
|
+
* Value change event handler (provides just the string value)
|
|
7908
|
+
* This is the preferred way to handle value changes
|
|
7791
7909
|
*/
|
|
7792
|
-
|
|
7793
|
-
}
|
|
7794
|
-
/**
|
|
7795
|
-
* Props for the DsDropdownMenu Item component
|
|
7796
|
-
*/
|
|
7797
|
-
interface DsDropdownMenuItemProps extends Pick<Menu.ItemProps, 'disabled' | 'asChild' | 'className' | 'style' | 'onSelect' | 'onClick' | 'value' | 'children'> {
|
|
7910
|
+
onValueChange?: (value: string) => void;
|
|
7798
7911
|
/**
|
|
7799
|
-
*
|
|
7912
|
+
* Additional CSS class names
|
|
7800
7913
|
*/
|
|
7801
|
-
|
|
7802
|
-
}
|
|
7803
|
-
/**
|
|
7804
|
-
* Props for the DsDropdownMenu ItemIndicator component
|
|
7805
|
-
*/
|
|
7806
|
-
interface DsDropdownMenuItemIndicatorProps {
|
|
7914
|
+
className?: string;
|
|
7807
7915
|
/**
|
|
7808
|
-
*
|
|
7916
|
+
* Additional styles to apply to the component
|
|
7809
7917
|
*/
|
|
7810
|
-
|
|
7918
|
+
style?: React.CSSProperties;
|
|
7811
7919
|
/**
|
|
7812
|
-
*
|
|
7920
|
+
* The placeholder text
|
|
7813
7921
|
*/
|
|
7814
|
-
|
|
7922
|
+
placeholder?: string;
|
|
7815
7923
|
/**
|
|
7816
|
-
*
|
|
7924
|
+
* The current value (for controlled usage)
|
|
7817
7925
|
*/
|
|
7818
|
-
|
|
7819
|
-
}
|
|
7820
|
-
/**
|
|
7821
|
-
* Props for the DsDropdownMenu Header component
|
|
7822
|
-
*/
|
|
7823
|
-
interface DsDropdownMenuHeaderProps {
|
|
7824
|
-
/**
|
|
7825
|
-
* The header content (typically a search input or filter controls)
|
|
7826
|
-
*/
|
|
7827
|
-
children: ReactNode;
|
|
7828
|
-
/**
|
|
7829
|
-
* Optional CSS class name
|
|
7830
|
-
*/
|
|
7831
|
-
className?: string;
|
|
7832
|
-
/**
|
|
7833
|
-
* Optional inline styles
|
|
7834
|
-
*/
|
|
7835
|
-
style?: CSSProperties;
|
|
7836
|
-
}
|
|
7837
|
-
/**
|
|
7838
|
-
* Props for the DsDropdownMenu Actions component
|
|
7839
|
-
*/
|
|
7840
|
-
interface DsDropdownMenuActionsProps {
|
|
7841
|
-
/**
|
|
7842
|
-
* The action buttons or elements
|
|
7843
|
-
*/
|
|
7844
|
-
children: ReactNode;
|
|
7845
|
-
/**
|
|
7846
|
-
* Optional CSS class name
|
|
7847
|
-
*/
|
|
7848
|
-
className?: string;
|
|
7849
|
-
/**
|
|
7850
|
-
* Optional inline styles
|
|
7851
|
-
*/
|
|
7852
|
-
style?: CSSProperties;
|
|
7853
|
-
}
|
|
7854
|
-
/**
|
|
7855
|
-
* Props for the DsDropdownMenu ItemGroup component
|
|
7856
|
-
*/
|
|
7857
|
-
interface DsDropdownMenuItemGroupProps extends Menu.ItemGroupProps {
|
|
7858
|
-
/**
|
|
7859
|
-
* Whether the group is collapsed
|
|
7860
|
-
*/
|
|
7861
|
-
collapsed?: boolean;
|
|
7862
|
-
/**
|
|
7863
|
-
* Callback when collapse state changes
|
|
7864
|
-
*/
|
|
7865
|
-
onCollapsedChange?: (collapsed: boolean) => void;
|
|
7866
|
-
}
|
|
7867
|
-
/**
|
|
7868
|
-
* Props for the DsDropdownMenu ItemGroupLabel component
|
|
7869
|
-
*/
|
|
7870
|
-
type DsDropdownMenuItemGroupLabelProps = Menu.ItemGroupLabelProps;
|
|
7871
|
-
/**
|
|
7872
|
-
* Props for the DsDropdownMenu ItemGroupContent component
|
|
7873
|
-
*/
|
|
7874
|
-
interface DsDropdownMenuItemGroupContentProps {
|
|
7875
|
-
/**
|
|
7876
|
-
* The content to show/hide based on collapsed state
|
|
7877
|
-
*/
|
|
7878
|
-
children: ReactNode;
|
|
7926
|
+
value?: string;
|
|
7879
7927
|
/**
|
|
7880
|
-
*
|
|
7928
|
+
* The initial value of the input when rendered.
|
|
7929
|
+
* Use when you don't need to control the value of the input.
|
|
7881
7930
|
*/
|
|
7882
|
-
|
|
7931
|
+
defaultValue?: string;
|
|
7883
7932
|
/**
|
|
7884
|
-
*
|
|
7933
|
+
* Whether the password input is disabled
|
|
7885
7934
|
*/
|
|
7886
|
-
|
|
7935
|
+
disabled?: boolean;
|
|
7887
7936
|
}
|
|
7888
|
-
/**
|
|
7889
|
-
* Props for the DsDropdownMenu Separator component
|
|
7890
|
-
*/
|
|
7891
|
-
type DsDropdownMenuSeparatorProps = Menu.SeparatorProps;
|
|
7892
|
-
/**
|
|
7893
|
-
* Props for the DsDropdownMenu TriggerItem component (for nested submenus)
|
|
7894
|
-
*/
|
|
7895
|
-
type DsDropdownMenuTriggerItemProps = Menu.TriggerItemProps;
|
|
7896
7937
|
//#endregion
|
|
7897
|
-
//#region src/components/ds-
|
|
7898
|
-
|
|
7899
|
-
* DEPRECATED: Legacy DsDropdownMenu component with options array
|
|
7900
|
-
* Use compound component pattern instead
|
|
7901
|
-
* @deprecated
|
|
7902
|
-
*/
|
|
7903
|
-
declare const DsDropdownMenuLegacy: React.FC<DsDropdownMenuLegacyProps>;
|
|
7904
|
-
/**
|
|
7905
|
-
* Design system DsDropdownMenu component
|
|
7906
|
-
*
|
|
7907
|
-
* @example
|
|
7908
|
-
* <DsDropdownMenu.Root>
|
|
7909
|
-
* <DsDropdownMenu.Trigger>
|
|
7910
|
-
* <button>Open</button>
|
|
7911
|
-
* </DsDropdownMenu.Trigger>
|
|
7912
|
-
* <DsDropdownMenu.Content>
|
|
7913
|
-
* <DsDropdownMenu.Header>
|
|
7914
|
-
* <DsTextInput placeholder="Search..." />
|
|
7915
|
-
* </DsDropdownMenu.Header>
|
|
7916
|
-
* <DsDropdownMenu.Item value="item1">
|
|
7917
|
-
* Item 1
|
|
7918
|
-
* <DsDropdownMenu.ItemIndicator />
|
|
7919
|
-
* </DsDropdownMenu.Item>
|
|
7920
|
-
* <DsDropdownMenu.ItemGroup>
|
|
7921
|
-
* <DsDropdownMenu.ItemGroupLabel>Group Name</DsDropdownMenu.ItemGroupLabel>
|
|
7922
|
-
* <DsDropdownMenu.ItemGroupContent>
|
|
7923
|
-
* <DsDropdownMenu.Item value="item2">Item 2</DsDropdownMenu.Item>
|
|
7924
|
-
* </DsDropdownMenu.ItemGroupContent>
|
|
7925
|
-
* </DsDropdownMenu.ItemGroup>
|
|
7926
|
-
* <DsDropdownMenu.Separator />
|
|
7927
|
-
* <DsDropdownMenu.Actions>
|
|
7928
|
-
* <DsButton>Cancel</DsButton>
|
|
7929
|
-
* <DsButton>Apply</DsButton>
|
|
7930
|
-
* </DsDropdownMenu.Actions>
|
|
7931
|
-
* </DsDropdownMenu.Content>
|
|
7932
|
-
* </DsDropdownMenu.Root>
|
|
7933
|
-
*/
|
|
7934
|
-
declare const DsDropdownMenu: {
|
|
7935
|
-
Root: React.FC<DsDropdownMenuRootProps>;
|
|
7936
|
-
Trigger: React.FC<Menu.TriggerProps>;
|
|
7937
|
-
Content: React.FC<DsDropdownMenuContentProps>;
|
|
7938
|
-
Item: React.FC<DsDropdownMenuItemProps>;
|
|
7939
|
-
ItemIndicator: React.FC<DsDropdownMenuItemIndicatorProps>;
|
|
7940
|
-
TriggerItem: React.FC<Menu.TriggerItemProps>;
|
|
7941
|
-
Header: React.FC<DsDropdownMenuHeaderProps>;
|
|
7942
|
-
Actions: React.FC<DsDropdownMenuActionsProps>;
|
|
7943
|
-
ItemGroup: React.FC<DsDropdownMenuItemGroupProps>;
|
|
7944
|
-
ItemGroupLabel: React.FC<Menu.ItemGroupLabelProps>;
|
|
7945
|
-
ItemGroupContent: React.FC<DsDropdownMenuItemGroupContentProps>;
|
|
7946
|
-
Separator: React.FC<Menu.SeparatorProps>;
|
|
7947
|
-
};
|
|
7938
|
+
//#region src/components/ds-password-input/ds-password-input.d.ts
|
|
7939
|
+
declare const DsPasswordInput: FC<DsPasswordInputProps>;
|
|
7948
7940
|
//#endregion
|
|
7949
|
-
//#region src/components/ds-
|
|
7950
|
-
|
|
7951
|
-
type TextInputSize = (typeof textInputSizes)[number];
|
|
7952
|
-
interface DsTextInputProps {
|
|
7941
|
+
//#region src/components/ds-textarea/ds-textarea.types.d.ts
|
|
7942
|
+
interface DsTextareaProps {
|
|
7953
7943
|
/**
|
|
7954
|
-
* Unique identifier for the
|
|
7944
|
+
* Unique identifier for the textarea element
|
|
7955
7945
|
*/
|
|
7956
7946
|
id?: string;
|
|
7957
7947
|
/**
|
|
7958
|
-
* The ref to the
|
|
7948
|
+
* The ref to the textarea element
|
|
7959
7949
|
*/
|
|
7960
|
-
ref?: React.Ref<
|
|
7950
|
+
ref?: React.Ref<HTMLTextAreaElement>;
|
|
7961
7951
|
/**
|
|
7962
|
-
* The name of the
|
|
7952
|
+
* The name of the textarea
|
|
7963
7953
|
*/
|
|
7964
7954
|
name?: string;
|
|
7965
7955
|
/**
|
|
7966
|
-
*
|
|
7967
|
-
* @default default
|
|
7968
|
-
*/
|
|
7969
|
-
size?: TextInputSize;
|
|
7970
|
-
/**
|
|
7971
|
-
* The type of the input field
|
|
7972
|
-
* @default text
|
|
7973
|
-
*/
|
|
7974
|
-
type?: string;
|
|
7975
|
-
/**
|
|
7976
|
-
* Event handler called when the input field receives focus
|
|
7977
|
-
*/
|
|
7978
|
-
onFocus?: (event: React.FocusEvent<HTMLInputElement>) => void;
|
|
7979
|
-
/**
|
|
7980
|
-
* Event handler called when the input field loses focus
|
|
7956
|
+
* Event handler called when the textarea loses focus
|
|
7981
7957
|
*
|
|
7982
7958
|
* @param event
|
|
7983
7959
|
*/
|
|
7984
|
-
onBlur?: (event: React.FocusEvent<
|
|
7985
|
-
/**
|
|
7986
|
-
* Callback when a key is pressed down
|
|
7987
|
-
*/
|
|
7988
|
-
onKeyDown?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
|
|
7960
|
+
onBlur?: (event: React.FocusEvent<HTMLTextAreaElement>) => void;
|
|
7989
7961
|
/**
|
|
7990
7962
|
* Callback when the value changes
|
|
7991
7963
|
*/
|
|
7992
|
-
onChange?: (event: React.ChangeEvent<
|
|
7964
|
+
onChange?: (event: React.ChangeEvent<HTMLTextAreaElement>) => void;
|
|
7993
7965
|
/**
|
|
7994
7966
|
* Value change event handler (provides just the value)
|
|
7995
7967
|
*/
|
|
@@ -8011,13 +7983,18 @@ interface DsTextInputProps {
|
|
|
8011
7983
|
*/
|
|
8012
7984
|
value?: string;
|
|
8013
7985
|
/**
|
|
8014
|
-
* The
|
|
7986
|
+
* The initial value of the input when rendered.
|
|
7987
|
+
* Use when you don't need to control the value of the input.
|
|
8015
7988
|
*/
|
|
8016
|
-
|
|
7989
|
+
defaultValue?: string;
|
|
8017
7990
|
/**
|
|
8018
|
-
*
|
|
7991
|
+
* Whether the textarea is disabled
|
|
8019
7992
|
*/
|
|
8020
|
-
|
|
7993
|
+
disabled?: boolean;
|
|
7994
|
+
/**
|
|
7995
|
+
* The number of visible text lines
|
|
7996
|
+
*/
|
|
7997
|
+
rows?: number;
|
|
8021
7998
|
/**
|
|
8022
7999
|
* The minimum number of characters
|
|
8023
8000
|
*/
|
|
@@ -8026,771 +8003,1126 @@ interface DsTextInputProps {
|
|
|
8026
8003
|
* The maximum number of characters
|
|
8027
8004
|
*/
|
|
8028
8005
|
maxLength?: number;
|
|
8006
|
+
}
|
|
8007
|
+
//#endregion
|
|
8008
|
+
//#region src/components/ds-textarea/ds-textarea.d.ts
|
|
8009
|
+
declare const DsTextarea: React.FC<DsTextareaProps>;
|
|
8010
|
+
//#endregion
|
|
8011
|
+
//#region src/components/ds-select/ds-select.types.d.ts
|
|
8012
|
+
type SelectSize = 'default' | 'small';
|
|
8013
|
+
interface DsSelectOption {
|
|
8029
8014
|
/**
|
|
8030
|
-
*
|
|
8031
|
-
* Use when you don't need to control the value of the input.
|
|
8015
|
+
* Label to display in the select
|
|
8032
8016
|
*/
|
|
8033
|
-
|
|
8017
|
+
label: string;
|
|
8034
8018
|
/**
|
|
8035
|
-
*
|
|
8019
|
+
* Value to return when the option is selected
|
|
8036
8020
|
*/
|
|
8037
|
-
|
|
8021
|
+
value: SelectOptionValue;
|
|
8038
8022
|
/**
|
|
8039
|
-
*
|
|
8023
|
+
* Optional icon to display next to the label
|
|
8040
8024
|
*/
|
|
8041
|
-
|
|
8025
|
+
icon?: IconName;
|
|
8026
|
+
}
|
|
8027
|
+
type SelectOptionValue = string;
|
|
8028
|
+
type DsSelectProps = {
|
|
8042
8029
|
/**
|
|
8043
|
-
*
|
|
8030
|
+
* Unique identifier for the select component
|
|
8044
8031
|
*/
|
|
8045
|
-
|
|
8046
|
-
slots?: {
|
|
8047
|
-
/**
|
|
8048
|
-
* Custom component to wrap the input element
|
|
8049
|
-
*/
|
|
8050
|
-
inputWrapper?: ComponentType<{
|
|
8051
|
-
children: React.ReactNode;
|
|
8052
|
-
}>;
|
|
8053
|
-
/**
|
|
8054
|
-
* Adornment to display at the start of the input
|
|
8055
|
-
*/
|
|
8056
|
-
startAdornment?: React.ReactNode;
|
|
8057
|
-
/**
|
|
8058
|
-
* Adornment to display at the end of the input
|
|
8059
|
-
*/
|
|
8060
|
-
endAdornment?: React.ReactNode;
|
|
8061
|
-
};
|
|
8062
|
-
}
|
|
8063
|
-
//#endregion
|
|
8064
|
-
//#region src/components/ds-text-input/ds-text-input.d.ts
|
|
8065
|
-
declare const DsTextInput: FC<DsTextInputProps>;
|
|
8066
|
-
//#endregion
|
|
8067
|
-
//#region src/components/ds-expandable-text-input/ds-expandable-text-input.types.d.ts
|
|
8068
|
-
interface DsExpandableTextInputProps extends Omit<DsTextInputProps, 'tabIndex' | 'slots'> {
|
|
8032
|
+
id?: string;
|
|
8069
8033
|
/**
|
|
8070
|
-
*
|
|
8034
|
+
* Options to display in the select dropdown
|
|
8071
8035
|
*/
|
|
8072
|
-
|
|
8036
|
+
options: DsSelectOption[];
|
|
8073
8037
|
/**
|
|
8074
|
-
*
|
|
8038
|
+
* Additional styles to apply to the icon
|
|
8075
8039
|
*/
|
|
8076
|
-
|
|
8040
|
+
style?: React.CSSProperties;
|
|
8077
8041
|
/**
|
|
8078
|
-
*
|
|
8042
|
+
* Additional CSS class names
|
|
8079
8043
|
*/
|
|
8080
|
-
|
|
8081
|
-
}
|
|
8082
|
-
//#endregion
|
|
8083
|
-
//#region src/components/ds-expandable-text-input/ds-expandable-text-input.d.ts
|
|
8084
|
-
declare function DsExpandableTextInput({
|
|
8085
|
-
onClear,
|
|
8086
|
-
onExpandChange,
|
|
8087
|
-
icon,
|
|
8088
|
-
size,
|
|
8089
|
-
...props
|
|
8090
|
-
}: DsExpandableTextInputProps): react_jsx_runtime0.JSX.Element;
|
|
8091
|
-
//#endregion
|
|
8092
|
-
//#region src/components/ds-file-upload/ds-file-upload-api.types.d.ts
|
|
8093
|
-
type FileError = FileUploadFileError;
|
|
8094
|
-
type UploadFileStatus = 'pending' | 'uploading' | 'interrupted' | 'completed' | 'error' | 'cancelled';
|
|
8095
|
-
type FileMetadata = Record<string, unknown>;
|
|
8096
|
-
interface UploadedFile extends File {
|
|
8097
|
-
id: string;
|
|
8098
|
-
progress: number;
|
|
8099
|
-
status: UploadFileStatus;
|
|
8100
|
-
errors?: FileError[];
|
|
8101
|
-
}
|
|
8102
|
-
interface FileUploadOptions {
|
|
8103
|
-
file: File;
|
|
8104
|
-
fileId: string;
|
|
8105
|
-
metadata?: FileMetadata;
|
|
8106
|
-
onProgress?: (progress: number) => void;
|
|
8107
|
-
signal?: AbortSignal;
|
|
8108
|
-
}
|
|
8109
|
-
interface FileUploadResult {
|
|
8110
|
-
url: string;
|
|
8111
|
-
metadata?: FileMetadata;
|
|
8112
|
-
}
|
|
8113
|
-
/**
|
|
8114
|
-
* File upload adapter interface
|
|
8115
|
-
* The upload method should:
|
|
8116
|
-
* - resolve with FileUploadResult on success
|
|
8117
|
-
* - reject with RetryableFileUploadError for transient failures
|
|
8118
|
-
* - reject with FatalFileUploadError for permanent failures
|
|
8119
|
-
*/
|
|
8120
|
-
interface FileUploadAdapter {
|
|
8121
|
-
upload: (options: FileUploadOptions) => FileUploadResult | Promise<FileUploadResult>;
|
|
8122
|
-
cancel?: (fileId: string) => void | Promise<void>;
|
|
8123
|
-
delete?: (fileId: string) => void | Promise<void>;
|
|
8124
|
-
}
|
|
8125
|
-
//#endregion
|
|
8126
|
-
//#region src/components/ds-file-upload/types/accept-types.d.ts
|
|
8127
|
-
/**
|
|
8128
|
-
* File extension with leading dot
|
|
8129
|
-
* @example '.pdf', '.jpg', '.csv'
|
|
8130
|
-
*/
|
|
8131
|
-
type FileExtension = `.${string}`;
|
|
8132
|
-
/**
|
|
8133
|
-
* Accepted file type configuration
|
|
8134
|
-
* - Use string shorthand for common MIME types (uses built-in extensions map)
|
|
8135
|
-
* - Use object form to override or provide custom extensions
|
|
8136
|
-
*/
|
|
8137
|
-
type AcceptedFileType = FileUploadFileMimeType | {
|
|
8138
|
-
mimeType: FileUploadFileMimeType;
|
|
8139
|
-
extensions: [FileExtension, ...FileExtension[]];
|
|
8140
|
-
};
|
|
8141
|
-
//#endregion
|
|
8142
|
-
//#region src/components/ds-file-upload/components/file-upload/file-upload.types.d.ts
|
|
8143
|
-
interface FileUploadProps {
|
|
8044
|
+
className?: string;
|
|
8144
8045
|
/**
|
|
8145
|
-
*
|
|
8046
|
+
* Event handler called when the select loses focus
|
|
8047
|
+
*
|
|
8048
|
+
* @param event
|
|
8146
8049
|
*/
|
|
8147
|
-
|
|
8050
|
+
onBlur?: (event: React.FocusEvent) => void;
|
|
8148
8051
|
/**
|
|
8149
|
-
*
|
|
8052
|
+
* Placeholder text to display when no option is selected
|
|
8150
8053
|
*/
|
|
8151
|
-
|
|
8054
|
+
placeholder?: string;
|
|
8152
8055
|
/**
|
|
8153
|
-
*
|
|
8056
|
+
* Whether the select is disabled
|
|
8154
8057
|
*/
|
|
8155
|
-
|
|
8058
|
+
disabled?: boolean;
|
|
8156
8059
|
/**
|
|
8157
|
-
*
|
|
8158
|
-
* @default
|
|
8060
|
+
* The size of the select component
|
|
8061
|
+
* @default 'default'
|
|
8159
8062
|
*/
|
|
8160
|
-
|
|
8063
|
+
size?: SelectSize;
|
|
8161
8064
|
/**
|
|
8162
|
-
*
|
|
8163
|
-
*
|
|
8065
|
+
* Custom render function for dropdown options.
|
|
8066
|
+
* When provided, replaces the default label text inside each dropdown item.
|
|
8067
|
+
* The string `label` is still used for search, trigger text, chips, and accessibility.
|
|
8164
8068
|
*/
|
|
8165
|
-
|
|
8069
|
+
renderOption?: (option: DsSelectOption) => ReactNode;
|
|
8070
|
+
} & ({
|
|
8071
|
+
clearable?: undefined | false;
|
|
8072
|
+
onClear?: never;
|
|
8073
|
+
} | {
|
|
8074
|
+
clearable: true;
|
|
8075
|
+
onClear?: () => void;
|
|
8076
|
+
}) & ({
|
|
8077
|
+
multiple?: undefined | false;
|
|
8078
|
+
value: SelectOptionValue;
|
|
8079
|
+
onValueChange?: (value: SelectOptionValue) => void;
|
|
8166
8080
|
/**
|
|
8167
|
-
*
|
|
8168
|
-
*
|
|
8081
|
+
* Custom render function for the selected value in the trigger.
|
|
8082
|
+
* When provided, replaces the default label text inside the trigger button.
|
|
8083
|
+
* Only called when there is a selection; otherwise the placeholder is shown.
|
|
8169
8084
|
*/
|
|
8170
|
-
|
|
8085
|
+
renderValue?: (selectedOption: DsSelectOption) => ReactNode;
|
|
8086
|
+
} | {
|
|
8087
|
+
multiple: true;
|
|
8088
|
+
value: SelectOptionValue[];
|
|
8089
|
+
onValueChange?: (value: SelectOptionValue[]) => void;
|
|
8171
8090
|
/**
|
|
8172
|
-
*
|
|
8091
|
+
* Custom render function for the selected value in the trigger.
|
|
8092
|
+
* When provided, replaces the default label text inside the trigger button.
|
|
8093
|
+
* Only called when there is a selection; otherwise the placeholder is shown.
|
|
8173
8094
|
*/
|
|
8174
|
-
|
|
8095
|
+
renderValue?: (selectedOptions: DsSelectOption[]) => ReactNode;
|
|
8096
|
+
});
|
|
8097
|
+
//#endregion
|
|
8098
|
+
//#region src/components/ds-select/ds-select.d.ts
|
|
8099
|
+
declare const DsSelect: ({
|
|
8100
|
+
id,
|
|
8101
|
+
options: userOptions,
|
|
8102
|
+
value,
|
|
8103
|
+
style,
|
|
8104
|
+
size,
|
|
8105
|
+
clearable,
|
|
8106
|
+
onClear,
|
|
8107
|
+
onBlur,
|
|
8108
|
+
className,
|
|
8109
|
+
placeholder,
|
|
8110
|
+
disabled,
|
|
8111
|
+
renderOption,
|
|
8112
|
+
...multiselectProps
|
|
8113
|
+
}: DsSelectProps) => _$react_jsx_runtime0.JSX.Element;
|
|
8114
|
+
//#endregion
|
|
8115
|
+
//#region src/components/ds-form-control/ds-form-control.types.d.ts
|
|
8116
|
+
declare const controlStatuses: readonly ["info", "success", "error", "warning"];
|
|
8117
|
+
type ControlStatus = (typeof controlStatuses)[number];
|
|
8118
|
+
interface DsFormControlProps extends React.PropsWithChildren {
|
|
8175
8119
|
/**
|
|
8176
|
-
*
|
|
8177
|
-
* @default 25MB
|
|
8120
|
+
* Unique identifier for the control
|
|
8178
8121
|
*/
|
|
8179
|
-
|
|
8122
|
+
id?: string;
|
|
8180
8123
|
/**
|
|
8181
|
-
*
|
|
8124
|
+
* Visual status
|
|
8182
8125
|
*/
|
|
8183
|
-
|
|
8126
|
+
status?: ControlStatus;
|
|
8184
8127
|
/**
|
|
8185
|
-
*
|
|
8128
|
+
* Label text
|
|
8186
8129
|
*/
|
|
8187
|
-
|
|
8130
|
+
label: string;
|
|
8131
|
+
/**
|
|
8132
|
+
* Marks the field as required
|
|
8133
|
+
*/
|
|
8134
|
+
required?: boolean;
|
|
8135
|
+
slots?: {
|
|
8136
|
+
/**
|
|
8137
|
+
* Adornment to display at the end of the label
|
|
8138
|
+
*/
|
|
8139
|
+
endAdornment?: React.ReactNode;
|
|
8140
|
+
};
|
|
8141
|
+
/**
|
|
8142
|
+
* Message under the control
|
|
8143
|
+
*/
|
|
8144
|
+
message?: string;
|
|
8145
|
+
/**
|
|
8146
|
+
* Icon shown next to message
|
|
8147
|
+
*/
|
|
8148
|
+
messageIcon?: IconType;
|
|
8188
8149
|
/**
|
|
8189
8150
|
* Additional CSS class names
|
|
8190
8151
|
*/
|
|
8191
8152
|
className?: string;
|
|
8192
8153
|
/**
|
|
8193
|
-
* Additional styles
|
|
8154
|
+
* Additional styles to apply to the component
|
|
8194
8155
|
*/
|
|
8195
|
-
style?: CSSProperties;
|
|
8156
|
+
style?: React.CSSProperties;
|
|
8157
|
+
}
|
|
8158
|
+
interface DsFormControlDescriptionProps {
|
|
8196
8159
|
/**
|
|
8197
|
-
* The
|
|
8198
|
-
* Use shorthand for common MIME types (extensions provided automatically)
|
|
8199
|
-
* or explicit form for custom types
|
|
8200
|
-
* @example ['application/pdf', 'image/png']
|
|
8201
|
-
* @example ['application/pdf', { mimeType: 'application/x-custom', extensions: ['.custom'] }]
|
|
8160
|
+
* The description content
|
|
8202
8161
|
*/
|
|
8203
|
-
|
|
8162
|
+
children: React.ReactNode;
|
|
8204
8163
|
/**
|
|
8205
|
-
*
|
|
8164
|
+
* Additional CSS class names
|
|
8206
8165
|
*/
|
|
8207
|
-
|
|
8166
|
+
className?: string;
|
|
8167
|
+
}
|
|
8168
|
+
//#endregion
|
|
8169
|
+
//#region src/components/ds-form-control/ds-form-control.d.ts
|
|
8170
|
+
declare const DsFormControl: {
|
|
8171
|
+
({
|
|
8172
|
+
id,
|
|
8173
|
+
status,
|
|
8174
|
+
label,
|
|
8175
|
+
required,
|
|
8176
|
+
slots,
|
|
8177
|
+
message,
|
|
8178
|
+
messageIcon,
|
|
8179
|
+
className,
|
|
8180
|
+
style,
|
|
8181
|
+
children
|
|
8182
|
+
}: DsFormControlProps): _$react_jsx_runtime0.JSX.Element;
|
|
8183
|
+
TextInput: (props: DsTextInputProps) => _$react_jsx_runtime0.JSX.Element;
|
|
8184
|
+
NumberInput: (props: DsNumberInputProps) => _$react_jsx_runtime0.JSX.Element;
|
|
8185
|
+
PasswordInput: (props: DsPasswordInputProps) => _$react_jsx_runtime0.JSX.Element; /** @deprecated DsDateInput is deprecated. Use DsDatePicker or DsDateRangePicker instead. */
|
|
8186
|
+
DateInput: (props: DsDateInputProps) => _$react_jsx_runtime0.JSX.Element;
|
|
8187
|
+
DatePicker: (props: DsDatePickerProps) => _$react_jsx_runtime0.JSX.Element;
|
|
8188
|
+
TimePicker: (props: DsTimePickerProps) => _$react_jsx_runtime0.JSX.Element;
|
|
8189
|
+
Textarea: (props: DsTextareaProps) => _$react_jsx_runtime0.JSX.Element;
|
|
8190
|
+
Select: (props: DsSelectProps) => _$react_jsx_runtime0.JSX.Element;
|
|
8191
|
+
Description: React.FC<DsFormControlDescriptionProps>;
|
|
8192
|
+
};
|
|
8193
|
+
//#endregion
|
|
8194
|
+
//#region src/components/ds-date-range-picker/ds-date-range-picker.types.d.ts
|
|
8195
|
+
type DateRangeValue = [Date | null, Date | null];
|
|
8196
|
+
declare const dateRangePickerOrientations: readonly ["horizontal", "vertical"];
|
|
8197
|
+
type DateRangePickerOrientation = (typeof dateRangePickerOrientations)[number];
|
|
8198
|
+
interface DsDateRangePickerLocale {
|
|
8199
|
+
clearAllLabel?: string;
|
|
8200
|
+
}
|
|
8201
|
+
type DateRangeFormControlSlotProps = Partial<Omit<DsFormControlProps, 'children'>>;
|
|
8202
|
+
interface DsDateRangePickerSlotProps {
|
|
8203
|
+
startDatePicker?: DsDatePickerProps;
|
|
8204
|
+
endDatePicker?: DsDatePickerProps;
|
|
8205
|
+
startDateFormControl?: DateRangeFormControlSlotProps;
|
|
8206
|
+
endDateFormControl?: DateRangeFormControlSlotProps;
|
|
8207
|
+
}
|
|
8208
|
+
interface DsDateRangePickerProps {
|
|
8208
8209
|
/**
|
|
8209
|
-
*
|
|
8210
|
+
* Controlled value as a tuple of [startDate, endDate].
|
|
8211
|
+
* `null` for either element means that date is empty.
|
|
8212
|
+
* `undefined` means the component is uncontrolled.
|
|
8210
8213
|
*/
|
|
8211
|
-
|
|
8214
|
+
value?: DateRangeValue;
|
|
8212
8215
|
/**
|
|
8213
|
-
*
|
|
8216
|
+
* Default value for uncontrolled mode
|
|
8214
8217
|
*/
|
|
8215
|
-
|
|
8218
|
+
defaultValue?: DateRangeValue;
|
|
8216
8219
|
/**
|
|
8217
|
-
* Callback when
|
|
8220
|
+
* Callback when either date changes
|
|
8218
8221
|
*/
|
|
8219
|
-
|
|
8222
|
+
onChange?: (value: DateRangeValue) => void;
|
|
8220
8223
|
/**
|
|
8221
|
-
*
|
|
8224
|
+
* Minimum allowed datetime for both pickers
|
|
8222
8225
|
*/
|
|
8223
|
-
|
|
8226
|
+
min?: Date;
|
|
8224
8227
|
/**
|
|
8225
|
-
*
|
|
8228
|
+
* Maximum allowed datetime for both pickers
|
|
8226
8229
|
*/
|
|
8227
|
-
|
|
8230
|
+
max?: Date;
|
|
8228
8231
|
/**
|
|
8229
|
-
* Whether
|
|
8232
|
+
* Whether to show date pickers with time
|
|
8233
|
+
* @default false
|
|
8234
|
+
*/
|
|
8235
|
+
withTime?: boolean;
|
|
8236
|
+
/**
|
|
8237
|
+
* Layout orientation of the two pickers
|
|
8238
|
+
* @default 'horizontal'
|
|
8239
|
+
*/
|
|
8240
|
+
orientation?: DateRangePickerOrientation;
|
|
8241
|
+
/**
|
|
8242
|
+
* Whether to hide the "Clear all" button
|
|
8243
|
+
* @default false
|
|
8244
|
+
*/
|
|
8245
|
+
hideClearAll?: boolean;
|
|
8246
|
+
/**
|
|
8247
|
+
* Whether to close the calendar when a date is selected. This is ignored when withTime is true.
|
|
8248
|
+
* @default true
|
|
8230
8249
|
*/
|
|
8250
|
+
closeOnSelect?: boolean;
|
|
8231
8251
|
disabled?: boolean;
|
|
8252
|
+
readOnly?: boolean;
|
|
8253
|
+
className?: string;
|
|
8232
8254
|
/**
|
|
8233
|
-
* Whether the
|
|
8255
|
+
* Whether to disable the portal for both calendar popups
|
|
8256
|
+
* @default false
|
|
8234
8257
|
*/
|
|
8235
|
-
|
|
8258
|
+
disablePortal?: boolean;
|
|
8259
|
+
/**
|
|
8260
|
+
* Localizable labels and text
|
|
8261
|
+
*/
|
|
8262
|
+
locale?: DsDateRangePickerLocale;
|
|
8263
|
+
/**
|
|
8264
|
+
* Props forwarded to sub-component slots
|
|
8265
|
+
*/
|
|
8266
|
+
slotProps?: DsDateRangePickerSlotProps;
|
|
8236
8267
|
}
|
|
8237
8268
|
//#endregion
|
|
8238
|
-
//#region src/components/ds-
|
|
8239
|
-
|
|
8240
|
-
|
|
8241
|
-
|
|
8242
|
-
|
|
8243
|
-
|
|
8269
|
+
//#region src/components/ds-date-range-picker/ds-date-range-picker.d.ts
|
|
8270
|
+
declare const DsDateRangePicker: ({
|
|
8271
|
+
value: valueProp,
|
|
8272
|
+
defaultValue,
|
|
8273
|
+
onChange,
|
|
8274
|
+
min,
|
|
8275
|
+
max,
|
|
8276
|
+
withTime,
|
|
8277
|
+
orientation,
|
|
8278
|
+
hideClearAll,
|
|
8279
|
+
closeOnSelect,
|
|
8280
|
+
disabled,
|
|
8281
|
+
readOnly,
|
|
8282
|
+
className,
|
|
8283
|
+
disablePortal,
|
|
8284
|
+
locale,
|
|
8285
|
+
slotProps
|
|
8286
|
+
}: DsDateRangePickerProps) => _$react_jsx_runtime0.JSX.Element;
|
|
8244
8287
|
//#endregion
|
|
8245
|
-
//#region src/components/ds-
|
|
8246
|
-
interface
|
|
8247
|
-
/** Upload adapter implementation */
|
|
8248
|
-
adapter: FileUploadAdapter;
|
|
8288
|
+
//#region src/components/ds-dialog/ds-dialog.types.d.ts
|
|
8289
|
+
interface DsDialogProps {
|
|
8249
8290
|
/**
|
|
8250
|
-
*
|
|
8251
|
-
* @default true
|
|
8291
|
+
* Controls whether the dialog is open.
|
|
8252
8292
|
*/
|
|
8253
|
-
|
|
8254
|
-
/**
|
|
8255
|
-
|
|
8256
|
-
|
|
8257
|
-
|
|
8258
|
-
/**
|
|
8259
|
-
|
|
8260
|
-
|
|
8261
|
-
|
|
8262
|
-
/**
|
|
8263
|
-
|
|
8264
|
-
|
|
8265
|
-
|
|
8266
|
-
/**
|
|
8267
|
-
|
|
8268
|
-
|
|
8269
|
-
|
|
8270
|
-
/**
|
|
8271
|
-
|
|
8272
|
-
|
|
8273
|
-
|
|
8293
|
+
open: boolean;
|
|
8294
|
+
/**
|
|
8295
|
+
* Callback fired when the open state should change.
|
|
8296
|
+
*/
|
|
8297
|
+
onOpenChange?: (open: boolean) => void;
|
|
8298
|
+
/**
|
|
8299
|
+
* The accessible title for the dialog. Required for accessibility.
|
|
8300
|
+
*/
|
|
8301
|
+
title: string;
|
|
8302
|
+
/**
|
|
8303
|
+
* If true, the dialog title will be visually hidden but accessible to screen readers.
|
|
8304
|
+
*/
|
|
8305
|
+
hideTitle?: boolean;
|
|
8306
|
+
/**
|
|
8307
|
+
* The accessible description for the dialog. Optional, but recommended for accessibility.
|
|
8308
|
+
*/
|
|
8309
|
+
description?: string;
|
|
8310
|
+
/**
|
|
8311
|
+
* If true, the dialog description will be visually hidden but accessible to screen readers.
|
|
8312
|
+
*/
|
|
8313
|
+
hideDescription?: boolean;
|
|
8314
|
+
/**
|
|
8315
|
+
* The content to render inside the dialog.
|
|
8316
|
+
*/
|
|
8317
|
+
children: React.ReactNode;
|
|
8318
|
+
/**
|
|
8319
|
+
* Additional CSS class names for the dialog container.
|
|
8320
|
+
*/
|
|
8321
|
+
className?: string;
|
|
8322
|
+
/**
|
|
8323
|
+
* Ref to the element the dialog should be anchored to (for relative placement)
|
|
8324
|
+
*/
|
|
8325
|
+
anchorRef?: React.RefObject<HTMLElement>;
|
|
8326
|
+
/**
|
|
8327
|
+
* Custom fixed position (e.g., { top: number, left: number })
|
|
8328
|
+
*/
|
|
8329
|
+
customPosition?: {
|
|
8330
|
+
top: number;
|
|
8331
|
+
left: number;
|
|
8332
|
+
};
|
|
8333
|
+
/**
|
|
8334
|
+
* If true, show modal overlay and center dialog (default: true)
|
|
8335
|
+
*/
|
|
8336
|
+
modal?: boolean;
|
|
8274
8337
|
}
|
|
8275
8338
|
//#endregion
|
|
8276
|
-
//#region src/components/ds-
|
|
8277
|
-
|
|
8278
|
-
* Design system File Upload component (with state management)
|
|
8279
|
-
*/
|
|
8280
|
-
declare const DsFileUpload: React.FC<DsFileUploadProps>;
|
|
8339
|
+
//#region src/components/ds-dialog/ds-dialog.d.ts
|
|
8340
|
+
declare const DsDialog: React.FC<DsDialogProps>;
|
|
8281
8341
|
//#endregion
|
|
8282
|
-
//#region src/components/ds-
|
|
8283
|
-
interface
|
|
8284
|
-
adapter: FileUploadAdapter;
|
|
8285
|
-
autoUpload?: boolean;
|
|
8286
|
-
maxConcurrent?: number;
|
|
8287
|
-
maxFiles?: number;
|
|
8288
|
-
metadata?: FileMetadata;
|
|
8289
|
-
onFileUploadComplete?: (fileId: string, result: FileUploadResult) => void;
|
|
8290
|
-
onFileUploadError?: (fileId: string, error: string) => void;
|
|
8291
|
-
onAllFileUploadsComplete?: () => void;
|
|
8292
|
-
}
|
|
8293
|
-
interface UseFileUploadUserCallbacks {
|
|
8294
|
-
onFilesAdded?: (files: File[]) => void;
|
|
8295
|
-
onFileRemoved?: (fileId: string) => void;
|
|
8296
|
-
onFileDeleted?: (fileId: string) => void;
|
|
8297
|
-
onFileUploadCanceled?: (fileId: string) => void;
|
|
8298
|
-
onFileUploadRetried?: (fileId: string) => void;
|
|
8299
|
-
}
|
|
8300
|
-
interface UseFileUploadReturn {
|
|
8301
|
-
files: UploadedFile[];
|
|
8302
|
-
acceptedFiles: UploadedFile[];
|
|
8303
|
-
addFiles: (newFiles: File[]) => UploadedFile[];
|
|
8304
|
-
addRejectedFiles: (filesWithErrors: {
|
|
8305
|
-
file: File;
|
|
8306
|
-
errors: FileError[];
|
|
8307
|
-
}[]) => void;
|
|
8308
|
-
removeFile: (fileId: string) => void;
|
|
8309
|
-
deleteFile: (fileId: string) => Promise<void>;
|
|
8310
|
-
uploadFile: (fileId: string) => Promise<void>;
|
|
8311
|
-
uploadAll: () => Promise<void>;
|
|
8312
|
-
cancelUpload: (fileId: string) => Promise<void>;
|
|
8313
|
-
retryUpload: (fileId: string) => Promise<void>;
|
|
8314
|
-
clearFiles: () => void;
|
|
8342
|
+
//#region src/components/ds-divider/ds-divider.types.d.ts
|
|
8343
|
+
interface DsDividerProps {
|
|
8315
8344
|
/**
|
|
8316
|
-
*
|
|
8317
|
-
* @param userCallbacks Optional user callbacks to compose with internal logic
|
|
8318
|
-
* @returns Props ready to spread onto FileUpload component
|
|
8345
|
+
* Controls orientation of the divider. Horizontal by default.
|
|
8319
8346
|
*/
|
|
8320
|
-
|
|
8347
|
+
orientation?: 'horizontal' | 'vertical';
|
|
8348
|
+
/**
|
|
8349
|
+
* Underlying element/component to render.
|
|
8350
|
+
* Examples: "hr", "div", "span", Link, etc.
|
|
8351
|
+
*/
|
|
8352
|
+
component?: React.ElementType;
|
|
8353
|
+
/**
|
|
8354
|
+
* Additional CSS styles.
|
|
8355
|
+
*/
|
|
8356
|
+
style?: React.CSSProperties;
|
|
8357
|
+
/**
|
|
8358
|
+
* Additional CSS classes.
|
|
8359
|
+
*/
|
|
8360
|
+
className?: string;
|
|
8321
8361
|
}
|
|
8362
|
+
//#endregion
|
|
8363
|
+
//#region src/components/ds-divider/ds-divider.d.ts
|
|
8364
|
+
declare const DsDivider: React.FC<DsDividerProps>;
|
|
8365
|
+
//#endregion
|
|
8366
|
+
//#region src/components/ds-drawer/ds-drawer.types.d.ts
|
|
8322
8367
|
/**
|
|
8323
|
-
*
|
|
8368
|
+
* Available positions for the drawer
|
|
8324
8369
|
*/
|
|
8325
|
-
|
|
8326
|
-
adapter,
|
|
8327
|
-
autoUpload,
|
|
8328
|
-
maxConcurrent,
|
|
8329
|
-
maxFiles,
|
|
8330
|
-
metadata,
|
|
8331
|
-
onFileUploadComplete,
|
|
8332
|
-
onFileUploadError,
|
|
8333
|
-
onAllFileUploadsComplete
|
|
8334
|
-
}: UseFileUploadConfig): UseFileUploadReturn;
|
|
8335
|
-
//#endregion
|
|
8336
|
-
//#region src/components/ds-file-upload/errors/file-upload-errors.d.ts
|
|
8370
|
+
type DsDrawerPosition = 'start' | 'end';
|
|
8337
8371
|
/**
|
|
8338
|
-
*
|
|
8372
|
+
* Available column sizes for drawer width
|
|
8339
8373
|
*/
|
|
8340
|
-
|
|
8341
|
-
|
|
8342
|
-
|
|
8374
|
+
type DsDrawerColumns = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
8375
|
+
interface DsDrawerProps extends Pick<UseDialogProps, 'closeOnEscape' | 'closeOnInteractOutside'> {
|
|
8376
|
+
/**
|
|
8377
|
+
* Whether the drawer is open
|
|
8378
|
+
*/
|
|
8379
|
+
open: boolean;
|
|
8380
|
+
/**
|
|
8381
|
+
* Callback when the drawer open state changes
|
|
8382
|
+
*/
|
|
8383
|
+
onOpenChange: (open: boolean) => void;
|
|
8384
|
+
/**
|
|
8385
|
+
* Number of grid columns the drawer should span (1-12).
|
|
8386
|
+
* Accepts a responsive value, e.g. `{ lg: 4, md: 6 }`.
|
|
8387
|
+
* @default 4
|
|
8388
|
+
*/
|
|
8389
|
+
columns?: ResponsiveValue<DsDrawerColumns>;
|
|
8390
|
+
/**
|
|
8391
|
+
* Position of the drawer
|
|
8392
|
+
* @default 'end'
|
|
8393
|
+
*/
|
|
8394
|
+
position?: DsDrawerPosition;
|
|
8395
|
+
/**
|
|
8396
|
+
* Whether to show backdrop overlay
|
|
8397
|
+
* @default false
|
|
8398
|
+
*/
|
|
8399
|
+
backdrop?: boolean;
|
|
8400
|
+
/**
|
|
8401
|
+
* Whether to append the drawer to the body instead of rendering in place
|
|
8402
|
+
* @default false
|
|
8403
|
+
*/
|
|
8404
|
+
portal?: boolean;
|
|
8405
|
+
/**
|
|
8406
|
+
* Additional CSS styles
|
|
8407
|
+
*/
|
|
8408
|
+
style?: CSSProperties;
|
|
8409
|
+
/**
|
|
8410
|
+
* Additional CSS class names
|
|
8411
|
+
*/
|
|
8412
|
+
className?: string;
|
|
8413
|
+
/**
|
|
8414
|
+
* Children components
|
|
8415
|
+
*/
|
|
8416
|
+
children: ReactNode;
|
|
8343
8417
|
}
|
|
8418
|
+
//#endregion
|
|
8419
|
+
//#region src/components/ds-drawer/ds-drawer.d.ts
|
|
8420
|
+
declare const DsDrawer: {
|
|
8421
|
+
({
|
|
8422
|
+
open,
|
|
8423
|
+
onOpenChange,
|
|
8424
|
+
columns,
|
|
8425
|
+
position,
|
|
8426
|
+
backdrop,
|
|
8427
|
+
closeOnEscape,
|
|
8428
|
+
closeOnInteractOutside,
|
|
8429
|
+
portal,
|
|
8430
|
+
style,
|
|
8431
|
+
className,
|
|
8432
|
+
children
|
|
8433
|
+
}: DsDrawerProps): _$react_jsx_runtime0.JSX.Element;
|
|
8434
|
+
Header: ({
|
|
8435
|
+
style,
|
|
8436
|
+
className,
|
|
8437
|
+
children
|
|
8438
|
+
}: {
|
|
8439
|
+
style?: CSSProperties;
|
|
8440
|
+
className?: string;
|
|
8441
|
+
children: ReactNode;
|
|
8442
|
+
}) => _$react_jsx_runtime0.JSX.Element;
|
|
8443
|
+
Title: ({
|
|
8444
|
+
style,
|
|
8445
|
+
className,
|
|
8446
|
+
children
|
|
8447
|
+
}: {
|
|
8448
|
+
style?: CSSProperties;
|
|
8449
|
+
className?: string;
|
|
8450
|
+
children: ReactNode;
|
|
8451
|
+
}) => _$react_jsx_runtime0.JSX.Element;
|
|
8452
|
+
CloseTrigger: ({
|
|
8453
|
+
style,
|
|
8454
|
+
className
|
|
8455
|
+
}: {
|
|
8456
|
+
style?: CSSProperties;
|
|
8457
|
+
className?: string;
|
|
8458
|
+
}) => _$react_jsx_runtime0.JSX.Element;
|
|
8459
|
+
Toolbar: ({
|
|
8460
|
+
style,
|
|
8461
|
+
className,
|
|
8462
|
+
children
|
|
8463
|
+
}: {
|
|
8464
|
+
style?: CSSProperties;
|
|
8465
|
+
className?: string;
|
|
8466
|
+
children: ReactNode;
|
|
8467
|
+
}) => _$react_jsx_runtime0.JSX.Element;
|
|
8468
|
+
Body: ({
|
|
8469
|
+
style,
|
|
8470
|
+
className,
|
|
8471
|
+
children
|
|
8472
|
+
}: {
|
|
8473
|
+
style?: CSSProperties;
|
|
8474
|
+
className?: string;
|
|
8475
|
+
children: ReactNode;
|
|
8476
|
+
}) => _$react_jsx_runtime0.JSX.Element;
|
|
8477
|
+
Footer: ({
|
|
8478
|
+
style,
|
|
8479
|
+
className,
|
|
8480
|
+
children
|
|
8481
|
+
}: {
|
|
8482
|
+
style?: CSSProperties;
|
|
8483
|
+
className?: string;
|
|
8484
|
+
children: ReactNode;
|
|
8485
|
+
}) => _$react_jsx_runtime0.JSX.Element;
|
|
8486
|
+
Actions: ({
|
|
8487
|
+
style,
|
|
8488
|
+
className,
|
|
8489
|
+
children
|
|
8490
|
+
}: {
|
|
8491
|
+
style?: CSSProperties;
|
|
8492
|
+
className?: string;
|
|
8493
|
+
children: ReactNode;
|
|
8494
|
+
}) => _$react_jsx_runtime0.JSX.Element;
|
|
8495
|
+
};
|
|
8496
|
+
//#endregion
|
|
8497
|
+
//#region src/components/ds-dropdown-menu/ds-dropdown-menu.types.d.ts
|
|
8344
8498
|
/**
|
|
8345
|
-
*
|
|
8346
|
-
* Examples: network errors, timeouts, temporary server errors (503), user cancellation
|
|
8499
|
+
* Base positioning type
|
|
8347
8500
|
*/
|
|
8348
|
-
|
|
8349
|
-
readonly isRetryable = true;
|
|
8350
|
-
}
|
|
8501
|
+
type BasePositioning = NonNullable<Menu.RootProps['positioning']>;
|
|
8351
8502
|
/**
|
|
8352
|
-
*
|
|
8353
|
-
* Examples: file type not allowed, file too large, invalid credentials, malformed response
|
|
8503
|
+
* Positioning options for dropdown menu
|
|
8354
8504
|
*/
|
|
8355
|
-
|
|
8356
|
-
|
|
8357
|
-
|
|
8358
|
-
|
|
8359
|
-
|
|
8360
|
-
|
|
8361
|
-
|
|
8362
|
-
interface DsFilterStatusIconProps {
|
|
8505
|
+
type DsDropdownMenuPositioning = Pick<BasePositioning, 'placement' | 'gutter' | 'sameWidth' | 'getAnchorRect'>;
|
|
8506
|
+
/**
|
|
8507
|
+
* DEPRECATED: Legacy dropdown menu option configuration
|
|
8508
|
+
* Use compound component pattern instead
|
|
8509
|
+
* @deprecated
|
|
8510
|
+
*/
|
|
8511
|
+
interface DsDropdownMenuOptionLegacy {
|
|
8363
8512
|
/**
|
|
8364
|
-
*
|
|
8513
|
+
* Display label for the menu option
|
|
8365
8514
|
*/
|
|
8366
|
-
|
|
8515
|
+
label: string;
|
|
8367
8516
|
/**
|
|
8368
|
-
*
|
|
8369
|
-
* @default true
|
|
8517
|
+
* Optional icon to display
|
|
8370
8518
|
*/
|
|
8371
|
-
|
|
8519
|
+
icon?: IconType;
|
|
8372
8520
|
/**
|
|
8373
|
-
*
|
|
8374
|
-
* @default 'small'
|
|
8521
|
+
* Whether this option is disabled
|
|
8375
8522
|
*/
|
|
8376
|
-
|
|
8523
|
+
disabled?: boolean;
|
|
8377
8524
|
/**
|
|
8378
|
-
*
|
|
8525
|
+
* Click handler for the option
|
|
8379
8526
|
*/
|
|
8380
|
-
|
|
8527
|
+
onClick?: (e: MouseEvent<HTMLElement>) => void;
|
|
8381
8528
|
/**
|
|
8382
|
-
*
|
|
8529
|
+
* Optional value for selection tracking
|
|
8383
8530
|
*/
|
|
8384
|
-
|
|
8531
|
+
value?: string;
|
|
8385
8532
|
}
|
|
8386
|
-
//#endregion
|
|
8387
|
-
//#region src/components/ds-filter-status-icon/ds-filter-status-icon.d.ts
|
|
8388
8533
|
/**
|
|
8389
|
-
*
|
|
8390
|
-
*
|
|
8534
|
+
* DEPRECATED: Legacy props for DsDropdownMenuLegacy component
|
|
8535
|
+
* Use compound component pattern instead
|
|
8536
|
+
* @deprecated
|
|
8391
8537
|
*/
|
|
8392
|
-
|
|
8393
|
-
status,
|
|
8394
|
-
active,
|
|
8395
|
-
size,
|
|
8396
|
-
className,
|
|
8397
|
-
style
|
|
8398
|
-
}: DsFilterStatusIconProps) => react_jsx_runtime0.JSX.Element;
|
|
8399
|
-
//#endregion
|
|
8400
|
-
//#region src/components/ds-number-input/ds-number-input.types.d.ts
|
|
8401
|
-
interface DsNumberInputProps {
|
|
8402
|
-
/**
|
|
8403
|
-
* Unique identifier for the input field
|
|
8404
|
-
*/
|
|
8405
|
-
id?: string;
|
|
8406
|
-
/**
|
|
8407
|
-
* The ref to the input field
|
|
8408
|
-
*/
|
|
8409
|
-
ref?: React.Ref<HTMLInputElement>;
|
|
8538
|
+
interface DsDropdownMenuLegacyProps {
|
|
8410
8539
|
/**
|
|
8411
|
-
* The
|
|
8540
|
+
* The options to be displayed in the dropdown menu
|
|
8412
8541
|
*/
|
|
8413
|
-
|
|
8542
|
+
options: DsDropdownMenuOptionLegacy[];
|
|
8414
8543
|
/**
|
|
8415
|
-
*
|
|
8416
|
-
*
|
|
8544
|
+
* Optional children to be rendered inside the component
|
|
8545
|
+
* Typically used for the trigger element
|
|
8417
8546
|
*/
|
|
8418
|
-
|
|
8547
|
+
children?: ReactNode | undefined;
|
|
8419
8548
|
/**
|
|
8420
|
-
*
|
|
8421
|
-
*
|
|
8422
|
-
* @param event
|
|
8549
|
+
* The gap between the trigger and dropdown content in pixels
|
|
8550
|
+
* @default 0
|
|
8423
8551
|
*/
|
|
8424
|
-
|
|
8552
|
+
contentGap?: number;
|
|
8425
8553
|
/**
|
|
8426
|
-
*
|
|
8427
|
-
* This is provided for compatibility but onValueChange is preferred
|
|
8554
|
+
* Additional CSS class names
|
|
8428
8555
|
*/
|
|
8429
|
-
|
|
8556
|
+
className?: string;
|
|
8430
8557
|
/**
|
|
8431
|
-
*
|
|
8432
|
-
* This is the preferred way to handle value changes
|
|
8558
|
+
* Optional inline styles to apply to the component
|
|
8433
8559
|
*/
|
|
8434
|
-
|
|
8560
|
+
style?: CSSProperties;
|
|
8435
8561
|
/**
|
|
8436
|
-
*
|
|
8562
|
+
* The alignment of the dropdown content
|
|
8563
|
+
* @default 'center'
|
|
8437
8564
|
*/
|
|
8438
|
-
|
|
8565
|
+
align?: 'start' | 'center' | 'end';
|
|
8439
8566
|
/**
|
|
8440
|
-
*
|
|
8567
|
+
* The side of the dropdown content
|
|
8568
|
+
* @default 'bottom'
|
|
8441
8569
|
*/
|
|
8442
|
-
|
|
8570
|
+
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
8443
8571
|
/**
|
|
8444
|
-
*
|
|
8572
|
+
* Whether to render in place instead of using portals
|
|
8573
|
+
* @default false
|
|
8445
8574
|
*/
|
|
8446
|
-
|
|
8575
|
+
disablePortal?: boolean;
|
|
8447
8576
|
/**
|
|
8448
|
-
* Whether
|
|
8577
|
+
* Whether to disable the search functionality
|
|
8578
|
+
* @default false
|
|
8449
8579
|
*/
|
|
8450
|
-
|
|
8580
|
+
disableSearch?: boolean;
|
|
8451
8581
|
/**
|
|
8452
|
-
*
|
|
8582
|
+
* Currently selected value (for selection tracking)
|
|
8453
8583
|
*/
|
|
8454
|
-
|
|
8584
|
+
selected?: string;
|
|
8455
8585
|
/**
|
|
8456
|
-
*
|
|
8457
|
-
* @default Number.MAX_SAFE_INTEGER
|
|
8586
|
+
* Callback when an option with a value is selected
|
|
8458
8587
|
*/
|
|
8459
|
-
|
|
8588
|
+
onSelect?: (value: string) => void;
|
|
8589
|
+
}
|
|
8590
|
+
/**
|
|
8591
|
+
* Props for the DsDropdownMenu Root component
|
|
8592
|
+
*/
|
|
8593
|
+
interface DsDropdownMenuRootProps {
|
|
8460
8594
|
/**
|
|
8461
|
-
*
|
|
8462
|
-
* @default 1
|
|
8595
|
+
* Whether the dropdown is open (controlled mode)
|
|
8463
8596
|
*/
|
|
8464
|
-
|
|
8597
|
+
open?: boolean;
|
|
8465
8598
|
/**
|
|
8466
|
-
*
|
|
8599
|
+
* Callback when open state changes
|
|
8467
8600
|
*/
|
|
8468
|
-
|
|
8601
|
+
onOpenChange?: (open: boolean) => void;
|
|
8469
8602
|
/**
|
|
8470
|
-
*
|
|
8471
|
-
* Use when you don't need to control the value of the input.
|
|
8603
|
+
* Callback when an item is selected
|
|
8472
8604
|
*/
|
|
8473
|
-
|
|
8474
|
-
}
|
|
8475
|
-
//#endregion
|
|
8476
|
-
//#region src/components/ds-number-input/ds-number-input.d.ts
|
|
8477
|
-
declare const DsNumberInput: FC<DsNumberInputProps>;
|
|
8478
|
-
//#endregion
|
|
8479
|
-
//#region src/components/ds-password-input/ds-password-input.types.d.ts
|
|
8480
|
-
interface DsPasswordInputProps {
|
|
8605
|
+
onSelect?: (value: string) => void;
|
|
8481
8606
|
/**
|
|
8482
|
-
*
|
|
8607
|
+
* Callback when the highlighted item changes
|
|
8483
8608
|
*/
|
|
8484
|
-
|
|
8609
|
+
onHighlightChange?: (value: string | null) => void;
|
|
8485
8610
|
/**
|
|
8486
|
-
*
|
|
8611
|
+
* Positioning options for the dropdown
|
|
8487
8612
|
*/
|
|
8488
|
-
|
|
8613
|
+
positioning?: DsDropdownMenuPositioning;
|
|
8489
8614
|
/**
|
|
8490
|
-
*
|
|
8615
|
+
* Prevents the menu from closing when any item is selected
|
|
8616
|
+
* @default false
|
|
8491
8617
|
*/
|
|
8492
|
-
|
|
8618
|
+
preventCloseOnSelect?: boolean;
|
|
8493
8619
|
/**
|
|
8494
|
-
*
|
|
8495
|
-
* @default default
|
|
8620
|
+
* Root content
|
|
8496
8621
|
*/
|
|
8497
|
-
|
|
8622
|
+
children?: ReactNode;
|
|
8623
|
+
}
|
|
8624
|
+
/**
|
|
8625
|
+
* Props for the DsDropdownMenu Trigger component
|
|
8626
|
+
*/
|
|
8627
|
+
type DsDropdownMenuTriggerProps = Menu.TriggerProps;
|
|
8628
|
+
/**
|
|
8629
|
+
* Props for the DsDropdownMenu Content component
|
|
8630
|
+
*/
|
|
8631
|
+
interface DsDropdownMenuContentProps extends Pick<Menu.ContentProps, 'className' | 'style' | 'children'> {
|
|
8498
8632
|
/**
|
|
8499
|
-
*
|
|
8500
|
-
*
|
|
8501
|
-
* @param event
|
|
8633
|
+
* Whether to render in place instead of using portals
|
|
8634
|
+
* @default false
|
|
8502
8635
|
*/
|
|
8503
|
-
|
|
8636
|
+
disablePortal?: boolean;
|
|
8637
|
+
}
|
|
8638
|
+
/**
|
|
8639
|
+
* Props for the DsDropdownMenu Item component
|
|
8640
|
+
*/
|
|
8641
|
+
interface DsDropdownMenuItemProps extends Pick<Menu.ItemProps, 'disabled' | 'asChild' | 'className' | 'style' | 'onSelect' | 'onClick' | 'value' | 'children'> {
|
|
8504
8642
|
/**
|
|
8505
|
-
*
|
|
8506
|
-
* This is provided for compatibility but onValueChange is preferred
|
|
8643
|
+
* Whether the item is selected (applies selected styling)
|
|
8507
8644
|
*/
|
|
8508
|
-
|
|
8645
|
+
selected?: boolean;
|
|
8646
|
+
}
|
|
8647
|
+
/**
|
|
8648
|
+
* Props for the DsDropdownMenu ItemIndicator component
|
|
8649
|
+
*/
|
|
8650
|
+
interface DsDropdownMenuItemIndicatorProps {
|
|
8509
8651
|
/**
|
|
8510
|
-
*
|
|
8511
|
-
* This is the preferred way to handle value changes
|
|
8652
|
+
* Custom content to render as the indicator (defaults to check icon)
|
|
8512
8653
|
*/
|
|
8513
|
-
|
|
8654
|
+
children?: ReactNode;
|
|
8514
8655
|
/**
|
|
8515
|
-
*
|
|
8656
|
+
* Optional CSS class name
|
|
8516
8657
|
*/
|
|
8517
8658
|
className?: string;
|
|
8518
8659
|
/**
|
|
8519
|
-
*
|
|
8520
|
-
*/
|
|
8521
|
-
style?: React.CSSProperties;
|
|
8522
|
-
/**
|
|
8523
|
-
* The placeholder text
|
|
8660
|
+
* Optional inline styles
|
|
8524
8661
|
*/
|
|
8525
|
-
|
|
8662
|
+
style?: CSSProperties;
|
|
8663
|
+
}
|
|
8664
|
+
/**
|
|
8665
|
+
* Props for the DsDropdownMenu Header component
|
|
8666
|
+
*/
|
|
8667
|
+
interface DsDropdownMenuHeaderProps {
|
|
8526
8668
|
/**
|
|
8527
|
-
* The
|
|
8669
|
+
* The header content (typically a search input or filter controls)
|
|
8528
8670
|
*/
|
|
8529
|
-
|
|
8671
|
+
children: ReactNode;
|
|
8530
8672
|
/**
|
|
8531
|
-
*
|
|
8532
|
-
* Use when you don't need to control the value of the input.
|
|
8673
|
+
* Optional CSS class name
|
|
8533
8674
|
*/
|
|
8534
|
-
|
|
8675
|
+
className?: string;
|
|
8535
8676
|
/**
|
|
8536
|
-
*
|
|
8677
|
+
* Optional inline styles
|
|
8537
8678
|
*/
|
|
8538
|
-
|
|
8679
|
+
style?: CSSProperties;
|
|
8539
8680
|
}
|
|
8540
|
-
|
|
8541
|
-
|
|
8542
|
-
|
|
8543
|
-
|
|
8544
|
-
//#region src/components/ds-textarea/ds-textarea.types.d.ts
|
|
8545
|
-
interface DsTextareaProps {
|
|
8681
|
+
/**
|
|
8682
|
+
* Props for the DsDropdownMenu Actions component
|
|
8683
|
+
*/
|
|
8684
|
+
interface DsDropdownMenuActionsProps {
|
|
8546
8685
|
/**
|
|
8547
|
-
*
|
|
8686
|
+
* The action buttons or elements
|
|
8548
8687
|
*/
|
|
8549
|
-
|
|
8688
|
+
children: ReactNode;
|
|
8550
8689
|
/**
|
|
8551
|
-
*
|
|
8690
|
+
* Optional CSS class name
|
|
8552
8691
|
*/
|
|
8553
|
-
|
|
8692
|
+
className?: string;
|
|
8554
8693
|
/**
|
|
8555
|
-
*
|
|
8694
|
+
* Optional inline styles
|
|
8556
8695
|
*/
|
|
8557
|
-
|
|
8696
|
+
style?: CSSProperties;
|
|
8697
|
+
}
|
|
8698
|
+
/**
|
|
8699
|
+
* Props for the DsDropdownMenu ItemGroup component
|
|
8700
|
+
*/
|
|
8701
|
+
interface DsDropdownMenuItemGroupProps extends Menu.ItemGroupProps {
|
|
8558
8702
|
/**
|
|
8559
|
-
*
|
|
8560
|
-
*
|
|
8561
|
-
* @param event
|
|
8703
|
+
* Whether the group is collapsed
|
|
8562
8704
|
*/
|
|
8563
|
-
|
|
8705
|
+
collapsed?: boolean;
|
|
8564
8706
|
/**
|
|
8565
|
-
* Callback when
|
|
8707
|
+
* Callback when collapse state changes
|
|
8566
8708
|
*/
|
|
8567
|
-
|
|
8709
|
+
onCollapsedChange?: (collapsed: boolean) => void;
|
|
8710
|
+
}
|
|
8711
|
+
/**
|
|
8712
|
+
* Props for the DsDropdownMenu ItemGroupLabel component
|
|
8713
|
+
*/
|
|
8714
|
+
type DsDropdownMenuItemGroupLabelProps = Menu.ItemGroupLabelProps;
|
|
8715
|
+
/**
|
|
8716
|
+
* Props for the DsDropdownMenu ItemGroupContent component
|
|
8717
|
+
*/
|
|
8718
|
+
interface DsDropdownMenuItemGroupContentProps {
|
|
8568
8719
|
/**
|
|
8569
|
-
*
|
|
8720
|
+
* The content to show/hide based on collapsed state
|
|
8570
8721
|
*/
|
|
8571
|
-
|
|
8722
|
+
children: ReactNode;
|
|
8572
8723
|
/**
|
|
8573
|
-
*
|
|
8724
|
+
* Optional CSS class name
|
|
8574
8725
|
*/
|
|
8575
8726
|
className?: string;
|
|
8576
8727
|
/**
|
|
8577
|
-
*
|
|
8728
|
+
* Optional inline styles
|
|
8578
8729
|
*/
|
|
8579
|
-
style?:
|
|
8730
|
+
style?: CSSProperties;
|
|
8731
|
+
}
|
|
8732
|
+
/**
|
|
8733
|
+
* Props for the DsDropdownMenu Separator component
|
|
8734
|
+
*/
|
|
8735
|
+
type DsDropdownMenuSeparatorProps = Menu.SeparatorProps;
|
|
8736
|
+
/**
|
|
8737
|
+
* Props for the DsDropdownMenu TriggerItem component (for nested submenus)
|
|
8738
|
+
*/
|
|
8739
|
+
type DsDropdownMenuTriggerItemProps = Menu.TriggerItemProps;
|
|
8740
|
+
//#endregion
|
|
8741
|
+
//#region src/components/ds-dropdown-menu/ds-dropdown-menu.d.ts
|
|
8742
|
+
/**
|
|
8743
|
+
* DEPRECATED: Legacy DsDropdownMenu component with options array
|
|
8744
|
+
* Use compound component pattern instead
|
|
8745
|
+
* @deprecated
|
|
8746
|
+
*/
|
|
8747
|
+
declare const DsDropdownMenuLegacy: React.FC<DsDropdownMenuLegacyProps>;
|
|
8748
|
+
/**
|
|
8749
|
+
* Design system DsDropdownMenu component
|
|
8750
|
+
*
|
|
8751
|
+
* @example
|
|
8752
|
+
* <DsDropdownMenu.Root>
|
|
8753
|
+
* <DsDropdownMenu.Trigger>
|
|
8754
|
+
* <button>Open</button>
|
|
8755
|
+
* </DsDropdownMenu.Trigger>
|
|
8756
|
+
* <DsDropdownMenu.Content>
|
|
8757
|
+
* <DsDropdownMenu.Header>
|
|
8758
|
+
* <DsTextInput placeholder="Search..." />
|
|
8759
|
+
* </DsDropdownMenu.Header>
|
|
8760
|
+
* <DsDropdownMenu.Item value="item1">
|
|
8761
|
+
* Item 1
|
|
8762
|
+
* <DsDropdownMenu.ItemIndicator />
|
|
8763
|
+
* </DsDropdownMenu.Item>
|
|
8764
|
+
* <DsDropdownMenu.ItemGroup>
|
|
8765
|
+
* <DsDropdownMenu.ItemGroupLabel>Group Name</DsDropdownMenu.ItemGroupLabel>
|
|
8766
|
+
* <DsDropdownMenu.ItemGroupContent>
|
|
8767
|
+
* <DsDropdownMenu.Item value="item2">Item 2</DsDropdownMenu.Item>
|
|
8768
|
+
* </DsDropdownMenu.ItemGroupContent>
|
|
8769
|
+
* </DsDropdownMenu.ItemGroup>
|
|
8770
|
+
* <DsDropdownMenu.Separator />
|
|
8771
|
+
* <DsDropdownMenu.Actions>
|
|
8772
|
+
* <DsButton>Cancel</DsButton>
|
|
8773
|
+
* <DsButton>Apply</DsButton>
|
|
8774
|
+
* </DsDropdownMenu.Actions>
|
|
8775
|
+
* </DsDropdownMenu.Content>
|
|
8776
|
+
* </DsDropdownMenu.Root>
|
|
8777
|
+
*/
|
|
8778
|
+
declare const DsDropdownMenu: {
|
|
8779
|
+
Root: React.FC<DsDropdownMenuRootProps>;
|
|
8780
|
+
Trigger: React.FC<Menu.TriggerProps>;
|
|
8781
|
+
Content: React.FC<DsDropdownMenuContentProps>;
|
|
8782
|
+
Item: React.FC<DsDropdownMenuItemProps>;
|
|
8783
|
+
ItemIndicator: React.FC<DsDropdownMenuItemIndicatorProps>;
|
|
8784
|
+
TriggerItem: React.FC<Menu.TriggerItemProps>;
|
|
8785
|
+
Header: React.FC<DsDropdownMenuHeaderProps>;
|
|
8786
|
+
Actions: React.FC<DsDropdownMenuActionsProps>;
|
|
8787
|
+
ItemGroup: React.FC<DsDropdownMenuItemGroupProps>;
|
|
8788
|
+
ItemGroupLabel: React.FC<Menu.ItemGroupLabelProps>;
|
|
8789
|
+
ItemGroupContent: React.FC<DsDropdownMenuItemGroupContentProps>;
|
|
8790
|
+
Separator: React.FC<Menu.SeparatorProps>;
|
|
8791
|
+
};
|
|
8792
|
+
//#endregion
|
|
8793
|
+
//#region src/components/ds-expandable-text-input/ds-expandable-text-input.types.d.ts
|
|
8794
|
+
interface DsExpandableTextInputProps extends Omit<DsTextInputProps, 'tabIndex' | 'slots'> {
|
|
8580
8795
|
/**
|
|
8581
|
-
* The
|
|
8796
|
+
* The icon to display inside the expandable input trigger button
|
|
8582
8797
|
*/
|
|
8583
|
-
|
|
8798
|
+
icon: IconType;
|
|
8584
8799
|
/**
|
|
8585
|
-
*
|
|
8800
|
+
* Callback fired when the clear action is triggered
|
|
8586
8801
|
*/
|
|
8587
|
-
|
|
8802
|
+
onClear?: () => void;
|
|
8588
8803
|
/**
|
|
8589
|
-
*
|
|
8590
|
-
* Use when you don't need to control the value of the input.
|
|
8804
|
+
* Callback fired when the expanded state changes
|
|
8591
8805
|
*/
|
|
8592
|
-
|
|
8806
|
+
onExpandChange?: (expanded: boolean) => void;
|
|
8807
|
+
}
|
|
8808
|
+
//#endregion
|
|
8809
|
+
//#region src/components/ds-expandable-text-input/ds-expandable-text-input.d.ts
|
|
8810
|
+
declare function DsExpandableTextInput({
|
|
8811
|
+
onClear,
|
|
8812
|
+
onExpandChange,
|
|
8813
|
+
icon,
|
|
8814
|
+
size,
|
|
8815
|
+
...props
|
|
8816
|
+
}: DsExpandableTextInputProps): _$react_jsx_runtime0.JSX.Element;
|
|
8817
|
+
//#endregion
|
|
8818
|
+
//#region src/components/ds-file-upload/ds-file-upload-api.types.d.ts
|
|
8819
|
+
type FileError = FileUploadFileError;
|
|
8820
|
+
type UploadFileStatus = 'pending' | 'uploading' | 'interrupted' | 'completed' | 'error' | 'cancelled';
|
|
8821
|
+
type FileMetadata = Record<string, unknown>;
|
|
8822
|
+
interface UploadedFile extends File {
|
|
8823
|
+
id: string;
|
|
8824
|
+
progress: number;
|
|
8825
|
+
status: UploadFileStatus;
|
|
8826
|
+
errors?: FileError[];
|
|
8827
|
+
originalFile: File;
|
|
8828
|
+
}
|
|
8829
|
+
interface FileUploadOptions {
|
|
8830
|
+
file: File;
|
|
8831
|
+
fileId: string;
|
|
8832
|
+
metadata?: FileMetadata;
|
|
8833
|
+
onProgress?: (progress: number) => void;
|
|
8834
|
+
signal?: AbortSignal;
|
|
8835
|
+
}
|
|
8836
|
+
interface FileUploadResult {
|
|
8837
|
+
url: string;
|
|
8838
|
+
metadata?: FileMetadata;
|
|
8839
|
+
}
|
|
8840
|
+
/**
|
|
8841
|
+
* File upload adapter interface
|
|
8842
|
+
* The upload method should:
|
|
8843
|
+
* - resolve with FileUploadResult on success
|
|
8844
|
+
* - reject with RetryableFileUploadError for transient failures
|
|
8845
|
+
* - reject with FatalFileUploadError for permanent failures
|
|
8846
|
+
*/
|
|
8847
|
+
interface FileUploadAdapter {
|
|
8848
|
+
upload: (options: FileUploadOptions) => FileUploadResult | Promise<FileUploadResult>;
|
|
8849
|
+
cancel?: (fileId: string) => void | Promise<void>;
|
|
8850
|
+
delete?: (fileId: string) => void | Promise<void>;
|
|
8851
|
+
}
|
|
8852
|
+
//#endregion
|
|
8853
|
+
//#region src/components/ds-file-upload/types/accept-types.d.ts
|
|
8854
|
+
/**
|
|
8855
|
+
* File extension with leading dot
|
|
8856
|
+
* @example '.pdf', '.jpg', '.csv'
|
|
8857
|
+
*/
|
|
8858
|
+
type FileExtension = `.${string}`;
|
|
8859
|
+
/**
|
|
8860
|
+
* Accepted file type configuration
|
|
8861
|
+
* - Use string shorthand for common MIME types (uses built-in extensions map)
|
|
8862
|
+
* - Use object form to override or provide custom extensions
|
|
8863
|
+
*/
|
|
8864
|
+
type AcceptedFileType = FileUploadFileMimeType | {
|
|
8865
|
+
mimeType: FileUploadFileMimeType;
|
|
8866
|
+
extensions: [FileExtension, ...FileExtension[]];
|
|
8867
|
+
};
|
|
8868
|
+
//#endregion
|
|
8869
|
+
//#region src/components/ds-file-upload/components/file-upload/file-upload.types.d.ts
|
|
8870
|
+
interface FileUploadProps {
|
|
8593
8871
|
/**
|
|
8594
|
-
*
|
|
8872
|
+
* Error text displayed when validation fails
|
|
8595
8873
|
*/
|
|
8596
|
-
|
|
8874
|
+
errorText?: string;
|
|
8597
8875
|
/**
|
|
8598
|
-
*
|
|
8876
|
+
* Text displayed in the dropzone area
|
|
8599
8877
|
*/
|
|
8600
|
-
|
|
8878
|
+
dropzoneText?: string;
|
|
8601
8879
|
/**
|
|
8602
|
-
*
|
|
8880
|
+
* Text for the upload trigger button
|
|
8603
8881
|
*/
|
|
8604
|
-
|
|
8882
|
+
triggerText?: string;
|
|
8605
8883
|
/**
|
|
8606
|
-
*
|
|
8884
|
+
* Whether to hide upload progress
|
|
8885
|
+
* @default false
|
|
8607
8886
|
*/
|
|
8608
|
-
|
|
8609
|
-
}
|
|
8610
|
-
//#endregion
|
|
8611
|
-
//#region src/components/ds-textarea/ds-textarea.d.ts
|
|
8612
|
-
declare const DsTextarea: React.FC<DsTextareaProps>;
|
|
8613
|
-
//#endregion
|
|
8614
|
-
//#region src/components/ds-select/ds-select.types.d.ts
|
|
8615
|
-
type SelectSize = 'default' | 'small';
|
|
8616
|
-
interface DsSelectOption {
|
|
8887
|
+
hideProgress?: boolean;
|
|
8617
8888
|
/**
|
|
8618
|
-
*
|
|
8889
|
+
* Whether to hide the info text (file types, size limits, etc.)
|
|
8890
|
+
* @default false
|
|
8619
8891
|
*/
|
|
8620
|
-
|
|
8892
|
+
hideInfoText?: boolean;
|
|
8621
8893
|
/**
|
|
8622
|
-
*
|
|
8894
|
+
* Whether to disable drag and drop functionality
|
|
8895
|
+
* @default false
|
|
8623
8896
|
*/
|
|
8624
|
-
|
|
8897
|
+
disableDrop?: boolean;
|
|
8625
8898
|
/**
|
|
8626
|
-
*
|
|
8899
|
+
* The maximum number of files that can be uploaded
|
|
8627
8900
|
*/
|
|
8628
|
-
|
|
8629
|
-
}
|
|
8630
|
-
type SelectOptionValue = string;
|
|
8631
|
-
type DsSelectProps = {
|
|
8901
|
+
maxFiles?: number;
|
|
8632
8902
|
/**
|
|
8633
|
-
*
|
|
8903
|
+
* Maximum file size in bytes
|
|
8904
|
+
* @default 25MB
|
|
8634
8905
|
*/
|
|
8635
|
-
|
|
8906
|
+
maxFileSize?: number;
|
|
8636
8907
|
/**
|
|
8637
|
-
*
|
|
8908
|
+
* Callback when files are accepted
|
|
8638
8909
|
*/
|
|
8639
|
-
|
|
8910
|
+
onFileAccept?: (details: FileUploadFileAcceptDetails) => void;
|
|
8640
8911
|
/**
|
|
8641
|
-
*
|
|
8912
|
+
* Callback when files are rejected
|
|
8642
8913
|
*/
|
|
8643
|
-
|
|
8914
|
+
onFileReject?: (details: FileUploadFileRejectDetails) => void;
|
|
8644
8915
|
/**
|
|
8645
8916
|
* Additional CSS class names
|
|
8646
8917
|
*/
|
|
8647
8918
|
className?: string;
|
|
8648
8919
|
/**
|
|
8649
|
-
*
|
|
8650
|
-
*
|
|
8651
|
-
* @param event
|
|
8652
|
-
*/
|
|
8653
|
-
onBlur?: (event: React.FocusEvent) => void;
|
|
8654
|
-
/**
|
|
8655
|
-
* Placeholder text to display when no option is selected
|
|
8920
|
+
* Additional styles
|
|
8656
8921
|
*/
|
|
8657
|
-
|
|
8922
|
+
style?: CSSProperties;
|
|
8658
8923
|
/**
|
|
8659
|
-
*
|
|
8924
|
+
* The file types that are accepted
|
|
8925
|
+
* Use shorthand for common MIME types (extensions provided automatically)
|
|
8926
|
+
* or explicit form for custom types
|
|
8927
|
+
* @example ['application/pdf', 'image/png']
|
|
8928
|
+
* @example ['application/pdf', { mimeType: 'application/x-custom', extensions: ['.custom'] }]
|
|
8660
8929
|
*/
|
|
8661
|
-
|
|
8930
|
+
accept?: AcceptedFileType[];
|
|
8662
8931
|
/**
|
|
8663
|
-
*
|
|
8664
|
-
* @default 'default'
|
|
8932
|
+
* File states to display (managed externally)
|
|
8665
8933
|
*/
|
|
8666
|
-
|
|
8934
|
+
files?: UploadedFile[];
|
|
8667
8935
|
/**
|
|
8668
|
-
*
|
|
8669
|
-
* When provided, replaces the default label text inside each dropdown item.
|
|
8670
|
-
* The string `label` is still used for search, trigger text, chips, and accessibility.
|
|
8936
|
+
* Callback when files are removed
|
|
8671
8937
|
*/
|
|
8672
|
-
|
|
8673
|
-
} & ({
|
|
8674
|
-
clearable?: undefined | false;
|
|
8675
|
-
onClear?: never;
|
|
8676
|
-
} | {
|
|
8677
|
-
clearable: true;
|
|
8678
|
-
onClear?: () => void;
|
|
8679
|
-
}) & ({
|
|
8680
|
-
multiple?: undefined | false;
|
|
8681
|
-
value: SelectOptionValue;
|
|
8682
|
-
onValueChange?: (value: SelectOptionValue) => void;
|
|
8938
|
+
onFileRemove?: (fileId: string) => void;
|
|
8683
8939
|
/**
|
|
8684
|
-
*
|
|
8685
|
-
* When provided, replaces the default label text inside the trigger button.
|
|
8686
|
-
* Only called when there is a selection; otherwise the placeholder is shown.
|
|
8940
|
+
* Callback when files are deleted
|
|
8687
8941
|
*/
|
|
8688
|
-
|
|
8689
|
-
} | {
|
|
8690
|
-
multiple: true;
|
|
8691
|
-
value: SelectOptionValue[];
|
|
8692
|
-
onValueChange?: (value: SelectOptionValue[]) => void;
|
|
8942
|
+
onFileDelete?: (fileId: string) => void;
|
|
8693
8943
|
/**
|
|
8694
|
-
*
|
|
8695
|
-
* When provided, replaces the default label text inside the trigger button.
|
|
8696
|
-
* Only called when there is a selection; otherwise the placeholder is shown.
|
|
8944
|
+
* Callback when files upload is canceled
|
|
8697
8945
|
*/
|
|
8698
|
-
|
|
8699
|
-
});
|
|
8700
|
-
//#endregion
|
|
8701
|
-
//#region src/components/ds-select/ds-select.d.ts
|
|
8702
|
-
declare const DsSelect: ({
|
|
8703
|
-
id,
|
|
8704
|
-
options: userOptions,
|
|
8705
|
-
value,
|
|
8706
|
-
style,
|
|
8707
|
-
size,
|
|
8708
|
-
clearable,
|
|
8709
|
-
onClear,
|
|
8710
|
-
onBlur,
|
|
8711
|
-
className,
|
|
8712
|
-
placeholder,
|
|
8713
|
-
disabled,
|
|
8714
|
-
renderOption,
|
|
8715
|
-
...multiselectProps
|
|
8716
|
-
}: DsSelectProps) => react_jsx_runtime0.JSX.Element;
|
|
8717
|
-
//#endregion
|
|
8718
|
-
//#region src/components/ds-form-control/ds-form-control.types.d.ts
|
|
8719
|
-
declare const controlStatuses: readonly ["info", "success", "error", "warning"];
|
|
8720
|
-
type ControlStatus = (typeof controlStatuses)[number];
|
|
8721
|
-
interface DsFormControlProps extends React.PropsWithChildren {
|
|
8946
|
+
onFileCancel?: (fileId: string) => void;
|
|
8722
8947
|
/**
|
|
8723
|
-
*
|
|
8948
|
+
* Callback when files upload is retried
|
|
8724
8949
|
*/
|
|
8725
|
-
|
|
8950
|
+
onFileRetry?: (fileId: string) => void;
|
|
8726
8951
|
/**
|
|
8727
|
-
*
|
|
8952
|
+
* Controlled accepted files
|
|
8728
8953
|
*/
|
|
8729
|
-
|
|
8954
|
+
acceptedFiles?: File[];
|
|
8730
8955
|
/**
|
|
8731
|
-
*
|
|
8956
|
+
* Whether the file upload is disabled
|
|
8732
8957
|
*/
|
|
8733
|
-
|
|
8958
|
+
disabled?: boolean;
|
|
8734
8959
|
/**
|
|
8735
|
-
*
|
|
8960
|
+
* Whether the file upload layout is compact (inline)
|
|
8736
8961
|
*/
|
|
8737
|
-
|
|
8738
|
-
|
|
8739
|
-
|
|
8740
|
-
|
|
8741
|
-
|
|
8742
|
-
|
|
8743
|
-
|
|
8962
|
+
compact?: boolean;
|
|
8963
|
+
}
|
|
8964
|
+
//#endregion
|
|
8965
|
+
//#region src/components/ds-file-upload/components/file-upload/file-upload.d.ts
|
|
8966
|
+
/**
|
|
8967
|
+
* Design system base File Upload component
|
|
8968
|
+
* Used in conjunction with the useFileUpload hook
|
|
8969
|
+
*/
|
|
8970
|
+
declare const FileUpload: React.FC<FileUploadProps>;
|
|
8971
|
+
//#endregion
|
|
8972
|
+
//#region src/components/ds-file-upload/ds-file-upload.types.d.ts
|
|
8973
|
+
interface DsFileUploadProps extends Omit<FileUploadProps, 'files' | 'acceptedFiles' | 'onFileAccept' | 'onFileReject' | 'onFileRemove' | 'onFileDelete' | 'onFileCancel' | 'onFileRetry' | 'uploadProgress'> {
|
|
8974
|
+
/** Upload adapter implementation */
|
|
8975
|
+
adapter: FileUploadAdapter;
|
|
8744
8976
|
/**
|
|
8745
|
-
*
|
|
8977
|
+
* Whether to start upload automatically when files are added
|
|
8978
|
+
* @default true
|
|
8746
8979
|
*/
|
|
8747
|
-
|
|
8980
|
+
autoUpload?: boolean;
|
|
8981
|
+
/** Maximum number of concurrent uploads */
|
|
8982
|
+
maxConcurrent?: number;
|
|
8983
|
+
/** Additional metadata to attach to uploads */
|
|
8984
|
+
metadata?: FileMetadata;
|
|
8985
|
+
/** Called when a file upload completes successfully */
|
|
8986
|
+
onFileUploadComplete?: (fileId: string, result: FileUploadResult) => void;
|
|
8987
|
+
/** Called when a file upload fails */
|
|
8988
|
+
onFileUploadError?: (fileId: string, error: string) => void;
|
|
8989
|
+
/** Called when files are added (before upload) */
|
|
8990
|
+
onFilesAdded?: (files: File[]) => void;
|
|
8991
|
+
/** Called when a file is removed */
|
|
8992
|
+
onFileRemoved?: (fileId: string) => void;
|
|
8993
|
+
/** Called when a file is deleted */
|
|
8994
|
+
onFileDeleted?: (fileId: string) => void;
|
|
8995
|
+
/** Called when a file upload is canceled */
|
|
8996
|
+
onFileUploadCanceled?: (fileId: string) => void;
|
|
8997
|
+
/** Called when a file upload is retried */
|
|
8998
|
+
onFileUploadRetried?: (fileId: string) => void;
|
|
8999
|
+
/** Called when all file uploads are complete */
|
|
9000
|
+
onAllFileUploadsComplete?: () => void;
|
|
9001
|
+
}
|
|
9002
|
+
//#endregion
|
|
9003
|
+
//#region src/components/ds-file-upload/ds-file-upload.d.ts
|
|
9004
|
+
/**
|
|
9005
|
+
* Design system File Upload component (with state management)
|
|
9006
|
+
*/
|
|
9007
|
+
declare const DsFileUpload: React.FC<DsFileUploadProps>;
|
|
9008
|
+
//#endregion
|
|
9009
|
+
//#region src/components/ds-file-upload/hooks/use-file-upload.d.ts
|
|
9010
|
+
interface UseFileUploadConfig {
|
|
9011
|
+
adapter: FileUploadAdapter;
|
|
9012
|
+
autoUpload?: boolean;
|
|
9013
|
+
maxConcurrent?: number;
|
|
9014
|
+
maxFiles?: number;
|
|
9015
|
+
metadata?: FileMetadata;
|
|
9016
|
+
onFileUploadComplete?: (fileId: string, result: FileUploadResult) => void;
|
|
9017
|
+
onFileUploadError?: (fileId: string, error: string) => void;
|
|
9018
|
+
onAllFileUploadsComplete?: () => void;
|
|
9019
|
+
}
|
|
9020
|
+
interface UseFileUploadUserCallbacks {
|
|
9021
|
+
onFilesAdded?: (files: File[]) => void;
|
|
9022
|
+
onFileRemoved?: (fileId: string) => void;
|
|
9023
|
+
onFileDeleted?: (fileId: string) => void;
|
|
9024
|
+
onFileUploadCanceled?: (fileId: string) => void;
|
|
9025
|
+
onFileUploadRetried?: (fileId: string) => void;
|
|
9026
|
+
}
|
|
9027
|
+
interface UseFileUploadReturn {
|
|
9028
|
+
files: UploadedFile[];
|
|
9029
|
+
acceptedFiles: UploadedFile[];
|
|
9030
|
+
addFiles: (newFiles: File[]) => UploadedFile[];
|
|
9031
|
+
addRejectedFiles: (filesWithErrors: {
|
|
9032
|
+
file: File;
|
|
9033
|
+
errors: FileError[];
|
|
9034
|
+
}[]) => void;
|
|
9035
|
+
removeFile: (fileId: string) => void;
|
|
9036
|
+
deleteFile: (fileId: string) => Promise<void>;
|
|
9037
|
+
uploadFile: (fileId: string) => Promise<void>;
|
|
9038
|
+
uploadAll: () => Promise<void>;
|
|
9039
|
+
cancelUpload: (fileId: string) => Promise<void>;
|
|
9040
|
+
retryUpload: (fileId: string) => Promise<void>;
|
|
9041
|
+
clearFiles: () => void;
|
|
8748
9042
|
/**
|
|
8749
|
-
*
|
|
9043
|
+
* Get props for FileUpload component with callback composition
|
|
9044
|
+
* @param userCallbacks Optional user callbacks to compose with internal logic
|
|
9045
|
+
* @returns Props ready to spread onto FileUpload component
|
|
8750
9046
|
*/
|
|
8751
|
-
|
|
9047
|
+
getProps: (userCallbacks?: UseFileUploadUserCallbacks) => Pick<FileUploadProps, 'files' | 'acceptedFiles' | 'onFileAccept' | 'onFileReject' | 'onFileRemove' | 'onFileDelete' | 'onFileCancel' | 'onFileRetry'>;
|
|
9048
|
+
}
|
|
9049
|
+
/**
|
|
9050
|
+
* File upload state management hook
|
|
9051
|
+
*/
|
|
9052
|
+
declare function useFileUpload({
|
|
9053
|
+
adapter,
|
|
9054
|
+
autoUpload,
|
|
9055
|
+
maxConcurrent,
|
|
9056
|
+
maxFiles,
|
|
9057
|
+
metadata,
|
|
9058
|
+
onFileUploadComplete,
|
|
9059
|
+
onFileUploadError,
|
|
9060
|
+
onAllFileUploadsComplete
|
|
9061
|
+
}: UseFileUploadConfig): UseFileUploadReturn;
|
|
9062
|
+
//#endregion
|
|
9063
|
+
//#region src/components/ds-file-upload/errors/file-upload-errors.d.ts
|
|
9064
|
+
/**
|
|
9065
|
+
* Base class for file upload errors
|
|
9066
|
+
*/
|
|
9067
|
+
declare abstract class FileUploadError extends Error {
|
|
9068
|
+
abstract readonly isRetryable: boolean;
|
|
9069
|
+
constructor(message: string);
|
|
9070
|
+
}
|
|
9071
|
+
/**
|
|
9072
|
+
* Retryable file upload error - indicates the upload can be retried
|
|
9073
|
+
* Examples: network errors, timeouts, temporary server errors (503), user cancellation
|
|
9074
|
+
*/
|
|
9075
|
+
declare class RetryableFileUploadError extends FileUploadError {
|
|
9076
|
+
readonly isRetryable = true;
|
|
9077
|
+
}
|
|
9078
|
+
/**
|
|
9079
|
+
* Fatal file upload error - indicates the upload should not be retried
|
|
9080
|
+
* Examples: file type not allowed, file too large, invalid credentials, malformed response
|
|
9081
|
+
*/
|
|
9082
|
+
declare class FatalFileUploadError extends FileUploadError {
|
|
9083
|
+
readonly isRetryable = false;
|
|
9084
|
+
}
|
|
9085
|
+
//#endregion
|
|
9086
|
+
//#region src/components/ds-filter-status-icon/ds-filter-status-icon.types.d.ts
|
|
9087
|
+
declare const filterStatuses: readonly ["running", "warning", "failed", "paused"];
|
|
9088
|
+
type FilterStatus = (typeof filterStatuses)[number];
|
|
9089
|
+
interface DsFilterStatusIconProps {
|
|
8752
9090
|
/**
|
|
8753
|
-
*
|
|
9091
|
+
* The filter status type
|
|
8754
9092
|
*/
|
|
8755
|
-
|
|
9093
|
+
status: FilterStatus;
|
|
8756
9094
|
/**
|
|
8757
|
-
*
|
|
9095
|
+
* Whether the status icon is active or non-active
|
|
9096
|
+
* @default true
|
|
8758
9097
|
*/
|
|
8759
|
-
|
|
8760
|
-
}
|
|
8761
|
-
interface DsFormControlDescriptionProps {
|
|
9098
|
+
active?: boolean;
|
|
8762
9099
|
/**
|
|
8763
|
-
*
|
|
9100
|
+
* Icon size
|
|
9101
|
+
* @default 'small'
|
|
8764
9102
|
*/
|
|
8765
|
-
|
|
9103
|
+
size?: IconSize;
|
|
8766
9104
|
/**
|
|
8767
9105
|
* Additional CSS class names
|
|
8768
9106
|
*/
|
|
8769
9107
|
className?: string;
|
|
9108
|
+
/**
|
|
9109
|
+
* Additional styles to apply to the component
|
|
9110
|
+
*/
|
|
9111
|
+
style?: CSSProperties;
|
|
8770
9112
|
}
|
|
8771
9113
|
//#endregion
|
|
8772
|
-
//#region src/components/ds-
|
|
8773
|
-
|
|
8774
|
-
|
|
8775
|
-
|
|
8776
|
-
|
|
8777
|
-
|
|
8778
|
-
|
|
8779
|
-
|
|
8780
|
-
|
|
8781
|
-
|
|
8782
|
-
|
|
8783
|
-
|
|
8784
|
-
children
|
|
8785
|
-
}: DsFormControlProps): react_jsx_runtime0.JSX.Element;
|
|
8786
|
-
TextInput: (props: DsTextInputProps) => react_jsx_runtime0.JSX.Element;
|
|
8787
|
-
NumberInput: (props: DsNumberInputProps) => react_jsx_runtime0.JSX.Element;
|
|
8788
|
-
PasswordInput: (props: DsPasswordInputProps) => react_jsx_runtime0.JSX.Element;
|
|
8789
|
-
DateInput: (props: DsDateInputProps) => react_jsx_runtime0.JSX.Element;
|
|
8790
|
-
Textarea: (props: DsTextareaProps) => react_jsx_runtime0.JSX.Element;
|
|
8791
|
-
Select: (props: DsSelectProps) => react_jsx_runtime0.JSX.Element;
|
|
8792
|
-
Description: React.FC<DsFormControlDescriptionProps>;
|
|
8793
|
-
};
|
|
9114
|
+
//#region src/components/ds-filter-status-icon/ds-filter-status-icon.d.ts
|
|
9115
|
+
/**
|
|
9116
|
+
* Design system Filter Status Icon component
|
|
9117
|
+
* Status icons for toggle filter buttons to help users quickly distinguish states
|
|
9118
|
+
*/
|
|
9119
|
+
declare const DsFilterStatusIcon: ({
|
|
9120
|
+
status,
|
|
9121
|
+
active,
|
|
9122
|
+
size,
|
|
9123
|
+
className,
|
|
9124
|
+
style
|
|
9125
|
+
}: DsFilterStatusIconProps) => _$react_jsx_runtime0.JSX.Element;
|
|
8794
9126
|
//#endregion
|
|
8795
9127
|
//#region src/components/ds-grid/ds-grid.types.d.ts
|
|
8796
9128
|
interface DsGridProps {
|
|
@@ -8848,6 +9180,36 @@ declare const DsGrid: React.FC<DsGridProps>;
|
|
|
8848
9180
|
*/
|
|
8849
9181
|
declare const DsGridItem: React.FC<DsGridItemProps>;
|
|
8850
9182
|
//#endregion
|
|
9183
|
+
//#region src/components/ds-key-value-pair/ds-key-value-pair.types.d.ts
|
|
9184
|
+
declare const dsKeyValuePairOrientations: readonly ["vertical", "horizontal"];
|
|
9185
|
+
type DsKeyValuePairOrientation = (typeof dsKeyValuePairOrientations)[number];
|
|
9186
|
+
interface DsKeyValuePairProps {
|
|
9187
|
+
keyLabel: ReactNode;
|
|
9188
|
+
/** Shown when the editor is not active (read-only or not hovered). */
|
|
9189
|
+
value?: ReactNode;
|
|
9190
|
+
/** @default false */
|
|
9191
|
+
readOnly?: boolean;
|
|
9192
|
+
/** @default 'vertical' */
|
|
9193
|
+
orientation?: DsKeyValuePairOrientation;
|
|
9194
|
+
/** Editor content revealed on hover/focus when not read-only. */
|
|
9195
|
+
editInput?: ReactNode;
|
|
9196
|
+
ref?: Ref<HTMLDivElement>;
|
|
9197
|
+
className?: string;
|
|
9198
|
+
style?: CSSProperties;
|
|
9199
|
+
}
|
|
9200
|
+
//#endregion
|
|
9201
|
+
//#region src/components/ds-key-value-pair/ds-key-value-pair.d.ts
|
|
9202
|
+
declare const DsKeyValuePair: ({
|
|
9203
|
+
ref,
|
|
9204
|
+
keyLabel,
|
|
9205
|
+
value,
|
|
9206
|
+
readOnly,
|
|
9207
|
+
orientation,
|
|
9208
|
+
editInput,
|
|
9209
|
+
className,
|
|
9210
|
+
style
|
|
9211
|
+
}: DsKeyValuePairProps) => _$react_jsx_runtime0.JSX.Element;
|
|
9212
|
+
//#endregion
|
|
8851
9213
|
//#region src/components/ds-loader/ds-loader.types.d.ts
|
|
8852
9214
|
declare const loaderVariants: readonly ["spinner", "pulsing"];
|
|
8853
9215
|
type LoaderVariant = (typeof loaderVariants)[number];
|
|
@@ -8879,7 +9241,7 @@ declare const DsLoader: ({
|
|
|
8879
9241
|
variant,
|
|
8880
9242
|
className,
|
|
8881
9243
|
...props
|
|
8882
|
-
}: DsLoaderProps) => react_jsx_runtime0.JSX.Element;
|
|
9244
|
+
}: DsLoaderProps) => _$react_jsx_runtime0.JSX.Element;
|
|
8883
9245
|
//#endregion
|
|
8884
9246
|
//#region src/components/ds-modal/ds-modal.types.d.ts
|
|
8885
9247
|
/**
|
|
@@ -8941,7 +9303,7 @@ declare const DsModal: {
|
|
|
8941
9303
|
closeOnInteractOutside,
|
|
8942
9304
|
children,
|
|
8943
9305
|
onOpenChange
|
|
8944
|
-
}: DsModalProps): react_jsx_runtime0.JSX.Element;
|
|
9306
|
+
}: DsModalProps): _$react_jsx_runtime0.JSX.Element;
|
|
8945
9307
|
Header: ({
|
|
8946
9308
|
style,
|
|
8947
9309
|
className,
|
|
@@ -8950,7 +9312,7 @@ declare const DsModal: {
|
|
|
8950
9312
|
style?: CSSProperties;
|
|
8951
9313
|
className?: string;
|
|
8952
9314
|
children: ReactNode;
|
|
8953
|
-
}) => react_jsx_runtime0.JSX.Element;
|
|
9315
|
+
}) => _$react_jsx_runtime0.JSX.Element;
|
|
8954
9316
|
Title: ({
|
|
8955
9317
|
style,
|
|
8956
9318
|
className,
|
|
@@ -8959,14 +9321,14 @@ declare const DsModal: {
|
|
|
8959
9321
|
style?: CSSProperties;
|
|
8960
9322
|
className?: string;
|
|
8961
9323
|
children: ReactNode;
|
|
8962
|
-
}) => react_jsx_runtime0.JSX.Element;
|
|
9324
|
+
}) => _$react_jsx_runtime0.JSX.Element;
|
|
8963
9325
|
CloseTrigger: ({
|
|
8964
9326
|
style,
|
|
8965
9327
|
className
|
|
8966
9328
|
}: {
|
|
8967
9329
|
style?: CSSProperties;
|
|
8968
9330
|
className?: string;
|
|
8969
|
-
}) => react_jsx_runtime0.JSX.Element;
|
|
9331
|
+
}) => _$react_jsx_runtime0.JSX.Element;
|
|
8970
9332
|
Body: ({
|
|
8971
9333
|
style,
|
|
8972
9334
|
className,
|
|
@@ -8975,7 +9337,7 @@ declare const DsModal: {
|
|
|
8975
9337
|
style?: CSSProperties;
|
|
8976
9338
|
className?: string;
|
|
8977
9339
|
children: ReactNode;
|
|
8978
|
-
}) => react_jsx_runtime0.JSX.Element;
|
|
9340
|
+
}) => _$react_jsx_runtime0.JSX.Element;
|
|
8979
9341
|
Footer: ({
|
|
8980
9342
|
style,
|
|
8981
9343
|
className,
|
|
@@ -8984,7 +9346,7 @@ declare const DsModal: {
|
|
|
8984
9346
|
style?: CSSProperties;
|
|
8985
9347
|
className?: string;
|
|
8986
9348
|
children: ReactNode;
|
|
8987
|
-
}) => react_jsx_runtime0.JSX.Element;
|
|
9349
|
+
}) => _$react_jsx_runtime0.JSX.Element;
|
|
8988
9350
|
Actions: ({
|
|
8989
9351
|
style,
|
|
8990
9352
|
className,
|
|
@@ -8993,13 +9355,14 @@ declare const DsModal: {
|
|
|
8993
9355
|
style?: CSSProperties;
|
|
8994
9356
|
className?: string;
|
|
8995
9357
|
children: ReactNode;
|
|
8996
|
-
}) => react_jsx_runtime0.JSX.Element;
|
|
9358
|
+
}) => _$react_jsx_runtime0.JSX.Element;
|
|
8997
9359
|
};
|
|
8998
9360
|
//#endregion
|
|
8999
9361
|
//#region src/components/ds-panel/ds-panel.types.d.ts
|
|
9000
9362
|
type DsPanelVariant = 'docked' | 'floating';
|
|
9001
|
-
type
|
|
9363
|
+
type DsPanelBaseProps = Omit<Collapsible.CollapsibleProps, 'onOpenChange'> & {
|
|
9002
9364
|
variant?: DsPanelVariant;
|
|
9365
|
+
width?: number;
|
|
9003
9366
|
draggable?: boolean;
|
|
9004
9367
|
disablePadding?: boolean;
|
|
9005
9368
|
slotProps?: {
|
|
@@ -9007,23 +9370,312 @@ type DsPanelProps = Omit<Collapsible.CollapsibleProps, 'onOpenChange'> & {
|
|
|
9007
9370
|
};
|
|
9008
9371
|
onOpenChange?: (open: boolean) => void;
|
|
9009
9372
|
};
|
|
9373
|
+
type DsPanelProps = Omit<DsPanelBaseProps, 'width'> & {
|
|
9374
|
+
width?: ResponsiveValue<number>;
|
|
9375
|
+
};
|
|
9010
9376
|
type DsPanelCollapseButtonProps = {
|
|
9011
9377
|
onClick?: () => void;
|
|
9012
9378
|
collapsed?: boolean;
|
|
9013
9379
|
};
|
|
9014
9380
|
//#endregion
|
|
9015
|
-
//#region src/components/ds-panel/
|
|
9016
|
-
declare
|
|
9017
|
-
|
|
9018
|
-
|
|
9019
|
-
|
|
9020
|
-
|
|
9021
|
-
|
|
9022
|
-
|
|
9023
|
-
|
|
9024
|
-
|
|
9025
|
-
|
|
9026
|
-
|
|
9381
|
+
//#region src/components/ds-panel/index.d.ts
|
|
9382
|
+
declare const DsPanel: {
|
|
9383
|
+
(props: {
|
|
9384
|
+
slot?: string | undefined | undefined;
|
|
9385
|
+
style?: _$react.CSSProperties | undefined;
|
|
9386
|
+
title?: string | undefined | undefined;
|
|
9387
|
+
key?: _$react.Key | null | undefined;
|
|
9388
|
+
defaultChecked?: boolean | undefined | undefined;
|
|
9389
|
+
defaultValue?: string | number | readonly string[] | undefined;
|
|
9390
|
+
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
9391
|
+
suppressHydrationWarning?: boolean | undefined | undefined;
|
|
9392
|
+
accessKey?: string | undefined | undefined;
|
|
9393
|
+
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
9394
|
+
autoFocus?: boolean | undefined | undefined;
|
|
9395
|
+
className?: string | undefined | undefined;
|
|
9396
|
+
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
9397
|
+
contextMenu?: string | undefined | undefined;
|
|
9398
|
+
dir?: string | undefined | undefined;
|
|
9399
|
+
draggable?: boolean | undefined;
|
|
9400
|
+
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
|
|
9401
|
+
hidden?: boolean | undefined | undefined;
|
|
9402
|
+
id?: string | undefined | undefined;
|
|
9403
|
+
lang?: string | undefined | undefined;
|
|
9404
|
+
nonce?: string | undefined | undefined;
|
|
9405
|
+
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
9406
|
+
tabIndex?: number | undefined | undefined;
|
|
9407
|
+
translate?: "yes" | "no" | undefined | undefined;
|
|
9408
|
+
radioGroup?: string | undefined | undefined;
|
|
9409
|
+
role?: _$react.AriaRole | undefined;
|
|
9410
|
+
about?: string | undefined | undefined;
|
|
9411
|
+
content?: string | undefined | undefined;
|
|
9412
|
+
datatype?: string | undefined | undefined;
|
|
9413
|
+
inlist?: any;
|
|
9414
|
+
prefix?: string | undefined | undefined;
|
|
9415
|
+
property?: string | undefined | undefined;
|
|
9416
|
+
rel?: string | undefined | undefined;
|
|
9417
|
+
resource?: string | undefined | undefined;
|
|
9418
|
+
rev?: string | undefined | undefined;
|
|
9419
|
+
typeof?: string | undefined | undefined;
|
|
9420
|
+
vocab?: string | undefined | undefined;
|
|
9421
|
+
autoCorrect?: string | undefined | undefined;
|
|
9422
|
+
autoSave?: string | undefined | undefined;
|
|
9423
|
+
color?: string | undefined | undefined;
|
|
9424
|
+
itemProp?: string | undefined | undefined;
|
|
9425
|
+
itemScope?: boolean | undefined | undefined;
|
|
9426
|
+
itemType?: string | undefined | undefined;
|
|
9427
|
+
itemID?: string | undefined | undefined;
|
|
9428
|
+
itemRef?: string | undefined | undefined;
|
|
9429
|
+
results?: number | undefined | undefined;
|
|
9430
|
+
security?: string | undefined | undefined;
|
|
9431
|
+
unselectable?: "on" | "off" | undefined | undefined;
|
|
9432
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
9433
|
+
popoverTargetAction?: "toggle" | "show" | "hide" | undefined | undefined;
|
|
9434
|
+
popoverTarget?: string | undefined | undefined;
|
|
9435
|
+
inert?: boolean | undefined | undefined;
|
|
9436
|
+
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
|
|
9437
|
+
is?: string | undefined | undefined;
|
|
9438
|
+
exportparts?: string | undefined | undefined;
|
|
9439
|
+
part?: string | undefined | undefined;
|
|
9440
|
+
"aria-activedescendant"?: string | undefined | undefined;
|
|
9441
|
+
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
9442
|
+
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
|
|
9443
|
+
"aria-braillelabel"?: string | undefined | undefined;
|
|
9444
|
+
"aria-brailleroledescription"?: string | undefined | undefined;
|
|
9445
|
+
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
9446
|
+
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
9447
|
+
"aria-colcount"?: number | undefined | undefined;
|
|
9448
|
+
"aria-colindex"?: number | undefined | undefined;
|
|
9449
|
+
"aria-colindextext"?: string | undefined | undefined;
|
|
9450
|
+
"aria-colspan"?: number | undefined | undefined;
|
|
9451
|
+
"aria-controls"?: string | undefined | undefined;
|
|
9452
|
+
"aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined | undefined;
|
|
9453
|
+
"aria-describedby"?: string | undefined | undefined;
|
|
9454
|
+
"aria-description"?: string | undefined | undefined;
|
|
9455
|
+
"aria-details"?: string | undefined | undefined;
|
|
9456
|
+
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
9457
|
+
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined | undefined;
|
|
9458
|
+
"aria-errormessage"?: string | undefined | undefined;
|
|
9459
|
+
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
9460
|
+
"aria-flowto"?: string | undefined | undefined;
|
|
9461
|
+
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
9462
|
+
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined | undefined;
|
|
9463
|
+
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
9464
|
+
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined | undefined;
|
|
9465
|
+
"aria-keyshortcuts"?: string | undefined | undefined;
|
|
9466
|
+
"aria-label"?: string | undefined | undefined;
|
|
9467
|
+
"aria-labelledby"?: string | undefined | undefined;
|
|
9468
|
+
"aria-level"?: number | undefined | undefined;
|
|
9469
|
+
"aria-live"?: "off" | "assertive" | "polite" | undefined | undefined;
|
|
9470
|
+
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
9471
|
+
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
9472
|
+
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
9473
|
+
"aria-orientation"?: "horizontal" | "vertical" | undefined | undefined;
|
|
9474
|
+
"aria-owns"?: string | undefined | undefined;
|
|
9475
|
+
"aria-placeholder"?: string | undefined | undefined;
|
|
9476
|
+
"aria-posinset"?: number | undefined | undefined;
|
|
9477
|
+
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
9478
|
+
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
9479
|
+
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined | undefined;
|
|
9480
|
+
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
9481
|
+
"aria-roledescription"?: string | undefined | undefined;
|
|
9482
|
+
"aria-rowcount"?: number | undefined | undefined;
|
|
9483
|
+
"aria-rowindex"?: number | undefined | undefined;
|
|
9484
|
+
"aria-rowindextext"?: string | undefined | undefined;
|
|
9485
|
+
"aria-rowspan"?: number | undefined | undefined;
|
|
9486
|
+
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
|
9487
|
+
"aria-setsize"?: number | undefined | undefined;
|
|
9488
|
+
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined | undefined;
|
|
9489
|
+
"aria-valuemax"?: number | undefined | undefined;
|
|
9490
|
+
"aria-valuemin"?: number | undefined | undefined;
|
|
9491
|
+
"aria-valuenow"?: number | undefined | undefined;
|
|
9492
|
+
"aria-valuetext"?: string | undefined | undefined;
|
|
9493
|
+
children?: _$react.ReactNode;
|
|
9494
|
+
dangerouslySetInnerHTML?: {
|
|
9495
|
+
__html: string | TrustedHTML;
|
|
9496
|
+
} | undefined | undefined;
|
|
9497
|
+
onCopy?: _$react.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
9498
|
+
onCopyCapture?: _$react.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
9499
|
+
onCut?: _$react.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
9500
|
+
onCutCapture?: _$react.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
9501
|
+
onPaste?: _$react.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
9502
|
+
onPasteCapture?: _$react.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
9503
|
+
onCompositionEnd?: _$react.CompositionEventHandler<HTMLDivElement> | undefined;
|
|
9504
|
+
onCompositionEndCapture?: _$react.CompositionEventHandler<HTMLDivElement> | undefined;
|
|
9505
|
+
onCompositionStart?: _$react.CompositionEventHandler<HTMLDivElement> | undefined;
|
|
9506
|
+
onCompositionStartCapture?: _$react.CompositionEventHandler<HTMLDivElement> | undefined;
|
|
9507
|
+
onCompositionUpdate?: _$react.CompositionEventHandler<HTMLDivElement> | undefined;
|
|
9508
|
+
onCompositionUpdateCapture?: _$react.CompositionEventHandler<HTMLDivElement> | undefined;
|
|
9509
|
+
onFocus?: _$react.FocusEventHandler<HTMLDivElement> | undefined;
|
|
9510
|
+
onFocusCapture?: _$react.FocusEventHandler<HTMLDivElement> | undefined;
|
|
9511
|
+
onBlur?: _$react.FocusEventHandler<HTMLDivElement> | undefined;
|
|
9512
|
+
onBlurCapture?: _$react.FocusEventHandler<HTMLDivElement> | undefined;
|
|
9513
|
+
onChange?: _$react.ChangeEventHandler<HTMLDivElement, Element> | undefined;
|
|
9514
|
+
onChangeCapture?: _$react.ChangeEventHandler<HTMLDivElement, Element> | undefined;
|
|
9515
|
+
onBeforeInput?: _$react.InputEventHandler<HTMLDivElement> | undefined;
|
|
9516
|
+
onBeforeInputCapture?: _$react.InputEventHandler<HTMLDivElement> | undefined;
|
|
9517
|
+
onInput?: _$react.InputEventHandler<HTMLDivElement> | undefined;
|
|
9518
|
+
onInputCapture?: _$react.InputEventHandler<HTMLDivElement> | undefined;
|
|
9519
|
+
onReset?: _$react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
9520
|
+
onResetCapture?: _$react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
9521
|
+
onSubmit?: _$react.SubmitEventHandler<HTMLDivElement> | undefined;
|
|
9522
|
+
onSubmitCapture?: _$react.SubmitEventHandler<HTMLDivElement> | undefined;
|
|
9523
|
+
onInvalid?: _$react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
9524
|
+
onInvalidCapture?: _$react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
9525
|
+
onLoad?: _$react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
9526
|
+
onLoadCapture?: _$react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
9527
|
+
onError?: _$react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
9528
|
+
onErrorCapture?: _$react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
9529
|
+
onKeyDown?: _$react.KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
9530
|
+
onKeyDownCapture?: _$react.KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
9531
|
+
onKeyPress?: _$react.KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
9532
|
+
onKeyPressCapture?: _$react.KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
9533
|
+
onKeyUp?: _$react.KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
9534
|
+
onKeyUpCapture?: _$react.KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
9535
|
+
onAbort?: _$react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
9536
|
+
onAbortCapture?: _$react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
9537
|
+
onCanPlay?: _$react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
9538
|
+
onCanPlayCapture?: _$react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
9539
|
+
onCanPlayThrough?: _$react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
9540
|
+
onCanPlayThroughCapture?: _$react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
9541
|
+
onDurationChange?: _$react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
9542
|
+
onDurationChangeCapture?: _$react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
9543
|
+
onEmptied?: _$react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
9544
|
+
onEmptiedCapture?: _$react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
9545
|
+
onEncrypted?: _$react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
9546
|
+
onEncryptedCapture?: _$react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
9547
|
+
onEnded?: _$react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
9548
|
+
onEndedCapture?: _$react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
9549
|
+
onLoadedData?: _$react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
9550
|
+
onLoadedDataCapture?: _$react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
9551
|
+
onLoadedMetadata?: _$react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
9552
|
+
onLoadedMetadataCapture?: _$react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
9553
|
+
onLoadStart?: _$react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
9554
|
+
onLoadStartCapture?: _$react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
9555
|
+
onPause?: _$react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
9556
|
+
onPauseCapture?: _$react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
9557
|
+
onPlay?: _$react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
9558
|
+
onPlayCapture?: _$react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
9559
|
+
onPlaying?: _$react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
9560
|
+
onPlayingCapture?: _$react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
9561
|
+
onProgress?: _$react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
9562
|
+
onProgressCapture?: _$react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
9563
|
+
onRateChange?: _$react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
9564
|
+
onRateChangeCapture?: _$react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
9565
|
+
onSeeked?: _$react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
9566
|
+
onSeekedCapture?: _$react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
9567
|
+
onSeeking?: _$react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
9568
|
+
onSeekingCapture?: _$react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
9569
|
+
onStalled?: _$react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
9570
|
+
onStalledCapture?: _$react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
9571
|
+
onSuspend?: _$react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
9572
|
+
onSuspendCapture?: _$react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
9573
|
+
onTimeUpdate?: _$react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
9574
|
+
onTimeUpdateCapture?: _$react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
9575
|
+
onVolumeChange?: _$react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
9576
|
+
onVolumeChangeCapture?: _$react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
9577
|
+
onWaiting?: _$react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
9578
|
+
onWaitingCapture?: _$react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
9579
|
+
onAuxClick?: _$react.MouseEventHandler<HTMLDivElement> | undefined;
|
|
9580
|
+
onAuxClickCapture?: _$react.MouseEventHandler<HTMLDivElement> | undefined;
|
|
9581
|
+
onClick?: _$react.MouseEventHandler<HTMLDivElement> | undefined;
|
|
9582
|
+
onClickCapture?: _$react.MouseEventHandler<HTMLDivElement> | undefined;
|
|
9583
|
+
onContextMenu?: _$react.MouseEventHandler<HTMLDivElement> | undefined;
|
|
9584
|
+
onContextMenuCapture?: _$react.MouseEventHandler<HTMLDivElement> | undefined;
|
|
9585
|
+
onDoubleClick?: _$react.MouseEventHandler<HTMLDivElement> | undefined;
|
|
9586
|
+
onDoubleClickCapture?: _$react.MouseEventHandler<HTMLDivElement> | undefined;
|
|
9587
|
+
onDrag?: _$react.DragEventHandler<HTMLDivElement> | undefined;
|
|
9588
|
+
onDragCapture?: _$react.DragEventHandler<HTMLDivElement> | undefined;
|
|
9589
|
+
onDragEnd?: _$react.DragEventHandler<HTMLDivElement> | undefined;
|
|
9590
|
+
onDragEndCapture?: _$react.DragEventHandler<HTMLDivElement> | undefined;
|
|
9591
|
+
onDragEnter?: _$react.DragEventHandler<HTMLDivElement> | undefined;
|
|
9592
|
+
onDragEnterCapture?: _$react.DragEventHandler<HTMLDivElement> | undefined;
|
|
9593
|
+
onDragExit?: _$react.DragEventHandler<HTMLDivElement> | undefined;
|
|
9594
|
+
onDragExitCapture?: _$react.DragEventHandler<HTMLDivElement> | undefined;
|
|
9595
|
+
onDragLeave?: _$react.DragEventHandler<HTMLDivElement> | undefined;
|
|
9596
|
+
onDragLeaveCapture?: _$react.DragEventHandler<HTMLDivElement> | undefined;
|
|
9597
|
+
onDragOver?: _$react.DragEventHandler<HTMLDivElement> | undefined;
|
|
9598
|
+
onDragOverCapture?: _$react.DragEventHandler<HTMLDivElement> | undefined;
|
|
9599
|
+
onDragStart?: _$react.DragEventHandler<HTMLDivElement> | undefined;
|
|
9600
|
+
onDragStartCapture?: _$react.DragEventHandler<HTMLDivElement> | undefined;
|
|
9601
|
+
onDrop?: _$react.DragEventHandler<HTMLDivElement> | undefined;
|
|
9602
|
+
onDropCapture?: _$react.DragEventHandler<HTMLDivElement> | undefined;
|
|
9603
|
+
onMouseDown?: _$react.MouseEventHandler<HTMLDivElement> | undefined;
|
|
9604
|
+
onMouseDownCapture?: _$react.MouseEventHandler<HTMLDivElement> | undefined;
|
|
9605
|
+
onMouseEnter?: _$react.MouseEventHandler<HTMLDivElement> | undefined;
|
|
9606
|
+
onMouseLeave?: _$react.MouseEventHandler<HTMLDivElement> | undefined;
|
|
9607
|
+
onMouseMove?: _$react.MouseEventHandler<HTMLDivElement> | undefined;
|
|
9608
|
+
onMouseMoveCapture?: _$react.MouseEventHandler<HTMLDivElement> | undefined;
|
|
9609
|
+
onMouseOut?: _$react.MouseEventHandler<HTMLDivElement> | undefined;
|
|
9610
|
+
onMouseOutCapture?: _$react.MouseEventHandler<HTMLDivElement> | undefined;
|
|
9611
|
+
onMouseOver?: _$react.MouseEventHandler<HTMLDivElement> | undefined;
|
|
9612
|
+
onMouseOverCapture?: _$react.MouseEventHandler<HTMLDivElement> | undefined;
|
|
9613
|
+
onMouseUp?: _$react.MouseEventHandler<HTMLDivElement> | undefined;
|
|
9614
|
+
onMouseUpCapture?: _$react.MouseEventHandler<HTMLDivElement> | undefined;
|
|
9615
|
+
onSelect?: _$react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
9616
|
+
onSelectCapture?: _$react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
9617
|
+
onTouchCancel?: _$react.TouchEventHandler<HTMLDivElement> | undefined;
|
|
9618
|
+
onTouchCancelCapture?: _$react.TouchEventHandler<HTMLDivElement> | undefined;
|
|
9619
|
+
onTouchEnd?: _$react.TouchEventHandler<HTMLDivElement> | undefined;
|
|
9620
|
+
onTouchEndCapture?: _$react.TouchEventHandler<HTMLDivElement> | undefined;
|
|
9621
|
+
onTouchMove?: _$react.TouchEventHandler<HTMLDivElement> | undefined;
|
|
9622
|
+
onTouchMoveCapture?: _$react.TouchEventHandler<HTMLDivElement> | undefined;
|
|
9623
|
+
onTouchStart?: _$react.TouchEventHandler<HTMLDivElement> | undefined;
|
|
9624
|
+
onTouchStartCapture?: _$react.TouchEventHandler<HTMLDivElement> | undefined;
|
|
9625
|
+
onPointerDown?: _$react.PointerEventHandler<HTMLDivElement> | undefined;
|
|
9626
|
+
onPointerDownCapture?: _$react.PointerEventHandler<HTMLDivElement> | undefined;
|
|
9627
|
+
onPointerMove?: _$react.PointerEventHandler<HTMLDivElement> | undefined;
|
|
9628
|
+
onPointerMoveCapture?: _$react.PointerEventHandler<HTMLDivElement> | undefined;
|
|
9629
|
+
onPointerUp?: _$react.PointerEventHandler<HTMLDivElement> | undefined;
|
|
9630
|
+
onPointerUpCapture?: _$react.PointerEventHandler<HTMLDivElement> | undefined;
|
|
9631
|
+
onPointerCancel?: _$react.PointerEventHandler<HTMLDivElement> | undefined;
|
|
9632
|
+
onPointerCancelCapture?: _$react.PointerEventHandler<HTMLDivElement> | undefined;
|
|
9633
|
+
onPointerEnter?: _$react.PointerEventHandler<HTMLDivElement> | undefined;
|
|
9634
|
+
onPointerLeave?: _$react.PointerEventHandler<HTMLDivElement> | undefined;
|
|
9635
|
+
onPointerOver?: _$react.PointerEventHandler<HTMLDivElement> | undefined;
|
|
9636
|
+
onPointerOverCapture?: _$react.PointerEventHandler<HTMLDivElement> | undefined;
|
|
9637
|
+
onPointerOut?: _$react.PointerEventHandler<HTMLDivElement> | undefined;
|
|
9638
|
+
onPointerOutCapture?: _$react.PointerEventHandler<HTMLDivElement> | undefined;
|
|
9639
|
+
onGotPointerCapture?: _$react.PointerEventHandler<HTMLDivElement> | undefined;
|
|
9640
|
+
onGotPointerCaptureCapture?: _$react.PointerEventHandler<HTMLDivElement> | undefined;
|
|
9641
|
+
onLostPointerCapture?: _$react.PointerEventHandler<HTMLDivElement> | undefined;
|
|
9642
|
+
onLostPointerCaptureCapture?: _$react.PointerEventHandler<HTMLDivElement> | undefined;
|
|
9643
|
+
onScroll?: _$react.UIEventHandler<HTMLDivElement> | undefined;
|
|
9644
|
+
onScrollCapture?: _$react.UIEventHandler<HTMLDivElement> | undefined;
|
|
9645
|
+
onScrollEnd?: _$react.UIEventHandler<HTMLDivElement> | undefined;
|
|
9646
|
+
onScrollEndCapture?: _$react.UIEventHandler<HTMLDivElement> | undefined;
|
|
9647
|
+
onWheel?: _$react.WheelEventHandler<HTMLDivElement> | undefined;
|
|
9648
|
+
onWheelCapture?: _$react.WheelEventHandler<HTMLDivElement> | undefined;
|
|
9649
|
+
onAnimationStart?: _$react.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
9650
|
+
onAnimationStartCapture?: _$react.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
9651
|
+
onAnimationEnd?: _$react.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
9652
|
+
onAnimationEndCapture?: _$react.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
9653
|
+
onAnimationIteration?: _$react.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
9654
|
+
onAnimationIterationCapture?: _$react.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
9655
|
+
onToggle?: _$react.ToggleEventHandler<HTMLDivElement> | undefined;
|
|
9656
|
+
onBeforeToggle?: _$react.ToggleEventHandler<HTMLDivElement> | undefined;
|
|
9657
|
+
onTransitionCancel?: _$react.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
9658
|
+
onTransitionCancelCapture?: _$react.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
9659
|
+
onTransitionEnd?: _$react.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
9660
|
+
onTransitionEndCapture?: _$react.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
9661
|
+
onTransitionRun?: _$react.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
9662
|
+
onTransitionRunCapture?: _$react.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
9663
|
+
onTransitionStart?: _$react.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
9664
|
+
onTransitionStartCapture?: _$react.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
9665
|
+
asChild?: boolean | undefined;
|
|
9666
|
+
defaultOpen?: boolean | undefined;
|
|
9667
|
+
open?: boolean | undefined;
|
|
9668
|
+
disabled?: boolean | undefined;
|
|
9669
|
+
variant?: DsPanelVariant | undefined;
|
|
9670
|
+
width?: ResponsiveValue<number> | undefined;
|
|
9671
|
+
disablePadding?: boolean | undefined;
|
|
9672
|
+
slotProps?: {
|
|
9673
|
+
collapseButton?: DsPanelCollapseButtonProps;
|
|
9674
|
+
} | undefined;
|
|
9675
|
+
onOpenChange?: ((open: boolean) => void) | undefined;
|
|
9676
|
+
}): _$react.FunctionComponentElement<Record<string, unknown>>;
|
|
9677
|
+
displayName: string;
|
|
9678
|
+
};
|
|
9027
9679
|
//#endregion
|
|
9028
9680
|
//#region src/components/ds-popover/ds-popover.types.d.ts
|
|
9029
9681
|
interface DsPopoverProps {
|
|
@@ -9090,7 +9742,7 @@ declare const DsProgressArc: ({
|
|
|
9090
9742
|
style,
|
|
9091
9743
|
ref,
|
|
9092
9744
|
...props
|
|
9093
|
-
}: DsProgressArcProps) => react_jsx_runtime0.JSX.Element;
|
|
9745
|
+
}: DsProgressArcProps) => _$react_jsx_runtime0.JSX.Element;
|
|
9094
9746
|
//#endregion
|
|
9095
9747
|
//#region src/components/ds-progress-donut/ds-progress-donut.types.d.ts
|
|
9096
9748
|
declare const progressDonutSizes: readonly ["small", "medium"];
|
|
@@ -9131,7 +9783,7 @@ declare const DsProgressDonut: ({
|
|
|
9131
9783
|
className,
|
|
9132
9784
|
style,
|
|
9133
9785
|
ref
|
|
9134
|
-
}: DsProgressDonutProps) => react_jsx_runtime0.JSX.Element;
|
|
9786
|
+
}: DsProgressDonutProps) => _$react_jsx_runtime0.JSX.Element;
|
|
9135
9787
|
//#endregion
|
|
9136
9788
|
//#region src/components/ds-progress-linear/ds-progress-linear.types.d.ts
|
|
9137
9789
|
declare const progressLinearVariants: readonly ["initial", "progress", "interrupted", "success", "error"];
|
|
@@ -9209,7 +9861,7 @@ declare const DsProgressLinear: ({
|
|
|
9209
9861
|
className,
|
|
9210
9862
|
style,
|
|
9211
9863
|
ref
|
|
9212
|
-
}: DsProgressLinearProps) => react_jsx_runtime0.JSX.Element;
|
|
9864
|
+
}: DsProgressLinearProps) => _$react_jsx_runtime0.JSX.Element;
|
|
9213
9865
|
//#endregion
|
|
9214
9866
|
//#region src/components/ds-radio-group/ds-radio-group.types.d.ts
|
|
9215
9867
|
/**
|
|
@@ -9530,13 +10182,13 @@ declare const _default: {
|
|
|
9530
10182
|
radius,
|
|
9531
10183
|
className,
|
|
9532
10184
|
style
|
|
9533
|
-
}: DsSkeletonTextProps) => react_jsx_runtime0.JSX.Element;
|
|
10185
|
+
}: DsSkeletonTextProps) => _$react_jsx_runtime0.JSX.Element;
|
|
9534
10186
|
Circle: ({
|
|
9535
10187
|
size,
|
|
9536
10188
|
color,
|
|
9537
10189
|
className,
|
|
9538
10190
|
style
|
|
9539
|
-
}: DsSkeletonCircleProps) => react_jsx_runtime0.JSX.Element;
|
|
10191
|
+
}: DsSkeletonCircleProps) => _$react_jsx_runtime0.JSX.Element;
|
|
9540
10192
|
Rect: ({
|
|
9541
10193
|
width,
|
|
9542
10194
|
height,
|
|
@@ -9544,7 +10196,7 @@ declare const _default: {
|
|
|
9544
10196
|
color,
|
|
9545
10197
|
className,
|
|
9546
10198
|
style
|
|
9547
|
-
}: DsSkeletonRectProps) => react_jsx_runtime0.JSX.Element;
|
|
10199
|
+
}: DsSkeletonRectProps) => _$react_jsx_runtime0.JSX.Element;
|
|
9548
10200
|
};
|
|
9549
10201
|
//#endregion
|
|
9550
10202
|
//#region src/components/ds-skeleton/ds-skeleton-text.d.ts
|
|
@@ -9560,7 +10212,7 @@ declare const DsSkeletonText: ({
|
|
|
9560
10212
|
radius,
|
|
9561
10213
|
className,
|
|
9562
10214
|
style
|
|
9563
|
-
}: DsSkeletonTextProps) => react_jsx_runtime0.JSX.Element;
|
|
10215
|
+
}: DsSkeletonTextProps) => _$react_jsx_runtime0.JSX.Element;
|
|
9564
10216
|
//#endregion
|
|
9565
10217
|
//#region src/components/ds-skeleton/ds-skeleton-circle.d.ts
|
|
9566
10218
|
/**
|
|
@@ -9572,7 +10224,7 @@ declare const DsSkeletonCircle: ({
|
|
|
9572
10224
|
color,
|
|
9573
10225
|
className,
|
|
9574
10226
|
style
|
|
9575
|
-
}: DsSkeletonCircleProps) => react_jsx_runtime0.JSX.Element;
|
|
10227
|
+
}: DsSkeletonCircleProps) => _$react_jsx_runtime0.JSX.Element;
|
|
9576
10228
|
//#endregion
|
|
9577
10229
|
//#region src/components/ds-skeleton/ds-skeleton-rect.d.ts
|
|
9578
10230
|
/**
|
|
@@ -9585,7 +10237,7 @@ declare const DsSkeletonRect: ({
|
|
|
9585
10237
|
color,
|
|
9586
10238
|
className,
|
|
9587
10239
|
style
|
|
9588
|
-
}: DsSkeletonRectProps) => react_jsx_runtime0.JSX.Element;
|
|
10240
|
+
}: DsSkeletonRectProps) => _$react_jsx_runtime0.JSX.Element;
|
|
9589
10241
|
//#endregion
|
|
9590
10242
|
//#region src/components/ds-smart-tabs/ds-smart-tabs.types.d.ts
|
|
9591
10243
|
declare const colors: readonly ["dark-blue", "light-blue", "dark-gray", "green", "fuchsia", "blue", "gray", "red", "amber"];
|
|
@@ -9659,7 +10311,7 @@ declare const DsSmartTabs: {
|
|
|
9659
10311
|
style,
|
|
9660
10312
|
children,
|
|
9661
10313
|
...props
|
|
9662
|
-
}: DsSmartTabsProps): react_jsx_runtime0.JSX.Element;
|
|
10314
|
+
}: DsSmartTabsProps): _$react_jsx_runtime0.JSX.Element;
|
|
9663
10315
|
Tab: React.FC<DsSmartTabProps>;
|
|
9664
10316
|
};
|
|
9665
10317
|
//#endregion
|
|
@@ -9688,6 +10340,51 @@ interface DsSpinnerProps {
|
|
|
9688
10340
|
*/
|
|
9689
10341
|
declare const DsSpinner: React.FC<DsSpinnerProps>;
|
|
9690
10342
|
//#endregion
|
|
10343
|
+
//#region src/utils/type-utils.d.ts
|
|
10344
|
+
type DistributiveOmit<T, K extends PropertyKey> = T extends unknown ? Omit<T, K> : never;
|
|
10345
|
+
//#endregion
|
|
10346
|
+
//#region src/components/ds-split-button/ds-split-button.types.d.ts
|
|
10347
|
+
declare const splitButtonSizes: readonly ["medium", "small"];
|
|
10348
|
+
type ButtonSlotProps = Omit<DsButtonV3Props, 'variant' | 'color' | 'size'>;
|
|
10349
|
+
type SelectSlotProps = DistributiveOmit<DsSelectProps, 'size'>;
|
|
10350
|
+
interface DsSplitButtonSlotProps {
|
|
10351
|
+
button: ButtonSlotProps;
|
|
10352
|
+
select: SelectSlotProps;
|
|
10353
|
+
}
|
|
10354
|
+
//#endregion
|
|
10355
|
+
//#region src/components/ds-split-button/index.d.ts
|
|
10356
|
+
declare const DsSplitButton: {
|
|
10357
|
+
(props: {
|
|
10358
|
+
ref?: _$react.Ref<HTMLDivElement> | undefined;
|
|
10359
|
+
className?: string | undefined;
|
|
10360
|
+
style?: _$react.CSSProperties | undefined;
|
|
10361
|
+
size?: ResponsiveValue<NonNullable<"small" | "medium" | undefined>> | undefined;
|
|
10362
|
+
disabled?: boolean | undefined;
|
|
10363
|
+
slotProps: DsSplitButtonSlotProps;
|
|
10364
|
+
}): _$react.FunctionComponentElement<Record<string, unknown>>;
|
|
10365
|
+
displayName: string;
|
|
10366
|
+
};
|
|
10367
|
+
type DsSplitButtonProps = ComponentProps<typeof DsSplitButton>;
|
|
10368
|
+
//#endregion
|
|
10369
|
+
//#region src/components/ds-stack/index.d.ts
|
|
10370
|
+
declare const DsStack: {
|
|
10371
|
+
(props: {
|
|
10372
|
+
direction?: ResponsiveValue<NonNullable<_$csstype.Property.FlexDirection | undefined>> | undefined;
|
|
10373
|
+
gap?: ResponsiveValue<NonNullable<_$csstype.Property.Gap<string | number> | undefined>> | undefined;
|
|
10374
|
+
alignItems?: ResponsiveValue<string> | undefined;
|
|
10375
|
+
justifyContent?: ResponsiveValue<string> | undefined;
|
|
10376
|
+
flex?: ResponsiveValue<NonNullable<_$csstype.Property.Flex<string | number> | undefined>> | undefined;
|
|
10377
|
+
flexWrap?: ResponsiveValue<NonNullable<_$csstype.Property.FlexWrap | undefined>> | undefined;
|
|
10378
|
+
width?: ResponsiveValue<NonNullable<_$csstype.Property.Width<string | number> | undefined>> | undefined;
|
|
10379
|
+
children?: _$react.ReactNode;
|
|
10380
|
+
className?: string | undefined;
|
|
10381
|
+
style?: _$react.CSSProperties | undefined;
|
|
10382
|
+
ref?: _$react.Ref<HTMLDivElement> | undefined;
|
|
10383
|
+
}): _$react.FunctionComponentElement<Record<string, unknown>>;
|
|
10384
|
+
displayName: string;
|
|
10385
|
+
};
|
|
10386
|
+
type DsStackProps = ComponentProps<typeof DsStack>;
|
|
10387
|
+
//#endregion
|
|
9691
10388
|
//#region src/components/ds-status-badge/ds-status-badge.types.d.ts
|
|
9692
10389
|
declare const dsStatuses: readonly ["active", "running", "pending", "draft", "inactive", "warning", "failed"];
|
|
9693
10390
|
type DsStatus = (typeof dsStatuses)[number];
|
|
@@ -9765,7 +10462,7 @@ declare function DsStepper({
|
|
|
9765
10462
|
children,
|
|
9766
10463
|
className,
|
|
9767
10464
|
actions
|
|
9768
|
-
}: DsStepperProps): react_jsx_runtime0.JSX.Element;
|
|
10465
|
+
}: DsStepperProps): _$react_jsx_runtime0.JSX.Element;
|
|
9769
10466
|
//#endregion
|
|
9770
10467
|
//#region src/components/ds-stepper/components/ds-step.d.ts
|
|
9771
10468
|
type DsStepProps = PropsWithChildren<{
|
|
@@ -9795,7 +10492,7 @@ declare function DsStep({
|
|
|
9795
10492
|
variant,
|
|
9796
10493
|
slots,
|
|
9797
10494
|
slotProps
|
|
9798
|
-
}: DsStepProps): react_jsx_runtime0.JSX.Element | null;
|
|
10495
|
+
}: DsStepProps): _$react_jsx_runtime0.JSX.Element | null;
|
|
9799
10496
|
//#endregion
|
|
9800
10497
|
//#region src/components/ds-stepper/components/ds-step-content.d.ts
|
|
9801
10498
|
type DsStepContentProps = {
|
|
@@ -9809,7 +10506,7 @@ declare function DsStepContent({
|
|
|
9809
10506
|
label,
|
|
9810
10507
|
description,
|
|
9811
10508
|
actions
|
|
9812
|
-
}: DsStepContentProps): react_jsx_runtime0.JSX.Element;
|
|
10509
|
+
}: DsStepContentProps): _$react_jsx_runtime0.JSX.Element;
|
|
9813
10510
|
//#endregion
|
|
9814
10511
|
//#region src/components/ds-stepper/components/ds-step-next-button.d.ts
|
|
9815
10512
|
type DsLegacyButtonProps = Extract<DsButtonUnifiedProps, {
|
|
@@ -9822,7 +10519,7 @@ declare function DsNextStepButton({
|
|
|
9822
10519
|
children,
|
|
9823
10520
|
size,
|
|
9824
10521
|
...rest
|
|
9825
|
-
}: DsNextStepButtonProps): react_jsx_runtime0.JSX.Element;
|
|
10522
|
+
}: DsNextStepButtonProps): _$react_jsx_runtime0.JSX.Element;
|
|
9826
10523
|
//#endregion
|
|
9827
10524
|
//#region src/components/ds-system-status/ds-system-status.types.d.ts
|
|
9828
10525
|
/**
|
|
@@ -10708,7 +11405,7 @@ declare const DsTable: <TData extends {
|
|
|
10708
11405
|
columnVisibility: externalColumnVisibility,
|
|
10709
11406
|
onColumnVisibilityChange,
|
|
10710
11407
|
activeRowId
|
|
10711
|
-
}: DsDataTableProps<TData, TValue>) => react_jsx_runtime0.JSX.Element;
|
|
11408
|
+
}: DsDataTableProps<TData, TValue>) => _$react_jsx_runtime0.JSX.Element;
|
|
10712
11409
|
//#endregion
|
|
10713
11410
|
//#region src/components/ds-tabs/ds-tabs.types.d.ts
|
|
10714
11411
|
type DsTabsSize = 'medium' | 'small';
|
|
@@ -10792,12 +11489,12 @@ declare const DsTabs: {
|
|
|
10792
11489
|
className,
|
|
10793
11490
|
style,
|
|
10794
11491
|
children
|
|
10795
|
-
}: DsTabsProps) => react_jsx_runtime0.JSX.Element;
|
|
11492
|
+
}: DsTabsProps) => _$react_jsx_runtime0.JSX.Element;
|
|
10796
11493
|
List: ({
|
|
10797
11494
|
className,
|
|
10798
11495
|
style,
|
|
10799
11496
|
children
|
|
10800
|
-
}: DsTabsListProps) => react_jsx_runtime0.JSX.Element;
|
|
11497
|
+
}: DsTabsListProps) => _$react_jsx_runtime0.JSX.Element;
|
|
10801
11498
|
Tab: ({
|
|
10802
11499
|
value,
|
|
10803
11500
|
disabled,
|
|
@@ -10810,13 +11507,13 @@ declare const DsTabs: {
|
|
|
10810
11507
|
className,
|
|
10811
11508
|
style,
|
|
10812
11509
|
children
|
|
10813
|
-
}: DsTabsTabProps) => react_jsx_runtime0.JSX.Element;
|
|
11510
|
+
}: DsTabsTabProps) => _$react_jsx_runtime0.JSX.Element;
|
|
10814
11511
|
Content: ({
|
|
10815
11512
|
value,
|
|
10816
11513
|
className,
|
|
10817
11514
|
style,
|
|
10818
11515
|
children
|
|
10819
|
-
}: DsTabsContentProps) => react_jsx_runtime0.JSX.Element;
|
|
11516
|
+
}: DsTabsContentProps) => _$react_jsx_runtime0.JSX.Element;
|
|
10820
11517
|
};
|
|
10821
11518
|
//#endregion
|
|
10822
11519
|
//#region src/components/ds-tag/ds-tag.types.d.ts
|
|
@@ -10901,7 +11598,7 @@ declare const DsTag: ({
|
|
|
10901
11598
|
onDelete,
|
|
10902
11599
|
slots,
|
|
10903
11600
|
...rest
|
|
10904
|
-
}: DsTagProps) => react_jsx_runtime0.JSX.Element;
|
|
11601
|
+
}: DsTagProps) => _$react_jsx_runtime0.JSX.Element;
|
|
10905
11602
|
//#endregion
|
|
10906
11603
|
//#region src/components/ds-tag-filter/ds-tag-filter.types.d.ts
|
|
10907
11604
|
interface TagFilterItem {
|
|
@@ -10985,7 +11682,7 @@ declare const DsTagFilter: ({
|
|
|
10985
11682
|
onItemDelete,
|
|
10986
11683
|
onItemSelect,
|
|
10987
11684
|
onExpand
|
|
10988
|
-
}: DsTagFilterProps) => react_jsx_runtime0.JSX.Element | null;
|
|
11685
|
+
}: DsTagFilterProps) => _$react_jsx_runtime0.JSX.Element | null;
|
|
10989
11686
|
//#endregion
|
|
10990
11687
|
//#region src/components/ds-toast/ds-toast.types.d.ts
|
|
10991
11688
|
declare const toastVariants: readonly ["info", "success", "warning", "error"];
|
|
@@ -11153,7 +11850,7 @@ declare const DsToggle: ({
|
|
|
11153
11850
|
children,
|
|
11154
11851
|
checked,
|
|
11155
11852
|
...rest
|
|
11156
|
-
}: DsToggleProps) => react_jsx_runtime0.JSX.Element;
|
|
11853
|
+
}: DsToggleProps) => _$react_jsx_runtime0.JSX.Element;
|
|
11157
11854
|
//#endregion
|
|
11158
11855
|
//#region src/components/ds-tooltip/ds-tooltip.types.d.ts
|
|
11159
11856
|
interface DsTooltipProps {
|
|
@@ -11165,6 +11862,12 @@ interface DsTooltipProps {
|
|
|
11165
11862
|
* The content to be rendered inside the tooltip
|
|
11166
11863
|
*/
|
|
11167
11864
|
children: ReactNode;
|
|
11865
|
+
slotProps?: {
|
|
11866
|
+
content?: {
|
|
11867
|
+
className?: string;
|
|
11868
|
+
style?: CSSProperties;
|
|
11869
|
+
};
|
|
11870
|
+
};
|
|
11168
11871
|
}
|
|
11169
11872
|
//#endregion
|
|
11170
11873
|
//#region src/components/ds-tooltip/ds-tooltip.d.ts
|
|
@@ -11253,72 +11956,72 @@ declare const DsTree: {
|
|
|
11253
11956
|
typeahead,
|
|
11254
11957
|
lazyMount,
|
|
11255
11958
|
unmountOnExit
|
|
11256
|
-
}: DsTreeRootProps<T>) => react_jsx_runtime0.JSX.Element;
|
|
11959
|
+
}: DsTreeRootProps<T>) => _$react_jsx_runtime0.JSX.Element;
|
|
11257
11960
|
Tree: ({
|
|
11258
11961
|
className,
|
|
11259
11962
|
style,
|
|
11260
11963
|
children
|
|
11261
|
-
}: DsTreeTreeProps) => react_jsx_runtime0.JSX.Element;
|
|
11964
|
+
}: DsTreeTreeProps) => _$react_jsx_runtime0.JSX.Element;
|
|
11262
11965
|
NodeProvider: typeof TreeView.NodeProvider;
|
|
11263
|
-
NodeContext: (props: TreeView.NodeContextProps) => react.ReactNode;
|
|
11966
|
+
NodeContext: (props: TreeView.NodeContextProps) => _$react.ReactNode;
|
|
11264
11967
|
Branch: ({
|
|
11265
11968
|
className,
|
|
11266
11969
|
style,
|
|
11267
11970
|
children
|
|
11268
|
-
}: DsTreeBranchProps) => react_jsx_runtime0.JSX.Element;
|
|
11971
|
+
}: DsTreeBranchProps) => _$react_jsx_runtime0.JSX.Element;
|
|
11269
11972
|
BranchControl: ({
|
|
11270
11973
|
className,
|
|
11271
11974
|
style,
|
|
11272
11975
|
children
|
|
11273
|
-
}: DsTreeBranchControlProps) => react_jsx_runtime0.JSX.Element;
|
|
11976
|
+
}: DsTreeBranchControlProps) => _$react_jsx_runtime0.JSX.Element;
|
|
11274
11977
|
BranchIndicator: ({
|
|
11275
11978
|
className,
|
|
11276
11979
|
style,
|
|
11277
11980
|
children
|
|
11278
|
-
}: DsTreeBranchIndicatorProps) => react_jsx_runtime0.JSX.Element;
|
|
11981
|
+
}: DsTreeBranchIndicatorProps) => _$react_jsx_runtime0.JSX.Element;
|
|
11279
11982
|
BranchText: ({
|
|
11280
11983
|
className,
|
|
11281
11984
|
style,
|
|
11282
11985
|
children
|
|
11283
|
-
}: DsTreeBranchTextProps) => react_jsx_runtime0.JSX.Element;
|
|
11986
|
+
}: DsTreeBranchTextProps) => _$react_jsx_runtime0.JSX.Element;
|
|
11284
11987
|
BranchContent: ({
|
|
11285
11988
|
className,
|
|
11286
11989
|
style,
|
|
11287
11990
|
children
|
|
11288
|
-
}: DsTreeBranchContentProps) => react_jsx_runtime0.JSX.Element;
|
|
11991
|
+
}: DsTreeBranchContentProps) => _$react_jsx_runtime0.JSX.Element;
|
|
11289
11992
|
BranchIndentGuide: ({
|
|
11290
11993
|
className,
|
|
11291
11994
|
style
|
|
11292
|
-
}: DsTreeBranchIndentGuideProps) => react_jsx_runtime0.JSX.Element;
|
|
11995
|
+
}: DsTreeBranchIndentGuideProps) => _$react_jsx_runtime0.JSX.Element;
|
|
11293
11996
|
Item: ({
|
|
11294
11997
|
className,
|
|
11295
11998
|
style,
|
|
11296
11999
|
children,
|
|
11297
12000
|
onClick
|
|
11298
|
-
}: DsTreeItemProps) => react_jsx_runtime0.JSX.Element;
|
|
12001
|
+
}: DsTreeItemProps) => _$react_jsx_runtime0.JSX.Element;
|
|
11299
12002
|
ItemText: ({
|
|
11300
12003
|
className,
|
|
11301
12004
|
style,
|
|
11302
12005
|
children
|
|
11303
|
-
}: DsTreeItemTextProps) => react_jsx_runtime0.JSX.Element;
|
|
12006
|
+
}: DsTreeItemTextProps) => _$react_jsx_runtime0.JSX.Element;
|
|
11304
12007
|
ItemIndicator: ({
|
|
11305
12008
|
className,
|
|
11306
12009
|
style
|
|
11307
|
-
}: DsTreeItemIndicatorProps) => react_jsx_runtime0.JSX.Element;
|
|
12010
|
+
}: DsTreeItemIndicatorProps) => _$react_jsx_runtime0.JSX.Element;
|
|
11308
12011
|
ItemAction: ({
|
|
11309
12012
|
className,
|
|
11310
12013
|
style,
|
|
11311
12014
|
children,
|
|
11312
12015
|
onClick
|
|
11313
|
-
}: DsTreeItemActionProps) => react_jsx_runtime0.JSX.Element;
|
|
12016
|
+
}: DsTreeItemActionProps) => _$react_jsx_runtime0.JSX.Element;
|
|
11314
12017
|
NodeCheckbox: ({
|
|
11315
12018
|
className,
|
|
11316
12019
|
style
|
|
11317
|
-
}: DsTreeNodeCheckboxProps) => react_jsx_runtime0.JSX.Element;
|
|
12020
|
+
}: DsTreeNodeCheckboxProps) => _$react_jsx_runtime0.JSX.Element;
|
|
11318
12021
|
};
|
|
11319
12022
|
//#endregion
|
|
11320
12023
|
//#region src/components/ds-tree/ds-tree.utils.d.ts
|
|
11321
|
-
declare const createDsTreeCollection: <T extends DsTreeNode>(nodes: T[]) => _ark_ui_react0.TreeCollection<T>;
|
|
12024
|
+
declare const createDsTreeCollection: <T extends DsTreeNode>(nodes: T[]) => _$_ark_ui_react0.TreeCollection<T>;
|
|
11322
12025
|
//#endregion
|
|
11323
12026
|
//#region src/components/ds-vertical-tabs/ds-vertical-tabs.types.d.ts
|
|
11324
12027
|
interface DsVerticalTabsRootProps {
|
|
@@ -11412,23 +12115,23 @@ declare const DsVerticalTabs: {
|
|
|
11412
12115
|
className,
|
|
11413
12116
|
style,
|
|
11414
12117
|
children
|
|
11415
|
-
}: DsVerticalTabsRootProps): react_jsx_runtime0.JSX.Element;
|
|
12118
|
+
}: DsVerticalTabsRootProps): _$react_jsx_runtime0.JSX.Element;
|
|
11416
12119
|
List: ({
|
|
11417
12120
|
className,
|
|
11418
12121
|
children
|
|
11419
|
-
}: DsVerticalTabsListProps) => react_jsx_runtime0.JSX.Element;
|
|
12122
|
+
}: DsVerticalTabsListProps) => _$react_jsx_runtime0.JSX.Element;
|
|
11420
12123
|
Tab: ({
|
|
11421
12124
|
value,
|
|
11422
12125
|
disabled,
|
|
11423
12126
|
className,
|
|
11424
12127
|
children
|
|
11425
|
-
}: DsVerticalTabsTabProps) => react_jsx_runtime0.JSX.Element;
|
|
12128
|
+
}: DsVerticalTabsTabProps) => _$react_jsx_runtime0.JSX.Element;
|
|
11426
12129
|
Content: ({
|
|
11427
12130
|
value,
|
|
11428
12131
|
className,
|
|
11429
12132
|
children
|
|
11430
|
-
}: DsVerticalTabsContentProps) => react_jsx_runtime0.JSX.Element;
|
|
12133
|
+
}: DsVerticalTabsContentProps) => _$react_jsx_runtime0.JSX.Element;
|
|
11431
12134
|
};
|
|
11432
12135
|
//#endregion
|
|
11433
|
-
export { AcceptedFileType, Action, AlertBannerVariant, AnyAdapter, CheckboxFilterAdapterConfig, CheckboxFilterItem, CheckboxFilterProps, CheckboxVariant, ChipItem, ChipSize, Color, ColumnFilterState, CommentAuthor, CommentData, CommentIndicatorType, CommentMessage, CommentsFilterState, ControlStatus, CustomIconComponent, CustomIconName, DsAlertBanner, DsAlertBannerProps, DsAutocomplete, DsAutocompleteOption, DsAutocompleteProps, DsAvatar, DsAvatarGroup, DsAvatarGroupProps, DsAvatarProps, DsAvatarSize, DsAvatarType, DsBreadcrumb, DsBreadcrumbItem, DsBreadcrumbProps, DsButton, DsButtonUnifiedProps, DsCard, DsCardBodyProps, DsCardFooterProps, DsCardHeaderProps, DsCardRootProps, DsCardSize, DsCheckbox, DsCheckboxProps, DsChip, DsChipGroup, DsChipGroupProps, DsChipProps, DsCommentBubble, DsCommentBubbleProps, DsCommentCard, DsCommentCardProps, DsCommentIndicator, DsCommentIndicatorProps, DsCommentThread, DsCommentThreadProps, DsCommentsDrawer, DsCommentsDrawerProps, DsConfirmation, DsConfirmationProps, DsDataTableProps, DsDateInput, DsDateInputProps, DsDialog, DsDialogProps, DsDivider, DsDividerProps, DsDrawer, DsDrawerColumns, DsDrawerPosition, DsDrawerProps, DsDropdownMenu, DsDropdownMenuActionsProps, DsDropdownMenuContentProps, DsDropdownMenuHeaderProps, DsDropdownMenuItemGroupContentProps, DsDropdownMenuItemGroupLabelProps, DsDropdownMenuItemGroupProps, DsDropdownMenuItemIndicatorProps, DsDropdownMenuItemProps, DsDropdownMenuLegacy, DsDropdownMenuLegacyProps, DsDropdownMenuOptionLegacy, DsDropdownMenuPositioning, DsDropdownMenuRootProps, DsDropdownMenuSeparatorProps, DsDropdownMenuTriggerItemProps, DsDropdownMenuTriggerProps, DsExpandableTextInput, DsExpandableTextInputProps, DsFileUpload, DsFileUploadProps, DsFilterStatusIcon, DsFilterStatusIconProps, DsFormControl, DsFormControlDescriptionProps, DsFormControlProps, DsGrid, DsGridItem, DsGridItemProps, DsGridProps, DsIcon, DsIconProps, DsLoader, DsLoaderProps, DsModal, DsModalColumns, DsModalProps, DsNextStepButton, DsNextStepButtonProps, DsNumberInput, DsNumberInputProps, DsPanel, DsPanelCollapseButtonProps, DsPanelProps, DsPanelVariant, DsPasswordInput, DsPasswordInputProps, DsPopover, DsPopoverProps, DsProgressArc, DsProgressArcProps, DsProgressDonut, DsProgressDonutProps, DsProgressLinear, DsProgressLinearProps, DsRadioGroup, DsRadioGroupItemProps, DsRadioGroupLegacy, DsRadioGroupLegacyProps, DsRadioGroupRootProps, DsRadioOptionLegacy, DsSegmentGroup, DsSegmentGroupItemProps, DsSegmentGroupItemTextProps, DsSegmentGroupRootProps, DsSegmentGroupSize, DsSelect, DsSelectOption, DsSelectProps, _default as DsSkeleton, DsSkeletonBaseProps, DsSkeletonCircle, DsSkeletonCircleProps, DsSkeletonRect, DsSkeletonRectProps, DsSkeletonText, DsSkeletonTextProps, DsSmartTabProps, DsSmartTabs, DsSmartTabsProps, DsSpinner, DsSpinnerProps, DsStatus, DsStatusBadge, DsStatusBadgeProps, DsStep, DsStepContent, DsStepContentProps, DsStepProps, DsStepper, DsStepperOrientation, DsStepperProps, DsStepperVariant, DsSystemStatus, DsSystemStatusProps, DsTable, DsTableApi, DsTableRowSize, DsTabs, DsTabsContentProps, DsTabsListProps, DsTabsMenuActionItem, DsTabsOrientation, DsTabsProps, DsTabsSize, DsTabsTabProps, DsTag, DsTagFilter, DsTagFilterProps, DsTagProps, DsTextInput, DsTextInputProps, DsTextarea, DsTextareaProps, DsThreadItem, DsThreadItemProps, DsToastContextType, DsToastProps, DsToastProvider, DsToastProviderProps, DsToggle, DsToggleProps, DsTooltip, DsTooltipProps, DsTree, DsTreeBranchContentProps, DsTreeBranchControlProps, DsTreeBranchIndentGuideProps, DsTreeBranchIndicatorProps, DsTreeBranchProps, DsTreeBranchTextProps, DsTreeItemActionProps, DsTreeItemIndicatorProps, DsTreeItemProps, DsTreeItemTextProps, DsTreeNode, DsTreeNodeCheckboxProps, DsTreeRootProps, DsTreeSize, DsTreeTreeProps, DsTypography, DsTypographyProps, DsVerticalTabs, DsVerticalTabsContentProps, DsVerticalTabsListProps, DsVerticalTabsRootProps, DsVerticalTabsTabProps, DualRangeFilterAdapterConfig, DualRangeFilterValue, FatalFileUploadError, FileExtension, FileUpload, FileUploadAdapter, FileUploadError, FileUploadOptions, FileUploadResult, FilterAdapter, FilterAdapterConfig, FilterNavItem, FilterState, FilterStatus, FilterTag, IconName, IconSize, IconType, IconVariant, LoaderVariant, MaterialIconName, ProgressArcSize, ProgressArcVariant, ProgressDonutSize, ProgressDonutVariant, ProgressLinearSize, ProgressLinearVariant, RangeFilterProps, RangeFilterValue, RangeValue, RetryableFileUploadError, RowAction, ScrollParams, SecondaryRowAction, SelectSize, SemanticVariant, SkeletonColorVariant, SkeletonRadiusVariant, SpinnerSize, StatusBadgeSize, SystemStatus, TagFilterItem, TagSize, TagVariant, TextInputSize, ToastVariant, ToggleSize, UseFileUploadReturn, UseTableFiltersOptions, UseTableFiltersResult, alertBannerVariants, cardSizes, checkboxVariants, colors, controlStatuses, createCheckboxFilterAdapter, createDsTreeCollection, createDualRangeFilterAdapter, createFilterAdapter, customIcons, dsTreeSizes, filterStatuses, iconSizes, iconVariants, isCustomIcon, loaderVariants, progressArcSizes, progressArcVariants, progressDonutSizes, progressDonutVariants, progressLinearSizes, progressLinearVariants, skeletonColorVariants, skeletonRadiusVariants, spinnerSizes, systemStatuses, tagSizes, tagVariants, textInputSizes, useFileUpload, useTableFilters, useToaster };
|
|
12136
|
+
export { type AcceptedFileType, Action, AlertBannerVariant, AnyAdapter, BREAKPOINT_LG, Breakpoint, ButtonV3Color, ButtonV3Size, ButtonV3Variant, type CheckboxFilterAdapterConfig, type CheckboxFilterItem, type CheckboxFilterProps, CheckboxVariant, type ChipItem, type ChipSize, Color, ColumnFilterState, CommentAuthor, CommentData, CommentIndicatorType, CommentMessage, CommentsFilterState, ControlStatus, type CustomIconComponent, type CustomIconName, type DateRangeFormControlSlotProps, type DateRangePickerOrientation, type DateRangeValue, DsAlertBanner, DsAlertBannerProps, DsAutocomplete, DsAutocompleteOption, DsAutocompleteProps, DsAvatar, DsAvatarGroup, DsAvatarGroupProps, DsAvatarProps, DsAvatarSize, DsAvatarType, DsBreadcrumb, DsBreadcrumbItem, DsBreadcrumbProps, DsButton, DsButtonUnifiedProps, DsButtonV3, DsButtonV3Props, DsCard, type DsCardBodyProps, type DsCardFooterProps, type DsCardHeaderProps, type DsCardRootProps, type DsCardSize, DsCheckbox, DsCheckboxProps, DsChip, DsChipGroup, type DsChipGroupProps, type DsChipProps, DsCommentBubble, DsCommentBubbleProps, DsCommentCard, DsCommentCardProps, DsCommentIndicator, DsCommentIndicatorProps, DsCommentThread, DsCommentThreadProps, DsCommentsDrawer, DsCommentsDrawerProps, DsConfirmation, type DsConfirmationProps, DsDataTableProps, DsDateInput, type DsDateInputProps, DsDatePicker, type DsDatePickerLocale, type DsDatePickerProps, type DsDatePickerSlotProps, DsDateRangePicker, type DsDateRangePickerLocale, type DsDateRangePickerProps, type DsDateRangePickerSlotProps, DsDialog, DsDialogProps, DsDivider, DsDividerProps, DsDrawer, type DsDrawerColumns, type DsDrawerPosition, type DsDrawerProps, DsDropdownMenu, DsDropdownMenuActionsProps, DsDropdownMenuContentProps, DsDropdownMenuHeaderProps, DsDropdownMenuItemGroupContentProps, DsDropdownMenuItemGroupLabelProps, DsDropdownMenuItemGroupProps, DsDropdownMenuItemIndicatorProps, DsDropdownMenuItemProps, DsDropdownMenuLegacy, DsDropdownMenuLegacyProps, DsDropdownMenuOptionLegacy, DsDropdownMenuPositioning, DsDropdownMenuRootProps, DsDropdownMenuSeparatorProps, DsDropdownMenuTriggerItemProps, DsDropdownMenuTriggerProps, DsExpandableTextInput, type DsExpandableTextInputProps, DsFileUpload, DsFileUploadProps, DsFilterStatusIcon, type DsFilterStatusIconProps, DsFormControl, DsFormControlDescriptionProps, DsFormControlProps, DsGrid, DsGridItem, DsGridItemProps, DsGridProps, DsIcon, DsIconProps, DsKeyValuePair, type DsKeyValuePairOrientation, type DsKeyValuePairProps, DsLoader, DsLoaderProps, DsModal, DsModalColumns, DsModalProps, DsNextStepButton, type DsNextStepButtonProps, DsNumberInput, DsNumberInputProps, DsPanel, type DsPanelCollapseButtonProps, type DsPanelProps, type DsPanelVariant, DsPasswordInput, DsPasswordInputProps, DsPopover, DsPopoverProps, DsProgressArc, DsProgressArcProps, DsProgressDonut, DsProgressDonutProps, DsProgressLinear, DsProgressLinearProps, DsRadioGroup, DsRadioGroupItemProps, DsRadioGroupLegacy, DsRadioGroupLegacyProps, DsRadioGroupRootProps, DsRadioOptionLegacy, DsSegmentGroup, DsSegmentGroupItemProps, DsSegmentGroupItemTextProps, DsSegmentGroupRootProps, DsSegmentGroupSize, DsSelect, type DsSelectOption, type DsSelectProps, _default as DsSkeleton, DsSkeletonBaseProps, DsSkeletonCircle, DsSkeletonCircleProps, DsSkeletonRect, DsSkeletonRectProps, DsSkeletonText, DsSkeletonTextProps, DsSmartTabProps, DsSmartTabs, DsSmartTabsProps, DsSpinner, DsSpinnerProps, DsSplitButton, DsSplitButtonProps, type DsSplitButtonSlotProps, DsStack, DsStackProps, type DsStatus, DsStatusBadge, type DsStatusBadgeProps, DsStep, DsStepContent, type DsStepContentProps, type DsStepProps, DsStepper, type DsStepperOrientation, type DsStepperProps, type DsStepperVariant, DsSystemStatus, DsSystemStatusProps, DsTable, DsTableApi, DsTableRowSize, DsTabs, DsTabsContentProps, DsTabsListProps, DsTabsMenuActionItem, DsTabsOrientation, DsTabsProps, DsTabsSize, DsTabsTabProps, DsTag, DsTagFilter, type DsTagFilterProps, type DsTagProps, DsTextInput, type DsTextInputProps, DsTextarea, DsTextareaProps, DsThreadItem, DsThreadItemProps, DsTimePicker, type DsTimePickerLocale, type DsTimePickerProps, type DsTimePickerSlotProps, type DsToastContextType, type DsToastProps, DsToastProvider, type DsToastProviderProps, DsToggle, type DsToggleProps, DsTooltip, DsTooltipProps, DsTree, DsTreeBranchContentProps, DsTreeBranchControlProps, DsTreeBranchIndentGuideProps, DsTreeBranchIndicatorProps, DsTreeBranchProps, DsTreeBranchTextProps, DsTreeItemActionProps, DsTreeItemIndicatorProps, DsTreeItemProps, DsTreeItemTextProps, DsTreeNode, DsTreeNodeCheckboxProps, DsTreeRootProps, DsTreeSize, DsTreeTreeProps, DsTypography, DsTypographyProps, DsVerticalTabs, type DsVerticalTabsContentProps, type DsVerticalTabsListProps, type DsVerticalTabsRootProps, type DsVerticalTabsTabProps, type DualRangeFilterAdapterConfig, type DualRangeFilterValue, FatalFileUploadError, type FileExtension, FileUpload, type FileUploadAdapter, FileUploadError, type FileUploadOptions, type FileUploadResult, FilterAdapter, type FilterAdapterConfig, FilterNavItem, FilterState, type FilterStatus, FilterTag, IconName, IconSize, IconType, IconVariant, LoaderVariant, MaterialIconName, ProgressArcSize, ProgressArcVariant, ProgressDonutSize, ProgressDonutVariant, ProgressLinearSize, ProgressLinearVariant, type RangeFilterProps, type RangeFilterValue, type RangeValue, Responsive, ResponsiveValue, RetryableFileUploadError, type RowAction, type ScrollParams, type SecondaryRowAction, type SelectSize, SemanticVariant, SkeletonColorVariant, SkeletonRadiusVariant, SpinnerSize, type StatusBadgeSize, SystemStatus, type TagFilterItem, type TagSize, type TagVariant, type TextInputSize, type ToastVariant, type ToggleSize, type UploadedFile, type UseFileUploadReturn, type UseTableFiltersOptions, type UseTableFiltersResult, alertBannerVariants, breakpoints, buttonV3Colors, buttonV3Sizes, buttonV3Variants, cardSizes, checkboxVariants, colors, controlStatuses, createCheckboxFilterAdapter, createDsTreeCollection, createDualRangeFilterAdapter, createFilterAdapter, customIcons, dsKeyValuePairOrientations, dsTreeSizes, filterStatuses, formatTime, iconSizes, iconVariants, isCustomIcon, isResponsiveValue, loaderVariants, progressArcSizes, progressArcVariants, progressDonutSizes, progressDonutVariants, progressLinearSizes, progressLinearVariants, resolveResponsiveValue, skeletonColorVariants, skeletonRadiusVariants, spinnerSizes, splitButtonSizes, systemStatuses, tagSizes, tagVariants, textInputSizes, useBreakpoint, useFileUpload, useResponsiveValue, useTableFilters, useToaster, withResponsiveProps };
|
|
11434
12137
|
//# sourceMappingURL=index.d.cts.map
|