storybook 10.0.0-beta.9 → 10.0.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_browser-chunks/{chunk-AM4PZYVQ.js → chunk-HMIIJ6UD.js} +59 -6
- package/dist/_browser-chunks/chunk-SHR3NNR3.js +5810 -0
- package/dist/_browser-chunks/{syntaxhighlighter-RJW7FE3A.js → syntaxhighlighter-R46XOLMC.js} +2 -3
- package/dist/_node-chunks/{builder-manager-ZMBCXQXV.js → builder-manager-5DZV3NH5.js} +12 -12
- package/dist/_node-chunks/camelcase-KM3CILTP.js +18 -0
- package/dist/_node-chunks/{chunk-NEEUVKLS.js → chunk-2IRRHUY6.js} +8 -8
- package/dist/_node-chunks/{chunk-U3TBYKZA.js → chunk-3KLEDJFU.js} +8 -8
- package/dist/_node-chunks/{chunk-VM3IJPAW.js → chunk-4JI3GYTR.js} +7 -7
- package/dist/_node-chunks/{chunk-2RLHFYFA.js → chunk-4T2EX3QY.js} +7 -7
- package/dist/_node-chunks/{chunk-V6E6RSUO.js → chunk-6KTXQPVV.js} +7 -7
- package/dist/_node-chunks/{chunk-R4BIB4NX.js → chunk-73JE2442.js} +8 -8
- package/dist/_node-chunks/{chunk-U3LOLMF3.js → chunk-7GOR4BTB.js} +7 -7
- package/dist/_node-chunks/{chunk-CALGSUC5.js → chunk-7L4E5FAU.js} +6 -6
- package/dist/_node-chunks/{chunk-BUQRXXWE.js → chunk-ATTQ5B3H.js} +7 -7
- package/dist/_node-chunks/{chunk-LTKYC6VP.js → chunk-B3BVSZUX.js} +7 -7
- package/dist/_node-chunks/{chunk-A33ZDBWG.js → chunk-BGGGKRRK.js} +7 -7
- package/dist/_node-chunks/{chunk-75N2O5FL.js → chunk-CZLSJXUC.js} +7 -7
- package/dist/_node-chunks/{chunk-AV6DOLF6.js → chunk-DXXS374Q.js} +29 -26
- package/dist/_node-chunks/{chunk-XBOE5GD4.js → chunk-G3DNEVQF.js} +6 -6
- package/dist/_node-chunks/{chunk-XHXUIPIC.js → chunk-H3EQM2KY.js} +12 -12
- package/dist/_node-chunks/{chunk-Z6UKYBDV.js → chunk-IDR56JX5.js} +8 -8
- package/dist/_node-chunks/{chunk-V5DK6ZKU.js → chunk-KNGDROKF.js} +7 -7
- package/dist/_node-chunks/{chunk-AEVVTNDL.js → chunk-L7POFJNQ.js} +7 -7
- package/dist/_node-chunks/{chunk-I5NPNO3G.js → chunk-MDI6XQQU.js} +7 -7
- package/dist/_node-chunks/chunk-MG4NC3KA.js +61 -0
- package/dist/_node-chunks/chunk-MOBEL6SU.js +18 -0
- package/dist/_node-chunks/{chunk-NRBIODYE.js → chunk-NEHX365L.js} +7 -7
- package/dist/_node-chunks/{chunk-O2AHQDZJ.js → chunk-OAWO55XX.js} +7 -7
- package/dist/_node-chunks/{chunk-JVFB6XG6.js → chunk-OYXXB4OM.js} +14 -10
- package/dist/_node-chunks/{chunk-JIERQ4FU.js → chunk-PVOTH5U7.js} +9 -9
- package/dist/_node-chunks/{chunk-GEDTSFBQ.js → chunk-R4L65Z37.js} +7 -7
- package/dist/_node-chunks/{chunk-XYRZ6AGE.js → chunk-VAUJQGO5.js} +10 -10
- package/dist/_node-chunks/{chunk-UOCLAXMF.js → chunk-WEVLMQUC.js} +7 -7
- package/dist/_node-chunks/{chunk-B5W4OROC.js → chunk-WFKQH23S.js} +9 -9
- package/dist/_node-chunks/{chunk-TO3ARZYO.js → chunk-XKXC26XV.js} +18 -15
- package/dist/_node-chunks/{chunk-IXMF5FBT.js → chunk-ZH4LFYU3.js} +7 -7
- package/dist/_node-chunks/{dist-HAF4OXIQ.js → dist-UT73SVAT.js} +9 -9
- package/dist/_node-chunks/{globby-HUMXQF7C.js → globby-ZQ3RX3ZV.js} +9 -9
- package/dist/_node-chunks/{lib-TOFZQAVG.js → lib-HX5MMWWS.js} +7 -7
- package/dist/_node-chunks/{mdx-N42X6CFJ-LCPMSYGS.js → mdx-N42X6CFJ-MCLYGNM2.js} +8 -8
- package/dist/_node-chunks/{p-limit-JSCSHFNF.js → p-limit-WFKT3URN.js} +7 -7
- package/dist/_node-chunks/{plugin-4OW72VQ5.js → plugin-MYXI4RLY.js} +11 -11
- package/dist/_node-chunks/{plugin-XRJQD5ND.js → plugin-ZWOPAFXY.js} +10 -10
- package/dist/_node-chunks/{webpack-inject-mocker-runtime-plugin-XI7KJK6X.js → webpack-inject-mocker-runtime-plugin-QKV56QIS.js} +10 -10
- package/dist/_node-chunks/{webpack-mock-plugin-6BAMUAJ3.js → webpack-mock-plugin-I6AWAO5P.js} +9 -9
- package/dist/babel/index.js +11 -11
- package/dist/bin/core.js +11 -11
- package/dist/bin/dispatcher.js +11 -11
- package/dist/bin/loader.js +77 -12
- package/dist/cli/index.js +21 -20
- package/dist/common/index.d.ts +5 -3
- package/dist/common/index.js +20 -20
- package/dist/components/index.js +74 -5746
- package/dist/core-server/index.js +49 -40
- package/dist/core-server/presets/common-manager.js +523 -29
- package/dist/core-server/presets/common-override-preset.js +9 -9
- package/dist/core-server/presets/common-preset.js +22 -22
- package/dist/core-server/presets/webpack/loaders/storybook-mock-transform-loader.js +9 -9
- package/dist/core-server/presets/webpack/loaders/webpack-automock-loader.js +10 -10
- package/dist/csf/index.js +2 -2
- package/dist/csf-tools/index.js +9 -9
- package/dist/manager/globals-runtime.js +24 -21
- package/dist/manager/runtime.js +68 -45
- package/dist/manager-api/index.js +24 -21
- package/dist/node-logger/index.js +18 -15
- package/dist/preview-api/index.d.ts +68 -67
- package/dist/preview-api/index.js +5 -5
- package/dist/server-errors.js +10 -10
- package/dist/telemetry/index.js +23 -23
- package/dist/types/index.d.ts +3 -1
- package/package.json +1 -1
- package/dist/_browser-chunks/chunk-GJ67EE65.js +0 -67
- package/dist/_node-chunks/camelcase-JMK43JMF.js +0 -18
- package/dist/_node-chunks/chunk-5G7GJHS7.js +0 -62
- package/dist/_node-chunks/chunk-7VDHEICM.js +0 -18
- package/dist/_browser-chunks/{chunk-OQ6NCFPL.js → chunk-PS3AOQI4.js} +5 -5
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
_objectWithoutPropertiesLoose
|
|
3
|
+
} from "./chunk-VAMFPZY3.js";
|
|
1
4
|
import {
|
|
2
5
|
require_refractor
|
|
3
6
|
} from "./chunk-P2LUROS2.js";
|
|
@@ -613,12 +616,6 @@ import {
|
|
|
613
616
|
import {
|
|
614
617
|
require_apache
|
|
615
618
|
} from "./chunk-VVVPU2RE.js";
|
|
616
|
-
import {
|
|
617
|
-
_defineProperty,
|
|
618
|
-
_objectWithoutProperties,
|
|
619
|
-
_typeof,
|
|
620
|
-
toPropertyKey
|
|
621
|
-
} from "./chunk-GJ67EE65.js";
|
|
622
619
|
import {
|
|
623
620
|
_assertThisInitialized,
|
|
624
621
|
_getPrototypeOf,
|
|
@@ -944,6 +941,18 @@ import React15, { useCallback as useCallback4, useEffect as useEffect4, useState
|
|
|
944
941
|
import { logger } from "storybook/internal/client-logger";
|
|
945
942
|
import { global } from "@storybook/global";
|
|
946
943
|
|
|
944
|
+
// ../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
|
|
945
|
+
function _objectWithoutProperties(e, t) {
|
|
946
|
+
if (null == e) return {};
|
|
947
|
+
var o, r, i = _objectWithoutPropertiesLoose(e, t);
|
|
948
|
+
if (Object.getOwnPropertySymbols) {
|
|
949
|
+
var n = Object.getOwnPropertySymbols(e);
|
|
950
|
+
for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
|
|
951
|
+
}
|
|
952
|
+
return i;
|
|
953
|
+
}
|
|
954
|
+
__name(_objectWithoutProperties, "_objectWithoutProperties");
|
|
955
|
+
|
|
947
956
|
// ../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
|
|
948
957
|
function _arrayLikeToArray(r, a) {
|
|
949
958
|
(null == a || a > r.length) && (a = r.length);
|
|
@@ -986,6 +995,48 @@ function _toConsumableArray(r) {
|
|
|
986
995
|
}
|
|
987
996
|
__name(_toConsumableArray, "_toConsumableArray");
|
|
988
997
|
|
|
998
|
+
// ../node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
999
|
+
function _typeof(o) {
|
|
1000
|
+
"@babel/helpers - typeof";
|
|
1001
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
|
|
1002
|
+
return typeof o2;
|
|
1003
|
+
} : function(o2) {
|
|
1004
|
+
return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
|
|
1005
|
+
}, _typeof(o);
|
|
1006
|
+
}
|
|
1007
|
+
__name(_typeof, "_typeof");
|
|
1008
|
+
|
|
1009
|
+
// ../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
|
1010
|
+
function toPrimitive(t, r) {
|
|
1011
|
+
if ("object" != _typeof(t) || !t) return t;
|
|
1012
|
+
var e = t[Symbol.toPrimitive];
|
|
1013
|
+
if (void 0 !== e) {
|
|
1014
|
+
var i = e.call(t, r || "default");
|
|
1015
|
+
if ("object" != _typeof(i)) return i;
|
|
1016
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1017
|
+
}
|
|
1018
|
+
return ("string" === r ? String : Number)(t);
|
|
1019
|
+
}
|
|
1020
|
+
__name(toPrimitive, "toPrimitive");
|
|
1021
|
+
|
|
1022
|
+
// ../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
|
1023
|
+
function toPropertyKey(t) {
|
|
1024
|
+
var i = toPrimitive(t, "string");
|
|
1025
|
+
return "symbol" == _typeof(i) ? i : i + "";
|
|
1026
|
+
}
|
|
1027
|
+
__name(toPropertyKey, "toPropertyKey");
|
|
1028
|
+
|
|
1029
|
+
// ../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
1030
|
+
function _defineProperty(e, r, t) {
|
|
1031
|
+
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
1032
|
+
value: t,
|
|
1033
|
+
enumerable: true,
|
|
1034
|
+
configurable: true,
|
|
1035
|
+
writable: true
|
|
1036
|
+
}) : e[r] = t, e;
|
|
1037
|
+
}
|
|
1038
|
+
__name(_defineProperty, "_defineProperty");
|
|
1039
|
+
|
|
989
1040
|
// ../node_modules/react-syntax-highlighter/dist/esm/highlight.js
|
|
990
1041
|
import React2 from "react";
|
|
991
1042
|
|
|
@@ -6923,6 +6974,8 @@ SyntaxHighlighter3.registerLanguage = (...args) => prism_light_default.registerL
|
|
|
6923
6974
|
var syntaxhighlighter_default = SyntaxHighlighter3;
|
|
6924
6975
|
|
|
6925
6976
|
export {
|
|
6977
|
+
_objectWithoutProperties,
|
|
6978
|
+
_defineProperty,
|
|
6926
6979
|
ActionBar,
|
|
6927
6980
|
ScrollArea2 as ScrollArea,
|
|
6928
6981
|
supportedLanguages,
|