@veltdev/react 4.5.2-beta.15 → 4.5.2-beta.16
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 +25 -4
- package/cjs/index.js.map +1 -1
- package/cjs/types/components/SnippylyCommentsSidebar/SnippylyCommentsSidebar.d.ts +1 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogCommentNumber/VeltCommentDialogCommentNumber.d.ts +8 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogCommentNumber/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogWireframe.d.ts +2 -0
- package/cjs/types/components/VeltCommentPinWireframe/VeltCommentPinNumber/VeltCommentPinIndex.d.ts +8 -0
- package/cjs/types/components/VeltCommentPinWireframe/VeltCommentPinNumber/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentPinWireframe/VeltCommentPinWireframe.d.ts +2 -0
- package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFullscreenButton/VeltCommentsSidebarFullscreenButton.d.ts +8 -0
- package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFullscreenButton/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarWireframe.d.ts +2 -0
- package/cjs/types/constants.d.ts +1 -1
- package/esm/index.js +25 -4
- package/esm/index.js.map +1 -1
- package/esm/types/components/SnippylyCommentsSidebar/SnippylyCommentsSidebar.d.ts +1 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogCommentNumber/VeltCommentDialogCommentNumber.d.ts +8 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogCommentNumber/index.d.ts +1 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogWireframe.d.ts +2 -0
- package/esm/types/components/VeltCommentPinWireframe/VeltCommentPinNumber/VeltCommentPinIndex.d.ts +8 -0
- package/esm/types/components/VeltCommentPinWireframe/VeltCommentPinNumber/index.d.ts +1 -0
- package/esm/types/components/VeltCommentPinWireframe/VeltCommentPinWireframe.d.ts +2 -0
- package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFullscreenButton/VeltCommentsSidebarFullscreenButton.d.ts +8 -0
- package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFullscreenButton/index.d.ts +1 -0
- package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarWireframe.d.ts +2 -0
- package/esm/types/constants.d.ts +1 -1
- package/index.d.ts +19 -0
- package/package.json +1 -1
package/cjs/index.js
CHANGED
|
@@ -145,13 +145,13 @@ var loadVelt = function (callback, version, staging, develop, proxyDomain, integ
|
|
|
145
145
|
}
|
|
146
146
|
};
|
|
147
147
|
|
|
148
|
-
var VELT_SDK_VERSION = '4.5.2-beta.
|
|
148
|
+
var VELT_SDK_VERSION = '4.5.2-beta.16';
|
|
149
149
|
var VELT_SDK_INIT_EVENT = 'onVeltInit';
|
|
150
150
|
var VELT_TAB_ID = 'veltTabId';
|
|
151
151
|
// integrity map for the Velt SDK
|
|
152
152
|
// Note: generate integrity hashes with: https://www.srihash.org/
|
|
153
153
|
var INTEGRITY_MAP = {
|
|
154
|
-
'4.5.2-beta.
|
|
154
|
+
'4.5.2-beta.16': 'sha384-PKrAjhGo0FMHv7Egcs4rT7Y55tERasToXWKQkZu8hpyzhyeUh7PA0CsUd8sO/4ps',
|
|
155
155
|
};
|
|
156
156
|
|
|
157
157
|
var SnippylyProvider = function (props) {
|
|
@@ -416,7 +416,7 @@ var SnippylyComments = function (props) {
|
|
|
416
416
|
};
|
|
417
417
|
|
|
418
418
|
var SnippylyCommentsSidebar = function (props) {
|
|
419
|
-
var embedMode = props.embedMode; props.floatingMode; var enableUrlNavigation = props.enableUrlNavigation, urlNavigation = props.urlNavigation, queryParamsComments = props.queryParamsComments, pageMode = props.pageMode, currentLocationSuffix = props.currentLocationSuffix, sortData = props.sortData, filterConfig = props.filterConfig, groupConfig = props.groupConfig, filters = props.filters, excludeLocationIds = props.excludeLocationIds, variant = props.variant, pageModeComposerVariant = props.pageModeComposerVariant, dialogVariant = props.dialogVariant, shadowDom = props.shadowDom, searchPlaceholder = props.searchPlaceholder, openSidebar = props.openSidebar, onSidebarOpen = props.onSidebarOpen, onSidebarCommentClick = props.onSidebarCommentClick, onCommentClick = props.onCommentClick, onSidebarClose = props.onSidebarClose, darkMode = props.darkMode, position = props.position, filterPanelLayout = props.filterPanelLayout, customActions = props.customActions, focusedThreadDialogVariant = props.focusedThreadDialogVariant, focusedThreadMode = props.focusedThreadMode, onCommentNavigationButtonClick = props.onCommentNavigationButtonClick, filterOptionLayout = props.filterOptionLayout, filterCount = props.filterCount, fullExpanded = props.fullExpanded, systemFiltersOperator = props.systemFiltersOperator, sidebarButtonCountType = props.sidebarButtonCountType, filterGhostCommentsInSidebar = props.filterGhostCommentsInSidebar;
|
|
419
|
+
var embedMode = props.embedMode; props.floatingMode; var enableUrlNavigation = props.enableUrlNavigation, urlNavigation = props.urlNavigation, queryParamsComments = props.queryParamsComments, pageMode = props.pageMode, currentLocationSuffix = props.currentLocationSuffix, sortData = props.sortData, filterConfig = props.filterConfig, groupConfig = props.groupConfig, filters = props.filters, excludeLocationIds = props.excludeLocationIds, variant = props.variant, pageModeComposerVariant = props.pageModeComposerVariant, dialogVariant = props.dialogVariant, shadowDom = props.shadowDom, searchPlaceholder = props.searchPlaceholder, openSidebar = props.openSidebar, onSidebarOpen = props.onSidebarOpen, onSidebarCommentClick = props.onSidebarCommentClick, onCommentClick = props.onCommentClick, onSidebarClose = props.onSidebarClose, darkMode = props.darkMode, position = props.position, filterPanelLayout = props.filterPanelLayout, customActions = props.customActions, focusedThreadDialogVariant = props.focusedThreadDialogVariant, focusedThreadMode = props.focusedThreadMode, onCommentNavigationButtonClick = props.onCommentNavigationButtonClick, filterOptionLayout = props.filterOptionLayout, filterCount = props.filterCount, fullExpanded = props.fullExpanded, systemFiltersOperator = props.systemFiltersOperator, sidebarButtonCountType = props.sidebarButtonCountType, filterGhostCommentsInSidebar = props.filterGhostCommentsInSidebar, fullScreen = props.fullScreen;
|
|
420
420
|
var ref = React.useRef();
|
|
421
421
|
var openSidebarRef = React.useRef(openSidebar);
|
|
422
422
|
var onSidebarOpenRef = React.useRef(onSidebarOpen);
|
|
@@ -489,7 +489,7 @@ var SnippylyCommentsSidebar = function (props) {
|
|
|
489
489
|
}
|
|
490
490
|
};
|
|
491
491
|
}, []);
|
|
492
|
-
return (React__default["default"].createElement("velt-comments-sidebar", { ref: ref, position: position, "filter-panel-layout": filterPanelLayout, "focused-thread-mode": [true, false].includes(focusedThreadMode) ? (focusedThreadMode ? 'true' : 'false') : undefined, "focused-thread-dialog-variant": focusedThreadDialogVariant, "custom-actions": [true, false].includes(customActions) ? (customActions ? 'true' : 'false') : undefined, "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "embed-mode": [true, false].includes(embedMode) ? (embedMode ? 'true' : 'false') : undefined, "enable-url-navigation": [true, false].includes(enableUrlNavigation) ? (enableUrlNavigation ? 'true' : 'false') : undefined, "url-navigation": [true, false].includes(urlNavigation) ? (urlNavigation ? 'true' : 'false') : undefined, "query-params-comments": [true, false].includes(queryParamsComments) ? (queryParamsComments ? 'true' : 'false') : undefined, "page-mode": [true, false].includes(pageMode) ? (pageMode ? 'true' : 'false') : undefined, "current-location-suffix": [true, false].includes(currentLocationSuffix) ? (currentLocationSuffix ? 'true' : 'false') : undefined, "filter-config": filterConfig ? JSON.stringify(filterConfig) : undefined, "group-config": groupConfig ? JSON.stringify(groupConfig) : undefined, filters: filters ? JSON.stringify(filters) : undefined, "exclude-location-ids": excludeLocationIds ? JSON.stringify(excludeLocationIds) : undefined, variant: variant, "page-mode-composer-variant": pageModeComposerVariant, "dialog-variant": dialogVariant, "sort-data": sortData, "search-placeholder": searchPlaceholder, "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined, "floating-mode": [true, false].includes(embedMode) ? (embedMode ? 'true' : 'false') : undefined, "filter-option-layout": filterOptionLayout, "filter-count": [true, false].includes(filterCount) ? (filterCount ? 'true' : 'false') : undefined, "full-expanded": [true, false].includes(fullExpanded) ? (fullExpanded ? 'true' : 'false') : undefined, "system-filters-operator": systemFiltersOperator, "sidebar-button-count-type": sidebarButtonCountType, "filter-ghost-comments-in-sidebar": [true, false].includes(filterGhostCommentsInSidebar) ? (filterGhostCommentsInSidebar ? 'true' : 'false') : undefined }));
|
|
492
|
+
return (React__default["default"].createElement("velt-comments-sidebar", { ref: ref, position: position, "filter-panel-layout": filterPanelLayout, "focused-thread-mode": [true, false].includes(focusedThreadMode) ? (focusedThreadMode ? 'true' : 'false') : undefined, "focused-thread-dialog-variant": focusedThreadDialogVariant, "custom-actions": [true, false].includes(customActions) ? (customActions ? 'true' : 'false') : undefined, "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "embed-mode": [true, false].includes(embedMode) ? (embedMode ? 'true' : 'false') : undefined, "enable-url-navigation": [true, false].includes(enableUrlNavigation) ? (enableUrlNavigation ? 'true' : 'false') : undefined, "url-navigation": [true, false].includes(urlNavigation) ? (urlNavigation ? 'true' : 'false') : undefined, "query-params-comments": [true, false].includes(queryParamsComments) ? (queryParamsComments ? 'true' : 'false') : undefined, "page-mode": [true, false].includes(pageMode) ? (pageMode ? 'true' : 'false') : undefined, "current-location-suffix": [true, false].includes(currentLocationSuffix) ? (currentLocationSuffix ? 'true' : 'false') : undefined, "filter-config": filterConfig ? JSON.stringify(filterConfig) : undefined, "group-config": groupConfig ? JSON.stringify(groupConfig) : undefined, filters: filters ? JSON.stringify(filters) : undefined, "exclude-location-ids": excludeLocationIds ? JSON.stringify(excludeLocationIds) : undefined, variant: variant, "page-mode-composer-variant": pageModeComposerVariant, "dialog-variant": dialogVariant, "sort-data": sortData, "search-placeholder": searchPlaceholder, "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined, "floating-mode": [true, false].includes(embedMode) ? (embedMode ? 'true' : 'false') : undefined, "filter-option-layout": filterOptionLayout, "filter-count": [true, false].includes(filterCount) ? (filterCount ? 'true' : 'false') : undefined, "full-expanded": [true, false].includes(fullExpanded) ? (fullExpanded ? 'true' : 'false') : undefined, "system-filters-operator": systemFiltersOperator, "sidebar-button-count-type": sidebarButtonCountType, "filter-ghost-comments-in-sidebar": [true, false].includes(filterGhostCommentsInSidebar) ? (filterGhostCommentsInSidebar ? 'true' : 'false') : undefined, "full-screen": [true, false].includes(fullScreen) ? (fullScreen ? 'true' : 'false') : undefined }));
|
|
493
493
|
};
|
|
494
494
|
|
|
495
495
|
var SnippylyCommentTool = function (props) {
|
|
@@ -2502,6 +2502,12 @@ var VeltCommentDialogReplyAvatars = function (props) {
|
|
|
2502
2502
|
VeltCommentDialogReplyAvatars.List = VeltCommentDialogReplyAvatarsList;
|
|
2503
2503
|
VeltCommentDialogReplyAvatars.RemainingCount = VeltCommentDialogReplyAvatarsRemainingCount;
|
|
2504
2504
|
|
|
2505
|
+
var VeltCommentDialogCommentNumber = function (props) {
|
|
2506
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
2507
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
2508
|
+
return (React__default["default"].createElement("velt-comment-dialog-comment-number-wireframe", __assign({}, transformedProps), children));
|
|
2509
|
+
};
|
|
2510
|
+
|
|
2505
2511
|
var VeltCommentDialogWireframe = function (props) {
|
|
2506
2512
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
2507
2513
|
var transformedProps = transformWireframeProps(remainingProps);
|
|
@@ -2514,6 +2520,7 @@ VeltCommentDialogWireframe.AssignMenu = VeltCommentDialogAssignMenu;
|
|
|
2514
2520
|
VeltCommentDialogWireframe.Body = VeltCommentDialogBody;
|
|
2515
2521
|
VeltCommentDialogWireframe.CommentCategory = VeltCommentDialogCommentCategory;
|
|
2516
2522
|
VeltCommentDialogWireframe.CommentIndex = VeltCommentDialogCommentIndex;
|
|
2523
|
+
VeltCommentDialogWireframe.CommentNumber = VeltCommentDialogCommentNumber;
|
|
2517
2524
|
VeltCommentDialogWireframe.CommentSuggestionStatus = VeltCommentDialogCommentSuggestionStatus;
|
|
2518
2525
|
VeltCommentDialogWireframe.Composer = VeltCommentDialogComposer;
|
|
2519
2526
|
VeltCommentDialogWireframe.CopyLink = VeltCommentDialogCopyLink;
|
|
@@ -3187,6 +3194,12 @@ var VeltCommentsSidebarFocusedThread = function (props) {
|
|
|
3187
3194
|
VeltCommentsSidebarFocusedThread.BackButton = VeltCommentsSidebarFocusedThreadBackButton;
|
|
3188
3195
|
VeltCommentsSidebarFocusedThread.DialogContainer = VeltCommentsSidebarFocusedThreadDialogContainer;
|
|
3189
3196
|
|
|
3197
|
+
var VeltCommentsSidebarFullscreenButton = function (props) {
|
|
3198
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3199
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
3200
|
+
return (React__default["default"].createElement("velt-comments-sidebar-fullscreen-button-wireframe", __assign({}, transformedProps), children));
|
|
3201
|
+
};
|
|
3202
|
+
|
|
3190
3203
|
var VeltCommentsSidebarWireframe = function (props) {
|
|
3191
3204
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3192
3205
|
var transformedProps = transformWireframeProps(remainingProps);
|
|
@@ -3210,6 +3223,7 @@ VeltCommentsSidebarWireframe.MinimalActionsDropdown = VeltCommentsSidebarMinimal
|
|
|
3210
3223
|
VeltCommentsSidebarWireframe.ResetFilterButton = VeltCommentsSidebarResetFilterButtonWireframe;
|
|
3211
3224
|
VeltCommentsSidebarWireframe.ActionButton = VeltCommentsSidebarActionButton;
|
|
3212
3225
|
VeltCommentsSidebarWireframe.FocusedThread = VeltCommentsSidebarFocusedThread;
|
|
3226
|
+
VeltCommentsSidebarWireframe.FullscreenButton = VeltCommentsSidebarFullscreenButton;
|
|
3213
3227
|
|
|
3214
3228
|
var VeltCommentPinGhostCommentIndicator = function (props) {
|
|
3215
3229
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
@@ -3241,6 +3255,12 @@ var VeltCommentPinPrivateCommentIndicator = function (props) {
|
|
|
3241
3255
|
return (React__default["default"].createElement("velt-comment-pin-private-comment-indicator-wireframe", __assign({}, transformedProps), children));
|
|
3242
3256
|
};
|
|
3243
3257
|
|
|
3258
|
+
var VeltCommentPinNumber = function (props) {
|
|
3259
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3260
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
3261
|
+
return (React__default["default"].createElement("velt-comment-pin-number-wireframe", __assign({}, transformedProps), children));
|
|
3262
|
+
};
|
|
3263
|
+
|
|
3244
3264
|
var VeltCommentPinWireframe = function (props) {
|
|
3245
3265
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3246
3266
|
var transformedProps = transformWireframeProps(remainingProps);
|
|
@@ -3251,6 +3271,7 @@ VeltCommentPinWireframe.Index = VeltCommentPinIndex;
|
|
|
3251
3271
|
VeltCommentPinWireframe.PrivateCommentIndicator = VeltCommentPinPrivateCommentIndicator;
|
|
3252
3272
|
VeltCommentPinWireframe.Triangle = VeltCommentPinTriangle;
|
|
3253
3273
|
VeltCommentPinWireframe.UnreadCommentIndicator = VeltCommentPinUnreadCommentIndicator;
|
|
3274
|
+
VeltCommentPinWireframe.Number = VeltCommentPinNumber;
|
|
3254
3275
|
|
|
3255
3276
|
var VeltSidebarButtonCommentsCount = function (props) {
|
|
3256
3277
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|