@xsolla/xui-notification-panel 0.95.0 → 0.97.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.
Files changed (2) hide show
  1. package/README.md +28 -0
  2. package/package.json +5 -5
package/README.md ADDED
@@ -0,0 +1,28 @@
1
+ # @xsolla/xui-notification-panel
2
+
3
+ Full-width notification bar for displaying persistent inline feedback in page layouts.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ yarn add @xsolla/xui-notification-panel
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ ```tsx
14
+ import { NotificationPanel } from '@xsolla/xui-notification-panel';
15
+
16
+ <NotificationPanel
17
+ type="success"
18
+ title="Success!"
19
+ description="Your changes have been saved."
20
+ actionLabel="Undo"
21
+ actionProps={{ onPress: () => handleUndo() }}
22
+ onClose={() => dismiss()}
23
+ />
24
+ ```
25
+
26
+ ## Components
27
+
28
+ - `NotificationPanel` - Main notification panel component
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xsolla/xui-notification-panel",
3
- "version": "0.95.0",
3
+ "version": "0.97.0",
4
4
  "main": "./web/index.js",
5
5
  "module": "./web/index.mjs",
6
6
  "types": "./web/index.d.ts",
@@ -13,10 +13,10 @@
13
13
  "test:coverage": "vitest run --coverage"
14
14
  },
15
15
  "dependencies": {
16
- "@xsolla/xui-button": "0.95.0",
17
- "@xsolla/xui-core": "0.95.0",
18
- "@xsolla/xui-icons-base": "0.95.0",
19
- "@xsolla/xui-primitives-core": "0.95.0"
16
+ "@xsolla/xui-button": "0.97.0",
17
+ "@xsolla/xui-core": "0.97.0",
18
+ "@xsolla/xui-icons-base": "0.97.0",
19
+ "@xsolla/xui-primitives-core": "0.97.0"
20
20
  },
21
21
  "peerDependencies": {
22
22
  "react": ">=16.8.0",