@valbuild/react 0.58.0 → 0.60.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.
Files changed (56) hide show
  1. package/dist/declarations/src/internal/index.d.ts +0 -1
  2. package/dist/{slicedToArray-11a666de.cjs.dev.js → slicedToArray-129629e4.cjs.dev.js} +11 -0
  3. package/dist/{slicedToArray-c405fbf0.cjs.prod.js → slicedToArray-386a8ae8.cjs.prod.js} +11 -0
  4. package/dist/{slicedToArray-7b69258f.browser.esm.js → slicedToArray-6b2002fa.browser.esm.js} +11 -1
  5. package/dist/{slicedToArray-e7da2c5e.worker.esm.js → slicedToArray-7a63acfd.worker.esm.js} +11 -1
  6. package/dist/{slicedToArray-1dc7d2d6.esm.js → slicedToArray-a79154e9.esm.js} +11 -1
  7. package/dist/toConsumableArray-0a75a603.worker.esm.js +19 -0
  8. package/dist/toConsumableArray-0ccd58b7.esm.js +19 -0
  9. package/dist/toConsumableArray-5a71fbb3.browser.esm.js +19 -0
  10. package/dist/toConsumableArray-b2d28ffa.cjs.dev.js +21 -0
  11. package/dist/toConsumableArray-b5e3b83f.cjs.prod.js +21 -0
  12. package/internal/dist/valbuild-react-internal.browser.esm.js +2 -18
  13. package/internal/dist/valbuild-react-internal.cjs.dev.js +3 -31
  14. package/internal/dist/valbuild-react-internal.cjs.prod.js +3 -31
  15. package/internal/dist/valbuild-react-internal.esm.js +2 -18
  16. package/internal/dist/valbuild-react-internal.worker.esm.js +2 -18
  17. package/jsx-dev-runtime/dist/valbuild-react-jsx-dev-runtime.browser.esm.js +1 -2
  18. package/jsx-dev-runtime/dist/valbuild-react-jsx-dev-runtime.cjs.dev.js +2 -3
  19. package/jsx-dev-runtime/dist/valbuild-react-jsx-dev-runtime.cjs.prod.js +2 -3
  20. package/jsx-dev-runtime/dist/valbuild-react-jsx-dev-runtime.esm.js +1 -2
  21. package/jsx-dev-runtime/dist/valbuild-react-jsx-dev-runtime.worker.esm.js +1 -2
  22. package/jsx-runtime/dist/valbuild-react-jsx-runtime.browser.esm.js +1 -2
  23. package/jsx-runtime/dist/valbuild-react-jsx-runtime.cjs.dev.js +2 -3
  24. package/jsx-runtime/dist/valbuild-react-jsx-runtime.cjs.prod.js +2 -3
  25. package/jsx-runtime/dist/valbuild-react-jsx-runtime.esm.js +1 -2
  26. package/jsx-runtime/dist/valbuild-react-jsx-runtime.worker.esm.js +1 -2
  27. package/package.json +5 -6
  28. package/stega/dist/valbuild-react-stega.browser.esm.js +53 -8
  29. package/stega/dist/valbuild-react-stega.cjs.dev.js +64 -19
  30. package/stega/dist/valbuild-react-stega.cjs.prod.js +64 -19
  31. package/stega/dist/valbuild-react-stega.esm.js +53 -8
  32. package/stega/dist/valbuild-react-stega.worker.esm.js +53 -8
  33. package/dist/ValProvider-47b779dc.esm.js +0 -689
  34. package/dist/ValProvider-48e6e607.browser.esm.js +0 -689
  35. package/dist/ValProvider-5b6a05e9.cjs.js +0 -7
  36. package/dist/ValProvider-5b6a05e9.cjs.prod.js +0 -712
  37. package/dist/ValProvider-7c2a7439.worker.esm.js +0 -684
  38. package/dist/ValProvider-87161e66.cjs.dev.js +0 -718
  39. package/dist/ValUI-1922d8db.cjs.dev.js +0 -83
  40. package/dist/ValUI-23e2422b.cjs.js +0 -7
  41. package/dist/ValUI-23e2422b.cjs.prod.js +0 -83
  42. package/dist/ValUI-7d39a3f6.browser.esm.js +0 -79
  43. package/dist/ValUI-84a9cc93.worker.esm.js +0 -79
  44. package/dist/ValUI-8775ef5c.esm.js +0 -79
  45. package/dist/declarations/src/internal/ValProvider.d.ts +0 -17
  46. package/dist/declarations/src/internal/ValStore.d.ts +0 -16
  47. package/dist/defineProperty-6ed7deb7.browser.esm.js +0 -32
  48. package/dist/defineProperty-82fbeafc.worker.esm.js +0 -32
  49. package/dist/defineProperty-9bf3d0c0.esm.js +0 -32
  50. package/dist/defineProperty-c84f9aba.cjs.dev.js +0 -35
  51. package/dist/defineProperty-f8fe5660.cjs.prod.js +0 -35
  52. package/dist/typeof-16428c61.cjs.prod.js +0 -13
  53. package/dist/typeof-9915e135.browser.esm.js +0 -11
  54. package/dist/typeof-a1531d8f.esm.js +0 -11
  55. package/dist/typeof-b568f48f.cjs.dev.js +0 -13
  56. package/dist/typeof-e0c837cc.worker.esm.js +0 -11
@@ -1,2 +1 @@
1
- export { ValProvider, useValStore, useValApi } from "./ValProvider.js";
2
1
  export { ValRichText } from "./ValRichText.js";
@@ -2,6 +2,16 @@
2
2
 
3
3
  var unsupportedIterableToArray = require('./unsupportedIterableToArray-ac28611a.cjs.dev.js');
4
4
 
5
+ function _typeof(o) {
6
+ "@babel/helpers - typeof";
7
+
8
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
9
+ return typeof o;
10
+ } : function (o) {
11
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
12
+ }, _typeof(o);
13
+ }
14
+
5
15
  function _arrayWithHoles(arr) {
6
16
  if (Array.isArray(arr)) return arr;
7
17
  }
@@ -43,3 +53,4 @@ function _slicedToArray(arr, i) {
43
53
  }
44
54
 
45
55
  exports._slicedToArray = _slicedToArray;
56
+ exports._typeof = _typeof;
@@ -2,6 +2,16 @@
2
2
 
3
3
  var unsupportedIterableToArray = require('./unsupportedIterableToArray-42309462.cjs.prod.js');
4
4
 
5
+ function _typeof(o) {
6
+ "@babel/helpers - typeof";
7
+
8
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
9
+ return typeof o;
10
+ } : function (o) {
11
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
12
+ }, _typeof(o);
13
+ }
14
+
5
15
  function _arrayWithHoles(arr) {
6
16
  if (Array.isArray(arr)) return arr;
7
17
  }
@@ -43,3 +53,4 @@ function _slicedToArray(arr, i) {
43
53
  }
44
54
 
45
55
  exports._slicedToArray = _slicedToArray;
56
+ exports._typeof = _typeof;
@@ -1,5 +1,15 @@
1
1
  import { _ as _unsupportedIterableToArray } from './unsupportedIterableToArray-cce3cb41.browser.esm.js';
2
2
 
3
+ function _typeof(o) {
4
+ "@babel/helpers - typeof";
5
+
6
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
7
+ return typeof o;
8
+ } : function (o) {
9
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
10
+ }, _typeof(o);
11
+ }
12
+
3
13
  function _arrayWithHoles(arr) {
4
14
  if (Array.isArray(arr)) return arr;
5
15
  }
@@ -40,4 +50,4 @@ function _slicedToArray(arr, i) {
40
50
  return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
41
51
  }
42
52
 
43
- export { _slicedToArray as _ };
53
+ export { _slicedToArray as _, _typeof as a };
@@ -1,5 +1,15 @@
1
1
  import { _ as _unsupportedIterableToArray } from './unsupportedIterableToArray-50359a05.worker.esm.js';
2
2
 
3
+ function _typeof(o) {
4
+ "@babel/helpers - typeof";
5
+
6
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
7
+ return typeof o;
8
+ } : function (o) {
9
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
10
+ }, _typeof(o);
11
+ }
12
+
3
13
  function _arrayWithHoles(arr) {
4
14
  if (Array.isArray(arr)) return arr;
5
15
  }
@@ -40,4 +50,4 @@ function _slicedToArray(arr, i) {
40
50
  return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
41
51
  }
42
52
 
43
- export { _slicedToArray as _ };
53
+ export { _slicedToArray as _, _typeof as a };
@@ -1,5 +1,15 @@
1
1
  import { _ as _unsupportedIterableToArray } from './unsupportedIterableToArray-7c30dadf.esm.js';
2
2
 
3
+ function _typeof(o) {
4
+ "@babel/helpers - typeof";
5
+
6
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
7
+ return typeof o;
8
+ } : function (o) {
9
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
10
+ }, _typeof(o);
11
+ }
12
+
3
13
  function _arrayWithHoles(arr) {
4
14
  if (Array.isArray(arr)) return arr;
5
15
  }
@@ -40,4 +50,4 @@ function _slicedToArray(arr, i) {
40
50
  return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
41
51
  }
42
52
 
43
- export { _slicedToArray as _ };
53
+ export { _slicedToArray as _, _typeof as a };
@@ -0,0 +1,19 @@
1
+ import { a as _arrayLikeToArray, _ as _unsupportedIterableToArray } from './unsupportedIterableToArray-50359a05.worker.esm.js';
2
+
3
+ function _arrayWithoutHoles(arr) {
4
+ if (Array.isArray(arr)) return _arrayLikeToArray(arr);
5
+ }
6
+
7
+ function _iterableToArray(iter) {
8
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
9
+ }
10
+
11
+ function _nonIterableSpread() {
12
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
13
+ }
14
+
15
+ function _toConsumableArray(arr) {
16
+ return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
17
+ }
18
+
19
+ export { _toConsumableArray as _ };
@@ -0,0 +1,19 @@
1
+ import { a as _arrayLikeToArray, _ as _unsupportedIterableToArray } from './unsupportedIterableToArray-7c30dadf.esm.js';
2
+
3
+ function _arrayWithoutHoles(arr) {
4
+ if (Array.isArray(arr)) return _arrayLikeToArray(arr);
5
+ }
6
+
7
+ function _iterableToArray(iter) {
8
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
9
+ }
10
+
11
+ function _nonIterableSpread() {
12
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
13
+ }
14
+
15
+ function _toConsumableArray(arr) {
16
+ return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
17
+ }
18
+
19
+ export { _toConsumableArray as _ };
@@ -0,0 +1,19 @@
1
+ import { a as _arrayLikeToArray, _ as _unsupportedIterableToArray } from './unsupportedIterableToArray-cce3cb41.browser.esm.js';
2
+
3
+ function _arrayWithoutHoles(arr) {
4
+ if (Array.isArray(arr)) return _arrayLikeToArray(arr);
5
+ }
6
+
7
+ function _iterableToArray(iter) {
8
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
9
+ }
10
+
11
+ function _nonIterableSpread() {
12
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
13
+ }
14
+
15
+ function _toConsumableArray(arr) {
16
+ return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
17
+ }
18
+
19
+ export { _toConsumableArray as _ };
@@ -0,0 +1,21 @@
1
+ 'use strict';
2
+
3
+ var unsupportedIterableToArray = require('./unsupportedIterableToArray-ac28611a.cjs.dev.js');
4
+
5
+ function _arrayWithoutHoles(arr) {
6
+ if (Array.isArray(arr)) return unsupportedIterableToArray._arrayLikeToArray(arr);
7
+ }
8
+
9
+ function _iterableToArray(iter) {
10
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
11
+ }
12
+
13
+ function _nonIterableSpread() {
14
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
15
+ }
16
+
17
+ function _toConsumableArray(arr) {
18
+ return _arrayWithoutHoles(arr) || _iterableToArray(arr) || unsupportedIterableToArray._unsupportedIterableToArray(arr) || _nonIterableSpread();
19
+ }
20
+
21
+ exports._toConsumableArray = _toConsumableArray;
@@ -0,0 +1,21 @@
1
+ 'use strict';
2
+
3
+ var unsupportedIterableToArray = require('./unsupportedIterableToArray-42309462.cjs.prod.js');
4
+
5
+ function _arrayWithoutHoles(arr) {
6
+ if (Array.isArray(arr)) return unsupportedIterableToArray._arrayLikeToArray(arr);
7
+ }
8
+
9
+ function _iterableToArray(iter) {
10
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
11
+ }
12
+
13
+ function _nonIterableSpread() {
14
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
15
+ }
16
+
17
+ function _toConsumableArray(arr) {
18
+ return _arrayWithoutHoles(arr) || _iterableToArray(arr) || unsupportedIterableToArray._unsupportedIterableToArray(arr) || _nonIterableSpread();
19
+ }
20
+
21
+ exports._toConsumableArray = _toConsumableArray;
@@ -1,23 +1,7 @@
1
- export { ValProvider, useValApi, useValStore } from '../../dist/ValProvider-48e6e607.browser.esm.js';
2
- import { a as _arrayLikeToArray, _ as _unsupportedIterableToArray } from '../../dist/unsupportedIterableToArray-cce3cb41.browser.esm.js';
1
+ import { _ as _toConsumableArray } from '../../dist/toConsumableArray-5a71fbb3.browser.esm.js';
3
2
  import React from 'react';
4
3
  import { jsx } from 'react/jsx-runtime';
5
-
6
- function _arrayWithoutHoles(arr) {
7
- if (Array.isArray(arr)) return _arrayLikeToArray(arr);
8
- }
9
-
10
- function _iterableToArray(iter) {
11
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
12
- }
13
-
14
- function _nonIterableSpread() {
15
- throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
16
- }
17
-
18
- function _toConsumableArray(arr) {
19
- return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
20
- }
4
+ import '../../dist/unsupportedIterableToArray-cce3cb41.browser.esm.js';
21
5
 
22
6
  /**
23
7
  * Render RichText as HTML
@@ -2,31 +2,15 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var ValProvider = require('../../dist/ValProvider-87161e66.cjs.dev.js');
6
- var unsupportedIterableToArray = require('../../dist/unsupportedIterableToArray-ac28611a.cjs.dev.js');
5
+ var toConsumableArray = require('../../dist/toConsumableArray-b2d28ffa.cjs.dev.js');
7
6
  var React = require('react');
8
7
  var ReactJSXRuntime = require('react/jsx-runtime');
8
+ require('../../dist/unsupportedIterableToArray-ac28611a.cjs.dev.js');
9
9
 
10
10
  function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
11
11
 
12
12
  var React__default = /*#__PURE__*/_interopDefault(React);
13
13
 
14
- function _arrayWithoutHoles(arr) {
15
- if (Array.isArray(arr)) return unsupportedIterableToArray._arrayLikeToArray(arr);
16
- }
17
-
18
- function _iterableToArray(iter) {
19
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
20
- }
21
-
22
- function _nonIterableSpread() {
23
- throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
24
- }
25
-
26
- function _toConsumableArray(arr) {
27
- return _arrayWithoutHoles(arr) || _iterableToArray(arr) || unsupportedIterableToArray._unsupportedIterableToArray(arr) || _nonIterableSpread();
28
- }
29
-
30
14
  /**
31
15
  * Render RichText as HTML
32
16
  *
@@ -113,7 +97,7 @@ function classNameOfTag(tag, clazz, theme) {
113
97
  var _theme$tag;
114
98
  thisTagClassName = (_theme$tag = theme[tag]) !== null && _theme$tag !== void 0 ? _theme$tag : null;
115
99
  }
116
- return [].concat(_toConsumableArray(thisTagClassName ? [thisTagClassName] : []), _toConsumableArray(clazz.map(function (style) {
100
+ return [].concat(toConsumableArray._toConsumableArray(thisTagClassName ? [thisTagClassName] : []), toConsumableArray._toConsumableArray(clazz.map(function (style) {
117
101
  if (theme &&
118
102
  // not need on type-level, but defensive on runtime:
119
103
  typeof style === "string") {
@@ -130,16 +114,4 @@ function classNameOfTag(tag, clazz, theme) {
130
114
  }))).join(" ");
131
115
  }
132
116
 
133
- Object.defineProperty(exports, 'ValProvider', {
134
- enumerable: true,
135
- get: function () { return ValProvider.ValProvider; }
136
- });
137
- Object.defineProperty(exports, 'useValApi', {
138
- enumerable: true,
139
- get: function () { return ValProvider.useValApi; }
140
- });
141
- Object.defineProperty(exports, 'useValStore', {
142
- enumerable: true,
143
- get: function () { return ValProvider.useValStore; }
144
- });
145
117
  exports.ValRichText = ValRichText;
@@ -2,31 +2,15 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var ValProvider = require('../../dist/ValProvider-5b6a05e9.cjs.prod.js');
6
- var unsupportedIterableToArray = require('../../dist/unsupportedIterableToArray-42309462.cjs.prod.js');
5
+ var toConsumableArray = require('../../dist/toConsumableArray-b5e3b83f.cjs.prod.js');
7
6
  var React = require('react');
8
7
  var ReactJSXRuntime = require('react/jsx-runtime');
8
+ require('../../dist/unsupportedIterableToArray-42309462.cjs.prod.js');
9
9
 
10
10
  function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
11
11
 
12
12
  var React__default = /*#__PURE__*/_interopDefault(React);
13
13
 
14
- function _arrayWithoutHoles(arr) {
15
- if (Array.isArray(arr)) return unsupportedIterableToArray._arrayLikeToArray(arr);
16
- }
17
-
18
- function _iterableToArray(iter) {
19
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
20
- }
21
-
22
- function _nonIterableSpread() {
23
- throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
24
- }
25
-
26
- function _toConsumableArray(arr) {
27
- return _arrayWithoutHoles(arr) || _iterableToArray(arr) || unsupportedIterableToArray._unsupportedIterableToArray(arr) || _nonIterableSpread();
28
- }
29
-
30
14
  /**
31
15
  * Render RichText as HTML
32
16
  *
@@ -113,7 +97,7 @@ function classNameOfTag(tag, clazz, theme) {
113
97
  var _theme$tag;
114
98
  thisTagClassName = (_theme$tag = theme[tag]) !== null && _theme$tag !== void 0 ? _theme$tag : null;
115
99
  }
116
- return [].concat(_toConsumableArray(thisTagClassName ? [thisTagClassName] : []), _toConsumableArray(clazz.map(function (style) {
100
+ return [].concat(toConsumableArray._toConsumableArray(thisTagClassName ? [thisTagClassName] : []), toConsumableArray._toConsumableArray(clazz.map(function (style) {
117
101
  if (theme &&
118
102
  // not need on type-level, but defensive on runtime:
119
103
  typeof style === "string") {
@@ -130,16 +114,4 @@ function classNameOfTag(tag, clazz, theme) {
130
114
  }))).join(" ");
131
115
  }
132
116
 
133
- Object.defineProperty(exports, 'ValProvider', {
134
- enumerable: true,
135
- get: function () { return ValProvider.ValProvider; }
136
- });
137
- Object.defineProperty(exports, 'useValApi', {
138
- enumerable: true,
139
- get: function () { return ValProvider.useValApi; }
140
- });
141
- Object.defineProperty(exports, 'useValStore', {
142
- enumerable: true,
143
- get: function () { return ValProvider.useValStore; }
144
- });
145
117
  exports.ValRichText = ValRichText;
@@ -1,23 +1,7 @@
1
- export { ValProvider, useValApi, useValStore } from '../../dist/ValProvider-47b779dc.esm.js';
2
- import { a as _arrayLikeToArray, _ as _unsupportedIterableToArray } from '../../dist/unsupportedIterableToArray-7c30dadf.esm.js';
1
+ import { _ as _toConsumableArray } from '../../dist/toConsumableArray-0ccd58b7.esm.js';
3
2
  import React from 'react';
4
3
  import { jsx } from 'react/jsx-runtime';
5
-
6
- function _arrayWithoutHoles(arr) {
7
- if (Array.isArray(arr)) return _arrayLikeToArray(arr);
8
- }
9
-
10
- function _iterableToArray(iter) {
11
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
12
- }
13
-
14
- function _nonIterableSpread() {
15
- throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
16
- }
17
-
18
- function _toConsumableArray(arr) {
19
- return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
20
- }
4
+ import '../../dist/unsupportedIterableToArray-7c30dadf.esm.js';
21
5
 
22
6
  /**
23
7
  * Render RichText as HTML
@@ -1,23 +1,7 @@
1
- export { ValProvider, useValApi, useValStore } from '../../dist/ValProvider-7c2a7439.worker.esm.js';
2
- import { a as _arrayLikeToArray, _ as _unsupportedIterableToArray } from '../../dist/unsupportedIterableToArray-50359a05.worker.esm.js';
1
+ import { _ as _toConsumableArray } from '../../dist/toConsumableArray-0a75a603.worker.esm.js';
3
2
  import React from 'react';
4
3
  import { jsx } from 'react/jsx-runtime';
5
-
6
- function _arrayWithoutHoles(arr) {
7
- if (Array.isArray(arr)) return _arrayLikeToArray(arr);
8
- }
9
-
10
- function _iterableToArray(iter) {
11
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
12
- }
13
-
14
- function _nonIterableSpread() {
15
- throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
16
- }
17
-
18
- function _toConsumableArray(arr) {
19
- return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
20
- }
4
+ import '../../dist/unsupportedIterableToArray-50359a05.worker.esm.js';
21
5
 
22
6
  /**
23
7
  * Render RichText as HTML
@@ -1,5 +1,4 @@
1
- import { _ as _typeof } from '../../dist/typeof-9915e135.browser.esm.js';
2
- import { _ as _slicedToArray } from '../../dist/slicedToArray-7b69258f.browser.esm.js';
1
+ import { _ as _slicedToArray, a as _typeof } from '../../dist/slicedToArray-6b2002fa.browser.esm.js';
3
2
  import { Internal } from '@valbuild/core';
4
3
  import * as jsxRuntimeDev from 'react/jsx-dev-runtime';
5
4
  export * from 'react/jsx-dev-runtime';
@@ -2,8 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var _typeof = require('../../dist/typeof-b568f48f.cjs.dev.js');
6
- var slicedToArray = require('../../dist/slicedToArray-11a666de.cjs.dev.js');
5
+ var slicedToArray = require('../../dist/slicedToArray-129629e4.cjs.dev.js');
7
6
  var core = require('@valbuild/core');
8
7
  var jsxRuntimeDev = require('react/jsx-dev-runtime');
9
8
  require('../../dist/unsupportedIterableToArray-ac28611a.cjs.dev.js');
@@ -39,7 +38,7 @@ var devalProps = function devalProps(type, props) {
39
38
  var _Object$entries$_i = slicedToArray._slicedToArray(_Object$entries[_i], 2),
40
39
  key = _Object$entries$_i[0],
41
40
  value = _Object$entries$_i[1];
42
- if (_typeof._typeof(value) === "object" && value !== null && "val" in value) {
41
+ if (slicedToArray._typeof(value) === "object" && value !== null && "val" in value) {
43
42
  var valPath = core.Internal.getValPath(value);
44
43
  if (valPath) {
45
44
  valSources.push(valPath);
@@ -2,8 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var _typeof = require('../../dist/typeof-16428c61.cjs.prod.js');
6
- var slicedToArray = require('../../dist/slicedToArray-c405fbf0.cjs.prod.js');
5
+ var slicedToArray = require('../../dist/slicedToArray-386a8ae8.cjs.prod.js');
7
6
  var core = require('@valbuild/core');
8
7
  var jsxRuntimeDev = require('react/jsx-dev-runtime');
9
8
  require('../../dist/unsupportedIterableToArray-42309462.cjs.prod.js');
@@ -39,7 +38,7 @@ var devalProps = function devalProps(type, props) {
39
38
  var _Object$entries$_i = slicedToArray._slicedToArray(_Object$entries[_i], 2),
40
39
  key = _Object$entries$_i[0],
41
40
  value = _Object$entries$_i[1];
42
- if (_typeof._typeof(value) === "object" && value !== null && "val" in value) {
41
+ if (slicedToArray._typeof(value) === "object" && value !== null && "val" in value) {
43
42
  var valPath = core.Internal.getValPath(value);
44
43
  if (valPath) {
45
44
  valSources.push(valPath);
@@ -1,5 +1,4 @@
1
- import { _ as _typeof } from '../../dist/typeof-a1531d8f.esm.js';
2
- import { _ as _slicedToArray } from '../../dist/slicedToArray-1dc7d2d6.esm.js';
1
+ import { _ as _slicedToArray, a as _typeof } from '../../dist/slicedToArray-a79154e9.esm.js';
3
2
  import { Internal } from '@valbuild/core';
4
3
  import * as jsxRuntimeDev from 'react/jsx-dev-runtime';
5
4
  export * from 'react/jsx-dev-runtime';
@@ -1,5 +1,4 @@
1
- import { _ as _typeof } from '../../dist/typeof-e0c837cc.worker.esm.js';
2
- import { _ as _slicedToArray } from '../../dist/slicedToArray-e7da2c5e.worker.esm.js';
1
+ import { _ as _slicedToArray, a as _typeof } from '../../dist/slicedToArray-7a63acfd.worker.esm.js';
3
2
  import { Internal } from '@valbuild/core';
4
3
  import * as jsxRuntimeDev from 'react/jsx-dev-runtime';
5
4
  export * from 'react/jsx-dev-runtime';
@@ -1,5 +1,4 @@
1
- import { _ as _typeof } from '../../dist/typeof-9915e135.browser.esm.js';
2
- import { _ as _slicedToArray } from '../../dist/slicedToArray-7b69258f.browser.esm.js';
1
+ import { _ as _slicedToArray, a as _typeof } from '../../dist/slicedToArray-6b2002fa.browser.esm.js';
3
2
  import { Internal } from '@valbuild/core';
4
3
  import * as ReactJSXRuntime from 'react/jsx-runtime';
5
4
  export * from 'react/jsx-runtime';
@@ -2,8 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var _typeof = require('../../dist/typeof-b568f48f.cjs.dev.js');
6
- var slicedToArray = require('../../dist/slicedToArray-11a666de.cjs.dev.js');
5
+ var slicedToArray = require('../../dist/slicedToArray-129629e4.cjs.dev.js');
7
6
  var core = require('@valbuild/core');
8
7
  var ReactJSXRuntime = require('react/jsx-runtime');
9
8
  require('../../dist/unsupportedIterableToArray-ac28611a.cjs.dev.js');
@@ -39,7 +38,7 @@ var devalProps = function devalProps(type, props) {
39
38
  var _Object$entries$_i = slicedToArray._slicedToArray(_Object$entries[_i], 2),
40
39
  key = _Object$entries$_i[0],
41
40
  value = _Object$entries$_i[1];
42
- if (_typeof._typeof(value) === "object" && value !== null && "val" in value) {
41
+ if (slicedToArray._typeof(value) === "object" && value !== null && "val" in value) {
43
42
  var valPath = core.Internal.getValPath(value);
44
43
  if (valPath) {
45
44
  valSources.push(valPath);
@@ -2,8 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var _typeof = require('../../dist/typeof-16428c61.cjs.prod.js');
6
- var slicedToArray = require('../../dist/slicedToArray-c405fbf0.cjs.prod.js');
5
+ var slicedToArray = require('../../dist/slicedToArray-386a8ae8.cjs.prod.js');
7
6
  var core = require('@valbuild/core');
8
7
  var ReactJSXRuntime = require('react/jsx-runtime');
9
8
  require('../../dist/unsupportedIterableToArray-42309462.cjs.prod.js');
@@ -39,7 +38,7 @@ var devalProps = function devalProps(type, props) {
39
38
  var _Object$entries$_i = slicedToArray._slicedToArray(_Object$entries[_i], 2),
40
39
  key = _Object$entries$_i[0],
41
40
  value = _Object$entries$_i[1];
42
- if (_typeof._typeof(value) === "object" && value !== null && "val" in value) {
41
+ if (slicedToArray._typeof(value) === "object" && value !== null && "val" in value) {
43
42
  var valPath = core.Internal.getValPath(value);
44
43
  if (valPath) {
45
44
  valSources.push(valPath);
@@ -1,5 +1,4 @@
1
- import { _ as _typeof } from '../../dist/typeof-a1531d8f.esm.js';
2
- import { _ as _slicedToArray } from '../../dist/slicedToArray-1dc7d2d6.esm.js';
1
+ import { _ as _slicedToArray, a as _typeof } from '../../dist/slicedToArray-a79154e9.esm.js';
3
2
  import { Internal } from '@valbuild/core';
4
3
  import * as ReactJSXRuntime from 'react/jsx-runtime';
5
4
  export * from 'react/jsx-runtime';
@@ -1,5 +1,4 @@
1
- import { _ as _typeof } from '../../dist/typeof-e0c837cc.worker.esm.js';
2
- import { _ as _slicedToArray } from '../../dist/slicedToArray-e7da2c5e.worker.esm.js';
1
+ import { _ as _slicedToArray, a as _typeof } from '../../dist/slicedToArray-7a63acfd.worker.esm.js';
3
2
  import { Internal } from '@valbuild/core';
4
3
  import * as ReactJSXRuntime from 'react/jsx-runtime';
5
4
  export * from 'react/jsx-runtime';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@valbuild/react",
3
- "version": "0.58.0",
3
+ "version": "0.60.0",
4
4
  "private": false,
5
5
  "description": "Val - React internal helpers",
6
6
  "sideEffects": false,
@@ -9,12 +9,11 @@
9
9
  "test": "jest"
10
10
  },
11
11
  "dependencies": {
12
- "@valbuild/core": "~0.58.0",
13
- "@valbuild/shared": "~0.58.0",
14
- "@valbuild/ui": "~0.58.0",
12
+ "@valbuild/core": "~0.60.0",
13
+ "@valbuild/shared": "~0.60.0",
14
+ "@valbuild/ui": "~0.60.0",
15
15
  "@vercel/stega": "^0.1.0",
16
- "base64-arraybuffer": "^1.0.2",
17
- "style-to-object": "^0.4.1"
16
+ "base64-arraybuffer": "^1.0.2"
18
17
  },
19
18
  "devDependencies": {
20
19
  "@testing-library/react": "^14.0.0",