@storybook/addon-onboarding 10.2.0-alpha.1 → 10.2.0-alpha.3
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.
|
@@ -10,9 +10,9 @@ import {
|
|
|
10
10
|
__toESM
|
|
11
11
|
} from "./chunk-ZYVL3X5E.js";
|
|
12
12
|
|
|
13
|
-
//
|
|
13
|
+
// ../../../node_modules/scroll/index.js
|
|
14
14
|
var require_scroll = __commonJS({
|
|
15
|
-
"
|
|
15
|
+
"../../../node_modules/scroll/index.js"(exports, module) {
|
|
16
16
|
var E_NOSCROLL = new Error("Element already at target scroll position"), E_CANCELLED = new Error("Scroll cancelled"), min = Math.min, ms = Date.now;
|
|
17
17
|
module.exports = {
|
|
18
18
|
left: make("scrollLeft"),
|
|
@@ -43,9 +43,9 @@ var require_scroll = __commonJS({
|
|
|
43
43
|
}
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
//
|
|
46
|
+
// ../../../node_modules/scrollparent/scrollparent.js
|
|
47
47
|
var require_scrollparent = __commonJS({
|
|
48
|
-
"
|
|
48
|
+
"../../../node_modules/scrollparent/scrollparent.js"(exports, module) {
|
|
49
49
|
(function(root2, factory) {
|
|
50
50
|
typeof define == "function" && define.amd ? define([], factory) : typeof module == "object" && module.exports ? module.exports = factory() : root2.Scrollparent = factory();
|
|
51
51
|
})(exports, function() {
|
|
@@ -68,9 +68,9 @@ var require_scrollparent = __commonJS({
|
|
|
68
68
|
}
|
|
69
69
|
});
|
|
70
70
|
|
|
71
|
-
//
|
|
71
|
+
// ../../../node_modules/react-innertext/index.js
|
|
72
72
|
var require_react_innertext = __commonJS({
|
|
73
|
-
"
|
|
73
|
+
"../../../node_modules/react-innertext/index.js"(exports, module) {
|
|
74
74
|
"use strict";
|
|
75
75
|
var hasProps = function(jsx) {
|
|
76
76
|
return Object.prototype.hasOwnProperty.call(jsx, "props");
|
|
@@ -84,9 +84,9 @@ var require_react_innertext = __commonJS({
|
|
|
84
84
|
}
|
|
85
85
|
});
|
|
86
86
|
|
|
87
|
-
//
|
|
87
|
+
// ../../../node_modules/deepmerge/dist/cjs.js
|
|
88
88
|
var require_cjs = __commonJS({
|
|
89
|
-
"
|
|
89
|
+
"../../../node_modules/deepmerge/dist/cjs.js"(exports, module) {
|
|
90
90
|
"use strict";
|
|
91
91
|
var isMergeableObject = function(value) {
|
|
92
92
|
return isNonNullObject(value) && !isSpecial(value);
|
|
@@ -162,9 +162,9 @@ var require_cjs = __commonJS({
|
|
|
162
162
|
}
|
|
163
163
|
});
|
|
164
164
|
|
|
165
|
-
//
|
|
165
|
+
// ../../../node_modules/react-is/cjs/react-is.production.min.js
|
|
166
166
|
var require_react_is_production_min = __commonJS({
|
|
167
|
-
"
|
|
167
|
+
"../../../node_modules/react-is/cjs/react-is.production.min.js"(exports) {
|
|
168
168
|
"use strict";
|
|
169
169
|
var b2 = typeof Symbol == "function" && Symbol.for, c2 = b2 ? Symbol.for("react.element") : 60103, d2 = b2 ? Symbol.for("react.portal") : 60106, e2 = b2 ? Symbol.for("react.fragment") : 60107, f2 = b2 ? Symbol.for("react.strict_mode") : 60108, g2 = b2 ? Symbol.for("react.profiler") : 60114, h2 = b2 ? Symbol.for("react.provider") : 60109, k2 = b2 ? Symbol.for("react.context") : 60110, l2 = b2 ? Symbol.for("react.async_mode") : 60111, m2 = b2 ? Symbol.for("react.concurrent_mode") : 60111, n2 = b2 ? Symbol.for("react.forward_ref") : 60112, p2 = b2 ? Symbol.for("react.suspense") : 60113, q = b2 ? Symbol.for("react.suspense_list") : 60120, r2 = b2 ? Symbol.for("react.memo") : 60115, t2 = b2 ? Symbol.for("react.lazy") : 60116, v2 = b2 ? Symbol.for("react.block") : 60121, w2 = b2 ? Symbol.for("react.fundamental") : 60117, x2 = b2 ? Symbol.for("react.responder") : 60118, y2 = b2 ? Symbol.for("react.scope") : 60119;
|
|
170
170
|
function z2(a2) {
|
|
@@ -257,9 +257,9 @@ var require_react_is_production_min = __commonJS({
|
|
|
257
257
|
}
|
|
258
258
|
});
|
|
259
259
|
|
|
260
|
-
//
|
|
260
|
+
// ../../../node_modules/react-is/cjs/react-is.development.js
|
|
261
261
|
var require_react_is_development = __commonJS({
|
|
262
|
-
"
|
|
262
|
+
"../../../node_modules/react-is/cjs/react-is.development.js"(exports) {
|
|
263
263
|
"use strict";
|
|
264
264
|
process.env.NODE_ENV !== "production" && (function() {
|
|
265
265
|
"use strict";
|
|
@@ -345,17 +345,17 @@ var require_react_is_development = __commonJS({
|
|
|
345
345
|
}
|
|
346
346
|
});
|
|
347
347
|
|
|
348
|
-
//
|
|
348
|
+
// ../../../node_modules/react-is/index.js
|
|
349
349
|
var require_react_is = __commonJS({
|
|
350
|
-
"
|
|
350
|
+
"../../../node_modules/react-is/index.js"(exports, module) {
|
|
351
351
|
"use strict";
|
|
352
352
|
process.env.NODE_ENV === "production" ? module.exports = require_react_is_production_min() : module.exports = require_react_is_development();
|
|
353
353
|
}
|
|
354
354
|
});
|
|
355
355
|
|
|
356
|
-
//
|
|
356
|
+
// ../../../node_modules/object-assign/index.js
|
|
357
357
|
var require_object_assign = __commonJS({
|
|
358
|
-
"
|
|
358
|
+
"../../../node_modules/object-assign/index.js"(exports, module) {
|
|
359
359
|
"use strict";
|
|
360
360
|
var getOwnPropertySymbols = Object.getOwnPropertySymbols, hasOwnProperty = Object.prototype.hasOwnProperty, propIsEnumerable = Object.prototype.propertyIsEnumerable;
|
|
361
361
|
function toObject(val) {
|
|
@@ -401,25 +401,25 @@ var require_object_assign = __commonJS({
|
|
|
401
401
|
}
|
|
402
402
|
});
|
|
403
403
|
|
|
404
|
-
//
|
|
404
|
+
// ../../../node_modules/prop-types/lib/ReactPropTypesSecret.js
|
|
405
405
|
var require_ReactPropTypesSecret = __commonJS({
|
|
406
|
-
"
|
|
406
|
+
"../../../node_modules/prop-types/lib/ReactPropTypesSecret.js"(exports, module) {
|
|
407
407
|
"use strict";
|
|
408
408
|
var ReactPropTypesSecret = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
409
409
|
module.exports = ReactPropTypesSecret;
|
|
410
410
|
}
|
|
411
411
|
});
|
|
412
412
|
|
|
413
|
-
//
|
|
413
|
+
// ../../../node_modules/prop-types/lib/has.js
|
|
414
414
|
var require_has = __commonJS({
|
|
415
|
-
"
|
|
415
|
+
"../../../node_modules/prop-types/lib/has.js"(exports, module) {
|
|
416
416
|
module.exports = Function.call.bind(Object.prototype.hasOwnProperty);
|
|
417
417
|
}
|
|
418
418
|
});
|
|
419
419
|
|
|
420
|
-
//
|
|
420
|
+
// ../../../node_modules/prop-types/checkPropTypes.js
|
|
421
421
|
var require_checkPropTypes = __commonJS({
|
|
422
|
-
"
|
|
422
|
+
"../../../node_modules/prop-types/checkPropTypes.js"(exports, module) {
|
|
423
423
|
"use strict";
|
|
424
424
|
var printWarning = function() {
|
|
425
425
|
};
|
|
@@ -467,9 +467,9 @@ var require_checkPropTypes = __commonJS({
|
|
|
467
467
|
}
|
|
468
468
|
});
|
|
469
469
|
|
|
470
|
-
//
|
|
470
|
+
// ../../../node_modules/prop-types/factoryWithTypeCheckers.js
|
|
471
471
|
var require_factoryWithTypeCheckers = __commonJS({
|
|
472
|
-
"
|
|
472
|
+
"../../../node_modules/prop-types/factoryWithTypeCheckers.js"(exports, module) {
|
|
473
473
|
"use strict";
|
|
474
474
|
var ReactIs = require_react_is(), assign = require_object_assign(), ReactPropTypesSecret = require_ReactPropTypesSecret(), has = require_has(), checkPropTypes = require_checkPropTypes(), printWarning = function() {
|
|
475
475
|
};
|
|
@@ -790,9 +790,9 @@ Valid keys: ` + JSON.stringify(Object.keys(shapeTypes), null, " ")
|
|
|
790
790
|
}
|
|
791
791
|
});
|
|
792
792
|
|
|
793
|
-
//
|
|
793
|
+
// ../../../node_modules/prop-types/factoryWithThrowingShims.js
|
|
794
794
|
var require_factoryWithThrowingShims = __commonJS({
|
|
795
|
-
"
|
|
795
|
+
"../../../node_modules/prop-types/factoryWithThrowingShims.js"(exports, module) {
|
|
796
796
|
"use strict";
|
|
797
797
|
var ReactPropTypesSecret = require_ReactPropTypesSecret();
|
|
798
798
|
function emptyFunction() {
|
|
@@ -841,9 +841,9 @@ var require_factoryWithThrowingShims = __commonJS({
|
|
|
841
841
|
}
|
|
842
842
|
});
|
|
843
843
|
|
|
844
|
-
//
|
|
844
|
+
// ../../../node_modules/prop-types/index.js
|
|
845
845
|
var require_prop_types = __commonJS({
|
|
846
|
-
"
|
|
846
|
+
"../../../node_modules/prop-types/index.js"(exports, module) {
|
|
847
847
|
process.env.NODE_ENV !== "production" ? (ReactIs = require_react_is(), throwOnDirectAccess = !0, module.exports = require_factoryWithTypeCheckers()(ReactIs.isElement, throwOnDirectAccess)) : module.exports = require_factoryWithThrowingShims()();
|
|
848
848
|
var ReactIs, throwOnDirectAccess;
|
|
849
849
|
}
|
|
@@ -923,7 +923,7 @@ function HighlightElement({
|
|
|
923
923
|
import React11, { useCallback, useEffect as useEffect3, useMemo, useRef, useState } from "react";
|
|
924
924
|
import { createRoot } from "react-dom/client";
|
|
925
925
|
|
|
926
|
-
//
|
|
926
|
+
// ../../../node_modules/@babel/runtime/helpers/esm/extends.js
|
|
927
927
|
function _extends() {
|
|
928
928
|
return _extends = Object.assign ? Object.assign.bind() : function(n2) {
|
|
929
929
|
for (var e2 = 1; e2 < arguments.length; e2++) {
|
|
@@ -934,32 +934,32 @@ function _extends() {
|
|
|
934
934
|
}, _extends.apply(null, arguments);
|
|
935
935
|
}
|
|
936
936
|
|
|
937
|
-
//
|
|
937
|
+
// ../../../node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
|
|
938
938
|
function _assertThisInitialized(e2) {
|
|
939
939
|
if (e2 === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
940
940
|
return e2;
|
|
941
941
|
}
|
|
942
942
|
|
|
943
|
-
//
|
|
943
|
+
// ../../../node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
|
|
944
944
|
function _setPrototypeOf(t2, e2) {
|
|
945
945
|
return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t3, e3) {
|
|
946
946
|
return t3.__proto__ = e3, t3;
|
|
947
947
|
}, _setPrototypeOf(t2, e2);
|
|
948
948
|
}
|
|
949
949
|
|
|
950
|
-
//
|
|
950
|
+
// ../../../node_modules/@babel/runtime/helpers/esm/inheritsLoose.js
|
|
951
951
|
function _inheritsLoose(t2, o2) {
|
|
952
952
|
t2.prototype = Object.create(o2.prototype), t2.prototype.constructor = t2, _setPrototypeOf(t2, o2);
|
|
953
953
|
}
|
|
954
954
|
|
|
955
|
-
//
|
|
955
|
+
// ../../../node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
|
|
956
956
|
function _getPrototypeOf(t2) {
|
|
957
957
|
return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t3) {
|
|
958
958
|
return t3.__proto__ || Object.getPrototypeOf(t3);
|
|
959
959
|
}, _getPrototypeOf(t2);
|
|
960
960
|
}
|
|
961
961
|
|
|
962
|
-
//
|
|
962
|
+
// ../../../node_modules/@babel/runtime/helpers/esm/isNativeFunction.js
|
|
963
963
|
function _isNativeFunction(t2) {
|
|
964
964
|
try {
|
|
965
965
|
return Function.toString.call(t2).indexOf("[native code]") !== -1;
|
|
@@ -968,7 +968,7 @@ function _isNativeFunction(t2) {
|
|
|
968
968
|
}
|
|
969
969
|
}
|
|
970
970
|
|
|
971
|
-
//
|
|
971
|
+
// ../../../node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js
|
|
972
972
|
function _isNativeReflectConstruct() {
|
|
973
973
|
try {
|
|
974
974
|
var t2 = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
@@ -980,7 +980,7 @@ function _isNativeReflectConstruct() {
|
|
|
980
980
|
})();
|
|
981
981
|
}
|
|
982
982
|
|
|
983
|
-
//
|
|
983
|
+
// ../../../node_modules/@babel/runtime/helpers/esm/construct.js
|
|
984
984
|
function _construct(t2, e2, r2) {
|
|
985
985
|
if (_isNativeReflectConstruct()) return Reflect.construct.apply(null, arguments);
|
|
986
986
|
var o2 = [null];
|
|
@@ -989,7 +989,7 @@ function _construct(t2, e2, r2) {
|
|
|
989
989
|
return r2 && _setPrototypeOf(p2, r2.prototype), p2;
|
|
990
990
|
}
|
|
991
991
|
|
|
992
|
-
//
|
|
992
|
+
// ../../../node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js
|
|
993
993
|
function _wrapNativeSuper(t2) {
|
|
994
994
|
var r2 = typeof Map == "function" ? /* @__PURE__ */ new Map() : void 0;
|
|
995
995
|
return _wrapNativeSuper = function(t3) {
|
|
@@ -1013,7 +1013,7 @@ function _wrapNativeSuper(t2) {
|
|
|
1013
1013
|
}, _wrapNativeSuper(t2);
|
|
1014
1014
|
}
|
|
1015
1015
|
|
|
1016
|
-
//
|
|
1016
|
+
// ../../../node_modules/polished/dist/polished.esm.js
|
|
1017
1017
|
var ERRORS = {
|
|
1018
1018
|
1: `Passed invalid arguments to hsl, please pass multiple numbers e.g. hsl(360, 0.75, 0.4) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75 }).
|
|
1019
1019
|
|
|
@@ -1759,10 +1759,10 @@ function transparentize(amount, color2) {
|
|
|
1759
1759
|
}
|
|
1760
1760
|
var curriedTransparentize = curry(transparentize), curriedTransparentize$1 = curriedTransparentize;
|
|
1761
1761
|
|
|
1762
|
-
//
|
|
1762
|
+
// ../../../node_modules/react-joyride/dist/index.mjs
|
|
1763
1763
|
import * as React9 from "react";
|
|
1764
1764
|
|
|
1765
|
-
//
|
|
1765
|
+
// ../../../node_modules/@gilbarbara/deep-equal/dist/index.mjs
|
|
1766
1766
|
function isOfType(type) {
|
|
1767
1767
|
return (value) => typeof value === type;
|
|
1768
1768
|
}
|
|
@@ -1840,7 +1840,7 @@ function equal(left, right) {
|
|
|
1840
1840
|
return Number.isNaN(left) && Number.isNaN(right) ? !0 : left === right;
|
|
1841
1841
|
}
|
|
1842
1842
|
|
|
1843
|
-
//
|
|
1843
|
+
// ../../../node_modules/is-lite/dist/index.mjs
|
|
1844
1844
|
var objectTypes = [
|
|
1845
1845
|
"Array",
|
|
1846
1846
|
"ArrayBuffer",
|
|
@@ -1968,7 +1968,7 @@ is.weakMap = isObjectOfType("WeakMap");
|
|
|
1968
1968
|
is.weakSet = isObjectOfType("WeakSet");
|
|
1969
1969
|
var src_default = is;
|
|
1970
1970
|
|
|
1971
|
-
//
|
|
1971
|
+
// ../../../node_modules/react-joyride/node_modules/tree-changes/dist/index.mjs
|
|
1972
1972
|
function canHaveLength(...arguments_) {
|
|
1973
1973
|
return arguments_.every((d2) => src_default.string(d2) || src_default.array(d2) || src_default.plainObject(d2));
|
|
1974
1974
|
}
|
|
@@ -2090,7 +2090,7 @@ function treeChanges(previousData, data) {
|
|
|
2090
2090
|
} };
|
|
2091
2091
|
}
|
|
2092
2092
|
|
|
2093
|
-
//
|
|
2093
|
+
// ../../../node_modules/react-joyride/dist/index.mjs
|
|
2094
2094
|
var import_scroll = __toESM(require_scroll(), 1), import_scrollparent = __toESM(require_scrollparent(), 1), import_react_innertext = __toESM(require_react_innertext(), 1);
|
|
2095
2095
|
import { cloneElement, isValidElement } from "react";
|
|
2096
2096
|
import { createPortal } from "react-dom";
|
|
@@ -2102,11 +2102,11 @@ import * as React32 from "react";
|
|
|
2102
2102
|
import * as ReactDOM2 from "react-dom";
|
|
2103
2103
|
import * as React8 from "react";
|
|
2104
2104
|
|
|
2105
|
-
//
|
|
2105
|
+
// ../../../node_modules/react-floater/es/index.js
|
|
2106
2106
|
var import_prop_types = __toESM(require_prop_types());
|
|
2107
2107
|
import React from "react";
|
|
2108
2108
|
|
|
2109
|
-
//
|
|
2109
|
+
// ../../../node_modules/popper.js/dist/esm/popper.js
|
|
2110
2110
|
var isBrowser = typeof window < "u" && typeof document < "u" && typeof navigator < "u", timeoutDuration = (function() {
|
|
2111
2111
|
for (var longerTimeoutBrowsers = ["Edge", "Trident", "Firefox"], i2 = 0; i2 < longerTimeoutBrowsers.length; i2 += 1)
|
|
2112
2112
|
if (isBrowser && navigator.userAgent.indexOf(longerTimeoutBrowsers[i2]) >= 0)
|
|
@@ -3119,10 +3119,10 @@ Popper.placements = placements;
|
|
|
3119
3119
|
Popper.Defaults = Defaults;
|
|
3120
3120
|
var popper_default = Popper;
|
|
3121
3121
|
|
|
3122
|
-
//
|
|
3122
|
+
// ../../../node_modules/react-floater/es/index.js
|
|
3123
3123
|
var import_deepmerge = __toESM(require_cjs());
|
|
3124
3124
|
|
|
3125
|
-
//
|
|
3125
|
+
// ../../../node_modules/react-floater/node_modules/is-lite/esm/index.js
|
|
3126
3126
|
var DOM_PROPERTIES_TO_CHECK2 = [
|
|
3127
3127
|
"innerHTML",
|
|
3128
3128
|
"ownerDocument",
|
|
@@ -3291,7 +3291,7 @@ is2.weakMap = isObjectOfType2("WeakMap");
|
|
|
3291
3291
|
is2.weakSet = isObjectOfType2("WeakSet");
|
|
3292
3292
|
var esm_default = is2;
|
|
3293
3293
|
|
|
3294
|
-
//
|
|
3294
|
+
// ../../../node_modules/tree-changes/node_modules/@gilbarbara/deep-equal/esm/helpers.js
|
|
3295
3295
|
function isOfType4(type) {
|
|
3296
3296
|
return function(value) {
|
|
3297
3297
|
return typeof value === type;
|
|
@@ -3305,7 +3305,7 @@ var isFunction3 = isOfType4("function"), isNull2 = function(value) {
|
|
|
3305
3305
|
return !isUndefined2(value) && !isNull2(value) && (isFunction3(value) || typeof value == "object");
|
|
3306
3306
|
}, isUndefined2 = isOfType4("undefined");
|
|
3307
3307
|
|
|
3308
|
-
//
|
|
3308
|
+
// ../../../node_modules/tree-changes/node_modules/@gilbarbara/deep-equal/esm/index.js
|
|
3309
3309
|
var __values = function(o2) {
|
|
3310
3310
|
var s2 = typeof Symbol == "function" && Symbol.iterator, m2 = s2 && o2[s2], i2 = 0;
|
|
3311
3311
|
if (m2) return m2.call(o2);
|
|
@@ -3426,7 +3426,7 @@ function equal2(left, right) {
|
|
|
3426
3426
|
return Number.isNaN(left) && Number.isNaN(right) ? !0 : left === right;
|
|
3427
3427
|
}
|
|
3428
3428
|
|
|
3429
|
-
//
|
|
3429
|
+
// ../../../node_modules/tree-changes/node_modules/is-lite/esm/index.js
|
|
3430
3430
|
var DOM_PROPERTIES_TO_CHECK3 = [
|
|
3431
3431
|
"innerHTML",
|
|
3432
3432
|
"ownerDocument",
|
|
@@ -3595,7 +3595,7 @@ is3.weakMap = isObjectOfType3("WeakMap");
|
|
|
3595
3595
|
is3.weakSet = isObjectOfType3("WeakSet");
|
|
3596
3596
|
var esm_default2 = is3;
|
|
3597
3597
|
|
|
3598
|
-
//
|
|
3598
|
+
// ../../../node_modules/tree-changes/esm/helpers.js
|
|
3599
3599
|
function canHaveLength2() {
|
|
3600
3600
|
for (var arguments_ = [], _i = 0; _i < arguments.length; _i++)
|
|
3601
3601
|
arguments_[_i] = arguments[_i];
|
|
@@ -3682,7 +3682,7 @@ function nested2(data, property) {
|
|
|
3682
3682
|
return data;
|
|
3683
3683
|
}
|
|
3684
3684
|
|
|
3685
|
-
//
|
|
3685
|
+
// ../../../node_modules/tree-changes/esm/index.js
|
|
3686
3686
|
function treeChanges2(previousData, data) {
|
|
3687
3687
|
if ([previousData, data].some(esm_default2.nullOrUndefined))
|
|
3688
3688
|
throw new Error("Missing required parameters");
|
|
@@ -3758,7 +3758,7 @@ function treeChanges2(previousData, data) {
|
|
|
3758
3758
|
return { added, changed, changedFrom, changedTo, decreased, emptied, filled, increased, removed };
|
|
3759
3759
|
}
|
|
3760
3760
|
|
|
3761
|
-
//
|
|
3761
|
+
// ../../../node_modules/react-floater/es/index.js
|
|
3762
3762
|
import ReactDOM from "react-dom";
|
|
3763
3763
|
function ownKeys(e2, r2) {
|
|
3764
3764
|
var t2 = Object.keys(e2);
|
|
@@ -4180,7 +4180,7 @@ _defineProperty(ReactFloater, "propTypes", { autoOpen: import_prop_types.default
|
|
|
4180
4180
|
}), debug: import_prop_types.default.bool, disableAnimation: import_prop_types.default.bool, disableFlip: import_prop_types.default.bool, disableHoverToClick: import_prop_types.default.bool, event: import_prop_types.default.oneOf(["hover", "click"]), eventDelay: import_prop_types.default.number, footer: import_prop_types.default.node, getPopper: import_prop_types.default.func, hideArrow: import_prop_types.default.bool, id: import_prop_types.default.oneOfType([import_prop_types.default.string, import_prop_types.default.number]), offset: import_prop_types.default.number, open: import_prop_types.default.bool, options: import_prop_types.default.object, placement: import_prop_types.default.oneOf(["top", "top-start", "top-end", "bottom", "bottom-start", "bottom-end", "left", "left-start", "left-end", "right", "right-start", "right-end", "auto", "center"]), showCloseButton: import_prop_types.default.bool, style: import_prop_types.default.object, styles: import_prop_types.default.object, target: import_prop_types.default.oneOfType([import_prop_types.default.object, import_prop_types.default.string]), title: import_prop_types.default.node, wrapperOptions: import_prop_types.default.shape({ offset: import_prop_types.default.number, placement: import_prop_types.default.oneOf(["top", "top-start", "top-end", "bottom", "bottom-start", "bottom-end", "left", "left-start", "left-end", "right", "right-start", "right-end", "auto"]), position: import_prop_types.default.bool }) });
|
|
4181
4181
|
_defineProperty(ReactFloater, "defaultProps", { autoOpen: !1, callback: noop, debug: !1, disableAnimation: !1, disableFlip: !1, disableHoverToClick: !1, event: "click", eventDelay: 0.4, getPopper: noop, hideArrow: !1, offset: 15, placement: "bottom", showCloseButton: !1, styles: {}, target: null, wrapperOptions: { position: !1 } });
|
|
4182
4182
|
|
|
4183
|
-
//
|
|
4183
|
+
// ../../../node_modules/react-joyride/dist/index.mjs
|
|
4184
4184
|
import * as React4 from "react";
|
|
4185
4185
|
import * as React7 from "react";
|
|
4186
4186
|
import * as React6 from "react";
|
|
@@ -5826,7 +5826,7 @@ TourGuide.render = (props) => {
|
|
|
5826
5826
|
// src/components/Confetti/Confetti.tsx
|
|
5827
5827
|
import React12 from "react";
|
|
5828
5828
|
|
|
5829
|
-
//
|
|
5829
|
+
// ../../../node_modules/@neoconfetti/react/dist/min/index.js
|
|
5830
5830
|
import { createElement as z, useEffect as A, useRef as H } from "react";
|
|
5831
5831
|
var e = '@keyframes Bc2PgW_ya{to{translate:0 var(--sh)}}@keyframes Bc2PgW_xa{to{translate:var(--xlp)0}}@keyframes Bc2PgW_r{50%{rotate:var(--hr)180deg}to{rotate:var(--r)360deg}}.Bc2PgW_c{z-index:1200;width:0;height:0;position:relative;overflow:visible}.Bc2PgW_p{animation:xa var(--dc)forwards cubic-bezier(var(--x1),var(--x2),var(--x3),var(--x4));animation-name:Bc2PgW_xa}.Bc2PgW_p>div{animation:ya var(--dc)forwards cubic-bezier(var(--y1),var(--y2),var(--y3),var(--y4));width:var(--w);height:var(--h);animation-name:Bc2PgW_ya;position:absolute;top:0;left:0}.Bc2PgW_p>div:before{content:"";background-color:var(--bgc);animation:r var(--rd)infinite linear;border-radius:var(--br);width:100%;height:100%;animation-name:Bc2PgW_r;display:block}', t = "Bc2PgW_p", r = "Bc2PgW_c", a = ["#FFC700", "#FF0000", "#2E3191", "#41BBC7"], o = 3500, n = 0.5, i = 150, c = "mix", s = 12, l = "", d = !0, p = 800, u = 1600;
|
|
5832
5832
|
function y(y2, z2 = {}) {
|
package/dist/manager.js
CHANGED
|
@@ -9,7 +9,7 @@ import React, { Suspense, lazy } from "react";
|
|
|
9
9
|
import { createRoot } from "react-dom/client";
|
|
10
10
|
import { STORY_SPECIFIED } from "storybook/internal/core-events";
|
|
11
11
|
import { addons, internal_universalChecklistStore as checklistStore } from "storybook/manager-api";
|
|
12
|
-
var Onboarding = lazy(() => import("./_browser-chunks/Onboarding-
|
|
12
|
+
var Onboarding = lazy(() => import("./_browser-chunks/Onboarding-V6NNE74C.js")), Survey = lazy(() => import("./_browser-chunks/Survey-RTIK67MQ.js")), root = null, render = (node) => {
|
|
13
13
|
let container = document.getElementById("storybook-addon-onboarding");
|
|
14
14
|
container || (container = document.createElement("div"), container.id = "storybook-addon-onboarding", document.body.appendChild(container)), root = root ?? createRoot(container), root.render(React.createElement(Suspense, { fallback: React.createElement("div", null) }, node));
|
|
15
15
|
};
|
package/dist/preset.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_thizxech9y from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_thizxech9y from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_thizxech9y from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_thizxech9y.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_thizxech9y.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_thizxech9y.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -14,7 +14,7 @@ var require = CJS_COMPAT_NODE_MODULE_65w1j12qkf8.createRequire(import.meta.url);
|
|
|
14
14
|
import { telemetry } from "storybook/internal/telemetry";
|
|
15
15
|
|
|
16
16
|
// package.json
|
|
17
|
-
var version = "10.2.0-alpha.
|
|
17
|
+
var version = "10.2.0-alpha.3";
|
|
18
18
|
|
|
19
19
|
// src/constants.ts
|
|
20
20
|
var ADDON_ID = "storybook/onboarding", ADDON_ONBOARDING_CHANNEL = `${ADDON_ID}/channel`;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/addon-onboarding",
|
|
3
|
-
"version": "10.2.0-alpha.
|
|
3
|
+
"version": "10.2.0-alpha.3",
|
|
4
4
|
"description": "Storybook Onboarding: Help new users learn how to write stories",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook",
|
|
@@ -46,10 +46,6 @@
|
|
|
46
46
|
"*.d.ts",
|
|
47
47
|
"!src/**/*"
|
|
48
48
|
],
|
|
49
|
-
"scripts": {
|
|
50
|
-
"check": "jiti ../../../scripts/check/check-package.ts",
|
|
51
|
-
"prep": "jiti ../../../scripts/build/build-package.ts"
|
|
52
|
-
},
|
|
53
49
|
"devDependencies": {
|
|
54
50
|
"@neoconfetti/react": "^1.0.0",
|
|
55
51
|
"@storybook/icons": "^2.0.0",
|
|
@@ -59,7 +55,7 @@
|
|
|
59
55
|
"typescript": "^5.8.3"
|
|
60
56
|
},
|
|
61
57
|
"peerDependencies": {
|
|
62
|
-
"storybook": "^10.2.0-alpha.
|
|
58
|
+
"storybook": "^10.2.0-alpha.3"
|
|
63
59
|
},
|
|
64
60
|
"publishConfig": {
|
|
65
61
|
"access": "public"
|