@drivenets/design-system 0.6.1 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/dist/index.cjs +12394 -8354
- package/dist/index.d.cts +806 -118
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.ts +806 -118
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +12376 -8357
- 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-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/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
|
/**
|
|
@@ -7176,7 +7454,7 @@ interface DsDialogProps {
|
|
|
7176
7454
|
/**
|
|
7177
7455
|
* The content to render inside the dialog.
|
|
7178
7456
|
*/
|
|
7179
|
-
children: React.ReactNode;
|
|
7457
|
+
children: React$1.ReactNode;
|
|
7180
7458
|
/**
|
|
7181
7459
|
* Additional CSS class names for the dialog container.
|
|
7182
7460
|
*/
|
|
@@ -7184,7 +7462,7 @@ interface DsDialogProps {
|
|
|
7184
7462
|
/**
|
|
7185
7463
|
* Ref to the element the dialog should be anchored to (for relative placement)
|
|
7186
7464
|
*/
|
|
7187
|
-
anchorRef?: React.RefObject<HTMLElement>;
|
|
7465
|
+
anchorRef?: React$1.RefObject<HTMLElement>;
|
|
7188
7466
|
/**
|
|
7189
7467
|
* Custom fixed position (e.g., { top: number, left: number })
|
|
7190
7468
|
*/
|
|
@@ -7199,7 +7477,7 @@ interface DsDialogProps {
|
|
|
7199
7477
|
}
|
|
7200
7478
|
//#endregion
|
|
7201
7479
|
//#region src/components/ds-dialog/ds-dialog.d.ts
|
|
7202
|
-
declare const DsDialog: React.FC<DsDialogProps>;
|
|
7480
|
+
declare const DsDialog: React$1.FC<DsDialogProps>;
|
|
7203
7481
|
//#endregion
|
|
7204
7482
|
//#region src/components/ds-divider/ds-divider.types.d.ts
|
|
7205
7483
|
interface DsDividerProps {
|
|
@@ -7211,11 +7489,11 @@ interface DsDividerProps {
|
|
|
7211
7489
|
* Underlying element/component to render.
|
|
7212
7490
|
* Examples: "hr", "div", "span", Link, etc.
|
|
7213
7491
|
*/
|
|
7214
|
-
component?: React.ElementType;
|
|
7492
|
+
component?: React$1.ElementType;
|
|
7215
7493
|
/**
|
|
7216
7494
|
* Additional CSS styles.
|
|
7217
7495
|
*/
|
|
7218
|
-
style?: React.CSSProperties;
|
|
7496
|
+
style?: React$1.CSSProperties;
|
|
7219
7497
|
/**
|
|
7220
7498
|
* Additional CSS classes.
|
|
7221
7499
|
*/
|
|
@@ -7223,7 +7501,7 @@ interface DsDividerProps {
|
|
|
7223
7501
|
}
|
|
7224
7502
|
//#endregion
|
|
7225
7503
|
//#region src/components/ds-divider/ds-divider.d.ts
|
|
7226
|
-
declare const DsDivider: React.FC<DsDividerProps>;
|
|
7504
|
+
declare const DsDivider: React$1.FC<DsDividerProps>;
|
|
7227
7505
|
//#endregion
|
|
7228
7506
|
//#region src/components/ds-drawer/ds-drawer.types.d.ts
|
|
7229
7507
|
/**
|
|
@@ -7610,7 +7888,7 @@ type DsDropdownMenuTriggerItemProps = Menu.TriggerItemProps;
|
|
|
7610
7888
|
* Use compound component pattern instead
|
|
7611
7889
|
* @deprecated
|
|
7612
7890
|
*/
|
|
7613
|
-
declare const DsDropdownMenuLegacy: React.FC<DsDropdownMenuLegacyProps>;
|
|
7891
|
+
declare const DsDropdownMenuLegacy: React$1.FC<DsDropdownMenuLegacyProps>;
|
|
7614
7892
|
/**
|
|
7615
7893
|
* Design system DsDropdownMenu component
|
|
7616
7894
|
*
|
|
@@ -7642,18 +7920,18 @@ declare const DsDropdownMenuLegacy: React.FC<DsDropdownMenuLegacyProps>;
|
|
|
7642
7920
|
* </DsDropdownMenu.Root>
|
|
7643
7921
|
*/
|
|
7644
7922
|
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>;
|
|
7923
|
+
Root: React$1.FC<DsDropdownMenuRootProps>;
|
|
7924
|
+
Trigger: React$1.FC<Menu.TriggerProps>;
|
|
7925
|
+
Content: React$1.FC<DsDropdownMenuContentProps>;
|
|
7926
|
+
Item: React$1.FC<DsDropdownMenuItemProps>;
|
|
7927
|
+
ItemIndicator: React$1.FC<DsDropdownMenuItemIndicatorProps>;
|
|
7928
|
+
TriggerItem: React$1.FC<Menu.TriggerItemProps>;
|
|
7929
|
+
Header: React$1.FC<DsDropdownMenuHeaderProps>;
|
|
7930
|
+
Actions: React$1.FC<DsDropdownMenuActionsProps>;
|
|
7931
|
+
ItemGroup: React$1.FC<DsDropdownMenuItemGroupProps>;
|
|
7932
|
+
ItemGroupLabel: React$1.FC<Menu.ItemGroupLabelProps>;
|
|
7933
|
+
ItemGroupContent: React$1.FC<DsDropdownMenuItemGroupContentProps>;
|
|
7934
|
+
Separator: React$1.FC<Menu.SeparatorProps>;
|
|
7657
7935
|
};
|
|
7658
7936
|
//#endregion
|
|
7659
7937
|
//#region src/components/ds-text-input/ds-text-input.types.d.ts
|
|
@@ -7667,7 +7945,7 @@ interface DsTextInputProps {
|
|
|
7667
7945
|
/**
|
|
7668
7946
|
* The ref to the input field
|
|
7669
7947
|
*/
|
|
7670
|
-
ref?: React.Ref<HTMLInputElement>;
|
|
7948
|
+
ref?: React$1.Ref<HTMLInputElement>;
|
|
7671
7949
|
/**
|
|
7672
7950
|
* The name of the input field
|
|
7673
7951
|
*/
|
|
@@ -7687,15 +7965,15 @@ interface DsTextInputProps {
|
|
|
7687
7965
|
*
|
|
7688
7966
|
* @param event
|
|
7689
7967
|
*/
|
|
7690
|
-
onBlur?: (event: React.FocusEvent<HTMLInputElement>) => void;
|
|
7968
|
+
onBlur?: (event: React$1.FocusEvent<HTMLInputElement>) => void;
|
|
7691
7969
|
/**
|
|
7692
7970
|
* Callback when a key is pressed down
|
|
7693
7971
|
*/
|
|
7694
|
-
onKeyDown?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
|
|
7972
|
+
onKeyDown?: (event: React$1.KeyboardEvent<HTMLInputElement>) => void;
|
|
7695
7973
|
/**
|
|
7696
7974
|
* Callback when the value changes
|
|
7697
7975
|
*/
|
|
7698
|
-
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
7976
|
+
onChange?: (event: React$1.ChangeEvent<HTMLInputElement>) => void;
|
|
7699
7977
|
/**
|
|
7700
7978
|
* Value change event handler (provides just the value)
|
|
7701
7979
|
*/
|
|
@@ -7707,7 +7985,7 @@ interface DsTextInputProps {
|
|
|
7707
7985
|
/**
|
|
7708
7986
|
* Additional styles to apply to the component
|
|
7709
7987
|
*/
|
|
7710
|
-
style?: React.CSSProperties;
|
|
7988
|
+
style?: React$1.CSSProperties;
|
|
7711
7989
|
/**
|
|
7712
7990
|
* The placeholder text
|
|
7713
7991
|
*/
|
|
@@ -7750,16 +8028,16 @@ interface DsTextInputProps {
|
|
|
7750
8028
|
* Custom component to wrap the input element
|
|
7751
8029
|
*/
|
|
7752
8030
|
inputWrapper?: ComponentType<{
|
|
7753
|
-
children: React.ReactNode;
|
|
8031
|
+
children: React$1.ReactNode;
|
|
7754
8032
|
}>;
|
|
7755
8033
|
/**
|
|
7756
8034
|
* Adornment to display at the start of the input
|
|
7757
8035
|
*/
|
|
7758
|
-
startAdornment?: React.ReactNode;
|
|
8036
|
+
startAdornment?: React$1.ReactNode;
|
|
7759
8037
|
/**
|
|
7760
8038
|
* Adornment to display at the end of the input
|
|
7761
8039
|
*/
|
|
7762
|
-
endAdornment?: React.ReactNode;
|
|
8040
|
+
endAdornment?: React$1.ReactNode;
|
|
7763
8041
|
};
|
|
7764
8042
|
}
|
|
7765
8043
|
//#endregion
|
|
@@ -7936,7 +8214,7 @@ interface FileUploadProps {
|
|
|
7936
8214
|
* Design system base File Upload component
|
|
7937
8215
|
* Used in conjunction with the useFileUpload hook
|
|
7938
8216
|
*/
|
|
7939
|
-
declare const FileUpload: React.FC<FileUploadProps>;
|
|
8217
|
+
declare const FileUpload: React$1.FC<FileUploadProps>;
|
|
7940
8218
|
//#endregion
|
|
7941
8219
|
//#region src/components/ds-file-upload/ds-file-upload.types.d.ts
|
|
7942
8220
|
interface DsFileUploadProps extends Omit<FileUploadProps, 'files' | 'acceptedFiles' | 'onFileAccept' | 'onFileReject' | 'onFileRemove' | 'onFileDelete' | 'onFileCancel' | 'onFileRetry' | 'uploadProgress'> {
|
|
@@ -7973,7 +8251,7 @@ interface DsFileUploadProps extends Omit<FileUploadProps, 'files' | 'acceptedFil
|
|
|
7973
8251
|
/**
|
|
7974
8252
|
* Design system File Upload component (with state management)
|
|
7975
8253
|
*/
|
|
7976
|
-
declare const DsFileUpload: React.FC<DsFileUploadProps>;
|
|
8254
|
+
declare const DsFileUpload: React$1.FC<DsFileUploadProps>;
|
|
7977
8255
|
//#endregion
|
|
7978
8256
|
//#region src/components/ds-file-upload/hooks/use-file-upload.d.ts
|
|
7979
8257
|
interface UseFileUploadConfig {
|
|
@@ -8052,6 +8330,47 @@ declare class FatalFileUploadError extends FileUploadError {
|
|
|
8052
8330
|
readonly isRetryable = false;
|
|
8053
8331
|
}
|
|
8054
8332
|
//#endregion
|
|
8333
|
+
//#region src/components/ds-filter-status-icon/ds-filter-status-icon.types.d.ts
|
|
8334
|
+
declare const filterStatuses: readonly ["running", "warning", "failed", "paused"];
|
|
8335
|
+
type FilterStatus = (typeof filterStatuses)[number];
|
|
8336
|
+
interface DsFilterStatusIconProps {
|
|
8337
|
+
/**
|
|
8338
|
+
* The filter status type
|
|
8339
|
+
*/
|
|
8340
|
+
status: FilterStatus;
|
|
8341
|
+
/**
|
|
8342
|
+
* Whether the status icon is active or non-active
|
|
8343
|
+
* @default true
|
|
8344
|
+
*/
|
|
8345
|
+
active?: boolean;
|
|
8346
|
+
/**
|
|
8347
|
+
* Icon size
|
|
8348
|
+
* @default 'small'
|
|
8349
|
+
*/
|
|
8350
|
+
size?: IconSize;
|
|
8351
|
+
/**
|
|
8352
|
+
* Additional CSS class names
|
|
8353
|
+
*/
|
|
8354
|
+
className?: string;
|
|
8355
|
+
/**
|
|
8356
|
+
* Additional styles to apply to the component
|
|
8357
|
+
*/
|
|
8358
|
+
style?: CSSProperties;
|
|
8359
|
+
}
|
|
8360
|
+
//#endregion
|
|
8361
|
+
//#region src/components/ds-filter-status-icon/ds-filter-status-icon.d.ts
|
|
8362
|
+
/**
|
|
8363
|
+
* Design system Filter Status Icon component
|
|
8364
|
+
* Status icons for toggle filter buttons to help users quickly distinguish states
|
|
8365
|
+
*/
|
|
8366
|
+
declare const DsFilterStatusIcon: ({
|
|
8367
|
+
status,
|
|
8368
|
+
active,
|
|
8369
|
+
size,
|
|
8370
|
+
className,
|
|
8371
|
+
style
|
|
8372
|
+
}: DsFilterStatusIconProps) => react_jsx_runtime0.JSX.Element;
|
|
8373
|
+
//#endregion
|
|
8055
8374
|
//#region src/components/ds-number-input/ds-number-input.types.d.ts
|
|
8056
8375
|
interface DsNumberInputProps {
|
|
8057
8376
|
/**
|
|
@@ -8061,7 +8380,7 @@ interface DsNumberInputProps {
|
|
|
8061
8380
|
/**
|
|
8062
8381
|
* The ref to the input field
|
|
8063
8382
|
*/
|
|
8064
|
-
ref?: React.Ref<HTMLInputElement>;
|
|
8383
|
+
ref?: React$1.Ref<HTMLInputElement>;
|
|
8065
8384
|
/**
|
|
8066
8385
|
* The name of the input field
|
|
8067
8386
|
*/
|
|
@@ -8076,12 +8395,12 @@ interface DsNumberInputProps {
|
|
|
8076
8395
|
*
|
|
8077
8396
|
* @param event
|
|
8078
8397
|
*/
|
|
8079
|
-
onBlur?: (event: React.FocusEvent<HTMLInputElement>) => void;
|
|
8398
|
+
onBlur?: (event: React$1.FocusEvent<HTMLInputElement>) => void;
|
|
8080
8399
|
/**
|
|
8081
8400
|
* Callback when the value changes (native input onChange event)
|
|
8082
8401
|
* This is provided for compatibility but onValueChange is preferred
|
|
8083
8402
|
*/
|
|
8084
|
-
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
8403
|
+
onChange?: (event: React$1.ChangeEvent<HTMLInputElement>) => void;
|
|
8085
8404
|
/**
|
|
8086
8405
|
* Value change event handler (provides just the number value)
|
|
8087
8406
|
* This is the preferred way to handle value changes
|
|
@@ -8094,7 +8413,7 @@ interface DsNumberInputProps {
|
|
|
8094
8413
|
/**
|
|
8095
8414
|
* Additional styles to apply to the component
|
|
8096
8415
|
*/
|
|
8097
|
-
style?: React.CSSProperties;
|
|
8416
|
+
style?: React$1.CSSProperties;
|
|
8098
8417
|
/**
|
|
8099
8418
|
* The placeholder text
|
|
8100
8419
|
*/
|
|
@@ -8140,7 +8459,7 @@ interface DsPasswordInputProps {
|
|
|
8140
8459
|
/**
|
|
8141
8460
|
* The ref to the input field
|
|
8142
8461
|
*/
|
|
8143
|
-
ref?: React.Ref<HTMLInputElement>;
|
|
8462
|
+
ref?: React$1.Ref<HTMLInputElement>;
|
|
8144
8463
|
/**
|
|
8145
8464
|
* The name of the input field
|
|
8146
8465
|
*/
|
|
@@ -8155,12 +8474,12 @@ interface DsPasswordInputProps {
|
|
|
8155
8474
|
*
|
|
8156
8475
|
* @param event
|
|
8157
8476
|
*/
|
|
8158
|
-
onBlur?: (event: React.FocusEvent<HTMLInputElement>) => void;
|
|
8477
|
+
onBlur?: (event: React$1.FocusEvent<HTMLInputElement>) => void;
|
|
8159
8478
|
/**
|
|
8160
8479
|
* Callback when the value changes (native input onChange event)
|
|
8161
8480
|
* This is provided for compatibility but onValueChange is preferred
|
|
8162
8481
|
*/
|
|
8163
|
-
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
8482
|
+
onChange?: (event: React$1.ChangeEvent<HTMLInputElement>) => void;
|
|
8164
8483
|
/**
|
|
8165
8484
|
* Value change event handler (provides just the string value)
|
|
8166
8485
|
* This is the preferred way to handle value changes
|
|
@@ -8173,7 +8492,7 @@ interface DsPasswordInputProps {
|
|
|
8173
8492
|
/**
|
|
8174
8493
|
* Additional styles to apply to the component
|
|
8175
8494
|
*/
|
|
8176
|
-
style?: React.CSSProperties;
|
|
8495
|
+
style?: React$1.CSSProperties;
|
|
8177
8496
|
/**
|
|
8178
8497
|
* The placeholder text
|
|
8179
8498
|
*/
|
|
@@ -8205,7 +8524,7 @@ interface DsTextareaProps {
|
|
|
8205
8524
|
/**
|
|
8206
8525
|
* The ref to the textarea element
|
|
8207
8526
|
*/
|
|
8208
|
-
ref?: React.Ref<HTMLTextAreaElement>;
|
|
8527
|
+
ref?: React$1.Ref<HTMLTextAreaElement>;
|
|
8209
8528
|
/**
|
|
8210
8529
|
* The name of the textarea
|
|
8211
8530
|
*/
|
|
@@ -8215,11 +8534,11 @@ interface DsTextareaProps {
|
|
|
8215
8534
|
*
|
|
8216
8535
|
* @param event
|
|
8217
8536
|
*/
|
|
8218
|
-
onBlur?: (event: React.FocusEvent<HTMLTextAreaElement>) => void;
|
|
8537
|
+
onBlur?: (event: React$1.FocusEvent<HTMLTextAreaElement>) => void;
|
|
8219
8538
|
/**
|
|
8220
8539
|
* Callback when the value changes
|
|
8221
8540
|
*/
|
|
8222
|
-
onChange?: (event: React.ChangeEvent<HTMLTextAreaElement>) => void;
|
|
8541
|
+
onChange?: (event: React$1.ChangeEvent<HTMLTextAreaElement>) => void;
|
|
8223
8542
|
/**
|
|
8224
8543
|
* Value change event handler (provides just the value)
|
|
8225
8544
|
*/
|
|
@@ -8231,7 +8550,7 @@ interface DsTextareaProps {
|
|
|
8231
8550
|
/**
|
|
8232
8551
|
* Additional styles to apply to the component
|
|
8233
8552
|
*/
|
|
8234
|
-
style?: React.CSSProperties;
|
|
8553
|
+
style?: React$1.CSSProperties;
|
|
8235
8554
|
/**
|
|
8236
8555
|
* The placeholder text
|
|
8237
8556
|
*/
|
|
@@ -8264,7 +8583,7 @@ interface DsTextareaProps {
|
|
|
8264
8583
|
}
|
|
8265
8584
|
//#endregion
|
|
8266
8585
|
//#region src/components/ds-textarea/ds-textarea.d.ts
|
|
8267
|
-
declare const DsTextarea: React.FC<DsTextareaProps>;
|
|
8586
|
+
declare const DsTextarea: React$1.FC<DsTextareaProps>;
|
|
8268
8587
|
//#endregion
|
|
8269
8588
|
//#region src/components/ds-select/ds-select.types.d.ts
|
|
8270
8589
|
type SelectSize = 'default' | 'small';
|
|
@@ -8295,7 +8614,7 @@ type DsSelectProps = {
|
|
|
8295
8614
|
/**
|
|
8296
8615
|
* Additional styles to apply to the icon
|
|
8297
8616
|
*/
|
|
8298
|
-
style?: React.CSSProperties;
|
|
8617
|
+
style?: React$1.CSSProperties;
|
|
8299
8618
|
/**
|
|
8300
8619
|
* Additional CSS class names
|
|
8301
8620
|
*/
|
|
@@ -8305,7 +8624,7 @@ type DsSelectProps = {
|
|
|
8305
8624
|
*
|
|
8306
8625
|
* @param event
|
|
8307
8626
|
*/
|
|
8308
|
-
onBlur?: (event: React.FocusEvent) => void;
|
|
8627
|
+
onBlur?: (event: React$1.FocusEvent) => void;
|
|
8309
8628
|
/**
|
|
8310
8629
|
* Placeholder text to display when no option is selected
|
|
8311
8630
|
*/
|
|
@@ -8319,6 +8638,12 @@ type DsSelectProps = {
|
|
|
8319
8638
|
* @default 'default'
|
|
8320
8639
|
*/
|
|
8321
8640
|
size?: SelectSize;
|
|
8641
|
+
/**
|
|
8642
|
+
* Custom render function for dropdown options.
|
|
8643
|
+
* When provided, replaces the default label text inside each dropdown item.
|
|
8644
|
+
* The string `label` is still used for search, trigger text, chips, and accessibility.
|
|
8645
|
+
*/
|
|
8646
|
+
renderOption?: (option: DsSelectOption) => ReactNode;
|
|
8322
8647
|
} & ({
|
|
8323
8648
|
clearable?: undefined | false;
|
|
8324
8649
|
onClear?: never;
|
|
@@ -8348,13 +8673,14 @@ declare const DsSelect: ({
|
|
|
8348
8673
|
className,
|
|
8349
8674
|
placeholder,
|
|
8350
8675
|
disabled,
|
|
8676
|
+
renderOption,
|
|
8351
8677
|
...multiselectProps
|
|
8352
8678
|
}: DsSelectProps) => react_jsx_runtime0.JSX.Element;
|
|
8353
8679
|
//#endregion
|
|
8354
8680
|
//#region src/components/ds-form-control/ds-form-control.types.d.ts
|
|
8355
8681
|
declare const controlStatuses: readonly ["info", "success", "error", "warning"];
|
|
8356
8682
|
type ControlStatus = (typeof controlStatuses)[number];
|
|
8357
|
-
interface DsFormControlProps extends React.PropsWithChildren {
|
|
8683
|
+
interface DsFormControlProps extends React$1.PropsWithChildren {
|
|
8358
8684
|
/**
|
|
8359
8685
|
* Unique identifier for the control
|
|
8360
8686
|
*/
|
|
@@ -8375,7 +8701,7 @@ interface DsFormControlProps extends React.PropsWithChildren {
|
|
|
8375
8701
|
/**
|
|
8376
8702
|
* Adornment to display at the end of the label
|
|
8377
8703
|
*/
|
|
8378
|
-
endAdornment?: React.ReactNode;
|
|
8704
|
+
endAdornment?: React$1.ReactNode;
|
|
8379
8705
|
};
|
|
8380
8706
|
/**
|
|
8381
8707
|
* Message under the control
|
|
@@ -8392,13 +8718,13 @@ interface DsFormControlProps extends React.PropsWithChildren {
|
|
|
8392
8718
|
/**
|
|
8393
8719
|
* Additional styles to apply to the component
|
|
8394
8720
|
*/
|
|
8395
|
-
style?: React.CSSProperties;
|
|
8721
|
+
style?: React$1.CSSProperties;
|
|
8396
8722
|
}
|
|
8397
8723
|
interface DsFormControlDescriptionProps {
|
|
8398
8724
|
/**
|
|
8399
8725
|
* The description content
|
|
8400
8726
|
*/
|
|
8401
|
-
children: React.ReactNode;
|
|
8727
|
+
children: React$1.ReactNode;
|
|
8402
8728
|
/**
|
|
8403
8729
|
* Additional CSS class names
|
|
8404
8730
|
*/
|
|
@@ -8425,7 +8751,7 @@ declare const DsFormControl: {
|
|
|
8425
8751
|
DateInput: (props: DsDateInputProps) => react_jsx_runtime0.JSX.Element;
|
|
8426
8752
|
Textarea: (props: DsTextareaProps) => react_jsx_runtime0.JSX.Element;
|
|
8427
8753
|
Select: (props: DsSelectProps) => react_jsx_runtime0.JSX.Element;
|
|
8428
|
-
Description: React.FC<DsFormControlDescriptionProps>;
|
|
8754
|
+
Description: React$1.FC<DsFormControlDescriptionProps>;
|
|
8429
8755
|
};
|
|
8430
8756
|
//#endregion
|
|
8431
8757
|
//#region src/components/ds-grid/ds-grid.types.d.ts
|
|
@@ -8478,11 +8804,11 @@ interface DsGridItemProps {
|
|
|
8478
8804
|
/**
|
|
8479
8805
|
* Design system Grid component
|
|
8480
8806
|
*/
|
|
8481
|
-
declare const DsGrid: React.FC<DsGridProps>;
|
|
8807
|
+
declare const DsGrid: React$1.FC<DsGridProps>;
|
|
8482
8808
|
/**
|
|
8483
8809
|
* Design system GridItem component
|
|
8484
8810
|
*/
|
|
8485
|
-
declare const DsGridItem: React.FC<DsGridItemProps>;
|
|
8811
|
+
declare const DsGridItem: React$1.FC<DsGridItemProps>;
|
|
8486
8812
|
//#endregion
|
|
8487
8813
|
//#region src/components/ds-loader/ds-loader.types.d.ts
|
|
8488
8814
|
declare const loaderVariants: readonly ["spinner", "pulsing"];
|
|
@@ -8500,11 +8826,11 @@ interface DsLoaderProps {
|
|
|
8500
8826
|
/**
|
|
8501
8827
|
* Additional styles to apply to the component
|
|
8502
8828
|
*/
|
|
8503
|
-
style?: React.CSSProperties;
|
|
8829
|
+
style?: React$1.CSSProperties;
|
|
8504
8830
|
/**
|
|
8505
8831
|
* Ref to the loader container element
|
|
8506
8832
|
*/
|
|
8507
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
8833
|
+
ref?: React$1.Ref<HTMLDivElement>;
|
|
8508
8834
|
}
|
|
8509
8835
|
//#endregion
|
|
8510
8836
|
//#region src/components/ds-loader/ds-loader.d.ts
|
|
@@ -8666,11 +8992,11 @@ interface DsPopoverProps {
|
|
|
8666
8992
|
/**
|
|
8667
8993
|
* The element that triggers the popover
|
|
8668
8994
|
*/
|
|
8669
|
-
trigger: React.ReactNode;
|
|
8995
|
+
trigger: React$1.ReactNode;
|
|
8670
8996
|
/**
|
|
8671
8997
|
* The content to be rendered inside the popover
|
|
8672
8998
|
*/
|
|
8673
|
-
children: React.ReactNode;
|
|
8999
|
+
children: React$1.ReactNode;
|
|
8674
9000
|
/**
|
|
8675
9001
|
* Additional CSS class names
|
|
8676
9002
|
*/
|
|
@@ -8686,7 +9012,166 @@ interface DsPopoverProps {
|
|
|
8686
9012
|
}
|
|
8687
9013
|
//#endregion
|
|
8688
9014
|
//#region src/components/ds-popover/ds-popover.d.ts
|
|
8689
|
-
declare const DsPopover: React.FC<DsPopoverProps>;
|
|
9015
|
+
declare const DsPopover: React$1.FC<DsPopoverProps>;
|
|
9016
|
+
//#endregion
|
|
9017
|
+
//#region src/components/ds-progress-arc/ds-progress-arc.types.d.ts
|
|
9018
|
+
declare const progressArcSizes: readonly ["small", "medium"];
|
|
9019
|
+
type ProgressArcSize = (typeof progressArcSizes)[number];
|
|
9020
|
+
declare const progressArcVariants: readonly ["default", "success", "error"];
|
|
9021
|
+
type ProgressArcVariant = (typeof progressArcVariants)[number];
|
|
9022
|
+
interface DsProgressArcProps extends ComponentPropsWithoutRef<'div'> {
|
|
9023
|
+
/**
|
|
9024
|
+
* Progress value between 0 and 100
|
|
9025
|
+
* @default 0
|
|
9026
|
+
*/
|
|
9027
|
+
value?: number;
|
|
9028
|
+
/**
|
|
9029
|
+
* Size of the arc progress indicator
|
|
9030
|
+
* @default 'medium'
|
|
9031
|
+
*/
|
|
9032
|
+
size?: ProgressArcSize;
|
|
9033
|
+
/**
|
|
9034
|
+
* Visual variant of the arc progress indicator
|
|
9035
|
+
* @default 'default'
|
|
9036
|
+
*/
|
|
9037
|
+
variant?: ProgressArcVariant;
|
|
9038
|
+
/**
|
|
9039
|
+
* Custom content to display in the center of the arc, overriding the default text or icon
|
|
9040
|
+
*/
|
|
9041
|
+
children?: ReactNode;
|
|
9042
|
+
ref?: Ref<HTMLElement>;
|
|
9043
|
+
}
|
|
9044
|
+
//#endregion
|
|
9045
|
+
//#region src/components/ds-progress-arc/ds-progress-arc.d.ts
|
|
9046
|
+
declare const DsProgressArc: ({
|
|
9047
|
+
value,
|
|
9048
|
+
size,
|
|
9049
|
+
variant,
|
|
9050
|
+
children,
|
|
9051
|
+
className,
|
|
9052
|
+
style,
|
|
9053
|
+
ref,
|
|
9054
|
+
...props
|
|
9055
|
+
}: DsProgressArcProps) => react_jsx_runtime0.JSX.Element;
|
|
9056
|
+
//#endregion
|
|
9057
|
+
//#region src/components/ds-progress-donut/ds-progress-donut.types.d.ts
|
|
9058
|
+
declare const progressDonutSizes: readonly ["small", "medium"];
|
|
9059
|
+
type ProgressDonutSize = (typeof progressDonutSizes)[number];
|
|
9060
|
+
declare const progressDonutVariants: readonly ["default", "success", "error"];
|
|
9061
|
+
type ProgressDonutVariant = (typeof progressDonutVariants)[number];
|
|
9062
|
+
interface DsProgressDonutProps {
|
|
9063
|
+
/**
|
|
9064
|
+
* Progress value between 0 and 100
|
|
9065
|
+
* @default 0
|
|
9066
|
+
*/
|
|
9067
|
+
value?: number;
|
|
9068
|
+
/**
|
|
9069
|
+
* Size of the donut progress indicator
|
|
9070
|
+
* @default 'medium'
|
|
9071
|
+
*/
|
|
9072
|
+
size?: ProgressDonutSize;
|
|
9073
|
+
/**
|
|
9074
|
+
* Visual variant of the donut progress indicator
|
|
9075
|
+
* @default 'default'
|
|
9076
|
+
*/
|
|
9077
|
+
variant?: ProgressDonutVariant;
|
|
9078
|
+
/**
|
|
9079
|
+
* Custom content to display in the center of the donut, overriding the default text or icon
|
|
9080
|
+
*/
|
|
9081
|
+
children?: ReactNode;
|
|
9082
|
+
className?: string;
|
|
9083
|
+
style?: CSSProperties;
|
|
9084
|
+
ref?: Ref<HTMLElement>;
|
|
9085
|
+
}
|
|
9086
|
+
//#endregion
|
|
9087
|
+
//#region src/components/ds-progress-donut/ds-progress-donut.d.ts
|
|
9088
|
+
declare const DsProgressDonut: ({
|
|
9089
|
+
value,
|
|
9090
|
+
size,
|
|
9091
|
+
variant,
|
|
9092
|
+
children,
|
|
9093
|
+
className,
|
|
9094
|
+
style,
|
|
9095
|
+
ref
|
|
9096
|
+
}: DsProgressDonutProps) => react_jsx_runtime0.JSX.Element;
|
|
9097
|
+
//#endregion
|
|
9098
|
+
//#region src/components/ds-progress-linear/ds-progress-linear.types.d.ts
|
|
9099
|
+
declare const progressLinearVariants: readonly ["initial", "progress", "interrupted", "success", "error"];
|
|
9100
|
+
type ProgressLinearVariant = (typeof progressLinearVariants)[number];
|
|
9101
|
+
declare const progressLinearSizes: readonly ["small", "medium", "large"];
|
|
9102
|
+
type ProgressLinearSize = (typeof progressLinearSizes)[number];
|
|
9103
|
+
interface DsProgressLinearProps {
|
|
9104
|
+
/**
|
|
9105
|
+
* The current progress value (0–100)
|
|
9106
|
+
* @default 0
|
|
9107
|
+
*/
|
|
9108
|
+
value?: number;
|
|
9109
|
+
/**
|
|
9110
|
+
* The minimum value
|
|
9111
|
+
* @default 0
|
|
9112
|
+
*/
|
|
9113
|
+
min?: number;
|
|
9114
|
+
/**
|
|
9115
|
+
* The maximum value
|
|
9116
|
+
* @default 100
|
|
9117
|
+
*/
|
|
9118
|
+
max?: number;
|
|
9119
|
+
/**
|
|
9120
|
+
* The visual variant controlling bar color and caption styling
|
|
9121
|
+
* @default 'progress'
|
|
9122
|
+
*/
|
|
9123
|
+
variant?: ProgressLinearVariant;
|
|
9124
|
+
/**
|
|
9125
|
+
* The size of the progress bar track
|
|
9126
|
+
* @default 'medium'
|
|
9127
|
+
*/
|
|
9128
|
+
size?: ProgressLinearSize;
|
|
9129
|
+
/**
|
|
9130
|
+
* Label displayed above the progress bar (left side)
|
|
9131
|
+
*/
|
|
9132
|
+
label?: React$1.ReactNode;
|
|
9133
|
+
/**
|
|
9134
|
+
* Whether to show the percentage value text (right side of label row)
|
|
9135
|
+
* @default true
|
|
9136
|
+
*/
|
|
9137
|
+
showValue?: boolean;
|
|
9138
|
+
/**
|
|
9139
|
+
* Caption/helper text below the progress bar.
|
|
9140
|
+
* When a string is provided, it is auto-styled with an icon and color based on the variant.
|
|
9141
|
+
* When a ReactNode is provided, it is rendered as-is.
|
|
9142
|
+
*/
|
|
9143
|
+
caption?: React$1.ReactNode | string;
|
|
9144
|
+
/**
|
|
9145
|
+
* Additional CSS class names
|
|
9146
|
+
*/
|
|
9147
|
+
className?: string;
|
|
9148
|
+
/**
|
|
9149
|
+
* Additional styles to apply to the component
|
|
9150
|
+
*/
|
|
9151
|
+
style?: React$1.CSSProperties;
|
|
9152
|
+
/**
|
|
9153
|
+
* Ref to the root element
|
|
9154
|
+
*/
|
|
9155
|
+
ref?: React$1.Ref<HTMLDivElement>;
|
|
9156
|
+
}
|
|
9157
|
+
//#endregion
|
|
9158
|
+
//#region src/components/ds-progress-linear/ds-progress-linear.d.ts
|
|
9159
|
+
/**
|
|
9160
|
+
* Design system ProgressLinear component
|
|
9161
|
+
*/
|
|
9162
|
+
declare const DsProgressLinear: ({
|
|
9163
|
+
value,
|
|
9164
|
+
min,
|
|
9165
|
+
max,
|
|
9166
|
+
variant,
|
|
9167
|
+
size,
|
|
9168
|
+
label,
|
|
9169
|
+
showValue,
|
|
9170
|
+
caption,
|
|
9171
|
+
className,
|
|
9172
|
+
style,
|
|
9173
|
+
ref
|
|
9174
|
+
}: DsProgressLinearProps) => react_jsx_runtime0.JSX.Element;
|
|
8690
9175
|
//#endregion
|
|
8691
9176
|
//#region src/components/ds-radio-group/ds-radio-group.types.d.ts
|
|
8692
9177
|
/**
|
|
@@ -8739,7 +9224,7 @@ interface DsRadioOptionLegacy<ValueType = string> {
|
|
|
8739
9224
|
* Use compound component pattern instead
|
|
8740
9225
|
* @deprecated
|
|
8741
9226
|
*/
|
|
8742
|
-
interface DsRadioGroupLegacyProps<TOption extends DsRadioOptionLegacy = DsRadioOptionLegacy> extends React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Root> {
|
|
9227
|
+
interface DsRadioGroupLegacyProps<TOption extends DsRadioOptionLegacy = DsRadioOptionLegacy> extends React$1.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Root> {
|
|
8743
9228
|
/**
|
|
8744
9229
|
* The radio group options
|
|
8745
9230
|
*/
|
|
@@ -8765,7 +9250,7 @@ interface DsRadioGroupLegacyProps<TOption extends DsRadioOptionLegacy = DsRadioO
|
|
|
8765
9250
|
/**
|
|
8766
9251
|
* Additional styles to apply to the component
|
|
8767
9252
|
*/
|
|
8768
|
-
style?: React.CSSProperties;
|
|
9253
|
+
style?: React$1.CSSProperties;
|
|
8769
9254
|
}
|
|
8770
9255
|
//#endregion
|
|
8771
9256
|
//#region src/components/ds-radio-group/ds-radio-group.d.ts
|
|
@@ -8774,7 +9259,7 @@ interface DsRadioGroupLegacyProps<TOption extends DsRadioOptionLegacy = DsRadioO
|
|
|
8774
9259
|
* Use compound component pattern instead: DsRadioGroup.Root + DsRadioGroup.Item
|
|
8775
9260
|
* @deprecated
|
|
8776
9261
|
*/
|
|
8777
|
-
declare const DsRadioGroupLegacy: React.FC<DsRadioGroupLegacyProps>;
|
|
9262
|
+
declare const DsRadioGroupLegacy: React$1.FC<DsRadioGroupLegacyProps>;
|
|
8778
9263
|
/**
|
|
8779
9264
|
* Design system RadioGroup component
|
|
8780
9265
|
*
|
|
@@ -8785,8 +9270,8 @@ declare const DsRadioGroupLegacy: React.FC<DsRadioGroupLegacyProps>;
|
|
|
8785
9270
|
* </DsRadioGroup.Root>
|
|
8786
9271
|
*/
|
|
8787
9272
|
declare const DsRadioGroup: {
|
|
8788
|
-
Root: React.FC<DsRadioGroupRootProps>;
|
|
8789
|
-
Item: React.FC<DsRadioGroupItemProps>;
|
|
9273
|
+
Root: React$1.FC<DsRadioGroupRootProps>;
|
|
9274
|
+
Item: React$1.FC<DsRadioGroupItemProps>;
|
|
8790
9275
|
};
|
|
8791
9276
|
//#endregion
|
|
8792
9277
|
//#region src/components/ds-segment-group/ds-segment-group.types.d.ts
|
|
@@ -8850,9 +9335,9 @@ type DsSegmentGroupItemTextProps = Pick<SegmentGroupItemTextProps, 'className' |
|
|
|
8850
9335
|
* </DsSegmentGroup.Root>
|
|
8851
9336
|
*/
|
|
8852
9337
|
declare const DsSegmentGroup: {
|
|
8853
|
-
Root: React.FC<DsSegmentGroupRootProps>;
|
|
8854
|
-
Item: React.FC<DsSegmentGroupItemProps>;
|
|
8855
|
-
ItemText: React.FC<DsSegmentGroupItemTextProps>;
|
|
9338
|
+
Root: React$1.FC<DsSegmentGroupRootProps>;
|
|
9339
|
+
Item: React$1.FC<DsSegmentGroupItemProps>;
|
|
9340
|
+
ItemText: React$1.FC<DsSegmentGroupItemTextProps>;
|
|
8856
9341
|
};
|
|
8857
9342
|
//#endregion
|
|
8858
9343
|
//#region src/components/ds-typography/ds-typography.config.d.ts
|
|
@@ -8896,7 +9381,7 @@ interface DsTypographyProps {
|
|
|
8896
9381
|
/**
|
|
8897
9382
|
* Additional styles to apply to the typography component
|
|
8898
9383
|
*/
|
|
8899
|
-
style?: React.CSSProperties;
|
|
9384
|
+
style?: React$1.CSSProperties;
|
|
8900
9385
|
/**
|
|
8901
9386
|
* When true, renders as Slot component for composition without extra DOM nodes
|
|
8902
9387
|
*/
|
|
@@ -8904,12 +9389,12 @@ interface DsTypographyProps {
|
|
|
8904
9389
|
/**
|
|
8905
9390
|
* The content of the component
|
|
8906
9391
|
*/
|
|
8907
|
-
children: React.ReactNode;
|
|
9392
|
+
children: React$1.ReactNode;
|
|
8908
9393
|
}
|
|
8909
9394
|
//#endregion
|
|
8910
9395
|
//#region src/components/ds-typography/ds-typography.d.ts
|
|
8911
|
-
declare const DsTypography: React.FC<DsTypographyProps & {
|
|
8912
|
-
ref?: React.Ref<HTMLElement>;
|
|
9396
|
+
declare const DsTypography: React$1.FC<DsTypographyProps & {
|
|
9397
|
+
ref?: React$1.Ref<HTMLElement>;
|
|
8913
9398
|
}>;
|
|
8914
9399
|
//#endregion
|
|
8915
9400
|
//#region src/components/ds-skeleton/ds-skeleton.types.d.ts
|
|
@@ -9099,7 +9584,7 @@ interface DsSmartTabProps {
|
|
|
9099
9584
|
/**
|
|
9100
9585
|
* Additional styles to apply to the tab
|
|
9101
9586
|
*/
|
|
9102
|
-
style?: React.CSSProperties;
|
|
9587
|
+
style?: React$1.CSSProperties;
|
|
9103
9588
|
}
|
|
9104
9589
|
interface DsSmartTabsProps {
|
|
9105
9590
|
/**
|
|
@@ -9117,7 +9602,7 @@ interface DsSmartTabsProps {
|
|
|
9117
9602
|
/**
|
|
9118
9603
|
* Additional styles to apply to the component
|
|
9119
9604
|
*/
|
|
9120
|
-
style?: React.CSSProperties;
|
|
9605
|
+
style?: React$1.CSSProperties;
|
|
9121
9606
|
/**
|
|
9122
9607
|
* The tab components as children
|
|
9123
9608
|
*/
|
|
@@ -9137,7 +9622,7 @@ declare const DsSmartTabs: {
|
|
|
9137
9622
|
children,
|
|
9138
9623
|
...props
|
|
9139
9624
|
}: DsSmartTabsProps): react_jsx_runtime0.JSX.Element;
|
|
9140
|
-
Tab: React.FC<DsSmartTabProps>;
|
|
9625
|
+
Tab: React$1.FC<DsSmartTabProps>;
|
|
9141
9626
|
};
|
|
9142
9627
|
//#endregion
|
|
9143
9628
|
//#region src/components/ds-spinner/ds-spinner.types.d.ts
|
|
@@ -9156,14 +9641,14 @@ interface DsSpinnerProps {
|
|
|
9156
9641
|
/**
|
|
9157
9642
|
* Additional styles to apply to the component
|
|
9158
9643
|
*/
|
|
9159
|
-
style?: React.CSSProperties;
|
|
9644
|
+
style?: React$1.CSSProperties;
|
|
9160
9645
|
}
|
|
9161
9646
|
//#endregion
|
|
9162
9647
|
//#region src/components/ds-spinner/ds-spinner.d.ts
|
|
9163
9648
|
/**
|
|
9164
9649
|
* Design system Spinner component
|
|
9165
9650
|
*/
|
|
9166
|
-
declare const DsSpinner: React.FC<DsSpinnerProps>;
|
|
9651
|
+
declare const DsSpinner: React$1.FC<DsSpinnerProps>;
|
|
9167
9652
|
//#endregion
|
|
9168
9653
|
//#region src/components/ds-status-badge/ds-status-badge.types.d.ts
|
|
9169
9654
|
declare const dsStatuses: readonly ["active", "running", "pending", "draft", "inactive", "warning", "failed"];
|
|
@@ -9211,7 +9696,7 @@ interface DsStatusBadgeProps {
|
|
|
9211
9696
|
/**
|
|
9212
9697
|
* Design system StatusBadge component
|
|
9213
9698
|
*/
|
|
9214
|
-
declare const DsStatusBadge: React.FC<DsStatusBadgeProps>;
|
|
9699
|
+
declare const DsStatusBadge: React$1.FC<DsStatusBadgeProps>;
|
|
9215
9700
|
//#endregion
|
|
9216
9701
|
//#region src/components/ds-stepper/ds-stepper.types.d.ts
|
|
9217
9702
|
type DsStepperVariant = 'single';
|
|
@@ -9330,7 +9815,7 @@ interface DsSystemStatusProps {
|
|
|
9330
9815
|
* @deprecated This component is deprecated. Use `DsStatusBadge` instead.
|
|
9331
9816
|
* @see {@link ../ds-status-badge/ds-status-badge} for the replacement component.
|
|
9332
9817
|
*/
|
|
9333
|
-
declare const DsSystemStatus: React.FC<DsSystemStatusProps>;
|
|
9818
|
+
declare const DsSystemStatus: React$1.FC<DsSystemStatusProps>;
|
|
9334
9819
|
//#endregion
|
|
9335
9820
|
//#region src/components/ds-table/components/ds-table-cell/ds-table-cell.types.d.ts
|
|
9336
9821
|
/**
|
|
@@ -9372,6 +9857,19 @@ type SecondaryRowAction<TData> = Omit<RowAction<TData>, 'icon'> & {
|
|
|
9372
9857
|
className?: string;
|
|
9373
9858
|
};
|
|
9374
9859
|
//#endregion
|
|
9860
|
+
//#region src/components/ds-table/components/ds-table-body-virtualized/ds-table-body-virtualized.types.d.ts
|
|
9861
|
+
/**
|
|
9862
|
+
* Parameters passed to the onScroll callback in virtualized tables.
|
|
9863
|
+
*/
|
|
9864
|
+
interface ScrollParams {
|
|
9865
|
+
/** The current vertical scroll position from the top of the scrollable content (in pixels) */
|
|
9866
|
+
scrollOffset: number;
|
|
9867
|
+
/** The total height of all content in the virtualized table (in pixels) */
|
|
9868
|
+
totalContentHeight: number;
|
|
9869
|
+
/** The visible height of the table container (in pixels) */
|
|
9870
|
+
viewportHeight: number;
|
|
9871
|
+
}
|
|
9872
|
+
//#endregion
|
|
9375
9873
|
//#region src/components/ds-table/filters/types/filter-adapter.types.d.ts
|
|
9376
9874
|
type AnyAdapter = FilterAdapter<any, any, any>;
|
|
9377
9875
|
/**
|
|
@@ -9771,17 +10269,6 @@ interface RangeFilterProps {
|
|
|
9771
10269
|
* Row size variants based on Figma design specifications
|
|
9772
10270
|
*/
|
|
9773
10271
|
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
10272
|
/**
|
|
9786
10273
|
* API for programmatically controlling a DsTable component.
|
|
9787
10274
|
* This interface provides methods to interact with the table's selection, sorting, filtering, and pagination features.
|
|
@@ -9868,6 +10355,57 @@ interface DsTableApi<TData> {
|
|
|
9868
10355
|
* ```
|
|
9869
10356
|
*/
|
|
9870
10357
|
getSelectedRows: () => TData[];
|
|
10358
|
+
/**
|
|
10359
|
+
* Expands a single row by its ID.
|
|
10360
|
+
*
|
|
10361
|
+
* @param rowId - The unique identifier of the row to expand
|
|
10362
|
+
*
|
|
10363
|
+
* @example
|
|
10364
|
+
* ```tsx
|
|
10365
|
+
* tableRef.current?.expandRow('user-123');
|
|
10366
|
+
* ```
|
|
10367
|
+
*/
|
|
10368
|
+
expandRow: (rowId: string) => void;
|
|
10369
|
+
/**
|
|
10370
|
+
* Collapses a single row by its ID.
|
|
10371
|
+
*
|
|
10372
|
+
* @param rowId - The unique identifier of the row to collapse
|
|
10373
|
+
*
|
|
10374
|
+
* @example
|
|
10375
|
+
* ```tsx
|
|
10376
|
+
* tableRef.current?.collapseRow('user-123');
|
|
10377
|
+
* ```
|
|
10378
|
+
*/
|
|
10379
|
+
collapseRow: (rowId: string) => void;
|
|
10380
|
+
/**
|
|
10381
|
+
* Expands all rows in the table.
|
|
10382
|
+
*
|
|
10383
|
+
* @example
|
|
10384
|
+
* ```tsx
|
|
10385
|
+
* tableRef.current?.expandAllRows();
|
|
10386
|
+
* ```
|
|
10387
|
+
*/
|
|
10388
|
+
expandAllRows: () => void;
|
|
10389
|
+
/**
|
|
10390
|
+
* Collapses all rows in the table.
|
|
10391
|
+
*
|
|
10392
|
+
* @example
|
|
10393
|
+
* ```tsx
|
|
10394
|
+
* tableRef.current?.collapseAllRows();
|
|
10395
|
+
* ```
|
|
10396
|
+
*/
|
|
10397
|
+
collapseAllRows: () => void;
|
|
10398
|
+
/**
|
|
10399
|
+
* Expands multiple rows by their IDs.
|
|
10400
|
+
*
|
|
10401
|
+
* @param rowIds - Array of unique identifiers for the rows to expand
|
|
10402
|
+
*
|
|
10403
|
+
* @example
|
|
10404
|
+
* ```tsx
|
|
10405
|
+
* tableRef.current?.expandRows(['user-1', 'user-2', 'user-3']);
|
|
10406
|
+
* ```
|
|
10407
|
+
*/
|
|
10408
|
+
expandRows: (rowIds: string[]) => void;
|
|
9871
10409
|
}
|
|
9872
10410
|
/**
|
|
9873
10411
|
* Represents a bulk action that can be performed on multiple selected rows
|
|
@@ -9890,7 +10428,7 @@ interface DsDataTableProps<TData, TValue> {
|
|
|
9890
10428
|
/**
|
|
9891
10429
|
* Ref to the table API
|
|
9892
10430
|
*/
|
|
9893
|
-
ref?: React.RefObject<DsTableApi<TData> | null>;
|
|
10431
|
+
ref?: React$1.RefObject<DsTableApi<TData> | null>;
|
|
9894
10432
|
/**
|
|
9895
10433
|
* Columns of the table
|
|
9896
10434
|
*/
|
|
@@ -9950,7 +10488,7 @@ interface DsDataTableProps<TData, TValue> {
|
|
|
9950
10488
|
/**
|
|
9951
10489
|
* Empty state of the table
|
|
9952
10490
|
*/
|
|
9953
|
-
emptyState?: React.ReactNode;
|
|
10491
|
+
emptyState?: React$1.ReactNode;
|
|
9954
10492
|
/**
|
|
9955
10493
|
* Whether the table has sticky header
|
|
9956
10494
|
*/
|
|
@@ -9979,7 +10517,7 @@ interface DsDataTableProps<TData, TValue> {
|
|
|
9979
10517
|
/**
|
|
9980
10518
|
* Function to render the expanded row
|
|
9981
10519
|
*/
|
|
9982
|
-
renderExpandedRow?: (row: TData) => React.ReactNode;
|
|
10520
|
+
renderExpandedRow?: (row: TData) => React$1.ReactNode;
|
|
9983
10521
|
/**
|
|
9984
10522
|
* Function to handle table creation
|
|
9985
10523
|
*/
|
|
@@ -10354,9 +10892,8 @@ interface DsTagFilterProps {
|
|
|
10354
10892
|
locale?: {
|
|
10355
10893
|
label?: string;
|
|
10356
10894
|
clearButton?: string;
|
|
10357
|
-
|
|
10358
|
-
|
|
10359
|
-
hiddenCountPlural?: string;
|
|
10895
|
+
showMore?: string;
|
|
10896
|
+
showLess?: string;
|
|
10360
10897
|
};
|
|
10361
10898
|
/**
|
|
10362
10899
|
* Callback when "Clear all" is clicked
|
|
@@ -10389,7 +10926,8 @@ interface DsTagFilterProps {
|
|
|
10389
10926
|
* Design system TagFilter component
|
|
10390
10927
|
*
|
|
10391
10928
|
* A component for displaying active filters as tags with overflow handling.
|
|
10392
|
-
*
|
|
10929
|
+
* Non-tag elements (label, expand/collapse, clear) sit in a header row.
|
|
10930
|
+
* Tags occupy the full width below, wrapping as needed.
|
|
10393
10931
|
*/
|
|
10394
10932
|
declare const DsTagFilter: ({
|
|
10395
10933
|
items,
|
|
@@ -10585,6 +11123,156 @@ interface DsTooltipProps {
|
|
|
10585
11123
|
//#region src/components/ds-tooltip/ds-tooltip.d.ts
|
|
10586
11124
|
declare const DsTooltip: FC<DsTooltipProps>;
|
|
10587
11125
|
//#endregion
|
|
11126
|
+
//#region src/components/ds-tree/ds-tree.types.d.ts
|
|
11127
|
+
interface DsTreeNode {
|
|
11128
|
+
id: string;
|
|
11129
|
+
name: string;
|
|
11130
|
+
disabled?: boolean;
|
|
11131
|
+
icon?: IconType;
|
|
11132
|
+
status?: FilterStatus;
|
|
11133
|
+
children?: DsTreeNode[];
|
|
11134
|
+
}
|
|
11135
|
+
declare const dsTreeSizes: readonly ["medium", "small"];
|
|
11136
|
+
type DsTreeSize = (typeof dsTreeSizes)[number];
|
|
11137
|
+
interface DsTreeBaseProps {
|
|
11138
|
+
className?: string;
|
|
11139
|
+
style?: CSSProperties;
|
|
11140
|
+
}
|
|
11141
|
+
interface DsTreeBasePropsWithChildren extends DsTreeBaseProps {
|
|
11142
|
+
children?: ReactNode;
|
|
11143
|
+
}
|
|
11144
|
+
interface DsTreeRootProps<T extends DsTreeNode = DsTreeNode> extends DsTreeBasePropsWithChildren {
|
|
11145
|
+
collection: TreeView.RootProps<T>['collection'];
|
|
11146
|
+
size?: DsTreeSize;
|
|
11147
|
+
ref?: Ref<HTMLDivElement>;
|
|
11148
|
+
selectedValue?: string[];
|
|
11149
|
+
defaultSelectedValue?: string[];
|
|
11150
|
+
onSelectionChange?: TreeView.RootProps<T>['onSelectionChange'];
|
|
11151
|
+
selectionMode?: 'single' | 'multiple';
|
|
11152
|
+
expandedValue?: string[];
|
|
11153
|
+
defaultExpandedValue?: string[];
|
|
11154
|
+
onExpandedChange?: TreeView.RootProps<T>['onExpandedChange'];
|
|
11155
|
+
expandOnClick?: boolean;
|
|
11156
|
+
checkedValue?: string[];
|
|
11157
|
+
defaultCheckedValue?: string[];
|
|
11158
|
+
onCheckedChange?: TreeView.RootProps<T>['onCheckedChange'];
|
|
11159
|
+
/**
|
|
11160
|
+
* Whether to enable typeahead navigation — typing characters focuses matching nodes
|
|
11161
|
+
*/
|
|
11162
|
+
typeahead?: boolean;
|
|
11163
|
+
/**
|
|
11164
|
+
* Whether to defer mounting of branch content until a branch is first expanded
|
|
11165
|
+
*/
|
|
11166
|
+
lazyMount?: boolean;
|
|
11167
|
+
unmountOnExit?: boolean;
|
|
11168
|
+
}
|
|
11169
|
+
type DsTreeTreeProps = DsTreeBasePropsWithChildren;
|
|
11170
|
+
type DsTreeBranchProps = DsTreeBasePropsWithChildren;
|
|
11171
|
+
type DsTreeBranchControlProps = DsTreeBasePropsWithChildren;
|
|
11172
|
+
type DsTreeBranchIndicatorProps = DsTreeBasePropsWithChildren;
|
|
11173
|
+
type DsTreeBranchTextProps = DsTreeBasePropsWithChildren;
|
|
11174
|
+
type DsTreeBranchContentProps = DsTreeBasePropsWithChildren;
|
|
11175
|
+
type DsTreeBranchIndentGuideProps = DsTreeBaseProps;
|
|
11176
|
+
interface DsTreeItemProps extends DsTreeBasePropsWithChildren {
|
|
11177
|
+
onClick?: (event: MouseEvent<HTMLDivElement>) => void;
|
|
11178
|
+
}
|
|
11179
|
+
type DsTreeItemTextProps = DsTreeBasePropsWithChildren;
|
|
11180
|
+
type DsTreeItemIndicatorProps = DsTreeBaseProps;
|
|
11181
|
+
type DsTreeNodeCheckboxProps = DsTreeBaseProps;
|
|
11182
|
+
interface DsTreeItemActionProps extends DsTreeBasePropsWithChildren {
|
|
11183
|
+
onClick?: (event: MouseEvent<HTMLButtonElement>) => void;
|
|
11184
|
+
}
|
|
11185
|
+
//#endregion
|
|
11186
|
+
//#region src/components/ds-tree/ds-tree.d.ts
|
|
11187
|
+
declare const DsTree: {
|
|
11188
|
+
Root: <T extends DsTreeNode = DsTreeNode>({
|
|
11189
|
+
collection,
|
|
11190
|
+
size,
|
|
11191
|
+
ref,
|
|
11192
|
+
className,
|
|
11193
|
+
style,
|
|
11194
|
+
children,
|
|
11195
|
+
selectedValue,
|
|
11196
|
+
defaultSelectedValue,
|
|
11197
|
+
onSelectionChange,
|
|
11198
|
+
selectionMode,
|
|
11199
|
+
expandedValue,
|
|
11200
|
+
defaultExpandedValue,
|
|
11201
|
+
onExpandedChange,
|
|
11202
|
+
expandOnClick,
|
|
11203
|
+
checkedValue,
|
|
11204
|
+
defaultCheckedValue,
|
|
11205
|
+
onCheckedChange,
|
|
11206
|
+
typeahead,
|
|
11207
|
+
lazyMount,
|
|
11208
|
+
unmountOnExit
|
|
11209
|
+
}: DsTreeRootProps<T>) => react_jsx_runtime0.JSX.Element;
|
|
11210
|
+
Tree: ({
|
|
11211
|
+
className,
|
|
11212
|
+
style,
|
|
11213
|
+
children
|
|
11214
|
+
}: DsTreeTreeProps) => react_jsx_runtime0.JSX.Element;
|
|
11215
|
+
NodeProvider: typeof TreeView.NodeProvider;
|
|
11216
|
+
NodeContext: (props: TreeView.NodeContextProps) => react.ReactNode;
|
|
11217
|
+
Branch: ({
|
|
11218
|
+
className,
|
|
11219
|
+
style,
|
|
11220
|
+
children
|
|
11221
|
+
}: DsTreeBranchProps) => react_jsx_runtime0.JSX.Element;
|
|
11222
|
+
BranchControl: ({
|
|
11223
|
+
className,
|
|
11224
|
+
style,
|
|
11225
|
+
children
|
|
11226
|
+
}: DsTreeBranchControlProps) => react_jsx_runtime0.JSX.Element;
|
|
11227
|
+
BranchIndicator: ({
|
|
11228
|
+
className,
|
|
11229
|
+
style,
|
|
11230
|
+
children
|
|
11231
|
+
}: DsTreeBranchIndicatorProps) => react_jsx_runtime0.JSX.Element;
|
|
11232
|
+
BranchText: ({
|
|
11233
|
+
className,
|
|
11234
|
+
style,
|
|
11235
|
+
children
|
|
11236
|
+
}: DsTreeBranchTextProps) => react_jsx_runtime0.JSX.Element;
|
|
11237
|
+
BranchContent: ({
|
|
11238
|
+
className,
|
|
11239
|
+
style,
|
|
11240
|
+
children
|
|
11241
|
+
}: DsTreeBranchContentProps) => react_jsx_runtime0.JSX.Element;
|
|
11242
|
+
BranchIndentGuide: ({
|
|
11243
|
+
className,
|
|
11244
|
+
style
|
|
11245
|
+
}: DsTreeBranchIndentGuideProps) => react_jsx_runtime0.JSX.Element;
|
|
11246
|
+
Item: ({
|
|
11247
|
+
className,
|
|
11248
|
+
style,
|
|
11249
|
+
children,
|
|
11250
|
+
onClick
|
|
11251
|
+
}: DsTreeItemProps) => react_jsx_runtime0.JSX.Element;
|
|
11252
|
+
ItemText: ({
|
|
11253
|
+
className,
|
|
11254
|
+
style,
|
|
11255
|
+
children
|
|
11256
|
+
}: DsTreeItemTextProps) => react_jsx_runtime0.JSX.Element;
|
|
11257
|
+
ItemIndicator: ({
|
|
11258
|
+
className,
|
|
11259
|
+
style
|
|
11260
|
+
}: DsTreeItemIndicatorProps) => react_jsx_runtime0.JSX.Element;
|
|
11261
|
+
ItemAction: ({
|
|
11262
|
+
className,
|
|
11263
|
+
style,
|
|
11264
|
+
children,
|
|
11265
|
+
onClick
|
|
11266
|
+
}: DsTreeItemActionProps) => react_jsx_runtime0.JSX.Element;
|
|
11267
|
+
NodeCheckbox: ({
|
|
11268
|
+
className,
|
|
11269
|
+
style
|
|
11270
|
+
}: DsTreeNodeCheckboxProps) => react_jsx_runtime0.JSX.Element;
|
|
11271
|
+
};
|
|
11272
|
+
//#endregion
|
|
11273
|
+
//#region src/components/ds-tree/ds-tree.utils.d.ts
|
|
11274
|
+
declare const createDsTreeCollection: <T extends DsTreeNode>(nodes: T[]) => _ark_ui_react0.TreeCollection<T>;
|
|
11275
|
+
//#endregion
|
|
10588
11276
|
//#region src/components/ds-vertical-tabs/ds-vertical-tabs.types.d.ts
|
|
10589
11277
|
interface DsVerticalTabsRootProps {
|
|
10590
11278
|
/**
|
|
@@ -10695,5 +11383,5 @@ declare const DsVerticalTabs: {
|
|
|
10695
11383
|
}: DsVerticalTabsContentProps) => react_jsx_runtime0.JSX.Element;
|
|
10696
11384
|
};
|
|
10697
11385
|
//#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 };
|
|
11386
|
+
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
11387
|
//# sourceMappingURL=index.d.ts.map
|