@harnessio/ui 0.5.13 → 0.5.14
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 +7 -3
- package/dist/components.js +1 -1
- package/dist/{index-CC22tE94.js → index-DTSLSYUi.js} +986 -951
- package/dist/{index-CC22tE94.js.map → index-DTSLSYUi.js.map} +1 -1
- package/dist/index.d.ts +7 -2
- package/dist/index.js +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -635,6 +635,7 @@ declare interface CardData extends Omit<CardRootProps, 'title' | 'children'> {
|
|
|
635
635
|
title: string | React.ReactNode;
|
|
636
636
|
description?: string | React.ReactNode;
|
|
637
637
|
disableDragAndDrop?: boolean;
|
|
638
|
+
gripPosition?: 'inside' | 'outside';
|
|
638
639
|
}
|
|
639
640
|
|
|
640
641
|
declare interface CardImageProps extends ImgHTMLAttributes<HTMLImageElement> {
|
|
@@ -1329,6 +1330,7 @@ declare namespace components {
|
|
|
1329
1330
|
CommitSuggestionsFormFields,
|
|
1330
1331
|
CommitSuggestionsDialogProps,
|
|
1331
1332
|
CommitSuggestionsDialog,
|
|
1333
|
+
GapSize,
|
|
1332
1334
|
Layout,
|
|
1333
1335
|
FlexProps,
|
|
1334
1336
|
GridProps,
|
|
@@ -2023,11 +2025,13 @@ declare enum Direction {
|
|
|
2023
2025
|
|
|
2024
2026
|
declare function dispatchCustomEvent<T>(name: string, detail: T): void;
|
|
2025
2027
|
|
|
2026
|
-
declare const DraggableCard: ({ id, title, description, disableDragAndDrop, ...cardProps }: DraggableCardProps) => JSX_2.Element;
|
|
2028
|
+
declare const DraggableCard: ({ id, title, description, disableDragAndDrop, gripPosition, className, ...cardProps }: DraggableCardProps) => JSX_2.Element;
|
|
2027
2029
|
|
|
2028
|
-
declare const DraggableCardList: ({ cards, setCards }: {
|
|
2030
|
+
declare const DraggableCardList: ({ cards, setCards, listGap, className }: {
|
|
2029
2031
|
cards: CardData[];
|
|
2030
2032
|
setCards: (newCards: CardData[]) => void;
|
|
2033
|
+
listGap?: GapSize;
|
|
2034
|
+
className?: string;
|
|
2031
2035
|
}) => JSX_2.Element;
|
|
2032
2036
|
|
|
2033
2037
|
declare interface DraggableCardProps extends Omit<CardRootProps, 'title' | 'children'> {
|
|
@@ -2035,6 +2039,7 @@ declare interface DraggableCardProps extends Omit<CardRootProps, 'title' | 'chil
|
|
|
2035
2039
|
title: string | React.ReactNode;
|
|
2036
2040
|
description?: string | React.ReactNode;
|
|
2037
2041
|
disableDragAndDrop?: boolean;
|
|
2042
|
+
gripPosition?: 'inside' | 'outside';
|
|
2038
2043
|
}
|
|
2039
2044
|
|
|
2040
2045
|
declare const DraggableSidebarDivider: React.FC<DraggableSidebarDividerProps>;
|
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-DTSLSYUi.js";
|
|
3
3
|
import { i as a } from "./index-D6BuUbRP.js";
|
|
4
4
|
import { i as m } from "./index-BhO-bCC5.js";
|
|
5
5
|
import { i as f } from "./index-yGuTXfMI.js";
|