@veltdev/react 4.0.0-beta.2 → 4.0.0-beta.3
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/cjs/index.js +23 -5
- package/cjs/index.js.map +1 -1
- package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilter.d.ts +2 -0
- package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterStatus/VeltCommentsSidebarFilterStatus.d.ts +12 -0
- package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterStatus/index.d.ts +1 -0
- package/cjs/types/constants.d.ts +1 -1
- package/cjs/types/hooks/CommentActions.d.ts +2 -2
- package/esm/index.js +23 -5
- package/esm/index.js.map +1 -1
- package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilter.d.ts +2 -0
- package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterStatus/VeltCommentsSidebarFilterStatus.d.ts +12 -0
- package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterStatus/index.d.ts +1 -0
- package/esm/types/constants.d.ts +1 -1
- package/esm/types/hooks/CommentActions.d.ts +2 -2
- package/index.d.ts +11 -2
- package/package.json +1 -1
|
@@ -10,6 +10,7 @@ import { IVeltCommentsSidebarFilterPriority } from './VeltCommentsSidebarFilterP
|
|
|
10
10
|
import { IVeltCommentsSidebarFilterTitleProps } from './VeltCommentsSidebarFilterTitle/VeltCommentsSidebarFilterTitle';
|
|
11
11
|
import { IVeltCommentsSidebarFilterVersions } from './VeltCommentsSidebarFilterVersions/VeltCommentsSidebarFilterVersions';
|
|
12
12
|
import { IVeltCommentsSidebarFilterItem } from './VeltCommentsSidebarFilterItem/VeltCommentsSidebarFilterItem';
|
|
13
|
+
import { IVeltCommentsSidebarFilterStatus } from './VeltCommentsSidebarFilterStatus/VeltCommentsSidebarFilterStatus';
|
|
13
14
|
export interface IVeltCommentsSidebarFilterProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
14
15
|
variant?: string;
|
|
15
16
|
}
|
|
@@ -25,6 +26,7 @@ export interface IVeltCommentsSidebarFilter extends React.FC<IVeltCommentsSideba
|
|
|
25
26
|
GroupBy: IVeltCommentsSidebarFilterGroupBy;
|
|
26
27
|
DoneButton: React.FC<IVeltCommentsSidebarFilterDoneButtonProps>;
|
|
27
28
|
Item: IVeltCommentsSidebarFilterItem;
|
|
29
|
+
Status: IVeltCommentsSidebarFilterStatus;
|
|
28
30
|
}
|
|
29
31
|
declare const VeltCommentsSidebarFilter: IVeltCommentsSidebarFilter;
|
|
30
32
|
export default VeltCommentsSidebarFilter;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IVeltCommentsSidebarFilterItem } from '../VeltCommentsSidebarFilterItem/VeltCommentsSidebarFilterItem';
|
|
3
|
+
import { IVeltCommentsSidebarFilterNameProps } from '../VeltCommentsSidebarFilterName/VeltCommentsSidebarFilterName';
|
|
4
|
+
export interface IVeltCommentsSidebarFilterStatusProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
5
|
+
variant?: string;
|
|
6
|
+
}
|
|
7
|
+
export interface IVeltCommentsSidebarFilterStatus extends React.FC<IVeltCommentsSidebarFilterStatusProps> {
|
|
8
|
+
Name: React.FC<IVeltCommentsSidebarFilterNameProps>;
|
|
9
|
+
Item: IVeltCommentsSidebarFilterItem;
|
|
10
|
+
}
|
|
11
|
+
declare const VeltCommentsSidebarFilterStatus: IVeltCommentsSidebarFilterStatus;
|
|
12
|
+
export default VeltCommentsSidebarFilterStatus;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./VeltCommentsSidebarFilterStatus";
|
package/esm/types/constants.d.ts
CHANGED
|
@@ -17,8 +17,8 @@ export declare function useUnsubscribeCommentAnnotation(): {
|
|
|
17
17
|
export declare function useDeleteCommentAnnotation(): {
|
|
18
18
|
deleteCommentAnnotation: (config: DeleteCommentAnnotationRequest) => Promise<DeleteCommentAnnotationEvent | null>;
|
|
19
19
|
};
|
|
20
|
-
export declare function useGetCommentAnnotations(getCommentAnnotationsRequest
|
|
21
|
-
export declare function useCommentAnnotationsCount(getCommentAnnotationsCountRequest
|
|
20
|
+
export declare function useGetCommentAnnotations(getCommentAnnotationsRequest?: GetCommentAnnotationsRequest): GetCommentAnnotationsResponse;
|
|
21
|
+
export declare function useCommentAnnotationsCount(getCommentAnnotationsCountRequest?: GetCommentAnnotationsCountRequest): GetCommentAnnotationsCountResponse;
|
|
22
22
|
export declare function useAssignUser(): {
|
|
23
23
|
assignUser: (config: AssignUserRequest) => Promise<AssignUserEvent | null>;
|
|
24
24
|
};
|
package/index.d.ts
CHANGED
|
@@ -1580,6 +1580,14 @@ interface IVeltCommentsSidebarFilterVersions extends React.FC<IVeltCommentsSideb
|
|
|
1580
1580
|
Item: IVeltCommentsSidebarFilterItem;
|
|
1581
1581
|
}
|
|
1582
1582
|
|
|
1583
|
+
interface IVeltCommentsSidebarFilterStatusProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
1584
|
+
variant?: string;
|
|
1585
|
+
}
|
|
1586
|
+
interface IVeltCommentsSidebarFilterStatus extends React.FC<IVeltCommentsSidebarFilterStatusProps> {
|
|
1587
|
+
Name: React.FC<IVeltCommentsSidebarFilterNameProps>;
|
|
1588
|
+
Item: IVeltCommentsSidebarFilterItem;
|
|
1589
|
+
}
|
|
1590
|
+
|
|
1583
1591
|
interface IVeltCommentsSidebarFilterProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
1584
1592
|
variant?: string;
|
|
1585
1593
|
}
|
|
@@ -1595,6 +1603,7 @@ interface IVeltCommentsSidebarFilter extends React.FC<IVeltCommentsSidebarFilter
|
|
|
1595
1603
|
GroupBy: IVeltCommentsSidebarFilterGroupBy;
|
|
1596
1604
|
DoneButton: React.FC<IVeltCommentsSidebarFilterDoneButtonProps>;
|
|
1597
1605
|
Item: IVeltCommentsSidebarFilterItem;
|
|
1606
|
+
Status: IVeltCommentsSidebarFilterStatus;
|
|
1598
1607
|
}
|
|
1599
1608
|
|
|
1600
1609
|
interface IVeltCommentsSidebarFilterButtonProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
@@ -3758,8 +3767,8 @@ declare function useUnsubscribeCommentAnnotation(): {
|
|
|
3758
3767
|
declare function useDeleteCommentAnnotation(): {
|
|
3759
3768
|
deleteCommentAnnotation: (config: DeleteCommentAnnotationRequest) => Promise<DeleteCommentAnnotationEvent | null>;
|
|
3760
3769
|
};
|
|
3761
|
-
declare function useGetCommentAnnotations(getCommentAnnotationsRequest
|
|
3762
|
-
declare function useCommentAnnotationsCount(getCommentAnnotationsCountRequest
|
|
3770
|
+
declare function useGetCommentAnnotations(getCommentAnnotationsRequest?: GetCommentAnnotationsRequest): GetCommentAnnotationsResponse;
|
|
3771
|
+
declare function useCommentAnnotationsCount(getCommentAnnotationsCountRequest?: GetCommentAnnotationsCountRequest): GetCommentAnnotationsCountResponse;
|
|
3763
3772
|
declare function useAssignUser(): {
|
|
3764
3773
|
assignUser: (config: AssignUserRequest) => Promise<AssignUserEvent | null>;
|
|
3765
3774
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veltdev/react",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-beta.3",
|
|
4
4
|
"description": "Velt is an SDK to add collaborative features to your product within minutes. Example: Comments like Figma, Frame.io, Google docs or sheets, Recording like Loom, Huddles like Slack and much more.",
|
|
5
5
|
"homepage": "https://velt.dev",
|
|
6
6
|
"keywords": [
|