storybook 10.0.6 → 10.0.8

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 (79) hide show
  1. package/dist/_browser-chunks/{chunk-RW5PKMWM.js → chunk-HERDX7MO.js} +2 -2
  2. package/dist/_browser-chunks/{chunk-UTNZYD2N.js → chunk-KHNISLMN.js} +81 -37
  3. package/dist/_browser-chunks/{chunk-B4A3ADP3.js → chunk-U2JWIJRX.js} +1 -1
  4. package/dist/_browser-chunks/{chunk-SYS437NN.js → chunk-VQJJDUCI.js} +1 -1
  5. package/dist/_node-chunks/{builder-manager-5BE3TVEG.js → builder-manager-32BKVJNY.js} +12 -12
  6. package/dist/_node-chunks/camelcase-A6XPJDW2.js +18 -0
  7. package/dist/_node-chunks/{chunk-HDJVTGFA.js → chunk-2JVDNALC.js} +7 -7
  8. package/dist/_node-chunks/{chunk-56RMQVQY.js → chunk-2YHAMJAY.js} +7 -7
  9. package/dist/_node-chunks/{chunk-6AFH6BK3.js → chunk-425EMBPZ.js} +297 -768
  10. package/dist/_node-chunks/{chunk-QQXHPA76.js → chunk-4UOXOBHK.js} +22 -16
  11. package/dist/_node-chunks/{chunk-LG2WHY6N.js → chunk-4WKJYHSS.js} +7 -7
  12. package/dist/_node-chunks/{chunk-JSMQSCY6.js → chunk-5VYG646K.js} +7 -7
  13. package/dist/_node-chunks/chunk-A3KNZ5FW.js +18 -0
  14. package/dist/_node-chunks/{chunk-2HHKCD24.js → chunk-C4ROO6RE.js} +7 -7
  15. package/dist/_node-chunks/{chunk-OUWPG727.js → chunk-CWWI6A7W.js} +8 -8
  16. package/dist/_node-chunks/{chunk-FOQLIZOZ.js → chunk-DPKZQ6YX.js} +7 -7
  17. package/dist/_node-chunks/{chunk-LD6DUTZM.js → chunk-EGWLH7SG.js} +10 -10
  18. package/dist/_node-chunks/{chunk-PVNLHT7L.js → chunk-F6NUZ463.js} +9 -9
  19. package/dist/_node-chunks/{chunk-IH6W7E4F.js → chunk-FYLSDVSH.js} +21 -21
  20. package/dist/_node-chunks/{chunk-XONWFYRB.js → chunk-HUKSE3QZ.js} +7 -7
  21. package/dist/_node-chunks/{chunk-F362GMSK.js → chunk-IR6AN3RK.js} +8 -8
  22. package/dist/_node-chunks/{chunk-MERGUJ3N.js → chunk-J5R55OCP.js} +7 -7
  23. package/dist/_node-chunks/{chunk-YDW7IXUU.js → chunk-JBW3FROT.js} +6 -6
  24. package/dist/_node-chunks/{chunk-SQIPJWM7.js → chunk-JFMDUYER.js} +7 -7
  25. package/dist/_node-chunks/{chunk-2GBN7SJF.js → chunk-JVUHT63V.js} +8 -8
  26. package/dist/_node-chunks/{chunk-QQIWF6OB.js → chunk-K373EZTP.js} +12 -12
  27. package/dist/_node-chunks/{chunk-4FUKV4QU.js → chunk-KVR64UU2.js} +529 -284
  28. package/dist/_node-chunks/chunk-NEOS45YA.js +61 -0
  29. package/dist/_node-chunks/{chunk-DL43IE5O.js → chunk-OVJEF4RI.js} +9 -9
  30. package/dist/_node-chunks/{chunk-HRBEKIHV.js → chunk-PK3UILX6.js} +7 -7
  31. package/dist/_node-chunks/{chunk-LJJZ3BAM.js → chunk-QHYQ5G5G.js} +7 -7
  32. package/dist/_node-chunks/{chunk-BJYCX337.js → chunk-TKXE3RQ5.js} +12 -12
  33. package/dist/_node-chunks/{chunk-KPKM4AEB.js → chunk-UOLIYXDF.js} +7 -7
  34. package/dist/_node-chunks/{chunk-6EXM6B54.js → chunk-V4MKEKP7.js} +7 -7
  35. package/dist/_node-chunks/{chunk-JYHAADG7.js → chunk-V7ZKSK5R.js} +7 -7
  36. package/dist/_node-chunks/{chunk-X6O7XFYS.js → chunk-VTD5TIUC.js} +8 -8
  37. package/dist/_node-chunks/{chunk-NIRITJWP.js → chunk-VWYF3SCI.js} +7 -7
  38. package/dist/_node-chunks/{chunk-QNHU6QSD.js → chunk-YUFML7ZZ.js} +7 -7
  39. package/dist/_node-chunks/{chunk-QKSFE2UN.js → chunk-ZDZQHU26.js} +6 -6
  40. package/dist/_node-chunks/{dist-AONDCLQW.js → dist-SD7YZH5A.js} +9 -9
  41. package/dist/_node-chunks/{globby-NXAV5VNT.js → globby-FODEQLAP.js} +9 -9
  42. package/dist/_node-chunks/{lib-W6JDP72S.js → lib-G6JECM5H.js} +7 -7
  43. package/dist/_node-chunks/{mdx-N42X6CFJ-LMR2UFJM.js → mdx-N42X6CFJ-MK2KTUH7.js} +8 -8
  44. package/dist/_node-chunks/{p-limit-LRYXPTYK.js → p-limit-IJ5D4B4L.js} +10 -7
  45. package/dist/_node-chunks/{plugin-FM35FQEB.js → plugin-NXD266M2.js} +10 -10
  46. package/dist/_node-chunks/{plugin-OJ7NTAAH.js → plugin-SAVMZDUL.js} +10 -10
  47. package/dist/_node-chunks/{webpack-inject-mocker-runtime-plugin-V7WJU2MN.js → webpack-inject-mocker-runtime-plugin-2PG2OIHX.js} +30 -24
  48. package/dist/_node-chunks/{webpack-mock-plugin-B3R7K7R2.js → webpack-mock-plugin-CQH72GQV.js} +9 -9
  49. package/dist/babel/index.d.ts +671 -335
  50. package/dist/babel/index.js +11 -11
  51. package/dist/bin/core.js +12 -12
  52. package/dist/bin/dispatcher.js +11 -11
  53. package/dist/bin/loader.js +9 -9
  54. package/dist/cli/index.js +77 -82
  55. package/dist/common/index.js +20 -20
  56. package/dist/components/index.js +394 -176
  57. package/dist/core-server/index.js +55 -44
  58. package/dist/core-server/presets/common-manager.js +238 -230
  59. package/dist/core-server/presets/common-override-preset.js +9 -9
  60. package/dist/core-server/presets/common-preset.js +24 -23
  61. package/dist/core-server/presets/webpack/loaders/storybook-mock-transform-loader.js +9 -9
  62. package/dist/core-server/presets/webpack/loaders/webpack-automock-loader.js +10 -10
  63. package/dist/csf/index.js +3 -3
  64. package/dist/csf-tools/index.js +9 -9
  65. package/dist/docs-tools/index.js +2 -2
  66. package/dist/manager/globals-runtime.js +4291 -4116
  67. package/dist/manager/runtime.js +1 -1
  68. package/dist/manager-api/index.js +3 -3
  69. package/dist/node-logger/index.js +576 -531
  70. package/dist/preview/runtime.js +953 -891
  71. package/dist/preview-api/index.js +3 -3
  72. package/dist/server-errors.js +10 -10
  73. package/dist/telemetry/index.js +24 -24
  74. package/dist/test/index.js +609 -547
  75. package/dist/theming/index.d.ts +3363 -2597
  76. package/package.json +2 -2
  77. package/dist/_node-chunks/camelcase-AEFVF77F.js +0 -18
  78. package/dist/_node-chunks/chunk-HOUX2ZA6.js +0 -18
  79. package/dist/_node-chunks/chunk-PHNGYIYJ.js +0 -61
@@ -31,7 +31,7 @@ import {
31
31
  } from "../_browser-chunks/chunk-MM7DTO55.js";
32
32
 
33
33
  // src/components/index.ts
34
- import { createElement as createElement9, forwardRef as forwardRef15 } from "react";
34
+ import { createElement as createElement9, forwardRef as forwardRef17 } from "react";
35
35
 
36
36
  // src/components/components/typography/components.tsx
37
37
  import React4 from "react";
@@ -1090,7 +1090,7 @@ var DocumentWrapper = styled25.div(({ theme }) => ({
1090
1090
  }));
1091
1091
 
1092
1092
  // src/components/components/Modal/Modal.tsx
1093
- import React37 from "react";
1093
+ import React39 from "react";
1094
1094
 
1095
1095
  // ../node_modules/@radix-ui/react-dialog/dist/index.mjs
1096
1096
  var dist_exports = {};
@@ -1114,7 +1114,7 @@ __export(dist_exports, {
1114
1114
  WarningProvider: () => WarningProvider,
1115
1115
  createDialogScope: () => createDialogScope
1116
1116
  });
1117
- import * as React33 from "react";
1117
+ import * as React34 from "react";
1118
1118
 
1119
1119
  // ../node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/primitive/dist/index.mjs
1120
1120
  var canUseDOM = !!(typeof window !== "undefined" && window.document && window.document.createElement);
@@ -1369,7 +1369,7 @@ __name(composeEventHandlers2, "composeEventHandlers");
1369
1369
  import * as React14 from "react";
1370
1370
  import * as ReactDOM from "react-dom";
1371
1371
 
1372
- // ../node_modules/@radix-ui/react-slot/dist/index.mjs
1372
+ // ../node_modules/@radix-ui/react-primitive/node_modules/@radix-ui/react-slot/dist/index.mjs
1373
1373
  import * as React13 from "react";
1374
1374
  import { Fragment as Fragment2, jsx as jsx2 } from "react/jsx-runtime";
1375
1375
  function createSlot(ownerName) {
@@ -1416,12 +1416,12 @@ function createSlotClone(ownerName) {
1416
1416
  __name(createSlotClone, "createSlotClone");
1417
1417
  var SLOTTABLE_IDENTIFIER = Symbol("radix.slottable");
1418
1418
  function createSlottable(ownerName) {
1419
- const Slottable2 = /* @__PURE__ */ __name(({ children }) => {
1419
+ const Slottable22 = /* @__PURE__ */ __name(({ children }) => {
1420
1420
  return jsx2(Fragment2, { children });
1421
1421
  }, "Slottable2");
1422
- Slottable2.displayName = `${ownerName}.Slottable`;
1423
- Slottable2.__radixId = SLOTTABLE_IDENTIFIER;
1424
- return Slottable2;
1422
+ Slottable22.displayName = `${ownerName}.Slottable`;
1423
+ Slottable22.__radixId = SLOTTABLE_IDENTIFIER;
1424
+ return Slottable22;
1425
1425
  }
1426
1426
  __name(createSlottable, "createSlottable");
1427
1427
  var Slottable = createSlottable("Slottable");
@@ -1491,10 +1491,10 @@ var NODES = [
1491
1491
  "ul"
1492
1492
  ];
1493
1493
  var Primitive = NODES.reduce((primitive, node) => {
1494
- const Slot3 = createSlot(`Primitive.${node}`);
1494
+ const Slot5 = createSlot(`Primitive.${node}`);
1495
1495
  const Node2 = React14.forwardRef((props, forwardedRef) => {
1496
1496
  const { asChild, ...primitiveProps } = props;
1497
- const Comp2 = asChild ? Slot3 : node;
1497
+ const Comp2 = asChild ? Slot5 : node;
1498
1498
  if (typeof window !== "undefined") {
1499
1499
  window[Symbol.for("radix-ui")] = true;
1500
1500
  }
@@ -2991,8 +2991,108 @@ var hideOthers = /* @__PURE__ */ __name(function(originalTarget, parentNode, mar
2991
2991
  return applyAttributeToOthers(targets, activeParentNode, markerName, "aria-hidden");
2992
2992
  }, "hideOthers");
2993
2993
 
2994
+ // ../node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-slot/dist/index.mjs
2995
+ import * as React33 from "react";
2996
+ import { Fragment as Fragment22, jsx as jsx7 } from "react/jsx-runtime";
2997
+ function createSlot2(ownerName) {
2998
+ const SlotClone = createSlotClone2(ownerName);
2999
+ const Slot22 = React33.forwardRef((props, forwardedRef) => {
3000
+ const { children, ...slotProps } = props;
3001
+ const childrenArray = React33.Children.toArray(children);
3002
+ const slottable = childrenArray.find(isSlottable2);
3003
+ if (slottable) {
3004
+ const newElement = slottable.props.children;
3005
+ const newChildren = childrenArray.map((child) => {
3006
+ if (child === slottable) {
3007
+ if (React33.Children.count(newElement) > 1) return React33.Children.only(null);
3008
+ return React33.isValidElement(newElement) ? newElement.props.children : null;
3009
+ } else {
3010
+ return child;
3011
+ }
3012
+ });
3013
+ return jsx7(SlotClone, { ...slotProps, ref: forwardedRef, children: React33.isValidElement(newElement) ? React33.cloneElement(newElement, void 0, newChildren) : null });
3014
+ }
3015
+ return jsx7(SlotClone, { ...slotProps, ref: forwardedRef, children });
3016
+ });
3017
+ Slot22.displayName = `${ownerName}.Slot`;
3018
+ return Slot22;
3019
+ }
3020
+ __name(createSlot2, "createSlot");
3021
+ var Slot2 = createSlot2("Slot");
3022
+ function createSlotClone2(ownerName) {
3023
+ const SlotClone = React33.forwardRef((props, forwardedRef) => {
3024
+ const { children, ...slotProps } = props;
3025
+ if (React33.isValidElement(children)) {
3026
+ const childrenRef = getElementRef3(children);
3027
+ const props2 = mergeProps2(slotProps, children.props);
3028
+ if (children.type !== React33.Fragment) {
3029
+ props2.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;
3030
+ }
3031
+ return React33.cloneElement(children, props2);
3032
+ }
3033
+ return React33.Children.count(children) > 1 ? React33.Children.only(null) : null;
3034
+ });
3035
+ SlotClone.displayName = `${ownerName}.SlotClone`;
3036
+ return SlotClone;
3037
+ }
3038
+ __name(createSlotClone2, "createSlotClone");
3039
+ var SLOTTABLE_IDENTIFIER2 = Symbol("radix.slottable");
3040
+ function createSlottable2(ownerName) {
3041
+ const Slottable22 = /* @__PURE__ */ __name(({ children }) => {
3042
+ return jsx7(Fragment22, { children });
3043
+ }, "Slottable2");
3044
+ Slottable22.displayName = `${ownerName}.Slottable`;
3045
+ Slottable22.__radixId = SLOTTABLE_IDENTIFIER2;
3046
+ return Slottable22;
3047
+ }
3048
+ __name(createSlottable2, "createSlottable");
3049
+ var Slottable2 = createSlottable2("Slottable");
3050
+ function isSlottable2(child) {
3051
+ return React33.isValidElement(child) && typeof child.type === "function" && "__radixId" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER2;
3052
+ }
3053
+ __name(isSlottable2, "isSlottable");
3054
+ function mergeProps2(slotProps, childProps) {
3055
+ const overrideProps = { ...childProps };
3056
+ for (const propName in childProps) {
3057
+ const slotPropValue = slotProps[propName];
3058
+ const childPropValue = childProps[propName];
3059
+ const isHandler = /^on[A-Z]/.test(propName);
3060
+ if (isHandler) {
3061
+ if (slotPropValue && childPropValue) {
3062
+ overrideProps[propName] = (...args) => {
3063
+ const result = childPropValue(...args);
3064
+ slotPropValue(...args);
3065
+ return result;
3066
+ };
3067
+ } else if (slotPropValue) {
3068
+ overrideProps[propName] = slotPropValue;
3069
+ }
3070
+ } else if (propName === "style") {
3071
+ overrideProps[propName] = { ...slotPropValue, ...childPropValue };
3072
+ } else if (propName === "className") {
3073
+ overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(" ");
3074
+ }
3075
+ }
3076
+ return { ...slotProps, ...overrideProps };
3077
+ }
3078
+ __name(mergeProps2, "mergeProps");
3079
+ function getElementRef3(element) {
3080
+ let getter = Object.getOwnPropertyDescriptor(element.props, "ref")?.get;
3081
+ let mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
3082
+ if (mayWarn) {
3083
+ return element.ref;
3084
+ }
3085
+ getter = Object.getOwnPropertyDescriptor(element, "ref")?.get;
3086
+ mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
3087
+ if (mayWarn) {
3088
+ return element.props.ref;
3089
+ }
3090
+ return element.props.ref || element.ref;
3091
+ }
3092
+ __name(getElementRef3, "getElementRef");
3093
+
2994
3094
  // ../node_modules/@radix-ui/react-dialog/dist/index.mjs
2995
- import { Fragment as Fragment6, jsx as jsx7, jsxs } from "react/jsx-runtime";
3095
+ import { Fragment as Fragment7, jsx as jsx8, jsxs } from "react/jsx-runtime";
2996
3096
  var DIALOG_NAME = "Dialog";
2997
3097
  var [createDialogContext, createDialogScope] = createContextScope(DIALOG_NAME);
2998
3098
  var [DialogProvider, useDialogContext] = createDialogContext(DIALOG_NAME);
@@ -3005,15 +3105,15 @@ var Dialog = /* @__PURE__ */ __name((props) => {
3005
3105
  onOpenChange,
3006
3106
  modal = true
3007
3107
  } = props;
3008
- const triggerRef = React33.useRef(null);
3009
- const contentRef = React33.useRef(null);
3108
+ const triggerRef = React34.useRef(null);
3109
+ const contentRef = React34.useRef(null);
3010
3110
  const [open, setOpen] = useControllableState({
3011
3111
  prop: openProp,
3012
3112
  defaultProp: defaultOpen ?? false,
3013
3113
  onChange: onOpenChange,
3014
3114
  caller: DIALOG_NAME
3015
3115
  });
3016
- return jsx7(
3116
+ return jsx8(
3017
3117
  DialogProvider,
3018
3118
  {
3019
3119
  scope: __scopeDialog,
@@ -3024,7 +3124,7 @@ var Dialog = /* @__PURE__ */ __name((props) => {
3024
3124
  descriptionId: useId(),
3025
3125
  open,
3026
3126
  onOpenChange: setOpen,
3027
- onOpenToggle: React33.useCallback(() => setOpen((prevOpen) => !prevOpen), [setOpen]),
3127
+ onOpenToggle: React34.useCallback(() => setOpen((prevOpen) => !prevOpen), [setOpen]),
3028
3128
  modal,
3029
3129
  children
3030
3130
  }
@@ -3032,12 +3132,12 @@ var Dialog = /* @__PURE__ */ __name((props) => {
3032
3132
  }, "Dialog");
3033
3133
  Dialog.displayName = DIALOG_NAME;
3034
3134
  var TRIGGER_NAME = "DialogTrigger";
3035
- var DialogTrigger = React33.forwardRef(
3135
+ var DialogTrigger = React34.forwardRef(
3036
3136
  (props, forwardedRef) => {
3037
3137
  const { __scopeDialog, ...triggerProps } = props;
3038
3138
  const context = useDialogContext(TRIGGER_NAME, __scopeDialog);
3039
3139
  const composedTriggerRef = useComposedRefs(forwardedRef, context.triggerRef);
3040
- return jsx7(
3140
+ return jsx8(
3041
3141
  Primitive.button,
3042
3142
  {
3043
3143
  type: "button",
@@ -3060,28 +3160,28 @@ var [PortalProvider, usePortalContext] = createDialogContext(PORTAL_NAME2, {
3060
3160
  var DialogPortal = /* @__PURE__ */ __name((props) => {
3061
3161
  const { __scopeDialog, forceMount, children, container } = props;
3062
3162
  const context = useDialogContext(PORTAL_NAME2, __scopeDialog);
3063
- return jsx7(PortalProvider, { scope: __scopeDialog, forceMount, children: React33.Children.map(children, (child) => jsx7(Presence, { present: forceMount || context.open, children: jsx7(Portal, { asChild: true, container, children: child }) })) });
3163
+ return jsx8(PortalProvider, { scope: __scopeDialog, forceMount, children: React34.Children.map(children, (child) => jsx8(Presence, { present: forceMount || context.open, children: jsx8(Portal, { asChild: true, container, children: child }) })) });
3064
3164
  }, "DialogPortal");
3065
3165
  DialogPortal.displayName = PORTAL_NAME2;
3066
3166
  var OVERLAY_NAME = "DialogOverlay";
3067
- var DialogOverlay = React33.forwardRef(
3167
+ var DialogOverlay = React34.forwardRef(
3068
3168
  (props, forwardedRef) => {
3069
3169
  const portalContext = usePortalContext(OVERLAY_NAME, props.__scopeDialog);
3070
3170
  const { forceMount = portalContext.forceMount, ...overlayProps } = props;
3071
3171
  const context = useDialogContext(OVERLAY_NAME, props.__scopeDialog);
3072
- return context.modal ? jsx7(Presence, { present: forceMount || context.open, children: jsx7(DialogOverlayImpl, { ...overlayProps, ref: forwardedRef }) }) : null;
3172
+ return context.modal ? jsx8(Presence, { present: forceMount || context.open, children: jsx8(DialogOverlayImpl, { ...overlayProps, ref: forwardedRef }) }) : null;
3073
3173
  }
3074
3174
  );
3075
3175
  DialogOverlay.displayName = OVERLAY_NAME;
3076
- var Slot2 = createSlot("DialogOverlay.RemoveScroll");
3077
- var DialogOverlayImpl = React33.forwardRef(
3176
+ var Slot3 = createSlot2("DialogOverlay.RemoveScroll");
3177
+ var DialogOverlayImpl = React34.forwardRef(
3078
3178
  (props, forwardedRef) => {
3079
3179
  const { __scopeDialog, ...overlayProps } = props;
3080
3180
  const context = useDialogContext(OVERLAY_NAME, __scopeDialog);
3081
3181
  return (
3082
3182
  // Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`
3083
3183
  // ie. when `Overlay` and `Content` are siblings
3084
- jsx7(Combination_default, { as: Slot2, allowPinchZoom: true, shards: [context.contentRef], children: jsx7(
3184
+ jsx8(Combination_default, { as: Slot3, allowPinchZoom: true, shards: [context.contentRef], children: jsx8(
3085
3185
  Primitive.div,
3086
3186
  {
3087
3187
  "data-state": getState(context.open),
@@ -3094,25 +3194,25 @@ var DialogOverlayImpl = React33.forwardRef(
3094
3194
  }
3095
3195
  );
3096
3196
  var CONTENT_NAME = "DialogContent";
3097
- var DialogContent = React33.forwardRef(
3197
+ var DialogContent = React34.forwardRef(
3098
3198
  (props, forwardedRef) => {
3099
3199
  const portalContext = usePortalContext(CONTENT_NAME, props.__scopeDialog);
3100
3200
  const { forceMount = portalContext.forceMount, ...contentProps } = props;
3101
3201
  const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);
3102
- return jsx7(Presence, { present: forceMount || context.open, children: context.modal ? jsx7(DialogContentModal, { ...contentProps, ref: forwardedRef }) : jsx7(DialogContentNonModal, { ...contentProps, ref: forwardedRef }) });
3202
+ return jsx8(Presence, { present: forceMount || context.open, children: context.modal ? jsx8(DialogContentModal, { ...contentProps, ref: forwardedRef }) : jsx8(DialogContentNonModal, { ...contentProps, ref: forwardedRef }) });
3103
3203
  }
3104
3204
  );
3105
3205
  DialogContent.displayName = CONTENT_NAME;
3106
- var DialogContentModal = React33.forwardRef(
3206
+ var DialogContentModal = React34.forwardRef(
3107
3207
  (props, forwardedRef) => {
3108
3208
  const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);
3109
- const contentRef = React33.useRef(null);
3209
+ const contentRef = React34.useRef(null);
3110
3210
  const composedRefs = useComposedRefs(forwardedRef, context.contentRef, contentRef);
3111
- React33.useEffect(() => {
3211
+ React34.useEffect(() => {
3112
3212
  const content = contentRef.current;
3113
3213
  if (content) return hideOthers(content);
3114
3214
  }, []);
3115
- return jsx7(
3215
+ return jsx8(
3116
3216
  DialogContentImpl,
3117
3217
  {
3118
3218
  ...props,
@@ -3137,12 +3237,12 @@ var DialogContentModal = React33.forwardRef(
3137
3237
  );
3138
3238
  }
3139
3239
  );
3140
- var DialogContentNonModal = React33.forwardRef(
3240
+ var DialogContentNonModal = React34.forwardRef(
3141
3241
  (props, forwardedRef) => {
3142
3242
  const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);
3143
- const hasInteractedOutsideRef = React33.useRef(false);
3144
- const hasPointerDownOutsideRef = React33.useRef(false);
3145
- return jsx7(
3243
+ const hasInteractedOutsideRef = React34.useRef(false);
3244
+ const hasPointerDownOutsideRef = React34.useRef(false);
3245
+ return jsx8(
3146
3246
  DialogContentImpl,
3147
3247
  {
3148
3248
  ...props,
@@ -3177,15 +3277,15 @@ var DialogContentNonModal = React33.forwardRef(
3177
3277
  );
3178
3278
  }
3179
3279
  );
3180
- var DialogContentImpl = React33.forwardRef(
3280
+ var DialogContentImpl = React34.forwardRef(
3181
3281
  (props, forwardedRef) => {
3182
3282
  const { __scopeDialog, trapFocus, onOpenAutoFocus, onCloseAutoFocus, ...contentProps } = props;
3183
3283
  const context = useDialogContext(CONTENT_NAME, __scopeDialog);
3184
- const contentRef = React33.useRef(null);
3284
+ const contentRef = React34.useRef(null);
3185
3285
  const composedRefs = useComposedRefs(forwardedRef, contentRef);
3186
3286
  useFocusGuards();
3187
- return jsxs(Fragment6, { children: [
3188
- jsx7(
3287
+ return jsxs(Fragment7, { children: [
3288
+ jsx8(
3189
3289
  FocusScope,
3190
3290
  {
3191
3291
  asChild: true,
@@ -3193,7 +3293,7 @@ var DialogContentImpl = React33.forwardRef(
3193
3293
  trapped: trapFocus,
3194
3294
  onMountAutoFocus: onOpenAutoFocus,
3195
3295
  onUnmountAutoFocus: onCloseAutoFocus,
3196
- children: jsx7(
3296
+ children: jsx8(
3197
3297
  DismissableLayer,
3198
3298
  {
3199
3299
  role: "dialog",
@@ -3208,37 +3308,37 @@ var DialogContentImpl = React33.forwardRef(
3208
3308
  )
3209
3309
  }
3210
3310
  ),
3211
- jsxs(Fragment6, { children: [
3212
- jsx7(TitleWarning, { titleId: context.titleId }),
3213
- jsx7(DescriptionWarning, { contentRef, descriptionId: context.descriptionId })
3311
+ jsxs(Fragment7, { children: [
3312
+ jsx8(TitleWarning, { titleId: context.titleId }),
3313
+ jsx8(DescriptionWarning, { contentRef, descriptionId: context.descriptionId })
3214
3314
  ] })
3215
3315
  ] });
3216
3316
  }
3217
3317
  );
3218
3318
  var TITLE_NAME = "DialogTitle";
3219
- var DialogTitle = React33.forwardRef(
3319
+ var DialogTitle = React34.forwardRef(
3220
3320
  (props, forwardedRef) => {
3221
3321
  const { __scopeDialog, ...titleProps } = props;
3222
3322
  const context = useDialogContext(TITLE_NAME, __scopeDialog);
3223
- return jsx7(Primitive.h2, { id: context.titleId, ...titleProps, ref: forwardedRef });
3323
+ return jsx8(Primitive.h2, { id: context.titleId, ...titleProps, ref: forwardedRef });
3224
3324
  }
3225
3325
  );
3226
3326
  DialogTitle.displayName = TITLE_NAME;
3227
3327
  var DESCRIPTION_NAME = "DialogDescription";
3228
- var DialogDescription = React33.forwardRef(
3328
+ var DialogDescription = React34.forwardRef(
3229
3329
  (props, forwardedRef) => {
3230
3330
  const { __scopeDialog, ...descriptionProps } = props;
3231
3331
  const context = useDialogContext(DESCRIPTION_NAME, __scopeDialog);
3232
- return jsx7(Primitive.p, { id: context.descriptionId, ...descriptionProps, ref: forwardedRef });
3332
+ return jsx8(Primitive.p, { id: context.descriptionId, ...descriptionProps, ref: forwardedRef });
3233
3333
  }
3234
3334
  );
3235
3335
  DialogDescription.displayName = DESCRIPTION_NAME;
3236
3336
  var CLOSE_NAME = "DialogClose";
3237
- var DialogClose = React33.forwardRef(
3337
+ var DialogClose = React34.forwardRef(
3238
3338
  (props, forwardedRef) => {
3239
3339
  const { __scopeDialog, ...closeProps } = props;
3240
3340
  const context = useDialogContext(CLOSE_NAME, __scopeDialog);
3241
- return jsx7(
3341
+ return jsx8(
3242
3342
  Primitive.button,
3243
3343
  {
3244
3344
  type: "button",
@@ -3267,7 +3367,7 @@ var TitleWarning = /* @__PURE__ */ __name(({ titleId }) => {
3267
3367
  If you want to hide the \`${titleWarningContext.titleName}\`, you can wrap it with our VisuallyHidden component.
3268
3368
 
3269
3369
  For more information, see https://radix-ui.com/primitives/docs/components/${titleWarningContext.docsSlug}`;
3270
- React33.useEffect(() => {
3370
+ React34.useEffect(() => {
3271
3371
  if (titleId) {
3272
3372
  const hasTitle = document.getElementById(titleId);
3273
3373
  if (!hasTitle) console.error(MESSAGE);
@@ -3279,7 +3379,7 @@ var DESCRIPTION_WARNING_NAME = "DialogDescriptionWarning";
3279
3379
  var DescriptionWarning = /* @__PURE__ */ __name(({ contentRef, descriptionId }) => {
3280
3380
  const descriptionWarningContext = useWarningContext(DESCRIPTION_WARNING_NAME);
3281
3381
  const MESSAGE = `Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${descriptionWarningContext.contentName}}.`;
3282
- React33.useEffect(() => {
3382
+ React34.useEffect(() => {
3283
3383
  const describedById = contentRef.current?.getAttribute("aria-describedby");
3284
3384
  if (descriptionId && describedById) {
3285
3385
  const hasDescription = document.getElementById(descriptionId);
@@ -3313,17 +3413,135 @@ __export(Modal_styled_exports, {
3313
3413
  Row: () => Row,
3314
3414
  Title: () => Title2
3315
3415
  });
3316
- import React36 from "react";
3416
+ import React38 from "react";
3317
3417
  import { CrossIcon } from "@storybook/icons";
3318
3418
  import { keyframes, styled as styled27 } from "storybook/theming";
3319
3419
 
3320
3420
  // src/components/components/IconButton/IconButton.tsx
3321
- import React35, { forwardRef as forwardRef10 } from "react";
3421
+ import React37, { forwardRef as forwardRef12 } from "react";
3422
+
3423
+ // src/components/components/Button/Button.tsx
3424
+ import React36, { forwardRef as forwardRef11, useEffect as useEffect16, useState as useState12 } from "react";
3425
+
3426
+ // ../node_modules/@radix-ui/react-slot/dist/index.mjs
3427
+ import * as React35 from "react";
3428
+ import { Fragment as Fragment23, jsx as jsx9 } from "react/jsx-runtime";
3429
+ var REACT_LAZY_TYPE = Symbol.for("react.lazy");
3430
+ var use = React35[" use ".trim().toString()];
3431
+ function isPromiseLike(value) {
3432
+ return typeof value === "object" && value !== null && "then" in value;
3433
+ }
3434
+ __name(isPromiseLike, "isPromiseLike");
3435
+ function isLazyComponent(element) {
3436
+ return element != null && typeof element === "object" && "$$typeof" in element && element.$$typeof === REACT_LAZY_TYPE && "_payload" in element && isPromiseLike(element._payload);
3437
+ }
3438
+ __name(isLazyComponent, "isLazyComponent");
3439
+ function createSlot3(ownerName) {
3440
+ const SlotClone = createSlotClone3(ownerName);
3441
+ const Slot22 = React35.forwardRef((props, forwardedRef) => {
3442
+ let { children, ...slotProps } = props;
3443
+ if (isLazyComponent(children) && typeof use === "function") {
3444
+ children = use(children._payload);
3445
+ }
3446
+ const childrenArray = React35.Children.toArray(children);
3447
+ const slottable = childrenArray.find(isSlottable3);
3448
+ if (slottable) {
3449
+ const newElement = slottable.props.children;
3450
+ const newChildren = childrenArray.map((child) => {
3451
+ if (child === slottable) {
3452
+ if (React35.Children.count(newElement) > 1) return React35.Children.only(null);
3453
+ return React35.isValidElement(newElement) ? newElement.props.children : null;
3454
+ } else {
3455
+ return child;
3456
+ }
3457
+ });
3458
+ return jsx9(SlotClone, { ...slotProps, ref: forwardedRef, children: React35.isValidElement(newElement) ? React35.cloneElement(newElement, void 0, newChildren) : null });
3459
+ }
3460
+ return jsx9(SlotClone, { ...slotProps, ref: forwardedRef, children });
3461
+ });
3462
+ Slot22.displayName = `${ownerName}.Slot`;
3463
+ return Slot22;
3464
+ }
3465
+ __name(createSlot3, "createSlot");
3466
+ var Slot4 = createSlot3("Slot");
3467
+ function createSlotClone3(ownerName) {
3468
+ const SlotClone = React35.forwardRef((props, forwardedRef) => {
3469
+ let { children, ...slotProps } = props;
3470
+ if (isLazyComponent(children) && typeof use === "function") {
3471
+ children = use(children._payload);
3472
+ }
3473
+ if (React35.isValidElement(children)) {
3474
+ const childrenRef = getElementRef4(children);
3475
+ const props2 = mergeProps3(slotProps, children.props);
3476
+ if (children.type !== React35.Fragment) {
3477
+ props2.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;
3478
+ }
3479
+ return React35.cloneElement(children, props2);
3480
+ }
3481
+ return React35.Children.count(children) > 1 ? React35.Children.only(null) : null;
3482
+ });
3483
+ SlotClone.displayName = `${ownerName}.SlotClone`;
3484
+ return SlotClone;
3485
+ }
3486
+ __name(createSlotClone3, "createSlotClone");
3487
+ var SLOTTABLE_IDENTIFIER3 = Symbol("radix.slottable");
3488
+ function createSlottable3(ownerName) {
3489
+ const Slottable22 = /* @__PURE__ */ __name(({ children }) => {
3490
+ return jsx9(Fragment23, { children });
3491
+ }, "Slottable2");
3492
+ Slottable22.displayName = `${ownerName}.Slottable`;
3493
+ Slottable22.__radixId = SLOTTABLE_IDENTIFIER3;
3494
+ return Slottable22;
3495
+ }
3496
+ __name(createSlottable3, "createSlottable");
3497
+ var Slottable3 = createSlottable3("Slottable");
3498
+ function isSlottable3(child) {
3499
+ return React35.isValidElement(child) && typeof child.type === "function" && "__radixId" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER3;
3500
+ }
3501
+ __name(isSlottable3, "isSlottable");
3502
+ function mergeProps3(slotProps, childProps) {
3503
+ const overrideProps = { ...childProps };
3504
+ for (const propName in childProps) {
3505
+ const slotPropValue = slotProps[propName];
3506
+ const childPropValue = childProps[propName];
3507
+ const isHandler = /^on[A-Z]/.test(propName);
3508
+ if (isHandler) {
3509
+ if (slotPropValue && childPropValue) {
3510
+ overrideProps[propName] = (...args) => {
3511
+ const result = childPropValue(...args);
3512
+ slotPropValue(...args);
3513
+ return result;
3514
+ };
3515
+ } else if (slotPropValue) {
3516
+ overrideProps[propName] = slotPropValue;
3517
+ }
3518
+ } else if (propName === "style") {
3519
+ overrideProps[propName] = { ...slotPropValue, ...childPropValue };
3520
+ } else if (propName === "className") {
3521
+ overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(" ");
3522
+ }
3523
+ }
3524
+ return { ...slotProps, ...overrideProps };
3525
+ }
3526
+ __name(mergeProps3, "mergeProps");
3527
+ function getElementRef4(element) {
3528
+ let getter = Object.getOwnPropertyDescriptor(element.props, "ref")?.get;
3529
+ let mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
3530
+ if (mayWarn) {
3531
+ return element.ref;
3532
+ }
3533
+ getter = Object.getOwnPropertyDescriptor(element, "ref")?.get;
3534
+ mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
3535
+ if (mayWarn) {
3536
+ return element.props.ref;
3537
+ }
3538
+ return element.props.ref || element.ref;
3539
+ }
3540
+ __name(getElementRef4, "getElementRef");
3322
3541
 
3323
3542
  // src/components/components/Button/Button.tsx
3324
- import React34, { forwardRef as forwardRef9, useEffect as useEffect16, useState as useState12 } from "react";
3325
3543
  import { isPropValid, styled as styled26 } from "storybook/theming";
3326
- var Button = forwardRef9(
3544
+ var Button = forwardRef11(
3327
3545
  ({
3328
3546
  asChild = false,
3329
3547
  animation = "none",
@@ -3337,7 +3555,7 @@ var Button = forwardRef9(
3337
3555
  }, ref) => {
3338
3556
  let Comp2 = "button";
3339
3557
  if (asChild) {
3340
- Comp2 = Slot;
3558
+ Comp2 = Slot4;
3341
3559
  }
3342
3560
  const [isAnimating, setIsAnimating] = useState12(false);
3343
3561
  const handleClick = /* @__PURE__ */ __name((event) => {
@@ -3357,7 +3575,7 @@ var Button = forwardRef9(
3357
3575
  }, 1e3);
3358
3576
  return () => clearTimeout(timer);
3359
3577
  }, [isAnimating]);
3360
- return React34.createElement(
3578
+ return React36.createElement(
3361
3579
  StyledButton,
3362
3580
  {
3363
3581
  as: Comp2,
@@ -3522,9 +3740,9 @@ var StyledButton = styled26("button", {
3522
3740
  }));
3523
3741
 
3524
3742
  // src/components/components/IconButton/IconButton.tsx
3525
- var IconButton = forwardRef10(
3743
+ var IconButton = forwardRef12(
3526
3744
  ({ padding = "small", variant = "ghost", ...props }, ref) => {
3527
- return React35.createElement(Button, { padding, variant, ref, ...props });
3745
+ return React37.createElement(Button, { padding, variant, ref, ...props });
3528
3746
  }
3529
3747
  );
3530
3748
  IconButton.displayName = "IconButton";
@@ -3578,7 +3796,7 @@ var Container = styled27.div(
3578
3796
  }
3579
3797
  })
3580
3798
  );
3581
- var CloseButton = /* @__PURE__ */ __name((props) => React36.createElement(Close, { asChild: true }, React36.createElement(IconButton, { "aria-label": "Close", ...props }, React36.createElement(CrossIcon, null))), "CloseButton");
3799
+ var CloseButton = /* @__PURE__ */ __name((props) => React38.createElement(Close, { asChild: true }, React38.createElement(IconButton, { "aria-label": "Close", ...props }, React38.createElement(CrossIcon, null))), "CloseButton");
3582
3800
  var Content2 = styled27.div({
3583
3801
  display: "flex",
3584
3802
  flexDirection: "column",
@@ -3595,7 +3813,7 @@ var Col = styled27.div({
3595
3813
  flexDirection: "column",
3596
3814
  gap: 4
3597
3815
  });
3598
- var Header = /* @__PURE__ */ __name((props) => React36.createElement(Row, null, React36.createElement(Col, { ...props }), React36.createElement(CloseButton, null)), "Header");
3816
+ var Header = /* @__PURE__ */ __name((props) => React38.createElement(Row, null, React38.createElement(Col, { ...props }), React38.createElement(CloseButton, null)), "Header");
3599
3817
  var Title2 = styled27(Title)(({ theme }) => ({
3600
3818
  margin: 0,
3601
3819
  fontSize: theme.typography.size.s3,
@@ -3627,7 +3845,7 @@ var ErrorWrapper = styled27.div(({ theme }) => ({
3627
3845
  var Error2 = /* @__PURE__ */ __name(({
3628
3846
  children,
3629
3847
  ...props
3630
- }) => React36.createElement(ErrorWrapper, { ...props }, React36.createElement("div", null, children)), "Error");
3848
+ }) => React38.createElement(ErrorWrapper, { ...props }, React38.createElement("div", null, children)), "Error");
3631
3849
 
3632
3850
  // src/components/components/Modal/Modal.tsx
3633
3851
  function BaseModal({
@@ -3642,21 +3860,21 @@ function BaseModal({
3642
3860
  ...rootProps
3643
3861
  }) {
3644
3862
  const containerElement = container ?? (portalSelector ? document.querySelector(portalSelector) : null) ?? document.body;
3645
- return React37.createElement(Root, { ...rootProps }, React37.createElement(Portal2, { container: containerElement }, React37.createElement(Overlay, { asChild: true }, React37.createElement(Overlay2, null)), React37.createElement(
3863
+ return React39.createElement(Root, { ...rootProps }, React39.createElement(Portal2, { container: containerElement }, React39.createElement(Overlay, { asChild: true }, React39.createElement(Overlay2, null)), React39.createElement(
3646
3864
  Content,
3647
3865
  {
3648
3866
  asChild: true,
3649
3867
  onInteractOutside,
3650
3868
  onEscapeKeyDown
3651
3869
  },
3652
- React37.createElement(Container, { className, width, height }, children)
3870
+ React39.createElement(Container, { className, width, height }, children)
3653
3871
  )));
3654
3872
  }
3655
3873
  __name(BaseModal, "BaseModal");
3656
3874
  var Modal = Object.assign(BaseModal, Modal_styled_exports, { Dialog: dist_exports });
3657
3875
 
3658
3876
  // src/components/components/spaced/Spaced.tsx
3659
- import React38 from "react";
3877
+ import React40 from "react";
3660
3878
  import { ignoreSsrWarning, styled as styled28 } from "storybook/theming";
3661
3879
  var toNumber = /* @__PURE__ */ __name((input) => typeof input === "number" ? input : Number(input), "toNumber");
3662
3880
  var Container2 = styled28.div(
@@ -3700,11 +3918,11 @@ var Container2 = styled28.div(
3700
3918
  );
3701
3919
  var Spaced = /* @__PURE__ */ __name(({ col, row, outer, children, ...rest }) => {
3702
3920
  const outerAmount = toNumber(typeof outer === "number" || !outer ? outer : col || row);
3703
- return React38.createElement(Container2, { col, row, outer: outerAmount, ...rest }, children);
3921
+ return React40.createElement(Container2, { col, row, outer: outerAmount, ...rest }, children);
3704
3922
  }, "Spaced");
3705
3923
 
3706
3924
  // src/components/components/placeholder/placeholder.tsx
3707
- import React39, { Children as Children6 } from "react";
3925
+ import React41, { Children as Children8 } from "react";
3708
3926
  import { styled as styled29 } from "storybook/theming";
3709
3927
  var Title3 = styled29.div(({ theme }) => ({
3710
3928
  fontWeight: theme.typography.weight.bold
@@ -3717,12 +3935,12 @@ var Message = styled29.div(({ theme }) => ({
3717
3935
  fontSize: theme.typography.size.s2 - 1
3718
3936
  }));
3719
3937
  var Placeholder = /* @__PURE__ */ __name(({ children, ...props }) => {
3720
- const [title, desc] = Children6.toArray(children);
3721
- return React39.createElement(Message, { ...props }, React39.createElement(Title3, null, title), desc && React39.createElement(Desc, null, desc));
3938
+ const [title, desc] = Children8.toArray(children);
3939
+ return React41.createElement(Message, { ...props }, React41.createElement(Title3, null, title), desc && React41.createElement(Desc, null, desc));
3722
3940
  }, "Placeholder");
3723
3941
 
3724
3942
  // src/components/components/Zoom/ZoomElement.tsx
3725
- import React40, { useCallback as useCallback9, useEffect as useEffect18, useRef as useRef13, useState as useState14 } from "react";
3943
+ import React42, { useCallback as useCallback9, useEffect as useEffect18, useRef as useRef13, useState as useState14 } from "react";
3726
3944
  import { styled as styled30 } from "storybook/theming";
3727
3945
 
3728
3946
  // ../node_modules/use-resize-observer/dist/bundle.esm.js
@@ -3883,12 +4101,12 @@ function ZoomElement({ centered, scale, children }) {
3883
4101
  ref: componentWrapperRef,
3884
4102
  onResize
3885
4103
  });
3886
- return React40.createElement(ZoomElementWrapper, { centered, scale, elementHeight }, React40.createElement("div", { ref: componentWrapperRef, className: "innerZoomElementWrapper" }, children));
4104
+ return React42.createElement(ZoomElementWrapper, { centered, scale, elementHeight }, React42.createElement("div", { ref: componentWrapperRef, className: "innerZoomElementWrapper" }, children));
3887
4105
  }
3888
4106
  __name(ZoomElement, "ZoomElement");
3889
4107
 
3890
4108
  // src/components/components/Zoom/ZoomIFrame.tsx
3891
- import React41, { Component } from "react";
4109
+ import React43, { Component } from "react";
3892
4110
  var _ZoomIFrame = class _ZoomIFrame extends Component {
3893
4111
  constructor() {
3894
4112
  super(...arguments);
@@ -3931,7 +4149,7 @@ var _ZoomIFrame = class _ZoomIFrame extends Component {
3931
4149
  }
3932
4150
  render() {
3933
4151
  const { children } = this.props;
3934
- return React41.createElement(React41.Fragment, null, children);
4152
+ return React43.createElement(React43.Fragment, null, children);
3935
4153
  }
3936
4154
  };
3937
4155
  __name(_ZoomIFrame, "ZoomIFrame");
@@ -3944,7 +4162,7 @@ var Zoom = {
3944
4162
  };
3945
4163
 
3946
4164
  // src/components/components/ErrorFormatter/ErrorFormatter.tsx
3947
- import React42, { Fragment as Fragment7 } from "react";
4165
+ import React44, { Fragment as Fragment9 } from "react";
3948
4166
  import { global } from "@storybook/global";
3949
4167
  import { styled as styled31 } from "storybook/theming";
3950
4168
  var { document: document2 } = global;
@@ -3964,10 +4182,10 @@ var linesRegexFirefox = /([^@]+)?(?:\/<)?@(.+)?/;
3964
4182
  var linesRegexSafari = /([^@]+)?@(.+)?/;
3965
4183
  var ErrorFormatter = /* @__PURE__ */ __name(({ error }) => {
3966
4184
  if (!error) {
3967
- return React42.createElement(Fragment7, null, "This error has no stack or message");
4185
+ return React44.createElement(Fragment9, null, "This error has no stack or message");
3968
4186
  }
3969
4187
  if (!error.stack) {
3970
- return React42.createElement(Fragment7, null, error.message || "This error has no stack or message");
4188
+ return React44.createElement(Fragment9, null, error.message || "This error has no stack or message");
3971
4189
  }
3972
4190
  let input = error.stack.toString();
3973
4191
  if (input && error.message && !input.includes(error.message)) {
@@ -3977,7 +4195,7 @@ ${input}`;
3977
4195
  }
3978
4196
  const match = input.match(firstLineRegex);
3979
4197
  if (!match) {
3980
- return React42.createElement(Fragment7, null, input);
4198
+ return React44.createElement(Fragment9, null, input);
3981
4199
  }
3982
4200
  const [, type, name] = match;
3983
4201
  const rawLines = input.split(/\n/).slice(1);
@@ -3991,8 +4209,8 @@ ${input}`;
3991
4209
  }
3992
4210
  return null;
3993
4211
  }).filter(Boolean);
3994
- return React42.createElement(Fragment7, null, React42.createElement("span", null, type), ": ", React42.createElement(ErrorName, null, name), React42.createElement("br", null), lines.map(
3995
- (l, i) => l?.name ? React42.createElement(Fragment7, { key: i }, " ", "at ", React42.createElement(ErrorImportant, null, l.name), " (", React42.createElement(ErrorDetail, null, l.location), ")", React42.createElement("br", null)) : React42.createElement(Fragment7, { key: i }, " ", "at ", React42.createElement(ErrorDetail, null, l?.location), React42.createElement("br", null))
4212
+ return React44.createElement(Fragment9, null, React44.createElement("span", null, type), ": ", React44.createElement(ErrorName, null, name), React44.createElement("br", null), lines.map(
4213
+ (l, i) => l?.name ? React44.createElement(Fragment9, { key: i }, " ", "at ", React44.createElement(ErrorImportant, null, l.name), " (", React44.createElement(ErrorDetail, null, l.location), ")", React44.createElement("br", null)) : React44.createElement(Fragment9, { key: i }, " ", "at ", React44.createElement(ErrorDetail, null, l?.location), React44.createElement("br", null))
3996
4214
  ));
3997
4215
  }, "ErrorFormatter");
3998
4216
 
@@ -4000,7 +4218,7 @@ ${input}`;
4000
4218
  import { styled as styled38 } from "storybook/theming";
4001
4219
 
4002
4220
  // src/components/components/Form/Checkbox.tsx
4003
- import React43 from "react";
4221
+ import React45 from "react";
4004
4222
  import { color, styled as styled32 } from "storybook/theming";
4005
4223
  var Input = styled32.input({
4006
4224
  appearance: "none",
@@ -4044,11 +4262,11 @@ var Input = styled32.input({
4044
4262
  }
4045
4263
  });
4046
4264
  var Checkbox = /* @__PURE__ */ __name((props) => {
4047
- return React43.createElement(Input, { ...props, type: "checkbox" });
4265
+ return React45.createElement(Input, { ...props, type: "checkbox" });
4048
4266
  }, "Checkbox");
4049
4267
 
4050
4268
  // src/components/components/Form/Field.tsx
4051
- import React44 from "react";
4269
+ import React46 from "react";
4052
4270
  import { styled as styled33 } from "storybook/theming";
4053
4271
  var Wrapper = styled33.label(({ theme }) => ({
4054
4272
  display: "flex",
@@ -4068,11 +4286,11 @@ var Label = styled33.span(({ theme }) => ({
4068
4286
  alignItems: "center",
4069
4287
  lineHeight: "16px"
4070
4288
  }));
4071
- var Field = /* @__PURE__ */ __name(({ label, children, ...props }) => React44.createElement(Wrapper, { ...props }, label ? React44.createElement(Label, null, React44.createElement("span", null, label)) : null, children), "Field");
4289
+ var Field = /* @__PURE__ */ __name(({ label, children, ...props }) => React46.createElement(Wrapper, { ...props }, label ? React46.createElement(Label, null, React46.createElement("span", null, label)) : null, children), "Field");
4072
4290
 
4073
4291
  // src/components/components/Form/Input.tsx
4074
- import React45 from "react";
4075
- import { forwardRef as forwardRef11 } from "react";
4292
+ import React47 from "react";
4293
+ import { forwardRef as forwardRef13 } from "react";
4076
4294
  import { styled as styled34 } from "storybook/theming";
4077
4295
 
4078
4296
  // src/components/components/Form/styles.ts
@@ -4178,8 +4396,8 @@ var styles = /* @__PURE__ */ __name(({ theme }) => ({
4178
4396
  // src/components/components/Form/Input.tsx
4179
4397
  var Input2 = Object.assign(
4180
4398
  styled34(
4181
- forwardRef11(/* @__PURE__ */ __name(function Input3({ size, valid, align, ...props }, ref) {
4182
- return React45.createElement("input", { ...props, ref });
4399
+ forwardRef13(/* @__PURE__ */ __name(function Input3({ size, valid, align, ...props }, ref) {
4400
+ return React47.createElement("input", { ...props, ref });
4183
4401
  }, "Input"))
4184
4402
  )(styles, sizes, alignment, validation, {
4185
4403
  minHeight: 32
@@ -4190,7 +4408,7 @@ var Input2 = Object.assign(
4190
4408
  );
4191
4409
 
4192
4410
  // src/components/components/Form/Radio.tsx
4193
- import React46 from "react";
4411
+ import React48 from "react";
4194
4412
  import { color as color2, styled as styled35 } from "storybook/theming";
4195
4413
  var Input4 = styled35.input({
4196
4414
  appearance: "none",
@@ -4223,11 +4441,11 @@ var Input4 = styled35.input({
4223
4441
  }
4224
4442
  });
4225
4443
  var Radio = /* @__PURE__ */ __name((props) => {
4226
- return React46.createElement(Input4, { ...props, type: "radio" });
4444
+ return React48.createElement(Input4, { ...props, type: "radio" });
4227
4445
  }, "Radio");
4228
4446
 
4229
4447
  // src/components/components/Form/Select.tsx
4230
- import React47 from "react";
4448
+ import React49 from "react";
4231
4449
  import { lighten, styled as styled36 } from "storybook/theming";
4232
4450
  var BaseSelect = styled36.select(sizes, ({ theme }) => ({
4233
4451
  appearance: "none",
@@ -4323,7 +4541,7 @@ var BaseSelect = styled36.select(sizes, ({ theme }) => ({
4323
4541
  var Select = /* @__PURE__ */ __name(({ children, ...props }) => {
4324
4542
  return (
4325
4543
  // @ts-expect-error Weird props mismatch
4326
- React47.createElement(BaseSelect, { ...props }, !isTestEnvironment() && React47.createElement("button", null, React47.createElement("selectedcontent", null), React47.createElement(
4544
+ React49.createElement(BaseSelect, { ...props }, !isTestEnvironment() && React49.createElement("button", null, React49.createElement("selectedcontent", null), React49.createElement(
4327
4545
  "svg",
4328
4546
  {
4329
4547
  xmlns: "http://www.w3.org/2000/svg",
@@ -4335,19 +4553,19 @@ var Select = /* @__PURE__ */ __name(({ children, ...props }) => {
4335
4553
  strokeLinejoin: "round",
4336
4554
  "aria-hidden": "true"
4337
4555
  },
4338
- React47.createElement("path", { d: "m6 9 6 6 6-6" })
4339
- )), React47.createElement("optgroup", null, children))
4556
+ React49.createElement("path", { d: "m6 9 6 6 6-6" })
4557
+ )), React49.createElement("optgroup", null, children))
4340
4558
  );
4341
4559
  }, "Select");
4342
4560
 
4343
4561
  // src/components/components/Form/Textarea.tsx
4344
- import React51, { forwardRef as forwardRef13 } from "react";
4562
+ import React53, { forwardRef as forwardRef15 } from "react";
4345
4563
 
4346
4564
  // ../node_modules/react-textarea-autosize/dist/react-textarea-autosize.browser.esm.js
4347
- import * as React50 from "react";
4565
+ import * as React52 from "react";
4348
4566
 
4349
4567
  // ../node_modules/use-latest/dist/use-latest.esm.js
4350
- import React48 from "react";
4568
+ import React50 from "react";
4351
4569
 
4352
4570
  // ../node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.browser.esm.js
4353
4571
  import { useLayoutEffect as useLayoutEffect5 } from "react";
@@ -4355,7 +4573,7 @@ var index = useLayoutEffect5;
4355
4573
 
4356
4574
  // ../node_modules/use-latest/dist/use-latest.esm.js
4357
4575
  var useLatest = /* @__PURE__ */ __name(function useLatest2(value) {
4358
- var ref = React48.useRef(value);
4576
+ var ref = React50.useRef(value);
4359
4577
  index(function() {
4360
4578
  ref.current = value;
4361
4579
  });
@@ -4363,7 +4581,7 @@ var useLatest = /* @__PURE__ */ __name(function useLatest2(value) {
4363
4581
  }, "useLatest");
4364
4582
 
4365
4583
  // ../node_modules/use-composed-ref/dist/use-composed-ref.esm.js
4366
- import React49 from "react";
4584
+ import React51 from "react";
4367
4585
  var updateRef = /* @__PURE__ */ __name(function updateRef2(ref, value) {
4368
4586
  if (typeof ref === "function") {
4369
4587
  ref(value);
@@ -4372,8 +4590,8 @@ var updateRef = /* @__PURE__ */ __name(function updateRef2(ref, value) {
4372
4590
  ref.current = value;
4373
4591
  }, "updateRef");
4374
4592
  var useComposedRef = /* @__PURE__ */ __name(function useComposedRef2(libRef, userRef) {
4375
- var prevUserRef = React49.useRef();
4376
- return React49.useCallback(function(instance) {
4593
+ var prevUserRef = React51.useRef();
4594
+ return React51.useCallback(function(instance) {
4377
4595
  libRef.current = instance;
4378
4596
  if (prevUserRef.current) {
4379
4597
  updateRef(prevUserRef.current, null);
@@ -4515,7 +4733,7 @@ var getSizingData = /* @__PURE__ */ __name(function getSizingData2(node) {
4515
4733
  var getSizingData$1 = getSizingData;
4516
4734
  function useListener(target, type, listener) {
4517
4735
  var latestListener = useLatest(listener);
4518
- React50.useLayoutEffect(function() {
4736
+ React52.useLayoutEffect(function() {
4519
4737
  var handler = /* @__PURE__ */ __name(function handler2(ev) {
4520
4738
  return latestListener.current(ev);
4521
4739
  }, "handler");
@@ -4546,10 +4764,10 @@ var _excluded = ["cacheMeasurements", "maxRows", "minRows", "onChange", "onHeigh
4546
4764
  var TextareaAutosize = /* @__PURE__ */ __name(function TextareaAutosize2(_ref, userRef) {
4547
4765
  var cacheMeasurements = _ref.cacheMeasurements, maxRows = _ref.maxRows, minRows = _ref.minRows, _ref$onChange = _ref.onChange, onChange = _ref$onChange === void 0 ? noop : _ref$onChange, _ref$onHeightChange = _ref.onHeightChange, onHeightChange = _ref$onHeightChange === void 0 ? noop : _ref$onHeightChange, props = _objectWithoutPropertiesLoose(_ref, _excluded);
4548
4766
  var isControlled = props.value !== void 0;
4549
- var libRef = React50.useRef(null);
4767
+ var libRef = React52.useRef(null);
4550
4768
  var ref = useComposedRef(libRef, userRef);
4551
- var heightRef = React50.useRef(0);
4552
- var measurementsCacheRef = React50.useRef();
4769
+ var heightRef = React52.useRef(0);
4770
+ var measurementsCacheRef = React52.useRef();
4553
4771
  var resizeTextarea = /* @__PURE__ */ __name(function resizeTextarea2() {
4554
4772
  var node = libRef.current;
4555
4773
  var nodeSizingData = cacheMeasurements && measurementsCacheRef.current ? measurementsCacheRef.current : getSizingData$1(node);
@@ -4573,7 +4791,7 @@ var TextareaAutosize = /* @__PURE__ */ __name(function TextareaAutosize2(_ref, u
4573
4791
  onChange(event);
4574
4792
  }, "handleChange");
4575
4793
  {
4576
- React50.useLayoutEffect(resizeTextarea);
4794
+ React52.useLayoutEffect(resizeTextarea);
4577
4795
  useFormResetListener(libRef, function() {
4578
4796
  if (!isControlled) {
4579
4797
  var currentValue = libRef.current.value;
@@ -4587,20 +4805,20 @@ var TextareaAutosize = /* @__PURE__ */ __name(function TextareaAutosize2(_ref, u
4587
4805
  });
4588
4806
  useWindowResizeListener(resizeTextarea);
4589
4807
  useFontsLoadedListener(resizeTextarea);
4590
- return React50.createElement("textarea", _extends({}, props, {
4808
+ return React52.createElement("textarea", _extends({}, props, {
4591
4809
  onChange: handleChange,
4592
4810
  ref
4593
4811
  }));
4594
4812
  }
4595
4813
  }, "TextareaAutosize");
4596
- var index2 = React50.forwardRef(TextareaAutosize);
4814
+ var index2 = React52.forwardRef(TextareaAutosize);
4597
4815
 
4598
4816
  // src/components/components/Form/Textarea.tsx
4599
4817
  import { styled as styled37 } from "storybook/theming";
4600
4818
  var Textarea = Object.assign(
4601
4819
  styled37(
4602
- forwardRef13(/* @__PURE__ */ __name(function Textarea2({ size, valid, align, ...props }, ref) {
4603
- return React51.createElement(index2, { ...props, ref });
4820
+ forwardRef15(/* @__PURE__ */ __name(function Textarea2({ size, valid, align, ...props }, ref) {
4821
+ return React53.createElement(index2, { ...props, ref });
4604
4822
  }, "Textarea"))
4605
4823
  )(styles, sizes, alignment, validation, ({ height = 400 }) => ({
4606
4824
  overflow: "visible",
@@ -4629,18 +4847,18 @@ var Form = Object.assign(
4629
4847
  );
4630
4848
 
4631
4849
  // src/components/components/tooltip/lazy-WithTooltip.tsx
4632
- import React52, { Suspense as Suspense2, lazy as lazy2 } from "react";
4850
+ import React54, { Suspense as Suspense2, lazy as lazy2 } from "react";
4633
4851
  var LazyWithTooltip = lazy2(
4634
4852
  () => import("../_browser-chunks/WithTooltip-SK46ZJ2J.js").then((mod) => ({ default: mod.WithTooltip }))
4635
4853
  );
4636
- var WithTooltip = /* @__PURE__ */ __name((props) => React52.createElement(Suspense2, { fallback: React52.createElement("div", null) }, React52.createElement(LazyWithTooltip, { ...props })), "WithTooltip");
4854
+ var WithTooltip = /* @__PURE__ */ __name((props) => React54.createElement(Suspense2, { fallback: React54.createElement("div", null) }, React54.createElement(LazyWithTooltip, { ...props })), "WithTooltip");
4637
4855
  var LazyWithTooltipPure = lazy2(
4638
4856
  () => import("../_browser-chunks/WithTooltip-SK46ZJ2J.js").then((mod) => ({ default: mod.WithTooltipPure }))
4639
4857
  );
4640
- var WithTooltipPure = /* @__PURE__ */ __name((props) => React52.createElement(Suspense2, { fallback: React52.createElement("div", null) }, React52.createElement(LazyWithTooltipPure, { ...props })), "WithTooltipPure");
4858
+ var WithTooltipPure = /* @__PURE__ */ __name((props) => React54.createElement(Suspense2, { fallback: React54.createElement("div", null) }, React54.createElement(LazyWithTooltipPure, { ...props })), "WithTooltipPure");
4641
4859
 
4642
4860
  // src/components/components/tooltip/TooltipMessage.tsx
4643
- import React53 from "react";
4861
+ import React55 from "react";
4644
4862
  import { styled as styled39 } from "storybook/theming";
4645
4863
  var Title4 = styled39.div(({ theme }) => ({
4646
4864
  fontWeight: theme.typography.weight.bold
@@ -4664,11 +4882,11 @@ var MessageWrapper = styled39.div({
4664
4882
  boxSizing: "border-box"
4665
4883
  });
4666
4884
  var TooltipMessage = /* @__PURE__ */ __name(({ title, desc, links }) => {
4667
- return React53.createElement(MessageWrapper, null, React53.createElement(Message2, null, title && React53.createElement(Title4, null, title), desc && React53.createElement(Desc2, null, desc)), links && React53.createElement(Links, null, links.map(({ title: linkTitle, ...other }) => React53.createElement(Link2, { ...other, key: linkTitle }, linkTitle))));
4885
+ return React55.createElement(MessageWrapper, null, React55.createElement(Message2, null, title && React55.createElement(Title4, null, title), desc && React55.createElement(Desc2, null, desc)), links && React55.createElement(Links, null, links.map(({ title: linkTitle, ...other }) => React55.createElement(Link2, { ...other, key: linkTitle }, linkTitle))));
4668
4886
  }, "TooltipMessage");
4669
4887
 
4670
4888
  // src/components/components/tooltip/TooltipNote.tsx
4671
- import React54 from "react";
4889
+ import React56 from "react";
4672
4890
  import { styled as styled40 } from "storybook/theming";
4673
4891
  var Note = styled40.div(({ theme }) => ({
4674
4892
  padding: "2px 6px",
@@ -4685,18 +4903,18 @@ var Note = styled40.div(({ theme }) => ({
4685
4903
  margin: 6
4686
4904
  }));
4687
4905
  var TooltipNote = /* @__PURE__ */ __name(({ note, ...props }) => {
4688
- return React54.createElement(Note, { ...props }, note);
4906
+ return React56.createElement(Note, { ...props }, note);
4689
4907
  }, "TooltipNote");
4690
4908
 
4691
4909
  // src/components/components/tooltip/TooltipLinkList.tsx
4692
- import React56, { Fragment as Fragment8, useCallback as useCallback10 } from "react";
4910
+ import React58, { Fragment as Fragment10, useCallback as useCallback10 } from "react";
4693
4911
  import { styled as styled42 } from "storybook/theming";
4694
4912
 
4695
4913
  // src/components/components/tooltip/ListItem.tsx
4696
4914
  var import_memoizerific = __toESM(require_memoizerific(), 1);
4697
- import React55 from "react";
4915
+ import React57 from "react";
4698
4916
  import { styled as styled41 } from "storybook/theming";
4699
- var Title5 = styled41(({ active, loading, disabled, ...rest }) => React55.createElement("span", { ...rest }))(
4917
+ var Title5 = styled41(({ active, loading, disabled, ...rest }) => React57.createElement("span", { ...rest }))(
4700
4918
  ({ theme }) => ({
4701
4919
  color: theme.color.defaultText,
4702
4920
  // Previously was theme.typography.weight.normal but this weight does not exists in Theme
@@ -4816,7 +5034,7 @@ var getItemProps = (0, import_memoizerific.default)(100)(({ onClick, input, href
4816
5034
  var ListItem = /* @__PURE__ */ __name((props) => {
4817
5035
  const {
4818
5036
  loading = false,
4819
- title = React55.createElement("span", null, "Loading state"),
5037
+ title = React57.createElement("span", null, "Loading state"),
4820
5038
  center = null,
4821
5039
  right = null,
4822
5040
  active = false,
@@ -4832,7 +5050,7 @@ var ListItem = /* @__PURE__ */ __name((props) => {
4832
5050
  const commonProps = { active, disabled };
4833
5051
  const itemProps = getItemProps(props);
4834
5052
  const left = icon || input;
4835
- return React55.createElement(Item, { ...rest, ...commonProps, ...itemProps }, React55.createElement(React55.Fragment, null, left && React55.createElement(Left, { ...commonProps }, left), title || center ? React55.createElement(Center, { isIndented: isIndented && !left }, title && React55.createElement(Title5, { ...commonProps, loading }, title), center && React55.createElement(CenterText, { ...commonProps }, center)) : null, right && React55.createElement(Right, { ...commonProps }, right)));
5053
+ return React57.createElement(Item, { ...rest, ...commonProps, ...itemProps }, React57.createElement(React57.Fragment, null, left && React57.createElement(Left, { ...commonProps }, left), title || center ? React57.createElement(Center, { isIndented: isIndented && !left }, title && React57.createElement(Title5, { ...commonProps, loading }, title), center && React57.createElement(CenterText, { ...commonProps }, center)) : null, right && React57.createElement(Right, { ...commonProps }, right)));
4836
5054
  }, "ListItem");
4837
5055
  var ListItem_default = ListItem;
4838
5056
 
@@ -4862,30 +5080,30 @@ var Item2 = /* @__PURE__ */ __name(({ id, onClick, ...rest }) => {
4862
5080
  (event) => onClick?.(event, { id, active, disabled, title, href }),
4863
5081
  [onClick, id, active, disabled, title, href]
4864
5082
  );
4865
- return React56.createElement(ListItem_default, { id: `list-item-${id}`, ...rest, ...onClick && { onClick: handleClick } });
5083
+ return React58.createElement(ListItem_default, { id: `list-item-${id}`, ...rest, ...onClick && { onClick: handleClick } });
4866
5084
  }, "Item");
4867
5085
  var TooltipLinkList = /* @__PURE__ */ __name(({ links, LinkWrapper, ...props }) => {
4868
5086
  const groups = Array.isArray(links[0]) ? links : [links];
4869
5087
  const isIndented = groups.some(
4870
5088
  (group) => group.some((link) => "icon" in link && link.icon || "input" in link && link.input)
4871
5089
  );
4872
- return React56.createElement(List, { ...props }, groups.filter((group) => group.length).map((group, index3) => {
4873
- return React56.createElement(Group, { key: group.map((link) => link.id).join(`~${index3}~`) }, group.map((link) => {
5090
+ return React58.createElement(List, { ...props }, groups.filter((group) => group.length).map((group, index3) => {
5091
+ return React58.createElement(Group, { key: group.map((link) => link.id).join(`~${index3}~`) }, group.map((link) => {
4874
5092
  if ("content" in link) {
4875
- return React56.createElement(Fragment8, { key: link.id }, link.content);
5093
+ return React58.createElement(Fragment10, { key: link.id }, link.content);
4876
5094
  }
4877
- return React56.createElement(Item2, { key: link.id, isIndented, LinkWrapper, ...link });
5095
+ return React58.createElement(Item2, { key: link.id, isIndented, LinkWrapper, ...link });
4878
5096
  }));
4879
5097
  }));
4880
5098
  }, "TooltipLinkList");
4881
5099
 
4882
5100
  // src/components/components/tabs/tabs.tsx
4883
- import React62, { Component as Component2, memo as memo2, useMemo as useMemo7 } from "react";
5101
+ import React64, { Component as Component2, memo as memo2, useMemo as useMemo7 } from "react";
4884
5102
  import { sanitize as sanitize2 } from "storybook/internal/csf";
4885
5103
  import { styled as styled48 } from "storybook/theming";
4886
5104
 
4887
5105
  // src/components/components/bar/bar.tsx
4888
- import React57, { Children as Children7 } from "react";
5106
+ import React59, { Children as Children9 } from "react";
4889
5107
  import { styled as styled43 } from "storybook/theming";
4890
5108
  var Side = styled43.div(
4891
5109
  {
@@ -4906,7 +5124,7 @@ var Side = styled43.div(
4906
5124
  } : {}
4907
5125
  );
4908
5126
  Side.displayName = "Side";
4909
- var UnstyledBar = /* @__PURE__ */ __name(({ children, className, scrollable }) => scrollable ? React57.createElement(ScrollArea, { vertical: false, className }, children) : React57.createElement("div", { className }, children), "UnstyledBar");
5127
+ var UnstyledBar = /* @__PURE__ */ __name(({ children, className, scrollable }) => scrollable ? React59.createElement(ScrollArea, { vertical: false, className }, children) : React59.createElement("div", { className }, children), "UnstyledBar");
4910
5128
  var Bar = styled43(UnstyledBar)(
4911
5129
  ({ backgroundColor, theme, scrollable = true }) => ({
4912
5130
  color: theme.barTextColor,
@@ -4934,13 +5152,13 @@ var BarInner = styled43.div(({ bgColor }) => ({
4934
5152
  backgroundColor: bgColor || ""
4935
5153
  }));
4936
5154
  var FlexBar = /* @__PURE__ */ __name(({ children, backgroundColor, className, ...rest }) => {
4937
- const [left, right] = Children7.toArray(children);
4938
- return React57.createElement(Bar, { backgroundColor, className: `sb-bar ${className}`, ...rest }, React57.createElement(BarInner, { bgColor: backgroundColor }, React57.createElement(Side, { scrollable: rest.scrollable, left: true }, left), right ? React57.createElement(Side, { right: true }, right) : null));
5155
+ const [left, right] = Children9.toArray(children);
5156
+ return React59.createElement(Bar, { backgroundColor, className: `sb-bar ${className}`, ...rest }, React59.createElement(BarInner, { bgColor: backgroundColor }, React59.createElement(Side, { scrollable: rest.scrollable, left: true }, left), right ? React59.createElement(Side, { right: true }, right) : null));
4939
5157
  }, "FlexBar");
4940
5158
  FlexBar.displayName = "FlexBar";
4941
5159
 
4942
5160
  // src/components/components/bar/button.tsx
4943
- import React58, { forwardRef as forwardRef14 } from "react";
5161
+ import React60, { forwardRef as forwardRef16 } from "react";
4944
5162
  import { isPropValid as isPropValid2, styled as styled44 } from "storybook/theming";
4945
5163
  var isLink = /* @__PURE__ */ __name((obj) => {
4946
5164
  return typeof obj.props.href === "string";
@@ -4951,15 +5169,15 @@ var isButton = /* @__PURE__ */ __name((obj) => {
4951
5169
  function ForwardRefFunction({ children, ...rest }, ref) {
4952
5170
  const o = { props: rest, ref };
4953
5171
  if (isLink(o)) {
4954
- return React58.createElement("a", { ref: o.ref, ...o.props }, children);
5172
+ return React60.createElement("a", { ref: o.ref, ...o.props }, children);
4955
5173
  }
4956
5174
  if (isButton(o)) {
4957
- return React58.createElement("button", { ref: o.ref, type: "button", ...o.props }, children);
5175
+ return React60.createElement("button", { ref: o.ref, type: "button", ...o.props }, children);
4958
5176
  }
4959
5177
  throw new Error("invalid props");
4960
5178
  }
4961
5179
  __name(ForwardRefFunction, "ForwardRefFunction");
4962
- var ButtonOrLink = forwardRef14(ForwardRefFunction);
5180
+ var ButtonOrLink = forwardRef16(ForwardRefFunction);
4963
5181
  ButtonOrLink.displayName = "ButtonOrLink";
4964
5182
  var TabButton = styled44(ButtonOrLink, { shouldForwardProp: isPropValid2 })(
4965
5183
  {
@@ -5009,7 +5227,7 @@ var TabButton = styled44(ButtonOrLink, { shouldForwardProp: isPropValid2 })(
5009
5227
  TabButton.displayName = "TabButton";
5010
5228
 
5011
5229
  // src/components/components/tabs/EmptyTabContent.tsx
5012
- import React59 from "react";
5230
+ import React61 from "react";
5013
5231
  import { styled as styled45 } from "storybook/theming";
5014
5232
  var Wrapper2 = styled45.div(({ theme }) => ({
5015
5233
  height: "100%",
@@ -5040,16 +5258,16 @@ var Description3 = styled45.div(({ theme }) => ({
5040
5258
  color: theme.textMutedColor
5041
5259
  }));
5042
5260
  var EmptyTabContent = /* @__PURE__ */ __name(({ title, description, footer }) => {
5043
- return React59.createElement(Wrapper2, null, React59.createElement(Content3, null, React59.createElement(Title6, null, title), description && React59.createElement(Description3, null, description)), footer);
5261
+ return React61.createElement(Wrapper2, null, React61.createElement(Content3, null, React61.createElement(Title6, null, title), description && React61.createElement(Description3, null, description)), footer);
5044
5262
  }, "EmptyTabContent");
5045
5263
 
5046
5264
  // src/components/components/tabs/tabs.helpers.tsx
5047
- import React60, { Children as Children8 } from "react";
5265
+ import React62, { Children as Children10 } from "react";
5048
5266
  import { styled as styled46 } from "storybook/theming";
5049
5267
  var VisuallyHidden = styled46.div(
5050
5268
  ({ active }) => active ? { display: "block" } : { display: "none" }
5051
5269
  );
5052
- var childrenToList = /* @__PURE__ */ __name((children) => Children8.toArray(children).map(
5270
+ var childrenToList = /* @__PURE__ */ __name((children) => Children10.toArray(children).map(
5053
5271
  // @ts-expect-error (non strict)
5054
5272
  ({
5055
5273
  props: { title, id, color: color4, children: childrenOfChild }
@@ -5057,7 +5275,7 @@ var childrenToList = /* @__PURE__ */ __name((children) => Children8.toArray(chil
5057
5275
  const content = Array.isArray(
5058
5276
  childrenOfChild
5059
5277
  ) ? childrenOfChild[0] : childrenOfChild;
5060
- const render = typeof content === "function" ? content : ({ active }) => React60.createElement(VisuallyHidden, { active, role: "tabpanel" }, content);
5278
+ const render = typeof content === "function" ? content : ({ active }) => React62.createElement(VisuallyHidden, { active, role: "tabpanel" }, content);
5061
5279
  return {
5062
5280
  title,
5063
5281
  id,
@@ -5068,7 +5286,7 @@ var childrenToList = /* @__PURE__ */ __name((children) => Children8.toArray(chil
5068
5286
  ), "childrenToList");
5069
5287
 
5070
5288
  // src/components/components/tabs/tabs.hooks.tsx
5071
- import React61, { useCallback as useCallback11, useLayoutEffect as useLayoutEffect7, useRef as useRef15, useState as useState15 } from "react";
5289
+ import React63, { useCallback as useCallback11, useLayoutEffect as useLayoutEffect7, useRef as useRef15, useState as useState15 } from "react";
5072
5290
  import { sanitize } from "storybook/internal/csf";
5073
5291
  import { styled as styled47 } from "storybook/theming";
5074
5292
  var CollapseIcon = styled47.span(({ theme, isActive }) => ({
@@ -5114,7 +5332,7 @@ function useList(list) {
5114
5332
  }) => {
5115
5333
  const isAddonsActive = invisibleList.some(({ active }) => active);
5116
5334
  const [isTooltipVisible, setTooltipVisible] = useState15(false);
5117
- return React61.createElement(React61.Fragment, null, React61.createElement(
5335
+ return React63.createElement(React63.Fragment, null, React63.createElement(
5118
5336
  WithToolTipState,
5119
5337
  {
5120
5338
  interactive: true,
@@ -5122,7 +5340,7 @@ function useList(list) {
5122
5340
  onVisibleChange: setTooltipVisible,
5123
5341
  placement: "bottom",
5124
5342
  delayHide: 100,
5125
- tooltip: React61.createElement(
5343
+ tooltip: React63.createElement(
5126
5344
  TooltipLinkList,
5127
5345
  {
5128
5346
  links: invisibleList.map(({ title, id, color: color4, active }) => {
@@ -5140,7 +5358,7 @@ function useList(list) {
5140
5358
  }
5141
5359
  )
5142
5360
  },
5143
- React61.createElement(
5361
+ React63.createElement(
5144
5362
  AddonButton,
5145
5363
  {
5146
5364
  id: "addons-menu-button",
@@ -5154,7 +5372,7 @@ function useList(list) {
5154
5372
  role: "tab"
5155
5373
  },
5156
5374
  menuName,
5157
- React61.createElement(
5375
+ React63.createElement(
5158
5376
  CollapseIcon,
5159
5377
  {
5160
5378
  className: "addon-collapsible-icon",
@@ -5164,7 +5382,7 @@ function useList(list) {
5164
5382
  )
5165
5383
  ), invisibleList.map(({ title, id, color: color4 }, index3) => {
5166
5384
  const indexId = `index-${index3}`;
5167
- return React61.createElement(
5385
+ return React63.createElement(
5168
5386
  TabButton,
5169
5387
  {
5170
5388
  id: `tabbutton-${sanitize(id) ?? indexId}`,
@@ -5285,7 +5503,7 @@ var Content4 = styled48.div(
5285
5503
  }
5286
5504
  } : {}
5287
5505
  );
5288
- var TabWrapper = /* @__PURE__ */ __name(({ active, render, children }) => React62.createElement(VisuallyHidden, { active }, render ? render() : children), "TabWrapper");
5506
+ var TabWrapper = /* @__PURE__ */ __name(({ active, render, children }) => React64.createElement(VisuallyHidden, { active }, render ? render() : children), "TabWrapper");
5289
5507
  var _TabErrorBoundary = class _TabErrorBoundary extends Component2 {
5290
5508
  constructor(props) {
5291
5509
  super(props);
@@ -5301,7 +5519,7 @@ var _TabErrorBoundary = class _TabErrorBoundary extends Component2 {
5301
5519
  }
5302
5520
  render() {
5303
5521
  if (this.state.hasError && this.props.active) {
5304
- return React62.createElement(
5522
+ return React64.createElement(
5305
5523
  EmptyTabContent,
5306
5524
  {
5307
5525
  title: "This addon has errors",
@@ -5336,15 +5554,15 @@ var Tabs = memo2(
5336
5554
  [children, selected]
5337
5555
  );
5338
5556
  const { visibleList, tabBarRef, tabRefs, AddonTab } = useList(list);
5339
- const EmptyContent = emptyState ?? React62.createElement(EmptyTabContent, { title: "Nothing found" });
5557
+ const EmptyContent = emptyState ?? React64.createElement(EmptyTabContent, { title: "Nothing found" });
5340
5558
  if (!showToolsWhenEmpty && list.length === 0) {
5341
5559
  return EmptyContent;
5342
5560
  }
5343
5561
  return (
5344
5562
  // @ts-expect-error (non strict)
5345
- React62.createElement(Wrapper3, { absolute, bordered, id: htmlId }, React62.createElement(FlexBar, { scrollable: false, border: true, backgroundColor }, React62.createElement(TabBar, { style: { whiteSpace: "normal" }, ref: tabBarRef, role: "tablist" }, visibleList.map(({ title, id, active, color: color4 }, index3) => {
5563
+ React64.createElement(Wrapper3, { absolute, bordered, id: htmlId }, React64.createElement(FlexBar, { scrollable: false, border: true, backgroundColor }, React64.createElement(TabBar, { style: { whiteSpace: "normal" }, ref: tabBarRef, role: "tablist" }, visibleList.map(({ title, id, active, color: color4 }, index3) => {
5346
5564
  const indexId = `index-${index3}`;
5347
- return React62.createElement(
5565
+ return React64.createElement(
5348
5566
  TabButton,
5349
5567
  {
5350
5568
  id: `tabbutton-${sanitize2(id) ?? indexId}`,
@@ -5362,10 +5580,10 @@ var Tabs = memo2(
5362
5580
  },
5363
5581
  role: "tab"
5364
5582
  },
5365
- typeof title === "function" ? React62.createElement("title", null) : title
5583
+ typeof title === "function" ? React64.createElement("title", null) : title
5366
5584
  );
5367
- }), React62.createElement(AddonTab, { menuName, actions })), tools), React62.createElement(Content4, { id: "panel-tab-content", bordered, absolute }, list.length ? list.map(({ id, active, render }) => {
5368
- return React62.createElement(TabErrorBoundary, { key: id, active }, React62.createElement(render, { active }, null));
5585
+ }), React64.createElement(AddonTab, { menuName, actions })), tools), React64.createElement(Content4, { id: "panel-tab-content", bordered, absolute }, list.length ? list.map(({ id, active, render }) => {
5586
+ return React64.createElement(TabErrorBoundary, { key: id, active }, React64.createElement(render, { active }, null));
5369
5587
  }) : EmptyContent))
5370
5588
  );
5371
5589
  }
@@ -5384,7 +5602,7 @@ var _TabsState = class _TabsState extends Component2 {
5384
5602
  render() {
5385
5603
  const { bordered = false, absolute = false, children, backgroundColor, menuName } = this.props;
5386
5604
  const { selected } = this.state;
5387
- return React62.createElement(
5605
+ return React64.createElement(
5388
5606
  Tabs,
5389
5607
  {
5390
5608
  bordered,
@@ -5412,7 +5630,7 @@ _TabsState.defaultProps = {
5412
5630
  var TabsState = _TabsState;
5413
5631
 
5414
5632
  // src/components/components/bar/separator.tsx
5415
- import React63, { Fragment as Fragment9 } from "react";
5633
+ import React65, { Fragment as Fragment11 } from "react";
5416
5634
  import { styled as styled49 } from "storybook/theming";
5417
5635
  var Separator = styled49.span(
5418
5636
  ({ theme }) => ({
@@ -5430,12 +5648,12 @@ var Separator = styled49.span(
5430
5648
  );
5431
5649
  Separator.displayName = "Separator";
5432
5650
  var interleaveSeparators = /* @__PURE__ */ __name((list) => list.reduce(
5433
- (acc, item, index3) => item ? React63.createElement(Fragment9, { key: item.id || item.key || `f-${index3}` }, acc, index3 > 0 ? React63.createElement(Separator, { key: `s-${index3}` }) : null, item.render() || item) : acc,
5651
+ (acc, item, index3) => item ? React65.createElement(Fragment11, { key: item.id || item.key || `f-${index3}` }, acc, index3 > 0 ? React65.createElement(Separator, { key: `s-${index3}` }) : null, item.render() || item) : acc,
5434
5652
  null
5435
5653
  ), "interleaveSeparators");
5436
5654
 
5437
5655
  // src/components/components/addon-panel/addon-panel.tsx
5438
- import React64, { useEffect as useEffect19, useRef as useRef16 } from "react";
5656
+ import React66, { useEffect as useEffect19, useRef as useRef16 } from "react";
5439
5657
  var usePrevious = /* @__PURE__ */ __name((value) => {
5440
5658
  const ref = useRef16();
5441
5659
  useEffect19(() => {
@@ -5450,25 +5668,25 @@ var useUpdate = /* @__PURE__ */ __name((update, value) => {
5450
5668
  var AddonPanel = /* @__PURE__ */ __name(({ active, children }) => {
5451
5669
  return (
5452
5670
  // the hidden attribute is an valid html element that's both accessible and works to visually hide content
5453
- React64.createElement("div", { hidden: !active }, useUpdate(active, children))
5671
+ React66.createElement("div", { hidden: !active }, useUpdate(active, children))
5454
5672
  );
5455
5673
  }, "AddonPanel");
5456
5674
 
5457
5675
  // src/components/brand/StorybookLogo.tsx
5458
- import React65 from "react";
5459
- var StorybookLogo = /* @__PURE__ */ __name(({ alt, ...props }) => React65.createElement("svg", { width: "200px", height: "40px", viewBox: "0 0 200 40", ...props, role: "img" }, alt ? React65.createElement("title", null, alt) : null, React65.createElement("defs", null, React65.createElement(
5676
+ import React67 from "react";
5677
+ var StorybookLogo = /* @__PURE__ */ __name(({ alt, ...props }) => React67.createElement("svg", { width: "200px", height: "40px", viewBox: "0 0 200 40", ...props, role: "img" }, alt ? React67.createElement("title", null, alt) : null, React67.createElement("defs", null, React67.createElement(
5460
5678
  "path",
5461
5679
  {
5462
5680
  d: "M1.2 36.9L0 3.9c0-1.1.8-2 1.9-2.1l28-1.8a2 2 0 0 1 2.2 1.9 2 2 0 0 1 0 .1v36a2 2 0 0 1-2 2 2 2 0 0 1-.1 0L3.2 38.8a2 2 0 0 1-2-2z",
5463
5681
  id: "a"
5464
5682
  }
5465
- )), React65.createElement("g", { fill: "none", fillRule: "evenodd" }, React65.createElement(
5683
+ )), React67.createElement("g", { fill: "none", fillRule: "evenodd" }, React67.createElement(
5466
5684
  "path",
5467
5685
  {
5468
5686
  d: "M53.3 31.7c-1.7 0-3.4-.3-5-.7-1.5-.5-2.8-1.1-3.9-2l1.6-3.5c2.2 1.5 4.6 2.3 7.3 2.3 1.5 0 2.5-.2 3.3-.7.7-.5 1.1-1 1.1-1.9 0-.7-.3-1.3-1-1.7s-2-.8-3.7-1.2c-2-.4-3.6-.9-4.8-1.5-1.1-.5-2-1.2-2.6-2-.5-1-.8-2-.8-3.2 0-1.4.4-2.6 1.2-3.6.7-1.1 1.8-2 3.2-2.6 1.3-.6 2.9-.9 4.7-.9 1.6 0 3.1.3 4.6.7 1.5.5 2.7 1.1 3.5 2l-1.6 3.5c-2-1.5-4.2-2.3-6.5-2.3-1.3 0-2.3.2-3 .8-.8.5-1.2 1.1-1.2 2 0 .5.2 1 .5 1.3.2.3.7.6 1.4.9l2.9.8c2.9.6 5 1.4 6.2 2.4a5 5 0 0 1 2 4.2 6 6 0 0 1-2.5 5c-1.7 1.2-4 1.9-7 1.9zm21-3.6l1.4-.1-.2 3.5-1.9.1c-2.4 0-4.1-.5-5.2-1.5-1.1-1-1.6-2.7-1.6-4.8v-6h-3v-3.6h3V11h4.8v4.6h4v3.6h-4v6c0 1.8.9 2.8 2.6 2.8zm11.1 3.5c-1.6 0-3-.3-4.3-1a7 7 0 0 1-3-2.8c-.6-1.3-1-2.7-1-4.4 0-1.6.4-3 1-4.3a7 7 0 0 1 3-2.8c1.2-.7 2.7-1 4.3-1 1.7 0 3.2.3 4.4 1a7 7 0 0 1 3 2.8c.6 1.2 1 2.7 1 4.3 0 1.7-.4 3.1-1 4.4a7 7 0 0 1-3 2.8c-1.2.7-2.7 1-4.4 1zm0-3.6c2.4 0 3.6-1.6 3.6-4.6 0-1.5-.3-2.6-1-3.4a3.2 3.2 0 0 0-2.6-1c-2.3 0-3.5 1.4-3.5 4.4 0 3 1.2 4.6 3.5 4.6zm21.7-8.8l-2.7.3c-1.3.2-2.3.5-2.8 1.2-.6.6-.9 1.4-.9 2.5v8.2H96V15.7h4.6v2.6c.8-1.8 2.5-2.8 5-3h1.3l.3 4zm14-3.5h4.8L116.4 37h-4.9l3-6.6-6.4-14.8h5l4 10 4-10zm16-.4c1.4 0 2.6.3 3.6 1 1 .6 1.9 1.6 2.5 2.8.6 1.2.9 2.7.9 4.3 0 1.6-.3 3-1 4.3a6.9 6.9 0 0 1-2.4 2.9c-1 .7-2.2 1-3.6 1-1 0-2-.2-3-.7-.8-.4-1.5-1-2-1.9v2.4h-4.7V8.8h4.8v9c.5-.8 1.2-1.4 2-1.9.9-.4 1.8-.6 3-.6zM135.7 28c1.1 0 2-.4 2.6-1.2.6-.8 1-2 1-3.4 0-1.5-.4-2.5-1-3.3s-1.5-1.1-2.6-1.1-2 .3-2.6 1.1c-.6.8-1 2-1 3.3 0 1.5.4 2.6 1 3.4.6.8 1.5 1.2 2.6 1.2zm18.9 3.6c-1.7 0-3.2-.3-4.4-1a7 7 0 0 1-3-2.8c-.6-1.3-1-2.7-1-4.4 0-1.6.4-3 1-4.3a7 7 0 0 1 3-2.8c1.2-.7 2.7-1 4.4-1 1.6 0 3 .3 4.3 1a7 7 0 0 1 3 2.8c.6 1.2 1 2.7 1 4.3 0 1.7-.4 3.1-1 4.4a7 7 0 0 1-3 2.8c-1.2.7-2.7 1-4.3 1zm0-3.6c2.3 0 3.5-1.6 3.5-4.6 0-1.5-.3-2.6-1-3.4a3.2 3.2 0 0 0-2.5-1c-2.4 0-3.6 1.4-3.6 4.4 0 3 1.2 4.6 3.6 4.6zm18 3.6c-1.7 0-3.2-.3-4.4-1a7 7 0 0 1-3-2.8c-.6-1.3-1-2.7-1-4.4 0-1.6.4-3 1-4.3a7 7 0 0 1 3-2.8c1.2-.7 2.7-1 4.4-1 1.6 0 3 .3 4.4 1a7 7 0 0 1 2.9 2.8c.6 1.2 1 2.7 1 4.3 0 1.7-.4 3.1-1 4.4a7 7 0 0 1-3 2.8c-1.2.7-2.7 1-4.3 1zm0-3.6c2.3 0 3.5-1.6 3.5-4.6 0-1.5-.3-2.6-1-3.4a3.2 3.2 0 0 0-2.5-1c-2.4 0-3.6 1.4-3.6 4.4 0 3 1.2 4.6 3.6 4.6zm27.4 3.4h-6l-6-7v7h-4.8V8.8h4.9v13.6l5.8-6.7h5.7l-6.6 7.5 7 8.2z",
5469
5687
  fill: "currentColor"
5470
5688
  }
5471
- ), React65.createElement("mask", { id: "b", fill: "#fff" }, React65.createElement("use", { xlinkHref: "#a" })), React65.createElement("use", { fill: "#FF4785", fillRule: "nonzero", xlinkHref: "#a" }), React65.createElement(
5689
+ ), React67.createElement("mask", { id: "b", fill: "#fff" }, React67.createElement("use", { xlinkHref: "#a" })), React67.createElement("use", { fill: "#FF4785", fillRule: "nonzero", xlinkHref: "#a" }), React67.createElement(
5472
5690
  "path",
5473
5691
  {
5474
5692
  d: "M23.7 5L24 .2l3.9-.3.1 4.8a.3.3 0 0 1-.5.2L26 3.8l-1.7 1.4a.3.3 0 0 1-.5-.3zm-5 10c0 .9 5.3.5 6 0 0-5.4-2.8-8.2-8-8.2-5.3 0-8.2 2.8-8.2 7.1 0 7.4 10 7.6 10 11.6 0 1.2-.5 1.9-1.8 1.9-1.6 0-2.2-.9-2.1-3.6 0-.6-6.1-.8-6.3 0-.5 6.7 3.7 8.6 8.5 8.6 4.6 0 8.3-2.5 8.3-7 0-7.9-10.2-7.7-10.2-11.6 0-1.6 1.2-1.8 2-1.8.6 0 2 0 1.9 3z",
@@ -5479,8 +5697,8 @@ var StorybookLogo = /* @__PURE__ */ __name(({ alt, ...props }) => React65.create
5479
5697
  ))), "StorybookLogo");
5480
5698
 
5481
5699
  // src/components/brand/StorybookIcon.tsx
5482
- import React66 from "react";
5483
- var StorybookIcon = /* @__PURE__ */ __name((props) => React66.createElement("svg", { viewBox: "0 0 64 64", ...props }, React66.createElement("title", null, "Storybook icon"), React66.createElement("g", { id: "Artboard", stroke: "none", strokeWidth: "1", fill: "none", fillRule: "evenodd" }, React66.createElement(
5700
+ import React68 from "react";
5701
+ var StorybookIcon = /* @__PURE__ */ __name((props) => React68.createElement("svg", { viewBox: "0 0 64 64", ...props }, React68.createElement("title", null, "Storybook icon"), React68.createElement("g", { id: "Artboard", stroke: "none", strokeWidth: "1", fill: "none", fillRule: "evenodd" }, React68.createElement(
5484
5702
  "path",
5485
5703
  {
5486
5704
  d: "M8.04798541,58.7875918 L6.07908839,6.32540407 C6.01406344,4.5927838 7.34257463,3.12440831 9.07303814,3.01625434 L53.6958037,0.227331489 C55.457209,0.117243658 56.974354,1.45590096 57.0844418,3.21730626 C57.0885895,3.28366922 57.0906648,3.35014546 57.0906648,3.41663791 L57.0906648,60.5834697 C57.0906648,62.3483119 55.6599776,63.7789992 53.8951354,63.7789992 C53.847325,63.7789992 53.7995207,63.7779262 53.7517585,63.775781 L11.0978899,61.8600599 C9.43669044,61.7854501 8.11034889,60.4492961 8.04798541,58.7875918 Z",
@@ -5488,7 +5706,7 @@ var StorybookIcon = /* @__PURE__ */ __name((props) => React66.createElement("svg
5488
5706
  fill: "#FF4785",
5489
5707
  fillRule: "nonzero"
5490
5708
  }
5491
- ), React66.createElement(
5709
+ ), React68.createElement(
5492
5710
  "path",
5493
5711
  {
5494
5712
  d: "M35.9095005,24.1768792 C35.9095005,25.420127 44.2838488,24.8242707 45.4080313,23.9509748 C45.4080313,15.4847538 40.8652557,11.0358878 32.5466666,11.0358878 C24.2280775,11.0358878 19.5673077,15.553972 19.5673077,22.3311017 C19.5673077,34.1346028 35.4965208,34.3605071 35.4965208,40.7987804 C35.4965208,42.606015 34.6115646,43.6790606 32.6646607,43.6790606 C30.127786,43.6790606 29.1248356,42.3834613 29.2428298,37.9783269 C29.2428298,37.0226907 19.5673077,36.7247626 19.2723223,37.9783269 C18.5211693,48.6535354 25.1720308,51.7326752 32.7826549,51.7326752 C40.1572906,51.7326752 45.939005,47.8018145 45.939005,40.6858282 C45.939005,28.035186 29.7738035,28.3740425 29.7738035,22.1051974 C29.7738035,19.5637737 31.6617103,19.2249173 32.7826549,19.2249173 C33.9625966,19.2249173 36.0864917,19.4328883 35.9095005,24.1768792 Z",
@@ -5496,7 +5714,7 @@ var StorybookIcon = /* @__PURE__ */ __name((props) => React66.createElement("svg
5496
5714
  fill: "#FFFFFF",
5497
5715
  fillRule: "nonzero"
5498
5716
  }
5499
- ), React66.createElement(
5717
+ ), React68.createElement(
5500
5718
  "path",
5501
5719
  {
5502
5720
  d: "M44.0461638,0.830433986 L50.1874092,0.446606143 L50.443532,7.7810017 C50.4527198,8.04410717 50.2468789,8.26484453 49.9837734,8.27403237 C49.871115,8.27796649 49.7607078,8.24184808 49.6721567,8.17209069 L47.3089847,6.3104681 L44.5110468,8.43287463 C44.3012992,8.591981 44.0022839,8.55092814 43.8431776,8.34118051 C43.7762017,8.25288717 43.742082,8.14401677 43.7466857,8.03329059 L44.0461638,0.830433986 Z",
@@ -5506,7 +5724,7 @@ var StorybookIcon = /* @__PURE__ */ __name((props) => React66.createElement("svg
5506
5724
  ))), "StorybookIcon");
5507
5725
 
5508
5726
  // src/components/components/Loader/Loader.tsx
5509
- import React67 from "react";
5727
+ import React69 from "react";
5510
5728
  import { LightningOffIcon } from "@storybook/icons";
5511
5729
  import { keyframes as keyframes3, styled as styled50 } from "storybook/theming";
5512
5730
 
@@ -5600,7 +5818,7 @@ var Ellipsis = styled50.span({
5600
5818
  });
5601
5819
  var Loader = /* @__PURE__ */ __name(({ progress, error, size, ...props }) => {
5602
5820
  if (error) {
5603
- return React67.createElement(ProgressWrapper, { "aria-label": error.toString(), "aria-live": "polite", role: "status", ...props }, React67.createElement(ErrorIcon, null), React67.createElement(ProgressMessage, null, error.message));
5821
+ return React69.createElement(ProgressWrapper, { "aria-label": error.toString(), "aria-live": "polite", role: "status", ...props }, React69.createElement(ErrorIcon, null), React69.createElement(ProgressMessage, null, error.message));
5604
5822
  }
5605
5823
  if (progress) {
5606
5824
  const { value, modules } = progress;
@@ -5608,7 +5826,7 @@ var Loader = /* @__PURE__ */ __name(({ progress, error, size, ...props }) => {
5608
5826
  if (modules) {
5609
5827
  message += ` ${modules.complete} / ${modules.total} modules`;
5610
5828
  }
5611
- return React67.createElement(
5829
+ return React69.createElement(
5612
5830
  ProgressWrapper,
5613
5831
  {
5614
5832
  "aria-label": "Content is loading...",
@@ -5620,11 +5838,11 @@ var Loader = /* @__PURE__ */ __name(({ progress, error, size, ...props }) => {
5620
5838
  role: "progressbar",
5621
5839
  ...props
5622
5840
  },
5623
- React67.createElement(ProgressTrack, null, React67.createElement(ProgressBar, { style: { width: `${value * 100}%` } })),
5624
- React67.createElement(ProgressMessage, null, message, value < 1 && React67.createElement(Ellipsis, { key: message }))
5841
+ React69.createElement(ProgressTrack, null, React69.createElement(ProgressBar, { style: { width: `${value * 100}%` } })),
5842
+ React69.createElement(ProgressMessage, null, message, value < 1 && React69.createElement(Ellipsis, { key: message }))
5625
5843
  );
5626
5844
  }
5627
- return React67.createElement(
5845
+ return React69.createElement(
5628
5846
  LoaderWrapper,
5629
5847
  {
5630
5848
  "aria-label": "Content is loading...",
@@ -5637,7 +5855,7 @@ var Loader = /* @__PURE__ */ __name(({ progress, error, size, ...props }) => {
5637
5855
  }, "Loader");
5638
5856
 
5639
5857
  // src/components/components/ProgressSpinner/ProgressSpinner.tsx
5640
- import React68 from "react";
5858
+ import React70 from "react";
5641
5859
  import { keyframes as keyframes4, styled as styled51 } from "storybook/theming";
5642
5860
  var XMLNS = "http://www.w3.org/2000/svg";
5643
5861
  var rotate = keyframes4({
@@ -5693,7 +5911,7 @@ var ProgressSpinner = /* @__PURE__ */ __name(({
5693
5911
  width = 1.5,
5694
5912
  children = null,
5695
5913
  ...props
5696
- }) => typeof percentage === "number" ? React68.createElement(Wrapper4, { size, ...props }, children, React68.createElement(Circle, { size, width, xmlns: XMLNS }, React68.createElement("circle", null)), running && React68.createElement(Circle, { size, width, xmlns: XMLNS, spinner: true }, React68.createElement("circle", { strokeDashoffset: Math.PI * (size - Math.ceil(width)) * (1 - percentage / 100) })), React68.createElement(Circle, { size, width, xmlns: XMLNS, progress: true }, React68.createElement("circle", { strokeDashoffset: Math.PI * (size - Math.ceil(width)) * (1 - percentage / 100) }))) : React68.createElement(Wrapper4, { size, ...props }, children), "ProgressSpinner");
5914
+ }) => typeof percentage === "number" ? React70.createElement(Wrapper4, { size, ...props }, children, React70.createElement(Circle, { size, width, xmlns: XMLNS }, React70.createElement("circle", null)), running && React70.createElement(Circle, { size, width, xmlns: XMLNS, spinner: true }, React70.createElement("circle", { strokeDashoffset: Math.PI * (size - Math.ceil(width)) * (1 - percentage / 100) })), React70.createElement(Circle, { size, width, xmlns: XMLNS, progress: true }, React70.createElement("circle", { strokeDashoffset: Math.PI * (size - Math.ceil(width)) * (1 - percentage / 100) }))) : React70.createElement(Wrapper4, { size, ...props }, children), "ProgressSpinner");
5697
5915
 
5698
5916
  // src/components/components/utils/getStoryHref.ts
5699
5917
  function parseQuery(queryString) {
@@ -5720,7 +5938,7 @@ var getStoryHref = /* @__PURE__ */ __name((baseUrl, storyId, additionalParams =
5720
5938
  }, "getStoryHref");
5721
5939
 
5722
5940
  // src/components/components/clipboard/ClipboardCode.tsx
5723
- import React69 from "react";
5941
+ import React71 from "react";
5724
5942
  import { color as color3, styled as styled52, typography } from "storybook/theming";
5725
5943
  var Code2 = styled52.pre`
5726
5944
  line-height: 18px;
@@ -5736,13 +5954,13 @@ var Code2 = styled52.pre`
5736
5954
  font-family: ${typography.fonts.mono};
5737
5955
  font-size: ${typography.size.s2 - 1}px;
5738
5956
  `;
5739
- var ClipboardCode = /* @__PURE__ */ __name(({ code, ...props }) => React69.createElement(Code2, { id: "clipboard-code", ...props }, code), "ClipboardCode");
5957
+ var ClipboardCode = /* @__PURE__ */ __name(({ code, ...props }) => React71.createElement(Code2, { id: "clipboard-code", ...props }, code), "ClipboardCode");
5740
5958
 
5741
5959
  // src/components/index.ts
5742
5960
  var components2 = components;
5743
5961
  var resetComponents = {};
5744
5962
  Object.keys(components).forEach((key) => {
5745
- resetComponents[key] = forwardRef15((props, ref) => createElement9(key, { ...props, ref }));
5963
+ resetComponents[key] = forwardRef17((props, ref) => createElement9(key, { ...props, ref }));
5746
5964
  });
5747
5965
  export {
5748
5966
  A,