storybook 10.0.0-beta.8 → 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.
Files changed (77) hide show
  1. package/dist/_browser-chunks/{chunk-AM4PZYVQ.js → chunk-HMIIJ6UD.js} +59 -6
  2. package/dist/_browser-chunks/chunk-SHR3NNR3.js +5810 -0
  3. package/dist/_browser-chunks/{syntaxhighlighter-RJW7FE3A.js → syntaxhighlighter-R46XOLMC.js} +2 -3
  4. package/dist/_node-chunks/{builder-manager-Y34L3HC4.js → builder-manager-5DZV3NH5.js} +12 -12
  5. package/dist/_node-chunks/camelcase-KM3CILTP.js +18 -0
  6. package/dist/_node-chunks/{chunk-MIJKYKSO.js → chunk-2IRRHUY6.js} +8 -8
  7. package/dist/_node-chunks/{chunk-6NAUDAPE.js → chunk-3KLEDJFU.js} +8 -8
  8. package/dist/_node-chunks/{chunk-3VCGPS3V.js → chunk-4JI3GYTR.js} +7 -7
  9. package/dist/_node-chunks/{chunk-JEIQPNWQ.js → chunk-4T2EX3QY.js} +7 -7
  10. package/dist/_node-chunks/{chunk-7Q5EKYUL.js → chunk-6KTXQPVV.js} +7 -7
  11. package/dist/_node-chunks/{chunk-CL53RP5L.js → chunk-73JE2442.js} +8 -8
  12. package/dist/_node-chunks/{chunk-AND2M2X5.js → chunk-7GOR4BTB.js} +7 -7
  13. package/dist/_node-chunks/{chunk-FRTUAT3V.js → chunk-7L4E5FAU.js} +6 -6
  14. package/dist/_node-chunks/{chunk-SOIRRZYG.js → chunk-ATTQ5B3H.js} +7 -7
  15. package/dist/_node-chunks/{chunk-5SPDSTWP.js → chunk-B3BVSZUX.js} +7 -7
  16. package/dist/_node-chunks/{chunk-YMZK6547.js → chunk-BGGGKRRK.js} +7 -7
  17. package/dist/_node-chunks/{chunk-6SXRGPL6.js → chunk-CZLSJXUC.js} +7 -7
  18. package/dist/_node-chunks/{chunk-AZWKFSEJ.js → chunk-DXXS374Q.js} +29 -26
  19. package/dist/_node-chunks/{chunk-EMCS3ZKS.js → chunk-G3DNEVQF.js} +6 -6
  20. package/dist/_node-chunks/{chunk-DRNU7FEF.js → chunk-H3EQM2KY.js} +12 -12
  21. package/dist/_node-chunks/{chunk-4QSDBUYK.js → chunk-IDR56JX5.js} +8 -8
  22. package/dist/_node-chunks/{chunk-TL5UYDH2.js → chunk-KNGDROKF.js} +7 -7
  23. package/dist/_node-chunks/{chunk-JG7IEUS3.js → chunk-L7POFJNQ.js} +7 -7
  24. package/dist/_node-chunks/{chunk-CZLW5B2W.js → chunk-MDI6XQQU.js} +7 -7
  25. package/dist/_node-chunks/chunk-MG4NC3KA.js +61 -0
  26. package/dist/_node-chunks/chunk-MOBEL6SU.js +18 -0
  27. package/dist/_node-chunks/{chunk-T5VNV7FG.js → chunk-NEHX365L.js} +7 -7
  28. package/dist/_node-chunks/{chunk-O33XSHQE.js → chunk-OAWO55XX.js} +7 -7
  29. package/dist/_node-chunks/{chunk-7JZFWQN4.js → chunk-OYXXB4OM.js} +14 -10
  30. package/dist/_node-chunks/{chunk-IE2VBA4V.js → chunk-PVOTH5U7.js} +9 -9
  31. package/dist/_node-chunks/{chunk-HRBWZFVH.js → chunk-R4L65Z37.js} +7 -7
  32. package/dist/_node-chunks/{chunk-F43CI3CD.js → chunk-VAUJQGO5.js} +10 -10
  33. package/dist/_node-chunks/{chunk-LKGWQEHR.js → chunk-WEVLMQUC.js} +7 -7
  34. package/dist/_node-chunks/{chunk-UORO6DG4.js → chunk-WFKQH23S.js} +9 -9
  35. package/dist/_node-chunks/{chunk-4SIVISOF.js → chunk-XKXC26XV.js} +18 -15
  36. package/dist/_node-chunks/{chunk-WS3L7DA7.js → chunk-ZH4LFYU3.js} +7 -7
  37. package/dist/_node-chunks/{dist-RINWIIFC.js → dist-UT73SVAT.js} +9 -9
  38. package/dist/_node-chunks/{globby-G3CLKE4Y.js → globby-ZQ3RX3ZV.js} +9 -9
  39. package/dist/_node-chunks/{lib-67I574Z7.js → lib-HX5MMWWS.js} +7 -7
  40. package/dist/_node-chunks/{mdx-N42X6CFJ-6DP2YFMY.js → mdx-N42X6CFJ-MCLYGNM2.js} +8 -8
  41. package/dist/_node-chunks/{p-limit-JBOY5PGK.js → p-limit-WFKT3URN.js} +7 -7
  42. package/dist/_node-chunks/{plugin-5XCSTKS6.js → plugin-MYXI4RLY.js} +11 -11
  43. package/dist/_node-chunks/{plugin-2IR6AOYP.js → plugin-ZWOPAFXY.js} +10 -10
  44. package/dist/_node-chunks/{webpack-inject-mocker-runtime-plugin-5FUND5HJ.js → webpack-inject-mocker-runtime-plugin-QKV56QIS.js} +10 -10
  45. package/dist/_node-chunks/{webpack-mock-plugin-JVWSZ2PI.js → webpack-mock-plugin-I6AWAO5P.js} +9 -9
  46. package/dist/babel/index.js +11 -11
  47. package/dist/bin/core.js +11 -11
  48. package/dist/bin/dispatcher.js +11 -11
  49. package/dist/bin/loader.js +77 -12
  50. package/dist/cli/index.js +21 -20
  51. package/dist/common/index.d.ts +5 -3
  52. package/dist/common/index.js +20 -20
  53. package/dist/components/index.js +74 -5746
  54. package/dist/core-server/index.js +49 -40
  55. package/dist/core-server/presets/common-manager.js +523 -29
  56. package/dist/core-server/presets/common-override-preset.js +9 -9
  57. package/dist/core-server/presets/common-preset.js +22 -22
  58. package/dist/core-server/presets/webpack/loaders/storybook-mock-transform-loader.js +9 -9
  59. package/dist/core-server/presets/webpack/loaders/webpack-automock-loader.js +10 -10
  60. package/dist/csf/index.js +2 -2
  61. package/dist/csf-tools/index.js +9 -9
  62. package/dist/manager/globals-runtime.js +24 -21
  63. package/dist/manager/runtime.js +68 -45
  64. package/dist/manager-api/index.d.ts +1 -1
  65. package/dist/manager-api/index.js +24 -21
  66. package/dist/node-logger/index.js +18 -15
  67. package/dist/preview-api/index.d.ts +68 -67
  68. package/dist/preview-api/index.js +5 -5
  69. package/dist/server-errors.js +10 -10
  70. package/dist/telemetry/index.js +23 -23
  71. package/dist/types/index.d.ts +3 -1
  72. package/package.json +1 -1
  73. package/dist/_browser-chunks/chunk-GJ67EE65.js +0 -67
  74. package/dist/_node-chunks/camelcase-W6EWLMZP.js +0 -18
  75. package/dist/_node-chunks/chunk-T46D5USU.js +0 -18
  76. package/dist/_node-chunks/chunk-USP6T4QU.js +0 -62
  77. 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,