@storybook/components 6.5.0-alpha.22 → 6.5.0-alpha.26
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 +7 -3
- package/dist/cjs/ScrollArea/ScrollArea.js +10 -8
- 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 +8 -6
- 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 +3 -1
- package/dist/cjs/blocks/ArgsTable/ArgRow.stories.js +1 -1
- package/dist/cjs/blocks/ArgsTable/ArgValue.js +9 -9
- package/dist/cjs/blocks/ArgsTable/ArgsTable.js +10 -6
- 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 +1 -1
- 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 +3 -1
- package/dist/cjs/blocks/ColorPalette.stories.js +1 -1
- package/dist/cjs/blocks/Description.stories.js +1 -1
- package/dist/cjs/blocks/DocsPage.js +1 -1
- package/dist/cjs/blocks/DocsPage.stories.js +6 -6
- package/dist/cjs/blocks/EmptyBlock.stories.js +1 -1
- package/dist/cjs/blocks/IFrame.js +13 -11
- package/dist/cjs/blocks/IconGallery.js +4 -2
- package/dist/cjs/blocks/IconGallery.stories.js +1 -1
- package/dist/cjs/blocks/Preview.js +14 -10
- 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 +9 -7
- package/dist/cjs/blocks/Story.stories.js +9 -7
- package/dist/cjs/blocks/Toolbar.js +10 -8
- package/dist/cjs/blocks/Typeset.js +3 -1
- 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 +10 -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 +7 -7
- 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/components/JsonAddValue.js +10 -10
- package/dist/cjs/controls/react-editable-json-tree/components/JsonArray.js +13 -11
- package/dist/cjs/controls/react-editable-json-tree/components/JsonFunctionValue.js +13 -11
- package/dist/cjs/controls/react-editable-json-tree/components/JsonNode.js +8 -8
- package/dist/cjs/controls/react-editable-json-tree/components/JsonObject.js +13 -11
- package/dist/cjs/controls/react-editable-json-tree/components/JsonValue.js +13 -11
- package/dist/cjs/controls/react-editable-json-tree/index.js +21 -21
- package/dist/cjs/controls/react-editable-json-tree/utils/objectTypes.js +3 -3
- 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 +3 -1
- package/dist/cjs/icon/icon.stories.js +2 -0
- package/dist/cjs/icon/icons.js +1 -1
- package/dist/cjs/index.js +70 -68
- 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 +7 -7
- 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 +7 -7
- package/dist/cjs/typography/DocumentFormatting.js +13 -6
- package/dist/cjs/typography/DocumentWrapper.stories.js +1 -1
- package/dist/cjs/typography/link/link.js +5 -3
- package/dist/cjs/typography/shared.js +1 -1
- package/dist/cjs/utils/getStoryHref.js +5 -5
- 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 +6 -4
- package/dist/esm/ScrollArea/ScrollArea.js +4 -2
- package/dist/esm/Zoom/Zoom.stories.js +3 -2
- package/dist/esm/Zoom/ZoomElement.js +3 -2
- 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 +1 -0
- package/dist/esm/blocks/ArgsTable/ArgValue.js +4 -4
- package/dist/esm/blocks/ArgsTable/ArgsTable.js +5 -3
- package/dist/esm/blocks/ArgsTable/SectionRow.js +3 -2
- package/dist/esm/blocks/ArgsTable/TabbedArgsTable.js +17 -14
- package/dist/esm/blocks/ColorPalette.js +3 -1
- package/dist/esm/blocks/IFrame.js +16 -14
- package/dist/esm/blocks/IconGallery.js +3 -1
- package/dist/esm/blocks/Preview.js +16 -14
- package/dist/esm/blocks/Source.js +2 -1
- package/dist/esm/blocks/Story.js +5 -3
- package/dist/esm/blocks/Story.stories.js +3 -2
- package/dist/esm/blocks/Toolbar.js +3 -2
- package/dist/esm/blocks/Typeset.js +5 -3
- 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 +4 -3
- package/dist/esm/controls/Number.stories.js +3 -2
- package/dist/esm/controls/Object.js +3 -2
- 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 +1 -1
- 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/components/JsonAddValue.js +6 -6
- package/dist/esm/controls/react-editable-json-tree/components/JsonArray.js +8 -7
- package/dist/esm/controls/react-editable-json-tree/components/JsonFunctionValue.js +8 -7
- package/dist/esm/controls/react-editable-json-tree/components/JsonNode.js +5 -5
- package/dist/esm/controls/react-editable-json-tree/components/JsonObject.js +8 -7
- package/dist/esm/controls/react-editable-json-tree/components/JsonValue.js +8 -7
- package/dist/esm/controls/react-editable-json-tree/index.js +6 -6
- package/dist/esm/controls/react-editable-json-tree/utils/objectTypes.js +2 -2
- 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 +4 -3
- package/dist/esm/icon/icon.stories.js +1 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/placeholder/placeholder.js +16 -12
- package/dist/esm/spaced/Spaced.js +6 -4
- package/dist/esm/syntaxhighlighter/lazy-syntaxhighlighter.js +1 -1
- 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 +1 -1
- package/dist/esm/typography/DocumentFormatting.js +12 -7
- package/dist/esm/typography/link/link.js +2 -1
- package/dist/esm/utils/getStoryHref.js +3 -3
- 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 +4 -2
- package/dist/modern/ScrollArea/ScrollArea.js +4 -2
- package/dist/modern/bar/bar.js +4 -2
- package/dist/modern/bar/button.js +4 -2
- package/dist/modern/blocks/ArgsTable/TabbedArgsTable.js +4 -2
- package/dist/modern/blocks/ColorPalette.js +4 -2
- package/dist/modern/blocks/IFrame.js +3 -1
- package/dist/modern/blocks/IconGallery.js +4 -2
- package/dist/modern/blocks/Preview.js +4 -2
- package/dist/modern/blocks/Source.js +3 -1
- package/dist/modern/blocks/Story.js +4 -2
- package/dist/modern/blocks/Toolbar.js +4 -2
- package/dist/modern/blocks/Typeset.js +4 -2
- 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/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 +4 -2
- package/dist/modern/placeholder/placeholder.js +4 -2
- package/dist/modern/spaced/Spaced.js +4 -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/typography/DocumentFormatting.js +7 -4
- package/dist/modern/typography/link/link.js +4 -2
- package/dist/ts3.4/Zoom/ZoomIFrame.d.ts +1 -1
- package/dist/ts3.4/blocks/Story.d.ts +1 -1
- package/dist/ts3.9/Zoom/ZoomIFrame.d.ts +1 -1
- package/dist/ts3.9/blocks/Story.d.ts +1 -1
- package/package.json +4 -4
- 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/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/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/typings.d.js +0 -0
- package/dist/modern/typography/DocumentFormattingSample.md +0 -141
- package/dist/modern/typography/typography.stories.mdx +0 -75
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
const _excluded = ["children", "language", "copyable", "bordered", "padded", "format", "className", "showLineNumbers"];
|
|
2
|
+
|
|
1
3
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
4
|
|
|
3
5
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
@@ -117,7 +119,7 @@ const Code = styled.code({
|
|
|
117
119
|
paddingRight: 0,
|
|
118
120
|
opacity: 1
|
|
119
121
|
});
|
|
120
|
-
export const SyntaxHighlighter =
|
|
122
|
+
export const SyntaxHighlighter = _ref => {
|
|
121
123
|
let {
|
|
122
124
|
children,
|
|
123
125
|
language = 'jsx',
|
|
@@ -128,7 +130,7 @@ export const SyntaxHighlighter = (_ref) => {
|
|
|
128
130
|
className = null,
|
|
129
131
|
showLineNumbers = false
|
|
130
132
|
} = _ref,
|
|
131
|
-
rest = _objectWithoutPropertiesLoose(_ref,
|
|
133
|
+
rest = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
132
134
|
|
|
133
135
|
if (typeof children !== 'string' || !children.trim()) {
|
|
134
136
|
return null;
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
const _excluded = ["active", "loading", "disabled"],
|
|
2
|
+
_excluded2 = ["loading", "left", "title", "center", "right", "active", "disabled", "href", "onClick", "LinkWrapper"];
|
|
3
|
+
|
|
1
4
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
5
|
|
|
3
6
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
@@ -6,8 +9,8 @@ import React from 'react';
|
|
|
6
9
|
import { styled } from '@storybook/theming';
|
|
7
10
|
import memoize from 'memoizerific';
|
|
8
11
|
import { transparentize } from 'polished';
|
|
9
|
-
const Title = styled(
|
|
10
|
-
let rest = _objectWithoutPropertiesLoose(_ref,
|
|
12
|
+
const Title = styled(_ref => {
|
|
13
|
+
let rest = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
11
14
|
|
|
12
15
|
return /*#__PURE__*/React.createElement("span", rest);
|
|
13
16
|
})(({
|
|
@@ -142,7 +145,7 @@ const getItemProps = memoize(100)((onClick, href, LinkWrapper) => {
|
|
|
142
145
|
return result;
|
|
143
146
|
});
|
|
144
147
|
|
|
145
|
-
const ListItem =
|
|
148
|
+
const ListItem = _ref2 => {
|
|
146
149
|
let {
|
|
147
150
|
loading,
|
|
148
151
|
left,
|
|
@@ -155,7 +158,7 @@ const ListItem = (_ref2) => {
|
|
|
155
158
|
onClick,
|
|
156
159
|
LinkWrapper
|
|
157
160
|
} = _ref2,
|
|
158
|
-
rest = _objectWithoutPropertiesLoose(_ref2,
|
|
161
|
+
rest = _objectWithoutPropertiesLoose(_ref2, _excluded2);
|
|
159
162
|
|
|
160
163
|
const itemProps = getItemProps(onClick, href, LinkWrapper);
|
|
161
164
|
const commonProps = {
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
const _excluded = ["placement", "hasChrome", "children", "arrowProps", "tooltipRef", "arrowRef", "color"];
|
|
2
|
+
|
|
1
3
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
4
|
|
|
3
5
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
@@ -74,7 +76,7 @@ const Wrapper = styled.div(({
|
|
|
74
76
|
borderRadius: theme.appBorderRadius * 2,
|
|
75
77
|
fontSize: theme.typography.size.s1
|
|
76
78
|
} : {});
|
|
77
|
-
export const Tooltip =
|
|
79
|
+
export const Tooltip = _ref => {
|
|
78
80
|
let {
|
|
79
81
|
placement,
|
|
80
82
|
hasChrome,
|
|
@@ -84,7 +86,7 @@ export const Tooltip = (_ref) => {
|
|
|
84
86
|
arrowRef,
|
|
85
87
|
color
|
|
86
88
|
} = _ref,
|
|
87
|
-
props = _objectWithoutPropertiesLoose(_ref,
|
|
89
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
88
90
|
|
|
89
91
|
return /*#__PURE__*/React.createElement(Wrapper, _extends({
|
|
90
92
|
hasChrome: hasChrome,
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
const _excluded = ["LinkWrapper", "onClick"],
|
|
2
|
+
_excluded2 = ["isGatsby"];
|
|
3
|
+
|
|
1
4
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
5
|
|
|
3
6
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
@@ -22,7 +25,7 @@ const Item = props => {
|
|
|
22
25
|
LinkWrapper,
|
|
23
26
|
onClick: onClickFromProps
|
|
24
27
|
} = props,
|
|
25
|
-
rest = _objectWithoutPropertiesLoose(props,
|
|
28
|
+
rest = _objectWithoutPropertiesLoose(props, _excluded);
|
|
26
29
|
|
|
27
30
|
const {
|
|
28
31
|
title,
|
|
@@ -47,11 +50,11 @@ Item.displayName = "Item";
|
|
|
47
50
|
export const TooltipLinkList = ({
|
|
48
51
|
links,
|
|
49
52
|
LinkWrapper
|
|
50
|
-
}) => /*#__PURE__*/React.createElement(List, null, links.map(
|
|
53
|
+
}) => /*#__PURE__*/React.createElement(List, null, links.map(_ref => {
|
|
51
54
|
let {
|
|
52
55
|
isGatsby
|
|
53
56
|
} = _ref,
|
|
54
|
-
p = _objectWithoutPropertiesLoose(_ref,
|
|
57
|
+
p = _objectWithoutPropertiesLoose(_ref, _excluded2);
|
|
55
58
|
|
|
56
59
|
return /*#__PURE__*/React.createElement(Item, _extends({
|
|
57
60
|
key: p.id,
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
const _excluded = ["title"];
|
|
2
|
+
|
|
1
3
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
4
|
|
|
3
5
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
@@ -37,11 +39,11 @@ export const TooltipMessage = ({
|
|
|
37
39
|
desc,
|
|
38
40
|
links
|
|
39
41
|
}) => {
|
|
40
|
-
return /*#__PURE__*/React.createElement(MessageWrapper, null, /*#__PURE__*/React.createElement(Message, null, title && /*#__PURE__*/React.createElement(Title, null, title), desc && /*#__PURE__*/React.createElement(Desc, null, desc)), links && /*#__PURE__*/React.createElement(Links, null, links.map(
|
|
42
|
+
return /*#__PURE__*/React.createElement(MessageWrapper, null, /*#__PURE__*/React.createElement(Message, null, title && /*#__PURE__*/React.createElement(Title, null, title), desc && /*#__PURE__*/React.createElement(Desc, null, desc)), links && /*#__PURE__*/React.createElement(Links, null, links.map(_ref => {
|
|
41
43
|
let {
|
|
42
44
|
title: linkTitle
|
|
43
45
|
} = _ref,
|
|
44
|
-
other = _objectWithoutPropertiesLoose(_ref,
|
|
46
|
+
other = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
45
47
|
|
|
46
48
|
return /*#__PURE__*/React.createElement(Link, _extends({}, other, {
|
|
47
49
|
key: linkTitle
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
const _excluded = ["note"];
|
|
2
|
+
|
|
1
3
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
2
4
|
|
|
3
5
|
import React from 'react';
|
|
@@ -18,11 +20,11 @@ const Note = styled.div(({
|
|
|
18
20
|
background: theme.base === 'light' ? 'rgba(60, 60, 60, 0.9)' : 'rgba(20, 20, 20, 0.85)',
|
|
19
21
|
margin: 6
|
|
20
22
|
}));
|
|
21
|
-
export const TooltipNote =
|
|
23
|
+
export const TooltipNote = _ref => {
|
|
22
24
|
let {
|
|
23
25
|
note
|
|
24
26
|
} = _ref,
|
|
25
|
-
props = _objectWithoutPropertiesLoose(_ref,
|
|
27
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
26
28
|
|
|
27
29
|
return /*#__PURE__*/React.createElement(Note, props, note);
|
|
28
30
|
};
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
const _excluded = ["svg", "trigger", "closeOnClick", "placement", "modifiers", "hasChrome", "tooltip", "children", "tooltipShown", "onVisibilityChange"],
|
|
2
|
+
_excluded2 = ["startOpen", "onVisibilityChange"];
|
|
3
|
+
|
|
1
4
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
5
|
|
|
3
6
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
@@ -20,7 +23,7 @@ const TargetSvgContainer = styled.g`
|
|
|
20
23
|
`;
|
|
21
24
|
|
|
22
25
|
// Pure, does not bind to the body
|
|
23
|
-
const WithTooltipPure =
|
|
26
|
+
const WithTooltipPure = _ref => {
|
|
24
27
|
let {
|
|
25
28
|
svg,
|
|
26
29
|
trigger,
|
|
@@ -32,7 +35,7 @@ const WithTooltipPure = (_ref) => {
|
|
|
32
35
|
tooltipShown,
|
|
33
36
|
onVisibilityChange
|
|
34
37
|
} = _ref,
|
|
35
|
-
props = _objectWithoutPropertiesLoose(_ref,
|
|
38
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
36
39
|
|
|
37
40
|
const Container = svg ? TargetSvgContainer : TargetContainer;
|
|
38
41
|
return /*#__PURE__*/React.createElement(TooltipTrigger, {
|
|
@@ -93,12 +96,12 @@ WithTooltipPure.defaultProps = {
|
|
|
93
96
|
tooltipShown: false
|
|
94
97
|
};
|
|
95
98
|
|
|
96
|
-
const WithToolTipState =
|
|
99
|
+
const WithToolTipState = _ref2 => {
|
|
97
100
|
let {
|
|
98
101
|
startOpen,
|
|
99
102
|
onVisibilityChange: onChange
|
|
100
103
|
} = _ref2,
|
|
101
|
-
rest = _objectWithoutPropertiesLoose(_ref2,
|
|
104
|
+
rest = _objectWithoutPropertiesLoose(_ref2, _excluded2);
|
|
102
105
|
|
|
103
106
|
const [tooltipShown, setTooltipShown] = useState(startOpen || false);
|
|
104
107
|
const onVisibilityChange = useCallback(visibility => {
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
const _excluded = ["href", "children"],
|
|
2
|
+
_excluded2 = ["className", "children"];
|
|
3
|
+
|
|
1
4
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
5
|
|
|
3
6
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
@@ -80,12 +83,12 @@ export const Pre = styled.pre(withReset, withMargin, ({
|
|
|
80
83
|
}
|
|
81
84
|
}));
|
|
82
85
|
|
|
83
|
-
const Link =
|
|
86
|
+
const Link = _ref => {
|
|
84
87
|
let {
|
|
85
88
|
href: input,
|
|
86
89
|
children
|
|
87
90
|
} = _ref,
|
|
88
|
-
props = _objectWithoutPropertiesLoose(_ref,
|
|
91
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
89
92
|
|
|
90
93
|
const isStorybookPath = /^\//.test(input);
|
|
91
94
|
const isAnchorUrl = /^#.*/.test(input);
|
|
@@ -346,14 +349,14 @@ const isInlineCodeRegex = /[\n\r]/g;
|
|
|
346
349
|
|
|
347
350
|
const isReactChildString = child => typeof child === 'string';
|
|
348
351
|
|
|
349
|
-
export const Code =
|
|
352
|
+
export const Code = _ref2 => {
|
|
350
353
|
var _language$;
|
|
351
354
|
|
|
352
355
|
let {
|
|
353
356
|
className,
|
|
354
357
|
children
|
|
355
358
|
} = _ref2,
|
|
356
|
-
props = _objectWithoutPropertiesLoose(_ref2,
|
|
359
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded2);
|
|
357
360
|
|
|
358
361
|
const language = (className || '').match(/lang-(\S+)/);
|
|
359
362
|
const childrenArray = React.Children.toArray(children);
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
const _excluded = ["cancel", "children", "onClick", "withArrow", "containsIcon", "className"];
|
|
2
|
+
|
|
1
3
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
4
|
|
|
3
5
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
@@ -143,7 +145,7 @@ const A = styled.a(({
|
|
|
143
145
|
padding: 0,
|
|
144
146
|
fontSize: 'inherit'
|
|
145
147
|
} : {});
|
|
146
|
-
export const Link =
|
|
148
|
+
export const Link = _ref => {
|
|
147
149
|
let {
|
|
148
150
|
cancel,
|
|
149
151
|
children,
|
|
@@ -152,7 +154,7 @@ export const Link = (_ref) => {
|
|
|
152
154
|
containsIcon,
|
|
153
155
|
className
|
|
154
156
|
} = _ref,
|
|
155
|
-
rest = _objectWithoutPropertiesLoose(_ref,
|
|
157
|
+
rest = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
156
158
|
|
|
157
159
|
return /*#__PURE__*/React.createElement(A, _extends({}, rest, {
|
|
158
160
|
onClick: onClick && cancel ? e => cancelled(e, onClick) : onClick,
|
|
@@ -11,5 +11,5 @@ export declare class ZoomIFrame extends Component<IZoomIFrameProps> {
|
|
|
11
11
|
shouldComponentUpdate(nextProps: IZoomIFrameProps): boolean;
|
|
12
12
|
setIframeInnerZoom(scale: number): void;
|
|
13
13
|
setIframeZoom(scale: number): void;
|
|
14
|
-
render(): ReactElement<HTMLIFrameElement, string | ((props: any) => ReactElement<any,
|
|
14
|
+
render(): ReactElement<HTMLIFrameElement, string | ((props: any) => ReactElement<any, any>) | (new (props: any) => Component<any, any, any>)> | (ReactElement<HTMLIFrameElement, string | ((props: any) => ReactElement<any, any>) | (new (props: any) => Component<any, any, any>)> & string) | (ReactElement<HTMLIFrameElement, string | ((props: any) => ReactElement<any, any>) | (new (props: any) => Component<any, any, any>)> & number) | (ReactElement<HTMLIFrameElement, string | ((props: any) => ReactElement<any, any>) | (new (props: any) => Component<any, any, any>)> & false) | (ReactElement<HTMLIFrameElement, string | ((props: any) => ReactElement<any, any>) | (new (props: any) => Component<any, any, any>)> & true) | (ReactElement<HTMLIFrameElement, string | ((props: any) => ReactElement<any, any>) | (new (props: any) => Component<any, any, any>)> & ReactElement<any, string | ((props: any) => ReactElement<any, any>) | (new (props: any) => Component<any, any, any>)>) | (ReactElement<HTMLIFrameElement, string | ((props: any) => ReactElement<any, any>) | (new (props: any) => Component<any, any, any>)> & import("react").ReactNodeArray) | (ReactElement<HTMLIFrameElement, string | ((props: any) => ReactElement<any, any>) | (new (props: any) => Component<any, any, any>)> & import("react").ReactPortal);
|
|
15
15
|
}
|
|
@@ -11,5 +11,5 @@ export declare class ZoomIFrame extends Component<IZoomIFrameProps> {
|
|
|
11
11
|
shouldComponentUpdate(nextProps: IZoomIFrameProps): boolean;
|
|
12
12
|
setIframeInnerZoom(scale: number): void;
|
|
13
13
|
setIframeZoom(scale: number): void;
|
|
14
|
-
render(): ReactElement<HTMLIFrameElement, string | ((props: any) => ReactElement<any,
|
|
14
|
+
render(): ReactElement<HTMLIFrameElement, string | ((props: any) => ReactElement<any, any>) | (new (props: any) => Component<any, any, any>)> | (ReactElement<HTMLIFrameElement, string | ((props: any) => ReactElement<any, any>) | (new (props: any) => Component<any, any, any>)> & string) | (ReactElement<HTMLIFrameElement, string | ((props: any) => ReactElement<any, any>) | (new (props: any) => Component<any, any, any>)> & number) | (ReactElement<HTMLIFrameElement, string | ((props: any) => ReactElement<any, any>) | (new (props: any) => Component<any, any, any>)> & false) | (ReactElement<HTMLIFrameElement, string | ((props: any) => ReactElement<any, any>) | (new (props: any) => Component<any, any, any>)> & true) | (ReactElement<HTMLIFrameElement, string | ((props: any) => ReactElement<any, any>) | (new (props: any) => Component<any, any, any>)> & ReactElement<any, string | ((props: any) => ReactElement<any, any>) | (new (props: any) => Component<any, any, any>)>) | (ReactElement<HTMLIFrameElement, string | ((props: any) => ReactElement<any, any>) | (new (props: any) => Component<any, any, any>)> & import("react").ReactNodeArray) | (ReactElement<HTMLIFrameElement, string | ((props: any) => ReactElement<any, any>) | (new (props: any) => Component<any, any, any>)> & import("react").ReactPortal);
|
|
15
15
|
}
|
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.26",
|
|
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.26",
|
|
45
45
|
"@storybook/csf": "0.0.2--canary.87bc651.0",
|
|
46
|
-
"@storybook/theming": "6.5.0-alpha.
|
|
46
|
+
"@storybook/theming": "6.5.0-alpha.26",
|
|
47
47
|
"@types/color-convert": "^2.0.0",
|
|
48
48
|
"@types/overlayscrollbars": "^1.12.0",
|
|
49
49
|
"@types/react-syntax-highlighter": "11.0.5",
|
|
@@ -77,6 +77,6 @@
|
|
|
77
77
|
"publishConfig": {
|
|
78
78
|
"access": "public"
|
|
79
79
|
},
|
|
80
|
-
"gitHead": "
|
|
80
|
+
"gitHead": "80fb653cad6cda80f1982c413f95f2f966d94e01",
|
|
81
81
|
"sbmodern": "dist/modern/index.js"
|
|
82
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>
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
# My Example Markdown
|
|
2
|
-
|
|
3
|
-
The group looked like tall, exotic grazing animals, swaying gracefully and unconsciously with the movement of the train, their high heels like polished hooves against the gray metal of the Flatline as a construct, a hardwired ROM cassette replicating a dead man’s skills, obsessions, kneejerk responses.
|
|
4
|
-
|
|
5
|
-

|
|
6
|
-
|
|
7
|
-
He stared at the clinic, Molly took him to the Tank War, mouth touched with hot gold as a gliding cursor struck sparks from the wall of a skyscraper canyon. Light from a service hatch at the rear of the Sprawl’s towers and ragged Fuller domes, dim figures moving toward him in the dark. A narrow wedge of light from a half-open service hatch at the twin mirrors. Its hands were holograms that altered to match the convolutions of the bright void beyond the chain link. Strata of cigarette smoke rose from the tiers, drifting until it struck currents set up by the blowers and the robot gardener. Still it was a steady pulse of pain midway down his spine. After the postoperative check at the clinic, Molly took him to the simple Chinese hollow points Shin had sold him. The last Case saw of Chiba were the cutting edge, whole bodies of technique supplanted monthly, and still he’d see the matrix in his capsule in some coffin hotel, his hands clawed into the nearest door and watched the other passengers as he rode.
|
|
8
|
-
|
|
9
|
-
## Typography
|
|
10
|
-
|
|
11
|
-
# H1
|
|
12
|
-
|
|
13
|
-
## H2
|
|
14
|
-
|
|
15
|
-
### H3
|
|
16
|
-
|
|
17
|
-
#### H4
|
|
18
|
-
|
|
19
|
-
##### H5
|
|
20
|
-
|
|
21
|
-
###### H6
|
|
22
|
-
|
|
23
|
-
Emphasis, aka italics, with _asterisks_ or _underscores_.
|
|
24
|
-
|
|
25
|
-
Strong emphasis, aka bold, with **asterisks** or **underscores**.
|
|
26
|
-
|
|
27
|
-
Combined emphasis with **asterisks and _underscores_**.
|
|
28
|
-
|
|
29
|
-
Strikethrough uses two tildes. ~~Scratch this.~~
|
|
30
|
-
|
|
31
|
-
Maybe include a [link](http://storybook.js.org) to your project as well.
|
|
32
|
-
|
|
33
|
-
## Block quote
|
|
34
|
-
|
|
35
|
-
How about a block quote to spice things up?
|
|
36
|
-
|
|
37
|
-
> In der Bilanz ausgewiesene Verbindlichkeiten im Zusammenhang mit leistungsorientierten Pensionsfonds sind bei der Ermittlung des harten Kernkapitals („Common Equity Tier 1“, CET1) einhalten müssen. Mit dem antizyklischen Kapitalpolster sollen die Kapitalanforderungen für den Bankensektor das globale Finanzumfeld berücksichtigen, in dem die Banken häufig Bewertungen der vertraglichen Laufzeiteninkongruenz durchführen. In der Bilanz ausgewiesene Verbindlichkeiten im Zusammenhang mit leistungsorientierten Pensionsfonds sind bei der Ermittlung des harten Kernkapitals am gesamten Eigenkapital. Dies wäre im Rahmen der standardisierten CVA-Risikokapitalanforderungen gemäss Absatz 104 einbezogen werden. Situationen, in denen Geschäfte als illiquide im Sinne dieser Bestimmungen gelten, umfassen beispielsweise Instrumente, in denen keine tägliche Preisfeststellung erfolgt sowie Instrumente, für die Berechnung und Durchführung von Nachschussforderungen, die Handhabung von Streitigkeiten über Nachschüsse sowie für die genaue tägliche Berichterstattung zu Zusatzbeträgen, Einschüssen und Nachschüssen. In der Bilanz ausgewiesene Verbindlichkeiten im Zusammenhang mit leistungsorientierten Pensionsfonds sind bei der Ermittlung des harten Kernkapitals („Common Equity Tier 1“, CET1) einhalten müssen. Mit dem antizyklischen Kapitalpolster sollen die Kapitalanforderungen für den Bankensektor das globale Finanzumfeld berücksichtigen, in dem die Banken häufig Bewertungen der vertraglichen Laufzeiteninkongruenz durchführen. Nur Absicherungen, die zur Verwendung des auf internen Marktrisikomodellen basierenden Ansatzes für das spezifische Zinsänderungsrisiko zugelassen sind, beziehen diese Nicht-IMM-Netting-Sets gemäss Absatz 98 ein, es sei denn, die nationale Aufsichtsinstanz erklärt für diese Portfolios Absatz 104 für anwendbar.
|
|
38
|
-
|
|
39
|
-
## Lists
|
|
40
|
-
|
|
41
|
-
Mixed list:
|
|
42
|
-
|
|
43
|
-
1. First ordered list item
|
|
44
|
-
2. Another item
|
|
45
|
-
- Unordered sub-list.
|
|
46
|
-
3. Actual numbers don't matter, just that it's a number
|
|
47
|
-
1. Ordered sub-list
|
|
48
|
-
2. Yo ho ho
|
|
49
|
-
4. And another item.
|
|
50
|
-
|
|
51
|
-
Bullet list:
|
|
52
|
-
|
|
53
|
-
- Whatever
|
|
54
|
-
- This is getting
|
|
55
|
-
- Very ...
|
|
56
|
-
- Very ...
|
|
57
|
-
- Tedious!
|
|
58
|
-
- It's getting late, nothing to see here
|
|
59
|
-
|
|
60
|
-
Numbered:
|
|
61
|
-
|
|
62
|
-
1. You get the idea
|
|
63
|
-
2. You still get the idea
|
|
64
|
-
3. You really get the idea
|
|
65
|
-
4. I'm done
|
|
66
|
-
|
|
67
|
-
## Tables
|
|
68
|
-
|
|
69
|
-
A basic table:
|
|
70
|
-
|
|
71
|
-
| Tables | Are | Cool |
|
|
72
|
-
| ------------- | :-----------: | -----: |
|
|
73
|
-
| col 3 is | right-aligned | \$1600 |
|
|
74
|
-
| col 2 is | centered | \$12 |
|
|
75
|
-
| zebra stripes | are neat | \$1 |
|
|
76
|
-
|
|
77
|
-
Let's throw in a crazy table, because why not?
|
|
78
|
-
|
|
79
|
-
| | [React](app/react) | [React Native](app/react-native) | [Vue](app/vue) | [Angular](app/angular) | [Mithril](app/mithril) | [HTML](app/html) | [Marko](app/marko) | [Svelte](app/svelte) | [Riot](app/riot) | [Ember](app/ember) | [Preact](app/preact) |
|
|
80
|
-
| --------------------------------- | :----------------: | :------------------------------: | :------------: | :--------------------: | :--------------------: | :--------------: | :----------------: | :------------------: | :--------------: | :----------------: | :------------------: |
|
|
81
|
-
| [a11y](addons/a11y) | + | | + | + | + | + | + | | | + | + |
|
|
82
|
-
| [actions](addons/actions) | + | + | + | + | + | + | + | + | + | + | + |
|
|
83
|
-
| [backgrounds](addons/backgrounds) | + | \* | + | + | + | + | + | + | + | + | + |
|
|
84
|
-
| [centered](addons/centered) | + | | + | + | + | + | | + | | + | + |
|
|
85
|
-
|
|
86
|
-
## Code
|
|
87
|
-
|
|
88
|
-
Sometimes you might want to manually include some \`code\` examples? Let's do it.
|
|
89
|
-
|
|
90
|
-
```js
|
|
91
|
-
const Button = () => <button />;
|
|
92
|
-
```
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
# My Example Markdown
|
|
2
|
-
|
|
3
|
-
The group looked like tall, exotic grazing animals, swaying gracefully and unconsciously with the movement of the train, their high heels like polished hooves against the gray metal of the Flatline as a construct, a hardwired ROM cassette replicating a dead man’s skills, obsessions, kneejerk responses.
|
|
4
|
-
|
|
5
|
-

|
|
6
|
-
|
|
7
|
-
He stared at the clinic, Molly took him to the Tank War, mouth touched with hot gold as a gliding cursor struck sparks from the wall of a skyscraper canyon. Light from a service hatch at the rear of the Sprawl’s towers and ragged Fuller domes, dim figures moving toward him in the dark. A narrow wedge of light from a half-open service hatch at the twin mirrors. Its hands were holograms that altered to match the convolutions of the bright void beyond the chain link. Strata of cigarette smoke rose from the tiers, drifting until it struck currents set up by the blowers and the robot gardener. Still it was a steady pulse of pain midway down his spine. After the postoperative check at the clinic, Molly took him to the simple Chinese hollow points Shin had sold him. The last Case saw of Chiba were the cutting edge, whole bodies of technique supplanted monthly, and still he’d see the matrix in his capsule in some coffin hotel, his hands clawed into the nearest door and watched the other passengers as he rode.
|
|
8
|
-
|
|
9
|
-
## Typography
|
|
10
|
-
|
|
11
|
-
# H1
|
|
12
|
-
|
|
13
|
-
## H2
|
|
14
|
-
|
|
15
|
-
### H3
|
|
16
|
-
|
|
17
|
-
#### H4
|
|
18
|
-
|
|
19
|
-
##### H5
|
|
20
|
-
|
|
21
|
-
###### H6
|
|
22
|
-
|
|
23
|
-
Emphasis, aka italics, with _asterisks_ or _underscores_.
|
|
24
|
-
|
|
25
|
-
Strong emphasis, aka bold, with **asterisks** or **underscores**.
|
|
26
|
-
|
|
27
|
-
Combined emphasis with **asterisks and _underscores_**.
|
|
28
|
-
|
|
29
|
-
Strikethrough uses two tildes. ~~Scratch this.~~
|
|
30
|
-
|
|
31
|
-
Maybe include a [link](http://storybook.js.org) to your project as well.
|
|
32
|
-
|
|
33
|
-
## Block quote
|
|
34
|
-
|
|
35
|
-
How about a block quote to spice things up?
|
|
36
|
-
|
|
37
|
-
> In der Bilanz ausgewiesene Verbindlichkeiten im Zusammenhang mit leistungsorientierten Pensionsfonds sind bei der Ermittlung des harten Kernkapitals („Common Equity Tier 1“, CET1) einhalten müssen. Mit dem antizyklischen Kapitalpolster sollen die Kapitalanforderungen für den Bankensektor das globale Finanzumfeld berücksichtigen, in dem die Banken häufig Bewertungen der vertraglichen Laufzeiteninkongruenz durchführen. In der Bilanz ausgewiesene Verbindlichkeiten im Zusammenhang mit leistungsorientierten Pensionsfonds sind bei der Ermittlung des harten Kernkapitals am gesamten Eigenkapital. Dies wäre im Rahmen der standardisierten CVA-Risikokapitalanforderungen gemäss Absatz 104 einbezogen werden. Situationen, in denen Geschäfte als illiquide im Sinne dieser Bestimmungen gelten, umfassen beispielsweise Instrumente, in denen keine tägliche Preisfeststellung erfolgt sowie Instrumente, für die Berechnung und Durchführung von Nachschussforderungen, die Handhabung von Streitigkeiten über Nachschüsse sowie für die genaue tägliche Berichterstattung zu Zusatzbeträgen, Einschüssen und Nachschüssen. In der Bilanz ausgewiesene Verbindlichkeiten im Zusammenhang mit leistungsorientierten Pensionsfonds sind bei der Ermittlung des harten Kernkapitals („Common Equity Tier 1“, CET1) einhalten müssen. Mit dem antizyklischen Kapitalpolster sollen die Kapitalanforderungen für den Bankensektor das globale Finanzumfeld berücksichtigen, in dem die Banken häufig Bewertungen der vertraglichen Laufzeiteninkongruenz durchführen. Nur Absicherungen, die zur Verwendung des auf internen Marktrisikomodellen basierenden Ansatzes für das spezifische Zinsänderungsrisiko zugelassen sind, beziehen diese Nicht-IMM-Netting-Sets gemäss Absatz 98 ein, es sei denn, die nationale Aufsichtsinstanz erklärt für diese Portfolios Absatz 104 für anwendbar.
|
|
38
|
-
|
|
39
|
-
## Lists
|
|
40
|
-
|
|
41
|
-
Mixed list:
|
|
42
|
-
|
|
43
|
-
1. First ordered list item
|
|
44
|
-
2. Another item
|
|
45
|
-
- Unordered sub-list.
|
|
46
|
-
3. Actual numbers don't matter, just that it's a number
|
|
47
|
-
1. Ordered sub-list
|
|
48
|
-
2. Yo ho ho
|
|
49
|
-
4. And another item.
|
|
50
|
-
|
|
51
|
-
Bullet list:
|
|
52
|
-
|
|
53
|
-
- Whatever
|
|
54
|
-
- This is getting
|
|
55
|
-
- Very ...
|
|
56
|
-
- Very ...
|
|
57
|
-
- Tedious!
|
|
58
|
-
- It's getting late, nothing to see here
|
|
59
|
-
|
|
60
|
-
Numbered:
|
|
61
|
-
|
|
62
|
-
1. You get the idea
|
|
63
|
-
2. You still get the idea
|
|
64
|
-
3. You really get the idea
|
|
65
|
-
4. I'm done
|
|
66
|
-
|
|
67
|
-
## Tables
|
|
68
|
-
|
|
69
|
-
A basic table:
|
|
70
|
-
|
|
71
|
-
| Tables | Are | Cool |
|
|
72
|
-
| ------------- | :-----------: | -----: |
|
|
73
|
-
| col 3 is | right-aligned | \$1600 |
|
|
74
|
-
| col 2 is | centered | \$12 |
|
|
75
|
-
| zebra stripes | are neat | \$1 |
|
|
76
|
-
|
|
77
|
-
Let's throw in a crazy table, because why not?
|
|
78
|
-
|
|
79
|
-
| | [React](app/react) | [React Native](app/react-native) | [Vue](app/vue) | [Angular](app/angular) | [Mithril](app/mithril) | [HTML](app/html) | [Marko](app/marko) | [Svelte](app/svelte) | [Riot](app/riot) | [Ember](app/ember) | [Preact](app/preact) |
|
|
80
|
-
| --------------------------------- | :----------------: | :------------------------------: | :------------: | :--------------------: | :--------------------: | :--------------: | :----------------: | :------------------: | :--------------: | :----------------: | :------------------: |
|
|
81
|
-
| [a11y](addons/a11y) | + | | + | + | + | + | + | | | + | + |
|
|
82
|
-
| [actions](addons/actions) | + | + | + | + | + | + | + | + | + | + | + |
|
|
83
|
-
| [backgrounds](addons/backgrounds) | + | \* | + | + | + | + | + | + | + | + | + |
|
|
84
|
-
| [centered](addons/centered) | + | | + | + | + | + | | + | | + | + |
|
|
85
|
-
|
|
86
|
-
## Code
|
|
87
|
-
|
|
88
|
-
Sometimes you might want to manually include some \`code\` examples? Let's do it.
|
|
89
|
-
|
|
90
|
-
```js
|
|
91
|
-
const Button = () => <button />;
|
|
92
|
-
```
|