@storybook/components 7.0.0-beta.5 → 7.0.0-beta.50

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 (43) hide show
  1. package/dist/{OverlayScrollbars-VWTZRU7C.mjs → OverlayScrollbars-VAV6LJAB.mjs} +2 -2
  2. package/dist/WithTooltip-5WWCYCAA.mjs +1 -0
  3. package/dist/chunk-7APEKCTA.mjs +1 -0
  4. package/dist/{chunk-IOFBLYQM.mjs → chunk-FC75IPGS.mjs} +1 -1
  5. package/dist/chunk-FD4M6EBV.mjs +1 -0
  6. package/dist/chunk-HEY5EL6Z.mjs +1 -0
  7. package/dist/{chunk-SXUFD7CC.mjs → chunk-MMDU3MGE.mjs} +1 -1
  8. package/dist/{chunk-E5MVGYXZ.mjs → chunk-MNETJUIT.mjs} +1 -1
  9. package/dist/{chunk-VNTVFYO7.mjs → chunk-RNFIKGLH.mjs} +1 -1
  10. package/dist/{chunk-X3PQBC5A.mjs → chunk-TB4TB4OW.mjs} +1 -1
  11. package/dist/{chunk-RPVBC4LJ.mjs → chunk-TMYDVTDE.mjs} +1 -1
  12. package/dist/{chunk-XGEY5Y7J.mjs → chunk-XHUUYXNA.mjs} +2 -2
  13. package/dist/chunk-Y5O7ZP4P.mjs +13 -0
  14. package/dist/core-PJ7T6LD2.mjs +4 -0
  15. package/dist/formatter-MGIGMU7Y.mjs +156 -0
  16. package/dist/index.d.ts +249 -140
  17. package/dist/index.js +146 -138
  18. package/dist/index.mjs +13 -5
  19. package/dist/javadoc-O7NMEBGX.mjs +1 -0
  20. package/dist/javadoclike-ZTEHLYIT.mjs +1 -0
  21. package/dist/js-templates-SAVU2B3Q.mjs +1 -0
  22. package/dist/jsdoc-KJKHHIVG.mjs +1 -0
  23. package/dist/latte-PPJMMNXV.mjs +1 -0
  24. package/dist/{php-DRGH5MPM.mjs → php-V4GX4MCC.mjs} +1 -1
  25. package/dist/php-extras-QDRCFA35.mjs +1 -0
  26. package/dist/phpdoc-KHOGCU5X.mjs +1 -0
  27. package/dist/{refractor-QTVBALC6.mjs → refractor-GHREBALV.mjs} +1 -1
  28. package/dist/{syntaxhighlighter-3EX6JOZ7.mjs → syntaxhighlighter-6JBF4TYN.mjs} +1 -1
  29. package/package.json +10 -12
  30. package/dist/WithTooltip-52JYBAXX.mjs +0 -9
  31. package/dist/chunk-4REFJGR7.mjs +0 -1
  32. package/dist/chunk-4V2BRVWI.mjs +0 -5
  33. package/dist/chunk-EOKYW7AH.mjs +0 -1
  34. package/dist/chunk-PAQOUFZV.mjs +0 -1
  35. package/dist/core-IP7TTIC7.mjs +0 -4
  36. package/dist/formatter-KS326MQU.mjs +0 -156
  37. package/dist/javadoc-CECZGLSI.mjs +0 -1
  38. package/dist/javadoclike-IPWRJSJT.mjs +0 -1
  39. package/dist/js-templates-ZWHNP3K4.mjs +0 -1
  40. package/dist/jsdoc-TSAABBWL.mjs +0 -1
  41. package/dist/latte-V2KQD3LR.mjs +0 -1
  42. package/dist/php-extras-JMBCHLPK.mjs +0 -1
  43. package/dist/phpdoc-DHYKPZFC.mjs +0 -1
package/dist/index.d.ts CHANGED
@@ -178,7 +178,7 @@ type SyntaxHighlighterProps = SyntaxHighlighterBaseProps & SyntaxHighlighterCust
178
178
  declare const LazySyntaxHighlighter: react__default.LazyExoticComponent<react__default.FC<SyntaxHighlighterProps>>;
179
179
  declare const SyntaxHighlighter: (props: ComponentProps<typeof LazySyntaxHighlighter>) => JSX.Element;
180
180
 
181
- declare function createCopyToClipboardFunction(): (text: string) => any;
181
+ declare function createCopyToClipboardFunction(): (text: string) => Promise<void>;
182
182
 
183
183
  interface ActionItem {
184
184
  title: string | JSX.Element;
@@ -271,12 +271,12 @@ declare const Form: _storybook_theming.StyledComponent<{
271
271
  as?: react.ElementType<any>;
272
272
  }, react.DetailedHTMLProps<react.FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>, {}> & {
273
273
  Field: react.FC<FieldProps>;
274
- Input: _storybook_theming.StyledComponent<Pick<Omit<react.HTMLProps<HTMLInputElement>, "height" | "size" | "valid" | "align"> & {
274
+ Input: _storybook_theming.StyledComponent<Pick<Omit<react.HTMLProps<HTMLInputElement>, "height" | "align" | "size" | "valid"> & {
275
275
  size?: Sizes;
276
276
  align?: Alignments;
277
277
  valid?: ValidationStates;
278
278
  height?: number;
279
- }, "download" | "href" | "hrefLang" | "media" | "rel" | "target" | "type" | "form" | "list" | "cite" | "cellPadding" | "cellSpacing" | "summary" | "width" | "alt" | "crossOrigin" | "height" | "sizes" | "src" | "srcSet" | "useMap" | "value" | "reversed" | "start" | "data" | "label" | "slot" | "span" | "style" | "title" | "pattern" | "className" | "color" | "content" | "translate" | "default" | "hidden" | "children" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disabled" | "wrap" | "key" | "rows" | "as" | "size" | "open" | "multiple" | "max" | "method" | "min" | "name" | "controls" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "valid" | "align" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "async" | "autoComplete" | "autoPlay" | "capture" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "coords" | "dateTime" | "defer" | "encType" | "frameBorder" | "headers" | "high" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "maxLength" | "mediaGroup" | "minLength" | "muted" | "noValidate" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "required" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "srcDoc" | "srcLang" | "step" | "wmode"> & react.RefAttributes<any> & {
279
+ }, "download" | "href" | "hrefLang" | "media" | "rel" | "target" | "type" | "form" | "list" | "cite" | "cellPadding" | "cellSpacing" | "summary" | "width" | "alt" | "crossOrigin" | "height" | "sizes" | "src" | "srcSet" | "useMap" | "value" | "reversed" | "start" | "data" | "label" | "slot" | "span" | "style" | "title" | "pattern" | "className" | "color" | "content" | "translate" | "default" | "hidden" | "children" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disabled" | "wrap" | "key" | "rows" | "align" | "as" | "size" | "open" | "multiple" | "max" | "method" | "min" | "name" | "controls" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "valid" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "async" | "autoComplete" | "autoPlay" | "capture" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "coords" | "dateTime" | "defer" | "encType" | "frameBorder" | "headers" | "high" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "maxLength" | "mediaGroup" | "minLength" | "muted" | "noValidate" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "required" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "srcDoc" | "srcLang" | "step" | "wmode"> & react.RefAttributes<any> & {
280
280
  theme?: _storybook_theming.Theme;
281
281
  } & {
282
282
  size?: Sizes;
@@ -286,7 +286,7 @@ declare const Form: _storybook_theming.StyledComponent<{
286
286
  }, {}, {}> & {
287
287
  displayName: string;
288
288
  };
289
- Select: _storybook_theming.StyledComponent<Omit<react.SelectHTMLAttributes<HTMLSelectElement>, "height" | "size" | "valid" | "align"> & {
289
+ Select: _storybook_theming.StyledComponent<Omit<react.SelectHTMLAttributes<HTMLSelectElement>, "height" | "align" | "size" | "valid"> & {
290
290
  size?: Sizes;
291
291
  align?: Alignments;
292
292
  valid?: ValidationStates;
@@ -296,7 +296,7 @@ declare const Form: _storybook_theming.StyledComponent<{
296
296
  }, {}, {}> & {
297
297
  displayName: string;
298
298
  };
299
- Textarea: _storybook_theming.StyledComponent<Omit<react_textarea_autosize.TextareaAutosizeProps, "height" | "size" | "valid" | "align"> & {
299
+ Textarea: _storybook_theming.StyledComponent<Omit<react_textarea_autosize.TextareaAutosizeProps, "height" | "align" | "size" | "valid"> & {
300
300
  size?: Sizes;
301
301
  align?: Alignments;
302
302
  valid?: ValidationStates;
@@ -441,6 +441,12 @@ declare type Modifier<Name, Options extends Obj> = {
441
441
  options?: Partial<Options>;
442
442
  data?: Obj;
443
443
  };
444
+ declare type Options = {
445
+ placement: Placement;
446
+ modifiers: Array<Partial<Modifier<any, any>>>;
447
+ strategy: PositioningStrategy;
448
+ onFirstUpdate?: (arg0: Partial<State>) => void;
449
+ };
444
450
  declare type OptionsGeneric<TModifier> = {
445
451
  placement: Placement;
446
452
  modifiers: Array<TModifier>;
@@ -458,25 +464,111 @@ declare type VirtualElement = {
458
464
  contextElement?: Element;
459
465
  };
460
466
 
467
+ declare const createPopper: <TModifier extends Partial<Modifier<any, any>>>(reference: Element | VirtualElement, popper: HTMLElement, options?: Partial<OptionsGeneric<TModifier>>) => Instance;
468
+
469
+ declare type TriggerType = 'click' | 'double-click' | 'right-click' | 'hover' | 'focus';
470
+ declare type Config = {
471
+ /**
472
+ * Whether to close the tooltip when its trigger is out of boundary
473
+ * @default false
474
+ */
475
+ closeOnTriggerHidden?: boolean;
476
+ /**
477
+ * Event or events that trigger the tooltip
478
+ * @default hover
479
+ */
480
+ trigger?: TriggerType | TriggerType[] | null;
481
+ /**
482
+ * Delay in hiding the tooltip (ms)
483
+ * @default 0
484
+ */
485
+ delayHide?: number;
486
+ /**
487
+ * Delay in showing the tooltip (ms)
488
+ * @default 0
489
+ */
490
+ delayShow?: number;
491
+ /**
492
+ * Whether to make the tooltip spawn at cursor position
493
+ * @default false
494
+ */
495
+ followCursor?: boolean;
496
+ /**
497
+ * Options to MutationObserver, used internally for updating
498
+ * tooltip position based on its DOM changes
499
+ * @default { attributes: true, childList: true, subtree: true }
500
+ */
501
+ mutationObserverOptions?: MutationObserverInit | null;
502
+ /**
503
+ * Whether tooltip is shown by default
504
+ * @default false
505
+ */
506
+ defaultVisible?: boolean;
507
+ /**
508
+ * Used to create controlled tooltip
509
+ */
510
+ visible?: boolean;
511
+ /**
512
+ * Called when the visibility of the tooltip changes
513
+ */
514
+ onVisibleChange?: (state: boolean) => void;
515
+ /**
516
+ * If `true`, a click outside the trigger element closes the tooltip
517
+ * @default true
518
+ */
519
+ closeOnOutsideClick?: boolean;
520
+ /**
521
+ * If `true`, hovering the tooltip will keep it open. Normally tooltip closes when the mouse cursor moves out of
522
+ * the trigger element. If it moves to the tooltip element, the tooltip stays open.
523
+ * @default false
524
+ */
525
+ interactive?: boolean;
526
+ /**
527
+ * Alias for popper.js placement, see https://popper.js.org/docs/v2/constructors/#placement
528
+ */
529
+ placement?: Placement;
530
+ /**
531
+ * Shorthand for popper.js offset modifier, see https://popper.js.org/docs/v2/modifiers/offset/
532
+ * @default [0, 6]
533
+ */
534
+ offset?: [number, number];
535
+ };
536
+ declare type PopperOptions = Partial<Options> & {
537
+ createPopper?: typeof createPopper;
538
+ };
539
+
461
540
  interface WithHideFn {
462
541
  onHide: () => void;
463
542
  }
464
- interface WithTooltipPureProps {
543
+ interface WithTooltipPureProps extends Omit<Config, 'closeOnOutsideClick'>, PopperOptions {
465
544
  svg?: boolean;
466
- trigger?: 'none' | 'hover' | 'click' | 'right-click';
467
- closeOnClick?: boolean;
468
- placement?: Placement;
469
- modifiers?: Array<Partial<Modifier<string, {}>>>;
545
+ withArrows?: boolean;
470
546
  hasChrome?: boolean;
471
547
  tooltip: ReactNode | ((p: WithHideFn) => ReactNode);
472
548
  children: ReactNode;
549
+ onDoubleClick?: () => void;
550
+ /**
551
+ * @deprecated use `defaultVisible` property instead. This property will be removed in SB 8.0
552
+ */
473
553
  tooltipShown?: boolean;
554
+ /**
555
+ * @deprecated use `closeOnOutsideClick` property instead. This property will be removed in SB 8.0
556
+ */
557
+ closeOnClick?: boolean;
558
+ /**
559
+ * @deprecated use `onVisibleChange` property instead. This property will be removed in SB 8.0
560
+ */
474
561
  onVisibilityChange?: (visibility: boolean) => void | boolean;
475
- onDoubleClick?: () => void;
562
+ /**
563
+ * If `true`, a click outside the trigger element closes the tooltip
564
+ * @default false
565
+ */
566
+ closeOnOutsideClick?: boolean;
476
567
  }
477
568
 
478
- declare const LazyWithTooltip: react__default.LazyExoticComponent<react__default.FC<WithTooltipPureProps & {
569
+ declare const LazyWithTooltip: react__default.LazyExoticComponent<react__default.FC<Omit<WithTooltipPureProps, "onVisibleChange"> & {
479
570
  startOpen?: boolean;
571
+ onVisibleChange?: (visible: boolean) => boolean | void;
480
572
  }>>;
481
573
  declare const WithTooltip: (props: ComponentProps<typeof LazyWithTooltip>) => JSX.Element;
482
574
  declare const LazyWithTooltipPure: react__default.LazyExoticComponent<react__default.FC<WithTooltipPureProps>>;
@@ -498,133 +590,6 @@ interface TooltipNoteProps {
498
590
  }
499
591
  declare const TooltipNote: FC<TooltipNoteProps>;
500
592
 
501
- interface ItemProps {
502
- disabled?: boolean;
503
- }
504
- declare const Item: _storybook_theming.StyledComponent<{
505
- theme?: _storybook_theming.Theme;
506
- as?: react__default.ElementType<any>;
507
- } & ItemProps, react__default.DetailedHTMLProps<react__default.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, {}>;
508
- type LinkWrapperType = FC<any>;
509
- interface ListItemProps extends Omit<ComponentProps<typeof Item>, 'href' | 'title'> {
510
- loading?: boolean;
511
- left?: ReactNode;
512
- title?: ReactNode;
513
- center?: ReactNode;
514
- right?: ReactNode;
515
- active?: boolean;
516
- disabled?: boolean;
517
- href?: string;
518
- LinkWrapper?: LinkWrapperType;
519
- }
520
-
521
- interface Link extends Omit<ListItemProps, 'onClick'> {
522
- id: string;
523
- isGatsby?: boolean;
524
- onClick?: (event: SyntheticEvent, item: ListItemProps) => void;
525
- }
526
- interface TooltipLinkListProps {
527
- links: Link[];
528
- LinkWrapper?: LinkWrapperType;
529
- }
530
- declare const TooltipLinkList: FC<TooltipLinkListProps>;
531
-
532
- declare const TabBar: _storybook_theming.StyledComponent<{
533
- theme?: _storybook_theming.Theme;
534
- as?: react__default.ElementType<any>;
535
- }, react__default.DetailedHTMLProps<react__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
536
- interface TabWrapperProps {
537
- active: boolean;
538
- render?: () => JSX.Element;
539
- children?: ReactNode;
540
- }
541
- declare const TabWrapper: FC<TabWrapperProps>;
542
- interface TabsProps {
543
- children?: FuncChildren[] | ReactNode;
544
- id?: string;
545
- tools?: ReactNode;
546
- selected?: string;
547
- actions?: {
548
- onSelect: (id: string) => void;
549
- } & Record<string, any>;
550
- backgroundColor?: string;
551
- absolute?: boolean;
552
- bordered?: boolean;
553
- }
554
- declare const Tabs: FC<TabsProps>;
555
- type FuncChildren = ({ active }: {
556
- active: boolean;
557
- }) => JSX.Element;
558
- interface TabsStateProps {
559
- children: FuncChildren[] | ReactNode;
560
- initial: string;
561
- absolute: boolean;
562
- bordered: boolean;
563
- backgroundColor: string;
564
- }
565
- interface TabsStateState {
566
- selected: string;
567
- }
568
- declare class TabsState extends Component<TabsStateProps, TabsStateState> {
569
- static defaultProps: TabsStateProps;
570
- constructor(props: TabsStateProps);
571
- handlers: {
572
- onSelect: (id: string) => void;
573
- };
574
- render(): JSX.Element;
575
- }
576
-
577
- interface BarButtonProps extends DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement> {
578
- href?: void;
579
- }
580
- interface BarLinkProps extends DetailedHTMLProps<AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement> {
581
- href: string;
582
- }
583
- interface TabButtonProps {
584
- active?: boolean;
585
- textColor?: string;
586
- }
587
- declare const TabButton: _storybook_theming.StyledComponent<((BarButtonProps | BarLinkProps) & {
588
- theme?: _storybook_theming.Theme;
589
- }) & TabButtonProps, {}, {}>;
590
- interface IconButtonProps {
591
- active?: boolean;
592
- disabled?: boolean;
593
- }
594
- declare const IconButton: _storybook_theming.StyledComponent<((BarButtonProps | BarLinkProps) & {
595
- theme?: _storybook_theming.Theme;
596
- }) & IconButtonProps, {}, {}>;
597
- declare const IconButtonSkeleton: () => JSX.Element;
598
-
599
- declare const Separator: _storybook_theming.StyledComponent<{
600
- theme?: _storybook_theming.Theme;
601
- as?: react__default.ElementType<any>;
602
- } & SeparatorProps, react__default.DetailedHTMLProps<react__default.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
603
- declare const interleaveSeparators: (list: any[]) => any;
604
- interface SeparatorProps {
605
- force?: boolean;
606
- }
607
-
608
- declare const Bar: _storybook_theming.StyledComponent<ScrollAreaProps & {
609
- children?: react__default.ReactNode;
610
- } & {
611
- theme?: _storybook_theming.Theme;
612
- } & {
613
- border?: boolean;
614
- }, {}, {}>;
615
- interface FlexBarProps {
616
- border?: boolean;
617
- children?: any;
618
- backgroundColor?: string;
619
- }
620
- declare const FlexBar: FC<FlexBarProps>;
621
-
622
- interface AddonPanelProps {
623
- active: boolean;
624
- children: ReactNode;
625
- }
626
- declare const AddonPanel: ({ active, children }: AddonPanelProps) => JSX.Element;
627
-
628
593
  declare const icons: {
629
594
  readonly user: JSX.Element;
630
595
  readonly useralt: JSX.Element;
@@ -779,6 +744,10 @@ declare const icons: {
779
744
  readonly rewind: JSX.Element;
780
745
  readonly fastforward: JSX.Element;
781
746
  readonly stopalt: JSX.Element;
747
+ readonly sidebyside: JSX.Element;
748
+ readonly stacked: JSX.Element;
749
+ readonly sun: JSX.Element;
750
+ readonly moon: JSX.Element;
782
751
  readonly book: JSX.Element;
783
752
  readonly document: JSX.Element;
784
753
  readonly copy: JSX.Element;
@@ -832,6 +801,146 @@ declare const icons: {
832
801
  };
833
802
  type IconKey = keyof typeof icons;
834
803
 
804
+ interface ItemProps {
805
+ disabled?: boolean;
806
+ }
807
+ declare const Item: _storybook_theming.StyledComponent<{
808
+ theme?: _storybook_theming.Theme;
809
+ as?: react__default.ElementType<any>;
810
+ } & ItemProps, react__default.DetailedHTMLProps<react__default.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, {}>;
811
+ type LinkWrapperType = FC<any>;
812
+ interface ListItemProps extends Omit<ComponentProps<typeof Item>, 'href' | 'title'> {
813
+ loading?: boolean;
814
+ /**
815
+ * @deprecated This property will be removed in SB 8.0
816
+ * Use `icon` property instead.
817
+ */
818
+ left?: ReactNode;
819
+ title?: ReactNode;
820
+ center?: ReactNode;
821
+ right?: ReactNode;
822
+ icon?: keyof typeof icons | ReactElement;
823
+ active?: boolean;
824
+ disabled?: boolean;
825
+ href?: string;
826
+ LinkWrapper?: LinkWrapperType;
827
+ isIndented?: boolean;
828
+ }
829
+ declare const ListItem: FC<ListItemProps>;
830
+
831
+ interface Link extends Omit<ListItemProps, 'onClick'> {
832
+ id: string;
833
+ isGatsby?: boolean;
834
+ onClick?: (event: SyntheticEvent, item: ListItemProps) => void;
835
+ }
836
+ interface TooltipLinkListProps {
837
+ links: Link[];
838
+ LinkWrapper?: LinkWrapperType;
839
+ }
840
+ declare const TooltipLinkList: FC<TooltipLinkListProps>;
841
+
842
+ declare const TabBar: _storybook_theming.StyledComponent<{
843
+ theme?: _storybook_theming.Theme;
844
+ as?: react__default.ElementType<any>;
845
+ }, react__default.DetailedHTMLProps<react__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
846
+ interface TabWrapperProps {
847
+ active: boolean;
848
+ render?: () => JSX.Element;
849
+ children?: ReactNode;
850
+ }
851
+ declare const TabWrapper: FC<TabWrapperProps>;
852
+ interface TabsProps {
853
+ children?: FuncChildren[] | ReactNode;
854
+ id?: string;
855
+ tools?: ReactNode;
856
+ selected?: string;
857
+ actions?: {
858
+ onSelect: (id: string) => void;
859
+ } & Record<string, any>;
860
+ backgroundColor?: string;
861
+ absolute?: boolean;
862
+ bordered?: boolean;
863
+ menuName?: string;
864
+ }
865
+ declare const Tabs: FC<TabsProps>;
866
+ type FuncChildren = ({ active }: {
867
+ active: boolean;
868
+ }) => JSX.Element;
869
+ interface TabsStateProps {
870
+ children: FuncChildren[] | ReactNode;
871
+ initial: string;
872
+ absolute: boolean;
873
+ bordered: boolean;
874
+ backgroundColor: string;
875
+ menuName: string;
876
+ }
877
+ interface TabsStateState {
878
+ selected: string;
879
+ }
880
+ declare class TabsState extends Component<TabsStateProps, TabsStateState> {
881
+ static defaultProps: TabsStateProps;
882
+ constructor(props: TabsStateProps);
883
+ handlers: {
884
+ onSelect: (id: string) => void;
885
+ };
886
+ render(): JSX.Element;
887
+ }
888
+
889
+ interface BarButtonProps extends DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement> {
890
+ href?: void;
891
+ target?: void;
892
+ }
893
+ interface BarLinkProps extends DetailedHTMLProps<AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement> {
894
+ disabled?: void;
895
+ href: string;
896
+ }
897
+ interface TabButtonProps {
898
+ active?: boolean;
899
+ textColor?: string;
900
+ }
901
+ declare const TabButton: _storybook_theming.StyledComponent<Pick<BarButtonProps | BarLinkProps, "href" | "target" | "type" | "slot" | "style" | "title" | "className" | "color" | "translate" | "hidden" | "children" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disabled" | "key"> & react__default.RefAttributes<HTMLAnchorElement | HTMLButtonElement> & {
902
+ theme?: _storybook_theming.Theme;
903
+ } & TabButtonProps, {}, {}>;
904
+ interface IconButtonProps {
905
+ active?: boolean;
906
+ disabled?: boolean;
907
+ }
908
+ declare const IconButton: _storybook_theming.StyledComponent<Pick<BarButtonProps | BarLinkProps, "href" | "target" | "type" | "slot" | "style" | "title" | "className" | "color" | "translate" | "hidden" | "children" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disabled" | "key"> & react__default.RefAttributes<HTMLAnchorElement | HTMLButtonElement> & {
909
+ theme?: _storybook_theming.Theme;
910
+ } & IconButtonProps, {}, {}>;
911
+ declare const IconButtonSkeleton: () => JSX.Element;
912
+
913
+ declare const Separator: _storybook_theming.StyledComponent<{
914
+ theme?: _storybook_theming.Theme;
915
+ as?: react__default.ElementType<any>;
916
+ } & SeparatorProps, react__default.DetailedHTMLProps<react__default.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
917
+ declare const interleaveSeparators: (list: any[]) => any;
918
+ interface SeparatorProps {
919
+ force?: boolean;
920
+ }
921
+
922
+ declare const Bar: _storybook_theming.StyledComponent<ScrollAreaProps & {
923
+ children?: react__default.ReactNode;
924
+ } & {
925
+ scrollable?: boolean;
926
+ } & {
927
+ theme?: _storybook_theming.Theme;
928
+ } & {
929
+ border?: boolean;
930
+ scrollable?: boolean;
931
+ }, {}, {}>;
932
+ interface FlexBarProps extends ComponentProps<typeof Bar> {
933
+ border?: boolean;
934
+ backgroundColor?: string;
935
+ }
936
+ declare const FlexBar: FC<FlexBarProps>;
937
+
938
+ interface AddonPanelProps {
939
+ active: boolean;
940
+ children: ReactNode;
941
+ }
942
+ declare const AddonPanel: ({ active, children }: AddonPanelProps) => JSX.Element;
943
+
835
944
  declare const Svg: _storybook_theming.StyledComponent<{
836
945
  theme?: _storybook_theming.Theme;
837
946
  as?: react__default.ElementType<any>;
@@ -925,4 +1034,4 @@ declare const components: {
925
1034
  };
926
1035
  declare const resetComponents: Record<string, ElementType>;
927
1036
 
928
- export { A, ActionBar, ActionItem, AddonPanel, Badge, Bar, Blockquote, Button, Code, DL, Div, DocumentWrapper, FlexBar, Form, H1, H2, H3, H4, H5, H6, HR, IconButton, IconButtonSkeleton, Icons, IconsProps, Img, LI, Link$1 as Link, Loader, OL, P, Placeholder, Pre, ResetWrapper, ScrollArea, Separator, Spaced, Span, StorybookIcon, StorybookLogo, Symbols, SyntaxHighlighter, SyntaxHighlighterFormatTypes, SyntaxHighlighterProps, SyntaxHighlighterRendererProps, TT, TabBar, TabButton, TabWrapper, Table, Tabs, TabsState, TooltipLinkList, TooltipMessage, TooltipNote, UL, WithTooltip, WithTooltipPure, Zoom, codeCommon, components, createCopyToClipboardFunction, getStoryHref, interleaveSeparators, nameSpaceClassNames, resetComponents, withReset };
1037
+ export { A, ActionBar, ActionItem, AddonPanel, Badge, Bar, Blockquote, Button, Code, DL, Div, DocumentWrapper, FlexBar, Form, H1, H2, H3, H4, H5, H6, HR, IconButton, IconButtonSkeleton, Icons, IconsProps, Img, LI, Link$1 as Link, ListItem, Loader, OL, P, Placeholder, Pre, ResetWrapper, ScrollArea, Separator, Spaced, Span, StorybookIcon, StorybookLogo, Symbols, SyntaxHighlighter, SyntaxHighlighterFormatTypes, SyntaxHighlighterProps, SyntaxHighlighterRendererProps, TT, TabBar, TabButton, TabWrapper, Table, Tabs, TabsState, TooltipLinkList, Link as TooltipLinkListLink, TooltipMessage, TooltipNote, UL, WithTooltip, WithTooltipPure, Zoom, codeCommon, components, createCopyToClipboardFunction, getStoryHref, icons, interleaveSeparators, nameSpaceClassNames, resetComponents, withReset };