@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.
- package/dist/components.d.ts +76 -3
- package/dist/components.js +75 -74
- package/dist/{index-D64LabAE.js → index-wrG2eXUf.js} +16497 -16071
- package/dist/{index-D64LabAE.js.map → index-wrG2eXUf.js.map} +1 -1
- package/dist/index.d.ts +84 -3
- package/dist/index.js +1 -1
- package/dist/styles.css +1 -1
- package/dist/tailwind.config.js +322 -63
- package/dist/tailwind.config.js.map +1 -1
- package/package.json +3 -3
package/dist/components.d.ts
CHANGED
|
@@ -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>
|
|
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" | "
|
|
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;
|
package/dist/components.js
CHANGED
|
@@ -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
|
|
2
|
-
import {
|
|
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
|
-
|
|
15
|
+
k as ButtonGroup,
|
|
16
16
|
o as ButtonLayout,
|
|
17
|
-
|
|
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
|
-
|
|
48
|
-
|
|
49
|
-
|
|
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
|
-
|
|
59
|
-
|
|
60
|
-
|
|
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
|
-
|
|
73
|
-
|
|
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
|
-
|
|
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
|
-
|
|
90
|
+
g as Link,
|
|
91
91
|
qa as ListActions,
|
|
92
|
-
|
|
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
|
-
|
|
111
|
-
|
|
112
|
-
|
|
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
|
-
|
|
121
|
-
|
|
122
|
-
|
|
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
|
-
|
|
136
|
-
|
|
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
|
|
160
|
-
ie as
|
|
161
|
-
ne as
|
|
162
|
-
le as
|
|
163
|
-
be as
|
|
164
|
-
pe as
|
|
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
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
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
|
-
|
|
177
|
+
ye as Topbar,
|
|
177
178
|
Fe as Tree,
|
|
178
179
|
he as TypingAnimation,
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
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
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
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
|
-
|
|
194
|
+
Re as getScopedPath,
|
|
194
195
|
I as iconColorVariants,
|
|
195
196
|
V as iconVariants,
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
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
|