@drivenets/design-system 0.9.0 → 0.10.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 +30 -0
- package/dist/index.cjs +1076 -600
- package/dist/index.d.cts +1988 -528
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.ts +1991 -531
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1083 -609
- package/dist/index.js.map +1 -1
- package/dist/index.min.css +1 -1
- package/package.json +16 -17
- package/src/components/ds-breadcrumb/ds-breadcrumb.types.ts +40 -6
- package/src/components/ds-button/ds-button.types.ts +13 -2
- package/src/components/ds-button-v3/ds-button-v3.module.scss +108 -109
- package/src/components/ds-button-v3/ds-button-v3.tsx +2 -2
- package/src/components/ds-button-v3/ds-button-v3.types.ts +19 -3
- package/src/components/ds-button-v3/index.ts +5 -1
- package/src/components/ds-card/ds-card.types.ts +3 -1
- package/src/components/ds-checkbox/ds-checkbox.module.scss +106 -123
- package/src/components/ds-checkbox/ds-checkbox.tsx +24 -35
- package/src/components/ds-checkbox/ds-checkbox.types.ts +12 -11
- package/src/components/ds-checkbox-group/ds-checkbox-group.module.scss +13 -0
- package/src/components/ds-checkbox-group/ds-checkbox-group.tsx +20 -0
- package/src/components/ds-checkbox-group/ds-checkbox-group.types.ts +8 -0
- package/src/components/ds-checkbox-group/hooks/index.ts +6 -0
- package/src/components/ds-checkbox-group/hooks/use-checkbox-select-all.ts +65 -0
- package/src/components/ds-checkbox-group/index.ts +3 -0
- package/src/components/ds-comment-bubble/components/ds-comment-thread/ds-comment-thread.types.ts +26 -0
- package/src/components/ds-comment-bubble/components/ds-thread-item/ds-thread-item.types.ts +38 -0
- package/src/components/ds-comment-bubble/ds-comment-bubble.types.ts +78 -0
- package/src/components/ds-comment-card/ds-comment-card.module.scss +2 -2
- package/src/components/ds-comment-card/ds-comment-card.types.ts +114 -0
- package/src/components/ds-comment-indicator/ds-comment-indicator.types.ts +26 -0
- package/src/components/ds-comments-drawer/comments-filters.types.ts +33 -0
- package/src/components/ds-comments-drawer/components/comments-filter-modal/comments-filter-modal.types.ts +37 -1
- package/src/components/ds-comments-drawer/ds-comments-drawer.types.ts +64 -0
- package/src/components/ds-date-input/ds-date-input.types.ts +23 -0
- package/src/components/ds-date-picker/ds-date-picker.tsx +3 -0
- package/src/components/ds-date-picker/ds-date-picker.types.ts +20 -0
- package/src/components/ds-date-range-picker/ds-date-range-picker.types.ts +28 -0
- package/src/components/ds-dialog/ds-dialog.types.ts +10 -1
- package/src/components/ds-dropdown-menu/ds-dropdown-menu.types.ts +24 -0
- package/src/components/ds-file-upload/components/file-upload/file-upload.types.ts +1 -0
- package/src/components/ds-file-upload/ds-file-upload-api.types.ts +55 -0
- package/src/components/ds-form-control/ds-form-control.types.ts +3 -0
- package/src/components/ds-grid/ds-grid.tsx +29 -12
- package/src/components/ds-grid/ds-grid.types.ts +16 -13
- package/src/components/ds-grid/index.ts +10 -2
- package/src/components/ds-icon/custom-icons/index.ts +2 -0
- package/src/components/ds-icon/custom-icons/special-leading-icon.tsx +11 -0
- package/src/components/ds-icon/ds-icon.tsx +10 -4
- package/src/components/ds-icon/ds-icon.types.ts +30 -0
- package/src/components/ds-key-value-pair/ds-key-value-pair.types.ts +12 -2
- package/src/components/ds-modal/ds-modal.types.ts +16 -0
- package/src/components/ds-panel/ds-panel.types.ts +39 -0
- package/src/components/ds-radio-group/ds-radio-group.module.scss +58 -56
- package/src/components/ds-radio-group/ds-radio-group.tsx +35 -28
- package/src/components/ds-radio-group/ds-radio-group.types.ts +38 -7
- package/src/components/ds-segment-group/ds-segment-group.types.ts +17 -0
- package/src/components/ds-select/ds-select.types.ts +32 -0
- package/src/components/ds-split-button/ds-split-button.module.scss +7 -7
- package/src/components/ds-split-button/ds-split-button.types.ts +28 -0
- package/src/components/ds-stack/ds-stack.types.ts +23 -0
- package/src/components/ds-stepper/ds-stepper.types.ts +34 -1
- package/src/components/ds-table/components/ds-table-body-virtualized/ds-table-body-virtualized.types.ts +27 -0
- package/src/components/ds-table/components/ds-table-cell/ds-table-cell.tsx +7 -4
- package/src/components/ds-table/components/ds-table-cell/ds-table-cell.types.ts +6 -0
- package/src/components/ds-table/components/ds-table-row-expandable-cell/ds-table-row-expandable-cell.types.ts +10 -0
- package/src/components/ds-table/components/ds-table-row-selectable-cell/ds-table-row-selectable-cell.types.ts +11 -0
- package/src/components/ds-table/components/ds-table-row-virtualized/ds-table-row-virtualized.types.ts +27 -0
- package/src/components/ds-table/filters/types/filter-adapter.types.ts +6 -0
- package/src/components/ds-tag/ds-tag.types.ts +6 -0
- package/src/components/ds-tag-filter/ds-tag-filter.types.ts +16 -0
- package/src/components/ds-text-input/ds-text-input.types.ts +3 -0
- package/src/components/ds-time-picker/components/time-item/time-item.types.ts +19 -0
- package/src/components/ds-time-picker/components/time-scroller/time-scroller.types.ts +29 -0
- package/src/components/ds-time-picker/ds-time-picker.module.scss +7 -0
- package/src/components/ds-time-picker/ds-time-picker.tsx +8 -1
- package/src/components/ds-time-picker/ds-time-picker.types.ts +80 -0
- package/src/components/ds-tooltip/ds-tooltip.types.ts +6 -0
- package/src/components/ds-tree/ds-tree.types.ts +86 -4
- package/src/components/ds-typography/ds-typography.config.ts +46 -27
- package/src/components/ds-typography/ds-typography.tsx +22 -7
- package/src/components/ds-typography/ds-typography.types.ts +15 -4
- package/src/components/ds-workspace/ds-workspace.module.scss +55 -0
- package/src/components/ds-workspace/ds-workspace.tsx +37 -0
- package/src/components/ds-workspace/ds-workspace.types.ts +17 -0
- package/src/components/ds-workspace/index.ts +8 -0
- package/src/index.ts +2 -0
- package/src/styles/_grid.scss +7 -3
- package/src/styles/_mixin.scss +2 -2
- package/src/styles/_root_new.scss +449 -0
- package/src/styles/_scrollbars.scss +6 -1
- package/src/styles/shared/_input.scss +0 -2
- package/src/styles/styles.scss +1 -0
- package/src/styles/_root_updated.scss +0 -593
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
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
|
-
import {
|
|
3
|
+
import React$1, { ButtonHTMLAttributes, CSSProperties, ComponentProps, ComponentPropsWithRef, ComponentPropsWithoutRef, ComponentType, FC, FunctionComponent, HTMLAttributes, KeyboardEvent, MouseEvent, PropsWithChildren, ReactNode, Ref, RefObject, SVGProps } from "react";
|
|
4
|
+
import { Checkbox } from "@ark-ui/react/checkbox";
|
|
5
5
|
import { DatePickerRootProps } from "@ark-ui/react/date-picker";
|
|
6
6
|
import { PopoverContentProps } from "@ark-ui/react/popover";
|
|
7
7
|
import { UseDialogProps } from "@ark-ui/react/dialog";
|
|
@@ -9,7 +9,6 @@ import { Menu } from "@ark-ui/react/menu";
|
|
|
9
9
|
import * as _$_ark_ui_react0 from "@ark-ui/react";
|
|
10
10
|
import { FileUploadFileAcceptDetails, FileUploadFileError, FileUploadFileMimeType, FileUploadFileRejectDetails } from "@ark-ui/react";
|
|
11
11
|
import * as Collapsible from "@radix-ui/react-collapsible";
|
|
12
|
-
import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
|
|
13
12
|
import { RadioGroupItemProps, RadioGroupRootProps } from "@ark-ui/react/radio-group";
|
|
14
13
|
import { SegmentGroupItemProps, SegmentGroupItemTextProps, SegmentGroupRootProps } from "@ark-ui/react/segment-group";
|
|
15
14
|
import * as _$csstype from "csstype";
|
|
@@ -6245,6 +6244,7 @@ declare const customIcons: {
|
|
|
6245
6244
|
readonly 'special-webhook': FC<SVGProps<SVGSVGElement>>;
|
|
6246
6245
|
readonly 'special-map-view': FC<SVGProps<SVGSVGElement>>;
|
|
6247
6246
|
readonly 'special-home': FC<SVGProps<SVGSVGElement>>;
|
|
6247
|
+
readonly 'special-leading-icon': FC<SVGProps<SVGSVGElement>>;
|
|
6248
6248
|
readonly 'special-lego': FC<SVGProps<SVGSVGElement>>;
|
|
6249
6249
|
readonly 'special-scheme': FC<SVGProps<SVGSVGElement>>;
|
|
6250
6250
|
readonly 'special-book': FC<SVGProps<SVGSVGElement>>;
|
|
@@ -6264,10 +6264,12 @@ type CustomIconName = keyof typeof customIcons;
|
|
|
6264
6264
|
declare const isCustomIcon: (icon: string) => icon is CustomIconName;
|
|
6265
6265
|
//#endregion
|
|
6266
6266
|
//#region src/components/ds-icon/ds-icon.types.d.ts
|
|
6267
|
-
declare const iconSizes: readonly [
|
|
6267
|
+
declare const iconSizes: readonly ['tiny', 'small', 'medium', 'large', 'extra-large'];
|
|
6268
6268
|
type IconSize = (typeof iconSizes)[number];
|
|
6269
|
-
declare const iconVariants: readonly [
|
|
6269
|
+
declare const iconVariants: readonly ['outlined', 'rounded'];
|
|
6270
6270
|
type IconVariant = (typeof iconVariants)[number];
|
|
6271
|
+
declare const iconColors: readonly ['action', 'action-hover', 'action-secondary', 'disabled', 'error', 'execution', 'information-main', 'information-secondary', 'inverse', 'main', 'on-button', 'on-dark-disabled', 'pause', 'pending', 'secondary', 'success', 'success-light', 'warning', 'warning-light'];
|
|
6272
|
+
type IconColor = (typeof iconColors)[number];
|
|
6271
6273
|
type MaterialIconName = { [K in keyof typeof materialIcons]: K extends `${IconPrefix}::${infer Name}` ? Name : never }[keyof typeof materialIcons];
|
|
6272
6274
|
type IconName = MaterialIconName | CustomIconName;
|
|
6273
6275
|
type IconType = IconName | FunctionComponent<SVGProps<SVGSVGElement>>;
|
|
@@ -6291,6 +6293,12 @@ interface DsIconProps {
|
|
|
6291
6293
|
* @default false
|
|
6292
6294
|
*/
|
|
6293
6295
|
filled?: boolean;
|
|
6296
|
+
/**
|
|
6297
|
+
* Icon color. Semantic names map to `--icon-*` tokens (e.g. `'error'` →
|
|
6298
|
+
* `var(--icon-error)`); raw CSS values (hex, rgb, hsl, CSS variables)
|
|
6299
|
+
* pass through unchanged. Omit to inherit from parent.
|
|
6300
|
+
*/
|
|
6301
|
+
color?: IconColor | (string & {});
|
|
6294
6302
|
/**
|
|
6295
6303
|
* Additional CSS class names
|
|
6296
6304
|
*/
|
|
@@ -6314,13 +6322,14 @@ declare const DsIcon: ({
|
|
|
6314
6322
|
size,
|
|
6315
6323
|
variant,
|
|
6316
6324
|
filled,
|
|
6325
|
+
color,
|
|
6317
6326
|
className,
|
|
6318
6327
|
style,
|
|
6319
6328
|
...rest
|
|
6320
6329
|
}: DsIconProps) => _$react_jsx_runtime0.JSX.Element;
|
|
6321
6330
|
//#endregion
|
|
6322
6331
|
//#region src/components/ds-alert-banner/ds-alert-banner.types.d.ts
|
|
6323
|
-
declare const alertBannerVariants: readonly [
|
|
6332
|
+
declare const alertBannerVariants: readonly ['info-neutral', 'info-blue', 'warning', 'error', 'success'];
|
|
6324
6333
|
type AlertBannerVariant = (typeof alertBannerVariants)[number];
|
|
6325
6334
|
interface DsAlertBannerProps {
|
|
6326
6335
|
/**
|
|
@@ -6356,7 +6365,7 @@ interface DsAlertBannerProps {
|
|
|
6356
6365
|
/**
|
|
6357
6366
|
* Additional styles to apply to the component
|
|
6358
6367
|
*/
|
|
6359
|
-
style?: React.CSSProperties;
|
|
6368
|
+
style?: React$1.CSSProperties;
|
|
6360
6369
|
/**
|
|
6361
6370
|
* Optional children to be rendered inside the component (typically action buttons)
|
|
6362
6371
|
*/
|
|
@@ -6364,23 +6373,19 @@ interface DsAlertBannerProps {
|
|
|
6364
6373
|
}
|
|
6365
6374
|
//#endregion
|
|
6366
6375
|
//#region src/components/ds-alert-banner/ds-alert-banner.d.ts
|
|
6367
|
-
|
|
6368
|
-
|
|
6369
|
-
|
|
6370
|
-
|
|
6371
|
-
|
|
6372
|
-
|
|
6373
|
-
|
|
6374
|
-
|
|
6375
|
-
|
|
6376
|
-
|
|
6377
|
-
|
|
6378
|
-
|
|
6379
|
-
|
|
6380
|
-
style,
|
|
6381
|
-
children
|
|
6382
|
-
}: DsAlertBannerProps): _$react_jsx_runtime0.JSX.Element | null;
|
|
6383
|
-
Title: ({
|
|
6376
|
+
declare function DsAlertBanner({
|
|
6377
|
+
open,
|
|
6378
|
+
onOpenChange,
|
|
6379
|
+
inline,
|
|
6380
|
+
variant,
|
|
6381
|
+
icon,
|
|
6382
|
+
closable,
|
|
6383
|
+
className,
|
|
6384
|
+
style,
|
|
6385
|
+
children
|
|
6386
|
+
}: DsAlertBannerProps): _$react_jsx_runtime0.JSX.Element | null;
|
|
6387
|
+
declare namespace DsAlertBanner {
|
|
6388
|
+
var Title: ({
|
|
6384
6389
|
style,
|
|
6385
6390
|
className,
|
|
6386
6391
|
children
|
|
@@ -6389,7 +6394,9 @@ declare const DsAlertBanner: {
|
|
|
6389
6394
|
className?: string;
|
|
6390
6395
|
children: ReactNode;
|
|
6391
6396
|
}) => _$react_jsx_runtime0.JSX.Element;
|
|
6392
|
-
|
|
6397
|
+
}
|
|
6398
|
+
declare namespace DsAlertBanner {
|
|
6399
|
+
var Body: ({
|
|
6393
6400
|
style,
|
|
6394
6401
|
className,
|
|
6395
6402
|
children
|
|
@@ -6398,7 +6405,9 @@ declare const DsAlertBanner: {
|
|
|
6398
6405
|
className?: string;
|
|
6399
6406
|
children: ReactNode;
|
|
6400
6407
|
}) => _$react_jsx_runtime0.JSX.Element;
|
|
6401
|
-
|
|
6408
|
+
}
|
|
6409
|
+
declare namespace DsAlertBanner {
|
|
6410
|
+
var Actions: ({
|
|
6402
6411
|
style,
|
|
6403
6412
|
className,
|
|
6404
6413
|
children
|
|
@@ -6407,7 +6416,7 @@ declare const DsAlertBanner: {
|
|
|
6407
6416
|
className?: string;
|
|
6408
6417
|
children: ReactNode;
|
|
6409
6418
|
}) => _$react_jsx_runtime0.JSX.Element;
|
|
6410
|
-
}
|
|
6419
|
+
}
|
|
6411
6420
|
//#endregion
|
|
6412
6421
|
//#region src/components/ds-autocomplete/ds-autocomplete.types.d.ts
|
|
6413
6422
|
interface DsAutocompleteOption {
|
|
@@ -6442,7 +6451,7 @@ interface DsAutocompleteProps {
|
|
|
6442
6451
|
/**
|
|
6443
6452
|
* Additional styles to apply to the component
|
|
6444
6453
|
*/
|
|
6445
|
-
style?: React.CSSProperties;
|
|
6454
|
+
style?: React$1.CSSProperties;
|
|
6446
6455
|
/**
|
|
6447
6456
|
* Additional CSS class names
|
|
6448
6457
|
*/
|
|
@@ -6488,7 +6497,7 @@ interface DsAutocompleteProps {
|
|
|
6488
6497
|
/**
|
|
6489
6498
|
* Content to display at the start of the input (e.g., a search icon).
|
|
6490
6499
|
*/
|
|
6491
|
-
startAdornment?: React.ReactNode;
|
|
6500
|
+
startAdornment?: React$1.ReactNode;
|
|
6492
6501
|
/**
|
|
6493
6502
|
* Event handler called when the value changes.
|
|
6494
6503
|
* Fires with the selected option's value, or an empty string when cleared.
|
|
@@ -6607,32 +6616,63 @@ declare const DsAvatarGroup: FC<DsAvatarGroupProps>;
|
|
|
6607
6616
|
//#endregion
|
|
6608
6617
|
//#region src/components/ds-breadcrumb/ds-breadcrumb.types.d.ts
|
|
6609
6618
|
type DsBreadcrumbItem = {
|
|
6619
|
+
/**
|
|
6620
|
+
* Renders the item as a direct navigation link to `href`.
|
|
6621
|
+
*/
|
|
6610
6622
|
type: 'link';
|
|
6623
|
+
/**
|
|
6624
|
+
* Visible text for the breadcrumb segment
|
|
6625
|
+
*/
|
|
6611
6626
|
label: string;
|
|
6627
|
+
/**
|
|
6628
|
+
* Destination URL navigated to when the segment is clicked
|
|
6629
|
+
*/
|
|
6612
6630
|
href: string;
|
|
6631
|
+
/**
|
|
6632
|
+
* Optional icon rendered before the label
|
|
6633
|
+
*/
|
|
6613
6634
|
icon?: IconType;
|
|
6614
6635
|
} | {
|
|
6636
|
+
/**
|
|
6637
|
+
* Renders the item as a dropdown trigger that reveals sibling destinations.
|
|
6638
|
+
*/
|
|
6615
6639
|
type: 'dropdown';
|
|
6640
|
+
/**
|
|
6641
|
+
* Visible text for the dropdown trigger
|
|
6642
|
+
*/
|
|
6616
6643
|
label: string;
|
|
6644
|
+
/**
|
|
6645
|
+
* Sibling destinations shown in the dropdown. Each option navigates to its
|
|
6646
|
+
* `href` when selected.
|
|
6647
|
+
*/
|
|
6617
6648
|
options: {
|
|
6649
|
+
/**
|
|
6650
|
+
* Visible text for the dropdown option
|
|
6651
|
+
*/
|
|
6618
6652
|
label: string;
|
|
6653
|
+
/**
|
|
6654
|
+
* Destination URL navigated to when the option is selected
|
|
6655
|
+
*/
|
|
6619
6656
|
href: string;
|
|
6620
6657
|
}[];
|
|
6658
|
+
/**
|
|
6659
|
+
* Optional icon rendered before the label
|
|
6660
|
+
*/
|
|
6621
6661
|
icon?: IconType;
|
|
6622
6662
|
};
|
|
6623
6663
|
interface DsBreadcrumbProps {
|
|
6624
6664
|
/**
|
|
6625
|
-
*
|
|
6665
|
+
* Ordered breadcrumb segments rendered left-to-right. The last item is typically
|
|
6666
|
+
* the current page.
|
|
6626
6667
|
*/
|
|
6627
6668
|
items: DsBreadcrumbItem[];
|
|
6628
6669
|
/**
|
|
6629
|
-
*
|
|
6630
|
-
*
|
|
6631
|
-
* @param href
|
|
6670
|
+
* Called when the user activates any link segment or picks a destination from a
|
|
6671
|
+
* dropdown segment. Receives the selected `href`.
|
|
6632
6672
|
*/
|
|
6633
6673
|
onSelect?: (href: string) => void;
|
|
6634
6674
|
/**
|
|
6635
|
-
* Additional CSS class name
|
|
6675
|
+
* Additional CSS class name applied to the breadcrumb root
|
|
6636
6676
|
*/
|
|
6637
6677
|
className?: string;
|
|
6638
6678
|
}
|
|
@@ -6641,16 +6681,16 @@ interface DsBreadcrumbProps {
|
|
|
6641
6681
|
/**
|
|
6642
6682
|
* Design system Breadcrumb component
|
|
6643
6683
|
*/
|
|
6644
|
-
declare const DsBreadcrumb: React.FC<DsBreadcrumbProps>;
|
|
6684
|
+
declare const DsBreadcrumb: React$1.FC<DsBreadcrumbProps>;
|
|
6645
6685
|
//#endregion
|
|
6646
6686
|
//#region src/components/ds-button/versions/ds-button-legacy/ds-button-legacy.types.d.ts
|
|
6647
|
-
declare const buttonSchemas: readonly [
|
|
6687
|
+
declare const buttonSchemas: readonly ['primary', 'secondary', 'error'];
|
|
6648
6688
|
type ButtonSchema = (typeof buttonSchemas)[number];
|
|
6649
|
-
declare const buttonVariants$1: readonly [
|
|
6689
|
+
declare const buttonVariants$1: readonly ['filled', 'ghost', 'borderless', 'round', 'dashed'];
|
|
6650
6690
|
type ButtonVariant$1 = (typeof buttonVariants$1)[number];
|
|
6651
|
-
declare const buttonSizes$1: readonly [
|
|
6691
|
+
declare const buttonSizes$1: readonly ['large', 'medium', 'small'];
|
|
6652
6692
|
type ButtonSize$1 = (typeof buttonSizes$1)[number];
|
|
6653
|
-
interface DsButtonProps$1 extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
6693
|
+
interface DsButtonProps$1 extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
6654
6694
|
/**
|
|
6655
6695
|
* Color schema of the button
|
|
6656
6696
|
* @default 'primary'
|
|
@@ -6679,7 +6719,7 @@ interface DsButtonProps$1 extends React.ButtonHTMLAttributes<HTMLButtonElement>
|
|
|
6679
6719
|
//#endregion
|
|
6680
6720
|
//#region src/utils/responsive.d.ts
|
|
6681
6721
|
declare const BREAKPOINT_LG: number;
|
|
6682
|
-
declare const breakpoints: readonly [
|
|
6722
|
+
declare const breakpoints: readonly ['lg', 'md'];
|
|
6683
6723
|
type Breakpoint = (typeof breakpoints)[number];
|
|
6684
6724
|
type Responsive<T> = Partial<Record<Breakpoint, T>>;
|
|
6685
6725
|
type ResponsiveValue<T> = T | Responsive<T>;
|
|
@@ -6702,13 +6742,13 @@ declare function withResponsiveProps<Props, const Keys extends readonly (keyof P
|
|
|
6702
6742
|
};
|
|
6703
6743
|
//#endregion
|
|
6704
6744
|
//#region src/components/ds-button/versions/ds-button-new/ds-button-new.types.d.ts
|
|
6705
|
-
declare const buttonTypes: readonly [
|
|
6745
|
+
declare const buttonTypes: readonly ['primary', 'secondary', 'secondary-light', 'tertiary'];
|
|
6706
6746
|
type ButtonType = (typeof buttonTypes)[number];
|
|
6707
|
-
declare const buttonVariants: readonly [
|
|
6747
|
+
declare const buttonVariants: readonly ['filled', 'ghost', 'danger', 'dark'];
|
|
6708
6748
|
type ButtonVariant = (typeof buttonVariants)[number];
|
|
6709
|
-
declare const buttonSizes: readonly [
|
|
6749
|
+
declare const buttonSizes: readonly ['large', 'medium', 'small', 'tiny'];
|
|
6710
6750
|
type ButtonSize = (typeof buttonSizes)[number];
|
|
6711
|
-
interface DsButtonBaseProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
6751
|
+
interface DsButtonBaseProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
6712
6752
|
/**
|
|
6713
6753
|
* Type of the button
|
|
6714
6754
|
* @default 'primary'
|
|
@@ -6744,8 +6784,15 @@ interface DsButtonProps extends Omit<DsButtonBaseProps, 'size'> {
|
|
|
6744
6784
|
//#endregion
|
|
6745
6785
|
//#region src/components/ds-button/ds-button.types.d.ts
|
|
6746
6786
|
type DsButtonUnifiedProps = (DsButtonProps$1 & {
|
|
6787
|
+
/**
|
|
6788
|
+
* Selects the legacy button implementation. Accepts `DsButtonLegacyProps`.
|
|
6789
|
+
* Omit or pass `'legacy'` to opt into this branch.
|
|
6790
|
+
*/
|
|
6747
6791
|
design?: undefined | 'legacy';
|
|
6748
6792
|
}) | (DsButtonProps & {
|
|
6793
|
+
/**
|
|
6794
|
+
* Selects the new (v1.2) button implementation. Accepts `DsButtonNewProps`.
|
|
6795
|
+
*/
|
|
6749
6796
|
design: 'v1.2';
|
|
6750
6797
|
});
|
|
6751
6798
|
//#endregion
|
|
@@ -6753,30 +6800,37 @@ type DsButtonUnifiedProps = (DsButtonProps$1 & {
|
|
|
6753
6800
|
declare const DsButton: (props: DsButtonUnifiedProps) => _$react_jsx_runtime0.JSX.Element;
|
|
6754
6801
|
//#endregion
|
|
6755
6802
|
//#region src/components/ds-button-v3/ds-button-v3.types.d.ts
|
|
6756
|
-
declare const buttonV3Variants: readonly [
|
|
6803
|
+
declare const buttonV3Variants: readonly ['primary', 'secondary', 'tertiary'];
|
|
6757
6804
|
type ButtonV3Variant = (typeof buttonV3Variants)[number];
|
|
6758
|
-
declare const buttonV3Colors: readonly [
|
|
6805
|
+
declare const buttonV3Colors: readonly ['default', 'error', 'light'];
|
|
6759
6806
|
type ButtonV3Color = (typeof buttonV3Colors)[number];
|
|
6760
|
-
declare const buttonV3Sizes: readonly [
|
|
6807
|
+
declare const buttonV3Sizes: readonly ['large', 'medium', 'small', 'tiny'];
|
|
6761
6808
|
type ButtonV3Size = (typeof buttonV3Sizes)[number];
|
|
6762
|
-
interface
|
|
6809
|
+
interface DsButtonV3BaseProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
6763
6810
|
ref?: Ref<HTMLButtonElement>;
|
|
6764
6811
|
/**
|
|
6765
6812
|
* - `default` — standard light-UI palette
|
|
6766
|
-
* - `
|
|
6813
|
+
* - `error` — destructive / danger palette (red tones)
|
|
6767
6814
|
* - `light` — palette for dark-background surfaces (Figma **Type** onDark)
|
|
6768
6815
|
* @default 'default'
|
|
6769
6816
|
*/
|
|
6770
6817
|
color?: ButtonV3Color;
|
|
6771
6818
|
/**
|
|
6819
|
+
* Visual variant of the button:
|
|
6820
|
+
* - `primary` — filled, highest-emphasis action
|
|
6821
|
+
* - `secondary` — outlined, medium-emphasis action
|
|
6822
|
+
* - `tertiary` — borderless, low-emphasis action (text-like)
|
|
6772
6823
|
* @default 'primary'
|
|
6773
6824
|
*/
|
|
6774
6825
|
variant?: ButtonV3Variant;
|
|
6775
6826
|
/**
|
|
6827
|
+
* Size of the button. Controls height, padding, font size, and icon size.
|
|
6776
6828
|
* @default 'medium'
|
|
6777
6829
|
*/
|
|
6778
6830
|
size?: ButtonV3Size;
|
|
6779
6831
|
/**
|
|
6832
|
+
* Whether the button is in a selected/pressed state. Used for toggle buttons
|
|
6833
|
+
* and segmented controls.
|
|
6780
6834
|
* @default false
|
|
6781
6835
|
*/
|
|
6782
6836
|
selected?: boolean;
|
|
@@ -6790,26 +6844,319 @@ interface DsButtonV3Props extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
|
6790
6844
|
*/
|
|
6791
6845
|
loading?: boolean;
|
|
6792
6846
|
}
|
|
6847
|
+
interface DsButtonV3Props extends Omit<DsButtonV3BaseProps, 'size'> {
|
|
6848
|
+
/**
|
|
6849
|
+
* Size of the button. Accepts a static value or a responsive object.
|
|
6850
|
+
* @default 'medium'
|
|
6851
|
+
*/
|
|
6852
|
+
size?: ResponsiveValue<ButtonV3Size>;
|
|
6853
|
+
}
|
|
6793
6854
|
//#endregion
|
|
6794
|
-
//#region src/components/ds-button-v3/
|
|
6795
|
-
declare const DsButtonV3:
|
|
6796
|
-
|
|
6797
|
-
|
|
6798
|
-
|
|
6799
|
-
|
|
6800
|
-
|
|
6801
|
-
|
|
6802
|
-
|
|
6803
|
-
|
|
6804
|
-
|
|
6805
|
-
|
|
6806
|
-
|
|
6807
|
-
|
|
6808
|
-
|
|
6809
|
-
|
|
6855
|
+
//#region src/components/ds-button-v3/index.d.ts
|
|
6856
|
+
declare const DsButtonV3: {
|
|
6857
|
+
(props: {
|
|
6858
|
+
children?: _$react.ReactNode | undefined;
|
|
6859
|
+
dangerouslySetInnerHTML?: {
|
|
6860
|
+
__html: string | TrustedHTML;
|
|
6861
|
+
} | undefined;
|
|
6862
|
+
onCopy?: _$react.ClipboardEventHandler<HTMLButtonElement> | undefined;
|
|
6863
|
+
onCopyCapture?: _$react.ClipboardEventHandler<HTMLButtonElement> | undefined;
|
|
6864
|
+
onCut?: _$react.ClipboardEventHandler<HTMLButtonElement> | undefined;
|
|
6865
|
+
onCutCapture?: _$react.ClipboardEventHandler<HTMLButtonElement> | undefined;
|
|
6866
|
+
onPaste?: _$react.ClipboardEventHandler<HTMLButtonElement> | undefined;
|
|
6867
|
+
onPasteCapture?: _$react.ClipboardEventHandler<HTMLButtonElement> | undefined;
|
|
6868
|
+
onCompositionEnd?: _$react.CompositionEventHandler<HTMLButtonElement> | undefined;
|
|
6869
|
+
onCompositionEndCapture?: _$react.CompositionEventHandler<HTMLButtonElement> | undefined;
|
|
6870
|
+
onCompositionStart?: _$react.CompositionEventHandler<HTMLButtonElement> | undefined;
|
|
6871
|
+
onCompositionStartCapture?: _$react.CompositionEventHandler<HTMLButtonElement> | undefined;
|
|
6872
|
+
onCompositionUpdate?: _$react.CompositionEventHandler<HTMLButtonElement> | undefined;
|
|
6873
|
+
onCompositionUpdateCapture?: _$react.CompositionEventHandler<HTMLButtonElement> | undefined;
|
|
6874
|
+
onFocus?: _$react.FocusEventHandler<HTMLButtonElement> | undefined;
|
|
6875
|
+
onFocusCapture?: _$react.FocusEventHandler<HTMLButtonElement> | undefined;
|
|
6876
|
+
onBlur?: _$react.FocusEventHandler<HTMLButtonElement> | undefined;
|
|
6877
|
+
onBlurCapture?: _$react.FocusEventHandler<HTMLButtonElement> | undefined;
|
|
6878
|
+
onChange?: _$react.ChangeEventHandler<HTMLButtonElement, Element> | undefined;
|
|
6879
|
+
onChangeCapture?: _$react.ChangeEventHandler<HTMLButtonElement, Element> | undefined;
|
|
6880
|
+
onBeforeInput?: _$react.InputEventHandler<HTMLButtonElement> | undefined;
|
|
6881
|
+
onBeforeInputCapture?: _$react.InputEventHandler<HTMLButtonElement> | undefined;
|
|
6882
|
+
onInput?: _$react.InputEventHandler<HTMLButtonElement> | undefined;
|
|
6883
|
+
onInputCapture?: _$react.InputEventHandler<HTMLButtonElement> | undefined;
|
|
6884
|
+
onReset?: _$react.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
6885
|
+
onResetCapture?: _$react.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
6886
|
+
onSubmit?: _$react.SubmitEventHandler<HTMLButtonElement> | undefined;
|
|
6887
|
+
onSubmitCapture?: _$react.SubmitEventHandler<HTMLButtonElement> | undefined;
|
|
6888
|
+
onInvalid?: _$react.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
6889
|
+
onInvalidCapture?: _$react.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
6890
|
+
onLoad?: _$react.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
6891
|
+
onLoadCapture?: _$react.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
6892
|
+
onError?: _$react.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
6893
|
+
onErrorCapture?: _$react.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
6894
|
+
onKeyDown?: _$react.KeyboardEventHandler<HTMLButtonElement> | undefined;
|
|
6895
|
+
onKeyDownCapture?: _$react.KeyboardEventHandler<HTMLButtonElement> | undefined;
|
|
6896
|
+
onKeyPress?: _$react.KeyboardEventHandler<HTMLButtonElement> | undefined;
|
|
6897
|
+
onKeyPressCapture?: _$react.KeyboardEventHandler<HTMLButtonElement> | undefined;
|
|
6898
|
+
onKeyUp?: _$react.KeyboardEventHandler<HTMLButtonElement> | undefined;
|
|
6899
|
+
onKeyUpCapture?: _$react.KeyboardEventHandler<HTMLButtonElement> | undefined;
|
|
6900
|
+
onAbort?: _$react.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
6901
|
+
onAbortCapture?: _$react.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
6902
|
+
onCanPlay?: _$react.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
6903
|
+
onCanPlayCapture?: _$react.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
6904
|
+
onCanPlayThrough?: _$react.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
6905
|
+
onCanPlayThroughCapture?: _$react.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
6906
|
+
onDurationChange?: _$react.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
6907
|
+
onDurationChangeCapture?: _$react.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
6908
|
+
onEmptied?: _$react.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
6909
|
+
onEmptiedCapture?: _$react.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
6910
|
+
onEncrypted?: _$react.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
6911
|
+
onEncryptedCapture?: _$react.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
6912
|
+
onEnded?: _$react.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
6913
|
+
onEndedCapture?: _$react.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
6914
|
+
onLoadedData?: _$react.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
6915
|
+
onLoadedDataCapture?: _$react.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
6916
|
+
onLoadedMetadata?: _$react.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
6917
|
+
onLoadedMetadataCapture?: _$react.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
6918
|
+
onLoadStart?: _$react.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
6919
|
+
onLoadStartCapture?: _$react.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
6920
|
+
onPause?: _$react.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
6921
|
+
onPauseCapture?: _$react.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
6922
|
+
onPlay?: _$react.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
6923
|
+
onPlayCapture?: _$react.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
6924
|
+
onPlaying?: _$react.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
6925
|
+
onPlayingCapture?: _$react.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
6926
|
+
onProgress?: _$react.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
6927
|
+
onProgressCapture?: _$react.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
6928
|
+
onRateChange?: _$react.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
6929
|
+
onRateChangeCapture?: _$react.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
6930
|
+
onSeeked?: _$react.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
6931
|
+
onSeekedCapture?: _$react.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
6932
|
+
onSeeking?: _$react.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
6933
|
+
onSeekingCapture?: _$react.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
6934
|
+
onStalled?: _$react.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
6935
|
+
onStalledCapture?: _$react.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
6936
|
+
onSuspend?: _$react.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
6937
|
+
onSuspendCapture?: _$react.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
6938
|
+
onTimeUpdate?: _$react.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
6939
|
+
onTimeUpdateCapture?: _$react.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
6940
|
+
onVolumeChange?: _$react.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
6941
|
+
onVolumeChangeCapture?: _$react.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
6942
|
+
onWaiting?: _$react.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
6943
|
+
onWaitingCapture?: _$react.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
6944
|
+
onAuxClick?: _$react.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
6945
|
+
onAuxClickCapture?: _$react.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
6946
|
+
onClick?: _$react.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
6947
|
+
onClickCapture?: _$react.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
6948
|
+
onContextMenu?: _$react.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
6949
|
+
onContextMenuCapture?: _$react.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
6950
|
+
onDoubleClick?: _$react.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
6951
|
+
onDoubleClickCapture?: _$react.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
6952
|
+
onDrag?: _$react.DragEventHandler<HTMLButtonElement> | undefined;
|
|
6953
|
+
onDragCapture?: _$react.DragEventHandler<HTMLButtonElement> | undefined;
|
|
6954
|
+
onDragEnd?: _$react.DragEventHandler<HTMLButtonElement> | undefined;
|
|
6955
|
+
onDragEndCapture?: _$react.DragEventHandler<HTMLButtonElement> | undefined;
|
|
6956
|
+
onDragEnter?: _$react.DragEventHandler<HTMLButtonElement> | undefined;
|
|
6957
|
+
onDragEnterCapture?: _$react.DragEventHandler<HTMLButtonElement> | undefined;
|
|
6958
|
+
onDragExit?: _$react.DragEventHandler<HTMLButtonElement> | undefined;
|
|
6959
|
+
onDragExitCapture?: _$react.DragEventHandler<HTMLButtonElement> | undefined;
|
|
6960
|
+
onDragLeave?: _$react.DragEventHandler<HTMLButtonElement> | undefined;
|
|
6961
|
+
onDragLeaveCapture?: _$react.DragEventHandler<HTMLButtonElement> | undefined;
|
|
6962
|
+
onDragOver?: _$react.DragEventHandler<HTMLButtonElement> | undefined;
|
|
6963
|
+
onDragOverCapture?: _$react.DragEventHandler<HTMLButtonElement> | undefined;
|
|
6964
|
+
onDragStart?: _$react.DragEventHandler<HTMLButtonElement> | undefined;
|
|
6965
|
+
onDragStartCapture?: _$react.DragEventHandler<HTMLButtonElement> | undefined;
|
|
6966
|
+
onDrop?: _$react.DragEventHandler<HTMLButtonElement> | undefined;
|
|
6967
|
+
onDropCapture?: _$react.DragEventHandler<HTMLButtonElement> | undefined;
|
|
6968
|
+
onMouseDown?: _$react.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
6969
|
+
onMouseDownCapture?: _$react.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
6970
|
+
onMouseEnter?: _$react.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
6971
|
+
onMouseLeave?: _$react.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
6972
|
+
onMouseMove?: _$react.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
6973
|
+
onMouseMoveCapture?: _$react.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
6974
|
+
onMouseOut?: _$react.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
6975
|
+
onMouseOutCapture?: _$react.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
6976
|
+
onMouseOver?: _$react.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
6977
|
+
onMouseOverCapture?: _$react.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
6978
|
+
onMouseUp?: _$react.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
6979
|
+
onMouseUpCapture?: _$react.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
6980
|
+
onSelect?: _$react.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
6981
|
+
onSelectCapture?: _$react.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
6982
|
+
onTouchCancel?: _$react.TouchEventHandler<HTMLButtonElement> | undefined;
|
|
6983
|
+
onTouchCancelCapture?: _$react.TouchEventHandler<HTMLButtonElement> | undefined;
|
|
6984
|
+
onTouchEnd?: _$react.TouchEventHandler<HTMLButtonElement> | undefined;
|
|
6985
|
+
onTouchEndCapture?: _$react.TouchEventHandler<HTMLButtonElement> | undefined;
|
|
6986
|
+
onTouchMove?: _$react.TouchEventHandler<HTMLButtonElement> | undefined;
|
|
6987
|
+
onTouchMoveCapture?: _$react.TouchEventHandler<HTMLButtonElement> | undefined;
|
|
6988
|
+
onTouchStart?: _$react.TouchEventHandler<HTMLButtonElement> | undefined;
|
|
6989
|
+
onTouchStartCapture?: _$react.TouchEventHandler<HTMLButtonElement> | undefined;
|
|
6990
|
+
onPointerDown?: _$react.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
6991
|
+
onPointerDownCapture?: _$react.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
6992
|
+
onPointerMove?: _$react.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
6993
|
+
onPointerMoveCapture?: _$react.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
6994
|
+
onPointerUp?: _$react.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
6995
|
+
onPointerUpCapture?: _$react.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
6996
|
+
onPointerCancel?: _$react.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
6997
|
+
onPointerCancelCapture?: _$react.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
6998
|
+
onPointerEnter?: _$react.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
6999
|
+
onPointerLeave?: _$react.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
7000
|
+
onPointerOver?: _$react.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
7001
|
+
onPointerOverCapture?: _$react.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
7002
|
+
onPointerOut?: _$react.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
7003
|
+
onPointerOutCapture?: _$react.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
7004
|
+
onGotPointerCapture?: _$react.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
7005
|
+
onGotPointerCaptureCapture?: _$react.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
7006
|
+
onLostPointerCapture?: _$react.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
7007
|
+
onLostPointerCaptureCapture?: _$react.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
7008
|
+
onScroll?: _$react.UIEventHandler<HTMLButtonElement> | undefined;
|
|
7009
|
+
onScrollCapture?: _$react.UIEventHandler<HTMLButtonElement> | undefined;
|
|
7010
|
+
onScrollEnd?: _$react.UIEventHandler<HTMLButtonElement> | undefined;
|
|
7011
|
+
onScrollEndCapture?: _$react.UIEventHandler<HTMLButtonElement> | undefined;
|
|
7012
|
+
onWheel?: _$react.WheelEventHandler<HTMLButtonElement> | undefined;
|
|
7013
|
+
onWheelCapture?: _$react.WheelEventHandler<HTMLButtonElement> | undefined;
|
|
7014
|
+
onAnimationStart?: _$react.AnimationEventHandler<HTMLButtonElement> | undefined;
|
|
7015
|
+
onAnimationStartCapture?: _$react.AnimationEventHandler<HTMLButtonElement> | undefined;
|
|
7016
|
+
onAnimationEnd?: _$react.AnimationEventHandler<HTMLButtonElement> | undefined;
|
|
7017
|
+
onAnimationEndCapture?: _$react.AnimationEventHandler<HTMLButtonElement> | undefined;
|
|
7018
|
+
onAnimationIteration?: _$react.AnimationEventHandler<HTMLButtonElement> | undefined;
|
|
7019
|
+
onAnimationIterationCapture?: _$react.AnimationEventHandler<HTMLButtonElement> | undefined;
|
|
7020
|
+
onToggle?: _$react.ToggleEventHandler<HTMLButtonElement> | undefined;
|
|
7021
|
+
onBeforeToggle?: _$react.ToggleEventHandler<HTMLButtonElement> | undefined;
|
|
7022
|
+
onTransitionCancel?: _$react.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
7023
|
+
onTransitionCancelCapture?: _$react.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
7024
|
+
onTransitionEnd?: _$react.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
7025
|
+
onTransitionEndCapture?: _$react.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
7026
|
+
onTransitionRun?: _$react.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
7027
|
+
onTransitionRunCapture?: _$react.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
7028
|
+
onTransitionStart?: _$react.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
7029
|
+
onTransitionStartCapture?: _$react.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
7030
|
+
"aria-activedescendant"?: string | undefined;
|
|
7031
|
+
"aria-atomic"?: ("false" | "true" | boolean) | undefined;
|
|
7032
|
+
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
|
|
7033
|
+
"aria-braillelabel"?: string | undefined;
|
|
7034
|
+
"aria-brailleroledescription"?: string | undefined;
|
|
7035
|
+
"aria-busy"?: ("false" | "true" | boolean) | undefined;
|
|
7036
|
+
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
7037
|
+
"aria-colcount"?: number | undefined;
|
|
7038
|
+
"aria-colindex"?: number | undefined;
|
|
7039
|
+
"aria-colindextext"?: string | undefined;
|
|
7040
|
+
"aria-colspan"?: number | undefined;
|
|
7041
|
+
"aria-controls"?: string | undefined;
|
|
7042
|
+
"aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined;
|
|
7043
|
+
"aria-describedby"?: string | undefined;
|
|
7044
|
+
"aria-description"?: string | undefined;
|
|
7045
|
+
"aria-details"?: string | undefined;
|
|
7046
|
+
"aria-disabled"?: ("false" | "true" | boolean) | undefined;
|
|
7047
|
+
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
|
|
7048
|
+
"aria-errormessage"?: string | undefined;
|
|
7049
|
+
"aria-expanded"?: ("false" | "true" | boolean) | undefined;
|
|
7050
|
+
"aria-flowto"?: string | undefined;
|
|
7051
|
+
"aria-grabbed"?: ("false" | "true" | boolean) | undefined;
|
|
7052
|
+
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
|
|
7053
|
+
"aria-hidden"?: ("false" | "true" | boolean) | undefined;
|
|
7054
|
+
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
|
7055
|
+
"aria-keyshortcuts"?: string | undefined;
|
|
7056
|
+
"aria-label"?: string | undefined;
|
|
7057
|
+
"aria-labelledby"?: string | undefined;
|
|
7058
|
+
"aria-level"?: number | undefined;
|
|
7059
|
+
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
7060
|
+
"aria-modal"?: ("false" | "true" | boolean) | undefined;
|
|
7061
|
+
"aria-multiline"?: ("false" | "true" | boolean) | undefined;
|
|
7062
|
+
"aria-multiselectable"?: ("false" | "true" | boolean) | undefined;
|
|
7063
|
+
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
|
7064
|
+
"aria-owns"?: string | undefined;
|
|
7065
|
+
"aria-placeholder"?: string | undefined;
|
|
7066
|
+
"aria-posinset"?: number | undefined;
|
|
7067
|
+
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
7068
|
+
"aria-readonly"?: ("false" | "true" | boolean) | undefined;
|
|
7069
|
+
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
|
|
7070
|
+
"aria-required"?: ("false" | "true" | boolean) | undefined;
|
|
7071
|
+
"aria-roledescription"?: string | undefined;
|
|
7072
|
+
"aria-rowcount"?: number | undefined;
|
|
7073
|
+
"aria-rowindex"?: number | undefined;
|
|
7074
|
+
"aria-rowindextext"?: string | undefined;
|
|
7075
|
+
"aria-rowspan"?: number | undefined;
|
|
7076
|
+
"aria-selected"?: ("false" | "true" | boolean) | undefined;
|
|
7077
|
+
"aria-setsize"?: number | undefined;
|
|
7078
|
+
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
7079
|
+
"aria-valuemax"?: number | undefined;
|
|
7080
|
+
"aria-valuemin"?: number | undefined;
|
|
7081
|
+
"aria-valuenow"?: number | undefined;
|
|
7082
|
+
"aria-valuetext"?: string | undefined;
|
|
7083
|
+
defaultChecked?: boolean | undefined;
|
|
7084
|
+
defaultValue?: string | number | readonly string[] | undefined;
|
|
7085
|
+
suppressContentEditableWarning?: boolean | undefined;
|
|
7086
|
+
suppressHydrationWarning?: boolean | undefined;
|
|
7087
|
+
accessKey?: string | undefined;
|
|
7088
|
+
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {});
|
|
7089
|
+
autoFocus?: boolean | undefined;
|
|
7090
|
+
className?: string | undefined;
|
|
7091
|
+
contentEditable?: ("false" | "true" | boolean) | "inherit" | "plaintext-only" | undefined;
|
|
7092
|
+
contextMenu?: string | undefined;
|
|
7093
|
+
dir?: string | undefined;
|
|
7094
|
+
draggable?: ("false" | "true" | boolean) | undefined;
|
|
7095
|
+
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
|
|
7096
|
+
hidden?: boolean | undefined;
|
|
7097
|
+
id?: string | undefined;
|
|
7098
|
+
lang?: string | undefined;
|
|
7099
|
+
nonce?: string | undefined;
|
|
7100
|
+
slot?: string | undefined;
|
|
7101
|
+
spellCheck?: ("false" | "true" | boolean) | undefined;
|
|
7102
|
+
style?: _$react.CSSProperties | undefined;
|
|
7103
|
+
tabIndex?: number | undefined;
|
|
7104
|
+
title?: string | undefined;
|
|
7105
|
+
translate?: "yes" | "no" | undefined;
|
|
7106
|
+
radioGroup?: string | undefined;
|
|
7107
|
+
role?: _$react.AriaRole | undefined;
|
|
7108
|
+
about?: string | undefined;
|
|
7109
|
+
content?: string | undefined;
|
|
7110
|
+
datatype?: string | undefined;
|
|
7111
|
+
inlist?: any;
|
|
7112
|
+
prefix?: string | undefined;
|
|
7113
|
+
property?: string | undefined;
|
|
7114
|
+
rel?: string | undefined;
|
|
7115
|
+
resource?: string | undefined;
|
|
7116
|
+
rev?: string | undefined;
|
|
7117
|
+
typeof?: string | undefined;
|
|
7118
|
+
vocab?: string | undefined;
|
|
7119
|
+
autoCorrect?: string | undefined;
|
|
7120
|
+
autoSave?: string | undefined;
|
|
7121
|
+
itemProp?: string | undefined;
|
|
7122
|
+
itemScope?: boolean | undefined;
|
|
7123
|
+
itemType?: string | undefined;
|
|
7124
|
+
itemID?: string | undefined;
|
|
7125
|
+
itemRef?: string | undefined;
|
|
7126
|
+
results?: number | undefined;
|
|
7127
|
+
security?: string | undefined;
|
|
7128
|
+
unselectable?: "on" | "off" | undefined;
|
|
7129
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined;
|
|
7130
|
+
popoverTargetAction?: "toggle" | "show" | "hide" | undefined;
|
|
7131
|
+
popoverTarget?: string | undefined;
|
|
7132
|
+
inert?: boolean | undefined;
|
|
7133
|
+
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
|
|
7134
|
+
is?: string | undefined;
|
|
7135
|
+
exportparts?: string | undefined;
|
|
7136
|
+
part?: string | undefined;
|
|
7137
|
+
disabled?: boolean | undefined;
|
|
7138
|
+
form?: string | undefined;
|
|
7139
|
+
formAction?: string | ((formData: FormData) => void | Promise<void>) | _$react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS[keyof _$react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS] | undefined;
|
|
7140
|
+
formEncType?: string | undefined;
|
|
7141
|
+
formMethod?: string | undefined;
|
|
7142
|
+
formNoValidate?: boolean | undefined;
|
|
7143
|
+
formTarget?: string | undefined;
|
|
7144
|
+
name?: string | undefined;
|
|
7145
|
+
type?: "submit" | "reset" | "button" | undefined;
|
|
7146
|
+
value?: string | readonly string[] | number | undefined;
|
|
7147
|
+
ref?: _$react.Ref<HTMLButtonElement>;
|
|
7148
|
+
color?: ButtonV3Color;
|
|
7149
|
+
variant?: ButtonV3Variant;
|
|
7150
|
+
size?: ResponsiveValue<NonNullable<"large" | "medium" | "small" | "tiny" | undefined>> | undefined;
|
|
7151
|
+
selected?: boolean;
|
|
7152
|
+
icon?: IconType;
|
|
7153
|
+
loading?: boolean;
|
|
7154
|
+
}): _$react.FunctionComponentElement<Record<string, unknown>>;
|
|
7155
|
+
displayName: string;
|
|
7156
|
+
};
|
|
6810
7157
|
//#endregion
|
|
6811
7158
|
//#region src/components/ds-card/ds-card.types.d.ts
|
|
6812
|
-
declare const cardSizes: readonly [
|
|
7159
|
+
declare const cardSizes: readonly ['small', 'medium', 'large'];
|
|
6813
7160
|
type DsCardSize = (typeof cardSizes)[number];
|
|
6814
7161
|
/**
|
|
6815
7162
|
* Props for the Card root component
|
|
@@ -6840,7 +7187,9 @@ interface DsCardRootProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
6840
7187
|
*/
|
|
6841
7188
|
highlightSelected?: boolean;
|
|
6842
7189
|
/**
|
|
6843
|
-
*
|
|
7190
|
+
* Whether the card is disabled. Prevents selection and click interactions and
|
|
7191
|
+
* visually dims the card.
|
|
7192
|
+
* @default false
|
|
6844
7193
|
*/
|
|
6845
7194
|
disabled?: boolean;
|
|
6846
7195
|
}
|
|
@@ -6906,9 +7255,13 @@ declare const DsCard: {
|
|
|
6906
7255
|
};
|
|
6907
7256
|
//#endregion
|
|
6908
7257
|
//#region src/components/ds-checkbox/ds-checkbox.types.d.ts
|
|
6909
|
-
declare const checkboxVariants: readonly [
|
|
7258
|
+
declare const checkboxVariants: readonly ['default', 'warning'];
|
|
6910
7259
|
type CheckboxVariant = (typeof checkboxVariants)[number];
|
|
6911
|
-
interface DsCheckboxProps extends ComponentPropsWithoutRef<typeof Root> {
|
|
7260
|
+
interface DsCheckboxProps extends Omit<ComponentPropsWithoutRef<typeof Checkbox.Root>, 'onCheckedChange' | 'value'> {
|
|
7261
|
+
/**
|
|
7262
|
+
* Value when used in a group or for form submission. Coerced to string for the native control.
|
|
7263
|
+
*/
|
|
7264
|
+
value?: string | number;
|
|
6912
7265
|
/**
|
|
6913
7266
|
* Visual variant of the checkbox
|
|
6914
7267
|
*/
|
|
@@ -6922,17 +7275,11 @@ interface DsCheckboxProps extends ComponentPropsWithoutRef<typeof Root> {
|
|
|
6922
7275
|
*/
|
|
6923
7276
|
labelInfo?: ReactNode;
|
|
6924
7277
|
/**
|
|
6925
|
-
*
|
|
6926
|
-
*/
|
|
6927
|
-
checked?: boolean | 'indeterminate';
|
|
6928
|
-
/**
|
|
6929
|
-
* The default checked state of the checkbox
|
|
7278
|
+
* Disables the checkbox, preventing user interaction
|
|
6930
7279
|
*/
|
|
6931
|
-
|
|
7280
|
+
disabled?: boolean;
|
|
6932
7281
|
/**
|
|
6933
|
-
*
|
|
6934
|
-
*
|
|
6935
|
-
* @param checked
|
|
7282
|
+
* Callback invoked when the checked state changes
|
|
6936
7283
|
*/
|
|
6937
7284
|
onCheckedChange?: (checked: boolean | 'indeterminate') => void;
|
|
6938
7285
|
}
|
|
@@ -6941,14 +7288,70 @@ interface DsCheckboxProps extends ComponentPropsWithoutRef<typeof Root> {
|
|
|
6941
7288
|
/**
|
|
6942
7289
|
* Design system Checkbox component
|
|
6943
7290
|
*/
|
|
6944
|
-
declare const DsCheckbox:
|
|
7291
|
+
declare const DsCheckbox: ({
|
|
7292
|
+
variant,
|
|
7293
|
+
label,
|
|
7294
|
+
labelInfo,
|
|
7295
|
+
className,
|
|
7296
|
+
onCheckedChange,
|
|
7297
|
+
value,
|
|
7298
|
+
...props
|
|
7299
|
+
}: DsCheckboxProps) => _$react_jsx_runtime0.JSX.Element;
|
|
7300
|
+
//#endregion
|
|
7301
|
+
//#region src/components/ds-checkbox-group/ds-checkbox-group.types.d.ts
|
|
7302
|
+
type DsCheckboxGroupOrientation = 'vertical' | 'horizontal';
|
|
7303
|
+
interface DsCheckboxGroupProps extends ComponentPropsWithoutRef<typeof Checkbox.Group> {
|
|
7304
|
+
orientation?: DsCheckboxGroupOrientation;
|
|
7305
|
+
}
|
|
7306
|
+
//#endregion
|
|
7307
|
+
//#region src/components/ds-checkbox-group/ds-checkbox-group.d.ts
|
|
7308
|
+
declare const DsCheckboxGroup: React$1.FC<DsCheckboxGroupProps>;
|
|
7309
|
+
//#endregion
|
|
7310
|
+
//#region src/components/ds-checkbox-group/hooks/use-checkbox-select-all.d.ts
|
|
7311
|
+
type CheckedState = boolean | 'indeterminate';
|
|
7312
|
+
interface UseCheckboxSelectAllOptions<T> {
|
|
7313
|
+
/** Currently selected values. */
|
|
7314
|
+
value: T[];
|
|
7315
|
+
/** Full set of values represented by the group. */
|
|
7316
|
+
allValues: readonly T[];
|
|
7317
|
+
/** Callback to update selected values. */
|
|
7318
|
+
onValueChange: (next: T[]) => void;
|
|
7319
|
+
/**
|
|
7320
|
+
* Optional predicate to exclude values from bulk select/deselect.
|
|
7321
|
+
* Non-selectable values that are already in `value` are preserved on toggle.
|
|
7322
|
+
*/
|
|
7323
|
+
isSelectable?: (value: T) => boolean;
|
|
7324
|
+
}
|
|
7325
|
+
interface UseCheckboxSelectAllResult {
|
|
7326
|
+
/** Tri-state value for the select-all checkbox. */
|
|
7327
|
+
selectAllState: CheckedState;
|
|
7328
|
+
/** Count of selected values that are also selectable. */
|
|
7329
|
+
selectedCount: number;
|
|
7330
|
+
/** Count of selectable values. */
|
|
7331
|
+
selectableCount: number;
|
|
7332
|
+
/** Handler for the select-all checkbox's `onCheckedChange`. */
|
|
7333
|
+
onSelectAllChange: (checked: CheckedState) => void;
|
|
7334
|
+
}
|
|
7335
|
+
/**
|
|
7336
|
+
* Headless helper for a "select all" checkbox bound to a checkbox group.
|
|
7337
|
+
*
|
|
7338
|
+
* - Derives tri-state (`true` / `false` / `'indeterminate'`) from current selection.
|
|
7339
|
+
* - Toggling selects or clears only selectable values; preserves any already-selected
|
|
7340
|
+
* non-selectable values so bulk actions don't silently mutate protected items.
|
|
7341
|
+
*/
|
|
7342
|
+
declare function useCheckboxSelectAll<T>({
|
|
7343
|
+
value,
|
|
7344
|
+
allValues,
|
|
7345
|
+
onValueChange,
|
|
7346
|
+
isSelectable
|
|
7347
|
+
}: UseCheckboxSelectAllOptions<T>): UseCheckboxSelectAllResult;
|
|
6945
7348
|
//#endregion
|
|
6946
7349
|
//#region src/components/ds-chip/ds-chip.types.d.ts
|
|
6947
7350
|
/**
|
|
6948
7351
|
* @deprecated This type is deprecated. Use `DsTag` instead.
|
|
6949
7352
|
* @see {@link ../ds-tag} for the replacement component.
|
|
6950
7353
|
*/
|
|
6951
|
-
declare const chipSizes: readonly [
|
|
7354
|
+
declare const chipSizes: readonly ['medium', 'small'];
|
|
6952
7355
|
/**
|
|
6953
7356
|
* @deprecated This type is deprecated. Use `DsTag` instead.
|
|
6954
7357
|
* @see {@link ../ds-tag} for the replacement component.
|
|
@@ -7004,7 +7407,7 @@ interface DsChipProps {
|
|
|
7004
7407
|
* @deprecated This component is deprecated. Use `DsTag` instead.
|
|
7005
7408
|
* @see {@link ../ds-tag} for the replacement component.
|
|
7006
7409
|
*/
|
|
7007
|
-
declare const DsChip: React.FC<DsChipProps>;
|
|
7410
|
+
declare const DsChip: React$1.FC<DsChipProps>;
|
|
7008
7411
|
//#endregion
|
|
7009
7412
|
//#region src/components/ds-chip-group/ds-chip-group.types.d.ts
|
|
7010
7413
|
/**
|
|
@@ -7070,47 +7473,161 @@ interface DsChipGroupProps {
|
|
|
7070
7473
|
* @deprecated This component is deprecated. Use `DsTagFilter` instead.
|
|
7071
7474
|
* @see {@link ../ds-tag-filter} for the replacement component.
|
|
7072
7475
|
*/
|
|
7073
|
-
declare const DsChipGroup: React.FC<DsChipGroupProps>;
|
|
7476
|
+
declare const DsChipGroup: React$1.FC<DsChipGroupProps>;
|
|
7074
7477
|
//#endregion
|
|
7075
7478
|
//#region src/components/ds-comment-card/ds-comment-card.types.d.ts
|
|
7076
7479
|
interface CommentAuthor {
|
|
7480
|
+
/**
|
|
7481
|
+
* Stable identifier for the user. Used to compare authors (e.g. to determine
|
|
7482
|
+
* whether the current viewer can edit a message).
|
|
7483
|
+
*/
|
|
7077
7484
|
id: string;
|
|
7485
|
+
/**
|
|
7486
|
+
* Display name shown next to the avatar
|
|
7487
|
+
*/
|
|
7078
7488
|
name: string;
|
|
7489
|
+
/**
|
|
7490
|
+
* Optional URL to the user's avatar image. When omitted, the avatar falls back
|
|
7491
|
+
* to initials derived from `name`.
|
|
7492
|
+
*/
|
|
7079
7493
|
avatarSrc?: string;
|
|
7080
7494
|
}
|
|
7081
7495
|
interface CommentMessage {
|
|
7496
|
+
/**
|
|
7497
|
+
* Stable identifier for the message. Passed to callbacks to identify which
|
|
7498
|
+
* message was acted on.
|
|
7499
|
+
*/
|
|
7082
7500
|
id: string;
|
|
7501
|
+
/**
|
|
7502
|
+
* Author of the message
|
|
7503
|
+
*/
|
|
7083
7504
|
author: CommentAuthor;
|
|
7505
|
+
/**
|
|
7506
|
+
* Text content of the message
|
|
7507
|
+
*/
|
|
7084
7508
|
content: string;
|
|
7509
|
+
/**
|
|
7510
|
+
* Timestamp when the message was created
|
|
7511
|
+
*/
|
|
7085
7512
|
createdAt: Date;
|
|
7513
|
+
/**
|
|
7514
|
+
* Whether this message is the first message in a thread (i.e., the top-level
|
|
7515
|
+
* comment body). Used to render it differently from replies.
|
|
7516
|
+
* @default false
|
|
7517
|
+
*/
|
|
7086
7518
|
isInitialMessage?: boolean;
|
|
7519
|
+
/**
|
|
7520
|
+
* Whether this message has been marked resolved
|
|
7521
|
+
* @default false
|
|
7522
|
+
*/
|
|
7087
7523
|
isResolved?: boolean;
|
|
7088
7524
|
}
|
|
7089
7525
|
interface CommentData {
|
|
7526
|
+
/**
|
|
7527
|
+
* Stable identifier for the comment thread. Passed to drawer/bubble callbacks
|
|
7528
|
+
* to identify which comment was acted on.
|
|
7529
|
+
*/
|
|
7090
7530
|
id: string;
|
|
7531
|
+
/**
|
|
7532
|
+
* Short, user-facing numeric identifier (e.g., "#42") shown in the card header
|
|
7533
|
+
* for quick reference in conversations.
|
|
7534
|
+
*/
|
|
7091
7535
|
numericId: number;
|
|
7536
|
+
/**
|
|
7537
|
+
* Author of the top-level comment
|
|
7538
|
+
*/
|
|
7092
7539
|
author: CommentAuthor;
|
|
7540
|
+
/**
|
|
7541
|
+
* Timestamp when the top-level comment was created
|
|
7542
|
+
*/
|
|
7093
7543
|
createdAt: Date;
|
|
7544
|
+
/**
|
|
7545
|
+
* Whether the entire comment thread is resolved. When true, the card is rendered
|
|
7546
|
+
* in its resolved (muted) state.
|
|
7547
|
+
*/
|
|
7094
7548
|
isResolved: boolean;
|
|
7549
|
+
/**
|
|
7550
|
+
* Ordered list of messages in the thread, from oldest to newest. The first
|
|
7551
|
+
* message is typically the top-level comment body.
|
|
7552
|
+
*/
|
|
7095
7553
|
messages: CommentMessage[];
|
|
7554
|
+
/**
|
|
7555
|
+
* Optional tag labels used for filtering and grouping in the comments drawer.
|
|
7556
|
+
*/
|
|
7096
7557
|
labels?: string[];
|
|
7558
|
+
/**
|
|
7559
|
+
* Optional reference chip shown in the card header. A string renders as a tag;
|
|
7560
|
+
* any other `ReactNode` renders verbatim.
|
|
7561
|
+
*/
|
|
7097
7562
|
referenceTag?: ReactNode;
|
|
7563
|
+
/**
|
|
7564
|
+
* Whether the comment is flagged as requiring action. Drives the action-required
|
|
7565
|
+
* highlight.
|
|
7566
|
+
* @default false
|
|
7567
|
+
*/
|
|
7098
7568
|
isActionRequired?: boolean;
|
|
7099
7569
|
}
|
|
7100
7570
|
interface DsCommentCardProps {
|
|
7571
|
+
/**
|
|
7572
|
+
* Ref forwarded to the card root button element
|
|
7573
|
+
*/
|
|
7101
7574
|
ref?: Ref<HTMLButtonElement>;
|
|
7575
|
+
/**
|
|
7576
|
+
* The comment thread rendered by the card
|
|
7577
|
+
*/
|
|
7102
7578
|
comment: CommentData;
|
|
7579
|
+
/**
|
|
7580
|
+
* Whether the card is disabled and cannot be clicked
|
|
7581
|
+
* @default false
|
|
7582
|
+
*/
|
|
7103
7583
|
disabled?: boolean;
|
|
7584
|
+
/**
|
|
7585
|
+
* How long message content is rendered:
|
|
7586
|
+
* - `hidden` (default): truncate to a preview with ellipsis
|
|
7587
|
+
* - `displayed`: show the full message content without truncation
|
|
7588
|
+
* @default hidden
|
|
7589
|
+
*/
|
|
7104
7590
|
overflow?: 'hidden' | 'displayed';
|
|
7591
|
+
/**
|
|
7592
|
+
* Called when the card body is clicked (typically opens the thread in a bubble/drawer).
|
|
7593
|
+
*/
|
|
7105
7594
|
onClick?: () => void;
|
|
7595
|
+
/**
|
|
7596
|
+
* Called when the user resolves the comment from the card's overflow menu.
|
|
7597
|
+
*/
|
|
7106
7598
|
onResolve?: () => void;
|
|
7599
|
+
/**
|
|
7600
|
+
* Called when the user toggles the comment's action-required flag from the overflow menu.
|
|
7601
|
+
*/
|
|
7107
7602
|
onToggleActionRequired?: () => void;
|
|
7603
|
+
/**
|
|
7604
|
+
* Called when the user forwards the comment from the overflow menu.
|
|
7605
|
+
*/
|
|
7108
7606
|
onForward?: () => void;
|
|
7607
|
+
/**
|
|
7608
|
+
* Called when the user marks the comment as unread from the overflow menu.
|
|
7609
|
+
*/
|
|
7109
7610
|
onMarkUnread?: () => void;
|
|
7611
|
+
/**
|
|
7612
|
+
* Called when the user copies a link to the comment from the overflow menu.
|
|
7613
|
+
*/
|
|
7110
7614
|
onCopyLink?: () => void;
|
|
7615
|
+
/**
|
|
7616
|
+
* Called when the user deletes the comment from the overflow menu.
|
|
7617
|
+
*/
|
|
7111
7618
|
onDelete?: () => void;
|
|
7619
|
+
/**
|
|
7620
|
+
* Formatter for the card's timestamp. Receives the `createdAt` Date and returns
|
|
7621
|
+
* the string to display. Lets consumers localize or swap the relative/absolute format.
|
|
7622
|
+
*/
|
|
7112
7623
|
formatTimestamp?: (date: Date) => string;
|
|
7624
|
+
/**
|
|
7625
|
+
* Additional CSS class name applied to the card root
|
|
7626
|
+
*/
|
|
7113
7627
|
className?: string;
|
|
7628
|
+
/**
|
|
7629
|
+
* Inline styles applied to the card root
|
|
7630
|
+
*/
|
|
7114
7631
|
style?: CSSProperties;
|
|
7115
7632
|
}
|
|
7116
7633
|
//#endregion
|
|
@@ -7134,28 +7651,106 @@ declare const DsCommentCard: ({
|
|
|
7134
7651
|
//#endregion
|
|
7135
7652
|
//#region src/components/ds-comment-bubble/ds-comment-bubble.types.d.ts
|
|
7136
7653
|
interface DsCommentBubbleProps {
|
|
7654
|
+
/**
|
|
7655
|
+
* Ref forwarded to the bubble root element
|
|
7656
|
+
*/
|
|
7137
7657
|
ref?: Ref<HTMLDivElement>;
|
|
7658
|
+
/**
|
|
7659
|
+
* Existing comment thread rendered inside the bubble. Omit to render an empty
|
|
7660
|
+
* bubble for composing a new comment.
|
|
7661
|
+
*/
|
|
7138
7662
|
comment?: CommentData;
|
|
7663
|
+
/**
|
|
7664
|
+
* The user currently viewing the bubble. Used to decide whether thread messages
|
|
7665
|
+
* can be edited or deleted by the viewer.
|
|
7666
|
+
*/
|
|
7139
7667
|
currentUser?: CommentAuthor;
|
|
7668
|
+
/**
|
|
7669
|
+
* Hide the "action required" checkbox and the associated visual highlight.
|
|
7670
|
+
* @default false
|
|
7671
|
+
*/
|
|
7140
7672
|
hideActionRequired?: boolean;
|
|
7673
|
+
/**
|
|
7674
|
+
* Whether the comment is flagged as requiring action. Drives the action-required
|
|
7675
|
+
* highlight and the checkbox state.
|
|
7676
|
+
* @default false
|
|
7677
|
+
*/
|
|
7141
7678
|
actionRequired?: boolean;
|
|
7679
|
+
/**
|
|
7680
|
+
* Called when the "action required" checkbox is toggled. Receives the new checked state.
|
|
7681
|
+
*/
|
|
7142
7682
|
onActionRequiredChange?: (checked: boolean) => void;
|
|
7683
|
+
/**
|
|
7684
|
+
* Current value of the reply / new-comment textarea (controlled)
|
|
7685
|
+
*/
|
|
7143
7686
|
value?: string;
|
|
7687
|
+
/**
|
|
7688
|
+
* Called whenever the textarea value changes. Receives the new string value.
|
|
7689
|
+
*/
|
|
7144
7690
|
onValueChange?: (value: string) => void;
|
|
7691
|
+
/**
|
|
7692
|
+
* Called when the user submits the textarea content (clicks send or presses Enter).
|
|
7693
|
+
* Receives the message content and the current action-required flag.
|
|
7694
|
+
*/
|
|
7145
7695
|
onSend?: (content: string, actionRequired: boolean) => void;
|
|
7696
|
+
/**
|
|
7697
|
+
* Called when the bubble should be dismissed (e.g., clicking outside an empty bubble
|
|
7698
|
+
* or pressing the close affordance).
|
|
7699
|
+
*/
|
|
7146
7700
|
onClose?: () => void;
|
|
7701
|
+
/**
|
|
7702
|
+
* Called when the user resolves the top-level comment from the bubble header menu.
|
|
7703
|
+
*/
|
|
7147
7704
|
onResolve?: () => void;
|
|
7705
|
+
/**
|
|
7706
|
+
* Called when the user toggles the top-level comment's action-required flag from
|
|
7707
|
+
* the bubble header menu.
|
|
7708
|
+
*/
|
|
7148
7709
|
onToggleActionRequired?: () => void;
|
|
7710
|
+
/**
|
|
7711
|
+
* Called when the user forwards the top-level comment from the bubble header menu.
|
|
7712
|
+
*/
|
|
7149
7713
|
onForward?: () => void;
|
|
7714
|
+
/**
|
|
7715
|
+
* Called when the user marks the top-level comment as unread from the bubble header menu.
|
|
7716
|
+
*/
|
|
7150
7717
|
onMarkUnread?: () => void;
|
|
7718
|
+
/**
|
|
7719
|
+
* Called when the user copies a link to the top-level comment.
|
|
7720
|
+
*/
|
|
7151
7721
|
onCopyLink?: () => void;
|
|
7722
|
+
/**
|
|
7723
|
+
* Called when the user deletes the top-level comment.
|
|
7724
|
+
*/
|
|
7152
7725
|
onDelete?: () => void;
|
|
7726
|
+
/**
|
|
7727
|
+
* Called when a thread message is edited. Receives the message id and the new content.
|
|
7728
|
+
*/
|
|
7153
7729
|
onEditMessage?: (messageId: string, newContent: string) => void;
|
|
7730
|
+
/**
|
|
7731
|
+
* Called when a thread message is deleted. Receives the message id.
|
|
7732
|
+
*/
|
|
7154
7733
|
onDeleteMessage?: (messageId: string) => void;
|
|
7734
|
+
/**
|
|
7735
|
+
* Called when a thread message is marked as unread. Receives the message id.
|
|
7736
|
+
*/
|
|
7155
7737
|
onMessageMarkUnread?: (messageId: string) => void;
|
|
7738
|
+
/**
|
|
7739
|
+
* Called when a thread message is resolved. Receives the message id.
|
|
7740
|
+
*/
|
|
7156
7741
|
onMessageResolved?: (messageId: string) => void;
|
|
7742
|
+
/**
|
|
7743
|
+
* Optional reference chip shown in the bubble header. A string is rendered as a
|
|
7744
|
+
* `DsTag` with a sell icon; any other `ReactNode` is rendered verbatim.
|
|
7745
|
+
*/
|
|
7157
7746
|
referenceTag?: ReactNode;
|
|
7747
|
+
/**
|
|
7748
|
+
* Additional CSS class name applied to the bubble root
|
|
7749
|
+
*/
|
|
7158
7750
|
className?: string;
|
|
7751
|
+
/**
|
|
7752
|
+
* Inline styles applied to the bubble root
|
|
7753
|
+
*/
|
|
7159
7754
|
style?: CSSProperties;
|
|
7160
7755
|
}
|
|
7161
7756
|
//#endregion
|
|
@@ -7188,13 +7783,39 @@ declare const DsCommentBubble: ({
|
|
|
7188
7783
|
//#endregion
|
|
7189
7784
|
//#region src/components/ds-comment-bubble/components/ds-comment-thread/ds-comment-thread.types.d.ts
|
|
7190
7785
|
interface DsCommentThreadProps {
|
|
7786
|
+
/**
|
|
7787
|
+
* Ordered list of messages in the thread, from oldest to newest.
|
|
7788
|
+
*/
|
|
7191
7789
|
messages: CommentMessage[];
|
|
7790
|
+
/**
|
|
7791
|
+
* Author of the top-level comment. Used to visually distinguish their messages
|
|
7792
|
+
* from replies by other participants.
|
|
7793
|
+
*/
|
|
7192
7794
|
commentAuthor: CommentAuthor;
|
|
7795
|
+
/**
|
|
7796
|
+
* The user currently viewing the thread. Used to decide which messages the viewer
|
|
7797
|
+
* can edit or delete.
|
|
7798
|
+
*/
|
|
7193
7799
|
currentUser?: CommentAuthor;
|
|
7800
|
+
/**
|
|
7801
|
+
* Called when a message is edited. Receives the message id and the new content.
|
|
7802
|
+
*/
|
|
7194
7803
|
onEditMessage?: (messageId: string, newContent: string) => void;
|
|
7804
|
+
/**
|
|
7805
|
+
* Called when a message is deleted. Receives the message id.
|
|
7806
|
+
*/
|
|
7195
7807
|
onDeleteMessage?: (messageId: string) => void;
|
|
7808
|
+
/**
|
|
7809
|
+
* Called when a message is marked as unread. Receives the message id.
|
|
7810
|
+
*/
|
|
7196
7811
|
onMarkUnread?: (messageId: string) => void;
|
|
7812
|
+
/**
|
|
7813
|
+
* Called when a message is resolved. Receives the message id.
|
|
7814
|
+
*/
|
|
7197
7815
|
onResolved?: (messageId: string) => void;
|
|
7816
|
+
/**
|
|
7817
|
+
* Additional CSS class name applied to the thread root
|
|
7818
|
+
*/
|
|
7198
7819
|
className?: string;
|
|
7199
7820
|
}
|
|
7200
7821
|
//#endregion
|
|
@@ -7212,16 +7833,54 @@ declare const DsCommentThread: ({
|
|
|
7212
7833
|
//#endregion
|
|
7213
7834
|
//#region src/components/ds-comment-bubble/components/ds-thread-item/ds-thread-item.types.d.ts
|
|
7214
7835
|
interface DsThreadItemProps {
|
|
7836
|
+
/**
|
|
7837
|
+
* Stable identifier for the message. Passed to callbacks to identify which
|
|
7838
|
+
* message the user acted on.
|
|
7839
|
+
*/
|
|
7215
7840
|
id: string;
|
|
7841
|
+
/**
|
|
7842
|
+
* Author of the message
|
|
7843
|
+
*/
|
|
7216
7844
|
author: CommentAuthor;
|
|
7845
|
+
/**
|
|
7846
|
+
* Text content of the message
|
|
7847
|
+
*/
|
|
7217
7848
|
content: string;
|
|
7849
|
+
/**
|
|
7850
|
+
* Timestamp when the message was created
|
|
7851
|
+
*/
|
|
7218
7852
|
createdAt: Date;
|
|
7853
|
+
/**
|
|
7854
|
+
* Whether this message was posted by the author of the top-level comment.
|
|
7855
|
+
* Styled slightly differently from replies by other participants.
|
|
7856
|
+
* @default false
|
|
7857
|
+
*/
|
|
7219
7858
|
isCommentAuthorMessage?: boolean;
|
|
7859
|
+
/**
|
|
7860
|
+
* Whether the current viewer can edit or delete this message. Typically true
|
|
7861
|
+
* only when the viewer is the message's author.
|
|
7862
|
+
* @default false
|
|
7863
|
+
*/
|
|
7220
7864
|
canModify?: boolean;
|
|
7865
|
+
/**
|
|
7866
|
+
* Called when the viewer saves an edit. Receives the message id and the new content.
|
|
7867
|
+
*/
|
|
7221
7868
|
onEdit?: (messageId: string, newContent: string) => void;
|
|
7869
|
+
/**
|
|
7870
|
+
* Called when the viewer deletes the message. Receives the message id.
|
|
7871
|
+
*/
|
|
7222
7872
|
onDelete?: (messageId: string) => void;
|
|
7873
|
+
/**
|
|
7874
|
+
* Called when the viewer marks the message as unread. Receives the message id.
|
|
7875
|
+
*/
|
|
7223
7876
|
onMarkUnread?: (messageId: string) => void;
|
|
7877
|
+
/**
|
|
7878
|
+
* Called when the viewer resolves the message. Receives the message id.
|
|
7879
|
+
*/
|
|
7224
7880
|
onResolved?: (messageId: string) => void;
|
|
7881
|
+
/**
|
|
7882
|
+
* Additional CSS class name applied to the item root
|
|
7883
|
+
*/
|
|
7225
7884
|
className?: string;
|
|
7226
7885
|
}
|
|
7227
7886
|
//#endregion
|
|
@@ -7243,12 +7902,38 @@ declare const DsThreadItem: ({
|
|
|
7243
7902
|
//#region src/components/ds-comment-indicator/ds-comment-indicator.types.d.ts
|
|
7244
7903
|
type CommentIndicatorType = 'placeholder' | 'default' | 'action-required';
|
|
7245
7904
|
interface DsCommentIndicatorProps {
|
|
7905
|
+
/**
|
|
7906
|
+
* Visual state of the indicator:
|
|
7907
|
+
* - `placeholder`: dashed outline for "click here to add a comment" affordances
|
|
7908
|
+
* - `default`: filled pin showing an existing comment
|
|
7909
|
+
* - `action-required`: emphasized pin for comments flagged as requiring action
|
|
7910
|
+
* @default default
|
|
7911
|
+
*/
|
|
7246
7912
|
type?: CommentIndicatorType;
|
|
7913
|
+
/**
|
|
7914
|
+
* Optional URL to the author's avatar image shown inside the pin
|
|
7915
|
+
*/
|
|
7247
7916
|
avatarSrc?: string;
|
|
7917
|
+
/**
|
|
7918
|
+
* Author display name used to derive fallback avatar initials when `avatarSrc`
|
|
7919
|
+
* is not provided
|
|
7920
|
+
*/
|
|
7248
7921
|
avatarName?: string;
|
|
7922
|
+
/**
|
|
7923
|
+
* Called when the indicator is clicked (e.g., to open the comment bubble)
|
|
7924
|
+
*/
|
|
7249
7925
|
onClick?: () => void;
|
|
7926
|
+
/**
|
|
7927
|
+
* Ref forwarded to the indicator root button element
|
|
7928
|
+
*/
|
|
7250
7929
|
ref?: Ref<HTMLButtonElement>;
|
|
7930
|
+
/**
|
|
7931
|
+
* Additional CSS class name applied to the indicator root
|
|
7932
|
+
*/
|
|
7251
7933
|
className?: string;
|
|
7934
|
+
/**
|
|
7935
|
+
* Inline styles applied to the indicator root
|
|
7936
|
+
*/
|
|
7252
7937
|
style?: CSSProperties;
|
|
7253
7938
|
}
|
|
7254
7939
|
//#endregion
|
|
@@ -7265,23 +7950,87 @@ declare const DsCommentIndicator: ({
|
|
|
7265
7950
|
//#endregion
|
|
7266
7951
|
//#region src/components/ds-comments-drawer/ds-comments-drawer.types.d.ts
|
|
7267
7952
|
interface DsCommentsDrawerProps {
|
|
7953
|
+
/**
|
|
7954
|
+
* Ref forwarded to the drawer root element
|
|
7955
|
+
*/
|
|
7268
7956
|
ref?: Ref<HTMLElement>;
|
|
7957
|
+
/**
|
|
7958
|
+
* Whether the drawer is visible
|
|
7959
|
+
*/
|
|
7269
7960
|
open: boolean;
|
|
7961
|
+
/**
|
|
7962
|
+
* Called when the drawer should open or close (e.g., backdrop click, close button,
|
|
7963
|
+
* escape key). Receives the next `open` state.
|
|
7964
|
+
*/
|
|
7270
7965
|
onOpenChange: (open: boolean) => void;
|
|
7966
|
+
/**
|
|
7967
|
+
* List of comment threads to render in the drawer
|
|
7968
|
+
*/
|
|
7271
7969
|
comments: CommentData[];
|
|
7970
|
+
/**
|
|
7971
|
+
* Whether resolved comments are currently included in the visible list.
|
|
7972
|
+
* @default false
|
|
7973
|
+
*/
|
|
7272
7974
|
showResolved?: boolean;
|
|
7975
|
+
/**
|
|
7976
|
+
* Called when the "show resolved" toggle changes. Receives the new boolean value.
|
|
7977
|
+
*/
|
|
7273
7978
|
onShowResolvedChange?: (show: boolean) => void;
|
|
7979
|
+
/**
|
|
7980
|
+
* Current value of the search input (controlled)
|
|
7981
|
+
*/
|
|
7274
7982
|
searchQuery?: string;
|
|
7983
|
+
/**
|
|
7984
|
+
* Called when the search query changes. Receives the new query string.
|
|
7985
|
+
*/
|
|
7275
7986
|
onSearchChange?: (query: string) => void;
|
|
7987
|
+
/**
|
|
7988
|
+
* Called when a comment card is clicked. Receives the full comment so consumers
|
|
7989
|
+
* can open the thread in a bubble or scroll to its anchor.
|
|
7990
|
+
*/
|
|
7276
7991
|
onCommentClick?: (comment: CommentData) => void;
|
|
7992
|
+
/**
|
|
7993
|
+
* Called when a comment is resolved from its card overflow menu. Receives the
|
|
7994
|
+
* comment id.
|
|
7995
|
+
*/
|
|
7277
7996
|
onResolveComment?: (commentId: string) => void;
|
|
7997
|
+
/**
|
|
7998
|
+
* Called when a comment's action-required flag is toggled from its card overflow
|
|
7999
|
+
* menu. Receives the comment id.
|
|
8000
|
+
*/
|
|
7278
8001
|
onToggleActionRequired?: (commentId: string) => void;
|
|
8002
|
+
/**
|
|
8003
|
+
* Called when a comment is forwarded from its card overflow menu. Receives the
|
|
8004
|
+
* comment id.
|
|
8005
|
+
*/
|
|
7279
8006
|
onForward?: (commentId: string) => void;
|
|
8007
|
+
/**
|
|
8008
|
+
* Called when a comment is marked as unread from its card overflow menu. Receives
|
|
8009
|
+
* the comment id.
|
|
8010
|
+
*/
|
|
7280
8011
|
onMarkUnread?: (commentId: string) => void;
|
|
8012
|
+
/**
|
|
8013
|
+
* Called when a link to the comment is copied from its card overflow menu.
|
|
8014
|
+
* Receives the comment id.
|
|
8015
|
+
*/
|
|
7281
8016
|
onCopyLink?: (commentId: string) => void;
|
|
8017
|
+
/**
|
|
8018
|
+
* Called when a comment is deleted from its card overflow menu. Receives the
|
|
8019
|
+
* comment id.
|
|
8020
|
+
*/
|
|
7282
8021
|
onDelete?: (commentId: string) => void;
|
|
8022
|
+
/**
|
|
8023
|
+
* Custom empty-state content shown when the comments list is empty after
|
|
8024
|
+
* applying filters and search. Defaults to a built-in placeholder when omitted.
|
|
8025
|
+
*/
|
|
7283
8026
|
noCommentsMessage?: ReactNode;
|
|
8027
|
+
/**
|
|
8028
|
+
* Additional CSS class name applied to the drawer root
|
|
8029
|
+
*/
|
|
7284
8030
|
className?: string;
|
|
8031
|
+
/**
|
|
8032
|
+
* Inline styles applied to the drawer root
|
|
8033
|
+
*/
|
|
7285
8034
|
style?: CSSProperties;
|
|
7286
8035
|
}
|
|
7287
8036
|
//#endregion
|
|
@@ -7308,16 +8057,49 @@ declare const DsCommentsDrawer: ({
|
|
|
7308
8057
|
//#endregion
|
|
7309
8058
|
//#region src/components/ds-comments-drawer/comments-filters.types.d.ts
|
|
7310
8059
|
interface FilterTag {
|
|
8060
|
+
/**
|
|
8061
|
+
* Stable identifier for the chip, used when removing it from the filter state
|
|
8062
|
+
*/
|
|
7311
8063
|
id: string;
|
|
8064
|
+
/**
|
|
8065
|
+
* Human-readable label rendered inside the chip
|
|
8066
|
+
*/
|
|
7312
8067
|
label: string;
|
|
8068
|
+
/**
|
|
8069
|
+
* Identifier of the filter category this chip belongs to (e.g., `authors`,
|
|
8070
|
+
* `labels`, `statuses`). Maps to a key on `CommentsFilterState`.
|
|
8071
|
+
*/
|
|
7313
8072
|
filterId: string;
|
|
8073
|
+
/**
|
|
8074
|
+
* Underlying filter value this chip represents (e.g., an author id or a status
|
|
8075
|
+
* value). Used to remove the value from the corresponding array in
|
|
8076
|
+
* `CommentsFilterState`.
|
|
8077
|
+
*/
|
|
7314
8078
|
value: string;
|
|
7315
8079
|
}
|
|
7316
8080
|
interface CommentsFilterState {
|
|
8081
|
+
/**
|
|
8082
|
+
* Author ids currently included in the filter. Empty array means no author
|
|
8083
|
+
* filter is applied.
|
|
8084
|
+
*/
|
|
7317
8085
|
authors: string[];
|
|
8086
|
+
/**
|
|
8087
|
+
* Lower bound of the createdAt range as an ISO date string, inclusive.
|
|
8088
|
+
*/
|
|
7318
8089
|
dateFrom?: string;
|
|
8090
|
+
/**
|
|
8091
|
+
* Upper bound of the createdAt range as an ISO date string, inclusive.
|
|
8092
|
+
*/
|
|
7319
8093
|
dateTo?: string;
|
|
8094
|
+
/**
|
|
8095
|
+
* Label strings currently included in the filter. Empty array means no label
|
|
8096
|
+
* filter is applied.
|
|
8097
|
+
*/
|
|
7320
8098
|
labels: string[];
|
|
8099
|
+
/**
|
|
8100
|
+
* Status buckets currently included in the filter. Empty array means all
|
|
8101
|
+
* statuses are shown.
|
|
8102
|
+
*/
|
|
7321
8103
|
statuses: ('unresolved' | 'resolved' | 'action-required')[];
|
|
7322
8104
|
}
|
|
7323
8105
|
//#endregion
|
|
@@ -7351,13 +8133,9 @@ interface DsConfirmationProps {
|
|
|
7351
8133
|
}
|
|
7352
8134
|
//#endregion
|
|
7353
8135
|
//#region src/components/ds-confirmation/ds-confirmation.d.ts
|
|
7354
|
-
|
|
7355
|
-
|
|
7356
|
-
|
|
7357
|
-
*/
|
|
7358
|
-
declare const DsConfirmation: {
|
|
7359
|
-
(props: DsConfirmationProps): _$react_jsx_runtime0.JSX.Element;
|
|
7360
|
-
Header: ({
|
|
8136
|
+
declare function DsConfirmation(props: DsConfirmationProps): _$react_jsx_runtime0.JSX.Element;
|
|
8137
|
+
declare namespace DsConfirmation {
|
|
8138
|
+
var Header: ({
|
|
7361
8139
|
style,
|
|
7362
8140
|
className,
|
|
7363
8141
|
children
|
|
@@ -7366,7 +8144,9 @@ declare const DsConfirmation: {
|
|
|
7366
8144
|
className?: string;
|
|
7367
8145
|
children: _$react.ReactNode;
|
|
7368
8146
|
}) => _$react_jsx_runtime0.JSX.Element;
|
|
7369
|
-
|
|
8147
|
+
}
|
|
8148
|
+
declare namespace DsConfirmation {
|
|
8149
|
+
var Title: ({
|
|
7370
8150
|
style,
|
|
7371
8151
|
className,
|
|
7372
8152
|
children
|
|
@@ -7375,14 +8155,18 @@ declare const DsConfirmation: {
|
|
|
7375
8155
|
className?: string;
|
|
7376
8156
|
children: _$react.ReactNode;
|
|
7377
8157
|
}) => _$react_jsx_runtime0.JSX.Element;
|
|
7378
|
-
|
|
8158
|
+
}
|
|
8159
|
+
declare namespace DsConfirmation {
|
|
8160
|
+
var CloseTrigger: ({
|
|
7379
8161
|
style,
|
|
7380
8162
|
className
|
|
7381
8163
|
}: {
|
|
7382
8164
|
style?: _$react.CSSProperties;
|
|
7383
8165
|
className?: string;
|
|
7384
8166
|
}) => _$react_jsx_runtime0.JSX.Element;
|
|
7385
|
-
|
|
8167
|
+
}
|
|
8168
|
+
declare namespace DsConfirmation {
|
|
8169
|
+
var Body: ({
|
|
7386
8170
|
style,
|
|
7387
8171
|
className,
|
|
7388
8172
|
children
|
|
@@ -7391,7 +8175,9 @@ declare const DsConfirmation: {
|
|
|
7391
8175
|
className?: string;
|
|
7392
8176
|
children: _$react.ReactNode;
|
|
7393
8177
|
}) => _$react_jsx_runtime0.JSX.Element;
|
|
7394
|
-
|
|
8178
|
+
}
|
|
8179
|
+
declare namespace DsConfirmation {
|
|
8180
|
+
var Footer: ({
|
|
7395
8181
|
style,
|
|
7396
8182
|
className,
|
|
7397
8183
|
children
|
|
@@ -7400,7 +8186,9 @@ declare const DsConfirmation: {
|
|
|
7400
8186
|
className?: string;
|
|
7401
8187
|
children: _$react.ReactNode;
|
|
7402
8188
|
}) => _$react_jsx_runtime0.JSX.Element;
|
|
7403
|
-
|
|
8189
|
+
}
|
|
8190
|
+
declare namespace DsConfirmation {
|
|
8191
|
+
var Actions: ({
|
|
7404
8192
|
style,
|
|
7405
8193
|
className,
|
|
7406
8194
|
children
|
|
@@ -7409,7 +8197,7 @@ declare const DsConfirmation: {
|
|
|
7409
8197
|
className?: string;
|
|
7410
8198
|
children: _$react.ReactNode;
|
|
7411
8199
|
}) => _$react_jsx_runtime0.JSX.Element;
|
|
7412
|
-
}
|
|
8200
|
+
}
|
|
7413
8201
|
//#endregion
|
|
7414
8202
|
//#region src/components/ds-date-input/ds-date-input.types.d.ts
|
|
7415
8203
|
/**
|
|
@@ -7463,6 +8251,29 @@ type DsDateInputRangeProps = {
|
|
|
7463
8251
|
* Base props shared across all modes
|
|
7464
8252
|
*/
|
|
7465
8253
|
type DsDateInputBaseProps = Pick<DatePickerRootProps, 'disabled' | 'readOnly' | 'id' | 'open' | 'name' | 'style'> & {
|
|
8254
|
+
/**
|
|
8255
|
+
* Unique identifier for the input field
|
|
8256
|
+
*/
|
|
8257
|
+
id?: string;
|
|
8258
|
+
/**
|
|
8259
|
+
* HTML name attribute for the input field, used in form submissions
|
|
8260
|
+
*/
|
|
8261
|
+
name?: string;
|
|
8262
|
+
/**
|
|
8263
|
+
* Whether the input is disabled and cannot be interacted with
|
|
8264
|
+
* @default false
|
|
8265
|
+
*/
|
|
8266
|
+
disabled?: boolean;
|
|
8267
|
+
/**
|
|
8268
|
+
* Whether the input is read-only. The field is focusable but the value cannot
|
|
8269
|
+
* be changed.
|
|
8270
|
+
* @default false
|
|
8271
|
+
*/
|
|
8272
|
+
readOnly?: boolean;
|
|
8273
|
+
/**
|
|
8274
|
+
* Whether the calendar popover is open (controlled). Pair with `onOpenChange`.
|
|
8275
|
+
*/
|
|
8276
|
+
open?: boolean;
|
|
7466
8277
|
/**
|
|
7467
8278
|
* Callback when the open state changes
|
|
7468
8279
|
* @param open - Whether the calendar is open
|
|
@@ -7531,7 +8342,7 @@ declare const DsDateInput: ({
|
|
|
7531
8342
|
}: DsDateInputProps) => _$react_jsx_runtime0.JSX.Element;
|
|
7532
8343
|
//#endregion
|
|
7533
8344
|
//#region src/components/ds-text-input/ds-text-input.types.d.ts
|
|
7534
|
-
declare const textInputSizes: readonly [
|
|
8345
|
+
declare const textInputSizes: readonly ['small', 'default'];
|
|
7535
8346
|
type TextInputSize = (typeof textInputSizes)[number];
|
|
7536
8347
|
interface DsTextInputProps {
|
|
7537
8348
|
/**
|
|
@@ -7541,7 +8352,7 @@ interface DsTextInputProps {
|
|
|
7541
8352
|
/**
|
|
7542
8353
|
* The ref to the input field
|
|
7543
8354
|
*/
|
|
7544
|
-
ref?: React.Ref<HTMLInputElement>;
|
|
8355
|
+
ref?: React$1.Ref<HTMLInputElement>;
|
|
7545
8356
|
/**
|
|
7546
8357
|
* The name of the input field
|
|
7547
8358
|
*/
|
|
@@ -7559,21 +8370,21 @@ interface DsTextInputProps {
|
|
|
7559
8370
|
/**
|
|
7560
8371
|
* Event handler called when the input field receives focus
|
|
7561
8372
|
*/
|
|
7562
|
-
onFocus?: (event: React.FocusEvent<HTMLInputElement>) => void;
|
|
8373
|
+
onFocus?: (event: React$1.FocusEvent<HTMLInputElement>) => void;
|
|
7563
8374
|
/**
|
|
7564
8375
|
* Event handler called when the input field loses focus
|
|
7565
8376
|
*
|
|
7566
8377
|
* @param event
|
|
7567
8378
|
*/
|
|
7568
|
-
onBlur?: (event: React.FocusEvent<HTMLInputElement>) => void;
|
|
8379
|
+
onBlur?: (event: React$1.FocusEvent<HTMLInputElement>) => void;
|
|
7569
8380
|
/**
|
|
7570
8381
|
* Callback when a key is pressed down
|
|
7571
8382
|
*/
|
|
7572
|
-
onKeyDown?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
|
|
8383
|
+
onKeyDown?: (event: React$1.KeyboardEvent<HTMLInputElement>) => void;
|
|
7573
8384
|
/**
|
|
7574
8385
|
* Callback when the value changes
|
|
7575
8386
|
*/
|
|
7576
|
-
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
8387
|
+
onChange?: (event: React$1.ChangeEvent<HTMLInputElement>) => void;
|
|
7577
8388
|
/**
|
|
7578
8389
|
* Value change event handler (provides just the value)
|
|
7579
8390
|
*/
|
|
@@ -7585,7 +8396,7 @@ interface DsTextInputProps {
|
|
|
7585
8396
|
/**
|
|
7586
8397
|
* Additional styles to apply to the component
|
|
7587
8398
|
*/
|
|
7588
|
-
style?: React.CSSProperties;
|
|
8399
|
+
style?: React$1.CSSProperties;
|
|
7589
8400
|
/**
|
|
7590
8401
|
* The placeholder text
|
|
7591
8402
|
*/
|
|
@@ -7627,21 +8438,24 @@ interface DsTextInputProps {
|
|
|
7627
8438
|
* The tabIndex of the input
|
|
7628
8439
|
*/
|
|
7629
8440
|
tabIndex?: number;
|
|
8441
|
+
/**
|
|
8442
|
+
* Optional render slots for customizing parts of the input.
|
|
8443
|
+
*/
|
|
7630
8444
|
slots?: {
|
|
7631
8445
|
/**
|
|
7632
8446
|
* Custom component to wrap the input element
|
|
7633
8447
|
*/
|
|
7634
8448
|
inputWrapper?: ComponentType<{
|
|
7635
|
-
children: React.ReactNode;
|
|
8449
|
+
children: React$1.ReactNode;
|
|
7636
8450
|
}>;
|
|
7637
8451
|
/**
|
|
7638
8452
|
* Adornment to display at the start of the input
|
|
7639
8453
|
*/
|
|
7640
|
-
startAdornment?: React.ReactNode;
|
|
8454
|
+
startAdornment?: React$1.ReactNode;
|
|
7641
8455
|
/**
|
|
7642
8456
|
* Adornment to display at the end of the input
|
|
7643
8457
|
*/
|
|
7644
|
-
endAdornment?: React.ReactNode;
|
|
8458
|
+
endAdornment?: React$1.ReactNode;
|
|
7645
8459
|
};
|
|
7646
8460
|
}
|
|
7647
8461
|
//#endregion
|
|
@@ -7650,17 +8464,58 @@ declare const DsTextInput: FC<DsTextInputProps>;
|
|
|
7650
8464
|
//#endregion
|
|
7651
8465
|
//#region src/components/ds-time-picker/ds-time-picker.types.d.ts
|
|
7652
8466
|
interface DsTimePickerProps {
|
|
8467
|
+
/**
|
|
8468
|
+
* Unique identifier for the input field
|
|
8469
|
+
*/
|
|
7653
8470
|
id?: string;
|
|
8471
|
+
/**
|
|
8472
|
+
* Ref forwarded to the time picker root element
|
|
8473
|
+
*/
|
|
7654
8474
|
ref?: RefObject<HTMLDivElement>;
|
|
8475
|
+
/**
|
|
8476
|
+
* Additional CSS class name applied to the root element
|
|
8477
|
+
*/
|
|
7655
8478
|
className?: string;
|
|
8479
|
+
/**
|
|
8480
|
+
* Current selected time (controlled). Use `null` to represent no selection.
|
|
8481
|
+
* Pair with `onChange`.
|
|
8482
|
+
*/
|
|
7656
8483
|
value?: Date | null;
|
|
8484
|
+
/**
|
|
8485
|
+
* Initial time when uncontrolled.
|
|
8486
|
+
*/
|
|
7657
8487
|
defaultValue?: Date;
|
|
8488
|
+
/**
|
|
8489
|
+
* Whether the popover is open (controlled). Pair with `onOpenChange`.
|
|
8490
|
+
*/
|
|
7658
8491
|
open?: boolean;
|
|
8492
|
+
/**
|
|
8493
|
+
* Whether the popover is initially open when uncontrolled.
|
|
8494
|
+
* @default false
|
|
8495
|
+
*/
|
|
7659
8496
|
defaultOpen?: boolean;
|
|
8497
|
+
/**
|
|
8498
|
+
* Placeholder text shown in the input when no time is selected.
|
|
8499
|
+
*/
|
|
7660
8500
|
placeholder?: string;
|
|
8501
|
+
/**
|
|
8502
|
+
* Earliest selectable time. Times before this are disabled.
|
|
8503
|
+
*/
|
|
7661
8504
|
min?: Date;
|
|
8505
|
+
/**
|
|
8506
|
+
* Latest selectable time. Times after this are disabled.
|
|
8507
|
+
*/
|
|
7662
8508
|
max?: Date;
|
|
8509
|
+
/**
|
|
8510
|
+
* Whether the picker is disabled and cannot be interacted with.
|
|
8511
|
+
* @default false
|
|
8512
|
+
*/
|
|
7663
8513
|
disabled?: boolean;
|
|
8514
|
+
/**
|
|
8515
|
+
* Whether the picker is read-only. The input is focusable but the value cannot
|
|
8516
|
+
* be changed.
|
|
8517
|
+
* @default false
|
|
8518
|
+
*/
|
|
7664
8519
|
readOnly?: boolean;
|
|
7665
8520
|
/**
|
|
7666
8521
|
* Whether to hide the clear button
|
|
@@ -7672,20 +8527,58 @@ interface DsTimePickerProps {
|
|
|
7672
8527
|
* @default false
|
|
7673
8528
|
*/
|
|
7674
8529
|
disablePortal?: boolean;
|
|
8530
|
+
/**
|
|
8531
|
+
* Localized labels used in the picker UI and for accessibility.
|
|
8532
|
+
*/
|
|
7675
8533
|
locale?: DsTimePickerLocale;
|
|
8534
|
+
/**
|
|
8535
|
+
* Props forwarded to the internal input and popover slots.
|
|
8536
|
+
*/
|
|
7676
8537
|
slotProps?: DsTimePickerSlotProps;
|
|
8538
|
+
/**
|
|
8539
|
+
* Called when the selected time changes. Receives the new Date or `null` when
|
|
8540
|
+
* cleared.
|
|
8541
|
+
*/
|
|
7677
8542
|
onChange?: (value: Date | null) => void;
|
|
8543
|
+
/**
|
|
8544
|
+
* Called when the popover opens or closes. Receives the next `open` state.
|
|
8545
|
+
*/
|
|
7678
8546
|
onOpenChange?: (open: boolean) => void;
|
|
8547
|
+
/**
|
|
8548
|
+
* Called when the input is blurred
|
|
8549
|
+
*/
|
|
8550
|
+
onBlur?: () => void;
|
|
7679
8551
|
}
|
|
7680
8552
|
interface DsTimePickerLocale {
|
|
8553
|
+
/**
|
|
8554
|
+
* aria-label for the button that opens the popover
|
|
8555
|
+
*/
|
|
7681
8556
|
openLabel?: string;
|
|
8557
|
+
/**
|
|
8558
|
+
* aria-label for the clear button
|
|
8559
|
+
*/
|
|
7682
8560
|
clearLabel?: string;
|
|
8561
|
+
/**
|
|
8562
|
+
* aria-label for the hour scroller
|
|
8563
|
+
*/
|
|
7683
8564
|
hourLabel?: string;
|
|
8565
|
+
/**
|
|
8566
|
+
* aria-label for the minute scroller
|
|
8567
|
+
*/
|
|
7684
8568
|
minuteLabel?: string;
|
|
8569
|
+
/**
|
|
8570
|
+
* aria-label for the AM/PM period scroller
|
|
8571
|
+
*/
|
|
7685
8572
|
periodLabel?: string;
|
|
7686
8573
|
}
|
|
7687
8574
|
interface DsTimePickerSlotProps {
|
|
8575
|
+
/**
|
|
8576
|
+
* Props forwarded to the underlying `DsTextInput` that displays the selected time.
|
|
8577
|
+
*/
|
|
7688
8578
|
input?: DsTextInputProps;
|
|
8579
|
+
/**
|
|
8580
|
+
* Props forwarded to the Ark popover content that hosts the time scrollers.
|
|
8581
|
+
*/
|
|
7689
8582
|
popover?: PopoverContentProps;
|
|
7690
8583
|
}
|
|
7691
8584
|
//#endregion
|
|
@@ -7700,12 +8593,27 @@ declare const formatTime: (date?: Date | null) => string;
|
|
|
7700
8593
|
//#endregion
|
|
7701
8594
|
//#region src/components/ds-date-picker/ds-date-picker.types.d.ts
|
|
7702
8595
|
interface DsDatePickerLocale {
|
|
8596
|
+
/**
|
|
8597
|
+
* aria-label for the button that opens the calendar popover
|
|
8598
|
+
*/
|
|
7703
8599
|
openCalendarLabel?: string;
|
|
8600
|
+
/**
|
|
8601
|
+
* aria-label for the button that reveals the time picker when `withTime` is set
|
|
8602
|
+
*/
|
|
7704
8603
|
timeTriggerLabel?: string;
|
|
8604
|
+
/**
|
|
8605
|
+
* aria-label for the clear button
|
|
8606
|
+
*/
|
|
7705
8607
|
clearLabel?: string;
|
|
7706
8608
|
}
|
|
7707
8609
|
interface DsDatePickerSlotProps {
|
|
8610
|
+
/**
|
|
8611
|
+
* Props forwarded to the underlying `DsTextInput` that displays the selected date.
|
|
8612
|
+
*/
|
|
7708
8613
|
input?: DsTextInputProps;
|
|
8614
|
+
/**
|
|
8615
|
+
* Props forwarded to the nested `DsTimePicker` rendered when `withTime` is set.
|
|
8616
|
+
*/
|
|
7709
8617
|
timePicker?: DsTimePickerProps;
|
|
7710
8618
|
}
|
|
7711
8619
|
interface DsDatePickerProps extends Pick<DatePickerRootProps, 'disabled' | 'readOnly' | 'id' | 'open' | 'name'> {
|
|
@@ -7728,6 +8636,10 @@ interface DsDatePickerProps extends Pick<DatePickerRootProps, 'disabled' | 'read
|
|
|
7728
8636
|
* Callback when the calendar open state changes
|
|
7729
8637
|
*/
|
|
7730
8638
|
onOpenChange?: (open: boolean) => void;
|
|
8639
|
+
/**
|
|
8640
|
+
* Callback when the input is blurred
|
|
8641
|
+
*/
|
|
8642
|
+
onBlur?: () => void;
|
|
7731
8643
|
/**
|
|
7732
8644
|
* Minimum allowed datetime as Date object
|
|
7733
8645
|
*/
|
|
@@ -7784,6 +8696,7 @@ declare const DsDatePicker: ({
|
|
|
7784
8696
|
slotProps,
|
|
7785
8697
|
onChange,
|
|
7786
8698
|
onOpenChange,
|
|
8699
|
+
onBlur,
|
|
7787
8700
|
value: _value,
|
|
7788
8701
|
defaultValue: _defaultValue,
|
|
7789
8702
|
min: _min,
|
|
@@ -7803,7 +8716,7 @@ interface DsNumberInputProps {
|
|
|
7803
8716
|
/**
|
|
7804
8717
|
* The ref to the input field
|
|
7805
8718
|
*/
|
|
7806
|
-
ref?: React.Ref<HTMLInputElement>;
|
|
8719
|
+
ref?: React$1.Ref<HTMLInputElement>;
|
|
7807
8720
|
/**
|
|
7808
8721
|
* The name of the input field
|
|
7809
8722
|
*/
|
|
@@ -7818,12 +8731,12 @@ interface DsNumberInputProps {
|
|
|
7818
8731
|
*
|
|
7819
8732
|
* @param event
|
|
7820
8733
|
*/
|
|
7821
|
-
onBlur?: (event: React.FocusEvent<HTMLInputElement>) => void;
|
|
8734
|
+
onBlur?: (event: React$1.FocusEvent<HTMLInputElement>) => void;
|
|
7822
8735
|
/**
|
|
7823
8736
|
* Callback when the value changes (native input onChange event)
|
|
7824
8737
|
* This is provided for compatibility but onValueChange is preferred
|
|
7825
8738
|
*/
|
|
7826
|
-
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
8739
|
+
onChange?: (event: React$1.ChangeEvent<HTMLInputElement>) => void;
|
|
7827
8740
|
/**
|
|
7828
8741
|
* Value change event handler (provides just the number value)
|
|
7829
8742
|
* This is the preferred way to handle value changes
|
|
@@ -7836,7 +8749,7 @@ interface DsNumberInputProps {
|
|
|
7836
8749
|
/**
|
|
7837
8750
|
* Additional styles to apply to the component
|
|
7838
8751
|
*/
|
|
7839
|
-
style?: React.CSSProperties;
|
|
8752
|
+
style?: React$1.CSSProperties;
|
|
7840
8753
|
/**
|
|
7841
8754
|
* The placeholder text
|
|
7842
8755
|
*/
|
|
@@ -7882,7 +8795,7 @@ interface DsPasswordInputProps {
|
|
|
7882
8795
|
/**
|
|
7883
8796
|
* The ref to the input field
|
|
7884
8797
|
*/
|
|
7885
|
-
ref?: React.Ref<HTMLInputElement>;
|
|
8798
|
+
ref?: React$1.Ref<HTMLInputElement>;
|
|
7886
8799
|
/**
|
|
7887
8800
|
* The name of the input field
|
|
7888
8801
|
*/
|
|
@@ -7897,12 +8810,12 @@ interface DsPasswordInputProps {
|
|
|
7897
8810
|
*
|
|
7898
8811
|
* @param event
|
|
7899
8812
|
*/
|
|
7900
|
-
onBlur?: (event: React.FocusEvent<HTMLInputElement>) => void;
|
|
8813
|
+
onBlur?: (event: React$1.FocusEvent<HTMLInputElement>) => void;
|
|
7901
8814
|
/**
|
|
7902
8815
|
* Callback when the value changes (native input onChange event)
|
|
7903
8816
|
* This is provided for compatibility but onValueChange is preferred
|
|
7904
8817
|
*/
|
|
7905
|
-
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
8818
|
+
onChange?: (event: React$1.ChangeEvent<HTMLInputElement>) => void;
|
|
7906
8819
|
/**
|
|
7907
8820
|
* Value change event handler (provides just the string value)
|
|
7908
8821
|
* This is the preferred way to handle value changes
|
|
@@ -7915,7 +8828,7 @@ interface DsPasswordInputProps {
|
|
|
7915
8828
|
/**
|
|
7916
8829
|
* Additional styles to apply to the component
|
|
7917
8830
|
*/
|
|
7918
|
-
style?: React.CSSProperties;
|
|
8831
|
+
style?: React$1.CSSProperties;
|
|
7919
8832
|
/**
|
|
7920
8833
|
* The placeholder text
|
|
7921
8834
|
*/
|
|
@@ -7947,7 +8860,7 @@ interface DsTextareaProps {
|
|
|
7947
8860
|
/**
|
|
7948
8861
|
* The ref to the textarea element
|
|
7949
8862
|
*/
|
|
7950
|
-
ref?: React.Ref<HTMLTextAreaElement>;
|
|
8863
|
+
ref?: React$1.Ref<HTMLTextAreaElement>;
|
|
7951
8864
|
/**
|
|
7952
8865
|
* The name of the textarea
|
|
7953
8866
|
*/
|
|
@@ -7957,11 +8870,11 @@ interface DsTextareaProps {
|
|
|
7957
8870
|
*
|
|
7958
8871
|
* @param event
|
|
7959
8872
|
*/
|
|
7960
|
-
onBlur?: (event: React.FocusEvent<HTMLTextAreaElement>) => void;
|
|
8873
|
+
onBlur?: (event: React$1.FocusEvent<HTMLTextAreaElement>) => void;
|
|
7961
8874
|
/**
|
|
7962
8875
|
* Callback when the value changes
|
|
7963
8876
|
*/
|
|
7964
|
-
onChange?: (event: React.ChangeEvent<HTMLTextAreaElement>) => void;
|
|
8877
|
+
onChange?: (event: React$1.ChangeEvent<HTMLTextAreaElement>) => void;
|
|
7965
8878
|
/**
|
|
7966
8879
|
* Value change event handler (provides just the value)
|
|
7967
8880
|
*/
|
|
@@ -7973,7 +8886,7 @@ interface DsTextareaProps {
|
|
|
7973
8886
|
/**
|
|
7974
8887
|
* Additional styles to apply to the component
|
|
7975
8888
|
*/
|
|
7976
|
-
style?: React.CSSProperties;
|
|
8889
|
+
style?: React$1.CSSProperties;
|
|
7977
8890
|
/**
|
|
7978
8891
|
* The placeholder text
|
|
7979
8892
|
*/
|
|
@@ -8006,7 +8919,7 @@ interface DsTextareaProps {
|
|
|
8006
8919
|
}
|
|
8007
8920
|
//#endregion
|
|
8008
8921
|
//#region src/components/ds-textarea/ds-textarea.d.ts
|
|
8009
|
-
declare const DsTextarea: React.FC<DsTextareaProps>;
|
|
8922
|
+
declare const DsTextarea: React$1.FC<DsTextareaProps>;
|
|
8010
8923
|
//#endregion
|
|
8011
8924
|
//#region src/components/ds-select/ds-select.types.d.ts
|
|
8012
8925
|
type SelectSize = 'default' | 'small';
|
|
@@ -8037,7 +8950,7 @@ type DsSelectProps = {
|
|
|
8037
8950
|
/**
|
|
8038
8951
|
* Additional styles to apply to the icon
|
|
8039
8952
|
*/
|
|
8040
|
-
style?: React.CSSProperties;
|
|
8953
|
+
style?: React$1.CSSProperties;
|
|
8041
8954
|
/**
|
|
8042
8955
|
* Additional CSS class names
|
|
8043
8956
|
*/
|
|
@@ -8047,7 +8960,7 @@ type DsSelectProps = {
|
|
|
8047
8960
|
*
|
|
8048
8961
|
* @param event
|
|
8049
8962
|
*/
|
|
8050
|
-
onBlur?: (event: React.FocusEvent) => void;
|
|
8963
|
+
onBlur?: (event: React$1.FocusEvent) => void;
|
|
8051
8964
|
/**
|
|
8052
8965
|
* Placeholder text to display when no option is selected
|
|
8053
8966
|
*/
|
|
@@ -8068,14 +8981,35 @@ type DsSelectProps = {
|
|
|
8068
8981
|
*/
|
|
8069
8982
|
renderOption?: (option: DsSelectOption) => ReactNode;
|
|
8070
8983
|
} & ({
|
|
8984
|
+
/**
|
|
8985
|
+
* When `false` or omitted, the select cannot be cleared. `onClear` is not
|
|
8986
|
+
* accepted in this branch.
|
|
8987
|
+
* @default false
|
|
8988
|
+
*/
|
|
8071
8989
|
clearable?: undefined | false;
|
|
8072
8990
|
onClear?: never;
|
|
8073
8991
|
} | {
|
|
8992
|
+
/**
|
|
8993
|
+
* When `true`, renders a clear affordance on the trigger. Pair with `onClear`.
|
|
8994
|
+
*/
|
|
8074
8995
|
clearable: true;
|
|
8996
|
+
/**
|
|
8997
|
+
* Called when the user clicks the clear affordance.
|
|
8998
|
+
*/
|
|
8075
8999
|
onClear?: () => void;
|
|
8076
9000
|
}) & ({
|
|
9001
|
+
/**
|
|
9002
|
+
* Single-selection mode. When `false` or omitted, `value` is a single string.
|
|
9003
|
+
* @default false
|
|
9004
|
+
*/
|
|
8077
9005
|
multiple?: undefined | false;
|
|
9006
|
+
/**
|
|
9007
|
+
* Currently selected option value (controlled).
|
|
9008
|
+
*/
|
|
8078
9009
|
value: SelectOptionValue;
|
|
9010
|
+
/**
|
|
9011
|
+
* Called when the selection changes. Receives the newly selected option value.
|
|
9012
|
+
*/
|
|
8079
9013
|
onValueChange?: (value: SelectOptionValue) => void;
|
|
8080
9014
|
/**
|
|
8081
9015
|
* Custom render function for the selected value in the trigger.
|
|
@@ -8084,8 +9018,19 @@ type DsSelectProps = {
|
|
|
8084
9018
|
*/
|
|
8085
9019
|
renderValue?: (selectedOption: DsSelectOption) => ReactNode;
|
|
8086
9020
|
} | {
|
|
9021
|
+
/**
|
|
9022
|
+
* Multi-selection mode. When `true`, `value` is an array of selected option
|
|
9023
|
+
* values and `onValueChange` receives the full updated array.
|
|
9024
|
+
*/
|
|
8087
9025
|
multiple: true;
|
|
9026
|
+
/**
|
|
9027
|
+
* Currently selected option values (controlled).
|
|
9028
|
+
*/
|
|
8088
9029
|
value: SelectOptionValue[];
|
|
9030
|
+
/**
|
|
9031
|
+
* Called when the selection changes. Receives the full updated array of
|
|
9032
|
+
* selected values.
|
|
9033
|
+
*/
|
|
8089
9034
|
onValueChange?: (value: SelectOptionValue[]) => void;
|
|
8090
9035
|
/**
|
|
8091
9036
|
* Custom render function for the selected value in the trigger.
|
|
@@ -8113,9 +9058,9 @@ declare const DsSelect: ({
|
|
|
8113
9058
|
}: DsSelectProps) => _$react_jsx_runtime0.JSX.Element;
|
|
8114
9059
|
//#endregion
|
|
8115
9060
|
//#region src/components/ds-form-control/ds-form-control.types.d.ts
|
|
8116
|
-
declare const controlStatuses: readonly [
|
|
9061
|
+
declare const controlStatuses: readonly ['info', 'success', 'error', 'warning'];
|
|
8117
9062
|
type ControlStatus = (typeof controlStatuses)[number];
|
|
8118
|
-
interface DsFormControlProps extends React.PropsWithChildren {
|
|
9063
|
+
interface DsFormControlProps extends React$1.PropsWithChildren {
|
|
8119
9064
|
/**
|
|
8120
9065
|
* Unique identifier for the control
|
|
8121
9066
|
*/
|
|
@@ -8132,11 +9077,14 @@ interface DsFormControlProps extends React.PropsWithChildren {
|
|
|
8132
9077
|
* Marks the field as required
|
|
8133
9078
|
*/
|
|
8134
9079
|
required?: boolean;
|
|
9080
|
+
/**
|
|
9081
|
+
* Optional render slots for customizing parts of the control.
|
|
9082
|
+
*/
|
|
8135
9083
|
slots?: {
|
|
8136
9084
|
/**
|
|
8137
9085
|
* Adornment to display at the end of the label
|
|
8138
9086
|
*/
|
|
8139
|
-
endAdornment?: React.ReactNode;
|
|
9087
|
+
endAdornment?: React$1.ReactNode;
|
|
8140
9088
|
};
|
|
8141
9089
|
/**
|
|
8142
9090
|
* Message under the control
|
|
@@ -8153,13 +9101,13 @@ interface DsFormControlProps extends React.PropsWithChildren {
|
|
|
8153
9101
|
/**
|
|
8154
9102
|
* Additional styles to apply to the component
|
|
8155
9103
|
*/
|
|
8156
|
-
style?: React.CSSProperties;
|
|
9104
|
+
style?: React$1.CSSProperties;
|
|
8157
9105
|
}
|
|
8158
9106
|
interface DsFormControlDescriptionProps {
|
|
8159
9107
|
/**
|
|
8160
9108
|
* The description content
|
|
8161
9109
|
*/
|
|
8162
|
-
children: React.ReactNode;
|
|
9110
|
+
children: React$1.ReactNode;
|
|
8163
9111
|
/**
|
|
8164
9112
|
* Additional CSS class names
|
|
8165
9113
|
*/
|
|
@@ -8167,42 +9115,74 @@ interface DsFormControlDescriptionProps {
|
|
|
8167
9115
|
}
|
|
8168
9116
|
//#endregion
|
|
8169
9117
|
//#region src/components/ds-form-control/ds-form-control.d.ts
|
|
8170
|
-
declare
|
|
8171
|
-
|
|
8172
|
-
|
|
8173
|
-
|
|
8174
|
-
|
|
8175
|
-
|
|
8176
|
-
|
|
8177
|
-
|
|
8178
|
-
|
|
8179
|
-
|
|
8180
|
-
|
|
8181
|
-
|
|
8182
|
-
|
|
8183
|
-
TextInput: (props: DsTextInputProps) => _$react_jsx_runtime0.JSX.Element;
|
|
8184
|
-
|
|
8185
|
-
|
|
8186
|
-
|
|
8187
|
-
|
|
8188
|
-
|
|
8189
|
-
|
|
8190
|
-
|
|
8191
|
-
|
|
8192
|
-
|
|
9118
|
+
declare function DsFormControl({
|
|
9119
|
+
id,
|
|
9120
|
+
status,
|
|
9121
|
+
label,
|
|
9122
|
+
required,
|
|
9123
|
+
slots,
|
|
9124
|
+
message,
|
|
9125
|
+
messageIcon,
|
|
9126
|
+
className,
|
|
9127
|
+
style,
|
|
9128
|
+
children
|
|
9129
|
+
}: DsFormControlProps): _$react_jsx_runtime0.JSX.Element;
|
|
9130
|
+
declare namespace DsFormControl {
|
|
9131
|
+
var TextInput: (props: DsTextInputProps) => _$react_jsx_runtime0.JSX.Element;
|
|
9132
|
+
}
|
|
9133
|
+
declare namespace DsFormControl {
|
|
9134
|
+
var NumberInput: (props: DsNumberInputProps) => _$react_jsx_runtime0.JSX.Element;
|
|
9135
|
+
}
|
|
9136
|
+
declare namespace DsFormControl {
|
|
9137
|
+
var PasswordInput: (props: DsPasswordInputProps) => _$react_jsx_runtime0.JSX.Element;
|
|
9138
|
+
}
|
|
9139
|
+
declare namespace DsFormControl {
|
|
9140
|
+
var DateInput: (props: DsDateInputProps) => _$react_jsx_runtime0.JSX.Element;
|
|
9141
|
+
}
|
|
9142
|
+
declare namespace DsFormControl {
|
|
9143
|
+
var DatePicker: (props: DsDatePickerProps) => _$react_jsx_runtime0.JSX.Element;
|
|
9144
|
+
}
|
|
9145
|
+
declare namespace DsFormControl {
|
|
9146
|
+
var TimePicker: (props: DsTimePickerProps) => _$react_jsx_runtime0.JSX.Element;
|
|
9147
|
+
}
|
|
9148
|
+
declare namespace DsFormControl {
|
|
9149
|
+
var Textarea: (props: DsTextareaProps) => _$react_jsx_runtime0.JSX.Element;
|
|
9150
|
+
}
|
|
9151
|
+
declare namespace DsFormControl {
|
|
9152
|
+
var Select: (props: DsSelectProps) => _$react_jsx_runtime0.JSX.Element;
|
|
9153
|
+
}
|
|
9154
|
+
declare namespace DsFormControl {
|
|
9155
|
+
var Description: React$1.FC<DsFormControlDescriptionProps>;
|
|
9156
|
+
}
|
|
8193
9157
|
//#endregion
|
|
8194
9158
|
//#region src/components/ds-date-range-picker/ds-date-range-picker.types.d.ts
|
|
8195
9159
|
type DateRangeValue = [Date | null, Date | null];
|
|
8196
|
-
declare const dateRangePickerOrientations: readonly [
|
|
9160
|
+
declare const dateRangePickerOrientations: readonly ['horizontal', 'vertical'];
|
|
8197
9161
|
type DateRangePickerOrientation = (typeof dateRangePickerOrientations)[number];
|
|
8198
9162
|
interface DsDateRangePickerLocale {
|
|
9163
|
+
/**
|
|
9164
|
+
* Label shown on the "Clear all" button.
|
|
9165
|
+
*/
|
|
8199
9166
|
clearAllLabel?: string;
|
|
8200
9167
|
}
|
|
8201
9168
|
type DateRangeFormControlSlotProps = Partial<Omit<DsFormControlProps, 'children'>>;
|
|
8202
9169
|
interface DsDateRangePickerSlotProps {
|
|
9170
|
+
/**
|
|
9171
|
+
* Props forwarded to the start-date `DsDatePicker`.
|
|
9172
|
+
*/
|
|
8203
9173
|
startDatePicker?: DsDatePickerProps;
|
|
9174
|
+
/**
|
|
9175
|
+
* Props forwarded to the end-date `DsDatePicker`.
|
|
9176
|
+
*/
|
|
8204
9177
|
endDatePicker?: DsDatePickerProps;
|
|
9178
|
+
/**
|
|
9179
|
+
* Props forwarded to the `DsFormControl` wrapping the start-date picker
|
|
9180
|
+
* (e.g., to set a label or helper text).
|
|
9181
|
+
*/
|
|
8205
9182
|
startDateFormControl?: DateRangeFormControlSlotProps;
|
|
9183
|
+
/**
|
|
9184
|
+
* Props forwarded to the `DsFormControl` wrapping the end-date picker.
|
|
9185
|
+
*/
|
|
8206
9186
|
endDateFormControl?: DateRangeFormControlSlotProps;
|
|
8207
9187
|
}
|
|
8208
9188
|
interface DsDateRangePickerProps {
|
|
@@ -8248,8 +9228,20 @@ interface DsDateRangePickerProps {
|
|
|
8248
9228
|
* @default true
|
|
8249
9229
|
*/
|
|
8250
9230
|
closeOnSelect?: boolean;
|
|
9231
|
+
/**
|
|
9232
|
+
* Whether both pickers are disabled.
|
|
9233
|
+
* @default false
|
|
9234
|
+
*/
|
|
8251
9235
|
disabled?: boolean;
|
|
9236
|
+
/**
|
|
9237
|
+
* Whether both pickers are read-only. Inputs are focusable but values cannot
|
|
9238
|
+
* be changed.
|
|
9239
|
+
* @default false
|
|
9240
|
+
*/
|
|
8252
9241
|
readOnly?: boolean;
|
|
9242
|
+
/**
|
|
9243
|
+
* Additional CSS class name applied to the range picker wrapper.
|
|
9244
|
+
*/
|
|
8253
9245
|
className?: string;
|
|
8254
9246
|
/**
|
|
8255
9247
|
* Whether to disable the portal for both calendar popups
|
|
@@ -8314,7 +9306,7 @@ interface DsDialogProps {
|
|
|
8314
9306
|
/**
|
|
8315
9307
|
* The content to render inside the dialog.
|
|
8316
9308
|
*/
|
|
8317
|
-
children: React.ReactNode;
|
|
9309
|
+
children: React$1.ReactNode;
|
|
8318
9310
|
/**
|
|
8319
9311
|
* Additional CSS class names for the dialog container.
|
|
8320
9312
|
*/
|
|
@@ -8322,12 +9314,18 @@ interface DsDialogProps {
|
|
|
8322
9314
|
/**
|
|
8323
9315
|
* Ref to the element the dialog should be anchored to (for relative placement)
|
|
8324
9316
|
*/
|
|
8325
|
-
anchorRef?: React.RefObject<HTMLElement>;
|
|
9317
|
+
anchorRef?: React$1.RefObject<HTMLElement>;
|
|
8326
9318
|
/**
|
|
8327
9319
|
* Custom fixed position (e.g., { top: number, left: number })
|
|
8328
9320
|
*/
|
|
8329
9321
|
customPosition?: {
|
|
9322
|
+
/**
|
|
9323
|
+
* Distance in pixels from the top of the viewport.
|
|
9324
|
+
*/
|
|
8330
9325
|
top: number;
|
|
9326
|
+
/**
|
|
9327
|
+
* Distance in pixels from the left of the viewport.
|
|
9328
|
+
*/
|
|
8331
9329
|
left: number;
|
|
8332
9330
|
};
|
|
8333
9331
|
/**
|
|
@@ -8337,7 +9335,7 @@ interface DsDialogProps {
|
|
|
8337
9335
|
}
|
|
8338
9336
|
//#endregion
|
|
8339
9337
|
//#region src/components/ds-dialog/ds-dialog.d.ts
|
|
8340
|
-
declare const DsDialog: React.FC<DsDialogProps>;
|
|
9338
|
+
declare const DsDialog: React$1.FC<DsDialogProps>;
|
|
8341
9339
|
//#endregion
|
|
8342
9340
|
//#region src/components/ds-divider/ds-divider.types.d.ts
|
|
8343
9341
|
interface DsDividerProps {
|
|
@@ -8349,11 +9347,11 @@ interface DsDividerProps {
|
|
|
8349
9347
|
* Underlying element/component to render.
|
|
8350
9348
|
* Examples: "hr", "div", "span", Link, etc.
|
|
8351
9349
|
*/
|
|
8352
|
-
component?: React.ElementType;
|
|
9350
|
+
component?: React$1.ElementType;
|
|
8353
9351
|
/**
|
|
8354
9352
|
* Additional CSS styles.
|
|
8355
9353
|
*/
|
|
8356
|
-
style?: React.CSSProperties;
|
|
9354
|
+
style?: React$1.CSSProperties;
|
|
8357
9355
|
/**
|
|
8358
9356
|
* Additional CSS classes.
|
|
8359
9357
|
*/
|
|
@@ -8361,7 +9359,7 @@ interface DsDividerProps {
|
|
|
8361
9359
|
}
|
|
8362
9360
|
//#endregion
|
|
8363
9361
|
//#region src/components/ds-divider/ds-divider.d.ts
|
|
8364
|
-
declare const DsDivider: React.FC<DsDividerProps>;
|
|
9362
|
+
declare const DsDivider: React$1.FC<DsDividerProps>;
|
|
8365
9363
|
//#endregion
|
|
8366
9364
|
//#region src/components/ds-drawer/ds-drawer.types.d.ts
|
|
8367
9365
|
/**
|
|
@@ -8417,21 +9415,21 @@ interface DsDrawerProps extends Pick<UseDialogProps, 'closeOnEscape' | 'closeOnI
|
|
|
8417
9415
|
}
|
|
8418
9416
|
//#endregion
|
|
8419
9417
|
//#region src/components/ds-drawer/ds-drawer.d.ts
|
|
8420
|
-
declare
|
|
8421
|
-
|
|
8422
|
-
|
|
8423
|
-
|
|
8424
|
-
|
|
8425
|
-
|
|
8426
|
-
|
|
8427
|
-
|
|
8428
|
-
|
|
8429
|
-
|
|
8430
|
-
|
|
8431
|
-
|
|
8432
|
-
|
|
8433
|
-
|
|
8434
|
-
Header: ({
|
|
9418
|
+
declare function DsDrawer({
|
|
9419
|
+
open,
|
|
9420
|
+
onOpenChange,
|
|
9421
|
+
columns,
|
|
9422
|
+
position,
|
|
9423
|
+
backdrop,
|
|
9424
|
+
closeOnEscape,
|
|
9425
|
+
closeOnInteractOutside,
|
|
9426
|
+
portal,
|
|
9427
|
+
style,
|
|
9428
|
+
className,
|
|
9429
|
+
children
|
|
9430
|
+
}: DsDrawerProps): _$react_jsx_runtime0.JSX.Element;
|
|
9431
|
+
declare namespace DsDrawer {
|
|
9432
|
+
var Header: ({
|
|
8435
9433
|
style,
|
|
8436
9434
|
className,
|
|
8437
9435
|
children
|
|
@@ -8440,7 +9438,9 @@ declare const DsDrawer: {
|
|
|
8440
9438
|
className?: string;
|
|
8441
9439
|
children: ReactNode;
|
|
8442
9440
|
}) => _$react_jsx_runtime0.JSX.Element;
|
|
8443
|
-
|
|
9441
|
+
}
|
|
9442
|
+
declare namespace DsDrawer {
|
|
9443
|
+
var Title: ({
|
|
8444
9444
|
style,
|
|
8445
9445
|
className,
|
|
8446
9446
|
children
|
|
@@ -8449,14 +9449,18 @@ declare const DsDrawer: {
|
|
|
8449
9449
|
className?: string;
|
|
8450
9450
|
children: ReactNode;
|
|
8451
9451
|
}) => _$react_jsx_runtime0.JSX.Element;
|
|
8452
|
-
|
|
9452
|
+
}
|
|
9453
|
+
declare namespace DsDrawer {
|
|
9454
|
+
var CloseTrigger: ({
|
|
8453
9455
|
style,
|
|
8454
9456
|
className
|
|
8455
9457
|
}: {
|
|
8456
9458
|
style?: CSSProperties;
|
|
8457
9459
|
className?: string;
|
|
8458
9460
|
}) => _$react_jsx_runtime0.JSX.Element;
|
|
8459
|
-
|
|
9461
|
+
}
|
|
9462
|
+
declare namespace DsDrawer {
|
|
9463
|
+
var Toolbar: ({
|
|
8460
9464
|
style,
|
|
8461
9465
|
className,
|
|
8462
9466
|
children
|
|
@@ -8465,7 +9469,9 @@ declare const DsDrawer: {
|
|
|
8465
9469
|
className?: string;
|
|
8466
9470
|
children: ReactNode;
|
|
8467
9471
|
}) => _$react_jsx_runtime0.JSX.Element;
|
|
8468
|
-
|
|
9472
|
+
}
|
|
9473
|
+
declare namespace DsDrawer {
|
|
9474
|
+
var Body: ({
|
|
8469
9475
|
style,
|
|
8470
9476
|
className,
|
|
8471
9477
|
children
|
|
@@ -8474,7 +9480,9 @@ declare const DsDrawer: {
|
|
|
8474
9480
|
className?: string;
|
|
8475
9481
|
children: ReactNode;
|
|
8476
9482
|
}) => _$react_jsx_runtime0.JSX.Element;
|
|
8477
|
-
|
|
9483
|
+
}
|
|
9484
|
+
declare namespace DsDrawer {
|
|
9485
|
+
var Footer: ({
|
|
8478
9486
|
style,
|
|
8479
9487
|
className,
|
|
8480
9488
|
children
|
|
@@ -8483,7 +9491,9 @@ declare const DsDrawer: {
|
|
|
8483
9491
|
className?: string;
|
|
8484
9492
|
children: ReactNode;
|
|
8485
9493
|
}) => _$react_jsx_runtime0.JSX.Element;
|
|
8486
|
-
|
|
9494
|
+
}
|
|
9495
|
+
declare namespace DsDrawer {
|
|
9496
|
+
var Actions: ({
|
|
8487
9497
|
style,
|
|
8488
9498
|
className,
|
|
8489
9499
|
children
|
|
@@ -8492,7 +9502,7 @@ declare const DsDrawer: {
|
|
|
8492
9502
|
className?: string;
|
|
8493
9503
|
children: ReactNode;
|
|
8494
9504
|
}) => _$react_jsx_runtime0.JSX.Element;
|
|
8495
|
-
}
|
|
9505
|
+
}
|
|
8496
9506
|
//#endregion
|
|
8497
9507
|
//#region src/components/ds-dropdown-menu/ds-dropdown-menu.types.d.ts
|
|
8498
9508
|
/**
|
|
@@ -8639,6 +9649,30 @@ interface DsDropdownMenuContentProps extends Pick<Menu.ContentProps, 'className'
|
|
|
8639
9649
|
* Props for the DsDropdownMenu Item component
|
|
8640
9650
|
*/
|
|
8641
9651
|
interface DsDropdownMenuItemProps extends Pick<Menu.ItemProps, 'disabled' | 'asChild' | 'className' | 'style' | 'onSelect' | 'onClick' | 'value' | 'children'> {
|
|
9652
|
+
/**
|
|
9653
|
+
* Underlying value reported to the root's `onSelect` when this item is chosen.
|
|
9654
|
+
*/
|
|
9655
|
+
value: Menu.ItemProps['value'];
|
|
9656
|
+
/**
|
|
9657
|
+
* Whether this item is disabled and cannot be selected.
|
|
9658
|
+
* @default false
|
|
9659
|
+
*/
|
|
9660
|
+
disabled?: Menu.ItemProps['disabled'];
|
|
9661
|
+
/**
|
|
9662
|
+
* Render the item as its direct child via Radix-style slot forwarding. Useful
|
|
9663
|
+
* for wrapping links (`<a>`) as dropdown items.
|
|
9664
|
+
* @default false
|
|
9665
|
+
*/
|
|
9666
|
+
asChild?: Menu.ItemProps['asChild'];
|
|
9667
|
+
/**
|
|
9668
|
+
* Called when the item is selected via click or keyboard activation.
|
|
9669
|
+
*/
|
|
9670
|
+
onSelect?: Menu.ItemProps['onSelect'];
|
|
9671
|
+
/**
|
|
9672
|
+
* Called when the item is clicked. Fires before `onSelect` and runs even when
|
|
9673
|
+
* keyboard-activated via Space/Enter.
|
|
9674
|
+
*/
|
|
9675
|
+
onClick?: Menu.ItemProps['onClick'];
|
|
8642
9676
|
/**
|
|
8643
9677
|
* Whether the item is selected (applies selected styling)
|
|
8644
9678
|
*/
|
|
@@ -8744,7 +9778,7 @@ type DsDropdownMenuTriggerItemProps = Menu.TriggerItemProps;
|
|
|
8744
9778
|
* Use compound component pattern instead
|
|
8745
9779
|
* @deprecated
|
|
8746
9780
|
*/
|
|
8747
|
-
declare const DsDropdownMenuLegacy: React.FC<DsDropdownMenuLegacyProps>;
|
|
9781
|
+
declare const DsDropdownMenuLegacy: React$1.FC<DsDropdownMenuLegacyProps>;
|
|
8748
9782
|
/**
|
|
8749
9783
|
* Design system DsDropdownMenu component
|
|
8750
9784
|
*
|
|
@@ -8776,18 +9810,18 @@ declare const DsDropdownMenuLegacy: React.FC<DsDropdownMenuLegacyProps>;
|
|
|
8776
9810
|
* </DsDropdownMenu.Root>
|
|
8777
9811
|
*/
|
|
8778
9812
|
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>;
|
|
9813
|
+
Root: React$1.FC<DsDropdownMenuRootProps>;
|
|
9814
|
+
Trigger: React$1.FC<Menu.TriggerProps>;
|
|
9815
|
+
Content: React$1.FC<DsDropdownMenuContentProps>;
|
|
9816
|
+
Item: React$1.FC<DsDropdownMenuItemProps>;
|
|
9817
|
+
ItemIndicator: React$1.FC<DsDropdownMenuItemIndicatorProps>;
|
|
9818
|
+
TriggerItem: React$1.FC<Menu.TriggerItemProps>;
|
|
9819
|
+
Header: React$1.FC<DsDropdownMenuHeaderProps>;
|
|
9820
|
+
Actions: React$1.FC<DsDropdownMenuActionsProps>;
|
|
9821
|
+
ItemGroup: React$1.FC<DsDropdownMenuItemGroupProps>;
|
|
9822
|
+
ItemGroupLabel: React$1.FC<Menu.ItemGroupLabelProps>;
|
|
9823
|
+
ItemGroupContent: React$1.FC<DsDropdownMenuItemGroupContentProps>;
|
|
9824
|
+
Separator: React$1.FC<Menu.SeparatorProps>;
|
|
8791
9825
|
};
|
|
8792
9826
|
//#endregion
|
|
8793
9827
|
//#region src/components/ds-expandable-text-input/ds-expandable-text-input.types.d.ts
|
|
@@ -8820,21 +9854,63 @@ type FileError = FileUploadFileError;
|
|
|
8820
9854
|
type UploadFileStatus = 'pending' | 'uploading' | 'interrupted' | 'completed' | 'error' | 'cancelled';
|
|
8821
9855
|
type FileMetadata = Record<string, unknown>;
|
|
8822
9856
|
interface UploadedFile extends File {
|
|
9857
|
+
/**
|
|
9858
|
+
* Stable identifier assigned by the uploader. Used to correlate progress
|
|
9859
|
+
* updates, retries, and deletions with this specific file.
|
|
9860
|
+
*/
|
|
8823
9861
|
id: string;
|
|
9862
|
+
/**
|
|
9863
|
+
* Current upload progress as a number between `0` and `1`.
|
|
9864
|
+
*/
|
|
8824
9865
|
progress: number;
|
|
9866
|
+
/**
|
|
9867
|
+
* Current lifecycle state of the upload.
|
|
9868
|
+
*/
|
|
8825
9869
|
status: UploadFileStatus;
|
|
9870
|
+
/**
|
|
9871
|
+
* Validation or upload errors associated with this file. Present when
|
|
9872
|
+
* `status` is `error` or when the file fails client-side validation.
|
|
9873
|
+
*/
|
|
8826
9874
|
errors?: FileError[];
|
|
9875
|
+
/**
|
|
9876
|
+
* Native `File` the user selected. Kept alongside so consumers can access
|
|
9877
|
+
* the original binary even after `UploadedFile` has been enriched.
|
|
9878
|
+
*/
|
|
8827
9879
|
originalFile: File;
|
|
8828
9880
|
}
|
|
8829
9881
|
interface FileUploadOptions {
|
|
9882
|
+
/**
|
|
9883
|
+
* The file to upload.
|
|
9884
|
+
*/
|
|
8830
9885
|
file: File;
|
|
9886
|
+
/**
|
|
9887
|
+
* Stable identifier for this upload. Must match the `id` on the corresponding
|
|
9888
|
+
* `UploadedFile` so progress and cancellation are routed correctly.
|
|
9889
|
+
*/
|
|
8831
9890
|
fileId: string;
|
|
9891
|
+
/**
|
|
9892
|
+
* Optional custom metadata forwarded by the consumer (e.g., tags, parent ids).
|
|
9893
|
+
*/
|
|
8832
9894
|
metadata?: FileMetadata;
|
|
9895
|
+
/**
|
|
9896
|
+
* Called by the adapter with upload progress updates as a number between `0`
|
|
9897
|
+
* and `1`.
|
|
9898
|
+
*/
|
|
8833
9899
|
onProgress?: (progress: number) => void;
|
|
9900
|
+
/**
|
|
9901
|
+
* AbortSignal that fires when the consumer cancels the upload. Adapters should
|
|
9902
|
+
* observe this and abort any in-flight network request.
|
|
9903
|
+
*/
|
|
8834
9904
|
signal?: AbortSignal;
|
|
8835
9905
|
}
|
|
8836
9906
|
interface FileUploadResult {
|
|
9907
|
+
/**
|
|
9908
|
+
* URL of the successfully uploaded file, returned by the backend.
|
|
9909
|
+
*/
|
|
8837
9910
|
url: string;
|
|
9911
|
+
/**
|
|
9912
|
+
* Optional metadata returned by the backend alongside the URL.
|
|
9913
|
+
*/
|
|
8838
9914
|
metadata?: FileMetadata;
|
|
8839
9915
|
}
|
|
8840
9916
|
/**
|
|
@@ -8845,8 +9921,21 @@ interface FileUploadResult {
|
|
|
8845
9921
|
* - reject with FatalFileUploadError for permanent failures
|
|
8846
9922
|
*/
|
|
8847
9923
|
interface FileUploadAdapter {
|
|
9924
|
+
/**
|
|
9925
|
+
* Uploads a single file. Resolve with `FileUploadResult` on success; reject
|
|
9926
|
+
* with `RetryableFileUploadError` for transient failures (will be retried) or
|
|
9927
|
+
* `FatalFileUploadError` for permanent failures (surfaces to the user).
|
|
9928
|
+
*/
|
|
8848
9929
|
upload: (options: FileUploadOptions) => FileUploadResult | Promise<FileUploadResult>;
|
|
9930
|
+
/**
|
|
9931
|
+
* Optional hook called when the user cancels an in-flight upload. Implementations
|
|
9932
|
+
* should abort any pending network work for the given `fileId`.
|
|
9933
|
+
*/
|
|
8849
9934
|
cancel?: (fileId: string) => void | Promise<void>;
|
|
9935
|
+
/**
|
|
9936
|
+
* Optional hook called when the user removes a previously uploaded file. Typically
|
|
9937
|
+
* issues a delete request to the backend so stored files can be cleaned up.
|
|
9938
|
+
*/
|
|
8850
9939
|
delete?: (fileId: string) => void | Promise<void>;
|
|
8851
9940
|
}
|
|
8852
9941
|
//#endregion
|
|
@@ -8958,6 +10047,7 @@ interface FileUploadProps {
|
|
|
8958
10047
|
disabled?: boolean;
|
|
8959
10048
|
/**
|
|
8960
10049
|
* Whether the file upload layout is compact (inline)
|
|
10050
|
+
* @default false
|
|
8961
10051
|
*/
|
|
8962
10052
|
compact?: boolean;
|
|
8963
10053
|
}
|
|
@@ -8967,7 +10057,7 @@ interface FileUploadProps {
|
|
|
8967
10057
|
* Design system base File Upload component
|
|
8968
10058
|
* Used in conjunction with the useFileUpload hook
|
|
8969
10059
|
*/
|
|
8970
|
-
declare const FileUpload: React.FC<FileUploadProps>;
|
|
10060
|
+
declare const FileUpload: React$1.FC<FileUploadProps>;
|
|
8971
10061
|
//#endregion
|
|
8972
10062
|
//#region src/components/ds-file-upload/ds-file-upload.types.d.ts
|
|
8973
10063
|
interface DsFileUploadProps extends Omit<FileUploadProps, 'files' | 'acceptedFiles' | 'onFileAccept' | 'onFileReject' | 'onFileRemove' | 'onFileDelete' | 'onFileCancel' | 'onFileRetry' | 'uploadProgress'> {
|
|
@@ -9004,7 +10094,7 @@ interface DsFileUploadProps extends Omit<FileUploadProps, 'files' | 'acceptedFil
|
|
|
9004
10094
|
/**
|
|
9005
10095
|
* Design system File Upload component (with state management)
|
|
9006
10096
|
*/
|
|
9007
|
-
declare const DsFileUpload: React.FC<DsFileUploadProps>;
|
|
10097
|
+
declare const DsFileUpload: React$1.FC<DsFileUploadProps>;
|
|
9008
10098
|
//#endregion
|
|
9009
10099
|
//#region src/components/ds-file-upload/hooks/use-file-upload.d.ts
|
|
9010
10100
|
interface UseFileUploadConfig {
|
|
@@ -9084,7 +10174,7 @@ declare class FatalFileUploadError extends FileUploadError {
|
|
|
9084
10174
|
}
|
|
9085
10175
|
//#endregion
|
|
9086
10176
|
//#region src/components/ds-filter-status-icon/ds-filter-status-icon.types.d.ts
|
|
9087
|
-
declare const filterStatuses: readonly [
|
|
10177
|
+
declare const filterStatuses: readonly ['running', 'warning', 'failed', 'paused'];
|
|
9088
10178
|
type FilterStatus = (typeof filterStatuses)[number];
|
|
9089
10179
|
interface DsFilterStatusIconProps {
|
|
9090
10180
|
/**
|
|
@@ -9124,72 +10214,53 @@ declare const DsFilterStatusIcon: ({
|
|
|
9124
10214
|
style
|
|
9125
10215
|
}: DsFilterStatusIconProps) => _$react_jsx_runtime0.JSX.Element;
|
|
9126
10216
|
//#endregion
|
|
9127
|
-
//#region src/components/ds-grid/
|
|
9128
|
-
|
|
9129
|
-
|
|
9130
|
-
|
|
9131
|
-
|
|
9132
|
-
|
|
9133
|
-
|
|
9134
|
-
|
|
9135
|
-
|
|
9136
|
-
|
|
9137
|
-
|
|
9138
|
-
|
|
9139
|
-
|
|
9140
|
-
|
|
9141
|
-
|
|
9142
|
-
|
|
9143
|
-
|
|
9144
|
-
|
|
9145
|
-
|
|
9146
|
-
|
|
9147
|
-
|
|
9148
|
-
|
|
9149
|
-
|
|
9150
|
-
|
|
9151
|
-
|
|
9152
|
-
|
|
9153
|
-
*/
|
|
9154
|
-
colSpan?: number | 'full';
|
|
9155
|
-
/**
|
|
9156
|
-
* Starting column for the item (1-11)
|
|
9157
|
-
*/
|
|
9158
|
-
colStart?: number;
|
|
9159
|
-
/**
|
|
9160
|
-
* Number of rows the item spans (1-8) or 'full'
|
|
9161
|
-
*/
|
|
9162
|
-
rowSpan?: number | 'full';
|
|
9163
|
-
/**
|
|
9164
|
-
* Starting row for the item (1-7)
|
|
9165
|
-
*/
|
|
9166
|
-
rowStart?: number;
|
|
9167
|
-
/**
|
|
9168
|
-
* Custom class names to apply to the grid item
|
|
9169
|
-
*/
|
|
9170
|
-
className?: string;
|
|
9171
|
-
}
|
|
9172
|
-
//#endregion
|
|
9173
|
-
//#region src/components/ds-grid/ds-grid.d.ts
|
|
9174
|
-
/**
|
|
9175
|
-
* Design system Grid component
|
|
9176
|
-
*/
|
|
9177
|
-
declare const DsGrid: React.FC<DsGridProps>;
|
|
9178
|
-
/**
|
|
9179
|
-
* Design system GridItem component
|
|
9180
|
-
*/
|
|
9181
|
-
declare const DsGridItem: React.FC<DsGridItemProps>;
|
|
10217
|
+
//#region src/components/ds-grid/index.d.ts
|
|
10218
|
+
declare const DsGrid: {
|
|
10219
|
+
(props: {
|
|
10220
|
+
children: _$react.ReactNode;
|
|
10221
|
+
rows?: 1 | 2 | 4 | 6 | 8;
|
|
10222
|
+
columns?: 2 | 4 | 6 | 8 | 10 | 12;
|
|
10223
|
+
gutter?: ResponsiveValue<NonNullable<string | number | undefined>> | undefined;
|
|
10224
|
+
margin?: ResponsiveValue<NonNullable<string | number | undefined>> | undefined;
|
|
10225
|
+
className?: string;
|
|
10226
|
+
style?: _$react.CSSProperties;
|
|
10227
|
+
}): _$react.FunctionComponentElement<Record<string, unknown>>;
|
|
10228
|
+
displayName: string;
|
|
10229
|
+
};
|
|
10230
|
+
declare const DsGridItem: {
|
|
10231
|
+
(props: {
|
|
10232
|
+
children: _$react.ReactNode;
|
|
10233
|
+
colSpan?: ResponsiveValue<NonNullable<number | "full" | undefined>> | undefined;
|
|
10234
|
+
colStart?: number;
|
|
10235
|
+
rowSpan?: ResponsiveValue<NonNullable<number | "full" | undefined>> | undefined;
|
|
10236
|
+
rowStart?: number;
|
|
10237
|
+
className?: string;
|
|
10238
|
+
}): _$react.FunctionComponentElement<Record<string, unknown>>;
|
|
10239
|
+
displayName: string;
|
|
10240
|
+
};
|
|
10241
|
+
type DsGridProps = ComponentProps<typeof DsGrid>;
|
|
10242
|
+
type DsGridItemProps = ComponentProps<typeof DsGridItem>;
|
|
9182
10243
|
//#endregion
|
|
9183
10244
|
//#region src/components/ds-key-value-pair/ds-key-value-pair.types.d.ts
|
|
9184
|
-
declare const dsKeyValuePairOrientations: readonly [
|
|
10245
|
+
declare const dsKeyValuePairOrientations: readonly ['vertical', 'horizontal'];
|
|
9185
10246
|
type DsKeyValuePairOrientation = (typeof dsKeyValuePairOrientations)[number];
|
|
9186
10247
|
interface DsKeyValuePairProps {
|
|
10248
|
+
/** Label rendered for the key side of the pair (left or top depending on `orientation`). */
|
|
9187
10249
|
keyLabel: ReactNode;
|
|
9188
10250
|
/** Shown when the editor is not active (read-only or not hovered). */
|
|
9189
10251
|
value?: ReactNode;
|
|
9190
|
-
/**
|
|
10252
|
+
/**
|
|
10253
|
+
* When `true`, the pair is rendered as a static display and the editor is never
|
|
10254
|
+
* revealed (even on hover/focus).
|
|
10255
|
+
* @default false
|
|
10256
|
+
*/
|
|
9191
10257
|
readOnly?: boolean;
|
|
9192
|
-
/**
|
|
10258
|
+
/**
|
|
10259
|
+
* Layout orientation:
|
|
10260
|
+
* - `vertical`: key stacked above value
|
|
10261
|
+
* - `horizontal`: key and value side-by-side
|
|
10262
|
+
* @default 'vertical'
|
|
10263
|
+
*/
|
|
9193
10264
|
orientation?: DsKeyValuePairOrientation;
|
|
9194
10265
|
/** Editor content revealed on hover/focus when not read-only. */
|
|
9195
10266
|
editInput?: ReactNode;
|
|
@@ -9211,7 +10282,7 @@ declare const DsKeyValuePair: ({
|
|
|
9211
10282
|
}: DsKeyValuePairProps) => _$react_jsx_runtime0.JSX.Element;
|
|
9212
10283
|
//#endregion
|
|
9213
10284
|
//#region src/components/ds-loader/ds-loader.types.d.ts
|
|
9214
|
-
declare const loaderVariants: readonly [
|
|
10285
|
+
declare const loaderVariants: readonly ['spinner', 'pulsing'];
|
|
9215
10286
|
type LoaderVariant = (typeof loaderVariants)[number];
|
|
9216
10287
|
interface DsLoaderProps {
|
|
9217
10288
|
/**
|
|
@@ -9226,11 +10297,11 @@ interface DsLoaderProps {
|
|
|
9226
10297
|
/**
|
|
9227
10298
|
* Additional styles to apply to the component
|
|
9228
10299
|
*/
|
|
9229
|
-
style?: React.CSSProperties;
|
|
10300
|
+
style?: React$1.CSSProperties;
|
|
9230
10301
|
/**
|
|
9231
10302
|
* Ref to the loader container element
|
|
9232
10303
|
*/
|
|
9233
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
10304
|
+
ref?: React$1.Ref<HTMLDivElement>;
|
|
9234
10305
|
}
|
|
9235
10306
|
//#endregion
|
|
9236
10307
|
//#region src/components/ds-loader/ds-loader.d.ts
|
|
@@ -9252,6 +10323,22 @@ type DsModalColumns = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
|
9252
10323
|
* Props for the DsModal component
|
|
9253
10324
|
*/
|
|
9254
10325
|
interface DsModalProps extends Pick<UseDialogProps, 'modal' | 'closeOnEscape' | 'closeOnInteractOutside'> {
|
|
10326
|
+
/**
|
|
10327
|
+
* Whether the modal traps focus and blocks interaction with the page behind the
|
|
10328
|
+
* backdrop. When `false`, users can continue interacting with the underlying page.
|
|
10329
|
+
* @default true
|
|
10330
|
+
*/
|
|
10331
|
+
modal?: UseDialogProps['modal'];
|
|
10332
|
+
/**
|
|
10333
|
+
* Whether pressing the Escape key closes the modal.
|
|
10334
|
+
* @default true
|
|
10335
|
+
*/
|
|
10336
|
+
closeOnEscape?: UseDialogProps['closeOnEscape'];
|
|
10337
|
+
/**
|
|
10338
|
+
* Whether clicking or focusing outside the modal closes it.
|
|
10339
|
+
* @default true
|
|
10340
|
+
*/
|
|
10341
|
+
closeOnInteractOutside?: UseDialogProps['closeOnInteractOutside'];
|
|
9255
10342
|
/**
|
|
9256
10343
|
* Whether the modal is open
|
|
9257
10344
|
*/
|
|
@@ -9286,25 +10373,20 @@ interface DsModalProps extends Pick<UseDialogProps, 'modal' | 'closeOnEscape' |
|
|
|
9286
10373
|
}
|
|
9287
10374
|
//#endregion
|
|
9288
10375
|
//#region src/components/ds-modal/ds-modal.d.ts
|
|
9289
|
-
|
|
9290
|
-
|
|
9291
|
-
|
|
9292
|
-
|
|
9293
|
-
|
|
9294
|
-
|
|
9295
|
-
|
|
9296
|
-
|
|
9297
|
-
|
|
9298
|
-
|
|
9299
|
-
|
|
9300
|
-
|
|
9301
|
-
|
|
9302
|
-
|
|
9303
|
-
closeOnInteractOutside,
|
|
9304
|
-
children,
|
|
9305
|
-
onOpenChange
|
|
9306
|
-
}: DsModalProps): _$react_jsx_runtime0.JSX.Element;
|
|
9307
|
-
Header: ({
|
|
10376
|
+
declare function DsModal({
|
|
10377
|
+
open,
|
|
10378
|
+
columns,
|
|
10379
|
+
dividers,
|
|
10380
|
+
style,
|
|
10381
|
+
className,
|
|
10382
|
+
modal,
|
|
10383
|
+
closeOnEscape,
|
|
10384
|
+
closeOnInteractOutside,
|
|
10385
|
+
children,
|
|
10386
|
+
onOpenChange
|
|
10387
|
+
}: DsModalProps): _$react_jsx_runtime0.JSX.Element;
|
|
10388
|
+
declare namespace DsModal {
|
|
10389
|
+
var Header: ({
|
|
9308
10390
|
style,
|
|
9309
10391
|
className,
|
|
9310
10392
|
children
|
|
@@ -9313,7 +10395,9 @@ declare const DsModal: {
|
|
|
9313
10395
|
className?: string;
|
|
9314
10396
|
children: ReactNode;
|
|
9315
10397
|
}) => _$react_jsx_runtime0.JSX.Element;
|
|
9316
|
-
|
|
10398
|
+
}
|
|
10399
|
+
declare namespace DsModal {
|
|
10400
|
+
var Title: ({
|
|
9317
10401
|
style,
|
|
9318
10402
|
className,
|
|
9319
10403
|
children
|
|
@@ -9322,14 +10406,18 @@ declare const DsModal: {
|
|
|
9322
10406
|
className?: string;
|
|
9323
10407
|
children: ReactNode;
|
|
9324
10408
|
}) => _$react_jsx_runtime0.JSX.Element;
|
|
9325
|
-
|
|
10409
|
+
}
|
|
10410
|
+
declare namespace DsModal {
|
|
10411
|
+
var CloseTrigger: ({
|
|
9326
10412
|
style,
|
|
9327
10413
|
className
|
|
9328
10414
|
}: {
|
|
9329
10415
|
style?: CSSProperties;
|
|
9330
10416
|
className?: string;
|
|
9331
10417
|
}) => _$react_jsx_runtime0.JSX.Element;
|
|
9332
|
-
|
|
10418
|
+
}
|
|
10419
|
+
declare namespace DsModal {
|
|
10420
|
+
var Body: ({
|
|
9333
10421
|
style,
|
|
9334
10422
|
className,
|
|
9335
10423
|
children
|
|
@@ -9338,7 +10426,9 @@ declare const DsModal: {
|
|
|
9338
10426
|
className?: string;
|
|
9339
10427
|
children: ReactNode;
|
|
9340
10428
|
}) => _$react_jsx_runtime0.JSX.Element;
|
|
9341
|
-
|
|
10429
|
+
}
|
|
10430
|
+
declare namespace DsModal {
|
|
10431
|
+
var Footer: ({
|
|
9342
10432
|
style,
|
|
9343
10433
|
className,
|
|
9344
10434
|
children
|
|
@@ -9347,7 +10437,9 @@ declare const DsModal: {
|
|
|
9347
10437
|
className?: string;
|
|
9348
10438
|
children: ReactNode;
|
|
9349
10439
|
}) => _$react_jsx_runtime0.JSX.Element;
|
|
9350
|
-
|
|
10440
|
+
}
|
|
10441
|
+
declare namespace DsModal {
|
|
10442
|
+
var Actions: ({
|
|
9351
10443
|
style,
|
|
9352
10444
|
className,
|
|
9353
10445
|
children
|
|
@@ -9356,144 +10448,75 @@ declare const DsModal: {
|
|
|
9356
10448
|
className?: string;
|
|
9357
10449
|
children: ReactNode;
|
|
9358
10450
|
}) => _$react_jsx_runtime0.JSX.Element;
|
|
9359
|
-
}
|
|
10451
|
+
}
|
|
9360
10452
|
//#endregion
|
|
9361
10453
|
//#region src/components/ds-panel/ds-panel.types.d.ts
|
|
9362
10454
|
type DsPanelVariant = 'docked' | 'floating';
|
|
9363
10455
|
type DsPanelBaseProps = Omit<Collapsible.CollapsibleProps, 'onOpenChange'> & {
|
|
10456
|
+
/**
|
|
10457
|
+
* Visual treatment of the panel:
|
|
10458
|
+
* - `docked`: sits flush within the surrounding layout (default)
|
|
10459
|
+
* - `floating`: elevated card with shadow, detached from the layout
|
|
10460
|
+
* @default docked
|
|
10461
|
+
*/
|
|
9364
10462
|
variant?: DsPanelVariant;
|
|
10463
|
+
/**
|
|
10464
|
+
* Width of the panel in pixels when expanded.
|
|
10465
|
+
*/
|
|
9365
10466
|
width?: number;
|
|
10467
|
+
/**
|
|
10468
|
+
* Whether the panel edge can be dragged to resize its width.
|
|
10469
|
+
* @default false
|
|
10470
|
+
*/
|
|
9366
10471
|
draggable?: boolean;
|
|
10472
|
+
/**
|
|
10473
|
+
* Disable the default inner padding so the panel content can bleed to the edges.
|
|
10474
|
+
* @default false
|
|
10475
|
+
*/
|
|
9367
10476
|
disablePadding?: boolean;
|
|
10477
|
+
/**
|
|
10478
|
+
* Props forwarded to nested sub-components.
|
|
10479
|
+
*/
|
|
9368
10480
|
slotProps?: {
|
|
10481
|
+
/**
|
|
10482
|
+
* Props forwarded to the collapse/expand button shown on the panel edge.
|
|
10483
|
+
*/
|
|
9369
10484
|
collapseButton?: DsPanelCollapseButtonProps;
|
|
9370
10485
|
};
|
|
10486
|
+
/**
|
|
10487
|
+
* Called when the panel's open (expanded) state changes. Receives the next
|
|
10488
|
+
* boolean state.
|
|
10489
|
+
*/
|
|
9371
10490
|
onOpenChange?: (open: boolean) => void;
|
|
9372
10491
|
};
|
|
9373
10492
|
type DsPanelProps = Omit<DsPanelBaseProps, 'width'> & {
|
|
10493
|
+
/**
|
|
10494
|
+
* Width of the panel when expanded. Accepts a single number (px) or a
|
|
10495
|
+
* `ResponsiveValue` to vary width by breakpoint.
|
|
10496
|
+
*/
|
|
9374
10497
|
width?: ResponsiveValue<number>;
|
|
9375
10498
|
};
|
|
9376
10499
|
type DsPanelCollapseButtonProps = {
|
|
10500
|
+
/**
|
|
10501
|
+
* Called when the collapse button is clicked.
|
|
10502
|
+
*/
|
|
9377
10503
|
onClick?: () => void;
|
|
10504
|
+
/**
|
|
10505
|
+
* Whether the panel is currently collapsed. Drives the button's chevron
|
|
10506
|
+
* orientation and aria-label.
|
|
10507
|
+
* @default false
|
|
10508
|
+
*/
|
|
9378
10509
|
collapsed?: boolean;
|
|
9379
10510
|
};
|
|
9380
10511
|
//#endregion
|
|
9381
10512
|
//#region src/components/ds-panel/index.d.ts
|
|
9382
10513
|
declare const DsPanel: {
|
|
9383
10514
|
(props: {
|
|
9384
|
-
slot?: string | undefined | undefined;
|
|
9385
|
-
style?: _$react.CSSProperties | undefined;
|
|
9386
|
-
title?: string | undefined | undefined;
|
|
9387
10515
|
key?: _$react.Key | null | undefined;
|
|
9388
|
-
|
|
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;
|
|
10516
|
+
children?: _$react.ReactNode | undefined;
|
|
9494
10517
|
dangerouslySetInnerHTML?: {
|
|
9495
10518
|
__html: string | TrustedHTML;
|
|
9496
|
-
} | undefined
|
|
10519
|
+
} | undefined;
|
|
9497
10520
|
onCopy?: _$react.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
9498
10521
|
onCopyCapture?: _$react.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
9499
10522
|
onCut?: _$react.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
@@ -9662,17 +10685,125 @@ declare const DsPanel: {
|
|
|
9662
10685
|
onTransitionRunCapture?: _$react.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
9663
10686
|
onTransitionStart?: _$react.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
9664
10687
|
onTransitionStartCapture?: _$react.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
9665
|
-
|
|
9666
|
-
|
|
9667
|
-
|
|
9668
|
-
|
|
9669
|
-
|
|
10688
|
+
"aria-activedescendant"?: string | undefined;
|
|
10689
|
+
"aria-atomic"?: ("false" | "true" | boolean) | undefined;
|
|
10690
|
+
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
|
|
10691
|
+
"aria-braillelabel"?: string | undefined;
|
|
10692
|
+
"aria-brailleroledescription"?: string | undefined;
|
|
10693
|
+
"aria-busy"?: ("false" | "true" | boolean) | undefined;
|
|
10694
|
+
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
10695
|
+
"aria-colcount"?: number | undefined;
|
|
10696
|
+
"aria-colindex"?: number | undefined;
|
|
10697
|
+
"aria-colindextext"?: string | undefined;
|
|
10698
|
+
"aria-colspan"?: number | undefined;
|
|
10699
|
+
"aria-controls"?: string | undefined;
|
|
10700
|
+
"aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined;
|
|
10701
|
+
"aria-describedby"?: string | undefined;
|
|
10702
|
+
"aria-description"?: string | undefined;
|
|
10703
|
+
"aria-details"?: string | undefined;
|
|
10704
|
+
"aria-disabled"?: ("false" | "true" | boolean) | undefined;
|
|
10705
|
+
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
|
|
10706
|
+
"aria-errormessage"?: string | undefined;
|
|
10707
|
+
"aria-expanded"?: ("false" | "true" | boolean) | undefined;
|
|
10708
|
+
"aria-flowto"?: string | undefined;
|
|
10709
|
+
"aria-grabbed"?: ("false" | "true" | boolean) | undefined;
|
|
10710
|
+
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
|
|
10711
|
+
"aria-hidden"?: ("false" | "true" | boolean) | undefined;
|
|
10712
|
+
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
|
10713
|
+
"aria-keyshortcuts"?: string | undefined;
|
|
10714
|
+
"aria-label"?: string | undefined;
|
|
10715
|
+
"aria-labelledby"?: string | undefined;
|
|
10716
|
+
"aria-level"?: number | undefined;
|
|
10717
|
+
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
10718
|
+
"aria-modal"?: ("false" | "true" | boolean) | undefined;
|
|
10719
|
+
"aria-multiline"?: ("false" | "true" | boolean) | undefined;
|
|
10720
|
+
"aria-multiselectable"?: ("false" | "true" | boolean) | undefined;
|
|
10721
|
+
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
|
10722
|
+
"aria-owns"?: string | undefined;
|
|
10723
|
+
"aria-placeholder"?: string | undefined;
|
|
10724
|
+
"aria-posinset"?: number | undefined;
|
|
10725
|
+
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
10726
|
+
"aria-readonly"?: ("false" | "true" | boolean) | undefined;
|
|
10727
|
+
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
|
|
10728
|
+
"aria-required"?: ("false" | "true" | boolean) | undefined;
|
|
10729
|
+
"aria-roledescription"?: string | undefined;
|
|
10730
|
+
"aria-rowcount"?: number | undefined;
|
|
10731
|
+
"aria-rowindex"?: number | undefined;
|
|
10732
|
+
"aria-rowindextext"?: string | undefined;
|
|
10733
|
+
"aria-rowspan"?: number | undefined;
|
|
10734
|
+
"aria-selected"?: ("false" | "true" | boolean) | undefined;
|
|
10735
|
+
"aria-setsize"?: number | undefined;
|
|
10736
|
+
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
10737
|
+
"aria-valuemax"?: number | undefined;
|
|
10738
|
+
"aria-valuemin"?: number | undefined;
|
|
10739
|
+
"aria-valuenow"?: number | undefined;
|
|
10740
|
+
"aria-valuetext"?: string | undefined;
|
|
10741
|
+
defaultChecked?: boolean | undefined;
|
|
10742
|
+
defaultValue?: string | number | readonly string[] | undefined;
|
|
10743
|
+
suppressContentEditableWarning?: boolean | undefined;
|
|
10744
|
+
suppressHydrationWarning?: boolean | undefined;
|
|
10745
|
+
accessKey?: string | undefined;
|
|
10746
|
+
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {});
|
|
10747
|
+
autoFocus?: boolean | undefined;
|
|
10748
|
+
className?: string | undefined;
|
|
10749
|
+
contentEditable?: ("false" | "true" | boolean) | "inherit" | "plaintext-only" | undefined;
|
|
10750
|
+
contextMenu?: string | undefined;
|
|
10751
|
+
dir?: string | undefined;
|
|
10752
|
+
draggable?: boolean | undefined;
|
|
10753
|
+
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
|
|
10754
|
+
hidden?: boolean | undefined;
|
|
10755
|
+
id?: string | undefined;
|
|
10756
|
+
lang?: string | undefined;
|
|
10757
|
+
nonce?: string | undefined;
|
|
10758
|
+
slot?: string | undefined;
|
|
10759
|
+
spellCheck?: ("false" | "true" | boolean) | undefined;
|
|
10760
|
+
style?: _$react.CSSProperties | undefined;
|
|
10761
|
+
tabIndex?: number | undefined;
|
|
10762
|
+
title?: string | undefined;
|
|
10763
|
+
translate?: "yes" | "no" | undefined;
|
|
10764
|
+
radioGroup?: string | undefined;
|
|
10765
|
+
role?: _$react.AriaRole | undefined;
|
|
10766
|
+
about?: string | undefined;
|
|
10767
|
+
content?: string | undefined;
|
|
10768
|
+
datatype?: string | undefined;
|
|
10769
|
+
inlist?: any;
|
|
10770
|
+
prefix?: string | undefined;
|
|
10771
|
+
property?: string | undefined;
|
|
10772
|
+
rel?: string | undefined;
|
|
10773
|
+
resource?: string | undefined;
|
|
10774
|
+
rev?: string | undefined;
|
|
10775
|
+
typeof?: string | undefined;
|
|
10776
|
+
vocab?: string | undefined;
|
|
10777
|
+
autoCorrect?: string | undefined;
|
|
10778
|
+
autoSave?: string | undefined;
|
|
10779
|
+
color?: string | undefined;
|
|
10780
|
+
itemProp?: string | undefined;
|
|
10781
|
+
itemScope?: boolean | undefined;
|
|
10782
|
+
itemType?: string | undefined;
|
|
10783
|
+
itemID?: string | undefined;
|
|
10784
|
+
itemRef?: string | undefined;
|
|
10785
|
+
results?: number | undefined;
|
|
10786
|
+
security?: string | undefined;
|
|
10787
|
+
unselectable?: "on" | "off" | undefined;
|
|
10788
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined;
|
|
10789
|
+
popoverTargetAction?: "toggle" | "show" | "hide" | undefined;
|
|
10790
|
+
popoverTarget?: string | undefined;
|
|
10791
|
+
inert?: boolean | undefined;
|
|
10792
|
+
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
|
|
10793
|
+
is?: string | undefined;
|
|
10794
|
+
exportparts?: string | undefined;
|
|
10795
|
+
part?: string | undefined;
|
|
10796
|
+
asChild?: boolean;
|
|
10797
|
+
defaultOpen?: boolean;
|
|
10798
|
+
open?: boolean;
|
|
10799
|
+
disabled?: boolean;
|
|
10800
|
+
variant?: DsPanelVariant;
|
|
9670
10801
|
width?: ResponsiveValue<number> | undefined;
|
|
9671
|
-
disablePadding?: boolean
|
|
10802
|
+
disablePadding?: boolean;
|
|
9672
10803
|
slotProps?: {
|
|
9673
10804
|
collapseButton?: DsPanelCollapseButtonProps;
|
|
9674
|
-
}
|
|
9675
|
-
onOpenChange?: (
|
|
10805
|
+
};
|
|
10806
|
+
onOpenChange?: (open: boolean) => void;
|
|
9676
10807
|
}): _$react.FunctionComponentElement<Record<string, unknown>>;
|
|
9677
10808
|
displayName: string;
|
|
9678
10809
|
};
|
|
@@ -9682,11 +10813,11 @@ interface DsPopoverProps {
|
|
|
9682
10813
|
/**
|
|
9683
10814
|
* The element that triggers the popover
|
|
9684
10815
|
*/
|
|
9685
|
-
trigger: React.ReactNode;
|
|
10816
|
+
trigger: React$1.ReactNode;
|
|
9686
10817
|
/**
|
|
9687
10818
|
* The content to be rendered inside the popover
|
|
9688
10819
|
*/
|
|
9689
|
-
children: React.ReactNode;
|
|
10820
|
+
children: React$1.ReactNode;
|
|
9690
10821
|
/**
|
|
9691
10822
|
* Additional CSS class names
|
|
9692
10823
|
*/
|
|
@@ -9702,12 +10833,12 @@ interface DsPopoverProps {
|
|
|
9702
10833
|
}
|
|
9703
10834
|
//#endregion
|
|
9704
10835
|
//#region src/components/ds-popover/ds-popover.d.ts
|
|
9705
|
-
declare const DsPopover: React.FC<DsPopoverProps>;
|
|
10836
|
+
declare const DsPopover: React$1.FC<DsPopoverProps>;
|
|
9706
10837
|
//#endregion
|
|
9707
10838
|
//#region src/components/ds-progress-arc/ds-progress-arc.types.d.ts
|
|
9708
|
-
declare const progressArcSizes: readonly [
|
|
10839
|
+
declare const progressArcSizes: readonly ['small', 'medium'];
|
|
9709
10840
|
type ProgressArcSize = (typeof progressArcSizes)[number];
|
|
9710
|
-
declare const progressArcVariants: readonly [
|
|
10841
|
+
declare const progressArcVariants: readonly ['default', 'success', 'error'];
|
|
9711
10842
|
type ProgressArcVariant = (typeof progressArcVariants)[number];
|
|
9712
10843
|
interface DsProgressArcProps extends ComponentPropsWithoutRef<'div'> {
|
|
9713
10844
|
/**
|
|
@@ -9745,9 +10876,9 @@ declare const DsProgressArc: ({
|
|
|
9745
10876
|
}: DsProgressArcProps) => _$react_jsx_runtime0.JSX.Element;
|
|
9746
10877
|
//#endregion
|
|
9747
10878
|
//#region src/components/ds-progress-donut/ds-progress-donut.types.d.ts
|
|
9748
|
-
declare const progressDonutSizes: readonly [
|
|
10879
|
+
declare const progressDonutSizes: readonly ['small', 'medium'];
|
|
9749
10880
|
type ProgressDonutSize = (typeof progressDonutSizes)[number];
|
|
9750
|
-
declare const progressDonutVariants: readonly [
|
|
10881
|
+
declare const progressDonutVariants: readonly ['default', 'success', 'error'];
|
|
9751
10882
|
type ProgressDonutVariant = (typeof progressDonutVariants)[number];
|
|
9752
10883
|
interface DsProgressDonutProps {
|
|
9753
10884
|
/**
|
|
@@ -9786,9 +10917,9 @@ declare const DsProgressDonut: ({
|
|
|
9786
10917
|
}: DsProgressDonutProps) => _$react_jsx_runtime0.JSX.Element;
|
|
9787
10918
|
//#endregion
|
|
9788
10919
|
//#region src/components/ds-progress-linear/ds-progress-linear.types.d.ts
|
|
9789
|
-
declare const progressLinearVariants: readonly [
|
|
10920
|
+
declare const progressLinearVariants: readonly ['initial', 'progress', 'interrupted', 'success', 'error'];
|
|
9790
10921
|
type ProgressLinearVariant = (typeof progressLinearVariants)[number];
|
|
9791
|
-
declare const progressLinearSizes: readonly [
|
|
10922
|
+
declare const progressLinearSizes: readonly ['small', 'medium', 'large'];
|
|
9792
10923
|
type ProgressLinearSize = (typeof progressLinearSizes)[number];
|
|
9793
10924
|
interface DsProgressLinearProps {
|
|
9794
10925
|
/**
|
|
@@ -9819,7 +10950,7 @@ interface DsProgressLinearProps {
|
|
|
9819
10950
|
/**
|
|
9820
10951
|
* Label displayed above the progress bar (left side)
|
|
9821
10952
|
*/
|
|
9822
|
-
label?: React.ReactNode;
|
|
10953
|
+
label?: React$1.ReactNode;
|
|
9823
10954
|
/**
|
|
9824
10955
|
* Whether to show the percentage value text (right side of label row)
|
|
9825
10956
|
* @default true
|
|
@@ -9830,7 +10961,7 @@ interface DsProgressLinearProps {
|
|
|
9830
10961
|
* When a string is provided, it is auto-styled with an icon and color based on the variant.
|
|
9831
10962
|
* When a ReactNode is provided, it is rendered as-is.
|
|
9832
10963
|
*/
|
|
9833
|
-
caption?: React.ReactNode | string;
|
|
10964
|
+
caption?: React$1.ReactNode | string;
|
|
9834
10965
|
/**
|
|
9835
10966
|
* Additional CSS class names
|
|
9836
10967
|
*/
|
|
@@ -9838,11 +10969,11 @@ interface DsProgressLinearProps {
|
|
|
9838
10969
|
/**
|
|
9839
10970
|
* Additional styles to apply to the component
|
|
9840
10971
|
*/
|
|
9841
|
-
style?: React.CSSProperties;
|
|
10972
|
+
style?: React$1.CSSProperties;
|
|
9842
10973
|
/**
|
|
9843
10974
|
* Ref to the root element
|
|
9844
10975
|
*/
|
|
9845
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
10976
|
+
ref?: React$1.Ref<HTMLDivElement>;
|
|
9846
10977
|
}
|
|
9847
10978
|
//#endregion
|
|
9848
10979
|
//#region src/components/ds-progress-linear/ds-progress-linear.d.ts
|
|
@@ -9868,6 +10999,28 @@ declare const DsProgressLinear: ({
|
|
|
9868
10999
|
* Props for the DsRadioGroup Root component
|
|
9869
11000
|
*/
|
|
9870
11001
|
interface DsRadioGroupRootProps extends Pick<RadioGroupRootProps, 'id' | 'value' | 'defaultValue' | 'disabled' | 'name' | 'className' | 'style' | 'orientation' | 'children'> {
|
|
11002
|
+
/**
|
|
11003
|
+
* Currently selected radio value (controlled). Pair with `onValueChange`.
|
|
11004
|
+
*/
|
|
11005
|
+
value?: RadioGroupRootProps['value'];
|
|
11006
|
+
/**
|
|
11007
|
+
* Initially selected radio value when uncontrolled.
|
|
11008
|
+
*/
|
|
11009
|
+
defaultValue?: RadioGroupRootProps['defaultValue'];
|
|
11010
|
+
/**
|
|
11011
|
+
* Whether the entire radio group is disabled.
|
|
11012
|
+
* @default false
|
|
11013
|
+
*/
|
|
11014
|
+
disabled?: RadioGroupRootProps['disabled'];
|
|
11015
|
+
/**
|
|
11016
|
+
* HTML name attribute applied to each radio input, used in form submissions.
|
|
11017
|
+
*/
|
|
11018
|
+
name?: RadioGroupRootProps['name'];
|
|
11019
|
+
/**
|
|
11020
|
+
* Layout orientation of the radio items.
|
|
11021
|
+
* @default vertical
|
|
11022
|
+
*/
|
|
11023
|
+
orientation?: RadioGroupRootProps['orientation'];
|
|
9871
11024
|
/**
|
|
9872
11025
|
* Event handler called when the selected value changes
|
|
9873
11026
|
*/
|
|
@@ -9877,6 +11030,16 @@ interface DsRadioGroupRootProps extends Pick<RadioGroupRootProps, 'id' | 'value'
|
|
|
9877
11030
|
* Props for the DsRadioGroup Item component
|
|
9878
11031
|
*/
|
|
9879
11032
|
interface DsRadioGroupItemProps extends Pick<RadioGroupItemProps, 'value' | 'disabled' | 'className' | 'style' | 'children'> {
|
|
11033
|
+
/**
|
|
11034
|
+
* Underlying value submitted when this item is selected.
|
|
11035
|
+
*/
|
|
11036
|
+
value: RadioGroupItemProps['value'];
|
|
11037
|
+
/**
|
|
11038
|
+
* Whether this radio item is disabled. Takes precedence over the group-level
|
|
11039
|
+
* `disabled` when the group is enabled.
|
|
11040
|
+
* @default false
|
|
11041
|
+
*/
|
|
11042
|
+
disabled?: RadioGroupItemProps['disabled'];
|
|
9880
11043
|
/**
|
|
9881
11044
|
* Optional label text for the radio item
|
|
9882
11045
|
*/
|
|
@@ -9914,7 +11077,7 @@ interface DsRadioOptionLegacy<ValueType = string> {
|
|
|
9914
11077
|
* Use compound component pattern instead
|
|
9915
11078
|
* @deprecated
|
|
9916
11079
|
*/
|
|
9917
|
-
interface DsRadioGroupLegacyProps<TOption extends DsRadioOptionLegacy = DsRadioOptionLegacy>
|
|
11080
|
+
interface DsRadioGroupLegacyProps<TOption extends DsRadioOptionLegacy = DsRadioOptionLegacy> {
|
|
9918
11081
|
/**
|
|
9919
11082
|
* The radio group options
|
|
9920
11083
|
*/
|
|
@@ -9929,18 +11092,20 @@ interface DsRadioGroupLegacyProps<TOption extends DsRadioOptionLegacy = DsRadioO
|
|
|
9929
11092
|
defaultValue?: TOption['value'];
|
|
9930
11093
|
/**
|
|
9931
11094
|
* Event handler called when the selected value changes
|
|
9932
|
-
*
|
|
9933
|
-
* @param value
|
|
9934
11095
|
*/
|
|
9935
11096
|
onValueChange?: (value: TOption['value']) => void;
|
|
11097
|
+
/**
|
|
11098
|
+
* Whether the entire radio group is disabled.
|
|
11099
|
+
*/
|
|
11100
|
+
disabled?: boolean;
|
|
9936
11101
|
/**
|
|
9937
11102
|
* Additional CSS class names
|
|
9938
11103
|
*/
|
|
9939
11104
|
className?: string;
|
|
9940
11105
|
/**
|
|
9941
|
-
* Additional styles
|
|
11106
|
+
* Additional inline styles
|
|
9942
11107
|
*/
|
|
9943
|
-
style?: React.CSSProperties;
|
|
11108
|
+
style?: React$1.CSSProperties;
|
|
9944
11109
|
}
|
|
9945
11110
|
//#endregion
|
|
9946
11111
|
//#region src/components/ds-radio-group/ds-radio-group.d.ts
|
|
@@ -9949,7 +11114,7 @@ interface DsRadioGroupLegacyProps<TOption extends DsRadioOptionLegacy = DsRadioO
|
|
|
9949
11114
|
* Use compound component pattern instead: DsRadioGroup.Root + DsRadioGroup.Item
|
|
9950
11115
|
* @deprecated
|
|
9951
11116
|
*/
|
|
9952
|
-
declare const DsRadioGroupLegacy: React.FC<DsRadioGroupLegacyProps>;
|
|
11117
|
+
declare const DsRadioGroupLegacy: React$1.FC<DsRadioGroupLegacyProps>;
|
|
9953
11118
|
/**
|
|
9954
11119
|
* Design system RadioGroup component
|
|
9955
11120
|
*
|
|
@@ -9960,8 +11125,8 @@ declare const DsRadioGroupLegacy: React.FC<DsRadioGroupLegacyProps>;
|
|
|
9960
11125
|
* </DsRadioGroup.Root>
|
|
9961
11126
|
*/
|
|
9962
11127
|
declare const DsRadioGroup: {
|
|
9963
|
-
Root: React.FC<DsRadioGroupRootProps>;
|
|
9964
|
-
Item: React.FC<DsRadioGroupItemProps>;
|
|
11128
|
+
Root: React$1.FC<DsRadioGroupRootProps>;
|
|
11129
|
+
Item: React$1.FC<DsRadioGroupItemProps>;
|
|
9965
11130
|
};
|
|
9966
11131
|
//#endregion
|
|
9967
11132
|
//#region src/components/ds-segment-group/ds-segment-group.types.d.ts
|
|
@@ -9973,6 +11138,23 @@ type DsSegmentGroupSize = 'small' | 'default';
|
|
|
9973
11138
|
* Props for the DsSegmentGroup Root component
|
|
9974
11139
|
*/
|
|
9975
11140
|
interface DsSegmentGroupRootProps extends Pick<SegmentGroupRootProps, 'value' | 'defaultValue' | 'disabled' | 'name' | 'className' | 'style' | 'children'> {
|
|
11141
|
+
/**
|
|
11142
|
+
* Currently selected segment value (controlled). Pair with `onValueChange`.
|
|
11143
|
+
*/
|
|
11144
|
+
value?: SegmentGroupRootProps['value'];
|
|
11145
|
+
/**
|
|
11146
|
+
* Initially selected segment value when uncontrolled.
|
|
11147
|
+
*/
|
|
11148
|
+
defaultValue?: SegmentGroupRootProps['defaultValue'];
|
|
11149
|
+
/**
|
|
11150
|
+
* Whether the entire segment group is disabled.
|
|
11151
|
+
* @default false
|
|
11152
|
+
*/
|
|
11153
|
+
disabled?: SegmentGroupRootProps['disabled'];
|
|
11154
|
+
/**
|
|
11155
|
+
* HTML name attribute used when the group participates in a form submission.
|
|
11156
|
+
*/
|
|
11157
|
+
name?: SegmentGroupRootProps['name'];
|
|
9976
11158
|
/**
|
|
9977
11159
|
* Size variant of the segment group
|
|
9978
11160
|
* @default 'default'
|
|
@@ -10025,45 +11207,127 @@ type DsSegmentGroupItemTextProps = Pick<SegmentGroupItemTextProps, 'className' |
|
|
|
10025
11207
|
* </DsSegmentGroup.Root>
|
|
10026
11208
|
*/
|
|
10027
11209
|
declare const DsSegmentGroup: {
|
|
10028
|
-
Root: React.FC<DsSegmentGroupRootProps>;
|
|
10029
|
-
Item: React.FC<DsSegmentGroupItemProps>;
|
|
10030
|
-
ItemText: React.FC<DsSegmentGroupItemTextProps>;
|
|
11210
|
+
Root: React$1.FC<DsSegmentGroupRootProps>;
|
|
11211
|
+
Item: React$1.FC<DsSegmentGroupItemProps>;
|
|
11212
|
+
ItemText: React$1.FC<DsSegmentGroupItemTextProps>;
|
|
10031
11213
|
};
|
|
10032
11214
|
//#endregion
|
|
10033
11215
|
//#region src/components/ds-typography/ds-typography.config.d.ts
|
|
10034
|
-
declare const
|
|
10035
|
-
readonly 'body-md-reg':
|
|
10036
|
-
|
|
10037
|
-
|
|
10038
|
-
|
|
10039
|
-
readonly 'body-md-
|
|
10040
|
-
|
|
10041
|
-
|
|
10042
|
-
|
|
10043
|
-
readonly 'body-
|
|
10044
|
-
|
|
10045
|
-
|
|
10046
|
-
|
|
10047
|
-
readonly 'body-
|
|
10048
|
-
|
|
10049
|
-
|
|
10050
|
-
|
|
10051
|
-
readonly '
|
|
10052
|
-
|
|
10053
|
-
|
|
10054
|
-
|
|
10055
|
-
readonly
|
|
10056
|
-
|
|
10057
|
-
|
|
11216
|
+
declare const typographyVariantConfig: {
|
|
11217
|
+
readonly 'body-md-reg': {
|
|
11218
|
+
readonly element: 'p';
|
|
11219
|
+
readonly component: _$react.ForwardRefExoticComponent<_$react.ClassAttributes<HTMLParagraphElement> & _$react.HTMLAttributes<HTMLParagraphElement> & _$_ark_ui_react0.PolymorphicProps>;
|
|
11220
|
+
};
|
|
11221
|
+
readonly 'body-md-md': {
|
|
11222
|
+
readonly element: 'p';
|
|
11223
|
+
readonly component: _$react.ForwardRefExoticComponent<_$react.ClassAttributes<HTMLParagraphElement> & _$react.HTMLAttributes<HTMLParagraphElement> & _$_ark_ui_react0.PolymorphicProps>;
|
|
11224
|
+
};
|
|
11225
|
+
readonly 'body-md-semi-bold': {
|
|
11226
|
+
readonly element: 'p';
|
|
11227
|
+
readonly component: _$react.ForwardRefExoticComponent<_$react.ClassAttributes<HTMLParagraphElement> & _$react.HTMLAttributes<HTMLParagraphElement> & _$_ark_ui_react0.PolymorphicProps>;
|
|
11228
|
+
};
|
|
11229
|
+
readonly 'body-md-bold': {
|
|
11230
|
+
readonly element: 'p';
|
|
11231
|
+
readonly component: _$react.ForwardRefExoticComponent<_$react.ClassAttributes<HTMLParagraphElement> & _$react.HTMLAttributes<HTMLParagraphElement> & _$_ark_ui_react0.PolymorphicProps>;
|
|
11232
|
+
};
|
|
11233
|
+
readonly 'body-md-link': {
|
|
11234
|
+
readonly element: 'a';
|
|
11235
|
+
readonly component: _$react.ForwardRefExoticComponent<_$react.ClassAttributes<HTMLAnchorElement> & _$react.AnchorHTMLAttributes<HTMLAnchorElement> & _$_ark_ui_react0.PolymorphicProps>;
|
|
11236
|
+
};
|
|
11237
|
+
readonly 'body-sm-reg': {
|
|
11238
|
+
readonly element: 'span';
|
|
11239
|
+
readonly component: _$react.ForwardRefExoticComponent<_$react.ClassAttributes<HTMLSpanElement> & _$react.HTMLAttributes<HTMLSpanElement> & _$_ark_ui_react0.PolymorphicProps>;
|
|
11240
|
+
};
|
|
11241
|
+
readonly 'body-sm-md': {
|
|
11242
|
+
readonly element: 'span';
|
|
11243
|
+
readonly component: _$react.ForwardRefExoticComponent<_$react.ClassAttributes<HTMLSpanElement> & _$react.HTMLAttributes<HTMLSpanElement> & _$_ark_ui_react0.PolymorphicProps>;
|
|
11244
|
+
};
|
|
11245
|
+
readonly 'body-sm-semi-bold': {
|
|
11246
|
+
readonly element: 'span';
|
|
11247
|
+
readonly component: _$react.ForwardRefExoticComponent<_$react.ClassAttributes<HTMLSpanElement> & _$react.HTMLAttributes<HTMLSpanElement> & _$_ark_ui_react0.PolymorphicProps>;
|
|
11248
|
+
};
|
|
11249
|
+
readonly 'body-sm-bold': {
|
|
11250
|
+
readonly element: 'span';
|
|
11251
|
+
readonly component: _$react.ForwardRefExoticComponent<_$react.ClassAttributes<HTMLSpanElement> & _$react.HTMLAttributes<HTMLSpanElement> & _$_ark_ui_react0.PolymorphicProps>;
|
|
11252
|
+
};
|
|
11253
|
+
readonly 'body-sm-link': {
|
|
11254
|
+
readonly element: 'a';
|
|
11255
|
+
readonly component: _$react.ForwardRefExoticComponent<_$react.ClassAttributes<HTMLAnchorElement> & _$react.AnchorHTMLAttributes<HTMLAnchorElement> & _$_ark_ui_react0.PolymorphicProps>;
|
|
11256
|
+
};
|
|
11257
|
+
readonly 'body-xs-reg': {
|
|
11258
|
+
readonly element: 'span';
|
|
11259
|
+
readonly component: _$react.ForwardRefExoticComponent<_$react.ClassAttributes<HTMLSpanElement> & _$react.HTMLAttributes<HTMLSpanElement> & _$_ark_ui_react0.PolymorphicProps>;
|
|
11260
|
+
};
|
|
11261
|
+
readonly 'body-xs-md': {
|
|
11262
|
+
readonly element: 'span';
|
|
11263
|
+
readonly component: _$react.ForwardRefExoticComponent<_$react.ClassAttributes<HTMLSpanElement> & _$react.HTMLAttributes<HTMLSpanElement> & _$_ark_ui_react0.PolymorphicProps>;
|
|
11264
|
+
};
|
|
11265
|
+
readonly 'body-xs-semi-bold': {
|
|
11266
|
+
readonly element: 'span';
|
|
11267
|
+
readonly component: _$react.ForwardRefExoticComponent<_$react.ClassAttributes<HTMLSpanElement> & _$react.HTMLAttributes<HTMLSpanElement> & _$_ark_ui_react0.PolymorphicProps>;
|
|
11268
|
+
};
|
|
11269
|
+
readonly 'body-xs-bold': {
|
|
11270
|
+
readonly element: 'span';
|
|
11271
|
+
readonly component: _$react.ForwardRefExoticComponent<_$react.ClassAttributes<HTMLSpanElement> & _$react.HTMLAttributes<HTMLSpanElement> & _$_ark_ui_react0.PolymorphicProps>;
|
|
11272
|
+
};
|
|
11273
|
+
readonly 'body-xs-link': {
|
|
11274
|
+
readonly element: 'a';
|
|
11275
|
+
readonly component: _$react.ForwardRefExoticComponent<_$react.ClassAttributes<HTMLAnchorElement> & _$react.AnchorHTMLAttributes<HTMLAnchorElement> & _$_ark_ui_react0.PolymorphicProps>;
|
|
11276
|
+
};
|
|
11277
|
+
readonly 'code-sm-reg': {
|
|
11278
|
+
readonly element: 'code';
|
|
11279
|
+
readonly component: _$react.ForwardRefExoticComponent<_$react.ClassAttributes<HTMLElement> & _$react.HTMLAttributes<HTMLElement> & _$_ark_ui_react0.PolymorphicProps>;
|
|
11280
|
+
};
|
|
11281
|
+
readonly 'code-sm-semi-bold': {
|
|
11282
|
+
readonly element: 'code';
|
|
11283
|
+
readonly component: _$react.ForwardRefExoticComponent<_$react.ClassAttributes<HTMLElement> & _$react.HTMLAttributes<HTMLElement> & _$_ark_ui_react0.PolymorphicProps>;
|
|
11284
|
+
};
|
|
11285
|
+
readonly 'code-xs-reg': {
|
|
11286
|
+
readonly element: 'code';
|
|
11287
|
+
readonly component: _$react.ForwardRefExoticComponent<_$react.ClassAttributes<HTMLElement> & _$react.HTMLAttributes<HTMLElement> & _$_ark_ui_react0.PolymorphicProps>;
|
|
11288
|
+
};
|
|
11289
|
+
readonly 'code-xs-semi-bold': {
|
|
11290
|
+
readonly element: 'code';
|
|
11291
|
+
readonly component: _$react.ForwardRefExoticComponent<_$react.ClassAttributes<HTMLElement> & _$react.HTMLAttributes<HTMLElement> & _$_ark_ui_react0.PolymorphicProps>;
|
|
11292
|
+
};
|
|
11293
|
+
readonly heading1: {
|
|
11294
|
+
readonly element: 'h1';
|
|
11295
|
+
readonly component: _$react.ForwardRefExoticComponent<_$react.ClassAttributes<HTMLHeadingElement> & _$react.HTMLAttributes<HTMLHeadingElement> & _$_ark_ui_react0.PolymorphicProps>;
|
|
11296
|
+
};
|
|
11297
|
+
readonly heading2: {
|
|
11298
|
+
readonly element: 'h2';
|
|
11299
|
+
readonly component: _$react.ForwardRefExoticComponent<_$react.ClassAttributes<HTMLHeadingElement> & _$react.HTMLAttributes<HTMLHeadingElement> & _$_ark_ui_react0.PolymorphicProps>;
|
|
11300
|
+
};
|
|
11301
|
+
readonly heading3: {
|
|
11302
|
+
readonly element: 'h3';
|
|
11303
|
+
readonly component: _$react.ForwardRefExoticComponent<_$react.ClassAttributes<HTMLHeadingElement> & _$react.HTMLAttributes<HTMLHeadingElement> & _$_ark_ui_react0.PolymorphicProps>;
|
|
11304
|
+
};
|
|
11305
|
+
readonly heading4: {
|
|
11306
|
+
readonly element: 'h4';
|
|
11307
|
+
readonly component: _$react.ForwardRefExoticComponent<_$react.ClassAttributes<HTMLHeadingElement> & _$react.HTMLAttributes<HTMLHeadingElement> & _$_ark_ui_react0.PolymorphicProps>;
|
|
11308
|
+
};
|
|
10058
11309
|
};
|
|
11310
|
+
/** Semantic text colors backed by `--font-*` tokens in `_root_new.scss`. */
|
|
11311
|
+
declare const typographyColors: readonly ['main', 'secondary', 'action', 'action-hover', 'action-secondary', 'action-secondary-hover', 'disabled', 'light-disabled', 'on-action', 'on-disabled', 'placeholder', 'highlight', 'success', 'warning', 'error', 'code'];
|
|
10059
11312
|
//#endregion
|
|
10060
11313
|
//#region src/components/ds-typography/ds-typography.types.d.ts
|
|
10061
|
-
type SemanticVariant = keyof typeof
|
|
11314
|
+
type SemanticVariant = keyof typeof typographyVariantConfig;
|
|
11315
|
+
type TypographyColor = (typeof typographyColors)[number];
|
|
10062
11316
|
interface DsTypographyProps {
|
|
11317
|
+
/**
|
|
11318
|
+
* Ref to the rendered element.
|
|
11319
|
+
*/
|
|
11320
|
+
ref?: Ref<HTMLElement>;
|
|
10063
11321
|
/**
|
|
10064
11322
|
* The semantic variant of the component
|
|
10065
11323
|
*/
|
|
10066
11324
|
variant: SemanticVariant;
|
|
11325
|
+
/**
|
|
11326
|
+
* Text color. Semantic names map to `--font-*` tokens; raw CSS color values
|
|
11327
|
+
* (hex, rgb, hsl, CSS variables, named colors) pass through unchanged.
|
|
11328
|
+
* Omit to inherit.
|
|
11329
|
+
*/
|
|
11330
|
+
color?: TypographyColor | (string & {});
|
|
10067
11331
|
/**
|
|
10068
11332
|
* Additional CSS class names
|
|
10069
11333
|
*/
|
|
@@ -10073,7 +11337,7 @@ interface DsTypographyProps {
|
|
|
10073
11337
|
*/
|
|
10074
11338
|
style?: React.CSSProperties;
|
|
10075
11339
|
/**
|
|
10076
|
-
* When true,
|
|
11340
|
+
* When true, composes typography styles onto the child element without extra DOM nodes
|
|
10077
11341
|
*/
|
|
10078
11342
|
asChild?: boolean;
|
|
10079
11343
|
/**
|
|
@@ -10083,14 +11347,21 @@ interface DsTypographyProps {
|
|
|
10083
11347
|
}
|
|
10084
11348
|
//#endregion
|
|
10085
11349
|
//#region src/components/ds-typography/ds-typography.d.ts
|
|
10086
|
-
declare const DsTypography:
|
|
10087
|
-
ref
|
|
10088
|
-
|
|
11350
|
+
declare const DsTypography: ({
|
|
11351
|
+
ref,
|
|
11352
|
+
variant,
|
|
11353
|
+
asChild,
|
|
11354
|
+
className,
|
|
11355
|
+
style,
|
|
11356
|
+
color,
|
|
11357
|
+
children,
|
|
11358
|
+
...props
|
|
11359
|
+
}: DsTypographyProps) => _$react_jsx_runtime0.JSX.Element;
|
|
10089
11360
|
//#endregion
|
|
10090
11361
|
//#region src/components/ds-skeleton/ds-skeleton.types.d.ts
|
|
10091
|
-
declare const skeletonColorVariants: readonly [
|
|
11362
|
+
declare const skeletonColorVariants: readonly ['gray', 'blue'];
|
|
10092
11363
|
type SkeletonColorVariant = (typeof skeletonColorVariants)[number];
|
|
10093
|
-
declare const skeletonRadiusVariants: readonly [
|
|
11364
|
+
declare const skeletonRadiusVariants: readonly ['default', 'round'];
|
|
10094
11365
|
type SkeletonRadiusVariant = (typeof skeletonRadiusVariants)[number];
|
|
10095
11366
|
/**
|
|
10096
11367
|
* Shared base props for all skeleton components
|
|
@@ -10240,7 +11511,7 @@ declare const DsSkeletonRect: ({
|
|
|
10240
11511
|
}: DsSkeletonRectProps) => _$react_jsx_runtime0.JSX.Element;
|
|
10241
11512
|
//#endregion
|
|
10242
11513
|
//#region src/components/ds-smart-tabs/ds-smart-tabs.types.d.ts
|
|
10243
|
-
declare const colors: readonly [
|
|
11514
|
+
declare const colors: readonly ['dark-blue', 'light-blue', 'dark-gray', 'green', 'fuchsia', 'blue', 'gray', 'red', 'amber'];
|
|
10244
11515
|
type Color = (typeof colors)[number];
|
|
10245
11516
|
interface DsSmartTabProps {
|
|
10246
11517
|
/**
|
|
@@ -10274,7 +11545,7 @@ interface DsSmartTabProps {
|
|
|
10274
11545
|
/**
|
|
10275
11546
|
* Additional styles to apply to the tab
|
|
10276
11547
|
*/
|
|
10277
|
-
style?: React.CSSProperties;
|
|
11548
|
+
style?: React$1.CSSProperties;
|
|
10278
11549
|
}
|
|
10279
11550
|
interface DsSmartTabsProps {
|
|
10280
11551
|
/**
|
|
@@ -10292,7 +11563,7 @@ interface DsSmartTabsProps {
|
|
|
10292
11563
|
/**
|
|
10293
11564
|
* Additional styles to apply to the component
|
|
10294
11565
|
*/
|
|
10295
|
-
style?: React.CSSProperties;
|
|
11566
|
+
style?: React$1.CSSProperties;
|
|
10296
11567
|
/**
|
|
10297
11568
|
* The tab components as children
|
|
10298
11569
|
*/
|
|
@@ -10300,23 +11571,20 @@ interface DsSmartTabsProps {
|
|
|
10300
11571
|
}
|
|
10301
11572
|
//#endregion
|
|
10302
11573
|
//#region src/components/ds-smart-tabs/ds-smart-tabs.d.ts
|
|
10303
|
-
|
|
10304
|
-
|
|
10305
|
-
|
|
10306
|
-
|
|
10307
|
-
|
|
10308
|
-
|
|
10309
|
-
|
|
10310
|
-
|
|
10311
|
-
|
|
10312
|
-
|
|
10313
|
-
|
|
10314
|
-
}: DsSmartTabsProps): _$react_jsx_runtime0.JSX.Element;
|
|
10315
|
-
Tab: React.FC<DsSmartTabProps>;
|
|
10316
|
-
};
|
|
11574
|
+
declare function DsSmartTabs({
|
|
11575
|
+
activeTab,
|
|
11576
|
+
onTabClick,
|
|
11577
|
+
className,
|
|
11578
|
+
style,
|
|
11579
|
+
children,
|
|
11580
|
+
...props
|
|
11581
|
+
}: DsSmartTabsProps): _$react_jsx_runtime0.JSX.Element;
|
|
11582
|
+
declare namespace DsSmartTabs {
|
|
11583
|
+
var Tab: React$1.FC<DsSmartTabProps>;
|
|
11584
|
+
}
|
|
10317
11585
|
//#endregion
|
|
10318
11586
|
//#region src/components/ds-spinner/ds-spinner.types.d.ts
|
|
10319
|
-
declare const spinnerSizes: readonly [
|
|
11587
|
+
declare const spinnerSizes: readonly ['small', 'medium', 'large'];
|
|
10320
11588
|
type SpinnerSize = (typeof spinnerSizes)[number];
|
|
10321
11589
|
interface DsSpinnerProps {
|
|
10322
11590
|
/**
|
|
@@ -10331,35 +11599,43 @@ interface DsSpinnerProps {
|
|
|
10331
11599
|
/**
|
|
10332
11600
|
* Additional styles to apply to the component
|
|
10333
11601
|
*/
|
|
10334
|
-
style?: React.CSSProperties;
|
|
11602
|
+
style?: React$1.CSSProperties;
|
|
10335
11603
|
}
|
|
10336
11604
|
//#endregion
|
|
10337
11605
|
//#region src/components/ds-spinner/ds-spinner.d.ts
|
|
10338
11606
|
/**
|
|
10339
11607
|
* Design system Spinner component
|
|
10340
11608
|
*/
|
|
10341
|
-
declare const DsSpinner: React.FC<DsSpinnerProps>;
|
|
11609
|
+
declare const DsSpinner: React$1.FC<DsSpinnerProps>;
|
|
10342
11610
|
//#endregion
|
|
10343
11611
|
//#region src/utils/type-utils.d.ts
|
|
10344
11612
|
type DistributiveOmit<T, K extends PropertyKey> = T extends unknown ? Omit<T, K> : never;
|
|
10345
11613
|
//#endregion
|
|
10346
11614
|
//#region src/components/ds-split-button/ds-split-button.types.d.ts
|
|
10347
|
-
declare const splitButtonSizes: readonly [
|
|
11615
|
+
declare const splitButtonSizes: readonly ['medium', 'small'];
|
|
10348
11616
|
type ButtonSlotProps = Omit<DsButtonV3Props, 'variant' | 'color' | 'size'>;
|
|
10349
11617
|
type SelectSlotProps = DistributiveOmit<DsSelectProps, 'size'>;
|
|
10350
11618
|
interface DsSplitButtonSlotProps {
|
|
11619
|
+
/**
|
|
11620
|
+
* Props forwarded to the primary action button (`DsButtonV3`). `variant`, `color`
|
|
11621
|
+
* and `size` are controlled by the split button and cannot be overridden here.
|
|
11622
|
+
*/
|
|
10351
11623
|
button: ButtonSlotProps;
|
|
11624
|
+
/**
|
|
11625
|
+
* Props forwarded to the dropdown select (`DsSelect`). `size` is controlled by
|
|
11626
|
+
* the split button and cannot be overridden here.
|
|
11627
|
+
*/
|
|
10352
11628
|
select: SelectSlotProps;
|
|
10353
11629
|
}
|
|
10354
11630
|
//#endregion
|
|
10355
11631
|
//#region src/components/ds-split-button/index.d.ts
|
|
10356
11632
|
declare const DsSplitButton: {
|
|
10357
11633
|
(props: {
|
|
10358
|
-
ref?: _$react.Ref<HTMLDivElement
|
|
10359
|
-
className?: string
|
|
10360
|
-
style?: _$react.CSSProperties
|
|
10361
|
-
size?: ResponsiveValue<NonNullable<"
|
|
10362
|
-
disabled?: boolean
|
|
11634
|
+
ref?: _$react.Ref<HTMLDivElement>;
|
|
11635
|
+
className?: string;
|
|
11636
|
+
style?: _$react.CSSProperties;
|
|
11637
|
+
size?: ResponsiveValue<NonNullable<"medium" | "small" | undefined>> | undefined;
|
|
11638
|
+
disabled?: boolean;
|
|
10363
11639
|
slotProps: DsSplitButtonSlotProps;
|
|
10364
11640
|
}): _$react.FunctionComponentElement<Record<string, unknown>>;
|
|
10365
11641
|
displayName: string;
|
|
@@ -10377,18 +11653,18 @@ declare const DsStack: {
|
|
|
10377
11653
|
flexWrap?: ResponsiveValue<NonNullable<_$csstype.Property.FlexWrap | undefined>> | undefined;
|
|
10378
11654
|
width?: ResponsiveValue<NonNullable<_$csstype.Property.Width<string | number> | undefined>> | undefined;
|
|
10379
11655
|
children?: _$react.ReactNode;
|
|
10380
|
-
className?: string
|
|
10381
|
-
style?: _$react.CSSProperties
|
|
10382
|
-
ref?: _$react.Ref<HTMLDivElement
|
|
11656
|
+
className?: string;
|
|
11657
|
+
style?: _$react.CSSProperties;
|
|
11658
|
+
ref?: _$react.Ref<HTMLDivElement>;
|
|
10383
11659
|
}): _$react.FunctionComponentElement<Record<string, unknown>>;
|
|
10384
11660
|
displayName: string;
|
|
10385
11661
|
};
|
|
10386
11662
|
type DsStackProps = ComponentProps<typeof DsStack>;
|
|
10387
11663
|
//#endregion
|
|
10388
11664
|
//#region src/components/ds-status-badge/ds-status-badge.types.d.ts
|
|
10389
|
-
declare const dsStatuses: readonly [
|
|
11665
|
+
declare const dsStatuses: readonly ['active', 'running', 'pending', 'draft', 'inactive', 'warning', 'failed'];
|
|
10390
11666
|
type DsStatus = (typeof dsStatuses)[number];
|
|
10391
|
-
declare const statusBadgeSizes: readonly [
|
|
11667
|
+
declare const statusBadgeSizes: readonly ['medium', 'small'];
|
|
10392
11668
|
type StatusBadgeSize = (typeof statusBadgeSizes)[number];
|
|
10393
11669
|
interface DsStatusBadgeProps {
|
|
10394
11670
|
/**
|
|
@@ -10431,24 +11707,57 @@ interface DsStatusBadgeProps {
|
|
|
10431
11707
|
/**
|
|
10432
11708
|
* Design system StatusBadge component
|
|
10433
11709
|
*/
|
|
10434
|
-
declare const DsStatusBadge: React.FC<DsStatusBadgeProps>;
|
|
11710
|
+
declare const DsStatusBadge: React$1.FC<DsStatusBadgeProps>;
|
|
10435
11711
|
//#endregion
|
|
10436
11712
|
//#region src/components/ds-stepper/ds-stepper.types.d.ts
|
|
10437
11713
|
type DsStepperVariant = 'single';
|
|
10438
11714
|
type DsStepperOrientation = 'horizontal' | 'vertical';
|
|
10439
11715
|
type DsStepperProps = PropsWithChildren<{
|
|
11716
|
+
/**
|
|
11717
|
+
* Visual variant of the stepper. Currently only `single` is supported.
|
|
11718
|
+
* @default single
|
|
11719
|
+
*/
|
|
10440
11720
|
variant?: DsStepperVariant;
|
|
11721
|
+
/**
|
|
11722
|
+
* Layout orientation of the stepper.
|
|
11723
|
+
* @default horizontal
|
|
11724
|
+
*/
|
|
10441
11725
|
orientation?: DsStepperOrientation;
|
|
11726
|
+
/**
|
|
11727
|
+
* When `true`, renders the stepper as a floating overlay (typically pinned
|
|
11728
|
+
* to the bottom of the viewport) instead of inline in the layout.
|
|
11729
|
+
* @default false
|
|
11730
|
+
*/
|
|
10442
11731
|
floating?: boolean;
|
|
11732
|
+
/**
|
|
11733
|
+
* Called when the final step completes (i.e., the user finishes the last step).
|
|
11734
|
+
*/
|
|
10443
11735
|
onComplete?: steps.Props['onStepComplete'];
|
|
11736
|
+
/**
|
|
11737
|
+
* Zero-based index of the currently active step (controlled). Pair with
|
|
11738
|
+
* `onStepChange`.
|
|
11739
|
+
*/
|
|
10444
11740
|
activeStep?: steps.Props['step'];
|
|
11741
|
+
/**
|
|
11742
|
+
* Additional CSS class name applied to the stepper root.
|
|
11743
|
+
*/
|
|
10445
11744
|
className?: string;
|
|
10446
11745
|
/**
|
|
10447
11746
|
* Optional actions rendered at the end of the stepper.
|
|
10448
11747
|
* Horizontal: displayed after the steps. Vertical: displayed at the bottom.
|
|
10449
11748
|
*/
|
|
10450
11749
|
actions?: ReactNode;
|
|
10451
|
-
} & Pick<steps.Props, 'onStepChange' | 'count'
|
|
11750
|
+
} & Pick<steps.Props, 'onStepChange' | 'count'> & {
|
|
11751
|
+
/**
|
|
11752
|
+
* Called when the active step changes. Receives the zag-js step-change
|
|
11753
|
+
* details including the new index.
|
|
11754
|
+
*/
|
|
11755
|
+
onStepChange?: steps.Props['onStepChange'];
|
|
11756
|
+
/**
|
|
11757
|
+
* Total number of steps in the stepper.
|
|
11758
|
+
*/
|
|
11759
|
+
count?: steps.Props['count'];
|
|
11760
|
+
}>;
|
|
10452
11761
|
//#endregion
|
|
10453
11762
|
//#region src/components/ds-stepper/ds-stepper.d.ts
|
|
10454
11763
|
declare function DsStepper({
|
|
@@ -10526,7 +11835,7 @@ declare function DsNextStepButton({
|
|
|
10526
11835
|
* @deprecated This type is deprecated. Use `DsStatusBadge` and its related types instead.
|
|
10527
11836
|
* @see {@link ../ds-status-badge/ds-status-badge} for the replacement component.
|
|
10528
11837
|
*/
|
|
10529
|
-
declare const systemStatuses: readonly [
|
|
11838
|
+
declare const systemStatuses: readonly ['healthy', 'neutral', 'error', 'in-progress', 'pending', 'alert', 'disabled'];
|
|
10530
11839
|
/**
|
|
10531
11840
|
* @deprecated This type is deprecated. Use `DsStatus` from `ds-status-badge` instead.
|
|
10532
11841
|
*/
|
|
@@ -10555,7 +11864,7 @@ interface DsSystemStatusProps {
|
|
|
10555
11864
|
* @deprecated This component is deprecated. Use `DsStatusBadge` instead.
|
|
10556
11865
|
* @see {@link ../ds-status-badge/ds-status-badge} for the replacement component.
|
|
10557
11866
|
*/
|
|
10558
|
-
declare const DsSystemStatus: React.FC<DsSystemStatusProps>;
|
|
11867
|
+
declare const DsSystemStatus: React$1.FC<DsSystemStatusProps>;
|
|
10559
11868
|
//#endregion
|
|
10560
11869
|
//#region src/components/ds-table/components/ds-table-cell/ds-table-cell.types.d.ts
|
|
10561
11870
|
/**
|
|
@@ -10574,6 +11883,11 @@ interface RowAction<TData> {
|
|
|
10574
11883
|
* Optional tooltip text to show on hover
|
|
10575
11884
|
*/
|
|
10576
11885
|
tooltip?: string;
|
|
11886
|
+
/**
|
|
11887
|
+
* Optional function to determine if the action should be hidden for a specific row.
|
|
11888
|
+
* When it returns `true`, the action is omitted from that row's menu. Takes precedence over `disabled`.
|
|
11889
|
+
*/
|
|
11890
|
+
hidden?: (row: TData) => boolean;
|
|
10577
11891
|
/**
|
|
10578
11892
|
* Optional function to determine if the action should be disabled for a specific row
|
|
10579
11893
|
*/
|
|
@@ -10705,7 +12019,13 @@ interface FilterState<TValue> {
|
|
|
10705
12019
|
* Column filter for TanStack Table
|
|
10706
12020
|
*/
|
|
10707
12021
|
interface ColumnFilterState<TValue> {
|
|
12022
|
+
/**
|
|
12023
|
+
* Column identifier this filter applies to (matches the column `accessorKey`).
|
|
12024
|
+
*/
|
|
10708
12025
|
id: string;
|
|
12026
|
+
/**
|
|
12027
|
+
* Current filter value, passed to the column's filter function.
|
|
12028
|
+
*/
|
|
10709
12029
|
value: TValue;
|
|
10710
12030
|
}
|
|
10711
12031
|
//#endregion
|
|
@@ -11172,7 +12492,7 @@ interface DsDataTableProps<TData, TValue> {
|
|
|
11172
12492
|
/**
|
|
11173
12493
|
* Ref to the table API
|
|
11174
12494
|
*/
|
|
11175
|
-
ref?: React.RefObject<DsTableApi<TData> | null>;
|
|
12495
|
+
ref?: React$1.RefObject<DsTableApi<TData> | null>;
|
|
11176
12496
|
/**
|
|
11177
12497
|
* Columns of the table
|
|
11178
12498
|
*/
|
|
@@ -11232,7 +12552,7 @@ interface DsDataTableProps<TData, TValue> {
|
|
|
11232
12552
|
/**
|
|
11233
12553
|
* Empty state of the table
|
|
11234
12554
|
*/
|
|
11235
|
-
emptyState?: React.ReactNode;
|
|
12555
|
+
emptyState?: React$1.ReactNode;
|
|
11236
12556
|
/**
|
|
11237
12557
|
* Whether the table has sticky header
|
|
11238
12558
|
*/
|
|
@@ -11261,7 +12581,7 @@ interface DsDataTableProps<TData, TValue> {
|
|
|
11261
12581
|
/**
|
|
11262
12582
|
* Function to render the expanded row
|
|
11263
12583
|
*/
|
|
11264
|
-
renderExpandedRow?: (row: TData) => React.ReactNode;
|
|
12584
|
+
renderExpandedRow?: (row: TData) => React$1.ReactNode;
|
|
11265
12585
|
/**
|
|
11266
12586
|
* Function to handle table creation
|
|
11267
12587
|
*/
|
|
@@ -11517,9 +12837,9 @@ declare const DsTabs: {
|
|
|
11517
12837
|
};
|
|
11518
12838
|
//#endregion
|
|
11519
12839
|
//#region src/components/ds-tag/ds-tag.types.d.ts
|
|
11520
|
-
declare const tagSizes: readonly [
|
|
12840
|
+
declare const tagSizes: readonly ['medium', 'small'];
|
|
11521
12841
|
type TagSize = (typeof tagSizes)[number];
|
|
11522
|
-
declare const tagVariants: readonly [
|
|
12842
|
+
declare const tagVariants: readonly ['default', 'include', 'exclude'];
|
|
11523
12843
|
type TagVariant = (typeof tagVariants)[number];
|
|
11524
12844
|
interface DsTagProps {
|
|
11525
12845
|
/**
|
|
@@ -11538,6 +12858,9 @@ interface DsTagProps {
|
|
|
11538
12858
|
* Locale object (you can pass custom strings for localization)
|
|
11539
12859
|
*/
|
|
11540
12860
|
locale?: {
|
|
12861
|
+
/**
|
|
12862
|
+
* aria-label for the delete button (shown when `onDelete` is provided).
|
|
12863
|
+
*/
|
|
11541
12864
|
deleteAriaLabel?: string;
|
|
11542
12865
|
};
|
|
11543
12866
|
/**
|
|
@@ -11572,6 +12895,9 @@ interface DsTagProps {
|
|
|
11572
12895
|
* @default false
|
|
11573
12896
|
*/
|
|
11574
12897
|
disabled?: boolean;
|
|
12898
|
+
/**
|
|
12899
|
+
* Optional render slots for customizing parts of the tag.
|
|
12900
|
+
*/
|
|
11575
12901
|
slots?: {
|
|
11576
12902
|
/**
|
|
11577
12903
|
* Icon to display at the start of the input
|
|
@@ -11622,6 +12948,10 @@ interface TagFilterItem {
|
|
|
11622
12948
|
* Additional props to pass to the components
|
|
11623
12949
|
*/
|
|
11624
12950
|
slotProps?: {
|
|
12951
|
+
/**
|
|
12952
|
+
* Props forwarded to the underlying `DsTag` rendered for this item. Useful
|
|
12953
|
+
* for per-item overrides such as `variant` or `size`.
|
|
12954
|
+
*/
|
|
11625
12955
|
tag?: Partial<DsTagProps>;
|
|
11626
12956
|
};
|
|
11627
12957
|
}
|
|
@@ -11634,9 +12964,21 @@ interface DsTagFilterProps {
|
|
|
11634
12964
|
* Locale object (you can pass custom strings for localization)
|
|
11635
12965
|
*/
|
|
11636
12966
|
locale?: {
|
|
12967
|
+
/**
|
|
12968
|
+
* Heading label shown above the tag list (e.g., "Filters").
|
|
12969
|
+
*/
|
|
11637
12970
|
label?: string;
|
|
12971
|
+
/**
|
|
12972
|
+
* Label for the "Clear all" button.
|
|
12973
|
+
*/
|
|
11638
12974
|
clearButton?: string;
|
|
12975
|
+
/**
|
|
12976
|
+
* Label for the button that reveals hidden tags when the list overflows.
|
|
12977
|
+
*/
|
|
11639
12978
|
showMore?: string;
|
|
12979
|
+
/**
|
|
12980
|
+
* Label for the button that collapses the expanded list back to the preview.
|
|
12981
|
+
*/
|
|
11640
12982
|
showLess?: string;
|
|
11641
12983
|
};
|
|
11642
12984
|
/**
|
|
@@ -11685,7 +13027,7 @@ declare const DsTagFilter: ({
|
|
|
11685
13027
|
}: DsTagFilterProps) => _$react_jsx_runtime0.JSX.Element | null;
|
|
11686
13028
|
//#endregion
|
|
11687
13029
|
//#region src/components/ds-toast/ds-toast.types.d.ts
|
|
11688
|
-
declare const toastVariants: readonly [
|
|
13030
|
+
declare const toastVariants: readonly ['info', 'success', 'warning', 'error'];
|
|
11689
13031
|
type ToastVariant = (typeof toastVariants)[number];
|
|
11690
13032
|
type DsToastConfig = {
|
|
11691
13033
|
persistent?: never;
|
|
@@ -11771,7 +13113,7 @@ declare const DsToastProvider: FC<DsToastProviderProps>;
|
|
|
11771
13113
|
declare const useToaster: () => DsToastContextType;
|
|
11772
13114
|
//#endregion
|
|
11773
13115
|
//#region src/components/ds-toggle/ds-toggle.types.d.ts
|
|
11774
|
-
declare const toggleSizes: readonly [
|
|
13116
|
+
declare const toggleSizes: readonly ['default', 'small'];
|
|
11775
13117
|
type ToggleSize = (typeof toggleSizes)[number];
|
|
11776
13118
|
/**
|
|
11777
13119
|
* Props for the DsToggle component
|
|
@@ -11862,7 +13204,13 @@ interface DsTooltipProps {
|
|
|
11862
13204
|
* The content to be rendered inside the tooltip
|
|
11863
13205
|
*/
|
|
11864
13206
|
children: ReactNode;
|
|
13207
|
+
/**
|
|
13208
|
+
* Props forwarded to nested sub-components.
|
|
13209
|
+
*/
|
|
11865
13210
|
slotProps?: {
|
|
13211
|
+
/**
|
|
13212
|
+
* Props forwarded to the tooltip content popover (className / inline styles).
|
|
13213
|
+
*/
|
|
11866
13214
|
content?: {
|
|
11867
13215
|
className?: string;
|
|
11868
13216
|
style?: CSSProperties;
|
|
@@ -11875,14 +13223,34 @@ declare const DsTooltip: FC<DsTooltipProps>;
|
|
|
11875
13223
|
//#endregion
|
|
11876
13224
|
//#region src/components/ds-tree/ds-tree.types.d.ts
|
|
11877
13225
|
interface DsTreeNode {
|
|
13226
|
+
/**
|
|
13227
|
+
* Stable identifier for the node. Used as the key in selection, expansion, and
|
|
13228
|
+
* checked-state arrays.
|
|
13229
|
+
*/
|
|
11878
13230
|
id: string;
|
|
13231
|
+
/**
|
|
13232
|
+
* Display name rendered for the node
|
|
13233
|
+
*/
|
|
11879
13234
|
name: string;
|
|
13235
|
+
/**
|
|
13236
|
+
* Whether the node is disabled and cannot be selected, expanded, or checked.
|
|
13237
|
+
* @default false
|
|
13238
|
+
*/
|
|
11880
13239
|
disabled?: boolean;
|
|
13240
|
+
/**
|
|
13241
|
+
* Optional icon rendered before the node name
|
|
13242
|
+
*/
|
|
11881
13243
|
icon?: IconType;
|
|
13244
|
+
/**
|
|
13245
|
+
* Optional status indicator shown next to the node (e.g., active/inactive filter).
|
|
13246
|
+
*/
|
|
11882
13247
|
status?: FilterStatus;
|
|
13248
|
+
/**
|
|
13249
|
+
* Child nodes rendered under this node when it is expanded. Leaf nodes omit this.
|
|
13250
|
+
*/
|
|
11883
13251
|
children?: DsTreeNode[];
|
|
11884
13252
|
}
|
|
11885
|
-
declare const dsTreeSizes: readonly [
|
|
13253
|
+
declare const dsTreeSizes: readonly ['medium', 'small'];
|
|
11886
13254
|
type DsTreeSize = (typeof dsTreeSizes)[number];
|
|
11887
13255
|
interface DsTreeBaseProps {
|
|
11888
13256
|
className?: string;
|
|
@@ -11892,28 +13260,84 @@ interface DsTreeBasePropsWithChildren extends DsTreeBaseProps {
|
|
|
11892
13260
|
children?: ReactNode;
|
|
11893
13261
|
}
|
|
11894
13262
|
interface DsTreeRootProps<T extends DsTreeNode = DsTreeNode> extends DsTreeBasePropsWithChildren {
|
|
13263
|
+
/**
|
|
13264
|
+
* Ark UI tree collection describing the node hierarchy. Build it with
|
|
13265
|
+
* `createTreeCollection` and pass the resulting collection in.
|
|
13266
|
+
*/
|
|
11895
13267
|
collection: TreeView.RootProps<T>['collection'];
|
|
13268
|
+
/**
|
|
13269
|
+
* Controls visual density of tree rows.
|
|
13270
|
+
* @default medium
|
|
13271
|
+
*/
|
|
11896
13272
|
size?: DsTreeSize;
|
|
13273
|
+
/**
|
|
13274
|
+
* Ref forwarded to the tree root element
|
|
13275
|
+
*/
|
|
11897
13276
|
ref?: Ref<HTMLDivElement>;
|
|
13277
|
+
/**
|
|
13278
|
+
* Ids of currently selected nodes (controlled). Use with `onSelectionChange`.
|
|
13279
|
+
*/
|
|
11898
13280
|
selectedValue?: string[];
|
|
13281
|
+
/**
|
|
13282
|
+
* Ids of nodes selected initially when uncontrolled.
|
|
13283
|
+
*/
|
|
11899
13284
|
defaultSelectedValue?: string[];
|
|
13285
|
+
/**
|
|
13286
|
+
* Called when node selection changes. Receives the Ark selection details
|
|
13287
|
+
* including the new `selectedValue` array.
|
|
13288
|
+
*/
|
|
11900
13289
|
onSelectionChange?: TreeView.RootProps<T>['onSelectionChange'];
|
|
13290
|
+
/**
|
|
13291
|
+
* Whether only one node can be selected at a time (`single`) or multiple
|
|
13292
|
+
* selections are allowed (`multiple`).
|
|
13293
|
+
* @default single
|
|
13294
|
+
*/
|
|
11901
13295
|
selectionMode?: 'single' | 'multiple';
|
|
13296
|
+
/**
|
|
13297
|
+
* Ids of currently expanded branch nodes (controlled). Use with `onExpandedChange`.
|
|
13298
|
+
*/
|
|
11902
13299
|
expandedValue?: string[];
|
|
13300
|
+
/**
|
|
13301
|
+
* Ids of branch nodes expanded initially when uncontrolled.
|
|
13302
|
+
*/
|
|
11903
13303
|
defaultExpandedValue?: string[];
|
|
13304
|
+
/**
|
|
13305
|
+
* Called when the set of expanded nodes changes. Receives the Ark expansion
|
|
13306
|
+
* details including the new `expandedValue` array.
|
|
13307
|
+
*/
|
|
11904
13308
|
onExpandedChange?: TreeView.RootProps<T>['onExpandedChange'];
|
|
13309
|
+
/**
|
|
13310
|
+
* Whether clicking anywhere on a branch row toggles its expansion in addition
|
|
13311
|
+
* to clicking the branch indicator.
|
|
13312
|
+
* @default false
|
|
13313
|
+
*/
|
|
11905
13314
|
expandOnClick?: boolean;
|
|
13315
|
+
/**
|
|
13316
|
+
* Ids of nodes currently in the "checked" state (for checkbox trees). Use with
|
|
13317
|
+
* `onCheckedChange`.
|
|
13318
|
+
*/
|
|
11906
13319
|
checkedValue?: string[];
|
|
13320
|
+
/**
|
|
13321
|
+
* Ids of nodes initially checked when uncontrolled.
|
|
13322
|
+
*/
|
|
11907
13323
|
defaultCheckedValue?: string[];
|
|
13324
|
+
/**
|
|
13325
|
+
* Called when the set of checked nodes changes. Receives the Ark checked-change
|
|
13326
|
+
* details including the new `checkedValue` array.
|
|
13327
|
+
*/
|
|
11908
13328
|
onCheckedChange?: TreeView.RootProps<T>['onCheckedChange'];
|
|
11909
13329
|
/**
|
|
11910
|
-
* Whether to enable typeahead navigation — typing characters focuses matching nodes
|
|
13330
|
+
* Whether to enable typeahead navigation — typing characters focuses matching nodes.
|
|
11911
13331
|
*/
|
|
11912
13332
|
typeahead?: boolean;
|
|
11913
13333
|
/**
|
|
11914
|
-
* Whether to defer mounting of branch content until a branch is first expanded
|
|
13334
|
+
* Whether to defer mounting of branch content until a branch is first expanded.
|
|
11915
13335
|
*/
|
|
11916
13336
|
lazyMount?: boolean;
|
|
13337
|
+
/**
|
|
13338
|
+
* Whether to unmount branch content when the branch is collapsed (vs. hiding it).
|
|
13339
|
+
* Pair with `lazyMount` to control mounting strategy.
|
|
13340
|
+
*/
|
|
11917
13341
|
unmountOnExit?: boolean;
|
|
11918
13342
|
}
|
|
11919
13343
|
type DsTreeTreeProps = DsTreeBasePropsWithChildren;
|
|
@@ -11924,12 +13348,18 @@ type DsTreeBranchTextProps = DsTreeBasePropsWithChildren;
|
|
|
11924
13348
|
type DsTreeBranchContentProps = DsTreeBasePropsWithChildren;
|
|
11925
13349
|
type DsTreeBranchIndentGuideProps = DsTreeBaseProps;
|
|
11926
13350
|
interface DsTreeItemProps extends DsTreeBasePropsWithChildren {
|
|
13351
|
+
/**
|
|
13352
|
+
* Called when the leaf item is clicked. Receives the native mouse event.
|
|
13353
|
+
*/
|
|
11927
13354
|
onClick?: (event: MouseEvent<HTMLDivElement>) => void;
|
|
11928
13355
|
}
|
|
11929
13356
|
type DsTreeItemTextProps = DsTreeBasePropsWithChildren;
|
|
11930
13357
|
type DsTreeItemIndicatorProps = DsTreeBaseProps;
|
|
11931
13358
|
type DsTreeNodeCheckboxProps = DsTreeBaseProps;
|
|
11932
13359
|
interface DsTreeItemActionProps extends DsTreeBasePropsWithChildren {
|
|
13360
|
+
/**
|
|
13361
|
+
* Called when the row action button is clicked. Receives the native mouse event.
|
|
13362
|
+
*/
|
|
11933
13363
|
onClick?: (event: MouseEvent<HTMLButtonElement>) => void;
|
|
11934
13364
|
}
|
|
11935
13365
|
//#endregion
|
|
@@ -12090,48 +13520,78 @@ interface DsVerticalTabsContentProps {
|
|
|
12090
13520
|
}
|
|
12091
13521
|
//#endregion
|
|
12092
13522
|
//#region src/components/ds-vertical-tabs/ds-vertical-tabs.d.ts
|
|
12093
|
-
|
|
12094
|
-
|
|
12095
|
-
|
|
12096
|
-
|
|
12097
|
-
|
|
12098
|
-
|
|
12099
|
-
|
|
12100
|
-
|
|
12101
|
-
|
|
12102
|
-
* <span className={styles.badge}>5</span>
|
|
12103
|
-
* </DsVerticalTabs.Tab>
|
|
12104
|
-
* <DsVerticalTabs.Tab value="date">Date</DsVerticalTabs.Tab>
|
|
12105
|
-
* </DsVerticalTabs.List>
|
|
12106
|
-
* <DsVerticalTabs.Content value="status">Status filters...</DsVerticalTabs.Content>
|
|
12107
|
-
* <DsVerticalTabs.Content value="date">Date filters...</DsVerticalTabs.Content>
|
|
12108
|
-
* </DsVerticalTabs>
|
|
12109
|
-
* ```
|
|
12110
|
-
*/
|
|
12111
|
-
declare const DsVerticalTabs: {
|
|
12112
|
-
({
|
|
12113
|
-
value,
|
|
12114
|
-
onValueChange,
|
|
12115
|
-
className,
|
|
12116
|
-
style,
|
|
12117
|
-
children
|
|
12118
|
-
}: DsVerticalTabsRootProps): _$react_jsx_runtime0.JSX.Element;
|
|
12119
|
-
List: ({
|
|
13523
|
+
declare function DsVerticalTabs({
|
|
13524
|
+
value,
|
|
13525
|
+
onValueChange,
|
|
13526
|
+
className,
|
|
13527
|
+
style,
|
|
13528
|
+
children
|
|
13529
|
+
}: DsVerticalTabsRootProps): _$react_jsx_runtime0.JSX.Element;
|
|
13530
|
+
declare namespace DsVerticalTabs {
|
|
13531
|
+
var List: ({
|
|
12120
13532
|
className,
|
|
12121
13533
|
children
|
|
12122
13534
|
}: DsVerticalTabsListProps) => _$react_jsx_runtime0.JSX.Element;
|
|
12123
|
-
|
|
13535
|
+
}
|
|
13536
|
+
declare namespace DsVerticalTabs {
|
|
13537
|
+
var Tab: ({
|
|
12124
13538
|
value,
|
|
12125
13539
|
disabled,
|
|
12126
13540
|
className,
|
|
12127
13541
|
children
|
|
12128
13542
|
}: DsVerticalTabsTabProps) => _$react_jsx_runtime0.JSX.Element;
|
|
12129
|
-
|
|
13543
|
+
}
|
|
13544
|
+
declare namespace DsVerticalTabs {
|
|
13545
|
+
var Content: ({
|
|
12130
13546
|
value,
|
|
12131
13547
|
className,
|
|
12132
13548
|
children
|
|
12133
13549
|
}: DsVerticalTabsContentProps) => _$react_jsx_runtime0.JSX.Element;
|
|
12134
|
-
}
|
|
13550
|
+
}
|
|
13551
|
+
//#endregion
|
|
13552
|
+
//#region src/components/ds-workspace/ds-workspace.types.d.ts
|
|
13553
|
+
interface DsWorkspaceProps extends ComponentPropsWithRef<'div'> {
|
|
13554
|
+
/**
|
|
13555
|
+
* Whether the workspace should fill its parent height (`100%`) instead of the viewport (`100vh`).
|
|
13556
|
+
* @default false
|
|
13557
|
+
*/
|
|
13558
|
+
fillParent?: boolean;
|
|
13559
|
+
}
|
|
13560
|
+
type DsWorkspaceHeaderProps = ComponentPropsWithRef<'header'>;
|
|
13561
|
+
type DsWorkspaceSubHeaderProps = ComponentPropsWithRef<'div'>;
|
|
13562
|
+
type DsWorkspaceContentProps = ComponentPropsWithRef<'div'>;
|
|
13563
|
+
type DsWorkspaceFooterProps = ComponentPropsWithRef<'footer'>;
|
|
13564
|
+
//#endregion
|
|
13565
|
+
//#region src/components/ds-workspace/ds-workspace.d.ts
|
|
13566
|
+
declare function DsWorkspace({
|
|
13567
|
+
className,
|
|
13568
|
+
fillParent,
|
|
13569
|
+
...rest
|
|
13570
|
+
}: DsWorkspaceProps): _$react_jsx_runtime0.JSX.Element;
|
|
13571
|
+
declare namespace DsWorkspace {
|
|
13572
|
+
var Header: ({
|
|
13573
|
+
className,
|
|
13574
|
+
...rest
|
|
13575
|
+
}: DsWorkspaceHeaderProps) => _$react_jsx_runtime0.JSX.Element;
|
|
13576
|
+
}
|
|
13577
|
+
declare namespace DsWorkspace {
|
|
13578
|
+
var SubHeader: ({
|
|
13579
|
+
className,
|
|
13580
|
+
...rest
|
|
13581
|
+
}: DsWorkspaceSubHeaderProps) => _$react_jsx_runtime0.JSX.Element;
|
|
13582
|
+
}
|
|
13583
|
+
declare namespace DsWorkspace {
|
|
13584
|
+
var Content: ({
|
|
13585
|
+
className,
|
|
13586
|
+
...rest
|
|
13587
|
+
}: DsWorkspaceContentProps) => _$react_jsx_runtime0.JSX.Element;
|
|
13588
|
+
}
|
|
13589
|
+
declare namespace DsWorkspace {
|
|
13590
|
+
var Footer: ({
|
|
13591
|
+
className,
|
|
13592
|
+
...rest
|
|
13593
|
+
}: DsWorkspaceFooterProps) => _$react_jsx_runtime0.JSX.Element;
|
|
13594
|
+
}
|
|
12135
13595
|
//#endregion
|
|
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 };
|
|
13596
|
+
export { type AcceptedFileType, Action, AlertBannerVariant, AnyAdapter, BREAKPOINT_LG, Breakpoint, ButtonV3Color, ButtonV3Size, ButtonV3Variant, type CheckboxFilterAdapterConfig, type CheckboxFilterItem, type CheckboxFilterProps, CheckboxVariant, CheckedState, 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, DsButtonV3BaseProps, DsButtonV3Props, DsCard, type DsCardBodyProps, type DsCardFooterProps, type DsCardHeaderProps, type DsCardRootProps, type DsCardSize, DsCheckbox, DsCheckboxGroup, DsCheckboxGroupOrientation, DsCheckboxGroupProps, 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, DsTreeBaseProps, DsTreeBasePropsWithChildren, 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, DsWorkspace, type DsWorkspaceContentProps, type DsWorkspaceFooterProps, type DsWorkspaceHeaderProps, type DsWorkspaceProps, type DsWorkspaceSubHeaderProps, type DualRangeFilterAdapterConfig, type DualRangeFilterValue, FatalFileUploadError, type FileExtension, FileUpload, type FileUploadAdapter, FileUploadError, type FileUploadOptions, type FileUploadResult, FilterAdapter, type FilterAdapterConfig, FilterNavItem, FilterState, type FilterStatus, FilterTag, IconColor, 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, TypographyColor, type UploadedFile, UseCheckboxSelectAllOptions, UseCheckboxSelectAllResult, type UseFileUploadReturn, type UseTableFiltersOptions, type UseTableFiltersResult, alertBannerVariants, breakpoints, buttonV3Colors, buttonV3Sizes, buttonV3Variants, cardSizes, checkboxVariants, colors, controlStatuses, createCheckboxFilterAdapter, createDsTreeCollection, createDualRangeFilterAdapter, createFilterAdapter, customIcons, dsKeyValuePairOrientations, dsTreeSizes, filterStatuses, formatTime, iconColors, iconSizes, iconVariants, isCustomIcon, isResponsiveValue, loaderVariants, progressArcSizes, progressArcVariants, progressDonutSizes, progressDonutVariants, progressLinearSizes, progressLinearVariants, resolveResponsiveValue, skeletonColorVariants, skeletonRadiusVariants, spinnerSizes, splitButtonSizes, systemStatuses, tagSizes, tagVariants, textInputSizes, useBreakpoint, useCheckboxSelectAll, useFileUpload, useResponsiveValue, useTableFilters, useToaster, withResponsiveProps };
|
|
12137
13597
|
//# sourceMappingURL=index.d.cts.map
|