@akinon/ui-notification 1.4.12 → 1.4.13-260708-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/dist/cjs/index.d.ts +1 -0
- package/dist/cjs/index.d.ts.map +1 -1
- package/dist/cjs/index.js +4 -0
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +4 -0
- package/package.json +2 -1
package/dist/cjs/index.d.ts
CHANGED
package/dist/cjs/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":"AAGA,OAAO,mCAAmC,CAAC;AAC3C,OAAO,aAAa,CAAC;AAIrB,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAGV,0BAA0B,EAC3B,MAAM,SAAS,CAAC;AAEjB,mBAAmB,SAAS,CAAC;AAE7B;;;;;;;;;;;GAWG;AAEH,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAClC,0BAA0B,CAoB3B,CAAC;AAEF,OAAO,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC"}
|
package/dist/cjs/index.js
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.notification = exports.Notifications = void 0;
|
|
4
|
+
// antd static APIs (notification.*) render nothing under React 19 without this patch.
|
|
5
|
+
// Idempotent and a behavioral no-op on React 18, so any mix of standalone packages
|
|
6
|
+
// and @akinon/ui-react is safe.
|
|
7
|
+
require("@ant-design/v5-patch-for-react-19");
|
|
4
8
|
require("./index.css");
|
|
5
9
|
const icons_1 = require("@akinon/icons");
|
|
6
10
|
const antd_1 = require("antd");
|
package/dist/esm/index.d.ts
CHANGED
package/dist/esm/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":"AAGA,OAAO,mCAAmC,CAAC;AAC3C,OAAO,aAAa,CAAC;AAIrB,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAGV,0BAA0B,EAC3B,MAAM,SAAS,CAAC;AAEjB,mBAAmB,SAAS,CAAC;AAE7B;;;;;;;;;;;GAWG;AAEH,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAClC,0BAA0B,CAoB3B,CAAC;AAEF,OAAO,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC"}
|
package/dist/esm/index.js
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
// antd static APIs (notification.*) render nothing under React 19 without this patch.
|
|
2
|
+
// Idempotent and a behavioral no-op on React 18, so any mix of standalone packages
|
|
3
|
+
// and @akinon/ui-react is safe.
|
|
4
|
+
import '@ant-design/v5-patch-for-react-19';
|
|
1
5
|
import './index.css';
|
|
2
6
|
import { Icon } from '@akinon/icons';
|
|
3
7
|
import { notification } from 'antd';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@akinon/ui-notification",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.13-260708-0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/esm/index.js",
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"dist"
|
|
10
10
|
],
|
|
11
11
|
"dependencies": {
|
|
12
|
+
"@ant-design/v5-patch-for-react-19": "^1.0.3",
|
|
12
13
|
"antd": "^5.27.0",
|
|
13
14
|
"@akinon/icons": "1.4.0"
|
|
14
15
|
},
|