@harnessio/ui 1.3.35 → 1.3.37
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/dist/components.d.ts +22 -3
- package/dist/components.js +1 -1
- package/dist/{index-C80kaiT7.js → index-CL_AqFMR.js} +4162 -4054
- package/dist/{index-C80kaiT7.js.map → index-CL_AqFMR.js.map} +1 -1
- package/dist/index.d.ts +22 -3
- package/dist/index.js +1 -1
- package/dist/styles.css +1 -1
- package/dist/tailwind.config.js +81 -12
- package/dist/tailwind.config.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2111,7 +2111,7 @@ declare interface CustomToastProps {
|
|
|
2111
2111
|
errorMessage?: string;
|
|
2112
2112
|
}
|
|
2113
2113
|
|
|
2114
|
-
declare const DataTable: (<TData>({ data, columns, size, variant, paginationProps, getRowClassName, onRowClick, getRowLink, disableHighlightOnHover, className, currentSorting, currentRowSelection, onSortingChange: externalOnSortingChange, enableRowSelection, onRowSelectionChange: externalOnRowSelectionChange, enableExpanding, getRowCanExpand, getRowCanSelect, getIsRowDisabled, initiallyExpandAllRows, currentExpanded, onExpandedChange: externalOnExpandedChange, renderSubComponent, getSubRows,
|
|
2114
|
+
declare const DataTable: (<TData>({ data, columns, size, variant, paginationProps, getRowClassName, onRowClick, getRowLink, disableHighlightOnHover, className, currentSorting, currentRowSelection, onSortingChange: externalOnSortingChange, enableRowSelection, onRowSelectionChange: externalOnRowSelectionChange, enableExpanding, getRowCanExpand, getRowCanSelect, getIsRowDisabled, initiallyExpandAllRows, currentExpanded, onExpandedChange: externalOnExpandedChange, renderSubComponent, getSubRows, enableColumnResizing, getRowId, visibleColumns, columnPinning, manualSorting, stickyHeader, maxHeight, rowPinning, onRowPinningChange: externalOnRowPinningChange, enableRowPinning }: DataTableProps<TData>) => JSX_2.Element) & {
|
|
2115
2115
|
ColumnFilter: FC<DataTableColumnFilterDropdownProps>;
|
|
2116
2116
|
};
|
|
2117
2117
|
|
|
@@ -2210,7 +2210,12 @@ declare interface DataTableProps<TData> {
|
|
|
2210
2210
|
* sharing the same column structure, instead of a detail-panel sub-component.
|
|
2211
2211
|
*/
|
|
2212
2212
|
getSubRows?: (originalRow: TData, index: number) => TData[] | undefined;
|
|
2213
|
-
|
|
2213
|
+
/**
|
|
2214
|
+
* Enable column resizing. Defaults to false. Opt individual columns out with
|
|
2215
|
+
* `ColumnDef.enableResizing`, and set initial/min/max widths with `size`,
|
|
2216
|
+
* `minSize`, and `maxSize`. Only leaf columns expose resize handles.
|
|
2217
|
+
*/
|
|
2218
|
+
enableColumnResizing?: boolean;
|
|
2214
2219
|
/**
|
|
2215
2220
|
* Opt-in sticky headers. Renders the table inside a single scroll viewport
|
|
2216
2221
|
* so header cells stick to the top while the body scrolls.
|
|
@@ -3299,12 +3304,14 @@ declare const Folder: React_2.ForwardRefExoticComponent<{
|
|
|
3299
3304
|
level: number;
|
|
3300
3305
|
} & Omit<AccordionPrimitive.AccordionItemProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & ExecutionDetail & React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
|
|
3301
3306
|
|
|
3302
|
-
declare function FolderItem({ children, value, isActive, content, link, onClick, icon, ...otherProps }: FolderItemProps): JSX_2.Element;
|
|
3307
|
+
declare function FolderItem({ children, value, isActive, content, link, className, wrapperClassName, onClick, icon, ...otherProps }: FolderItemProps): JSX_2.Element;
|
|
3303
3308
|
|
|
3304
3309
|
declare interface FolderItemProps extends Partial<Omit<BaseItemProps, 'actionButtons'>> {
|
|
3305
3310
|
children: ReactNode;
|
|
3306
3311
|
level: number;
|
|
3307
3312
|
value: string;
|
|
3313
|
+
className?: string;
|
|
3314
|
+
wrapperClassName?: string;
|
|
3308
3315
|
content?: ReactNode;
|
|
3309
3316
|
onClick?: (value: string) => void;
|
|
3310
3317
|
link?: string;
|
|
@@ -8195,6 +8202,12 @@ declare interface TableHeadProps extends ThHTMLAttributes<HTMLTableCellElement>
|
|
|
8195
8202
|
containerProps?: FlexProps;
|
|
8196
8203
|
hideDivider?: boolean;
|
|
8197
8204
|
contentClassName?: string;
|
|
8205
|
+
/**
|
|
8206
|
+
* Optional chrome rendered as a direct child of the `<th>`, outside the
|
|
8207
|
+
* label/sort layout. Used by DataTable for column resize handles so they
|
|
8208
|
+
* can be positioned against the cell boundary.
|
|
8209
|
+
*/
|
|
8210
|
+
resizeHandle?: ReactNode;
|
|
8198
8211
|
}
|
|
8199
8212
|
|
|
8200
8213
|
declare interface TableRootV2Props extends HTMLAttributes<HTMLTableElement>, VariantProps<typeof tableVariants> {
|
|
@@ -8216,6 +8229,12 @@ declare interface TableRootV2Props extends HTMLAttributes<HTMLTableElement>, Var
|
|
|
8216
8229
|
* Ref forwarded to the scroll viewport element. Only applies in sticky mode.
|
|
8217
8230
|
*/
|
|
8218
8231
|
viewportRef?: Ref<HTMLDivElement>;
|
|
8232
|
+
/**
|
|
8233
|
+
* Optional overlay rendered as a sibling of `<table>` inside the scroll
|
|
8234
|
+
* viewport. Used by DataTable for a column-resize indicator that is not
|
|
8235
|
+
* clipped by header cells.
|
|
8236
|
+
*/
|
|
8237
|
+
overlay?: ReactNode;
|
|
8219
8238
|
}
|
|
8220
8239
|
|
|
8221
8240
|
declare interface TableRowProps extends HTMLAttributes<HTMLTableRowElement> {
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as s } from "./index-DlSn4SRO.js";
|
|
2
|
-
import { i as e } from "./index-
|
|
2
|
+
import { i as e } from "./index-CL_AqFMR.js";
|
|
3
3
|
import { i as a } from "./index-Dm5jNmUi.js";
|
|
4
4
|
import { i as m } from "./index-C4bDY5-3.js";
|
|
5
5
|
import { i as f } from "./index-DchZrYRY.js";
|