@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/components.d.ts
CHANGED
|
@@ -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,
|
|
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
|
-
|
|
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.
|
|
@@ -2533,12 +2538,14 @@ export declare const Folder: React_2.ForwardRefExoticComponent<{
|
|
|
2533
2538
|
level: number;
|
|
2534
2539
|
} & Omit<AccordionPrimitive.AccordionItemProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & ExecutionDetail & React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
|
|
2535
2540
|
|
|
2536
|
-
declare function FolderItem({ children, value, isActive, content, link, onClick, icon, ...otherProps }: FolderItemProps): JSX_2.Element;
|
|
2541
|
+
declare function FolderItem({ children, value, isActive, content, link, className, wrapperClassName, onClick, icon, ...otherProps }: FolderItemProps): JSX_2.Element;
|
|
2537
2542
|
|
|
2538
2543
|
declare interface FolderItemProps extends Partial<Omit<BaseItemProps, 'actionButtons'>> {
|
|
2539
2544
|
children: ReactNode;
|
|
2540
2545
|
level: number;
|
|
2541
2546
|
value: string;
|
|
2547
|
+
className?: string;
|
|
2548
|
+
wrapperClassName?: string;
|
|
2542
2549
|
content?: ReactNode;
|
|
2543
2550
|
onClick?: (value: string) => void;
|
|
2544
2551
|
link?: string;
|
|
@@ -6532,6 +6539,12 @@ export declare interface TableHeadProps extends ThHTMLAttributes<HTMLTableCellEl
|
|
|
6532
6539
|
containerProps?: FlexProps;
|
|
6533
6540
|
hideDivider?: boolean;
|
|
6534
6541
|
contentClassName?: string;
|
|
6542
|
+
/**
|
|
6543
|
+
* Optional chrome rendered as a direct child of the `<th>`, outside the
|
|
6544
|
+
* label/sort layout. Used by DataTable for column resize handles so they
|
|
6545
|
+
* can be positioned against the cell boundary.
|
|
6546
|
+
*/
|
|
6547
|
+
resizeHandle?: ReactNode;
|
|
6535
6548
|
}
|
|
6536
6549
|
|
|
6537
6550
|
export declare interface TableRootV2Props extends HTMLAttributes<HTMLTableElement>, VariantProps<typeof tableVariants> {
|
|
@@ -6553,6 +6566,12 @@ export declare interface TableRootV2Props extends HTMLAttributes<HTMLTableElemen
|
|
|
6553
6566
|
* Ref forwarded to the scroll viewport element. Only applies in sticky mode.
|
|
6554
6567
|
*/
|
|
6555
6568
|
viewportRef?: Ref<HTMLDivElement>;
|
|
6569
|
+
/**
|
|
6570
|
+
* Optional overlay rendered as a sibling of `<table>` inside the scroll
|
|
6571
|
+
* viewport. Used by DataTable for a column-resize indicator that is not
|
|
6572
|
+
* clipped by header cells.
|
|
6573
|
+
*/
|
|
6574
|
+
overlay?: ReactNode;
|
|
6556
6575
|
}
|
|
6557
6576
|
|
|
6558
6577
|
declare interface TableRowProps extends HTMLAttributes<HTMLTableRowElement> {
|
package/dist/components.js
CHANGED
|
@@ -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-
|
|
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-CL_AqFMR.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 {
|