@veltdev/react 6.0.12 → 6.0.14-beta.1
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/components/VeltActivityLog/VeltActivityLogList/VeltActivityLogListDateGroup/VeltActivityLogListDateGroup.d.ts +4 -0
- package/cjs/components/VeltActivityLog/VeltActivityLogList/VeltActivityLogListDateGroup/VeltActivityLogListDateGroupLabel/VeltActivityLogListDateGroupLabel.d.ts +4 -0
- package/cjs/components/VeltActivityLog/VeltActivityLogList/VeltActivityLogListItem/VeltActivityLogListItem.d.ts +4 -0
- package/cjs/components/VeltActivityLog/VeltActivityLogList/VeltActivityLogListItem/VeltActivityLogListItemAvatar/VeltActivityLogListItemAvatar.d.ts +4 -0
- package/cjs/components/VeltActivityLog/VeltActivityLogList/VeltActivityLogListItem/VeltActivityLogListItemContent/VeltActivityLogListItemContent.d.ts +4 -0
- package/cjs/components/VeltActivityLog/VeltActivityLogList/VeltActivityLogListItem/VeltActivityLogListItemContent/VeltActivityLogListItemContentAction/VeltActivityLogListItemContentAction.d.ts +4 -0
- package/cjs/components/VeltActivityLog/VeltActivityLogList/VeltActivityLogListItem/VeltActivityLogListItemContent/VeltActivityLogListItemContentDetail/VeltActivityLogListItemContentDetail.d.ts +4 -0
- package/cjs/components/VeltActivityLog/VeltActivityLogList/VeltActivityLogListItem/VeltActivityLogListItemContent/VeltActivityLogListItemContentTarget/VeltActivityLogListItemContentTarget.d.ts +4 -0
- package/cjs/components/VeltActivityLog/VeltActivityLogList/VeltActivityLogListItem/VeltActivityLogListItemContent/VeltActivityLogListItemContentUser/VeltActivityLogListItemContentUser.d.ts +4 -0
- package/cjs/components/VeltActivityLog/VeltActivityLogList/VeltActivityLogListItem/VeltActivityLogListItemIcon/VeltActivityLogListItemIcon.d.ts +4 -0
- package/cjs/components/VeltActivityLog/VeltActivityLogList/VeltActivityLogListItem/VeltActivityLogListItemTime/VeltActivityLogListItemTime.d.ts +4 -0
- package/cjs/components/VeltActivityLog/VeltActivityLogList/VeltActivityLogListShowMore/VeltActivityLogListShowMore.d.ts +4 -0
- package/cjs/components/VeltAutocomplete/VeltAutocompleteChip/VeltAutocompleteChip.d.ts +2 -0
- package/cjs/components/VeltAutocomplete/VeltAutocompleteChipTooltip/VeltAutocompleteChipTooltip.d.ts +2 -0
- package/cjs/components/VeltAutocomplete/VeltAutocompleteChipTooltip/VeltAutocompleteChipTooltipDescription/VeltAutocompleteChipTooltipDescription.d.ts +2 -0
- package/cjs/components/VeltAutocomplete/VeltAutocompleteChipTooltip/VeltAutocompleteChipTooltipIcon/VeltAutocompleteChipTooltipIcon.d.ts +2 -0
- package/cjs/components/VeltAutocomplete/VeltAutocompleteChipTooltip/VeltAutocompleteChipTooltipName/VeltAutocompleteChipTooltipName.d.ts +2 -0
- package/cjs/components/VeltAutocomplete/VeltAutocompleteEmpty/VeltAutocompleteEmpty.d.ts +2 -0
- package/cjs/components/VeltAutocomplete/VeltAutocompleteGroupOption/VeltAutocompleteGroupOption.d.ts +2 -0
- package/cjs/components/VeltAutocomplete/VeltAutocompleteOption/VeltAutocompleteOption.d.ts +2 -0
- package/cjs/components/VeltAutocomplete/VeltAutocompleteOption/VeltAutocompleteOptionDescription/VeltAutocompleteOptionDescription.d.ts +2 -0
- package/cjs/components/VeltAutocomplete/VeltAutocompleteOption/VeltAutocompleteOptionErrorIcon/VeltAutocompleteOptionErrorIcon.d.ts +2 -0
- package/cjs/components/VeltAutocomplete/VeltAutocompleteOption/VeltAutocompleteOptionIcon/VeltAutocompleteOptionIcon.d.ts +2 -0
- package/cjs/components/VeltAutocomplete/VeltAutocompleteOption/VeltAutocompleteOptionName/VeltAutocompleteOptionName.d.ts +2 -0
- package/cjs/components/VeltAutocomplete/VeltAutocompletePanel/VeltAutocompletePanel.d.ts +2 -0
- package/cjs/components/VeltAutocomplete/VeltAutocompleteTool/VeltAutocompleteTool.d.ts +2 -0
- package/cjs/components/VeltCommentDialog/VeltCommentDialogSuggestion/VeltCommentDialogSuggestionHeader/VeltCommentDialogSuggestionMenu/VeltCommentDialogSuggestionMenuContent/VeltCommentDialogSuggestionMenuContentItem/VeltCommentDialogSuggestionMenuContentItem.d.ts +2 -0
- package/cjs/components/VeltCommentDialog/VeltCommentDialogSuggestion/VeltCommentDialogSuggestionHeader/VeltCommentDialogSuggestionMenu/VeltCommentDialogSuggestionMenuContent/VeltCommentDialogSuggestionMenuContentItem/VeltCommentDialogSuggestionMenuContentItemIcon/VeltCommentDialogSuggestionMenuContentItemIcon.d.ts +2 -0
- package/cjs/components/VeltCommentDialog/VeltCommentDialogSuggestion/VeltCommentDialogSuggestionHeader/VeltCommentDialogSuggestionMenu/VeltCommentDialogSuggestionMenuContent/VeltCommentDialogSuggestionMenuContentItem/VeltCommentDialogSuggestionMenuContentItemLabel/VeltCommentDialogSuggestionMenuContentItemLabel.d.ts +4 -0
- package/cjs/components/VeltMultiThreadCommentDialog/VeltMultiThreadCommentDialog.d.ts +2 -0
- package/cjs/components/VeltNotificationsPanel/VeltNotificationsPanel.d.ts +1 -0
- package/cjs/components/VeltNotificationsPanel/VeltNotificationsPanelContent/VeltNotificationsPanelContentAll/VeltNotificationsPanelContentAllList/VeltNotificationsPanelContentAllListItem/VeltNotificationsPanelContentAllListItemContent/VeltNotificationsPanelContentAllListItemContent.d.ts +2 -0
- package/cjs/components/VeltNotificationsPanel/VeltNotificationsPanelContent/VeltNotificationsPanelContentAll/VeltNotificationsPanelContentAllList/VeltNotificationsPanelContentAllListItem/VeltNotificationsPanelContentAllListItemLabel/VeltNotificationsPanelContentAllListItemLabel.d.ts +2 -0
- package/cjs/components/VeltNotificationsPanel/VeltNotificationsPanelContent/VeltNotificationsPanelContentPeople/VeltNotificationsPanelContentPeopleList/VeltNotificationsPanelContentPeopleListItem/VeltNotificationsPanelContentPeopleListItem.d.ts +4 -0
- package/cjs/components/VeltNotificationsPanel/VeltNotificationsPanelContent/VeltNotificationsPanelContentPeople/VeltNotificationsPanelContentPeopleList/VeltNotificationsPanelContentPeopleListItem/VeltNotificationsPanelContentPeopleListItemAvatar/VeltNotificationsPanelContentPeopleListItemAvatar.d.ts +4 -0
- package/cjs/components/VeltNotificationsPanel/VeltNotificationsPanelContent/VeltNotificationsPanelContentPeople/VeltNotificationsPanelContentPeopleList/VeltNotificationsPanelContentPeopleListItem/VeltNotificationsPanelContentPeopleListItemContent/VeltNotificationsPanelContentPeopleListItemContent.d.ts +4 -0
- package/cjs/components/VeltNotificationsPanel/VeltNotificationsPanelContent/VeltNotificationsPanelContentPeople/VeltNotificationsPanelContentPeopleList/VeltNotificationsPanelContentPeopleListItem/VeltNotificationsPanelContentPeopleListItemCount/VeltNotificationsPanelContentPeopleListItemCount.d.ts +4 -0
- package/cjs/components/VeltNotificationsPanel/VeltNotificationsPanelContent/VeltNotificationsPanelContentPeople/VeltNotificationsPanelContentPeopleList/VeltNotificationsPanelContentPeopleListItem/VeltNotificationsPanelContentPeopleListItemName/VeltNotificationsPanelContentPeopleListItemName.d.ts +4 -0
- package/cjs/components/__tests__/propsPassthrough.test.d.ts +1 -0
- package/cjs/components/__tests__/selectorProps.test.d.ts +1 -0
- package/cjs/constants.d.ts +1 -1
- package/cjs/hooks/ActivityElement.d.ts +11 -0
- package/cjs/hooks/AutocompleteElement.d.ts +13 -0
- package/cjs/hooks/CommentElement.d.ts +105 -0
- package/cjs/hooks/NotificationElement.d.ts +20 -0
- package/cjs/hooks/configHooks.test.d.ts +1 -0
- package/cjs/hooks/index.d.ts +4 -4
- package/cjs/index.js +1506 -988
- package/cjs/index.js.map +1 -1
- package/cjs/types/primitive-config.types.d.ts +41 -0
- package/cjs/utils/propUtils.d.ts +17 -0
- package/cjs/utils/propUtils.test.d.ts +1 -0
- package/esm/components/VeltActivityLog/VeltActivityLogList/VeltActivityLogListDateGroup/VeltActivityLogListDateGroup.d.ts +4 -0
- package/esm/components/VeltActivityLog/VeltActivityLogList/VeltActivityLogListDateGroup/VeltActivityLogListDateGroupLabel/VeltActivityLogListDateGroupLabel.d.ts +4 -0
- package/esm/components/VeltActivityLog/VeltActivityLogList/VeltActivityLogListItem/VeltActivityLogListItem.d.ts +4 -0
- package/esm/components/VeltActivityLog/VeltActivityLogList/VeltActivityLogListItem/VeltActivityLogListItemAvatar/VeltActivityLogListItemAvatar.d.ts +4 -0
- package/esm/components/VeltActivityLog/VeltActivityLogList/VeltActivityLogListItem/VeltActivityLogListItemContent/VeltActivityLogListItemContent.d.ts +4 -0
- package/esm/components/VeltActivityLog/VeltActivityLogList/VeltActivityLogListItem/VeltActivityLogListItemContent/VeltActivityLogListItemContentAction/VeltActivityLogListItemContentAction.d.ts +4 -0
- package/esm/components/VeltActivityLog/VeltActivityLogList/VeltActivityLogListItem/VeltActivityLogListItemContent/VeltActivityLogListItemContentDetail/VeltActivityLogListItemContentDetail.d.ts +4 -0
- package/esm/components/VeltActivityLog/VeltActivityLogList/VeltActivityLogListItem/VeltActivityLogListItemContent/VeltActivityLogListItemContentTarget/VeltActivityLogListItemContentTarget.d.ts +4 -0
- package/esm/components/VeltActivityLog/VeltActivityLogList/VeltActivityLogListItem/VeltActivityLogListItemContent/VeltActivityLogListItemContentUser/VeltActivityLogListItemContentUser.d.ts +4 -0
- package/esm/components/VeltActivityLog/VeltActivityLogList/VeltActivityLogListItem/VeltActivityLogListItemIcon/VeltActivityLogListItemIcon.d.ts +4 -0
- package/esm/components/VeltActivityLog/VeltActivityLogList/VeltActivityLogListItem/VeltActivityLogListItemTime/VeltActivityLogListItemTime.d.ts +4 -0
- package/esm/components/VeltActivityLog/VeltActivityLogList/VeltActivityLogListShowMore/VeltActivityLogListShowMore.d.ts +4 -0
- package/esm/components/VeltAutocomplete/VeltAutocompleteChip/VeltAutocompleteChip.d.ts +2 -0
- package/esm/components/VeltAutocomplete/VeltAutocompleteChipTooltip/VeltAutocompleteChipTooltip.d.ts +2 -0
- package/esm/components/VeltAutocomplete/VeltAutocompleteChipTooltip/VeltAutocompleteChipTooltipDescription/VeltAutocompleteChipTooltipDescription.d.ts +2 -0
- package/esm/components/VeltAutocomplete/VeltAutocompleteChipTooltip/VeltAutocompleteChipTooltipIcon/VeltAutocompleteChipTooltipIcon.d.ts +2 -0
- package/esm/components/VeltAutocomplete/VeltAutocompleteChipTooltip/VeltAutocompleteChipTooltipName/VeltAutocompleteChipTooltipName.d.ts +2 -0
- package/esm/components/VeltAutocomplete/VeltAutocompleteEmpty/VeltAutocompleteEmpty.d.ts +2 -0
- package/esm/components/VeltAutocomplete/VeltAutocompleteGroupOption/VeltAutocompleteGroupOption.d.ts +2 -0
- package/esm/components/VeltAutocomplete/VeltAutocompleteOption/VeltAutocompleteOption.d.ts +2 -0
- package/esm/components/VeltAutocomplete/VeltAutocompleteOption/VeltAutocompleteOptionDescription/VeltAutocompleteOptionDescription.d.ts +2 -0
- package/esm/components/VeltAutocomplete/VeltAutocompleteOption/VeltAutocompleteOptionErrorIcon/VeltAutocompleteOptionErrorIcon.d.ts +2 -0
- package/esm/components/VeltAutocomplete/VeltAutocompleteOption/VeltAutocompleteOptionIcon/VeltAutocompleteOptionIcon.d.ts +2 -0
- package/esm/components/VeltAutocomplete/VeltAutocompleteOption/VeltAutocompleteOptionName/VeltAutocompleteOptionName.d.ts +2 -0
- package/esm/components/VeltAutocomplete/VeltAutocompletePanel/VeltAutocompletePanel.d.ts +2 -0
- package/esm/components/VeltAutocomplete/VeltAutocompleteTool/VeltAutocompleteTool.d.ts +2 -0
- package/esm/components/VeltCommentDialog/VeltCommentDialogSuggestion/VeltCommentDialogSuggestionHeader/VeltCommentDialogSuggestionMenu/VeltCommentDialogSuggestionMenuContent/VeltCommentDialogSuggestionMenuContentItem/VeltCommentDialogSuggestionMenuContentItem.d.ts +2 -0
- package/esm/components/VeltCommentDialog/VeltCommentDialogSuggestion/VeltCommentDialogSuggestionHeader/VeltCommentDialogSuggestionMenu/VeltCommentDialogSuggestionMenuContent/VeltCommentDialogSuggestionMenuContentItem/VeltCommentDialogSuggestionMenuContentItemIcon/VeltCommentDialogSuggestionMenuContentItemIcon.d.ts +2 -0
- package/esm/components/VeltCommentDialog/VeltCommentDialogSuggestion/VeltCommentDialogSuggestionHeader/VeltCommentDialogSuggestionMenu/VeltCommentDialogSuggestionMenuContent/VeltCommentDialogSuggestionMenuContentItem/VeltCommentDialogSuggestionMenuContentItemLabel/VeltCommentDialogSuggestionMenuContentItemLabel.d.ts +4 -0
- package/esm/components/VeltMultiThreadCommentDialog/VeltMultiThreadCommentDialog.d.ts +2 -0
- package/esm/components/VeltNotificationsPanel/VeltNotificationsPanel.d.ts +1 -0
- package/esm/components/VeltNotificationsPanel/VeltNotificationsPanelContent/VeltNotificationsPanelContentAll/VeltNotificationsPanelContentAllList/VeltNotificationsPanelContentAllListItem/VeltNotificationsPanelContentAllListItemContent/VeltNotificationsPanelContentAllListItemContent.d.ts +2 -0
- package/esm/components/VeltNotificationsPanel/VeltNotificationsPanelContent/VeltNotificationsPanelContentAll/VeltNotificationsPanelContentAllList/VeltNotificationsPanelContentAllListItem/VeltNotificationsPanelContentAllListItemLabel/VeltNotificationsPanelContentAllListItemLabel.d.ts +2 -0
- package/esm/components/VeltNotificationsPanel/VeltNotificationsPanelContent/VeltNotificationsPanelContentPeople/VeltNotificationsPanelContentPeopleList/VeltNotificationsPanelContentPeopleListItem/VeltNotificationsPanelContentPeopleListItem.d.ts +4 -0
- package/esm/components/VeltNotificationsPanel/VeltNotificationsPanelContent/VeltNotificationsPanelContentPeople/VeltNotificationsPanelContentPeopleList/VeltNotificationsPanelContentPeopleListItem/VeltNotificationsPanelContentPeopleListItemAvatar/VeltNotificationsPanelContentPeopleListItemAvatar.d.ts +4 -0
- package/esm/components/VeltNotificationsPanel/VeltNotificationsPanelContent/VeltNotificationsPanelContentPeople/VeltNotificationsPanelContentPeopleList/VeltNotificationsPanelContentPeopleListItem/VeltNotificationsPanelContentPeopleListItemContent/VeltNotificationsPanelContentPeopleListItemContent.d.ts +4 -0
- package/esm/components/VeltNotificationsPanel/VeltNotificationsPanelContent/VeltNotificationsPanelContentPeople/VeltNotificationsPanelContentPeopleList/VeltNotificationsPanelContentPeopleListItem/VeltNotificationsPanelContentPeopleListItemCount/VeltNotificationsPanelContentPeopleListItemCount.d.ts +4 -0
- package/esm/components/VeltNotificationsPanel/VeltNotificationsPanelContent/VeltNotificationsPanelContentPeople/VeltNotificationsPanelContentPeopleList/VeltNotificationsPanelContentPeopleListItem/VeltNotificationsPanelContentPeopleListItemName/VeltNotificationsPanelContentPeopleListItemName.d.ts +4 -0
- package/esm/components/__tests__/propsPassthrough.test.d.ts +1 -0
- package/esm/components/__tests__/selectorProps.test.d.ts +1 -0
- package/esm/constants.d.ts +1 -1
- package/esm/hooks/ActivityElement.d.ts +11 -0
- package/esm/hooks/AutocompleteElement.d.ts +13 -0
- package/esm/hooks/CommentElement.d.ts +105 -0
- package/esm/hooks/NotificationElement.d.ts +20 -0
- package/esm/hooks/configHooks.test.d.ts +1 -0
- package/esm/hooks/index.d.ts +4 -4
- package/esm/index.js +1494 -989
- package/esm/index.js.map +1 -1
- package/esm/types/primitive-config.types.d.ts +41 -0
- package/esm/utils/propUtils.d.ts +17 -0
- package/esm/utils/propUtils.test.d.ts +1 -0
- package/index.d.ts +299 -1
- package/package.json +1 -1
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface IVeltActivityLogListDateGroupProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
3
|
+
/** Standalone selector: which date group this primitive belongs to, by its ISO date key (e.g. '2026-03-11'). */
|
|
4
|
+
dateKey?: string;
|
|
5
|
+
/** Standalone selector: which date group this primitive belongs to, by index. */
|
|
6
|
+
dateGroupIndex?: number | string;
|
|
3
7
|
defaultCondition?: boolean;
|
|
4
8
|
dateGroup?: string;
|
|
5
9
|
}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface IVeltActivityLogListDateGroupLabelProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
3
|
+
/** Standalone selector: which date group this primitive belongs to, by its ISO date key (e.g. '2026-03-11'). */
|
|
4
|
+
dateKey?: string;
|
|
5
|
+
/** Standalone selector: which date group this primitive belongs to, by index. */
|
|
6
|
+
dateGroupIndex?: number | string;
|
|
3
7
|
defaultCondition?: boolean;
|
|
4
8
|
dateGroup?: string;
|
|
5
9
|
}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface IVeltActivityLogListItemProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
3
|
+
/** Standalone selector: which activity record this primitive renders, by id. */
|
|
4
|
+
activityId?: string;
|
|
5
|
+
/** Standalone selector: which activity record this primitive renders, by index. */
|
|
6
|
+
activityIndex?: number | string;
|
|
3
7
|
defaultCondition?: boolean;
|
|
4
8
|
activityRecord?: string;
|
|
5
9
|
}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface IVeltActivityLogListItemAvatarProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
3
|
+
/** Standalone selector: which activity record this primitive renders, by id. */
|
|
4
|
+
activityId?: string;
|
|
5
|
+
/** Standalone selector: which activity record this primitive renders, by index. */
|
|
6
|
+
activityIndex?: number | string;
|
|
3
7
|
defaultCondition?: boolean;
|
|
4
8
|
activityRecord?: string;
|
|
5
9
|
}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface IVeltActivityLogListItemContentProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
3
|
+
/** Standalone selector: which activity record this primitive renders, by id. */
|
|
4
|
+
activityId?: string;
|
|
5
|
+
/** Standalone selector: which activity record this primitive renders, by index. */
|
|
6
|
+
activityIndex?: number | string;
|
|
3
7
|
defaultCondition?: boolean;
|
|
4
8
|
activityRecord?: string;
|
|
5
9
|
}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface IVeltActivityLogListItemContentActionProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
3
|
+
/** Standalone selector: which activity record this primitive renders, by id. */
|
|
4
|
+
activityId?: string;
|
|
5
|
+
/** Standalone selector: which activity record this primitive renders, by index. */
|
|
6
|
+
activityIndex?: number | string;
|
|
3
7
|
defaultCondition?: boolean;
|
|
4
8
|
activityRecord?: string;
|
|
5
9
|
}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface IVeltActivityLogListItemContentDetailProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
3
|
+
/** Standalone selector: which activity record this primitive renders, by id. */
|
|
4
|
+
activityId?: string;
|
|
5
|
+
/** Standalone selector: which activity record this primitive renders, by index. */
|
|
6
|
+
activityIndex?: number | string;
|
|
3
7
|
defaultCondition?: boolean;
|
|
4
8
|
activityRecord?: string;
|
|
5
9
|
}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface IVeltActivityLogListItemContentTargetProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
3
|
+
/** Standalone selector: which activity record this primitive renders, by id. */
|
|
4
|
+
activityId?: string;
|
|
5
|
+
/** Standalone selector: which activity record this primitive renders, by index. */
|
|
6
|
+
activityIndex?: number | string;
|
|
3
7
|
defaultCondition?: boolean;
|
|
4
8
|
activityRecord?: string;
|
|
5
9
|
}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface IVeltActivityLogListItemContentUserProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
3
|
+
/** Standalone selector: which activity record this primitive renders, by id. */
|
|
4
|
+
activityId?: string;
|
|
5
|
+
/** Standalone selector: which activity record this primitive renders, by index. */
|
|
6
|
+
activityIndex?: number | string;
|
|
3
7
|
defaultCondition?: boolean;
|
|
4
8
|
activityRecord?: string;
|
|
5
9
|
}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface IVeltActivityLogListItemIconProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
3
|
+
/** Standalone selector: which activity record this primitive renders, by id. */
|
|
4
|
+
activityId?: string;
|
|
5
|
+
/** Standalone selector: which activity record this primitive renders, by index. */
|
|
6
|
+
activityIndex?: number | string;
|
|
3
7
|
defaultCondition?: boolean;
|
|
4
8
|
activityRecord?: string;
|
|
5
9
|
}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface IVeltActivityLogListItemTimeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
3
|
+
/** Standalone selector: which activity record this primitive renders, by id. */
|
|
4
|
+
activityId?: string;
|
|
5
|
+
/** Standalone selector: which activity record this primitive renders, by index. */
|
|
6
|
+
activityIndex?: number | string;
|
|
3
7
|
defaultCondition?: boolean;
|
|
4
8
|
activityRecord?: string;
|
|
5
9
|
}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface IVeltActivityLogListShowMoreProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
3
|
+
/** Standalone selector: which date group this primitive belongs to, by its ISO date key (e.g. '2026-03-11'). */
|
|
4
|
+
dateKey?: string;
|
|
5
|
+
/** Standalone selector: which date group this primitive belongs to, by index. */
|
|
6
|
+
dateGroupIndex?: number | string;
|
|
3
7
|
defaultCondition?: boolean;
|
|
4
8
|
dateGroup?: string;
|
|
5
9
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface IVeltAutocompleteChipProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
3
|
+
/** Which autocomplete instance this primitive belongs to; the same id `useAutocompleteConfig({ autocompleteId })` reads. */
|
|
4
|
+
autocompleteId?: string;
|
|
3
5
|
type?: 'contact' | 'custom' | 'group' | 'loading';
|
|
4
6
|
email?: string;
|
|
5
7
|
userObject?: any;
|
package/cjs/components/VeltAutocomplete/VeltAutocompleteChipTooltip/VeltAutocompleteChipTooltip.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface IVeltAutocompleteChipTooltipProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
3
|
+
/** Which autocomplete instance this primitive belongs to; the same id `useAutocompleteConfig({ autocompleteId })` reads. */
|
|
4
|
+
autocompleteId?: string;
|
|
3
5
|
userObject?: any;
|
|
4
6
|
userId?: string;
|
|
5
7
|
variant?: string;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface IVeltAutocompleteChipTooltipDescriptionProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
3
|
+
/** Which autocomplete instance this primitive belongs to; the same id `useAutocompleteConfig({ autocompleteId })` reads. */
|
|
4
|
+
autocompleteId?: string;
|
|
3
5
|
userObject?: any;
|
|
4
6
|
userId?: string;
|
|
5
7
|
defaultCondition?: boolean;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface IVeltAutocompleteChipTooltipIconProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
3
|
+
/** Which autocomplete instance this primitive belongs to; the same id `useAutocompleteConfig({ autocompleteId })` reads. */
|
|
4
|
+
autocompleteId?: string;
|
|
3
5
|
userObject?: any;
|
|
4
6
|
userId?: string;
|
|
5
7
|
defaultCondition?: boolean;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface IVeltAutocompleteChipTooltipNameProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
3
|
+
/** Which autocomplete instance this primitive belongs to; the same id `useAutocompleteConfig({ autocompleteId })` reads. */
|
|
4
|
+
autocompleteId?: string;
|
|
3
5
|
userObject?: any;
|
|
4
6
|
userId?: string;
|
|
5
7
|
defaultCondition?: boolean;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface IVeltAutocompleteEmptyProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
3
|
+
/** Which autocomplete instance this primitive belongs to; the same id `useAutocompleteConfig({ autocompleteId })` reads. */
|
|
4
|
+
autocompleteId?: string;
|
|
3
5
|
newUserContactError?: string;
|
|
4
6
|
defaultCondition?: boolean;
|
|
5
7
|
}
|
package/cjs/components/VeltAutocomplete/VeltAutocompleteGroupOption/VeltAutocompleteGroupOption.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface IVeltAutocompleteGroupOptionProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
3
|
+
/** Which autocomplete instance this primitive belongs to; the same id `useAutocompleteConfig({ autocompleteId })` reads. */
|
|
4
|
+
autocompleteId?: string;
|
|
3
5
|
group?: any;
|
|
4
6
|
groupName?: string;
|
|
5
7
|
groupObject?: any;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface IVeltAutocompleteOptionProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
3
|
+
/** Which autocomplete instance this primitive belongs to; the same id `useAutocompleteConfig({ autocompleteId })` reads. */
|
|
4
|
+
autocompleteId?: string;
|
|
3
5
|
userObject?: any;
|
|
4
6
|
userId?: string;
|
|
5
7
|
variant?: string;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface IVeltAutocompleteOptionDescriptionProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
3
|
+
/** Which autocomplete instance this primitive belongs to; the same id `useAutocompleteConfig({ autocompleteId })` reads. */
|
|
4
|
+
autocompleteId?: string;
|
|
3
5
|
field?: string;
|
|
4
6
|
userObject?: any;
|
|
5
7
|
userId?: string;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface IVeltAutocompleteOptionErrorIconProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
3
|
+
/** Which autocomplete instance this primitive belongs to; the same id `useAutocompleteConfig({ autocompleteId })` reads. */
|
|
4
|
+
autocompleteId?: string;
|
|
3
5
|
userObject?: any;
|
|
4
6
|
userId?: string;
|
|
5
7
|
defaultCondition?: boolean;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface IVeltAutocompleteOptionIconProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
3
|
+
/** Which autocomplete instance this primitive belongs to; the same id `useAutocompleteConfig({ autocompleteId })` reads. */
|
|
4
|
+
autocompleteId?: string;
|
|
3
5
|
userObject?: any;
|
|
4
6
|
userId?: string;
|
|
5
7
|
defaultCondition?: boolean;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface IVeltAutocompleteOptionNameProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
3
|
+
/** Which autocomplete instance this primitive belongs to; the same id `useAutocompleteConfig({ autocompleteId })` reads. */
|
|
4
|
+
autocompleteId?: string;
|
|
3
5
|
userObject?: any;
|
|
4
6
|
userId?: string;
|
|
5
7
|
defaultCondition?: boolean;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface IVeltAutocompletePanelProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
3
|
+
/** Which autocomplete instance this primitive belongs to; the same id `useAutocompleteConfig({ autocompleteId })` reads. */
|
|
4
|
+
autocompleteId?: string;
|
|
3
5
|
type?: 'contact' | 'generic';
|
|
4
6
|
hideInput?: boolean;
|
|
5
7
|
placeholder?: string;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface IVeltAutocompleteToolProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
3
|
+
/** Which autocomplete instance this primitive belongs to; the same id `useAutocompleteConfig({ autocompleteId })` reads. */
|
|
4
|
+
autocompleteId?: string;
|
|
3
5
|
hotkey?: string;
|
|
4
6
|
componentMeta?: any;
|
|
5
7
|
defaultCondition?: boolean;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface IVeltCommentDialogSuggestionMenuContentItemProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
3
|
+
/** Which menu row this is — drives its icon, label and action. */
|
|
4
|
+
type?: 'copy-link' | 'delete';
|
|
3
5
|
annotationId?: string;
|
|
4
6
|
defaultCondition?: boolean;
|
|
5
7
|
inlineCommentSectionMode?: boolean;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface IVeltCommentDialogSuggestionMenuContentItemIconProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
3
|
+
/** Which menu row this is — drives its icon, label and action. */
|
|
4
|
+
type?: 'copy-link' | 'delete';
|
|
3
5
|
annotationId?: string;
|
|
4
6
|
defaultCondition?: boolean;
|
|
5
7
|
inlineCommentSectionMode?: boolean;
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface IVeltCommentDialogSuggestionMenuContentItemLabelProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
3
|
+
/** Which menu row this is — drives its icon, label and action. */
|
|
4
|
+
type?: 'copy-link' | 'delete';
|
|
5
|
+
/** Overrides the row's label text. */
|
|
6
|
+
label?: string;
|
|
3
7
|
annotationId?: string;
|
|
4
8
|
defaultCondition?: boolean;
|
|
5
9
|
inlineCommentSectionMode?: boolean;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface IVeltMultiThreadCommentDialogProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
3
|
+
/** Names this dialog's shared state, so `useMultiThreadDialogConfig({ contextId })` can address it and nested primitives read the same context. */
|
|
4
|
+
contextId?: string;
|
|
3
5
|
annotationId?: string;
|
|
4
6
|
multiThreadAnnotationId?: string;
|
|
5
7
|
annotation?: any;
|
|
@@ -26,6 +26,7 @@ export interface IVeltNotificationsPanelProps {
|
|
|
26
26
|
defaultCondition?: boolean;
|
|
27
27
|
enableCrossOrganization?: boolean | string | CrossOrganizationConfig;
|
|
28
28
|
enableUserScopedNotifications?: boolean | string | UserScopedNotificationsConfig;
|
|
29
|
+
children?: React.ReactNode;
|
|
29
30
|
}
|
|
30
31
|
declare const VeltNotificationsPanel: React.FC<IVeltNotificationsPanelProps>;
|
|
31
32
|
export default VeltNotificationsPanel;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface IVeltNotificationsPanelContentAllListItemContentProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
3
|
+
/** Standalone selector: which notification this primitive renders, by index. */
|
|
4
|
+
notificationIndex?: number | string;
|
|
3
5
|
date?: string;
|
|
4
6
|
defaultCondition?: boolean;
|
|
5
7
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface IVeltNotificationsPanelContentAllListItemLabelProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
3
|
+
/** Standalone selector: which notification this primitive renders, by index. */
|
|
4
|
+
notificationIndex?: number | string;
|
|
3
5
|
date?: string;
|
|
4
6
|
defaultCondition?: boolean;
|
|
5
7
|
}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface IVeltNotificationsPanelContentPeopleListItemProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
3
|
+
/** Standalone selector: which person this primitive renders, by email. */
|
|
4
|
+
email?: string;
|
|
5
|
+
/** Standalone selector: which person this primitive renders, by userId. */
|
|
6
|
+
userId?: string;
|
|
3
7
|
notificationIndex?: string;
|
|
4
8
|
defaultCondition?: boolean;
|
|
5
9
|
data?: any;
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface IVeltNotificationsPanelContentPeopleListItemAvatarProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
3
|
+
/** Standalone selector: which person this primitive renders, by email. */
|
|
4
|
+
email?: string;
|
|
5
|
+
/** Standalone selector: which person this primitive renders, by userId. */
|
|
6
|
+
userId?: string;
|
|
3
7
|
notificationIndex?: string;
|
|
4
8
|
defaultCondition?: boolean;
|
|
5
9
|
data?: any;
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface IVeltNotificationsPanelContentPeopleListItemContentProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
3
|
+
/** Standalone selector: which person this primitive renders, by email. */
|
|
4
|
+
email?: string;
|
|
5
|
+
/** Standalone selector: which person this primitive renders, by userId. */
|
|
6
|
+
userId?: string;
|
|
3
7
|
notificationIndex?: string;
|
|
4
8
|
defaultCondition?: boolean;
|
|
5
9
|
data?: any;
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface IVeltNotificationsPanelContentPeopleListItemCountProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
3
|
+
/** Standalone selector: which person this primitive renders, by email. */
|
|
4
|
+
email?: string;
|
|
5
|
+
/** Standalone selector: which person this primitive renders, by userId. */
|
|
6
|
+
userId?: string;
|
|
3
7
|
notificationIndex?: string;
|
|
4
8
|
defaultCondition?: boolean;
|
|
5
9
|
data?: any;
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface IVeltNotificationsPanelContentPeopleListItemNameProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
3
|
+
/** Standalone selector: which person this primitive renders, by email. */
|
|
4
|
+
email?: string;
|
|
5
|
+
/** Standalone selector: which person this primitive renders, by userId. */
|
|
6
|
+
userId?: string;
|
|
3
7
|
notificationIndex?: string;
|
|
4
8
|
defaultCondition?: boolean;
|
|
5
9
|
data?: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/cjs/constants.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const VELT_SDK_VERSION = "6.0.
|
|
2
|
+
export declare const VELT_SDK_VERSION = "6.0.14-beta.1";
|
|
3
3
|
export declare const VELT_SDK_INIT_EVENT = "onVeltInit";
|
|
4
4
|
export declare const VELT_TAB_ID = "veltTabId";
|
|
5
5
|
export declare const INTEGRITY_MAP: Record<string, string>;
|
|
@@ -1,3 +1,14 @@
|
|
|
1
1
|
import { ActivityElement, ActivityRecord, ActivitySubscribeConfig } from "@veltdev/types";
|
|
2
|
+
import { ActivityLogComponentConfig } from "../types/primitive-config.types";
|
|
2
3
|
export declare function useActivityUtils(): ActivityElement | undefined;
|
|
4
|
+
/**
|
|
5
|
+
* @experimental Subscribe to the ACTIVITY LOG's live derived state (`ActivityLogComponentConfig`) —
|
|
6
|
+
* the resolved records, their date groups and the log's UI state. Read-only; its shape is unstable
|
|
7
|
+
* and may change between releases.
|
|
8
|
+
*
|
|
9
|
+
* ```jsx
|
|
10
|
+
* const config = useActivityLogConfig();
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
export declare function useActivityLogConfig(): ActivityLogComponentConfig | null | undefined;
|
|
3
14
|
export declare function useAllActivities(config?: ActivitySubscribeConfig): ActivityRecord<unknown, unknown>[] | null;
|
|
@@ -1,3 +1,16 @@
|
|
|
1
1
|
import { AutocompleteChipData, AutocompleteElement } from "@veltdev/types";
|
|
2
|
+
import { AutocompleteComponentConfig } from "../types/primitive-config.types";
|
|
2
3
|
export declare function useAutocompleteUtils(): AutocompleteElement | undefined;
|
|
4
|
+
/**
|
|
5
|
+
* @experimental Subscribe to an AUTOCOMPLETE's live derived state (`AutocompleteComponentConfig`),
|
|
6
|
+
* keyed by `autocompleteId` — the query, its resolved options and the panel's UI state. Read-only;
|
|
7
|
+
* its shape is unstable and may change between releases.
|
|
8
|
+
*
|
|
9
|
+
* ```jsx
|
|
10
|
+
* const config = useAutocompleteConfig({ autocompleteId: 'mentions' });
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
export declare function useAutocompleteConfig(config: {
|
|
14
|
+
autocompleteId: string;
|
|
15
|
+
}): AutocompleteComponentConfig | null | undefined;
|
|
3
16
|
export declare function useAutocompleteChipClick(): AutocompleteChipData | undefined;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { CommentAnnotation, CommentElement, Location, CommentSelectionChangeData, CommentSidebarCustomActionEventData, CommentAddEventData, CommentUpdateEventData, UnreadCommentsCount, CommentContextProvider } from "@veltdev/types";
|
|
2
|
+
import { ComponentConfig, BubbleDataConfig, PinDataConfig, CommentsToolDataConfig, MultiThreadDialogDataConfig, SidebarButtonDataConfig, TextCommentDataConfig, InlineSectionComponentConfig, SidebarComponentConfig } from "../types/primitive-config.types";
|
|
2
3
|
export declare function useCommentUtils(): CommentElement | undefined;
|
|
3
4
|
export declare function useCommentAnnotations(documentId?: string, location?: Location): CommentAnnotation[] | null | undefined;
|
|
4
5
|
export declare function useUnreadCommentCountByAnnotationId(annotationId: string): UnreadCommentsCount;
|
|
@@ -24,6 +25,110 @@ export declare function useCommentAnnotationById(config: {
|
|
|
24
25
|
annotationId: string;
|
|
25
26
|
documentId?: string;
|
|
26
27
|
}): CommentAnnotation | null | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* @experimental Subscribe to a comment dialog's live derived state (`ComponentConfig`) for an
|
|
30
|
+
* annotation — the internal working object powering the dialog (annotation data, appState,
|
|
31
|
+
* featureState, uiState). Read-only; its shape is unstable and may change between releases.
|
|
32
|
+
* Pair with primitive children + Release 2 context so a nested component can pass the annotationId.
|
|
33
|
+
*
|
|
34
|
+
* ```jsx
|
|
35
|
+
* function StatusDot({ annotationId }) {
|
|
36
|
+
* const config = useCommentDialogConfig({ annotationId });
|
|
37
|
+
* return <span style={{ background: config?.data?.annotation?.status?.color }} />;
|
|
38
|
+
* }
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
41
|
+
export declare function useCommentDialogConfig(config: {
|
|
42
|
+
annotationId: string;
|
|
43
|
+
}): ComponentConfig | null | undefined;
|
|
44
|
+
/**
|
|
45
|
+
* @experimental Subscribe to the comment BUBBLE's live derived state (`BubbleDataConfig`) for a
|
|
46
|
+
* context. Read-only; its shape is unstable and may change between releases.
|
|
47
|
+
*
|
|
48
|
+
* ```jsx
|
|
49
|
+
* const config = useCommentBubbleConfig({ contextId: 'default' });
|
|
50
|
+
* ```
|
|
51
|
+
*/
|
|
52
|
+
export declare function useCommentBubbleConfig(config?: {
|
|
53
|
+
contextId?: string;
|
|
54
|
+
}): BubbleDataConfig | null | undefined;
|
|
55
|
+
/**
|
|
56
|
+
* @experimental Subscribe to the comment PIN's live derived state (`PinDataConfig`) for a context.
|
|
57
|
+
* Read-only; its shape is unstable and may change between releases.
|
|
58
|
+
*
|
|
59
|
+
* ```jsx
|
|
60
|
+
* const config = useCommentPinConfig({ contextId: 'default' });
|
|
61
|
+
* ```
|
|
62
|
+
*/
|
|
63
|
+
export declare function useCommentPinConfig(config?: {
|
|
64
|
+
contextId?: string;
|
|
65
|
+
}): PinDataConfig | null | undefined;
|
|
66
|
+
/**
|
|
67
|
+
* @experimental Subscribe to the comments TOOL's live derived state (`CommentsToolDataConfig`) for a
|
|
68
|
+
* context. Read-only; its shape is unstable and may change between releases.
|
|
69
|
+
*
|
|
70
|
+
* ```jsx
|
|
71
|
+
* const config = useCommentsToolConfig({ contextId: 'default' });
|
|
72
|
+
* ```
|
|
73
|
+
*/
|
|
74
|
+
export declare function useCommentsToolConfig(config?: {
|
|
75
|
+
contextId?: string;
|
|
76
|
+
}): CommentsToolDataConfig | null | undefined;
|
|
77
|
+
/**
|
|
78
|
+
* @experimental Subscribe to the MULTI-THREAD dialog's live derived state
|
|
79
|
+
* (`MultiThreadDialogDataConfig`). Read-only; its shape is unstable and may change between releases.
|
|
80
|
+
*
|
|
81
|
+
* ```jsx
|
|
82
|
+
* const config = useMultiThreadDialogConfig();
|
|
83
|
+
* ```
|
|
84
|
+
*/
|
|
85
|
+
export declare function useMultiThreadDialogConfig(config?: {
|
|
86
|
+
contextId?: string;
|
|
87
|
+
}): MultiThreadDialogDataConfig | null | undefined;
|
|
88
|
+
/**
|
|
89
|
+
* @experimental Subscribe to the SIDEBAR BUTTON's live derived state (`SidebarButtonDataConfig`) for
|
|
90
|
+
* a context. Read-only; its shape is unstable and may change between releases.
|
|
91
|
+
*
|
|
92
|
+
* ```jsx
|
|
93
|
+
* const config = useSidebarButtonConfig({ contextId: 'default' });
|
|
94
|
+
* ```
|
|
95
|
+
*/
|
|
96
|
+
export declare function useSidebarButtonConfig(config?: {
|
|
97
|
+
contextId?: string;
|
|
98
|
+
}): SidebarButtonDataConfig | null | undefined;
|
|
99
|
+
/**
|
|
100
|
+
* @experimental Subscribe to the TEXT COMMENT surface's live derived state (`TextCommentDataConfig`)
|
|
101
|
+
* for a context. Read-only; its shape is unstable and may change between releases.
|
|
102
|
+
*
|
|
103
|
+
* ```jsx
|
|
104
|
+
* const config = useTextCommentConfig({ contextId: 'default' });
|
|
105
|
+
* ```
|
|
106
|
+
*/
|
|
107
|
+
export declare function useTextCommentConfig(config?: {
|
|
108
|
+
contextId?: string;
|
|
109
|
+
}): TextCommentDataConfig | null | undefined;
|
|
110
|
+
/**
|
|
111
|
+
* @experimental Subscribe to an INLINE COMMENTS SECTION's live derived state
|
|
112
|
+
* (`InlineSectionComponentConfig`). Pass the `targetElementId` of the section you want; omit it to
|
|
113
|
+
* follow the mounted section. Read-only; its shape is unstable and may change between releases.
|
|
114
|
+
*
|
|
115
|
+
* ```jsx
|
|
116
|
+
* const config = useInlineCommentsSectionConfig({ targetElementId: 'doc-1' });
|
|
117
|
+
* ```
|
|
118
|
+
*/
|
|
119
|
+
export declare function useInlineCommentsSectionConfig(config?: {
|
|
120
|
+
targetElementId?: string;
|
|
121
|
+
}): InlineSectionComponentConfig | null | undefined;
|
|
122
|
+
/**
|
|
123
|
+
* @experimental Subscribe to the comment SIDEBAR's live derived state (`SidebarComponentConfig`) —
|
|
124
|
+
* filters, groups, the rendered annotation list and its UI state. Read-only; its shape is unstable
|
|
125
|
+
* and may change between releases.
|
|
126
|
+
*
|
|
127
|
+
* ```jsx
|
|
128
|
+
* const config = useCommentSidebarConfig();
|
|
129
|
+
* ```
|
|
130
|
+
*/
|
|
131
|
+
export declare function useCommentSidebarConfig(): SidebarComponentConfig | null | undefined;
|
|
27
132
|
export declare function useCommentSidebarActionButtonClick(): CommentSidebarCustomActionEventData | null;
|
|
28
133
|
export declare function useCommentSidebarInit(): CommentSidebarCustomActionEventData | null;
|
|
29
134
|
export declare function useCommentSidebarData(): CommentSidebarCustomActionEventData | null;
|
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
import { GetNotificationsDataQuery, Notification, NotificationElement, NotificationInitialSettingsConfig, NotificationSettingsConfig } from "@veltdev/types";
|
|
2
|
+
import { NotificationsPanelComponentConfig, NotificationsToolDataConfig } from "../types/primitive-config.types";
|
|
2
3
|
export declare function useNotificationUtils(): NotificationElement | undefined;
|
|
4
|
+
/**
|
|
5
|
+
* @experimental Subscribe to the notifications PANEL's live derived state
|
|
6
|
+
* (`NotificationsPanelComponentConfig`) — the active tab, its rows and the panel's UI state.
|
|
7
|
+
* Read-only; its shape is unstable and may change between releases.
|
|
8
|
+
*
|
|
9
|
+
* ```jsx
|
|
10
|
+
* const config = useNotificationsPanelConfig();
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
export declare function useNotificationsPanelConfig(): NotificationsPanelComponentConfig | null | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* @experimental Subscribe to the notifications TOOL's live derived state
|
|
16
|
+
* (`NotificationsToolDataConfig`). Read-only; its shape is unstable and may change between releases.
|
|
17
|
+
*
|
|
18
|
+
* ```jsx
|
|
19
|
+
* const config = useNotificationsToolConfig();
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare function useNotificationsToolConfig(): NotificationsToolDataConfig | null | undefined;
|
|
3
23
|
export declare function useNotificationsData(query?: GetNotificationsDataQuery): Notification[] | null;
|
|
4
24
|
export declare function useUnreadNotificationsCount(): {
|
|
5
25
|
forYou: number | null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/cjs/hooks/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { useSetLocation, useSetDocument, useSetDocumentId, useSetDocuments, useSetRootDocument, useSetPageInfo, useClearPageInfo, useSetLocations, useSetRootLocation, useUnsetDocumentId, useUnsetDocuments, useIdentify, useClient, useVeltInitState, useUiState, useHeartbeat, useCurrentUser, useCurrentUserPermissions, } from './Client';
|
|
2
|
-
export { useCommentUtils, useCommentAnnotations, useCommentAddHandler, useCommentModeState, useCommentUpdateHandler, useCommentDialogSidebarClickHandler, useCommentSelectionChangeHandler, useUnreadCommentCountByAnnotationId, useUnreadCommentAnnotationCountOnCurrentDocument, useUnreadCommentCountOnCurrentDocument, useUnreadCommentAnnotationCountByLocationId, useUnreadCommentCountByLocationId, useCommentCopyLinkHandler, useCommentAnnotationById, useCommentSidebarActionButtonClick, useCommentSidebarInit, useCommentSidebarData, useSetContextProvider, } from './CommentElement';
|
|
2
|
+
export { useCommentUtils, useCommentAnnotations, useCommentAddHandler, useCommentModeState, useCommentUpdateHandler, useCommentDialogSidebarClickHandler, useCommentSelectionChangeHandler, useUnreadCommentCountByAnnotationId, useUnreadCommentAnnotationCountOnCurrentDocument, useUnreadCommentCountOnCurrentDocument, useUnreadCommentAnnotationCountByLocationId, useUnreadCommentCountByLocationId, useCommentCopyLinkHandler, useCommentAnnotationById, useCommentDialogConfig, useCommentBubbleConfig, useCommentPinConfig, useCommentsToolConfig, useMultiThreadDialogConfig, useSidebarButtonConfig, useTextCommentConfig, useInlineCommentsSectionConfig, useCommentSidebarConfig, useCommentSidebarActionButtonClick, useCommentSidebarInit, useCommentSidebarData, useSetContextProvider, } from './CommentElement';
|
|
3
3
|
export { useAddAttachment, useDeleteAttachment, useGetAttachment, useDeleteRecording, useGetRecording, useAddReaction, useDeleteReaction, useToggleReaction, useAddComment, useUpdateComment, useDeleteComment, useAddCommentAnnotation, useDeleteCommentAnnotation, useApproveCommentAnnotation, useSubscribeCommentAnnotation, useUnsubscribeCommentAnnotation, useAssignUser, useCopyLink, useGetComment, useGetLink, useRejectCommentAnnotation, useAcceptSuggestion, useRejectSuggestion, useResolveCommentAnnotation, useUpdateAccess, useUpdatePriority, useUpdateStatus, useCommentActionCallback, useCommentEventCallback, useGetCommentAnnotations, useCommentAnnotationsCount, } from './CommentActions';
|
|
4
4
|
export { useVeltEventCallback } from './CoreActions';
|
|
5
5
|
export { useCursorUtils, useCursorUsers, } from './CursorElement';
|
|
@@ -14,12 +14,12 @@ export { useAIRewriterUtils, } from './RewriterElement';
|
|
|
14
14
|
export { useLiveSelectionUtils, useLiveSelectionDataHandler, } from './SelectionElement';
|
|
15
15
|
export { useTagUtils, useTagAnnotations, } from './TagElement';
|
|
16
16
|
export { useViewsUtils, useUniqueViewsByDate, useUniqueViewsByUser, } from './ViewsElement';
|
|
17
|
-
export { useNotificationUtils, useNotificationsData, useUnreadNotificationsCount, useNotificationSettings, } from './NotificationElement';
|
|
17
|
+
export { useNotificationUtils, useNotificationsData, useUnreadNotificationsCount, useNotificationSettings, useNotificationsPanelConfig, useNotificationsToolConfig, } from './NotificationElement';
|
|
18
18
|
export { useNotificationEventCallback, } from './NotificationsActions';
|
|
19
|
-
export { useAutocompleteUtils, useAutocompleteChipClick, } from './AutocompleteElement';
|
|
19
|
+
export { useAutocompleteUtils, useAutocompleteChipClick, useAutocompleteConfig, } from './AutocompleteElement';
|
|
20
20
|
export { useContactUtils, useContactSelected, useContactList, } from './ContactElement';
|
|
21
21
|
export { useCrdtUtils, } from './CrdtElement';
|
|
22
22
|
export { useCrdtEventCallback, } from './CrdtActions';
|
|
23
|
-
export { useActivityUtils, useAllActivities, } from './ActivityElement';
|
|
23
|
+
export { useActivityUtils, useAllActivities, useActivityLogConfig, } from './ActivityElement';
|
|
24
24
|
export { useSuggestionUtils, useSuggestionModeState, useSuggestions, usePendingSuggestion, } from './SuggestionElement';
|
|
25
25
|
export { useEnableSuggestionMode, useDisableSuggestionMode, useRegisterTarget, useUnregisterTarget, useStartSuggestion, useCommitSuggestion, useSuggestionEventCallback, } from './SuggestionActions';
|