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

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.
@@ -3,7 +3,7 @@ interface NotificationStoreState {
3
3
  snackPack: SnackbarMessage[];
4
4
  open: boolean;
5
5
  messageInfo?: SnackbarMessage;
6
- enqueue: (title: string | React.ReactNode, subtitle: string | React.ReactNode, severity: 'success' | 'error' | 'warning' | 'info', type: 'snack' | 'toast') => void;
6
+ setNotification: (title: string | React.ReactNode, subtitle: string | React.ReactNode, severity: 'success' | 'error' | 'warning' | 'info', type: 'snack' | 'toast') => 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;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"}
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,eAAe,EAAE,CACb,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"}
@@ -1 +1 @@
1
- {"version":3,"file":"NotificationADPRO.d.ts","sourceRoot":"","sources":["../../../../src/components/ToastNotificationADPRO/view/NotificationADPRO.tsx"],"names":[],"mappings":"AAmBA,eAAO,MAAM,iBAAiB,+CAkL7B,CAAC"}
1
+ {"version":3,"file":"NotificationADPRO.d.ts","sourceRoot":"","sources":["../../../../src/components/ToastNotificationADPRO/view/NotificationADPRO.tsx"],"names":[],"mappings":"AAkBA,eAAO,MAAM,iBAAiB,+CAsL7B,CAAC"}
@@ -1,7 +1,7 @@
1
1
  export * from './autocomplete';
2
- export * from './notification';
3
2
  export * from './multiSelectADPRO';
4
3
  export * from './EllipsisTooltip';
5
4
  export * from './datePicker';
6
5
  export * from './loadingADPRO';
6
+ export * from './ToastNotificationADPRO';
7
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,oBAAoB,CAAA;AAClC,cAAc,mBAAmB,CAAA;AACjC,cAAc,cAAc,CAAA;AAC5B,cAAc,gBAAgB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,oBAAoB,CAAA;AAClC,cAAc,mBAAmB,CAAA;AACjC,cAAc,cAAc,CAAA;AAC5B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,0BAA0B,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../src/main.tsx"],"names":[],"mappings":"AAgBA,eAAO,MAAM,KAAK,+CAgPjB,CAAA"}
1
+ {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../src/main.tsx"],"names":[],"mappings":"AAgBA,eAAO,MAAM,KAAK,+CAuPjB,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,iBAoE1B,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":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAMnE,eAAO,MAAM,YAAY,EAAE,iBAoE1B,CAAC;AAoBF,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.19",
3
+ "version": "0.0.22-rc.20",
4
4
  "author": "Joel Mateo Robles Atuesta",
5
5
  "main": "dist/adpro-react.cjs.js",
6
6
  "module": "dist/adpro-react.es.js",
@@ -1,13 +0,0 @@
1
- import { AlertColor } from '@mui/material';
2
- export interface ToastADPROProps {
3
- primaryMessage: string;
4
- secondaryMessage?: string;
5
- details?: string[];
6
- severity?: AlertColor;
7
- timeProgress?: number;
8
- customContent?: React.ReactNode;
9
- finishAction?: () => void;
10
- }
11
- export declare const ToastADPRO: (props: ToastADPROProps) => false | import("react/jsx-runtime").JSX.Element;
12
- export default ToastADPRO;
13
- //# sourceMappingURL=ToastADPRO.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ToastADPRO.d.ts","sourceRoot":"","sources":["../../../src/components/notification/ToastADPRO.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAS,UAAU,EAA6D,MAAM,eAAe,CAAC;AAI7G,MAAM,WAAW,eAAe;IAC5B,cAAc,EAAE,MAAM,CAAC;IACvB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,QAAQ,CAAC,EAAE,UAAU,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAChC,YAAY,CAAC,EAAE,MAAM,IAAI,CAAA;CAC5B;AAED,eAAO,MAAM,UAAU,GAAI,OAAO,eAAe,oDAyGhD,CAAA;AAED,eAAe,UAAU,CAAA"}
@@ -1,7 +0,0 @@
1
- import { ToastADPROProps } from './ToastADPRO';
2
- export interface ToastsContainerProps {
3
- elements: ToastADPROProps | ToastADPROProps[];
4
- }
5
- export declare const ToastsContainer: import('react').MemoExoticComponent<(props: ToastsContainerProps) => false | import("react/jsx-runtime").JSX.Element>;
6
- export default ToastsContainer;
7
- //# sourceMappingURL=ToastContainer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ToastContainer.d.ts","sourceRoot":"","sources":["../../../src/components/notification/ToastContainer.tsx"],"names":[],"mappings":"AAEA,OAAmB,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAC3D,MAAM,WAAW,oBAAoB;IACjC,QAAQ,EAAE,eAAe,GAAG,eAAe,EAAE,CAAA;CAChD;AACD,eAAO,MAAM,eAAe,8CAAgB,oBAAoB,qDAkC9D,CAAA;AAEF,eAAe,eAAe,CAAA"}
@@ -1,3 +0,0 @@
1
- export * from './ToastADPRO';
2
- export * from './ToastContainer';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/notification/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,kBAAkB,CAAA"}