@storybook/nextjs-vite 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.
- package/dist/_node-chunks/{chunk-F4TXLX26.js → chunk-NNXJDYUF.js} +6 -6
- package/dist/_node-chunks/{dist-ROPG4PVY.js → dist-RLLZFXW2.js} +151 -151
- package/dist/_node-chunks/{jiti-FFFI55JO.js → jiti-GWMH643I.js} +11 -11
- package/dist/index.js +62 -62
- package/dist/node/index.js +7 -7
- package/dist/preset.js +111 -111
- package/dist/vite-plugin/index.js +7 -7
- package/package.json +5 -9
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_7wmaviiws5u from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_7wmaviiws5u from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_7wmaviiws5u from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_7wmaviiws5u.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_7wmaviiws5u.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_7wmaviiws5u.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -14,11 +14,11 @@ import {
|
|
|
14
14
|
__esm,
|
|
15
15
|
__require,
|
|
16
16
|
__toESM
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-NNXJDYUF.js";
|
|
18
18
|
|
|
19
|
-
//
|
|
19
|
+
// ../../../node_modules/jiti/dist/jiti.cjs
|
|
20
20
|
var require_jiti = __commonJS({
|
|
21
|
-
"
|
|
21
|
+
"../../../node_modules/jiti/dist/jiti.cjs"(exports, module) {
|
|
22
22
|
(() => {
|
|
23
23
|
var e = { "./node_modules/.pnpm/mlly@1.8.0/node_modules/mlly/dist lazy recursive": function(e2) {
|
|
24
24
|
function webpackEmptyAsyncContext(e3) {
|
|
@@ -2969,7 +2969,7 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
|
|
|
2969
2969
|
}
|
|
2970
2970
|
});
|
|
2971
2971
|
|
|
2972
|
-
//
|
|
2972
|
+
// ../../../node_modules/jiti/lib/jiti.mjs
|
|
2973
2973
|
import { createRequire } from "node:module";
|
|
2974
2974
|
function onError(err) {
|
|
2975
2975
|
throw err;
|
|
@@ -2985,7 +2985,7 @@ function createJiti(id, opts = {}) {
|
|
|
2985
2985
|
});
|
|
2986
2986
|
}
|
|
2987
2987
|
var import_jiti, nativeImport, _transform, jiti_default, init_jiti = __esm({
|
|
2988
|
-
"
|
|
2988
|
+
"../../../node_modules/jiti/lib/jiti.mjs"() {
|
|
2989
2989
|
import_jiti = __toESM(require_jiti(), 1);
|
|
2990
2990
|
nativeImport = (id) => import(id);
|
|
2991
2991
|
jiti_default = createJiti;
|
package/dist/index.js
CHANGED
|
@@ -7,9 +7,9 @@ import {
|
|
|
7
7
|
__toESM
|
|
8
8
|
} from "./_browser-chunks/chunk-SL3VIQZ3.js";
|
|
9
9
|
|
|
10
|
-
//
|
|
10
|
+
// ../../../node_modules/estraverse/estraverse.js
|
|
11
11
|
var require_estraverse = __commonJS({
|
|
12
|
-
"
|
|
12
|
+
"../../../node_modules/estraverse/estraverse.js"(exports) {
|
|
13
13
|
(function clone(exports2) {
|
|
14
14
|
"use strict";
|
|
15
15
|
var Syntax, VisitorOption, VisitorKeys, BREAK, SKIP, REMOVE;
|
|
@@ -394,9 +394,9 @@ var require_estraverse = __commonJS({
|
|
|
394
394
|
}
|
|
395
395
|
});
|
|
396
396
|
|
|
397
|
-
//
|
|
397
|
+
// ../../../node_modules/esutils/lib/ast.js
|
|
398
398
|
var require_ast = __commonJS({
|
|
399
|
-
"
|
|
399
|
+
"../../../node_modules/esutils/lib/ast.js"(exports, module) {
|
|
400
400
|
(function() {
|
|
401
401
|
"use strict";
|
|
402
402
|
function isExpression(node) {
|
|
@@ -501,9 +501,9 @@ var require_ast = __commonJS({
|
|
|
501
501
|
}
|
|
502
502
|
});
|
|
503
503
|
|
|
504
|
-
//
|
|
504
|
+
// ../../../node_modules/esutils/lib/code.js
|
|
505
505
|
var require_code = __commonJS({
|
|
506
|
-
"
|
|
506
|
+
"../../../node_modules/esutils/lib/code.js"(exports, module) {
|
|
507
507
|
(function() {
|
|
508
508
|
"use strict";
|
|
509
509
|
var ES6Regex, ES5Regex, NON_ASCII_WHITESPACES, IDENTIFIER_START, IDENTIFIER_PART, ch;
|
|
@@ -595,9 +595,9 @@ var require_code = __commonJS({
|
|
|
595
595
|
}
|
|
596
596
|
});
|
|
597
597
|
|
|
598
|
-
//
|
|
598
|
+
// ../../../node_modules/esutils/lib/keyword.js
|
|
599
599
|
var require_keyword = __commonJS({
|
|
600
|
-
"
|
|
600
|
+
"../../../node_modules/esutils/lib/keyword.js"(exports, module) {
|
|
601
601
|
(function() {
|
|
602
602
|
"use strict";
|
|
603
603
|
var code = require_code();
|
|
@@ -701,9 +701,9 @@ var require_keyword = __commonJS({
|
|
|
701
701
|
}
|
|
702
702
|
});
|
|
703
703
|
|
|
704
|
-
//
|
|
704
|
+
// ../../../node_modules/esutils/lib/utils.js
|
|
705
705
|
var require_utils = __commonJS({
|
|
706
|
-
"
|
|
706
|
+
"../../../node_modules/esutils/lib/utils.js"(exports) {
|
|
707
707
|
(function() {
|
|
708
708
|
"use strict";
|
|
709
709
|
exports.ast = require_ast(), exports.code = require_code(), exports.keyword = require_keyword();
|
|
@@ -711,9 +711,9 @@ var require_utils = __commonJS({
|
|
|
711
711
|
}
|
|
712
712
|
});
|
|
713
713
|
|
|
714
|
-
//
|
|
714
|
+
// ../../../node_modules/escodegen/node_modules/source-map/lib/base64.js
|
|
715
715
|
var require_base64 = __commonJS({
|
|
716
|
-
"
|
|
716
|
+
"../../../node_modules/escodegen/node_modules/source-map/lib/base64.js"(exports) {
|
|
717
717
|
var intToCharMap = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");
|
|
718
718
|
exports.encode = function(number) {
|
|
719
719
|
if (0 <= number && number < intToCharMap.length)
|
|
@@ -727,9 +727,9 @@ var require_base64 = __commonJS({
|
|
|
727
727
|
}
|
|
728
728
|
});
|
|
729
729
|
|
|
730
|
-
//
|
|
730
|
+
// ../../../node_modules/escodegen/node_modules/source-map/lib/base64-vlq.js
|
|
731
731
|
var require_base64_vlq = __commonJS({
|
|
732
|
-
"
|
|
732
|
+
"../../../node_modules/escodegen/node_modules/source-map/lib/base64-vlq.js"(exports) {
|
|
733
733
|
var base64 = require_base64(), VLQ_BASE_SHIFT = 5, VLQ_BASE = 1 << VLQ_BASE_SHIFT, VLQ_BASE_MASK = VLQ_BASE - 1, VLQ_CONTINUATION_BIT = VLQ_BASE;
|
|
734
734
|
function toVLQSigned(aValue) {
|
|
735
735
|
return aValue < 0 ? (-aValue << 1) + 1 : (aValue << 1) + 0;
|
|
@@ -759,9 +759,9 @@ var require_base64_vlq = __commonJS({
|
|
|
759
759
|
}
|
|
760
760
|
});
|
|
761
761
|
|
|
762
|
-
//
|
|
762
|
+
// ../../../node_modules/escodegen/node_modules/source-map/lib/util.js
|
|
763
763
|
var require_util = __commonJS({
|
|
764
|
-
"
|
|
764
|
+
"../../../node_modules/escodegen/node_modules/source-map/lib/util.js"(exports) {
|
|
765
765
|
function getArg(aArgs, aName, aDefaultValue) {
|
|
766
766
|
if (aName in aArgs)
|
|
767
767
|
return aArgs[aName];
|
|
@@ -891,9 +891,9 @@ var require_util = __commonJS({
|
|
|
891
891
|
}
|
|
892
892
|
});
|
|
893
893
|
|
|
894
|
-
//
|
|
894
|
+
// ../../../node_modules/escodegen/node_modules/source-map/lib/array-set.js
|
|
895
895
|
var require_array_set = __commonJS({
|
|
896
|
-
"
|
|
896
|
+
"../../../node_modules/escodegen/node_modules/source-map/lib/array-set.js"(exports) {
|
|
897
897
|
var util = require_util(), has = Object.prototype.hasOwnProperty, hasNativeMap = typeof Map < "u";
|
|
898
898
|
function ArraySet() {
|
|
899
899
|
this._array = [], this._set = hasNativeMap ? /* @__PURE__ */ new Map() : /* @__PURE__ */ Object.create(null);
|
|
@@ -940,9 +940,9 @@ var require_array_set = __commonJS({
|
|
|
940
940
|
}
|
|
941
941
|
});
|
|
942
942
|
|
|
943
|
-
//
|
|
943
|
+
// ../../../node_modules/escodegen/node_modules/source-map/lib/mapping-list.js
|
|
944
944
|
var require_mapping_list = __commonJS({
|
|
945
|
-
"
|
|
945
|
+
"../../../node_modules/escodegen/node_modules/source-map/lib/mapping-list.js"(exports) {
|
|
946
946
|
var util = require_util();
|
|
947
947
|
function generatedPositionAfter(mappingA, mappingB) {
|
|
948
948
|
var lineA = mappingA.generatedLine, lineB = mappingB.generatedLine, columnA = mappingA.generatedColumn, columnB = mappingB.generatedColumn;
|
|
@@ -964,9 +964,9 @@ var require_mapping_list = __commonJS({
|
|
|
964
964
|
}
|
|
965
965
|
});
|
|
966
966
|
|
|
967
|
-
//
|
|
967
|
+
// ../../../node_modules/escodegen/node_modules/source-map/lib/source-map-generator.js
|
|
968
968
|
var require_source_map_generator = __commonJS({
|
|
969
|
-
"
|
|
969
|
+
"../../../node_modules/escodegen/node_modules/source-map/lib/source-map-generator.js"(exports) {
|
|
970
970
|
var base64VLQ = require_base64_vlq(), util = require_util(), ArraySet = require_array_set().ArraySet, MappingList = require_mapping_list().MappingList;
|
|
971
971
|
function SourceMapGenerator(aArgs) {
|
|
972
972
|
aArgs || (aArgs = {}), this._file = util.getArg(aArgs, "file", null), this._sourceRoot = util.getArg(aArgs, "sourceRoot", null), this._skipValidation = util.getArg(aArgs, "skipValidation", !1), this._sources = new ArraySet(), this._names = new ArraySet(), this._mappings = new MappingList(), this._sourcesContents = null;
|
|
@@ -1094,9 +1094,9 @@ var require_source_map_generator = __commonJS({
|
|
|
1094
1094
|
}
|
|
1095
1095
|
});
|
|
1096
1096
|
|
|
1097
|
-
//
|
|
1097
|
+
// ../../../node_modules/escodegen/node_modules/source-map/lib/binary-search.js
|
|
1098
1098
|
var require_binary_search = __commonJS({
|
|
1099
|
-
"
|
|
1099
|
+
"../../../node_modules/escodegen/node_modules/source-map/lib/binary-search.js"(exports) {
|
|
1100
1100
|
exports.GREATEST_LOWER_BOUND = 1;
|
|
1101
1101
|
exports.LEAST_UPPER_BOUND = 2;
|
|
1102
1102
|
function recursiveSearch(aLow, aHigh, aNeedle, aHaystack, aCompare, aBias) {
|
|
@@ -1123,9 +1123,9 @@ var require_binary_search = __commonJS({
|
|
|
1123
1123
|
}
|
|
1124
1124
|
});
|
|
1125
1125
|
|
|
1126
|
-
//
|
|
1126
|
+
// ../../../node_modules/escodegen/node_modules/source-map/lib/quick-sort.js
|
|
1127
1127
|
var require_quick_sort = __commonJS({
|
|
1128
|
-
"
|
|
1128
|
+
"../../../node_modules/escodegen/node_modules/source-map/lib/quick-sort.js"(exports) {
|
|
1129
1129
|
function swap(ary, x, y) {
|
|
1130
1130
|
var temp = ary[x];
|
|
1131
1131
|
ary[x] = ary[y], ary[y] = temp;
|
|
@@ -1150,9 +1150,9 @@ var require_quick_sort = __commonJS({
|
|
|
1150
1150
|
}
|
|
1151
1151
|
});
|
|
1152
1152
|
|
|
1153
|
-
//
|
|
1153
|
+
// ../../../node_modules/escodegen/node_modules/source-map/lib/source-map-consumer.js
|
|
1154
1154
|
var require_source_map_consumer = __commonJS({
|
|
1155
|
-
"
|
|
1155
|
+
"../../../node_modules/escodegen/node_modules/source-map/lib/source-map-consumer.js"(exports) {
|
|
1156
1156
|
var util = require_util(), binarySearch = require_binary_search(), ArraySet = require_array_set().ArraySet, base64VLQ = require_base64_vlq(), quickSort = require_quick_sort().quickSort;
|
|
1157
1157
|
function SourceMapConsumer(aSourceMap, aSourceMapURL) {
|
|
1158
1158
|
var sourceMap = aSourceMap;
|
|
@@ -1555,9 +1555,9 @@ var require_source_map_consumer = __commonJS({
|
|
|
1555
1555
|
}
|
|
1556
1556
|
});
|
|
1557
1557
|
|
|
1558
|
-
//
|
|
1558
|
+
// ../../../node_modules/escodegen/node_modules/source-map/lib/source-node.js
|
|
1559
1559
|
var require_source_node = __commonJS({
|
|
1560
|
-
"
|
|
1560
|
+
"../../../node_modules/escodegen/node_modules/source-map/lib/source-node.js"(exports) {
|
|
1561
1561
|
var SourceMapGenerator = require_source_map_generator().SourceMapGenerator, util = require_util(), REGEX_NEWLINE = /(\r?\n)/, NEWLINE_CODE = 10, isSourceNode = "$$$isSourceNode$$$";
|
|
1562
1562
|
function SourceNode(aLine, aColumn, aSource, aChunks, aName) {
|
|
1563
1563
|
this.children = [], this.sourceContents = {}, this.line = aLine ?? null, this.column = aColumn ?? null, this.source = aSource ?? null, this.name = aName ?? null, this[isSourceNode] = !0, aChunks != null && this.add(aChunks);
|
|
@@ -1712,18 +1712,18 @@ var require_source_node = __commonJS({
|
|
|
1712
1712
|
}
|
|
1713
1713
|
});
|
|
1714
1714
|
|
|
1715
|
-
//
|
|
1715
|
+
// ../../../node_modules/escodegen/node_modules/source-map/source-map.js
|
|
1716
1716
|
var require_source_map = __commonJS({
|
|
1717
|
-
"
|
|
1717
|
+
"../../../node_modules/escodegen/node_modules/source-map/source-map.js"(exports) {
|
|
1718
1718
|
exports.SourceMapGenerator = require_source_map_generator().SourceMapGenerator;
|
|
1719
1719
|
exports.SourceMapConsumer = require_source_map_consumer().SourceMapConsumer;
|
|
1720
1720
|
exports.SourceNode = require_source_node().SourceNode;
|
|
1721
1721
|
}
|
|
1722
1722
|
});
|
|
1723
1723
|
|
|
1724
|
-
//
|
|
1724
|
+
// ../../../node_modules/escodegen/package.json
|
|
1725
1725
|
var require_package = __commonJS({
|
|
1726
|
-
"
|
|
1726
|
+
"../../../node_modules/escodegen/package.json"(exports, module) {
|
|
1727
1727
|
module.exports = {
|
|
1728
1728
|
name: "escodegen",
|
|
1729
1729
|
description: "ECMAScript code generator",
|
|
@@ -1790,9 +1790,9 @@ var require_package = __commonJS({
|
|
|
1790
1790
|
}
|
|
1791
1791
|
});
|
|
1792
1792
|
|
|
1793
|
-
//
|
|
1793
|
+
// ../../../node_modules/escodegen/escodegen.js
|
|
1794
1794
|
var require_escodegen = __commonJS({
|
|
1795
|
-
"
|
|
1795
|
+
"../../../node_modules/escodegen/escodegen.js"(exports) {
|
|
1796
1796
|
(function() {
|
|
1797
1797
|
"use strict";
|
|
1798
1798
|
var Syntax, Precedence, BinaryPrecedence, SourceNode, estraverse, esutils, base2, indent, json, renumber, hexadecimal, quotes, escapeless, newline, space, parentheses, semicolons, safeConcatenation, directive, extra, parse2, sourceMap, sourceCode, preserveBlankLines, FORMAT_MINIFY, FORMAT_DEFAULTS;
|
|
@@ -2760,9 +2760,9 @@ var require_escodegen = __commonJS({
|
|
|
2760
2760
|
}
|
|
2761
2761
|
});
|
|
2762
2762
|
|
|
2763
|
-
//
|
|
2763
|
+
// ../../../node_modules/acorn/dist/acorn.js
|
|
2764
2764
|
var require_acorn = __commonJS({
|
|
2765
|
-
"
|
|
2765
|
+
"../../../node_modules/acorn/dist/acorn.js"(exports, module) {
|
|
2766
2766
|
(function(global2, factory) {
|
|
2767
2767
|
typeof exports == "object" && typeof module < "u" ? factory(exports) : typeof define == "function" && define.amd ? define(["exports"], factory) : (global2 = global2 || self, factory(global2.acorn = {}));
|
|
2768
2768
|
})(exports, (function(exports2) {
|
|
@@ -5207,9 +5207,9 @@ var require_acorn = __commonJS({
|
|
|
5207
5207
|
}
|
|
5208
5208
|
});
|
|
5209
5209
|
|
|
5210
|
-
//
|
|
5210
|
+
// ../../../node_modules/acorn-jsx/xhtml.js
|
|
5211
5211
|
var require_xhtml = __commonJS({
|
|
5212
|
-
"
|
|
5212
|
+
"../../../node_modules/acorn-jsx/xhtml.js"(exports, module) {
|
|
5213
5213
|
module.exports = {
|
|
5214
5214
|
quot: '"',
|
|
5215
5215
|
amp: "&",
|
|
@@ -5468,9 +5468,9 @@ var require_xhtml = __commonJS({
|
|
|
5468
5468
|
}
|
|
5469
5469
|
});
|
|
5470
5470
|
|
|
5471
|
-
//
|
|
5471
|
+
// ../../../node_modules/acorn-jsx/index.js
|
|
5472
5472
|
var require_acorn_jsx = __commonJS({
|
|
5473
|
-
"
|
|
5473
|
+
"../../../node_modules/acorn-jsx/index.js"(exports, module) {
|
|
5474
5474
|
"use strict";
|
|
5475
5475
|
var XHTMLEntities = require_xhtml(), hexNumber = /^[\da-fA-F]+$/, decimalNumber = /^\d+$/, acornJsxMap = /* @__PURE__ */ new WeakMap();
|
|
5476
5476
|
function getJsxTokens(acorn) {
|
|
@@ -5733,9 +5733,9 @@ var require_acorn_jsx = __commonJS({
|
|
|
5733
5733
|
}
|
|
5734
5734
|
});
|
|
5735
5735
|
|
|
5736
|
-
//
|
|
5736
|
+
// ../../../node_modules/html-tags/html-tags.json
|
|
5737
5737
|
var require_html_tags = __commonJS({
|
|
5738
|
-
"
|
|
5738
|
+
"../../../node_modules/html-tags/html-tags.json"(exports, module) {
|
|
5739
5739
|
module.exports = [
|
|
5740
5740
|
"a",
|
|
5741
5741
|
"abbr",
|
|
@@ -5859,17 +5859,17 @@ var require_html_tags = __commonJS({
|
|
|
5859
5859
|
}
|
|
5860
5860
|
});
|
|
5861
5861
|
|
|
5862
|
-
//
|
|
5862
|
+
// ../../../node_modules/html-tags/index.js
|
|
5863
5863
|
var require_html_tags2 = __commonJS({
|
|
5864
|
-
"
|
|
5864
|
+
"../../../node_modules/html-tags/index.js"(exports, module) {
|
|
5865
5865
|
"use strict";
|
|
5866
5866
|
module.exports = require_html_tags();
|
|
5867
5867
|
}
|
|
5868
5868
|
});
|
|
5869
5869
|
|
|
5870
|
-
//
|
|
5870
|
+
// ../../../node_modules/@base2/pretty-print-object/dist/index.js
|
|
5871
5871
|
var require_dist = __commonJS({
|
|
5872
|
-
"
|
|
5872
|
+
"../../../node_modules/@base2/pretty-print-object/dist/index.js"(exports) {
|
|
5873
5873
|
"use strict";
|
|
5874
5874
|
var __assign = exports && exports.__assign || function() {
|
|
5875
5875
|
return __assign = Object.assign || function(t) {
|
|
@@ -5964,9 +5964,9 @@ var require_dist = __commonJS({
|
|
|
5964
5964
|
}
|
|
5965
5965
|
});
|
|
5966
5966
|
|
|
5967
|
-
//
|
|
5967
|
+
// ../../../node_modules/react-element-to-jsx-string/node_modules/react-is/cjs/react-is.production.min.js
|
|
5968
5968
|
var require_react_is_production_min = __commonJS({
|
|
5969
|
-
"
|
|
5969
|
+
"../../../node_modules/react-element-to-jsx-string/node_modules/react-is/cjs/react-is.production.min.js"(exports) {
|
|
5970
5970
|
"use strict";
|
|
5971
5971
|
var b = Symbol.for("react.element"), c = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), e = Symbol.for("react.strict_mode"), f = Symbol.for("react.profiler"), g = Symbol.for("react.provider"), h = Symbol.for("react.context"), k = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), m = Symbol.for("react.suspense"), n = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), q = Symbol.for("react.lazy"), t = Symbol.for("react.offscreen"), u;
|
|
5972
5972
|
u = Symbol.for("react.module.reference");
|
|
@@ -6061,9 +6061,9 @@ var require_react_is_production_min = __commonJS({
|
|
|
6061
6061
|
}
|
|
6062
6062
|
});
|
|
6063
6063
|
|
|
6064
|
-
//
|
|
6064
|
+
// ../../../node_modules/react-element-to-jsx-string/node_modules/react-is/cjs/react-is.development.js
|
|
6065
6065
|
var require_react_is_development = __commonJS({
|
|
6066
|
-
"
|
|
6066
|
+
"../../../node_modules/react-element-to-jsx-string/node_modules/react-is/cjs/react-is.development.js"(exports) {
|
|
6067
6067
|
"use strict";
|
|
6068
6068
|
process.env.NODE_ENV !== "production" && (function() {
|
|
6069
6069
|
"use strict";
|
|
@@ -6156,9 +6156,9 @@ var require_react_is_development = __commonJS({
|
|
|
6156
6156
|
}
|
|
6157
6157
|
});
|
|
6158
6158
|
|
|
6159
|
-
//
|
|
6159
|
+
// ../../../node_modules/react-element-to-jsx-string/node_modules/react-is/index.js
|
|
6160
6160
|
var require_react_is = __commonJS({
|
|
6161
|
-
"
|
|
6161
|
+
"../../../node_modules/react-element-to-jsx-string/node_modules/react-is/index.js"(exports, module) {
|
|
6162
6162
|
"use strict";
|
|
6163
6163
|
process.env.NODE_ENV === "production" ? module.exports = require_react_is_production_min() : module.exports = require_react_is_development();
|
|
6164
6164
|
}
|
|
@@ -6200,7 +6200,7 @@ __export(entry_preview_exports, {
|
|
|
6200
6200
|
});
|
|
6201
6201
|
import * as React5 from "react";
|
|
6202
6202
|
|
|
6203
|
-
//
|
|
6203
|
+
// ../../../node_modules/@storybook/global/dist/index.mjs
|
|
6204
6204
|
var scope = (() => {
|
|
6205
6205
|
let win;
|
|
6206
6206
|
return typeof window < "u" ? win = window : typeof globalThis < "u" ? win = globalThis : typeof global < "u" ? win = global : typeof self < "u" ? win = self : win = {}, win;
|
|
@@ -6424,7 +6424,7 @@ var CUSTOM_CAPTION = "custom", OBJECT_CAPTION = "object", ARRAY_CAPTION = "array
|
|
|
6424
6424
|
// ../../renderers/react/src/docs/lib/generateCode.ts
|
|
6425
6425
|
var import_escodegen = __toESM(require_escodegen(), 1);
|
|
6426
6426
|
|
|
6427
|
-
//
|
|
6427
|
+
// ../../../node_modules/ts-dedent/esm/index.js
|
|
6428
6428
|
function dedent(templ) {
|
|
6429
6429
|
for (var values = [], _i = 1; _i < arguments.length; _i++)
|
|
6430
6430
|
values[_i - 1] = arguments[_i];
|
|
@@ -6499,7 +6499,7 @@ function generateCompactArrayCode(ast) {
|
|
|
6499
6499
|
// ../../renderers/react/src/docs/lib/inspection/acornParser.ts
|
|
6500
6500
|
var import_acorn = __toESM(require_acorn(), 1), import_acorn_jsx = __toESM(require_acorn_jsx(), 1);
|
|
6501
6501
|
|
|
6502
|
-
//
|
|
6502
|
+
// ../../../node_modules/acorn-walk/dist/walk.mjs
|
|
6503
6503
|
function simple(node, visitors, baseVisitor, state, override) {
|
|
6504
6504
|
baseVisitor || (baseVisitor = base), (function c(node2, st, override2) {
|
|
6505
6505
|
var type = override2 || node2.type, found = visitors[type];
|
|
@@ -6978,7 +6978,7 @@ import {
|
|
|
6978
6978
|
isTooLongForDefaultValueSummary as isTooLongForDefaultValueSummary4
|
|
6979
6979
|
} from "storybook/internal/docs-tools";
|
|
6980
6980
|
|
|
6981
|
-
//
|
|
6981
|
+
// ../../../node_modules/es-toolkit/dist/predicate/isPlainObject.mjs
|
|
6982
6982
|
function isPlainObject(value) {
|
|
6983
6983
|
if (!value || typeof value != "object")
|
|
6984
6984
|
return !1;
|
|
@@ -6986,17 +6986,17 @@ function isPlainObject(value) {
|
|
|
6986
6986
|
return proto === null || proto === Object.prototype || Object.getPrototypeOf(proto) === null ? Object.prototype.toString.call(value) === "[object Object]" : !1;
|
|
6987
6987
|
}
|
|
6988
6988
|
|
|
6989
|
-
//
|
|
6989
|
+
// ../../../node_modules/es-toolkit/dist/predicate/isFunction.mjs
|
|
6990
6990
|
function isFunction(value) {
|
|
6991
6991
|
return typeof value == "function";
|
|
6992
6992
|
}
|
|
6993
6993
|
|
|
6994
|
-
//
|
|
6994
|
+
// ../../../node_modules/es-toolkit/dist/predicate/isString.mjs
|
|
6995
6995
|
function isString(value) {
|
|
6996
6996
|
return typeof value == "string";
|
|
6997
6997
|
}
|
|
6998
6998
|
|
|
6999
|
-
//
|
|
6999
|
+
// ../../../node_modules/is-plain-object/dist/is-plain-object.mjs
|
|
7000
7000
|
function isObject(o) {
|
|
7001
7001
|
return Object.prototype.toString.call(o) === "[object Object]";
|
|
7002
7002
|
}
|
|
@@ -7005,7 +7005,7 @@ function isPlainObject2(o) {
|
|
|
7005
7005
|
return isObject(o) === !1 ? !1 : (ctor = o.constructor, ctor === void 0 ? !0 : (prot = ctor.prototype, !(isObject(prot) === !1 || prot.hasOwnProperty("isPrototypeOf") === !1)));
|
|
7006
7006
|
}
|
|
7007
7007
|
|
|
7008
|
-
//
|
|
7008
|
+
// ../../../node_modules/react-element-to-jsx-string/dist/esm/index.js
|
|
7009
7009
|
var import_pretty_print_object = __toESM(require_dist()), import_react_is = __toESM(require_react_is());
|
|
7010
7010
|
import * as React6 from "react";
|
|
7011
7011
|
import React__default, { Fragment as Fragment2, isValidElement as isValidElement2 } from "react";
|
package/dist/node/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_7wmaviiws5u from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_7wmaviiws5u from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_7wmaviiws5u from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_7wmaviiws5u.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_7wmaviiws5u.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_7wmaviiws5u.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
|
-
import "../_node-chunks/chunk-
|
|
12
|
+
import "../_node-chunks/chunk-NNXJDYUF.js";
|
|
13
13
|
|
|
14
14
|
// src/node/index.ts
|
|
15
15
|
function defineMain(config) {
|