@harnessio/ui 0.5.10 → 0.5.12
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 +7 -3
- package/dist/components.js +1 -1
- package/dist/{index-CHvN8Aah.js → index-CC22tE94.js} +3156 -3157
- package/dist/{index-CHvN8Aah.js.map → index-CC22tE94.js.map} +1 -1
- package/dist/index.d.ts +7 -3
- package/dist/index.js +1 -1
- package/dist/styles.css +1 -1
- package/dist/tailwind.config.js +0 -2
- package/dist/tailwind.config.js.map +1 -1
- package/package.json +3 -3
package/dist/components.d.ts
CHANGED
|
@@ -1217,7 +1217,7 @@ declare interface CustomItemProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
1217
1217
|
children: ReactNode;
|
|
1218
1218
|
}
|
|
1219
1219
|
|
|
1220
|
-
export declare const DataTable: (<TData>({ data, columns, size, variant, paginationProps, getRowClassName, onRowClick, disableHighlightOnHover, className, currentSorting, currentRowSelection, onSortingChange: externalOnSortingChange, enableRowSelection, onRowSelectionChange: externalOnRowSelectionChange, enableExpanding, getRowCanExpand, getRowCanSelect, getIsRowDisabled, currentExpanded, onExpandedChange: externalOnExpandedChange, renderSubComponent, _enableColumnResizing, getRowId, visibleColumns, columnPinning }: DataTableProps<TData>) => JSX_2.Element) & {
|
|
1220
|
+
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, currentExpanded, onExpandedChange: externalOnExpandedChange, renderSubComponent, _enableColumnResizing, getRowId, visibleColumns, columnPinning }: DataTableProps<TData>) => JSX_2.Element) & {
|
|
1221
1221
|
ColumnFilter: FC<DataTableColumnFilterDropdownProps>;
|
|
1222
1222
|
};
|
|
1223
1223
|
|
|
@@ -1280,6 +1280,11 @@ export declare interface DataTableProps<TData> {
|
|
|
1280
1280
|
* and cannot be clicked, selected, or expanded.
|
|
1281
1281
|
*/
|
|
1282
1282
|
getIsRowDisabled?: (row: Row<TData>) => boolean;
|
|
1283
|
+
/**
|
|
1284
|
+
* Function to generate a navigation link for a row.
|
|
1285
|
+
* When provided, the row renders as a link navigating to the returned URL.
|
|
1286
|
+
*/
|
|
1287
|
+
getRowLink?: (data: TData, index: number) => string;
|
|
1283
1288
|
/**
|
|
1284
1289
|
* Current expanded rows state
|
|
1285
1290
|
*/
|
|
@@ -1462,7 +1467,6 @@ export declare const Drawer: {
|
|
|
1462
1467
|
Trigger: ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLButtonElement>>;
|
|
1463
1468
|
Content: ForwardRefExoticComponent<Omit<Omit<DialogContentProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & {
|
|
1464
1469
|
size?: DrawerContentVariantsSize;
|
|
1465
|
-
hideClose?: boolean;
|
|
1466
1470
|
overlayClassName?: string;
|
|
1467
1471
|
forceWithOverlay?: boolean;
|
|
1468
1472
|
} & RefAttributes<HTMLDivElement>>;
|
|
@@ -1487,7 +1491,6 @@ export declare const Drawer: {
|
|
|
1487
1491
|
|
|
1488
1492
|
export declare type DrawerContentProps = ComponentPropsWithoutRef<typeof Drawer_2.Content> & {
|
|
1489
1493
|
size?: DrawerContentVariantsSize;
|
|
1490
|
-
hideClose?: boolean;
|
|
1491
1494
|
overlayClassName?: string;
|
|
1492
1495
|
forceWithOverlay?: boolean;
|
|
1493
1496
|
};
|
|
@@ -1503,6 +1506,7 @@ export declare type DrawerContentVariantsSize = VariantProps<typeof drawerConten
|
|
|
1503
1506
|
|
|
1504
1507
|
declare type DrawerHeaderBaseProps = Omit<HTMLAttributes<HTMLDivElement>, 'children'> & {
|
|
1505
1508
|
children: ReactNode;
|
|
1509
|
+
hideClose?: boolean;
|
|
1506
1510
|
};
|
|
1507
1511
|
|
|
1508
1512
|
declare type DrawerHeaderIconOnlyProps = {
|
package/dist/components.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a4 as e, B as t, V as o, U as r, a7 as i, a8 as n, I as l, a9 as b, X as p, aa as g, W as u, ab as c, L as m, S as d, p as S, ac as T, l as C, ad as I, ae as V, af as F, ag as h, e as y, a5 as D } from "./index-DhFGPGOA.js";
|
|
2
|
-
import { bK as L, G as M, A, r as B, v as w, m as x, o as f, bi as v, I as N, bu as W, ac as k, c9 as R, Y as E, V as G, bo as O, aq as U, aS as _, aT as H, aV as K, aU as X, c3 as z, aa as j, b8 as q, B as J, p as Q, F as Y, ao as Z, an as $, Z as aa, aj as sa, bf as ea, C as ta, br as oa, aw as ra, Q as ia, O as na, bl as la, bs as ba, bt as pa, aM as ga, D as ua, h as ca, bm as ma, bU as da, _ as Sa, b7 as Ta, ah as Ca, f as Ia, ak as Va, ca as Fa, ag as ha, aE as ya, aD as Da, aF as Pa, aC as La, b6 as Ma, bh as Aa, a7 as Ba, bT as wa, a2 as xa, a4 as fa, a3 as va, am as Na, bL as Wa, H as ka, bd as Ra, at as Ea, a9 as Ga, cb as Oa, X as Ua, $ as _a, bO as Ha, bP as Ka, bN as Xa, ap as za, a0 as ja, l as qa, L as Ja, M as Qa, as as Ya, cc as Za, q as $a, a1 as as, aW as ss, a6 as es, aB as ts, aA as os, aI as rs, bn as is, N as ns, aR as ls, n as bs, bR as ps, c8 as gs, P as us, R as cs, b$ as ms, j as ds, aQ as Ss, av as Ts, b2 as Cs, b1 as Is, aX as Vs, b0 as Fs, aY as hs, aZ as ys, a_ as Ds, a$ as Ps, ab as Ls, b3 as Ms, bg as As, b9 as Bs, b_ as ws, aO as xs, aN as fs, c6 as vs, bX as Ns, E as Ws, bS as ks, w as Rs, c7 as Es, a8 as Gs, aP as Os, az as Us, a as _s, bF as Hs, bz as Ks, c4 as Xs, aK as zs, c5 as js, y as qs, bk as Js, J as Qs, K as Ys, ay as Zs, bj as $s, c as ae, aJ as se, bC as ee, bx as te, d as oe, bD as re, ax as ie, S as ne, bq as le, z as be, be as pe, T as ge, bQ as ue, a5 as ce, bI as me, bc as de, bb as Se, c2 as Te, ae as Ce, af as Ie, au as Ve, b5 as Fe, bG as he, U as ye, bw as De, bv as Pe, bH as Le, by as Me, k as Ae, W as Be, g as we, al as xe, bY as fe, ar as ve, bJ as Ne, bW as We, bZ as ke, bM as Re, c0 as Ee, aH as Ge, aG as Oe, bV as Ue, bE as _e, bB as He, bA as Ke, e as Xe, s as ze, bp as je, b as qe, c1 as Je, ad as Qe, t as Ye, ai as Ze, ba as $e, b4 as at, x as st, u as et, aL as tt } from "./index-
|
|
2
|
+
import { bK as L, G as M, A, r as B, v as w, m as x, o as f, bi as v, I as N, bu as W, ac as k, c9 as R, Y as E, V as G, bo as O, aq as U, aS as _, aT as H, aV as K, aU as X, c3 as z, aa as j, b8 as q, B as J, p as Q, F as Y, ao as Z, an as $, Z as aa, aj as sa, bf as ea, C as ta, br as oa, aw as ra, Q as ia, O as na, bl as la, bs as ba, bt as pa, aM as ga, D as ua, h as ca, bm as ma, bU as da, _ as Sa, b7 as Ta, ah as Ca, f as Ia, ak as Va, ca as Fa, ag as ha, aE as ya, aD as Da, aF as Pa, aC as La, b6 as Ma, bh as Aa, a7 as Ba, bT as wa, a2 as xa, a4 as fa, a3 as va, am as Na, bL as Wa, H as ka, bd as Ra, at as Ea, a9 as Ga, cb as Oa, X as Ua, $ as _a, bO as Ha, bP as Ka, bN as Xa, ap as za, a0 as ja, l as qa, L as Ja, M as Qa, as as Ya, cc as Za, q as $a, a1 as as, aW as ss, a6 as es, aB as ts, aA as os, aI as rs, bn as is, N as ns, aR as ls, n as bs, bR as ps, c8 as gs, P as us, R as cs, b$ as ms, j as ds, aQ as Ss, av as Ts, b2 as Cs, b1 as Is, aX as Vs, b0 as Fs, aY as hs, aZ as ys, a_ as Ds, a$ as Ps, ab as Ls, b3 as Ms, bg as As, b9 as Bs, b_ as ws, aO as xs, aN as fs, c6 as vs, bX as Ns, E as Ws, bS as ks, w as Rs, c7 as Es, a8 as Gs, aP as Os, az as Us, a as _s, bF as Hs, bz as Ks, c4 as Xs, aK as zs, c5 as js, y as qs, bk as Js, J as Qs, K as Ys, ay as Zs, bj as $s, c as ae, aJ as se, bC as ee, bx as te, d as oe, bD as re, ax as ie, S as ne, bq as le, z as be, be as pe, T as ge, bQ as ue, a5 as ce, bI as me, bc as de, bb as Se, c2 as Te, ae as Ce, af as Ie, au as Ve, b5 as Fe, bG as he, U as ye, bw as De, bv as Pe, bH as Le, by as Me, k as Ae, W as Be, g as we, al as xe, bY as fe, ar as ve, bJ as Ne, bW as We, bZ as ke, bM as Re, c0 as Ee, aH as Ge, aG as Oe, bV as Ue, bE as _e, bB as He, bA as Ke, e as Xe, s as ze, bp as je, b as qe, c1 as Je, ad as Qe, t as Ye, ai as Ze, ba as $e, b4 as at, x as st, u as et, aL as tt } from "./index-CC22tE94.js";
|
|
3
3
|
export {
|
|
4
4
|
L as AccentColor,
|
|
5
5
|
M as Accordion,
|