@storybook/components 6.5.0-alpha.3 → 6.5.0-alpha.30
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/cjs/ActionBar/ActionBar.js +4 -2
- package/dist/cjs/ActionBar/ActionBar.stories.js +1 -1
- package/dist/cjs/Button/Button.js +8 -6
- package/dist/cjs/Loader/Loader.js +12 -8
- package/dist/cjs/Loader/Loader.stories.js +1 -1
- package/dist/cjs/ScrollArea/GlobalScrollAreaStyles.js +1 -1
- package/dist/cjs/ScrollArea/OverlayScrollbars.js +33 -14
- package/dist/cjs/ScrollArea/ScrollArea.js +12 -11
- package/dist/cjs/ScrollArea/ScrollArea.stories.js +6 -6
- package/dist/cjs/Zoom/Zoom.js +1 -1
- package/dist/cjs/Zoom/Zoom.stories.js +9 -7
- package/dist/cjs/Zoom/ZoomElement.js +9 -8
- package/dist/cjs/Zoom/ZoomIFrame.js +8 -8
- package/dist/cjs/addon-panel/addon-panel.js +5 -5
- package/dist/cjs/bar/bar.js +16 -10
- package/dist/cjs/bar/button.js +6 -4
- package/dist/cjs/bar/button.stories.js +1 -1
- package/dist/cjs/bar/separator.js +7 -7
- package/dist/cjs/blocks/ArgsTable/ArgControl.js +8 -6
- package/dist/cjs/blocks/ArgsTable/ArgJsDoc.js +5 -3
- package/dist/cjs/blocks/ArgsTable/ArgRow.js +2 -2
- package/dist/cjs/blocks/ArgsTable/ArgRow.stories.js +3 -3
- package/dist/cjs/blocks/ArgsTable/ArgValue.js +12 -12
- package/dist/cjs/blocks/ArgsTable/ArgsTable.js +12 -8
- package/dist/cjs/blocks/ArgsTable/ArgsTable.stories.js +6 -6
- package/dist/cjs/blocks/ArgsTable/SectionRow.js +8 -6
- package/dist/cjs/blocks/ArgsTable/SectionRow.stories.js +3 -3
- package/dist/cjs/blocks/ArgsTable/TabbedArgsTable.js +10 -6
- package/dist/cjs/blocks/ArgsTable/TabbedArgsTable.stories.js +1 -1
- package/dist/cjs/blocks/ArgsTable/index.js +2 -0
- package/dist/cjs/blocks/ColorPalette.js +5 -3
- package/dist/cjs/blocks/ColorPalette.stories.js +1 -1
- package/dist/cjs/blocks/Description.js +4 -4
- package/dist/cjs/blocks/Description.stories.js +1 -1
- package/dist/cjs/blocks/DocsPage.js +4 -4
- package/dist/cjs/blocks/DocsPage.stories.js +6 -6
- package/dist/cjs/blocks/EmptyBlock.js +2 -2
- package/dist/cjs/blocks/EmptyBlock.stories.js +1 -1
- package/dist/cjs/blocks/IFrame.js +13 -11
- package/dist/cjs/blocks/IconGallery.js +6 -4
- package/dist/cjs/blocks/IconGallery.stories.js +1 -1
- package/dist/cjs/blocks/Preview.js +16 -12
- package/dist/cjs/blocks/Preview.stories.js +6 -6
- package/dist/cjs/blocks/Source.js +6 -4
- package/dist/cjs/blocks/Source.stories.js +1 -1
- package/dist/cjs/blocks/Story.js +16 -10
- package/dist/cjs/blocks/Story.stories.js +9 -7
- package/dist/cjs/blocks/Toolbar.js +11 -9
- package/dist/cjs/blocks/Typeset.js +5 -3
- package/dist/cjs/blocks/Typeset.stories.js +1 -1
- package/dist/cjs/blocks/index.js +2 -0
- package/dist/cjs/brand/StorybookLogo.js +5 -3
- package/dist/cjs/brand/StorybookLogo.stories.js +1 -1
- package/dist/cjs/controls/Boolean.js +5 -5
- package/dist/cjs/controls/Boolean.stories.js +9 -7
- package/dist/cjs/controls/Color.js +13 -11
- package/dist/cjs/controls/Color.stories.js +9 -7
- package/dist/cjs/controls/Date.js +8 -8
- package/dist/cjs/controls/Date.stories.js +9 -7
- package/dist/cjs/controls/Files.js +7 -5
- package/dist/cjs/controls/Number.js +17 -8
- package/dist/cjs/controls/Number.stories.js +9 -7
- package/dist/cjs/controls/Object.js +8 -6
- package/dist/cjs/controls/Object.stories.js +9 -7
- package/dist/cjs/controls/Range.js +7 -7
- package/dist/cjs/controls/Range.stories.js +9 -7
- package/dist/cjs/controls/Text.js +8 -6
- package/dist/cjs/controls/Text.stories.js +9 -7
- package/dist/cjs/controls/helpers.js +2 -2
- package/dist/cjs/controls/index.js +8 -8
- package/dist/cjs/controls/options/Checkbox.js +9 -7
- package/dist/cjs/controls/options/Options.js +2 -0
- package/dist/cjs/controls/options/Options.stories.js +9 -7
- package/dist/cjs/controls/options/Select.js +2 -0
- package/dist/cjs/controls/options/helpers.js +7 -5
- package/dist/cjs/controls/options/index.js +2 -0
- package/dist/cjs/controls/react-editable-json-tree/JsonNodes.js +1748 -0
- package/dist/cjs/controls/react-editable-json-tree/index.js +36 -83
- package/dist/cjs/controls/react-editable-json-tree/types/dataTypes.js +12 -15
- package/dist/cjs/controls/react-editable-json-tree/types/inputUsageTypes.js +3 -6
- package/dist/cjs/controls/react-editable-json-tree/utils/objectTypes.js +3 -3
- package/dist/cjs/controls/react-editable-json-tree/utils/parse.js +2 -5
- package/dist/cjs/controls/react-editable-json-tree/utils/styles.js +1 -1
- package/dist/cjs/controls/types.js +5 -1
- package/dist/cjs/form/field/field.js +3 -1
- package/dist/cjs/form/form.stories.js +5 -3
- package/dist/cjs/form/input/input.js +15 -10
- package/dist/cjs/html.js +2 -0
- package/dist/cjs/icon/icon.js +28 -7
- package/dist/cjs/icon/icon.stories.js +2 -0
- package/dist/cjs/icon/icons.js +1 -1
- package/dist/cjs/index.js +296 -73
- package/dist/cjs/placeholder/placeholder.js +15 -9
- package/dist/cjs/placeholder/placeholder.stories.js +6 -6
- package/dist/cjs/spaced/Spaced.js +3 -1
- package/dist/cjs/syntaxhighlighter/lazy-syntaxhighlighter.js +8 -8
- package/dist/cjs/syntaxhighlighter/syntaxhighlighter-types.js +5 -1
- package/dist/cjs/syntaxhighlighter/syntaxhighlighter.js +15 -10
- package/dist/cjs/syntaxhighlighter/syntaxhighlighter.stories.js +5 -5
- package/dist/cjs/tabs/tabs.js +13 -11
- package/dist/cjs/tabs/tabs.stories.js +6 -4
- package/dist/cjs/tooltip/ListItem.js +7 -4
- package/dist/cjs/tooltip/Tooltip.js +5 -3
- package/dist/cjs/tooltip/TooltipLinkList.js +12 -9
- package/dist/cjs/tooltip/TooltipLinkList.stories.js +5 -5
- package/dist/cjs/tooltip/TooltipMessage.js +3 -1
- package/dist/cjs/tooltip/TooltipNote.js +3 -1
- package/dist/cjs/tooltip/WithTooltip.js +14 -9
- package/dist/cjs/tooltip/lazy-WithTooltip.js +9 -10
- package/dist/cjs/typography/DocumentFormatting.js +6 -555
- package/dist/cjs/typography/DocumentWrapper.stories.js +1 -1
- package/dist/cjs/typography/ResetWrapper.js +21 -0
- package/dist/cjs/typography/components.js +126 -0
- package/dist/cjs/typography/elements/A.js +36 -0
- package/dist/cjs/typography/elements/Blockquote.js +27 -0
- package/dist/cjs/typography/elements/Code.js +109 -0
- package/dist/cjs/typography/elements/DL.js +44 -0
- package/dist/cjs/typography/elements/Div.js +14 -0
- package/dist/cjs/typography/elements/H1.js +20 -0
- package/dist/cjs/typography/elements/H2.js +21 -0
- package/dist/cjs/typography/elements/H3.js +19 -0
- package/dist/cjs/typography/elements/H4.js +19 -0
- package/dist/cjs/typography/elements/H5.js +19 -0
- package/dist/cjs/typography/elements/H6.js +20 -0
- package/dist/cjs/typography/elements/HR.js +20 -0
- package/dist/cjs/typography/elements/Img.js +14 -0
- package/dist/cjs/typography/elements/LI.js +31 -0
- package/dist/cjs/typography/elements/Link.js +44 -0
- package/dist/cjs/typography/elements/OL.js +28 -0
- package/dist/cjs/typography/elements/P.js +24 -0
- package/dist/cjs/typography/elements/Pre.js +53 -0
- package/dist/cjs/typography/elements/Span.js +92 -0
- package/dist/cjs/typography/elements/TT.js +14 -0
- package/dist/cjs/typography/elements/Table.js +50 -0
- package/dist/cjs/typography/elements/UL.js +28 -0
- package/dist/cjs/typography/{shared.js → lib/common.js} +1 -1
- package/dist/cjs/typography/lib/isReactChildString.js +12 -0
- package/dist/cjs/typography/link/link.js +5 -3
- package/dist/cjs/utils/getStoryHref.js +71 -0
- package/dist/esm/ActionBar/ActionBar.js +5 -3
- package/dist/esm/Button/Button.js +3 -1
- package/dist/esm/Loader/Loader.js +5 -3
- package/dist/esm/ScrollArea/OverlayScrollbars.js +12 -10
- package/dist/esm/ScrollArea/ScrollArea.js +7 -5
- package/dist/esm/Zoom/Zoom.js +4 -4
- package/dist/esm/Zoom/Zoom.stories.js +3 -2
- package/dist/esm/Zoom/ZoomElement.js +5 -4
- package/dist/esm/Zoom/ZoomIFrame.js +6 -6
- package/dist/esm/bar/bar.js +7 -4
- package/dist/esm/bar/button.js +2 -1
- package/dist/esm/bar/separator.js +1 -0
- package/dist/esm/blocks/ArgsTable/ArgControl.js +3 -2
- package/dist/esm/blocks/ArgsTable/ArgJsDoc.js +2 -1
- package/dist/esm/blocks/ArgsTable/ArgRow.js +1 -1
- package/dist/esm/blocks/ArgsTable/ArgRow.stories.js +1 -1
- package/dist/esm/blocks/ArgsTable/ArgValue.js +5 -5
- package/dist/esm/blocks/ArgsTable/ArgsTable.js +6 -4
- package/dist/esm/blocks/ArgsTable/SectionRow.js +3 -2
- package/dist/esm/blocks/ArgsTable/SectionRow.stories.js +1 -1
- package/dist/esm/blocks/ArgsTable/TabbedArgsTable.js +17 -14
- package/dist/esm/blocks/ColorPalette.js +4 -2
- package/dist/esm/blocks/Description.js +2 -2
- package/dist/esm/blocks/DocsPage.js +1 -1
- package/dist/esm/blocks/EmptyBlock.js +1 -1
- package/dist/esm/blocks/IFrame.js +16 -14
- package/dist/esm/blocks/IconGallery.js +4 -2
- package/dist/esm/blocks/Preview.js +17 -15
- package/dist/esm/blocks/Source.js +2 -1
- package/dist/esm/blocks/Story.js +10 -5
- package/dist/esm/blocks/Story.stories.js +3 -2
- package/dist/esm/blocks/Toolbar.js +8 -6
- package/dist/esm/blocks/Typeset.js +6 -4
- package/dist/esm/brand/StorybookLogo.js +2 -1
- package/dist/esm/controls/Boolean.stories.js +3 -2
- package/dist/esm/controls/Color.js +7 -5
- package/dist/esm/controls/Color.stories.js +3 -2
- package/dist/esm/controls/Date.js +3 -3
- package/dist/esm/controls/Date.stories.js +3 -2
- package/dist/esm/controls/Files.js +4 -3
- package/dist/esm/controls/Number.js +11 -3
- package/dist/esm/controls/Number.stories.js +3 -2
- package/dist/esm/controls/Object.js +4 -4
- package/dist/esm/controls/Object.stories.js +3 -2
- package/dist/esm/controls/Range.js +1 -1
- package/dist/esm/controls/Range.stories.js +3 -2
- package/dist/esm/controls/Text.js +3 -2
- package/dist/esm/controls/Text.stories.js +3 -2
- package/dist/esm/controls/helpers.js +1 -1
- package/dist/esm/controls/index.js +3 -3
- package/dist/esm/controls/options/Checkbox.js +4 -3
- package/dist/esm/controls/options/Options.js +1 -0
- package/dist/esm/controls/options/Options.stories.js +3 -2
- package/dist/esm/controls/options/Select.js +1 -0
- package/dist/esm/controls/options/helpers.js +4 -3
- package/dist/esm/controls/react-editable-json-tree/JsonNodes.js +1703 -0
- package/dist/esm/controls/react-editable-json-tree/index.js +29 -73
- package/dist/esm/controls/react-editable-json-tree/types/dataTypes.js +1 -13
- package/dist/esm/controls/react-editable-json-tree/types/deltaTypes.js +1 -3
- package/dist/esm/controls/react-editable-json-tree/types/inputUsageTypes.js +1 -4
- package/dist/esm/controls/react-editable-json-tree/utils/objectTypes.js +5 -9
- package/dist/esm/controls/react-editable-json-tree/utils/parse.js +2 -4
- package/dist/esm/controls/react-editable-json-tree/utils/styles.js +4 -7
- package/dist/esm/controls/types.js +1 -0
- package/dist/esm/form/field/field.js +5 -3
- package/dist/esm/form/form.stories.js +3 -2
- package/dist/esm/form/input/input.js +11 -6
- package/dist/esm/icon/icon.js +7 -6
- package/dist/esm/icon/icon.stories.js +1 -0
- package/dist/esm/index.js +30 -5
- package/dist/esm/placeholder/placeholder.js +16 -12
- package/dist/esm/spaced/Spaced.js +6 -4
- package/dist/esm/syntaxhighlighter/lazy-syntaxhighlighter.js +3 -3
- package/dist/esm/syntaxhighlighter/syntaxhighlighter-types.js +1 -0
- package/dist/esm/syntaxhighlighter/syntaxhighlighter.js +17 -14
- package/dist/esm/tabs/tabs.js +7 -6
- package/dist/esm/tabs/tabs.stories.js +2 -1
- package/dist/esm/tooltip/ListItem.js +7 -4
- package/dist/esm/tooltip/Tooltip.js +4 -2
- package/dist/esm/tooltip/TooltipLinkList.js +5 -3
- package/dist/esm/tooltip/TooltipMessage.js +6 -4
- package/dist/esm/tooltip/TooltipNote.js +5 -3
- package/dist/esm/tooltip/WithTooltip.js +7 -4
- package/dist/esm/tooltip/lazy-WithTooltip.js +4 -4
- package/dist/esm/typography/DocumentFormatting.js +4 -480
- package/dist/esm/typography/ResetWrapper.js +11 -0
- package/dist/esm/typography/components.js +92 -0
- package/dist/esm/typography/elements/A.js +25 -0
- package/dist/esm/typography/elements/Blockquote.js +16 -0
- package/dist/esm/typography/elements/Code.js +64 -0
- package/dist/esm/typography/elements/DL.js +32 -0
- package/dist/esm/typography/elements/Div.js +3 -0
- package/dist/esm/typography/elements/H1.js +9 -0
- package/dist/esm/typography/elements/H2.js +10 -0
- package/dist/esm/typography/elements/H3.js +8 -0
- package/dist/esm/typography/elements/H4.js +8 -0
- package/dist/esm/typography/elements/H5.js +8 -0
- package/dist/esm/typography/elements/H6.js +9 -0
- package/dist/esm/typography/elements/HR.js +10 -0
- package/dist/esm/typography/elements/Img.js +4 -0
- package/dist/esm/typography/elements/LI.js +20 -0
- package/dist/esm/typography/elements/Link.js +29 -0
- package/dist/esm/typography/elements/OL.js +15 -0
- package/dist/esm/typography/elements/P.js +13 -0
- package/dist/esm/typography/elements/Pre.js +42 -0
- package/dist/esm/typography/elements/Span.js +81 -0
- package/dist/esm/typography/elements/TT.js +3 -0
- package/dist/esm/typography/elements/Table.js +39 -0
- package/dist/esm/typography/elements/UL.js +15 -0
- package/dist/esm/typography/{shared.js → lib/common.js} +0 -0
- package/dist/esm/typography/lib/isReactChildString.js +3 -0
- package/dist/esm/typography/link/link.js +2 -1
- package/dist/esm/utils/getStoryHref.js +46 -0
- package/dist/modern/ActionBar/ActionBar.js +4 -2
- package/dist/modern/Badge/Badge.js +1 -1
- package/dist/modern/Button/Button.js +3 -1
- package/dist/modern/Loader/Loader.js +4 -2
- package/dist/modern/ScrollArea/OverlayScrollbars.js +10 -8
- package/dist/modern/ScrollArea/ScrollArea.js +7 -5
- package/dist/modern/Zoom/Zoom.js +4 -4
- package/dist/modern/Zoom/ZoomElement.js +2 -2
- package/dist/modern/bar/bar.js +4 -2
- package/dist/modern/bar/button.js +4 -2
- package/dist/modern/blocks/ArgsTable/ArgJsDoc.js +1 -1
- package/dist/modern/blocks/ArgsTable/ArgRow.js +1 -1
- package/dist/modern/blocks/ArgsTable/ArgRow.stories.js +1 -1
- package/dist/modern/blocks/ArgsTable/ArgValue.js +1 -1
- package/dist/modern/blocks/ArgsTable/ArgsTable.js +1 -1
- package/dist/modern/blocks/ArgsTable/SectionRow.stories.js +1 -1
- package/dist/modern/blocks/ArgsTable/TabbedArgsTable.js +4 -2
- package/dist/modern/blocks/ColorPalette.js +5 -3
- package/dist/modern/blocks/Description.js +2 -2
- package/dist/modern/blocks/DocsPage.js +1 -1
- package/dist/modern/blocks/EmptyBlock.js +1 -1
- package/dist/modern/blocks/IFrame.js +3 -1
- package/dist/modern/blocks/IconGallery.js +5 -3
- package/dist/modern/blocks/Preview.js +5 -3
- package/dist/modern/blocks/Source.js +3 -1
- package/dist/modern/blocks/Story.js +9 -4
- package/dist/modern/blocks/Toolbar.js +6 -3
- package/dist/modern/blocks/Typeset.js +5 -3
- package/dist/modern/brand/StorybookIcon.js +1 -1
- package/dist/modern/brand/StorybookLogo.js +4 -2
- package/dist/modern/controls/Color.js +4 -2
- package/dist/modern/controls/Number.js +7 -0
- package/dist/modern/controls/Object.js +1 -2
- package/dist/modern/controls/index.js +2 -2
- package/dist/modern/controls/react-editable-json-tree/JsonNodes.js +1539 -0
- package/dist/modern/controls/react-editable-json-tree/index.js +18 -57
- package/dist/modern/controls/react-editable-json-tree/types/dataTypes.js +1 -13
- package/dist/modern/controls/react-editable-json-tree/types/deltaTypes.js +1 -3
- package/dist/modern/controls/react-editable-json-tree/types/inputUsageTypes.js +1 -4
- package/dist/modern/controls/react-editable-json-tree/utils/objectTypes.js +3 -7
- package/dist/modern/controls/react-editable-json-tree/utils/parse.js +2 -4
- package/dist/modern/controls/react-editable-json-tree/utils/styles.js +4 -7
- package/dist/modern/controls/types.js +1 -0
- package/dist/modern/form/field/field.js +4 -2
- package/dist/modern/form/input/input.js +9 -4
- package/dist/modern/icon/icon.js +6 -4
- package/dist/modern/index.js +29 -5
- package/dist/modern/placeholder/placeholder.js +4 -2
- package/dist/modern/spaced/Spaced.js +4 -2
- package/dist/modern/syntaxhighlighter/lazy-syntaxhighlighter.js +2 -2
- package/dist/modern/syntaxhighlighter/syntaxhighlighter-types.js +1 -0
- package/dist/modern/syntaxhighlighter/syntaxhighlighter.js +4 -2
- package/dist/modern/tooltip/ListItem.js +7 -4
- package/dist/modern/tooltip/Tooltip.js +4 -2
- package/dist/modern/tooltip/TooltipLinkList.js +6 -3
- package/dist/modern/tooltip/TooltipMessage.js +4 -2
- package/dist/modern/tooltip/TooltipNote.js +4 -2
- package/dist/modern/tooltip/WithTooltip.js +7 -4
- package/dist/modern/tooltip/lazy-WithTooltip.js +3 -3
- package/dist/modern/typography/DocumentFormatting.js +2 -413
- package/dist/modern/typography/ResetWrapper.js +11 -0
- package/dist/modern/typography/components.js +48 -0
- package/dist/modern/typography/elements/A.js +24 -0
- package/dist/modern/typography/elements/Blockquote.js +15 -0
- package/dist/modern/typography/elements/Code.js +52 -0
- package/dist/modern/typography/elements/DL.js +31 -0
- package/dist/modern/typography/elements/Div.js +3 -0
- package/dist/modern/typography/elements/H1.js +8 -0
- package/dist/modern/typography/elements/H2.js +9 -0
- package/dist/modern/typography/elements/H3.js +7 -0
- package/dist/modern/typography/elements/H4.js +7 -0
- package/dist/modern/typography/elements/H5.js +7 -0
- package/dist/modern/typography/elements/H6.js +8 -0
- package/dist/modern/typography/elements/HR.js +9 -0
- package/dist/modern/typography/elements/Img.js +4 -0
- package/dist/modern/typography/elements/LI.js +19 -0
- package/dist/modern/typography/elements/Link.js +24 -0
- package/dist/modern/typography/elements/OL.js +14 -0
- package/dist/modern/typography/elements/P.js +12 -0
- package/dist/modern/typography/elements/Pre.js +41 -0
- package/dist/modern/typography/elements/Span.js +80 -0
- package/dist/modern/typography/elements/TT.js +3 -0
- package/dist/modern/typography/elements/Table.js +38 -0
- package/dist/modern/typography/elements/UL.js +14 -0
- package/dist/modern/typography/{shared.js → lib/common.js} +0 -0
- package/dist/modern/typography/lib/isReactChildString.js +1 -0
- package/dist/modern/typography/link/link.js +4 -2
- package/dist/modern/utils/getStoryHref.js +13 -0
- package/dist/ts3.4/Button/Button.d.ts +2 -2
- package/dist/ts3.4/Colors/SideBySide.d.ts +1 -1
- package/dist/ts3.4/Loader/Loader.d.ts +1 -1
- package/dist/ts3.4/ScrollArea/OverlayScrollbars.d.ts +3 -3
- package/dist/ts3.4/Zoom/Zoom.d.ts +4 -4
- package/dist/ts3.4/Zoom/ZoomIFrame.d.ts +2 -2
- package/dist/ts3.4/bar/button.d.ts +6 -6
- package/dist/ts3.4/blocks/ArgsTable/ArgJsDoc.d.ts +1 -1
- package/dist/ts3.4/blocks/ColorPalette.d.ts +2 -2
- package/dist/ts3.4/blocks/DocsPage.d.ts +1 -1
- package/dist/ts3.4/blocks/Story.d.ts +1 -1
- package/dist/ts3.4/controls/Color.d.ts +2 -2
- package/dist/ts3.4/controls/Object.d.ts +2 -2
- package/dist/ts3.4/controls/index.d.ts +5 -4
- package/dist/ts3.4/controls/react-editable-json-tree/JsonNodes.d.ts +247 -0
- package/dist/ts3.4/controls/react-editable-json-tree/index.d.ts +42 -0
- package/dist/ts3.4/controls/react-editable-json-tree/types/dataTypes.d.ts +12 -0
- package/dist/ts3.4/controls/react-editable-json-tree/types/deltaTypes.d.ts +4 -0
- package/dist/ts3.4/controls/react-editable-json-tree/types/inputUsageTypes.d.ts +3 -0
- package/dist/ts3.4/controls/react-editable-json-tree/utils/objectTypes.d.ts +13 -0
- package/dist/ts3.4/controls/react-editable-json-tree/utils/parse.d.ts +6 -0
- package/dist/ts3.4/controls/react-editable-json-tree/utils/styles.d.ts +59 -0
- package/dist/ts3.4/form/index.d.ts +4 -4
- package/dist/ts3.4/form/input/input.d.ts +3 -3
- package/dist/ts3.4/index.d.ts +46 -2
- package/dist/ts3.4/syntaxhighlighter/lazy-syntaxhighlighter.d.ts +2 -2
- package/dist/ts3.4/syntaxhighlighter/syntaxhighlighter-types.d.ts +2 -2
- package/dist/ts3.4/tabs/tabs.d.ts +1 -1
- package/dist/ts3.4/tooltip/ListItem.d.ts +1 -1
- package/dist/ts3.4/tooltip/lazy-WithTooltip.d.ts +3 -3
- package/dist/ts3.4/typography/DocumentFormatting.d.ts +4 -55
- package/dist/ts3.4/typography/ResetWrapper.d.ts +9 -0
- package/dist/ts3.4/typography/components.d.ts +25 -0
- package/dist/ts3.4/typography/elements/A.d.ts +6 -0
- package/dist/ts3.4/typography/elements/Blockquote.d.ts +6 -0
- package/dist/ts3.4/typography/elements/Code.d.ts +6 -0
- package/dist/ts3.4/typography/elements/DL.d.ts +4 -0
- package/dist/ts3.4/typography/elements/Div.d.ts +4 -0
- package/dist/ts3.4/typography/elements/H1.d.ts +6 -0
- package/dist/ts3.4/typography/elements/H2.d.ts +6 -0
- package/dist/ts3.4/typography/elements/H3.d.ts +6 -0
- package/dist/ts3.4/typography/elements/H4.d.ts +6 -0
- package/dist/ts3.4/typography/elements/H5.d.ts +6 -0
- package/dist/ts3.4/typography/elements/H6.d.ts +6 -0
- package/dist/ts3.4/typography/elements/HR.d.ts +2 -0
- package/dist/ts3.4/typography/elements/Img.d.ts +2 -0
- package/dist/ts3.4/typography/elements/LI.d.ts +6 -0
- package/dist/ts3.4/typography/elements/Link.d.ts +2 -0
- package/dist/ts3.4/typography/elements/OL.d.ts +4 -0
- package/dist/ts3.4/typography/elements/P.d.ts +6 -0
- package/dist/ts3.4/typography/elements/Pre.d.ts +6 -0
- package/dist/ts3.4/typography/elements/Span.d.ts +6 -0
- package/dist/ts3.4/typography/elements/TT.d.ts +4 -0
- package/dist/ts3.4/typography/elements/Table.d.ts +6 -0
- package/dist/ts3.4/typography/elements/UL.d.ts +4 -0
- package/dist/ts3.4/typography/{shared.d.ts → lib/common.d.ts} +0 -0
- package/dist/ts3.4/typography/lib/isReactChildString.d.ts +2 -0
- package/dist/ts3.4/utils/getStoryHref.d.ts +1 -0
- package/dist/ts3.9/Button/Button.d.ts +2 -2
- package/dist/ts3.9/Colors/SideBySide.d.ts +1 -1
- package/dist/ts3.9/Loader/Loader.d.ts +1 -1
- package/dist/ts3.9/ScrollArea/OverlayScrollbars.d.ts +3 -3
- package/dist/ts3.9/Zoom/Zoom.d.ts +4 -4
- package/dist/ts3.9/Zoom/ZoomIFrame.d.ts +2 -2
- package/dist/ts3.9/bar/button.d.ts +6 -6
- package/dist/ts3.9/blocks/ArgsTable/ArgJsDoc.d.ts +1 -1
- package/dist/ts3.9/blocks/ColorPalette.d.ts +2 -2
- package/dist/ts3.9/blocks/DocsPage.d.ts +1 -1
- package/dist/ts3.9/blocks/Story.d.ts +1 -1
- package/dist/ts3.9/controls/Color.d.ts +2 -2
- package/dist/ts3.9/controls/Object.d.ts +2 -2
- package/dist/ts3.9/controls/index.d.ts +5 -4
- package/dist/ts3.9/controls/react-editable-json-tree/JsonNodes.d.ts +247 -0
- package/dist/ts3.9/controls/react-editable-json-tree/index.d.ts +42 -0
- package/dist/ts3.9/controls/react-editable-json-tree/types/dataTypes.d.ts +12 -0
- package/dist/ts3.9/controls/react-editable-json-tree/types/deltaTypes.d.ts +4 -0
- package/dist/ts3.9/controls/react-editable-json-tree/types/inputUsageTypes.d.ts +3 -0
- package/dist/ts3.9/controls/react-editable-json-tree/utils/objectTypes.d.ts +13 -0
- package/dist/ts3.9/controls/react-editable-json-tree/utils/parse.d.ts +6 -0
- package/dist/ts3.9/controls/react-editable-json-tree/utils/styles.d.ts +59 -0
- package/dist/ts3.9/form/index.d.ts +4 -4
- package/dist/ts3.9/form/input/input.d.ts +3 -3
- package/dist/ts3.9/index.d.ts +46 -2
- package/dist/ts3.9/syntaxhighlighter/lazy-syntaxhighlighter.d.ts +2 -2
- package/dist/ts3.9/syntaxhighlighter/syntaxhighlighter-types.d.ts +2 -2
- package/dist/ts3.9/tabs/tabs.d.ts +1 -1
- package/dist/ts3.9/tooltip/ListItem.d.ts +1 -1
- package/dist/ts3.9/tooltip/lazy-WithTooltip.d.ts +3 -3
- package/dist/ts3.9/typography/DocumentFormatting.d.ts +4 -55
- package/dist/ts3.9/typography/ResetWrapper.d.ts +9 -0
- package/dist/ts3.9/typography/components.d.ts +25 -0
- package/dist/ts3.9/typography/elements/A.d.ts +6 -0
- package/dist/ts3.9/typography/elements/Blockquote.d.ts +6 -0
- package/dist/ts3.9/typography/elements/Code.d.ts +6 -0
- package/dist/ts3.9/typography/elements/DL.d.ts +4 -0
- package/dist/ts3.9/typography/elements/Div.d.ts +4 -0
- package/dist/ts3.9/typography/elements/H1.d.ts +6 -0
- package/dist/ts3.9/typography/elements/H2.d.ts +6 -0
- package/dist/ts3.9/typography/elements/H3.d.ts +6 -0
- package/dist/ts3.9/typography/elements/H4.d.ts +6 -0
- package/dist/ts3.9/typography/elements/H5.d.ts +6 -0
- package/dist/ts3.9/typography/elements/H6.d.ts +6 -0
- package/dist/ts3.9/typography/elements/HR.d.ts +2 -0
- package/dist/ts3.9/typography/elements/Img.d.ts +2 -0
- package/dist/ts3.9/typography/elements/LI.d.ts +6 -0
- package/dist/ts3.9/typography/elements/Link.d.ts +2 -0
- package/dist/ts3.9/typography/elements/OL.d.ts +4 -0
- package/dist/ts3.9/typography/elements/P.d.ts +6 -0
- package/dist/ts3.9/typography/elements/Pre.d.ts +6 -0
- package/dist/ts3.9/typography/elements/Span.d.ts +6 -0
- package/dist/ts3.9/typography/elements/TT.d.ts +4 -0
- package/dist/ts3.9/typography/elements/Table.d.ts +6 -0
- package/dist/ts3.9/typography/elements/UL.d.ts +4 -0
- package/dist/ts3.9/typography/{shared.d.ts → lib/common.d.ts} +1 -1
- package/dist/ts3.9/typography/lib/isReactChildString.d.ts +2 -0
- package/dist/ts3.9/utils/getStoryHref.d.ts +1 -0
- package/package.json +6 -5
- package/dist/cjs/Colors/colorpalette.stories.mdx +0 -125
- package/dist/cjs/blocks/DocsPageExampleCaption.md +0 -92
- package/dist/cjs/blocks/DocsPageExampleCaption.mdx +0 -92
- package/dist/cjs/controls/react-editable-json-tree/LICENSE.md +0 -14
- package/dist/cjs/controls/react-editable-json-tree/components/JsonAddValue.js +0 -228
- package/dist/cjs/controls/react-editable-json-tree/components/JsonArray.js +0 -507
- package/dist/cjs/controls/react-editable-json-tree/components/JsonFunctionValue.js +0 -321
- package/dist/cjs/controls/react-editable-json-tree/components/JsonNode.js +0 -422
- package/dist/cjs/controls/react-editable-json-tree/components/JsonObject.js +0 -509
- package/dist/cjs/controls/react-editable-json-tree/components/JsonValue.js +0 -312
- package/dist/cjs/typings.d.js +0 -1
- package/dist/cjs/typography/DocumentFormattingSample.md +0 -141
- package/dist/cjs/typography/typography.stories.mdx +0 -75
- package/dist/esm/Colors/colorpalette.stories.mdx +0 -125
- package/dist/esm/blocks/DocsPageExampleCaption.md +0 -92
- package/dist/esm/blocks/DocsPageExampleCaption.mdx +0 -92
- package/dist/esm/controls/react-editable-json-tree/LICENSE.md +0 -14
- package/dist/esm/controls/react-editable-json-tree/components/JsonAddValue.js +0 -194
- package/dist/esm/controls/react-editable-json-tree/components/JsonArray.js +0 -465
- package/dist/esm/controls/react-editable-json-tree/components/JsonFunctionValue.js +0 -282
- package/dist/esm/controls/react-editable-json-tree/components/JsonNode.js +0 -387
- package/dist/esm/controls/react-editable-json-tree/components/JsonObject.js +0 -467
- package/dist/esm/controls/react-editable-json-tree/components/JsonValue.js +0 -272
- package/dist/esm/typings.d.js +0 -0
- package/dist/esm/typography/DocumentFormattingSample.md +0 -141
- package/dist/esm/typography/typography.stories.mdx +0 -75
- package/dist/modern/Colors/colorpalette.stories.mdx +0 -125
- package/dist/modern/blocks/DocsPageExampleCaption.md +0 -92
- package/dist/modern/blocks/DocsPageExampleCaption.mdx +0 -92
- package/dist/modern/controls/react-editable-json-tree/LICENSE.md +0 -14
- package/dist/modern/controls/react-editable-json-tree/components/JsonAddValue.js +0 -148
- package/dist/modern/controls/react-editable-json-tree/components/JsonArray.js +0 -392
- package/dist/modern/controls/react-editable-json-tree/components/JsonFunctionValue.js +0 -215
- package/dist/modern/controls/react-editable-json-tree/components/JsonNode.js +0 -339
- package/dist/modern/controls/react-editable-json-tree/components/JsonObject.js +0 -394
- package/dist/modern/controls/react-editable-json-tree/components/JsonValue.js +0 -202
- package/dist/modern/typings.d.js +0 -0
- package/dist/modern/typography/DocumentFormattingSample.md +0 -141
- package/dist/modern/typography/typography.stories.mdx +0 -75
|
@@ -3,7 +3,7 @@ export interface WrapperProps {
|
|
|
3
3
|
bordered?: boolean;
|
|
4
4
|
absolute?: boolean;
|
|
5
5
|
}
|
|
6
|
-
export declare const TabBar: import("@emotion/styled-base").StyledComponent<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "
|
|
6
|
+
export declare const TabBar: import("@emotion/styled-base").StyledComponent<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "hidden" | "dir" | "slot" | "style" | "title" | "color" | "translate" | "children" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "draggable" | "id" | "lang" | "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" | "css">, import("@storybook/theming").Theme>;
|
|
7
7
|
export interface ContentProps {
|
|
8
8
|
absolute?: boolean;
|
|
9
9
|
bordered?: boolean;
|
|
@@ -18,7 +18,7 @@ export interface ItemProps {
|
|
|
18
18
|
disabled?: boolean;
|
|
19
19
|
}
|
|
20
20
|
declare const Item: import("@emotion/styled-base").StyledComponent<React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, ItemProps, import("@storybook/theming").Theme>;
|
|
21
|
-
export declare type LinkWrapperType = FunctionComponent
|
|
21
|
+
export declare type LinkWrapperType = FunctionComponent<any>;
|
|
22
22
|
export interface ListItemProps extends Omit<ComponentProps<typeof Item>, 'href' | 'title'> {
|
|
23
23
|
loading?: boolean;
|
|
24
24
|
left?: ReactNode;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import React, { ComponentProps } from 'react';
|
|
2
2
|
declare const LazyWithTooltip: React.LazyExoticComponent<React.FunctionComponent<import("./WithTooltip").WithTooltipPureProps & {
|
|
3
3
|
startOpen?: boolean;
|
|
4
4
|
}>>;
|
|
5
|
-
export declare const WithTooltip: (props:
|
|
5
|
+
export declare const WithTooltip: (props: ComponentProps<typeof LazyWithTooltip>) => JSX.Element;
|
|
6
6
|
declare const LazyWithTooltipPure: React.LazyExoticComponent<React.FunctionComponent<import("./WithTooltip").WithTooltipPureProps>>;
|
|
7
|
-
export declare const WithTooltipPure: (props:
|
|
7
|
+
export declare const WithTooltipPure: (props: ComponentProps<typeof LazyWithTooltipPure>) => JSX.Element;
|
|
8
8
|
export {};
|
|
@@ -1,56 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export declare const H4: import("@emotion/styled-base").StyledComponent<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, {}, import("@storybook/theming").Theme>;
|
|
6
|
-
export declare const H5: import("@emotion/styled-base").StyledComponent<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, {}, import("@storybook/theming").Theme>;
|
|
7
|
-
export declare const H6: import("@emotion/styled-base").StyledComponent<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, {}, import("@storybook/theming").Theme>;
|
|
8
|
-
export declare const Pre: import("@emotion/styled-base").StyledComponent<React.DetailedHTMLProps<React.HTMLAttributes<HTMLPreElement>, HTMLPreElement>, {}, import("@storybook/theming").Theme>;
|
|
9
|
-
export declare const A: import("@emotion/styled-base").StyledComponent<any, {}, import("@storybook/theming").Theme>;
|
|
10
|
-
export declare const HR: import("@emotion/styled-base").StyledComponent<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHRElement>, HTMLHRElement>, {}, import("@storybook/theming").Theme>;
|
|
11
|
-
export declare const DL: import("@emotion/styled-base").StyledComponent<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDListElement>, HTMLDListElement>, {}, import("@storybook/theming").Theme>;
|
|
12
|
-
export declare const Blockquote: import("@emotion/styled-base").StyledComponent<React.DetailedHTMLProps<React.BlockquoteHTMLAttributes<HTMLElement>, HTMLElement>, {}, import("@storybook/theming").Theme>;
|
|
13
|
-
export declare const Table: import("@emotion/styled-base").StyledComponent<React.DetailedHTMLProps<React.TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, {}, import("@storybook/theming").Theme>;
|
|
14
|
-
export declare const Img: import("@emotion/styled-base").StyledComponent<React.DetailedHTMLProps<React.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}, import("@storybook/theming").Theme>;
|
|
15
|
-
export declare const Div: import("@emotion/styled-base").StyledComponent<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}, import("@storybook/theming").Theme>;
|
|
16
|
-
export declare const Span: import("@emotion/styled-base").StyledComponent<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}, import("@storybook/theming").Theme>;
|
|
17
|
-
export declare const LI: import("@emotion/styled-base").StyledComponent<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, {}, import("@storybook/theming").Theme>;
|
|
18
|
-
export declare const UL: import("@emotion/styled-base").StyledComponent<React.DetailedHTMLProps<React.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, {}, import("@storybook/theming").Theme>;
|
|
19
|
-
export declare const OL: import("@emotion/styled-base").StyledComponent<React.DetailedHTMLProps<React.OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>, {}, import("@storybook/theming").Theme>;
|
|
20
|
-
export declare const P: import("@emotion/styled-base").StyledComponent<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, {}, import("@storybook/theming").Theme>;
|
|
21
|
-
declare const DefaultCodeBlock: import("@emotion/styled-base").StyledComponent<React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>, {}, import("@storybook/theming").Theme>;
|
|
22
|
-
export declare const Code: ({ className, children, ...props }: React.ComponentProps<typeof DefaultCodeBlock>) => JSX.Element;
|
|
23
|
-
export declare const TT: import("@emotion/styled-base").StyledComponent<React.DetailedHTMLProps<React.HTMLAttributes<HTMLTitleElement>, HTMLTitleElement>, {}, import("@storybook/theming").Theme>;
|
|
24
|
-
/**
|
|
25
|
-
* This is a "local" reset to style subtrees with Storybook styles
|
|
26
|
-
*
|
|
27
|
-
* We can't style individual elements (e.g. h1, h2, etc.) in here
|
|
28
|
-
* because the CSS specificity is too high, so those styles can too
|
|
29
|
-
* easily override child elements that are not expecting it.
|
|
30
|
-
*/
|
|
31
|
-
export declare const ResetWrapper: import("@emotion/styled-base").StyledComponent<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}, import("@storybook/theming").Theme>;
|
|
32
|
-
export declare const components: {
|
|
33
|
-
h1: import("@emotion/styled-base").StyledComponent<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, {}, import("@storybook/theming").Theme>;
|
|
34
|
-
h2: import("@emotion/styled-base").StyledComponent<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, {}, import("@storybook/theming").Theme>;
|
|
35
|
-
h3: import("@emotion/styled-base").StyledComponent<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, {}, import("@storybook/theming").Theme>;
|
|
36
|
-
h4: import("@emotion/styled-base").StyledComponent<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, {}, import("@storybook/theming").Theme>;
|
|
37
|
-
h5: import("@emotion/styled-base").StyledComponent<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, {}, import("@storybook/theming").Theme>;
|
|
38
|
-
h6: import("@emotion/styled-base").StyledComponent<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, {}, import("@storybook/theming").Theme>;
|
|
39
|
-
pre: import("@emotion/styled-base").StyledComponent<React.DetailedHTMLProps<React.HTMLAttributes<HTMLPreElement>, HTMLPreElement>, {}, import("@storybook/theming").Theme>;
|
|
40
|
-
a: import("@emotion/styled-base").StyledComponent<any, {}, import("@storybook/theming").Theme>;
|
|
41
|
-
hr: import("@emotion/styled-base").StyledComponent<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHRElement>, HTMLHRElement>, {}, import("@storybook/theming").Theme>;
|
|
42
|
-
dl: import("@emotion/styled-base").StyledComponent<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDListElement>, HTMLDListElement>, {}, import("@storybook/theming").Theme>;
|
|
43
|
-
blockquote: import("@emotion/styled-base").StyledComponent<React.DetailedHTMLProps<React.BlockquoteHTMLAttributes<HTMLElement>, HTMLElement>, {}, import("@storybook/theming").Theme>;
|
|
44
|
-
table: import("@emotion/styled-base").StyledComponent<React.DetailedHTMLProps<React.TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, {}, import("@storybook/theming").Theme>;
|
|
45
|
-
img: import("@emotion/styled-base").StyledComponent<React.DetailedHTMLProps<React.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}, import("@storybook/theming").Theme>;
|
|
46
|
-
div: import("@emotion/styled-base").StyledComponent<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}, import("@storybook/theming").Theme>;
|
|
47
|
-
span: import("@emotion/styled-base").StyledComponent<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}, import("@storybook/theming").Theme>;
|
|
48
|
-
li: import("@emotion/styled-base").StyledComponent<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, {}, import("@storybook/theming").Theme>;
|
|
49
|
-
ul: import("@emotion/styled-base").StyledComponent<React.DetailedHTMLProps<React.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, {}, import("@storybook/theming").Theme>;
|
|
50
|
-
ol: import("@emotion/styled-base").StyledComponent<React.DetailedHTMLProps<React.OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>, {}, import("@storybook/theming").Theme>;
|
|
51
|
-
p: import("@emotion/styled-base").StyledComponent<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, {}, import("@storybook/theming").Theme>;
|
|
52
|
-
code: ({ className, children, ...props }: React.ComponentProps<typeof DefaultCodeBlock>) => JSX.Element;
|
|
53
|
-
tt: import("@emotion/styled-base").StyledComponent<React.DetailedHTMLProps<React.HTMLAttributes<HTMLTitleElement>, HTMLTitleElement>, {}, import("@storybook/theming").Theme>;
|
|
54
|
-
resetwrapper: import("@emotion/styled-base").StyledComponent<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}, import("@storybook/theming").Theme>;
|
|
1
|
+
export declare const nameSpaceClassNames: ({ ...props }: {
|
|
2
|
+
[x: string]: any;
|
|
3
|
+
}, key: string) => {
|
|
4
|
+
[x: string]: any;
|
|
55
5
|
};
|
|
56
|
-
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
/**
|
|
3
|
+
* This is a "local" reset to style subtrees with Storybook styles
|
|
4
|
+
*
|
|
5
|
+
* We can't style individual elements (e.g. h1, h2, etc.) in here
|
|
6
|
+
* because the CSS specificity is too high, so those styles can too
|
|
7
|
+
* easily override child elements that are not expecting it.
|
|
8
|
+
*/
|
|
9
|
+
export declare const ResetWrapper: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}, import("@storybook/theming").Theme>;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { HTMLAttributes, DetailedHTMLProps, AnchorHTMLAttributes, BlockquoteHTMLAttributes, ImgHTMLAttributes, TableHTMLAttributes, LiHTMLAttributes, OlHTMLAttributes } from 'react';
|
|
2
|
+
export declare const components: {
|
|
3
|
+
h1: (props: DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>) => JSX.Element;
|
|
4
|
+
h2: (props: DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>) => JSX.Element;
|
|
5
|
+
h3: (props: DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>) => JSX.Element;
|
|
6
|
+
h4: (props: DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>) => JSX.Element;
|
|
7
|
+
h5: (props: DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>) => JSX.Element;
|
|
8
|
+
h6: (props: DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>) => JSX.Element;
|
|
9
|
+
pre: (props: DetailedHTMLProps<HTMLAttributes<HTMLPreElement>, HTMLPreElement>) => JSX.Element;
|
|
10
|
+
a: (props: DetailedHTMLProps<AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>) => JSX.Element;
|
|
11
|
+
hr: (props: DetailedHTMLProps<HTMLAttributes<HTMLHRElement>, HTMLHRElement>) => JSX.Element;
|
|
12
|
+
dl: (props: DetailedHTMLProps<HTMLAttributes<HTMLDListElement>, HTMLDListElement>) => JSX.Element;
|
|
13
|
+
blockquote: (props: DetailedHTMLProps<BlockquoteHTMLAttributes<HTMLElement>, HTMLElement>) => JSX.Element;
|
|
14
|
+
table: (props: DetailedHTMLProps<TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>) => JSX.Element;
|
|
15
|
+
img: (props: DetailedHTMLProps<ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>) => JSX.Element;
|
|
16
|
+
div: (props: DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => JSX.Element;
|
|
17
|
+
span: (props: DetailedHTMLProps<HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>) => JSX.Element;
|
|
18
|
+
li: (props: DetailedHTMLProps<LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>) => JSX.Element;
|
|
19
|
+
ul: (props: DetailedHTMLProps<HTMLAttributes<HTMLUListElement>, HTMLUListElement>) => JSX.Element;
|
|
20
|
+
ol: (props: DetailedHTMLProps<OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>) => JSX.Element;
|
|
21
|
+
p: (props: DetailedHTMLProps<HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>) => JSX.Element;
|
|
22
|
+
code: (props: DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>) => JSX.Element;
|
|
23
|
+
tt: (props: DetailedHTMLProps<HTMLAttributes<HTMLTitleElement>, HTMLTitleElement>) => JSX.Element;
|
|
24
|
+
resetwrapper: (props: DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => JSX.Element;
|
|
25
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const A: import("@emotion/styled-base").StyledComponent<import("react").PropsWithChildren<import("react").AnchorHTMLAttributes<HTMLAnchorElement>>, {
|
|
3
|
+
theme: import("@storybook/theming").Theme;
|
|
4
|
+
} & {
|
|
5
|
+
theme: import("@storybook/theming").Theme;
|
|
6
|
+
}, import("@storybook/theming").Theme>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const Blockquote: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").BlockquoteHTMLAttributes<HTMLElement>, HTMLElement>, {
|
|
3
|
+
theme: import("@storybook/theming").Theme;
|
|
4
|
+
} & {
|
|
5
|
+
theme: import("@storybook/theming").Theme;
|
|
6
|
+
}, import("@storybook/theming").Theme>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React, { ComponentProps } from 'react';
|
|
2
|
+
declare const DefaultCodeBlock: import("@emotion/styled-base").StyledComponent<React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>, {
|
|
3
|
+
theme: import("@storybook/theming").Theme;
|
|
4
|
+
}, import("@storybook/theming").Theme>;
|
|
5
|
+
export declare const Code: ({ className, children, ...props }: ComponentProps<typeof DefaultCodeBlock>) => JSX.Element;
|
|
6
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const DL: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDListElement>, HTMLDListElement>, {
|
|
3
|
+
theme: import("@storybook/theming").Theme;
|
|
4
|
+
}, import("@storybook/theming").Theme>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const Div: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
3
|
+
theme: import("@storybook/theming").Theme;
|
|
4
|
+
}, import("@storybook/theming").Theme>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const H1: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, {
|
|
3
|
+
theme: import("@storybook/theming").Theme;
|
|
4
|
+
} & {
|
|
5
|
+
theme: import("@storybook/theming").Theme;
|
|
6
|
+
}, import("@storybook/theming").Theme>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const H2: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, {
|
|
3
|
+
theme: import("@storybook/theming").Theme;
|
|
4
|
+
} & {
|
|
5
|
+
theme: import("@storybook/theming").Theme;
|
|
6
|
+
}, import("@storybook/theming").Theme>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const H3: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, {
|
|
3
|
+
theme: import("@storybook/theming").Theme;
|
|
4
|
+
} & {
|
|
5
|
+
theme: import("@storybook/theming").Theme;
|
|
6
|
+
}, import("@storybook/theming").Theme>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const H4: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, {
|
|
3
|
+
theme: import("@storybook/theming").Theme;
|
|
4
|
+
} & {
|
|
5
|
+
theme: import("@storybook/theming").Theme;
|
|
6
|
+
}, import("@storybook/theming").Theme>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const H5: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, {
|
|
3
|
+
theme: import("@storybook/theming").Theme;
|
|
4
|
+
} & {
|
|
5
|
+
theme: import("@storybook/theming").Theme;
|
|
6
|
+
}, import("@storybook/theming").Theme>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const H6: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, {
|
|
3
|
+
theme: import("@storybook/theming").Theme;
|
|
4
|
+
} & {
|
|
5
|
+
theme: import("@storybook/theming").Theme;
|
|
6
|
+
}, import("@storybook/theming").Theme>;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const HR: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHRElement>, HTMLHRElement>, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHRElement>, HTMLHRElement>, "hidden" | "dir" | "slot" | "style" | "title" | "color" | "translate" | "children" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "draggable" | "id" | "lang" | "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" | "css">, import("@storybook/theming").Theme>;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const Img: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, Pick<import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, "loading" | "hidden" | "dir" | "slot" | "style" | "title" | "color" | "height" | "translate" | "width" | "children" | "referrerPolicy" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "draggable" | "id" | "lang" | "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" | "css" | "alt" | "crossOrigin" | "decoding" | "sizes" | "src" | "srcSet" | "useMap">, import("@storybook/theming").Theme>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const LI: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, {
|
|
3
|
+
theme: import("@storybook/theming").Theme;
|
|
4
|
+
} & {
|
|
5
|
+
theme: import("@storybook/theming").Theme;
|
|
6
|
+
}, import("@storybook/theming").Theme>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const OL: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>, {
|
|
3
|
+
theme: import("@storybook/theming").Theme;
|
|
4
|
+
}, import("@storybook/theming").Theme>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const P: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, {
|
|
3
|
+
theme: import("@storybook/theming").Theme;
|
|
4
|
+
} & {
|
|
5
|
+
theme: import("@storybook/theming").Theme;
|
|
6
|
+
}, import("@storybook/theming").Theme>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const Pre: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLPreElement>, HTMLPreElement>, {
|
|
3
|
+
theme: import("@storybook/theming").Theme;
|
|
4
|
+
} & {
|
|
5
|
+
theme: import("@storybook/theming").Theme;
|
|
6
|
+
}, import("@storybook/theming").Theme>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const Span: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {
|
|
3
|
+
theme: import("@storybook/theming").Theme;
|
|
4
|
+
} & {
|
|
5
|
+
theme: import("@storybook/theming").Theme;
|
|
6
|
+
}, import("@storybook/theming").Theme>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const TT: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTitleElement>, HTMLTitleElement>, {
|
|
3
|
+
theme: import("@storybook/theming").Theme;
|
|
4
|
+
}, import("@storybook/theming").Theme>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const Table: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, {
|
|
3
|
+
theme: import("@storybook/theming").Theme;
|
|
4
|
+
} & {
|
|
5
|
+
theme: import("@storybook/theming").Theme;
|
|
6
|
+
}, import("@storybook/theming").Theme>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const UL: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, {
|
|
3
|
+
theme: import("@storybook/theming").Theme;
|
|
4
|
+
}, import("@storybook/theming").Theme>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getStoryHref: (baseUrl: string, storyId: string, additionalParams?: Record<string, string>) => string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/components",
|
|
3
|
-
"version": "6.5.0-alpha.
|
|
3
|
+
"version": "6.5.0-alpha.30",
|
|
4
4
|
"description": "Core Storybook Components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook"
|
|
@@ -41,9 +41,9 @@
|
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@popperjs/core": "^2.6.0",
|
|
44
|
-
"@storybook/client-logger": "6.5.0-alpha.
|
|
44
|
+
"@storybook/client-logger": "6.5.0-alpha.30",
|
|
45
45
|
"@storybook/csf": "0.0.2--canary.87bc651.0",
|
|
46
|
-
"@storybook/theming": "6.5.0-alpha.
|
|
46
|
+
"@storybook/theming": "6.5.0-alpha.30",
|
|
47
47
|
"@types/color-convert": "^2.0.0",
|
|
48
48
|
"@types/overlayscrollbars": "^1.12.0",
|
|
49
49
|
"@types/react-syntax-highlighter": "11.0.5",
|
|
@@ -57,9 +57,10 @@
|
|
|
57
57
|
"overlayscrollbars": "^1.13.1",
|
|
58
58
|
"polished": "^4.0.5",
|
|
59
59
|
"prop-types": "^15.7.2",
|
|
60
|
+
"qs": "^6.10.0",
|
|
60
61
|
"react-colorful": "^5.1.2",
|
|
61
62
|
"react-popper-tooltip": "^3.1.1",
|
|
62
|
-
"react-syntax-highlighter": "^
|
|
63
|
+
"react-syntax-highlighter": "^15.4.5",
|
|
63
64
|
"react-textarea-autosize": "^8.3.0",
|
|
64
65
|
"regenerator-runtime": "^0.13.7",
|
|
65
66
|
"ts-dedent": "^2.0.0",
|
|
@@ -76,6 +77,6 @@
|
|
|
76
77
|
"publishConfig": {
|
|
77
78
|
"access": "public"
|
|
78
79
|
},
|
|
79
|
-
"gitHead": "
|
|
80
|
+
"gitHead": "4dc5ec5956f3a8cfb07e3c4b3442fb3f6ac95662",
|
|
80
81
|
"sbmodern": "dist/modern/index.js"
|
|
81
82
|
}
|
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
import { Meta, ColorPalette, ColorItem } from '@storybook/addon-docs';
|
|
2
|
-
|
|
3
|
-
import { themes, ThemeProvider, convert, ensure } from '@storybook/theming';
|
|
4
|
-
|
|
5
|
-
import { SideBySide } from './SideBySide';
|
|
6
|
-
|
|
7
|
-
<Meta title="Basics/ColorPalette" />
|
|
8
|
-
|
|
9
|
-
<SideBySide>
|
|
10
|
-
<div style={{background: '#202020' }}>
|
|
11
|
-
<ThemeProvider theme={ensure(themes.dark)}>
|
|
12
|
-
|
|
13
|
-
Dark theme Colors
|
|
14
|
-
|
|
15
|
-
<ColorPalette>
|
|
16
|
-
{Object.entries(convert(themes.dark).color).map(([k, v]) => {
|
|
17
|
-
if (typeof v === 'string' && (v.match(/^#/) || v.match(/^rgb/) || k.match(/color/i))) {
|
|
18
|
-
return <ColorItem key={k} title={k} colors={{ [k]: v }} />;
|
|
19
|
-
} else if (typeof v === 'object') {
|
|
20
|
-
return (
|
|
21
|
-
<ColorItem
|
|
22
|
-
key={k}
|
|
23
|
-
title={k}
|
|
24
|
-
colors={Object.entries(v).reduce(
|
|
25
|
-
(acc, [key, value]) =>
|
|
26
|
-
typeof value === 'string' &&
|
|
27
|
-
(value.match(/^#/) || value.match(/^rgb/) || key.match(/color/i))
|
|
28
|
-
? { ...acc, [key]: value }
|
|
29
|
-
: acc,
|
|
30
|
-
{}
|
|
31
|
-
)}
|
|
32
|
-
/>
|
|
33
|
-
);
|
|
34
|
-
}
|
|
35
|
-
return null;
|
|
36
|
-
})}
|
|
37
|
-
</ColorPalette>
|
|
38
|
-
|
|
39
|
-
Dark theme Backgrounds
|
|
40
|
-
|
|
41
|
-
<ColorPalette>
|
|
42
|
-
{Object.entries(convert(themes.dark).background).map(([k,v]) => {
|
|
43
|
-
if(k === 'color'){
|
|
44
|
-
return null
|
|
45
|
-
}
|
|
46
|
-
if (typeof v === 'string' && (v.match(/^#/) || v.match(/^rgb/) || k.match(/color/i))) {
|
|
47
|
-
return (
|
|
48
|
-
<ColorItem
|
|
49
|
-
key={k}
|
|
50
|
-
title={k}
|
|
51
|
-
colors={{ [k]: v }}
|
|
52
|
-
/>
|
|
53
|
-
);
|
|
54
|
-
} else if (typeof v === 'object') {
|
|
55
|
-
const colors = Object.entries(v).reduce((acc, [key, value]) => (typeof value === 'string' && (value.match(/^#/) || value.match(/^rgb/) || key.match(/color/i))) ? {...acc, [key]: value} : acc, {});
|
|
56
|
-
return (
|
|
57
|
-
<ColorItem
|
|
58
|
-
key={k}
|
|
59
|
-
title={k}
|
|
60
|
-
colors={colors}
|
|
61
|
-
/>
|
|
62
|
-
);
|
|
63
|
-
}
|
|
64
|
-
return null;
|
|
65
|
-
})}
|
|
66
|
-
</ColorPalette>
|
|
67
|
-
</ThemeProvider></div>
|
|
68
|
-
<div styles={{ background: '#eeeeee'}}>
|
|
69
|
-
|
|
70
|
-
Light theme Colors
|
|
71
|
-
|
|
72
|
-
<ColorPalette>
|
|
73
|
-
{Object.entries(convert(themes.light).color).map(([k, v]) => {
|
|
74
|
-
if (typeof v === 'string' && (v.match(/^#/) || v.match(/^rgb/) || k.match(/color/i))) {
|
|
75
|
-
return <ColorItem key={k} title={k} colors={{ [k]: v }} />;
|
|
76
|
-
} else if (typeof v === 'object') {
|
|
77
|
-
return (
|
|
78
|
-
<ColorItem
|
|
79
|
-
key={k}
|
|
80
|
-
title={k}
|
|
81
|
-
colors={Object.entries(v).reduce(
|
|
82
|
-
(acc, [key, value]) =>
|
|
83
|
-
typeof value === 'string' &&
|
|
84
|
-
(value.match(/^#/) || value.match(/^rgb/) || key.match(/color/i))
|
|
85
|
-
? { ...acc, [key]: value }
|
|
86
|
-
: acc,
|
|
87
|
-
{}
|
|
88
|
-
)}
|
|
89
|
-
/>
|
|
90
|
-
);
|
|
91
|
-
}
|
|
92
|
-
return null;
|
|
93
|
-
})}
|
|
94
|
-
</ColorPalette>
|
|
95
|
-
|
|
96
|
-
Light theme Backgrounds
|
|
97
|
-
|
|
98
|
-
<ColorPalette>
|
|
99
|
-
{Object.entries(convert(themes.light).background).map(([k,v]) => {
|
|
100
|
-
if(k === 'color'){
|
|
101
|
-
return null
|
|
102
|
-
}
|
|
103
|
-
if (typeof v === 'string' && (v.match(/^#/) || v.match(/^rgb/) || k.match(/color/i))) {
|
|
104
|
-
return (
|
|
105
|
-
<ColorItem
|
|
106
|
-
key={k}
|
|
107
|
-
title={k}
|
|
108
|
-
colors={{ [k]: v }}
|
|
109
|
-
/>
|
|
110
|
-
);
|
|
111
|
-
} else if (typeof v === 'object') {
|
|
112
|
-
const colors = Object.entries(v).reduce((acc, [key, value]) => (typeof value === 'string' && (value.match(/^#/) || value.match(/^rgb/) || key.match(/color/i))) ? {...acc, [key]: value} : acc, {});
|
|
113
|
-
return (
|
|
114
|
-
<ColorItem
|
|
115
|
-
key={k}
|
|
116
|
-
title={k}
|
|
117
|
-
colors={colors}
|
|
118
|
-
/>
|
|
119
|
-
);
|
|
120
|
-
}
|
|
121
|
-
return null;
|
|
122
|
-
})}
|
|
123
|
-
</ColorPalette>
|
|
124
|
-
</div>
|
|
125
|
-
</SideBySide>
|