@uipath/apollo-wind 2.7.1 → 2.8.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.
@@ -39,24 +39,57 @@ const external_input_cjs_namespaceObject = require("./input.cjs");
39
39
  const external_table_cjs_namespaceObject = require("./table.cjs");
40
40
  const index_cjs_namespaceObject = require("../../lib/index.cjs");
41
41
  const react_table_namespaceObject = require("@tanstack/react-table");
42
- function DataTable({ columns, data, searchKey, searchPlaceholder = 'Search...', showColumnToggle = true, showPagination = true, pageSize = 10, editable = false, onCellUpdate, resizable = false, compact = false, columnToggleText = 'Columns', rowSelection: controlledRowSelection, onRowSelectionChange: controlledOnRowSelectionChange, toolbarContent, maxBodyHeight }) {
42
+ function DataTable({ columns, data, searchKey, searchPlaceholder = 'Search...', showColumnToggle = true, showPagination = true, pageSize = 10, editable = false, onCellUpdate, resizable = false, compact = false, columnToggleText = 'Columns', rowSelection: controlledRowSelection, onRowSelectionChange: controlledOnRowSelectionChange, sorting: controlledSorting, onSortingChange: controlledOnSortingChange, initialSorting, columnSizing: controlledColumnSizing, onColumnSizingChange: controlledOnColumnSizingChange, columnVisibility: controlledColumnVisibility, onColumnVisibilityChange: controlledOnColumnVisibilityChange, globalFilterFn, allowWrap = false, toolbarContent, maxBodyHeight }) {
43
43
  const useBlockLayout = void 0 !== maxBodyHeight;
44
44
  const blockRowClasses = '[&>tr]:table [&>tr]:w-full [&>tr]:table-fixed';
45
- const [sorting, setSorting] = external_react_namespaceObject.useState([]);
45
+ const [internalSorting, setInternalSorting] = external_react_namespaceObject.useState(initialSorting ?? []);
46
46
  const [columnFilters, setColumnFilters] = external_react_namespaceObject.useState([]);
47
- const [columnVisibility, setColumnVisibility] = external_react_namespaceObject.useState({});
47
+ const [internalColumnVisibility, setInternalColumnVisibility] = external_react_namespaceObject.useState({});
48
+ const [internalColumnSizing, setInternalColumnSizing] = external_react_namespaceObject.useState({});
48
49
  const [internalRowSelection, setInternalRowSelection] = external_react_namespaceObject.useState({});
49
- const isControlled = void 0 !== controlledRowSelection;
50
- const rowSelection = isControlled ? controlledRowSelection : internalRowSelection;
50
+ const [globalFilter, setGlobalFilter] = external_react_namespaceObject.useState('');
51
+ const isRowSelectionControlled = void 0 !== controlledRowSelection;
52
+ const rowSelection = isRowSelectionControlled ? controlledRowSelection : internalRowSelection;
53
+ const rowSelectionRef = external_react_namespaceObject.useRef(rowSelection);
54
+ rowSelectionRef.current = rowSelection;
51
55
  const setRowSelection = external_react_namespaceObject.useCallback((updater)=>{
52
- const next = 'function' == typeof updater ? updater(rowSelection) : updater;
53
- if (!isControlled) setInternalRowSelection(next);
56
+ const next = 'function' == typeof updater ? updater(rowSelectionRef.current) : updater;
57
+ if (!isRowSelectionControlled) setInternalRowSelection(next);
54
58
  controlledOnRowSelectionChange?.(next);
55
59
  }, [
56
- isControlled,
57
- rowSelection,
60
+ isRowSelectionControlled,
58
61
  controlledOnRowSelectionChange
59
62
  ]);
63
+ const isSortingControlled = void 0 !== controlledSorting;
64
+ const sorting = isSortingControlled ? controlledSorting : internalSorting;
65
+ const onSortingChange = external_react_namespaceObject.useCallback((updater)=>{
66
+ if (!isSortingControlled) setInternalSorting((prev)=>'function' == typeof updater ? updater(prev) : updater);
67
+ controlledOnSortingChange?.(updater);
68
+ }, [
69
+ isSortingControlled,
70
+ controlledOnSortingChange
71
+ ]);
72
+ const isColumnSizingControlled = void 0 !== controlledColumnSizing;
73
+ const columnSizing = isColumnSizingControlled ? controlledColumnSizing : internalColumnSizing;
74
+ const onColumnSizingChange = external_react_namespaceObject.useCallback((updater)=>{
75
+ if (!isColumnSizingControlled) setInternalColumnSizing((prev)=>'function' == typeof updater ? updater(prev) : updater);
76
+ controlledOnColumnSizingChange?.(updater);
77
+ }, [
78
+ isColumnSizingControlled,
79
+ controlledOnColumnSizingChange
80
+ ]);
81
+ const isColumnVisibilityControlled = void 0 !== controlledColumnVisibility;
82
+ const columnVisibility = isColumnVisibilityControlled ? controlledColumnVisibility : internalColumnVisibility;
83
+ const onColumnVisibilityChange = external_react_namespaceObject.useCallback((updater)=>{
84
+ if (!isColumnVisibilityControlled) setInternalColumnVisibility((prev)=>'function' == typeof updater ? updater(prev) : updater);
85
+ controlledOnColumnVisibilityChange?.(updater);
86
+ }, [
87
+ isColumnVisibilityControlled,
88
+ controlledOnColumnVisibilityChange
89
+ ]);
90
+ const tanstackGlobalFilterFn = external_react_namespaceObject.useMemo(()=>globalFilterFn ? (row, _columnId, filterValue)=>globalFilterFn(row.original, filterValue) : void 0, [
91
+ globalFilterFn
92
+ ]);
60
93
  const processedColumns = external_react_namespaceObject.useMemo(()=>{
61
94
  if (!editable || !onCellUpdate) return columns;
62
95
  return columns.map((col)=>{
@@ -80,21 +113,26 @@ function DataTable({ columns, data, searchKey, searchPlaceholder = 'Search...',
80
113
  const table = (0, react_table_namespaceObject.useReactTable)({
81
114
  data,
82
115
  columns: processedColumns,
83
- onSortingChange: setSorting,
116
+ onSortingChange,
84
117
  onColumnFiltersChange: setColumnFilters,
85
118
  getCoreRowModel: (0, react_table_namespaceObject.getCoreRowModel)(),
86
119
  getPaginationRowModel: (0, react_table_namespaceObject.getPaginationRowModel)(),
87
120
  getSortedRowModel: (0, react_table_namespaceObject.getSortedRowModel)(),
88
121
  getFilteredRowModel: (0, react_table_namespaceObject.getFilteredRowModel)(),
89
- onColumnVisibilityChange: setColumnVisibility,
122
+ onColumnVisibilityChange,
123
+ onColumnSizingChange,
90
124
  onRowSelectionChange: setRowSelection,
125
+ onGlobalFilterChange: setGlobalFilter,
126
+ globalFilterFn: tanstackGlobalFilterFn,
91
127
  enableColumnResizing: resizable,
92
128
  columnResizeMode: 'onChange',
93
129
  state: {
94
130
  sorting,
95
131
  columnFilters,
96
132
  columnVisibility,
97
- rowSelection
133
+ columnSizing,
134
+ rowSelection,
135
+ globalFilter
98
136
  },
99
137
  initialState: {
100
138
  pagination: {
@@ -108,7 +146,12 @@ function DataTable({ columns, data, searchKey, searchPlaceholder = 'Search...',
108
146
  /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
109
147
  className: "flex items-center gap-4 py-4",
110
148
  children: [
111
- searchKey && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_input_cjs_namespaceObject.Input, {
149
+ globalFilterFn ? /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_input_cjs_namespaceObject.Input, {
150
+ placeholder: searchPlaceholder,
151
+ value: globalFilter,
152
+ onChange: (event)=>setGlobalFilter(event.target.value),
153
+ className: "max-w-sm"
154
+ }) : searchKey && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_input_cjs_namespaceObject.Input, {
112
155
  placeholder: searchPlaceholder,
113
156
  value: table.getColumn(searchKey)?.getFilterValue() ?? '',
114
157
  onChange: (event)=>table.getColumn(searchKey)?.setFilterValue(event.target.value),
@@ -197,8 +240,9 @@ function DataTable({ columns, data, searchKey, searchPlaceholder = 'Search...',
197
240
  children: row.getVisibleCells().map((cell)=>{
198
241
  const { column } = cell;
199
242
  return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_table_cjs_namespaceObject.TableCell, {
200
- className: compact ? 'h-8 truncate px-2 py-0' : 'h-12 truncate px-4 py-0',
243
+ className: (0, index_cjs_namespaceObject.cn)(allowWrap ? compact ? 'min-h-8 px-2 py-1' : 'min-h-12 px-4 py-2' : compact ? 'h-8 truncate px-2 py-0' : 'h-12 truncate px-4 py-0'),
201
244
  onMouseEnter: (e)=>{
245
+ if (allowWrap) return;
202
246
  const el = e.currentTarget;
203
247
  const value = cell.getValue();
204
248
  el.title = el.scrollWidth > el.clientWidth && ('string' == typeof value || 'number' == typeof value) ? String(value) : '';
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { Column, ColumnDef, RowSelectionState } from '@tanstack/react-table';
2
+ import { Column, ColumnDef, ColumnSizingState, OnChangeFn, RowSelectionState, SortingState, VisibilityState } from '@tanstack/react-table';
3
3
  export interface DataTableProps<TData, TValue> {
4
4
  columns: ColumnDef<TData, TValue>[];
5
5
  data: TData[];
@@ -15,6 +15,28 @@ export interface DataTableProps<TData, TValue> {
15
15
  columnToggleText?: string;
16
16
  rowSelection?: RowSelectionState;
17
17
  onRowSelectionChange?: (selection: RowSelectionState) => void;
18
+ /** Controlled sort state. When provided, the table runs in controlled mode for sorting. */
19
+ sorting?: SortingState;
20
+ onSortingChange?: OnChangeFn<SortingState>;
21
+ /** Initial sort applied when `sorting` is uncontrolled. */
22
+ initialSorting?: SortingState;
23
+ /** Controlled column-sizing state. Pairs with `resizable`. */
24
+ columnSizing?: ColumnSizingState;
25
+ onColumnSizingChange?: OnChangeFn<ColumnSizingState>;
26
+ /** Controlled column-visibility state. */
27
+ columnVisibility?: VisibilityState;
28
+ onColumnVisibilityChange?: OnChangeFn<VisibilityState>;
29
+ /**
30
+ * When set, the search input filters whole rows via this predicate.
31
+ * Takes precedence over `searchKey`.
32
+ */
33
+ globalFilterFn?: (row: TData, query: string) => boolean;
34
+ /**
35
+ * When true, body cells render multi-line content (drops the default `truncate` class).
36
+ * Useful for tables that show JSON, long text, or preformatted content.
37
+ * Default: false (single-line + ellipsis).
38
+ */
39
+ allowWrap?: boolean;
18
40
  toolbarContent?: React.ReactNode;
19
41
  /**
20
42
  * When set, the table body scrolls independently with this max height (any CSS length).
@@ -23,7 +45,7 @@ export interface DataTableProps<TData, TValue> {
23
45
  */
24
46
  maxBodyHeight?: string;
25
47
  }
26
- export declare function DataTable<TData, TValue>({ columns, data, searchKey, searchPlaceholder, showColumnToggle, showPagination, pageSize, editable, onCellUpdate, resizable, compact, columnToggleText, rowSelection: controlledRowSelection, onRowSelectionChange: controlledOnRowSelectionChange, toolbarContent, maxBodyHeight, }: DataTableProps<TData, TValue>): import("react/jsx-runtime").JSX.Element;
48
+ export declare function DataTable<TData, TValue>({ columns, data, searchKey, searchPlaceholder, showColumnToggle, showPagination, pageSize, editable, onCellUpdate, resizable, compact, columnToggleText, rowSelection: controlledRowSelection, onRowSelectionChange: controlledOnRowSelectionChange, sorting: controlledSorting, onSortingChange: controlledOnSortingChange, initialSorting, columnSizing: controlledColumnSizing, onColumnSizingChange: controlledOnColumnSizingChange, columnVisibility: controlledColumnVisibility, onColumnVisibilityChange: controlledOnColumnVisibilityChange, globalFilterFn, allowWrap, toolbarContent, maxBodyHeight, }: DataTableProps<TData, TValue>): import("react/jsx-runtime").JSX.Element;
27
49
  export declare function DataTableColumnHeader<TData, TValue>({ column, title, children, }: {
28
50
  column: Column<TData, TValue>;
29
51
  title: string;
@@ -1,5 +1,5 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
- import { useCallback, useMemo, useState } from "react";
2
+ import { useCallback, useMemo, useRef, useState } from "react";
3
3
  import { ArrowDown, ArrowUp, ArrowUpDown, ChevronDown } from "lucide-react";
4
4
  import { Button } from "./button.js";
5
5
  import { Checkbox } from "./checkbox.js";
@@ -9,24 +9,57 @@ import { Input } from "./input.js";
9
9
  import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from "./table.js";
10
10
  import { cn } from "../../lib/index.js";
11
11
  import { flexRender, getCoreRowModel, getFilteredRowModel, getPaginationRowModel, getSortedRowModel, useReactTable } from "@tanstack/react-table";
12
- function DataTable({ columns, data, searchKey, searchPlaceholder = 'Search...', showColumnToggle = true, showPagination = true, pageSize = 10, editable = false, onCellUpdate, resizable = false, compact = false, columnToggleText = 'Columns', rowSelection: controlledRowSelection, onRowSelectionChange: controlledOnRowSelectionChange, toolbarContent, maxBodyHeight }) {
12
+ function DataTable({ columns, data, searchKey, searchPlaceholder = 'Search...', showColumnToggle = true, showPagination = true, pageSize = 10, editable = false, onCellUpdate, resizable = false, compact = false, columnToggleText = 'Columns', rowSelection: controlledRowSelection, onRowSelectionChange: controlledOnRowSelectionChange, sorting: controlledSorting, onSortingChange: controlledOnSortingChange, initialSorting, columnSizing: controlledColumnSizing, onColumnSizingChange: controlledOnColumnSizingChange, columnVisibility: controlledColumnVisibility, onColumnVisibilityChange: controlledOnColumnVisibilityChange, globalFilterFn, allowWrap = false, toolbarContent, maxBodyHeight }) {
13
13
  const useBlockLayout = void 0 !== maxBodyHeight;
14
14
  const blockRowClasses = '[&>tr]:table [&>tr]:w-full [&>tr]:table-fixed';
15
- const [sorting, setSorting] = useState([]);
15
+ const [internalSorting, setInternalSorting] = useState(initialSorting ?? []);
16
16
  const [columnFilters, setColumnFilters] = useState([]);
17
- const [columnVisibility, setColumnVisibility] = useState({});
17
+ const [internalColumnVisibility, setInternalColumnVisibility] = useState({});
18
+ const [internalColumnSizing, setInternalColumnSizing] = useState({});
18
19
  const [internalRowSelection, setInternalRowSelection] = useState({});
19
- const isControlled = void 0 !== controlledRowSelection;
20
- const rowSelection = isControlled ? controlledRowSelection : internalRowSelection;
20
+ const [globalFilter, setGlobalFilter] = useState('');
21
+ const isRowSelectionControlled = void 0 !== controlledRowSelection;
22
+ const rowSelection = isRowSelectionControlled ? controlledRowSelection : internalRowSelection;
23
+ const rowSelectionRef = useRef(rowSelection);
24
+ rowSelectionRef.current = rowSelection;
21
25
  const setRowSelection = useCallback((updater)=>{
22
- const next = 'function' == typeof updater ? updater(rowSelection) : updater;
23
- if (!isControlled) setInternalRowSelection(next);
26
+ const next = 'function' == typeof updater ? updater(rowSelectionRef.current) : updater;
27
+ if (!isRowSelectionControlled) setInternalRowSelection(next);
24
28
  controlledOnRowSelectionChange?.(next);
25
29
  }, [
26
- isControlled,
27
- rowSelection,
30
+ isRowSelectionControlled,
28
31
  controlledOnRowSelectionChange
29
32
  ]);
33
+ const isSortingControlled = void 0 !== controlledSorting;
34
+ const sorting = isSortingControlled ? controlledSorting : internalSorting;
35
+ const onSortingChange = useCallback((updater)=>{
36
+ if (!isSortingControlled) setInternalSorting((prev)=>'function' == typeof updater ? updater(prev) : updater);
37
+ controlledOnSortingChange?.(updater);
38
+ }, [
39
+ isSortingControlled,
40
+ controlledOnSortingChange
41
+ ]);
42
+ const isColumnSizingControlled = void 0 !== controlledColumnSizing;
43
+ const columnSizing = isColumnSizingControlled ? controlledColumnSizing : internalColumnSizing;
44
+ const onColumnSizingChange = useCallback((updater)=>{
45
+ if (!isColumnSizingControlled) setInternalColumnSizing((prev)=>'function' == typeof updater ? updater(prev) : updater);
46
+ controlledOnColumnSizingChange?.(updater);
47
+ }, [
48
+ isColumnSizingControlled,
49
+ controlledOnColumnSizingChange
50
+ ]);
51
+ const isColumnVisibilityControlled = void 0 !== controlledColumnVisibility;
52
+ const columnVisibility = isColumnVisibilityControlled ? controlledColumnVisibility : internalColumnVisibility;
53
+ const onColumnVisibilityChange = useCallback((updater)=>{
54
+ if (!isColumnVisibilityControlled) setInternalColumnVisibility((prev)=>'function' == typeof updater ? updater(prev) : updater);
55
+ controlledOnColumnVisibilityChange?.(updater);
56
+ }, [
57
+ isColumnVisibilityControlled,
58
+ controlledOnColumnVisibilityChange
59
+ ]);
60
+ const tanstackGlobalFilterFn = useMemo(()=>globalFilterFn ? (row, _columnId, filterValue)=>globalFilterFn(row.original, filterValue) : void 0, [
61
+ globalFilterFn
62
+ ]);
30
63
  const processedColumns = useMemo(()=>{
31
64
  if (!editable || !onCellUpdate) return columns;
32
65
  return columns.map((col)=>{
@@ -50,21 +83,26 @@ function DataTable({ columns, data, searchKey, searchPlaceholder = 'Search...',
50
83
  const table = useReactTable({
51
84
  data,
52
85
  columns: processedColumns,
53
- onSortingChange: setSorting,
86
+ onSortingChange,
54
87
  onColumnFiltersChange: setColumnFilters,
55
88
  getCoreRowModel: getCoreRowModel(),
56
89
  getPaginationRowModel: getPaginationRowModel(),
57
90
  getSortedRowModel: getSortedRowModel(),
58
91
  getFilteredRowModel: getFilteredRowModel(),
59
- onColumnVisibilityChange: setColumnVisibility,
92
+ onColumnVisibilityChange,
93
+ onColumnSizingChange,
60
94
  onRowSelectionChange: setRowSelection,
95
+ onGlobalFilterChange: setGlobalFilter,
96
+ globalFilterFn: tanstackGlobalFilterFn,
61
97
  enableColumnResizing: resizable,
62
98
  columnResizeMode: 'onChange',
63
99
  state: {
64
100
  sorting,
65
101
  columnFilters,
66
102
  columnVisibility,
67
- rowSelection
103
+ columnSizing,
104
+ rowSelection,
105
+ globalFilter
68
106
  },
69
107
  initialState: {
70
108
  pagination: {
@@ -78,7 +116,12 @@ function DataTable({ columns, data, searchKey, searchPlaceholder = 'Search...',
78
116
  /*#__PURE__*/ jsxs("div", {
79
117
  className: "flex items-center gap-4 py-4",
80
118
  children: [
81
- searchKey && /*#__PURE__*/ jsx(Input, {
119
+ globalFilterFn ? /*#__PURE__*/ jsx(Input, {
120
+ placeholder: searchPlaceholder,
121
+ value: globalFilter,
122
+ onChange: (event)=>setGlobalFilter(event.target.value),
123
+ className: "max-w-sm"
124
+ }) : searchKey && /*#__PURE__*/ jsx(Input, {
82
125
  placeholder: searchPlaceholder,
83
126
  value: table.getColumn(searchKey)?.getFilterValue() ?? '',
84
127
  onChange: (event)=>table.getColumn(searchKey)?.setFilterValue(event.target.value),
@@ -167,8 +210,9 @@ function DataTable({ columns, data, searchKey, searchPlaceholder = 'Search...',
167
210
  children: row.getVisibleCells().map((cell)=>{
168
211
  const { column } = cell;
169
212
  return /*#__PURE__*/ jsx(TableCell, {
170
- className: compact ? 'h-8 truncate px-2 py-0' : 'h-12 truncate px-4 py-0',
213
+ className: cn(allowWrap ? compact ? 'min-h-8 px-2 py-1' : 'min-h-12 px-4 py-2' : compact ? 'h-8 truncate px-2 py-0' : 'h-12 truncate px-4 py-0'),
171
214
  onMouseEnter: (e)=>{
215
+ if (allowWrap) return;
172
216
  const el = e.currentTarget;
173
217
  const value = cell.getValue();
174
218
  el.title = el.scrollWidth > el.clientWidth && ('string' == typeof value || 'number' == typeof value) ? String(value) : '';
@@ -30,7 +30,7 @@ var __webpack_modules__ = {
30
30
  "@/components/ui/calendar" (module) {
31
31
  module.exports = require("./calendar.cjs");
32
32
  },
33
- "./card" (module) {
33
+ "@/components/ui/card" (module) {
34
34
  module.exports = require("./card.cjs");
35
35
  },
36
36
  "./checkbox" (module) {
@@ -42,7 +42,7 @@ var __webpack_modules__ = {
42
42
  "./combobox" (module) {
43
43
  module.exports = require("./combobox.cjs");
44
44
  },
45
- "./command" (module) {
45
+ "@/components/ui/command" (module) {
46
46
  module.exports = require("./command.cjs");
47
47
  },
48
48
  "./context-menu" (module) {
@@ -57,13 +57,13 @@ var __webpack_modules__ = {
57
57
  "./datetime-picker" (module) {
58
58
  module.exports = require("./datetime-picker.cjs");
59
59
  },
60
- "./dialog" (module) {
60
+ "@/components/ui/dialog" (module) {
61
61
  module.exports = require("./dialog.cjs");
62
62
  },
63
63
  "./dropdown-menu" (module) {
64
64
  module.exports = require("./dropdown-menu.cjs");
65
65
  },
66
- "./editable-cell" (module) {
66
+ "@/components/ui/editable-cell" (module) {
67
67
  module.exports = require("./editable-cell.cjs");
68
68
  },
69
69
  "./empty-state" (module) {
@@ -75,10 +75,10 @@ var __webpack_modules__ = {
75
75
  "./hover-card" (module) {
76
76
  module.exports = require("./hover-card.cjs");
77
77
  },
78
- "./input" (module) {
78
+ "@/components/ui/input" (module) {
79
79
  module.exports = require("./input.cjs");
80
80
  },
81
- "./label" (module) {
81
+ "@/components/ui/label" (module) {
82
82
  module.exports = require("./label.cjs");
83
83
  },
84
84
  "./layout" (module) {
@@ -276,7 +276,7 @@ var __webpack_exports__ = {};
276
276
  "default"
277
277
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_calendar__rspack_import_9[__rspack_import_key];
278
278
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
279
- var _card__rspack_import_10 = __webpack_require__("./card");
279
+ var _card__rspack_import_10 = __webpack_require__("@/components/ui/card");
280
280
  var __rspack_reexport = {};
281
281
  for(const __rspack_import_key in _card__rspack_import_10)if ([
282
282
  "TreeView",
@@ -304,7 +304,7 @@ var __webpack_exports__ = {};
304
304
  "default"
305
305
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_combobox__rspack_import_13[__rspack_import_key];
306
306
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
307
- var _command__rspack_import_14 = __webpack_require__("./command");
307
+ var _command__rspack_import_14 = __webpack_require__("@/components/ui/command");
308
308
  var __rspack_reexport = {};
309
309
  for(const __rspack_import_key in _command__rspack_import_14)if ([
310
310
  "TreeView",
@@ -339,7 +339,7 @@ var __webpack_exports__ = {};
339
339
  "default"
340
340
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_datetime_picker__rspack_import_18[__rspack_import_key];
341
341
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
342
- var _dialog__rspack_import_19 = __webpack_require__("./dialog");
342
+ var _dialog__rspack_import_19 = __webpack_require__("@/components/ui/dialog");
343
343
  var __rspack_reexport = {};
344
344
  for(const __rspack_import_key in _dialog__rspack_import_19)if ([
345
345
  "TreeView",
@@ -353,7 +353,7 @@ var __webpack_exports__ = {};
353
353
  "default"
354
354
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_dropdown_menu__rspack_import_20[__rspack_import_key];
355
355
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
356
- var _editable_cell__rspack_import_21 = __webpack_require__("./editable-cell");
356
+ var _editable_cell__rspack_import_21 = __webpack_require__("@/components/ui/editable-cell");
357
357
  var __rspack_reexport = {};
358
358
  for(const __rspack_import_key in _editable_cell__rspack_import_21)if ([
359
359
  "TreeView",
@@ -381,14 +381,14 @@ var __webpack_exports__ = {};
381
381
  "default"
382
382
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_hover_card__rspack_import_24[__rspack_import_key];
383
383
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
384
- var _input__rspack_import_25 = __webpack_require__("./input");
384
+ var _input__rspack_import_25 = __webpack_require__("@/components/ui/input");
385
385
  var __rspack_reexport = {};
386
386
  for(const __rspack_import_key in _input__rspack_import_25)if ([
387
387
  "TreeView",
388
388
  "default"
389
389
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_input__rspack_import_25[__rspack_import_key];
390
390
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
391
- var _label__rspack_import_26 = __webpack_require__("./label");
391
+ var _label__rspack_import_26 = __webpack_require__("@/components/ui/label");
392
392
  var __rspack_reexport = {};
393
393
  for(const __rspack_import_key in _label__rspack_import_26)if ([
394
394
  "TreeView",
package/dist/styles.css CHANGED
@@ -1146,9 +1146,15 @@
1146
1146
  .min-h-5 {
1147
1147
  min-height: calc(var(--spacing) * 5);
1148
1148
  }
1149
+ .min-h-8 {
1150
+ min-height: calc(var(--spacing) * 8);
1151
+ }
1149
1152
  .min-h-10 {
1150
1153
  min-height: calc(var(--spacing) * 10);
1151
1154
  }
1155
+ .min-h-12 {
1156
+ min-height: calc(var(--spacing) * 12);
1157
+ }
1152
1158
  .min-h-\[32px\] {
1153
1159
  min-height: 32px;
1154
1160
  }
@@ -6101,6 +6107,11 @@
6101
6107
  height: calc(var(--spacing) * 4);
6102
6108
  }
6103
6109
  }
6110
+ .\[\&_table\]\:\!w-full {
6111
+ & table {
6112
+ width: 100% !important;
6113
+ }
6114
+ }
6104
6115
  .\[\&_tr\]\:border-b {
6105
6116
  & tr {
6106
6117
  border-bottom-style: var(--tw-border-style);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uipath/apollo-wind",
3
- "version": "2.7.1",
3
+ "version": "2.8.0",
4
4
  "description": "UiPath wind design system - A Tailwind CSS based React component library",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",