@storybook/addon-interactions 6.5.0-alpha.5 → 6.5.0-alpha.50
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/cjs/Panel.js +31 -21
- package/dist/cjs/Panel.stories.js +3 -3
- package/dist/cjs/Tool.js +8 -6
- package/dist/cjs/components/AccountForm/AccountForm.js +8 -8
- package/dist/cjs/components/AccountForm/addon-interactions.stories.js +8 -6
- package/dist/cjs/components/Interaction/Interaction.js +8 -6
- package/dist/cjs/components/Interaction/Interaction.stories.js +3 -3
- package/dist/cjs/components/List.js +9 -7
- package/dist/cjs/components/MatcherResult.js +8 -8
- package/dist/cjs/components/MatcherResult.stories.js +1 -1
- package/dist/cjs/components/MethodCall.js +20 -15
- package/dist/cjs/components/MethodCall.stories.js +10 -6
- package/dist/cjs/components/StatusBadge/StatusBadge.stories.js +1 -1
- package/dist/cjs/components/StatusIcon/StatusIcon.stories.js +1 -1
- package/dist/cjs/components/Subnav/Subnav.stories.js +1 -1
- package/dist/cjs/constants.js +1 -1
- package/dist/cjs/preset/argsEnhancers.js +11 -7
- package/dist/cjs/preset/checkActionsLoaded.js +1 -29
- package/dist/cjs/theme.js +1 -1
- package/dist/esm/Panel.js +30 -20
- package/dist/esm/Panel.stories.js +1 -1
- package/dist/esm/Tool.js +3 -2
- package/dist/esm/components/AccountForm/AccountForm.js +6 -5
- package/dist/esm/components/AccountForm/addon-interactions.stories.js +4 -3
- package/dist/esm/components/Interaction/Interaction.js +3 -2
- package/dist/esm/components/Interaction/Interaction.stories.js +1 -1
- package/dist/esm/components/List.js +3 -2
- package/dist/esm/components/MatcherResult.js +4 -4
- package/dist/esm/components/MethodCall.js +19 -14
- package/dist/esm/components/MethodCall.stories.js +8 -4
- package/dist/esm/preset/argsEnhancers.js +7 -4
- package/dist/esm/preset/checkActionsLoaded.js +2 -4
- package/dist/modern/Panel.js +21 -9
- package/dist/modern/components/AccountForm/AccountForm.js +2 -2
- package/dist/modern/components/MethodCall.js +12 -8
- package/dist/modern/preset/argsEnhancers.js +3 -1
- package/dist/modern/preset/checkActionsLoaded.js +2 -2
- package/dist/ts3.4/Tool.d.ts +0 -1
- package/dist/ts3.4/components/Interaction/Interaction.d.ts +0 -1
- package/dist/ts3.4/components/MatcherResult.d.ts +0 -1
- package/dist/ts3.4/components/MethodCall.d.ts +0 -1
- package/dist/ts3.4/components/Subnav/Subnav.d.ts +1 -1
- package/dist/ts3.9/Tool.d.ts +0 -1
- package/dist/ts3.9/components/Interaction/Interaction.d.ts +0 -1
- package/dist/ts3.9/components/MatcherResult.d.ts +0 -1
- package/dist/ts3.9/components/MethodCall.d.ts +0 -1
- package/dist/ts3.9/components/Subnav/Subnav.d.ts +1 -1
- package/dist/ts3.9/preset/argsEnhancers.d.ts +2 -2
- package/package.json +11 -10
- package/dist/cjs/components/AccountForm/addon-interactions.stories.mdx +0 -33
- package/dist/cjs/typings.d.js +0 -1
- package/dist/esm/components/AccountForm/addon-interactions.stories.mdx +0 -33
- package/dist/esm/typings.d.js +0 -0
- package/dist/modern/components/AccountForm/addon-interactions.stories.mdx +0 -33
- package/dist/modern/typings.d.js +0 -0
|
@@ -11,7 +11,7 @@ require("core-js/modules/es.function.name.js");
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", {
|
|
12
12
|
value: true
|
|
13
13
|
});
|
|
14
|
-
exports.
|
|
14
|
+
exports.default = exports.Simple = exports.Nested = exports.Complex = exports.Chained = exports.Args = void 0;
|
|
15
15
|
|
|
16
16
|
require("core-js/modules/es.array.map.js");
|
|
17
17
|
|
|
@@ -27,12 +27,12 @@ require("core-js/modules/es.symbol.description.js");
|
|
|
27
27
|
|
|
28
28
|
require("core-js/modules/es.object.to-string.js");
|
|
29
29
|
|
|
30
|
+
require("core-js/modules/es.array.iterator.js");
|
|
31
|
+
|
|
30
32
|
require("core-js/modules/es.map.js");
|
|
31
33
|
|
|
32
34
|
require("core-js/modules/es.string.iterator.js");
|
|
33
35
|
|
|
34
|
-
require("core-js/modules/es.array.iterator.js");
|
|
35
|
-
|
|
36
36
|
require("core-js/modules/web.dom-collections.iterator.js");
|
|
37
37
|
|
|
38
38
|
var _react = _interopRequireDefault(require("react"));
|
|
@@ -49,12 +49,16 @@ function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread n
|
|
|
49
49
|
|
|
50
50
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
51
51
|
|
|
52
|
-
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && Symbol.iterator
|
|
52
|
+
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
53
53
|
|
|
54
54
|
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
|
55
55
|
|
|
56
56
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
57
57
|
|
|
58
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
59
|
+
|
|
60
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
61
|
+
|
|
58
62
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
59
63
|
|
|
60
64
|
var StyledWrapper = _theming.styled.div(function (_ref) {
|
|
@@ -81,9 +85,9 @@ var _default = {
|
|
|
81
85
|
};
|
|
82
86
|
exports.default = _default;
|
|
83
87
|
|
|
84
|
-
var FooBar = function FooBar() {
|
|
88
|
+
var FooBar = /*#__PURE__*/_createClass(function FooBar() {
|
|
85
89
|
_classCallCheck(this, FooBar);
|
|
86
|
-
};
|
|
90
|
+
});
|
|
87
91
|
|
|
88
92
|
var Args = function Args() {
|
|
89
93
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.default = exports.Waiting = exports.Pass = exports.Fail = exports.Active = void 0;
|
|
7
7
|
|
|
8
8
|
var _instrumenter = require("@storybook/instrumenter");
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.default = exports.Pending = exports.Error = exports.Done = void 0;
|
|
7
7
|
|
|
8
8
|
var _instrumenter = require("@storybook/instrumenter");
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.default = exports.Runs = exports.Pass = exports.Midway = exports.Locked = exports.Fail = exports.AtStart = void 0;
|
|
7
7
|
|
|
8
8
|
var _addonActions = require("@storybook/addon-actions");
|
|
9
9
|
|
package/dist/cjs/constants.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.TOOL_ID = exports.PANEL_ID = exports.ADDON_ID = void 0;
|
|
7
7
|
var ADDON_ID = 'storybook/interactions';
|
|
8
8
|
exports.ADDON_ID = ADDON_ID;
|
|
9
9
|
var TOOL_ID = "".concat(ADDON_ID, "/tool");
|
|
@@ -4,25 +4,27 @@ require("core-js/modules/es.symbol.js");
|
|
|
4
4
|
|
|
5
5
|
require("core-js/modules/es.symbol.description.js");
|
|
6
6
|
|
|
7
|
-
require("core-js/modules/es.object.to-string.js");
|
|
8
|
-
|
|
9
7
|
require("core-js/modules/es.symbol.iterator.js");
|
|
10
8
|
|
|
11
|
-
require("core-js/modules/es.string.iterator.js");
|
|
12
|
-
|
|
13
9
|
require("core-js/modules/es.array.iterator.js");
|
|
14
10
|
|
|
11
|
+
require("core-js/modules/es.string.iterator.js");
|
|
12
|
+
|
|
15
13
|
require("core-js/modules/web.dom-collections.iterator.js");
|
|
16
14
|
|
|
17
15
|
require("core-js/modules/es.array.slice.js");
|
|
18
16
|
|
|
19
17
|
require("core-js/modules/es.array.from.js");
|
|
20
18
|
|
|
19
|
+
require("core-js/modules/es.regexp.exec.js");
|
|
20
|
+
|
|
21
21
|
Object.defineProperty(exports, "__esModule", {
|
|
22
22
|
value: true
|
|
23
23
|
});
|
|
24
24
|
exports.argsEnhancers = void 0;
|
|
25
25
|
|
|
26
|
+
require("core-js/modules/es.object.to-string.js");
|
|
27
|
+
|
|
26
28
|
require("core-js/modules/es.object.entries.js");
|
|
27
29
|
|
|
28
30
|
require("core-js/modules/es.function.name.js");
|
|
@@ -43,13 +45,15 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
|
|
|
43
45
|
|
|
44
46
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
45
47
|
|
|
46
|
-
function _iterableToArrayLimit(arr, i) {
|
|
48
|
+
function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
|
47
49
|
|
|
48
50
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
49
51
|
|
|
50
|
-
|
|
52
|
+
var JestMock = new _jestMock.ModuleMocker(global);
|
|
53
|
+
var fn = JestMock.fn.bind(JestMock); // Aliasing `fn` to `action` here, so we get a more descriptive label in the UI.
|
|
54
|
+
|
|
51
55
|
var _instrument = (0, _instrumenter.instrument)({
|
|
52
|
-
action:
|
|
56
|
+
action: fn
|
|
53
57
|
}, {
|
|
54
58
|
retain: true
|
|
55
59
|
}),
|
|
@@ -1,23 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
4
|
-
|
|
5
|
-
require("core-js/modules/es.weak-map.js");
|
|
6
|
-
|
|
7
|
-
require("core-js/modules/es.string.iterator.js");
|
|
8
|
-
|
|
9
|
-
require("core-js/modules/es.array.iterator.js");
|
|
10
|
-
|
|
11
|
-
require("core-js/modules/web.dom-collections.iterator.js");
|
|
12
|
-
|
|
13
|
-
require("core-js/modules/es.object.get-own-property-descriptor.js");
|
|
14
|
-
|
|
15
|
-
require("core-js/modules/es.symbol.js");
|
|
16
|
-
|
|
17
|
-
require("core-js/modules/es.symbol.description.js");
|
|
18
|
-
|
|
19
|
-
require("core-js/modules/es.symbol.iterator.js");
|
|
20
|
-
|
|
21
3
|
Object.defineProperty(exports, "__esModule", {
|
|
22
4
|
value: true
|
|
23
5
|
});
|
|
@@ -25,20 +7,12 @@ exports.checkActionsLoaded = void 0;
|
|
|
25
7
|
|
|
26
8
|
require("core-js/modules/es.array.join.js");
|
|
27
9
|
|
|
28
|
-
require("core-js/modules/es.promise.js");
|
|
29
|
-
|
|
30
|
-
require("core-js/modules/es.object.to-string.js");
|
|
31
|
-
|
|
32
10
|
var _coreCommon = require("@storybook/core-common");
|
|
33
11
|
|
|
34
12
|
var _path = _interopRequireDefault(require("path"));
|
|
35
13
|
|
|
36
14
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
37
15
|
|
|
38
|
-
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }
|
|
39
|
-
|
|
40
|
-
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
41
|
-
|
|
42
16
|
var checkActionsLoaded = function checkActionsLoaded(configDir) {
|
|
43
17
|
(0, _coreCommon.checkAddonOrder)({
|
|
44
18
|
before: {
|
|
@@ -51,9 +25,7 @@ var checkActionsLoaded = function checkActionsLoaded(configDir) {
|
|
|
51
25
|
},
|
|
52
26
|
configFile: _path.default.isAbsolute(configDir) ? _path.default.join(configDir, 'main') : _path.default.join(process.cwd(), configDir, 'main'),
|
|
53
27
|
getConfig: function getConfig(configFile) {
|
|
54
|
-
return
|
|
55
|
-
return _interopRequireWildcard(require(s));
|
|
56
|
-
});
|
|
28
|
+
return (0, _coreCommon.serverRequire)(configFile);
|
|
57
29
|
}
|
|
58
30
|
});
|
|
59
31
|
};
|
package/dist/cjs/theme.js
CHANGED
package/dist/esm/Panel.js
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
import "core-js/modules/es.object.keys.js";
|
|
2
|
+
import "core-js/modules/es.symbol.js";
|
|
3
|
+
import "core-js/modules/es.symbol.description.js";
|
|
4
|
+
import "core-js/modules/es.symbol.iterator.js";
|
|
5
|
+
import "core-js/modules/es.function.name.js";
|
|
6
|
+
import "core-js/modules/es.array.from.js";
|
|
7
|
+
var _excluded = ["calls", "controls", "controlStates", "interactions", "fileName", "hasException", "isPlaying", "onScrollToEnd", "endRef"],
|
|
8
|
+
_excluded2 = ["status"];
|
|
9
|
+
|
|
1
10
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
11
|
|
|
3
12
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
@@ -10,27 +19,21 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
|
|
|
10
19
|
|
|
11
20
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
12
21
|
|
|
13
|
-
function _iterableToArrayLimit(arr, i) {
|
|
22
|
+
function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
|
14
23
|
|
|
15
24
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
16
25
|
|
|
17
26
|
import "core-js/modules/es.array.map.js";
|
|
27
|
+
import "core-js/modules/es.array.iterator.js";
|
|
18
28
|
import "core-js/modules/es.map.js";
|
|
19
29
|
import "core-js/modules/es.object.to-string.js";
|
|
20
30
|
import "core-js/modules/es.string.iterator.js";
|
|
21
|
-
import "core-js/modules/es.array.iterator.js";
|
|
22
31
|
import "core-js/modules/web.dom-collections.iterator.js";
|
|
23
32
|
import "core-js/modules/es.object.assign.js";
|
|
24
33
|
import "core-js/modules/es.array.slice.js";
|
|
25
|
-
import "core-js/modules/es.string.split.js";
|
|
26
34
|
import "core-js/modules/es.regexp.exec.js";
|
|
35
|
+
import "core-js/modules/es.string.split.js";
|
|
27
36
|
import "core-js/modules/es.regexp.to-string.js";
|
|
28
|
-
import "core-js/modules/es.object.keys.js";
|
|
29
|
-
import "core-js/modules/es.symbol.js";
|
|
30
|
-
import "core-js/modules/es.symbol.description.js";
|
|
31
|
-
import "core-js/modules/es.symbol.iterator.js";
|
|
32
|
-
import "core-js/modules/es.function.name.js";
|
|
33
|
-
import "core-js/modules/es.array.from.js";
|
|
34
37
|
|
|
35
38
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
36
39
|
|
|
@@ -75,7 +78,7 @@ export var AddonPanelPure = /*#__PURE__*/React.memo(function (_ref2) {
|
|
|
75
78
|
isPlaying = _ref2.isPlaying,
|
|
76
79
|
onScrollToEnd = _ref2.onScrollToEnd,
|
|
77
80
|
endRef = _ref2.endRef,
|
|
78
|
-
panelProps = _objectWithoutProperties(_ref2,
|
|
81
|
+
panelProps = _objectWithoutProperties(_ref2, _excluded);
|
|
79
82
|
|
|
80
83
|
return /*#__PURE__*/React.createElement(AddonPanel, panelProps, controlStates.debugger && interactions.length > 0 && /*#__PURE__*/React.createElement(Subnav, {
|
|
81
84
|
controls: controls,
|
|
@@ -128,7 +131,7 @@ export var Panel = function Panel(props) {
|
|
|
128
131
|
|
|
129
132
|
var setCall = function setCall(_ref3) {
|
|
130
133
|
var status = _ref3.status,
|
|
131
|
-
call = _objectWithoutProperties(_ref3,
|
|
134
|
+
call = _objectWithoutProperties(_ref3, _excluded2);
|
|
132
135
|
|
|
133
136
|
return calls.current.set(call.id, call);
|
|
134
137
|
};
|
|
@@ -147,17 +150,24 @@ export var Panel = function Panel(props) {
|
|
|
147
150
|
});
|
|
148
151
|
var endRef = React.useRef();
|
|
149
152
|
React.useEffect(function () {
|
|
150
|
-
var observer
|
|
151
|
-
|
|
152
|
-
|
|
153
|
+
var observer;
|
|
154
|
+
|
|
155
|
+
if (global.window.IntersectionObserver) {
|
|
156
|
+
observer = new global.window.IntersectionObserver(function (_ref5) {
|
|
157
|
+
var _ref6 = _slicedToArray(_ref5, 1),
|
|
158
|
+
end = _ref6[0];
|
|
159
|
+
|
|
160
|
+
return setScrollTarget(end.isIntersecting ? undefined : end.target);
|
|
161
|
+
}, {
|
|
162
|
+
root: global.window.document.querySelector('#panel-tab-content')
|
|
163
|
+
});
|
|
164
|
+
if (endRef.current) observer.observe(endRef.current);
|
|
165
|
+
}
|
|
153
166
|
|
|
154
|
-
return setScrollTarget(end.isIntersecting ? undefined : end.target);
|
|
155
|
-
}, {
|
|
156
|
-
root: global.window.document.querySelector('#panel-tab-content')
|
|
157
|
-
});
|
|
158
|
-
if (endRef.current) observer.observe(endRef.current);
|
|
159
167
|
return function () {
|
|
160
|
-
|
|
168
|
+
var _observer;
|
|
169
|
+
|
|
170
|
+
return (_observer = observer) === null || _observer === void 0 ? void 0 : _observer.disconnect();
|
|
161
171
|
};
|
|
162
172
|
}, []);
|
|
163
173
|
var emit = useChannel((_useChannel = {}, _defineProperty(_useChannel, EVENTS.CALL, setCall), _defineProperty(_useChannel, EVENTS.SYNC, function (payload) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import "core-js/modules/es.array.iterator.js";
|
|
1
2
|
import "core-js/modules/es.map.js";
|
|
2
3
|
import "core-js/modules/es.object.to-string.js";
|
|
3
4
|
import "core-js/modules/es.string.iterator.js";
|
|
4
|
-
import "core-js/modules/es.array.iterator.js";
|
|
5
5
|
import "core-js/modules/web.dom-collections.iterator.js";
|
|
6
6
|
import "core-js/modules/es.object.assign.js";
|
|
7
7
|
import React from 'react';
|
package/dist/esm/Tool.js
CHANGED
|
@@ -2,12 +2,13 @@ import "core-js/modules/es.symbol.js";
|
|
|
2
2
|
import "core-js/modules/es.symbol.description.js";
|
|
3
3
|
import "core-js/modules/es.object.to-string.js";
|
|
4
4
|
import "core-js/modules/es.symbol.iterator.js";
|
|
5
|
-
import "core-js/modules/es.string.iterator.js";
|
|
6
5
|
import "core-js/modules/es.array.iterator.js";
|
|
6
|
+
import "core-js/modules/es.string.iterator.js";
|
|
7
7
|
import "core-js/modules/web.dom-collections.iterator.js";
|
|
8
8
|
import "core-js/modules/es.array.slice.js";
|
|
9
9
|
import "core-js/modules/es.function.name.js";
|
|
10
10
|
import "core-js/modules/es.array.from.js";
|
|
11
|
+
import "core-js/modules/es.regexp.exec.js";
|
|
11
12
|
|
|
12
13
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
13
14
|
|
|
@@ -17,7 +18,7 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
|
|
|
17
18
|
|
|
18
19
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
19
20
|
|
|
20
|
-
function _iterableToArrayLimit(arr, i) {
|
|
21
|
+
function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
|
21
22
|
|
|
22
23
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
23
24
|
|
|
@@ -14,7 +14,7 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
|
|
|
14
14
|
|
|
15
15
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
16
16
|
|
|
17
|
-
function _iterableToArrayLimit(arr, i) {
|
|
17
|
+
function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
|
18
18
|
|
|
19
19
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
20
20
|
|
|
@@ -22,22 +22,23 @@ import "core-js/modules/es.regexp.constructor.js";
|
|
|
22
22
|
import "core-js/modules/es.regexp.exec.js";
|
|
23
23
|
import "core-js/modules/es.regexp.to-string.js";
|
|
24
24
|
import "core-js/modules/es.object.assign.js";
|
|
25
|
-
import "core-js/modules/es.promise.js";
|
|
26
25
|
import "core-js/modules/es.object.to-string.js";
|
|
26
|
+
import "core-js/modules/es.promise.js";
|
|
27
27
|
import "core-js/modules/es.string.match.js";
|
|
28
28
|
import "core-js/modules/es.symbol.js";
|
|
29
29
|
import "core-js/modules/es.symbol.description.js";
|
|
30
30
|
import "core-js/modules/es.symbol.iterator.js";
|
|
31
|
-
import "core-js/modules/es.string.iterator.js";
|
|
32
31
|
import "core-js/modules/es.array.iterator.js";
|
|
32
|
+
import "core-js/modules/es.string.iterator.js";
|
|
33
33
|
import "core-js/modules/web.dom-collections.iterator.js";
|
|
34
34
|
import "core-js/modules/es.array.slice.js";
|
|
35
35
|
import "core-js/modules/es.function.name.js";
|
|
36
36
|
import "core-js/modules/es.array.from.js";
|
|
37
|
+
|
|
38
|
+
/* eslint-disable import/no-extraneous-dependencies */
|
|
37
39
|
import { Icons, WithTooltip } from '@storybook/components';
|
|
38
40
|
import { keyframes, styled } from '@storybook/theming';
|
|
39
|
-
import { ErrorMessage, Field as FormikInput, Form as FormikForm, Formik
|
|
40
|
-
} from 'formik';
|
|
41
|
+
import { ErrorMessage, Field as FormikInput, Form as FormikForm, Formik } from 'formik';
|
|
41
42
|
import React, { useCallback, useState } from 'react';
|
|
42
43
|
var errorMap = {
|
|
43
44
|
email: {
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import "core-js/modules/es.promise.js";
|
|
2
1
|
import "core-js/modules/es.object.to-string.js";
|
|
2
|
+
import "core-js/modules/es.promise.js";
|
|
3
3
|
import "core-js/modules/es.object.assign.js";
|
|
4
4
|
import "core-js/modules/es.symbol.js";
|
|
5
5
|
import "core-js/modules/es.symbol.description.js";
|
|
6
6
|
import "core-js/modules/es.symbol.iterator.js";
|
|
7
|
-
import "core-js/modules/es.string.iterator.js";
|
|
8
7
|
import "core-js/modules/es.array.iterator.js";
|
|
8
|
+
import "core-js/modules/es.string.iterator.js";
|
|
9
9
|
import "core-js/modules/web.dom-collections.iterator.js";
|
|
10
10
|
import "core-js/modules/es.array.slice.js";
|
|
11
11
|
import "core-js/modules/es.function.name.js";
|
|
12
12
|
import "core-js/modules/es.array.from.js";
|
|
13
|
+
import "core-js/modules/es.regexp.exec.js";
|
|
13
14
|
|
|
14
15
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
15
16
|
|
|
@@ -19,7 +20,7 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
|
|
|
19
20
|
|
|
20
21
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
21
22
|
|
|
22
|
-
function _iterableToArrayLimit(arr, i) {
|
|
23
|
+
function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
|
23
24
|
|
|
24
25
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
25
26
|
|
|
@@ -6,7 +6,7 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
|
|
|
6
6
|
|
|
7
7
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
8
8
|
|
|
9
|
-
function _iterableToArrayLimit(arr, i) {
|
|
9
|
+
function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
|
10
10
|
|
|
11
11
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
12
12
|
|
|
@@ -17,12 +17,13 @@ import "core-js/modules/es.symbol.js";
|
|
|
17
17
|
import "core-js/modules/es.symbol.description.js";
|
|
18
18
|
import "core-js/modules/es.object.to-string.js";
|
|
19
19
|
import "core-js/modules/es.symbol.iterator.js";
|
|
20
|
-
import "core-js/modules/es.string.iterator.js";
|
|
21
20
|
import "core-js/modules/es.array.iterator.js";
|
|
21
|
+
import "core-js/modules/es.string.iterator.js";
|
|
22
22
|
import "core-js/modules/web.dom-collections.iterator.js";
|
|
23
23
|
import "core-js/modules/es.array.slice.js";
|
|
24
24
|
import "core-js/modules/es.function.name.js";
|
|
25
25
|
import "core-js/modules/es.array.from.js";
|
|
26
|
+
import "core-js/modules/es.regexp.exec.js";
|
|
26
27
|
import * as React from 'react';
|
|
27
28
|
import { CallStates } from '@storybook/instrumenter';
|
|
28
29
|
import { styled, typography } from '@storybook/theming';
|
|
@@ -4,10 +4,10 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try
|
|
|
4
4
|
|
|
5
5
|
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
6
6
|
|
|
7
|
+
import "core-js/modules/es.array.iterator.js";
|
|
7
8
|
import "core-js/modules/es.map.js";
|
|
8
9
|
import "core-js/modules/es.object.to-string.js";
|
|
9
10
|
import "core-js/modules/es.string.iterator.js";
|
|
10
|
-
import "core-js/modules/es.array.iterator.js";
|
|
11
11
|
import "core-js/modules/web.dom-collections.iterator.js";
|
|
12
12
|
import "core-js/modules/es.object.assign.js";
|
|
13
13
|
import "core-js/modules/es.promise.js";
|
|
@@ -3,12 +3,13 @@ import "core-js/modules/es.symbol.description.js";
|
|
|
3
3
|
import "core-js/modules/es.array.map.js";
|
|
4
4
|
import "core-js/modules/es.object.to-string.js";
|
|
5
5
|
import "core-js/modules/es.symbol.iterator.js";
|
|
6
|
-
import "core-js/modules/es.string.iterator.js";
|
|
7
6
|
import "core-js/modules/es.array.iterator.js";
|
|
7
|
+
import "core-js/modules/es.string.iterator.js";
|
|
8
8
|
import "core-js/modules/web.dom-collections.iterator.js";
|
|
9
9
|
import "core-js/modules/es.array.slice.js";
|
|
10
10
|
import "core-js/modules/es.function.name.js";
|
|
11
11
|
import "core-js/modules/es.array.from.js";
|
|
12
|
+
import "core-js/modules/es.regexp.exec.js";
|
|
12
13
|
|
|
13
14
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
14
15
|
|
|
@@ -18,7 +19,7 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
|
|
|
18
19
|
|
|
19
20
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
20
21
|
|
|
21
|
-
function _iterableToArrayLimit(arr, i) {
|
|
22
|
+
function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
|
22
23
|
|
|
23
24
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
24
25
|
|
|
@@ -6,24 +6,24 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
|
|
|
6
6
|
|
|
7
7
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
8
8
|
|
|
9
|
-
function _iterableToArrayLimit(arr, i) {
|
|
9
|
+
function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
|
10
10
|
|
|
11
11
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
12
12
|
|
|
13
13
|
import "core-js/modules/es.array.slice.js";
|
|
14
14
|
import "core-js/modules/es.string.starts-with.js";
|
|
15
|
-
import "core-js/modules/es.string.split.js";
|
|
16
15
|
import "core-js/modules/es.regexp.exec.js";
|
|
16
|
+
import "core-js/modules/es.string.split.js";
|
|
17
17
|
import "core-js/modules/es.array.flat-map.js";
|
|
18
18
|
import "core-js/modules/es.array.unscopables.flat-map.js";
|
|
19
|
+
import "core-js/modules/es.object.to-string.js";
|
|
19
20
|
import "core-js/modules/es.string.match.js";
|
|
20
21
|
import "core-js/modules/es.number.constructor.js";
|
|
21
22
|
import "core-js/modules/es.symbol.js";
|
|
22
23
|
import "core-js/modules/es.symbol.description.js";
|
|
23
|
-
import "core-js/modules/es.object.to-string.js";
|
|
24
24
|
import "core-js/modules/es.symbol.iterator.js";
|
|
25
|
-
import "core-js/modules/es.string.iterator.js";
|
|
26
25
|
import "core-js/modules/es.array.iterator.js";
|
|
26
|
+
import "core-js/modules/es.string.iterator.js";
|
|
27
27
|
import "core-js/modules/web.dom-collections.iterator.js";
|
|
28
28
|
import "core-js/modules/es.function.name.js";
|
|
29
29
|
import "core-js/modules/es.array.from.js";
|
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
import "core-js/modules/es.object.assign.js";
|
|
2
|
+
import "core-js/modules/es.symbol.iterator.js";
|
|
3
|
+
import "core-js/modules/es.array.iterator.js";
|
|
4
|
+
import "core-js/modules/es.string.iterator.js";
|
|
5
|
+
import "core-js/modules/web.dom-collections.iterator.js";
|
|
6
|
+
import "core-js/modules/es.array.from.js";
|
|
7
|
+
var _excluded = ["value", "nested", "callsById"],
|
|
8
|
+
_excluded2 = ["value"],
|
|
9
|
+
_excluded3 = ["value"],
|
|
10
|
+
_excluded4 = ["value"];
|
|
11
|
+
|
|
1
12
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
2
13
|
|
|
3
14
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
@@ -6,11 +17,11 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
|
|
|
6
17
|
|
|
7
18
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
8
19
|
|
|
9
|
-
function _iterableToArrayLimit(arr, i) {
|
|
20
|
+
function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
|
10
21
|
|
|
11
22
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
12
23
|
|
|
13
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
24
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
14
25
|
|
|
15
26
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
16
27
|
|
|
@@ -18,15 +29,15 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
|
|
|
18
29
|
|
|
19
30
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
20
31
|
|
|
21
|
-
import "core-js/modules/es.string.replace.js";
|
|
22
32
|
import "core-js/modules/es.regexp.exec.js";
|
|
33
|
+
import "core-js/modules/es.string.replace.js";
|
|
23
34
|
import "core-js/modules/es.array.slice.js";
|
|
24
35
|
import "core-js/modules/es.array.flat-map.js";
|
|
25
36
|
import "core-js/modules/es.array.unscopables.flat-map.js";
|
|
37
|
+
import "core-js/modules/es.object.to-string.js";
|
|
26
38
|
import "core-js/modules/es.regexp.constructor.js";
|
|
27
39
|
import "core-js/modules/es.regexp.to-string.js";
|
|
28
40
|
import "core-js/modules/es.function.name.js";
|
|
29
|
-
import "core-js/modules/es.object.to-string.js";
|
|
30
41
|
import "core-js/modules/es.array.map.js";
|
|
31
42
|
import "core-js/modules/es.object.entries.js";
|
|
32
43
|
import "core-js/modules/es.object.keys.js";
|
|
@@ -35,12 +46,6 @@ import "core-js/modules/es.string.split.js";
|
|
|
35
46
|
import "core-js/modules/es.regexp.flags.js";
|
|
36
47
|
import "core-js/modules/es.symbol.js";
|
|
37
48
|
import "core-js/modules/es.symbol.description.js";
|
|
38
|
-
import "core-js/modules/es.object.assign.js";
|
|
39
|
-
import "core-js/modules/es.symbol.iterator.js";
|
|
40
|
-
import "core-js/modules/es.string.iterator.js";
|
|
41
|
-
import "core-js/modules/es.array.iterator.js";
|
|
42
|
-
import "core-js/modules/web.dom-collections.iterator.js";
|
|
43
|
-
import "core-js/modules/es.array.from.js";
|
|
44
49
|
import { useTheme } from '@storybook/theming';
|
|
45
50
|
import React, { Fragment } from 'react';
|
|
46
51
|
var colorsLight = {
|
|
@@ -140,7 +145,7 @@ export var Node = function Node(_ref) {
|
|
|
140
145
|
var value = _ref.value,
|
|
141
146
|
nested = _ref.nested,
|
|
142
147
|
callsById = _ref.callsById,
|
|
143
|
-
props = _objectWithoutProperties(_ref,
|
|
148
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
144
149
|
|
|
145
150
|
switch (true) {
|
|
146
151
|
case value === null:
|
|
@@ -236,7 +241,7 @@ export var UndefinedNode = function UndefinedNode(props) {
|
|
|
236
241
|
};
|
|
237
242
|
export var StringNode = function StringNode(_ref2) {
|
|
238
243
|
var value = _ref2.value,
|
|
239
|
-
props = _objectWithoutProperties(_ref2,
|
|
244
|
+
props = _objectWithoutProperties(_ref2, _excluded2);
|
|
240
245
|
|
|
241
246
|
var colors = useThemeColors();
|
|
242
247
|
return /*#__PURE__*/React.createElement("span", _extends({
|
|
@@ -247,7 +252,7 @@ export var StringNode = function StringNode(_ref2) {
|
|
|
247
252
|
};
|
|
248
253
|
export var NumberNode = function NumberNode(_ref3) {
|
|
249
254
|
var value = _ref3.value,
|
|
250
|
-
props = _objectWithoutProperties(_ref3,
|
|
255
|
+
props = _objectWithoutProperties(_ref3, _excluded3);
|
|
251
256
|
|
|
252
257
|
var colors = useThemeColors();
|
|
253
258
|
return /*#__PURE__*/React.createElement("span", _extends({
|
|
@@ -258,7 +263,7 @@ export var NumberNode = function NumberNode(_ref3) {
|
|
|
258
263
|
};
|
|
259
264
|
export var BooleanNode = function BooleanNode(_ref4) {
|
|
260
265
|
var value = _ref4.value,
|
|
261
|
-
props = _objectWithoutProperties(_ref4,
|
|
266
|
+
props = _objectWithoutProperties(_ref4, _excluded4);
|
|
262
267
|
|
|
263
268
|
var colors = useThemeColors();
|
|
264
269
|
return /*#__PURE__*/React.createElement("span", _extends({
|