@novu/js 2.6.3 → 2.6.4
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/dist/cjs/{chunk-JNGDKCKO.js → chunk-NCIKS5DU.js} +121 -22
- package/dist/cjs/index.d.ts +2 -3
- package/dist/cjs/index.js +14 -14
- package/dist/{esm/novu-C3OVXS9Q.d.mts → cjs/novu-CTwfWx9z.d.ts} +7 -3
- package/dist/cjs/themes/index.d.ts +2 -3
- package/dist/cjs/{types-DJ_8ubnK.d.ts → types-C9Kspo68.d.ts} +1 -1
- package/dist/cjs/ui/index.d.ts +4 -5
- package/dist/cjs/ui/index.js +8 -5
- package/dist/esm/{chunk-CRYKKYGT.mjs → chunk-OMRGYSBS.mjs} +120 -21
- package/dist/esm/index.d.mts +2 -3
- package/dist/esm/index.mjs +1 -1
- package/dist/{cjs/novu-C3OVXS9Q.d.ts → esm/novu-CTwfWx9z.d.mts} +7 -3
- package/dist/esm/themes/index.d.mts +2 -3
- package/dist/esm/{types-mimIUjS9.d.mts → types-CKQNsFHO.d.mts} +1 -1
- package/dist/esm/ui/index.d.mts +4 -5
- package/dist/esm/ui/index.mjs +5 -2
- package/dist/novu.min.js +11 -11
- package/dist/novu.min.js.gz +0 -0
- package/package.json +3 -4
package/dist/esm/ui/index.d.mts
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { s as NovuOptions } from '../novu-
|
|
2
|
-
export { t as Notification } from '../novu-
|
|
3
|
-
import { N as NotificationRenderer, B as BellRenderer, a as NotificationClickHandler, b as NotificationActionClickHandler, c as NovuProviderProps, d as BaseNovuProviderProps, A as Appearance, L as Localization, T as Tab, P as PreferencesFilter, R as RouterPush } from '../types-
|
|
4
|
-
export { e as AppearanceKey, C as CSSProperties, E as ElementStyles, f as Elements, i as LocalizationKey, h as NotificationStatus, g as Theme, V as Variables } from '../types-
|
|
1
|
+
import { s as NovuOptions } from '../novu-CTwfWx9z.mjs';
|
|
2
|
+
export { t as Notification } from '../novu-CTwfWx9z.mjs';
|
|
3
|
+
import { N as NotificationRenderer, B as BellRenderer, a as NotificationClickHandler, b as NotificationActionClickHandler, c as NovuProviderProps, d as BaseNovuProviderProps, A as Appearance, L as Localization, T as Tab, P as PreferencesFilter, R as RouterPush } from '../types-CKQNsFHO.mjs';
|
|
4
|
+
export { e as AppearanceKey, C as CSSProperties, E as ElementStyles, f as Elements, i as LocalizationKey, h as NotificationStatus, g as Theme, V as Variables } from '../types-CKQNsFHO.mjs';
|
|
5
5
|
import { Placement, OffsetOptions } from '@floating-ui/dom';
|
|
6
6
|
import * as solid_js from 'solid-js';
|
|
7
7
|
import { ComponentProps } from 'solid-js';
|
|
8
8
|
import { MountableElement } from 'solid-js/web';
|
|
9
|
-
import '@novu/client';
|
|
10
9
|
|
|
11
10
|
type InboxProps = {
|
|
12
11
|
open?: boolean;
|
package/dist/esm/ui/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Novu, isSameFilter } from '../chunk-
|
|
1
|
+
import { Novu, isSameFilter } from '../chunk-OMRGYSBS.mjs';
|
|
2
2
|
import { parseMarkdownIntoTokens } from '../chunk-GPV65U5R.mjs';
|
|
3
3
|
import { __privateAdd, __privateSet, __privateMethod, __privateGet, __spreadProps, __spreadValues, __objRest, __async } from '../chunk-STZMOEWR.mjs';
|
|
4
4
|
import { delegateEvents, createComponent, mergeProps, render, Portal, spread, template, insert, memo, effect, className, use, addEventListener, setAttribute, Dynamic, isServer } from 'solid-js/web';
|
|
@@ -3516,6 +3516,9 @@ var InboxDropdownTab = (props) => {
|
|
|
3516
3516
|
get ["class"]() {
|
|
3517
3517
|
return style("moreTabs__dropdownItem", cn(dropdownItemVariants(), "nt-flex nt-justify-between nt-gap-2"));
|
|
3518
3518
|
},
|
|
3519
|
+
get onClick() {
|
|
3520
|
+
return props.onClick;
|
|
3521
|
+
},
|
|
3519
3522
|
get children() {
|
|
3520
3523
|
return [(() => {
|
|
3521
3524
|
var _el$3 = _tmpl$48();
|
|
@@ -3993,7 +3996,7 @@ var Renderer = (props) => {
|
|
|
3993
3996
|
}
|
|
3994
3997
|
});
|
|
3995
3998
|
};
|
|
3996
|
-
var version = "2.6.
|
|
3999
|
+
var version = "2.6.4";
|
|
3997
4000
|
var cssHref = `https://cdn.jsdelivr.net/npm/@novu/js@${version}/dist/index.css`;
|
|
3998
4001
|
var _dispose, _rootElement, _mountedElements, _setMountedElements, _appearance, _setAppearance, _localization, _setLocalization, _options, _setOptions, _tabs, _setTabs, _routerPush, _setRouterPush, _preferencesFilter, _setPreferencesFilter, _predefinedNovu, _NovuUI_instances, mountComponentRenderer_fn, updateComponentProps_fn;
|
|
3999
4002
|
var NovuUI = class {
|