@veltdev/react 3.0.3 → 3.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.
Files changed (54) hide show
  1. package/cjs/index.js +142 -7
  2. package/cjs/index.js.map +1 -1
  3. package/cjs/types/components/SnippylyCommentsSidebar/SnippylyCommentsSidebar.d.ts +2 -0
  4. package/cjs/types/components/SnippylySidebarButton/SnippylySidebarButton.d.ts +45 -0
  5. package/cjs/types/components/VeltCommentsSidebarButton/VeltCommentsSidebarButton.d.ts +45 -0
  6. package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarLocationFilterDropdown/VeltCommentsSidebarLocationFilterDropdown.d.ts +12 -0
  7. package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarLocationFilterDropdown/VeltCommentsSidebarLocationFilterDropdownContent/VeltCommentsSidebarLocationFilterDropdownContent.d.ts +6 -0
  8. package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarLocationFilterDropdown/VeltCommentsSidebarLocationFilterDropdownContent/index.d.ts +1 -0
  9. package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarLocationFilterDropdown/VeltCommentsSidebarLocationFilterDropdownTrigger/VeltCommentsSidebarLocationFilterDropdownTrigger.d.ts +10 -0
  10. package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarLocationFilterDropdown/VeltCommentsSidebarLocationFilterDropdownTrigger/VeltCommentsSidebarLocationFilterDropdownTriggerLabel/VeltCommentsSidebarLocationFilterDropdownTriggerLabel.d.ts +6 -0
  11. package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarLocationFilterDropdown/VeltCommentsSidebarLocationFilterDropdownTrigger/VeltCommentsSidebarLocationFilterDropdownTriggerLabel/index.d.ts +1 -0
  12. package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarLocationFilterDropdown/VeltCommentsSidebarLocationFilterDropdownTrigger/index.d.ts +1 -0
  13. package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarLocationFilterDropdown/index.d.ts +1 -0
  14. package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarWireframe.d.ts +2 -0
  15. package/cjs/types/components/VeltPersistentCommentModeWireframe/VeltPersistentCommentModeCloseButtonWireframe/VeltPersistentCommentModeCloseButtonWireframe.d.ts +5 -0
  16. package/cjs/types/components/VeltPersistentCommentModeWireframe/VeltPersistentCommentModeCloseButtonWireframe/index.d.ts +1 -0
  17. package/cjs/types/components/VeltPersistentCommentModeWireframe/VeltPersistentCommentModeLabelWireframe/VeltPersistentCommentModeLabelPrivateWireframe/VeltPersistentCommentModeLabelPrivateWireframe.d.ts +5 -0
  18. package/cjs/types/components/VeltPersistentCommentModeWireframe/VeltPersistentCommentModeLabelWireframe/VeltPersistentCommentModeLabelPrivateWireframe/index.d.ts +1 -0
  19. package/cjs/types/components/VeltPersistentCommentModeWireframe/VeltPersistentCommentModeLabelWireframe/VeltPersistentCommentModeLabelPublicWireframe/VeltPersistentCommentModeLabelPublicWireframe.d.ts +5 -0
  20. package/cjs/types/components/VeltPersistentCommentModeWireframe/VeltPersistentCommentModeLabelWireframe/VeltPersistentCommentModeLabelPublicWireframe/index.d.ts +1 -0
  21. package/cjs/types/components/VeltPersistentCommentModeWireframe/VeltPersistentCommentModeLabelWireframe/VeltPersistentCommentModeLabelWireframe.d.ts +11 -0
  22. package/cjs/types/components/VeltPersistentCommentModeWireframe/VeltPersistentCommentModeLabelWireframe/index.d.ts +1 -0
  23. package/cjs/types/components/VeltPersistentCommentModeWireframe/VeltPersistentCommentModeWireframe.d.ts +12 -0
  24. package/cjs/types/components/VeltPersistentCommentModeWireframe/index.d.ts +1 -0
  25. package/cjs/types/components/index.d.ts +1 -0
  26. package/cjs/types/constants.d.ts +1 -1
  27. package/esm/index.js +142 -8
  28. package/esm/index.js.map +1 -1
  29. package/esm/types/components/SnippylyCommentsSidebar/SnippylyCommentsSidebar.d.ts +2 -0
  30. package/esm/types/components/SnippylySidebarButton/SnippylySidebarButton.d.ts +45 -0
  31. package/esm/types/components/VeltCommentsSidebarButton/VeltCommentsSidebarButton.d.ts +45 -0
  32. package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarLocationFilterDropdown/VeltCommentsSidebarLocationFilterDropdown.d.ts +12 -0
  33. package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarLocationFilterDropdown/VeltCommentsSidebarLocationFilterDropdownContent/VeltCommentsSidebarLocationFilterDropdownContent.d.ts +6 -0
  34. package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarLocationFilterDropdown/VeltCommentsSidebarLocationFilterDropdownContent/index.d.ts +1 -0
  35. package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarLocationFilterDropdown/VeltCommentsSidebarLocationFilterDropdownTrigger/VeltCommentsSidebarLocationFilterDropdownTrigger.d.ts +10 -0
  36. package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarLocationFilterDropdown/VeltCommentsSidebarLocationFilterDropdownTrigger/VeltCommentsSidebarLocationFilterDropdownTriggerLabel/VeltCommentsSidebarLocationFilterDropdownTriggerLabel.d.ts +6 -0
  37. package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarLocationFilterDropdown/VeltCommentsSidebarLocationFilterDropdownTrigger/VeltCommentsSidebarLocationFilterDropdownTriggerLabel/index.d.ts +1 -0
  38. package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarLocationFilterDropdown/VeltCommentsSidebarLocationFilterDropdownTrigger/index.d.ts +1 -0
  39. package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarLocationFilterDropdown/index.d.ts +1 -0
  40. package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarWireframe.d.ts +2 -0
  41. package/esm/types/components/VeltPersistentCommentModeWireframe/VeltPersistentCommentModeCloseButtonWireframe/VeltPersistentCommentModeCloseButtonWireframe.d.ts +5 -0
  42. package/esm/types/components/VeltPersistentCommentModeWireframe/VeltPersistentCommentModeCloseButtonWireframe/index.d.ts +1 -0
  43. package/esm/types/components/VeltPersistentCommentModeWireframe/VeltPersistentCommentModeLabelWireframe/VeltPersistentCommentModeLabelPrivateWireframe/VeltPersistentCommentModeLabelPrivateWireframe.d.ts +5 -0
  44. package/esm/types/components/VeltPersistentCommentModeWireframe/VeltPersistentCommentModeLabelWireframe/VeltPersistentCommentModeLabelPrivateWireframe/index.d.ts +1 -0
  45. package/esm/types/components/VeltPersistentCommentModeWireframe/VeltPersistentCommentModeLabelWireframe/VeltPersistentCommentModeLabelPublicWireframe/VeltPersistentCommentModeLabelPublicWireframe.d.ts +5 -0
  46. package/esm/types/components/VeltPersistentCommentModeWireframe/VeltPersistentCommentModeLabelWireframe/VeltPersistentCommentModeLabelPublicWireframe/index.d.ts +1 -0
  47. package/esm/types/components/VeltPersistentCommentModeWireframe/VeltPersistentCommentModeLabelWireframe/VeltPersistentCommentModeLabelWireframe.d.ts +11 -0
  48. package/esm/types/components/VeltPersistentCommentModeWireframe/VeltPersistentCommentModeLabelWireframe/index.d.ts +1 -0
  49. package/esm/types/components/VeltPersistentCommentModeWireframe/VeltPersistentCommentModeWireframe.d.ts +12 -0
  50. package/esm/types/components/VeltPersistentCommentModeWireframe/index.d.ts +1 -0
  51. package/esm/types/components/index.d.ts +1 -0
  52. package/esm/types/constants.d.ts +1 -1
  53. package/index.d.ts +154 -13
  54. package/package.json +1 -1
package/cjs/index.js CHANGED
@@ -140,7 +140,7 @@ var loadVelt = function (callback, version, staging, develop, proxyDomain) {
140
140
  }
141
141
  };
142
142
 
143
- var VELT_SDK_VERSION = '3.0.3';
143
+ var VELT_SDK_VERSION = '3.0.5';
144
144
  var VELT_SDK_INIT_EVENT = 'onVeltInit';
145
145
  var VELT_TAB_ID = 'veltTabId';
146
146
 
@@ -352,12 +352,13 @@ var SnippylyComments = function (props) {
352
352
  };
353
353
 
354
354
  var SnippylyCommentsSidebar = function (props) {
355
- var embedMode = props.embedMode, enableUrlNavigation = props.enableUrlNavigation, urlNavigation = props.urlNavigation, 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, openSidebar = props.openSidebar, onSidebarOpen = props.onSidebarOpen, onSidebarCommentClick = props.onSidebarCommentClick, onCommentClick = props.onCommentClick, darkMode = props.darkMode, position = props.position, filterPanelLayout = props.filterPanelLayout;
355
+ var embedMode = props.embedMode; props.floatingMode; var enableUrlNavigation = props.enableUrlNavigation, urlNavigation = props.urlNavigation, 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, openSidebar = props.openSidebar, onSidebarOpen = props.onSidebarOpen, onSidebarCommentClick = props.onSidebarCommentClick, onCommentClick = props.onCommentClick, onSidebarClose = props.onSidebarClose, darkMode = props.darkMode, position = props.position, filterPanelLayout = props.filterPanelLayout;
356
356
  var ref = React.useRef();
357
357
  var openSidebarRef = React.useRef(openSidebar);
358
358
  var onSidebarOpenRef = React.useRef(onSidebarOpen);
359
359
  var onSidebarCommentClickRef = React.useRef(onSidebarCommentClick);
360
360
  var onCommentClickRef = React.useRef(onCommentClick);
361
+ var onSidebarCloseRef = React.useRef(onSidebarClose);
361
362
  // Update the ref to always point to the latest callback function
362
363
  React.useEffect(function () {
363
364
  openSidebarRef.current = openSidebar;
@@ -368,6 +369,9 @@ var SnippylyCommentsSidebar = function (props) {
368
369
  React.useEffect(function () {
369
370
  onSidebarCommentClickRef.current = onSidebarCommentClick;
370
371
  }, [onSidebarCommentClick]);
372
+ React.useEffect(function () {
373
+ onSidebarCloseRef.current = onSidebarClose;
374
+ }, [onSidebarClose]);
371
375
  React.useEffect(function () {
372
376
  onCommentClickRef.current = onCommentClick;
373
377
  }, [onCommentClick]);
@@ -389,21 +393,28 @@ var SnippylyCommentsSidebar = function (props) {
389
393
  onCommentClickRef.current(event === null || event === void 0 ? void 0 : event.detail);
390
394
  }
391
395
  };
396
+ var handleSidebarClose = function (event) {
397
+ if (onSidebarCloseRef.current) {
398
+ onSidebarCloseRef.current(event === null || event === void 0 ? void 0 : event.detail);
399
+ }
400
+ };
392
401
  if (ref.current) {
393
402
  element = ref.current;
394
403
  if (element) {
395
404
  element.addEventListener('onSidebarOpen', handleSidebarOpen);
396
405
  element.addEventListener('onSidebarCommentClick', handleSidebarCommentClick);
406
+ element.addEventListener('onSidebarClose', handleSidebarClose);
397
407
  }
398
408
  }
399
409
  return function () {
400
410
  if (element) {
401
411
  element.removeEventListener('onSidebarOpen', handleSidebarOpen);
402
412
  element.removeEventListener('onSidebarCommentClick', handleSidebarCommentClick);
413
+ element.removeEventListener('onSidebarClose', handleSidebarClose);
403
414
  }
404
415
  };
405
416
  }, []);
406
- return (React__default["default"].createElement("velt-comments-sidebar", { ref: ref, position: position, "filter-panel-layout": filterPanelLayout, "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, "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, "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined }));
417
+ return (React__default["default"].createElement("velt-comments-sidebar", { ref: ref, position: position, "filter-panel-layout": filterPanelLayout, "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, "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, "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined, "floating-mode": [true, false].includes(embedMode) ? (embedMode ? 'true' : 'false') : undefined }));
407
418
  };
408
419
 
409
420
  var SnippylyCommentTool = function (props) {
@@ -612,13 +623,83 @@ var SnippylyRecorderTool = function (props) {
612
623
  };
613
624
 
614
625
  var SnippylySidebarButton = function (props) {
615
- var tooltipText = props.tooltipText, children = props.children, darkMode = props.darkMode, shadowDom = props.shadowDom;
616
- return (React__default["default"].createElement("velt-sidebar-button", { "tooltip-text": tooltipText, "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined }, children));
626
+ var tooltipText = props.tooltipText, children = props.children, darkMode = props.darkMode, shadowDom = props.shadowDom, floatingMode = props.floatingMode, pageMode = props.pageMode, sortData = props.sortData, urlNavigation = props.urlNavigation, currentLocationSuffix = props.currentLocationSuffix, filterConfig = props.filterConfig, groupConfig = props.groupConfig, filters = props.filters, excludeLocationIds = props.excludeLocationIds, dialogVariant = props.dialogVariant, pageModeComposerVariant = props.pageModeComposerVariant, sidebarShadowDom = props.sidebarShadowDom, sidebarVariant = props.sidebarVariant, position = props.position, onCommentClick = props.onCommentClick, onSidebarOpen = props.onSidebarOpen, filterPanelLayout = props.filterPanelLayout;
627
+ var ref = React.useRef();
628
+ var onSidebarOpenRef = React.useRef(onSidebarOpen);
629
+ var onCommentClickRef = React.useRef(onCommentClick);
630
+ React.useEffect(function () {
631
+ onCommentClickRef.current = onCommentClick;
632
+ }, [onCommentClick]);
633
+ React.useEffect(function () {
634
+ onSidebarOpenRef.current = onSidebarOpen;
635
+ }, [onSidebarOpen]);
636
+ React.useEffect(function () {
637
+ var element;
638
+ var handleSidebarOpen = function (event) {
639
+ if (onSidebarOpenRef.current) {
640
+ onSidebarOpenRef.current(event === null || event === void 0 ? void 0 : event.detail);
641
+ }
642
+ };
643
+ var handleSidebarCommentClick = function (event) {
644
+ if (onCommentClickRef.current) {
645
+ onCommentClickRef.current(event === null || event === void 0 ? void 0 : event.detail);
646
+ }
647
+ };
648
+ if (ref.current) {
649
+ element = ref.current;
650
+ if (element) {
651
+ element.addEventListener('onSidebarOpen', handleSidebarOpen);
652
+ element.addEventListener('onCommentClick', handleSidebarCommentClick);
653
+ }
654
+ }
655
+ return function () {
656
+ if (element) {
657
+ element.removeEventListener('onSidebarOpen', handleSidebarOpen);
658
+ element.removeEventListener('onCommentClick', handleSidebarCommentClick);
659
+ }
660
+ };
661
+ });
662
+ return (React__default["default"].createElement("velt-sidebar-button", { "tooltip-text": tooltipText, "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined, "floating-mode": [true, false].includes(floatingMode) ? (floatingMode ? 'true' : 'false') : undefined, ref: ref, "page-mode": [true, false].includes(pageMode) ? (pageMode ? 'true' : 'false') : undefined, "sort-data": sortData, "url-navigation": [true, false].includes(urlNavigation) ? (urlNavigation ? '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, "dialog-variant": dialogVariant, "page-mode-composer-variant": pageModeComposerVariant, "sidebar-shadow-dom": [true, false].includes(sidebarShadowDom) ? (sidebarShadowDom ? 'true' : 'false') : undefined, "sidebar-variant": sidebarVariant, position: position, "filter-panel-layout": filterPanelLayout }, children));
617
663
  };
618
664
 
619
665
  var VeltCommentsSidebarButton = function (props) {
620
- var tooltipText = props.tooltipText, children = props.children, darkMode = props.darkMode, shadowDom = props.shadowDom;
621
- return (React__default["default"].createElement("velt-comments-sidebar-button", { "tooltip-text": tooltipText, "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined }, children));
666
+ var tooltipText = props.tooltipText, children = props.children, darkMode = props.darkMode, shadowDom = props.shadowDom, floatingMode = props.floatingMode, pageMode = props.pageMode, sortData = props.sortData, urlNavigation = props.urlNavigation, currentLocationSuffix = props.currentLocationSuffix, filterConfig = props.filterConfig, groupConfig = props.groupConfig, filters = props.filters, excludeLocationIds = props.excludeLocationIds, dialogVariant = props.dialogVariant, pageModeComposerVariant = props.pageModeComposerVariant, sidebarShadowDom = props.sidebarShadowDom, sidebarVariant = props.sidebarVariant, position = props.position, onCommentClick = props.onCommentClick, onSidebarOpen = props.onSidebarOpen, filterPanelLayout = props.filterPanelLayout;
667
+ var ref = React.useRef();
668
+ var onSidebarOpenRef = React.useRef(onSidebarOpen);
669
+ var onCommentClickRef = React.useRef(onCommentClick);
670
+ React.useEffect(function () {
671
+ onCommentClickRef.current = onCommentClick;
672
+ }, [onCommentClick]);
673
+ React.useEffect(function () {
674
+ onSidebarOpenRef.current = onSidebarOpen;
675
+ }, [onSidebarOpen]);
676
+ React.useEffect(function () {
677
+ var element;
678
+ var handleSidebarOpen = function (event) {
679
+ if (onSidebarOpenRef.current) {
680
+ onSidebarOpenRef.current(event === null || event === void 0 ? void 0 : event.detail);
681
+ }
682
+ };
683
+ var handleSidebarCommentClick = function (event) {
684
+ if (onCommentClickRef.current) {
685
+ onCommentClickRef.current(event === null || event === void 0 ? void 0 : event.detail);
686
+ }
687
+ };
688
+ if (ref.current) {
689
+ element = ref.current;
690
+ if (element) {
691
+ element.addEventListener('onSidebarOpen', handleSidebarOpen);
692
+ element.addEventListener('onCommentClick', handleSidebarCommentClick);
693
+ }
694
+ }
695
+ return function () {
696
+ if (element) {
697
+ element.removeEventListener('onSidebarOpen', handleSidebarOpen);
698
+ element.removeEventListener('onCommentClick', handleSidebarCommentClick);
699
+ }
700
+ };
701
+ });
702
+ return (React__default["default"].createElement("velt-comments-sidebar-button", { "tooltip-text": tooltipText, "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined, "floating-mode": [true, false].includes(floatingMode) ? (floatingMode ? 'true' : 'false') : undefined, ref: ref, "page-mode": [true, false].includes(pageMode) ? (pageMode ? 'true' : 'false') : undefined, "sort-data": sortData, "url-navigation": [true, false].includes(urlNavigation) ? (urlNavigation ? '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, "dialog-variant": dialogVariant, "page-mode-composer-variant": pageModeComposerVariant, "sidebar-shadow-dom": [true, false].includes(sidebarShadowDom) ? (sidebarShadowDom ? 'true' : 'false') : undefined, "sidebar-variant": sidebarVariant, position: position, "filter-panel-layout": filterPanelLayout }, children));
622
703
  };
623
704
 
624
705
  var SnippylyTags = function (props) {
@@ -2402,6 +2483,29 @@ var VeltCommentsSidebarMinimalFilterDropdown = function (props) {
2402
2483
  VeltCommentsSidebarMinimalFilterDropdown.Trigger = VeltCommentsSidebarMinimalFilterDropdownTrigger;
2403
2484
  VeltCommentsSidebarMinimalFilterDropdown.Content = VeltCommentsSidebarMinimalFilterDropdownContent;
2404
2485
 
2486
+ var VeltCommentsSidebarLocationFilterDropdownContent = function (props) {
2487
+ var children = props.children, remainingProps = __rest(props, ["children"]);
2488
+ return (React__default["default"].createElement("velt-comments-sidebar-location-filter-dropdown-content-wireframe", __assign({}, remainingProps), children));
2489
+ };
2490
+
2491
+ var VeltCommentsSidebarLocationFilterDropdownTriggerLabel = function (props) {
2492
+ var children = props.children, remainingProps = __rest(props, ["children"]);
2493
+ return (React__default["default"].createElement("velt-comments-sidebar-location-filter-dropdown-trigger-label-wireframe", __assign({}, remainingProps), children));
2494
+ };
2495
+
2496
+ var VeltCommentsSidebarLocationFilterDropdownTrigger = function (props) {
2497
+ var children = props.children, remainingProps = __rest(props, ["children"]);
2498
+ return (React__default["default"].createElement("velt-comments-sidebar-location-filter-dropdown-trigger-wireframe", __assign({}, remainingProps), children));
2499
+ };
2500
+ VeltCommentsSidebarLocationFilterDropdownTrigger.Label = VeltCommentsSidebarLocationFilterDropdownTriggerLabel;
2501
+
2502
+ var VeltCommentsSidebarLocationFilterDropdown = function (props) {
2503
+ var children = props.children, remainingProps = __rest(props, ["children"]);
2504
+ return (React__default["default"].createElement("velt-comments-sidebar-location-filter-dropdown-wireframe", __assign({}, remainingProps), children));
2505
+ };
2506
+ VeltCommentsSidebarLocationFilterDropdown.Trigger = VeltCommentsSidebarLocationFilterDropdownTrigger;
2507
+ VeltCommentsSidebarLocationFilterDropdown.Content = VeltCommentsSidebarLocationFilterDropdownContent;
2508
+
2405
2509
  var VeltCommentsSidebarWireframe = function (props) {
2406
2510
  var children = props.children, remainingProp = __rest(props, ["children"]);
2407
2511
  return (React__default["default"].createElement("velt-comments-sidebar-wireframe", __assign({}, remainingProp), children));
@@ -2418,6 +2522,7 @@ VeltCommentsSidebarWireframe.FilterButton = VeltCommentsSidebarFilterButton;
2418
2522
  VeltCommentsSidebarWireframe.Skeleton = VeltCommentsSidebarSkeleton;
2419
2523
  VeltCommentsSidebarWireframe.Panel = VeltCommentsSidebarPanel;
2420
2524
  VeltCommentsSidebarWireframe.MinimalFilterDropdown = VeltCommentsSidebarMinimalFilterDropdown;
2525
+ VeltCommentsSidebarWireframe.LocationFilterDropdown = VeltCommentsSidebarLocationFilterDropdown;
2421
2526
 
2422
2527
  var VeltCommentPinGhostCommentIndicator = function (props) {
2423
2528
  var children = props.children, remainingProp = __rest(props, ["children"]);
@@ -3050,6 +3155,35 @@ VeltInlineReactionsSectionWireframe.List = VeltInlineReactionsSectionListWirefra
3050
3155
  VeltInlineReactionsSectionWireframe.Panel = VeltInlineReactionsSectionPanelWireframe;
3051
3156
  VeltInlineReactionsSectionWireframe.ToolContainer = VeltInlineReactionsSectionToolContainerWireframe;
3052
3157
 
3158
+ var VeltPersistentCommentModeCloseButtonWireframe = function (props) {
3159
+ var children = props.children;
3160
+ return (React__default["default"].createElement("velt-persistent-comment-mode-close-button-wireframe", null, children));
3161
+ };
3162
+
3163
+ var VeltPersistentCommentModeLabelPrivateWireframe = function (props) {
3164
+ var children = props.children;
3165
+ return (React__default["default"].createElement("velt-persistent-comment-mode-label-private-wireframe", null, children));
3166
+ };
3167
+
3168
+ var VeltPersistentCommentModeLabelPublicWireframe = function (props) {
3169
+ var children = props.children;
3170
+ return (React__default["default"].createElement("velt-persistent-comment-mode-label-public-wireframe", null, children));
3171
+ };
3172
+
3173
+ var VeltPersistentCommentModeLabelWireframe = function (props) {
3174
+ var children = props.children;
3175
+ return (React__default["default"].createElement("velt-persistent-comment-mode-label-wireframe", null, children));
3176
+ };
3177
+ VeltPersistentCommentModeLabelWireframe.Private = VeltPersistentCommentModeLabelPrivateWireframe;
3178
+ VeltPersistentCommentModeLabelWireframe.Public = VeltPersistentCommentModeLabelPublicWireframe;
3179
+
3180
+ var VeltPersistentCommentModeWireframe = function (props) {
3181
+ var children = props.children, remainingProp = __rest(props, ["children"]);
3182
+ return (React__default["default"].createElement("velt-persistent-comment-mode-wireframe", __assign({}, remainingProp), children));
3183
+ };
3184
+ VeltPersistentCommentModeWireframe.CloseButton = VeltPersistentCommentModeCloseButtonWireframe;
3185
+ VeltPersistentCommentModeWireframe.Label = VeltPersistentCommentModeLabelWireframe;
3186
+
3053
3187
  function useClient() {
3054
3188
  var client = useVeltClient().client;
3055
3189
  var _a = React__default["default"].useState(), veltClient = _a[0], setVeltClient = _a[1];
@@ -3864,6 +3998,7 @@ exports.VeltNotificationsPanel = VeltNotificationsPanel;
3864
3998
  exports.VeltNotificationsPanelWireframe = VeltNotificationsPanelWireframe;
3865
3999
  exports.VeltNotificationsTool = VeltNotificationsTool;
3866
4000
  exports.VeltNotificationsToolWireframe = VeltNotificationsToolWireframe;
4001
+ exports.VeltPersistentCommentModeWireframe = VeltPersistentCommentModeWireframe;
3867
4002
  exports.VeltPresence = SnippylyPresence;
3868
4003
  exports.VeltProvider = SnippylyProvider;
3869
4004
  exports.VeltReactionPinTooltipWireframe = VeltReactionPinTooltipWireframe;