@drivenets/design-system 0.6.1 → 0.7.1
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 +35 -0
- package/dist/index.cjs +12297 -8255
- package/dist/index.d.cts +817 -118
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.ts +817 -118
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +12280 -8259
- package/dist/index.js.map +1 -1
- package/dist/index.min.css +1 -1
- package/package.json +25 -23
- package/src/components/ds-autocomplete/ds-autocomplete.module.scss +2 -1
- package/src/components/ds-autocomplete/ds-autocomplete.tsx +47 -40
- package/src/components/ds-autocomplete/ds-autocomplete.types.tsx +37 -14
- package/src/components/ds-button/versions/ds-button-new/ds-button-new.module.scss +3 -7
- package/src/components/ds-comment-bubble/components/ds-comment-thread/ds-comment-thread.module.scss +62 -0
- package/src/components/ds-comment-bubble/components/ds-comment-thread/ds-comment-thread.tsx +83 -0
- package/src/components/ds-comment-bubble/components/ds-comment-thread/ds-comment-thread.types.ts +12 -0
- package/src/components/ds-comment-bubble/components/ds-comment-thread/index.ts +2 -0
- package/src/components/ds-comment-bubble/components/ds-thread-item/ds-thread-item.module.scss +149 -0
- package/src/components/ds-comment-bubble/components/ds-thread-item/ds-thread-item.tsx +147 -0
- package/src/components/ds-comment-bubble/components/ds-thread-item/ds-thread-item.types.ts +15 -0
- package/src/components/ds-comment-bubble/components/ds-thread-item/index.ts +2 -0
- package/src/components/ds-comment-bubble/ds-comment-bubble.module.scss +298 -0
- package/src/components/ds-comment-bubble/ds-comment-bubble.tsx +241 -0
- package/src/components/ds-comment-bubble/ds-comment-bubble.types.ts +27 -0
- package/src/components/ds-comment-bubble/hooks/index.ts +3 -0
- package/src/components/ds-comment-bubble/hooks/use-auto-resize.ts +17 -0
- package/src/components/ds-comment-bubble/hooks/use-click-outside.ts +22 -0
- package/src/components/ds-comment-bubble/hooks/use-scroll-overflow.ts +27 -0
- package/src/components/ds-comment-bubble/index.ts +6 -0
- package/src/components/ds-comment-card/ds-comment-card.module.scss +162 -0
- package/src/components/ds-comment-card/ds-comment-card.tsx +171 -0
- package/src/components/ds-comment-card/ds-comment-card.types.ts +45 -0
- package/src/components/ds-comment-card/index.ts +2 -0
- package/src/components/ds-comment-indicator/ds-comment-indicator.module.scss +65 -0
- package/src/components/ds-comment-indicator/ds-comment-indicator.tsx +48 -0
- package/src/components/ds-comment-indicator/ds-comment-indicator.types.ts +13 -0
- package/src/components/ds-comment-indicator/index.ts +2 -0
- package/src/components/ds-comments-drawer/comments-filters.test.ts +483 -0
- package/src/components/ds-comments-drawer/comments-filters.ts +134 -0
- package/src/components/ds-comments-drawer/comments-filters.types.ts +14 -0
- package/src/components/ds-comments-drawer/components/comments-filter-modal/comments-filter-modal.module.scss +92 -0
- package/src/components/ds-comments-drawer/components/comments-filter-modal/comments-filter-modal.tsx +219 -0
- package/src/components/ds-comments-drawer/components/comments-filter-modal/comments-filter-modal.types.ts +12 -0
- package/src/components/ds-comments-drawer/components/comments-filter-modal/index.ts +2 -0
- package/src/components/ds-comments-drawer/ds-comments-drawer.module.scss +67 -0
- package/src/components/ds-comments-drawer/ds-comments-drawer.tsx +215 -0
- package/src/components/ds-comments-drawer/ds-comments-drawer.types.ts +23 -0
- package/src/components/ds-comments-drawer/index.ts +3 -0
- package/src/components/ds-date-input/ds-date-input.tsx +3 -1
- package/src/components/ds-date-input/ds-date-input.types.tsx +6 -0
- package/src/components/ds-dropdown-menu/ds-dropdown-menu.tsx +2 -0
- package/src/components/ds-expandable-text-input/ds-expandable-text-input.tsx +8 -4
- package/src/components/ds-file-upload/components/file-upload/file-upload.tsx +2 -1
- package/src/components/ds-file-upload/components/file-upload/file-upload.types.tsx +5 -0
- package/src/components/ds-file-upload/types/accept-types.ts +0 -1
- package/src/components/ds-filter-status-icon/ds-filter-status-icon.module.scss +19 -0
- package/src/components/ds-filter-status-icon/ds-filter-status-icon.tsx +35 -0
- package/src/components/ds-filter-status-icon/ds-filter-status-icon.types.ts +31 -0
- package/src/components/ds-filter-status-icon/index.ts +3 -0
- package/src/components/ds-icon/custom-icons/index.ts +10 -0
- package/src/components/ds-icon/custom-icons/special-failed.tsx +16 -0
- package/src/components/ds-icon/custom-icons/special-paused.tsx +16 -0
- package/src/components/ds-icon/custom-icons/special-running.tsx +16 -0
- package/src/components/ds-icon/custom-icons/special-warning.tsx +16 -0
- package/src/components/ds-panel/ds-panel.module.scss +3 -3
- package/src/components/ds-progress-arc/ds-progress-arc.module.scss +57 -0
- package/src/components/ds-progress-arc/ds-progress-arc.tsx +111 -0
- package/src/components/ds-progress-arc/ds-progress-arc.types.ts +34 -0
- package/src/components/ds-progress-arc/index.ts +3 -0
- package/src/components/ds-progress-arc/utils.test.ts +79 -0
- package/src/components/ds-progress-arc/utils.ts +61 -0
- package/src/components/ds-progress-donut/ds-progress-donut.module.scss +67 -0
- package/src/components/ds-progress-donut/ds-progress-donut.tsx +83 -0
- package/src/components/ds-progress-donut/ds-progress-donut.types.ts +38 -0
- package/src/components/ds-progress-donut/index.ts +2 -0
- package/src/components/ds-progress-donut/utils.ts +1 -0
- package/src/components/ds-progress-linear/ds-progress-linear.module.scss +100 -0
- package/src/components/ds-progress-linear/ds-progress-linear.tsx +107 -0
- package/src/components/ds-progress-linear/ds-progress-linear.types.ts +72 -0
- package/src/components/ds-progress-linear/index.ts +2 -0
- package/src/components/ds-progress-linear/utils.test.ts +70 -0
- package/src/components/ds-progress-linear/utils.ts +7 -0
- package/src/components/ds-radio-group/ds-radio-group.tsx +2 -0
- package/src/components/ds-select/ds-select.tsx +2 -1
- package/src/components/ds-select/ds-select.types.tsx +7 -0
- package/src/components/ds-stepper/components/ds-step.tsx +1 -1
- package/src/components/ds-stepper/ds-stepper.module.scss +16 -2
- package/src/components/ds-stepper/ds-stepper.tsx +3 -1
- package/src/components/ds-table/components/ds-table-body-virtualized/ds-table-body-virtualized.module.scss +9 -0
- package/src/components/ds-table/components/ds-table-body-virtualized/ds-table-body-virtualized.tsx +137 -0
- package/src/components/ds-table/components/ds-table-body-virtualized/ds-table-body-virtualized.types.ts +22 -0
- package/src/components/ds-table/components/ds-table-body-virtualized/index.ts +2 -0
- package/src/components/ds-table/components/ds-table-cell/ds-table-cell.module.scss +3 -1
- package/src/components/ds-table/components/ds-table-header/ds-table-header.module.scss +7 -10
- package/src/components/ds-table/components/ds-table-header/ds-table-header.tsx +3 -4
- package/src/components/ds-table/components/ds-table-row/ds-table-row.module.scss +13 -53
- package/src/components/ds-table/components/ds-table-row/ds-table-row.tsx +32 -85
- package/src/components/ds-table/components/ds-table-row/ds-table-row.types.ts +0 -6
- package/src/components/ds-table/components/ds-table-row-expandable-cell/ds-table-row-expandable-cell.module.scss +10 -0
- package/src/components/ds-table/components/ds-table-row-expandable-cell/ds-table-row-expandable-cell.tsx +45 -0
- package/src/components/ds-table/components/ds-table-row-expandable-cell/ds-table-row-expandable-cell.types.ts +7 -0
- package/src/components/ds-table/components/ds-table-row-expandable-cell/index.ts +2 -0
- package/src/components/ds-table/components/ds-table-row-selectable-cell/ds-table-row-selectable-cell.module.scss +6 -0
- package/src/components/ds-table/components/ds-table-row-selectable-cell/ds-table-row-selectable-cell.tsx +30 -0
- package/src/components/ds-table/components/ds-table-row-selectable-cell/ds-table-row-selectable-cell.types.ts +6 -0
- package/src/components/ds-table/components/ds-table-row-selectable-cell/index.ts +2 -0
- package/src/components/ds-table/components/ds-table-row-virtualized/ds-table-row-virtualized.module.scss +80 -0
- package/src/components/ds-table/components/ds-table-row-virtualized/ds-table-row-virtualized.tsx +95 -0
- package/src/components/ds-table/components/ds-table-row-virtualized/ds-table-row-virtualized.types.ts +11 -0
- package/src/components/ds-table/components/ds-table-row-virtualized/index.ts +2 -0
- package/src/components/ds-table/context/ds-table-context.tsx +0 -9
- package/src/components/ds-table/ds-table.module.scss +4 -17
- package/src/components/ds-table/ds-table.tsx +44 -77
- package/src/components/ds-table/ds-table.types.ts +57 -12
- package/src/components/ds-table/index.ts +1 -0
- package/src/components/ds-table/styles/_mixins.scss +15 -0
- package/src/components/ds-table/styles/_variables.scss +2 -2
- package/src/components/ds-table/utils/{column-styling.ts → column-size.ts} +4 -14
- package/src/components/ds-table/utils/constants.ts +4 -0
- package/src/components/ds-tag/index.tsx +1 -0
- package/src/components/ds-tag-filter/ds-tag-filter.module.scss +13 -15
- package/src/components/ds-tag-filter/ds-tag-filter.tsx +38 -72
- package/src/components/ds-tag-filter/ds-tag-filter.types.ts +2 -3
- package/src/components/ds-tag-filter/hooks/use-tag-overflow-calculation.ts +12 -62
- package/src/components/ds-tag-filter/utils.test.ts +2 -108
- package/src/components/ds-tag-filter/utils.ts +2 -12
- package/src/components/ds-tree/ds-tree.module.scss +283 -0
- package/src/components/ds-tree/ds-tree.tsx +172 -0
- package/src/components/ds-tree/ds-tree.types.ts +83 -0
- package/src/components/ds-tree/ds-tree.utils.ts +11 -0
- package/src/components/ds-tree/index.ts +3 -0
- package/src/index.ts +9 -0
- package/src/utils/format-relative-time.test.ts +74 -0
- package/src/utils/format-relative-time.ts +52 -0
- package/src/utils/numbers.test.ts +24 -0
- package/src/utils/numbers.ts +1 -0
- package/src/components/ds-table/utils/create-columns-grid-template.ts +0 -23
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
2
|
import * as react from "react";
|
|
3
|
-
import React, { CSSProperties, ComponentPropsWithoutRef, ComponentType, FC, FunctionComponent, HTMLAttributes, KeyboardEvent, MouseEvent, PropsWithChildren, ReactNode, Ref, SVGProps } from "react";
|
|
3
|
+
import React$1, { CSSProperties, ComponentPropsWithoutRef, ComponentType, FC, FunctionComponent, HTMLAttributes, KeyboardEvent, MouseEvent, PropsWithChildren, ReactNode, Ref, SVGProps } from "react";
|
|
4
4
|
import { Menu } from "@ark-ui/react/menu";
|
|
5
5
|
import { Root } from "@radix-ui/react-checkbox";
|
|
6
6
|
import { UseDialogProps } from "@ark-ui/react/dialog";
|
|
7
7
|
import { DatePickerRootProps } from "@ark-ui/react/date-picker";
|
|
8
|
+
import * as _ark_ui_react0 from "@ark-ui/react";
|
|
8
9
|
import { FileUploadFileAcceptDetails, FileUploadFileError, FileUploadFileMimeType, FileUploadFileRejectDetails } from "@ark-ui/react";
|
|
9
10
|
import * as Collapsible from "@radix-ui/react-collapsible";
|
|
10
11
|
import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
|
|
@@ -12,6 +13,7 @@ import { RadioGroupItemProps, RadioGroupRootProps } from "@ark-ui/react/radio-gr
|
|
|
12
13
|
import { SegmentGroupItemProps, SegmentGroupItemTextProps, SegmentGroupRootProps } from "@ark-ui/react/segment-group";
|
|
13
14
|
import * as steps from "@zag-js/steps";
|
|
14
15
|
import { ColumnDef, ColumnFiltersState, Row, SortingState, Table, VisibilityState } from "@tanstack/react-table";
|
|
16
|
+
import { TreeView } from "@ark-ui/react/tree-view";
|
|
15
17
|
|
|
16
18
|
//#region src/components/ds-icon/material-icons.d.ts
|
|
17
19
|
type IconPrefix = 'action' | 'alert' | 'av' | 'communication' | 'content' | 'device' | 'editor' | 'file' | 'hardware' | 'home' | 'image' | 'maps' | 'navigation' | 'notification' | 'places' | 'search' | 'social' | 'symbols' | 'toggle';
|
|
@@ -6251,6 +6253,10 @@ declare const customIcons: {
|
|
|
6251
6253
|
readonly 'special-netgen-s': FC<SVGProps<SVGSVGElement>>;
|
|
6252
6254
|
readonly 'special-filter-list-active': FC<SVGProps<SVGSVGElement>>;
|
|
6253
6255
|
readonly 'special-cached-active': FC<SVGProps<SVGSVGElement>>;
|
|
6256
|
+
readonly 'special-running': FC<SVGProps<SVGSVGElement>>;
|
|
6257
|
+
readonly 'special-warning': FC<SVGProps<SVGSVGElement>>;
|
|
6258
|
+
readonly 'special-failed': FC<SVGProps<SVGSVGElement>>;
|
|
6259
|
+
readonly 'special-paused': FC<SVGProps<SVGSVGElement>>;
|
|
6254
6260
|
};
|
|
6255
6261
|
type CustomIconName = keyof typeof customIcons;
|
|
6256
6262
|
declare const isCustomIcon: (icon: string) => icon is CustomIconName;
|
|
@@ -6348,7 +6354,7 @@ interface DsAlertBannerProps {
|
|
|
6348
6354
|
/**
|
|
6349
6355
|
* Additional styles to apply to the component
|
|
6350
6356
|
*/
|
|
6351
|
-
style?: React.CSSProperties;
|
|
6357
|
+
style?: React$1.CSSProperties;
|
|
6352
6358
|
/**
|
|
6353
6359
|
* Optional children to be rendered inside the component (typically action buttons)
|
|
6354
6360
|
*/
|
|
@@ -6422,13 +6428,19 @@ interface DsAutocompleteProps {
|
|
|
6422
6428
|
*/
|
|
6423
6429
|
id?: string;
|
|
6424
6430
|
/**
|
|
6425
|
-
* Options to display in the dropdown
|
|
6431
|
+
* Options to display in the dropdown.
|
|
6432
|
+
* For async/server-driven search, update this prop with fetched results.
|
|
6426
6433
|
*/
|
|
6427
|
-
options
|
|
6434
|
+
options?: DsAutocompleteOption[];
|
|
6435
|
+
/**
|
|
6436
|
+
* Whether the autocomplete is in a loading state.
|
|
6437
|
+
* When true, a loading message is shown in the dropdown.
|
|
6438
|
+
*/
|
|
6439
|
+
loading?: boolean;
|
|
6428
6440
|
/**
|
|
6429
6441
|
* Additional styles to apply to the component
|
|
6430
6442
|
*/
|
|
6431
|
-
style?: React.CSSProperties;
|
|
6443
|
+
style?: React$1.CSSProperties;
|
|
6432
6444
|
/**
|
|
6433
6445
|
* Additional CSS class names
|
|
6434
6446
|
*/
|
|
@@ -6446,18 +6458,20 @@ interface DsAutocompleteProps {
|
|
|
6446
6458
|
*/
|
|
6447
6459
|
invalid?: boolean;
|
|
6448
6460
|
/**
|
|
6449
|
-
*
|
|
6450
|
-
*/
|
|
6451
|
-
onValueChange?: (value: string) => void;
|
|
6452
|
-
/**
|
|
6453
|
-
* Event handler called when the input value changes (on every keystroke)
|
|
6461
|
+
* Locale strings for the autocomplete component
|
|
6454
6462
|
*/
|
|
6455
|
-
|
|
6456
|
-
|
|
6457
|
-
|
|
6458
|
-
|
|
6459
|
-
|
|
6460
|
-
|
|
6463
|
+
locale?: {
|
|
6464
|
+
/**
|
|
6465
|
+
* Message to display while results are loading
|
|
6466
|
+
* @default 'Loading...'
|
|
6467
|
+
*/
|
|
6468
|
+
loading?: string;
|
|
6469
|
+
/**
|
|
6470
|
+
* Message to display when no options match the input
|
|
6471
|
+
* @default 'No matches found'
|
|
6472
|
+
*/
|
|
6473
|
+
noMatches?: string;
|
|
6474
|
+
};
|
|
6461
6475
|
/**
|
|
6462
6476
|
* Whether to highlight the matching text in the dropdown options
|
|
6463
6477
|
* @default true
|
|
@@ -6472,13 +6486,26 @@ interface DsAutocompleteProps {
|
|
|
6472
6486
|
/**
|
|
6473
6487
|
* Content to display at the start of the input (e.g., a search icon).
|
|
6474
6488
|
*/
|
|
6475
|
-
startAdornment?: React.ReactNode;
|
|
6489
|
+
startAdornment?: React$1.ReactNode;
|
|
6490
|
+
/**
|
|
6491
|
+
* Event handler called when the value changes (when an option is selected)
|
|
6492
|
+
*/
|
|
6493
|
+
onValueChange?: (value: string) => void;
|
|
6494
|
+
/**
|
|
6495
|
+
* Event handler called when the input value changes (on every keystroke)
|
|
6496
|
+
*/
|
|
6497
|
+
onInputValueChange?: (value: string) => void;
|
|
6498
|
+
/**
|
|
6499
|
+
* Event handler called when the dropdown opens or closes
|
|
6500
|
+
*/
|
|
6501
|
+
onOpenChange?: (open: boolean) => void;
|
|
6476
6502
|
}
|
|
6477
6503
|
//#endregion
|
|
6478
6504
|
//#region src/components/ds-autocomplete/ds-autocomplete.d.ts
|
|
6479
6505
|
declare const DsAutocomplete: ({
|
|
6480
6506
|
id,
|
|
6481
6507
|
options,
|
|
6508
|
+
loading,
|
|
6482
6509
|
style,
|
|
6483
6510
|
className,
|
|
6484
6511
|
placeholder,
|
|
@@ -6486,7 +6513,11 @@ declare const DsAutocomplete: ({
|
|
|
6486
6513
|
invalid,
|
|
6487
6514
|
onValueChange,
|
|
6488
6515
|
onInputValueChange,
|
|
6489
|
-
|
|
6516
|
+
onOpenChange,
|
|
6517
|
+
locale: {
|
|
6518
|
+
loading: loadingMessage,
|
|
6519
|
+
noMatches: noMatchesMessage
|
|
6520
|
+
},
|
|
6490
6521
|
highlightMatch,
|
|
6491
6522
|
showTrigger,
|
|
6492
6523
|
startAdornment
|
|
@@ -6607,7 +6638,7 @@ interface DsBreadcrumbProps {
|
|
|
6607
6638
|
/**
|
|
6608
6639
|
* Design system Breadcrumb component
|
|
6609
6640
|
*/
|
|
6610
|
-
declare const DsBreadcrumb: React.FC<DsBreadcrumbProps>;
|
|
6641
|
+
declare const DsBreadcrumb: React$1.FC<DsBreadcrumbProps>;
|
|
6611
6642
|
//#endregion
|
|
6612
6643
|
//#region src/components/ds-button/versions/ds-button-legacy/ds-button-legacy.types.d.ts
|
|
6613
6644
|
declare const buttonSchemas: readonly ["primary", "secondary", "error"];
|
|
@@ -6616,7 +6647,7 @@ declare const buttonVariants$1: readonly ["filled", "ghost", "borderless", "roun
|
|
|
6616
6647
|
type ButtonVariant$1 = (typeof buttonVariants$1)[number];
|
|
6617
6648
|
declare const buttonSizes$1: readonly ["large", "medium", "small"];
|
|
6618
6649
|
type ButtonSize$1 = (typeof buttonSizes$1)[number];
|
|
6619
|
-
interface DsButtonProps$1 extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
6650
|
+
interface DsButtonProps$1 extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
6620
6651
|
/**
|
|
6621
6652
|
* Color schema of the button
|
|
6622
6653
|
* @default 'primary'
|
|
@@ -6650,7 +6681,7 @@ declare const buttonVariants: readonly ["filled", "ghost", "danger", "dark"];
|
|
|
6650
6681
|
type ButtonVariant = (typeof buttonVariants)[number];
|
|
6651
6682
|
declare const buttonSizes: readonly ["large", "medium", "small"];
|
|
6652
6683
|
type ButtonSize = (typeof buttonSizes)[number];
|
|
6653
|
-
interface DsButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
6684
|
+
interface DsButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
6654
6685
|
/**
|
|
6655
6686
|
* Type of the button
|
|
6656
6687
|
* @default 'primary'
|
|
@@ -6814,7 +6845,7 @@ interface DsCheckboxProps extends ComponentPropsWithoutRef<typeof Root> {
|
|
|
6814
6845
|
/**
|
|
6815
6846
|
* Design system Checkbox component
|
|
6816
6847
|
*/
|
|
6817
|
-
declare const DsCheckbox: React.FC<DsCheckboxProps>;
|
|
6848
|
+
declare const DsCheckbox: React$1.FC<DsCheckboxProps>;
|
|
6818
6849
|
//#endregion
|
|
6819
6850
|
//#region src/components/ds-chip/ds-chip.types.d.ts
|
|
6820
6851
|
/**
|
|
@@ -6877,7 +6908,7 @@ interface DsChipProps {
|
|
|
6877
6908
|
* @deprecated This component is deprecated. Use `DsTag` instead.
|
|
6878
6909
|
* @see {@link ../ds-tag} for the replacement component.
|
|
6879
6910
|
*/
|
|
6880
|
-
declare const DsChip: React.FC<DsChipProps>;
|
|
6911
|
+
declare const DsChip: React$1.FC<DsChipProps>;
|
|
6881
6912
|
//#endregion
|
|
6882
6913
|
//#region src/components/ds-chip-group/ds-chip-group.types.d.ts
|
|
6883
6914
|
/**
|
|
@@ -6943,7 +6974,254 @@ interface DsChipGroupProps {
|
|
|
6943
6974
|
* @deprecated This component is deprecated. Use `DsTagFilter` instead.
|
|
6944
6975
|
* @see {@link ../ds-tag-filter} for the replacement component.
|
|
6945
6976
|
*/
|
|
6946
|
-
declare const DsChipGroup: React.FC<DsChipGroupProps>;
|
|
6977
|
+
declare const DsChipGroup: React$1.FC<DsChipGroupProps>;
|
|
6978
|
+
//#endregion
|
|
6979
|
+
//#region src/components/ds-comment-card/ds-comment-card.types.d.ts
|
|
6980
|
+
interface CommentAuthor {
|
|
6981
|
+
id: string;
|
|
6982
|
+
name: string;
|
|
6983
|
+
avatarSrc?: string;
|
|
6984
|
+
}
|
|
6985
|
+
interface CommentMessage {
|
|
6986
|
+
id: string;
|
|
6987
|
+
author: CommentAuthor;
|
|
6988
|
+
content: string;
|
|
6989
|
+
createdAt: Date;
|
|
6990
|
+
isInitialMessage?: boolean;
|
|
6991
|
+
isResolved?: boolean;
|
|
6992
|
+
}
|
|
6993
|
+
interface CommentData {
|
|
6994
|
+
id: string;
|
|
6995
|
+
numericId: number;
|
|
6996
|
+
author: CommentAuthor;
|
|
6997
|
+
createdAt: Date;
|
|
6998
|
+
isResolved: boolean;
|
|
6999
|
+
messages: CommentMessage[];
|
|
7000
|
+
labels?: string[];
|
|
7001
|
+
referenceTag?: ReactNode;
|
|
7002
|
+
isActionRequired?: boolean;
|
|
7003
|
+
}
|
|
7004
|
+
interface DsCommentCardProps {
|
|
7005
|
+
ref?: Ref<HTMLButtonElement>;
|
|
7006
|
+
comment: CommentData;
|
|
7007
|
+
disabled?: boolean;
|
|
7008
|
+
overflow?: 'hidden' | 'displayed';
|
|
7009
|
+
onClick?: () => void;
|
|
7010
|
+
onResolve?: () => void;
|
|
7011
|
+
onToggleActionRequired?: () => void;
|
|
7012
|
+
onForward?: () => void;
|
|
7013
|
+
onMarkUnread?: () => void;
|
|
7014
|
+
onCopyLink?: () => void;
|
|
7015
|
+
onDelete?: () => void;
|
|
7016
|
+
formatTimestamp?: (date: Date) => string;
|
|
7017
|
+
className?: string;
|
|
7018
|
+
style?: CSSProperties;
|
|
7019
|
+
}
|
|
7020
|
+
//#endregion
|
|
7021
|
+
//#region src/components/ds-comment-card/ds-comment-card.d.ts
|
|
7022
|
+
declare const DsCommentCard: ({
|
|
7023
|
+
ref,
|
|
7024
|
+
comment,
|
|
7025
|
+
disabled,
|
|
7026
|
+
overflow,
|
|
7027
|
+
onClick,
|
|
7028
|
+
onResolve,
|
|
7029
|
+
onToggleActionRequired,
|
|
7030
|
+
onForward,
|
|
7031
|
+
onMarkUnread,
|
|
7032
|
+
onCopyLink,
|
|
7033
|
+
onDelete,
|
|
7034
|
+
formatTimestamp,
|
|
7035
|
+
className,
|
|
7036
|
+
style
|
|
7037
|
+
}: DsCommentCardProps) => react_jsx_runtime0.JSX.Element;
|
|
7038
|
+
//#endregion
|
|
7039
|
+
//#region src/components/ds-comment-bubble/ds-comment-bubble.types.d.ts
|
|
7040
|
+
interface DsCommentBubbleProps {
|
|
7041
|
+
ref?: Ref<HTMLDivElement>;
|
|
7042
|
+
comment?: CommentData;
|
|
7043
|
+
currentUser?: CommentAuthor;
|
|
7044
|
+
actionRequired?: boolean;
|
|
7045
|
+
onActionRequiredChange?: (checked: boolean) => void;
|
|
7046
|
+
value?: string;
|
|
7047
|
+
onValueChange?: (value: string) => void;
|
|
7048
|
+
onSend?: (content: string, actionRequired: boolean) => void;
|
|
7049
|
+
onClose?: () => void;
|
|
7050
|
+
onResolve?: () => void;
|
|
7051
|
+
onToggleActionRequired?: () => void;
|
|
7052
|
+
onForward?: () => void;
|
|
7053
|
+
onMarkUnread?: () => void;
|
|
7054
|
+
onCopyLink?: () => void;
|
|
7055
|
+
onDelete?: () => void;
|
|
7056
|
+
onEditMessage?: (messageId: string, newContent: string) => void;
|
|
7057
|
+
onDeleteMessage?: (messageId: string) => void;
|
|
7058
|
+
onMessageMarkUnread?: (messageId: string) => void;
|
|
7059
|
+
onMessageResolved?: (messageId: string) => void;
|
|
7060
|
+
referenceTag?: ReactNode;
|
|
7061
|
+
className?: string;
|
|
7062
|
+
style?: CSSProperties;
|
|
7063
|
+
}
|
|
7064
|
+
//#endregion
|
|
7065
|
+
//#region src/components/ds-comment-bubble/ds-comment-bubble.d.ts
|
|
7066
|
+
declare const DsCommentBubble: ({
|
|
7067
|
+
ref,
|
|
7068
|
+
comment,
|
|
7069
|
+
currentUser,
|
|
7070
|
+
actionRequired,
|
|
7071
|
+
onActionRequiredChange,
|
|
7072
|
+
value,
|
|
7073
|
+
onValueChange,
|
|
7074
|
+
onSend,
|
|
7075
|
+
onClose,
|
|
7076
|
+
onResolve,
|
|
7077
|
+
onToggleActionRequired,
|
|
7078
|
+
onForward,
|
|
7079
|
+
onMarkUnread,
|
|
7080
|
+
onCopyLink,
|
|
7081
|
+
onDelete,
|
|
7082
|
+
onEditMessage,
|
|
7083
|
+
onDeleteMessage,
|
|
7084
|
+
onMessageMarkUnread,
|
|
7085
|
+
onMessageResolved,
|
|
7086
|
+
referenceTag,
|
|
7087
|
+
className,
|
|
7088
|
+
style
|
|
7089
|
+
}: DsCommentBubbleProps) => react_jsx_runtime0.JSX.Element;
|
|
7090
|
+
//#endregion
|
|
7091
|
+
//#region src/components/ds-comment-bubble/components/ds-comment-thread/ds-comment-thread.types.d.ts
|
|
7092
|
+
interface DsCommentThreadProps {
|
|
7093
|
+
messages: CommentMessage[];
|
|
7094
|
+
commentAuthor: CommentAuthor;
|
|
7095
|
+
currentUser?: CommentAuthor;
|
|
7096
|
+
onEditMessage?: (messageId: string, newContent: string) => void;
|
|
7097
|
+
onDeleteMessage?: (messageId: string) => void;
|
|
7098
|
+
onMarkUnread?: (messageId: string) => void;
|
|
7099
|
+
onResolved?: (messageId: string) => void;
|
|
7100
|
+
className?: string;
|
|
7101
|
+
}
|
|
7102
|
+
//#endregion
|
|
7103
|
+
//#region src/components/ds-comment-bubble/components/ds-comment-thread/ds-comment-thread.d.ts
|
|
7104
|
+
declare const DsCommentThread: ({
|
|
7105
|
+
messages,
|
|
7106
|
+
commentAuthor,
|
|
7107
|
+
currentUser,
|
|
7108
|
+
onEditMessage,
|
|
7109
|
+
onDeleteMessage,
|
|
7110
|
+
onMarkUnread,
|
|
7111
|
+
onResolved,
|
|
7112
|
+
className
|
|
7113
|
+
}: DsCommentThreadProps) => react_jsx_runtime0.JSX.Element | null;
|
|
7114
|
+
//#endregion
|
|
7115
|
+
//#region src/components/ds-comment-bubble/components/ds-thread-item/ds-thread-item.types.d.ts
|
|
7116
|
+
interface DsThreadItemProps {
|
|
7117
|
+
id: string;
|
|
7118
|
+
author: CommentAuthor;
|
|
7119
|
+
content: string;
|
|
7120
|
+
createdAt: Date;
|
|
7121
|
+
isCommentAuthorMessage?: boolean;
|
|
7122
|
+
canModify?: boolean;
|
|
7123
|
+
onEdit?: (messageId: string, newContent: string) => void;
|
|
7124
|
+
onDelete?: (messageId: string) => void;
|
|
7125
|
+
onMarkUnread?: (messageId: string) => void;
|
|
7126
|
+
onResolved?: (messageId: string) => void;
|
|
7127
|
+
className?: string;
|
|
7128
|
+
}
|
|
7129
|
+
//#endregion
|
|
7130
|
+
//#region src/components/ds-comment-bubble/components/ds-thread-item/ds-thread-item.d.ts
|
|
7131
|
+
declare const DsThreadItem: ({
|
|
7132
|
+
id,
|
|
7133
|
+
author,
|
|
7134
|
+
content,
|
|
7135
|
+
createdAt,
|
|
7136
|
+
isCommentAuthorMessage,
|
|
7137
|
+
canModify,
|
|
7138
|
+
onEdit,
|
|
7139
|
+
onDelete,
|
|
7140
|
+
onMarkUnread,
|
|
7141
|
+
onResolved,
|
|
7142
|
+
className
|
|
7143
|
+
}: DsThreadItemProps) => react_jsx_runtime0.JSX.Element;
|
|
7144
|
+
//#endregion
|
|
7145
|
+
//#region src/components/ds-comment-indicator/ds-comment-indicator.types.d.ts
|
|
7146
|
+
type CommentIndicatorType = 'placeholder' | 'default' | 'action-required';
|
|
7147
|
+
interface DsCommentIndicatorProps {
|
|
7148
|
+
type?: CommentIndicatorType;
|
|
7149
|
+
avatarSrc?: string;
|
|
7150
|
+
avatarName?: string;
|
|
7151
|
+
onClick?: () => void;
|
|
7152
|
+
ref?: Ref<HTMLButtonElement>;
|
|
7153
|
+
className?: string;
|
|
7154
|
+
style?: CSSProperties;
|
|
7155
|
+
}
|
|
7156
|
+
//#endregion
|
|
7157
|
+
//#region src/components/ds-comment-indicator/ds-comment-indicator.d.ts
|
|
7158
|
+
declare const DsCommentIndicator: ({
|
|
7159
|
+
type,
|
|
7160
|
+
avatarSrc,
|
|
7161
|
+
avatarName,
|
|
7162
|
+
onClick,
|
|
7163
|
+
ref,
|
|
7164
|
+
className,
|
|
7165
|
+
style
|
|
7166
|
+
}: DsCommentIndicatorProps) => react_jsx_runtime0.JSX.Element;
|
|
7167
|
+
//#endregion
|
|
7168
|
+
//#region src/components/ds-comments-drawer/ds-comments-drawer.types.d.ts
|
|
7169
|
+
interface DsCommentsDrawerProps {
|
|
7170
|
+
ref?: Ref<HTMLElement>;
|
|
7171
|
+
open: boolean;
|
|
7172
|
+
onOpenChange: (open: boolean) => void;
|
|
7173
|
+
comments: CommentData[];
|
|
7174
|
+
showResolved?: boolean;
|
|
7175
|
+
onShowResolvedChange?: (show: boolean) => void;
|
|
7176
|
+
searchQuery?: string;
|
|
7177
|
+
onSearchChange?: (query: string) => void;
|
|
7178
|
+
onCommentClick?: (comment: CommentData) => void;
|
|
7179
|
+
onResolveComment?: (commentId: string) => void;
|
|
7180
|
+
onToggleActionRequired?: (commentId: string) => void;
|
|
7181
|
+
onForward?: (commentId: string) => void;
|
|
7182
|
+
onMarkUnread?: (commentId: string) => void;
|
|
7183
|
+
onCopyLink?: (commentId: string) => void;
|
|
7184
|
+
onDelete?: (commentId: string) => void;
|
|
7185
|
+
noCommentsMessage?: ReactNode;
|
|
7186
|
+
className?: string;
|
|
7187
|
+
style?: CSSProperties;
|
|
7188
|
+
}
|
|
7189
|
+
//#endregion
|
|
7190
|
+
//#region src/components/ds-comments-drawer/ds-comments-drawer.d.ts
|
|
7191
|
+
declare const DsCommentsDrawer: ({
|
|
7192
|
+
open,
|
|
7193
|
+
onOpenChange,
|
|
7194
|
+
comments,
|
|
7195
|
+
showResolved,
|
|
7196
|
+
onShowResolvedChange,
|
|
7197
|
+
searchQuery,
|
|
7198
|
+
onSearchChange,
|
|
7199
|
+
onCommentClick,
|
|
7200
|
+
onResolveComment,
|
|
7201
|
+
onToggleActionRequired,
|
|
7202
|
+
onForward,
|
|
7203
|
+
onMarkUnread,
|
|
7204
|
+
onCopyLink,
|
|
7205
|
+
onDelete,
|
|
7206
|
+
noCommentsMessage,
|
|
7207
|
+
className,
|
|
7208
|
+
style
|
|
7209
|
+
}: DsCommentsDrawerProps) => react_jsx_runtime0.JSX.Element;
|
|
7210
|
+
//#endregion
|
|
7211
|
+
//#region src/components/ds-comments-drawer/comments-filters.types.d.ts
|
|
7212
|
+
interface FilterTag {
|
|
7213
|
+
id: string;
|
|
7214
|
+
label: string;
|
|
7215
|
+
filterId: string;
|
|
7216
|
+
value: string;
|
|
7217
|
+
}
|
|
7218
|
+
interface CommentsFilterState {
|
|
7219
|
+
authors: string[];
|
|
7220
|
+
dateFrom?: string;
|
|
7221
|
+
dateTo?: string;
|
|
7222
|
+
labels: string[];
|
|
7223
|
+
statuses: ('unresolved' | 'resolved' | 'action-required')[];
|
|
7224
|
+
}
|
|
6947
7225
|
//#endregion
|
|
6948
7226
|
//#region src/components/ds-confirmation/ds-confirmation.types.d.ts
|
|
6949
7227
|
/**
|
|
@@ -7116,6 +7394,11 @@ type DsDateInputBaseProps = Pick<DatePickerRootProps, 'disabled' | 'readOnly' |
|
|
|
7116
7394
|
* @default false
|
|
7117
7395
|
*/
|
|
7118
7396
|
disablePortal?: boolean;
|
|
7397
|
+
/**
|
|
7398
|
+
* Whether to hide the clear button
|
|
7399
|
+
* @default false
|
|
7400
|
+
*/
|
|
7401
|
+
hideClearButton?: boolean;
|
|
7119
7402
|
};
|
|
7120
7403
|
/**
|
|
7121
7404
|
* Props for the DsDateInput component
|
|
@@ -7135,6 +7418,7 @@ declare const DsDateInput: ({
|
|
|
7135
7418
|
style,
|
|
7136
7419
|
className,
|
|
7137
7420
|
disablePortal,
|
|
7421
|
+
hideClearButton,
|
|
7138
7422
|
onValueChange,
|
|
7139
7423
|
onOpenChange,
|
|
7140
7424
|
value: _value,
|
|
@@ -7176,7 +7460,7 @@ interface DsDialogProps {
|
|
|
7176
7460
|
/**
|
|
7177
7461
|
* The content to render inside the dialog.
|
|
7178
7462
|
*/
|
|
7179
|
-
children: React.ReactNode;
|
|
7463
|
+
children: React$1.ReactNode;
|
|
7180
7464
|
/**
|
|
7181
7465
|
* Additional CSS class names for the dialog container.
|
|
7182
7466
|
*/
|
|
@@ -7184,7 +7468,7 @@ interface DsDialogProps {
|
|
|
7184
7468
|
/**
|
|
7185
7469
|
* Ref to the element the dialog should be anchored to (for relative placement)
|
|
7186
7470
|
*/
|
|
7187
|
-
anchorRef?: React.RefObject<HTMLElement>;
|
|
7471
|
+
anchorRef?: React$1.RefObject<HTMLElement>;
|
|
7188
7472
|
/**
|
|
7189
7473
|
* Custom fixed position (e.g., { top: number, left: number })
|
|
7190
7474
|
*/
|
|
@@ -7199,7 +7483,7 @@ interface DsDialogProps {
|
|
|
7199
7483
|
}
|
|
7200
7484
|
//#endregion
|
|
7201
7485
|
//#region src/components/ds-dialog/ds-dialog.d.ts
|
|
7202
|
-
declare const DsDialog: React.FC<DsDialogProps>;
|
|
7486
|
+
declare const DsDialog: React$1.FC<DsDialogProps>;
|
|
7203
7487
|
//#endregion
|
|
7204
7488
|
//#region src/components/ds-divider/ds-divider.types.d.ts
|
|
7205
7489
|
interface DsDividerProps {
|
|
@@ -7211,11 +7495,11 @@ interface DsDividerProps {
|
|
|
7211
7495
|
* Underlying element/component to render.
|
|
7212
7496
|
* Examples: "hr", "div", "span", Link, etc.
|
|
7213
7497
|
*/
|
|
7214
|
-
component?: React.ElementType;
|
|
7498
|
+
component?: React$1.ElementType;
|
|
7215
7499
|
/**
|
|
7216
7500
|
* Additional CSS styles.
|
|
7217
7501
|
*/
|
|
7218
|
-
style?: React.CSSProperties;
|
|
7502
|
+
style?: React$1.CSSProperties;
|
|
7219
7503
|
/**
|
|
7220
7504
|
* Additional CSS classes.
|
|
7221
7505
|
*/
|
|
@@ -7223,7 +7507,7 @@ interface DsDividerProps {
|
|
|
7223
7507
|
}
|
|
7224
7508
|
//#endregion
|
|
7225
7509
|
//#region src/components/ds-divider/ds-divider.d.ts
|
|
7226
|
-
declare const DsDivider: React.FC<DsDividerProps>;
|
|
7510
|
+
declare const DsDivider: React$1.FC<DsDividerProps>;
|
|
7227
7511
|
//#endregion
|
|
7228
7512
|
//#region src/components/ds-drawer/ds-drawer.types.d.ts
|
|
7229
7513
|
/**
|
|
@@ -7610,7 +7894,7 @@ type DsDropdownMenuTriggerItemProps = Menu.TriggerItemProps;
|
|
|
7610
7894
|
* Use compound component pattern instead
|
|
7611
7895
|
* @deprecated
|
|
7612
7896
|
*/
|
|
7613
|
-
declare const DsDropdownMenuLegacy: React.FC<DsDropdownMenuLegacyProps>;
|
|
7897
|
+
declare const DsDropdownMenuLegacy: React$1.FC<DsDropdownMenuLegacyProps>;
|
|
7614
7898
|
/**
|
|
7615
7899
|
* Design system DsDropdownMenu component
|
|
7616
7900
|
*
|
|
@@ -7642,18 +7926,18 @@ declare const DsDropdownMenuLegacy: React.FC<DsDropdownMenuLegacyProps>;
|
|
|
7642
7926
|
* </DsDropdownMenu.Root>
|
|
7643
7927
|
*/
|
|
7644
7928
|
declare const DsDropdownMenu: {
|
|
7645
|
-
Root: React.FC<DsDropdownMenuRootProps>;
|
|
7646
|
-
Trigger: React.FC<Menu.TriggerProps>;
|
|
7647
|
-
Content: React.FC<DsDropdownMenuContentProps>;
|
|
7648
|
-
Item: React.FC<DsDropdownMenuItemProps>;
|
|
7649
|
-
ItemIndicator: React.FC<DsDropdownMenuItemIndicatorProps>;
|
|
7650
|
-
TriggerItem: React.FC<Menu.TriggerItemProps>;
|
|
7651
|
-
Header: React.FC<DsDropdownMenuHeaderProps>;
|
|
7652
|
-
Actions: React.FC<DsDropdownMenuActionsProps>;
|
|
7653
|
-
ItemGroup: React.FC<DsDropdownMenuItemGroupProps>;
|
|
7654
|
-
ItemGroupLabel: React.FC<Menu.ItemGroupLabelProps>;
|
|
7655
|
-
ItemGroupContent: React.FC<DsDropdownMenuItemGroupContentProps>;
|
|
7656
|
-
Separator: React.FC<Menu.SeparatorProps>;
|
|
7929
|
+
Root: React$1.FC<DsDropdownMenuRootProps>;
|
|
7930
|
+
Trigger: React$1.FC<Menu.TriggerProps>;
|
|
7931
|
+
Content: React$1.FC<DsDropdownMenuContentProps>;
|
|
7932
|
+
Item: React$1.FC<DsDropdownMenuItemProps>;
|
|
7933
|
+
ItemIndicator: React$1.FC<DsDropdownMenuItemIndicatorProps>;
|
|
7934
|
+
TriggerItem: React$1.FC<Menu.TriggerItemProps>;
|
|
7935
|
+
Header: React$1.FC<DsDropdownMenuHeaderProps>;
|
|
7936
|
+
Actions: React$1.FC<DsDropdownMenuActionsProps>;
|
|
7937
|
+
ItemGroup: React$1.FC<DsDropdownMenuItemGroupProps>;
|
|
7938
|
+
ItemGroupLabel: React$1.FC<Menu.ItemGroupLabelProps>;
|
|
7939
|
+
ItemGroupContent: React$1.FC<DsDropdownMenuItemGroupContentProps>;
|
|
7940
|
+
Separator: React$1.FC<Menu.SeparatorProps>;
|
|
7657
7941
|
};
|
|
7658
7942
|
//#endregion
|
|
7659
7943
|
//#region src/components/ds-text-input/ds-text-input.types.d.ts
|
|
@@ -7667,7 +7951,7 @@ interface DsTextInputProps {
|
|
|
7667
7951
|
/**
|
|
7668
7952
|
* The ref to the input field
|
|
7669
7953
|
*/
|
|
7670
|
-
ref?: React.Ref<HTMLInputElement>;
|
|
7954
|
+
ref?: React$1.Ref<HTMLInputElement>;
|
|
7671
7955
|
/**
|
|
7672
7956
|
* The name of the input field
|
|
7673
7957
|
*/
|
|
@@ -7687,15 +7971,15 @@ interface DsTextInputProps {
|
|
|
7687
7971
|
*
|
|
7688
7972
|
* @param event
|
|
7689
7973
|
*/
|
|
7690
|
-
onBlur?: (event: React.FocusEvent<HTMLInputElement>) => void;
|
|
7974
|
+
onBlur?: (event: React$1.FocusEvent<HTMLInputElement>) => void;
|
|
7691
7975
|
/**
|
|
7692
7976
|
* Callback when a key is pressed down
|
|
7693
7977
|
*/
|
|
7694
|
-
onKeyDown?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
|
|
7978
|
+
onKeyDown?: (event: React$1.KeyboardEvent<HTMLInputElement>) => void;
|
|
7695
7979
|
/**
|
|
7696
7980
|
* Callback when the value changes
|
|
7697
7981
|
*/
|
|
7698
|
-
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
7982
|
+
onChange?: (event: React$1.ChangeEvent<HTMLInputElement>) => void;
|
|
7699
7983
|
/**
|
|
7700
7984
|
* Value change event handler (provides just the value)
|
|
7701
7985
|
*/
|
|
@@ -7707,7 +7991,7 @@ interface DsTextInputProps {
|
|
|
7707
7991
|
/**
|
|
7708
7992
|
* Additional styles to apply to the component
|
|
7709
7993
|
*/
|
|
7710
|
-
style?: React.CSSProperties;
|
|
7994
|
+
style?: React$1.CSSProperties;
|
|
7711
7995
|
/**
|
|
7712
7996
|
* The placeholder text
|
|
7713
7997
|
*/
|
|
@@ -7750,16 +8034,16 @@ interface DsTextInputProps {
|
|
|
7750
8034
|
* Custom component to wrap the input element
|
|
7751
8035
|
*/
|
|
7752
8036
|
inputWrapper?: ComponentType<{
|
|
7753
|
-
children: React.ReactNode;
|
|
8037
|
+
children: React$1.ReactNode;
|
|
7754
8038
|
}>;
|
|
7755
8039
|
/**
|
|
7756
8040
|
* Adornment to display at the start of the input
|
|
7757
8041
|
*/
|
|
7758
|
-
startAdornment?: React.ReactNode;
|
|
8042
|
+
startAdornment?: React$1.ReactNode;
|
|
7759
8043
|
/**
|
|
7760
8044
|
* Adornment to display at the end of the input
|
|
7761
8045
|
*/
|
|
7762
|
-
endAdornment?: React.ReactNode;
|
|
8046
|
+
endAdornment?: React$1.ReactNode;
|
|
7763
8047
|
};
|
|
7764
8048
|
}
|
|
7765
8049
|
//#endregion
|
|
@@ -7859,6 +8143,11 @@ interface FileUploadProps {
|
|
|
7859
8143
|
* @default false
|
|
7860
8144
|
*/
|
|
7861
8145
|
hideProgress?: boolean;
|
|
8146
|
+
/**
|
|
8147
|
+
* Whether to hide the info text (file types, size limits, etc.)
|
|
8148
|
+
* @default false
|
|
8149
|
+
*/
|
|
8150
|
+
hideInfoText?: boolean;
|
|
7862
8151
|
/**
|
|
7863
8152
|
* Whether to disable drag and drop functionality
|
|
7864
8153
|
* @default false
|
|
@@ -7936,7 +8225,7 @@ interface FileUploadProps {
|
|
|
7936
8225
|
* Design system base File Upload component
|
|
7937
8226
|
* Used in conjunction with the useFileUpload hook
|
|
7938
8227
|
*/
|
|
7939
|
-
declare const FileUpload: React.FC<FileUploadProps>;
|
|
8228
|
+
declare const FileUpload: React$1.FC<FileUploadProps>;
|
|
7940
8229
|
//#endregion
|
|
7941
8230
|
//#region src/components/ds-file-upload/ds-file-upload.types.d.ts
|
|
7942
8231
|
interface DsFileUploadProps extends Omit<FileUploadProps, 'files' | 'acceptedFiles' | 'onFileAccept' | 'onFileReject' | 'onFileRemove' | 'onFileDelete' | 'onFileCancel' | 'onFileRetry' | 'uploadProgress'> {
|
|
@@ -7973,7 +8262,7 @@ interface DsFileUploadProps extends Omit<FileUploadProps, 'files' | 'acceptedFil
|
|
|
7973
8262
|
/**
|
|
7974
8263
|
* Design system File Upload component (with state management)
|
|
7975
8264
|
*/
|
|
7976
|
-
declare const DsFileUpload: React.FC<DsFileUploadProps>;
|
|
8265
|
+
declare const DsFileUpload: React$1.FC<DsFileUploadProps>;
|
|
7977
8266
|
//#endregion
|
|
7978
8267
|
//#region src/components/ds-file-upload/hooks/use-file-upload.d.ts
|
|
7979
8268
|
interface UseFileUploadConfig {
|
|
@@ -8052,6 +8341,47 @@ declare class FatalFileUploadError extends FileUploadError {
|
|
|
8052
8341
|
readonly isRetryable = false;
|
|
8053
8342
|
}
|
|
8054
8343
|
//#endregion
|
|
8344
|
+
//#region src/components/ds-filter-status-icon/ds-filter-status-icon.types.d.ts
|
|
8345
|
+
declare const filterStatuses: readonly ["running", "warning", "failed", "paused"];
|
|
8346
|
+
type FilterStatus = (typeof filterStatuses)[number];
|
|
8347
|
+
interface DsFilterStatusIconProps {
|
|
8348
|
+
/**
|
|
8349
|
+
* The filter status type
|
|
8350
|
+
*/
|
|
8351
|
+
status: FilterStatus;
|
|
8352
|
+
/**
|
|
8353
|
+
* Whether the status icon is active or non-active
|
|
8354
|
+
* @default true
|
|
8355
|
+
*/
|
|
8356
|
+
active?: boolean;
|
|
8357
|
+
/**
|
|
8358
|
+
* Icon size
|
|
8359
|
+
* @default 'small'
|
|
8360
|
+
*/
|
|
8361
|
+
size?: IconSize;
|
|
8362
|
+
/**
|
|
8363
|
+
* Additional CSS class names
|
|
8364
|
+
*/
|
|
8365
|
+
className?: string;
|
|
8366
|
+
/**
|
|
8367
|
+
* Additional styles to apply to the component
|
|
8368
|
+
*/
|
|
8369
|
+
style?: CSSProperties;
|
|
8370
|
+
}
|
|
8371
|
+
//#endregion
|
|
8372
|
+
//#region src/components/ds-filter-status-icon/ds-filter-status-icon.d.ts
|
|
8373
|
+
/**
|
|
8374
|
+
* Design system Filter Status Icon component
|
|
8375
|
+
* Status icons for toggle filter buttons to help users quickly distinguish states
|
|
8376
|
+
*/
|
|
8377
|
+
declare const DsFilterStatusIcon: ({
|
|
8378
|
+
status,
|
|
8379
|
+
active,
|
|
8380
|
+
size,
|
|
8381
|
+
className,
|
|
8382
|
+
style
|
|
8383
|
+
}: DsFilterStatusIconProps) => react_jsx_runtime0.JSX.Element;
|
|
8384
|
+
//#endregion
|
|
8055
8385
|
//#region src/components/ds-number-input/ds-number-input.types.d.ts
|
|
8056
8386
|
interface DsNumberInputProps {
|
|
8057
8387
|
/**
|
|
@@ -8061,7 +8391,7 @@ interface DsNumberInputProps {
|
|
|
8061
8391
|
/**
|
|
8062
8392
|
* The ref to the input field
|
|
8063
8393
|
*/
|
|
8064
|
-
ref?: React.Ref<HTMLInputElement>;
|
|
8394
|
+
ref?: React$1.Ref<HTMLInputElement>;
|
|
8065
8395
|
/**
|
|
8066
8396
|
* The name of the input field
|
|
8067
8397
|
*/
|
|
@@ -8076,12 +8406,12 @@ interface DsNumberInputProps {
|
|
|
8076
8406
|
*
|
|
8077
8407
|
* @param event
|
|
8078
8408
|
*/
|
|
8079
|
-
onBlur?: (event: React.FocusEvent<HTMLInputElement>) => void;
|
|
8409
|
+
onBlur?: (event: React$1.FocusEvent<HTMLInputElement>) => void;
|
|
8080
8410
|
/**
|
|
8081
8411
|
* Callback when the value changes (native input onChange event)
|
|
8082
8412
|
* This is provided for compatibility but onValueChange is preferred
|
|
8083
8413
|
*/
|
|
8084
|
-
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
8414
|
+
onChange?: (event: React$1.ChangeEvent<HTMLInputElement>) => void;
|
|
8085
8415
|
/**
|
|
8086
8416
|
* Value change event handler (provides just the number value)
|
|
8087
8417
|
* This is the preferred way to handle value changes
|
|
@@ -8094,7 +8424,7 @@ interface DsNumberInputProps {
|
|
|
8094
8424
|
/**
|
|
8095
8425
|
* Additional styles to apply to the component
|
|
8096
8426
|
*/
|
|
8097
|
-
style?: React.CSSProperties;
|
|
8427
|
+
style?: React$1.CSSProperties;
|
|
8098
8428
|
/**
|
|
8099
8429
|
* The placeholder text
|
|
8100
8430
|
*/
|
|
@@ -8140,7 +8470,7 @@ interface DsPasswordInputProps {
|
|
|
8140
8470
|
/**
|
|
8141
8471
|
* The ref to the input field
|
|
8142
8472
|
*/
|
|
8143
|
-
ref?: React.Ref<HTMLInputElement>;
|
|
8473
|
+
ref?: React$1.Ref<HTMLInputElement>;
|
|
8144
8474
|
/**
|
|
8145
8475
|
* The name of the input field
|
|
8146
8476
|
*/
|
|
@@ -8155,12 +8485,12 @@ interface DsPasswordInputProps {
|
|
|
8155
8485
|
*
|
|
8156
8486
|
* @param event
|
|
8157
8487
|
*/
|
|
8158
|
-
onBlur?: (event: React.FocusEvent<HTMLInputElement>) => void;
|
|
8488
|
+
onBlur?: (event: React$1.FocusEvent<HTMLInputElement>) => void;
|
|
8159
8489
|
/**
|
|
8160
8490
|
* Callback when the value changes (native input onChange event)
|
|
8161
8491
|
* This is provided for compatibility but onValueChange is preferred
|
|
8162
8492
|
*/
|
|
8163
|
-
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
8493
|
+
onChange?: (event: React$1.ChangeEvent<HTMLInputElement>) => void;
|
|
8164
8494
|
/**
|
|
8165
8495
|
* Value change event handler (provides just the string value)
|
|
8166
8496
|
* This is the preferred way to handle value changes
|
|
@@ -8173,7 +8503,7 @@ interface DsPasswordInputProps {
|
|
|
8173
8503
|
/**
|
|
8174
8504
|
* Additional styles to apply to the component
|
|
8175
8505
|
*/
|
|
8176
|
-
style?: React.CSSProperties;
|
|
8506
|
+
style?: React$1.CSSProperties;
|
|
8177
8507
|
/**
|
|
8178
8508
|
* The placeholder text
|
|
8179
8509
|
*/
|
|
@@ -8205,7 +8535,7 @@ interface DsTextareaProps {
|
|
|
8205
8535
|
/**
|
|
8206
8536
|
* The ref to the textarea element
|
|
8207
8537
|
*/
|
|
8208
|
-
ref?: React.Ref<HTMLTextAreaElement>;
|
|
8538
|
+
ref?: React$1.Ref<HTMLTextAreaElement>;
|
|
8209
8539
|
/**
|
|
8210
8540
|
* The name of the textarea
|
|
8211
8541
|
*/
|
|
@@ -8215,11 +8545,11 @@ interface DsTextareaProps {
|
|
|
8215
8545
|
*
|
|
8216
8546
|
* @param event
|
|
8217
8547
|
*/
|
|
8218
|
-
onBlur?: (event: React.FocusEvent<HTMLTextAreaElement>) => void;
|
|
8548
|
+
onBlur?: (event: React$1.FocusEvent<HTMLTextAreaElement>) => void;
|
|
8219
8549
|
/**
|
|
8220
8550
|
* Callback when the value changes
|
|
8221
8551
|
*/
|
|
8222
|
-
onChange?: (event: React.ChangeEvent<HTMLTextAreaElement>) => void;
|
|
8552
|
+
onChange?: (event: React$1.ChangeEvent<HTMLTextAreaElement>) => void;
|
|
8223
8553
|
/**
|
|
8224
8554
|
* Value change event handler (provides just the value)
|
|
8225
8555
|
*/
|
|
@@ -8231,7 +8561,7 @@ interface DsTextareaProps {
|
|
|
8231
8561
|
/**
|
|
8232
8562
|
* Additional styles to apply to the component
|
|
8233
8563
|
*/
|
|
8234
|
-
style?: React.CSSProperties;
|
|
8564
|
+
style?: React$1.CSSProperties;
|
|
8235
8565
|
/**
|
|
8236
8566
|
* The placeholder text
|
|
8237
8567
|
*/
|
|
@@ -8264,7 +8594,7 @@ interface DsTextareaProps {
|
|
|
8264
8594
|
}
|
|
8265
8595
|
//#endregion
|
|
8266
8596
|
//#region src/components/ds-textarea/ds-textarea.d.ts
|
|
8267
|
-
declare const DsTextarea: React.FC<DsTextareaProps>;
|
|
8597
|
+
declare const DsTextarea: React$1.FC<DsTextareaProps>;
|
|
8268
8598
|
//#endregion
|
|
8269
8599
|
//#region src/components/ds-select/ds-select.types.d.ts
|
|
8270
8600
|
type SelectSize = 'default' | 'small';
|
|
@@ -8295,7 +8625,7 @@ type DsSelectProps = {
|
|
|
8295
8625
|
/**
|
|
8296
8626
|
* Additional styles to apply to the icon
|
|
8297
8627
|
*/
|
|
8298
|
-
style?: React.CSSProperties;
|
|
8628
|
+
style?: React$1.CSSProperties;
|
|
8299
8629
|
/**
|
|
8300
8630
|
* Additional CSS class names
|
|
8301
8631
|
*/
|
|
@@ -8305,7 +8635,7 @@ type DsSelectProps = {
|
|
|
8305
8635
|
*
|
|
8306
8636
|
* @param event
|
|
8307
8637
|
*/
|
|
8308
|
-
onBlur?: (event: React.FocusEvent) => void;
|
|
8638
|
+
onBlur?: (event: React$1.FocusEvent) => void;
|
|
8309
8639
|
/**
|
|
8310
8640
|
* Placeholder text to display when no option is selected
|
|
8311
8641
|
*/
|
|
@@ -8319,6 +8649,12 @@ type DsSelectProps = {
|
|
|
8319
8649
|
* @default 'default'
|
|
8320
8650
|
*/
|
|
8321
8651
|
size?: SelectSize;
|
|
8652
|
+
/**
|
|
8653
|
+
* Custom render function for dropdown options.
|
|
8654
|
+
* When provided, replaces the default label text inside each dropdown item.
|
|
8655
|
+
* The string `label` is still used for search, trigger text, chips, and accessibility.
|
|
8656
|
+
*/
|
|
8657
|
+
renderOption?: (option: DsSelectOption) => ReactNode;
|
|
8322
8658
|
} & ({
|
|
8323
8659
|
clearable?: undefined | false;
|
|
8324
8660
|
onClear?: never;
|
|
@@ -8348,13 +8684,14 @@ declare const DsSelect: ({
|
|
|
8348
8684
|
className,
|
|
8349
8685
|
placeholder,
|
|
8350
8686
|
disabled,
|
|
8687
|
+
renderOption,
|
|
8351
8688
|
...multiselectProps
|
|
8352
8689
|
}: DsSelectProps) => react_jsx_runtime0.JSX.Element;
|
|
8353
8690
|
//#endregion
|
|
8354
8691
|
//#region src/components/ds-form-control/ds-form-control.types.d.ts
|
|
8355
8692
|
declare const controlStatuses: readonly ["info", "success", "error", "warning"];
|
|
8356
8693
|
type ControlStatus = (typeof controlStatuses)[number];
|
|
8357
|
-
interface DsFormControlProps extends React.PropsWithChildren {
|
|
8694
|
+
interface DsFormControlProps extends React$1.PropsWithChildren {
|
|
8358
8695
|
/**
|
|
8359
8696
|
* Unique identifier for the control
|
|
8360
8697
|
*/
|
|
@@ -8375,7 +8712,7 @@ interface DsFormControlProps extends React.PropsWithChildren {
|
|
|
8375
8712
|
/**
|
|
8376
8713
|
* Adornment to display at the end of the label
|
|
8377
8714
|
*/
|
|
8378
|
-
endAdornment?: React.ReactNode;
|
|
8715
|
+
endAdornment?: React$1.ReactNode;
|
|
8379
8716
|
};
|
|
8380
8717
|
/**
|
|
8381
8718
|
* Message under the control
|
|
@@ -8392,13 +8729,13 @@ interface DsFormControlProps extends React.PropsWithChildren {
|
|
|
8392
8729
|
/**
|
|
8393
8730
|
* Additional styles to apply to the component
|
|
8394
8731
|
*/
|
|
8395
|
-
style?: React.CSSProperties;
|
|
8732
|
+
style?: React$1.CSSProperties;
|
|
8396
8733
|
}
|
|
8397
8734
|
interface DsFormControlDescriptionProps {
|
|
8398
8735
|
/**
|
|
8399
8736
|
* The description content
|
|
8400
8737
|
*/
|
|
8401
|
-
children: React.ReactNode;
|
|
8738
|
+
children: React$1.ReactNode;
|
|
8402
8739
|
/**
|
|
8403
8740
|
* Additional CSS class names
|
|
8404
8741
|
*/
|
|
@@ -8425,7 +8762,7 @@ declare const DsFormControl: {
|
|
|
8425
8762
|
DateInput: (props: DsDateInputProps) => react_jsx_runtime0.JSX.Element;
|
|
8426
8763
|
Textarea: (props: DsTextareaProps) => react_jsx_runtime0.JSX.Element;
|
|
8427
8764
|
Select: (props: DsSelectProps) => react_jsx_runtime0.JSX.Element;
|
|
8428
|
-
Description: React.FC<DsFormControlDescriptionProps>;
|
|
8765
|
+
Description: React$1.FC<DsFormControlDescriptionProps>;
|
|
8429
8766
|
};
|
|
8430
8767
|
//#endregion
|
|
8431
8768
|
//#region src/components/ds-grid/ds-grid.types.d.ts
|
|
@@ -8478,11 +8815,11 @@ interface DsGridItemProps {
|
|
|
8478
8815
|
/**
|
|
8479
8816
|
* Design system Grid component
|
|
8480
8817
|
*/
|
|
8481
|
-
declare const DsGrid: React.FC<DsGridProps>;
|
|
8818
|
+
declare const DsGrid: React$1.FC<DsGridProps>;
|
|
8482
8819
|
/**
|
|
8483
8820
|
* Design system GridItem component
|
|
8484
8821
|
*/
|
|
8485
|
-
declare const DsGridItem: React.FC<DsGridItemProps>;
|
|
8822
|
+
declare const DsGridItem: React$1.FC<DsGridItemProps>;
|
|
8486
8823
|
//#endregion
|
|
8487
8824
|
//#region src/components/ds-loader/ds-loader.types.d.ts
|
|
8488
8825
|
declare const loaderVariants: readonly ["spinner", "pulsing"];
|
|
@@ -8500,11 +8837,11 @@ interface DsLoaderProps {
|
|
|
8500
8837
|
/**
|
|
8501
8838
|
* Additional styles to apply to the component
|
|
8502
8839
|
*/
|
|
8503
|
-
style?: React.CSSProperties;
|
|
8840
|
+
style?: React$1.CSSProperties;
|
|
8504
8841
|
/**
|
|
8505
8842
|
* Ref to the loader container element
|
|
8506
8843
|
*/
|
|
8507
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
8844
|
+
ref?: React$1.Ref<HTMLDivElement>;
|
|
8508
8845
|
}
|
|
8509
8846
|
//#endregion
|
|
8510
8847
|
//#region src/components/ds-loader/ds-loader.d.ts
|
|
@@ -8666,11 +9003,11 @@ interface DsPopoverProps {
|
|
|
8666
9003
|
/**
|
|
8667
9004
|
* The element that triggers the popover
|
|
8668
9005
|
*/
|
|
8669
|
-
trigger: React.ReactNode;
|
|
9006
|
+
trigger: React$1.ReactNode;
|
|
8670
9007
|
/**
|
|
8671
9008
|
* The content to be rendered inside the popover
|
|
8672
9009
|
*/
|
|
8673
|
-
children: React.ReactNode;
|
|
9010
|
+
children: React$1.ReactNode;
|
|
8674
9011
|
/**
|
|
8675
9012
|
* Additional CSS class names
|
|
8676
9013
|
*/
|
|
@@ -8686,7 +9023,166 @@ interface DsPopoverProps {
|
|
|
8686
9023
|
}
|
|
8687
9024
|
//#endregion
|
|
8688
9025
|
//#region src/components/ds-popover/ds-popover.d.ts
|
|
8689
|
-
declare const DsPopover: React.FC<DsPopoverProps>;
|
|
9026
|
+
declare const DsPopover: React$1.FC<DsPopoverProps>;
|
|
9027
|
+
//#endregion
|
|
9028
|
+
//#region src/components/ds-progress-arc/ds-progress-arc.types.d.ts
|
|
9029
|
+
declare const progressArcSizes: readonly ["small", "medium"];
|
|
9030
|
+
type ProgressArcSize = (typeof progressArcSizes)[number];
|
|
9031
|
+
declare const progressArcVariants: readonly ["default", "success", "error"];
|
|
9032
|
+
type ProgressArcVariant = (typeof progressArcVariants)[number];
|
|
9033
|
+
interface DsProgressArcProps extends ComponentPropsWithoutRef<'div'> {
|
|
9034
|
+
/**
|
|
9035
|
+
* Progress value between 0 and 100
|
|
9036
|
+
* @default 0
|
|
9037
|
+
*/
|
|
9038
|
+
value?: number;
|
|
9039
|
+
/**
|
|
9040
|
+
* Size of the arc progress indicator
|
|
9041
|
+
* @default 'medium'
|
|
9042
|
+
*/
|
|
9043
|
+
size?: ProgressArcSize;
|
|
9044
|
+
/**
|
|
9045
|
+
* Visual variant of the arc progress indicator
|
|
9046
|
+
* @default 'default'
|
|
9047
|
+
*/
|
|
9048
|
+
variant?: ProgressArcVariant;
|
|
9049
|
+
/**
|
|
9050
|
+
* Custom content to display in the center of the arc, overriding the default text or icon
|
|
9051
|
+
*/
|
|
9052
|
+
children?: ReactNode;
|
|
9053
|
+
ref?: Ref<HTMLElement>;
|
|
9054
|
+
}
|
|
9055
|
+
//#endregion
|
|
9056
|
+
//#region src/components/ds-progress-arc/ds-progress-arc.d.ts
|
|
9057
|
+
declare const DsProgressArc: ({
|
|
9058
|
+
value,
|
|
9059
|
+
size,
|
|
9060
|
+
variant,
|
|
9061
|
+
children,
|
|
9062
|
+
className,
|
|
9063
|
+
style,
|
|
9064
|
+
ref,
|
|
9065
|
+
...props
|
|
9066
|
+
}: DsProgressArcProps) => react_jsx_runtime0.JSX.Element;
|
|
9067
|
+
//#endregion
|
|
9068
|
+
//#region src/components/ds-progress-donut/ds-progress-donut.types.d.ts
|
|
9069
|
+
declare const progressDonutSizes: readonly ["small", "medium"];
|
|
9070
|
+
type ProgressDonutSize = (typeof progressDonutSizes)[number];
|
|
9071
|
+
declare const progressDonutVariants: readonly ["default", "success", "error"];
|
|
9072
|
+
type ProgressDonutVariant = (typeof progressDonutVariants)[number];
|
|
9073
|
+
interface DsProgressDonutProps {
|
|
9074
|
+
/**
|
|
9075
|
+
* Progress value between 0 and 100
|
|
9076
|
+
* @default 0
|
|
9077
|
+
*/
|
|
9078
|
+
value?: number;
|
|
9079
|
+
/**
|
|
9080
|
+
* Size of the donut progress indicator
|
|
9081
|
+
* @default 'medium'
|
|
9082
|
+
*/
|
|
9083
|
+
size?: ProgressDonutSize;
|
|
9084
|
+
/**
|
|
9085
|
+
* Visual variant of the donut progress indicator
|
|
9086
|
+
* @default 'default'
|
|
9087
|
+
*/
|
|
9088
|
+
variant?: ProgressDonutVariant;
|
|
9089
|
+
/**
|
|
9090
|
+
* Custom content to display in the center of the donut, overriding the default text or icon
|
|
9091
|
+
*/
|
|
9092
|
+
children?: ReactNode;
|
|
9093
|
+
className?: string;
|
|
9094
|
+
style?: CSSProperties;
|
|
9095
|
+
ref?: Ref<HTMLElement>;
|
|
9096
|
+
}
|
|
9097
|
+
//#endregion
|
|
9098
|
+
//#region src/components/ds-progress-donut/ds-progress-donut.d.ts
|
|
9099
|
+
declare const DsProgressDonut: ({
|
|
9100
|
+
value,
|
|
9101
|
+
size,
|
|
9102
|
+
variant,
|
|
9103
|
+
children,
|
|
9104
|
+
className,
|
|
9105
|
+
style,
|
|
9106
|
+
ref
|
|
9107
|
+
}: DsProgressDonutProps) => react_jsx_runtime0.JSX.Element;
|
|
9108
|
+
//#endregion
|
|
9109
|
+
//#region src/components/ds-progress-linear/ds-progress-linear.types.d.ts
|
|
9110
|
+
declare const progressLinearVariants: readonly ["initial", "progress", "interrupted", "success", "error"];
|
|
9111
|
+
type ProgressLinearVariant = (typeof progressLinearVariants)[number];
|
|
9112
|
+
declare const progressLinearSizes: readonly ["small", "medium", "large"];
|
|
9113
|
+
type ProgressLinearSize = (typeof progressLinearSizes)[number];
|
|
9114
|
+
interface DsProgressLinearProps {
|
|
9115
|
+
/**
|
|
9116
|
+
* The current progress value (0–100)
|
|
9117
|
+
* @default 0
|
|
9118
|
+
*/
|
|
9119
|
+
value?: number;
|
|
9120
|
+
/**
|
|
9121
|
+
* The minimum value
|
|
9122
|
+
* @default 0
|
|
9123
|
+
*/
|
|
9124
|
+
min?: number;
|
|
9125
|
+
/**
|
|
9126
|
+
* The maximum value
|
|
9127
|
+
* @default 100
|
|
9128
|
+
*/
|
|
9129
|
+
max?: number;
|
|
9130
|
+
/**
|
|
9131
|
+
* The visual variant controlling bar color and caption styling
|
|
9132
|
+
* @default 'progress'
|
|
9133
|
+
*/
|
|
9134
|
+
variant?: ProgressLinearVariant;
|
|
9135
|
+
/**
|
|
9136
|
+
* The size of the progress bar track
|
|
9137
|
+
* @default 'medium'
|
|
9138
|
+
*/
|
|
9139
|
+
size?: ProgressLinearSize;
|
|
9140
|
+
/**
|
|
9141
|
+
* Label displayed above the progress bar (left side)
|
|
9142
|
+
*/
|
|
9143
|
+
label?: React$1.ReactNode;
|
|
9144
|
+
/**
|
|
9145
|
+
* Whether to show the percentage value text (right side of label row)
|
|
9146
|
+
* @default true
|
|
9147
|
+
*/
|
|
9148
|
+
showValue?: boolean;
|
|
9149
|
+
/**
|
|
9150
|
+
* Caption/helper text below the progress bar.
|
|
9151
|
+
* When a string is provided, it is auto-styled with an icon and color based on the variant.
|
|
9152
|
+
* When a ReactNode is provided, it is rendered as-is.
|
|
9153
|
+
*/
|
|
9154
|
+
caption?: React$1.ReactNode | string;
|
|
9155
|
+
/**
|
|
9156
|
+
* Additional CSS class names
|
|
9157
|
+
*/
|
|
9158
|
+
className?: string;
|
|
9159
|
+
/**
|
|
9160
|
+
* Additional styles to apply to the component
|
|
9161
|
+
*/
|
|
9162
|
+
style?: React$1.CSSProperties;
|
|
9163
|
+
/**
|
|
9164
|
+
* Ref to the root element
|
|
9165
|
+
*/
|
|
9166
|
+
ref?: React$1.Ref<HTMLDivElement>;
|
|
9167
|
+
}
|
|
9168
|
+
//#endregion
|
|
9169
|
+
//#region src/components/ds-progress-linear/ds-progress-linear.d.ts
|
|
9170
|
+
/**
|
|
9171
|
+
* Design system ProgressLinear component
|
|
9172
|
+
*/
|
|
9173
|
+
declare const DsProgressLinear: ({
|
|
9174
|
+
value,
|
|
9175
|
+
min,
|
|
9176
|
+
max,
|
|
9177
|
+
variant,
|
|
9178
|
+
size,
|
|
9179
|
+
label,
|
|
9180
|
+
showValue,
|
|
9181
|
+
caption,
|
|
9182
|
+
className,
|
|
9183
|
+
style,
|
|
9184
|
+
ref
|
|
9185
|
+
}: DsProgressLinearProps) => react_jsx_runtime0.JSX.Element;
|
|
8690
9186
|
//#endregion
|
|
8691
9187
|
//#region src/components/ds-radio-group/ds-radio-group.types.d.ts
|
|
8692
9188
|
/**
|
|
@@ -8739,7 +9235,7 @@ interface DsRadioOptionLegacy<ValueType = string> {
|
|
|
8739
9235
|
* Use compound component pattern instead
|
|
8740
9236
|
* @deprecated
|
|
8741
9237
|
*/
|
|
8742
|
-
interface DsRadioGroupLegacyProps<TOption extends DsRadioOptionLegacy = DsRadioOptionLegacy> extends React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Root> {
|
|
9238
|
+
interface DsRadioGroupLegacyProps<TOption extends DsRadioOptionLegacy = DsRadioOptionLegacy> extends React$1.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Root> {
|
|
8743
9239
|
/**
|
|
8744
9240
|
* The radio group options
|
|
8745
9241
|
*/
|
|
@@ -8765,7 +9261,7 @@ interface DsRadioGroupLegacyProps<TOption extends DsRadioOptionLegacy = DsRadioO
|
|
|
8765
9261
|
/**
|
|
8766
9262
|
* Additional styles to apply to the component
|
|
8767
9263
|
*/
|
|
8768
|
-
style?: React.CSSProperties;
|
|
9264
|
+
style?: React$1.CSSProperties;
|
|
8769
9265
|
}
|
|
8770
9266
|
//#endregion
|
|
8771
9267
|
//#region src/components/ds-radio-group/ds-radio-group.d.ts
|
|
@@ -8774,7 +9270,7 @@ interface DsRadioGroupLegacyProps<TOption extends DsRadioOptionLegacy = DsRadioO
|
|
|
8774
9270
|
* Use compound component pattern instead: DsRadioGroup.Root + DsRadioGroup.Item
|
|
8775
9271
|
* @deprecated
|
|
8776
9272
|
*/
|
|
8777
|
-
declare const DsRadioGroupLegacy: React.FC<DsRadioGroupLegacyProps>;
|
|
9273
|
+
declare const DsRadioGroupLegacy: React$1.FC<DsRadioGroupLegacyProps>;
|
|
8778
9274
|
/**
|
|
8779
9275
|
* Design system RadioGroup component
|
|
8780
9276
|
*
|
|
@@ -8785,8 +9281,8 @@ declare const DsRadioGroupLegacy: React.FC<DsRadioGroupLegacyProps>;
|
|
|
8785
9281
|
* </DsRadioGroup.Root>
|
|
8786
9282
|
*/
|
|
8787
9283
|
declare const DsRadioGroup: {
|
|
8788
|
-
Root: React.FC<DsRadioGroupRootProps>;
|
|
8789
|
-
Item: React.FC<DsRadioGroupItemProps>;
|
|
9284
|
+
Root: React$1.FC<DsRadioGroupRootProps>;
|
|
9285
|
+
Item: React$1.FC<DsRadioGroupItemProps>;
|
|
8790
9286
|
};
|
|
8791
9287
|
//#endregion
|
|
8792
9288
|
//#region src/components/ds-segment-group/ds-segment-group.types.d.ts
|
|
@@ -8850,9 +9346,9 @@ type DsSegmentGroupItemTextProps = Pick<SegmentGroupItemTextProps, 'className' |
|
|
|
8850
9346
|
* </DsSegmentGroup.Root>
|
|
8851
9347
|
*/
|
|
8852
9348
|
declare const DsSegmentGroup: {
|
|
8853
|
-
Root: React.FC<DsSegmentGroupRootProps>;
|
|
8854
|
-
Item: React.FC<DsSegmentGroupItemProps>;
|
|
8855
|
-
ItemText: React.FC<DsSegmentGroupItemTextProps>;
|
|
9349
|
+
Root: React$1.FC<DsSegmentGroupRootProps>;
|
|
9350
|
+
Item: React$1.FC<DsSegmentGroupItemProps>;
|
|
9351
|
+
ItemText: React$1.FC<DsSegmentGroupItemTextProps>;
|
|
8856
9352
|
};
|
|
8857
9353
|
//#endregion
|
|
8858
9354
|
//#region src/components/ds-typography/ds-typography.config.d.ts
|
|
@@ -8896,7 +9392,7 @@ interface DsTypographyProps {
|
|
|
8896
9392
|
/**
|
|
8897
9393
|
* Additional styles to apply to the typography component
|
|
8898
9394
|
*/
|
|
8899
|
-
style?: React.CSSProperties;
|
|
9395
|
+
style?: React$1.CSSProperties;
|
|
8900
9396
|
/**
|
|
8901
9397
|
* When true, renders as Slot component for composition without extra DOM nodes
|
|
8902
9398
|
*/
|
|
@@ -8904,12 +9400,12 @@ interface DsTypographyProps {
|
|
|
8904
9400
|
/**
|
|
8905
9401
|
* The content of the component
|
|
8906
9402
|
*/
|
|
8907
|
-
children: React.ReactNode;
|
|
9403
|
+
children: React$1.ReactNode;
|
|
8908
9404
|
}
|
|
8909
9405
|
//#endregion
|
|
8910
9406
|
//#region src/components/ds-typography/ds-typography.d.ts
|
|
8911
|
-
declare const DsTypography: React.FC<DsTypographyProps & {
|
|
8912
|
-
ref?: React.Ref<HTMLElement>;
|
|
9407
|
+
declare const DsTypography: React$1.FC<DsTypographyProps & {
|
|
9408
|
+
ref?: React$1.Ref<HTMLElement>;
|
|
8913
9409
|
}>;
|
|
8914
9410
|
//#endregion
|
|
8915
9411
|
//#region src/components/ds-skeleton/ds-skeleton.types.d.ts
|
|
@@ -9099,7 +9595,7 @@ interface DsSmartTabProps {
|
|
|
9099
9595
|
/**
|
|
9100
9596
|
* Additional styles to apply to the tab
|
|
9101
9597
|
*/
|
|
9102
|
-
style?: React.CSSProperties;
|
|
9598
|
+
style?: React$1.CSSProperties;
|
|
9103
9599
|
}
|
|
9104
9600
|
interface DsSmartTabsProps {
|
|
9105
9601
|
/**
|
|
@@ -9117,7 +9613,7 @@ interface DsSmartTabsProps {
|
|
|
9117
9613
|
/**
|
|
9118
9614
|
* Additional styles to apply to the component
|
|
9119
9615
|
*/
|
|
9120
|
-
style?: React.CSSProperties;
|
|
9616
|
+
style?: React$1.CSSProperties;
|
|
9121
9617
|
/**
|
|
9122
9618
|
* The tab components as children
|
|
9123
9619
|
*/
|
|
@@ -9137,7 +9633,7 @@ declare const DsSmartTabs: {
|
|
|
9137
9633
|
children,
|
|
9138
9634
|
...props
|
|
9139
9635
|
}: DsSmartTabsProps): react_jsx_runtime0.JSX.Element;
|
|
9140
|
-
Tab: React.FC<DsSmartTabProps>;
|
|
9636
|
+
Tab: React$1.FC<DsSmartTabProps>;
|
|
9141
9637
|
};
|
|
9142
9638
|
//#endregion
|
|
9143
9639
|
//#region src/components/ds-spinner/ds-spinner.types.d.ts
|
|
@@ -9156,14 +9652,14 @@ interface DsSpinnerProps {
|
|
|
9156
9652
|
/**
|
|
9157
9653
|
* Additional styles to apply to the component
|
|
9158
9654
|
*/
|
|
9159
|
-
style?: React.CSSProperties;
|
|
9655
|
+
style?: React$1.CSSProperties;
|
|
9160
9656
|
}
|
|
9161
9657
|
//#endregion
|
|
9162
9658
|
//#region src/components/ds-spinner/ds-spinner.d.ts
|
|
9163
9659
|
/**
|
|
9164
9660
|
* Design system Spinner component
|
|
9165
9661
|
*/
|
|
9166
|
-
declare const DsSpinner: React.FC<DsSpinnerProps>;
|
|
9662
|
+
declare const DsSpinner: React$1.FC<DsSpinnerProps>;
|
|
9167
9663
|
//#endregion
|
|
9168
9664
|
//#region src/components/ds-status-badge/ds-status-badge.types.d.ts
|
|
9169
9665
|
declare const dsStatuses: readonly ["active", "running", "pending", "draft", "inactive", "warning", "failed"];
|
|
@@ -9211,7 +9707,7 @@ interface DsStatusBadgeProps {
|
|
|
9211
9707
|
/**
|
|
9212
9708
|
* Design system StatusBadge component
|
|
9213
9709
|
*/
|
|
9214
|
-
declare const DsStatusBadge: React.FC<DsStatusBadgeProps>;
|
|
9710
|
+
declare const DsStatusBadge: React$1.FC<DsStatusBadgeProps>;
|
|
9215
9711
|
//#endregion
|
|
9216
9712
|
//#region src/components/ds-stepper/ds-stepper.types.d.ts
|
|
9217
9713
|
type DsStepperVariant = 'single';
|
|
@@ -9330,7 +9826,7 @@ interface DsSystemStatusProps {
|
|
|
9330
9826
|
* @deprecated This component is deprecated. Use `DsStatusBadge` instead.
|
|
9331
9827
|
* @see {@link ../ds-status-badge/ds-status-badge} for the replacement component.
|
|
9332
9828
|
*/
|
|
9333
|
-
declare const DsSystemStatus: React.FC<DsSystemStatusProps>;
|
|
9829
|
+
declare const DsSystemStatus: React$1.FC<DsSystemStatusProps>;
|
|
9334
9830
|
//#endregion
|
|
9335
9831
|
//#region src/components/ds-table/components/ds-table-cell/ds-table-cell.types.d.ts
|
|
9336
9832
|
/**
|
|
@@ -9372,6 +9868,19 @@ type SecondaryRowAction<TData> = Omit<RowAction<TData>, 'icon'> & {
|
|
|
9372
9868
|
className?: string;
|
|
9373
9869
|
};
|
|
9374
9870
|
//#endregion
|
|
9871
|
+
//#region src/components/ds-table/components/ds-table-body-virtualized/ds-table-body-virtualized.types.d.ts
|
|
9872
|
+
/**
|
|
9873
|
+
* Parameters passed to the onScroll callback in virtualized tables.
|
|
9874
|
+
*/
|
|
9875
|
+
interface ScrollParams {
|
|
9876
|
+
/** The current vertical scroll position from the top of the scrollable content (in pixels) */
|
|
9877
|
+
scrollOffset: number;
|
|
9878
|
+
/** The total height of all content in the virtualized table (in pixels) */
|
|
9879
|
+
totalContentHeight: number;
|
|
9880
|
+
/** The visible height of the table container (in pixels) */
|
|
9881
|
+
viewportHeight: number;
|
|
9882
|
+
}
|
|
9883
|
+
//#endregion
|
|
9375
9884
|
//#region src/components/ds-table/filters/types/filter-adapter.types.d.ts
|
|
9376
9885
|
type AnyAdapter = FilterAdapter<any, any, any>;
|
|
9377
9886
|
/**
|
|
@@ -9771,17 +10280,6 @@ interface RangeFilterProps {
|
|
|
9771
10280
|
* Row size variants based on Figma design specifications
|
|
9772
10281
|
*/
|
|
9773
10282
|
type DsTableRowSize = 'small' | 'medium' | 'large';
|
|
9774
|
-
/**
|
|
9775
|
-
* Parameters passed to the onScroll callback in virtualized tables.
|
|
9776
|
-
*/
|
|
9777
|
-
interface ScrollParams {
|
|
9778
|
-
/** The current vertical scroll position from the top of the scrollable content (in pixels) */
|
|
9779
|
-
scrollOffset: number;
|
|
9780
|
-
/** The total height of all content in the virtualized table (in pixels) */
|
|
9781
|
-
totalContentHeight: number;
|
|
9782
|
-
/** The visible height of the table container (in pixels) */
|
|
9783
|
-
viewportHeight: number;
|
|
9784
|
-
}
|
|
9785
10283
|
/**
|
|
9786
10284
|
* API for programmatically controlling a DsTable component.
|
|
9787
10285
|
* This interface provides methods to interact with the table's selection, sorting, filtering, and pagination features.
|
|
@@ -9868,6 +10366,57 @@ interface DsTableApi<TData> {
|
|
|
9868
10366
|
* ```
|
|
9869
10367
|
*/
|
|
9870
10368
|
getSelectedRows: () => TData[];
|
|
10369
|
+
/**
|
|
10370
|
+
* Expands a single row by its ID.
|
|
10371
|
+
*
|
|
10372
|
+
* @param rowId - The unique identifier of the row to expand
|
|
10373
|
+
*
|
|
10374
|
+
* @example
|
|
10375
|
+
* ```tsx
|
|
10376
|
+
* tableRef.current?.expandRow('user-123');
|
|
10377
|
+
* ```
|
|
10378
|
+
*/
|
|
10379
|
+
expandRow: (rowId: string) => void;
|
|
10380
|
+
/**
|
|
10381
|
+
* Collapses a single row by its ID.
|
|
10382
|
+
*
|
|
10383
|
+
* @param rowId - The unique identifier of the row to collapse
|
|
10384
|
+
*
|
|
10385
|
+
* @example
|
|
10386
|
+
* ```tsx
|
|
10387
|
+
* tableRef.current?.collapseRow('user-123');
|
|
10388
|
+
* ```
|
|
10389
|
+
*/
|
|
10390
|
+
collapseRow: (rowId: string) => void;
|
|
10391
|
+
/**
|
|
10392
|
+
* Expands all rows in the table.
|
|
10393
|
+
*
|
|
10394
|
+
* @example
|
|
10395
|
+
* ```tsx
|
|
10396
|
+
* tableRef.current?.expandAllRows();
|
|
10397
|
+
* ```
|
|
10398
|
+
*/
|
|
10399
|
+
expandAllRows: () => void;
|
|
10400
|
+
/**
|
|
10401
|
+
* Collapses all rows in the table.
|
|
10402
|
+
*
|
|
10403
|
+
* @example
|
|
10404
|
+
* ```tsx
|
|
10405
|
+
* tableRef.current?.collapseAllRows();
|
|
10406
|
+
* ```
|
|
10407
|
+
*/
|
|
10408
|
+
collapseAllRows: () => void;
|
|
10409
|
+
/**
|
|
10410
|
+
* Expands multiple rows by their IDs.
|
|
10411
|
+
*
|
|
10412
|
+
* @param rowIds - Array of unique identifiers for the rows to expand
|
|
10413
|
+
*
|
|
10414
|
+
* @example
|
|
10415
|
+
* ```tsx
|
|
10416
|
+
* tableRef.current?.expandRows(['user-1', 'user-2', 'user-3']);
|
|
10417
|
+
* ```
|
|
10418
|
+
*/
|
|
10419
|
+
expandRows: (rowIds: string[]) => void;
|
|
9871
10420
|
}
|
|
9872
10421
|
/**
|
|
9873
10422
|
* Represents a bulk action that can be performed on multiple selected rows
|
|
@@ -9890,7 +10439,7 @@ interface DsDataTableProps<TData, TValue> {
|
|
|
9890
10439
|
/**
|
|
9891
10440
|
* Ref to the table API
|
|
9892
10441
|
*/
|
|
9893
|
-
ref?: React.RefObject<DsTableApi<TData> | null>;
|
|
10442
|
+
ref?: React$1.RefObject<DsTableApi<TData> | null>;
|
|
9894
10443
|
/**
|
|
9895
10444
|
* Columns of the table
|
|
9896
10445
|
*/
|
|
@@ -9950,7 +10499,7 @@ interface DsDataTableProps<TData, TValue> {
|
|
|
9950
10499
|
/**
|
|
9951
10500
|
* Empty state of the table
|
|
9952
10501
|
*/
|
|
9953
|
-
emptyState?: React.ReactNode;
|
|
10502
|
+
emptyState?: React$1.ReactNode;
|
|
9954
10503
|
/**
|
|
9955
10504
|
* Whether the table has sticky header
|
|
9956
10505
|
*/
|
|
@@ -9979,7 +10528,7 @@ interface DsDataTableProps<TData, TValue> {
|
|
|
9979
10528
|
/**
|
|
9980
10529
|
* Function to render the expanded row
|
|
9981
10530
|
*/
|
|
9982
|
-
renderExpandedRow?: (row: TData) => React.ReactNode;
|
|
10531
|
+
renderExpandedRow?: (row: TData) => React$1.ReactNode;
|
|
9983
10532
|
/**
|
|
9984
10533
|
* Function to handle table creation
|
|
9985
10534
|
*/
|
|
@@ -10354,9 +10903,8 @@ interface DsTagFilterProps {
|
|
|
10354
10903
|
locale?: {
|
|
10355
10904
|
label?: string;
|
|
10356
10905
|
clearButton?: string;
|
|
10357
|
-
|
|
10358
|
-
|
|
10359
|
-
hiddenCountPlural?: string;
|
|
10906
|
+
showMore?: string;
|
|
10907
|
+
showLess?: string;
|
|
10360
10908
|
};
|
|
10361
10909
|
/**
|
|
10362
10910
|
* Callback when "Clear all" is clicked
|
|
@@ -10389,7 +10937,8 @@ interface DsTagFilterProps {
|
|
|
10389
10937
|
* Design system TagFilter component
|
|
10390
10938
|
*
|
|
10391
10939
|
* A component for displaying active filters as tags with overflow handling.
|
|
10392
|
-
*
|
|
10940
|
+
* Non-tag elements (label, expand/collapse, clear) sit in a header row.
|
|
10941
|
+
* Tags occupy the full width below, wrapping as needed.
|
|
10393
10942
|
*/
|
|
10394
10943
|
declare const DsTagFilter: ({
|
|
10395
10944
|
items,
|
|
@@ -10585,6 +11134,156 @@ interface DsTooltipProps {
|
|
|
10585
11134
|
//#region src/components/ds-tooltip/ds-tooltip.d.ts
|
|
10586
11135
|
declare const DsTooltip: FC<DsTooltipProps>;
|
|
10587
11136
|
//#endregion
|
|
11137
|
+
//#region src/components/ds-tree/ds-tree.types.d.ts
|
|
11138
|
+
interface DsTreeNode {
|
|
11139
|
+
id: string;
|
|
11140
|
+
name: string;
|
|
11141
|
+
disabled?: boolean;
|
|
11142
|
+
icon?: IconType;
|
|
11143
|
+
status?: FilterStatus;
|
|
11144
|
+
children?: DsTreeNode[];
|
|
11145
|
+
}
|
|
11146
|
+
declare const dsTreeSizes: readonly ["medium", "small"];
|
|
11147
|
+
type DsTreeSize = (typeof dsTreeSizes)[number];
|
|
11148
|
+
interface DsTreeBaseProps {
|
|
11149
|
+
className?: string;
|
|
11150
|
+
style?: CSSProperties;
|
|
11151
|
+
}
|
|
11152
|
+
interface DsTreeBasePropsWithChildren extends DsTreeBaseProps {
|
|
11153
|
+
children?: ReactNode;
|
|
11154
|
+
}
|
|
11155
|
+
interface DsTreeRootProps<T extends DsTreeNode = DsTreeNode> extends DsTreeBasePropsWithChildren {
|
|
11156
|
+
collection: TreeView.RootProps<T>['collection'];
|
|
11157
|
+
size?: DsTreeSize;
|
|
11158
|
+
ref?: Ref<HTMLDivElement>;
|
|
11159
|
+
selectedValue?: string[];
|
|
11160
|
+
defaultSelectedValue?: string[];
|
|
11161
|
+
onSelectionChange?: TreeView.RootProps<T>['onSelectionChange'];
|
|
11162
|
+
selectionMode?: 'single' | 'multiple';
|
|
11163
|
+
expandedValue?: string[];
|
|
11164
|
+
defaultExpandedValue?: string[];
|
|
11165
|
+
onExpandedChange?: TreeView.RootProps<T>['onExpandedChange'];
|
|
11166
|
+
expandOnClick?: boolean;
|
|
11167
|
+
checkedValue?: string[];
|
|
11168
|
+
defaultCheckedValue?: string[];
|
|
11169
|
+
onCheckedChange?: TreeView.RootProps<T>['onCheckedChange'];
|
|
11170
|
+
/**
|
|
11171
|
+
* Whether to enable typeahead navigation — typing characters focuses matching nodes
|
|
11172
|
+
*/
|
|
11173
|
+
typeahead?: boolean;
|
|
11174
|
+
/**
|
|
11175
|
+
* Whether to defer mounting of branch content until a branch is first expanded
|
|
11176
|
+
*/
|
|
11177
|
+
lazyMount?: boolean;
|
|
11178
|
+
unmountOnExit?: boolean;
|
|
11179
|
+
}
|
|
11180
|
+
type DsTreeTreeProps = DsTreeBasePropsWithChildren;
|
|
11181
|
+
type DsTreeBranchProps = DsTreeBasePropsWithChildren;
|
|
11182
|
+
type DsTreeBranchControlProps = DsTreeBasePropsWithChildren;
|
|
11183
|
+
type DsTreeBranchIndicatorProps = DsTreeBasePropsWithChildren;
|
|
11184
|
+
type DsTreeBranchTextProps = DsTreeBasePropsWithChildren;
|
|
11185
|
+
type DsTreeBranchContentProps = DsTreeBasePropsWithChildren;
|
|
11186
|
+
type DsTreeBranchIndentGuideProps = DsTreeBaseProps;
|
|
11187
|
+
interface DsTreeItemProps extends DsTreeBasePropsWithChildren {
|
|
11188
|
+
onClick?: (event: MouseEvent<HTMLDivElement>) => void;
|
|
11189
|
+
}
|
|
11190
|
+
type DsTreeItemTextProps = DsTreeBasePropsWithChildren;
|
|
11191
|
+
type DsTreeItemIndicatorProps = DsTreeBaseProps;
|
|
11192
|
+
type DsTreeNodeCheckboxProps = DsTreeBaseProps;
|
|
11193
|
+
interface DsTreeItemActionProps extends DsTreeBasePropsWithChildren {
|
|
11194
|
+
onClick?: (event: MouseEvent<HTMLButtonElement>) => void;
|
|
11195
|
+
}
|
|
11196
|
+
//#endregion
|
|
11197
|
+
//#region src/components/ds-tree/ds-tree.d.ts
|
|
11198
|
+
declare const DsTree: {
|
|
11199
|
+
Root: <T extends DsTreeNode = DsTreeNode>({
|
|
11200
|
+
collection,
|
|
11201
|
+
size,
|
|
11202
|
+
ref,
|
|
11203
|
+
className,
|
|
11204
|
+
style,
|
|
11205
|
+
children,
|
|
11206
|
+
selectedValue,
|
|
11207
|
+
defaultSelectedValue,
|
|
11208
|
+
onSelectionChange,
|
|
11209
|
+
selectionMode,
|
|
11210
|
+
expandedValue,
|
|
11211
|
+
defaultExpandedValue,
|
|
11212
|
+
onExpandedChange,
|
|
11213
|
+
expandOnClick,
|
|
11214
|
+
checkedValue,
|
|
11215
|
+
defaultCheckedValue,
|
|
11216
|
+
onCheckedChange,
|
|
11217
|
+
typeahead,
|
|
11218
|
+
lazyMount,
|
|
11219
|
+
unmountOnExit
|
|
11220
|
+
}: DsTreeRootProps<T>) => react_jsx_runtime0.JSX.Element;
|
|
11221
|
+
Tree: ({
|
|
11222
|
+
className,
|
|
11223
|
+
style,
|
|
11224
|
+
children
|
|
11225
|
+
}: DsTreeTreeProps) => react_jsx_runtime0.JSX.Element;
|
|
11226
|
+
NodeProvider: typeof TreeView.NodeProvider;
|
|
11227
|
+
NodeContext: (props: TreeView.NodeContextProps) => react.ReactNode;
|
|
11228
|
+
Branch: ({
|
|
11229
|
+
className,
|
|
11230
|
+
style,
|
|
11231
|
+
children
|
|
11232
|
+
}: DsTreeBranchProps) => react_jsx_runtime0.JSX.Element;
|
|
11233
|
+
BranchControl: ({
|
|
11234
|
+
className,
|
|
11235
|
+
style,
|
|
11236
|
+
children
|
|
11237
|
+
}: DsTreeBranchControlProps) => react_jsx_runtime0.JSX.Element;
|
|
11238
|
+
BranchIndicator: ({
|
|
11239
|
+
className,
|
|
11240
|
+
style,
|
|
11241
|
+
children
|
|
11242
|
+
}: DsTreeBranchIndicatorProps) => react_jsx_runtime0.JSX.Element;
|
|
11243
|
+
BranchText: ({
|
|
11244
|
+
className,
|
|
11245
|
+
style,
|
|
11246
|
+
children
|
|
11247
|
+
}: DsTreeBranchTextProps) => react_jsx_runtime0.JSX.Element;
|
|
11248
|
+
BranchContent: ({
|
|
11249
|
+
className,
|
|
11250
|
+
style,
|
|
11251
|
+
children
|
|
11252
|
+
}: DsTreeBranchContentProps) => react_jsx_runtime0.JSX.Element;
|
|
11253
|
+
BranchIndentGuide: ({
|
|
11254
|
+
className,
|
|
11255
|
+
style
|
|
11256
|
+
}: DsTreeBranchIndentGuideProps) => react_jsx_runtime0.JSX.Element;
|
|
11257
|
+
Item: ({
|
|
11258
|
+
className,
|
|
11259
|
+
style,
|
|
11260
|
+
children,
|
|
11261
|
+
onClick
|
|
11262
|
+
}: DsTreeItemProps) => react_jsx_runtime0.JSX.Element;
|
|
11263
|
+
ItemText: ({
|
|
11264
|
+
className,
|
|
11265
|
+
style,
|
|
11266
|
+
children
|
|
11267
|
+
}: DsTreeItemTextProps) => react_jsx_runtime0.JSX.Element;
|
|
11268
|
+
ItemIndicator: ({
|
|
11269
|
+
className,
|
|
11270
|
+
style
|
|
11271
|
+
}: DsTreeItemIndicatorProps) => react_jsx_runtime0.JSX.Element;
|
|
11272
|
+
ItemAction: ({
|
|
11273
|
+
className,
|
|
11274
|
+
style,
|
|
11275
|
+
children,
|
|
11276
|
+
onClick
|
|
11277
|
+
}: DsTreeItemActionProps) => react_jsx_runtime0.JSX.Element;
|
|
11278
|
+
NodeCheckbox: ({
|
|
11279
|
+
className,
|
|
11280
|
+
style
|
|
11281
|
+
}: DsTreeNodeCheckboxProps) => react_jsx_runtime0.JSX.Element;
|
|
11282
|
+
};
|
|
11283
|
+
//#endregion
|
|
11284
|
+
//#region src/components/ds-tree/ds-tree.utils.d.ts
|
|
11285
|
+
declare const createDsTreeCollection: <T extends DsTreeNode>(nodes: T[]) => _ark_ui_react0.TreeCollection<T>;
|
|
11286
|
+
//#endregion
|
|
10588
11287
|
//#region src/components/ds-vertical-tabs/ds-vertical-tabs.types.d.ts
|
|
10589
11288
|
interface DsVerticalTabsRootProps {
|
|
10590
11289
|
/**
|
|
@@ -10695,5 +11394,5 @@ declare const DsVerticalTabs: {
|
|
|
10695
11394
|
}: DsVerticalTabsContentProps) => react_jsx_runtime0.JSX.Element;
|
|
10696
11395
|
};
|
|
10697
11396
|
//#endregion
|
|
10698
|
-
export { type AcceptedFileType, Action, AlertBannerVariant, AnyAdapter, type CheckboxFilterAdapterConfig, type CheckboxFilterItem, type CheckboxFilterProps, type ChipItem, type ChipSize, Color, ColumnFilterState, ControlStatus, type CustomIconComponent, type CustomIconName, DsAlertBanner, DsAlertBannerProps, DsAutocomplete, DsAutocompleteOption, DsAutocompleteProps, DsAvatar, DsAvatarGroup, DsAvatarGroupProps, DsAvatarProps, DsAvatarSize, DsAvatarType, DsBreadcrumb, DsBreadcrumbItem, DsBreadcrumbProps, DsButton, DsButtonUnifiedProps, DsCard, type DsCardBodyProps, type DsCardFooterProps, type DsCardHeaderProps, type DsCardRootProps, type DsCardSize, DsCheckbox, DsCheckboxProps, DsChip, DsChipGroup, type DsChipGroupProps, type DsChipProps, DsConfirmation, type DsConfirmationProps, DsDataTableProps, DsDateInput, type DsDateInputProps, 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, DsFormControl, DsFormControlDescriptionProps, DsFormControlProps, DsGrid, DsGridItem, DsGridItemProps, DsGridProps, DsIcon, DsIconProps, DsLoader, DsLoaderProps, DsModal, DsModalColumns, DsModalProps, DsNextStepButton, type DsNextStepButtonProps, DsNumberInput, DsNumberInputProps, DsPanel, type DsPanelCollapseButtonProps, type DsPanelProps, type DsPanelVariant, DsPasswordInput, DsPasswordInputProps, DsPopover, DsPopoverProps, 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, 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, type DsToastContextType, type DsToastProps, DsToastProvider, type DsToastProviderProps, DsToggle, type DsToggleProps, DsTooltip, DsTooltipProps, 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, IconName, IconSize, IconType, IconVariant, LoaderVariant, MaterialIconName, type RangeFilterProps, type RangeFilterValue, type RangeValue, RetryableFileUploadError, type RowAction, 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 UseFileUploadReturn, type UseTableFiltersOptions, type UseTableFiltersResult, alertBannerVariants, cardSizes, colors, controlStatuses, createCheckboxFilterAdapter, createDualRangeFilterAdapter, createFilterAdapter, customIcons, iconSizes, iconVariants, isCustomIcon, loaderVariants, skeletonColorVariants, skeletonRadiusVariants, spinnerSizes, systemStatuses, textInputSizes, useFileUpload, useTableFilters, useToaster };
|
|
11397
|
+
export { type AcceptedFileType, Action, AlertBannerVariant, AnyAdapter, type CheckboxFilterAdapterConfig, type CheckboxFilterItem, type CheckboxFilterProps, type ChipItem, type ChipSize, Color, ColumnFilterState, CommentAuthor, CommentData, CommentIndicatorType, CommentMessage, CommentsFilterState, ControlStatus, type CustomIconComponent, type CustomIconName, DsAlertBanner, DsAlertBannerProps, DsAutocomplete, DsAutocompleteOption, DsAutocompleteProps, DsAvatar, DsAvatarGroup, DsAvatarGroupProps, DsAvatarProps, DsAvatarSize, DsAvatarType, DsBreadcrumb, DsBreadcrumbItem, DsBreadcrumbProps, DsButton, DsButtonUnifiedProps, 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, 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, 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, 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, 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, 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 UseFileUploadReturn, type UseTableFiltersOptions, type UseTableFiltersResult, alertBannerVariants, cardSizes, colors, controlStatuses, createCheckboxFilterAdapter, createDsTreeCollection, createDualRangeFilterAdapter, createFilterAdapter, customIcons, dsTreeSizes, filterStatuses, iconSizes, iconVariants, isCustomIcon, loaderVariants, progressArcSizes, progressArcVariants, progressDonutSizes, progressDonutVariants, progressLinearSizes, progressLinearVariants, skeletonColorVariants, skeletonRadiusVariants, spinnerSizes, systemStatuses, tagSizes, tagVariants, textInputSizes, useFileUpload, useTableFilters, useToaster };
|
|
10699
11398
|
//# sourceMappingURL=index.d.ts.map
|