@storybook/components 7.0.0-beta.6 → 7.0.0-beta.60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{OverlayScrollbars-VWTZRU7C.mjs → OverlayScrollbars-VAV6LJAB.mjs} +2 -2
- package/dist/WithTooltip-5WWCYCAA.mjs +1 -0
- package/dist/chunk-7APEKCTA.mjs +1 -0
- package/dist/{chunk-IOFBLYQM.mjs → chunk-FC75IPGS.mjs} +1 -1
- package/dist/chunk-FD4M6EBV.mjs +1 -0
- package/dist/chunk-HEY5EL6Z.mjs +1 -0
- package/dist/{chunk-SXUFD7CC.mjs → chunk-MMDU3MGE.mjs} +1 -1
- package/dist/{chunk-E5MVGYXZ.mjs → chunk-MNETJUIT.mjs} +1 -1
- package/dist/{chunk-6GBBAFYE.mjs → chunk-OLF4PGGZ.mjs} +1 -1
- package/dist/{chunk-XGEY5Y7J.mjs → chunk-RDJSMFWU.mjs} +2 -2
- package/dist/{chunk-VNTVFYO7.mjs → chunk-RNFIKGLH.mjs} +1 -1
- package/dist/{chunk-X3PQBC5A.mjs → chunk-TB4TB4OW.mjs} +1 -1
- package/dist/{chunk-RPVBC4LJ.mjs → chunk-TMYDVTDE.mjs} +1 -1
- package/dist/chunk-Y5O7ZP4P.mjs +13 -0
- package/dist/{core-LOKOE3OX.mjs → core-CE2MPYOS.mjs} +1 -1
- package/dist/core-PJ7T6LD2.mjs +4 -0
- package/dist/formatter-MGIGMU7Y.mjs +156 -0
- package/dist/index.d.ts +253 -140
- package/dist/index.js +148 -138
- package/dist/index.mjs +15 -5
- package/dist/javadoc-O7NMEBGX.mjs +1 -0
- package/dist/javadoclike-ZTEHLYIT.mjs +1 -0
- package/dist/js-templates-SAVU2B3Q.mjs +1 -0
- package/dist/jsdoc-KJKHHIVG.mjs +1 -0
- package/dist/latte-PPJMMNXV.mjs +1 -0
- package/dist/{php-DRGH5MPM.mjs → php-V4GX4MCC.mjs} +1 -1
- package/dist/php-extras-QDRCFA35.mjs +1 -0
- package/dist/phpdoc-KHOGCU5X.mjs +1 -0
- package/dist/{refractor-QTVBALC6.mjs → refractor-A24SKUXW.mjs} +1 -1
- package/dist/{syntaxhighlighter-3EX6JOZ7.mjs → syntaxhighlighter-QTQ2UBB4.mjs} +1 -1
- package/package.json +10 -12
- package/dist/WithTooltip-52JYBAXX.mjs +0 -9
- package/dist/chunk-4REFJGR7.mjs +0 -1
- package/dist/chunk-4V2BRVWI.mjs +0 -5
- package/dist/chunk-EOKYW7AH.mjs +0 -1
- package/dist/chunk-PAQOUFZV.mjs +0 -1
- package/dist/core-IP7TTIC7.mjs +0 -4
- package/dist/formatter-KS326MQU.mjs +0 -156
- package/dist/javadoc-CECZGLSI.mjs +0 -1
- package/dist/javadoclike-IPWRJSJT.mjs +0 -1
- package/dist/js-templates-ZWHNP3K4.mjs +0 -1
- package/dist/jsdoc-TSAABBWL.mjs +0 -1
- package/dist/latte-V2KQD3LR.mjs +0 -1
- package/dist/php-extras-JMBCHLPK.mjs +0 -1
- 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) =>
|
|
181
|
+
declare function createCopyToClipboardFunction(): (text: string) => Promise<void>;
|
|
182
182
|
|
|
183
183
|
interface ActionItem {
|
|
184
184
|
title: string | JSX.Element;
|
|
@@ -238,6 +238,10 @@ declare const Zoom: {
|
|
|
238
238
|
IFrame: typeof ZoomIFrame;
|
|
239
239
|
};
|
|
240
240
|
|
|
241
|
+
declare const ErrorFormatter: FC<{
|
|
242
|
+
error: Error;
|
|
243
|
+
}>;
|
|
244
|
+
|
|
241
245
|
declare const ButtonWrapper: _storybook_theming.StyledComponent<{
|
|
242
246
|
theme?: _storybook_theming.Theme;
|
|
243
247
|
as?: react__default.ElementType<any>;
|
|
@@ -271,12 +275,12 @@ declare const Form: _storybook_theming.StyledComponent<{
|
|
|
271
275
|
as?: react.ElementType<any>;
|
|
272
276
|
}, react.DetailedHTMLProps<react.FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>, {}> & {
|
|
273
277
|
Field: react.FC<FieldProps>;
|
|
274
|
-
Input: _storybook_theming.StyledComponent<Pick<Omit<react.HTMLProps<HTMLInputElement>, "height" | "
|
|
278
|
+
Input: _storybook_theming.StyledComponent<Pick<Omit<react.HTMLProps<HTMLInputElement>, "height" | "align" | "size" | "valid"> & {
|
|
275
279
|
size?: Sizes;
|
|
276
280
|
align?: Alignments;
|
|
277
281
|
valid?: ValidationStates;
|
|
278
282
|
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" | "
|
|
283
|
+
}, "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
284
|
theme?: _storybook_theming.Theme;
|
|
281
285
|
} & {
|
|
282
286
|
size?: Sizes;
|
|
@@ -286,7 +290,7 @@ declare const Form: _storybook_theming.StyledComponent<{
|
|
|
286
290
|
}, {}, {}> & {
|
|
287
291
|
displayName: string;
|
|
288
292
|
};
|
|
289
|
-
Select: _storybook_theming.StyledComponent<Omit<react.SelectHTMLAttributes<HTMLSelectElement>, "height" | "
|
|
293
|
+
Select: _storybook_theming.StyledComponent<Omit<react.SelectHTMLAttributes<HTMLSelectElement>, "height" | "align" | "size" | "valid"> & {
|
|
290
294
|
size?: Sizes;
|
|
291
295
|
align?: Alignments;
|
|
292
296
|
valid?: ValidationStates;
|
|
@@ -296,7 +300,7 @@ declare const Form: _storybook_theming.StyledComponent<{
|
|
|
296
300
|
}, {}, {}> & {
|
|
297
301
|
displayName: string;
|
|
298
302
|
};
|
|
299
|
-
Textarea: _storybook_theming.StyledComponent<Omit<react_textarea_autosize.TextareaAutosizeProps, "height" | "
|
|
303
|
+
Textarea: _storybook_theming.StyledComponent<Omit<react_textarea_autosize.TextareaAutosizeProps, "height" | "align" | "size" | "valid"> & {
|
|
300
304
|
size?: Sizes;
|
|
301
305
|
align?: Alignments;
|
|
302
306
|
valid?: ValidationStates;
|
|
@@ -441,6 +445,12 @@ declare type Modifier<Name, Options extends Obj> = {
|
|
|
441
445
|
options?: Partial<Options>;
|
|
442
446
|
data?: Obj;
|
|
443
447
|
};
|
|
448
|
+
declare type Options = {
|
|
449
|
+
placement: Placement;
|
|
450
|
+
modifiers: Array<Partial<Modifier<any, any>>>;
|
|
451
|
+
strategy: PositioningStrategy;
|
|
452
|
+
onFirstUpdate?: (arg0: Partial<State>) => void;
|
|
453
|
+
};
|
|
444
454
|
declare type OptionsGeneric<TModifier> = {
|
|
445
455
|
placement: Placement;
|
|
446
456
|
modifiers: Array<TModifier>;
|
|
@@ -458,25 +468,111 @@ declare type VirtualElement = {
|
|
|
458
468
|
contextElement?: Element;
|
|
459
469
|
};
|
|
460
470
|
|
|
471
|
+
declare const createPopper: <TModifier extends Partial<Modifier<any, any>>>(reference: Element | VirtualElement, popper: HTMLElement, options?: Partial<OptionsGeneric<TModifier>>) => Instance;
|
|
472
|
+
|
|
473
|
+
declare type TriggerType = 'click' | 'double-click' | 'right-click' | 'hover' | 'focus';
|
|
474
|
+
declare type Config = {
|
|
475
|
+
/**
|
|
476
|
+
* Whether to close the tooltip when its trigger is out of boundary
|
|
477
|
+
* @default false
|
|
478
|
+
*/
|
|
479
|
+
closeOnTriggerHidden?: boolean;
|
|
480
|
+
/**
|
|
481
|
+
* Event or events that trigger the tooltip
|
|
482
|
+
* @default hover
|
|
483
|
+
*/
|
|
484
|
+
trigger?: TriggerType | TriggerType[] | null;
|
|
485
|
+
/**
|
|
486
|
+
* Delay in hiding the tooltip (ms)
|
|
487
|
+
* @default 0
|
|
488
|
+
*/
|
|
489
|
+
delayHide?: number;
|
|
490
|
+
/**
|
|
491
|
+
* Delay in showing the tooltip (ms)
|
|
492
|
+
* @default 0
|
|
493
|
+
*/
|
|
494
|
+
delayShow?: number;
|
|
495
|
+
/**
|
|
496
|
+
* Whether to make the tooltip spawn at cursor position
|
|
497
|
+
* @default false
|
|
498
|
+
*/
|
|
499
|
+
followCursor?: boolean;
|
|
500
|
+
/**
|
|
501
|
+
* Options to MutationObserver, used internally for updating
|
|
502
|
+
* tooltip position based on its DOM changes
|
|
503
|
+
* @default { attributes: true, childList: true, subtree: true }
|
|
504
|
+
*/
|
|
505
|
+
mutationObserverOptions?: MutationObserverInit | null;
|
|
506
|
+
/**
|
|
507
|
+
* Whether tooltip is shown by default
|
|
508
|
+
* @default false
|
|
509
|
+
*/
|
|
510
|
+
defaultVisible?: boolean;
|
|
511
|
+
/**
|
|
512
|
+
* Used to create controlled tooltip
|
|
513
|
+
*/
|
|
514
|
+
visible?: boolean;
|
|
515
|
+
/**
|
|
516
|
+
* Called when the visibility of the tooltip changes
|
|
517
|
+
*/
|
|
518
|
+
onVisibleChange?: (state: boolean) => void;
|
|
519
|
+
/**
|
|
520
|
+
* If `true`, a click outside the trigger element closes the tooltip
|
|
521
|
+
* @default true
|
|
522
|
+
*/
|
|
523
|
+
closeOnOutsideClick?: boolean;
|
|
524
|
+
/**
|
|
525
|
+
* If `true`, hovering the tooltip will keep it open. Normally tooltip closes when the mouse cursor moves out of
|
|
526
|
+
* the trigger element. If it moves to the tooltip element, the tooltip stays open.
|
|
527
|
+
* @default false
|
|
528
|
+
*/
|
|
529
|
+
interactive?: boolean;
|
|
530
|
+
/**
|
|
531
|
+
* Alias for popper.js placement, see https://popper.js.org/docs/v2/constructors/#placement
|
|
532
|
+
*/
|
|
533
|
+
placement?: Placement;
|
|
534
|
+
/**
|
|
535
|
+
* Shorthand for popper.js offset modifier, see https://popper.js.org/docs/v2/modifiers/offset/
|
|
536
|
+
* @default [0, 6]
|
|
537
|
+
*/
|
|
538
|
+
offset?: [number, number];
|
|
539
|
+
};
|
|
540
|
+
declare type PopperOptions = Partial<Options> & {
|
|
541
|
+
createPopper?: typeof createPopper;
|
|
542
|
+
};
|
|
543
|
+
|
|
461
544
|
interface WithHideFn {
|
|
462
545
|
onHide: () => void;
|
|
463
546
|
}
|
|
464
|
-
interface WithTooltipPureProps {
|
|
547
|
+
interface WithTooltipPureProps extends Omit<Config, 'closeOnOutsideClick'>, PopperOptions {
|
|
465
548
|
svg?: boolean;
|
|
466
|
-
|
|
467
|
-
closeOnClick?: boolean;
|
|
468
|
-
placement?: Placement;
|
|
469
|
-
modifiers?: Array<Partial<Modifier<string, {}>>>;
|
|
549
|
+
withArrows?: boolean;
|
|
470
550
|
hasChrome?: boolean;
|
|
471
551
|
tooltip: ReactNode | ((p: WithHideFn) => ReactNode);
|
|
472
552
|
children: ReactNode;
|
|
553
|
+
onDoubleClick?: () => void;
|
|
554
|
+
/**
|
|
555
|
+
* @deprecated use `defaultVisible` property instead. This property will be removed in SB 8.0
|
|
556
|
+
*/
|
|
473
557
|
tooltipShown?: boolean;
|
|
558
|
+
/**
|
|
559
|
+
* @deprecated use `closeOnOutsideClick` property instead. This property will be removed in SB 8.0
|
|
560
|
+
*/
|
|
561
|
+
closeOnClick?: boolean;
|
|
562
|
+
/**
|
|
563
|
+
* @deprecated use `onVisibleChange` property instead. This property will be removed in SB 8.0
|
|
564
|
+
*/
|
|
474
565
|
onVisibilityChange?: (visibility: boolean) => void | boolean;
|
|
475
|
-
|
|
566
|
+
/**
|
|
567
|
+
* If `true`, a click outside the trigger element closes the tooltip
|
|
568
|
+
* @default false
|
|
569
|
+
*/
|
|
570
|
+
closeOnOutsideClick?: boolean;
|
|
476
571
|
}
|
|
477
572
|
|
|
478
|
-
declare const LazyWithTooltip: react__default.LazyExoticComponent<react__default.FC<WithTooltipPureProps & {
|
|
573
|
+
declare const LazyWithTooltip: react__default.LazyExoticComponent<react__default.FC<Omit<WithTooltipPureProps, "onVisibleChange"> & {
|
|
479
574
|
startOpen?: boolean;
|
|
575
|
+
onVisibleChange?: (visible: boolean) => boolean | void;
|
|
480
576
|
}>>;
|
|
481
577
|
declare const WithTooltip: (props: ComponentProps<typeof LazyWithTooltip>) => JSX.Element;
|
|
482
578
|
declare const LazyWithTooltipPure: react__default.LazyExoticComponent<react__default.FC<WithTooltipPureProps>>;
|
|
@@ -498,133 +594,6 @@ interface TooltipNoteProps {
|
|
|
498
594
|
}
|
|
499
595
|
declare const TooltipNote: FC<TooltipNoteProps>;
|
|
500
596
|
|
|
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
597
|
declare const icons: {
|
|
629
598
|
readonly user: JSX.Element;
|
|
630
599
|
readonly useralt: JSX.Element;
|
|
@@ -779,6 +748,10 @@ declare const icons: {
|
|
|
779
748
|
readonly rewind: JSX.Element;
|
|
780
749
|
readonly fastforward: JSX.Element;
|
|
781
750
|
readonly stopalt: JSX.Element;
|
|
751
|
+
readonly sidebyside: JSX.Element;
|
|
752
|
+
readonly stacked: JSX.Element;
|
|
753
|
+
readonly sun: JSX.Element;
|
|
754
|
+
readonly moon: JSX.Element;
|
|
782
755
|
readonly book: JSX.Element;
|
|
783
756
|
readonly document: JSX.Element;
|
|
784
757
|
readonly copy: JSX.Element;
|
|
@@ -832,6 +805,146 @@ declare const icons: {
|
|
|
832
805
|
};
|
|
833
806
|
type IconKey = keyof typeof icons;
|
|
834
807
|
|
|
808
|
+
interface ItemProps {
|
|
809
|
+
disabled?: boolean;
|
|
810
|
+
}
|
|
811
|
+
declare const Item: _storybook_theming.StyledComponent<{
|
|
812
|
+
theme?: _storybook_theming.Theme;
|
|
813
|
+
as?: react__default.ElementType<any>;
|
|
814
|
+
} & ItemProps, react__default.DetailedHTMLProps<react__default.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, {}>;
|
|
815
|
+
type LinkWrapperType = FC<any>;
|
|
816
|
+
interface ListItemProps extends Omit<ComponentProps<typeof Item>, 'href' | 'title'> {
|
|
817
|
+
loading?: boolean;
|
|
818
|
+
/**
|
|
819
|
+
* @deprecated This property will be removed in SB 8.0
|
|
820
|
+
* Use `icon` property instead.
|
|
821
|
+
*/
|
|
822
|
+
left?: ReactNode;
|
|
823
|
+
title?: ReactNode;
|
|
824
|
+
center?: ReactNode;
|
|
825
|
+
right?: ReactNode;
|
|
826
|
+
icon?: keyof typeof icons | ReactElement;
|
|
827
|
+
active?: boolean;
|
|
828
|
+
disabled?: boolean;
|
|
829
|
+
href?: string;
|
|
830
|
+
LinkWrapper?: LinkWrapperType;
|
|
831
|
+
isIndented?: boolean;
|
|
832
|
+
}
|
|
833
|
+
declare const ListItem: FC<ListItemProps>;
|
|
834
|
+
|
|
835
|
+
interface Link extends Omit<ListItemProps, 'onClick'> {
|
|
836
|
+
id: string;
|
|
837
|
+
isGatsby?: boolean;
|
|
838
|
+
onClick?: (event: SyntheticEvent, item: ListItemProps) => void;
|
|
839
|
+
}
|
|
840
|
+
interface TooltipLinkListProps {
|
|
841
|
+
links: Link[];
|
|
842
|
+
LinkWrapper?: LinkWrapperType;
|
|
843
|
+
}
|
|
844
|
+
declare const TooltipLinkList: FC<TooltipLinkListProps>;
|
|
845
|
+
|
|
846
|
+
declare const TabBar: _storybook_theming.StyledComponent<{
|
|
847
|
+
theme?: _storybook_theming.Theme;
|
|
848
|
+
as?: react__default.ElementType<any>;
|
|
849
|
+
}, react__default.DetailedHTMLProps<react__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
850
|
+
interface TabWrapperProps {
|
|
851
|
+
active: boolean;
|
|
852
|
+
render?: () => JSX.Element;
|
|
853
|
+
children?: ReactNode;
|
|
854
|
+
}
|
|
855
|
+
declare const TabWrapper: FC<TabWrapperProps>;
|
|
856
|
+
interface TabsProps {
|
|
857
|
+
children?: FuncChildren[] | ReactNode;
|
|
858
|
+
id?: string;
|
|
859
|
+
tools?: ReactNode;
|
|
860
|
+
selected?: string;
|
|
861
|
+
actions?: {
|
|
862
|
+
onSelect: (id: string) => void;
|
|
863
|
+
} & Record<string, any>;
|
|
864
|
+
backgroundColor?: string;
|
|
865
|
+
absolute?: boolean;
|
|
866
|
+
bordered?: boolean;
|
|
867
|
+
menuName?: string;
|
|
868
|
+
}
|
|
869
|
+
declare const Tabs: FC<TabsProps>;
|
|
870
|
+
type FuncChildren = ({ active }: {
|
|
871
|
+
active: boolean;
|
|
872
|
+
}) => JSX.Element;
|
|
873
|
+
interface TabsStateProps {
|
|
874
|
+
children: FuncChildren[] | ReactNode;
|
|
875
|
+
initial: string;
|
|
876
|
+
absolute: boolean;
|
|
877
|
+
bordered: boolean;
|
|
878
|
+
backgroundColor: string;
|
|
879
|
+
menuName: string;
|
|
880
|
+
}
|
|
881
|
+
interface TabsStateState {
|
|
882
|
+
selected: string;
|
|
883
|
+
}
|
|
884
|
+
declare class TabsState extends Component<TabsStateProps, TabsStateState> {
|
|
885
|
+
static defaultProps: TabsStateProps;
|
|
886
|
+
constructor(props: TabsStateProps);
|
|
887
|
+
handlers: {
|
|
888
|
+
onSelect: (id: string) => void;
|
|
889
|
+
};
|
|
890
|
+
render(): JSX.Element;
|
|
891
|
+
}
|
|
892
|
+
|
|
893
|
+
interface BarButtonProps extends DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement> {
|
|
894
|
+
href?: void;
|
|
895
|
+
target?: void;
|
|
896
|
+
}
|
|
897
|
+
interface BarLinkProps extends DetailedHTMLProps<AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement> {
|
|
898
|
+
disabled?: void;
|
|
899
|
+
href: string;
|
|
900
|
+
}
|
|
901
|
+
interface TabButtonProps {
|
|
902
|
+
active?: boolean;
|
|
903
|
+
textColor?: string;
|
|
904
|
+
}
|
|
905
|
+
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> & {
|
|
906
|
+
theme?: _storybook_theming.Theme;
|
|
907
|
+
} & TabButtonProps, {}, {}>;
|
|
908
|
+
interface IconButtonProps {
|
|
909
|
+
active?: boolean;
|
|
910
|
+
disabled?: boolean;
|
|
911
|
+
}
|
|
912
|
+
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> & {
|
|
913
|
+
theme?: _storybook_theming.Theme;
|
|
914
|
+
} & IconButtonProps, {}, {}>;
|
|
915
|
+
declare const IconButtonSkeleton: () => JSX.Element;
|
|
916
|
+
|
|
917
|
+
declare const Separator: _storybook_theming.StyledComponent<{
|
|
918
|
+
theme?: _storybook_theming.Theme;
|
|
919
|
+
as?: react__default.ElementType<any>;
|
|
920
|
+
} & SeparatorProps, react__default.DetailedHTMLProps<react__default.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
921
|
+
declare const interleaveSeparators: (list: any[]) => any;
|
|
922
|
+
interface SeparatorProps {
|
|
923
|
+
force?: boolean;
|
|
924
|
+
}
|
|
925
|
+
|
|
926
|
+
declare const Bar: _storybook_theming.StyledComponent<ScrollAreaProps & {
|
|
927
|
+
children?: react__default.ReactNode;
|
|
928
|
+
} & {
|
|
929
|
+
scrollable?: boolean;
|
|
930
|
+
} & {
|
|
931
|
+
theme?: _storybook_theming.Theme;
|
|
932
|
+
} & {
|
|
933
|
+
border?: boolean;
|
|
934
|
+
scrollable?: boolean;
|
|
935
|
+
}, {}, {}>;
|
|
936
|
+
interface FlexBarProps extends ComponentProps<typeof Bar> {
|
|
937
|
+
border?: boolean;
|
|
938
|
+
backgroundColor?: string;
|
|
939
|
+
}
|
|
940
|
+
declare const FlexBar: FC<FlexBarProps>;
|
|
941
|
+
|
|
942
|
+
interface AddonPanelProps {
|
|
943
|
+
active: boolean;
|
|
944
|
+
children: ReactNode;
|
|
945
|
+
}
|
|
946
|
+
declare const AddonPanel: ({ active, children }: AddonPanelProps) => JSX.Element;
|
|
947
|
+
|
|
835
948
|
declare const Svg: _storybook_theming.StyledComponent<{
|
|
836
949
|
theme?: _storybook_theming.Theme;
|
|
837
950
|
as?: react__default.ElementType<any>;
|
|
@@ -925,4 +1038,4 @@ declare const components: {
|
|
|
925
1038
|
};
|
|
926
1039
|
declare const resetComponents: Record<string, ElementType>;
|
|
927
1040
|
|
|
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 };
|
|
1041
|
+
export { A, ActionBar, ActionItem, AddonPanel, Badge, Bar, Blockquote, Button, Code, DL, Div, DocumentWrapper, ErrorFormatter, 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 };
|