storybook 10.2.0-beta.3 → 10.2.0-beta.4

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 (68) hide show
  1. package/assets/server/base-preview-head.html +66 -44
  2. package/dist/_browser-chunks/{chunk-QOXZ7W26.js → chunk-2N4WE3KZ.js} +4 -6
  3. package/dist/_node-chunks/{builder-manager-JZHWQECC.js → builder-manager-QV5RDRX3.js} +12 -12
  4. package/dist/_node-chunks/{camelcase-2NZ4BLHX.js → camelcase-BMCEZEHU.js} +7 -7
  5. package/dist/_node-chunks/{chunk-Y3SK4LWX.js → chunk-2MIIBCWO.js} +6 -6
  6. package/dist/_node-chunks/chunk-3G6JTYYU.js +18 -0
  7. package/dist/_node-chunks/{chunk-P626DC5C.js → chunk-3WAOMPEV.js} +20 -20
  8. package/dist/_node-chunks/{chunk-ESJWIQ4Z.js → chunk-5BZY2EBX.js} +6 -6
  9. package/dist/_node-chunks/{chunk-DWLMCD64.js → chunk-7C3OCMOV.js} +7 -7
  10. package/dist/_node-chunks/chunk-7CC7KOAY.js +61 -0
  11. package/dist/_node-chunks/{chunk-YDILOOT5.js → chunk-A635UKUK.js} +12 -12
  12. package/dist/_node-chunks/{chunk-4DTADLHM.js → chunk-B6PRKQBU.js} +43 -25
  13. package/dist/_node-chunks/{chunk-JG6ODK5N.js → chunk-C2PW44X2.js} +20 -11
  14. package/dist/_node-chunks/{chunk-R6FEBIT5.js → chunk-DX2OTMAX.js} +7 -7
  15. package/dist/_node-chunks/{chunk-QAIAKYZA.js → chunk-HNJNGHJI.js} +7 -7
  16. package/dist/_node-chunks/{chunk-AAPM4ZUE.js → chunk-HSLEWKPT.js} +7 -7
  17. package/dist/_node-chunks/{chunk-GQBGRYLZ.js → chunk-JGB6IJ7A.js} +6 -6
  18. package/dist/_node-chunks/{chunk-6RSHZM6F.js → chunk-JZDQQ34S.js} +10 -10
  19. package/dist/_node-chunks/{chunk-KJE25OIE.js → chunk-LDPGDFBN.js} +8 -8
  20. package/dist/_node-chunks/{chunk-VSP4OUV7.js → chunk-LQF2YX4Z.js} +6 -6
  21. package/dist/_node-chunks/{chunk-LCBCTN4M.js → chunk-LY42XGJX.js} +7 -7
  22. package/dist/_node-chunks/{chunk-6OI3K47W.js → chunk-M3NUJKHF.js} +9 -9
  23. package/dist/_node-chunks/{chunk-RNTIDFBO.js → chunk-NM76NNBF.js} +9 -9
  24. package/dist/_node-chunks/{chunk-APWBWPND.js → chunk-PFCD6HBP.js} +7 -7
  25. package/dist/_node-chunks/{chunk-KBE3TTUR.js → chunk-QLZIG3XC.js} +7 -7
  26. package/dist/_node-chunks/chunk-TJGUM3J6.js +23 -0
  27. package/dist/_node-chunks/{chunk-EQ3YUBKH.js → chunk-TOAOZCOV.js} +16 -16
  28. package/dist/_node-chunks/{chunk-5GZNNLKU.js → chunk-UJMJ7W5H.js} +7 -7
  29. package/dist/_node-chunks/{chunk-P6D6ID6E.js → chunk-V2LVNLAT.js} +6 -6
  30. package/dist/_node-chunks/{chunk-RZNT4K2G.js → chunk-WC6YF7PX.js} +6 -6
  31. package/dist/_node-chunks/{chunk-JIOULQ32.js → chunk-XOGYJBNU.js} +6 -6
  32. package/dist/_node-chunks/{chunk-WH4P3VKT.js → chunk-Z4WARWVA.js} +6 -6
  33. package/dist/_node-chunks/{globby-MSU5U7ID.js → globby-OVGPC72V.js} +9 -9
  34. package/dist/_node-chunks/{lib-OAHUNMVL.js → lib-GNBN4EH6.js} +7 -7
  35. package/dist/_node-chunks/{mdx-N42X6CFJ-Q6YYOOB2.js → mdx-N42X6CFJ-I3J2JFL4.js} +8 -8
  36. package/dist/_node-chunks/{p-limit-RMVLANG5.js → p-limit-2LNUZG3W.js} +7 -7
  37. package/dist/babel/index.js +10 -10
  38. package/dist/bin/core.js +12 -12
  39. package/dist/bin/dispatcher.js +11 -11
  40. package/dist/bin/loader.js +9 -9
  41. package/dist/cli/index.js +18 -18
  42. package/dist/common/index.js +19 -19
  43. package/dist/components/index.d.ts +2 -0
  44. package/dist/components/index.js +49 -16
  45. package/dist/core-server/index.js +35 -35
  46. package/dist/core-server/presets/common-manager.js +15 -21
  47. package/dist/core-server/presets/common-override-preset.js +9 -9
  48. package/dist/core-server/presets/common-preset.js +25 -25
  49. package/dist/csf/index.d.ts +333 -8
  50. package/dist/csf/index.js +1 -1
  51. package/dist/csf-tools/index.js +9 -9
  52. package/dist/manager/globals-runtime.js +58 -25
  53. package/dist/manager/runtime.js +100 -102
  54. package/dist/manager-api/index.d.ts +13 -13
  55. package/dist/manager-api/index.js +1 -1
  56. package/dist/mocking-utils/index.js +8 -8
  57. package/dist/node-logger/index.js +9 -9
  58. package/dist/preview/runtime.js +4 -6
  59. package/dist/preview-api/index.d.ts +4 -4
  60. package/dist/preview-api/index.js +1 -1
  61. package/dist/server-errors.js +11 -11
  62. package/dist/telemetry/index.d.ts +5 -0
  63. package/dist/telemetry/index.js +23 -23
  64. package/dist/types/index.d.ts +2 -3
  65. package/package.json +1 -1
  66. package/dist/_node-chunks/chunk-7GISRHHS.js +0 -23
  67. package/dist/_node-chunks/chunk-BEZTSJFQ.js +0 -61
  68. package/dist/_node-chunks/chunk-E63NMV7B.js +0 -18
@@ -9920,7 +9920,7 @@ var sizes = (({ size }) => {
9920
9920
  appearance: "none",
9921
9921
  border: "0 none",
9922
9922
  boxSizing: "inherit",
9923
- display: " block",
9923
+ display: "block",
9924
9924
  margin: " 0",
9925
9925
  background: "transparent",
9926
9926
  padding: 0,
@@ -9961,13 +9961,46 @@ var sizes = (({ size }) => {
9961
9961
  }));
9962
9962
 
9963
9963
  // src/components/components/Form/Input.tsx
9964
- var Input2 = Object.assign(
9964
+ var Wrapper2 = styled40.div({
9965
+ position: "relative",
9966
+ width: "100%"
9967
+ }), Mask = styled40.div(
9968
+ ({ theme }) => ({
9969
+ position: "absolute",
9970
+ left: 0,
9971
+ right: 0,
9972
+ top: 0,
9973
+ bottom: 0,
9974
+ display: "flex",
9975
+ alignItems: "center",
9976
+ pointerEvents: "none",
9977
+ overflow: "hidden",
9978
+ color: theme.textMutedColor,
9979
+ "span:first-of-type": {
9980
+ opacity: 0
9981
+ }
9982
+ }),
9983
+ (props) => {
9984
+ let { fontSize, lineHeight, padding } = styles(props);
9985
+ return { fontSize, lineHeight, padding };
9986
+ }
9987
+ ), Input2 = Object.assign(
9965
9988
  styled40(
9966
- forwardRef8(function({ size, valid, align, ...props }, ref) {
9967
- return React28.createElement("input", { ...props, ref });
9989
+ forwardRef8(function({ size, valid, align, value, suffix, ...props }, ref) {
9990
+ let suffixId = $bdb11010cef70236$export$f680877a34711e37();
9991
+ return React28.createElement(Wrapper2, null, React28.createElement(
9992
+ "input",
9993
+ {
9994
+ ...props,
9995
+ value,
9996
+ ref,
9997
+ "aria-describedby": suffix ? suffixId : void 0
9998
+ }
9999
+ ), suffix && React28.createElement(Mask, { "aria-hidden": !0 }, React28.createElement("span", null, value), React28.createElement("span", { id: suffixId }, suffix)));
9968
10000
  })
9969
10001
  )(styles, sizes, alignment, validation, {
9970
- minHeight: 32
10002
+ minHeight: 32,
10003
+ width: "100%"
9971
10004
  }),
9972
10005
  {
9973
10006
  displayName: "Input"
@@ -10057,7 +10090,7 @@ var BaseSelect = styled42.select(sizes, ({ theme }) => ({
10057
10090
  },
10058
10091
  "&::picker(select)": {
10059
10092
  appearance: "base-select",
10060
- border: "1px solid #e4e4e7",
10093
+ border: `1px solid ${theme.input.border}`,
10061
10094
  padding: 4,
10062
10095
  marginTop: 4,
10063
10096
  background: theme.base === "light" ? lighten(theme.background.app) : theme.background.app,
@@ -10322,7 +10355,7 @@ var Form = Object.assign(
10322
10355
  import React35, { forwardRef as forwardRef11 } from "react";
10323
10356
  import { CloseIcon } from "@storybook/icons";
10324
10357
  import { lighten as lighten2, styled as styled45 } from "storybook/theming";
10325
- var Wrapper2 = styled45.div(
10358
+ var Wrapper3 = styled45.div(
10326
10359
  ({ hasCloseButton, padding }) => ({
10327
10360
  display: "inline-block",
10328
10361
  position: "relative",
@@ -10365,7 +10398,7 @@ var Wrapper2 = styled45.div(
10365
10398
  padding = 8,
10366
10399
  ...props
10367
10400
  }, ref) => React35.createElement(
10368
- Wrapper2,
10401
+ Wrapper3,
10369
10402
  {
10370
10403
  bgColor: color4,
10371
10404
  hasChrome,
@@ -11143,8 +11176,8 @@ function $f39a9eba43920ace$export$8dc98ba7eadeaa56(props) {
11143
11176
  }, children);
11144
11177
  }
11145
11178
  function $f39a9eba43920ace$export$86427a43e3e48ebb(fn) {
11146
- let Wrapper6 = (props, ref) => $8SdCi$useContext($f39a9eba43920ace$export$94b6d0abf7d33e8c) ? null : fn(props, ref);
11147
- return Wrapper6.displayName = fn.displayName || fn.name, $8SdCi$forwardRef(Wrapper6);
11179
+ let Wrapper7 = (props, ref) => $8SdCi$useContext($f39a9eba43920ace$export$94b6d0abf7d33e8c) ? null : fn(props, ref);
11180
+ return Wrapper7.displayName = fn.displayName || fn.name, $8SdCi$forwardRef(Wrapper7);
11148
11181
  }
11149
11182
  function $f39a9eba43920ace$export$b5d7cc18bb8d2b59() {
11150
11183
  return $8SdCi$useContext($f39a9eba43920ace$export$94b6d0abf7d33e8c);
@@ -14657,7 +14690,7 @@ TabButton.displayName = "TabButton";
14657
14690
  // src/components/components/Tabs/EmptyTabContent.tsx
14658
14691
  import React46 from "react";
14659
14692
  import { styled as styled53 } from "storybook/theming";
14660
- var Wrapper3 = styled53.div(({ theme }) => ({
14693
+ var Wrapper4 = styled53.div(({ theme }) => ({
14661
14694
  height: "100%",
14662
14695
  display: "flex",
14663
14696
  padding: 30,
@@ -14683,7 +14716,7 @@ var Wrapper3 = styled53.div(({ theme }) => ({
14683
14716
  fontSize: theme.typography.size.s2 - 1,
14684
14717
  textAlign: "center",
14685
14718
  color: theme.textMutedColor
14686
- })), EmptyTabContent = ({ title, description, footer }) => React46.createElement(Wrapper3, null, React46.createElement(Content2, null, React46.createElement(Title5, null, title), description && React46.createElement(Description2, null, description)), footer && React46.createElement(Footer, null, footer));
14719
+ })), EmptyTabContent = ({ title, description, footer }) => React46.createElement(Wrapper4, null, React46.createElement(Content2, null, React46.createElement(Title5, null, title), description && React46.createElement(Description2, null, description)), footer && React46.createElement(Footer, null, footer));
14687
14720
 
14688
14721
  // src/components/components/Tabs/Tabs.helpers.tsx
14689
14722
  import React47, { Children as Children5 } from "react";
@@ -14832,7 +14865,7 @@ function useList(list) {
14832
14865
  }
14833
14866
 
14834
14867
  // src/components/components/Tabs/Tabs.tsx
14835
- var ignoreSsrWarning2 = "/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */", Wrapper4 = styled56.div(
14868
+ var ignoreSsrWarning2 = "/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */", Wrapper5 = styled56.div(
14836
14869
  ({ theme, bordered }) => bordered ? {
14837
14870
  backgroundClip: "padding-box",
14838
14871
  border: `1px solid ${theme.appBorderColor}`,
@@ -14938,7 +14971,7 @@ var TabErrorBoundary = class extends Component2 {
14938
14971
  ), { visibleList, tabBarRef, tabRefs, AddonTab } = useList(list), EmptyContent = emptyState ?? React49.createElement(EmptyTabContent, { title: "Nothing found" });
14939
14972
  return !showToolsWhenEmpty && list.length === 0 ? EmptyContent : (
14940
14973
  // @ts-expect-error (non strict)
14941
- React49.createElement(Wrapper4, { "data-deprecated": "Tabs", absolute, bordered, id: htmlId }, React49.createElement(FlexBar, { scrollable: !1, border: !0, backgroundColor }, React49.createElement(TabBar, { style: { whiteSpace: "normal" }, ref: tabBarRef, role: "tablist" }, visibleList.map(({ title, id, active, color: color4 }, index3) => {
14974
+ React49.createElement(Wrapper5, { "data-deprecated": "Tabs", absolute, bordered, id: htmlId }, React49.createElement(FlexBar, { scrollable: !1, border: !0, backgroundColor }, React49.createElement(TabBar, { style: { whiteSpace: "normal" }, ref: tabBarRef, role: "tablist" }, visibleList.map(({ title, id, active, color: color4 }, index3) => {
14942
14975
  let indexId = `index-${index3}`;
14943
14976
  return React49.createElement(
14944
14977
  TabButton,
@@ -16275,7 +16308,7 @@ var XMLNS = "http://www.w3.org/2000/svg", rotate = keyframes5({
16275
16308
  "100%": {
16276
16309
  transform: "rotate(360deg)"
16277
16310
  }
16278
- }), Wrapper5 = styled67.div(({ size }) => ({
16311
+ }), Wrapper6 = styled67.div(({ size }) => ({
16279
16312
  display: "inline-flex",
16280
16313
  alignItems: "center",
16281
16314
  justifyContent: "center",
@@ -16318,7 +16351,7 @@ var XMLNS = "http://www.w3.org/2000/svg", rotate = keyframes5({
16318
16351
  width = 1.5,
16319
16352
  children = null,
16320
16353
  ...props
16321
- }) => typeof percentage == "number" ? React63.createElement(Wrapper5, { size, ...props }, children, React63.createElement(Circle, { size, width, xmlns: XMLNS }, React63.createElement("circle", null)), running && React63.createElement(Circle, { size, width, xmlns: XMLNS, spinner: !0 }, React63.createElement("circle", { strokeDashoffset: Math.PI * (size - Math.ceil(width)) * (1 - percentage / 100) })), React63.createElement(Circle, { size, width, xmlns: XMLNS, progress: !0 }, React63.createElement("circle", { strokeDashoffset: Math.PI * (size - Math.ceil(width)) * (1 - percentage / 100) }))) : React63.createElement(Wrapper5, { size, ...props }, children);
16354
+ }) => typeof percentage == "number" ? React63.createElement(Wrapper6, { size, ...props }, children, React63.createElement(Circle, { size, width, xmlns: XMLNS }, React63.createElement("circle", null)), running && React63.createElement(Circle, { size, width, xmlns: XMLNS, spinner: !0 }, React63.createElement("circle", { strokeDashoffset: Math.PI * (size - Math.ceil(width)) * (1 - percentage / 100) })), React63.createElement(Circle, { size, width, xmlns: XMLNS, progress: !0 }, React63.createElement("circle", { strokeDashoffset: Math.PI * (size - Math.ceil(width)) * (1 - percentage / 100) }))) : React63.createElement(Wrapper6, { size, ...props }, children);
16322
16355
 
16323
16356
  // src/components/components/utils/getStoryHref.ts
16324
16357
  import { deprecate as deprecate13 } from "storybook/internal/client-logger";
@@ -1,20 +1,20 @@
1
- import CJS_COMPAT_NODE_URL_a5rp5ea5r4w from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_a5rp5ea5r4w from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_a5rp5ea5r4w from "node:module";
1
+ import CJS_COMPAT_NODE_URL_96u9uvlttj6 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_96u9uvlttj6 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_96u9uvlttj6 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_a5rp5ea5r4w.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_a5rp5ea5r4w.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_a5rp5ea5r4w.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_96u9uvlttj6.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_96u9uvlttj6.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_96u9uvlttj6.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
11
  // ------------------------------------------------------------
12
12
  import {
13
13
  toEstree
14
- } from "../_node-chunks/chunk-AAPM4ZUE.js";
14
+ } from "../_node-chunks/chunk-HSLEWKPT.js";
15
15
  import {
16
16
  StatusTypeIdMismatchError
17
- } from "../_node-chunks/chunk-6RSHZM6F.js";
17
+ } from "../_node-chunks/chunk-JZDQQ34S.js";
18
18
  import {
19
19
  debounce,
20
20
  generateStoryFile,
@@ -25,69 +25,69 @@ import {
25
25
  sendTelemetryError,
26
26
  useStatics,
27
27
  withTelemetry
28
- } from "../_node-chunks/chunk-EQ3YUBKH.js";
28
+ } from "../_node-chunks/chunk-TOAOZCOV.js";
29
29
  import {
30
30
  detectPnp
31
- } from "../_node-chunks/chunk-7GISRHHS.js";
32
- import "../_node-chunks/chunk-DWLMCD64.js";
31
+ } from "../_node-chunks/chunk-TJGUM3J6.js";
32
+ import "../_node-chunks/chunk-7C3OCMOV.js";
33
33
  import {
34
34
  StorybookError
35
- } from "../_node-chunks/chunk-VSP4OUV7.js";
35
+ } from "../_node-chunks/chunk-LQF2YX4Z.js";
36
36
  import {
37
37
  telemetry
38
- } from "../_node-chunks/chunk-4DTADLHM.js";
39
- import "../_node-chunks/chunk-E63NMV7B.js";
38
+ } from "../_node-chunks/chunk-B6PRKQBU.js";
39
+ import "../_node-chunks/chunk-3G6JTYYU.js";
40
40
  import {
41
41
  optionalEnvToBoolean,
42
42
  require_cross_spawn,
43
43
  resolveImport,
44
44
  supportedExtensions,
45
45
  userOrAutoTitleFromSpecifier
46
- } from "../_node-chunks/chunk-P626DC5C.js";
47
- import "../_node-chunks/chunk-BEZTSJFQ.js";
48
- import "../_node-chunks/chunk-QAIAKYZA.js";
46
+ } from "../_node-chunks/chunk-3WAOMPEV.js";
47
+ import "../_node-chunks/chunk-7CC7KOAY.js";
48
+ import "../_node-chunks/chunk-HNJNGHJI.js";
49
49
  import {
50
50
  require_pretty_hrtime
51
- } from "../_node-chunks/chunk-KJE25OIE.js";
52
- import "../_node-chunks/chunk-JIOULQ32.js";
53
- import "../_node-chunks/chunk-RNTIDFBO.js";
51
+ } from "../_node-chunks/chunk-LDPGDFBN.js";
52
+ import "../_node-chunks/chunk-XOGYJBNU.js";
53
+ import "../_node-chunks/chunk-NM76NNBF.js";
54
54
  import {
55
55
  invariant,
56
56
  up2 as up
57
- } from "../_node-chunks/chunk-P6D6ID6E.js";
58
- import "../_node-chunks/chunk-RZNT4K2G.js";
57
+ } from "../_node-chunks/chunk-V2LVNLAT.js";
58
+ import "../_node-chunks/chunk-WC6YF7PX.js";
59
59
  import {
60
60
  importModule,
61
61
  resolvePackageDir
62
- } from "../_node-chunks/chunk-APWBWPND.js";
62
+ } from "../_node-chunks/chunk-PFCD6HBP.js";
63
63
  import {
64
64
  dirname,
65
65
  join,
66
66
  relative,
67
67
  resolve
68
- } from "../_node-chunks/chunk-Y3SK4LWX.js";
68
+ } from "../_node-chunks/chunk-2MIIBCWO.js";
69
69
  import {
70
70
  slash
71
- } from "../_node-chunks/chunk-GQBGRYLZ.js";
72
- import "../_node-chunks/chunk-KBE3TTUR.js";
71
+ } from "../_node-chunks/chunk-JGB6IJ7A.js";
72
+ import "../_node-chunks/chunk-QLZIG3XC.js";
73
73
  import {
74
74
  Tag
75
- } from "../_node-chunks/chunk-JG6ODK5N.js";
75
+ } from "../_node-chunks/chunk-C2PW44X2.js";
76
76
  import {
77
77
  require_dist
78
- } from "../_node-chunks/chunk-5GZNNLKU.js";
78
+ } from "../_node-chunks/chunk-UJMJ7W5H.js";
79
79
  import {
80
80
  require_lib,
81
81
  require_src
82
- } from "../_node-chunks/chunk-LCBCTN4M.js";
82
+ } from "../_node-chunks/chunk-LY42XGJX.js";
83
83
  import {
84
84
  require_picocolors
85
- } from "../_node-chunks/chunk-R6FEBIT5.js";
85
+ } from "../_node-chunks/chunk-DX2OTMAX.js";
86
86
  import {
87
87
  __commonJS,
88
88
  __require,
89
89
  __toESM
90
- } from "../_node-chunks/chunk-ESJWIQ4Z.js";
90
+ } from "../_node-chunks/chunk-5BZY2EBX.js";
91
91
 
92
92
  // ../../node_modules/glob-to-regexp/index.js
93
93
  var require_glob_to_regexp = __commonJS({
@@ -4544,7 +4544,7 @@ function print(p) {
4544
4544
  // src/core-server/utils/get-builders.ts
4545
4545
  import { MissingBuilderError } from "storybook/internal/server-errors";
4546
4546
  async function getManagerBuilder() {
4547
- return await import("../_node-chunks/builder-manager-JZHWQECC.js");
4547
+ return await import("../_node-chunks/builder-manager-QV5RDRX3.js");
4548
4548
  }
4549
4549
  async function getPreviewBuilder(resolvedPreviewBuilder) {
4550
4550
  return await importModule(resolvedPreviewBuilder);
@@ -4608,7 +4608,7 @@ function watchStorySpecifiers(specifiers, options, onInvalidate) {
4608
4608
  // files can be e.g. '**/foo/*/*.js' so we just want the last bit,
4609
4609
  // because the directory could already be within the files part (e.g. './x/foo/bar')
4610
4610
  basename(specifier.files)
4611
- ), { globby } = await import("../_node-chunks/globby-MSU5U7ID.js");
4611
+ ), { globby } = await import("../_node-chunks/globby-OVGPC72V.js");
4612
4612
  (await globby(slash(dirGlob), commonGlobOptions(dirGlob))).forEach((filePath) => {
4613
4613
  let fileImportPath = toImportPath(filePath);
4614
4614
  specifier.importPathMatcher.exec(fileImportPath) && onInvalidate(fileImportPath, removed);
@@ -5627,7 +5627,7 @@ var getAttr = (elt, what) => elt.attributes.find((n) => n.type === "JSXAttribute
5627
5627
  isTemplate: !1,
5628
5628
  metaTags: void 0,
5629
5629
  imports: void 0
5630
- }, { compile } = await import("../_node-chunks/mdx-N42X6CFJ-Q6YYOOB2.js");
5630
+ }, { compile } = await import("../_node-chunks/mdx-N42X6CFJ-I3J2JFL4.js");
5631
5631
  await compile(code, {
5632
5632
  rehypePlugins: [[plugin, store]]
5633
5633
  });
@@ -5772,7 +5772,7 @@ var makeAbsolute = (otherImport, normalizedPath, workingDir) => otherImport.star
5772
5772
  let cacheKey = this.getFindMatchingFilesCacheKey(specifier, workingDir, ignoreWarnings), cached = this.findMatchingFilesCache.get(cacheKey);
5773
5773
  if (cached)
5774
5774
  return cached;
5775
- let pathToSubIndex = {}, globCwd = slash(resolve3(workingDir, specifier.directory)), globPattern = specifier.files.startsWith("!") ? `./${specifier.files}` : specifier.files, { globby } = await import("../_node-chunks/globby-MSU5U7ID.js"), files = await globby(globPattern, {
5775
+ let pathToSubIndex = {}, globCwd = slash(resolve3(workingDir, specifier.directory)), globPattern = specifier.files.startsWith("!") ? `./${specifier.files}` : specifier.files, { globby } = await import("../_node-chunks/globby-OVGPC72V.js"), files = await globby(globPattern, {
5776
5776
  absolute: !0,
5777
5777
  cwd: globCwd,
5778
5778
  ...commonGlobOptions2(globPattern)
@@ -634,35 +634,29 @@ var parseDate = (value2) => {
634
634
  }, formatTime = (value2) => {
635
635
  let date = new Date(value2), hours = `0${date.getHours()}`.slice(-2), minutes = `0${date.getMinutes()}`.slice(-2);
636
636
  return `${hours}:${minutes}`;
637
- }, FormInput = styled3(Form.Input)(
638
- ({ theme: theme3, readOnly }) => readOnly ? {
637
+ }, FormInput = styled3(Form.Input)(({ theme: theme3 }) => ({
638
+ "&[readonly]": {
639
639
  background: theme3.base === "light" ? theme3.color.lighter : "transparent"
640
- } : {}
641
- ), FlexSpaced = styled3.fieldset(({ theme: theme3 }) => ({
640
+ },
641
+ "&::-webkit-calendar-picker-indicator": {
642
+ opacity: 0.5,
643
+ height: 12,
644
+ filter: theme3.base === "light" ? void 0 : "invert(1)"
645
+ }
646
+ })), FlexSpaced = styled3.fieldset({
642
647
  flex: 1,
643
648
  display: "flex",
644
649
  border: 0,
645
650
  marginInline: 0,
646
651
  padding: 0,
647
- input: {
648
- marginLeft: 10,
649
- flex: 1,
650
- height: 32,
651
- // hardcode height bc Chromium bug https://bugs.chromium.org/p/chromium/issues/detail?id=417606
652
- "&::-webkit-calendar-picker-indicator": {
653
- opacity: 0.5,
654
- height: 12,
655
- filter: theme3.base === "light" ? void 0 : "invert(1)"
656
- }
657
- },
658
- "input:first-of-type": {
659
- marginLeft: 0,
660
- flexGrow: 4
652
+ gap: 10,
653
+ "div:first-of-type": {
654
+ flex: 4
661
655
  },
662
- "input:last-of-type": {
663
- flexGrow: 3
656
+ "div:last-of-type": {
657
+ flex: 3
664
658
  }
665
- })), DateControl = ({ name, value: value2, onChange, onFocus, onBlur, argType }) => {
659
+ }), DateControl = ({ name, value: value2, onChange, onFocus, onBlur, argType }) => {
666
660
  let [valid, setValid] = useState(!0), dateRef = useRef(), timeRef = useRef(), readonly = !!argType?.table?.readonly;
667
661
  useEffect(() => {
668
662
  valid !== !1 && (dateRef && dateRef.current && (dateRef.current.value = value2 ? formatDate(value2) : ""), timeRef && timeRef.current && (timeRef.current.value = value2 ? formatTime(value2) : ""));
@@ -1,21 +1,21 @@
1
- import CJS_COMPAT_NODE_URL_a5rp5ea5r4w from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_a5rp5ea5r4w from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_a5rp5ea5r4w from "node:module";
1
+ import CJS_COMPAT_NODE_URL_96u9uvlttj6 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_96u9uvlttj6 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_96u9uvlttj6 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_a5rp5ea5r4w.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_a5rp5ea5r4w.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_a5rp5ea5r4w.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_96u9uvlttj6.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_96u9uvlttj6.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_96u9uvlttj6.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
11
  // ------------------------------------------------------------
12
12
  import {
13
13
  slash
14
- } from "../../_node-chunks/chunk-GQBGRYLZ.js";
14
+ } from "../../_node-chunks/chunk-JGB6IJ7A.js";
15
15
  import {
16
16
  glob
17
- } from "../../_node-chunks/chunk-KBE3TTUR.js";
18
- import "../../_node-chunks/chunk-ESJWIQ4Z.js";
17
+ } from "../../_node-chunks/chunk-QLZIG3XC.js";
18
+ import "../../_node-chunks/chunk-5BZY2EBX.js";
19
19
 
20
20
  // src/core-server/utils/remove-mdx-entries.ts
21
21
  import { isAbsolute, join, relative } from "node:path";
@@ -1,15 +1,15 @@
1
- import CJS_COMPAT_NODE_URL_a5rp5ea5r4w from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_a5rp5ea5r4w from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_a5rp5ea5r4w from "node:module";
1
+ import CJS_COMPAT_NODE_URL_96u9uvlttj6 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_96u9uvlttj6 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_96u9uvlttj6 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_a5rp5ea5r4w.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_a5rp5ea5r4w.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_a5rp5ea5r4w.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_96u9uvlttj6.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_96u9uvlttj6.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_96u9uvlttj6.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-YDILOOT5.js";
12
+ import "../../_node-chunks/chunk-A635UKUK.js";
13
13
  import {
14
14
  doesStoryFileExist,
15
15
  generateStoryFile,
@@ -17,47 +17,47 @@ import {
17
17
  parseStaticDir,
18
18
  sendTelemetryError,
19
19
  throttle
20
- } from "../../_node-chunks/chunk-EQ3YUBKH.js";
21
- import "../../_node-chunks/chunk-7GISRHHS.js";
22
- import "../../_node-chunks/chunk-DWLMCD64.js";
23
- import "../../_node-chunks/chunk-VSP4OUV7.js";
20
+ } from "../../_node-chunks/chunk-TOAOZCOV.js";
21
+ import "../../_node-chunks/chunk-TJGUM3J6.js";
22
+ import "../../_node-chunks/chunk-7C3OCMOV.js";
23
+ import "../../_node-chunks/chunk-LQF2YX4Z.js";
24
24
  import {
25
25
  isI18nPackage,
26
26
  isRouterPackage,
27
27
  isStateManagementPackage,
28
28
  isStylingPackage
29
- } from "../../_node-chunks/chunk-JIOULQ32.js";
29
+ } from "../../_node-chunks/chunk-XOGYJBNU.js";
30
30
  import {
31
31
  globalSettings
32
- } from "../../_node-chunks/chunk-RNTIDFBO.js";
32
+ } from "../../_node-chunks/chunk-NM76NNBF.js";
33
33
  import {
34
34
  invariant
35
- } from "../../_node-chunks/chunk-P6D6ID6E.js";
36
- import "../../_node-chunks/chunk-RZNT4K2G.js";
35
+ } from "../../_node-chunks/chunk-V2LVNLAT.js";
36
+ import "../../_node-chunks/chunk-WC6YF7PX.js";
37
37
  import {
38
38
  resolvePackageDir
39
- } from "../../_node-chunks/chunk-APWBWPND.js";
39
+ } from "../../_node-chunks/chunk-PFCD6HBP.js";
40
40
  import {
41
41
  isAbsolute,
42
42
  join
43
- } from "../../_node-chunks/chunk-Y3SK4LWX.js";
43
+ } from "../../_node-chunks/chunk-2MIIBCWO.js";
44
44
  import {
45
45
  glob
46
- } from "../../_node-chunks/chunk-KBE3TTUR.js";
47
- import "../../_node-chunks/chunk-JG6ODK5N.js";
46
+ } from "../../_node-chunks/chunk-QLZIG3XC.js";
47
+ import "../../_node-chunks/chunk-C2PW44X2.js";
48
48
  import {
49
49
  require_dist
50
- } from "../../_node-chunks/chunk-5GZNNLKU.js";
51
- import "../../_node-chunks/chunk-6OI3K47W.js";
52
- import "../../_node-chunks/chunk-LCBCTN4M.js";
50
+ } from "../../_node-chunks/chunk-UJMJ7W5H.js";
51
+ import "../../_node-chunks/chunk-M3NUJKHF.js";
52
+ import "../../_node-chunks/chunk-LY42XGJX.js";
53
53
  import {
54
54
  require_picocolors
55
- } from "../../_node-chunks/chunk-R6FEBIT5.js";
55
+ } from "../../_node-chunks/chunk-DX2OTMAX.js";
56
56
  import {
57
57
  __commonJS,
58
58
  __require,
59
59
  __toESM
60
- } from "../../_node-chunks/chunk-ESJWIQ4Z.js";
60
+ } from "../../_node-chunks/chunk-5BZY2EBX.js";
61
61
 
62
62
  // ../../node_modules/shell-quote/quote.js
63
63
  var require_quote = __commonJS({
@@ -650,7 +650,7 @@ async function searchFiles({
650
650
  ignoredFiles = IGNORED_FILES,
651
651
  fileExtensions = FILE_EXTENSIONS
652
652
  }) {
653
- let { globby, isDynamicPattern } = await import("../../_node-chunks/globby-MSU5U7ID.js"), hasSearchSpecialGlobChars = isDynamicPattern(searchQuery, { cwd }), searchQueryHasExtension = /(\.[a-z]+)$/i.test(searchQuery), fileExtensionsPattern = `{${fileExtensions.join(",")}}`, globbedSearchQuery = hasSearchSpecialGlobChars ? searchQuery : searchQueryHasExtension ? [`**/*${searchQuery}*`, `**/*${searchQuery}*/**`] : [
653
+ let { globby, isDynamicPattern } = await import("../../_node-chunks/globby-OVGPC72V.js"), hasSearchSpecialGlobChars = isDynamicPattern(searchQuery, { cwd }), searchQueryHasExtension = /(\.[a-z]+)$/i.test(searchQuery), fileExtensionsPattern = `{${fileExtensions.join(",")}}`, globbedSearchQuery = hasSearchSpecialGlobChars ? searchQuery : searchQueryHasExtension ? [`**/*${searchQuery}*`, `**/*${searchQuery}*/**`] : [
654
654
  `**/*${searchQuery}*.${fileExtensionsPattern}`,
655
655
  `**/*${searchQuery}*/**/*.${fileExtensionsPattern}`
656
656
  ];