@storybook/components 6.0.0-alpha.19 → 6.0.0-alpha.2

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 (91) hide show
  1. package/dist/Button/Button.js +1 -1
  2. package/dist/ScrollArea/ScrollArea.js +1 -1
  3. package/dist/ScrollArea/ScrollArea.stories.js +1 -1
  4. package/dist/addon-panel/addon-panel.js +1 -1
  5. package/dist/bar/bar.js +1 -1
  6. package/dist/bar/separator.js +1 -1
  7. package/dist/blocks/DocsPage.stories.js +1 -1
  8. package/dist/blocks/IFrame.js +1 -1
  9. package/dist/blocks/Preview.js +1 -1
  10. package/dist/blocks/Preview.stories.js +1 -1
  11. package/dist/blocks/PropsTable/PropJsDoc.js +3 -1
  12. package/dist/blocks/PropsTable/PropRow.js +4 -2
  13. package/dist/blocks/PropsTable/PropValue.js +5 -3
  14. package/dist/blocks/Story.js +1 -1
  15. package/dist/blocks/Story.stories.js +1 -1
  16. package/dist/blocks/Toolbar.js +1 -1
  17. package/dist/form/index.d.ts +2 -2
  18. package/dist/form/input/input.d.ts +2 -2
  19. package/dist/form/input/input.js +1 -1
  20. package/dist/html.d.ts +1 -2
  21. package/dist/html.js +79 -10
  22. package/dist/placeholder/placeholder.js +1 -1
  23. package/dist/placeholder/placeholder.stories.js +1 -1
  24. package/dist/syntaxhighlighter/syntaxhighlighter.d.ts +1 -1
  25. package/dist/syntaxhighlighter/syntaxhighlighter.js +8 -8
  26. package/dist/syntaxhighlighter/syntaxhighlighter.stories.js +1 -1
  27. package/dist/tabs/tabs.d.ts +5 -5
  28. package/dist/tabs/tabs.js +17 -10
  29. package/dist/tabs/tabs.stories.js +1 -1
  30. package/dist/tooltip/TooltipLinkList.stories.js +1 -1
  31. package/dist/tooltip/WithTooltip.js +1 -1
  32. package/dist/typography/DocumentFormatting.d.ts +0 -24
  33. package/dist/typography/DocumentFormatting.js +2 -88
  34. package/package.json +11 -18
  35. package/ts3.5/dist/ActionBar/ActionBar.d.ts +0 -13
  36. package/ts3.5/dist/Badge/Badge.d.ts +0 -5
  37. package/ts3.5/dist/Button/Button.d.ts +0 -17
  38. package/ts3.5/dist/Loader/Loader.d.ts +0 -3
  39. package/ts3.5/dist/ScrollArea/ScrollArea.d.ts +0 -12
  40. package/ts3.5/dist/ScrollArea/ScrollAreaStyles.d.ts +0 -2
  41. package/ts3.5/dist/addon-panel/addon-panel.d.ts +0 -6
  42. package/ts3.5/dist/bar/bar.d.ts +0 -12
  43. package/ts3.5/dist/bar/button.d.ts +0 -25
  44. package/ts3.5/dist/bar/separator.d.ts +0 -6
  45. package/ts3.5/dist/blocks/BlockBackgroundStyles.d.ts +0 -2
  46. package/ts3.5/dist/blocks/ColorPalette.d.ts +0 -20
  47. package/ts3.5/dist/blocks/Description.d.ts +0 -9
  48. package/ts3.5/dist/blocks/DocsPage.d.ts +0 -11
  49. package/ts3.5/dist/blocks/EmptyBlock.d.ts +0 -1
  50. package/ts3.5/dist/blocks/IFrame.d.ts +0 -24
  51. package/ts3.5/dist/blocks/IconGallery.d.ts +0 -13
  52. package/ts3.5/dist/blocks/Preview.d.ts +0 -17
  53. package/ts3.5/dist/blocks/PropsTable/PropDef.d.ts +0 -25
  54. package/ts3.5/dist/blocks/PropsTable/PropJsDoc.d.ts +0 -8
  55. package/ts3.5/dist/blocks/PropsTable/PropRow.d.ts +0 -6
  56. package/ts3.5/dist/blocks/PropsTable/PropValue.d.ts +0 -7
  57. package/ts3.5/dist/blocks/PropsTable/PropsTable.d.ts +0 -23
  58. package/ts3.5/dist/blocks/PropsTable/SectionRow.d.ts +0 -5
  59. package/ts3.5/dist/blocks/Source.d.ts +0 -20
  60. package/ts3.5/dist/blocks/Story.d.ts +0 -25
  61. package/ts3.5/dist/blocks/Toolbar.d.ts +0 -15
  62. package/ts3.5/dist/blocks/Typeset.d.ts +0 -12
  63. package/ts3.5/dist/blocks/ZoomContext.d.ts +0 -4
  64. package/ts3.5/dist/blocks/index.d.ts +0 -10
  65. package/ts3.5/dist/brand/StorybookIcon.d.ts +0 -2
  66. package/ts3.5/dist/brand/StorybookLogo.d.ts +0 -5
  67. package/ts3.5/dist/form/field/field.d.ts +0 -5
  68. package/ts3.5/dist/form/index.d.ts +0 -16
  69. package/ts3.5/dist/form/input/input.d.ts +0 -25
  70. package/ts3.5/dist/html.d.ts +0 -3
  71. package/ts3.5/dist/icon/icon.d.ts +0 -7
  72. package/ts3.5/dist/icon/icons.d.ts +0 -155
  73. package/ts3.5/dist/icon/svg.d.ts +0 -6
  74. package/ts3.5/dist/index.d.ts +0 -24
  75. package/ts3.5/dist/placeholder/placeholder.d.ts +0 -2
  76. package/ts3.5/dist/shared/animation.d.ts +0 -1
  77. package/ts3.5/dist/spaced/Spaced.d.ts +0 -12
  78. package/ts3.5/dist/syntaxhighlighter/formatter.d.ts +0 -1
  79. package/ts3.5/dist/syntaxhighlighter/syntaxhighlighter.d.ts +0 -31
  80. package/ts3.5/dist/tabs/tabs.d.ts +0 -51
  81. package/ts3.5/dist/tooltip/ListItem.d.ts +0 -34
  82. package/ts3.5/dist/tooltip/Tooltip.d.ts +0 -21
  83. package/ts3.5/dist/tooltip/TooltipLinkList.d.ts +0 -11
  84. package/ts3.5/dist/tooltip/TooltipMessage.d.ts +0 -11
  85. package/ts3.5/dist/tooltip/TooltipNote.d.ts +0 -5
  86. package/ts3.5/dist/tooltip/WithTooltip.d.ts +0 -23
  87. package/ts3.5/dist/typography/DocumentFormatting.d.ts +0 -54
  88. package/ts3.5/dist/typography/DocumentWrapper.d.ts +0 -2
  89. package/ts3.5/dist/typography/link/link.d.ts +0 -22
  90. package/ts3.5/dist/typography/link/link.test.d.ts +0 -1
  91. package/ts3.5/dist/typography/shared.d.ts +0 -11
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/components",
3
- "version": "6.0.0-alpha.19",
3
+ "version": "6.0.0-alpha.2",
4
4
  "description": "Core Storybook Components",
5
5
  "keywords": [
6
6
  "storybook"
@@ -15,29 +15,29 @@
15
15
  "directory": "lib/components"
16
16
  },
17
17
  "license": "MIT",
18
- "main": "dist/index.js",
19
- "types": "dist/index.d.ts",
20
18
  "files": [
21
19
  "dist/**/*",
22
20
  "README.md",
23
21
  "*.js",
24
- "*.d.ts",
25
- "ts3.5/**/*"
22
+ "*.d.ts"
26
23
  ],
24
+ "main": "dist/index.js",
25
+ "types": "dist/index.d.ts",
27
26
  "scripts": {
28
27
  "prepare": "node ../../scripts/prepare.js"
29
28
  },
30
29
  "dependencies": {
31
- "@storybook/client-logger": "6.0.0-alpha.19",
32
- "@storybook/theming": "6.0.0-alpha.19",
30
+ "@storybook/client-logger": "6.0.0-alpha.2",
31
+ "@storybook/theming": "6.0.0-alpha.2",
33
32
  "@types/react-textarea-autosize": "^4.3.3",
34
33
  "core-js": "^3.0.1",
35
34
  "global": "^4.3.2",
36
35
  "lodash": "^4.17.15",
37
36
  "markdown-to-jsx": "^6.9.1",
38
37
  "memoizerific": "^1.11.3",
39
- "polished": "^3.4.4",
38
+ "polished": "^3.3.1",
40
39
  "popper.js": "^1.14.7",
40
+ "prop-types": "^15.7.2",
41
41
  "react": "^16.8.3",
42
42
  "react-dom": "^16.8.3",
43
43
  "react-focus-lock": "^2.1.0",
@@ -46,12 +46,12 @@
46
46
  "react-syntax-highlighter": "^11.0.2",
47
47
  "react-textarea-autosize": "^7.1.0",
48
48
  "simplebar-react": "^1.0.0-alpha.6",
49
- "ts-dedent": "^1.1.1"
49
+ "ts-dedent": "^1.1.0"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@types/react-syntax-highlighter": "^11.0.2",
53
53
  "enzyme": "^3.9.0",
54
- "jest": "^25.1.0",
54
+ "jest": "^24.7.1",
55
55
  "jest-enzyme": "^7.0.2"
56
56
  },
57
57
  "peerDependencies": {
@@ -61,12 +61,5 @@
61
61
  "publishConfig": {
62
62
  "access": "public"
63
63
  },
64
- "gitHead": "b5b1bda641d3b6bd3d82b23d2968502f1e872f7e",
65
- "typesVersions": {
66
- "<=3.5": {
67
- "*": [
68
- "ts3.5/*"
69
- ]
70
- }
71
- }
64
+ "gitHead": "779ef4791d9e2ec24cbaccff2e4b9a5f9b0327eb"
72
65
  }
@@ -1,13 +0,0 @@
1
- import React, { FunctionComponent, MouseEvent } from 'react';
2
- export declare const ActionButton: import("@emotion/styled-base").StyledComponent<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {
3
- disabled: boolean;
4
- }, import("@storybook/theming").Theme>;
5
- export interface ActionItem {
6
- title: string | JSX.Element;
7
- onClick: (e: MouseEvent<HTMLButtonElement>) => void;
8
- disabled?: boolean;
9
- }
10
- export interface ActionBarProps {
11
- actionItems: ActionItem[];
12
- }
13
- export declare const ActionBar: FunctionComponent<ActionBarProps>;
@@ -1,5 +0,0 @@
1
- import { FunctionComponent } from 'react';
2
- export interface BadgeProps {
3
- status: 'positive' | 'negative' | 'neutral' | 'warning' | 'critical';
4
- }
5
- export declare const Badge: FunctionComponent<BadgeProps>;
@@ -1,17 +0,0 @@
1
- import React from 'react';
2
- export interface ButtonProps {
3
- isLink?: boolean;
4
- primary?: boolean;
5
- secondary?: boolean;
6
- tertiary?: boolean;
7
- inForm?: boolean;
8
- disabled?: boolean;
9
- small?: boolean;
10
- outline?: boolean;
11
- containsIcon?: boolean;
12
- }
13
- export declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<any>> & {
14
- defaultProps: {
15
- isLink: boolean;
16
- };
17
- };
@@ -1,3 +0,0 @@
1
- export declare function Loader({ ...props }: {
2
- [x: string]: any;
3
- }): JSX.Element;
@@ -1,12 +0,0 @@
1
- import { FunctionComponent } from 'react';
2
- export interface ScrollProps {
3
- horizontal?: boolean;
4
- vertical?: boolean;
5
- [key: string]: any;
6
- }
7
- export interface ScrollAreaProps {
8
- horizontal?: boolean;
9
- vertical?: boolean;
10
- className?: string;
11
- }
12
- export declare const ScrollArea: FunctionComponent<ScrollAreaProps>;
@@ -1,2 +0,0 @@
1
- import { Theme, Interpolation } from '@storybook/theming';
2
- export declare const getScrollAreaStyles: (theme: Theme) => Interpolation;
@@ -1,6 +0,0 @@
1
- import { ReactNode } from 'react';
2
- export interface AddonPanelProps {
3
- active: boolean;
4
- children: ReactNode;
5
- }
6
- export declare const AddonPanel: ({ active, children }: AddonPanelProps) => JSX.Element;
@@ -1,12 +0,0 @@
1
- import { FunctionComponent } from 'react';
2
- export interface SideProps {
3
- left?: boolean;
4
- right?: boolean;
5
- }
6
- export declare const Bar: import("@emotion/styled-base").StyledComponent<any, Pick<any, string | number | symbol>, import("@storybook/theming").Theme>;
7
- export interface FlexBarProps {
8
- border?: boolean;
9
- children?: any;
10
- backgroundColor?: string;
11
- }
12
- export declare const FlexBar: FunctionComponent<FlexBarProps>;
@@ -1,25 +0,0 @@
1
- import React, { AnchorHTMLAttributes, ButtonHTMLAttributes, DetailedHTMLProps } from 'react';
2
- interface ButtonProps extends DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement> {
3
- href?: void;
4
- }
5
- interface LinkProps extends DetailedHTMLProps<AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement> {
6
- href: string;
7
- }
8
- export interface TabButtonProps {
9
- active?: boolean;
10
- textColor?: string;
11
- }
12
- export declare const TabButton: import("@emotion/styled-base").StyledComponent<(Pick<ButtonProps, "color" | "translate" | "hidden" | "style" | "disabled" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "title" | "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" | "children" | "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" | "css" | "href" | "form" | "value" | "type" | "name" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget"> & {
13
- ref?: ((instance: HTMLButtonElement) => void) | React.RefObject<HTMLButtonElement>;
14
- }) | (Pick<LinkProps, "color" | "translate" | "hidden" | "style" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "title" | "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" | "children" | "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" | "css" | "href" | "type" | "media" | "target" | "download" | "hrefLang" | "ping" | "rel" | "referrerPolicy"> & {
15
- ref?: ((instance: HTMLAnchorElement) => void) | React.RefObject<HTMLAnchorElement>;
16
- }), TabButtonProps, import("@storybook/theming").Theme>;
17
- export interface IconButtonProps {
18
- active?: boolean;
19
- }
20
- export declare const IconButton: import("@emotion/styled-base").StyledComponent<(Pick<ButtonProps, "color" | "translate" | "hidden" | "style" | "disabled" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "title" | "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" | "children" | "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" | "css" | "href" | "form" | "value" | "type" | "name" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget"> & {
21
- ref?: ((instance: HTMLButtonElement) => void) | React.RefObject<HTMLButtonElement>;
22
- }) | (Pick<LinkProps, "color" | "translate" | "hidden" | "style" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "title" | "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" | "children" | "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" | "css" | "href" | "type" | "media" | "target" | "download" | "hrefLang" | "ping" | "rel" | "referrerPolicy"> & {
23
- ref?: ((instance: HTMLAnchorElement) => void) | React.RefObject<HTMLAnchorElement>;
24
- }), IconButtonProps, import("@storybook/theming").Theme>;
25
- export {};
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- export declare const Separator: import("@emotion/styled-base").StyledComponent<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, SeparatorProps, import("@storybook/theming").Theme>;
3
- export declare const interleaveSeparators: (list: any[]) => any;
4
- export interface SeparatorProps {
5
- force?: boolean;
6
- }
@@ -1,2 +0,0 @@
1
- import { Theme } from '@storybook/theming';
2
- export declare const getBlockBackgroundStyle: (theme: Theme) => object;
@@ -1,20 +0,0 @@
1
- import { FunctionComponent } from 'react';
2
- declare type Colors = string[] | {
3
- [key: string]: string;
4
- };
5
- interface ColorProps {
6
- title: string;
7
- subtitle: string;
8
- colors: Colors;
9
- }
10
- /**
11
- * A single color row your styleguide showing title, subtitle and one or more colors, used
12
- * as a child of `ColorPalette`.
13
- */
14
- export declare const ColorItem: FunctionComponent<ColorProps>;
15
- /**
16
- * Styleguide documentation for colors, including names, captions, and color swatches,
17
- * all specified as `ColorItem` children of this wrapper component.
18
- */
19
- export declare const ColorPalette: FunctionComponent;
20
- export {};
@@ -1,9 +0,0 @@
1
- import { FunctionComponent } from 'react';
2
- export interface DescriptionProps {
3
- markdown: string;
4
- }
5
- /**
6
- * A markdown description for a component, typically used to show the
7
- * components docgen docs.
8
- */
9
- export declare const Description: FunctionComponent<DescriptionProps>;
@@ -1,11 +0,0 @@
1
- import React, { FunctionComponent } from 'react';
2
- import { Theme } from '@storybook/theming';
3
- export interface DocsPageProps {
4
- title: string;
5
- subtitle?: string;
6
- }
7
- export declare const Title: import("@emotion/styled-base").StyledComponent<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, {}, Theme>;
8
- export declare const Subtitle: import("@emotion/styled-base").StyledComponent<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, {}, Theme>;
9
- export declare const DocsContent: import("@emotion/styled-base").StyledComponent<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "color" | "translate" | "hidden" | "style" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "title" | "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" | "children" | "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" | "css">, Theme>;
10
- export declare const DocsWrapper: import("@emotion/styled-base").StyledComponent<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}, Theme>;
11
- export declare const DocsPageWrapper: FunctionComponent;
@@ -1 +0,0 @@
1
- export declare const EmptyBlock: (props: any) => JSX.Element;
@@ -1,24 +0,0 @@
1
- import { Component } from 'react';
2
- interface IFrameProps {
3
- id: string;
4
- key?: string;
5
- title: string;
6
- src: string;
7
- allowFullScreen: boolean;
8
- scale: number;
9
- style?: any;
10
- }
11
- interface BodyStyle {
12
- width: string;
13
- height: string;
14
- transform: string;
15
- transformOrigin: string;
16
- }
17
- export declare class IFrame extends Component<IFrameProps> {
18
- iframe: any;
19
- componentDidMount(): void;
20
- shouldComponentUpdate(nextProps: IFrameProps): boolean;
21
- setIframeBodyStyle(style: BodyStyle): any;
22
- render(): JSX.Element;
23
- }
24
- export {};
@@ -1,13 +0,0 @@
1
- import { FunctionComponent } from 'react';
2
- interface IconItemProps {
3
- name: string;
4
- }
5
- /**
6
- * An individual icon with a caption and an example (passed as `children`).
7
- */
8
- export declare const IconItem: FunctionComponent<IconItemProps>;
9
- /**
10
- * Show a grid of icons, as specified by `IconItem`.
11
- */
12
- export declare const IconGallery: FunctionComponent;
13
- export {};
@@ -1,17 +0,0 @@
1
- import { FunctionComponent } from 'react';
2
- import { SourceProps } from './Source';
3
- export interface PreviewProps {
4
- isColumn?: boolean;
5
- columns?: number;
6
- withSource?: SourceProps;
7
- isExpanded?: boolean;
8
- withToolbar?: boolean;
9
- className?: string;
10
- }
11
- /**
12
- * A preview component for showing one or more component `Story`
13
- * items. The preview also shows the source for the component
14
- * as a drop-down.
15
- */
16
- declare const Preview: FunctionComponent<PreviewProps>;
17
- export { Preview };
@@ -1,25 +0,0 @@
1
- export interface JsDocParam {
2
- name: string;
3
- description?: string;
4
- }
5
- export interface JsDocReturns {
6
- description?: string;
7
- }
8
- export interface JsDocTags {
9
- params?: JsDocParam[];
10
- returns?: JsDocReturns;
11
- }
12
- export interface PropSummaryValue {
13
- summary: string;
14
- detail?: string;
15
- }
16
- export declare type PropType = PropSummaryValue;
17
- export declare type PropDefaultValue = PropSummaryValue;
18
- export interface PropDef {
19
- name: string;
20
- type: PropType;
21
- required: boolean;
22
- description?: string;
23
- defaultValue?: PropDefaultValue;
24
- jsDocTags?: JsDocTags;
25
- }
@@ -1,8 +0,0 @@
1
- import React, { FC } from 'react';
2
- import { JsDocTags } from './PropDef';
3
- interface PropJsDocProps {
4
- tags: JsDocTags;
5
- }
6
- export declare const Table: import("@emotion/styled-base").StyledComponent<React.DetailedHTMLProps<React.TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, Pick<React.DetailedHTMLProps<React.TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, "color" | "translate" | "hidden" | "style" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "title" | "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" | "children" | "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" | "css" | "summary" | "cellPadding" | "cellSpacing">, import("@storybook/theming").Theme>;
7
- export declare const PropJsDoc: FC<PropJsDocProps>;
8
- export {};
@@ -1,6 +0,0 @@
1
- import { FC } from 'react';
2
- import { PropDef } from './PropDef';
3
- export interface PropRowProps {
4
- row: PropDef;
5
- }
6
- export declare const PropRow: FC<PropRowProps>;
@@ -1,7 +0,0 @@
1
- import { FC } from 'react';
2
- import { PropSummaryValue } from './PropDef';
3
- interface PropValueProps {
4
- value?: PropSummaryValue;
5
- }
6
- export declare const PropValue: FC<PropValueProps>;
7
- export {};
@@ -1,23 +0,0 @@
1
- import React, { FC } from 'react';
2
- import { PropDef, PropType, PropDefaultValue, PropSummaryValue } from './PropDef';
3
- export declare const Table: import("@emotion/styled-base").StyledComponent<React.DetailedHTMLProps<React.TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, {}, import("@storybook/theming").Theme>;
4
- export declare enum PropsTableError {
5
- NO_COMPONENT = "No component found",
6
- PROPS_UNSUPPORTED = "Props unsupported. See Props documentation for your framework."
7
- }
8
- export interface PropsTableRowsProps {
9
- rows: PropDef[];
10
- }
11
- export interface PropsTableSectionsProps {
12
- sections?: Record<string, PropDef[]>;
13
- }
14
- export interface PropsTableErrorProps {
15
- error: PropsTableError;
16
- }
17
- export declare type PropsTableProps = PropsTableRowsProps | PropsTableSectionsProps | PropsTableErrorProps;
18
- /**
19
- * Display the props for a component as a props table. Each row is a collection of
20
- * PropDefs, usually derived from docgen info for the component.
21
- */
22
- declare const PropsTable: FC<PropsTableProps>;
23
- export { PropsTable, PropDef, PropType, PropDefaultValue, PropSummaryValue };
@@ -1,5 +0,0 @@
1
- import { FC } from 'react';
2
- export interface SectionRowProps {
3
- section: string;
4
- }
5
- export declare const SectionRow: FC<SectionRowProps>;
@@ -1,20 +0,0 @@
1
- import { FunctionComponent } from 'react';
2
- export declare enum SourceError {
3
- NO_STORY = "There\u2019s no story here.",
4
- SOURCE_UNAVAILABLE = "Oh no! The source is not available."
5
- }
6
- interface SourceErrorProps {
7
- error?: SourceError;
8
- }
9
- interface SourceCodeProps {
10
- language?: string;
11
- code?: string;
12
- format?: boolean;
13
- dark?: boolean;
14
- }
15
- export declare type SourceProps = SourceErrorProps & SourceCodeProps;
16
- /**
17
- * Syntax-highlighted source code for a component (or anything!)
18
- */
19
- declare const Source: FunctionComponent<SourceProps>;
20
- export { Source };
@@ -1,25 +0,0 @@
1
- import { ElementType, FunctionComponent } from 'react';
2
- export declare enum StoryError {
3
- NO_STORY = "No component or story to display"
4
- }
5
- interface CommonProps {
6
- title: string;
7
- height?: string;
8
- id: string;
9
- }
10
- declare type InlineStoryProps = {
11
- storyFn: ElementType;
12
- } & CommonProps;
13
- declare type IFrameStoryProps = CommonProps;
14
- declare type ErrorProps = {
15
- error?: StoryError;
16
- } & CommonProps;
17
- export declare type StoryProps = (InlineStoryProps | IFrameStoryProps | ErrorProps) & {
18
- inline: boolean;
19
- };
20
- /**
21
- * A story element, either renderend inline or in an iframe,
22
- * with configurable height.
23
- */
24
- declare const Story: FunctionComponent<StoryProps>;
25
- export { Story };
@@ -1,15 +0,0 @@
1
- import { FunctionComponent } from 'react';
2
- interface ZoomProps {
3
- zoom: (val: number) => void;
4
- resetZoom: () => void;
5
- }
6
- interface EjectProps {
7
- storyId?: string;
8
- baseUrl?: string;
9
- }
10
- interface BarProps {
11
- border?: boolean;
12
- }
13
- export declare type ToolbarProps = BarProps & ZoomProps & EjectProps;
14
- export declare const Toolbar: FunctionComponent<ToolbarProps>;
15
- export {};
@@ -1,12 +0,0 @@
1
- import { FunctionComponent } from 'react';
2
- export interface TypesetProps {
3
- fontFamily?: string;
4
- fontSizes: string[];
5
- fontWeight?: number;
6
- sampleText?: string;
7
- }
8
- /**
9
- * Convenient styleguide documentation showing examples of type
10
- * with different sizes and weights and configurable sample text.
11
- */
12
- export declare const Typeset: FunctionComponent<TypesetProps>;
@@ -1,4 +0,0 @@
1
- import { Context } from 'react';
2
- export declare const ZoomContext: Context<{
3
- scale: number;
4
- }>;
@@ -1,10 +0,0 @@
1
- export * from './Description';
2
- export * from './DocsPage';
3
- export * from './Preview';
4
- export * from './PropsTable/PropsTable';
5
- export * from './Source';
6
- export * from './Story';
7
- export * from './IFrame';
8
- export * from './Typeset';
9
- export * from './ColorPalette';
10
- export * from './IconGallery';
@@ -1,2 +0,0 @@
1
- import { FunctionComponent } from 'react';
2
- export declare const StorybookIcon: FunctionComponent<{}>;
@@ -1,5 +0,0 @@
1
- import { FunctionComponent } from 'react';
2
- export interface StorybookLogoProps {
3
- alt: string;
4
- }
5
- export declare const StorybookLogo: FunctionComponent<StorybookLogoProps>;
@@ -1,5 +0,0 @@
1
- import { FunctionComponent, ReactNode } from 'react';
2
- export interface FieldProps {
3
- label?: ReactNode;
4
- }
5
- export declare const Field: FunctionComponent<FieldProps>;