@rytass/wms-map-react-components 0.1.3 → 0.1.4

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 +1 -1
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -57,7 +57,7 @@ export default App;
57
57
  | `onNodeClick` | `(nodeInfo: WmsNodeClickInfo) => void` | - | Called when a node is clicked |
58
58
  | `onSave` | `(mapData: Map) => void` | - | Called when save button is clicked |
59
59
  | `onBreadcrumbClick` | `(warehouseId: string, index: number) => void` | - | Called when breadcrumb is clicked |
60
- | `onWarehouseNameEdit` | `(warehouseId: string, newName: string, index: number) => void` | - | Called when warehouse name is edited |
60
+ | `onNameChange` | `(name: string) => Promise<void>` | - | Called when warehouse name is changed |
61
61
  | `initialNodes` | `any[]` | `[]` | Initial nodes for the canvas |
62
62
  | `initialEdges` | `any[]` | `[]` | Initial edges for the canvas |
63
63
  | `debugMode` | `boolean` | `false` | Enable debug logging |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rytass/wms-map-react-components",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "Rytass Warehouse Management System Map React Components",
5
5
  "keywords": [
6
6
  "rytass",
@@ -19,7 +19,7 @@
19
19
  "url": "https://github.com/Rytass/Utils/issues"
20
20
  },
21
21
  "dependencies": {
22
- "@xyflow/react": "^12.10.0"
22
+ "@xyflow/react": "^12.10.1"
23
23
  },
24
24
  "peerDependencies": {
25
25
  "@mezzanine-ui/react": "*",
@@ -29,9 +29,9 @@
29
29
  "react-hook-form": "*"
30
30
  },
31
31
  "devDependencies": {
32
- "@storybook/addon-docs": "^10.1.4",
33
- "@storybook/react-vite": "^10.1.4",
34
- "storybook": "^10.1.4"
32
+ "@storybook/addon-docs": "^10.2.11",
33
+ "@storybook/react-vite": "^10.2.11",
34
+ "storybook": "^10.2.11"
35
35
  },
36
36
  "main": "./index.cjs.js",
37
37
  "module": "./index.js",