@harnessio/ui 1.2.8 → 1.2.10
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 +28 -2
- package/dist/components.js +2 -2
- package/dist/context.js +2 -2
- package/dist/index-DIh_ttog.js +1717 -0
- package/dist/index-DIh_ttog.js.map +1 -0
- package/dist/{index-B7QwmAgJ.js → index-Dq2oaTcj.js} +8860 -8849
- package/dist/{index-B7QwmAgJ.js.map → index-Dq2oaTcj.js.map} +1 -1
- package/dist/{index-DyWaEvn_.js → index-Dri0EuQC.js} +2 -2
- package/dist/{index-DyWaEvn_.js.map → index-Dri0EuQC.js.map} +1 -1
- package/dist/index.d.ts +29 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
- package/dist/index-Bmj1KvsW.js +0 -1711
- package/dist/index-Bmj1KvsW.js.map +0 -1
package/dist/components.d.ts
CHANGED
|
@@ -2058,15 +2058,17 @@ export declare interface FileViewerControlBarProps {
|
|
|
2058
2058
|
isGitLfsObject?: boolean;
|
|
2059
2059
|
}
|
|
2060
2060
|
|
|
2061
|
-
export declare const FilterBoxWrapper: ({ handleRemoveFilter, defaultOpen, children, filterLabel, isOpen, setIsOpen, valueLabel, tooltipContent, onOpenChange, contentClassName }: FiltersProps) => JSX_2.Element;
|
|
2061
|
+
export declare const FilterBoxWrapper: ({ handleRemoveFilter, defaultOpen, children, filterLabel, isOpen, setIsOpen, valueLabel, tooltipContent, onOpenChange, contentClassName, variant }: FiltersProps) => JSX_2.Element;
|
|
2062
2062
|
|
|
2063
|
-
export declare const FilterField: <T extends string, V extends FilterValueTypes, CustomValue = Record<string, unknown>>({ filterOption, removeFilter, shouldOpenFilter, dropdownContentClassName, onOpenChange, onChange, value }: FiltersFieldProps<T, V, CustomValue>) => JSX_2.Element;
|
|
2063
|
+
export declare const FilterField: <T extends string, V extends FilterValueTypes, CustomValue = Record<string, unknown>>({ filterOption, removeFilter, shouldOpenFilter, dropdownContentClassName, onOpenChange, onChange, value, variant }: FiltersFieldProps<T, V, CustomValue>) => JSX_2.Element;
|
|
2064
2064
|
|
|
2065
2065
|
export declare interface FilterFieldConfig<T = string | number> {
|
|
2066
2066
|
type: string;
|
|
2067
2067
|
value?: T;
|
|
2068
2068
|
}
|
|
2069
2069
|
|
|
2070
|
+
export declare type FilterFieldTriggerVariant = 'secondary' | 'outline';
|
|
2071
|
+
|
|
2070
2072
|
export declare enum FilterFieldTypes {
|
|
2071
2073
|
Calendar = "calendar",
|
|
2072
2074
|
DateRange = "daterange",
|
|
@@ -2104,6 +2106,11 @@ export declare interface FiltersFieldProps<T extends string, V extends FilterVal
|
|
|
2104
2106
|
onOpenChange?: (open: boolean) => void;
|
|
2105
2107
|
onChange: (selectedValues: V) => void;
|
|
2106
2108
|
value?: V;
|
|
2109
|
+
/**
|
|
2110
|
+
* Trigger button look. Defaults to `secondary`.
|
|
2111
|
+
* Pass `outline` for standalone filters (no filter group).
|
|
2112
|
+
*/
|
|
2113
|
+
variant?: FilterFieldTriggerVariant;
|
|
2107
2114
|
}
|
|
2108
2115
|
|
|
2109
2116
|
declare interface FiltersProps {
|
|
@@ -2116,6 +2123,11 @@ declare interface FiltersProps {
|
|
|
2116
2123
|
valueLabel?: ReactNode;
|
|
2117
2124
|
tooltipContent?: ReactNode;
|
|
2118
2125
|
contentClassName?: string;
|
|
2126
|
+
/**
|
|
2127
|
+
* Trigger button look. Defaults to `secondary` so existing filter groups stay unchanged.
|
|
2128
|
+
* Use `outline` for standalone filters that should match other outline filter controls.
|
|
2129
|
+
*/
|
|
2130
|
+
variant?: FilterFieldTriggerVariant;
|
|
2119
2131
|
children?: ReactNode;
|
|
2120
2132
|
}
|
|
2121
2133
|
|
|
@@ -3478,10 +3490,15 @@ export declare const LogoNameMapV2: {
|
|
|
3478
3490
|
'armore-code': FunctionComponent<SVGProps<SVGSVGElement>>;
|
|
3479
3491
|
artifactory: FunctionComponent<SVGProps<SVGSVGElement>>;
|
|
3480
3492
|
'auto-scaler': FunctionComponent<SVGProps<SVGSVGElement>>;
|
|
3493
|
+
'aws-asg': FunctionComponent<SVGProps<SVGSVGElement>>;
|
|
3494
|
+
'aws-ebs': FunctionComponent<SVGProps<SVGSVGElement>>;
|
|
3481
3495
|
'aws-ec2': FunctionComponent<SVGProps<SVGSVGElement>>;
|
|
3496
|
+
'aws-ecs': FunctionComponent<SVGProps<SVGSVGElement>>;
|
|
3482
3497
|
'aws-elasticache': FunctionComponent<SVGProps<SVGSVGElement>>;
|
|
3483
3498
|
'aws-rds': FunctionComponent<SVGProps<SVGSVGElement>>;
|
|
3499
|
+
'aws-redshift': FunctionComponent<SVGProps<SVGSVGElement>>;
|
|
3484
3500
|
aws: FunctionComponent<SVGProps<SVGSVGElement>>;
|
|
3501
|
+
'azure-vm': FunctionComponent<SVGProps<SVGSVGElement>>;
|
|
3485
3502
|
azure: FunctionComponent<SVGProps<SVGSVGElement>>;
|
|
3486
3503
|
background: FunctionComponent<SVGProps<SVGSVGElement>>;
|
|
3487
3504
|
bamboo: FunctionComponent<SVGProps<SVGSVGElement>>;
|
|
@@ -3517,6 +3534,7 @@ export declare const LogoNameMapV2: {
|
|
|
3517
3534
|
databricks: FunctionComponent<SVGProps<SVGSVGElement>>;
|
|
3518
3535
|
debian: FunctionComponent<SVGProps<SVGSVGElement>>;
|
|
3519
3536
|
'default-secret-manager': FunctionComponent<SVGProps<SVGSVGElement>>;
|
|
3537
|
+
devin: FunctionComponent<SVGProps<SVGSVGElement>>;
|
|
3520
3538
|
docker: FunctionComponent<SVGProps<SVGSVGElement>>;
|
|
3521
3539
|
dynatrace: FunctionComponent<SVGProps<SVGSVGElement>>;
|
|
3522
3540
|
elastic: FunctionComponent<SVGProps<SVGSVGElement>>;
|
|
@@ -4086,6 +4104,8 @@ export declare interface PageHeaderV2Props {
|
|
|
4086
4104
|
tabs?: HeaderV2TabItem[];
|
|
4087
4105
|
/** `ghost` renders tabs inline in the title row; `underlined` (default) renders below. */
|
|
4088
4106
|
tabsVariant?: HeaderV2TabsVariant;
|
|
4107
|
+
/** Optional className passed to the `Tabs.List` element. */
|
|
4108
|
+
tabsClassName?: string;
|
|
4089
4109
|
contentTabs?: boolean;
|
|
4090
4110
|
children?: ReactNode;
|
|
4091
4111
|
className?: string;
|
|
@@ -5693,10 +5713,15 @@ export declare const SymbolNameMap: {
|
|
|
5693
5713
|
'armore-code': FunctionComponent<SVGProps<SVGSVGElement>>;
|
|
5694
5714
|
artifactory: FunctionComponent<SVGProps<SVGSVGElement>>;
|
|
5695
5715
|
'auto-scaler': FunctionComponent<SVGProps<SVGSVGElement>>;
|
|
5716
|
+
'aws-asg': FunctionComponent<SVGProps<SVGSVGElement>>;
|
|
5717
|
+
'aws-ebs': FunctionComponent<SVGProps<SVGSVGElement>>;
|
|
5696
5718
|
'aws-ec2': FunctionComponent<SVGProps<SVGSVGElement>>;
|
|
5719
|
+
'aws-ecs': FunctionComponent<SVGProps<SVGSVGElement>>;
|
|
5697
5720
|
'aws-elasticache': FunctionComponent<SVGProps<SVGSVGElement>>;
|
|
5698
5721
|
'aws-rds': FunctionComponent<SVGProps<SVGSVGElement>>;
|
|
5722
|
+
'aws-redshift': FunctionComponent<SVGProps<SVGSVGElement>>;
|
|
5699
5723
|
aws: FunctionComponent<SVGProps<SVGSVGElement>>;
|
|
5724
|
+
'azure-vm': FunctionComponent<SVGProps<SVGSVGElement>>;
|
|
5700
5725
|
azure: FunctionComponent<SVGProps<SVGSVGElement>>;
|
|
5701
5726
|
background: FunctionComponent<SVGProps<SVGSVGElement>>;
|
|
5702
5727
|
bamboo: FunctionComponent<SVGProps<SVGSVGElement>>;
|
|
@@ -5732,6 +5757,7 @@ export declare const SymbolNameMap: {
|
|
|
5732
5757
|
databricks: FunctionComponent<SVGProps<SVGSVGElement>>;
|
|
5733
5758
|
debian: FunctionComponent<SVGProps<SVGSVGElement>>;
|
|
5734
5759
|
'default-secret-manager': FunctionComponent<SVGProps<SVGSVGElement>>;
|
|
5760
|
+
devin: FunctionComponent<SVGProps<SVGSVGElement>>;
|
|
5735
5761
|
docker: FunctionComponent<SVGProps<SVGSVGElement>>;
|
|
5736
5762
|
dynatrace: FunctionComponent<SVGProps<SVGSVGElement>>;
|
|
5737
5763
|
elastic: FunctionComponent<SVGProps<SVGSVGElement>>;
|
package/dist/components.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { A as e, B as t, j as o, E as r, k as i, r as n, L as l, S as b, s as p, t as c, c as g } from "./index-
|
|
1
|
+
import { A as e, B as t, j as o, E as r, k as i, r as n, L as l, S as b, s as p, t as c, c as g } from "./index-DIh_ttog.js";
|
|
2
2
|
import { B as m, x as d, I as S, y as T, r as C, z as I, T as h, v as F, h as D, E as y, F as L, w as V } from "./button-D7Vweq01.js";
|
|
3
|
-
import { bP as A, G as B, A as M, t as x, v as w, o as f, p as v, bm as k, I as E, by as G, ad as N, ce as R, Y as W, V as H, bs as _, an as U, aV as O, aW as j, aY as z, aX as K, c8 as X, aa as q, ab as J, bb as Q, z as Y, q as Z, F as $, am as aa, al as sa, C as ea, Z as ta, ah as oa, bj as ra, g as ia, aD as na, aE as la, bv as ba, at as pa, Q as ca, O as ga, bp as ua, bw as ma, bx as da, aP as Sa, D as Ta, j as Ca, ck as Ia, bq as ha, bZ as Fa, _ as Da, ba as ya, af as La, f as Va, ai as Pa, cf as Aa, ae as Ba, aH as Ma, aG as xa, aI as wa, aF as fa, b9 as va, bl as ka, a7 as Ea, bY as Ga, a2 as Na, a4 as Ra, a3 as Wa, aC as Ha, ak as _a, bQ as Ua, H as Oa, E as ja, bh as za, aq as Ka, a9 as Xa, cg as qa, X as Ja, $ as Qa, bT as Ya, bU as Za, bS as $a, a0 as as, l as ss, L as es, M as ts, ap as os, ch as rs, r as is, a1 as ns, aZ as ls, a6 as bs, ay as ps, ax as cs, aL as gs, br as us, N as ms, aU as ds, n as Ss, bW as Ts, cd as Cs, P as Is, cj as hs, R as Fs, c4 as Ds, k as ys, aT as Ls, as as Vs, b5 as Ps, b4 as As, a_ as Bs, b3 as Ms, a$ as xs, b0 as ws, b1 as fs, b2 as vs, ac as ks, b6 as Es, bk as Gs, bc as Ns, c3 as Rs, aR as Ws, aQ as Hs, cb as _s, c0 as Us, B as Os, bX as js, w as zs, cc as Ks, a8 as Xs, aS as qs, aw as Js, b as Qs, bK as Ys, bD as Zs, c9 as $s, aN as ae, ca as se, y as ee, bo as te, S as oe, J as re, K as ie, av as ne, bn as le, c as be, aM as pe, bG as ce, bB as ge, d as ue, ci as me, bH as de, bI as Se, au as Te, a as Ce, bu as Ie, T as he, bi as Fe, bV as De, a5 as ye, bN as Le, bf as Ve, be as Pe, bg as Ae, c7 as Be, ar as Me, b8 as xe, bL as we, U as fe, bA as ve, bz as ke, bM as Ee, bC as Ge, m as Ne, W as Re, h as We, aj as He, aA as _e, c1 as Ue, az as Oe, aB as je, ao as ze, bO as Ke, b$ as Xe, c2 as qe, bR as Je, c5 as Qe, aK as Ye, aJ as Ze, b_ as $e, bJ as at, bF as st, bE as et, e as tt, s as ot, bt as rt, c6 as it, ag as nt, cl as lt, bd as bt, b7 as pt, x as ct, u as gt, aO as ut } from "./index-
|
|
3
|
+
import { bP as A, G as B, A as M, t as x, v as w, o as f, p as v, bm as k, I as E, by as G, ad as N, ce as R, Y as W, V as H, bs as _, an as U, aV as O, aW as j, aY as z, aX as K, c8 as X, aa as q, ab as J, bb as Q, z as Y, q as Z, F as $, am as aa, al as sa, C as ea, Z as ta, ah as oa, bj as ra, g as ia, aD as na, aE as la, bv as ba, at as pa, Q as ca, O as ga, bp as ua, bw as ma, bx as da, aP as Sa, D as Ta, j as Ca, ck as Ia, bq as ha, bZ as Fa, _ as Da, ba as ya, af as La, f as Va, ai as Pa, cf as Aa, ae as Ba, aH as Ma, aG as xa, aI as wa, aF as fa, b9 as va, bl as ka, a7 as Ea, bY as Ga, a2 as Na, a4 as Ra, a3 as Wa, aC as Ha, ak as _a, bQ as Ua, H as Oa, E as ja, bh as za, aq as Ka, a9 as Xa, cg as qa, X as Ja, $ as Qa, bT as Ya, bU as Za, bS as $a, a0 as as, l as ss, L as es, M as ts, ap as os, ch as rs, r as is, a1 as ns, aZ as ls, a6 as bs, ay as ps, ax as cs, aL as gs, br as us, N as ms, aU as ds, n as Ss, bW as Ts, cd as Cs, P as Is, cj as hs, R as Fs, c4 as Ds, k as ys, aT as Ls, as as Vs, b5 as Ps, b4 as As, a_ as Bs, b3 as Ms, a$ as xs, b0 as ws, b1 as fs, b2 as vs, ac as ks, b6 as Es, bk as Gs, bc as Ns, c3 as Rs, aR as Ws, aQ as Hs, cb as _s, c0 as Us, B as Os, bX as js, w as zs, cc as Ks, a8 as Xs, aS as qs, aw as Js, b as Qs, bK as Ys, bD as Zs, c9 as $s, aN as ae, ca as se, y as ee, bo as te, S as oe, J as re, K as ie, av as ne, bn as le, c as be, aM as pe, bG as ce, bB as ge, d as ue, ci as me, bH as de, bI as Se, au as Te, a as Ce, bu as Ie, T as he, bi as Fe, bV as De, a5 as ye, bN as Le, bf as Ve, be as Pe, bg as Ae, c7 as Be, ar as Me, b8 as xe, bL as we, U as fe, bA as ve, bz as ke, bM as Ee, bC as Ge, m as Ne, W as Re, h as We, aj as He, aA as _e, c1 as Ue, az as Oe, aB as je, ao as ze, bO as Ke, b$ as Xe, c2 as qe, bR as Je, c5 as Qe, aK as Ye, aJ as Ze, b_ as $e, bJ as at, bF as st, bE as et, e as tt, s as ot, bt as rt, c6 as it, ag as nt, cl as lt, bd as bt, b7 as pt, x as ct, u as gt, aO as ut } from "./index-Dq2oaTcj.js";
|
|
4
4
|
import { L as dt, T as St, b as Tt, d as Ct, e as It, f as ht, t as Ft } from "./toggle-group-D7mHgYBv.js";
|
|
5
5
|
export {
|
|
6
6
|
A as AccentColor,
|
package/dist/context.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { G as a, H as r, u as s, a as t } from "./button-D7Vweq01.js";
|
|
2
2
|
import { R as m, u as n } from "./use-resize-observer-DNQ1lBLF.js";
|
|
3
|
-
import { e as C, v as x, w as T, f as g, x as l, q as p, d, u as f } from "./index-
|
|
4
|
-
import { C as v, E as h, a as D, m as E, u as R, b as y } from "./index-
|
|
3
|
+
import { e as C, v as x, w as T, f as g, x as l, q as p, d, u as f } from "./index-DIh_ttog.js";
|
|
4
|
+
import { C as v, E as h, a as D, m as E, u as R, b as y } from "./index-Dri0EuQC.js";
|
|
5
5
|
import { a as M, C as S, M as b, l as k, k as q } from "./types-DuzuERyI.js";
|
|
6
6
|
export {
|
|
7
7
|
M as ColorType,
|