@inditextech/weave-react 5.4.1 → 5.6.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.
@@ -5285,7 +5285,7 @@ var drawChart = (function (exports) {
5285
5285
  </script>
5286
5286
  <script>
5287
5287
  /*<!--*/
5288
- const data = {"version":2,"tree":{"name":"root","children":[{"name":"react.d.ts","children":[{"name":"src","children":[{"name":"components","children":[{"uid":"6caf9a63-1","name":"provider.d.ts"},{"uid":"6caf9a63-7","name":"store.d.ts"}]},{"name":"hooks/events.d.ts","uid":"6caf9a63-9"},{"uid":"6caf9a63-11","name":"index.d.ts"}]},{"name":"home/runner/work/weavejs/weavejs/code/node_modules/zustand/esm","children":[{"uid":"6caf9a63-3","name":"vanilla.d.mts"},{"uid":"6caf9a63-5","name":"react.d.mts"}]}]},{"name":"react.js","children":[{"name":"home/runner/work/weavejs/weavejs/code/node_modules/zustand/esm","children":[{"uid":"6caf9a63-13","name":"vanilla.mjs"},{"uid":"6caf9a63-15","name":"react.mjs"}]},{"name":"src","children":[{"name":"components","children":[{"uid":"6caf9a63-17","name":"store.tsx"},{"uid":"6caf9a63-19","name":"provider.tsx"}]},{"name":"hooks/events.tsx","uid":"6caf9a63-21"},{"uid":"6caf9a63-23","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"6caf9a63-1":{"renderedLength":837,"gzipLength":305,"brotliLength":273,"metaUid":"6caf9a63-0"},"6caf9a63-3":{"renderedLength":562,"gzipLength":202,"brotliLength":178,"metaUid":"6caf9a63-2"},"6caf9a63-5":{"renderedLength":369,"gzipLength":200,"brotliLength":175,"metaUid":"6caf9a63-4"},"6caf9a63-7":{"renderedLength":1080,"gzipLength":255,"brotliLength":215,"metaUid":"6caf9a63-6"},"6caf9a63-9":{"renderedLength":92,"gzipLength":105,"brotliLength":79,"metaUid":"6caf9a63-8"},"6caf9a63-11":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"6caf9a63-10"},"6caf9a63-13":{"renderedLength":1019,"gzipLength":445,"brotliLength":387,"metaUid":"6caf9a63-12"},"6caf9a63-15":{"renderedLength":601,"gzipLength":305,"brotliLength":279,"metaUid":"6caf9a63-14"},"6caf9a63-17":{"renderedLength":3202,"gzipLength":816,"brotliLength":716,"metaUid":"6caf9a63-16"},"6caf9a63-19":{"renderedLength":5149,"gzipLength":1144,"brotliLength":966,"metaUid":"6caf9a63-18"},"6caf9a63-21":{"renderedLength":3389,"gzipLength":740,"brotliLength":653,"metaUid":"6caf9a63-20"},"6caf9a63-23":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"6caf9a63-22"}},"nodeMetas":{"6caf9a63-0":{"id":"/src/components/provider.d.ts","moduleParts":{"react.d.ts":"6caf9a63-1"},"imported":[{"uid":"6caf9a63-24"},{"uid":"6caf9a63-25"},{"uid":"6caf9a63-26"}],"importedBy":[{"uid":"6caf9a63-10"}]},"6caf9a63-2":{"id":"/home/runner/work/weavejs/weavejs/code/node_modules/zustand/esm/vanilla.d.mts","moduleParts":{"react.d.ts":"6caf9a63-3"},"imported":[],"importedBy":[{"uid":"6caf9a63-27"},{"uid":"6caf9a63-4"}]},"6caf9a63-4":{"id":"/home/runner/work/weavejs/weavejs/code/node_modules/zustand/esm/react.d.mts","moduleParts":{"react.d.ts":"6caf9a63-5"},"imported":[{"uid":"6caf9a63-2"}],"importedBy":[{"uid":"6caf9a63-27"}]},"6caf9a63-6":{"id":"/src/components/store.d.ts","moduleParts":{"react.d.ts":"6caf9a63-7"},"imported":[{"uid":"6caf9a63-25"},{"uid":"6caf9a63-26"},{"uid":"6caf9a63-27"}],"importedBy":[{"uid":"6caf9a63-10"}]},"6caf9a63-8":{"id":"/src/hooks/events.d.ts","moduleParts":{"react.d.ts":"6caf9a63-9"},"imported":[],"importedBy":[{"uid":"6caf9a63-10"}]},"6caf9a63-10":{"id":"/src/index.d.ts","moduleParts":{"react.d.ts":"6caf9a63-11"},"imported":[{"uid":"6caf9a63-0"},{"uid":"6caf9a63-6"},{"uid":"6caf9a63-8"}],"importedBy":[],"isEntry":true},"6caf9a63-12":{"id":"/home/runner/work/weavejs/weavejs/code/node_modules/zustand/esm/vanilla.mjs","moduleParts":{"react.js":"6caf9a63-13"},"imported":[],"importedBy":[{"uid":"6caf9a63-28"},{"uid":"6caf9a63-14"}]},"6caf9a63-14":{"id":"/home/runner/work/weavejs/weavejs/code/node_modules/zustand/esm/react.mjs","moduleParts":{"react.js":"6caf9a63-15"},"imported":[{"uid":"6caf9a63-24"},{"uid":"6caf9a63-12"}],"importedBy":[{"uid":"6caf9a63-28"}]},"6caf9a63-16":{"id":"/src/components/store.tsx","moduleParts":{"react.js":"6caf9a63-17"},"imported":[{"uid":"6caf9a63-25"},{"uid":"6caf9a63-26"},{"uid":"6caf9a63-28"}],"importedBy":[{"uid":"6caf9a63-22"},{"uid":"6caf9a63-18"},{"uid":"6caf9a63-20"}]},"6caf9a63-18":{"id":"/src/components/provider.tsx","moduleParts":{"react.js":"6caf9a63-19"},"imported":[{"uid":"6caf9a63-24"},{"uid":"6caf9a63-25"},{"uid":"6caf9a63-26"},{"uid":"6caf9a63-16"}],"importedBy":[{"uid":"6caf9a63-22"}]},"6caf9a63-20":{"id":"/src/hooks/events.tsx","moduleParts":{"react.js":"6caf9a63-21"},"imported":[{"uid":"6caf9a63-16"},{"uid":"6caf9a63-24"}],"importedBy":[{"uid":"6caf9a63-22"}]},"6caf9a63-22":{"id":"/src/index.ts","moduleParts":{"react.js":"6caf9a63-23"},"imported":[{"uid":"6caf9a63-18"},{"uid":"6caf9a63-16"},{"uid":"6caf9a63-20"}],"importedBy":[],"isEntry":true},"6caf9a63-24":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"6caf9a63-0"},{"uid":"6caf9a63-18"},{"uid":"6caf9a63-20"},{"uid":"6caf9a63-14"}]},"6caf9a63-25":{"id":"@inditextech/weave-sdk","moduleParts":{},"imported":[],"importedBy":[{"uid":"6caf9a63-0"},{"uid":"6caf9a63-6"},{"uid":"6caf9a63-18"},{"uid":"6caf9a63-16"}]},"6caf9a63-26":{"id":"@inditextech/weave-types","moduleParts":{},"imported":[],"importedBy":[{"uid":"6caf9a63-0"},{"uid":"6caf9a63-6"},{"uid":"6caf9a63-18"},{"uid":"6caf9a63-16"}]},"6caf9a63-27":{"id":"/home/runner/work/weavejs/weavejs/code/node_modules/zustand/esm/index.d.mts","moduleParts":{},"imported":[{"uid":"6caf9a63-2"},{"uid":"6caf9a63-4"}],"importedBy":[{"uid":"6caf9a63-6"}]},"6caf9a63-28":{"id":"/home/runner/work/weavejs/weavejs/code/node_modules/zustand/esm/index.mjs","moduleParts":{},"imported":[{"uid":"6caf9a63-12"},{"uid":"6caf9a63-14"}],"importedBy":[{"uid":"6caf9a63-16"}]}},"env":{"rollup":"4.23.0"},"options":{"gzip":true,"brotli":true,"sourcemap":false}};
5288
+ const data = {"version":2,"tree":{"name":"root","children":[{"name":"react.d.ts","children":[{"name":"src","children":[{"name":"components","children":[{"uid":"9eacf5e4-1","name":"provider.d.ts"},{"uid":"9eacf5e4-7","name":"store.d.ts"}]},{"name":"hooks/events.d.ts","uid":"9eacf5e4-9"},{"uid":"9eacf5e4-11","name":"index.d.ts"}]},{"name":"home/runner/work/weavejs/weavejs/code/node_modules/zustand/esm","children":[{"uid":"9eacf5e4-3","name":"vanilla.d.mts"},{"uid":"9eacf5e4-5","name":"react.d.mts"}]}]},{"name":"react.js","children":[{"name":"home/runner/work/weavejs/weavejs/code/node_modules/zustand/esm","children":[{"uid":"9eacf5e4-13","name":"vanilla.mjs"},{"uid":"9eacf5e4-15","name":"react.mjs"}]},{"name":"src","children":[{"name":"components","children":[{"uid":"9eacf5e4-17","name":"store.tsx"},{"uid":"9eacf5e4-19","name":"provider.tsx"}]},{"name":"hooks/events.tsx","uid":"9eacf5e4-21"},{"uid":"9eacf5e4-23","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"9eacf5e4-1":{"renderedLength":837,"gzipLength":305,"brotliLength":273,"metaUid":"9eacf5e4-0"},"9eacf5e4-3":{"renderedLength":559,"gzipLength":201,"brotliLength":177,"metaUid":"9eacf5e4-2"},"9eacf5e4-5":{"renderedLength":370,"gzipLength":201,"brotliLength":175,"metaUid":"9eacf5e4-4"},"9eacf5e4-7":{"renderedLength":1080,"gzipLength":255,"brotliLength":215,"metaUid":"9eacf5e4-6"},"9eacf5e4-9":{"renderedLength":92,"gzipLength":105,"brotliLength":79,"metaUid":"9eacf5e4-8"},"9eacf5e4-11":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"9eacf5e4-10"},"9eacf5e4-13":{"renderedLength":1019,"gzipLength":445,"brotliLength":387,"metaUid":"9eacf5e4-12"},"9eacf5e4-15":{"renderedLength":601,"gzipLength":305,"brotliLength":279,"metaUid":"9eacf5e4-14"},"9eacf5e4-17":{"renderedLength":3202,"gzipLength":816,"brotliLength":716,"metaUid":"9eacf5e4-16"},"9eacf5e4-19":{"renderedLength":5149,"gzipLength":1144,"brotliLength":966,"metaUid":"9eacf5e4-18"},"9eacf5e4-21":{"renderedLength":3389,"gzipLength":740,"brotliLength":653,"metaUid":"9eacf5e4-20"},"9eacf5e4-23":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"9eacf5e4-22"}},"nodeMetas":{"9eacf5e4-0":{"id":"/src/components/provider.d.ts","moduleParts":{"react.d.ts":"9eacf5e4-1"},"imported":[{"uid":"9eacf5e4-24"},{"uid":"9eacf5e4-25"},{"uid":"9eacf5e4-26"}],"importedBy":[{"uid":"9eacf5e4-10"}]},"9eacf5e4-2":{"id":"/home/runner/work/weavejs/weavejs/code/node_modules/zustand/esm/vanilla.d.mts","moduleParts":{"react.d.ts":"9eacf5e4-3"},"imported":[],"importedBy":[{"uid":"9eacf5e4-27"},{"uid":"9eacf5e4-4"}]},"9eacf5e4-4":{"id":"/home/runner/work/weavejs/weavejs/code/node_modules/zustand/esm/react.d.mts","moduleParts":{"react.d.ts":"9eacf5e4-5"},"imported":[{"uid":"9eacf5e4-2"}],"importedBy":[{"uid":"9eacf5e4-27"}]},"9eacf5e4-6":{"id":"/src/components/store.d.ts","moduleParts":{"react.d.ts":"9eacf5e4-7"},"imported":[{"uid":"9eacf5e4-25"},{"uid":"9eacf5e4-26"},{"uid":"9eacf5e4-27"}],"importedBy":[{"uid":"9eacf5e4-10"}]},"9eacf5e4-8":{"id":"/src/hooks/events.d.ts","moduleParts":{"react.d.ts":"9eacf5e4-9"},"imported":[],"importedBy":[{"uid":"9eacf5e4-10"}]},"9eacf5e4-10":{"id":"/src/index.d.ts","moduleParts":{"react.d.ts":"9eacf5e4-11"},"imported":[{"uid":"9eacf5e4-0"},{"uid":"9eacf5e4-6"},{"uid":"9eacf5e4-8"}],"importedBy":[],"isEntry":true},"9eacf5e4-12":{"id":"/home/runner/work/weavejs/weavejs/code/node_modules/zustand/esm/vanilla.mjs","moduleParts":{"react.js":"9eacf5e4-13"},"imported":[],"importedBy":[{"uid":"9eacf5e4-28"},{"uid":"9eacf5e4-14"}]},"9eacf5e4-14":{"id":"/home/runner/work/weavejs/weavejs/code/node_modules/zustand/esm/react.mjs","moduleParts":{"react.js":"9eacf5e4-15"},"imported":[{"uid":"9eacf5e4-24"},{"uid":"9eacf5e4-12"}],"importedBy":[{"uid":"9eacf5e4-28"}]},"9eacf5e4-16":{"id":"/src/components/store.tsx","moduleParts":{"react.js":"9eacf5e4-17"},"imported":[{"uid":"9eacf5e4-25"},{"uid":"9eacf5e4-26"},{"uid":"9eacf5e4-28"}],"importedBy":[{"uid":"9eacf5e4-22"},{"uid":"9eacf5e4-18"},{"uid":"9eacf5e4-20"}]},"9eacf5e4-18":{"id":"/src/components/provider.tsx","moduleParts":{"react.js":"9eacf5e4-19"},"imported":[{"uid":"9eacf5e4-24"},{"uid":"9eacf5e4-25"},{"uid":"9eacf5e4-26"},{"uid":"9eacf5e4-16"}],"importedBy":[{"uid":"9eacf5e4-22"}]},"9eacf5e4-20":{"id":"/src/hooks/events.tsx","moduleParts":{"react.js":"9eacf5e4-21"},"imported":[{"uid":"9eacf5e4-16"},{"uid":"9eacf5e4-24"}],"importedBy":[{"uid":"9eacf5e4-22"}]},"9eacf5e4-22":{"id":"/src/index.ts","moduleParts":{"react.js":"9eacf5e4-23"},"imported":[{"uid":"9eacf5e4-18"},{"uid":"9eacf5e4-16"},{"uid":"9eacf5e4-20"}],"importedBy":[],"isEntry":true},"9eacf5e4-24":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"9eacf5e4-0"},{"uid":"9eacf5e4-18"},{"uid":"9eacf5e4-20"},{"uid":"9eacf5e4-14"}]},"9eacf5e4-25":{"id":"@inditextech/weave-sdk","moduleParts":{},"imported":[],"importedBy":[{"uid":"9eacf5e4-0"},{"uid":"9eacf5e4-6"},{"uid":"9eacf5e4-18"},{"uid":"9eacf5e4-16"}]},"9eacf5e4-26":{"id":"@inditextech/weave-types","moduleParts":{},"imported":[],"importedBy":[{"uid":"9eacf5e4-0"},{"uid":"9eacf5e4-6"},{"uid":"9eacf5e4-18"},{"uid":"9eacf5e4-16"}]},"9eacf5e4-27":{"id":"/home/runner/work/weavejs/weavejs/code/node_modules/zustand/esm/index.d.mts","moduleParts":{},"imported":[{"uid":"9eacf5e4-2"},{"uid":"9eacf5e4-4"}],"importedBy":[{"uid":"9eacf5e4-6"}]},"9eacf5e4-28":{"id":"/home/runner/work/weavejs/weavejs/code/node_modules/zustand/esm/index.mjs","moduleParts":{},"imported":[{"uid":"9eacf5e4-12"},{"uid":"9eacf5e4-14"}],"importedBy":[{"uid":"9eacf5e4-16"}]}},"env":{"rollup":"4.23.0"},"options":{"gzip":true,"brotli":true,"sourcemap":false}};
5289
5289
 
5290
5290
  const run = () => {
5291
5291
  const width = window.innerWidth;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inditextech/weave-react",
3
- "version": "5.4.1",
3
+ "version": "5.6.0",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Jesus Manuel Piñeiro Cid <jesusmpc@inditex.com>",
@@ -15,8 +15,9 @@
15
15
  }
16
16
  ],
17
17
  "exports": {
18
+ "types": "./dist/react.d.ts",
18
19
  "import": "./dist/react.js",
19
- "require": "./dist/react.cjs"
20
+ "default": "./dist/react.js"
20
21
  },
21
22
  "types": "dist/react.d.ts",
22
23
  "files": [
@@ -46,8 +47,8 @@
46
47
  "version:release": "npm version $RELEASE_VERSION -m \"[npm-scripts] prepare release $RELEASE_VERSION\" --tag-version-prefix \"\""
47
48
  },
48
49
  "dependencies": {
49
- "@inditextech/weave-sdk": "5.4.1",
50
- "@inditextech/weave-types": "5.4.1"
50
+ "@inditextech/weave-sdk": "5.6.0",
51
+ "@inditextech/weave-types": "5.6.0"
51
52
  },
52
53
  "devDependencies": {
53
54
  "@testing-library/jest-dom": "^6.9.1",
@@ -56,8 +57,8 @@
56
57
  "@typescript-eslint/eslint-plugin": "8.26.0",
57
58
  "@typescript-eslint/parser": "8.26.0",
58
59
  "@vitejs/plugin-react": "4.3.4",
59
- "@vitest/coverage-v8": "^3.2.6",
60
- "@vitest/ui": "^3.2.6",
60
+ "@vitest/coverage-v8": "^4.1.12",
61
+ "@vitest/ui": "^4.1.12",
61
62
  "eslint": "8.57.1",
62
63
  "eslint-plugin-react": "7.34.1",
63
64
  "eslint-plugin-react-hooks": "^4.6.2",
@@ -66,7 +67,7 @@
66
67
  "rollup-plugin-visualizer": "^7.0.1",
67
68
  "tsdown": "0.22.14",
68
69
  "typescript-eslint": "8.22.0",
69
- "vitest": "^3.2.6",
70
+ "vitest": "^4.1.12",
70
71
  "vitest-canvas-mock": "^1.1.4",
71
72
  "vitest-sonar-reporter": "^3.0.0",
72
73
  "zustand": "5.0.3"