@veltdev/react 4.5.0-beta.12 → 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.
- package/cjs/index.js +211 -7
- package/cjs/index.js.map +1 -1
- package/cjs/types/components/Snippyly/Snippyly.d.ts +1 -0
- package/cjs/types/components/VeltNotificationsPanel/VeltNotificationsPanel.d.ts +1 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsButtonWireframe/VeltNotificationsPanelSettingsButtonWireframe.d.ts +8 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsButtonWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsBackButtonWireframe/VeltNotificationsPanelSettingsBackButtonWireframe.d.ts +8 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsBackButtonWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsDescriptionWireframe/VeltNotificationsPanelSettingsDescriptionWireframe.d.ts +8 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsDescriptionWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsFooterWireframe/VeltNotificationsPanelSettingsFooterWireframe.d.ts +8 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsFooterWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsHeaderWireframe/VeltNotificationsPanelSettingsHeaderTitleWireframe/VeltNotificationsPanelSettingsHeaderTitleWireframe.d.ts +8 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsHeaderWireframe/VeltNotificationsPanelSettingsHeaderTitleWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsHeaderWireframe/VeltNotificationsPanelSettingsHeaderWireframe.d.ts +10 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsHeaderWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe/VeltNotificationsPanelSettingsAccordionContentItemWireframe/VeltNotificationsPanelSettingsAccordionContentItemIconWireframe/VeltNotificationsPanelSettingsAccordionContentItemIconWireframe.d.ts +8 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe/VeltNotificationsPanelSettingsAccordionContentItemWireframe/VeltNotificationsPanelSettingsAccordionContentItemIconWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe/VeltNotificationsPanelSettingsAccordionContentItemWireframe/VeltNotificationsPanelSettingsAccordionContentItemLabelWireframe/VeltNotificationsPanelSettingsAccordionContentItemLabelWireframe.d.ts +8 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe/VeltNotificationsPanelSettingsAccordionContentItemWireframe/VeltNotificationsPanelSettingsAccordionContentItemLabelWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe/VeltNotificationsPanelSettingsAccordionContentItemWireframe/VeltNotificationsPanelSettingsAccordionContentItemWireframe.d.ts +12 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe/VeltNotificationsPanelSettingsAccordionContentItemWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe.d.ts +10 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe/VeltNotificationsPanelSettingsAccordionTriggerIconWireframe/VeltNotificationsPanelSettingsAccordionTriggerIconWireframe.d.ts +8 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe/VeltNotificationsPanelSettingsAccordionTriggerIconWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe/VeltNotificationsPanelSettingsAccordionTriggerLabelWireframe/VeltNotificationsPanelSettingsAccordionTriggerLabelWireframe.d.ts +8 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe/VeltNotificationsPanelSettingsAccordionTriggerLabelWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe/VeltNotificationsPanelSettingsAccordionTriggerSelectedValueWireframe/VeltNotificationsPanelSettingsAccordionTriggerSelectedValueWireframe.d.ts +8 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe/VeltNotificationsPanelSettingsAccordionTriggerSelectedValueWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe.d.ts +14 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionWireframe.d.ts +12 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsListWireframe.d.ts +10 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsMuteAllDescriptionWireframe/VeltNotificationsPanelSettingsMuteAllDescriptionWireframe.d.ts +8 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsMuteAllDescriptionWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsMuteAllTitleWireframe/VeltNotificationsPanelSettingsMuteAllTitleWireframe.d.ts +8 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsMuteAllTitleWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsMuteAllToggleWireframe/VeltNotificationsPanelSettingsMuteAllToggleWireframe.d.ts +8 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsMuteAllToggleWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsTitleWireframe/VeltNotificationsPanelSettingsTitleWireframe.d.ts +8 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsTitleWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsWireframe.d.ts +26 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelWireframe.d.ts +4 -0
- package/cjs/types/components/VeltNotificationsTool/VeltNotificationsTool.d.ts +1 -0
- package/cjs/types/constants.d.ts +2 -1
- package/cjs/types/hooks/NotificationsActions.d.ts +2 -0
- package/cjs/types/hooks/PresenceElement.d.ts +3 -0
- package/cjs/types/hooks/index.d.ts +1 -0
- package/cjs/types/loadSnippyly.d.ts +1 -1
- package/esm/index.js +211 -8
- package/esm/index.js.map +1 -1
- package/esm/types/components/Snippyly/Snippyly.d.ts +1 -0
- package/esm/types/components/VeltNotificationsPanel/VeltNotificationsPanel.d.ts +1 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsButtonWireframe/VeltNotificationsPanelSettingsButtonWireframe.d.ts +8 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsButtonWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsBackButtonWireframe/VeltNotificationsPanelSettingsBackButtonWireframe.d.ts +8 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsBackButtonWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsDescriptionWireframe/VeltNotificationsPanelSettingsDescriptionWireframe.d.ts +8 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsDescriptionWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsFooterWireframe/VeltNotificationsPanelSettingsFooterWireframe.d.ts +8 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsFooterWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsHeaderWireframe/VeltNotificationsPanelSettingsHeaderTitleWireframe/VeltNotificationsPanelSettingsHeaderTitleWireframe.d.ts +8 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsHeaderWireframe/VeltNotificationsPanelSettingsHeaderTitleWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsHeaderWireframe/VeltNotificationsPanelSettingsHeaderWireframe.d.ts +10 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsHeaderWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe/VeltNotificationsPanelSettingsAccordionContentItemWireframe/VeltNotificationsPanelSettingsAccordionContentItemIconWireframe/VeltNotificationsPanelSettingsAccordionContentItemIconWireframe.d.ts +8 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe/VeltNotificationsPanelSettingsAccordionContentItemWireframe/VeltNotificationsPanelSettingsAccordionContentItemIconWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe/VeltNotificationsPanelSettingsAccordionContentItemWireframe/VeltNotificationsPanelSettingsAccordionContentItemLabelWireframe/VeltNotificationsPanelSettingsAccordionContentItemLabelWireframe.d.ts +8 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe/VeltNotificationsPanelSettingsAccordionContentItemWireframe/VeltNotificationsPanelSettingsAccordionContentItemLabelWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe/VeltNotificationsPanelSettingsAccordionContentItemWireframe/VeltNotificationsPanelSettingsAccordionContentItemWireframe.d.ts +12 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe/VeltNotificationsPanelSettingsAccordionContentItemWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe.d.ts +10 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionContentWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe/VeltNotificationsPanelSettingsAccordionTriggerIconWireframe/VeltNotificationsPanelSettingsAccordionTriggerIconWireframe.d.ts +8 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe/VeltNotificationsPanelSettingsAccordionTriggerIconWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe/VeltNotificationsPanelSettingsAccordionTriggerLabelWireframe/VeltNotificationsPanelSettingsAccordionTriggerLabelWireframe.d.ts +8 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe/VeltNotificationsPanelSettingsAccordionTriggerLabelWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe/VeltNotificationsPanelSettingsAccordionTriggerSelectedValueWireframe/VeltNotificationsPanelSettingsAccordionTriggerSelectedValueWireframe.d.ts +8 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe/VeltNotificationsPanelSettingsAccordionTriggerSelectedValueWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe.d.ts +14 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionTriggerWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/VeltNotificationsPanelSettingsAccordionWireframe.d.ts +12 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsAccordionWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/VeltNotificationsPanelSettingsListWireframe.d.ts +10 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsListWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsMuteAllDescriptionWireframe/VeltNotificationsPanelSettingsMuteAllDescriptionWireframe.d.ts +8 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsMuteAllDescriptionWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsMuteAllTitleWireframe/VeltNotificationsPanelSettingsMuteAllTitleWireframe.d.ts +8 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsMuteAllTitleWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsMuteAllToggleWireframe/VeltNotificationsPanelSettingsMuteAllToggleWireframe.d.ts +8 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsMuteAllToggleWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsTitleWireframe/VeltNotificationsPanelSettingsTitleWireframe.d.ts +8 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsTitleWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsWireframe.d.ts +26 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSettingsWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelWireframe.d.ts +4 -0
- package/esm/types/components/VeltNotificationsTool/VeltNotificationsTool.d.ts +1 -0
- package/esm/types/constants.d.ts +2 -1
- package/esm/types/hooks/NotificationsActions.d.ts +2 -0
- package/esm/types/hooks/PresenceElement.d.ts +3 -0
- package/esm/types/hooks/index.d.ts +1 -0
- package/esm/types/loadSnippyly.d.ts +1 -1
- package/index.d.ts +136 -2
- package/package.json +1 -1
package/esm/index.js
CHANGED
|
@@ -91,7 +91,7 @@ function useVeltClient() {
|
|
|
91
91
|
return useContext(VeltContext);
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
-
var loadVelt = function (callback, version, staging, develop, proxyDomain) {
|
|
94
|
+
var loadVelt = function (callback, version, staging, develop, proxyDomain, integrity, integrityValue) {
|
|
95
95
|
if (version === void 0) { version = 'latest'; }
|
|
96
96
|
if (staging === void 0) { staging = false; }
|
|
97
97
|
if (develop === void 0) { develop = false; }
|
|
@@ -118,6 +118,10 @@ var loadVelt = function (callback, version, staging, develop, proxyDomain) {
|
|
|
118
118
|
}
|
|
119
119
|
script.id = 'veltScript';
|
|
120
120
|
script.type = 'module';
|
|
121
|
+
if (integrity && integrityValue) {
|
|
122
|
+
script.integrity = integrityValue;
|
|
123
|
+
script.crossOrigin = 'anonymous';
|
|
124
|
+
}
|
|
121
125
|
document.body.appendChild(script);
|
|
122
126
|
script.onload = function () {
|
|
123
127
|
if (callback) {
|
|
@@ -132,18 +136,40 @@ var loadVelt = function (callback, version, staging, develop, proxyDomain) {
|
|
|
132
136
|
}
|
|
133
137
|
};
|
|
134
138
|
|
|
135
|
-
var VELT_SDK_VERSION = '4.5.0-beta.
|
|
139
|
+
var VELT_SDK_VERSION = '4.5.0-beta.14';
|
|
136
140
|
var VELT_SDK_INIT_EVENT = 'onVeltInit';
|
|
137
141
|
var VELT_TAB_ID = 'veltTabId';
|
|
142
|
+
// integrity map for the Velt SDK
|
|
143
|
+
// Note: generate integrity hashes with: https://www.srihash.org/
|
|
144
|
+
var INTEGRITY_MAP = {
|
|
145
|
+
'4.5.0-beta.14': 'sha384-B3QUsHRraEePOqRV+SRKeu1n6cTJRTQtHmHj3E0l0MksnjkCtpOCJvV7xEqJkGjE',
|
|
146
|
+
};
|
|
138
147
|
|
|
139
148
|
var SnippylyProvider = function (props) {
|
|
140
149
|
var apiKey = props.apiKey, user = props.user, config = props.config, documentId = props.documentId, language = props.language, translations = props.translations, autoTranslation = props.autoTranslation, userDataProvider = props.userDataProvider, dataProviders = props.dataProviders, onClientLoad = props.onClientLoad, children = props.children;
|
|
141
150
|
var _a = useState(null), client = _a[0], setClient = _a[1];
|
|
142
151
|
useEffect(function () {
|
|
143
152
|
if (apiKey) {
|
|
153
|
+
var staging = config === null || config === void 0 ? void 0 : config.staging;
|
|
154
|
+
var develop = config === null || config === void 0 ? void 0 : config.develop;
|
|
155
|
+
var version = (config === null || config === void 0 ? void 0 : config.version) || VELT_SDK_VERSION;
|
|
156
|
+
var integrity = !!(config === null || config === void 0 ? void 0 : config.integrity);
|
|
157
|
+
var integrityValue = '';
|
|
158
|
+
if (integrity) {
|
|
159
|
+
if (develop || staging) {
|
|
160
|
+
if (config === null || config === void 0 ? void 0 : config.sriv) {
|
|
161
|
+
integrityValue = config === null || config === void 0 ? void 0 : config.sriv;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
else {
|
|
165
|
+
if (INTEGRITY_MAP[version]) {
|
|
166
|
+
integrityValue = INTEGRITY_MAP[version];
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
}
|
|
144
170
|
loadVelt(function () {
|
|
145
171
|
initVelt();
|
|
146
|
-
},
|
|
172
|
+
}, version, staging, develop, config === null || config === void 0 ? void 0 : config.proxyDomain, integrity, integrityValue);
|
|
147
173
|
}
|
|
148
174
|
}, []);
|
|
149
175
|
useEffect(function () {
|
|
@@ -841,7 +867,7 @@ var VeltCommentThread = function (props) {
|
|
|
841
867
|
};
|
|
842
868
|
|
|
843
869
|
var VeltNotificationsTool = function (props) {
|
|
844
|
-
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;
|
|
870
|
+
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;
|
|
845
871
|
var ref = useRef();
|
|
846
872
|
var onNotificationClickRef = useRef(onNotificationClick);
|
|
847
873
|
// Update the ref to always point to the latest callback function
|
|
@@ -867,11 +893,11 @@ var VeltNotificationsTool = function (props) {
|
|
|
867
893
|
}
|
|
868
894
|
};
|
|
869
895
|
}, []);
|
|
870
|
-
return (React.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));
|
|
896
|
+
return (React.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));
|
|
871
897
|
};
|
|
872
898
|
|
|
873
899
|
var VeltNotificationsPanel = function (props) {
|
|
874
|
-
var darkMode = props.darkMode, onNotificationClick = props.onNotificationClick, shadowDom = props.shadowDom, tabConfig = props.tabConfig, variant = props.variant, readNotificationsOnForYouTab = props.readNotificationsOnForYouTab, panelOpenMode = props.panelOpenMode;
|
|
900
|
+
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;
|
|
875
901
|
var ref = useRef();
|
|
876
902
|
var onNotificationClickRef = useRef(onNotificationClick);
|
|
877
903
|
// Update the ref to always point to the latest callback function
|
|
@@ -897,7 +923,7 @@ var VeltNotificationsPanel = function (props) {
|
|
|
897
923
|
}
|
|
898
924
|
};
|
|
899
925
|
}, []);
|
|
900
|
-
return (React.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 }));
|
|
926
|
+
return (React.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 }));
|
|
901
927
|
};
|
|
902
928
|
|
|
903
929
|
var VeltNotificationsHistoryPanel = function (props) {
|
|
@@ -3802,6 +3828,151 @@ var VeltNotificationsPanelSkeletonWireframe = function (props) {
|
|
|
3802
3828
|
return (React.createElement("velt-notifications-panel-skeleton-wireframe", __assign({}, transformedProps), children));
|
|
3803
3829
|
};
|
|
3804
3830
|
|
|
3831
|
+
var VeltNotificationsPanelSettingsButtonWireframe = function (props) {
|
|
3832
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3833
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
3834
|
+
return (React.createElement("velt-notifications-panel-settings-button-wireframe", __assign({}, transformedProps), children));
|
|
3835
|
+
};
|
|
3836
|
+
|
|
3837
|
+
var VeltNotificationsPanelSettingsDescriptionWireframe = function (props) {
|
|
3838
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3839
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
3840
|
+
return (React.createElement("velt-notifications-panel-settings-description-wireframe", __assign({}, transformedProps), children));
|
|
3841
|
+
};
|
|
3842
|
+
|
|
3843
|
+
var VeltNotificationsPanelSettingsBackButtonWireframe = function (props) {
|
|
3844
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3845
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
3846
|
+
return (React.createElement("velt-notifications-panel-settings-back-button-wireframe", __assign({}, transformedProps), children));
|
|
3847
|
+
};
|
|
3848
|
+
|
|
3849
|
+
var VeltNotificationsPanelSettingsFooterWireframe = function (props) {
|
|
3850
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3851
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
3852
|
+
return (React.createElement("velt-notifications-panel-settings-footer-wireframe", __assign({}, transformedProps), children));
|
|
3853
|
+
};
|
|
3854
|
+
|
|
3855
|
+
var VeltNotificationsPanelSettingsHeaderTitleWireframe = function (props) {
|
|
3856
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3857
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
3858
|
+
return (React.createElement("velt-notifications-panel-settings-header-title-wireframe", __assign({}, transformedProps), children));
|
|
3859
|
+
};
|
|
3860
|
+
|
|
3861
|
+
var VeltNotificationsPanelSettingsHeaderWireframe = function (props) {
|
|
3862
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3863
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
3864
|
+
return (React.createElement("velt-notifications-panel-settings-header-wireframe", __assign({}, transformedProps), children));
|
|
3865
|
+
};
|
|
3866
|
+
VeltNotificationsPanelSettingsHeaderWireframe.Title = VeltNotificationsPanelSettingsHeaderTitleWireframe;
|
|
3867
|
+
|
|
3868
|
+
var VeltNotificationsPanelSettingsAccordionTriggerSelectedValueWireframe = function (props) {
|
|
3869
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3870
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
3871
|
+
return (React.createElement("velt-notifications-panel-settings-accordion-trigger-selected-value-wireframe", __assign({}, transformedProps), children));
|
|
3872
|
+
};
|
|
3873
|
+
|
|
3874
|
+
var VeltNotificationsPanelSettingsAccordionTriggerLabelWireframe = function (props) {
|
|
3875
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3876
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
3877
|
+
return (React.createElement("velt-notifications-panel-settings-accordion-trigger-label-wireframe", __assign({}, transformedProps), children));
|
|
3878
|
+
};
|
|
3879
|
+
|
|
3880
|
+
var VeltNotificationsPanelSettingsAccordionTriggerIconWireframe = function (props) {
|
|
3881
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3882
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
3883
|
+
return (React.createElement("velt-notifications-panel-settings-accordion-trigger-icon-wireframe", __assign({}, transformedProps), children));
|
|
3884
|
+
};
|
|
3885
|
+
|
|
3886
|
+
var VeltNotificationsPanelSettingsAccordionTriggerWireframe = function (props) {
|
|
3887
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3888
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
3889
|
+
return (React.createElement("velt-notifications-panel-settings-accordion-trigger-wireframe", __assign({}, transformedProps), children));
|
|
3890
|
+
};
|
|
3891
|
+
VeltNotificationsPanelSettingsAccordionTriggerWireframe.SelectedValue = VeltNotificationsPanelSettingsAccordionTriggerSelectedValueWireframe;
|
|
3892
|
+
VeltNotificationsPanelSettingsAccordionTriggerWireframe.Label = VeltNotificationsPanelSettingsAccordionTriggerLabelWireframe;
|
|
3893
|
+
VeltNotificationsPanelSettingsAccordionTriggerWireframe.Icon = VeltNotificationsPanelSettingsAccordionTriggerIconWireframe;
|
|
3894
|
+
|
|
3895
|
+
var VeltNotificationsPanelSettingsAccordionContentItemLabelWireframe = function (props) {
|
|
3896
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3897
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
3898
|
+
return (React.createElement("velt-notifications-panel-settings-accordion-content-item-label-wireframe", __assign({}, transformedProps), children));
|
|
3899
|
+
};
|
|
3900
|
+
|
|
3901
|
+
var VeltNotificationsPanelSettingsAccordionContentItemIconWireframe = function (props) {
|
|
3902
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3903
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
3904
|
+
return (React.createElement("velt-notifications-panel-settings-accordion-content-item-icon-wireframe", __assign({}, transformedProps), children));
|
|
3905
|
+
};
|
|
3906
|
+
|
|
3907
|
+
var VeltNotificationsPanelSettingsAccordionContentItemWireframe = function (props) {
|
|
3908
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3909
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
3910
|
+
return (React.createElement("velt-notifications-panel-settings-accordion-content-item-wireframe", __assign({}, transformedProps), children));
|
|
3911
|
+
};
|
|
3912
|
+
VeltNotificationsPanelSettingsAccordionContentItemWireframe.Icon = VeltNotificationsPanelSettingsAccordionContentItemIconWireframe;
|
|
3913
|
+
VeltNotificationsPanelSettingsAccordionContentItemWireframe.Label = VeltNotificationsPanelSettingsAccordionContentItemLabelWireframe;
|
|
3914
|
+
|
|
3915
|
+
var VeltNotificationsPanelSettingsAccordionContentWireframe = function (props) {
|
|
3916
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3917
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
3918
|
+
return (React.createElement("velt-notifications-panel-settings-accordion-content-wireframe", __assign({}, transformedProps), children));
|
|
3919
|
+
};
|
|
3920
|
+
VeltNotificationsPanelSettingsAccordionContentWireframe.Item = VeltNotificationsPanelSettingsAccordionContentItemWireframe;
|
|
3921
|
+
|
|
3922
|
+
var VeltNotificationsPanelSettingsAccordionWireframe = function (props) {
|
|
3923
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3924
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
3925
|
+
return (React.createElement("velt-notifications-panel-settings-accordion-wireframe", __assign({}, transformedProps), children));
|
|
3926
|
+
};
|
|
3927
|
+
VeltNotificationsPanelSettingsAccordionWireframe.Trigger = VeltNotificationsPanelSettingsAccordionTriggerWireframe;
|
|
3928
|
+
VeltNotificationsPanelSettingsAccordionWireframe.Content = VeltNotificationsPanelSettingsAccordionContentWireframe;
|
|
3929
|
+
|
|
3930
|
+
var VeltNotificationsPanelSettingsListWireframe = function (props) {
|
|
3931
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3932
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
3933
|
+
return (React.createElement("velt-notifications-panel-settings-list-wireframe", __assign({}, transformedProps), children));
|
|
3934
|
+
};
|
|
3935
|
+
VeltNotificationsPanelSettingsListWireframe.Accordion = VeltNotificationsPanelSettingsAccordionWireframe;
|
|
3936
|
+
|
|
3937
|
+
var VeltNotificationsPanelSettingsMuteAllDescriptionWireframe = function (props) {
|
|
3938
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3939
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
3940
|
+
return (React.createElement("velt-notifications-panel-settings-mute-all-description-wireframe", __assign({}, transformedProps), children));
|
|
3941
|
+
};
|
|
3942
|
+
|
|
3943
|
+
var VeltNotificationsPanelSettingsMuteAllTitleWireframe = function (props) {
|
|
3944
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3945
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
3946
|
+
return (React.createElement("velt-notifications-panel-settings-mute-all-title-wireframe", __assign({}, transformedProps), children));
|
|
3947
|
+
};
|
|
3948
|
+
|
|
3949
|
+
var VeltNotificationsPanelSettingsMuteAllToggleWireframe = function (props) {
|
|
3950
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3951
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
3952
|
+
return (React.createElement("velt-notifications-panel-settings-mute-all-toggle-wireframe", __assign({}, transformedProps), children));
|
|
3953
|
+
};
|
|
3954
|
+
|
|
3955
|
+
var VeltNotificationsPanelSettingsTitleWireframe = function (props) {
|
|
3956
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3957
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
3958
|
+
return (React.createElement("velt-notifications-panel-settings-title-wireframe", __assign({}, transformedProps), children));
|
|
3959
|
+
};
|
|
3960
|
+
|
|
3961
|
+
var VeltNotificationsPanelSettingsWireframe = function (props) {
|
|
3962
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3963
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
3964
|
+
return (React.createElement("velt-notifications-panel-settings-wireframe", __assign({}, transformedProps), children));
|
|
3965
|
+
};
|
|
3966
|
+
VeltNotificationsPanelSettingsWireframe.BackButton = VeltNotificationsPanelSettingsBackButtonWireframe;
|
|
3967
|
+
VeltNotificationsPanelSettingsWireframe.Description = VeltNotificationsPanelSettingsDescriptionWireframe;
|
|
3968
|
+
VeltNotificationsPanelSettingsWireframe.Footer = VeltNotificationsPanelSettingsFooterWireframe;
|
|
3969
|
+
VeltNotificationsPanelSettingsWireframe.Header = VeltNotificationsPanelSettingsHeaderWireframe;
|
|
3970
|
+
VeltNotificationsPanelSettingsWireframe.List = VeltNotificationsPanelSettingsListWireframe;
|
|
3971
|
+
VeltNotificationsPanelSettingsWireframe.MuteAllDescription = VeltNotificationsPanelSettingsMuteAllDescriptionWireframe;
|
|
3972
|
+
VeltNotificationsPanelSettingsWireframe.MuteAllTitle = VeltNotificationsPanelSettingsMuteAllTitleWireframe;
|
|
3973
|
+
VeltNotificationsPanelSettingsWireframe.MuteAllToggle = VeltNotificationsPanelSettingsMuteAllToggleWireframe;
|
|
3974
|
+
VeltNotificationsPanelSettingsWireframe.Title = VeltNotificationsPanelSettingsTitleWireframe;
|
|
3975
|
+
|
|
3805
3976
|
var VeltNotificationsPanelWireframe = function (props) {
|
|
3806
3977
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3807
3978
|
var transformedProps = transformWireframeProps(remainingProps);
|
|
@@ -3814,6 +3985,8 @@ VeltNotificationsPanelWireframe.Title = VeltNotificationsPanelTitleWireframe;
|
|
|
3814
3985
|
VeltNotificationsPanelWireframe.ViewAllButton = VeltNotificationsPanelViewAllButtonWireframe;
|
|
3815
3986
|
VeltNotificationsPanelWireframe.CloseButton = VeltNotificationsPanelCloseButtonWireframe;
|
|
3816
3987
|
VeltNotificationsPanelWireframe.Skeleton = VeltNotificationsPanelSkeletonWireframe;
|
|
3988
|
+
VeltNotificationsPanelWireframe.SettingsButton = VeltNotificationsPanelSettingsButtonWireframe;
|
|
3989
|
+
VeltNotificationsPanelWireframe.Settings = VeltNotificationsPanelSettingsWireframe;
|
|
3817
3990
|
|
|
3818
3991
|
var VeltNotificationsToolIconWireframe = function (props) {
|
|
3819
3992
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
@@ -6537,6 +6710,9 @@ function usePresenceUtils() {
|
|
|
6537
6710
|
}, [client, setPresenceElement, presenceElement]);
|
|
6538
6711
|
return presenceElement;
|
|
6539
6712
|
}
|
|
6713
|
+
/**
|
|
6714
|
+
* @deprecated Use `usePresenceData` hook instead.
|
|
6715
|
+
*/
|
|
6540
6716
|
function usePresenceUsers() {
|
|
6541
6717
|
var presenceElement = usePresenceUtils();
|
|
6542
6718
|
var _a = React.useState(null), data = _a[0], setData = _a[1];
|
|
@@ -6896,6 +7072,33 @@ function useUnreadNotificationsCount() {
|
|
|
6896
7072
|
return data;
|
|
6897
7073
|
}
|
|
6898
7074
|
|
|
7075
|
+
function useNotificationEventCallback(action) {
|
|
7076
|
+
var notificationElement = useNotificationUtils();
|
|
7077
|
+
var _a = useState(null), data = _a[0], setData = _a[1];
|
|
7078
|
+
var subscriptionRef = useRef(null);
|
|
7079
|
+
var memoizedAction = useMemo(function () { return action; }, [action]);
|
|
7080
|
+
useEffect(function () {
|
|
7081
|
+
var _a;
|
|
7082
|
+
if (!(notificationElement === null || notificationElement === void 0 ? void 0 : notificationElement.on))
|
|
7083
|
+
return;
|
|
7084
|
+
if (subscriptionRef.current) {
|
|
7085
|
+
subscriptionRef.current.unsubscribe();
|
|
7086
|
+
}
|
|
7087
|
+
var subscription = (_a = notificationElement === null || notificationElement === void 0 ? void 0 : notificationElement.on(memoizedAction)) === null || _a === void 0 ? void 0 : _a.subscribe(function (data) {
|
|
7088
|
+
setData(data);
|
|
7089
|
+
});
|
|
7090
|
+
// Store the new subscription
|
|
7091
|
+
subscriptionRef.current = subscription;
|
|
7092
|
+
// Cleanup function
|
|
7093
|
+
return function () {
|
|
7094
|
+
if (subscriptionRef.current) {
|
|
7095
|
+
subscriptionRef.current.unsubscribe();
|
|
7096
|
+
}
|
|
7097
|
+
};
|
|
7098
|
+
}, [notificationElement === null || notificationElement === void 0 ? void 0 : notificationElement.on, memoizedAction]);
|
|
7099
|
+
return data;
|
|
7100
|
+
}
|
|
7101
|
+
|
|
6899
7102
|
function useAutocompleteUtils() {
|
|
6900
7103
|
var _a = React.useState(), autocompleteElement = _a[0], setAutocompleteElement = _a[1];
|
|
6901
7104
|
var client = useVeltClient().client;
|
|
@@ -7110,5 +7313,5 @@ var logLiveState = function (action, liveStateDataId) {
|
|
|
7110
7313
|
}
|
|
7111
7314
|
};
|
|
7112
7315
|
|
|
7113
|
-
export { SnippylyArrowTool as VeltArrowTool, SnippylyArrows as VeltArrows, VeltAutocomplete, VeltAutocompleteChipTooltipWireframe, VeltAutocompleteGroupOptionWireframe, VeltAutocompleteOptionWireframe, VeltButtonWireframe, VeltCanvasComment, VeltChartComment, SnippylyCommentBubble as VeltCommentBubble, VeltCommentBubbleWireframe, VeltCommentComposer, VeltCommentComposerWireframe, VeltCommentDialogOptionsDropdownContentWireframe, VeltCommentDialogOptionsDropdownTriggerWireframe, VeltCommentDialogPriorityDropdownContentWireframe, VeltCommentDialogPriorityDropdownTriggerWireframe, VeltCommentDialogStatusDropdownContentWireframe, VeltCommentDialogStatusDropdownTriggerWireframe, VeltCommentDialogWireframe, VeltCommentPin, VeltCommentPinWireframe, VeltCommentPlayerTimeline, VeltCommentText, VeltCommentThread, VeltCommentThreadWireframe, SnippylyCommentTool as VeltCommentTool, VeltCommentToolWireframe, SnippylyComments as VeltComments, VeltCommentsMinimap, SnippylyCommentsSidebar as VeltCommentsSidebar, VeltCommentsSidebarButton, VeltCommentsSidebarStatusDropdownWireframe, VeltCommentsSidebarWireframe, VeltConfirmDialogWireframe, SnippylyCursor as VeltCursor, VeltData, VeltHighChartComments, SnippylyHuddle as VeltHuddle, SnippylyHuddleTool as VeltHuddleTool, VeltIf, VeltInlineCommentsSection, VeltInlineCommentsSectionWireframe, VeltInlineReactionsSection, VeltInlineReactionsSectionWireframe, VeltMediaSourceSettingsWireframe, VeltMultiThreadCommentDialogWireframe, VeltNivoChartComments, VeltNotificationsHistoryPanel, VeltNotificationsPanel, VeltNotificationsPanelWireframe, VeltNotificationsTool, VeltNotificationsToolWireframe, VeltPersistentCommentModeWireframe, SnippylyPresence as VeltPresence, SnippylyProvider as VeltProvider, VeltReactionPinTooltipWireframe, VeltReactionPinWireframe, VeltReactionTool, VeltReactionToolWireframe, VeltReactionsPanelWireframe, VeltRecorderAllToolMenuWireframe, VeltRecorderAllToolWireframe, VeltRecorderAudioToolWireframe, SnippylyRecorderControlPanel as VeltRecorderControlPanel, VeltRecorderControlPanelWireframe, SnippylyRecorderNotes as VeltRecorderNotes, SnippylyRecorderPlayer as VeltRecorderPlayer, VeltRecorderPlayerExpandedWireframe, VeltRecorderPlayerWireframe, VeltRecorderScreenToolWireframe, SnippylyRecorderTool as VeltRecorderTool, VeltRecorderVideoToolWireframe, VeltRecordingPreviewStepsDialogWireframe, SnippylySidebarButton as VeltSidebarButton, VeltSidebarButtonWireframe, VeltSingleEditorModePanel, VeltSingleEditorModePanelWireframe, VeltSubtitlesWireframe, SnippylyTagTool as VeltTagTool, SnippylyTags as VeltTags, VeltTextCommentToolWireframe, VeltTextCommentToolbar as VeltTextCommentToolbarWireframe, VeltTranscriptionWireframe, SnippylyUserInviteTool as VeltUserInviteTool, SnippylyUserRequestTool as VeltUserRequestTool, VeltUserSelectorDropdown as VeltUserSelectorDropdownWireframe, VeltVideoEditorPlayerWireframe, VeltVideoPlayer, VeltViewAnalytics, VeltWireframe, createLiveStateMiddleware, useAIRewriterUtils, useAddAttachment, useAddComment, useAddCommentAnnotation, useAddReaction, useApproveCommentAnnotation, useAssignUser, useAutocompleteChipClick, useAutocompleteUtils, useClient, useCommentActionCallback, useCommentAddHandler, useCommentAnnotationById, useCommentAnnotations, useCommentAnnotationsCount, useCommentCopyLinkHandler, useCommentDialogSidebarClickHandler, useCommentEventCallback, useCommentModeState, useCommentSelectionChangeHandler, useCommentSidebarActionButtonClick, useCommentSidebarData, useCommentSidebarInit, useCommentUpdateHandler, useCommentUtils, useContactList, useContactSelected, useContactUtils, useCopyLink, useCursorUsers, useCursorUtils, useDeleteAttachment, useDeleteComment, useDeleteCommentAnnotation, useDeleteReaction, useDeleteRecording, useEditor, useEditorAccessRequestHandler, useEditorAccessTimer, useGetAttachment, useGetComment, useGetCommentAnnotations, useGetLink, useGetRecording, useHuddleUtils, useIdentify, useLiveSelectionDataHandler, useLiveSelectionUtils, useLiveState, useLiveStateData, useLiveStateSyncEventCallback, useLiveStateSyncUtils, useNotificationUtils, useNotificationsData, usePresenceData, usePresenceEventCallback, usePresenceUsers, usePresenceUtils, useRecorderAddHandler, useRecorderEventCallback, useRecorderUtils, useRecordingDataByRecorderId, useRecordings, useRejectCommentAnnotation, useResolveCommentAnnotation, useServerConnectionStateChangeHandler, useSetDocument, useSetDocumentId, useSetDocuments, useSetLiveStateData, useSetLocation, useSubscribeCommentAnnotation, useTagAnnotations, useTagUtils, useToggleReaction, useUniqueViewsByDate, useUniqueViewsByUser, useUnreadCommentAnnotationCountByLocationId, useUnreadCommentAnnotationCountOnCurrentDocument, useUnreadCommentCountByAnnotationId, useUnreadCommentCountByLocationId, useUnreadCommentCountOnCurrentDocument, useUnreadNotificationsCount, useUnsetDocumentId, useUnsetDocuments, useUnsubscribeCommentAnnotation, useUpdateAccess, useUpdateComment, useUpdatePriority, useUpdateStatus, useUserEditorState, useVeltClient, useVeltEventCallback, useVeltInitState, useViewsUtils };
|
|
7316
|
+
export { SnippylyArrowTool as VeltArrowTool, SnippylyArrows as VeltArrows, VeltAutocomplete, VeltAutocompleteChipTooltipWireframe, VeltAutocompleteGroupOptionWireframe, VeltAutocompleteOptionWireframe, VeltButtonWireframe, VeltCanvasComment, VeltChartComment, SnippylyCommentBubble as VeltCommentBubble, VeltCommentBubbleWireframe, VeltCommentComposer, VeltCommentComposerWireframe, VeltCommentDialogOptionsDropdownContentWireframe, VeltCommentDialogOptionsDropdownTriggerWireframe, VeltCommentDialogPriorityDropdownContentWireframe, VeltCommentDialogPriorityDropdownTriggerWireframe, VeltCommentDialogStatusDropdownContentWireframe, VeltCommentDialogStatusDropdownTriggerWireframe, VeltCommentDialogWireframe, VeltCommentPin, VeltCommentPinWireframe, VeltCommentPlayerTimeline, VeltCommentText, VeltCommentThread, VeltCommentThreadWireframe, SnippylyCommentTool as VeltCommentTool, VeltCommentToolWireframe, SnippylyComments as VeltComments, VeltCommentsMinimap, SnippylyCommentsSidebar as VeltCommentsSidebar, VeltCommentsSidebarButton, VeltCommentsSidebarStatusDropdownWireframe, VeltCommentsSidebarWireframe, VeltConfirmDialogWireframe, SnippylyCursor as VeltCursor, VeltData, VeltHighChartComments, SnippylyHuddle as VeltHuddle, SnippylyHuddleTool as VeltHuddleTool, VeltIf, VeltInlineCommentsSection, VeltInlineCommentsSectionWireframe, VeltInlineReactionsSection, VeltInlineReactionsSectionWireframe, VeltMediaSourceSettingsWireframe, VeltMultiThreadCommentDialogWireframe, VeltNivoChartComments, VeltNotificationsHistoryPanel, VeltNotificationsPanel, VeltNotificationsPanelWireframe, VeltNotificationsTool, VeltNotificationsToolWireframe, VeltPersistentCommentModeWireframe, SnippylyPresence as VeltPresence, SnippylyProvider as VeltProvider, VeltReactionPinTooltipWireframe, VeltReactionPinWireframe, VeltReactionTool, VeltReactionToolWireframe, VeltReactionsPanelWireframe, VeltRecorderAllToolMenuWireframe, VeltRecorderAllToolWireframe, VeltRecorderAudioToolWireframe, SnippylyRecorderControlPanel as VeltRecorderControlPanel, VeltRecorderControlPanelWireframe, SnippylyRecorderNotes as VeltRecorderNotes, SnippylyRecorderPlayer as VeltRecorderPlayer, VeltRecorderPlayerExpandedWireframe, VeltRecorderPlayerWireframe, VeltRecorderScreenToolWireframe, SnippylyRecorderTool as VeltRecorderTool, VeltRecorderVideoToolWireframe, VeltRecordingPreviewStepsDialogWireframe, SnippylySidebarButton as VeltSidebarButton, VeltSidebarButtonWireframe, VeltSingleEditorModePanel, VeltSingleEditorModePanelWireframe, VeltSubtitlesWireframe, SnippylyTagTool as VeltTagTool, SnippylyTags as VeltTags, VeltTextCommentToolWireframe, VeltTextCommentToolbar as VeltTextCommentToolbarWireframe, VeltTranscriptionWireframe, SnippylyUserInviteTool as VeltUserInviteTool, SnippylyUserRequestTool as VeltUserRequestTool, VeltUserSelectorDropdown as VeltUserSelectorDropdownWireframe, VeltVideoEditorPlayerWireframe, VeltVideoPlayer, VeltViewAnalytics, VeltWireframe, createLiveStateMiddleware, useAIRewriterUtils, useAddAttachment, useAddComment, useAddCommentAnnotation, useAddReaction, useApproveCommentAnnotation, useAssignUser, useAutocompleteChipClick, useAutocompleteUtils, useClient, useCommentActionCallback, useCommentAddHandler, useCommentAnnotationById, useCommentAnnotations, useCommentAnnotationsCount, useCommentCopyLinkHandler, useCommentDialogSidebarClickHandler, useCommentEventCallback, useCommentModeState, useCommentSelectionChangeHandler, useCommentSidebarActionButtonClick, useCommentSidebarData, useCommentSidebarInit, useCommentUpdateHandler, useCommentUtils, useContactList, useContactSelected, useContactUtils, useCopyLink, useCursorUsers, useCursorUtils, useDeleteAttachment, useDeleteComment, useDeleteCommentAnnotation, useDeleteReaction, useDeleteRecording, useEditor, useEditorAccessRequestHandler, useEditorAccessTimer, useGetAttachment, useGetComment, useGetCommentAnnotations, useGetLink, useGetRecording, useHuddleUtils, useIdentify, useLiveSelectionDataHandler, useLiveSelectionUtils, useLiveState, useLiveStateData, useLiveStateSyncEventCallback, useLiveStateSyncUtils, useNotificationEventCallback, useNotificationUtils, useNotificationsData, usePresenceData, usePresenceEventCallback, usePresenceUsers, usePresenceUtils, useRecorderAddHandler, useRecorderEventCallback, useRecorderUtils, useRecordingDataByRecorderId, useRecordings, useRejectCommentAnnotation, useResolveCommentAnnotation, useServerConnectionStateChangeHandler, useSetDocument, useSetDocumentId, useSetDocuments, useSetLiveStateData, useSetLocation, useSubscribeCommentAnnotation, useTagAnnotations, useTagUtils, useToggleReaction, useUniqueViewsByDate, useUniqueViewsByUser, useUnreadCommentAnnotationCountByLocationId, useUnreadCommentAnnotationCountOnCurrentDocument, useUnreadCommentCountByAnnotationId, useUnreadCommentCountByLocationId, useUnreadCommentCountOnCurrentDocument, useUnreadNotificationsCount, useUnsetDocumentId, useUnsetDocuments, useUnsubscribeCommentAnnotation, useUpdateAccess, useUpdateComment, useUpdatePriority, useUpdateStatus, useUserEditorState, useVeltClient, useVeltEventCallback, useVeltInitState, useViewsUtils };
|
|
7114
7317
|
//# sourceMappingURL=index.js.map
|