x25 18.2.4 → 19.0.0
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/Modal/getComponent.d.ts +2 -2
- package/Modal/getComponent.js.map +1 -1
- package/Modal/types.d.ts +2 -2
- package/actions.d.ts +1 -2
- package/actions.js +1 -1
- package/actions.js.map +1 -1
- package/package.json +5 -5
package/Modal/getComponent.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const getComponent: (type: any) => (props: any) => JSX.Element;
|
|
1
|
+
import React from "react";
|
|
2
|
+
declare const getComponent: (type: any) => (props: any) => React.JSX.Element;
|
|
3
3
|
export default getComponent;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getComponent.js","sourceRoot":"","sources":["../../src/Modal/getComponent.tsx"],"names":[],"mappings":"AAAA,yDAAyD;AACzD,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,WAAW,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAElC,MAAM,eAAe,GAAG,GAAG,EAAE,CAAC,CAC1B,oBAAC,WAAW,IAAC,OAAO,EAAE,GAAG,EAAE,GAAE,CAAC,EAAE,KAAK,EAAC,gBAAgB;IACpD,oBAAC,YAAY,IAAC,OAAO,EAAC,yDAAyD,GAAG,CACtE,CACf;AAED,+BAA+B;AAC/B,YAAY,GAAG,CAAC,IAAS,
|
|
1
|
+
{"version":3,"file":"getComponent.js","sourceRoot":"","sources":["../../src/Modal/getComponent.tsx"],"names":[],"mappings":"AAAA,yDAAyD;AACzD,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,WAAW,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAElC,MAAM,eAAe,GAAG,GAAG,EAAE,CAAC,CAC1B,oBAAC,WAAW,IAAC,OAAO,EAAE,GAAG,EAAE,GAAE,CAAC,EAAE,KAAK,EAAC,gBAAgB;IACpD,oBAAC,YAAY,IAAC,OAAO,EAAC,yDAAyD,GAAG,CACtE,CACf;AAED,+BAA+B;AAC/B,YAAY,GAAG,CAAC,IAAS,EAAsC,EAAE;IAC/D,MAAM,SAAS,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC;IAEjC,IAAI,SAAS,KAAK,IAAI,EAAE,CAAC;QACvB,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,OAAO,eAAe,CAAC;AACzB,CAAC,CAAC;AAEJ,eAAe,YAAY,CAAC"}
|
package/Modal/types.d.ts
CHANGED
|
@@ -18,11 +18,11 @@ export type ModalWindowProps = CommonProps & {
|
|
|
18
18
|
customContent?: boolean;
|
|
19
19
|
title: string;
|
|
20
20
|
doNoPassTryToCloseToBody?: boolean;
|
|
21
|
-
children: JSX.Element;
|
|
21
|
+
children: React.JSX.Element;
|
|
22
22
|
};
|
|
23
23
|
export type ConfirmationModalProps = CommonProps & {
|
|
24
24
|
title?: string;
|
|
25
|
-
children?: JSX.Element;
|
|
25
|
+
children?: React.JSX.Element;
|
|
26
26
|
footerProps: FooterProps;
|
|
27
27
|
};
|
|
28
28
|
export type FooterProps = {
|
package/actions.d.ts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { Action } from "src/types";
|
|
3
2
|
type NotificationOptions = {
|
|
4
3
|
seconds?: number;
|
|
5
4
|
persistent?: boolean;
|
|
6
5
|
};
|
|
7
|
-
export declare const notify: (title: string | JSX.Element, options?: NotificationOptions) => any, notifyWarning: (title: string | JSX.Element, options?: NotificationOptions) => any, notifyError: (title: string | JSX.Element, options?: NotificationOptions) => any, showCaptcha: (payload: {
|
|
6
|
+
export declare const notify: (title: string | React.JSX.Element, options?: NotificationOptions) => any, notifyWarning: (title: string | React.JSX.Element, options?: NotificationOptions) => any, notifyError: (title: string | React.JSX.Element, options?: NotificationOptions) => any, showCaptcha: (payload: {
|
|
8
7
|
id: string;
|
|
9
8
|
name: string;
|
|
10
9
|
}) => Action, hideCaptcha: (payload: string) => Action;
|
package/actions.js
CHANGED
|
@@ -4,7 +4,7 @@ const autoDismissDelay = 6, msPerSecond = 1000, toMs = (sec) => sec * msPerSecon
|
|
|
4
4
|
const autoClose = (options === null || options === void 0 ? void 0 : options.persistent) ? false : toMs((_a = options === null || options === void 0 ? void 0 : options.seconds) !== null && _a !== void 0 ? _a : autoDismissDelay);
|
|
5
5
|
toast(title, {
|
|
6
6
|
type: level,
|
|
7
|
-
position: "
|
|
7
|
+
position: "top-center",
|
|
8
8
|
autoClose,
|
|
9
9
|
});
|
|
10
10
|
// Return a no-op action for Redux dispatch compatibility
|
package/actions.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.js","sourceRoot":"","sources":["../src/actions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAQvC,MACE,gBAAgB,GAAG,CAAC,EACpB,WAAW,GAAG,IAAI,EAClB,IAAI,GAAG,CAAC,GAAW,EAAE,EAAE,CAAC,GAAG,GAAG,WAAW,EACzC,kBAAkB,GAAG,CAAC,KAAsC,EAAE,EAAE,CAC9D,CAAC,
|
|
1
|
+
{"version":3,"file":"actions.js","sourceRoot":"","sources":["../src/actions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAQvC,MACE,gBAAgB,GAAG,CAAC,EACpB,WAAW,GAAG,IAAI,EAClB,IAAI,GAAG,CAAC,GAAW,EAAE,EAAE,CAAC,GAAG,GAAG,WAAW,EACzC,kBAAkB,GAAG,CAAC,KAAsC,EAAE,EAAE,CAC9D,CAAC,KAAiC,EAAE,OAA6B,EAAE,EAAE;;IACnE,MAAM,SAAS,GAAG,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,UAAU,EAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,OAAO,mCAAI,gBAAgB,CAAC,CAAC;IAE3F,KAAK,CAAC,KAAK,EAAE;QACX,IAAI,EAAO,KAAK;QAChB,QAAQ,EAAG,YAAY;QACvB,SAAS;KACV,CAAC,CAAC;IAEH,yDAAyD;IACzD,OAAO,EAAE,IAAI,EAAE,oBAAoB,EAAY,CAAC;AAClD,CAAC,CAAC;AAEN,MAAM,CAAC,MACL,MAAM,GAAG,kBAAkB,CAAC,SAAS,CAAC,EACtC,aAAa,GAAG,kBAAkB,CAAC,SAAS,CAAC,EAC7C,WAAW,GAAG,kBAAkB,CAAC,OAAO,CAAC;AAEzC,UAAU;AAEV,WAAW,GAAG,CAAC,OAGd,EAAU,EAAE,CAAC,CAAC;IACb,IAAI,EAAE,cAAc;IACpB,OAAO;CACR,CAAC,EACF,WAAW,GAAG,CAAC,OAAe,EAAU,EAAE,CAAC,CAAC;IAC1C,IAAI,EAAE,cAAc;IACpB,OAAO;CACR,CAAC,CAAC;AAEL,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "
|
|
2
|
+
"version": "19.0.0",
|
|
3
3
|
"name": "x25",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "x25",
|
|
@@ -137,15 +137,15 @@
|
|
|
137
137
|
},
|
|
138
138
|
"dependencies": {
|
|
139
139
|
"@reduxjs/toolkit": "^2.11.2",
|
|
140
|
-
"@types/react": "^
|
|
141
|
-
"@types/react-dom": "^
|
|
140
|
+
"@types/react": "^19.2.14",
|
|
141
|
+
"@types/react-dom": "^19.2.3",
|
|
142
142
|
"classnames": "^2.3.2",
|
|
143
143
|
"final-form": "^5.0.0",
|
|
144
144
|
"immutable": "^4.3.4",
|
|
145
145
|
"moment": "^2.29.4",
|
|
146
146
|
"rc-tooltip": "^5.3.1",
|
|
147
|
-
"react": "^
|
|
148
|
-
"react-dom": "^
|
|
147
|
+
"react": "^19.2.4",
|
|
148
|
+
"react-dom": "^19.2.4",
|
|
149
149
|
"react-final-form": "^7.0.0",
|
|
150
150
|
"react-immutable-form": "^1.1.11",
|
|
151
151
|
"react-immutable-form-with-bootstrap": "^1.0.13",
|