@harnessio/ui 0.5.34 → 0.5.35

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.
@@ -1440,11 +1440,13 @@ export declare enum Direction {
1440
1440
 
1441
1441
  export declare const DraggableCard: ({ id, title, description, disableDragAndDrop, gripPosition, className, ...cardProps }: DraggableCardProps) => JSX_2.Element;
1442
1442
 
1443
- export declare const DraggableCardList: ({ cards, setCards, listGap, className }: {
1443
+ export declare const DraggableCardList: ({ cards, setCards, listGap, className, header, sticky }: {
1444
1444
  cards: CardData[];
1445
1445
  setCards: (newCards: CardData[]) => void;
1446
1446
  listGap?: GapSize;
1447
1447
  className?: string;
1448
+ header?: React.ReactNode;
1449
+ sticky?: boolean;
1448
1450
  }) => JSX_2.Element;
1449
1451
 
1450
1452
  declare interface DraggableCardProps extends Omit<CardRootProps, 'title' | 'children'> {
@@ -1469,7 +1471,9 @@ declare interface DraggableSidebarDividerProps {
1469
1471
 
1470
1472
  export declare const Drawer: {
1471
1473
  Root: {
1472
- ({ direction, open, children, onOpenChange, ...props }: ComponentProps<typeof Drawer_2.Root>): JSX_2.Element;
1474
+ ({ direction, open, children, onOpenChange, maxStackDepth: maxStackDepthProp, ...props }: ComponentProps<typeof Drawer_2.Root> & {
1475
+ maxStackDepth?: number;
1476
+ }): JSX_2.Element;
1473
1477
  displayName: string;
1474
1478
  };
1475
1479
  Trigger: ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLButtonElement>>;
@@ -1495,6 +1499,28 @@ export declare const Drawer: {
1495
1499
  Description: ForwardRefExoticComponent<Omit<DialogDescriptionProps & RefAttributes<HTMLParagraphElement>, "ref"> & RefAttributes<HTMLParagraphElement>>;
1496
1500
  Close: ForwardRefExoticComponent<DialogCloseProps & RefAttributes<HTMLButtonElement>>;
1497
1501
  Tagline: ForwardRefExoticComponent<HTMLAttributes<HTMLSpanElement> & RefAttributes<HTMLSpanElement>>;
1502
+ DualPane: ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
1503
+ Rail: ForwardRefExoticComponent<Omit<HTMLAttributes<HTMLElement>, "title"> & {
1504
+ 'aria-label'?: string;
1505
+ title?: ReactNode;
1506
+ children: ReactNode;
1507
+ } & RefAttributes<HTMLElement>>;
1508
+ Steps: ForwardRefExoticComponent<Omit<HTMLAttributes<HTMLElement>, "title"> & {
1509
+ value: string;
1510
+ onValueChange?: (value: string) => void;
1511
+ 'aria-label'?: string;
1512
+ title?: ReactNode;
1513
+ children: ReactNode;
1514
+ } & RefAttributes<HTMLElement>>;
1515
+ Step: {
1516
+ ({ value, title, description, children }: DrawerStepProps): JSX_2.Element;
1517
+ displayName: string;
1518
+ };
1519
+ SubStep: {
1520
+ ({ value, title }: DrawerSubStepProps): JSX_2.Element;
1521
+ displayName: string;
1522
+ };
1523
+ DualPaneMain: ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
1498
1524
  };
1499
1525
 
1500
1526
  export declare type DrawerContentProps = ComponentPropsWithoutRef<typeof Drawer_2.Content> & {
@@ -1534,6 +1560,32 @@ declare type DrawerHeaderNoIconOrLogoProps = {
1534
1560
 
1535
1561
  export declare type DrawerHeaderProps = DrawerHeaderBaseProps & (DrawerHeaderIconOnlyProps | DrawerHeaderLogoOnlyProps | DrawerHeaderNoIconOrLogoProps);
1536
1562
 
1563
+ export declare type DrawerRailProps = Omit<HTMLAttributes<HTMLElement>, 'title'> & {
1564
+ 'aria-label'?: string;
1565
+ title?: ReactNode;
1566
+ children: ReactNode;
1567
+ };
1568
+
1569
+ export declare type DrawerStepProps = {
1570
+ value: string;
1571
+ title: ReactNode;
1572
+ description?: ReactNode;
1573
+ children?: ReactNode;
1574
+ };
1575
+
1576
+ export declare type DrawerStepsProps = Omit<HTMLAttributes<HTMLElement>, 'title'> & {
1577
+ value: string;
1578
+ onValueChange?: (value: string) => void;
1579
+ 'aria-label'?: string;
1580
+ title?: ReactNode;
1581
+ children: ReactNode;
1582
+ };
1583
+
1584
+ export declare type DrawerSubStepProps = {
1585
+ value: string;
1586
+ title: ReactNode;
1587
+ };
1588
+
1537
1589
  declare function Dropdown({ title, items, onChange, selectedValue }: DropdownProps): JSX_2.Element;
1538
1590
 
1539
1591
  declare interface DropdownBaseItemProps {
@@ -3808,7 +3860,7 @@ declare type ProgressProps = DeterminateProgressProps | IndeterminateProgressPro
3808
3860
 
3809
3861
  declare const progressVariants: (props?: ({
3810
3862
  size?: "sm" | "md" | "lg" | null | undefined;
3811
- state?: "default" | "paused" | "processing" | "completed" | "failed" | null | undefined;
3863
+ state?: "default" | "paused" | "completed" | "processing" | "failed" | null | undefined;
3812
3864
  } & ClassProp) | undefined) => string;
3813
3865
 
3814
3866
  export declare type PromiseToastParamsType = Omit<ToastParamsType, 'title' | 'description' | 'options'> & {
@@ -4988,6 +5040,27 @@ export declare const statusBadgeVariants: (props?: ({
4988
5040
  theme?: "danger" | "warning" | "success" | "info" | "merged" | "risk" | "muted" | null | undefined;
4989
5041
  } & ClassProp) | undefined) => string;
4990
5042
 
5043
+ export declare const StickyListSection: {
5044
+ Root: ForwardRefExoticComponent<StickyListSectionRootProps & RefAttributes<HTMLDivElement>>;
5045
+ Header: ForwardRefExoticComponent<StickyListSectionHeaderProps & RefAttributes<HTMLDivElement>>;
5046
+ Content: ForwardRefExoticComponent<StickyListSectionContentProps & RefAttributes<HTMLDivElement>>;
5047
+ };
5048
+
5049
+ export declare interface StickyListSectionContentProps extends HTMLAttributes<HTMLDivElement> {
5050
+ children: ReactNode;
5051
+ className?: string;
5052
+ }
5053
+
5054
+ export declare interface StickyListSectionHeaderProps extends HTMLAttributes<HTMLDivElement> {
5055
+ children: ReactNode;
5056
+ className?: string;
5057
+ }
5058
+
5059
+ export declare interface StickyListSectionRootProps extends HTMLAttributes<HTMLDivElement> {
5060
+ children: ReactNode;
5061
+ className?: string;
5062
+ }
5063
+
4991
5064
  export declare const StudioCard: {
4992
5065
  Root: typeof Root_4;
4993
5066
  Header: typeof Header;
@@ -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 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-BuYIq643.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-D64LabAE.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, S as d, p as S, ac as T, l as C, ad as I, ae as V, af as y, ag as F, e as h, a5 as D } from "./index-BuYIq643.js";
2
+ import { bL 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 k, ac as W, ca 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, c4 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 ca, D as ga, h as ua, bm as ma, bV as da, _ as Sa, b7 as Ta, ah as Ca, f as Ia, ak as Va, cb as ya, ag as Fa, aE as ha, aD as Da, aF as Pa, aC as La, b6 as Ma, bh as Aa, a7 as Ba, bU as wa, a2 as xa, a4 as fa, a3 as va, am as Na, bM as ka, H as Wa, bd as Ra, at as Ea, a9 as Ga, cc as Oa, X as Ua, $ as _a, bP as Ha, bQ as Ka, bO as Xa, ap as za, a0 as ja, l as qa, L as Ja, M as Qa, as as Ya, cd 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, bS as ps, c9 as cs, P as gs, R as us, c0 as ms, j as ds, aQ as Ss, av as Ts, b2 as Cs, b1 as Is, aX as Vs, b0 as ys, aY as Fs, aZ as hs, 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, c7 as vs, bY as Ns, E as ks, bT as Ws, w as Rs, c8 as Es, a8 as Gs, aP as Os, az as Us, a as _s, bG as Hs, bz as Ks, c5 as Xs, aK as zs, c6 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, bE as ie, ax as ne, S as le, bq as be, z as pe, be as ce, T as ge, bR as ue, a5 as me, bJ as de, bc as Se, bb as Te, c3 as Ce, ae as Ie, af as Ve, au as ye, b5 as Fe, bH as he, U as De, bw as Pe, bv as Le, bI as Me, by as Ae, k as Be, W as we, g as xe, al as fe, bZ as ve, ar as Ne, bK as ke, bX as We, b_ as Re, bN as Ee, c1 as Ge, aH as Oe, aG as Ue, bW as _e, bF as He, bB as Ke, bA as Xe, e as ze, s as je, bp as qe, b as Je, c2 as Qe, ad as Ye, t as Ze, ai as $e, ba as at, b4 as st, x as et, u as tt, aL as ot } from "./index-wrG2eXUf.js";
3
3
  export {
4
4
  L as AccentColor,
5
5
  M as Accordion,
@@ -12,9 +12,9 @@ export {
12
12
  v as BranchTag,
13
13
  N as Breadcrumb,
14
14
  t as Button,
15
- W as ButtonGroup,
15
+ k as ButtonGroup,
16
16
  o as ButtonLayout,
17
- k as Calendar,
17
+ W as Calendar,
18
18
  R as CalendarInputView,
19
19
  E as Caption,
20
20
  G as Card,
@@ -44,9 +44,9 @@ export {
44
44
  la as Direction,
45
45
  ba as DraggableCard,
46
46
  pa as DraggableCardList,
47
- ga as DraggableSidebarDivider,
48
- ua as Drawer,
49
- ca as DropdownMenu,
47
+ ca as DraggableSidebarDivider,
48
+ ga as Drawer,
49
+ ua as DropdownMenu,
50
50
  ma as EntityFormLayout,
51
51
  i as ExitConfirmDialog,
52
52
  da as Favorite,
@@ -55,9 +55,9 @@ export {
55
55
  Ca as FileEditorControlBar,
56
56
  Ia as FileExplorer,
57
57
  Va as FileToolbarActions,
58
- Fa as FileUpload,
59
- ha as FileViewerControlBar,
60
- ya as FilterBoxWrapper,
58
+ ya as FileUpload,
59
+ Fa as FileViewerControlBar,
60
+ ha as FilterBoxWrapper,
61
61
  Da as FilterField,
62
62
  Pa as FilterFieldTypes,
63
63
  La as FilterSelect,
@@ -69,14 +69,14 @@ export {
69
69
  fa as FormWrapper,
70
70
  va as FormWrapperContext,
71
71
  Na as GitCommitDialog,
72
- Wa as GrayColor,
73
- ka as HarnessLogo,
72
+ ka as GrayColor,
73
+ Wa as HarnessLogo,
74
74
  n as IconNameMapV2,
75
75
  l as IconV2,
76
76
  b as IconV2DisplayName,
77
77
  Ra as IconWithTooltip,
78
78
  p as Illustration,
79
- g as IllustrationsNameMap,
79
+ c as IllustrationsNameMap,
80
80
  Ea as ImageCarousel,
81
81
  Ga as Input,
82
82
  Oa as InputCaption,
@@ -87,9 +87,9 @@ export {
87
87
  Xa as LanguageDialog,
88
88
  za as Layout,
89
89
  ja as Legend,
90
- u as Link,
90
+ g as Link,
91
91
  qa as ListActions,
92
- c as LogoNameMapV2,
92
+ u as LogoNameMapV2,
93
93
  Ja as LogoSymbol,
94
94
  m as LogoV2,
95
95
  Qa as ManageNavigation,
@@ -107,9 +107,9 @@ export {
107
107
  ls as NoProblemsFound,
108
108
  bs as NodeGroup,
109
109
  ps as NumberInput,
110
- gs as Page,
111
- us as Pagination,
112
- cs as PathBreadcrumbs,
110
+ cs as Page,
111
+ gs as Pagination,
112
+ us as PathBreadcrumbs,
113
113
  ms as PermissionIdentifier,
114
114
  ds as Popover,
115
115
  Ss as Problems,
@@ -117,9 +117,9 @@ export {
117
117
  Cs as PromptInput,
118
118
  Is as PromptInputButton,
119
119
  Vs as PromptInputRoot,
120
- Fs as PromptInputSubmit,
121
- hs as PromptInputTags,
122
- ys as PromptInputTextarea,
120
+ ys as PromptInputSubmit,
121
+ Fs as PromptInputTags,
122
+ hs as PromptInputTextarea,
123
123
  Ds as PromptInputToolbar,
124
124
  Ps as PromptInputTools,
125
125
  Ls as Radio,
@@ -132,8 +132,8 @@ export {
132
132
  vs as SandboxLayout,
133
133
  Ns as ScopeTag,
134
134
  d as ScrollArea,
135
- Ws as SearchFiles,
136
- ks as SearchInput,
135
+ ks as SearchFiles,
136
+ Ws as SearchInput,
137
137
  Rs as SearchProvider,
138
138
  Es as SearchableDropdown,
139
139
  Gs as Select,
@@ -156,67 +156,68 @@ export {
156
156
  ee as StackedList,
157
157
  te as StatsPanel,
158
158
  oe as StatusBadge,
159
- re as StudioCard,
160
- ie as Switch,
161
- ne as SymbolNameMap,
162
- le as Table,
163
- be as Tabs,
164
- pe as Tag,
159
+ re as StickyListSection,
160
+ ie as StudioCard,
161
+ ne as Switch,
162
+ le as SymbolNameMap,
163
+ be as Table,
164
+ pe as Tabs,
165
+ ce as Tag,
165
166
  ge as Text,
166
167
  ue as TextInput,
167
- ce as Textarea,
168
- me as ThemeDialog,
169
- de as TimeAgoCard,
170
- Se as TimeAgoContent,
171
- Te as Toaster,
172
- Ce as Toggle,
173
- Ie as ToggleGroup,
168
+ me as Textarea,
169
+ de as ThemeDialog,
170
+ Se as TimeAgoCard,
171
+ Te as TimeAgoContent,
172
+ Ce as Toaster,
173
+ Ie as Toggle,
174
+ Ve as ToggleGroup,
174
175
  S as Tooltip,
175
176
  T as TooltipProvider,
176
- Ve as Topbar,
177
+ ye as Topbar,
177
178
  Fe as Tree,
178
179
  he as TypingAnimation,
179
- ye as UserMenuKeys,
180
- De as ViewOnly,
181
- Pe as ViewOnlyItem,
182
- Le as WaterfallProgress,
183
- Me as Widgets,
184
- Ae as avatarVariants,
180
+ De as UserMenuKeys,
181
+ Pe as ViewOnly,
182
+ Le as ViewOnlyItem,
183
+ Me as WaterfallProgress,
184
+ Ae as Widgets,
185
+ Be as avatarVariants,
185
186
  C as buttonVariants,
186
- Be as cardVariants,
187
- we as counterBadgeVariants,
188
- xe as createGitCommitSchema,
189
- fe as determineScope,
190
- ve as getIsMarkdown,
191
- Ne as getModeColorContrastFromFullTheme,
187
+ we as cardVariants,
188
+ xe as counterBadgeVariants,
189
+ fe as createGitCommitSchema,
190
+ ve as determineScope,
191
+ Ne as getIsMarkdown,
192
+ ke as getModeColorContrastFromFullTheme,
192
193
  We as getScopeType,
193
- ke as getScopedPath,
194
+ Re as getScopedPath,
194
195
  I as iconColorVariants,
195
196
  V as iconVariants,
196
- Re as languages,
197
- F as linkVariants,
198
- h as logoVariants,
199
- Ee as rbacTooltip,
200
- Ge as renderFilterSelectAddIconLabel,
201
- Oe as renderFilterSelectLabel,
202
- Ue as scopeTypeToIconMap,
203
- _e as shimmerVariants,
204
- He as stackedListItemVariants,
205
- Ke as stackedListVariants,
206
- Xe as statusBadgeVariants,
207
- ze as symbolVariants,
208
- je as tableVariants,
209
- qe as textVariants,
210
- Je as toast,
211
- Qe as toggleVariants,
212
- Ye as typographyVariantConfig,
213
- Ze as useCopyButton,
214
- $e as useFormattedTime,
215
- at as useReasoning,
216
- y as useScrollArea,
217
- st as useSearch,
218
- et as useSearchableDropdownKeyboardNavigation,
219
- tt as useSidebar,
197
+ Ee as languages,
198
+ y as linkVariants,
199
+ F as logoVariants,
200
+ Ge as rbacTooltip,
201
+ Oe as renderFilterSelectAddIconLabel,
202
+ Ue as renderFilterSelectLabel,
203
+ _e as scopeTypeToIconMap,
204
+ He as shimmerVariants,
205
+ Ke as stackedListItemVariants,
206
+ Xe as stackedListVariants,
207
+ ze as statusBadgeVariants,
208
+ je as symbolVariants,
209
+ qe as tableVariants,
210
+ Je as textVariants,
211
+ Qe as toast,
212
+ Ye as toggleVariants,
213
+ Ze as typographyVariantConfig,
214
+ $e as useCopyButton,
215
+ at as useFormattedTime,
216
+ st as useReasoning,
217
+ h as useScrollArea,
218
+ et as useSearch,
219
+ tt as useSearchableDropdownKeyboardNavigation,
220
+ ot as useSidebar,
220
221
  D as withTooltip
221
222
  };
222
223
  //# sourceMappingURL=components.js.map