@drivenets/design-system 0.10.0 → 0.11.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 +17 -0
- package/dist/index.cjs +117 -122
- package/dist/index.d.cts +10 -2
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.ts +10 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +119 -125
- package/dist/index.js.map +1 -1
- package/dist/index.min.css +1 -1
- package/package.json +3 -3
- package/src/components/ds-alert-banner/ds-alert-banner.module.scss +25 -25
- package/src/components/ds-autocomplete/ds-autocomplete.module.scss +29 -29
- package/src/components/ds-avatar/_mixins.scss +7 -7
- package/src/components/ds-avatar/ds-avatar.module.scss +2 -2
- package/src/components/ds-avatar-group/ds-avatar-group.module.scss +6 -6
- package/src/components/ds-breadcrumb/ds-breadcrumb.module.scss +14 -14
- package/src/components/ds-button/versions/ds-button-legacy/ds-button-legacy.module.scss +17 -17
- package/src/components/ds-button/versions/ds-button-new/ds-button-new.module.scss +135 -135
- package/src/components/ds-button-v3/ds-button-v3.module.scss +8 -8
- package/src/components/ds-card/ds-card.module.scss +12 -12
- package/src/components/ds-chip/ds-chip.module.scss +17 -17
- package/src/components/ds-chip-group/ds-chip-group.module.scss +12 -12
- package/src/components/ds-comment-bubble/components/ds-comment-thread/ds-comment-thread.module.scss +3 -3
- package/src/components/ds-comment-bubble/components/ds-thread-item/ds-thread-item.module.scss +18 -18
- package/src/components/ds-comment-bubble/ds-comment-bubble.module.scss +43 -43
- package/src/components/ds-comment-card/ds-comment-card.module.scss +34 -34
- package/src/components/ds-comment-indicator/ds-comment-indicator.module.scss +9 -9
- package/src/components/ds-comments-drawer/components/comments-filter-modal/comments-filter-modal.module.scss +10 -10
- package/src/components/ds-comments-drawer/ds-comments-drawer.module.scss +11 -11
- package/src/components/ds-date-input/ds-date-input.module.scss +42 -42
- package/src/components/ds-date-picker/components/calendar-table.module.scss +17 -17
- package/src/components/ds-date-picker/components/calendar-view-control/calendar-view-control.module.scss +8 -8
- package/src/components/ds-date-picker/components/day-view/day-view.module.scss +1 -1
- package/src/components/ds-date-picker/ds-date-picker.module.scss +1 -1
- package/src/components/ds-date-range-picker/ds-date-range-picker.module.scss +1 -1
- package/src/components/ds-dialog/ds-dialog.module.scss +3 -3
- package/src/components/ds-divider/ds-divider.module.scss +1 -1
- package/src/components/ds-drawer/ds-drawer.module.scss +12 -12
- package/src/components/ds-dropdown-menu/ds-dropdown-menu.module.scss +22 -14
- package/src/components/ds-dropdown-menu/ds-dropdown-menu.tsx +2 -0
- package/src/components/ds-dropdown-menu/ds-dropdown-menu.types.ts +9 -0
- package/src/components/ds-expandable-text-input/ds-expandable-text-input.module.scss +1 -1
- package/src/components/ds-file-upload/components/file-upload/file-upload.module.scss +22 -22
- package/src/components/ds-file-upload/components/file-upload-item/file-upload-item.module.scss +23 -23
- package/src/components/ds-filter-status-icon/ds-filter-status-icon.module.scss +5 -5
- package/src/components/ds-form-control/ds-form-control.module.scss +13 -13
- package/src/components/ds-icon/ds-icon.module.scss +8 -0
- package/src/components/ds-key-value-pair/ds-key-value-pair.module.scss +7 -7
- package/src/components/ds-modal/ds-modal.module.scss +9 -9
- package/src/components/ds-panel/ds-panel.module.scss +16 -16
- package/src/components/ds-popover/ds-popover.module.scss +2 -2
- package/src/components/ds-progress-arc/ds-progress-arc.module.scss +7 -7
- package/src/components/ds-progress-donut/ds-progress-donut.module.scss +7 -7
- package/src/components/ds-progress-linear/ds-progress-linear.module.scss +15 -15
- package/src/components/ds-segment-group/ds-segment-group.module.scss +18 -18
- package/src/components/ds-select/ds-select.module.scss +8 -8
- package/src/components/ds-skeleton/ds-skeleton.module.scss +1 -1
- package/src/components/ds-smart-tabs/ds-smart-tabs.module.scss +12 -12
- package/src/components/ds-smart-tabs/ds-smart-tabs.tsx +9 -9
- package/src/components/ds-spinner/ds-spinner.module.scss +1 -1
- package/src/components/ds-status-badge/ds-status-badge.module.scss +21 -25
- package/src/components/ds-stepper/ds-stepper.module.scss +55 -55
- package/src/components/ds-system-status/ds-system-status.module.scss +22 -22
- package/src/components/ds-table/components/ds-table-bulk-actions/ds-table-bulk-actions.module.scss +9 -9
- package/src/components/ds-table/components/ds-table-cell/ds-table-cell.module.scss +4 -4
- package/src/components/ds-table/components/ds-table-header/ds-table-header.module.scss +5 -10
- package/src/components/ds-table/components/ds-table-header/ds-table-header.tsx +6 -9
- package/src/components/ds-table/components/ds-table-row/ds-table-row.module.scss +13 -22
- package/src/components/ds-table/components/ds-table-row/ds-table-row.tsx +11 -18
- package/src/components/ds-table/components/ds-table-row-expandable-cell/ds-table-row-expandable-cell.module.scss +0 -7
- package/src/components/ds-table/components/ds-table-row-expandable-cell/ds-table-row-expandable-cell.tsx +19 -28
- package/src/components/ds-table/components/ds-table-row-expandable-cell/ds-table-row-expandable-cell.types.ts +0 -4
- package/src/components/ds-table/components/ds-table-row-selectable-cell/ds-table-row-selectable-cell.tsx +3 -8
- package/src/components/ds-table/components/ds-table-row-virtualized/ds-table-row-virtualized.module.scss +15 -11
- package/src/components/ds-table/components/ds-table-row-virtualized/ds-table-row-virtualized.tsx +9 -4
- package/src/components/ds-table/ds-table.module.scss +9 -2
- package/src/components/ds-table/ds-table.tsx +26 -4
- package/src/components/ds-table/filters/components/range-filter/range-filter.module.scss +1 -1
- package/src/components/ds-table/styles/_mixins.scss +1 -1
- package/src/components/ds-table/styles/_variables.scss +5 -6
- package/src/components/ds-table/utils/constants.ts +10 -0
- package/src/components/ds-tabs/components/ds-tabs-content/ds-tabs-content.module.scss +1 -1
- package/src/components/ds-tabs/components/ds-tabs-list/ds-tabs-indicator.module.scss +1 -1
- package/src/components/ds-tabs/components/ds-tabs-list/ds-tabs-list.module.scss +3 -3
- package/src/components/ds-tabs/components/ds-tabs-tab/ds-tabs-tab.module.scss +55 -55
- package/src/components/ds-tabs/ds-tabs.module.scss +1 -1
- package/src/components/ds-tag/ds-tag.module.scss +22 -22
- package/src/components/ds-tag-filter/ds-tag-filter.module.scss +10 -10
- package/src/components/ds-text-input/ds-text-input.module.scss +1 -1
- package/src/components/ds-time-picker/components/time-item/time-item.module.scss +8 -8
- package/src/components/ds-time-picker/components/time-scroller/time-scroller.module.scss +3 -3
- package/src/components/ds-toast/ds-toast.module.scss +11 -11
- package/src/components/ds-toggle/ds-toggle.module.scss +18 -18
- package/src/components/ds-tooltip/ds-tooltip.module.scss +5 -5
- package/src/components/ds-tree/ds-tree.module.scss +27 -27
- package/src/components/ds-vertical-tabs/ds-vertical-tabs.module.scss +13 -13
- package/src/styles/_root.scss +0 -18
- package/src/styles/_root_new.scss +1 -1
- package/src/styles/_scrollbars.scss +5 -5
- package/src/styles/_typography.scss +18 -14
- package/src/styles/mixins/_list.scss +8 -8
- package/src/styles/shared/_dropdown.scss +9 -9
- package/src/styles/shared/_input.scss +47 -47
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @drivenets/design-system
|
|
2
2
|
|
|
3
|
+
## 0.11.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- ae315b6: Improve release process
|
|
8
|
+
|
|
9
|
+
## 0.11.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- 8723a60: Migrate DS codebase to new tokens
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- c4d5afd: Add `variant` prop to `DsDropdownMenuItem`
|
|
18
|
+
- a3d191b: Fix `DsTable` row selection
|
|
19
|
+
|
|
3
20
|
## 0.10.0
|
|
4
21
|
|
|
5
22
|
### Minor Changes
|
package/dist/index.cjs
CHANGED
|
@@ -3856,6 +3856,7 @@ var ds_dropdown_menu_module_default = {
|
|
|
3856
3856
|
"separator": "AkHUyG_separator",
|
|
3857
3857
|
"triggerItem": "AkHUyG_triggerItem",
|
|
3858
3858
|
"triggerItemIcon": "AkHUyG_triggerItemIcon",
|
|
3859
|
+
"variant-error": "AkHUyG_variant-error",
|
|
3859
3860
|
"viewportLegacy": "AkHUyG_viewportLegacy"
|
|
3860
3861
|
};
|
|
3861
3862
|
//#endregion
|
|
@@ -4116,20 +4117,22 @@ const Content$1 = (t0) => {
|
|
|
4116
4117
|
* Item component - renders a menu item
|
|
4117
4118
|
*/
|
|
4118
4119
|
const Item$2 = (t0) => {
|
|
4119
|
-
const $ = (0, react_compiler_runtime.c)(
|
|
4120
|
-
const { disabled, selected, value, asChild, onClick, onSelect, children, className, style } = t0;
|
|
4121
|
-
|
|
4122
|
-
|
|
4123
|
-
|
|
4120
|
+
const $ = (0, react_compiler_runtime.c)(13);
|
|
4121
|
+
const { disabled, selected, variant: t1, value, asChild, onClick, onSelect, children, className, style } = t0;
|
|
4122
|
+
const variant = t1 === void 0 ? "default" : t1;
|
|
4123
|
+
let t2;
|
|
4124
|
+
if ($[0] !== className || $[1] !== selected || $[2] !== variant) {
|
|
4125
|
+
t2 = (0, classnames.default)(ds_dropdown_menu_module_default.item, { [ds_dropdown_menu_module_default.selected]: selected }, variant === "error" && ds_dropdown_menu_module_default["variant-error"], className);
|
|
4124
4126
|
$[0] = className;
|
|
4125
4127
|
$[1] = selected;
|
|
4126
|
-
$[2] =
|
|
4127
|
-
|
|
4128
|
-
|
|
4129
|
-
|
|
4130
|
-
|
|
4128
|
+
$[2] = variant;
|
|
4129
|
+
$[3] = t2;
|
|
4130
|
+
} else t2 = $[3];
|
|
4131
|
+
let t3;
|
|
4132
|
+
if ($[4] !== asChild || $[5] !== children || $[6] !== disabled || $[7] !== onClick || $[8] !== onSelect || $[9] !== style || $[10] !== t2 || $[11] !== value) {
|
|
4133
|
+
t3 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_ark_ui_react_menu.Menu.Item, {
|
|
4131
4134
|
disabled,
|
|
4132
|
-
className:
|
|
4135
|
+
className: t2,
|
|
4133
4136
|
style,
|
|
4134
4137
|
value,
|
|
4135
4138
|
asChild,
|
|
@@ -4137,17 +4140,17 @@ const Item$2 = (t0) => {
|
|
|
4137
4140
|
onSelect,
|
|
4138
4141
|
children
|
|
4139
4142
|
});
|
|
4140
|
-
$[
|
|
4141
|
-
$[
|
|
4142
|
-
$[
|
|
4143
|
-
$[
|
|
4144
|
-
$[
|
|
4145
|
-
$[
|
|
4146
|
-
$[
|
|
4147
|
-
$[
|
|
4148
|
-
$[
|
|
4149
|
-
} else
|
|
4150
|
-
return
|
|
4143
|
+
$[4] = asChild;
|
|
4144
|
+
$[5] = children;
|
|
4145
|
+
$[6] = disabled;
|
|
4146
|
+
$[7] = onClick;
|
|
4147
|
+
$[8] = onSelect;
|
|
4148
|
+
$[9] = style;
|
|
4149
|
+
$[10] = t2;
|
|
4150
|
+
$[11] = value;
|
|
4151
|
+
$[12] = t3;
|
|
4152
|
+
} else t3 = $[12];
|
|
4153
|
+
return t3;
|
|
4151
4154
|
};
|
|
4152
4155
|
/**
|
|
4153
4156
|
* ItemIndicator component - renders a selection indicator (check icon by default)
|
|
@@ -4678,6 +4681,9 @@ function _temp2$7(e) {
|
|
|
4678
4681
|
return e.stopPropagation();
|
|
4679
4682
|
}
|
|
4680
4683
|
//#endregion
|
|
4684
|
+
//#region src/components/ds-dropdown-menu/ds-dropdown-menu.types.ts
|
|
4685
|
+
const dropdownMenuItemVariants = ["default", "error"];
|
|
4686
|
+
//#endregion
|
|
4681
4687
|
//#region src/components/ds-breadcrumb/ds-breadcrumb.tsx
|
|
4682
4688
|
/**
|
|
4683
4689
|
* Design system Breadcrumb component
|
|
@@ -16449,15 +16455,15 @@ var ds_smart_tabs_module_default = {
|
|
|
16449
16455
|
//#endregion
|
|
16450
16456
|
//#region src/components/ds-smart-tabs/ds-smart-tabs.tsx
|
|
16451
16457
|
const colorMap = {
|
|
16452
|
-
"dark-blue": "var(--
|
|
16453
|
-
"light-blue": "var(--
|
|
16454
|
-
"dark-gray": "var(--
|
|
16455
|
-
green: "var(--
|
|
16456
|
-
fuchsia: "var(--color-data-fuchsia)",
|
|
16457
|
-
blue: "var(--
|
|
16458
|
-
gray: "var(--
|
|
16459
|
-
red: "var(--
|
|
16460
|
-
amber: "var(--color-data-amber)"
|
|
16458
|
+
"dark-blue": "var(--background-info-strong)",
|
|
16459
|
+
"light-blue": "var(--background-active-moderate)",
|
|
16460
|
+
"dark-gray": "var(--background-brand)",
|
|
16461
|
+
green: "var(--background-success-strong)",
|
|
16462
|
+
fuchsia: "var(--color-dap-data-fuchsia)",
|
|
16463
|
+
blue: "var(--icon-information-secondary)",
|
|
16464
|
+
gray: "var(--icon-information-main)",
|
|
16465
|
+
red: "var(--icon-warning)",
|
|
16466
|
+
amber: "var(--color-dap-data-amber)"
|
|
16461
16467
|
};
|
|
16462
16468
|
const SmartTabsContext = (0, react.createContext)(null);
|
|
16463
16469
|
const useSmartTabsContext = () => {
|
|
@@ -18119,7 +18125,6 @@ const DsTableBulkActions = ({ numSelectedRows, actions, onClearSelection }) => {
|
|
|
18119
18125
|
//#endregion
|
|
18120
18126
|
//#region src/components/ds-table/components/ds-table-header/ds-table-header.module.scss
|
|
18121
18127
|
var ds_table_header_module_default = {
|
|
18122
|
-
"expandColumn": "-2rCNG_expandColumn",
|
|
18123
18128
|
"headerCell": "-2rCNG_headerCell",
|
|
18124
18129
|
"headerRow": "-2rCNG_headerRow",
|
|
18125
18130
|
"headerRowNoBorder": "-2rCNG_headerRowNoBorder",
|
|
@@ -18171,7 +18176,7 @@ const getColumnSizeStyle = (columnSize, virtualized) => {
|
|
|
18171
18176
|
//#endregion
|
|
18172
18177
|
//#region src/components/ds-table/components/ds-table-header/ds-table-header.tsx
|
|
18173
18178
|
const DsTableHeader = ({ table }) => {
|
|
18174
|
-
const { stickyHeader, bordered,
|
|
18179
|
+
const { stickyHeader, bordered, selectable, reorderable, showSelectAllCheckbox, virtualized } = useDsTableContext();
|
|
18175
18180
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(TableHeader, {
|
|
18176
18181
|
className: (0, classnames.default)(stickyHeader && ds_table_header_module_default.stickyHeader, virtualized && ds_table_header_module_default.virtualizedHeader),
|
|
18177
18182
|
children: table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(TableRow, {
|
|
@@ -18182,26 +18187,24 @@ const DsTableHeader = ({ table }) => {
|
|
|
18182
18187
|
children: showSelectAllCheckbox && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsCheckbox, {
|
|
18183
18188
|
className: ds_table_shared_module_default.checkboxContainer,
|
|
18184
18189
|
checked: table.getIsAllRowsSelected() ? true : table.getIsSomeRowsSelected() ? "indeterminate" : false,
|
|
18185
|
-
|
|
18186
|
-
|
|
18187
|
-
table.getToggleAllRowsSelectedHandler()(e);
|
|
18188
|
-
}
|
|
18190
|
+
onCheckedChange: (checked) => table.toggleAllRowsSelected(!!checked),
|
|
18191
|
+
onClick: (e) => e.stopPropagation()
|
|
18189
18192
|
})
|
|
18190
18193
|
}),
|
|
18191
|
-
expandable && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(TableHead, { className: (0, classnames.default)(ds_table_header_module_default.headerCell, ds_table_header_module_default.expandColumn) }),
|
|
18192
18194
|
reorderable && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(TableHead, {
|
|
18193
18195
|
className: (0, classnames.default)(ds_table_header_module_default.headerCell, ds_table_header_module_default.reorderColumn),
|
|
18194
18196
|
children: "Order"
|
|
18195
18197
|
}),
|
|
18196
18198
|
headerGroup.headers.map((header) => {
|
|
18197
18199
|
const headerStyle = getColumnSizeStyle(header.column.getSize(), virtualized);
|
|
18200
|
+
const canSort = header.column.getCanSort();
|
|
18198
18201
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(TableHead, {
|
|
18199
|
-
className: (0, classnames.default)(ds_table_header_module_default.headerCell,
|
|
18202
|
+
className: (0, classnames.default)(ds_table_header_module_default.headerCell, canSort && ds_table_header_module_default.sortableHeader),
|
|
18200
18203
|
onClick: header.column.getToggleSortingHandler(),
|
|
18201
18204
|
style: headerStyle,
|
|
18202
18205
|
children: header.isPlaceholder ? null : /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
18203
18206
|
className: ds_table_header_module_default.headerSortContainer,
|
|
18204
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { children: (0, _tanstack_react_table.flexRender)(header.column.columnDef.header, header.getContext()) }),
|
|
18207
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { children: (0, _tanstack_react_table.flexRender)(header.column.columnDef.header, header.getContext()) }), canSort && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
18205
18208
|
className: ds_table_header_module_default.pageButtonIconContainer,
|
|
18206
18209
|
children: {
|
|
18207
18210
|
asc: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsIcon, {
|
|
@@ -18332,47 +18335,9 @@ const DsTableRowSelectableCell = ({ row, isSelected, className }) => {
|
|
|
18332
18335
|
className: ds_table_shared_module_default.checkboxContainer,
|
|
18333
18336
|
checked: isSelected,
|
|
18334
18337
|
disabled: !row.getCanSelect(),
|
|
18335
|
-
|
|
18336
|
-
|
|
18337
|
-
|
|
18338
|
-
},
|
|
18339
|
-
onDoubleClick: (e) => {
|
|
18340
|
-
e.stopPropagation();
|
|
18341
|
-
}
|
|
18342
|
-
})
|
|
18343
|
-
});
|
|
18344
|
-
};
|
|
18345
|
-
//#endregion
|
|
18346
|
-
//#region src/components/ds-table/components/ds-table-row-expandable-cell/ds-table-row-expandable-cell.module.scss
|
|
18347
|
-
var ds_table_row_expandable_cell_module_default = {
|
|
18348
|
-
"button": "enUIjW_button",
|
|
18349
|
-
"cell": "enUIjW_cell"
|
|
18350
|
-
};
|
|
18351
|
-
//#endregion
|
|
18352
|
-
//#region src/components/ds-table/components/ds-table-row-expandable-cell/ds-table-row-expandable-cell.tsx
|
|
18353
|
-
const DsTableRowExpandableCell = ({ row, className, buttonClassName }) => {
|
|
18354
|
-
const { expandable } = useDsTableContext();
|
|
18355
|
-
const isExpanded = row.getIsExpanded();
|
|
18356
|
-
const isExpandable = typeof expandable === "function" ? expandable(row.original) : expandable;
|
|
18357
|
-
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(TableCell, {
|
|
18358
|
-
className: (0, classnames.default)(ds_table_row_expandable_cell_module_default.cell, className),
|
|
18359
|
-
children: isExpandable && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsButton, {
|
|
18360
|
-
design: "v1.2",
|
|
18361
|
-
buttonType: "tertiary",
|
|
18362
|
-
size: "small",
|
|
18363
|
-
className: (0, classnames.default)(ds_table_row_expandable_cell_module_default.button, buttonClassName),
|
|
18364
|
-
onClick: (e) => {
|
|
18365
|
-
e.stopPropagation();
|
|
18366
|
-
row.toggleExpanded();
|
|
18367
|
-
},
|
|
18368
|
-
onDoubleClick: (e) => {
|
|
18369
|
-
e.stopPropagation();
|
|
18370
|
-
},
|
|
18371
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsIcon, {
|
|
18372
|
-
icon: "chevron_right",
|
|
18373
|
-
size: "small",
|
|
18374
|
-
className: (0, classnames.default)(ds_table_shared_module_default.pageButtonIcon, isExpanded && "rotate-90")
|
|
18375
|
-
})
|
|
18338
|
+
onCheckedChange: (checked) => row.toggleSelected(!!checked),
|
|
18339
|
+
onClick: (e) => e.stopPropagation(),
|
|
18340
|
+
onDoubleClick: (e) => e.stopPropagation()
|
|
18376
18341
|
})
|
|
18377
18342
|
});
|
|
18378
18343
|
};
|
|
@@ -18384,7 +18349,6 @@ var ds_table_row_module_default = {
|
|
|
18384
18349
|
"expandableCell": "t8OZCq_expandableCell",
|
|
18385
18350
|
"expanded": "t8OZCq_expanded",
|
|
18386
18351
|
"expandedRow": "t8OZCq_expandedRow",
|
|
18387
|
-
"expandToggleButton": "t8OZCq_expandToggleButton",
|
|
18388
18352
|
"isDragging": "t8OZCq_isDragging",
|
|
18389
18353
|
"rowDragHandle": "t8OZCq_rowDragHandle",
|
|
18390
18354
|
"rowNoBorder": "t8OZCq_rowNoBorder",
|
|
@@ -18395,6 +18359,10 @@ var ds_table_row_module_default = {
|
|
|
18395
18359
|
"tableCell": "t8OZCq_tableCell",
|
|
18396
18360
|
"tableRow": "t8OZCq_tableRow"
|
|
18397
18361
|
};
|
|
18362
|
+
/**
|
|
18363
|
+
* Column id used for the synthetic expander column injected when `expandable` is set.
|
|
18364
|
+
*/
|
|
18365
|
+
const EXPANDER_COLUMN_ID = "expander";
|
|
18398
18366
|
//#endregion
|
|
18399
18367
|
//#region src/components/ds-table/components/ds-table-row/ds-table-row.tsx
|
|
18400
18368
|
const DsRowDragHandle = ({ isDragging, attributes, listeners }) => {
|
|
@@ -18411,9 +18379,8 @@ const DsRowDragHandle = ({ isDragging, attributes, listeners }) => {
|
|
|
18411
18379
|
});
|
|
18412
18380
|
};
|
|
18413
18381
|
const DsTableRow = ({ ref, row, isSelected }) => {
|
|
18414
|
-
const {
|
|
18382
|
+
const { selectable, reorderable, onRowClick, onRowDoubleClick, renderExpandedRow, bordered, rowSize, primaryRowActions, secondaryRowActions, activeRowId } = useDsTableContext();
|
|
18415
18383
|
const isExpanded = row.getIsExpanded();
|
|
18416
|
-
const isExpandable = typeof expandable === "function" ? expandable(row.original) : expandable;
|
|
18417
18384
|
const isActive = activeRowId === row.id;
|
|
18418
18385
|
const { attributes, listeners, setNodeRef, transform, transition, isDragging } = (0, _dnd_kit_sortable.useSortable)({
|
|
18419
18386
|
id: row.id,
|
|
@@ -18423,7 +18390,7 @@ const DsTableRow = ({ ref, row, isSelected }) => {
|
|
|
18423
18390
|
transform: _dnd_kit_utilities.CSS.Transform.toString(transform),
|
|
18424
18391
|
transition,
|
|
18425
18392
|
...isDragging ? {
|
|
18426
|
-
background: "var(--
|
|
18393
|
+
background: "var(--color-dap-purple-200)",
|
|
18427
18394
|
boxShadow: "0 0 12px 0 rgba(0, 102, 250, 0.60)",
|
|
18428
18395
|
zIndex: 1
|
|
18429
18396
|
} : {},
|
|
@@ -18446,11 +18413,6 @@ const DsTableRow = ({ ref, row, isSelected }) => {
|
|
|
18446
18413
|
isSelected,
|
|
18447
18414
|
className: ds_table_row_module_default.selectableCell
|
|
18448
18415
|
}),
|
|
18449
|
-
expandable && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsTableRowExpandableCell, {
|
|
18450
|
-
row,
|
|
18451
|
-
className: ds_table_row_module_default.expandableCell,
|
|
18452
|
-
buttonClassName: ds_table_row_module_default.expandToggleButton
|
|
18453
|
-
}),
|
|
18454
18416
|
reorderable && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsRowDragHandle, {
|
|
18455
18417
|
isDragging,
|
|
18456
18418
|
attributes,
|
|
@@ -18460,7 +18422,7 @@ const DsTableRow = ({ ref, row, isSelected }) => {
|
|
|
18460
18422
|
const isLastColumn = idx === row.getVisibleCells().length - 1;
|
|
18461
18423
|
const cellStyle = getColumnSizeStyle(cell.column.getSize());
|
|
18462
18424
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(TableCell, {
|
|
18463
|
-
className: ds_table_row_module_default.tableCell,
|
|
18425
|
+
className: (0, classnames.default)(ds_table_row_module_default.tableCell, cell.column.id === "expander" && ds_table_row_module_default.expandableCell),
|
|
18464
18426
|
style: cellStyle,
|
|
18465
18427
|
children: isLastColumn ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsTableCell, {
|
|
18466
18428
|
row,
|
|
@@ -18477,13 +18439,39 @@ const DsTableRow = ({ ref, row, isSelected }) => {
|
|
|
18477
18439
|
}), isExpanded && renderExpandedRow && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(TableRow, {
|
|
18478
18440
|
className: ds_table_row_module_default.expandedRow,
|
|
18479
18441
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(TableCell, {
|
|
18480
|
-
colSpan: row.getVisibleCells().length + (selectable ? 1 : 0) + (
|
|
18442
|
+
colSpan: row.getVisibleCells().length + (selectable ? 1 : 0) + (reorderable ? 1 : 0),
|
|
18481
18443
|
className: ds_table_row_module_default.tableCell,
|
|
18482
18444
|
children: renderExpandedRow(row.original)
|
|
18483
18445
|
})
|
|
18484
18446
|
})] });
|
|
18485
18447
|
};
|
|
18486
18448
|
//#endregion
|
|
18449
|
+
//#region src/components/ds-table/components/ds-table-row-expandable-cell/ds-table-row-expandable-cell.module.scss
|
|
18450
|
+
var ds_table_row_expandable_cell_module_default = { "button": "enUIjW_button" };
|
|
18451
|
+
//#endregion
|
|
18452
|
+
//#region src/components/ds-table/components/ds-table-row-expandable-cell/ds-table-row-expandable-cell.tsx
|
|
18453
|
+
const DsTableRowExpandableCell = ({ row, buttonClassName }) => {
|
|
18454
|
+
const isExpanded = row.getIsExpanded();
|
|
18455
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsButton, {
|
|
18456
|
+
design: "v1.2",
|
|
18457
|
+
buttonType: "tertiary",
|
|
18458
|
+
size: "small",
|
|
18459
|
+
className: (0, classnames.default)(ds_table_row_expandable_cell_module_default.button, buttonClassName),
|
|
18460
|
+
onClick: (e) => {
|
|
18461
|
+
e.stopPropagation();
|
|
18462
|
+
row.toggleExpanded();
|
|
18463
|
+
},
|
|
18464
|
+
onDoubleClick: (e) => {
|
|
18465
|
+
e.stopPropagation();
|
|
18466
|
+
},
|
|
18467
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsIcon, {
|
|
18468
|
+
icon: "chevron_right",
|
|
18469
|
+
size: "small",
|
|
18470
|
+
className: (0, classnames.default)(ds_table_shared_module_default.pageButtonIcon, isExpanded && "rotate-90")
|
|
18471
|
+
})
|
|
18472
|
+
});
|
|
18473
|
+
};
|
|
18474
|
+
//#endregion
|
|
18487
18475
|
//#region src/components/ds-table/hooks/use-drag-and-drop.tsx
|
|
18488
18476
|
const DragWrapper = ({ children, onDragEnd, sensors }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_dnd_kit_core.DndContext, {
|
|
18489
18477
|
collisionDetection: _dnd_kit_core.closestCenter,
|
|
@@ -18552,7 +18540,7 @@ var ds_table_row_virtualized_module_default = {
|
|
|
18552
18540
|
//#endregion
|
|
18553
18541
|
//#region src/components/ds-table/components/ds-table-row-virtualized/ds-table-row-virtualized.tsx
|
|
18554
18542
|
const DsTableRowVirtualized = ({ row, isSelected, rowsMapRef, rowHeightsMapRef, rowVirtualizer, virtualRow, isExpandedRowContent }) => {
|
|
18555
|
-
const { selectable,
|
|
18543
|
+
const { selectable, bordered, rowSize, activeRowId, primaryRowActions, secondaryRowActions, renderExpandedRow, onRowClick, onRowDoubleClick } = useDsTableContext();
|
|
18556
18544
|
const isExpanded = row.getIsExpanded();
|
|
18557
18545
|
const isActive = activeRowId === row.id;
|
|
18558
18546
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(TableRow, {
|
|
@@ -18574,33 +18562,26 @@ const DsTableRowVirtualized = ({ row, isSelected, rowsMapRef, rowHeightsMapRef,
|
|
|
18574
18562
|
}, isExpandedRowContent && ds_table_row_virtualized_module_default.expandedRowContent, onRowClick && ds_table_row_virtualized_module_default.clickableRow, !bordered && ds_table_row_virtualized_module_default.rowNoBorder, isExpanded && ds_table_row_virtualized_module_default.expanded),
|
|
18575
18563
|
onClick: isExpandedRowContent ? void 0 : () => onRowClick?.(row.original),
|
|
18576
18564
|
onDoubleClick: isExpandedRowContent ? void 0 : () => onRowDoubleClick?.(row.original),
|
|
18577
|
-
children: isExpandedRowContent ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(TableCell, { children: renderExpandedRow?.(row.original) }) : /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
|
|
18578
|
-
|
|
18579
|
-
|
|
18580
|
-
|
|
18581
|
-
|
|
18582
|
-
|
|
18583
|
-
|
|
18584
|
-
|
|
18585
|
-
className: ds_table_row_virtualized_module_default.expandableCell
|
|
18586
|
-
|
|
18587
|
-
|
|
18588
|
-
|
|
18589
|
-
|
|
18590
|
-
|
|
18591
|
-
|
|
18592
|
-
|
|
18593
|
-
|
|
18594
|
-
|
|
18595
|
-
|
|
18596
|
-
|
|
18597
|
-
}) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsTableCell, {
|
|
18598
|
-
row,
|
|
18599
|
-
cell
|
|
18600
|
-
})
|
|
18601
|
-
}, cell.id);
|
|
18602
|
-
})
|
|
18603
|
-
] })
|
|
18565
|
+
children: isExpandedRowContent ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(TableCell, { children: renderExpandedRow?.(row.original) }) : /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [selectable && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsTableRowSelectableCell, {
|
|
18566
|
+
row,
|
|
18567
|
+
isSelected,
|
|
18568
|
+
className: ds_table_row_virtualized_module_default.selectableCell
|
|
18569
|
+
}), row.getVisibleCells().map((cell, idx) => {
|
|
18570
|
+
const isLastColumn = idx === row.getVisibleCells().length - 1;
|
|
18571
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(TableCell, {
|
|
18572
|
+
style: getColumnSizeStyle(cell.column.getSize(), true),
|
|
18573
|
+
className: (0, classnames.default)(ds_table_row_virtualized_module_default.cell, cell.column.id === "expander" && ds_table_row_virtualized_module_default.expandableCell),
|
|
18574
|
+
children: isLastColumn ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsTableCell, {
|
|
18575
|
+
row,
|
|
18576
|
+
cell,
|
|
18577
|
+
primaryRowActions,
|
|
18578
|
+
secondaryRowActions
|
|
18579
|
+
}) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsTableCell, {
|
|
18580
|
+
row,
|
|
18581
|
+
cell
|
|
18582
|
+
})
|
|
18583
|
+
}, cell.id);
|
|
18584
|
+
})] })
|
|
18604
18585
|
});
|
|
18605
18586
|
};
|
|
18606
18587
|
//#endregion
|
|
@@ -18694,7 +18675,7 @@ const ROW_SIZE_HEIGHT_MAP = {
|
|
|
18694
18675
|
/**
|
|
18695
18676
|
* Design system Table component
|
|
18696
18677
|
*/
|
|
18697
|
-
const DsTable = ({ ref, columns, data: tableData, virtualized = false, virtualizedOptions, className, onRowClick, emptyState, stickyHeader = true, bordered = true, fullWidth = true, rowSize = "medium", expandable = false, renderExpandedRow, selectable = false, showSelectAllCheckbox = true, onSelectionChange, onSortingChange, onScroll, actions = [], onRowDoubleClick, primaryRowActions = [], secondaryRowActions, reorderable = false, onOrderChange, columnFilters: externalColumnFilters, onColumnFiltersChange, columnVisibility: externalColumnVisibility, onColumnVisibilityChange, activeRowId }) => {
|
|
18678
|
+
const DsTable = ({ ref, columns: columnsProp, data: tableData, virtualized = false, virtualizedOptions, className, onRowClick, emptyState, stickyHeader = true, bordered = true, fullWidth = true, rowSize = "medium", expandable = false, renderExpandedRow, selectable = false, showSelectAllCheckbox = true, onSelectionChange, onSortingChange, onScroll, actions = [], onRowDoubleClick, primaryRowActions = [], secondaryRowActions, reorderable = false, onOrderChange, columnFilters: externalColumnFilters, onColumnFiltersChange, columnVisibility: externalColumnVisibility, onColumnVisibilityChange, activeRowId }) => {
|
|
18698
18679
|
const [data, setData] = react.useState(tableData);
|
|
18699
18680
|
const [sorting, setSorting] = react.useState([]);
|
|
18700
18681
|
const [internalColumnFilters, setInternalColumnFilters] = react.useState([]);
|
|
@@ -18731,6 +18712,17 @@ const DsTable = ({ ref, columns, data: tableData, virtualized = false, virtualiz
|
|
|
18731
18712
|
setRowSelection(newRowSelection);
|
|
18732
18713
|
onSelectionChange?.(newRowSelection);
|
|
18733
18714
|
};
|
|
18715
|
+
const columns = (0, react.useMemo)(() => {
|
|
18716
|
+
if (!expandable) return columnsProp;
|
|
18717
|
+
return [{
|
|
18718
|
+
id: EXPANDER_COLUMN_ID,
|
|
18719
|
+
size: 36,
|
|
18720
|
+
enableSorting: false,
|
|
18721
|
+
enableResizing: false,
|
|
18722
|
+
header: () => null,
|
|
18723
|
+
cell: ({ row }) => row.getCanExpand() ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsTableRowExpandableCell, { row }) : null
|
|
18724
|
+
}, ...columnsProp];
|
|
18725
|
+
}, [columnsProp, expandable]);
|
|
18734
18726
|
const table = (0, _tanstack_react_table.useReactTable)({
|
|
18735
18727
|
data: reorderable ? data : tableData,
|
|
18736
18728
|
columns,
|
|
@@ -18742,6 +18734,8 @@ const DsTable = ({ ref, columns, data: tableData, virtualized = false, virtualiz
|
|
|
18742
18734
|
onColumnVisibilityChange: handleColumnVisibilityChange,
|
|
18743
18735
|
onRowSelectionChange: handleRowSelectionChange,
|
|
18744
18736
|
getRowId: (row) => row.id,
|
|
18737
|
+
getExpandedRowModel: (0, _tanstack_react_table.getExpandedRowModel)(),
|
|
18738
|
+
getRowCanExpand: typeof expandable === "function" ? (row) => expandable(row.original) : () => expandable,
|
|
18745
18739
|
state: {
|
|
18746
18740
|
sorting,
|
|
18747
18741
|
columnFilters,
|
|
@@ -18791,7 +18785,7 @@ const DsTable = ({ ref, columns, data: tableData, virtualized = false, virtualiz
|
|
|
18791
18785
|
}), [table]);
|
|
18792
18786
|
const { rows, rowsById } = table.getRowModel();
|
|
18793
18787
|
const renderEmptyState = () => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(TableRow, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(TableCell, {
|
|
18794
|
-
colSpan: columns.length + (
|
|
18788
|
+
colSpan: columns.length + (selectable ? 1 : 0) + (reorderable ? 1 : 0),
|
|
18795
18789
|
className: ds_table_module_default.emptyState,
|
|
18796
18790
|
children: emptyState || "No results."
|
|
18797
18791
|
}) });
|
|
@@ -20076,6 +20070,7 @@ exports.createDsTreeCollection = createDsTreeCollection;
|
|
|
20076
20070
|
exports.createDualRangeFilterAdapter = createDualRangeFilterAdapter;
|
|
20077
20071
|
exports.createFilterAdapter = createFilterAdapter;
|
|
20078
20072
|
exports.customIcons = customIcons;
|
|
20073
|
+
exports.dropdownMenuItemVariants = dropdownMenuItemVariants;
|
|
20079
20074
|
exports.dsKeyValuePairOrientations = dsKeyValuePairOrientations;
|
|
20080
20075
|
exports.filterStatuses = filterStatuses;
|
|
20081
20076
|
exports.formatTime = formatTime;
|
package/dist/index.d.cts
CHANGED
|
@@ -9505,6 +9505,8 @@ declare namespace DsDrawer {
|
|
|
9505
9505
|
}
|
|
9506
9506
|
//#endregion
|
|
9507
9507
|
//#region src/components/ds-dropdown-menu/ds-dropdown-menu.types.d.ts
|
|
9508
|
+
declare const dropdownMenuItemVariants: readonly ['default', 'error'];
|
|
9509
|
+
type DropdownMenuItemVariant = (typeof dropdownMenuItemVariants)[number];
|
|
9508
9510
|
/**
|
|
9509
9511
|
* Base positioning type
|
|
9510
9512
|
*/
|
|
@@ -9677,6 +9679,12 @@ interface DsDropdownMenuItemProps extends Pick<Menu.ItemProps, 'disabled' | 'asC
|
|
|
9677
9679
|
* Whether the item is selected (applies selected styling)
|
|
9678
9680
|
*/
|
|
9679
9681
|
selected?: boolean;
|
|
9682
|
+
/**
|
|
9683
|
+
* Status variant that applies colored text to convey item state.
|
|
9684
|
+
* `error` renders text in danger color.
|
|
9685
|
+
* @default 'default'
|
|
9686
|
+
*/
|
|
9687
|
+
variant?: DropdownMenuItemVariant;
|
|
9680
9688
|
}
|
|
9681
9689
|
/**
|
|
9682
9690
|
* Props for the DsDropdownMenu ItemIndicator component
|
|
@@ -12696,7 +12704,7 @@ declare const DsTable: <TData extends {
|
|
|
12696
12704
|
id: string;
|
|
12697
12705
|
}, TValue>({
|
|
12698
12706
|
ref,
|
|
12699
|
-
columns,
|
|
12707
|
+
columns: columnsProp,
|
|
12700
12708
|
data: tableData,
|
|
12701
12709
|
virtualized,
|
|
12702
12710
|
virtualizedOptions,
|
|
@@ -13593,5 +13601,5 @@ declare namespace DsWorkspace {
|
|
|
13593
13601
|
}: DsWorkspaceFooterProps) => _$react_jsx_runtime0.JSX.Element;
|
|
13594
13602
|
}
|
|
13595
13603
|
//#endregion
|
|
13596
|
-
export { type AcceptedFileType, Action, AlertBannerVariant, AnyAdapter, BREAKPOINT_LG, Breakpoint, ButtonV3Color, ButtonV3Size, ButtonV3Variant, type CheckboxFilterAdapterConfig, type CheckboxFilterItem, type CheckboxFilterProps, CheckboxVariant, CheckedState, type ChipItem, type ChipSize, Color, ColumnFilterState, CommentAuthor, CommentData, CommentIndicatorType, CommentMessage, CommentsFilterState, ControlStatus, type CustomIconComponent, type CustomIconName, type DateRangeFormControlSlotProps, type DateRangePickerOrientation, type DateRangeValue, DsAlertBanner, DsAlertBannerProps, DsAutocomplete, DsAutocompleteOption, DsAutocompleteProps, DsAvatar, DsAvatarGroup, DsAvatarGroupProps, DsAvatarProps, DsAvatarSize, DsAvatarType, DsBreadcrumb, DsBreadcrumbItem, DsBreadcrumbProps, DsButton, DsButtonUnifiedProps, DsButtonV3, DsButtonV3BaseProps, DsButtonV3Props, DsCard, type DsCardBodyProps, type DsCardFooterProps, type DsCardHeaderProps, type DsCardRootProps, type DsCardSize, DsCheckbox, DsCheckboxGroup, DsCheckboxGroupOrientation, DsCheckboxGroupProps, DsCheckboxProps, DsChip, DsChipGroup, type DsChipGroupProps, type DsChipProps, DsCommentBubble, DsCommentBubbleProps, DsCommentCard, DsCommentCardProps, DsCommentIndicator, DsCommentIndicatorProps, DsCommentThread, DsCommentThreadProps, DsCommentsDrawer, DsCommentsDrawerProps, DsConfirmation, type DsConfirmationProps, DsDataTableProps, DsDateInput, type DsDateInputProps, DsDatePicker, type DsDatePickerLocale, type DsDatePickerProps, type DsDatePickerSlotProps, DsDateRangePicker, type DsDateRangePickerLocale, type DsDateRangePickerProps, type DsDateRangePickerSlotProps, DsDialog, DsDialogProps, DsDivider, DsDividerProps, DsDrawer, type DsDrawerColumns, type DsDrawerPosition, type DsDrawerProps, DsDropdownMenu, DsDropdownMenuActionsProps, DsDropdownMenuContentProps, DsDropdownMenuHeaderProps, DsDropdownMenuItemGroupContentProps, DsDropdownMenuItemGroupLabelProps, DsDropdownMenuItemGroupProps, DsDropdownMenuItemIndicatorProps, DsDropdownMenuItemProps, DsDropdownMenuLegacy, DsDropdownMenuLegacyProps, DsDropdownMenuOptionLegacy, DsDropdownMenuPositioning, DsDropdownMenuRootProps, DsDropdownMenuSeparatorProps, DsDropdownMenuTriggerItemProps, DsDropdownMenuTriggerProps, DsExpandableTextInput, type DsExpandableTextInputProps, DsFileUpload, DsFileUploadProps, DsFilterStatusIcon, type DsFilterStatusIconProps, DsFormControl, DsFormControlDescriptionProps, DsFormControlProps, DsGrid, DsGridItem, DsGridItemProps, DsGridProps, DsIcon, DsIconProps, DsKeyValuePair, type DsKeyValuePairOrientation, type DsKeyValuePairProps, DsLoader, DsLoaderProps, DsModal, DsModalColumns, DsModalProps, DsNextStepButton, type DsNextStepButtonProps, DsNumberInput, DsNumberInputProps, DsPanel, type DsPanelCollapseButtonProps, type DsPanelProps, type DsPanelVariant, DsPasswordInput, DsPasswordInputProps, DsPopover, DsPopoverProps, DsProgressArc, DsProgressArcProps, DsProgressDonut, DsProgressDonutProps, DsProgressLinear, DsProgressLinearProps, DsRadioGroup, DsRadioGroupItemProps, DsRadioGroupLegacy, DsRadioGroupLegacyProps, DsRadioGroupRootProps, DsRadioOptionLegacy, DsSegmentGroup, DsSegmentGroupItemProps, DsSegmentGroupItemTextProps, DsSegmentGroupRootProps, DsSegmentGroupSize, DsSelect, type DsSelectOption, type DsSelectProps, _default as DsSkeleton, DsSkeletonBaseProps, DsSkeletonCircle, DsSkeletonCircleProps, DsSkeletonRect, DsSkeletonRectProps, DsSkeletonText, DsSkeletonTextProps, DsSmartTabProps, DsSmartTabs, DsSmartTabsProps, DsSpinner, DsSpinnerProps, DsSplitButton, DsSplitButtonProps, type DsSplitButtonSlotProps, DsStack, DsStackProps, type DsStatus, DsStatusBadge, type DsStatusBadgeProps, DsStep, DsStepContent, type DsStepContentProps, type DsStepProps, DsStepper, type DsStepperOrientation, type DsStepperProps, type DsStepperVariant, DsSystemStatus, DsSystemStatusProps, DsTable, DsTableApi, DsTableRowSize, DsTabs, DsTabsContentProps, DsTabsListProps, DsTabsMenuActionItem, DsTabsOrientation, DsTabsProps, DsTabsSize, DsTabsTabProps, DsTag, DsTagFilter, type DsTagFilterProps, type DsTagProps, DsTextInput, type DsTextInputProps, DsTextarea, DsTextareaProps, DsThreadItem, DsThreadItemProps, DsTimePicker, type DsTimePickerLocale, type DsTimePickerProps, type DsTimePickerSlotProps, type DsToastContextType, type DsToastProps, DsToastProvider, type DsToastProviderProps, DsToggle, type DsToggleProps, DsTooltip, DsTooltipProps, DsTree, DsTreeBaseProps, DsTreeBasePropsWithChildren, DsTreeBranchContentProps, DsTreeBranchControlProps, DsTreeBranchIndentGuideProps, DsTreeBranchIndicatorProps, DsTreeBranchProps, DsTreeBranchTextProps, DsTreeItemActionProps, DsTreeItemIndicatorProps, DsTreeItemProps, DsTreeItemTextProps, DsTreeNode, DsTreeNodeCheckboxProps, DsTreeRootProps, DsTreeSize, DsTreeTreeProps, DsTypography, DsTypographyProps, DsVerticalTabs, type DsVerticalTabsContentProps, type DsVerticalTabsListProps, type DsVerticalTabsRootProps, type DsVerticalTabsTabProps, DsWorkspace, type DsWorkspaceContentProps, type DsWorkspaceFooterProps, type DsWorkspaceHeaderProps, type DsWorkspaceProps, type DsWorkspaceSubHeaderProps, type DualRangeFilterAdapterConfig, type DualRangeFilterValue, FatalFileUploadError, type FileExtension, FileUpload, type FileUploadAdapter, FileUploadError, type FileUploadOptions, type FileUploadResult, FilterAdapter, type FilterAdapterConfig, FilterNavItem, FilterState, type FilterStatus, FilterTag, IconColor, IconName, IconSize, IconType, IconVariant, LoaderVariant, MaterialIconName, ProgressArcSize, ProgressArcVariant, ProgressDonutSize, ProgressDonutVariant, ProgressLinearSize, ProgressLinearVariant, type RangeFilterProps, type RangeFilterValue, type RangeValue, Responsive, ResponsiveValue, RetryableFileUploadError, type RowAction, type ScrollParams, type SecondaryRowAction, type SelectSize, SemanticVariant, SkeletonColorVariant, SkeletonRadiusVariant, SpinnerSize, type StatusBadgeSize, SystemStatus, type TagFilterItem, type TagSize, type TagVariant, type TextInputSize, type ToastVariant, type ToggleSize, TypographyColor, type UploadedFile, UseCheckboxSelectAllOptions, UseCheckboxSelectAllResult, type UseFileUploadReturn, type UseTableFiltersOptions, type UseTableFiltersResult, alertBannerVariants, breakpoints, buttonV3Colors, buttonV3Sizes, buttonV3Variants, cardSizes, checkboxVariants, colors, controlStatuses, createCheckboxFilterAdapter, createDsTreeCollection, createDualRangeFilterAdapter, createFilterAdapter, customIcons, dsKeyValuePairOrientations, dsTreeSizes, filterStatuses, formatTime, iconColors, iconSizes, iconVariants, isCustomIcon, isResponsiveValue, loaderVariants, progressArcSizes, progressArcVariants, progressDonutSizes, progressDonutVariants, progressLinearSizes, progressLinearVariants, resolveResponsiveValue, skeletonColorVariants, skeletonRadiusVariants, spinnerSizes, splitButtonSizes, systemStatuses, tagSizes, tagVariants, textInputSizes, useBreakpoint, useCheckboxSelectAll, useFileUpload, useResponsiveValue, useTableFilters, useToaster, withResponsiveProps };
|
|
13604
|
+
export { type AcceptedFileType, Action, AlertBannerVariant, AnyAdapter, BREAKPOINT_LG, Breakpoint, ButtonV3Color, ButtonV3Size, ButtonV3Variant, type CheckboxFilterAdapterConfig, type CheckboxFilterItem, type CheckboxFilterProps, CheckboxVariant, CheckedState, type ChipItem, type ChipSize, Color, ColumnFilterState, CommentAuthor, CommentData, CommentIndicatorType, CommentMessage, CommentsFilterState, ControlStatus, type CustomIconComponent, type CustomIconName, type DateRangeFormControlSlotProps, type DateRangePickerOrientation, type DateRangeValue, DropdownMenuItemVariant, DsAlertBanner, DsAlertBannerProps, DsAutocomplete, DsAutocompleteOption, DsAutocompleteProps, DsAvatar, DsAvatarGroup, DsAvatarGroupProps, DsAvatarProps, DsAvatarSize, DsAvatarType, DsBreadcrumb, DsBreadcrumbItem, DsBreadcrumbProps, DsButton, DsButtonUnifiedProps, DsButtonV3, DsButtonV3BaseProps, DsButtonV3Props, DsCard, type DsCardBodyProps, type DsCardFooterProps, type DsCardHeaderProps, type DsCardRootProps, type DsCardSize, DsCheckbox, DsCheckboxGroup, DsCheckboxGroupOrientation, DsCheckboxGroupProps, DsCheckboxProps, DsChip, DsChipGroup, type DsChipGroupProps, type DsChipProps, DsCommentBubble, DsCommentBubbleProps, DsCommentCard, DsCommentCardProps, DsCommentIndicator, DsCommentIndicatorProps, DsCommentThread, DsCommentThreadProps, DsCommentsDrawer, DsCommentsDrawerProps, DsConfirmation, type DsConfirmationProps, DsDataTableProps, DsDateInput, type DsDateInputProps, DsDatePicker, type DsDatePickerLocale, type DsDatePickerProps, type DsDatePickerSlotProps, DsDateRangePicker, type DsDateRangePickerLocale, type DsDateRangePickerProps, type DsDateRangePickerSlotProps, DsDialog, DsDialogProps, DsDivider, DsDividerProps, DsDrawer, type DsDrawerColumns, type DsDrawerPosition, type DsDrawerProps, DsDropdownMenu, DsDropdownMenuActionsProps, DsDropdownMenuContentProps, DsDropdownMenuHeaderProps, DsDropdownMenuItemGroupContentProps, DsDropdownMenuItemGroupLabelProps, DsDropdownMenuItemGroupProps, DsDropdownMenuItemIndicatorProps, DsDropdownMenuItemProps, DsDropdownMenuLegacy, DsDropdownMenuLegacyProps, DsDropdownMenuOptionLegacy, DsDropdownMenuPositioning, DsDropdownMenuRootProps, DsDropdownMenuSeparatorProps, DsDropdownMenuTriggerItemProps, DsDropdownMenuTriggerProps, DsExpandableTextInput, type DsExpandableTextInputProps, DsFileUpload, DsFileUploadProps, DsFilterStatusIcon, type DsFilterStatusIconProps, DsFormControl, DsFormControlDescriptionProps, DsFormControlProps, DsGrid, DsGridItem, DsGridItemProps, DsGridProps, DsIcon, DsIconProps, DsKeyValuePair, type DsKeyValuePairOrientation, type DsKeyValuePairProps, DsLoader, DsLoaderProps, DsModal, DsModalColumns, DsModalProps, DsNextStepButton, type DsNextStepButtonProps, DsNumberInput, DsNumberInputProps, DsPanel, type DsPanelCollapseButtonProps, type DsPanelProps, type DsPanelVariant, DsPasswordInput, DsPasswordInputProps, DsPopover, DsPopoverProps, DsProgressArc, DsProgressArcProps, DsProgressDonut, DsProgressDonutProps, DsProgressLinear, DsProgressLinearProps, DsRadioGroup, DsRadioGroupItemProps, DsRadioGroupLegacy, DsRadioGroupLegacyProps, DsRadioGroupRootProps, DsRadioOptionLegacy, DsSegmentGroup, DsSegmentGroupItemProps, DsSegmentGroupItemTextProps, DsSegmentGroupRootProps, DsSegmentGroupSize, DsSelect, type DsSelectOption, type DsSelectProps, _default as DsSkeleton, DsSkeletonBaseProps, DsSkeletonCircle, DsSkeletonCircleProps, DsSkeletonRect, DsSkeletonRectProps, DsSkeletonText, DsSkeletonTextProps, DsSmartTabProps, DsSmartTabs, DsSmartTabsProps, DsSpinner, DsSpinnerProps, DsSplitButton, DsSplitButtonProps, type DsSplitButtonSlotProps, DsStack, DsStackProps, type DsStatus, DsStatusBadge, type DsStatusBadgeProps, DsStep, DsStepContent, type DsStepContentProps, type DsStepProps, DsStepper, type DsStepperOrientation, type DsStepperProps, type DsStepperVariant, DsSystemStatus, DsSystemStatusProps, DsTable, DsTableApi, DsTableRowSize, DsTabs, DsTabsContentProps, DsTabsListProps, DsTabsMenuActionItem, DsTabsOrientation, DsTabsProps, DsTabsSize, DsTabsTabProps, DsTag, DsTagFilter, type DsTagFilterProps, type DsTagProps, DsTextInput, type DsTextInputProps, DsTextarea, DsTextareaProps, DsThreadItem, DsThreadItemProps, DsTimePicker, type DsTimePickerLocale, type DsTimePickerProps, type DsTimePickerSlotProps, type DsToastContextType, type DsToastProps, DsToastProvider, type DsToastProviderProps, DsToggle, type DsToggleProps, DsTooltip, DsTooltipProps, DsTree, DsTreeBaseProps, DsTreeBasePropsWithChildren, DsTreeBranchContentProps, DsTreeBranchControlProps, DsTreeBranchIndentGuideProps, DsTreeBranchIndicatorProps, DsTreeBranchProps, DsTreeBranchTextProps, DsTreeItemActionProps, DsTreeItemIndicatorProps, DsTreeItemProps, DsTreeItemTextProps, DsTreeNode, DsTreeNodeCheckboxProps, DsTreeRootProps, DsTreeSize, DsTreeTreeProps, DsTypography, DsTypographyProps, DsVerticalTabs, type DsVerticalTabsContentProps, type DsVerticalTabsListProps, type DsVerticalTabsRootProps, type DsVerticalTabsTabProps, DsWorkspace, type DsWorkspaceContentProps, type DsWorkspaceFooterProps, type DsWorkspaceHeaderProps, type DsWorkspaceProps, type DsWorkspaceSubHeaderProps, type DualRangeFilterAdapterConfig, type DualRangeFilterValue, FatalFileUploadError, type FileExtension, FileUpload, type FileUploadAdapter, FileUploadError, type FileUploadOptions, type FileUploadResult, FilterAdapter, type FilterAdapterConfig, FilterNavItem, FilterState, type FilterStatus, FilterTag, IconColor, IconName, IconSize, IconType, IconVariant, LoaderVariant, MaterialIconName, ProgressArcSize, ProgressArcVariant, ProgressDonutSize, ProgressDonutVariant, ProgressLinearSize, ProgressLinearVariant, type RangeFilterProps, type RangeFilterValue, type RangeValue, Responsive, ResponsiveValue, RetryableFileUploadError, type RowAction, type ScrollParams, type SecondaryRowAction, type SelectSize, SemanticVariant, SkeletonColorVariant, SkeletonRadiusVariant, SpinnerSize, type StatusBadgeSize, SystemStatus, type TagFilterItem, type TagSize, type TagVariant, type TextInputSize, type ToastVariant, type ToggleSize, TypographyColor, type UploadedFile, UseCheckboxSelectAllOptions, UseCheckboxSelectAllResult, type UseFileUploadReturn, type UseTableFiltersOptions, type UseTableFiltersResult, alertBannerVariants, breakpoints, buttonV3Colors, buttonV3Sizes, buttonV3Variants, cardSizes, checkboxVariants, colors, controlStatuses, createCheckboxFilterAdapter, createDsTreeCollection, createDualRangeFilterAdapter, createFilterAdapter, customIcons, dropdownMenuItemVariants, dsKeyValuePairOrientations, dsTreeSizes, filterStatuses, formatTime, iconColors, iconSizes, iconVariants, isCustomIcon, isResponsiveValue, loaderVariants, progressArcSizes, progressArcVariants, progressDonutSizes, progressDonutVariants, progressLinearSizes, progressLinearVariants, resolveResponsiveValue, skeletonColorVariants, skeletonRadiusVariants, spinnerSizes, splitButtonSizes, systemStatuses, tagSizes, tagVariants, textInputSizes, useBreakpoint, useCheckboxSelectAll, useFileUpload, useResponsiveValue, useTableFilters, useToaster, withResponsiveProps };
|
|
13597
13605
|
//# sourceMappingURL=index.d.cts.map
|