@drivenets/design-system 0.13.0 → 0.14.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 +16 -0
- package/dist/index.cjs +791 -326
- package/dist/index.d.cts +265 -21
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.ts +265 -21
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +789 -326
- package/dist/index.js.map +1 -1
- package/dist/index.min.css +1 -1
- package/package.json +13 -11
- package/src/components/ds-button-v3/ds-button-v3.figma.ts +99 -0
- package/src/components/ds-button-v3/ds-button-v3.module.scss +22 -22
- package/src/components/ds-card/figma/ds-card-content.figma.ts +15 -0
- package/src/components/ds-card/figma/ds-card-footer.figma.ts +15 -0
- package/src/components/ds-card/figma/ds-card-header.figma.ts +15 -0
- package/src/components/ds-card/figma/ds-card.figma.ts +72 -0
- package/src/components/ds-date-picker/ds-date-picker.figma.ts +19 -0
- package/src/components/ds-form-control/ds-form-control.figma.ts +76 -0
- package/src/components/ds-icon/figma/ds-icon-material.figma.batch.ts +10 -0
- package/src/components/ds-icon/figma/ds-icon-special.figma.batch.ts +18 -0
- package/src/components/ds-icon/figma/ds-icon.figma.batch.json +2873 -0
- package/src/components/ds-modal/figma/ds-modal-content.figma.ts +18 -0
- package/src/components/ds-modal/figma/ds-modal-footer.figma.ts +19 -0
- package/src/components/ds-modal/figma/ds-modal-header.figma.ts +21 -0
- package/src/components/ds-modal/figma/ds-modal.figma.ts +36 -0
- package/src/components/ds-popover/ds-popover.module.scss +58 -16
- package/src/components/ds-popover/ds-popover.tsx +148 -24
- package/src/components/ds-popover/ds-popover.types.ts +95 -12
- package/src/components/ds-popover/index.ts +1 -1
- package/src/components/ds-select/ds-select.figma.ts +53 -0
- package/src/components/ds-split-button/ds-split-button.figma.ts +95 -0
- package/src/components/ds-status-badge-v2/ds-status-badge-v2.figma.ts +41 -0
- package/src/components/ds-table/components/ds-table-body-virtualized/ds-table-body-virtualized.tsx +8 -3
- package/src/components/ds-table/components/ds-table-group-header-cell/ds-table-group-header-cell.module.scss +31 -0
- package/src/components/ds-table/components/ds-table-group-header-cell/ds-table-group-header-cell.tsx +48 -0
- package/src/components/ds-table/components/ds-table-group-header-cell/ds-table-group-header-cell.types.ts +12 -0
- package/src/components/ds-table/components/ds-table-group-header-cell/index.ts +2 -0
- package/src/components/ds-table/components/ds-table-header/ds-table-header.module.scss +4 -0
- package/src/components/ds-table/components/ds-table-header/ds-table-header.tsx +55 -39
- package/src/components/ds-table/components/ds-table-row/ds-table-row.module.scss +4 -0
- package/src/components/ds-table/components/ds-table-row/ds-table-row.tsx +2 -0
- package/src/components/ds-table/components/ds-table-row-virtualized/ds-table-row-virtualized.module.scss +4 -0
- package/src/components/ds-table/components/ds-table-row-virtualized/ds-table-row-virtualized.tsx +2 -0
- package/src/components/ds-table/context/ds-table-context.ts +4 -0
- package/src/components/ds-table/ds-table.tsx +20 -2
- package/src/components/ds-table/ds-table.types.ts +55 -0
- package/src/components/ds-table/figma/ds-table-expandable.figma.ts +17 -0
- package/src/components/ds-table/figma/ds-table.figma.ts +16 -0
- package/src/components/ds-table/grouping/hooks/use-column-groups.ts +73 -0
- package/src/components/ds-table/grouping/index.ts +5 -0
- package/src/components/ds-table/grouping/types/column-group-meta.augmentation.ts +26 -0
- package/src/components/ds-table/grouping/types/column-group.types.ts +35 -0
- package/src/components/ds-table/grouping/utils/column-group.ts +119 -0
- package/src/components/ds-table/index.ts +3 -0
- package/src/components/ds-table/styles/_variables.scss +1 -0
- package/src/components/ds-tag/ds-tag.module.scss +22 -1
- package/src/components/ds-tag/ds-tag.tsx +16 -3
- package/src/components/ds-tag/ds-tag.types.ts +22 -8
- package/src/components/ds-tag/ds-tag.unit.test.ts +32 -0
- package/src/components/ds-tag-filter/ds-tag-filter.tsx +14 -22
- package/src/components/ds-text-input/ds-text-input.figma.ts +60 -0
- package/src/components/ds-time-picker/ds-time-picker.figma.ts +18 -0
- package/src/styles/_root_new.scss +2 -0
- package/src/styles/_scrollbars.scss +27 -50
package/dist/index.d.ts
CHANGED
|
@@ -10919,31 +10919,157 @@ declare const DsPanel: {
|
|
|
10919
10919
|
};
|
|
10920
10920
|
//#endregion
|
|
10921
10921
|
//#region src/components/ds-popover/ds-popover.types.d.ts
|
|
10922
|
-
|
|
10922
|
+
declare const popoverSides: readonly ['top', 'right', 'bottom', 'left'];
|
|
10923
|
+
type DsPopoverSide = (typeof popoverSides)[number];
|
|
10924
|
+
declare const popoverAligns: readonly ['start', 'center', 'end'];
|
|
10925
|
+
type DsPopoverAlign = (typeof popoverAligns)[number];
|
|
10926
|
+
interface DsPopoverRootProps {
|
|
10927
|
+
/** Controlled open state. Pair with `onOpenChange`. */
|
|
10928
|
+
open?: boolean;
|
|
10929
|
+
/** Initial open state when uncontrolled. */
|
|
10930
|
+
defaultOpen?: boolean;
|
|
10923
10931
|
/**
|
|
10924
|
-
*
|
|
10932
|
+
* Preferred side of the trigger to render the panel against.
|
|
10933
|
+
* @default 'bottom'
|
|
10925
10934
|
*/
|
|
10926
|
-
|
|
10935
|
+
side?: DsPopoverSide;
|
|
10927
10936
|
/**
|
|
10928
|
-
*
|
|
10937
|
+
* Alignment of the panel along the trigger edge.
|
|
10938
|
+
* @default 'center'
|
|
10929
10939
|
*/
|
|
10930
|
-
|
|
10940
|
+
align?: DsPopoverAlign;
|
|
10931
10941
|
/**
|
|
10932
|
-
*
|
|
10942
|
+
* Gap in pixels between the trigger and the panel.
|
|
10943
|
+
* @default 8
|
|
10933
10944
|
*/
|
|
10934
|
-
|
|
10945
|
+
gutter?: number;
|
|
10935
10946
|
/**
|
|
10936
|
-
*
|
|
10947
|
+
* Trap focus and block interaction with elements outside the panel.
|
|
10948
|
+
* @default false
|
|
10937
10949
|
*/
|
|
10938
|
-
|
|
10950
|
+
modal?: boolean;
|
|
10951
|
+
children: ReactNode;
|
|
10952
|
+
/** Fires when the popover opens or closes. */
|
|
10953
|
+
onOpenChange?: (open: boolean) => void;
|
|
10954
|
+
}
|
|
10955
|
+
interface DsPopoverTriggerProps {
|
|
10956
|
+
/** Single focusable element that toggles the popover. */
|
|
10957
|
+
children: ReactNode;
|
|
10958
|
+
className?: string;
|
|
10959
|
+
}
|
|
10960
|
+
interface DsPopoverPanelProps {
|
|
10939
10961
|
/**
|
|
10940
|
-
*
|
|
10962
|
+
* Panel width in pixels.
|
|
10963
|
+
* @default 400
|
|
10941
10964
|
*/
|
|
10942
|
-
|
|
10965
|
+
width?: number;
|
|
10966
|
+
className?: string;
|
|
10967
|
+
style?: CSSProperties;
|
|
10968
|
+
children: ReactNode;
|
|
10969
|
+
ref?: Ref<HTMLDivElement>;
|
|
10970
|
+
'aria-label'?: string;
|
|
10971
|
+
}
|
|
10972
|
+
interface DsPopoverHeaderProps {
|
|
10973
|
+
/** Leading visual (e.g. a colored task-type icon) rendered before the title. */
|
|
10974
|
+
icon?: ReactNode;
|
|
10975
|
+
className?: string;
|
|
10976
|
+
style?: CSSProperties;
|
|
10977
|
+
/** Title content, exposed as the popover's accessible name. */
|
|
10978
|
+
children: ReactNode;
|
|
10979
|
+
}
|
|
10980
|
+
interface DsPopoverContentProps {
|
|
10981
|
+
className?: string;
|
|
10982
|
+
style?: CSSProperties;
|
|
10983
|
+
/** Ordered `DsPopover.ContentItem` children. Compose `DsDivider` between them for visual separation. */
|
|
10984
|
+
children: ReactNode;
|
|
10985
|
+
}
|
|
10986
|
+
interface DsPopoverContentItemProps {
|
|
10987
|
+
/** Status badge shown in the item's header row. */
|
|
10988
|
+
status?: ReactNode;
|
|
10989
|
+
/** Bold headline text shown in the item's header row. */
|
|
10990
|
+
headline?: ReactNode;
|
|
10991
|
+
className?: string;
|
|
10992
|
+
style?: CSSProperties;
|
|
10993
|
+
/** Item body — text, avatar rows, icons, images, etc. */
|
|
10994
|
+
children?: ReactNode;
|
|
10995
|
+
}
|
|
10996
|
+
interface DsPopoverFooterProps {
|
|
10997
|
+
className?: string;
|
|
10998
|
+
style?: CSSProperties;
|
|
10999
|
+
/** Footer actions, typically a single secondary CTA button. */
|
|
11000
|
+
children: ReactNode;
|
|
11001
|
+
}
|
|
11002
|
+
/**
|
|
11003
|
+
* Props for the legacy single-element call form (`<DsPopover trigger=… />`).
|
|
11004
|
+
* @deprecated Use the compound API: `DsPopover.Root` + `DsPopover.Trigger` + `DsPopover.Panel`.
|
|
11005
|
+
*/
|
|
11006
|
+
interface DsPopoverProps {
|
|
11007
|
+
/** Element that toggles the popover. */
|
|
11008
|
+
trigger: ReactNode;
|
|
11009
|
+
/** Panel content. */
|
|
11010
|
+
children: ReactNode;
|
|
11011
|
+
/** Forwarded to the panel. */
|
|
11012
|
+
className?: string;
|
|
11013
|
+
/** @default 'center' */
|
|
11014
|
+
align?: DsPopoverAlign;
|
|
11015
|
+
/** @default 'top' */
|
|
11016
|
+
side?: DsPopoverSide;
|
|
10943
11017
|
}
|
|
10944
11018
|
//#endregion
|
|
10945
11019
|
//#region src/components/ds-popover/ds-popover.d.ts
|
|
10946
|
-
declare const DsPopover:
|
|
11020
|
+
declare const DsPopover: (({
|
|
11021
|
+
trigger,
|
|
11022
|
+
children,
|
|
11023
|
+
className,
|
|
11024
|
+
side,
|
|
11025
|
+
align
|
|
11026
|
+
}: DsPopoverProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
11027
|
+
Root: ({
|
|
11028
|
+
open,
|
|
11029
|
+
defaultOpen,
|
|
11030
|
+
side,
|
|
11031
|
+
align,
|
|
11032
|
+
gutter,
|
|
11033
|
+
modal,
|
|
11034
|
+
children,
|
|
11035
|
+
onOpenChange
|
|
11036
|
+
}: DsPopoverRootProps) => import("react/jsx-runtime").JSX.Element;
|
|
11037
|
+
Trigger: ({
|
|
11038
|
+
children,
|
|
11039
|
+
className
|
|
11040
|
+
}: DsPopoverTriggerProps) => import("react/jsx-runtime").JSX.Element;
|
|
11041
|
+
Panel: ({
|
|
11042
|
+
width,
|
|
11043
|
+
className,
|
|
11044
|
+
style,
|
|
11045
|
+
children,
|
|
11046
|
+
ref,
|
|
11047
|
+
'aria-label': ariaLabel
|
|
11048
|
+
}: DsPopoverPanelProps) => import("react/jsx-runtime").JSX.Element;
|
|
11049
|
+
Header: ({
|
|
11050
|
+
icon,
|
|
11051
|
+
className,
|
|
11052
|
+
style,
|
|
11053
|
+
children
|
|
11054
|
+
}: DsPopoverHeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
11055
|
+
Content: ({
|
|
11056
|
+
className,
|
|
11057
|
+
style,
|
|
11058
|
+
children
|
|
11059
|
+
}: DsPopoverContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
11060
|
+
ContentItem: ({
|
|
11061
|
+
status,
|
|
11062
|
+
headline,
|
|
11063
|
+
className,
|
|
11064
|
+
style,
|
|
11065
|
+
children
|
|
11066
|
+
}: DsPopoverContentItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
11067
|
+
Footer: ({
|
|
11068
|
+
className,
|
|
11069
|
+
style,
|
|
11070
|
+
children
|
|
11071
|
+
}: DsPopoverFooterProps) => import("react/jsx-runtime").JSX.Element;
|
|
11072
|
+
};
|
|
10947
11073
|
//#endregion
|
|
10948
11074
|
//#region src/components/ds-progress-arc/ds-progress-arc.types.d.ts
|
|
10949
11075
|
declare const progressArcSizes: readonly ['small', 'medium'];
|
|
@@ -12067,6 +12193,63 @@ interface DsSystemStatusProps {
|
|
|
12067
12193
|
*/
|
|
12068
12194
|
declare const DsSystemStatus: React$1.FC<DsSystemStatusProps>;
|
|
12069
12195
|
//#endregion
|
|
12196
|
+
//#region src/components/ds-table/grouping/types/column-group.types.d.ts
|
|
12197
|
+
/**
|
|
12198
|
+
* Configuration for a grouping column, set on a column definition that nests
|
|
12199
|
+
* child columns via TanStack's `columns` array. Lives under `meta.group`.
|
|
12200
|
+
*
|
|
12201
|
+
* @example
|
|
12202
|
+
* ```tsx
|
|
12203
|
+
* const columns: ColumnDef<Row>[] = [
|
|
12204
|
+
* {
|
|
12205
|
+
* id: 'equipment',
|
|
12206
|
+
* header: 'Equipment',
|
|
12207
|
+
* meta: { group: { collapsible: true } },
|
|
12208
|
+
* columns: [
|
|
12209
|
+
* { accessorKey: 'cabinetType', header: 'Cabinet Type', meta: { keepVisibleWhenCollapsed: true } },
|
|
12210
|
+
* { accessorKey: 'shelf', header: 'Shelf#' },
|
|
12211
|
+
* ],
|
|
12212
|
+
* },
|
|
12213
|
+
* ];
|
|
12214
|
+
* ```
|
|
12215
|
+
*/
|
|
12216
|
+
interface DsColumnGroupMeta {
|
|
12217
|
+
/**
|
|
12218
|
+
* Renders a collapse/expand toggle in the group header. When collapsed, every
|
|
12219
|
+
* leaf column in the group is hidden except those marked
|
|
12220
|
+
* `meta.keepVisibleWhenCollapsed`.
|
|
12221
|
+
* @default false
|
|
12222
|
+
*/
|
|
12223
|
+
collapsible?: boolean;
|
|
12224
|
+
/**
|
|
12225
|
+
* When the table manages collapse state internally (uncontrolled), start this
|
|
12226
|
+
* group collapsed. Ignored once `collapsedColumnGroups` is provided.
|
|
12227
|
+
* @default false
|
|
12228
|
+
*/
|
|
12229
|
+
defaultCollapsed?: boolean;
|
|
12230
|
+
}
|
|
12231
|
+
//#endregion
|
|
12232
|
+
//#region src/components/ds-table/grouping/types/column-group-meta.augmentation.d.ts
|
|
12233
|
+
declare module '@tanstack/react-table' {
|
|
12234
|
+
interface ColumnMeta<TData, TValue> {
|
|
12235
|
+
/**
|
|
12236
|
+
* Set on a grouping column def (one that nests child `columns`) to configure
|
|
12237
|
+
* the group header and its collapse behavior.
|
|
12238
|
+
*/
|
|
12239
|
+
group?: DsColumnGroupMeta;
|
|
12240
|
+
/**
|
|
12241
|
+
* Set on a leaf column to keep it visible while its parent group is collapsed
|
|
12242
|
+
* (e.g. a key identifier column that should always stay on screen).
|
|
12243
|
+
*
|
|
12244
|
+
* Only affects the collapsed state. When `false` or omitted (the default),
|
|
12245
|
+
* the column is hidden while the group is collapsed and shown again when the
|
|
12246
|
+
* group is expanded — it is never permanently hidden by this flag.
|
|
12247
|
+
* @default false
|
|
12248
|
+
*/
|
|
12249
|
+
keepVisibleWhenCollapsed?: boolean;
|
|
12250
|
+
}
|
|
12251
|
+
}
|
|
12252
|
+
//#endregion
|
|
12070
12253
|
//#region src/components/ds-table/components/ds-table-cell/ds-table-cell.types.d.ts
|
|
12071
12254
|
/**
|
|
12072
12255
|
* Represents an action that can be performed on a single row
|
|
@@ -12182,15 +12365,15 @@ interface InfiniteScrollConfig {
|
|
|
12182
12365
|
//#region src/components/ds-tag/ds-tag.types.d.ts
|
|
12183
12366
|
declare const tagSizes: readonly ['medium', 'small'];
|
|
12184
12367
|
type TagSize = (typeof tagSizes)[number];
|
|
12185
|
-
declare const tagVariants: readonly ['default', 'include', 'exclude'];
|
|
12368
|
+
declare const tagVariants: readonly ['default', 'include', 'exclude', 'key-value'];
|
|
12186
12369
|
type TagVariant = (typeof tagVariants)[number];
|
|
12187
|
-
interface
|
|
12370
|
+
interface DsTagBaseProps {
|
|
12188
12371
|
/**
|
|
12189
12372
|
* Ref to the tag element
|
|
12190
12373
|
*/
|
|
12191
12374
|
ref?: Ref<HTMLElement>;
|
|
12192
12375
|
/**
|
|
12193
|
-
* The label text to display in the tag
|
|
12376
|
+
* The label text to display in the tag. For the `key-value` variant this is the key.
|
|
12194
12377
|
*/
|
|
12195
12378
|
label: ReactNode;
|
|
12196
12379
|
/**
|
|
@@ -12228,11 +12411,6 @@ interface DsTagProps {
|
|
|
12228
12411
|
* @default false
|
|
12229
12412
|
*/
|
|
12230
12413
|
selected?: boolean;
|
|
12231
|
-
/**
|
|
12232
|
-
* Variant of the tag
|
|
12233
|
-
* @default 'default'
|
|
12234
|
-
*/
|
|
12235
|
-
variant?: TagVariant;
|
|
12236
12414
|
/**
|
|
12237
12415
|
* Whether the tag is disabled
|
|
12238
12416
|
* @default false
|
|
@@ -12248,6 +12426,22 @@ interface DsTagProps {
|
|
|
12248
12426
|
icon?: ReactNode;
|
|
12249
12427
|
};
|
|
12250
12428
|
}
|
|
12429
|
+
interface DsTagStandardProps extends DsTagBaseProps {
|
|
12430
|
+
/**
|
|
12431
|
+
* Variant of the tag
|
|
12432
|
+
* @default 'default'
|
|
12433
|
+
*/
|
|
12434
|
+
variant?: 'default' | 'include' | 'exclude';
|
|
12435
|
+
value?: never;
|
|
12436
|
+
}
|
|
12437
|
+
interface DsTagKeyValueProps extends DsTagBaseProps {
|
|
12438
|
+
variant: 'key-value';
|
|
12439
|
+
/**
|
|
12440
|
+
* Secondary-colored value rendered after the key (`label`). Required for the `key-value` variant.
|
|
12441
|
+
*/
|
|
12442
|
+
value: ReactNode;
|
|
12443
|
+
}
|
|
12444
|
+
type DsTagProps = DsTagStandardProps | DsTagKeyValueProps;
|
|
12251
12445
|
//#endregion
|
|
12252
12446
|
//#region src/components/ds-tag/ds-tag.d.ts
|
|
12253
12447
|
/**
|
|
@@ -12256,6 +12450,7 @@ interface DsTagProps {
|
|
|
12256
12450
|
declare const DsTag: ({
|
|
12257
12451
|
ref,
|
|
12258
12452
|
label,
|
|
12453
|
+
value,
|
|
12259
12454
|
className,
|
|
12260
12455
|
style,
|
|
12261
12456
|
size,
|
|
@@ -12671,6 +12866,25 @@ declare module '@tanstack/react-table' {
|
|
|
12671
12866
|
* Row size variants based on Figma design specifications
|
|
12672
12867
|
*/
|
|
12673
12868
|
type DsTableRowSize = 'small' | 'medium' | 'large';
|
|
12869
|
+
/**
|
|
12870
|
+
* Overridable, user-facing strings used by the table (e.g. accessible labels for
|
|
12871
|
+
* the column-group collapse toggle). Pass a partial object via the `locale` prop
|
|
12872
|
+
* to localize.
|
|
12873
|
+
*/
|
|
12874
|
+
interface DsTableLocale {
|
|
12875
|
+
/**
|
|
12876
|
+
* Accessible label for the toggle that collapses a column group.
|
|
12877
|
+
*/
|
|
12878
|
+
collapseColumnGroup: string;
|
|
12879
|
+
/**
|
|
12880
|
+
* Accessible label for the toggle that expands a column group.
|
|
12881
|
+
*/
|
|
12882
|
+
expandColumnGroup: string;
|
|
12883
|
+
}
|
|
12884
|
+
/**
|
|
12885
|
+
* Default English strings for {@link DsTableLocale}.
|
|
12886
|
+
*/
|
|
12887
|
+
declare const defaultDsTableLocale: DsTableLocale;
|
|
12674
12888
|
/**
|
|
12675
12889
|
* API for programmatically controlling a DsTable component.
|
|
12676
12890
|
* This interface provides methods to interact with the table's selection, sorting, filtering, and pagination features.
|
|
@@ -13047,6 +13261,33 @@ interface DsDataTableProps<TData, TValue> {
|
|
|
13047
13261
|
* Callback when column visibility changes
|
|
13048
13262
|
*/
|
|
13049
13263
|
onColumnVisibilityChange?: (visibility: VisibilityState) => void;
|
|
13264
|
+
/**
|
|
13265
|
+
* Controlled list of collapsed column-group ids. A group is collapsible when its
|
|
13266
|
+
* column def sets `meta.group.collapsible`; collapsing hides every leaf column in
|
|
13267
|
+
* the group except those marked `meta.keepVisibleWhenCollapsed`. Omit for
|
|
13268
|
+
* uncontrolled behavior (seeded from `meta.group.defaultCollapsed`).
|
|
13269
|
+
*
|
|
13270
|
+
* @example
|
|
13271
|
+
* ```tsx
|
|
13272
|
+
* const [collapsed, setCollapsed] = useState<string[]>(['equipment']);
|
|
13273
|
+
*
|
|
13274
|
+
* <DsTable
|
|
13275
|
+
* collapsedColumnGroups={collapsed}
|
|
13276
|
+
* onCollapsedColumnGroupsChange={setCollapsed}
|
|
13277
|
+
* />
|
|
13278
|
+
* ```
|
|
13279
|
+
*/
|
|
13280
|
+
collapsedColumnGroups?: string[];
|
|
13281
|
+
/**
|
|
13282
|
+
* Callback fired with the next list of collapsed group ids when a group's
|
|
13283
|
+
* collapse toggle is clicked.
|
|
13284
|
+
*/
|
|
13285
|
+
onCollapsedColumnGroupsChange?: (collapsedGroupIds: string[]) => void;
|
|
13286
|
+
/**
|
|
13287
|
+
* Overrides for user-facing strings (e.g. column-group toggle labels). Merged
|
|
13288
|
+
* over the built-in English defaults.
|
|
13289
|
+
*/
|
|
13290
|
+
locale?: Partial<DsTableLocale>;
|
|
13050
13291
|
/**
|
|
13051
13292
|
* Callback fired when an editable cell commits a new value via one of the
|
|
13052
13293
|
* `DsTableEditCell*` wrappers or the `useCellEditor` hook. The parent is
|
|
@@ -13134,6 +13375,9 @@ declare const DsTable: <TData extends {
|
|
|
13134
13375
|
onColumnFiltersChange,
|
|
13135
13376
|
columnVisibility: externalColumnVisibility,
|
|
13136
13377
|
onColumnVisibilityChange,
|
|
13378
|
+
collapsedColumnGroups: externalCollapsedColumnGroups,
|
|
13379
|
+
onCollapsedColumnGroupsChange,
|
|
13380
|
+
locale,
|
|
13137
13381
|
activeRowId,
|
|
13138
13382
|
infiniteScroll,
|
|
13139
13383
|
onCellEdit,
|
|
@@ -14003,5 +14247,5 @@ declare namespace DsWorkspaceLayout {
|
|
|
14003
14247
|
}: DsWorkspaceLayoutLeftPanelProps) => import("react/jsx-runtime").JSX.Element;
|
|
14004
14248
|
}
|
|
14005
14249
|
//#endregion
|
|
14006
|
-
export { type AcceptedFileType, Action, AlertBannerVariant, AnyAdapter, BREAKPOINT_LG, Breakpoint, ButtonV3Color, ButtonV3Size, ButtonV3Variant, type CheckboxFilterAdapterConfig, type CheckboxFilterItem, type CheckboxFilterProps, CheckboxVariant, type CheckedState, type ChipItem, type ChipSize, Color, ColumnFilterMeta, type ColumnFilterPopoverLocale, 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, DsCatalogLayout, type DsCatalogLayoutBodyProps, type DsCatalogLayoutContentHeaderProps, type DsCatalogLayoutContentProps, type DsCatalogLayoutHeaderProps, type DsCatalogLayoutProps, type DsCatalogLayoutSideMenuProps, 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, DsStatusBadgeV2, type DsStatusBadgeV2BaseProps, type DsStatusBadgeV2Props, DsStep, DsStepContent, type DsStepContentProps, type DsStepProps, DsStepper, type DsStepperOrientation, type DsStepperProps, type DsStepperVariant, DsSystemStatus, DsSystemStatusProps, DsTable, DsTableApi, DsTableColumnFilterPopover, type DsTableColumnFilterPopoverProps, DsTableEditCellCheckbox, type DsTableEditCellCheckboxProps, DsTableEditCellDate, type DsTableEditCellDateProps, type DsTableEditCellDateValue, DsTableEditCellNumber, type DsTableEditCellNumberProps, DsTableEditCellSelect, type DsTableEditCellSelectProps, DsTableEditCellText, type DsTableEditCellTextProps, DsTableEditableCell, type DsTableEditableCellProps, DsTableEditingCell, type DsTableEditingCellProps, DsTableRowSize, DsTabs, type DsTabsContentProps, type DsTabsListProps, type DsTabsMenuActionItem, type DsTabsOrientation, type DsTabsProps, type DsTabsSize, type 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, type DsTreeBaseProps, type DsTreeBasePropsWithChildren, type DsTreeBranchContentProps, type DsTreeBranchControlProps, type DsTreeBranchIndentGuideProps, type DsTreeBranchIndicatorProps, type DsTreeBranchProps, type DsTreeBranchTextProps, type DsTreeItemActionProps, type DsTreeItemIndicatorProps, type DsTreeItemProps, type DsTreeItemTextProps, type DsTreeNode, type DsTreeNodeCheckboxProps, type DsTreeRootProps, type DsTreeSize, type DsTreeTreeProps, DsTypography, DsTypographyProps, DsVerticalTabs, type DsVerticalTabsContentProps, type DsVerticalTabsListProps, type DsVerticalTabsRootProps, type DsVerticalTabsTabProps, DsWorkspaceLayout, type DsWorkspaceLayoutBodyProps, type DsWorkspaceLayoutContentProps, type DsWorkspaceLayoutFooterProps, type DsWorkspaceLayoutHeaderProps, type DsWorkspaceLayoutLeftPanelProps, type DsWorkspaceLayoutProps, type DsWorkspaceLayoutSideMenuProps, type DsWorkspaceLayoutSubHeaderProps, 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, type InfiniteScrollConfig, LoaderVariant, MaterialIconName, ProgressArcSize, ProgressArcVariant, ProgressDonutSize, ProgressDonutVariant, ProgressLinearSize, ProgressLinearVariant, type RangeFilterProps, type RangeFilterValue, type RangeValue, ResolvedColumnFilter, Responsive, ResponsiveValue, RetryableFileUploadError, type RowAction, type ScrollParams, type SecondaryRowAction, type SelectSize, SemanticVariant, SkeletonColorVariant, SkeletonRadiusVariant, SpinnerSize, type StatusBadgeSize, type StatusBadgeV2Phase, type StatusBadgeV2Size, type StatusBadgeV2Variant, SystemStatus, type TagFilterItem, type TagSize, type TagVariant, type TextInputSize, type ToastVariant, type ToggleSize, TypographyColor, type UploadedFile, type UseCellEditorContainerProps, type UseCellEditorOptions, type UseCellEditorResult, type UseCheckboxSelectAllOptions, type UseCheckboxSelectAllResult, type UseFileUploadReturn, type UseTableFiltersOptions, type UseTableFiltersResult, alertBannerVariants, breakpoints, buttonV3Colors, buttonV3Sizes, buttonV3Variants, cardSizes, checkboxVariants, colors, controlStatuses, createCheckboxFilterAdapter, createDsTreeCollection, createDualRangeFilterAdapter, createFilterAdapter, customIcons, dropdownMenuItemVariants, dsKeyValuePairOrientations, type dsTreeSizes, filterStatuses, formatTime, iconColors, iconSizes, iconVariants, isCustomIcon, isResponsiveValue, loaderVariants, progressArcSizes, progressArcVariants, progressDonutSizes, progressDonutVariants, progressLinearSizes, progressLinearVariants, resolveResponsiveValue, skeletonColorVariants, skeletonRadiusVariants, spinnerSizes, splitButtonSizes, statusBadgeV2Phases, statusBadgeV2Sizes, statusBadgeV2Variants, systemStatuses, tagSizes, tagVariants, textInputSizes, useBreakpoint, useCellEditor, useCheckboxSelectAll, useFileUpload, useResponsiveValue, useTableFilters, useToaster, withResponsiveProps };
|
|
14250
|
+
export { type AcceptedFileType, Action, AlertBannerVariant, AnyAdapter, BREAKPOINT_LG, Breakpoint, ButtonV3Color, ButtonV3Size, ButtonV3Variant, type CheckboxFilterAdapterConfig, type CheckboxFilterItem, type CheckboxFilterProps, CheckboxVariant, type CheckedState, type ChipItem, type ChipSize, Color, ColumnFilterMeta, type ColumnFilterPopoverLocale, 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, DsCatalogLayout, type DsCatalogLayoutBodyProps, type DsCatalogLayoutContentHeaderProps, type DsCatalogLayoutContentProps, type DsCatalogLayoutHeaderProps, type DsCatalogLayoutProps, type DsCatalogLayoutSideMenuProps, DsCheckbox, DsCheckboxGroup, DsCheckboxGroupOrientation, DsCheckboxGroupProps, DsCheckboxProps, DsChip, DsChipGroup, type DsChipGroupProps, type DsChipProps, type DsColumnGroupMeta, 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, DsPopoverAlign, DsPopoverContentItemProps, DsPopoverContentProps, DsPopoverFooterProps, DsPopoverHeaderProps, DsPopoverPanelProps, DsPopoverProps, DsPopoverRootProps, DsPopoverSide, DsPopoverTriggerProps, 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, DsStatusBadgeV2, type DsStatusBadgeV2BaseProps, type DsStatusBadgeV2Props, DsStep, DsStepContent, type DsStepContentProps, type DsStepProps, DsStepper, type DsStepperOrientation, type DsStepperProps, type DsStepperVariant, DsSystemStatus, DsSystemStatusProps, DsTable, DsTableApi, DsTableColumnFilterPopover, type DsTableColumnFilterPopoverProps, DsTableEditCellCheckbox, type DsTableEditCellCheckboxProps, DsTableEditCellDate, type DsTableEditCellDateProps, type DsTableEditCellDateValue, DsTableEditCellNumber, type DsTableEditCellNumberProps, DsTableEditCellSelect, type DsTableEditCellSelectProps, DsTableEditCellText, type DsTableEditCellTextProps, DsTableEditableCell, type DsTableEditableCellProps, DsTableEditingCell, type DsTableEditingCellProps, DsTableLocale, DsTableRowSize, DsTabs, type DsTabsContentProps, type DsTabsListProps, type DsTabsMenuActionItem, type DsTabsOrientation, type DsTabsProps, type DsTabsSize, type 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, type DsTreeBaseProps, type DsTreeBasePropsWithChildren, type DsTreeBranchContentProps, type DsTreeBranchControlProps, type DsTreeBranchIndentGuideProps, type DsTreeBranchIndicatorProps, type DsTreeBranchProps, type DsTreeBranchTextProps, type DsTreeItemActionProps, type DsTreeItemIndicatorProps, type DsTreeItemProps, type DsTreeItemTextProps, type DsTreeNode, type DsTreeNodeCheckboxProps, type DsTreeRootProps, type DsTreeSize, type DsTreeTreeProps, DsTypography, DsTypographyProps, DsVerticalTabs, type DsVerticalTabsContentProps, type DsVerticalTabsListProps, type DsVerticalTabsRootProps, type DsVerticalTabsTabProps, DsWorkspaceLayout, type DsWorkspaceLayoutBodyProps, type DsWorkspaceLayoutContentProps, type DsWorkspaceLayoutFooterProps, type DsWorkspaceLayoutHeaderProps, type DsWorkspaceLayoutLeftPanelProps, type DsWorkspaceLayoutProps, type DsWorkspaceLayoutSideMenuProps, type DsWorkspaceLayoutSubHeaderProps, 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, type InfiniteScrollConfig, LoaderVariant, MaterialIconName, ProgressArcSize, ProgressArcVariant, ProgressDonutSize, ProgressDonutVariant, ProgressLinearSize, ProgressLinearVariant, type RangeFilterProps, type RangeFilterValue, type RangeValue, ResolvedColumnFilter, Responsive, ResponsiveValue, RetryableFileUploadError, type RowAction, type ScrollParams, type SecondaryRowAction, type SelectSize, SemanticVariant, SkeletonColorVariant, SkeletonRadiusVariant, SpinnerSize, type StatusBadgeSize, type StatusBadgeV2Phase, type StatusBadgeV2Size, type StatusBadgeV2Variant, SystemStatus, type TagFilterItem, type TagSize, type TagVariant, type TextInputSize, type ToastVariant, type ToggleSize, TypographyColor, type UploadedFile, type UseCellEditorContainerProps, type UseCellEditorOptions, type UseCellEditorResult, type UseCheckboxSelectAllOptions, type UseCheckboxSelectAllResult, type UseFileUploadReturn, type UseTableFiltersOptions, type UseTableFiltersResult, alertBannerVariants, breakpoints, buttonV3Colors, buttonV3Sizes, buttonV3Variants, cardSizes, checkboxVariants, colors, controlStatuses, createCheckboxFilterAdapter, createDsTreeCollection, createDualRangeFilterAdapter, createFilterAdapter, customIcons, defaultDsTableLocale, dropdownMenuItemVariants, dsKeyValuePairOrientations, type dsTreeSizes, filterStatuses, formatTime, iconColors, iconSizes, iconVariants, isCustomIcon, isResponsiveValue, loaderVariants, popoverAligns, popoverSides, progressArcSizes, progressArcVariants, progressDonutSizes, progressDonutVariants, progressLinearSizes, progressLinearVariants, resolveResponsiveValue, skeletonColorVariants, skeletonRadiusVariants, spinnerSizes, splitButtonSizes, statusBadgeV2Phases, statusBadgeV2Sizes, statusBadgeV2Variants, systemStatuses, tagSizes, tagVariants, textInputSizes, useBreakpoint, useCellEditor, useCheckboxSelectAll, useFileUpload, useResponsiveValue, useTableFilters, useToaster, withResponsiveProps };
|
|
14007
14251
|
//# sourceMappingURL=index.d.ts.map
|