@veltdev/sdk-dev 1.0.4 → 1.0.5
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/app/utils/constants.d.ts +73 -26
- package/package.json +1 -1
- package/velt.css +1 -1
- package/velt.js +2 -2
package/app/utils/constants.d.ts
CHANGED
|
@@ -51,10 +51,14 @@ export declare class Constants {
|
|
|
51
51
|
static REGEX_SPECIAL_CHARS: RegExp;
|
|
52
52
|
static SNIPPYLY_HIGHLIGHT: string;
|
|
53
53
|
static SNIPPYLY_HIGHLIGHT_PREVIEW: string;
|
|
54
|
+
/**
|
|
55
|
+
* @deprecated Use VELT_IGNORE_CHANGE_DETECTION instead
|
|
56
|
+
*/
|
|
54
57
|
static SNIPPYLY_IGNORE_CHANGE_DETECTION: string;
|
|
55
58
|
static SNIPPYLY_HIGHLIGHT_USER: string;
|
|
56
59
|
static SNIPPYLY_HIGHLIGHT_USER_NAME: string;
|
|
57
60
|
static SNIPPYLY_HIGHLIGHT_USER_TEXT: string;
|
|
61
|
+
static VELT_IGNORE_CHANGE_DETECTION: string;
|
|
58
62
|
static TAGS: {
|
|
59
63
|
/**
|
|
60
64
|
* @deprecated Use VELT_ROOT instead
|
|
@@ -192,43 +196,86 @@ export declare class Constants {
|
|
|
192
196
|
VELT_AREAS: string;
|
|
193
197
|
};
|
|
194
198
|
static ATTRIBUTES: {
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
SNIPPYLY_COMMENT_PIN_HOST: string;
|
|
199
|
-
SNIPPYLY_COMMENT_PIN_HOST_STATIC: string;
|
|
199
|
+
/**
|
|
200
|
+
* @deprecated Use VELT_COMMENT_DISABLED instead
|
|
201
|
+
*/
|
|
200
202
|
SNIPPYLY_COMMENT_DISABLED: string;
|
|
201
|
-
|
|
202
|
-
|
|
203
|
+
/**
|
|
204
|
+
* @deprecated Use VELT_TAG_DISABLED instead
|
|
205
|
+
*/
|
|
203
206
|
SNIPPYLY_TAG_DISABLED: string;
|
|
204
|
-
|
|
205
|
-
|
|
207
|
+
/**
|
|
208
|
+
* @deprecated Use VELT_RECORDER_DISABLED instead
|
|
209
|
+
*/
|
|
206
210
|
SNIPPYLY_RECORDER_DISABLED: string;
|
|
207
|
-
|
|
211
|
+
/**
|
|
212
|
+
* @deprecated Use VELT_SELECTION_ENABLED instead
|
|
213
|
+
*/
|
|
208
214
|
SNIPPYLY_SELECTION_ENABLED: string;
|
|
215
|
+
/**
|
|
216
|
+
* @todo Remove this attribute, use VELT_LOCATION instead
|
|
217
|
+
*/
|
|
209
218
|
SNIPPYLY_LOCATION: string;
|
|
210
219
|
EMBED_MODE: string;
|
|
211
220
|
DEFAULT_CURSOR: string;
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
SNIPPYLY_ELEMENT: string;
|
|
216
|
-
SNIPPYLY_ARROW_PIN_HOST: string;
|
|
221
|
+
/**
|
|
222
|
+
* @deprecated Use VELT_ARROW_DISABLED instead
|
|
223
|
+
*/
|
|
217
224
|
SNIPPYLY_ARROW_DISABLED: string;
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
SNIPPYLY_AREA_PIN_HOST: string;
|
|
222
|
-
SNIPPYLY_AREA_PIN_HOST_STATIC: string;
|
|
225
|
+
/**
|
|
226
|
+
* @deprecated Use VELT_AREA_DISABLED instead
|
|
227
|
+
*/
|
|
223
228
|
SNIPPYLY_AREA_DISABLED: string;
|
|
229
|
+
VELT_ID: string;
|
|
230
|
+
VELT_ELEMENT: string;
|
|
231
|
+
VELT_ANNOTATION_ID: string;
|
|
232
|
+
VELT_ANNOTATION_IDS: string;
|
|
233
|
+
VELT_COMMENT_PIN_HOST: string;
|
|
234
|
+
VELT_COMMENT_PIN_HOST_STATIC: string;
|
|
235
|
+
VELT_COMMENT_DISABLED: string;
|
|
236
|
+
VELT_TAG_PIN_HOST: string;
|
|
237
|
+
VELT_TAG_PIN_HOST_STATIC: string;
|
|
238
|
+
VELT_TAG_DISABLED: string;
|
|
239
|
+
VELT_RECORDER_PIN_HOST: string;
|
|
240
|
+
VELT_RECORDER_PIN_HOST_STATIC: string;
|
|
241
|
+
VELT_RECORDER_DISABLED: string;
|
|
242
|
+
VELT_ANNOTATION_DRAFT: string;
|
|
243
|
+
VELT_THEME: string;
|
|
244
|
+
VELT_IGNORE: string;
|
|
245
|
+
VELT_HUDDLE_ON_CURSOR_MODE: string;
|
|
246
|
+
VELT_SELECTION_ENABLED: string;
|
|
247
|
+
VELT_POPOVER_MODE: string;
|
|
248
|
+
VELT_ELEMENT_CACHE_ID: string;
|
|
249
|
+
VELT_ARROW_PIN_HOST: string;
|
|
250
|
+
VELT_ARROW_PIN_HOST_STATIC: string;
|
|
251
|
+
VELT_ARROW_DISABLED: string;
|
|
252
|
+
VELT_AREA_PIN_HOST: string;
|
|
253
|
+
VELT_AREA_PIN_HOST_STATIC: string;
|
|
254
|
+
VELT_AREA_DISABLED: string;
|
|
224
255
|
};
|
|
225
256
|
static INJECTION_STYLE_PROPS: {
|
|
257
|
+
/**
|
|
258
|
+
* @deprecated Use VELT_AVATAR_COLOR instead
|
|
259
|
+
*/
|
|
226
260
|
SNIPPYLY_AVATAR_COLOR: string;
|
|
261
|
+
/**
|
|
262
|
+
* @deprecated Use VELT_COMMENT_PRIORITY_COLOR instead
|
|
263
|
+
*/
|
|
227
264
|
SNIPPYLY_COMMENT_PRIORITY_COLOR: string;
|
|
265
|
+
VELT_AVATAR_COLOR: string;
|
|
266
|
+
VELT_COMMENT_PRIORITY_COLOR: string;
|
|
228
267
|
};
|
|
229
268
|
static INJECTION_ATTRIBUTES: {
|
|
269
|
+
/**
|
|
270
|
+
* @deprecated Use VELT_AVATAR_IMG instead
|
|
271
|
+
*/
|
|
230
272
|
SNIPPYLY_AVATAR_IMG: string;
|
|
273
|
+
/**
|
|
274
|
+
* @deprecated Use VELT_COMMENT_LENGTH instead
|
|
275
|
+
*/
|
|
231
276
|
SNIPPYLY_COMMENT_LENGTH: string;
|
|
277
|
+
VELT_AVATAR_IMG: string;
|
|
278
|
+
VELT_COMMENT_LENGTH: string;
|
|
232
279
|
};
|
|
233
280
|
static SESSION_STORAGE: {
|
|
234
281
|
SNIPPYLY_AUTO_SELECT_ANNOTATION_ID: string;
|
|
@@ -259,12 +306,12 @@ export declare class Constants {
|
|
|
259
306
|
RECORDER_ID: string;
|
|
260
307
|
PROJECT_INSTALL: string;
|
|
261
308
|
};
|
|
262
|
-
static
|
|
263
|
-
static
|
|
264
|
-
static
|
|
265
|
-
static
|
|
266
|
-
static
|
|
267
|
-
static
|
|
309
|
+
static VELT_BASE_REM_UNIT: string;
|
|
310
|
+
static VELT_VIEWPORT_WIDTH: string;
|
|
311
|
+
static VELT_VIEWPORT_HEIGHT: string;
|
|
312
|
+
static VELT_COLOR: string;
|
|
313
|
+
static VELT_MIN_ARROW_LENGTH: number;
|
|
314
|
+
static VELT_ARROW_VIEWPORT_PADDING: number;
|
|
268
315
|
static CURSOR: {
|
|
269
316
|
COMMENT_PIN: string;
|
|
270
317
|
TAG_PIN: string;
|
package/package.json
CHANGED
package/velt.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
html{--velt-base-rem-unit:1}[data-snippyly-element=true]{font-family:var(--velt-default-font-family)}
|
|
1
|
+
html{--velt-base-rem-unit:1}[data-snippyly-element=true],[data-velt-element=true]{font-family:var(--velt-default-font-family)}
|