@storybook/addon-docs 10.1.0-alpha.1 → 10.1.0-alpha.11

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 (34) hide show
  1. package/dist/_browser-chunks/Color-S5NAVK5F.js +1096 -0
  2. package/dist/_browser-chunks/{DocsRenderer-HT7GNKAR.js → DocsRenderer-GHJI37HO.js} +2 -2
  3. package/dist/_browser-chunks/{chunk-MM7DTO55.js → chunk-A242L54C.js} +10 -16
  4. package/dist/_browser-chunks/chunk-CYSK6WYR.js +7 -0
  5. package/dist/_browser-chunks/chunk-DDRHE7EB.js +949 -0
  6. package/dist/_browser-chunks/{chunk-74ZUTOZN.js → chunk-OATZR77O.js} +9 -22
  7. package/dist/_browser-chunks/chunk-UUESKCKV.js +31 -0
  8. package/dist/_node-chunks/chunk-CRYBIEDD.js +168 -0
  9. package/dist/_node-chunks/{chunk-ZUONB4NC.js → chunk-ETYU6ZWB.js} +13 -19
  10. package/dist/_node-chunks/chunk-PF5AWRIF.js +22630 -0
  11. package/dist/_node-chunks/chunk-ZRMSQWBE.js +196 -0
  12. package/dist/_node-chunks/mdx-plugin-655B5P4B.js +1032 -0
  13. package/dist/_node-chunks/rehype-external-links-V53KQFON.js +121 -0
  14. package/dist/_node-chunks/{rehype-slug-BU5JP743.js → rehype-slug-GNVPIIPH.js} +24 -58
  15. package/dist/angular/index.js +3 -5
  16. package/dist/blocks.d.ts +5 -2
  17. package/dist/blocks.js +4660 -6643
  18. package/dist/ember/index.js +3 -5
  19. package/dist/index.d.ts +8 -1
  20. package/dist/index.js +4 -6
  21. package/dist/manager.js +11 -22
  22. package/dist/mdx-loader.js +13 -19
  23. package/dist/preset.js +161 -454
  24. package/dist/preview.js +2 -2
  25. package/package.json +6 -6
  26. package/dist/_browser-chunks/Color-64QXVMR3.js +0 -1675
  27. package/dist/_browser-chunks/chunk-DMNQCVA2.js +0 -12
  28. package/dist/_browser-chunks/chunk-UZFOWTVP.js +0 -974
  29. package/dist/_browser-chunks/chunk-YDZYZRYC.js +0 -39
  30. package/dist/_node-chunks/chunk-AV2VT7UZ.js +0 -231
  31. package/dist/_node-chunks/chunk-SD2N3D7I.js +0 -36332
  32. package/dist/_node-chunks/chunk-Z4H2MKFK.js +0 -248
  33. package/dist/_node-chunks/mdx-plugin-2AVHNGP4.js +0 -1654
  34. package/dist/_node-chunks/rehype-external-links-4APV7Y23.js +0 -168
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  DocsRenderer,
3
3
  defaultComponents
4
- } from "./chunk-74ZUTOZN.js";
5
- import "./chunk-MM7DTO55.js";
4
+ } from "./chunk-OATZR77O.js";
5
+ import "./chunk-A242L54C.js";
6
6
  export {
7
7
  DocsRenderer,
8
8
  defaultComponents
@@ -2,28 +2,23 @@ var __create = Object.create;
2
2
  var __defProp = Object.defineProperty;
3
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __getProtoOf = Object.getPrototypeOf;
6
- var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
8
- var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
9
- get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
5
+ var __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __require = /* @__PURE__ */ ((x) => typeof require < "u" ? require : typeof Proxy < "u" ? new Proxy(x, {
7
+ get: (a, b) => (typeof require < "u" ? require : a)[b]
10
8
  }) : x)(function(x) {
11
- if (typeof require !== "undefined") return require.apply(this, arguments);
9
+ if (typeof require < "u") return require.apply(this, arguments);
12
10
  throw Error('Dynamic require of "' + x + '" is not supported');
13
11
  });
14
- var __commonJS = (cb, mod) => function __require2() {
12
+ var __commonJS = (cb, mod) => function() {
15
13
  return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
16
14
  };
17
15
  var __export = (target, all) => {
18
16
  for (var name in all)
19
- __defProp(target, name, { get: all[name], enumerable: true });
20
- };
21
- var __copyProps = (to, from, except, desc) => {
22
- if (from && typeof from === "object" || typeof from === "function") {
17
+ __defProp(target, name, { get: all[name], enumerable: !0 });
18
+ }, __copyProps = (to, from, except, desc) => {
19
+ if (from && typeof from == "object" || typeof from == "function")
23
20
  for (let key of __getOwnPropNames(from))
24
- if (!__hasOwnProp.call(to, key) && key !== except)
25
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
26
- }
21
+ !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
27
22
  return to;
28
23
  };
29
24
  var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
@@ -31,12 +26,11 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
31
26
  // file that has been converted to a CommonJS file using a Babel-
32
27
  // compatible transform (i.e. "__esModule" has not been set), then set
33
28
  // "default" to the CommonJS "module.exports" for node compatibility.
34
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
29
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: !0 }) : target,
35
30
  mod
36
31
  ));
37
32
 
38
33
  export {
39
- __name,
40
34
  __require,
41
35
  __commonJS,
42
36
  __export,
@@ -0,0 +1,7 @@
1
+ // src/blocks/controls/helpers.ts
2
+ var getControlId = (value) => `control-${value.replace(/\s+/g, "-")}`, getControlSetterButtonId = (value) => `set-${value.replace(/\s+/g, "-")}`;
3
+
4
+ export {
5
+ getControlId,
6
+ getControlSetterButtonId
7
+ };