@veltdev/react 4.2.0 → 4.2.1-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.
@@ -1,4 +1,4 @@
1
- import { ReactionMap } from '@veltdev/types';
1
+ import { AutocompleteData, CustomAnnotationDropdownData, ReactionMap } from '@veltdev/types';
2
2
  import React from 'react';
3
3
  export interface IVeltCommentsProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
4
4
  streamViewContainerId?: string;
@@ -103,22 +103,8 @@ export interface IVeltCommentsProps extends React.DetailedHTMLProps<React.HTMLAt
103
103
  color: string;
104
104
  name: string;
105
105
  }[];
106
- customListDataOnAnnotation?: {
107
- type: 'single' | 'multi';
108
- data: {
109
- id: string;
110
- label: string;
111
- }[];
112
- };
113
- customListDataOnComment?: {
114
- hotkey: string;
115
- type: string;
116
- data: {
117
- id: string;
118
- name: string;
119
- description: string;
120
- }[];
121
- };
106
+ customListDataOnAnnotation?: CustomAnnotationDropdownData;
107
+ customListDataOnComment?: AutocompleteData;
122
108
  darkMode?: boolean;
123
109
  dialogDarkMode?: boolean;
124
110
  pinDarkMode?: boolean;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- export declare const VELT_SDK_VERSION = "4.2.0";
2
+ export declare const VELT_SDK_VERSION = "4.2.1-beta.1";
3
3
  export declare const VELT_SDK_INIT_EVENT = "onVeltInit";
4
4
  export declare const VELT_TAB_ID = "veltTabId";
5
5
  export interface IVeltWireframeCommonProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
package/esm/index.js CHANGED
@@ -132,7 +132,7 @@ var loadVelt = function (callback, version, staging, develop, proxyDomain) {
132
132
  }
133
133
  };
134
134
 
135
- var VELT_SDK_VERSION = '4.2.0';
135
+ var VELT_SDK_VERSION = '4.2.1-beta.1';
136
136
  var VELT_SDK_INIT_EVENT = 'onVeltInit';
137
137
  var VELT_TAB_ID = 'veltTabId';
138
138