@veltdev/react 4.5.0-beta.13 → 4.5.0-beta.14

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 (102) hide show
  1. package/cjs/index.js +181 -6
  2. package/cjs/index.js.map +1 -1
  3. package/cjs/types/components/VeltNotificationsPanel/VeltNotificationsPanel.d.ts +1 -0
  4. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsButtonWireframe/VeltNotificationsPanelSettingsButtonWireframe.d.ts +8 -0
  5. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsButtonWireframe/index.d.ts +1 -0
  6. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsBackButtonWireframe/VeltNotificationsPanelSettingsBackButtonWireframe.d.ts +8 -0
  7. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsBackButtonWireframe/index.d.ts +1 -0
  8. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsDescriptionWireframe/VeltNotificationsPanelSettingsDescriptionWireframe.d.ts +8 -0
  9. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsDescriptionWireframe/index.d.ts +1 -0
  10. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsFooterWireframe/VeltNotificationsPanelSettingsFooterWireframe.d.ts +8 -0
  11. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsFooterWireframe/index.d.ts +1 -0
  12. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsHeaderWireframe/VeltNotificationsPanelSettingsHeaderTitleWireframe/VeltNotificationsPanelSettingsHeaderTitleWireframe.d.ts +8 -0
  13. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsHeaderWireframe/VeltNotificationsPanelSettingsHeaderTitleWireframe/index.d.ts +1 -0
  14. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsHeaderWireframe/VeltNotificationsPanelSettingsHeaderWireframe.d.ts +10 -0
  15. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsHeaderWireframe/index.d.ts +1 -0
  16. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe/VeltNotificationsPanelSettingsAccordionContentItemWireframe/VeltNotificationsPanelSettingsAccordionContentItemIconWireframe/VeltNotificationsPanelSettingsAccordionContentItemIconWireframe.d.ts +8 -0
  17. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe/VeltNotificationsPanelSettingsAccordionContentItemWireframe/VeltNotificationsPanelSettingsAccordionContentItemIconWireframe/index.d.ts +1 -0
  18. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe/VeltNotificationsPanelSettingsAccordionContentItemWireframe/VeltNotificationsPanelSettingsAccordionContentItemLabelWireframe/VeltNotificationsPanelSettingsAccordionContentItemLabelWireframe.d.ts +8 -0
  19. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe/VeltNotificationsPanelSettingsAccordionContentItemWireframe/VeltNotificationsPanelSettingsAccordionContentItemLabelWireframe/index.d.ts +1 -0
  20. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe/VeltNotificationsPanelSettingsAccordionContentItemWireframe/VeltNotificationsPanelSettingsAccordionContentItemWireframe.d.ts +12 -0
  21. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe/VeltNotificationsPanelSettingsAccordionContentItemWireframe/index.d.ts +1 -0
  22. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe.d.ts +10 -0
  23. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe/index.d.ts +1 -0
  24. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe/VeltNotificationsPanelSettingsAccordionTriggerIconWireframe/VeltNotificationsPanelSettingsAccordionTriggerIconWireframe.d.ts +8 -0
  25. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe/VeltNotificationsPanelSettingsAccordionTriggerIconWireframe/index.d.ts +1 -0
  26. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe/VeltNotificationsPanelSettingsAccordionTriggerLabelWireframe/VeltNotificationsPanelSettingsAccordionTriggerLabelWireframe.d.ts +8 -0
  27. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe/VeltNotificationsPanelSettingsAccordionTriggerLabelWireframe/index.d.ts +1 -0
  28. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe/VeltNotificationsPanelSettingsAccordionTriggerSelectedValueWireframe/VeltNotificationsPanelSettingsAccordionTriggerSelectedValueWireframe.d.ts +8 -0
  29. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe/VeltNotificationsPanelSettingsAccordionTriggerSelectedValueWireframe/index.d.ts +1 -0
  30. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe.d.ts +14 -0
  31. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe/index.d.ts +1 -0
  32. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionWireframe.d.ts +12 -0
  33. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/index.d.ts +1 -0
  34. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsListWireframe.d.ts +10 -0
  35. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/index.d.ts +1 -0
  36. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsMuteAllDescriptionWireframe/VeltNotificationsPanelSettingsMuteAllDescriptionWireframe.d.ts +8 -0
  37. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsMuteAllDescriptionWireframe/index.d.ts +1 -0
  38. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsMuteAllTitleWireframe/VeltNotificationsPanelSettingsMuteAllTitleWireframe.d.ts +8 -0
  39. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsMuteAllTitleWireframe/index.d.ts +1 -0
  40. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsMuteAllToggleWireframe/VeltNotificationsPanelSettingsMuteAllToggleWireframe.d.ts +8 -0
  41. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsMuteAllToggleWireframe/index.d.ts +1 -0
  42. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsTitleWireframe/VeltNotificationsPanelSettingsTitleWireframe.d.ts +8 -0
  43. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsTitleWireframe/index.d.ts +1 -0
  44. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsWireframe.d.ts +26 -0
  45. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/index.d.ts +1 -0
  46. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelWireframe.d.ts +4 -0
  47. package/cjs/types/components/VeltNotificationsTool/VeltNotificationsTool.d.ts +1 -0
  48. package/cjs/types/constants.d.ts +1 -1
  49. package/cjs/types/hooks/NotificationsActions.d.ts +2 -0
  50. package/cjs/types/hooks/index.d.ts +1 -0
  51. package/esm/index.js +181 -7
  52. package/esm/index.js.map +1 -1
  53. package/esm/types/components/VeltNotificationsPanel/VeltNotificationsPanel.d.ts +1 -0
  54. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsButtonWireframe/VeltNotificationsPanelSettingsButtonWireframe.d.ts +8 -0
  55. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsButtonWireframe/index.d.ts +1 -0
  56. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsBackButtonWireframe/VeltNotificationsPanelSettingsBackButtonWireframe.d.ts +8 -0
  57. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsBackButtonWireframe/index.d.ts +1 -0
  58. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsDescriptionWireframe/VeltNotificationsPanelSettingsDescriptionWireframe.d.ts +8 -0
  59. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsDescriptionWireframe/index.d.ts +1 -0
  60. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsFooterWireframe/VeltNotificationsPanelSettingsFooterWireframe.d.ts +8 -0
  61. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsFooterWireframe/index.d.ts +1 -0
  62. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsHeaderWireframe/VeltNotificationsPanelSettingsHeaderTitleWireframe/VeltNotificationsPanelSettingsHeaderTitleWireframe.d.ts +8 -0
  63. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsHeaderWireframe/VeltNotificationsPanelSettingsHeaderTitleWireframe/index.d.ts +1 -0
  64. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsHeaderWireframe/VeltNotificationsPanelSettingsHeaderWireframe.d.ts +10 -0
  65. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsHeaderWireframe/index.d.ts +1 -0
  66. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe/VeltNotificationsPanelSettingsAccordionContentItemWireframe/VeltNotificationsPanelSettingsAccordionContentItemIconWireframe/VeltNotificationsPanelSettingsAccordionContentItemIconWireframe.d.ts +8 -0
  67. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe/VeltNotificationsPanelSettingsAccordionContentItemWireframe/VeltNotificationsPanelSettingsAccordionContentItemIconWireframe/index.d.ts +1 -0
  68. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe/VeltNotificationsPanelSettingsAccordionContentItemWireframe/VeltNotificationsPanelSettingsAccordionContentItemLabelWireframe/VeltNotificationsPanelSettingsAccordionContentItemLabelWireframe.d.ts +8 -0
  69. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe/VeltNotificationsPanelSettingsAccordionContentItemWireframe/VeltNotificationsPanelSettingsAccordionContentItemLabelWireframe/index.d.ts +1 -0
  70. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe/VeltNotificationsPanelSettingsAccordionContentItemWireframe/VeltNotificationsPanelSettingsAccordionContentItemWireframe.d.ts +12 -0
  71. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe/VeltNotificationsPanelSettingsAccordionContentItemWireframe/index.d.ts +1 -0
  72. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe.d.ts +10 -0
  73. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe/index.d.ts +1 -0
  74. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe/VeltNotificationsPanelSettingsAccordionTriggerIconWireframe/VeltNotificationsPanelSettingsAccordionTriggerIconWireframe.d.ts +8 -0
  75. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe/VeltNotificationsPanelSettingsAccordionTriggerIconWireframe/index.d.ts +1 -0
  76. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe/VeltNotificationsPanelSettingsAccordionTriggerLabelWireframe/VeltNotificationsPanelSettingsAccordionTriggerLabelWireframe.d.ts +8 -0
  77. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe/VeltNotificationsPanelSettingsAccordionTriggerLabelWireframe/index.d.ts +1 -0
  78. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe/VeltNotificationsPanelSettingsAccordionTriggerSelectedValueWireframe/VeltNotificationsPanelSettingsAccordionTriggerSelectedValueWireframe.d.ts +8 -0
  79. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe/VeltNotificationsPanelSettingsAccordionTriggerSelectedValueWireframe/index.d.ts +1 -0
  80. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe.d.ts +14 -0
  81. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe/index.d.ts +1 -0
  82. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionWireframe.d.ts +12 -0
  83. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/index.d.ts +1 -0
  84. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsListWireframe.d.ts +10 -0
  85. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/index.d.ts +1 -0
  86. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsMuteAllDescriptionWireframe/VeltNotificationsPanelSettingsMuteAllDescriptionWireframe.d.ts +8 -0
  87. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsMuteAllDescriptionWireframe/index.d.ts +1 -0
  88. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsMuteAllTitleWireframe/VeltNotificationsPanelSettingsMuteAllTitleWireframe.d.ts +8 -0
  89. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsMuteAllTitleWireframe/index.d.ts +1 -0
  90. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsMuteAllToggleWireframe/VeltNotificationsPanelSettingsMuteAllToggleWireframe.d.ts +8 -0
  91. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsMuteAllToggleWireframe/index.d.ts +1 -0
  92. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsTitleWireframe/VeltNotificationsPanelSettingsTitleWireframe.d.ts +8 -0
  93. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsTitleWireframe/index.d.ts +1 -0
  94. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsWireframe.d.ts +26 -0
  95. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/index.d.ts +1 -0
  96. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelWireframe.d.ts +4 -0
  97. package/esm/types/components/VeltNotificationsTool/VeltNotificationsTool.d.ts +1 -0
  98. package/esm/types/constants.d.ts +1 -1
  99. package/esm/types/hooks/NotificationsActions.d.ts +2 -0
  100. package/esm/types/hooks/index.d.ts +1 -0
  101. package/index.d.ts +132 -2
  102. package/package.json +1 -1
package/cjs/index.js CHANGED
@@ -144,13 +144,13 @@ var loadVelt = function (callback, version, staging, develop, proxyDomain, integ
144
144
  }
145
145
  };
146
146
 
147
- var VELT_SDK_VERSION = '4.5.0-beta.13';
147
+ var VELT_SDK_VERSION = '4.5.0-beta.14';
148
148
  var VELT_SDK_INIT_EVENT = 'onVeltInit';
149
149
  var VELT_TAB_ID = 'veltTabId';
150
150
  // integrity map for the Velt SDK
151
151
  // Note: generate integrity hashes with: https://www.srihash.org/
152
152
  var INTEGRITY_MAP = {
153
- '4.5.0-beta.13': 'sha384-Mu1jdD223jLItSpbJev0mw5PyMUf+5UlS+qPrM/1P2JMejbTZvnwa8roDWwhP/In',
153
+ '4.5.0-beta.14': 'sha384-B3QUsHRraEePOqRV+SRKeu1n6cTJRTQtHmHj3E0l0MksnjkCtpOCJvV7xEqJkGjE',
154
154
  };
155
155
 
156
156
  var SnippylyProvider = function (props) {
@@ -875,7 +875,7 @@ var VeltCommentThread = function (props) {
875
875
  };
876
876
 
877
877
  var VeltNotificationsTool = function (props) {
878
- var children = props.children, darkMode = props.darkMode, onNotificationClick = props.onNotificationClick, shadowDom = props.shadowDom, panelShadowDom = props.panelShadowDom, variant = props.variant, maxDays = props.maxDays, tabConfig = props.tabConfig, panelOpenMode = props.panelOpenMode, panelVariant = props.panelVariant, readNotificationsOnForYouTab = props.readNotificationsOnForYouTab;
878
+ var children = props.children, darkMode = props.darkMode, onNotificationClick = props.onNotificationClick, shadowDom = props.shadowDom, panelShadowDom = props.panelShadowDom, variant = props.variant, maxDays = props.maxDays, tabConfig = props.tabConfig, panelOpenMode = props.panelOpenMode, panelVariant = props.panelVariant, readNotificationsOnForYouTab = props.readNotificationsOnForYouTab, settings = props.settings;
879
879
  var ref = React.useRef();
880
880
  var onNotificationClickRef = React.useRef(onNotificationClick);
881
881
  // Update the ref to always point to the latest callback function
@@ -901,11 +901,11 @@ var VeltNotificationsTool = function (props) {
901
901
  }
902
902
  };
903
903
  }, []);
904
- return (React__default["default"].createElement("velt-notifications-tool", { ref: ref, "panel-open-mode": panelOpenMode, panelVariant: panelVariant, "tab-config": JSON.stringify(tabConfig), variant: variant, "max-days": (maxDays && maxDays > 0) ? maxDays + '' : undefined, "panel-shadow-dom": [true, false].includes(panelShadowDom) ? (panelShadowDom ? 'true' : 'false') : undefined, "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined, "read-notifications-on-for-you-tab": [true, false].includes(readNotificationsOnForYouTab) ? (readNotificationsOnForYouTab ? 'true' : 'false') : undefined }, children));
904
+ return (React__default["default"].createElement("velt-notifications-tool", { ref: ref, "panel-open-mode": panelOpenMode, panelVariant: panelVariant, "tab-config": JSON.stringify(tabConfig), variant: variant, "max-days": (maxDays && maxDays > 0) ? maxDays + '' : undefined, "panel-shadow-dom": [true, false].includes(panelShadowDom) ? (panelShadowDom ? 'true' : 'false') : undefined, "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined, settings: [true, false].includes(settings) ? (settings ? 'true' : 'false') : undefined, "read-notifications-on-for-you-tab": [true, false].includes(readNotificationsOnForYouTab) ? (readNotificationsOnForYouTab ? 'true' : 'false') : undefined }, children));
905
905
  };
906
906
 
907
907
  var VeltNotificationsPanel = function (props) {
908
- var darkMode = props.darkMode, onNotificationClick = props.onNotificationClick, shadowDom = props.shadowDom, tabConfig = props.tabConfig, variant = props.variant, readNotificationsOnForYouTab = props.readNotificationsOnForYouTab, panelOpenMode = props.panelOpenMode;
908
+ var darkMode = props.darkMode, onNotificationClick = props.onNotificationClick, shadowDom = props.shadowDom, tabConfig = props.tabConfig, variant = props.variant, readNotificationsOnForYouTab = props.readNotificationsOnForYouTab, panelOpenMode = props.panelOpenMode, settings = props.settings;
909
909
  var ref = React.useRef();
910
910
  var onNotificationClickRef = React.useRef(onNotificationClick);
911
911
  // Update the ref to always point to the latest callback function
@@ -931,7 +931,7 @@ var VeltNotificationsPanel = function (props) {
931
931
  }
932
932
  };
933
933
  }, []);
934
- return (React__default["default"].createElement("velt-notifications-panel", { ref: ref, variant: variant, "tab-config": JSON.stringify(tabConfig), "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined, "read-notifications-on-for-you-tab": [true, false].includes(readNotificationsOnForYouTab) ? (readNotificationsOnForYouTab ? 'true' : 'false') : undefined, "panel-open-mode": panelOpenMode }));
934
+ return (React__default["default"].createElement("velt-notifications-panel", { ref: ref, variant: variant, "tab-config": JSON.stringify(tabConfig), "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined, settings: [true, false].includes(settings) ? (settings ? 'true' : 'false') : undefined, "read-notifications-on-for-you-tab": [true, false].includes(readNotificationsOnForYouTab) ? (readNotificationsOnForYouTab ? 'true' : 'false') : undefined, "panel-open-mode": panelOpenMode }));
935
935
  };
936
936
 
937
937
  var VeltNotificationsHistoryPanel = function (props) {
@@ -3836,6 +3836,151 @@ var VeltNotificationsPanelSkeletonWireframe = function (props) {
3836
3836
  return (React__default["default"].createElement("velt-notifications-panel-skeleton-wireframe", __assign({}, transformedProps), children));
3837
3837
  };
3838
3838
 
3839
+ var VeltNotificationsPanelSettingsButtonWireframe = function (props) {
3840
+ var children = props.children, remainingProps = __rest(props, ["children"]);
3841
+ var transformedProps = transformWireframeProps(remainingProps);
3842
+ return (React__default["default"].createElement("velt-notifications-panel-settings-button-wireframe", __assign({}, transformedProps), children));
3843
+ };
3844
+
3845
+ var VeltNotificationsPanelSettingsDescriptionWireframe = function (props) {
3846
+ var children = props.children, remainingProps = __rest(props, ["children"]);
3847
+ var transformedProps = transformWireframeProps(remainingProps);
3848
+ return (React__default["default"].createElement("velt-notifications-panel-settings-description-wireframe", __assign({}, transformedProps), children));
3849
+ };
3850
+
3851
+ var VeltNotificationsPanelSettingsBackButtonWireframe = function (props) {
3852
+ var children = props.children, remainingProps = __rest(props, ["children"]);
3853
+ var transformedProps = transformWireframeProps(remainingProps);
3854
+ return (React__default["default"].createElement("velt-notifications-panel-settings-back-button-wireframe", __assign({}, transformedProps), children));
3855
+ };
3856
+
3857
+ var VeltNotificationsPanelSettingsFooterWireframe = function (props) {
3858
+ var children = props.children, remainingProps = __rest(props, ["children"]);
3859
+ var transformedProps = transformWireframeProps(remainingProps);
3860
+ return (React__default["default"].createElement("velt-notifications-panel-settings-footer-wireframe", __assign({}, transformedProps), children));
3861
+ };
3862
+
3863
+ var VeltNotificationsPanelSettingsHeaderTitleWireframe = function (props) {
3864
+ var children = props.children, remainingProps = __rest(props, ["children"]);
3865
+ var transformedProps = transformWireframeProps(remainingProps);
3866
+ return (React__default["default"].createElement("velt-notifications-panel-settings-header-title-wireframe", __assign({}, transformedProps), children));
3867
+ };
3868
+
3869
+ var VeltNotificationsPanelSettingsHeaderWireframe = function (props) {
3870
+ var children = props.children, remainingProps = __rest(props, ["children"]);
3871
+ var transformedProps = transformWireframeProps(remainingProps);
3872
+ return (React__default["default"].createElement("velt-notifications-panel-settings-header-wireframe", __assign({}, transformedProps), children));
3873
+ };
3874
+ VeltNotificationsPanelSettingsHeaderWireframe.Title = VeltNotificationsPanelSettingsHeaderTitleWireframe;
3875
+
3876
+ var VeltNotificationsPanelSettingsAccordionTriggerSelectedValueWireframe = function (props) {
3877
+ var children = props.children, remainingProps = __rest(props, ["children"]);
3878
+ var transformedProps = transformWireframeProps(remainingProps);
3879
+ return (React__default["default"].createElement("velt-notifications-panel-settings-accordion-trigger-selected-value-wireframe", __assign({}, transformedProps), children));
3880
+ };
3881
+
3882
+ var VeltNotificationsPanelSettingsAccordionTriggerLabelWireframe = function (props) {
3883
+ var children = props.children, remainingProps = __rest(props, ["children"]);
3884
+ var transformedProps = transformWireframeProps(remainingProps);
3885
+ return (React__default["default"].createElement("velt-notifications-panel-settings-accordion-trigger-label-wireframe", __assign({}, transformedProps), children));
3886
+ };
3887
+
3888
+ var VeltNotificationsPanelSettingsAccordionTriggerIconWireframe = function (props) {
3889
+ var children = props.children, remainingProps = __rest(props, ["children"]);
3890
+ var transformedProps = transformWireframeProps(remainingProps);
3891
+ return (React__default["default"].createElement("velt-notifications-panel-settings-accordion-trigger-icon-wireframe", __assign({}, transformedProps), children));
3892
+ };
3893
+
3894
+ var VeltNotificationsPanelSettingsAccordionTriggerWireframe = function (props) {
3895
+ var children = props.children, remainingProps = __rest(props, ["children"]);
3896
+ var transformedProps = transformWireframeProps(remainingProps);
3897
+ return (React__default["default"].createElement("velt-notifications-panel-settings-accordion-trigger-wireframe", __assign({}, transformedProps), children));
3898
+ };
3899
+ VeltNotificationsPanelSettingsAccordionTriggerWireframe.SelectedValue = VeltNotificationsPanelSettingsAccordionTriggerSelectedValueWireframe;
3900
+ VeltNotificationsPanelSettingsAccordionTriggerWireframe.Label = VeltNotificationsPanelSettingsAccordionTriggerLabelWireframe;
3901
+ VeltNotificationsPanelSettingsAccordionTriggerWireframe.Icon = VeltNotificationsPanelSettingsAccordionTriggerIconWireframe;
3902
+
3903
+ var VeltNotificationsPanelSettingsAccordionContentItemLabelWireframe = function (props) {
3904
+ var children = props.children, remainingProps = __rest(props, ["children"]);
3905
+ var transformedProps = transformWireframeProps(remainingProps);
3906
+ return (React__default["default"].createElement("velt-notifications-panel-settings-accordion-content-item-label-wireframe", __assign({}, transformedProps), children));
3907
+ };
3908
+
3909
+ var VeltNotificationsPanelSettingsAccordionContentItemIconWireframe = function (props) {
3910
+ var children = props.children, remainingProps = __rest(props, ["children"]);
3911
+ var transformedProps = transformWireframeProps(remainingProps);
3912
+ return (React__default["default"].createElement("velt-notifications-panel-settings-accordion-content-item-icon-wireframe", __assign({}, transformedProps), children));
3913
+ };
3914
+
3915
+ var VeltNotificationsPanelSettingsAccordionContentItemWireframe = function (props) {
3916
+ var children = props.children, remainingProps = __rest(props, ["children"]);
3917
+ var transformedProps = transformWireframeProps(remainingProps);
3918
+ return (React__default["default"].createElement("velt-notifications-panel-settings-accordion-content-item-wireframe", __assign({}, transformedProps), children));
3919
+ };
3920
+ VeltNotificationsPanelSettingsAccordionContentItemWireframe.Icon = VeltNotificationsPanelSettingsAccordionContentItemIconWireframe;
3921
+ VeltNotificationsPanelSettingsAccordionContentItemWireframe.Label = VeltNotificationsPanelSettingsAccordionContentItemLabelWireframe;
3922
+
3923
+ var VeltNotificationsPanelSettingsAccordionContentWireframe = function (props) {
3924
+ var children = props.children, remainingProps = __rest(props, ["children"]);
3925
+ var transformedProps = transformWireframeProps(remainingProps);
3926
+ return (React__default["default"].createElement("velt-notifications-panel-settings-accordion-content-wireframe", __assign({}, transformedProps), children));
3927
+ };
3928
+ VeltNotificationsPanelSettingsAccordionContentWireframe.Item = VeltNotificationsPanelSettingsAccordionContentItemWireframe;
3929
+
3930
+ var VeltNotificationsPanelSettingsAccordionWireframe = function (props) {
3931
+ var children = props.children, remainingProps = __rest(props, ["children"]);
3932
+ var transformedProps = transformWireframeProps(remainingProps);
3933
+ return (React__default["default"].createElement("velt-notifications-panel-settings-accordion-wireframe", __assign({}, transformedProps), children));
3934
+ };
3935
+ VeltNotificationsPanelSettingsAccordionWireframe.Trigger = VeltNotificationsPanelSettingsAccordionTriggerWireframe;
3936
+ VeltNotificationsPanelSettingsAccordionWireframe.Content = VeltNotificationsPanelSettingsAccordionContentWireframe;
3937
+
3938
+ var VeltNotificationsPanelSettingsListWireframe = function (props) {
3939
+ var children = props.children, remainingProps = __rest(props, ["children"]);
3940
+ var transformedProps = transformWireframeProps(remainingProps);
3941
+ return (React__default["default"].createElement("velt-notifications-panel-settings-list-wireframe", __assign({}, transformedProps), children));
3942
+ };
3943
+ VeltNotificationsPanelSettingsListWireframe.Accordion = VeltNotificationsPanelSettingsAccordionWireframe;
3944
+
3945
+ var VeltNotificationsPanelSettingsMuteAllDescriptionWireframe = function (props) {
3946
+ var children = props.children, remainingProps = __rest(props, ["children"]);
3947
+ var transformedProps = transformWireframeProps(remainingProps);
3948
+ return (React__default["default"].createElement("velt-notifications-panel-settings-mute-all-description-wireframe", __assign({}, transformedProps), children));
3949
+ };
3950
+
3951
+ var VeltNotificationsPanelSettingsMuteAllTitleWireframe = function (props) {
3952
+ var children = props.children, remainingProps = __rest(props, ["children"]);
3953
+ var transformedProps = transformWireframeProps(remainingProps);
3954
+ return (React__default["default"].createElement("velt-notifications-panel-settings-mute-all-title-wireframe", __assign({}, transformedProps), children));
3955
+ };
3956
+
3957
+ var VeltNotificationsPanelSettingsMuteAllToggleWireframe = function (props) {
3958
+ var children = props.children, remainingProps = __rest(props, ["children"]);
3959
+ var transformedProps = transformWireframeProps(remainingProps);
3960
+ return (React__default["default"].createElement("velt-notifications-panel-settings-mute-all-toggle-wireframe", __assign({}, transformedProps), children));
3961
+ };
3962
+
3963
+ var VeltNotificationsPanelSettingsTitleWireframe = function (props) {
3964
+ var children = props.children, remainingProps = __rest(props, ["children"]);
3965
+ var transformedProps = transformWireframeProps(remainingProps);
3966
+ return (React__default["default"].createElement("velt-notifications-panel-settings-title-wireframe", __assign({}, transformedProps), children));
3967
+ };
3968
+
3969
+ var VeltNotificationsPanelSettingsWireframe = function (props) {
3970
+ var children = props.children, remainingProps = __rest(props, ["children"]);
3971
+ var transformedProps = transformWireframeProps(remainingProps);
3972
+ return (React__default["default"].createElement("velt-notifications-panel-settings-wireframe", __assign({}, transformedProps), children));
3973
+ };
3974
+ VeltNotificationsPanelSettingsWireframe.BackButton = VeltNotificationsPanelSettingsBackButtonWireframe;
3975
+ VeltNotificationsPanelSettingsWireframe.Description = VeltNotificationsPanelSettingsDescriptionWireframe;
3976
+ VeltNotificationsPanelSettingsWireframe.Footer = VeltNotificationsPanelSettingsFooterWireframe;
3977
+ VeltNotificationsPanelSettingsWireframe.Header = VeltNotificationsPanelSettingsHeaderWireframe;
3978
+ VeltNotificationsPanelSettingsWireframe.List = VeltNotificationsPanelSettingsListWireframe;
3979
+ VeltNotificationsPanelSettingsWireframe.MuteAllDescription = VeltNotificationsPanelSettingsMuteAllDescriptionWireframe;
3980
+ VeltNotificationsPanelSettingsWireframe.MuteAllTitle = VeltNotificationsPanelSettingsMuteAllTitleWireframe;
3981
+ VeltNotificationsPanelSettingsWireframe.MuteAllToggle = VeltNotificationsPanelSettingsMuteAllToggleWireframe;
3982
+ VeltNotificationsPanelSettingsWireframe.Title = VeltNotificationsPanelSettingsTitleWireframe;
3983
+
3839
3984
  var VeltNotificationsPanelWireframe = function (props) {
3840
3985
  var children = props.children, remainingProps = __rest(props, ["children"]);
3841
3986
  var transformedProps = transformWireframeProps(remainingProps);
@@ -3848,6 +3993,8 @@ VeltNotificationsPanelWireframe.Title = VeltNotificationsPanelTitleWireframe;
3848
3993
  VeltNotificationsPanelWireframe.ViewAllButton = VeltNotificationsPanelViewAllButtonWireframe;
3849
3994
  VeltNotificationsPanelWireframe.CloseButton = VeltNotificationsPanelCloseButtonWireframe;
3850
3995
  VeltNotificationsPanelWireframe.Skeleton = VeltNotificationsPanelSkeletonWireframe;
3996
+ VeltNotificationsPanelWireframe.SettingsButton = VeltNotificationsPanelSettingsButtonWireframe;
3997
+ VeltNotificationsPanelWireframe.Settings = VeltNotificationsPanelSettingsWireframe;
3851
3998
 
3852
3999
  var VeltNotificationsToolIconWireframe = function (props) {
3853
4000
  var children = props.children, remainingProps = __rest(props, ["children"]);
@@ -6933,6 +7080,33 @@ function useUnreadNotificationsCount() {
6933
7080
  return data;
6934
7081
  }
6935
7082
 
7083
+ function useNotificationEventCallback(action) {
7084
+ var notificationElement = useNotificationUtils();
7085
+ var _a = React.useState(null), data = _a[0], setData = _a[1];
7086
+ var subscriptionRef = React.useRef(null);
7087
+ var memoizedAction = React.useMemo(function () { return action; }, [action]);
7088
+ React.useEffect(function () {
7089
+ var _a;
7090
+ if (!(notificationElement === null || notificationElement === void 0 ? void 0 : notificationElement.on))
7091
+ return;
7092
+ if (subscriptionRef.current) {
7093
+ subscriptionRef.current.unsubscribe();
7094
+ }
7095
+ var subscription = (_a = notificationElement === null || notificationElement === void 0 ? void 0 : notificationElement.on(memoizedAction)) === null || _a === void 0 ? void 0 : _a.subscribe(function (data) {
7096
+ setData(data);
7097
+ });
7098
+ // Store the new subscription
7099
+ subscriptionRef.current = subscription;
7100
+ // Cleanup function
7101
+ return function () {
7102
+ if (subscriptionRef.current) {
7103
+ subscriptionRef.current.unsubscribe();
7104
+ }
7105
+ };
7106
+ }, [notificationElement === null || notificationElement === void 0 ? void 0 : notificationElement.on, memoizedAction]);
7107
+ return data;
7108
+ }
7109
+
6936
7110
  function useAutocompleteUtils() {
6937
7111
  var _a = React__default["default"].useState(), autocompleteElement = _a[0], setAutocompleteElement = _a[1];
6938
7112
  var client = useVeltClient().client;
@@ -7291,6 +7465,7 @@ exports.useLiveState = useLiveState;
7291
7465
  exports.useLiveStateData = useLiveStateData;
7292
7466
  exports.useLiveStateSyncEventCallback = useLiveStateSyncEventCallback;
7293
7467
  exports.useLiveStateSyncUtils = useLiveStateSyncUtils;
7468
+ exports.useNotificationEventCallback = useNotificationEventCallback;
7294
7469
  exports.useNotificationUtils = useNotificationUtils;
7295
7470
  exports.useNotificationsData = useNotificationsData;
7296
7471
  exports.usePresenceData = usePresenceData;