adpro-react 0.0.22-rc.27 → 0.0.22-rc.28
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/adpro-react.cjs.js +109 -109
- package/dist/adpro-react.es.js +3532 -3446
- package/dist/components/ToastNotificationADPRO/store/useNotificationStore.d.ts +2 -2
- package/dist/components/ToastNotificationADPRO/store/useNotificationStore.d.ts.map +1 -1
- package/dist/components/ToastNotificationADPRO/types/SnackbarMessage.d.ts +13 -4
- package/dist/components/ToastNotificationADPRO/types/SnackbarMessage.d.ts.map +1 -1
- package/dist/components/ToastNotificationADPRO/view/NotificationADPRO.d.ts.map +1 -1
- package/dist/main.d.ts.map +1 -1
- package/package.json +1 -1
@@ -1,9 +1,9 @@
|
|
1
|
-
import { SnackbarMessage } from '../types/SnackbarMessage';
|
1
|
+
import { SnackbarMessage, SnackbarMessageUser } from '../types/SnackbarMessage';
|
2
2
|
interface NotificationStoreState {
|
3
3
|
snackPack: SnackbarMessage[];
|
4
4
|
open: boolean;
|
5
5
|
messageInfo?: SnackbarMessage;
|
6
|
-
setNotification: (
|
6
|
+
setNotification: (props: SnackbarMessageUser) => void;
|
7
7
|
close: () => void;
|
8
8
|
processQueue: () => void;
|
9
9
|
onExited: () => void;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"useNotificationStore.d.ts","sourceRoot":"","sources":["../../../../src/components/ToastNotificationADPRO/store/useNotificationStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;
|
1
|
+
{"version":3,"file":"useNotificationStore.d.ts","sourceRoot":"","sources":["../../../../src/components/ToastNotificationADPRO/store/useNotificationStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAGhF,UAAU,sBAAsB;IAC5B,SAAS,EAAE,eAAe,EAAE,CAAC;IAC7B,IAAI,EAAE,OAAO,CAAC;IACd,WAAW,CAAC,EAAE,eAAe,CAAC;IAC9B,eAAe,EAAE,CAAC,KAAK,EAAE,mBAAmB,KAAK,IAAI,CAAC;IACtD,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,QAAQ,EAAE,MAAM,IAAI,CAAC;CACxB;AAED,eAAO,MAAM,oBAAoB,qFAuC9B,CAAC"}
|
@@ -1,8 +1,17 @@
|
|
1
|
-
export interface
|
1
|
+
export interface SnackbarMessageKey {
|
2
|
+
key: number;
|
3
|
+
}
|
4
|
+
export interface SnackbarMessageUser {
|
2
5
|
title: string | React.ReactNode;
|
3
6
|
subtitle: string | React.ReactNode;
|
4
|
-
severity: 'success' | '
|
5
|
-
type:
|
6
|
-
|
7
|
+
severity: 'success' | 'warning' | 'error' | 'info';
|
8
|
+
type: string;
|
9
|
+
snackTransitionDirection?: 'left' | 'right' | 'up' | 'down';
|
10
|
+
snackAnchorOrigin?: {
|
11
|
+
horizontal: 'center' | 'left' | 'right';
|
12
|
+
vertical: 'bottom' | 'top';
|
13
|
+
};
|
14
|
+
}
|
15
|
+
export interface SnackbarMessage extends SnackbarMessageUser, SnackbarMessageKey {
|
7
16
|
}
|
8
17
|
//# sourceMappingURL=SnackbarMessage.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"SnackbarMessage.d.ts","sourceRoot":"","sources":["../../../../src/components/ToastNotificationADPRO/types/SnackbarMessage.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,
|
1
|
+
{"version":3,"file":"SnackbarMessage.d.ts","sourceRoot":"","sources":["../../../../src/components/ToastNotificationADPRO/types/SnackbarMessage.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,kBAAkB;IAC/B,GAAG,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,mBAAmB;IAChC,KAAK,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IAChC,QAAQ,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IACnC,QAAQ,EAAE,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;IACnD,IAAI,EAAE,MAAM,CAAC;IACb,wBAAwB,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,IAAI,GAAG,MAAM,CAAC;IAC5D,iBAAiB,CAAC,EAAE;QAAE,UAAU,EAAE,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC;QAAC,QAAQ,EAAE,QAAQ,GAAG,KAAK,CAAA;KAAE,CAAC;CAC/F;AAED,MAAM,WAAW,eAAgB,SAAQ,mBAAmB,EAAE,kBAAkB;CAAI"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"NotificationADPRO.d.ts","sourceRoot":"","sources":["../../../../src/components/ToastNotificationADPRO/view/NotificationADPRO.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"NotificationADPRO.d.ts","sourceRoot":"","sources":["../../../../src/components/ToastNotificationADPRO/view/NotificationADPRO.tsx"],"names":[],"mappings":"AAwFA,eAAO,MAAM,iBAAiB,+CA2L7B,CAAC"}
|
package/dist/main.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../src/main.tsx"],"names":[],"mappings":"AAiBA,eAAO,MAAM,KAAK,+
|
1
|
+
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../src/main.tsx"],"names":[],"mappings":"AAiBA,eAAO,MAAM,KAAK,+CAySjB,CAAA"}
|