{
  "version": 3,
  "sources": ["global-externals:react", "global-externals:@storybook/addons", "global-externals:@storybook/api", "global-externals:@storybook/components", "../../../../../../../../../Users/jeppe/dev/chromatic/storybook/code/addons/toolbars/manager.js", "../../../../../../../../../Users/jeppe/dev/chromatic/storybook/code/addons/toolbars/dist/manager.js"],
  "sourcesContent": ["export default __REACT__;\nconst { Children, Component, Fragment, Profiler, PureComponent, StrictMode, Suspense, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, cloneElement, createContext, createElement, createFactory, createRef, forwardRef, isValidElement, lazy, memo, useCallback, useContext, useDebugValue, useEffect, useImperativeHandle, useLayoutEffect, useMemo, useReducer, useRef, useState, version } = __REACT__;\nexport { Children, Component, Fragment, Profiler, PureComponent, StrictMode, Suspense, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, cloneElement, createContext, createElement, createFactory, createRef, forwardRef, isValidElement, lazy, memo, useCallback, useContext, useDebugValue, useEffect, useImperativeHandle, useLayoutEffect, useMemo, useReducer, useRef, useState, version };", "export default __STORYBOOKADDONS__;\nconst { AddonStore, Channel, HooksContext, addons, applyHooks, isSupportedType, makeDecorator, mockChannel, types, useArgs, useCallback, useChannel, useEffect, useGlobals, useMemo, useParameter, useReducer, useRef, useState, useStoryContext } = __STORYBOOKADDONS__;\nexport { AddonStore, Channel, HooksContext, addons, applyHooks, isSupportedType, makeDecorator, mockChannel, types, useArgs, useCallback, useChannel, useEffect, useGlobals, useMemo, useParameter, useReducer, useRef, useState, useStoryContext };", "export default __STORYBOOKAPI__;\nconst { ActiveTabs, Consumer, ManagerContext, Provider, combineParameters, merge, useAddonState, useArgTypes, useArgs, useChannel, useGlobalTypes, useGlobals, useParameter, useSharedState, useStoryPrepared, useStorybookApi, useStorybookState } = __STORYBOOKAPI__;\nexport { ActiveTabs, Consumer, ManagerContext, Provider, combineParameters, merge, useAddonState, useArgTypes, useArgs, useChannel, useGlobalTypes, useGlobals, useParameter, useSharedState, useStoryPrepared, useStorybookApi, useStorybookState };", "export default __STORYBOOKCOMPONENTS__;\nconst { A, ActionBar, AddonPanel, Badge, Bar, Blockquote, Button, Code, DL, Div, DocumentWrapper, FlexBar, Form, H1, H2, H3, H4, H5, H6, HR, IconButton, IconButtonSkeleton, Icons, Img, LI, Link, Loader, OL, P, Placeholder, Pre, ResetWrapper, ScrollArea, Separator, Spaced, Span, StorybookIcon, StorybookLogo, Symbols, SyntaxHighlighter, TT, TabBar, TabButton, TabWrapper, Table, Tabs, TabsState, TooltipLinkList, TooltipMessage, TooltipNote, UL, WithTooltip, WithTooltipPure, Zoom, codeCommon, components, createCopyToClipboardFunction, getStoryHref, interleaveSeparators, nameSpaceClassNames, resetComponents, withReset } = __STORYBOOKCOMPONENTS__;\nexport { A, ActionBar, AddonPanel, Badge, Bar, Blockquote, Button, Code, DL, Div, DocumentWrapper, FlexBar, Form, H1, H2, H3, H4, H5, H6, HR, IconButton, IconButtonSkeleton, Icons, Img, LI, Link, Loader, OL, P, Placeholder, Pre, ResetWrapper, ScrollArea, Separator, Spaced, Span, StorybookIcon, StorybookLogo, Symbols, SyntaxHighlighter, TT, TabBar, TabButton, TabWrapper, Table, Tabs, TabsState, TooltipLinkList, TooltipMessage, TooltipNote, UL, WithTooltip, WithTooltipPure, Zoom, codeCommon, components, createCopyToClipboardFunction, getStoryHref, interleaveSeparators, nameSpaceClassNames, resetComponents, withReset };", "import './dist/manager';\n", "\"use strict\";\nvar __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __copyProps = (to, from, except, desc) => {\n  if (from && typeof from === \"object\" || typeof from === \"function\") {\n    for (let key of __getOwnPropNames(from))\n      if (!__hasOwnProp.call(to, key) && key !== except)\n        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n  }\n  return to;\n};\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n  isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: true }) : target,\n  mod\n));\n\n// src/manager.tsx\nvar import_react6 = __toESM(require(\"react\"));\nvar import_addons = require(\"@storybook/addons\");\n\n// src/components/ToolbarManager.tsx\nvar import_react5 = __toESM(require(\"react\"));\nvar import_api3 = require(\"@storybook/api\");\nvar import_components4 = require(\"@storybook/components\");\n\n// src/components/ToolbarMenuList.tsx\nvar import_react4 = __toESM(require(\"react\"));\nvar import_api2 = require(\"@storybook/api\");\nvar import_components3 = require(\"@storybook/components\");\n\n// src/components/ToolbarMenuButton.tsx\nvar import_react = __toESM(require(\"react\"));\nvar import_components = require(\"@storybook/components\");\nvar ToolbarMenuButton = ({\n  active,\n  title,\n  icon,\n  description,\n  onClick\n}) => {\n  return /* @__PURE__ */ import_react.default.createElement(import_components.IconButton, {\n    active,\n    title: description,\n    onClick\n  }, icon && /* @__PURE__ */ import_react.default.createElement(import_components.Icons, {\n    icon\n  }), title ? `\\xA0${title}` : null);\n};\n\n// src/hoc/withKeyboardCycle.tsx\nvar import_react2 = __toESM(require(\"react\"));\nvar import_api = require(\"@storybook/api\");\n\n// src/utils/create-cycle-value-array.ts\nvar disallowedCycleableItemTypes = [\"reset\"];\nvar createCycleValueArray = (items) => {\n  const valueArray = items.filter((item) => !disallowedCycleableItemTypes.includes(item.type)).map((item) => item.value);\n  return valueArray;\n};\n\n// src/constants.ts\nvar ADDON_ID = \"addon-toolbars\";\n\n// src/utils/register-shortcuts.ts\nvar registerShortcuts = async (api, id, shortcuts) => {\n  if (shortcuts && shortcuts.next) {\n    await api.setAddonShortcut(ADDON_ID, {\n      label: shortcuts.next.label,\n      defaultShortcut: shortcuts.next.keys,\n      actionName: `${id}:next`,\n      action: shortcuts.next.action\n    });\n  }\n  if (shortcuts && shortcuts.previous) {\n    await api.setAddonShortcut(ADDON_ID, {\n      label: shortcuts.previous.label,\n      defaultShortcut: shortcuts.previous.keys,\n      actionName: `${id}:previous`,\n      action: shortcuts.previous.action\n    });\n  }\n  if (shortcuts && shortcuts.reset) {\n    await api.setAddonShortcut(ADDON_ID, {\n      label: shortcuts.reset.label,\n      defaultShortcut: shortcuts.reset.keys,\n      actionName: `${id}:reset`,\n      action: shortcuts.reset.action\n    });\n  }\n};\n\n// src/hoc/withKeyboardCycle.tsx\nvar withKeyboardCycle = (Component) => {\n  const WithKeyboardCycle = (props) => {\n    const {\n      id,\n      toolbar: { items, shortcuts }\n    } = props;\n    const api = (0, import_api.useStorybookApi)();\n    const [globals, updateGlobals] = (0, import_api.useGlobals)();\n    const cycleValues = (0, import_react2.useRef)([]);\n    const currentValue = globals[id];\n    const reset = (0, import_react2.useCallback)(() => {\n      updateGlobals({ [id]: \"\" });\n    }, [updateGlobals]);\n    const setNext = (0, import_react2.useCallback)(() => {\n      const values = cycleValues.current;\n      const currentIndex = values.indexOf(currentValue);\n      const currentIsLast = currentIndex === values.length - 1;\n      const newCurrentIndex = currentIsLast ? 0 : currentIndex + 1;\n      const newCurrent = cycleValues.current[newCurrentIndex];\n      updateGlobals({ [id]: newCurrent });\n    }, [cycleValues, currentValue, updateGlobals]);\n    const setPrevious = (0, import_react2.useCallback)(() => {\n      const values = cycleValues.current;\n      const indexOf = values.indexOf(currentValue);\n      const currentIndex = indexOf > -1 ? indexOf : 0;\n      const currentIsFirst = currentIndex === 0;\n      const newCurrentIndex = currentIsFirst ? values.length - 1 : currentIndex - 1;\n      const newCurrent = cycleValues.current[newCurrentIndex];\n      updateGlobals({ [id]: newCurrent });\n    }, [cycleValues, currentValue, updateGlobals]);\n    (0, import_react2.useEffect)(() => {\n      if (shortcuts) {\n        registerShortcuts(api, id, {\n          next: { ...shortcuts.next, action: setNext },\n          previous: { ...shortcuts.previous, action: setPrevious },\n          reset: { ...shortcuts.reset, action: reset }\n        });\n      }\n    }, [api, id, shortcuts, setNext, setPrevious, reset]);\n    (0, import_react2.useEffect)(() => {\n      cycleValues.current = createCycleValueArray(items);\n    }, []);\n    return /* @__PURE__ */ import_react2.default.createElement(Component, {\n      cycleValues: cycleValues.current,\n      ...props\n    });\n  };\n  return WithKeyboardCycle;\n};\n\n// src/utils/get-selected.ts\nvar getSelectedItem = ({ currentValue, items }) => {\n  const selectedItem = currentValue != null && items.find((item) => item.value === currentValue);\n  return selectedItem;\n};\nvar getSelectedIcon = ({ currentValue, items }) => {\n  const selectedItem = getSelectedItem({ currentValue, items });\n  if (selectedItem) {\n    return selectedItem.icon;\n  }\n  return void 0;\n};\nvar getSelectedTitle = ({ currentValue, items }) => {\n  const selectedItem = getSelectedItem({ currentValue, items });\n  if (selectedItem) {\n    return selectedItem.title;\n  }\n  return void 0;\n};\n\n// src/components/ToolbarMenuListItem.tsx\nvar import_react3 = __toESM(require(\"react\"));\nvar import_components2 = require(\"@storybook/components\");\nvar ToolbarMenuListItem = ({\n  left,\n  right,\n  title,\n  value,\n  icon,\n  hideIcon,\n  onClick,\n  currentValue\n}) => {\n  const Icon = icon && /* @__PURE__ */ import_react3.default.createElement(import_components2.Icons, {\n    style: { opacity: 1 },\n    icon\n  });\n  const hasContent = left || right || title;\n  const Item = {\n    id: value || currentValue,\n    active: currentValue === value,\n    onClick\n  };\n  if (left) {\n    Item.left = left;\n  }\n  if (right) {\n    Item.right = right;\n  }\n  if (title) {\n    Item.title = title;\n  }\n  if (icon && !hideIcon) {\n    if (hasContent && !right) {\n      Item.right = Icon;\n    } else if (hasContent && !left) {\n      Item.left = Icon;\n    } else if (!hasContent) {\n      Item.right = Icon;\n    }\n  }\n  return Item;\n};\n\n// src/components/ToolbarMenuList.tsx\nvar ToolbarMenuList = withKeyboardCycle(\n  ({\n    id,\n    name,\n    description,\n    toolbar: { icon: _icon, items, title: _title, showName, preventDynamicIcon, dynamicTitle }\n  }) => {\n    const [globals, updateGlobals] = (0, import_api2.useGlobals)();\n    const currentValue = globals[id];\n    const hasGlobalValue = !!currentValue;\n    let icon = _icon;\n    let title = _title;\n    if (!preventDynamicIcon) {\n      icon = getSelectedIcon({ currentValue, items }) || icon;\n    }\n    if (showName && !title) {\n      title = name;\n      console.warn(\n        \"`showName` is deprecated as `name` will stop having dual purposes in the future. Please specify a `title` in `globalTypes` instead.\"\n      );\n    } else if (!showName && !icon && !title) {\n      title = name;\n      console.warn(\n        `Using the \\`name\\` \"${name}\" as toolbar title for backward compatibility. \\`name\\` will stop having dual purposes in the future. Please specify either a \\`title\\` or an \\`icon\\` in \\`globalTypes\\` instead.`\n      );\n    }\n    if (dynamicTitle) {\n      title = getSelectedTitle({ currentValue, items }) || title;\n    }\n    const handleItemClick = (0, import_react4.useCallback)(\n      (value) => {\n        updateGlobals({ [id]: value });\n      },\n      [currentValue, updateGlobals]\n    );\n    return /* @__PURE__ */ import_react4.default.createElement(import_components3.WithTooltip, {\n      placement: \"top\",\n      trigger: \"click\",\n      tooltip: ({ onHide }) => {\n        const links = items.filter(({ type }) => {\n          let shouldReturn = true;\n          if (type === \"reset\" && !currentValue) {\n            shouldReturn = false;\n          }\n          return shouldReturn;\n        }).map((item) => {\n          const listItem = ToolbarMenuListItem({\n            ...item,\n            currentValue,\n            onClick: () => {\n              handleItemClick(item.value);\n              onHide();\n            }\n          });\n          return listItem;\n        });\n        return /* @__PURE__ */ import_react4.default.createElement(import_components3.TooltipLinkList, {\n          links\n        });\n      },\n      closeOnClick: true\n    }, /* @__PURE__ */ import_react4.default.createElement(ToolbarMenuButton, {\n      active: hasGlobalValue,\n      description: description || \"\",\n      icon,\n      title: title || \"\"\n    }));\n  }\n);\n\n// src/utils/normalize-toolbar-arg-type.ts\nvar defaultItemValues = {\n  type: \"item\",\n  value: \"\"\n};\nvar normalizeArgType = (key, argType) => ({\n  ...argType,\n  name: argType.name || key,\n  description: argType.description || key,\n  toolbar: {\n    ...argType.toolbar,\n    items: argType.toolbar.items.map((_item) => {\n      const item = typeof _item === \"string\" ? { value: _item, title: _item } : _item;\n      if (item.type === \"reset\" && argType.toolbar.icon) {\n        item.icon = argType.toolbar.icon;\n        item.hideIcon = true;\n      }\n      return { ...defaultItemValues, ...item };\n    })\n  }\n});\n\n// src/components/ToolbarManager.tsx\nvar ToolbarManager = () => {\n  const globalTypes = (0, import_api3.useGlobalTypes)();\n  const globalIds = Object.keys(globalTypes).filter((id) => !!globalTypes[id].toolbar);\n  if (!globalIds.length) {\n    return null;\n  }\n  return /* @__PURE__ */ import_react5.default.createElement(import_react5.default.Fragment, null, /* @__PURE__ */ import_react5.default.createElement(import_components4.Separator, null), globalIds.map((id) => {\n    const normalizedArgType = normalizeArgType(id, globalTypes[id]);\n    return /* @__PURE__ */ import_react5.default.createElement(ToolbarMenuList, {\n      key: id,\n      id,\n      ...normalizedArgType\n    });\n  }));\n};\n\n// src/manager.tsx\nimport_addons.addons.register(\n  ADDON_ID,\n  () => import_addons.addons.add(ADDON_ID, {\n    title: ADDON_ID,\n    type: import_addons.types.TOOL,\n    match: () => true,\n    render: () => /* @__PURE__ */ import_react6.default.createElement(ToolbarManager, null)\n  })\n);\n"],
  "mappings": "+dAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,cAAAE,EAAA,cAAAC,GAAA,aAAAC,GAAA,aAAAC,GAAA,kBAAAC,GAAA,eAAAC,GAAA,aAAAC,GAAA,uDAAAC,GAAA,iBAAAC,GAAA,kBAAAC,GAAA,kBAAAC,GAAA,kBAAAC,GAAA,cAAAC,GAAA,YAAAC,EAAA,eAAAC,GAAA,mBAAAC,GAAA,SAAAC,GAAA,SAAAC,GAAA,gBAAAC,GAAA,eAAAC,GAAA,kBAAAC,GAAA,cAAAC,GAAA,wBAAAC,GAAA,oBAAAC,GAAA,YAAAC,GAAA,eAAAC,GAAA,WAAAC,GAAA,aAAAC,GAAA,YAAAC,KAAA,IAAOf,EACCb,EAAUC,GAAWC,GAAUC,GAAUC,GAAeC,GAAYC,GAAUC,GAAoDC,GAAcC,GAAeC,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EAAoBN,GAAiB7C,EAAIiD,EAAYjD,EAAG,EAC9D,OAAuBvB,EAAc,QAAQ,cAAcsD,GAAiB,CAC1E,IAAK/B,EACL,GAAAA,EACA,GAAGmD,CACL,CAAC,CACH,CAAC,CAAC,EATO,IAUX,EAGA3E,EAAc,OAAO,SACnBqB,EACA,IAAMrB,EAAc,OAAO,IAAIqB,EAAU,CACvC,MAAOA,EACP,KAAMrB,EAAc,MAAM,KAC1B,MAAO,IAAM,GACb,OAAQ,IAAsBD,GAAc,QAAQ,cAAcyE,GAAgB,IAAI,CACxF,CAAC,CACH",
  "names": ["react_exports", "__export", "Children", "Component", "Fragment", "Profiler", "PureComponent", "StrictMode", "Suspense", "__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED", "cloneElement", "createContext", "createElement", "createFactory", "createRef", "react_default", "forwardRef", "isValidElement", "lazy", "memo", "useCallback", "useContext", "useDebugValue", "useEffect", "useImperativeHandle", "useLayoutEffect", "useMemo", "useReducer", "useRef", "useState", "version", "init_react", "__esmMin", "init_define_module", "init_define_process_env", "addons_exports", "__export", "AddonStore", "Channel", "HooksContext", "addons", "applyHooks", "addons_default", "isSupportedType", "makeDecorator", "mockChannel", "types", "useArgs", "useCallback", "useChannel", "useEffect", "useGlobals", "useMemo", "useParameter", "useReducer", "useRef", "useState", "useStoryContext", "init_addons", "__esmMin", "init_define_module", "init_define_process_env", "api_exports", "__export", "ActiveTabs", "Consumer", "ManagerContext", "Provider", "combineParameters", "api_default", "merge", "useAddonState", "useArgTypes", "useArgs", "useChannel", "useGlobalTypes", "useGlobals", "useParameter", "useSharedState", "useStoryPrepared", "useStorybookApi", "useStorybookState", "init_api", "__esmMin", "init_define_module", "init_define_process_env", "components_exports", "__export", "A", "ActionBar", "AddonPanel", "Badge", "Bar", "Blockquote", "Button", "Code", "DL", "Div", "DocumentWrapper", "FlexBar", "Form", "H1", "H2", "H3", "H4", "H5", "H6", "HR", "IconButton", "IconButtonSkeleton", "Icons", "Img", "LI", "Link", "Loader", "OL", "P", "Placeholder", "Pre", "ResetWrapper", "ScrollArea", "Separator", "Spaced", "Span", "StorybookIcon", "StorybookLogo", "Symbols", "SyntaxHighlighter", "TT", "TabBar", "TabButton", "TabWrapper", "Table", "Tabs", "TabsState", "TooltipLinkList", "TooltipMessage", "TooltipNote", "UL", "WithTooltip", "WithTooltipPure", "Zoom", "codeCommon", "components", "createCopyToClipboardFunction", "components_default", "getStoryHref", "interleaveSeparators", "nameSpaceClassNames", "resetComponents", "withReset", "init_components", "__esmMin", "init_define_module", "init_define_process_env", "init_define_module", "init_define_process_env", "init_define_module", "init_define_process_env", "__create", "__defProp", "__getOwnPropDesc", "__getOwnPropNames", "__getProtoOf", "__hasOwnProp", "__copyProps", "to", "from", "except", "desc", "key", "__toESM", "mod", "isNodeMode", "target", "import_react6", "import_addons", "import_react5", "import_api3", "import_components4", "import_react4", "import_api2", "import_components3", "import_react", "import_components", "ToolbarMenuButton", "active", "title", "icon", "description", "onClick", "import_react2", "import_api", "disallowedCycleableItemTypes", "createCycleValueArray", "items", "item", "ADDON_ID", "registerShortcuts", "api", "id", "shortcuts", "withKeyboardCycle", "Component", "props", "globals", "updateGlobals", "cycleValues", "currentValue", "reset", "setNext", "values", "currentIndex", "newCurrentIndex", "newCurrent", "setPrevious", "indexOf", "getSelectedItem", "getSelectedIcon", "selectedItem", "getSelectedTitle", "import_react3", "import_components2", "ToolbarMenuListItem", "left", "right", "value", "hideIcon", "Icon", "hasContent", "Item", "ToolbarMenuList", "name", "_icon", "_title", "showName", "preventDynamicIcon", "dynamicTitle", "hasGlobalValue", "handleItemClick", "onHide", "links", "type", "shouldReturn", "defaultItemValues", "normalizeArgType", "argType", "_item", "ToolbarManager", "globalTypes", "globalIds", "normalizedArgType"]
}
