@wix/editor-react-components 1.2500.0 → 1.2502.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/editor-react-components",
3
- "version": "1.2500.0",
3
+ "version": "1.2502.0",
4
4
  "description": "React components for the Wix Editor",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -79,10 +79,10 @@
79
79
  "@vis.gl/react-google-maps": "^1.5.2",
80
80
  "@wix/ambassador-devcenter-v1-component-type-data": "^1.0.508",
81
81
  "@wix/design-system-illustrations": "^2.28.5",
82
- "@wix/sdk": "^1.21.14",
82
+ "@wix/sdk": "^1.21.15",
83
83
  "@wix/services-manager-react": "^0.1.27",
84
84
  "@wix/site-service-rendering-context": "^1.0.1",
85
- "@wix/site-ui": "1.222.0",
85
+ "@wix/site-ui": "1.223.0",
86
86
  "@wix/video": "^1.106.0",
87
87
  "@wix/viewer-service-consent-policy": "^1.0.101",
88
88
  "@wix/web-bi-logger": "^2.1.29",
@@ -144,7 +144,7 @@
144
144
  "@wix/viewer-service-pages": "^1.0.9",
145
145
  "@wix/viewer-service-renderer-configuration": "^1.0.7",
146
146
  "@wix/viewer-service-sdk-state": "^1.0.28",
147
- "@wix/viewer-service-site-scroll-blocker": "^1.0.65",
147
+ "@wix/viewer-service-site-scroll-blocker": "^1.0.66",
148
148
  "@wix/viewer-service-topology": "^1.0.26",
149
149
  "@wix/viewer-service-translations": "^1.0.23",
150
150
  "@wix/viewer-service-url": "^1.0.70",
@@ -197,5 +197,5 @@
197
197
  "registry": "https://registry.npmjs.org/",
198
198
  "access": "public"
199
199
  },
200
- "falconPackageHash": "788bcf30170a7615c5bd37eb6e60abb2dd6cb9967a6414ee786a7580"
200
+ "falconPackageHash": "e17410808e99664b80f8de78b61005f62372dfff5f637a7e6fa4f7c3"
201
201
  }
@@ -1,166 +0,0 @@
1
- import { g as getDefaultExportFromCjs } from "./_commonjsHelpers.js";
2
- var fastdom$2 = { exports: {} };
3
- var fastdom$1 = fastdom$2.exports;
4
- var hasRequiredFastdom;
5
- function requireFastdom() {
6
- if (hasRequiredFastdom) return fastdom$2.exports;
7
- hasRequiredFastdom = 1;
8
- (function(module) {
9
- !(function(win) {
10
- var debug = function() {
11
- };
12
- var raf = win.requestAnimationFrame || win.webkitRequestAnimationFrame || win.mozRequestAnimationFrame || win.msRequestAnimationFrame || function(cb) {
13
- return setTimeout(cb, 16);
14
- };
15
- function FastDom() {
16
- var self = this;
17
- self.reads = [];
18
- self.writes = [];
19
- self.raf = raf.bind(win);
20
- }
21
- FastDom.prototype = {
22
- constructor: FastDom,
23
- /**
24
- * We run this inside a try catch
25
- * so that if any jobs error, we
26
- * are able to recover and continue
27
- * to flush the batch until it's empty.
28
- *
29
- * @param {Array} tasks
30
- */
31
- runTasks: function(tasks) {
32
- var task;
33
- while (task = tasks.shift()) task();
34
- },
35
- /**
36
- * Adds a job to the read batch and
37
- * schedules a new frame if need be.
38
- *
39
- * @param {Function} fn
40
- * @param {Object} ctx the context to be bound to `fn` (optional).
41
- * @public
42
- */
43
- measure: function(fn, ctx) {
44
- var task = !ctx ? fn : fn.bind(ctx);
45
- this.reads.push(task);
46
- scheduleFlush(this);
47
- return task;
48
- },
49
- /**
50
- * Adds a job to the
51
- * write batch and schedules
52
- * a new frame if need be.
53
- *
54
- * @param {Function} fn
55
- * @param {Object} ctx the context to be bound to `fn` (optional).
56
- * @public
57
- */
58
- mutate: function(fn, ctx) {
59
- var task = !ctx ? fn : fn.bind(ctx);
60
- this.writes.push(task);
61
- scheduleFlush(this);
62
- return task;
63
- },
64
- /**
65
- * Clears a scheduled 'read' or 'write' task.
66
- *
67
- * @param {Object} task
68
- * @return {Boolean} success
69
- * @public
70
- */
71
- clear: function(task) {
72
- return remove(this.reads, task) || remove(this.writes, task);
73
- },
74
- /**
75
- * Extend this FastDom with some
76
- * custom functionality.
77
- *
78
- * Because fastdom must *always* be a
79
- * singleton, we're actually extending
80
- * the fastdom instance. This means tasks
81
- * scheduled by an extension still enter
82
- * fastdom's global task queue.
83
- *
84
- * The 'super' instance can be accessed
85
- * from `this.fastdom`.
86
- *
87
- * @example
88
- *
89
- * var myFastdom = fastdom.extend({
90
- * initialize: function() {
91
- * // runs on creation
92
- * },
93
- *
94
- * // override a method
95
- * measure: function(fn) {
96
- * // do extra stuff ...
97
- *
98
- * // then call the original
99
- * return this.fastdom.measure(fn);
100
- * },
101
- *
102
- * ...
103
- * });
104
- *
105
- * @param {Object} props properties to mixin
106
- * @return {FastDom}
107
- */
108
- extend: function(props) {
109
- if (typeof props != "object") throw new Error("expected object");
110
- var child = Object.create(this);
111
- mixin(child, props);
112
- child.fastdom = this;
113
- if (child.initialize) child.initialize();
114
- return child;
115
- },
116
- // override this with a function
117
- // to prevent Errors in console
118
- // when tasks throw
119
- catch: null
120
- };
121
- function scheduleFlush(fastdom2) {
122
- if (!fastdom2.scheduled) {
123
- fastdom2.scheduled = true;
124
- fastdom2.raf(flush.bind(null, fastdom2));
125
- }
126
- }
127
- function flush(fastdom2) {
128
- var writes = fastdom2.writes;
129
- var reads = fastdom2.reads;
130
- var error;
131
- try {
132
- debug("flushing reads", reads.length);
133
- fastdom2.runTasks(reads);
134
- debug("flushing writes", writes.length);
135
- fastdom2.runTasks(writes);
136
- } catch (e) {
137
- error = e;
138
- }
139
- fastdom2.scheduled = false;
140
- if (reads.length || writes.length) scheduleFlush(fastdom2);
141
- if (error) {
142
- debug("task errored", error.message);
143
- if (fastdom2.catch) fastdom2.catch(error);
144
- else throw error;
145
- }
146
- }
147
- function remove(array, item) {
148
- var index = array.indexOf(item);
149
- return !!~index && !!array.splice(index, 1);
150
- }
151
- function mixin(target, source) {
152
- for (var key in source) {
153
- if (source.hasOwnProperty(key)) target[key] = source[key];
154
- }
155
- }
156
- var exports$1 = win.fastdom = win.fastdom || new FastDom();
157
- module.exports = exports$1;
158
- })(typeof window !== "undefined" ? window : typeof fastdom$1 != "undefined" ? fastdom$1 : globalThis);
159
- })(fastdom$2);
160
- return fastdom$2.exports;
161
- }
162
- var fastdomExports = requireFastdom();
163
- const fastdom = /* @__PURE__ */ getDefaultExportFromCjs(fastdomExports);
164
- export {
165
- fastdom as f
166
- };