@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/index.d.ts
CHANGED
|
@@ -1165,6 +1165,10 @@ declare namespace components {
|
|
|
1165
1165
|
DrawerContentVariantsDirection,
|
|
1166
1166
|
DrawerContentProps,
|
|
1167
1167
|
DrawerHeaderProps,
|
|
1168
|
+
DrawerRailProps,
|
|
1169
|
+
DrawerStepProps,
|
|
1170
|
+
DrawerStepsProps,
|
|
1171
|
+
DrawerSubStepProps,
|
|
1168
1172
|
Drawer_2 as Drawer,
|
|
1169
1173
|
typographyVariantConfig,
|
|
1170
1174
|
textVariants,
|
|
@@ -1503,6 +1507,10 @@ declare namespace components {
|
|
|
1503
1507
|
StackedList,
|
|
1504
1508
|
ListItemProps,
|
|
1505
1509
|
ListFieldProps,
|
|
1510
|
+
StickyListSection,
|
|
1511
|
+
StickyListSectionRootProps,
|
|
1512
|
+
StickyListSectionHeaderProps,
|
|
1513
|
+
StickyListSectionContentProps,
|
|
1506
1514
|
StudioCard,
|
|
1507
1515
|
ExecutionStatusType,
|
|
1508
1516
|
StudioCardRootProps,
|
|
@@ -2033,11 +2041,13 @@ declare function dispatchCustomEvent<T>(name: string, detail: T): void;
|
|
|
2033
2041
|
|
|
2034
2042
|
declare const DraggableCard: ({ id, title, description, disableDragAndDrop, gripPosition, className, ...cardProps }: DraggableCardProps) => JSX_2.Element;
|
|
2035
2043
|
|
|
2036
|
-
declare const DraggableCardList: ({ cards, setCards, listGap, className }: {
|
|
2044
|
+
declare const DraggableCardList: ({ cards, setCards, listGap, className, header, sticky }: {
|
|
2037
2045
|
cards: CardData[];
|
|
2038
2046
|
setCards: (newCards: CardData[]) => void;
|
|
2039
2047
|
listGap?: GapSize;
|
|
2040
2048
|
className?: string;
|
|
2049
|
+
header?: React.ReactNode;
|
|
2050
|
+
sticky?: boolean;
|
|
2041
2051
|
}) => JSX_2.Element;
|
|
2042
2052
|
|
|
2043
2053
|
declare interface DraggableCardProps extends Omit<CardRootProps, 'title' | 'children'> {
|
|
@@ -2062,7 +2072,9 @@ declare interface DraggableSidebarDividerProps {
|
|
|
2062
2072
|
|
|
2063
2073
|
declare const Drawer_2: {
|
|
2064
2074
|
Root: {
|
|
2065
|
-
({ direction, open, children, onOpenChange, ...props }: ComponentProps<typeof Drawer.Root>
|
|
2075
|
+
({ direction, open, children, onOpenChange, maxStackDepth: maxStackDepthProp, ...props }: ComponentProps<typeof Drawer.Root> & {
|
|
2076
|
+
maxStackDepth?: number;
|
|
2077
|
+
}): JSX_2.Element;
|
|
2066
2078
|
displayName: string;
|
|
2067
2079
|
};
|
|
2068
2080
|
Trigger: ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLButtonElement>>;
|
|
@@ -2088,6 +2100,28 @@ declare const Drawer_2: {
|
|
|
2088
2100
|
Description: ForwardRefExoticComponent<Omit<DialogDescriptionProps & RefAttributes<HTMLParagraphElement>, "ref"> & RefAttributes<HTMLParagraphElement>>;
|
|
2089
2101
|
Close: ForwardRefExoticComponent<DialogCloseProps & RefAttributes<HTMLButtonElement>>;
|
|
2090
2102
|
Tagline: ForwardRefExoticComponent<HTMLAttributes<HTMLSpanElement> & RefAttributes<HTMLSpanElement>>;
|
|
2103
|
+
DualPane: ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
|
2104
|
+
Rail: ForwardRefExoticComponent<Omit<HTMLAttributes<HTMLElement>, "title"> & {
|
|
2105
|
+
'aria-label'?: string;
|
|
2106
|
+
title?: ReactNode;
|
|
2107
|
+
children: ReactNode;
|
|
2108
|
+
} & RefAttributes<HTMLElement>>;
|
|
2109
|
+
Steps: ForwardRefExoticComponent<Omit<HTMLAttributes<HTMLElement>, "title"> & {
|
|
2110
|
+
value: string;
|
|
2111
|
+
onValueChange?: (value: string) => void;
|
|
2112
|
+
'aria-label'?: string;
|
|
2113
|
+
title?: ReactNode;
|
|
2114
|
+
children: ReactNode;
|
|
2115
|
+
} & RefAttributes<HTMLElement>>;
|
|
2116
|
+
Step: {
|
|
2117
|
+
({ value, title, description, children }: DrawerStepProps): JSX_2.Element;
|
|
2118
|
+
displayName: string;
|
|
2119
|
+
};
|
|
2120
|
+
SubStep: {
|
|
2121
|
+
({ value, title }: DrawerSubStepProps): JSX_2.Element;
|
|
2122
|
+
displayName: string;
|
|
2123
|
+
};
|
|
2124
|
+
DualPaneMain: ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
|
2091
2125
|
};
|
|
2092
2126
|
|
|
2093
2127
|
declare type DrawerContentProps = ComponentPropsWithoutRef<typeof Drawer.Content> & {
|
|
@@ -2127,6 +2161,32 @@ declare type DrawerHeaderNoIconOrLogoProps = {
|
|
|
2127
2161
|
|
|
2128
2162
|
declare type DrawerHeaderProps = DrawerHeaderBaseProps & (DrawerHeaderIconOnlyProps | DrawerHeaderLogoOnlyProps | DrawerHeaderNoIconOrLogoProps);
|
|
2129
2163
|
|
|
2164
|
+
declare type DrawerRailProps = Omit<HTMLAttributes<HTMLElement>, 'title'> & {
|
|
2165
|
+
'aria-label'?: string;
|
|
2166
|
+
title?: ReactNode;
|
|
2167
|
+
children: ReactNode;
|
|
2168
|
+
};
|
|
2169
|
+
|
|
2170
|
+
declare type DrawerStepProps = {
|
|
2171
|
+
value: string;
|
|
2172
|
+
title: ReactNode;
|
|
2173
|
+
description?: ReactNode;
|
|
2174
|
+
children?: ReactNode;
|
|
2175
|
+
};
|
|
2176
|
+
|
|
2177
|
+
declare type DrawerStepsProps = Omit<HTMLAttributes<HTMLElement>, 'title'> & {
|
|
2178
|
+
value: string;
|
|
2179
|
+
onValueChange?: (value: string) => void;
|
|
2180
|
+
'aria-label'?: string;
|
|
2181
|
+
title?: ReactNode;
|
|
2182
|
+
children: ReactNode;
|
|
2183
|
+
};
|
|
2184
|
+
|
|
2185
|
+
declare type DrawerSubStepProps = {
|
|
2186
|
+
value: string;
|
|
2187
|
+
title: ReactNode;
|
|
2188
|
+
};
|
|
2189
|
+
|
|
2130
2190
|
declare function Dropdown({ title, items, onChange, selectedValue }: DropdownProps): JSX_2.Element;
|
|
2131
2191
|
|
|
2132
2192
|
declare interface DropdownBaseItemProps {
|
|
@@ -4673,7 +4733,7 @@ declare type ProgressProps = DeterminateProgressProps | IndeterminateProgressPro
|
|
|
4673
4733
|
|
|
4674
4734
|
declare const progressVariants: (props?: ({
|
|
4675
4735
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
4676
|
-
state?: "default" | "paused" | "
|
|
4736
|
+
state?: "default" | "paused" | "completed" | "processing" | "failed" | null | undefined;
|
|
4677
4737
|
} & ClassProp) | undefined) => string;
|
|
4678
4738
|
|
|
4679
4739
|
declare type PromiseToastParamsType = Omit<ToastParamsType, 'title' | 'description' | 'options'> & {
|
|
@@ -6481,6 +6541,27 @@ declare const statusBadgeVariants: (props?: ({
|
|
|
6481
6541
|
theme?: "danger" | "warning" | "success" | "info" | "merged" | "risk" | "muted" | null | undefined;
|
|
6482
6542
|
} & ClassProp) | undefined) => string;
|
|
6483
6543
|
|
|
6544
|
+
declare const StickyListSection: {
|
|
6545
|
+
Root: ForwardRefExoticComponent<StickyListSectionRootProps & RefAttributes<HTMLDivElement>>;
|
|
6546
|
+
Header: ForwardRefExoticComponent<StickyListSectionHeaderProps & RefAttributes<HTMLDivElement>>;
|
|
6547
|
+
Content: ForwardRefExoticComponent<StickyListSectionContentProps & RefAttributes<HTMLDivElement>>;
|
|
6548
|
+
};
|
|
6549
|
+
|
|
6550
|
+
declare interface StickyListSectionContentProps extends HTMLAttributes<HTMLDivElement> {
|
|
6551
|
+
children: ReactNode;
|
|
6552
|
+
className?: string;
|
|
6553
|
+
}
|
|
6554
|
+
|
|
6555
|
+
declare interface StickyListSectionHeaderProps extends HTMLAttributes<HTMLDivElement> {
|
|
6556
|
+
children: ReactNode;
|
|
6557
|
+
className?: string;
|
|
6558
|
+
}
|
|
6559
|
+
|
|
6560
|
+
declare interface StickyListSectionRootProps extends HTMLAttributes<HTMLDivElement> {
|
|
6561
|
+
children: ReactNode;
|
|
6562
|
+
className?: string;
|
|
6563
|
+
}
|
|
6564
|
+
|
|
6484
6565
|
declare const StudioCard: {
|
|
6485
6566
|
Root: typeof Root_4;
|
|
6486
6567
|
Header: typeof Header;
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as s } from "./index-Bvr23CG5.js";
|
|
2
|
-
import { i as e } from "./index-
|
|
2
|
+
import { i as e } from "./index-wrG2eXUf.js";
|
|
3
3
|
import { i as a } from "./index-C1OqKx6g.js";
|
|
4
4
|
import { i as m } from "./index-BhO-bCC5.js";
|
|
5
5
|
import { i as f } from "./index-yGuTXfMI.js";
|