version-pill-react 1.3.0 → 1.5.0
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/index.d.mts +19 -2
- package/dist/index.d.ts +19 -2
- package/dist/index.js +885 -436
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +885 -436
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -42,9 +42,26 @@ interface ChangelogAPIResponse {
|
|
|
42
42
|
project: ProjectInfo;
|
|
43
43
|
changelog: Version[];
|
|
44
44
|
}
|
|
45
|
+
interface RoadmapBoardItem {
|
|
46
|
+
id: string;
|
|
47
|
+
title: string;
|
|
48
|
+
description?: string | null;
|
|
49
|
+
type?: string;
|
|
50
|
+
priority?: string;
|
|
51
|
+
votes?: number;
|
|
52
|
+
itemType: "task" | "idea";
|
|
53
|
+
columnId: string;
|
|
54
|
+
createdAt?: string | number;
|
|
55
|
+
}
|
|
56
|
+
interface RoadmapBoardColumn {
|
|
57
|
+
id: string;
|
|
58
|
+
name: string;
|
|
59
|
+
}
|
|
45
60
|
interface RoadmapAPIResponse {
|
|
46
61
|
project: ProjectInfo;
|
|
47
|
-
|
|
62
|
+
columns?: RoadmapBoardColumn[];
|
|
63
|
+
items?: RoadmapBoardItem[];
|
|
64
|
+
tasks?: RoadmapTask[] | {
|
|
48
65
|
inProgress?: RoadmapTask[];
|
|
49
66
|
planned?: RoadmapTask[];
|
|
50
67
|
};
|
|
@@ -111,4 +128,4 @@ declare function useVersion({ projectId, baseUrl, refetchInterval, }: UseVersion
|
|
|
111
128
|
declare function Changelog({ projectId, baseUrl, maxHeight, theme, className, }: ChangelogProps): react_jsx_runtime.JSX.Element;
|
|
112
129
|
declare function Roadmap({ projectId, baseUrl, maxHeight, theme, className, }: RoadmapProps): react_jsx_runtime.JSX.Element;
|
|
113
130
|
|
|
114
|
-
export { type BadgeAPIResponse, type BadgeSize, type BadgeStyle, Changelog, type ChangelogAPIResponse, type ChangelogProps, type Idea, type ModalTab, type ProjectInfo, Roadmap, type RoadmapAPIResponse, type RoadmapProps, type RoadmapTask, type UseVersionOptions, type UseVersionResult, type Version, VersionBadge, type VersionBadgeProps, VersionPill, type VersionPillConfig, type VersionPillProps, VersionPill as default, useVersion };
|
|
131
|
+
export { type BadgeAPIResponse, type BadgeSize, type BadgeStyle, Changelog, type ChangelogAPIResponse, type ChangelogProps, type Idea, type ModalTab, type ProjectInfo, Roadmap, type RoadmapAPIResponse, type RoadmapBoardColumn, type RoadmapBoardItem, type RoadmapProps, type RoadmapTask, type UseVersionOptions, type UseVersionResult, type Version, VersionBadge, type VersionBadgeProps, VersionPill, type VersionPillConfig, type VersionPillProps, VersionPill as default, useVersion };
|
package/dist/index.d.ts
CHANGED
|
@@ -42,9 +42,26 @@ interface ChangelogAPIResponse {
|
|
|
42
42
|
project: ProjectInfo;
|
|
43
43
|
changelog: Version[];
|
|
44
44
|
}
|
|
45
|
+
interface RoadmapBoardItem {
|
|
46
|
+
id: string;
|
|
47
|
+
title: string;
|
|
48
|
+
description?: string | null;
|
|
49
|
+
type?: string;
|
|
50
|
+
priority?: string;
|
|
51
|
+
votes?: number;
|
|
52
|
+
itemType: "task" | "idea";
|
|
53
|
+
columnId: string;
|
|
54
|
+
createdAt?: string | number;
|
|
55
|
+
}
|
|
56
|
+
interface RoadmapBoardColumn {
|
|
57
|
+
id: string;
|
|
58
|
+
name: string;
|
|
59
|
+
}
|
|
45
60
|
interface RoadmapAPIResponse {
|
|
46
61
|
project: ProjectInfo;
|
|
47
|
-
|
|
62
|
+
columns?: RoadmapBoardColumn[];
|
|
63
|
+
items?: RoadmapBoardItem[];
|
|
64
|
+
tasks?: RoadmapTask[] | {
|
|
48
65
|
inProgress?: RoadmapTask[];
|
|
49
66
|
planned?: RoadmapTask[];
|
|
50
67
|
};
|
|
@@ -111,4 +128,4 @@ declare function useVersion({ projectId, baseUrl, refetchInterval, }: UseVersion
|
|
|
111
128
|
declare function Changelog({ projectId, baseUrl, maxHeight, theme, className, }: ChangelogProps): react_jsx_runtime.JSX.Element;
|
|
112
129
|
declare function Roadmap({ projectId, baseUrl, maxHeight, theme, className, }: RoadmapProps): react_jsx_runtime.JSX.Element;
|
|
113
130
|
|
|
114
|
-
export { type BadgeAPIResponse, type BadgeSize, type BadgeStyle, Changelog, type ChangelogAPIResponse, type ChangelogProps, type Idea, type ModalTab, type ProjectInfo, Roadmap, type RoadmapAPIResponse, type RoadmapProps, type RoadmapTask, type UseVersionOptions, type UseVersionResult, type Version, VersionBadge, type VersionBadgeProps, VersionPill, type VersionPillConfig, type VersionPillProps, VersionPill as default, useVersion };
|
|
131
|
+
export { type BadgeAPIResponse, type BadgeSize, type BadgeStyle, Changelog, type ChangelogAPIResponse, type ChangelogProps, type Idea, type ModalTab, type ProjectInfo, Roadmap, type RoadmapAPIResponse, type RoadmapBoardColumn, type RoadmapBoardItem, type RoadmapProps, type RoadmapTask, type UseVersionOptions, type UseVersionResult, type Version, VersionBadge, type VersionBadgeProps, VersionPill, type VersionPillConfig, type VersionPillProps, VersionPill as default, useVersion };
|