@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.
Files changed (255) hide show
  1. package/dist/cjs/ActionBar/ActionBar.js +4 -2
  2. package/dist/cjs/ActionBar/ActionBar.stories.js +1 -1
  3. package/dist/cjs/Button/Button.js +8 -6
  4. package/dist/cjs/Loader/Loader.js +12 -8
  5. package/dist/cjs/Loader/Loader.stories.js +1 -1
  6. package/dist/cjs/ScrollArea/GlobalScrollAreaStyles.js +1 -1
  7. package/dist/cjs/ScrollArea/OverlayScrollbars.js +7 -3
  8. package/dist/cjs/ScrollArea/ScrollArea.js +10 -8
  9. package/dist/cjs/ScrollArea/ScrollArea.stories.js +6 -6
  10. package/dist/cjs/Zoom/Zoom.js +1 -1
  11. package/dist/cjs/Zoom/Zoom.stories.js +9 -7
  12. package/dist/cjs/Zoom/ZoomElement.js +8 -6
  13. package/dist/cjs/Zoom/ZoomIFrame.js +8 -8
  14. package/dist/cjs/addon-panel/addon-panel.js +5 -5
  15. package/dist/cjs/bar/bar.js +16 -10
  16. package/dist/cjs/bar/button.js +6 -4
  17. package/dist/cjs/bar/button.stories.js +1 -1
  18. package/dist/cjs/bar/separator.js +7 -7
  19. package/dist/cjs/blocks/ArgsTable/ArgControl.js +8 -6
  20. package/dist/cjs/blocks/ArgsTable/ArgJsDoc.js +3 -1
  21. package/dist/cjs/blocks/ArgsTable/ArgRow.stories.js +1 -1
  22. package/dist/cjs/blocks/ArgsTable/ArgValue.js +9 -9
  23. package/dist/cjs/blocks/ArgsTable/ArgsTable.js +10 -6
  24. package/dist/cjs/blocks/ArgsTable/ArgsTable.stories.js +6 -6
  25. package/dist/cjs/blocks/ArgsTable/SectionRow.js +8 -6
  26. package/dist/cjs/blocks/ArgsTable/SectionRow.stories.js +1 -1
  27. package/dist/cjs/blocks/ArgsTable/TabbedArgsTable.js +10 -6
  28. package/dist/cjs/blocks/ArgsTable/TabbedArgsTable.stories.js +1 -1
  29. package/dist/cjs/blocks/ArgsTable/index.js +2 -0
  30. package/dist/cjs/blocks/ColorPalette.js +3 -1
  31. package/dist/cjs/blocks/ColorPalette.stories.js +1 -1
  32. package/dist/cjs/blocks/Description.stories.js +1 -1
  33. package/dist/cjs/blocks/DocsPage.js +1 -1
  34. package/dist/cjs/blocks/DocsPage.stories.js +6 -6
  35. package/dist/cjs/blocks/EmptyBlock.stories.js +1 -1
  36. package/dist/cjs/blocks/IFrame.js +13 -11
  37. package/dist/cjs/blocks/IconGallery.js +4 -2
  38. package/dist/cjs/blocks/IconGallery.stories.js +1 -1
  39. package/dist/cjs/blocks/Preview.js +14 -10
  40. package/dist/cjs/blocks/Preview.stories.js +6 -6
  41. package/dist/cjs/blocks/Source.js +6 -4
  42. package/dist/cjs/blocks/Source.stories.js +1 -1
  43. package/dist/cjs/blocks/Story.js +9 -7
  44. package/dist/cjs/blocks/Story.stories.js +9 -7
  45. package/dist/cjs/blocks/Toolbar.js +10 -8
  46. package/dist/cjs/blocks/Typeset.js +3 -1
  47. package/dist/cjs/blocks/Typeset.stories.js +1 -1
  48. package/dist/cjs/blocks/index.js +2 -0
  49. package/dist/cjs/brand/StorybookLogo.js +5 -3
  50. package/dist/cjs/brand/StorybookLogo.stories.js +1 -1
  51. package/dist/cjs/controls/Boolean.js +5 -5
  52. package/dist/cjs/controls/Boolean.stories.js +9 -7
  53. package/dist/cjs/controls/Color.js +13 -11
  54. package/dist/cjs/controls/Color.stories.js +9 -7
  55. package/dist/cjs/controls/Date.js +8 -8
  56. package/dist/cjs/controls/Date.stories.js +9 -7
  57. package/dist/cjs/controls/Files.js +7 -5
  58. package/dist/cjs/controls/Number.js +10 -8
  59. package/dist/cjs/controls/Number.stories.js +9 -7
  60. package/dist/cjs/controls/Object.js +8 -6
  61. package/dist/cjs/controls/Object.stories.js +9 -7
  62. package/dist/cjs/controls/Range.js +7 -7
  63. package/dist/cjs/controls/Range.stories.js +9 -7
  64. package/dist/cjs/controls/Text.js +8 -6
  65. package/dist/cjs/controls/Text.stories.js +9 -7
  66. package/dist/cjs/controls/helpers.js +2 -2
  67. package/dist/cjs/controls/index.js +7 -7
  68. package/dist/cjs/controls/options/Checkbox.js +9 -7
  69. package/dist/cjs/controls/options/Options.js +2 -0
  70. package/dist/cjs/controls/options/Options.stories.js +9 -7
  71. package/dist/cjs/controls/options/Select.js +2 -0
  72. package/dist/cjs/controls/options/helpers.js +7 -5
  73. package/dist/cjs/controls/options/index.js +2 -0
  74. package/dist/cjs/controls/react-editable-json-tree/components/JsonAddValue.js +10 -10
  75. package/dist/cjs/controls/react-editable-json-tree/components/JsonArray.js +13 -11
  76. package/dist/cjs/controls/react-editable-json-tree/components/JsonFunctionValue.js +13 -11
  77. package/dist/cjs/controls/react-editable-json-tree/components/JsonNode.js +8 -8
  78. package/dist/cjs/controls/react-editable-json-tree/components/JsonObject.js +13 -11
  79. package/dist/cjs/controls/react-editable-json-tree/components/JsonValue.js +13 -11
  80. package/dist/cjs/controls/react-editable-json-tree/index.js +21 -21
  81. package/dist/cjs/controls/react-editable-json-tree/utils/objectTypes.js +3 -3
  82. package/dist/cjs/controls/react-editable-json-tree/utils/styles.js +1 -1
  83. package/dist/cjs/controls/types.js +5 -1
  84. package/dist/cjs/form/field/field.js +3 -1
  85. package/dist/cjs/form/form.stories.js +5 -3
  86. package/dist/cjs/form/input/input.js +15 -10
  87. package/dist/cjs/html.js +2 -0
  88. package/dist/cjs/icon/icon.js +3 -1
  89. package/dist/cjs/icon/icon.stories.js +2 -0
  90. package/dist/cjs/icon/icons.js +1 -1
  91. package/dist/cjs/index.js +70 -68
  92. package/dist/cjs/placeholder/placeholder.js +15 -9
  93. package/dist/cjs/placeholder/placeholder.stories.js +6 -6
  94. package/dist/cjs/spaced/Spaced.js +3 -1
  95. package/dist/cjs/syntaxhighlighter/lazy-syntaxhighlighter.js +7 -7
  96. package/dist/cjs/syntaxhighlighter/syntaxhighlighter-types.js +5 -1
  97. package/dist/cjs/syntaxhighlighter/syntaxhighlighter.js +15 -10
  98. package/dist/cjs/syntaxhighlighter/syntaxhighlighter.stories.js +5 -5
  99. package/dist/cjs/tabs/tabs.js +13 -11
  100. package/dist/cjs/tabs/tabs.stories.js +6 -4
  101. package/dist/cjs/tooltip/ListItem.js +7 -4
  102. package/dist/cjs/tooltip/Tooltip.js +5 -3
  103. package/dist/cjs/tooltip/TooltipLinkList.js +12 -9
  104. package/dist/cjs/tooltip/TooltipLinkList.stories.js +5 -5
  105. package/dist/cjs/tooltip/TooltipMessage.js +3 -1
  106. package/dist/cjs/tooltip/TooltipNote.js +3 -1
  107. package/dist/cjs/tooltip/WithTooltip.js +14 -9
  108. package/dist/cjs/tooltip/lazy-WithTooltip.js +7 -7
  109. package/dist/cjs/typography/DocumentFormatting.js +13 -6
  110. package/dist/cjs/typography/DocumentWrapper.stories.js +1 -1
  111. package/dist/cjs/typography/link/link.js +5 -3
  112. package/dist/cjs/typography/shared.js +1 -1
  113. package/dist/cjs/utils/getStoryHref.js +5 -5
  114. package/dist/esm/ActionBar/ActionBar.js +5 -3
  115. package/dist/esm/Button/Button.js +3 -1
  116. package/dist/esm/Loader/Loader.js +5 -3
  117. package/dist/esm/ScrollArea/OverlayScrollbars.js +6 -4
  118. package/dist/esm/ScrollArea/ScrollArea.js +4 -2
  119. package/dist/esm/Zoom/Zoom.stories.js +3 -2
  120. package/dist/esm/Zoom/ZoomElement.js +3 -2
  121. package/dist/esm/Zoom/ZoomIFrame.js +6 -6
  122. package/dist/esm/bar/bar.js +7 -4
  123. package/dist/esm/bar/button.js +2 -1
  124. package/dist/esm/bar/separator.js +1 -0
  125. package/dist/esm/blocks/ArgsTable/ArgControl.js +3 -2
  126. package/dist/esm/blocks/ArgsTable/ArgJsDoc.js +1 -0
  127. package/dist/esm/blocks/ArgsTable/ArgValue.js +4 -4
  128. package/dist/esm/blocks/ArgsTable/ArgsTable.js +5 -3
  129. package/dist/esm/blocks/ArgsTable/SectionRow.js +3 -2
  130. package/dist/esm/blocks/ArgsTable/TabbedArgsTable.js +17 -14
  131. package/dist/esm/blocks/ColorPalette.js +3 -1
  132. package/dist/esm/blocks/IFrame.js +16 -14
  133. package/dist/esm/blocks/IconGallery.js +3 -1
  134. package/dist/esm/blocks/Preview.js +16 -14
  135. package/dist/esm/blocks/Source.js +2 -1
  136. package/dist/esm/blocks/Story.js +5 -3
  137. package/dist/esm/blocks/Story.stories.js +3 -2
  138. package/dist/esm/blocks/Toolbar.js +3 -2
  139. package/dist/esm/blocks/Typeset.js +5 -3
  140. package/dist/esm/brand/StorybookLogo.js +2 -1
  141. package/dist/esm/controls/Boolean.stories.js +3 -2
  142. package/dist/esm/controls/Color.js +7 -5
  143. package/dist/esm/controls/Color.stories.js +3 -2
  144. package/dist/esm/controls/Date.js +3 -3
  145. package/dist/esm/controls/Date.stories.js +3 -2
  146. package/dist/esm/controls/Files.js +4 -3
  147. package/dist/esm/controls/Number.js +4 -3
  148. package/dist/esm/controls/Number.stories.js +3 -2
  149. package/dist/esm/controls/Object.js +3 -2
  150. package/dist/esm/controls/Object.stories.js +3 -2
  151. package/dist/esm/controls/Range.js +1 -1
  152. package/dist/esm/controls/Range.stories.js +3 -2
  153. package/dist/esm/controls/Text.js +3 -2
  154. package/dist/esm/controls/Text.stories.js +3 -2
  155. package/dist/esm/controls/helpers.js +1 -1
  156. package/dist/esm/controls/index.js +1 -1
  157. package/dist/esm/controls/options/Checkbox.js +4 -3
  158. package/dist/esm/controls/options/Options.js +1 -0
  159. package/dist/esm/controls/options/Options.stories.js +3 -2
  160. package/dist/esm/controls/options/Select.js +1 -0
  161. package/dist/esm/controls/options/helpers.js +4 -3
  162. package/dist/esm/controls/react-editable-json-tree/components/JsonAddValue.js +6 -6
  163. package/dist/esm/controls/react-editable-json-tree/components/JsonArray.js +8 -7
  164. package/dist/esm/controls/react-editable-json-tree/components/JsonFunctionValue.js +8 -7
  165. package/dist/esm/controls/react-editable-json-tree/components/JsonNode.js +5 -5
  166. package/dist/esm/controls/react-editable-json-tree/components/JsonObject.js +8 -7
  167. package/dist/esm/controls/react-editable-json-tree/components/JsonValue.js +8 -7
  168. package/dist/esm/controls/react-editable-json-tree/index.js +6 -6
  169. package/dist/esm/controls/react-editable-json-tree/utils/objectTypes.js +2 -2
  170. package/dist/esm/controls/types.js +1 -0
  171. package/dist/esm/form/field/field.js +5 -3
  172. package/dist/esm/form/form.stories.js +3 -2
  173. package/dist/esm/form/input/input.js +11 -6
  174. package/dist/esm/icon/icon.js +4 -3
  175. package/dist/esm/icon/icon.stories.js +1 -0
  176. package/dist/esm/index.js +1 -0
  177. package/dist/esm/placeholder/placeholder.js +16 -12
  178. package/dist/esm/spaced/Spaced.js +6 -4
  179. package/dist/esm/syntaxhighlighter/lazy-syntaxhighlighter.js +1 -1
  180. package/dist/esm/syntaxhighlighter/syntaxhighlighter-types.js +1 -0
  181. package/dist/esm/syntaxhighlighter/syntaxhighlighter.js +17 -14
  182. package/dist/esm/tabs/tabs.js +7 -6
  183. package/dist/esm/tabs/tabs.stories.js +2 -1
  184. package/dist/esm/tooltip/ListItem.js +7 -4
  185. package/dist/esm/tooltip/Tooltip.js +4 -2
  186. package/dist/esm/tooltip/TooltipLinkList.js +5 -3
  187. package/dist/esm/tooltip/TooltipMessage.js +6 -4
  188. package/dist/esm/tooltip/TooltipNote.js +5 -3
  189. package/dist/esm/tooltip/WithTooltip.js +7 -4
  190. package/dist/esm/tooltip/lazy-WithTooltip.js +1 -1
  191. package/dist/esm/typography/DocumentFormatting.js +12 -7
  192. package/dist/esm/typography/link/link.js +2 -1
  193. package/dist/esm/utils/getStoryHref.js +3 -3
  194. package/dist/modern/ActionBar/ActionBar.js +4 -2
  195. package/dist/modern/Badge/Badge.js +1 -1
  196. package/dist/modern/Button/Button.js +3 -1
  197. package/dist/modern/Loader/Loader.js +4 -2
  198. package/dist/modern/ScrollArea/OverlayScrollbars.js +4 -2
  199. package/dist/modern/ScrollArea/ScrollArea.js +4 -2
  200. package/dist/modern/bar/bar.js +4 -2
  201. package/dist/modern/bar/button.js +4 -2
  202. package/dist/modern/blocks/ArgsTable/TabbedArgsTable.js +4 -2
  203. package/dist/modern/blocks/ColorPalette.js +4 -2
  204. package/dist/modern/blocks/IFrame.js +3 -1
  205. package/dist/modern/blocks/IconGallery.js +4 -2
  206. package/dist/modern/blocks/Preview.js +4 -2
  207. package/dist/modern/blocks/Source.js +3 -1
  208. package/dist/modern/blocks/Story.js +4 -2
  209. package/dist/modern/blocks/Toolbar.js +4 -2
  210. package/dist/modern/blocks/Typeset.js +4 -2
  211. package/dist/modern/brand/StorybookIcon.js +1 -1
  212. package/dist/modern/brand/StorybookLogo.js +4 -2
  213. package/dist/modern/controls/Color.js +4 -2
  214. package/dist/modern/controls/types.js +1 -0
  215. package/dist/modern/form/field/field.js +4 -2
  216. package/dist/modern/form/input/input.js +9 -4
  217. package/dist/modern/icon/icon.js +4 -2
  218. package/dist/modern/placeholder/placeholder.js +4 -2
  219. package/dist/modern/spaced/Spaced.js +4 -2
  220. package/dist/modern/syntaxhighlighter/syntaxhighlighter-types.js +1 -0
  221. package/dist/modern/syntaxhighlighter/syntaxhighlighter.js +4 -2
  222. package/dist/modern/tooltip/ListItem.js +7 -4
  223. package/dist/modern/tooltip/Tooltip.js +4 -2
  224. package/dist/modern/tooltip/TooltipLinkList.js +6 -3
  225. package/dist/modern/tooltip/TooltipMessage.js +4 -2
  226. package/dist/modern/tooltip/TooltipNote.js +4 -2
  227. package/dist/modern/tooltip/WithTooltip.js +7 -4
  228. package/dist/modern/typography/DocumentFormatting.js +7 -4
  229. package/dist/modern/typography/link/link.js +4 -2
  230. package/dist/ts3.4/Zoom/ZoomIFrame.d.ts +1 -1
  231. package/dist/ts3.4/blocks/Story.d.ts +1 -1
  232. package/dist/ts3.9/Zoom/ZoomIFrame.d.ts +1 -1
  233. package/dist/ts3.9/blocks/Story.d.ts +1 -1
  234. package/package.json +4 -4
  235. package/dist/cjs/Colors/colorpalette.stories.mdx +0 -125
  236. package/dist/cjs/blocks/DocsPageExampleCaption.md +0 -92
  237. package/dist/cjs/blocks/DocsPageExampleCaption.mdx +0 -92
  238. package/dist/cjs/controls/react-editable-json-tree/LICENSE.md +0 -14
  239. package/dist/cjs/typings.d.js +0 -1
  240. package/dist/cjs/typography/DocumentFormattingSample.md +0 -141
  241. package/dist/cjs/typography/typography.stories.mdx +0 -75
  242. package/dist/esm/Colors/colorpalette.stories.mdx +0 -125
  243. package/dist/esm/blocks/DocsPageExampleCaption.md +0 -92
  244. package/dist/esm/blocks/DocsPageExampleCaption.mdx +0 -92
  245. package/dist/esm/controls/react-editable-json-tree/LICENSE.md +0 -14
  246. package/dist/esm/typings.d.js +0 -0
  247. package/dist/esm/typography/DocumentFormattingSample.md +0 -141
  248. package/dist/esm/typography/typography.stories.mdx +0 -75
  249. package/dist/modern/Colors/colorpalette.stories.mdx +0 -125
  250. package/dist/modern/blocks/DocsPageExampleCaption.md +0 -92
  251. package/dist/modern/blocks/DocsPageExampleCaption.mdx +0 -92
  252. package/dist/modern/controls/react-editable-json-tree/LICENSE.md +0 -14
  253. package/dist/modern/typings.d.js +0 -0
  254. package/dist/modern/typography/DocumentFormattingSample.md +0 -141
  255. 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 = (_ref) => {
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, ["children", "language", "copyable", "bordered", "padded", "format", "className", "showLineNumbers"]);
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((_ref) => {
10
- let rest = _objectWithoutPropertiesLoose(_ref, ["active", "loading", "disabled"]);
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 = (_ref2) => {
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, ["loading", "left", "title", "center", "right", "active", "disabled", "href", "onClick", "LinkWrapper"]);
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 = (_ref) => {
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, ["placement", "hasChrome", "children", "arrowProps", "tooltipRef", "arrowRef", "color"]);
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, ["LinkWrapper", "onClick"]);
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((_ref) => {
53
+ }) => /*#__PURE__*/React.createElement(List, null, links.map(_ref => {
51
54
  let {
52
55
  isGatsby
53
56
  } = _ref,
54
- p = _objectWithoutPropertiesLoose(_ref, ["isGatsby"]);
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((_ref) => {
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, ["title"]);
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 = (_ref) => {
23
+ export const TooltipNote = _ref => {
22
24
  let {
23
25
  note
24
26
  } = _ref,
25
- props = _objectWithoutPropertiesLoose(_ref, ["note"]);
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 = (_ref) => {
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, ["svg", "trigger", "closeOnClick", "placement", "modifiers", "hasChrome", "tooltip", "children", "tooltipShown", "onVisibilityChange"]);
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 = (_ref2) => {
99
+ const WithToolTipState = _ref2 => {
97
100
  let {
98
101
  startOpen,
99
102
  onVisibilityChange: onChange
100
103
  } = _ref2,
101
- rest = _objectWithoutPropertiesLoose(_ref2, ["startOpen", "onVisibilityChange"]);
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 = (_ref) => {
86
+ const Link = _ref => {
84
87
  let {
85
88
  href: input,
86
89
  children
87
90
  } = _ref,
88
- props = _objectWithoutPropertiesLoose(_ref, ["href", "children"]);
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 = (_ref2) => {
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, ["className", "children"]);
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 = (_ref) => {
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, ["cancel", "children", "onClick", "withArrow", "containsIcon", "className"]);
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, string | any | (new (props: any) => Component<any, any, any>)>) | (new (props: any) => Component<any, any, any>)> | (ReactElement<HTMLIFrameElement, string | ((props: any) => ReactElement<any, string | any | (new (props: any) => Component<any, any, any>)>) | (new (props: any) => Component<any, any, any>)> & string) | (ReactElement<HTMLIFrameElement, string | ((props: any) => ReactElement<any, string | any | (new (props: any) => Component<any, any, any>)>) | (new (props: any) => Component<any, any, any>)> & number) | (ReactElement<HTMLIFrameElement, string | ((props: any) => ReactElement<any, string | any | (new (props: any) => Component<any, any, any>)>) | (new (props: any) => Component<any, any, any>)> & false) | (ReactElement<HTMLIFrameElement, string | ((props: any) => ReactElement<any, string | any | (new (props: any) => Component<any, any, any>)>) | (new (props: any) => Component<any, any, any>)> & true) | (ReactElement<HTMLIFrameElement, string | ((props: any) => ReactElement<any, string | any | (new (props: any) => Component<any, any, any>)>) | (new (props: any) => Component<any, any, any>)> & ReactElement<any, string | ((props: any) => ReactElement<any, string | any | (new (props: any) => Component<any, any, any>)>) | (new (props: any) => Component<any, any, any>)>) | (ReactElement<HTMLIFrameElement, string | ((props: any) => ReactElement<any, string | any | (new (props: any) => Component<any, any, any>)>) | (new (props: any) => Component<any, any, any>)> & import("react").ReactNodeArray) | (ReactElement<HTMLIFrameElement, string | ((props: any) => ReactElement<any, string | any | (new (props: any) => Component<any, any, any>)>) | (new (props: any) => Component<any, any, any>)> & import("react").ReactPortal);
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
  }
@@ -1,5 +1,5 @@
1
1
  import { ElementType, FunctionComponent } from 'react';
2
- import { Parameters } from '@storybook/api';
2
+ import { Parameters } from '@storybook/csf';
3
3
  export declare enum StoryError {
4
4
  NO_STORY = "No component or story to display"
5
5
  }
@@ -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, string | any | (new (props: any) => Component<any, any, any>)>) | (new (props: any) => Component<any, any, any>)> | (ReactElement<HTMLIFrameElement, string | ((props: any) => ReactElement<any, string | any | (new (props: any) => Component<any, any, any>)>) | (new (props: any) => Component<any, any, any>)> & string) | (ReactElement<HTMLIFrameElement, string | ((props: any) => ReactElement<any, string | any | (new (props: any) => Component<any, any, any>)>) | (new (props: any) => Component<any, any, any>)> & number) | (ReactElement<HTMLIFrameElement, string | ((props: any) => ReactElement<any, string | any | (new (props: any) => Component<any, any, any>)>) | (new (props: any) => Component<any, any, any>)> & false) | (ReactElement<HTMLIFrameElement, string | ((props: any) => ReactElement<any, string | any | (new (props: any) => Component<any, any, any>)>) | (new (props: any) => Component<any, any, any>)> & true) | (ReactElement<HTMLIFrameElement, string | ((props: any) => ReactElement<any, string | any | (new (props: any) => Component<any, any, any>)>) | (new (props: any) => Component<any, any, any>)> & ReactElement<any, string | ((props: any) => ReactElement<any, string | any | (new (props: any) => Component<any, any, any>)>) | (new (props: any) => Component<any, any, any>)>) | (ReactElement<HTMLIFrameElement, string | ((props: any) => ReactElement<any, string | any | (new (props: any) => Component<any, any, any>)>) | (new (props: any) => Component<any, any, any>)> & import("react").ReactNodeArray) | (ReactElement<HTMLIFrameElement, string | ((props: any) => ReactElement<any, string | any | (new (props: any) => Component<any, any, any>)>) | (new (props: any) => Component<any, any, any>)> & import("react").ReactPortal);
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
  }
@@ -1,5 +1,5 @@
1
1
  import { ElementType, FunctionComponent } from 'react';
2
- import type { Parameters } from '@storybook/api';
2
+ import type { Parameters } from '@storybook/csf';
3
3
  export declare enum StoryError {
4
4
  NO_STORY = "No component or story to display"
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/components",
3
- "version": "6.5.0-alpha.22",
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.22",
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.22",
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": "585e074db08c2e8814c1342214ecf03505e585e2",
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
- ![An image](http://place-hold.it/350x150)
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
- ![An image](http://place-hold.it/350x150)
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
- ```