@inditextech/weave-react 5.1.0-SNAPSHOT.424.1 → 5.1.0-SNAPSHOT.426.1

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/react.d.ts CHANGED
@@ -1,12 +1,12 @@
1
1
  import React from "react";
2
- import { Weave, WeaveAction, WeaveConnectedUsers, WeaveNode, WeavePerformanceConfig, WeavePlugin, WeaveRenderer, WeaveStore } from "@inditextech/weave-sdk";
2
+ import { Weave, WeaveAction, WeaveConnectedUsers, WeaveFontsPreloadFunction, WeaveNode, WeavePerformanceConfig, WeavePlugin, WeaveRenderer, WeaveStore } from "@inditextech/weave-sdk";
3
3
  import { WeaveChildLoggerLevel, WeaveFont, WeaveSelection, WeaveState, WeaveStateElement, WeaveStatus } from "@inditextech/weave-types";
4
4
  import { StoreApi, UseBoundStore } from "zustand";
5
5
 
6
6
  //#region src/components/provider.d.ts
7
7
  type WeaveProviderType = {
8
8
  getContainer: () => HTMLElement;
9
- fonts?: WeaveFont[] | (() => Promise<WeaveFont[]>);
9
+ fonts?: WeaveFont[] | WeaveFontsPreloadFunction;
10
10
  store: WeaveStore;
11
11
  renderer: WeaveRenderer;
12
12
  nodes?: WeaveNode[];
@@ -4930,7 +4930,7 @@ var drawChart = (function (exports) {
4930
4930
  </script>
4931
4931
  <script>
4932
4932
  /*<!--*/
4933
- const data = {"version":2,"tree":{"name":"root","children":[{"name":"react.d.ts","children":[{"name":"src","children":[{"name":"components","children":[{"uid":"4da7cf6b-1","name":"provider.d.ts"},{"uid":"4da7cf6b-3","name":"store.d.ts"}]},{"name":"hooks/events.d.ts","uid":"4da7cf6b-5"},{"uid":"4da7cf6b-7","name":"index.d.ts"}]}]},{"name":"react.js","children":[{"name":"home/runner/work/weavejs/weavejs/code/node_modules/zustand/esm","children":[{"uid":"4da7cf6b-9","name":"vanilla.mjs"},{"uid":"4da7cf6b-11","name":"react.mjs"}]},{"name":"src","children":[{"name":"components","children":[{"uid":"4da7cf6b-13","name":"store.tsx"},{"uid":"4da7cf6b-15","name":"provider.tsx"}]},{"name":"hooks/events.tsx","uid":"4da7cf6b-17"},{"uid":"4da7cf6b-19","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"4da7cf6b-1":{"renderedLength":622,"gzipLength":278,"brotliLength":227,"metaUid":"4da7cf6b-0"},"4da7cf6b-3":{"renderedLength":569,"gzipLength":220,"brotliLength":174,"metaUid":"4da7cf6b-2"},"4da7cf6b-5":{"renderedLength":71,"gzipLength":84,"brotliLength":74,"metaUid":"4da7cf6b-4"},"4da7cf6b-7":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"4da7cf6b-6"},"4da7cf6b-9":{"renderedLength":1019,"gzipLength":445,"brotliLength":387,"metaUid":"4da7cf6b-8"},"4da7cf6b-11":{"renderedLength":601,"gzipLength":305,"brotliLength":279,"metaUid":"4da7cf6b-10"},"4da7cf6b-13":{"renderedLength":3202,"gzipLength":816,"brotliLength":716,"metaUid":"4da7cf6b-12"},"4da7cf6b-15":{"renderedLength":5746,"gzipLength":1206,"brotliLength":1029,"metaUid":"4da7cf6b-14"},"4da7cf6b-17":{"renderedLength":3861,"gzipLength":811,"brotliLength":741,"metaUid":"4da7cf6b-16"},"4da7cf6b-19":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"4da7cf6b-18"}},"nodeMetas":{"4da7cf6b-0":{"id":"/src/components/provider.d.ts","moduleParts":{"react.d.ts":"4da7cf6b-1"},"imported":[{"uid":"4da7cf6b-20"},{"uid":"4da7cf6b-21"},{"uid":"4da7cf6b-22"}],"importedBy":[{"uid":"4da7cf6b-6"}]},"4da7cf6b-2":{"id":"/src/components/store.d.ts","moduleParts":{"react.d.ts":"4da7cf6b-3"},"imported":[{"uid":"4da7cf6b-21"},{"uid":"4da7cf6b-22"},{"uid":"4da7cf6b-23"}],"importedBy":[{"uid":"4da7cf6b-6"}]},"4da7cf6b-4":{"id":"/src/hooks/events.d.ts","moduleParts":{"react.d.ts":"4da7cf6b-5"},"imported":[],"importedBy":[{"uid":"4da7cf6b-6"}]},"4da7cf6b-6":{"id":"/src/index.d.ts","moduleParts":{"react.d.ts":"4da7cf6b-7"},"imported":[{"uid":"4da7cf6b-0"},{"uid":"4da7cf6b-2"},{"uid":"4da7cf6b-4"}],"importedBy":[],"isEntry":true},"4da7cf6b-8":{"id":"/home/runner/work/weavejs/weavejs/code/node_modules/zustand/esm/vanilla.mjs","moduleParts":{"react.js":"4da7cf6b-9"},"imported":[],"importedBy":[{"uid":"4da7cf6b-24"},{"uid":"4da7cf6b-10"}]},"4da7cf6b-10":{"id":"/home/runner/work/weavejs/weavejs/code/node_modules/zustand/esm/react.mjs","moduleParts":{"react.js":"4da7cf6b-11"},"imported":[{"uid":"4da7cf6b-20"},{"uid":"4da7cf6b-8"}],"importedBy":[{"uid":"4da7cf6b-24"}]},"4da7cf6b-12":{"id":"/src/components/store.tsx","moduleParts":{"react.js":"4da7cf6b-13"},"imported":[{"uid":"4da7cf6b-21"},{"uid":"4da7cf6b-22"},{"uid":"4da7cf6b-24"}],"importedBy":[{"uid":"4da7cf6b-18"},{"uid":"4da7cf6b-14"},{"uid":"4da7cf6b-16"}]},"4da7cf6b-14":{"id":"/src/components/provider.tsx","moduleParts":{"react.js":"4da7cf6b-15"},"imported":[{"uid":"4da7cf6b-20"},{"uid":"4da7cf6b-21"},{"uid":"4da7cf6b-22"},{"uid":"4da7cf6b-12"}],"importedBy":[{"uid":"4da7cf6b-18"}]},"4da7cf6b-16":{"id":"/src/hooks/events.tsx","moduleParts":{"react.js":"4da7cf6b-17"},"imported":[{"uid":"4da7cf6b-12"},{"uid":"4da7cf6b-20"}],"importedBy":[{"uid":"4da7cf6b-18"}]},"4da7cf6b-18":{"id":"/src/index.ts","moduleParts":{"react.js":"4da7cf6b-19"},"imported":[{"uid":"4da7cf6b-14"},{"uid":"4da7cf6b-12"},{"uid":"4da7cf6b-16"}],"importedBy":[],"isEntry":true},"4da7cf6b-20":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"4da7cf6b-0"},{"uid":"4da7cf6b-14"},{"uid":"4da7cf6b-16"},{"uid":"4da7cf6b-10"}]},"4da7cf6b-21":{"id":"@inditextech/weave-sdk","moduleParts":{},"imported":[],"importedBy":[{"uid":"4da7cf6b-0"},{"uid":"4da7cf6b-2"},{"uid":"4da7cf6b-14"},{"uid":"4da7cf6b-12"}]},"4da7cf6b-22":{"id":"@inditextech/weave-types","moduleParts":{},"imported":[],"importedBy":[{"uid":"4da7cf6b-0"},{"uid":"4da7cf6b-2"},{"uid":"4da7cf6b-14"},{"uid":"4da7cf6b-12"}]},"4da7cf6b-23":{"id":"zustand","moduleParts":{},"imported":[],"importedBy":[{"uid":"4da7cf6b-2"}]},"4da7cf6b-24":{"id":"/home/runner/work/weavejs/weavejs/code/node_modules/zustand/esm/index.mjs","moduleParts":{},"imported":[{"uid":"4da7cf6b-8"},{"uid":"4da7cf6b-10"}],"importedBy":[{"uid":"4da7cf6b-12"}]}},"env":{"rollup":"4.23.0"},"options":{"gzip":true,"brotli":true,"sourcemap":false}};
4933
+ const data = {"version":2,"tree":{"name":"root","children":[{"name":"react.d.ts","children":[{"name":"src","children":[{"name":"components","children":[{"uid":"2e93aad1-1","name":"provider.d.ts"},{"uid":"2e93aad1-3","name":"store.d.ts"}]},{"name":"hooks/events.d.ts","uid":"2e93aad1-5"},{"uid":"2e93aad1-7","name":"index.d.ts"}]}]},{"name":"react.js","children":[{"name":"home/runner/work/weavejs/weavejs/code/node_modules/zustand/esm","children":[{"uid":"2e93aad1-9","name":"vanilla.mjs"},{"uid":"2e93aad1-11","name":"react.mjs"}]},{"name":"src","children":[{"name":"components","children":[{"uid":"2e93aad1-13","name":"store.tsx"},{"uid":"2e93aad1-15","name":"provider.tsx"}]},{"name":"hooks/events.tsx","uid":"2e93aad1-17"},{"uid":"2e93aad1-19","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"2e93aad1-1":{"renderedLength":622,"gzipLength":282,"brotliLength":239,"metaUid":"2e93aad1-0"},"2e93aad1-3":{"renderedLength":569,"gzipLength":220,"brotliLength":174,"metaUid":"2e93aad1-2"},"2e93aad1-5":{"renderedLength":71,"gzipLength":84,"brotliLength":74,"metaUid":"2e93aad1-4"},"2e93aad1-7":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"2e93aad1-6"},"2e93aad1-9":{"renderedLength":1019,"gzipLength":445,"brotliLength":387,"metaUid":"2e93aad1-8"},"2e93aad1-11":{"renderedLength":601,"gzipLength":305,"brotliLength":279,"metaUid":"2e93aad1-10"},"2e93aad1-13":{"renderedLength":3202,"gzipLength":816,"brotliLength":716,"metaUid":"2e93aad1-12"},"2e93aad1-15":{"renderedLength":5746,"gzipLength":1206,"brotliLength":1029,"metaUid":"2e93aad1-14"},"2e93aad1-17":{"renderedLength":3861,"gzipLength":811,"brotliLength":741,"metaUid":"2e93aad1-16"},"2e93aad1-19":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"2e93aad1-18"}},"nodeMetas":{"2e93aad1-0":{"id":"/src/components/provider.d.ts","moduleParts":{"react.d.ts":"2e93aad1-1"},"imported":[{"uid":"2e93aad1-20"},{"uid":"2e93aad1-21"},{"uid":"2e93aad1-22"}],"importedBy":[{"uid":"2e93aad1-6"}]},"2e93aad1-2":{"id":"/src/components/store.d.ts","moduleParts":{"react.d.ts":"2e93aad1-3"},"imported":[{"uid":"2e93aad1-21"},{"uid":"2e93aad1-22"},{"uid":"2e93aad1-23"}],"importedBy":[{"uid":"2e93aad1-6"}]},"2e93aad1-4":{"id":"/src/hooks/events.d.ts","moduleParts":{"react.d.ts":"2e93aad1-5"},"imported":[],"importedBy":[{"uid":"2e93aad1-6"}]},"2e93aad1-6":{"id":"/src/index.d.ts","moduleParts":{"react.d.ts":"2e93aad1-7"},"imported":[{"uid":"2e93aad1-0"},{"uid":"2e93aad1-2"},{"uid":"2e93aad1-4"}],"importedBy":[],"isEntry":true},"2e93aad1-8":{"id":"/home/runner/work/weavejs/weavejs/code/node_modules/zustand/esm/vanilla.mjs","moduleParts":{"react.js":"2e93aad1-9"},"imported":[],"importedBy":[{"uid":"2e93aad1-24"},{"uid":"2e93aad1-10"}]},"2e93aad1-10":{"id":"/home/runner/work/weavejs/weavejs/code/node_modules/zustand/esm/react.mjs","moduleParts":{"react.js":"2e93aad1-11"},"imported":[{"uid":"2e93aad1-20"},{"uid":"2e93aad1-8"}],"importedBy":[{"uid":"2e93aad1-24"}]},"2e93aad1-12":{"id":"/src/components/store.tsx","moduleParts":{"react.js":"2e93aad1-13"},"imported":[{"uid":"2e93aad1-21"},{"uid":"2e93aad1-22"},{"uid":"2e93aad1-24"}],"importedBy":[{"uid":"2e93aad1-18"},{"uid":"2e93aad1-14"},{"uid":"2e93aad1-16"}]},"2e93aad1-14":{"id":"/src/components/provider.tsx","moduleParts":{"react.js":"2e93aad1-15"},"imported":[{"uid":"2e93aad1-20"},{"uid":"2e93aad1-21"},{"uid":"2e93aad1-22"},{"uid":"2e93aad1-12"}],"importedBy":[{"uid":"2e93aad1-18"}]},"2e93aad1-16":{"id":"/src/hooks/events.tsx","moduleParts":{"react.js":"2e93aad1-17"},"imported":[{"uid":"2e93aad1-12"},{"uid":"2e93aad1-20"}],"importedBy":[{"uid":"2e93aad1-18"}]},"2e93aad1-18":{"id":"/src/index.ts","moduleParts":{"react.js":"2e93aad1-19"},"imported":[{"uid":"2e93aad1-14"},{"uid":"2e93aad1-12"},{"uid":"2e93aad1-16"}],"importedBy":[],"isEntry":true},"2e93aad1-20":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"2e93aad1-0"},{"uid":"2e93aad1-14"},{"uid":"2e93aad1-16"},{"uid":"2e93aad1-10"}]},"2e93aad1-21":{"id":"@inditextech/weave-sdk","moduleParts":{},"imported":[],"importedBy":[{"uid":"2e93aad1-0"},{"uid":"2e93aad1-2"},{"uid":"2e93aad1-14"},{"uid":"2e93aad1-12"}]},"2e93aad1-22":{"id":"@inditextech/weave-types","moduleParts":{},"imported":[],"importedBy":[{"uid":"2e93aad1-0"},{"uid":"2e93aad1-2"},{"uid":"2e93aad1-14"},{"uid":"2e93aad1-12"}]},"2e93aad1-23":{"id":"zustand","moduleParts":{},"imported":[],"importedBy":[{"uid":"2e93aad1-2"}]},"2e93aad1-24":{"id":"/home/runner/work/weavejs/weavejs/code/node_modules/zustand/esm/index.mjs","moduleParts":{},"imported":[{"uid":"2e93aad1-8"},{"uid":"2e93aad1-10"}],"importedBy":[{"uid":"2e93aad1-12"}]}},"env":{"rollup":"4.23.0"},"options":{"gzip":true,"brotli":true,"sourcemap":false}};
4934
4934
 
4935
4935
  const run = () => {
4936
4936
  const width = window.innerWidth;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inditextech/weave-react",
3
- "version": "5.1.0-SNAPSHOT.424.1",
3
+ "version": "5.1.0-SNAPSHOT.426.1",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Jesus Manuel Piñeiro Cid <jesusmpc@inditex.com>",
@@ -46,8 +46,8 @@
46
46
  "version:release": "npm version $RELEASE_VERSION -m \"[npm-scripts] prepare release $RELEASE_VERSION\" --tag-version-prefix \"\""
47
47
  },
48
48
  "dependencies": {
49
- "@inditextech/weave-sdk": "5.1.0-SNAPSHOT.424.1",
50
- "@inditextech/weave-types": "5.1.0-SNAPSHOT.424.1"
49
+ "@inditextech/weave-sdk": "5.1.0-SNAPSHOT.426.1",
50
+ "@inditextech/weave-types": "5.1.0-SNAPSHOT.426.1"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@testing-library/jest-dom": "^6.9.1",