adpro-react 0.0.22-rc.18 → 0.0.22-rc.19

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.
@@ -0,0 +1,3 @@
1
+ export * from './view/NotificationADPRO';
2
+ export * from './store/useNotificationStore';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ToastNotificationADPRO/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAA;AACxC,cAAc,8BAA8B,CAAA"}
@@ -0,0 +1,13 @@
1
+ import { SnackbarMessage } from '../types/SnackbarMessage';
2
+ interface NotificationStoreState {
3
+ snackPack: SnackbarMessage[];
4
+ open: boolean;
5
+ messageInfo?: SnackbarMessage;
6
+ enqueue: (title: string | React.ReactNode, subtitle: string | React.ReactNode, severity: 'success' | 'error' | 'warning' | 'info', type: 'snack' | 'toast') => void;
7
+ close: () => void;
8
+ processQueue: () => void;
9
+ onExited: () => void;
10
+ }
11
+ export declare const useNotificationStore: import('zustand').UseBoundStore<import('zustand').StoreApi<NotificationStoreState>>;
12
+ export {};
13
+ //# sourceMappingURL=useNotificationStore.d.ts.map
@@ -0,0 +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;AAG3D,UAAU,sBAAsB;IAC5B,SAAS,EAAE,eAAe,EAAE,CAAC;IAC7B,IAAI,EAAE,OAAO,CAAC;IACd,WAAW,CAAC,EAAE,eAAe,CAAC;IAC9B,OAAO,EAAE,CACL,KAAK,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,EAC/B,QAAQ,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,EAClC,QAAQ,EAAE,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,EAClD,IAAI,EAAE,OAAO,GAAG,OAAO,KACtB,IAAI,CAAC;IACV,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,QAAQ,EAAE,MAAM,IAAI,CAAC;CACxB;AAED,eAAO,MAAM,oBAAoB,qFAqC9B,CAAC"}
@@ -0,0 +1,8 @@
1
+ export interface SnackbarMessage {
2
+ title: string | React.ReactNode;
3
+ subtitle: string | React.ReactNode;
4
+ severity: 'success' | 'error' | 'warning' | 'info';
5
+ type: 'snack' | 'toast';
6
+ key: number;
7
+ }
8
+ //# sourceMappingURL=SnackbarMessage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SnackbarMessage.d.ts","sourceRoot":"","sources":["../../../../src/components/ToastNotificationADPRO/types/SnackbarMessage.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,eAAe;IAC5B,KAAK,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IAChC,QAAQ,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IACnC,QAAQ,EAAE,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,CAAC;IACnD,IAAI,EAAE,OAAO,GAAG,OAAO,CAAA;IACvB,GAAG,EAAE,MAAM,CAAC;CACf"}
@@ -0,0 +1,2 @@
1
+ export declare const NotificationADPRO: () => import("react/jsx-runtime").JSX.Element;
2
+ //# sourceMappingURL=NotificationADPRO.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NotificationADPRO.d.ts","sourceRoot":"","sources":["../../../../src/components/ToastNotificationADPRO/view/NotificationADPRO.tsx"],"names":[],"mappings":"AAmBA,eAAO,MAAM,iBAAiB,+CAkL7B,CAAC"}
package/dist/index.d.ts CHANGED
@@ -1,5 +1,4 @@
1
1
  export * from './components';
2
- export * from './hooks';
3
2
  export * from './theme';
4
3
  export * from './methods';
5
4
  export * from './contexts';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,SAAS,CAAA;AACvB,cAAc,SAAS,CAAA;AACvB,cAAc,WAAW,CAAA;AACzB,cAAc,YAAY,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,SAAS,CAAA;AACvB,cAAc,WAAW,CAAA;AACzB,cAAc,YAAY,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../src/main.tsx"],"names":[],"mappings":"AAeA,eAAO,MAAM,KAAK,+CAwMjB,CAAA"}
1
+ {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../src/main.tsx"],"names":[],"mappings":"AAgBA,eAAO,MAAM,KAAK,+CAgPjB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"RequestADPRO.d.ts","sourceRoot":"","sources":["../../../src/methods/requestADPRO/RequestADPRO.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAMnE,eAAO,MAAM,YAAY,EAAE,iBA6H1B,CAAC;AAmCF,eAAO,MAAM,gBAAgB,GAAU,MAAM,MAAM,oBAsBlD,CAAC;AAEF,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"RequestADPRO.d.ts","sourceRoot":"","sources":["../../../src/methods/requestADPRO/RequestADPRO.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAMnE,eAAO,MAAM,YAAY,EAAE,iBAoE1B,CAAC;AAmCF,eAAO,MAAM,gBAAgB,GAAU,MAAM,MAAM,oBAsBlD,CAAC;AAEF,eAAe,YAAY,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adpro-react",
3
- "version": "0.0.22-rc.18",
3
+ "version": "0.0.22-rc.19",
4
4
  "author": "Joel Mateo Robles Atuesta",
5
5
  "main": "dist/adpro-react.cjs.js",
6
6
  "module": "dist/adpro-react.es.js",
@@ -1,2 +0,0 @@
1
- export * from './useToast';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"}
@@ -1,3 +0,0 @@
1
- import { ToastADPROProps } from '../components';
2
- export declare const useToast: (initialValue?: ToastADPROProps | ToastADPROProps[]) => [React.ReactPortal, (newElements: ToastADPROProps | ToastADPROProps[]) => void];
3
- //# sourceMappingURL=useToast.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useToast.d.ts","sourceRoot":"","sources":["../../src/hooks/useToast.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAmB,MAAM,eAAe,CAAA;AAEhE,eAAO,MAAM,QAAQ,GAAI,eAAe,eAAe,GAAG,eAAe,EAAE,KAAG,CAAC,KAAK,CAAC,WAAW,EAAE,CAAC,WAAW,EAAE,eAAe,GAAG,eAAe,EAAE,KAAK,IAAI,CAQ3J,CAAA"}