@canvas-components/react-pivot-table 0.2.25 → 0.2.27

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/index.cjs CHANGED
@@ -1005,12 +1005,14 @@ function DataFormatMenu(props) {
1005
1005
  }
1006
1006
  function PivotExportNameDialog({
1007
1007
  request,
1008
- onClose
1008
+ onClose,
1009
+ storageKey
1009
1010
  }) {
1010
1011
  return /* @__PURE__ */ jsxRuntime.jsx(
1011
1012
  reactListTable.ReactListTableExportNameDialog,
1012
1013
  {
1013
1014
  request,
1015
+ storageKey,
1014
1016
  onClose,
1015
1017
  renderTable: (props) => /* @__PURE__ */ jsxRuntime.jsx(reactListTable.ReactListTable, { ...props })
1016
1018
  }
@@ -2535,6 +2537,7 @@ function ReactPivotTableInner(props, ref) {
2535
2537
  PivotExportNameDialog,
2536
2538
  {
2537
2539
  request: exportNameRequest,
2540
+ storageKey: customizationOptions?.storageKey ? `pivot:${customizationOptions.storageKey}` : void 0,
2538
2541
  onClose: () => setExportNameRequest(null)
2539
2542
  }
2540
2543
  ) : null,
package/dist/index.js CHANGED
@@ -1003,12 +1003,14 @@ function DataFormatMenu(props) {
1003
1003
  }
1004
1004
  function PivotExportNameDialog({
1005
1005
  request,
1006
- onClose
1006
+ onClose,
1007
+ storageKey
1007
1008
  }) {
1008
1009
  return /* @__PURE__ */ jsx(
1009
1010
  ReactListTableExportNameDialog,
1010
1011
  {
1011
1012
  request,
1013
+ storageKey,
1012
1014
  onClose,
1013
1015
  renderTable: (props) => /* @__PURE__ */ jsx(ReactListTable, { ...props })
1014
1016
  }
@@ -2533,6 +2535,7 @@ function ReactPivotTableInner(props, ref) {
2533
2535
  PivotExportNameDialog,
2534
2536
  {
2535
2537
  request: exportNameRequest,
2538
+ storageKey: customizationOptions?.storageKey ? `pivot:${customizationOptions.storageKey}` : void 0,
2536
2539
  onClose: () => setExportNameRequest(null)
2537
2540
  }
2538
2541
  ) : null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@canvas-components/react-pivot-table",
3
- "version": "0.2.25",
3
+ "version": "0.2.27",
4
4
  "description": "React adapter for the pivot table core engine.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -28,10 +28,10 @@
28
28
  "pnpm": ">=9.0.0"
29
29
  },
30
30
  "dependencies": {
31
+ "@canvas-components/pivot-table": "0.2.13",
31
32
  "@canvas-components/chart": "0.3.7",
32
33
  "@canvas-components/react-components": "0.3.16",
33
- "@canvas-components/pivot-table": "0.2.13",
34
- "@canvas-components/react-list-table": "0.3.36"
34
+ "@canvas-components/react-list-table": "0.3.38"
35
35
  },
36
36
  "peerDependencies": {
37
37
  "react": ">=16.8.0",