@harnessio/ui 0.5.59 → 0.5.60

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.
@@ -3272,6 +3272,7 @@ export declare const LogoNameMapV2: {
3272
3272
  anchore: FunctionComponent<SVGProps<SVGSVGElement>>;
3273
3273
  android: FunctionComponent<SVGProps<SVGSVGElement>>;
3274
3274
  'app-dynamics': FunctionComponent<SVGProps<SVGSVGElement>>;
3275
+ apple: FunctionComponent<SVGProps<SVGSVGElement>>;
3275
3276
  approval: FunctionComponent<SVGProps<SVGSVGElement>>;
3276
3277
  aqua: FunctionComponent<SVGProps<SVGSVGElement>>;
3277
3278
  argo: FunctionComponent<SVGProps<SVGSVGElement>>;
@@ -3363,6 +3364,7 @@ export declare const LogoNameMapV2: {
3363
3364
  owasp: FunctionComponent<SVGProps<SVGSVGElement>>;
3364
3365
  pagerduty: FunctionComponent<SVGProps<SVGSVGElement>>;
3365
3366
  parallel: FunctionComponent<SVGProps<SVGSVGElement>>;
3367
+ playwright: FunctionComponent<SVGProps<SVGSVGElement>>;
3366
3368
  'prisma-cloud': FunctionComponent<SVGProps<SVGSVGElement>>;
3367
3369
  prometheus: FunctionComponent<SVGProps<SVGSVGElement>>;
3368
3370
  prowler: FunctionComponent<SVGProps<SVGSVGElement>>;
@@ -3400,6 +3402,7 @@ export declare const LogoNameMapV2: {
3400
3402
  traceable: FunctionComponent<SVGProps<SVGSVGElement>>;
3401
3403
  veracode: FunctionComponent<SVGProps<SVGSVGElement>>;
3402
3404
  'vue-js': FunctionComponent<SVGProps<SVGSVGElement>>;
3405
+ windows: FunctionComponent<SVGProps<SVGSVGElement>>;
3403
3406
  windsurf: FunctionComponent<SVGProps<SVGSVGElement>>;
3404
3407
  wiz: FunctionComponent<SVGProps<SVGSVGElement>>;
3405
3408
  yaml: FunctionComponent<SVGProps<SVGSVGElement>>;
@@ -5410,6 +5413,7 @@ export declare const SymbolNameMap: {
5410
5413
  anchore: FunctionComponent<SVGProps<SVGSVGElement>>;
5411
5414
  android: FunctionComponent<SVGProps<SVGSVGElement>>;
5412
5415
  'app-dynamics': FunctionComponent<SVGProps<SVGSVGElement>>;
5416
+ apple: FunctionComponent<SVGProps<SVGSVGElement>>;
5413
5417
  approval: FunctionComponent<SVGProps<SVGSVGElement>>;
5414
5418
  aqua: FunctionComponent<SVGProps<SVGSVGElement>>;
5415
5419
  argo: FunctionComponent<SVGProps<SVGSVGElement>>;
@@ -5501,6 +5505,7 @@ export declare const SymbolNameMap: {
5501
5505
  owasp: FunctionComponent<SVGProps<SVGSVGElement>>;
5502
5506
  pagerduty: FunctionComponent<SVGProps<SVGSVGElement>>;
5503
5507
  parallel: FunctionComponent<SVGProps<SVGSVGElement>>;
5508
+ playwright: FunctionComponent<SVGProps<SVGSVGElement>>;
5504
5509
  'prisma-cloud': FunctionComponent<SVGProps<SVGSVGElement>>;
5505
5510
  prometheus: FunctionComponent<SVGProps<SVGSVGElement>>;
5506
5511
  prowler: FunctionComponent<SVGProps<SVGSVGElement>>;
@@ -5538,6 +5543,7 @@ export declare const SymbolNameMap: {
5538
5543
  traceable: FunctionComponent<SVGProps<SVGSVGElement>>;
5539
5544
  veracode: FunctionComponent<SVGProps<SVGSVGElement>>;
5540
5545
  'vue-js': FunctionComponent<SVGProps<SVGSVGElement>>;
5546
+ windows: FunctionComponent<SVGProps<SVGSVGElement>>;
5541
5547
  windsurf: FunctionComponent<SVGProps<SVGSVGElement>>;
5542
5548
  wiz: FunctionComponent<SVGProps<SVGSVGElement>>;
5543
5549
  yaml: FunctionComponent<SVGProps<SVGSVGElement>>;
@@ -1,5 +1,5 @@
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 c, W as g, ab as u, L as m, o as d, v as S, ac as T, s as C, ad as I, ae as h, af as F, ag as V, n as y, a5 as D } from "./index-ahxJiEhB.js";
2
- import { bO as L, J as M, A, v as B, w, o as x, p as f, bl as v, K as N, bx as k, ae as W, cd as R, _ as E, X as G, br as H, as as O, aU as U, aV as _, aX as K, aW as X, c7 as j, ac as z, ba as q, E as J, q as Q, I as Y, aq as Z, ap as $, C as aa, $ as sa, al as ea, bi as ta, g as oa, bu as ra, ay as ia, V as na, R as la, bo as ba, bv as pa, bw as ca, aO as ga, D as ua, j as ma, bp as da, bY as Sa, a0 as Ta, b9 as Ca, aj as Ia, f as ha, am as Fa, ce as Va, ai as ya, aG as Da, aF as Pa, aH as La, aE as Ma, b8 as Aa, bk as Ba, a9 as wa, bX as xa, a4 as fa, a6 as va, a5 as Na, ao as ka, bP as Wa, H as Ra, G as Ea, bg as Ga, av as Ha, ab as Oa, cf as Ua, Z as _a, a1 as Ka, bS as Xa, bT as ja, bR as za, ar as qa, a2 as Ja, l as Qa, L as Ya, M as Za, au as $a, cg as as, r as ss, a3 as es, aY as ts, a8 as os, aD as rs, aC as is, aK as ns, bq as ls, N as bs, aT as ps, n as cs, bV as gs, cc as us, P as ms, W as ds, c3 as Ss, k as Ts, aS as Cs, ax as Is, b4 as hs, b3 as Fs, aZ as Vs, b2 as ys, a_ as Ds, a$ as Ps, b0 as Ls, b1 as Ms, ad as As, b5 as Bs, bj as ws, bb as xs, c2 as fs, aQ as vs, aP as Ns, ca as ks, b$ as Ws, F as Rs, bW as Es, x as Gs, cb as Hs, aa as Os, aR as Us, aB as _s, a as Ks, bJ as Xs, bC as js, c8 as zs, aM as qs, c9 as Js, z as Qs, bn as Ys, O as Zs, Q as $s, aA as ae, bm as se, c as ee, aL as te, ci as oe, bF as re, bA as ie, d as ne, ch as le, bG as be, bH as pe, az as ce, S as ge, bt as ue, B as me, bh as de, T as Se, bU as Te, a7 as Ce, bM as Ie, be as he, bd as Fe, bf as Ve, c6 as ye, ag as De, ah as Pe, aw as Le, b7 as Me, bK as Ae, U as Be, bz as we, by as xe, bL as fe, bB as ve, m as Ne, Y as ke, h as We, an as Re, c0 as Ee, at as Ge, bN as He, b_ as Oe, c1 as Ue, bQ as _e, c4 as Ke, aJ as Xe, aI as je, bZ as ze, bI as qe, bE as Je, bD as Qe, e as Ye, s as Ze, bs as $e, b as at, c5 as st, af as et, t as tt, ak as ot, cj as rt, bc as it, b6 as nt, y as lt, u as bt, aN as pt } from "./index-BXUQwsBw.js";
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 c, W as g, ab as u, L as m, o as d, v as S, ac as T, s as C, ad as I, ae as h, af as F, ag as V, n as y, a5 as D } from "./index-B9aGyjnL.js";
2
+ import { bO as L, J as M, A, v as B, w, o as x, p as f, bl as v, K as N, bx as k, ae as W, cd as R, _ as E, X as G, br as H, as as O, aU as U, aV as _, aX as K, aW as X, c7 as j, ac as z, ba as q, E as J, q as Q, I as Y, aq as Z, ap as $, C as aa, $ as sa, al as ea, bi as ta, g as oa, bu as ra, ay as ia, V as na, R as la, bo as ba, bv as pa, bw as ca, aO as ga, D as ua, j as ma, bp as da, bY as Sa, a0 as Ta, b9 as Ca, aj as Ia, f as ha, am as Fa, ce as Va, ai as ya, aG as Da, aF as Pa, aH as La, aE as Ma, b8 as Aa, bk as Ba, a9 as wa, bX as xa, a4 as fa, a6 as va, a5 as Na, ao as ka, bP as Wa, H as Ra, G as Ea, bg as Ga, av as Ha, ab as Oa, cf as Ua, Z as _a, a1 as Ka, bS as Xa, bT as ja, bR as za, ar as qa, a2 as Ja, l as Qa, L as Ya, M as Za, au as $a, cg as as, r as ss, a3 as es, aY as ts, a8 as os, aD as rs, aC as is, aK as ns, bq as ls, N as bs, aT as ps, n as cs, bV as gs, cc as us, P as ms, W as ds, c3 as Ss, k as Ts, aS as Cs, ax as Is, b4 as hs, b3 as Fs, aZ as Vs, b2 as ys, a_ as Ds, a$ as Ps, b0 as Ls, b1 as Ms, ad as As, b5 as Bs, bj as ws, bb as xs, c2 as fs, aQ as vs, aP as Ns, ca as ks, b$ as Ws, F as Rs, bW as Es, x as Gs, cb as Hs, aa as Os, aR as Us, aB as _s, a as Ks, bJ as Xs, bC as js, c8 as zs, aM as qs, c9 as Js, z as Qs, bn as Ys, O as Zs, Q as $s, aA as ae, bm as se, c as ee, aL as te, ci as oe, bF as re, bA as ie, d as ne, ch as le, bG as be, bH as pe, az as ce, S as ge, bt as ue, B as me, bh as de, T as Se, bU as Te, a7 as Ce, bM as Ie, be as he, bd as Fe, bf as Ve, c6 as ye, ag as De, ah as Pe, aw as Le, b7 as Me, bK as Ae, U as Be, bz as we, by as xe, bL as fe, bB as ve, m as Ne, Y as ke, h as We, an as Re, c0 as Ee, at as Ge, bN as He, b_ as Oe, c1 as Ue, bQ as _e, c4 as Ke, aJ as Xe, aI as je, bZ as ze, bI as qe, bE as Je, bD as Qe, e as Ye, s as Ze, bs as $e, b as at, c5 as st, af as et, t as tt, ak as ot, cj as rt, bc as it, b6 as nt, y as lt, u as bt, aN as pt } from "./index-Cb_umD1m.js";
3
3
  export {
4
4
  L as AccentColor,
5
5
  M as Accordion,
package/dist/context.js CHANGED
@@ -1,6 +1,6 @@
1
- import { q as o, ah as s, ai as r, aj as t, ak as i, r as n, al as m, a3 as u, u as C, p as T, d as g, f as l } from "./index-ahxJiEhB.js";
1
+ import { q as o, ah as s, ai as r, aj as t, ak as i, r as n, al as m, a3 as u, u as C, p as T, d as g, f as l } from "./index-B9aGyjnL.js";
2
2
  import { b as p, C as x, M as P, R as f, o as v, m as h, u as D } from "./use-resize-observer-B-bXbUjU.js";
3
- import { C as R, E as y, a as b, u as M, b as S } from "./index-DV7K3UFV.js";
3
+ import { C as R, E as y, a as b, u as M, b as S } from "./index-B8yNpfLs.js";
4
4
  export {
5
5
  p as ColorType,
6
6
  R as ComponentProvider,
@@ -1,4 +1,4 @@
1
- import { a7 as f, q as v, ah as g, ai as P, aj as T, ak as h, r as E, al as b, a3 as w, u as j, p as y, d as D, f as S } from "./index-ahxJiEhB.js";
1
+ import { a7 as f, q as v, ah as g, ai as P, aj as T, ak as h, r as E, al as b, a3 as w, u as j, p as y, d as D, f as S } from "./index-B9aGyjnL.js";
2
2
  import { b as _, C as M, M as O, R, o as k, m as q, u as z } from "./use-resize-observer-B-bXbUjU.js";
3
3
  import { jsx as i, jsxs as B } from "react/jsx-runtime";
4
4
  import { createContext as u, useContext as C, useState as a, useCallback as N, useMemo as A } from "react";
@@ -71,4 +71,4 @@ export {
71
71
  U as i,
72
72
  G as u
73
73
  };
74
- //# sourceMappingURL=index-DV7K3UFV.js.map
74
+ //# sourceMappingURL=index-B8yNpfLs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index-DV7K3UFV.js","sources":["../src/context/component-context.tsx","../src/context/exit-confirm-context.tsx"],"sourcesContent":["// ComponentContext.tsx\n\nimport React, { createContext, ReactNode, RefAttributes, useContext } from 'react'\n\nimport { RbacButtonProps, RbacMoreActionsTooltipProps, RbacSplitButtonProps } from '@components/rbac'\n\ninterface ComponentContextValue {\n RbacButton: React.ComponentType<RbacButtonProps & RefAttributes<HTMLButtonElement>>\n RbacSplitButton: <T extends string>(props: RbacSplitButtonProps<T>) => JSX.Element\n RbacMoreActionsTooltip: React.ForwardRefExoticComponent<\n RbacMoreActionsTooltipProps & RefAttributes<HTMLButtonElement>\n >\n}\n\nconst ComponentContext = createContext<ComponentContextValue | undefined>(undefined)\n\nexport const ComponentProvider = ({\n components,\n children\n}: {\n components: ComponentContextValue\n children: ReactNode\n}) => {\n return <ComponentContext.Provider value={components}>{children}</ComponentContext.Provider>\n}\n\nexport const useComponents = () => {\n const ctx = useContext(ComponentContext)\n if (!ctx) throw new Error('useComponents must be used within ComponentProvider')\n return ctx\n}\n","import { createContext, useCallback, useContext, useMemo, useState } from 'react'\n\nimport { ExitConfirmDialog, ExitConfirmOptions } from '../components/dialogs/exit-confirm-dialog'\n\nexport interface ExitConfirmContextType {\n show: (options: ExitConfirmOptions) => void\n}\n\nexport const ExitConfirmContext = createContext<ExitConfirmContextType>({\n show: (_options: ExitConfirmOptions) => undefined\n})\n\nexport function ExitConfirmProvider({ children }: { children: React.ReactNode }) {\n const [confirm, setConfirm] = useState<ExitConfirmOptions>()\n const [open, setOpen] = useState(false)\n\n const show = useCallback(\n (confirmOptions?: ExitConfirmOptions) => {\n setConfirm(confirmOptions)\n setOpen(true)\n },\n [setOpen]\n )\n\n const onConfirm = () => {\n confirm?.onConfirm?.()\n setOpen(false)\n }\n\n const onCancel = () => {\n confirm?.onCancel?.()\n setOpen(false)\n }\n\n const value = useMemo(() => ({ show }), [show])\n\n return (\n <ExitConfirmContext.Provider value={value}>\n {children}\n <ExitConfirmDialog {...confirm} onCancel={onCancel} onConfirm={onConfirm} open={open} />\n </ExitConfirmContext.Provider>\n )\n}\n\nexport const useExitConfirm = () => {\n const context = useContext(ExitConfirmContext)\n if (!context) {\n throw new Error('useExitConfirm must be used within a ExitConfirmProvider')\n }\n return context\n}\n"],"names":["ComponentContext","createContext","ComponentProvider","components","children","useComponents","ctx","useContext","ExitConfirmContext","_options","ExitConfirmProvider","confirm","setConfirm","useState","open","setOpen","show","useCallback","confirmOptions","onConfirm","_a","onCancel","value","useMemo","jsxs","ExitConfirmDialog","useExitConfirm","context"],"mappings":";;;;AAcA,MAAMA,IAAmBC,EAAiD,MAAS,GAEtEC,IAAoB,CAAC;AAAA,EAChC,YAAAC;AAAA,EACA,UAAAC;AACF,wBAIUJ,EAAiB,UAAjB,EAA0B,OAAOG,GAAa,UAAAC,GAAS,GAGpDC,IAAgB,MAAM;AAC3B,QAAAC,IAAMC,EAAWP,CAAgB;AACvC,MAAI,CAACM,EAAW,OAAA,IAAI,MAAM,qDAAqD;AACxE,SAAAA;AACT,GCtBaE,IAAqBP,EAAsC;AAAA,EACtE,MAAM,CAACQ,MAAiC;AAAA;AAC1C,CAAC;AAEe,SAAAC,EAAoB,EAAE,UAAAN,KAA2C;AAC/E,QAAM,CAACO,GAASC,CAAU,IAAIC,EAA6B,GACrD,CAACC,GAAMC,CAAO,IAAIF,EAAS,EAAK,GAEhCG,IAAOC;AAAA,IACX,CAACC,MAAwC;AACvC,MAAAN,EAAWM,CAAc,GACzBH,EAAQ,EAAI;AAAA,IACd;AAAA,IACA,CAACA,CAAO;AAAA,EACV,GAEMI,IAAY,MAAM;;AACtB,KAAAC,IAAAT,KAAA,gBAAAA,EAAS,cAAT,QAAAS,EAAA,KAAAT,IACAI,EAAQ,EAAK;AAAA,EACf,GAEMM,IAAW,MAAM;;AACrB,KAAAD,IAAAT,KAAA,gBAAAA,EAAS,aAAT,QAAAS,EAAA,KAAAT,IACAI,EAAQ,EAAK;AAAA,EACf,GAEMO,IAAQC,EAAQ,OAAO,EAAE,MAAAP,MAAS,CAACA,CAAI,CAAC;AAE9C,SACG,gBAAAQ,EAAAhB,EAAmB,UAAnB,EAA4B,OAAAc,GAC1B,UAAA;AAAA,IAAAlB;AAAA,sBACAqB,GAAmB,EAAA,GAAGd,GAAS,UAAAU,GAAoB,WAAAF,GAAsB,MAAAL,EAAY,CAAA;AAAA,EAAA,GACxF;AAEJ;AAEO,MAAMY,IAAiB,MAAM;AAC5B,QAAAC,IAAUpB,EAAWC,CAAkB;AAC7C,MAAI,CAACmB;AACG,UAAA,IAAI,MAAM,0DAA0D;AAErE,SAAAA;AACT;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index-B8yNpfLs.js","sources":["../src/context/component-context.tsx","../src/context/exit-confirm-context.tsx"],"sourcesContent":["// ComponentContext.tsx\n\nimport React, { createContext, ReactNode, RefAttributes, useContext } from 'react'\n\nimport { RbacButtonProps, RbacMoreActionsTooltipProps, RbacSplitButtonProps } from '@components/rbac'\n\ninterface ComponentContextValue {\n RbacButton: React.ComponentType<RbacButtonProps & RefAttributes<HTMLButtonElement>>\n RbacSplitButton: <T extends string>(props: RbacSplitButtonProps<T>) => JSX.Element\n RbacMoreActionsTooltip: React.ForwardRefExoticComponent<\n RbacMoreActionsTooltipProps & RefAttributes<HTMLButtonElement>\n >\n}\n\nconst ComponentContext = createContext<ComponentContextValue | undefined>(undefined)\n\nexport const ComponentProvider = ({\n components,\n children\n}: {\n components: ComponentContextValue\n children: ReactNode\n}) => {\n return <ComponentContext.Provider value={components}>{children}</ComponentContext.Provider>\n}\n\nexport const useComponents = () => {\n const ctx = useContext(ComponentContext)\n if (!ctx) throw new Error('useComponents must be used within ComponentProvider')\n return ctx\n}\n","import { createContext, useCallback, useContext, useMemo, useState } from 'react'\n\nimport { ExitConfirmDialog, ExitConfirmOptions } from '../components/dialogs/exit-confirm-dialog'\n\nexport interface ExitConfirmContextType {\n show: (options: ExitConfirmOptions) => void\n}\n\nexport const ExitConfirmContext = createContext<ExitConfirmContextType>({\n show: (_options: ExitConfirmOptions) => undefined\n})\n\nexport function ExitConfirmProvider({ children }: { children: React.ReactNode }) {\n const [confirm, setConfirm] = useState<ExitConfirmOptions>()\n const [open, setOpen] = useState(false)\n\n const show = useCallback(\n (confirmOptions?: ExitConfirmOptions) => {\n setConfirm(confirmOptions)\n setOpen(true)\n },\n [setOpen]\n )\n\n const onConfirm = () => {\n confirm?.onConfirm?.()\n setOpen(false)\n }\n\n const onCancel = () => {\n confirm?.onCancel?.()\n setOpen(false)\n }\n\n const value = useMemo(() => ({ show }), [show])\n\n return (\n <ExitConfirmContext.Provider value={value}>\n {children}\n <ExitConfirmDialog {...confirm} onCancel={onCancel} onConfirm={onConfirm} open={open} />\n </ExitConfirmContext.Provider>\n )\n}\n\nexport const useExitConfirm = () => {\n const context = useContext(ExitConfirmContext)\n if (!context) {\n throw new Error('useExitConfirm must be used within a ExitConfirmProvider')\n }\n return context\n}\n"],"names":["ComponentContext","createContext","ComponentProvider","components","children","useComponents","ctx","useContext","ExitConfirmContext","_options","ExitConfirmProvider","confirm","setConfirm","useState","open","setOpen","show","useCallback","confirmOptions","onConfirm","_a","onCancel","value","useMemo","jsxs","ExitConfirmDialog","useExitConfirm","context"],"mappings":";;;;AAcA,MAAMA,IAAmBC,EAAiD,MAAS,GAEtEC,IAAoB,CAAC;AAAA,EAChC,YAAAC;AAAA,EACA,UAAAC;AACF,wBAIUJ,EAAiB,UAAjB,EAA0B,OAAOG,GAAa,UAAAC,GAAS,GAGpDC,IAAgB,MAAM;AAC3B,QAAAC,IAAMC,EAAWP,CAAgB;AACvC,MAAI,CAACM,EAAW,OAAA,IAAI,MAAM,qDAAqD;AACxE,SAAAA;AACT,GCtBaE,IAAqBP,EAAsC;AAAA,EACtE,MAAM,CAACQ,MAAiC;AAAA;AAC1C,CAAC;AAEe,SAAAC,EAAoB,EAAE,UAAAN,KAA2C;AAC/E,QAAM,CAACO,GAASC,CAAU,IAAIC,EAA6B,GACrD,CAACC,GAAMC,CAAO,IAAIF,EAAS,EAAK,GAEhCG,IAAOC;AAAA,IACX,CAACC,MAAwC;AACvC,MAAAN,EAAWM,CAAc,GACzBH,EAAQ,EAAI;AAAA,IACd;AAAA,IACA,CAACA,CAAO;AAAA,EACV,GAEMI,IAAY,MAAM;;AACtB,KAAAC,IAAAT,KAAA,gBAAAA,EAAS,cAAT,QAAAS,EAAA,KAAAT,IACAI,EAAQ,EAAK;AAAA,EACf,GAEMM,IAAW,MAAM;;AACrB,KAAAD,IAAAT,KAAA,gBAAAA,EAAS,aAAT,QAAAS,EAAA,KAAAT,IACAI,EAAQ,EAAK;AAAA,EACf,GAEMO,IAAQC,EAAQ,OAAO,EAAE,MAAAP,MAAS,CAACA,CAAI,CAAC;AAE9C,SACG,gBAAAQ,EAAAhB,EAAmB,UAAnB,EAA4B,OAAAc,GAC1B,UAAA;AAAA,IAAAlB;AAAA,sBACAqB,GAAmB,EAAA,GAAGd,GAAS,UAAAU,GAAoB,WAAAF,GAAsB,MAAAL,EAAY,CAAA;AAAA,EAAA,GACxF;AAEJ;AAEO,MAAMY,IAAiB,MAAM;AAC5B,QAAAC,IAAUpB,EAAWC,CAAkB;AAC7C,MAAI,CAACmB;AACG,UAAA,IAAI,MAAM,0DAA0D;AAErE,SAAAA;AACT;;;;;;;;;;;;;;;;;;;;;;;;;;;"}