@harnessio/ui 1.3.35 → 1.3.36

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.
@@ -1416,7 +1416,7 @@ declare interface CustomToastProps {
1416
1416
  errorMessage?: string;
1417
1417
  }
1418
1418
 
1419
- export 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) & {
1419
+ export 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) & {
1420
1420
  ColumnFilter: FC<DataTableColumnFilterDropdownProps>;
1421
1421
  };
1422
1422
 
@@ -1515,7 +1515,12 @@ export declare interface DataTableProps<TData> {
1515
1515
  * sharing the same column structure, instead of a detail-panel sub-component.
1516
1516
  */
1517
1517
  getSubRows?: (originalRow: TData, index: number) => TData[] | undefined;
1518
- /* Excluded from this release type: _enableColumnResizing */
1518
+ /**
1519
+ * Enable column resizing. Defaults to false. Opt individual columns out with
1520
+ * `ColumnDef.enableResizing`, and set initial/min/max widths with `size`,
1521
+ * `minSize`, and `maxSize`. Only leaf columns expose resize handles.
1522
+ */
1523
+ enableColumnResizing?: boolean;
1519
1524
  /**
1520
1525
  * Opt-in sticky headers. Renders the table inside a single scroll viewport
1521
1526
  * so header cells stick to the top while the body scrolls.
@@ -6532,6 +6537,12 @@ export declare interface TableHeadProps extends ThHTMLAttributes<HTMLTableCellEl
6532
6537
  containerProps?: FlexProps;
6533
6538
  hideDivider?: boolean;
6534
6539
  contentClassName?: string;
6540
+ /**
6541
+ * Optional chrome rendered as a direct child of the `<th>`, outside the
6542
+ * label/sort layout. Used by DataTable for column resize handles so they
6543
+ * can be positioned against the cell boundary.
6544
+ */
6545
+ resizeHandle?: ReactNode;
6535
6546
  }
6536
6547
 
6537
6548
  export declare interface TableRootV2Props extends HTMLAttributes<HTMLTableElement>, VariantProps<typeof tableVariants> {
@@ -6553,6 +6564,12 @@ export declare interface TableRootV2Props extends HTMLAttributes<HTMLTableElemen
6553
6564
  * Ref forwarded to the scroll viewport element. Only applies in sticky mode.
6554
6565
  */
6555
6566
  viewportRef?: Ref<HTMLDivElement>;
6567
+ /**
6568
+ * Optional overlay rendered as a sibling of `<table>` inside the scroll
6569
+ * viewport. Used by DataTable for a column-resize indicator that is not
6570
+ * clipped by header cells.
6571
+ */
6572
+ overlay?: ReactNode;
6556
6573
  }
6557
6574
 
6558
6575
  declare interface TableRowProps extends HTMLAttributes<HTMLTableRowElement> {
@@ -1,5 +1,5 @@
1
1
  import { A as s, B as t, k as o, E as r, L as i, r as n, c as l, S as c, s as p, t as g, d as b } from "./index-C9lykMWp.js";
2
- import { ck as m, ag as d, Y as S, H as T, a4 as C, a5 as D, $ as F, a0 as I, bT as L, ah as P, c3 as V, aH as A, cM as E, aq as R, an as h, bZ as f, aR as y, bq as B, br as M, bt as w, bs as x, cG as v, aE as G, aF as N, bI as _, ac as k, a1 as W, af as U, aQ as O, aP as H, M as Z, ar as z, aL as K, bQ as Q, T as j, cF as X, e as q, g as J, h as Y, b5 as $, b6 as aa, d as ea, c0 as sa, b as ta, D as oa, a as ra, c as ia, aX as na, al as la, ak as ca, bW as pa, c1 as ga, c2 as ba, bk as ua, N as ma, V as da, cS as Sa, bX as Ta, cu as Ca, as as Da, bH as Fa, aJ as Ia, f as La, aM as Pa, cN as Va, aI as Aa, b9 as Ea, b8 as Ra, ba as ha, b7 as fa, F as ya, bG as Ba, bS as Ma, aB as wa, ct as xa, aw as va, ay as Ga, ax as Na, b4 as _a, aO as ka, cl as Wa, a6 as Ua, ae as Oa, bO as Ha, aU as Za, aD as za, cO as Ka, ap as Qa, at as ja, co as Xa, cp as qa, cn as Ja, au as Ya, l as $a, L as ae, X as ee, aT as se, cP as te, a2 as oe, av as re, bu as ie, aA as ne, b0 as le, a$ as ce, bg as pe, bY as ge, aa as be, bp as ue, n as me, cr as de, cL as Se, P as Te, cR as Ce, am as De, cB as Fe, Z as Ie, bo as Le, aW as Pe, bC as Ve, bB as Ae, bv as Ee, bA as Re, bw as he, bx as fe, by as ye, bz as Be, aG as Me, bD as we, bR as xe, bJ as ve, cA as Ge, bm as Ne, bl as _e, cJ as ke, cx as We, ad as Ue, cs as Oe, a7 as He, cK as Ze, aC as ze, bn as Ke, a_ as Qe, K as je, cf as Xe, c8 as qe, cH as Je, bi as Ye, cI as $e, a9 as as, bV as es, S as ss, ai as ts, aj as os, aZ as rs, bU as is, O as ns, bh as ls, cb as cs, c6 as ps, Q as gs, cQ as bs, cc as us, cd as ms, aY as ds, I as Ss, b$ as Ts, ab as Cs, bP as Ds, cq as Fs, az as Is, ci as Ls, bM as Ps, bL as Vs, bN as As, cE as Es, aV as Rs, bF as hs, cg as fs, a3 as ys, c5 as Bs, c4 as Ms, ch as ws, c7 as xs, _ as vs, ao as Gs, U as Ns, aN as _s, E as ks, b2 as Ws, cy as Us, j as Os, k as Hs, b1 as Zs, m as zs, o as Ks, p as Qs, q as js, r as Xs, bd as qs, s as Js, t as Ys, be as $s, b3 as at, aS as et, cj as st, bf as tt, u as ot, cw as rt, cz as it, v as nt, w as lt, cV as ct, cX as pt, cU as gt, cW as bt, x as ut, cm as mt, y as dt, z as St, A as Tt, cC as Ct, bc as Dt, bb as Ft, B as It, cv as Lt, C as Pt, ce as Vt, ca as At, c9 as Et, R as Rt, J as ht, b_ as ft, cD as yt, aK as Bt, G as Mt, cT as wt, bK as xt, bE as vt, a8 as Gt, W as Nt, bj as _t } from "./index-C80kaiT7.js";
2
+ import { ck as m, ag as d, Y as S, H as T, a4 as C, a5 as D, $ as F, a0 as I, bT as L, ah as P, c3 as V, aH as A, cM as E, aq as R, an as h, bZ as f, aR as y, bq as B, br as M, bt as w, bs as x, cG as v, aE as G, aF as N, bI as _, ac as k, a1 as W, af as U, aQ as O, aP as H, M as Z, ar as z, aL as K, bQ as Q, T as j, cF as X, e as q, g as J, h as Y, b5 as $, b6 as aa, d as ea, c0 as sa, b as ta, D as oa, a as ra, c as ia, aX as na, al as la, ak as ca, bW as pa, c1 as ga, c2 as ba, bk as ua, N as ma, V as da, cS as Sa, bX as Ta, cu as Ca, as as Da, bH as Fa, aJ as Ia, f as La, aM as Pa, cN as Va, aI as Aa, b9 as Ea, b8 as Ra, ba as ha, b7 as fa, F as ya, bG as Ba, bS as Ma, aB as wa, ct as xa, aw as va, ay as Ga, ax as Na, b4 as _a, aO as ka, cl as Wa, a6 as Ua, ae as Oa, bO as Ha, aU as Za, aD as za, cO as Ka, ap as Qa, at as ja, co as Xa, cp as qa, cn as Ja, au as Ya, l as $a, L as ae, X as ee, aT as se, cP as te, a2 as oe, av as re, bu as ie, aA as ne, b0 as le, a$ as ce, bg as pe, bY as ge, aa as be, bp as ue, n as me, cr as de, cL as Se, P as Te, cR as Ce, am as De, cB as Fe, Z as Ie, bo as Le, aW as Pe, bC as Ve, bB as Ae, bv as Ee, bA as Re, bw as he, bx as fe, by as ye, bz as Be, aG as Me, bD as we, bR as xe, bJ as ve, cA as Ge, bm as Ne, bl as _e, cJ as ke, cx as We, ad as Ue, cs as Oe, a7 as He, cK as Ze, aC as ze, bn as Ke, a_ as Qe, K as je, cf as Xe, c8 as qe, cH as Je, bi as Ye, cI as $e, a9 as as, bV as es, S as ss, ai as ts, aj as os, aZ as rs, bU as is, O as ns, bh as ls, cb as cs, c6 as ps, Q as gs, cQ as bs, cc as us, cd as ms, aY as ds, I as Ss, b$ as Ts, ab as Cs, bP as Ds, cq as Fs, az as Is, ci as Ls, bM as Ps, bL as Vs, bN as As, cE as Es, aV as Rs, bF as hs, cg as fs, a3 as ys, c5 as Bs, c4 as Ms, ch as ws, c7 as xs, _ as vs, ao as Gs, U as Ns, aN as _s, E as ks, b2 as Ws, cy as Us, j as Os, k as Hs, b1 as Zs, m as zs, o as Ks, p as Qs, q as js, r as Xs, bd as qs, s as Js, t as Ys, be as $s, b3 as at, aS as et, cj as st, bf as tt, u as ot, cw as rt, cz as it, v as nt, w as lt, cV as ct, cX as pt, cU as gt, cW as bt, x as ut, cm as mt, y as dt, z as St, A as Tt, cC as Ct, bc as Dt, bb as Ft, B as It, cv as Lt, C as Pt, ce as Vt, ca as At, c9 as Et, R as Rt, J as ht, b_ as ft, cD as yt, aK as Bt, G as Mt, cT as wt, bK as xt, bE as vt, a8 as Gt, W as Nt, bj as _t } from "./index-ChuI9KgU.js";
3
3
  import { B as Wt, x as Ut, I as Ot, y as Ht, r as Zt, z as zt, T as Kt, t as Qt, h as jt, E as Xt, F as qt, w as Jt } from "./button-PAO-DOeN.js";
4
4
  import { L as $t, T as ao, d as eo, b as so, e as to, f as oo, t as ro } from "./toggle-group-D1gMFfbz.js";
5
5
  export {