@storybook/components 6.4.0-beta.24 → 6.4.0-beta.25

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 (623) hide show
  1. package/dist/cjs/ActionBar/ActionBar.js +104 -0
  2. package/dist/cjs/ActionBar/ActionBar.stories.js +66 -0
  3. package/dist/cjs/Badge/Badge.js +97 -0
  4. package/dist/cjs/Badge/Badge.stories.js +19 -0
  5. package/dist/cjs/Button/Button.js +279 -0
  6. package/dist/cjs/Button/Button.stories.js +74 -0
  7. package/dist/cjs/Colors/SideBySide.js +25 -0
  8. package/dist/cjs/Colors/colorpalette.stories.mdx +125 -0
  9. package/dist/cjs/Loader/Loader.js +274 -0
  10. package/dist/cjs/Loader/Loader.stories.js +86 -0
  11. package/dist/cjs/ScrollArea/GlobalScrollAreaStyles.js +477 -0
  12. package/dist/cjs/ScrollArea/OverlayScrollbars.js +131 -0
  13. package/dist/cjs/ScrollArea/ScrollArea.js +98 -0
  14. package/dist/cjs/ScrollArea/ScrollArea.stories.js +136 -0
  15. package/dist/cjs/Zoom/Zoom.js +31 -0
  16. package/dist/cjs/Zoom/Zoom.stories.js +185 -0
  17. package/dist/cjs/Zoom/ZoomElement.js +96 -0
  18. package/dist/cjs/Zoom/ZoomIFrame.js +142 -0
  19. package/dist/cjs/Zoom/browserSupportsCssZoom.js +20 -0
  20. package/dist/cjs/addon-panel/addon-panel.js +65 -0
  21. package/dist/cjs/bar/bar.js +150 -0
  22. package/dist/cjs/bar/button.js +128 -0
  23. package/dist/cjs/bar/button.stories.js +61 -0
  24. package/dist/cjs/bar/separator.js +68 -0
  25. package/dist/cjs/blocks/ArgsTable/ArgControl.js +138 -0
  26. package/dist/cjs/blocks/ArgsTable/ArgJsDoc.js +100 -0
  27. package/dist/cjs/blocks/ArgsTable/ArgRow.js +139 -0
  28. package/dist/cjs/blocks/ArgsTable/ArgRow.stories.js +399 -0
  29. package/dist/cjs/blocks/ArgsTable/ArgValue.js +298 -0
  30. package/dist/cjs/blocks/ArgsTable/ArgsTable.js +454 -0
  31. package/dist/cjs/blocks/ArgsTable/ArgsTable.stories.js +212 -0
  32. package/dist/cjs/blocks/ArgsTable/NoControlsWarning.js +37 -0
  33. package/dist/cjs/blocks/ArgsTable/SectionRow.js +195 -0
  34. package/dist/cjs/blocks/ArgsTable/SectionRow.stories.js +59 -0
  35. package/dist/cjs/blocks/ArgsTable/TabbedArgsTable.js +92 -0
  36. package/dist/cjs/blocks/ArgsTable/TabbedArgsTable.stories.js +50 -0
  37. package/dist/cjs/blocks/ArgsTable/index.js +61 -0
  38. package/dist/cjs/blocks/ArgsTable/types.js +1 -0
  39. package/dist/cjs/blocks/BlockBackgroundStyles.js +17 -0
  40. package/dist/cjs/blocks/ColorPalette.js +234 -0
  41. package/dist/cjs/blocks/ColorPalette.stories.js +87 -0
  42. package/dist/cjs/blocks/Description.js +33 -0
  43. package/dist/cjs/blocks/Description.stories.js +48 -0
  44. package/dist/cjs/blocks/DocsPage.js +85 -0
  45. package/dist/cjs/blocks/DocsPage.stories.js +113 -0
  46. package/dist/cjs/blocks/DocsPageExampleCaption.md +92 -0
  47. package/dist/cjs/blocks/DocsPageExampleCaption.mdx +92 -0
  48. package/dist/cjs/blocks/EmptyBlock.js +45 -0
  49. package/dist/cjs/blocks/EmptyBlock.stories.js +25 -0
  50. package/dist/cjs/blocks/IFrame.js +148 -0
  51. package/dist/cjs/blocks/IconGallery.js +99 -0
  52. package/dist/cjs/blocks/IconGallery.stories.js +53 -0
  53. package/dist/cjs/blocks/Preview.js +416 -0
  54. package/dist/cjs/blocks/Preview.stories.js +338 -0
  55. package/dist/cjs/blocks/Source.js +94 -0
  56. package/dist/cjs/blocks/Source.stories.js +66 -0
  57. package/dist/cjs/blocks/Story.js +129 -0
  58. package/dist/cjs/blocks/Story.stories.js +115 -0
  59. package/dist/cjs/blocks/Toolbar.js +126 -0
  60. package/dist/cjs/blocks/Typeset.js +94 -0
  61. package/dist/cjs/blocks/Typeset.stories.js +61 -0
  62. package/dist/cjs/blocks/ZoomContext.js +13 -0
  63. package/dist/cjs/blocks/index.js +139 -0
  64. package/dist/cjs/brand/StorybookIcon.js +44 -0
  65. package/dist/cjs/brand/StorybookIcon.stories.js +13 -0
  66. package/dist/cjs/brand/StorybookLogo.js +61 -0
  67. package/dist/cjs/brand/StorybookLogo.stories.js +27 -0
  68. package/dist/cjs/controls/Boolean.js +154 -0
  69. package/dist/cjs/controls/Boolean.stories.js +91 -0
  70. package/dist/cjs/controls/Color.js +508 -0
  71. package/dist/cjs/controls/Color.stories.js +146 -0
  72. package/dist/cjs/controls/Date.js +193 -0
  73. package/dist/cjs/controls/Date.stories.js +85 -0
  74. package/dist/cjs/controls/Files.js +81 -0
  75. package/dist/cjs/controls/Number.js +152 -0
  76. package/dist/cjs/controls/Number.stories.js +91 -0
  77. package/dist/cjs/controls/Object.js +416 -0
  78. package/dist/cjs/controls/Object.stories.js +124 -0
  79. package/dist/cjs/controls/Range.js +224 -0
  80. package/dist/cjs/controls/Range.stories.js +126 -0
  81. package/dist/cjs/controls/Text.js +106 -0
  82. package/dist/cjs/controls/Text.stories.js +91 -0
  83. package/dist/cjs/controls/helpers.js +35 -0
  84. package/dist/cjs/controls/index.js +182 -0
  85. package/dist/cjs/controls/options/Checkbox.js +167 -0
  86. package/dist/cjs/controls/options/Options.js +92 -0
  87. package/dist/cjs/controls/options/Options.stories.js +214 -0
  88. package/dist/cjs/controls/options/Radio.js +102 -0
  89. package/dist/cjs/controls/options/Select.js +173 -0
  90. package/dist/cjs/controls/options/helpers.js +81 -0
  91. package/dist/cjs/controls/options/index.js +22 -0
  92. package/dist/cjs/controls/react-editable-json-tree/LICENSE.md +14 -0
  93. package/dist/cjs/controls/react-editable-json-tree/components/JsonAddValue.js +228 -0
  94. package/dist/cjs/controls/react-editable-json-tree/components/JsonArray.js +507 -0
  95. package/dist/cjs/controls/react-editable-json-tree/components/JsonFunctionValue.js +321 -0
  96. package/dist/cjs/controls/react-editable-json-tree/components/JsonNode.js +422 -0
  97. package/dist/cjs/controls/react-editable-json-tree/components/JsonObject.js +509 -0
  98. package/dist/cjs/controls/react-editable-json-tree/components/JsonValue.js +312 -0
  99. package/dist/cjs/controls/react-editable-json-tree/index.js +331 -0
  100. package/dist/cjs/controls/react-editable-json-tree/types/dataTypes.js +31 -0
  101. package/dist/cjs/controls/react-editable-json-tree/types/deltaTypes.js +12 -0
  102. package/dist/cjs/controls/react-editable-json-tree/types/inputUsageTypes.js +13 -0
  103. package/dist/cjs/controls/react-editable-json-tree/utils/objectTypes.js +51 -0
  104. package/dist/cjs/controls/react-editable-json-tree/utils/parse.js +29 -0
  105. package/dist/cjs/controls/react-editable-json-tree/utils/styles.js +68 -0
  106. package/dist/cjs/controls/types.js +1 -0
  107. package/dist/cjs/form/field/field.js +62 -0
  108. package/dist/cjs/form/form.stories.js +223 -0
  109. package/dist/cjs/form/index.js +27 -0
  110. package/dist/cjs/form/input/input.js +267 -0
  111. package/dist/cjs/html.js +58 -0
  112. package/dist/cjs/icon/icon.js +74 -0
  113. package/dist/cjs/icon/icon.stories.js +76 -0
  114. package/dist/cjs/icon/icons.js +182 -0
  115. package/dist/cjs/icon/svg.js +24 -0
  116. package/dist/cjs/index.js +355 -0
  117. package/dist/cjs/placeholder/placeholder.js +94 -0
  118. package/dist/cjs/placeholder/placeholder.stories.js +64 -0
  119. package/dist/cjs/shared/animation.js +19 -0
  120. package/dist/cjs/spaced/Spaced.js +101 -0
  121. package/dist/cjs/spaced/Spaced.stories.js +73 -0
  122. package/dist/cjs/syntaxhighlighter/formatter.js +17 -0
  123. package/dist/cjs/syntaxhighlighter/lazy-syntaxhighlighter.js +49 -0
  124. package/dist/cjs/syntaxhighlighter/syntaxhighlighter-types.js +1 -0
  125. package/dist/cjs/syntaxhighlighter/syntaxhighlighter.js +315 -0
  126. package/dist/cjs/syntaxhighlighter/syntaxhighlighter.stories.js +112 -0
  127. package/dist/cjs/tabs/tabs.js +315 -0
  128. package/dist/cjs/tabs/tabs.stories.js +308 -0
  129. package/dist/cjs/tooltip/ListItem.js +224 -0
  130. package/dist/cjs/tooltip/ListItem.stories.js +95 -0
  131. package/dist/cjs/tooltip/Tooltip.js +143 -0
  132. package/dist/cjs/tooltip/Tooltip.stories.js +52 -0
  133. package/dist/cjs/tooltip/TooltipLinkList.js +107 -0
  134. package/dist/cjs/tooltip/TooltipLinkList.stories.js +100 -0
  135. package/dist/cjs/tooltip/TooltipMessage.js +85 -0
  136. package/dist/cjs/tooltip/TooltipMessage.stories.js +54 -0
  137. package/dist/cjs/tooltip/TooltipNote.js +50 -0
  138. package/dist/cjs/tooltip/TooltipNote.stories.js +29 -0
  139. package/dist/cjs/tooltip/WithTooltip.js +229 -0
  140. package/dist/cjs/tooltip/WithTooltip.stories.js +95 -0
  141. package/dist/cjs/tooltip/lazy-WithTooltip.js +72 -0
  142. package/dist/cjs/typings.d.js +1 -0
  143. package/dist/cjs/typography/DocumentFormatting.js +577 -0
  144. package/dist/cjs/typography/DocumentFormattingSample.md +141 -0
  145. package/dist/cjs/typography/DocumentWrapper.js +298 -0
  146. package/dist/cjs/typography/DocumentWrapper.stories.js +89 -0
  147. package/dist/cjs/typography/link/link.js +207 -0
  148. package/dist/cjs/typography/link/link.stories.js +71 -0
  149. package/dist/cjs/typography/shared.js +67 -0
  150. package/dist/cjs/typography/typography.stories.mdx +75 -0
  151. package/dist/esm/ActionBar/ActionBar.js +83 -0
  152. package/dist/esm/ActionBar/ActionBar.stories.js +47 -0
  153. package/dist/esm/Badge/Badge.js +81 -0
  154. package/dist/esm/Badge/Badge.stories.js +12 -0
  155. package/dist/esm/Button/Button.js +239 -0
  156. package/dist/esm/Button/Button.stories.js +65 -0
  157. package/dist/esm/Colors/SideBySide.js +15 -0
  158. package/dist/esm/Colors/colorpalette.stories.mdx +125 -0
  159. package/dist/esm/Loader/Loader.js +223 -0
  160. package/dist/esm/Loader/Loader.stories.js +63 -0
  161. package/dist/esm/ScrollArea/GlobalScrollAreaStyles.js +461 -0
  162. package/dist/esm/ScrollArea/OverlayScrollbars.js +102 -0
  163. package/dist/esm/ScrollArea/ScrollArea.js +58 -0
  164. package/dist/esm/ScrollArea/ScrollArea.stories.js +88 -0
  165. package/dist/esm/Zoom/Zoom.js +15 -0
  166. package/dist/esm/Zoom/Zoom.stories.js +149 -0
  167. package/dist/esm/Zoom/ZoomElement.js +64 -0
  168. package/dist/esm/Zoom/ZoomIFrame.js +121 -0
  169. package/dist/esm/Zoom/browserSupportsCssZoom.js +9 -0
  170. package/dist/esm/addon-panel/addon-panel.js +32 -0
  171. package/dist/esm/bar/bar.js +114 -0
  172. package/dist/esm/bar/button.js +112 -0
  173. package/dist/esm/bar/button.stories.js +36 -0
  174. package/dist/esm/bar/separator.js +30 -0
  175. package/dist/esm/blocks/ArgsTable/ArgControl.js +107 -0
  176. package/dist/esm/blocks/ArgsTable/ArgJsDoc.js +78 -0
  177. package/dist/esm/blocks/ArgsTable/ArgRow.js +110 -0
  178. package/dist/esm/blocks/ArgsTable/ArgRow.stories.js +358 -0
  179. package/dist/esm/blocks/ArgsTable/ArgValue.js +246 -0
  180. package/dist/esm/blocks/ArgsTable/ArgsTable.js +410 -0
  181. package/dist/esm/blocks/ArgsTable/ArgsTable.stories.js +155 -0
  182. package/dist/esm/blocks/ArgsTable/NoControlsWarning.js +22 -0
  183. package/dist/esm/blocks/ArgsTable/SectionRow.js +153 -0
  184. package/dist/esm/blocks/ArgsTable/SectionRow.stories.js +38 -0
  185. package/dist/esm/blocks/ArgsTable/TabbedArgsTable.js +65 -0
  186. package/dist/esm/blocks/ArgsTable/TabbedArgsTable.stories.js +34 -0
  187. package/dist/esm/blocks/ArgsTable/index.js +4 -0
  188. package/dist/esm/blocks/ArgsTable/types.js +0 -0
  189. package/dist/esm/blocks/BlockBackgroundStyles.js +8 -0
  190. package/dist/esm/blocks/ColorPalette.js +196 -0
  191. package/dist/esm/blocks/ColorPalette.stories.js +69 -0
  192. package/dist/esm/blocks/Description.js +19 -0
  193. package/dist/esm/blocks/Description.stories.js +32 -0
  194. package/dist/esm/blocks/DocsPage.js +57 -0
  195. package/dist/esm/blocks/DocsPage.stories.js +56 -0
  196. package/dist/esm/blocks/DocsPageExampleCaption.md +92 -0
  197. package/dist/esm/blocks/DocsPageExampleCaption.mdx +92 -0
  198. package/dist/esm/blocks/EmptyBlock.js +29 -0
  199. package/dist/esm/blocks/EmptyBlock.stories.js +10 -0
  200. package/dist/esm/blocks/IFrame.js +115 -0
  201. package/dist/esm/blocks/IconGallery.js +75 -0
  202. package/dist/esm/blocks/IconGallery.stories.js +37 -0
  203. package/dist/esm/blocks/Preview.js +365 -0
  204. package/dist/esm/blocks/Preview.stories.js +251 -0
  205. package/dist/esm/blocks/Source.js +77 -0
  206. package/dist/esm/blocks/Source.stories.js +42 -0
  207. package/dist/esm/blocks/Story.js +91 -0
  208. package/dist/esm/blocks/Story.stories.js +76 -0
  209. package/dist/esm/blocks/Toolbar.js +87 -0
  210. package/dist/esm/blocks/Typeset.js +71 -0
  211. package/dist/esm/blocks/Typeset.stories.js +37 -0
  212. package/dist/esm/blocks/ZoomContext.js +4 -0
  213. package/dist/esm/blocks/index.js +10 -0
  214. package/dist/esm/brand/StorybookIcon.js +31 -0
  215. package/dist/esm/brand/StorybookIcon.stories.js +6 -0
  216. package/dist/esm/brand/StorybookLogo.js +47 -0
  217. package/dist/esm/brand/StorybookLogo.stories.js +12 -0
  218. package/dist/esm/controls/Boolean.js +114 -0
  219. package/dist/esm/controls/Boolean.stories.js +54 -0
  220. package/dist/esm/controls/Color.js +446 -0
  221. package/dist/esm/controls/Color.stories.js +109 -0
  222. package/dist/esm/controls/Date.js +158 -0
  223. package/dist/esm/controls/Date.stories.js +51 -0
  224. package/dist/esm/controls/Files.js +56 -0
  225. package/dist/esm/controls/Number.js +110 -0
  226. package/dist/esm/controls/Number.stories.js +54 -0
  227. package/dist/esm/controls/Object.js +370 -0
  228. package/dist/esm/controls/Object.stories.js +81 -0
  229. package/dist/esm/controls/Range.js +179 -0
  230. package/dist/esm/controls/Range.stories.js +83 -0
  231. package/dist/esm/controls/Text.js +72 -0
  232. package/dist/esm/controls/Text.stories.js +54 -0
  233. package/dist/esm/controls/helpers.js +22 -0
  234. package/dist/esm/controls/index.js +21 -0
  235. package/dist/esm/controls/options/Checkbox.js +123 -0
  236. package/dist/esm/controls/options/Options.js +70 -0
  237. package/dist/esm/controls/options/Options.stories.js +126 -0
  238. package/dist/esm/controls/options/Radio.js +77 -0
  239. package/dist/esm/controls/options/Select.js +143 -0
  240. package/dist/esm/controls/options/helpers.js +50 -0
  241. package/dist/esm/controls/options/index.js +1 -0
  242. package/dist/esm/controls/react-editable-json-tree/LICENSE.md +14 -0
  243. package/dist/esm/controls/react-editable-json-tree/components/JsonAddValue.js +194 -0
  244. package/dist/esm/controls/react-editable-json-tree/components/JsonArray.js +465 -0
  245. package/dist/esm/controls/react-editable-json-tree/components/JsonFunctionValue.js +282 -0
  246. package/dist/esm/controls/react-editable-json-tree/components/JsonNode.js +387 -0
  247. package/dist/esm/controls/react-editable-json-tree/components/JsonObject.js +467 -0
  248. package/dist/esm/controls/react-editable-json-tree/components/JsonValue.js +272 -0
  249. package/dist/esm/controls/react-editable-json-tree/index.js +267 -0
  250. package/dist/esm/controls/react-editable-json-tree/types/dataTypes.js +24 -0
  251. package/dist/esm/controls/react-editable-json-tree/types/deltaTypes.js +6 -0
  252. package/dist/esm/controls/react-editable-json-tree/types/inputUsageTypes.js +6 -0
  253. package/dist/esm/controls/react-editable-json-tree/utils/objectTypes.js +39 -0
  254. package/dist/esm/controls/react-editable-json-tree/utils/parse.js +21 -0
  255. package/dist/esm/controls/react-editable-json-tree/utils/styles.js +62 -0
  256. package/dist/esm/controls/types.js +0 -0
  257. package/dist/esm/form/field/field.js +44 -0
  258. package/dist/esm/form/form.stories.js +198 -0
  259. package/dist/esm/form/index.js +15 -0
  260. package/dist/esm/form/input/input.js +225 -0
  261. package/dist/esm/html.js +13 -0
  262. package/dist/esm/icon/icon.js +52 -0
  263. package/dist/esm/icon/icon.stories.js +62 -0
  264. package/dist/esm/icon/icons.js +174 -0
  265. package/dist/esm/icon/svg.js +15 -0
  266. package/dist/esm/index.js +50 -0
  267. package/dist/esm/placeholder/placeholder.js +58 -0
  268. package/dist/esm/placeholder/placeholder.stories.js +23 -0
  269. package/dist/esm/shared/animation.js +9 -0
  270. package/dist/esm/spaced/Spaced.js +84 -0
  271. package/dist/esm/spaced/Spaced.stories.js +63 -0
  272. package/dist/esm/syntaxhighlighter/formatter.js +5 -0
  273. package/dist/esm/syntaxhighlighter/lazy-syntaxhighlighter.js +12 -0
  274. package/dist/esm/syntaxhighlighter/syntaxhighlighter-types.js +0 -0
  275. package/dist/esm/syntaxhighlighter/syntaxhighlighter.js +250 -0
  276. package/dist/esm/syntaxhighlighter/syntaxhighlighter.stories.js +82 -0
  277. package/dist/esm/tabs/tabs.js +269 -0
  278. package/dist/esm/tabs/tabs.stories.js +277 -0
  279. package/dist/esm/tooltip/ListItem.js +201 -0
  280. package/dist/esm/tooltip/ListItem.stories.js +87 -0
  281. package/dist/esm/tooltip/Tooltip.js +119 -0
  282. package/dist/esm/tooltip/Tooltip.stories.js +42 -0
  283. package/dist/esm/tooltip/TooltipLinkList.js +67 -0
  284. package/dist/esm/tooltip/TooltipLinkList.stories.js +60 -0
  285. package/dist/esm/tooltip/TooltipMessage.js +62 -0
  286. package/dist/esm/tooltip/TooltipMessage.stories.js +46 -0
  287. package/dist/esm/tooltip/TooltipNote.js +33 -0
  288. package/dist/esm/tooltip/TooltipNote.stories.js +21 -0
  289. package/dist/esm/tooltip/WithTooltip.js +191 -0
  290. package/dist/esm/tooltip/WithTooltip.stories.js +83 -0
  291. package/dist/esm/tooltip/lazy-WithTooltip.js +29 -0
  292. package/dist/esm/typings.d.js +0 -0
  293. package/dist/esm/typography/DocumentFormatting.js +490 -0
  294. package/dist/esm/typography/DocumentFormattingSample.md +141 -0
  295. package/dist/esm/typography/DocumentWrapper.js +288 -0
  296. package/dist/esm/typography/DocumentWrapper.stories.js +70 -0
  297. package/dist/esm/typography/link/link.js +188 -0
  298. package/dist/esm/typography/link/link.stories.js +62 -0
  299. package/dist/esm/typography/shared.js +50 -0
  300. package/dist/esm/typography/typography.stories.mdx +75 -0
  301. package/dist/modern/ActionBar/ActionBar.js +74 -0
  302. package/dist/modern/ActionBar/ActionBar.stories.js +41 -0
  303. package/dist/modern/Badge/Badge.js +78 -0
  304. package/dist/modern/Badge/Badge.stories.js +10 -0
  305. package/dist/modern/Button/Button.js +231 -0
  306. package/dist/modern/Button/Button.stories.js +65 -0
  307. package/dist/modern/Colors/SideBySide.js +15 -0
  308. package/dist/modern/Colors/colorpalette.stories.mdx +125 -0
  309. package/dist/modern/Loader/Loader.js +185 -0
  310. package/dist/modern/Loader/Loader.stories.js +53 -0
  311. package/dist/modern/ScrollArea/GlobalScrollAreaStyles.js +450 -0
  312. package/dist/modern/ScrollArea/OverlayScrollbars.js +86 -0
  313. package/dist/modern/ScrollArea/ScrollArea.js +43 -0
  314. package/dist/modern/ScrollArea/ScrollArea.stories.js +70 -0
  315. package/dist/modern/Zoom/Zoom.js +17 -0
  316. package/dist/modern/Zoom/Zoom.stories.js +113 -0
  317. package/dist/modern/Zoom/ZoomElement.js +35 -0
  318. package/dist/modern/Zoom/ZoomIFrame.js +71 -0
  319. package/dist/modern/Zoom/browserSupportsCssZoom.js +11 -0
  320. package/dist/modern/addon-panel/addon-panel.js +33 -0
  321. package/dist/modern/bar/bar.js +80 -0
  322. package/dist/modern/bar/button.js +104 -0
  323. package/dist/modern/bar/button.stories.js +28 -0
  324. package/dist/modern/bar/separator.js +25 -0
  325. package/dist/modern/blocks/ArgsTable/ArgControl.js +71 -0
  326. package/dist/modern/blocks/ArgsTable/ArgJsDoc.js +71 -0
  327. package/dist/modern/blocks/ArgsTable/ArgRow.js +105 -0
  328. package/dist/modern/blocks/ArgsTable/ArgRow.stories.js +361 -0
  329. package/dist/modern/blocks/ArgsTable/ArgValue.js +191 -0
  330. package/dist/modern/blocks/ArgsTable/ArgsTable.js +356 -0
  331. package/dist/modern/blocks/ArgsTable/ArgsTable.stories.js +147 -0
  332. package/dist/modern/blocks/ArgsTable/NoControlsWarning.js +19 -0
  333. package/dist/modern/blocks/ArgsTable/SectionRow.js +110 -0
  334. package/dist/modern/blocks/ArgsTable/SectionRow.stories.js +31 -0
  335. package/dist/modern/blocks/ArgsTable/TabbedArgsTable.js +34 -0
  336. package/dist/modern/blocks/ArgsTable/TabbedArgsTable.stories.js +32 -0
  337. package/dist/modern/blocks/ArgsTable/index.js +4 -0
  338. package/dist/modern/blocks/ArgsTable/types.js +0 -0
  339. package/dist/modern/blocks/BlockBackgroundStyles.js +6 -0
  340. package/dist/modern/blocks/ColorPalette.js +175 -0
  341. package/dist/modern/blocks/ColorPalette.stories.js +65 -0
  342. package/dist/modern/blocks/Description.js +18 -0
  343. package/dist/modern/blocks/Description.stories.js +65 -0
  344. package/dist/modern/blocks/DocsPage.js +53 -0
  345. package/dist/modern/blocks/DocsPage.stories.js +44 -0
  346. package/dist/modern/blocks/DocsPageExampleCaption.md +92 -0
  347. package/dist/modern/blocks/DocsPageExampleCaption.mdx +92 -0
  348. package/dist/modern/blocks/EmptyBlock.js +24 -0
  349. package/dist/modern/blocks/EmptyBlock.stories.js +8 -0
  350. package/dist/modern/blocks/IFrame.js +65 -0
  351. package/dist/modern/blocks/IconGallery.js +68 -0
  352. package/dist/modern/blocks/IconGallery.stories.js +35 -0
  353. package/dist/modern/blocks/Preview.js +262 -0
  354. package/dist/modern/blocks/Preview.stories.js +217 -0
  355. package/dist/modern/blocks/Source.js +73 -0
  356. package/dist/modern/blocks/Source.stories.js +50 -0
  357. package/dist/modern/blocks/Story.js +85 -0
  358. package/dist/modern/blocks/Story.stories.js +39 -0
  359. package/dist/modern/blocks/Toolbar.js +82 -0
  360. package/dist/modern/blocks/Typeset.js +63 -0
  361. package/dist/modern/blocks/Typeset.stories.js +29 -0
  362. package/dist/modern/blocks/ZoomContext.js +4 -0
  363. package/dist/modern/blocks/index.js +10 -0
  364. package/dist/modern/brand/StorybookIcon.js +30 -0
  365. package/dist/modern/brand/StorybookIcon.stories.js +4 -0
  366. package/dist/modern/brand/StorybookLogo.js +43 -0
  367. package/dist/modern/brand/StorybookLogo.stories.js +10 -0
  368. package/dist/modern/controls/Boolean.js +104 -0
  369. package/dist/modern/controls/Boolean.stories.js +19 -0
  370. package/dist/modern/controls/Color.js +343 -0
  371. package/dist/modern/controls/Color.stories.js +74 -0
  372. package/dist/modern/controls/Date.js +118 -0
  373. package/dist/modern/controls/Date.stories.js +18 -0
  374. package/dist/modern/controls/Files.js +43 -0
  375. package/dist/modern/controls/Number.js +72 -0
  376. package/dist/modern/controls/Number.stories.js +19 -0
  377. package/dist/modern/controls/Object.js +316 -0
  378. package/dist/modern/controls/Object.stories.js +38 -0
  379. package/dist/modern/controls/Range.js +184 -0
  380. package/dist/modern/controls/Range.stories.js +44 -0
  381. package/dist/modern/controls/Text.js +46 -0
  382. package/dist/modern/controls/Text.stories.js +19 -0
  383. package/dist/modern/controls/helpers.js +15 -0
  384. package/dist/modern/controls/index.js +15 -0
  385. package/dist/modern/controls/options/Checkbox.js +81 -0
  386. package/dist/modern/controls/options/Options.js +67 -0
  387. package/dist/modern/controls/options/Options.stories.js +55 -0
  388. package/dist/modern/controls/options/Radio.js +70 -0
  389. package/dist/modern/controls/options/Select.js +143 -0
  390. package/dist/modern/controls/options/helpers.js +6 -0
  391. package/dist/modern/controls/options/index.js +1 -0
  392. package/dist/modern/controls/react-editable-json-tree/LICENSE.md +14 -0
  393. package/dist/modern/controls/react-editable-json-tree/components/JsonAddValue.js +148 -0
  394. package/dist/modern/controls/react-editable-json-tree/components/JsonArray.js +392 -0
  395. package/dist/modern/controls/react-editable-json-tree/components/JsonFunctionValue.js +215 -0
  396. package/dist/modern/controls/react-editable-json-tree/components/JsonNode.js +339 -0
  397. package/dist/modern/controls/react-editable-json-tree/components/JsonObject.js +394 -0
  398. package/dist/modern/controls/react-editable-json-tree/components/JsonValue.js +202 -0
  399. package/dist/modern/controls/react-editable-json-tree/index.js +192 -0
  400. package/dist/modern/controls/react-editable-json-tree/types/dataTypes.js +24 -0
  401. package/dist/modern/controls/react-editable-json-tree/types/deltaTypes.js +6 -0
  402. package/dist/modern/controls/react-editable-json-tree/types/inputUsageTypes.js +6 -0
  403. package/dist/modern/controls/react-editable-json-tree/utils/objectTypes.js +28 -0
  404. package/dist/modern/controls/react-editable-json-tree/utils/parse.js +21 -0
  405. package/dist/modern/controls/react-editable-json-tree/utils/styles.js +62 -0
  406. package/dist/modern/controls/types.js +0 -0
  407. package/dist/modern/form/field/field.js +39 -0
  408. package/dist/modern/form/form.stories.js +126 -0
  409. package/dist/modern/form/index.js +14 -0
  410. package/dist/modern/form/input/input.js +203 -0
  411. package/dist/modern/html.js +10 -0
  412. package/dist/modern/icon/icon.js +43 -0
  413. package/dist/modern/icon/icon.stories.js +51 -0
  414. package/dist/modern/icon/icons.js +174 -0
  415. package/dist/modern/icon/svg.js +14 -0
  416. package/dist/modern/index.js +45 -0
  417. package/dist/modern/placeholder/placeholder.js +28 -0
  418. package/dist/modern/placeholder/placeholder.stories.js +19 -0
  419. package/dist/modern/shared/animation.js +9 -0
  420. package/dist/modern/spaced/Spaced.js +76 -0
  421. package/dist/modern/spaced/Spaced.stories.js +51 -0
  422. package/dist/modern/syntaxhighlighter/formatter.js +3 -0
  423. package/dist/modern/syntaxhighlighter/lazy-syntaxhighlighter.js +6 -0
  424. package/dist/modern/syntaxhighlighter/syntaxhighlighter-types.js +0 -0
  425. package/dist/modern/syntaxhighlighter/syntaxhighlighter.js +172 -0
  426. package/dist/modern/syntaxhighlighter/syntaxhighlighter.stories.js +187 -0
  427. package/dist/modern/tabs/tabs.js +214 -0
  428. package/dist/modern/tabs/tabs.stories.js +196 -0
  429. package/dist/modern/tooltip/ListItem.js +183 -0
  430. package/dist/modern/tooltip/ListItem.stories.js +71 -0
  431. package/dist/modern/tooltip/Tooltip.js +110 -0
  432. package/dist/modern/tooltip/Tooltip.stories.js +30 -0
  433. package/dist/modern/tooltip/TooltipLinkList.js +64 -0
  434. package/dist/modern/tooltip/TooltipLinkList.stories.js +54 -0
  435. package/dist/modern/tooltip/TooltipMessage.js +56 -0
  436. package/dist/modern/tooltip/TooltipMessage.stories.js +36 -0
  437. package/dist/modern/tooltip/TooltipNote.js +29 -0
  438. package/dist/modern/tooltip/TooltipNote.stories.js +17 -0
  439. package/dist/modern/tooltip/WithTooltip.js +152 -0
  440. package/dist/modern/tooltip/WithTooltip.stories.js +68 -0
  441. package/dist/modern/tooltip/lazy-WithTooltip.js +15 -0
  442. package/dist/modern/typings.d.js +0 -0
  443. package/dist/modern/typography/DocumentFormatting.js +420 -0
  444. package/dist/modern/typography/DocumentFormattingSample.md +141 -0
  445. package/dist/modern/typography/DocumentWrapper.js +287 -0
  446. package/dist/modern/typography/DocumentWrapper.stories.js +64 -0
  447. package/dist/modern/typography/link/link.js +175 -0
  448. package/dist/modern/typography/link/link.stories.js +52 -0
  449. package/dist/modern/typography/shared.js +47 -0
  450. package/dist/modern/typography/typography.stories.mdx +75 -0
  451. package/dist/ts3.4/ActionBar/ActionBar.d.ts +14 -0
  452. package/dist/ts3.4/Badge/Badge.d.ts +5 -0
  453. package/dist/ts3.4/Button/Button.d.ts +18 -0
  454. package/dist/ts3.4/Colors/SideBySide.d.ts +2 -0
  455. package/dist/ts3.4/Loader/Loader.d.ts +18 -0
  456. package/dist/ts3.4/ScrollArea/GlobalScrollAreaStyles.d.ts +5 -0
  457. package/dist/ts3.4/ScrollArea/OverlayScrollbars.d.ts +15 -0
  458. package/dist/ts3.4/ScrollArea/ScrollArea.d.ts +7 -0
  459. package/dist/ts3.4/Zoom/Zoom.d.ts +7 -0
  460. package/dist/ts3.4/Zoom/ZoomElement.d.ts +7 -0
  461. package/dist/ts3.4/Zoom/ZoomIFrame.d.ts +15 -0
  462. package/dist/ts3.4/Zoom/browserSupportsCssZoom.d.ts +1 -0
  463. package/dist/ts3.4/addon-panel/addon-panel.d.ts +6 -0
  464. package/dist/ts3.4/bar/bar.d.ts +12 -0
  465. package/dist/ts3.4/bar/button.d.ts +25 -0
  466. package/dist/ts3.4/bar/separator.d.ts +6 -0
  467. package/dist/ts3.4/blocks/ArgsTable/ArgControl.d.ts +8 -0
  468. package/dist/ts3.4/blocks/ArgsTable/ArgJsDoc.d.ts +8 -0
  469. package/dist/ts3.4/blocks/ArgsTable/ArgRow.d.ts +11 -0
  470. package/dist/ts3.4/blocks/ArgsTable/ArgValue.d.ts +8 -0
  471. package/dist/ts3.4/blocks/ArgsTable/ArgsTable.d.ts +30 -0
  472. package/dist/ts3.4/blocks/ArgsTable/NoControlsWarning.d.ts +2 -0
  473. package/dist/ts3.4/blocks/ArgsTable/SectionRow.d.ts +10 -0
  474. package/dist/ts3.4/blocks/ArgsTable/TabbedArgsTable.d.ts +7 -0
  475. package/dist/ts3.4/blocks/ArgsTable/index.d.ts +4 -0
  476. package/dist/ts3.4/blocks/ArgsTable/types.d.ts +36 -0
  477. package/dist/ts3.4/blocks/BlockBackgroundStyles.d.ts +2 -0
  478. package/dist/ts3.4/blocks/ColorPalette.d.ts +20 -0
  479. package/dist/ts3.4/blocks/Description.d.ts +9 -0
  480. package/dist/ts3.4/blocks/DocsPage.d.ts +11 -0
  481. package/dist/ts3.4/blocks/EmptyBlock.d.ts +2 -0
  482. package/dist/ts3.4/blocks/IFrame.d.ts +24 -0
  483. package/dist/ts3.4/blocks/IconGallery.d.ts +13 -0
  484. package/dist/ts3.4/blocks/Preview.d.ts +19 -0
  485. package/dist/ts3.4/blocks/Source.d.ts +21 -0
  486. package/dist/ts3.4/blocks/Story.d.ts +25 -0
  487. package/dist/ts3.4/blocks/Toolbar.d.ts +15 -0
  488. package/dist/ts3.4/blocks/Typeset.d.ts +12 -0
  489. package/dist/ts3.4/blocks/ZoomContext.d.ts +4 -0
  490. package/dist/ts3.4/blocks/index.d.ts +10 -0
  491. package/dist/ts3.4/brand/StorybookIcon.d.ts +2 -0
  492. package/dist/ts3.4/brand/StorybookLogo.d.ts +5 -0
  493. package/dist/ts3.4/controls/Boolean.d.ts +4 -0
  494. package/dist/ts3.4/controls/Color.d.ts +5 -0
  495. package/dist/ts3.4/controls/Date.d.ts +4 -0
  496. package/dist/ts3.4/controls/Files.d.ts +6 -0
  497. package/dist/ts3.4/controls/Number.d.ts +7 -0
  498. package/dist/ts3.4/controls/Object.d.ts +6 -0
  499. package/dist/ts3.4/controls/Range.d.ts +5 -0
  500. package/dist/ts3.4/controls/Text.d.ts +4 -0
  501. package/dist/ts3.4/controls/helpers.d.ts +14 -0
  502. package/dist/ts3.4/controls/index.d.ts +13 -0
  503. package/dist/ts3.4/controls/options/Checkbox.d.ts +8 -0
  504. package/dist/ts3.4/controls/options/Options.d.ts +4 -0
  505. package/dist/ts3.4/controls/options/Radio.d.ts +8 -0
  506. package/dist/ts3.4/controls/options/Select.d.ts +8 -0
  507. package/dist/ts3.4/controls/options/helpers.d.ts +4 -0
  508. package/dist/ts3.4/controls/options/index.d.ts +1 -0
  509. package/dist/ts3.4/controls/types.d.ts +56 -0
  510. package/dist/ts3.4/form/field/field.d.ts +5 -0
  511. package/dist/ts3.4/form/index.d.ts +15 -0
  512. package/dist/ts3.4/form/input/input.d.ts +26 -0
  513. package/dist/ts3.4/html.d.ts +2 -0
  514. package/dist/ts3.4/icon/icon.d.ts +12 -0
  515. package/dist/ts3.4/icon/icons.d.ts +174 -0
  516. package/dist/ts3.4/icon/svg.d.ts +6 -0
  517. package/dist/ts3.4/index.d.ts +34 -0
  518. package/dist/ts3.4/placeholder/placeholder.d.ts +2 -0
  519. package/dist/ts3.4/shared/animation.d.ts +1 -0
  520. package/dist/ts3.4/spaced/Spaced.d.ts +12 -0
  521. package/dist/ts3.4/syntaxhighlighter/formatter.d.ts +1 -0
  522. package/dist/ts3.4/syntaxhighlighter/lazy-syntaxhighlighter.d.ts +4 -0
  523. package/dist/ts3.4/syntaxhighlighter/syntaxhighlighter-types.d.ts +15 -0
  524. package/dist/ts3.4/syntaxhighlighter/syntaxhighlighter.d.ts +18 -0
  525. package/dist/ts3.4/tabs/tabs.d.ts +52 -0
  526. package/dist/ts3.4/tooltip/ListItem.d.ts +34 -0
  527. package/dist/ts3.4/tooltip/Tooltip.d.ts +21 -0
  528. package/dist/ts3.4/tooltip/TooltipLinkList.d.ts +12 -0
  529. package/dist/ts3.4/tooltip/TooltipMessage.d.ts +11 -0
  530. package/dist/ts3.4/tooltip/TooltipNote.d.ts +5 -0
  531. package/dist/ts3.4/tooltip/WithTooltip.d.ts +23 -0
  532. package/dist/ts3.4/tooltip/lazy-WithTooltip.d.ts +8 -0
  533. package/dist/ts3.4/typography/DocumentFormatting.d.ts +56 -0
  534. package/dist/ts3.4/typography/DocumentWrapper.d.ts +2 -0
  535. package/dist/ts3.4/typography/link/link.d.ts +22 -0
  536. package/dist/ts3.4/typography/shared.d.ts +11 -0
  537. package/dist/ts3.9/ActionBar/ActionBar.d.ts +14 -0
  538. package/dist/ts3.9/Badge/Badge.d.ts +5 -0
  539. package/dist/ts3.9/Button/Button.d.ts +18 -0
  540. package/dist/ts3.9/Colors/SideBySide.d.ts +2 -0
  541. package/dist/ts3.9/Loader/Loader.d.ts +18 -0
  542. package/dist/ts3.9/ScrollArea/GlobalScrollAreaStyles.d.ts +5 -0
  543. package/dist/ts3.9/ScrollArea/OverlayScrollbars.d.ts +15 -0
  544. package/dist/ts3.9/ScrollArea/ScrollArea.d.ts +7 -0
  545. package/dist/ts3.9/Zoom/Zoom.d.ts +7 -0
  546. package/dist/ts3.9/Zoom/ZoomElement.d.ts +7 -0
  547. package/dist/ts3.9/Zoom/ZoomIFrame.d.ts +15 -0
  548. package/dist/ts3.9/Zoom/browserSupportsCssZoom.d.ts +1 -0
  549. package/dist/ts3.9/addon-panel/addon-panel.d.ts +6 -0
  550. package/dist/ts3.9/bar/bar.d.ts +12 -0
  551. package/dist/ts3.9/bar/button.d.ts +25 -0
  552. package/dist/ts3.9/bar/separator.d.ts +6 -0
  553. package/dist/ts3.9/blocks/ArgsTable/ArgControl.d.ts +8 -0
  554. package/dist/ts3.9/blocks/ArgsTable/ArgJsDoc.d.ts +8 -0
  555. package/dist/ts3.9/blocks/ArgsTable/ArgRow.d.ts +11 -0
  556. package/dist/ts3.9/blocks/ArgsTable/ArgValue.d.ts +8 -0
  557. package/dist/ts3.9/blocks/ArgsTable/ArgsTable.d.ts +30 -0
  558. package/dist/ts3.9/blocks/ArgsTable/NoControlsWarning.d.ts +2 -0
  559. package/dist/ts3.9/blocks/ArgsTable/SectionRow.d.ts +10 -0
  560. package/dist/ts3.9/blocks/ArgsTable/TabbedArgsTable.d.ts +7 -0
  561. package/dist/ts3.9/blocks/ArgsTable/index.d.ts +4 -0
  562. package/dist/ts3.9/blocks/ArgsTable/types.d.ts +36 -0
  563. package/dist/ts3.9/blocks/BlockBackgroundStyles.d.ts +2 -0
  564. package/dist/ts3.9/blocks/ColorPalette.d.ts +20 -0
  565. package/dist/ts3.9/blocks/Description.d.ts +9 -0
  566. package/dist/ts3.9/blocks/DocsPage.d.ts +11 -0
  567. package/dist/ts3.9/blocks/EmptyBlock.d.ts +2 -0
  568. package/dist/ts3.9/blocks/IFrame.d.ts +24 -0
  569. package/dist/ts3.9/blocks/IconGallery.d.ts +13 -0
  570. package/dist/ts3.9/blocks/Preview.d.ts +19 -0
  571. package/dist/ts3.9/blocks/Source.d.ts +21 -0
  572. package/dist/ts3.9/blocks/Story.d.ts +25 -0
  573. package/dist/ts3.9/blocks/Toolbar.d.ts +15 -0
  574. package/dist/ts3.9/blocks/Typeset.d.ts +12 -0
  575. package/dist/ts3.9/blocks/ZoomContext.d.ts +4 -0
  576. package/dist/ts3.9/blocks/index.d.ts +10 -0
  577. package/dist/ts3.9/brand/StorybookIcon.d.ts +2 -0
  578. package/dist/ts3.9/brand/StorybookLogo.d.ts +5 -0
  579. package/dist/ts3.9/controls/Boolean.d.ts +4 -0
  580. package/dist/ts3.9/controls/Color.d.ts +5 -0
  581. package/dist/ts3.9/controls/Date.d.ts +4 -0
  582. package/dist/ts3.9/controls/Files.d.ts +6 -0
  583. package/dist/ts3.9/controls/Number.d.ts +7 -0
  584. package/dist/ts3.9/controls/Object.d.ts +6 -0
  585. package/dist/ts3.9/controls/Range.d.ts +5 -0
  586. package/dist/ts3.9/controls/Text.d.ts +4 -0
  587. package/dist/ts3.9/controls/helpers.d.ts +14 -0
  588. package/dist/ts3.9/controls/index.d.ts +13 -0
  589. package/dist/ts3.9/controls/options/Checkbox.d.ts +8 -0
  590. package/dist/ts3.9/controls/options/Options.d.ts +4 -0
  591. package/dist/ts3.9/controls/options/Radio.d.ts +8 -0
  592. package/dist/ts3.9/controls/options/Select.d.ts +8 -0
  593. package/dist/ts3.9/controls/options/helpers.d.ts +4 -0
  594. package/dist/ts3.9/controls/options/index.d.ts +1 -0
  595. package/dist/ts3.9/controls/types.d.ts +56 -0
  596. package/dist/ts3.9/form/field/field.d.ts +5 -0
  597. package/dist/ts3.9/form/index.d.ts +15 -0
  598. package/dist/ts3.9/form/input/input.d.ts +26 -0
  599. package/dist/ts3.9/html.d.ts +2 -0
  600. package/dist/ts3.9/icon/icon.d.ts +12 -0
  601. package/dist/ts3.9/icon/icons.d.ts +174 -0
  602. package/dist/ts3.9/icon/svg.d.ts +6 -0
  603. package/dist/ts3.9/index.d.ts +34 -0
  604. package/dist/ts3.9/placeholder/placeholder.d.ts +2 -0
  605. package/dist/ts3.9/shared/animation.d.ts +1 -0
  606. package/dist/ts3.9/spaced/Spaced.d.ts +12 -0
  607. package/dist/ts3.9/syntaxhighlighter/formatter.d.ts +1 -0
  608. package/dist/ts3.9/syntaxhighlighter/lazy-syntaxhighlighter.d.ts +4 -0
  609. package/dist/ts3.9/syntaxhighlighter/syntaxhighlighter-types.d.ts +15 -0
  610. package/dist/ts3.9/syntaxhighlighter/syntaxhighlighter.d.ts +18 -0
  611. package/dist/ts3.9/tabs/tabs.d.ts +52 -0
  612. package/dist/ts3.9/tooltip/ListItem.d.ts +34 -0
  613. package/dist/ts3.9/tooltip/Tooltip.d.ts +21 -0
  614. package/dist/ts3.9/tooltip/TooltipLinkList.d.ts +12 -0
  615. package/dist/ts3.9/tooltip/TooltipMessage.d.ts +11 -0
  616. package/dist/ts3.9/tooltip/TooltipNote.d.ts +5 -0
  617. package/dist/ts3.9/tooltip/WithTooltip.d.ts +23 -0
  618. package/dist/ts3.9/tooltip/lazy-WithTooltip.d.ts +8 -0
  619. package/dist/ts3.9/typography/DocumentFormatting.d.ts +56 -0
  620. package/dist/ts3.9/typography/DocumentWrapper.d.ts +2 -0
  621. package/dist/ts3.9/typography/link/link.d.ts +22 -0
  622. package/dist/ts3.9/typography/shared.d.ts +11 -0
  623. package/package.json +4 -4
@@ -0,0 +1,32 @@
1
+ import React from 'react';
2
+ import { TabbedArgsTable } from './TabbedArgsTable';
3
+ import { Normal, Compact, Sections } from './ArgsTable.stories';
4
+ export default {
5
+ component: TabbedArgsTable,
6
+ title: 'Docs/TabbedArgsTable'
7
+ };
8
+
9
+ const Template = args => /*#__PURE__*/React.createElement(TabbedArgsTable, args);
10
+
11
+ Template.displayName = "Template";
12
+ export const Tabs = Template.bind({});
13
+ Tabs.args = {
14
+ tabs: {
15
+ Normal: Normal.args,
16
+ Compact: Compact.args,
17
+ Sections: Sections.args
18
+ }
19
+ };
20
+ export const TabsInAddonPanel = Template.bind({});
21
+ TabsInAddonPanel.args = {
22
+ tabs: {
23
+ Normal: Normal.args,
24
+ Compact: Compact.args,
25
+ Sections: Sections.args
26
+ },
27
+ inAddonPanel: true
28
+ };
29
+ export const Empty = Template.bind({});
30
+ Empty.args = {
31
+ tabs: {}
32
+ };
@@ -0,0 +1,4 @@
1
+ export * from './types';
2
+ export * from './ArgsTable';
3
+ export * from './TabbedArgsTable';
4
+ export * from './NoControlsWarning';
File without changes
@@ -0,0 +1,6 @@
1
+ export const getBlockBackgroundStyle = theme => ({
2
+ borderRadius: theme.appBorderRadius,
3
+ background: theme.background.content,
4
+ boxShadow: theme.base === 'light' ? 'rgba(0, 0, 0, 0.10) 0 1px 3px 0' : 'rgba(0, 0, 0, 0.20) 0 2px 5px 0',
5
+ border: `1px solid ${theme.appBorderColor}`
6
+ });
@@ -0,0 +1,175 @@
1
+ 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
+
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; }
4
+
5
+ import React from 'react';
6
+ import { styled } from '@storybook/theming';
7
+ import { transparentize } from 'polished';
8
+ import { getBlockBackgroundStyle } from './BlockBackgroundStyles';
9
+ import { ResetWrapper } from '../typography/DocumentFormatting';
10
+ const ItemTitle = styled.div(({
11
+ theme
12
+ }) => ({
13
+ fontWeight: theme.typography.weight.bold,
14
+ color: theme.color.defaultText
15
+ }));
16
+ const ItemSubtitle = styled.div(({
17
+ theme
18
+ }) => ({
19
+ color: theme.base === 'light' ? transparentize(0.2, theme.color.defaultText) : transparentize(0.6, theme.color.defaultText)
20
+ }));
21
+ const ItemDescription = styled.div({
22
+ flex: '0 0 30%',
23
+ lineHeight: '20px',
24
+ marginTop: 5
25
+ });
26
+ const SwatchLabel = styled.div(({
27
+ theme
28
+ }) => ({
29
+ flex: 1,
30
+ textAlign: 'center',
31
+ fontFamily: theme.typography.fonts.mono,
32
+ fontSize: theme.typography.size.s1,
33
+ lineHeight: 1,
34
+ overflow: 'hidden',
35
+ color: theme.base === 'light' ? transparentize(0.4, theme.color.defaultText) : transparentize(0.6, theme.color.defaultText),
36
+ '> div': {
37
+ display: 'inline-block',
38
+ overflow: 'hidden',
39
+ maxWidth: '100%',
40
+ textOverflow: 'ellipsis'
41
+ },
42
+ span: {
43
+ display: 'block',
44
+ marginTop: 2
45
+ }
46
+ }));
47
+ const SwatchLabels = styled.div({
48
+ display: 'flex',
49
+ flexDirection: 'row'
50
+ });
51
+ const Swatch = styled.div(({
52
+ background
53
+ }) => ({
54
+ position: 'relative',
55
+ flex: 1,
56
+ '&::before': {
57
+ position: 'absolute',
58
+ top: 0,
59
+ left: 0,
60
+ width: '100%',
61
+ height: '100%',
62
+ background,
63
+ content: '""'
64
+ }
65
+ }));
66
+ const SwatchColors = styled.div(({
67
+ theme
68
+ }) => Object.assign({}, getBlockBackgroundStyle(theme), {
69
+ display: 'flex',
70
+ flexDirection: 'row',
71
+ height: 50,
72
+ marginBottom: 5,
73
+ overflow: 'hidden',
74
+ backgroundColor: 'white',
75
+ backgroundImage: `repeating-linear-gradient(-45deg, #ccc, #ccc 1px, #fff 1px, #fff 16px)`,
76
+ backgroundClip: 'padding-box'
77
+ }));
78
+ const SwatchSpecimen = styled.div({
79
+ display: 'flex',
80
+ flexDirection: 'column',
81
+ flex: 1,
82
+ position: 'relative',
83
+ marginBottom: 30
84
+ });
85
+ const Swatches = styled.div({
86
+ flex: 1,
87
+ display: 'flex',
88
+ flexDirection: 'row'
89
+ });
90
+ const Item = styled.div({
91
+ display: 'flex',
92
+ alignItems: 'flex-start'
93
+ });
94
+ const ListName = styled.div({
95
+ flex: '0 0 30%'
96
+ });
97
+ const ListSwatches = styled.div({
98
+ flex: 1
99
+ });
100
+ const ListHeading = styled.div(({
101
+ theme
102
+ }) => ({
103
+ display: 'flex',
104
+ flexDirection: 'row',
105
+ alignItems: 'center',
106
+ paddingBottom: 20,
107
+ fontWeight: theme.typography.weight.bold,
108
+ color: theme.base === 'light' ? transparentize(0.4, theme.color.defaultText) : transparentize(0.6, theme.color.defaultText)
109
+ }));
110
+ const List = styled.div(({
111
+ theme
112
+ }) => ({
113
+ fontSize: theme.typography.size.s2,
114
+ lineHeight: `20px`,
115
+ display: 'flex',
116
+ flexDirection: 'column'
117
+ }));
118
+
119
+ function renderSwatch(color, index) {
120
+ return /*#__PURE__*/React.createElement(Swatch, {
121
+ key: `${color}-${index}`,
122
+ title: color,
123
+ background: color
124
+ });
125
+ }
126
+
127
+ renderSwatch.displayName = "renderSwatch";
128
+
129
+ function renderSwatchLabel(color, index, colorDescription) {
130
+ return /*#__PURE__*/React.createElement(SwatchLabel, {
131
+ key: `${color}-${index}`,
132
+ title: color
133
+ }, /*#__PURE__*/React.createElement("div", null, color, colorDescription && /*#__PURE__*/React.createElement("span", null, colorDescription)));
134
+ }
135
+
136
+ renderSwatchLabel.displayName = "renderSwatchLabel";
137
+
138
+ function renderSwatchSpecimen(colors) {
139
+ if (Array.isArray(colors)) {
140
+ return /*#__PURE__*/React.createElement(SwatchSpecimen, null, /*#__PURE__*/React.createElement(SwatchColors, null, colors.map((color, index) => renderSwatch(color, index))), /*#__PURE__*/React.createElement(SwatchLabels, null, colors.map((color, index) => renderSwatchLabel(color, index))));
141
+ }
142
+
143
+ return /*#__PURE__*/React.createElement(SwatchSpecimen, null, /*#__PURE__*/React.createElement(SwatchColors, null, Object.values(colors).map((color, index) => renderSwatch(color, index))), /*#__PURE__*/React.createElement(SwatchLabels, null, Object.keys(colors).map((color, index) => renderSwatchLabel(color, index, colors[color]))));
144
+ }
145
+
146
+ renderSwatchSpecimen.displayName = "renderSwatchSpecimen";
147
+
148
+ /**
149
+ * A single color row your styleguide showing title, subtitle and one or more colors, used
150
+ * as a child of `ColorPalette`.
151
+ */
152
+ export const ColorItem = ({
153
+ title,
154
+ subtitle,
155
+ colors
156
+ }) => {
157
+ return /*#__PURE__*/React.createElement(Item, null, /*#__PURE__*/React.createElement(ItemDescription, null, /*#__PURE__*/React.createElement(ItemTitle, null, title), /*#__PURE__*/React.createElement(ItemSubtitle, null, subtitle)), /*#__PURE__*/React.createElement(Swatches, null, renderSwatchSpecimen(colors)));
158
+ };
159
+ ColorItem.displayName = "ColorItem";
160
+
161
+ /**
162
+ * Styleguide documentation for colors, including names, captions, and color swatches,
163
+ * all specified as `ColorItem` children of this wrapper component.
164
+ */
165
+ export const ColorPalette = (_ref) => {
166
+ let {
167
+ children
168
+ } = _ref,
169
+ props = _objectWithoutPropertiesLoose(_ref, ["children"]);
170
+
171
+ return /*#__PURE__*/React.createElement(ResetWrapper, null, /*#__PURE__*/React.createElement(List, _extends({}, props, {
172
+ className: "docblock-colorpalette"
173
+ }), /*#__PURE__*/React.createElement(ListHeading, null, /*#__PURE__*/React.createElement(ListName, null, "Name"), /*#__PURE__*/React.createElement(ListSwatches, null, "Swatches")), children));
174
+ };
175
+ ColorPalette.displayName = "ColorPalette";
@@ -0,0 +1,65 @@
1
+ import React from 'react';
2
+ import { ColorItem, ColorPalette } from './ColorPalette';
3
+ export default {
4
+ title: 'Docs/ColorPalette',
5
+ component: ColorPalette
6
+ };
7
+ export const defaultStyle = () => /*#__PURE__*/React.createElement(ColorPalette, null, /*#__PURE__*/React.createElement(ColorItem, {
8
+ title: "theme.color.greyscale",
9
+ subtitle: "Some of the greys",
10
+ colors: ['#FFFFFF', '#F8F8F8', '#F3F3F3']
11
+ }), /*#__PURE__*/React.createElement(ColorItem, {
12
+ title: "theme.color.primary",
13
+ subtitle: "Coral",
14
+ colors: ['#FF4785']
15
+ }), /*#__PURE__*/React.createElement(ColorItem, {
16
+ title: "theme.color.secondary",
17
+ subtitle: "Ocean",
18
+ colors: ['#1EA7FD']
19
+ }), /*#__PURE__*/React.createElement(ColorItem, {
20
+ title: "theme.color.positive",
21
+ subtitle: "Green",
22
+ colors: ['rgba(102,191,60,1)', 'rgba(102,191,60,.8)', 'rgba(102,191,60,.6)', 'rgba(102,191,60,.3)']
23
+ }), /*#__PURE__*/React.createElement(ColorItem, {
24
+ title: "gradient",
25
+ subtitle: "Grayscale",
26
+ colors: ['linear-gradient(to right,white,black)']
27
+ }));
28
+ defaultStyle.displayName = "defaultStyle";
29
+ export const NamedColors = () => /*#__PURE__*/React.createElement(ColorPalette, null, /*#__PURE__*/React.createElement(ColorItem, {
30
+ title: "theme.color.greyscale",
31
+ subtitle: "Some of the greys",
32
+ colors: {
33
+ White: '#FFFFFF',
34
+ Alabaster: '#F8F8F8',
35
+ Concrete: '#F3F3F3'
36
+ }
37
+ }), /*#__PURE__*/React.createElement(ColorItem, {
38
+ title: "theme.color.primary",
39
+ subtitle: "Coral",
40
+ colors: {
41
+ WildWatermelon: '#FF4785'
42
+ }
43
+ }), /*#__PURE__*/React.createElement(ColorItem, {
44
+ title: "theme.color.secondary",
45
+ subtitle: "Ocean",
46
+ colors: {
47
+ DodgerBlue: '#1EA7FD'
48
+ }
49
+ }), /*#__PURE__*/React.createElement(ColorItem, {
50
+ title: "theme.color.positive",
51
+ subtitle: "Green",
52
+ colors: {
53
+ Apple: 'rgba(102,191,60,1)',
54
+ Apple80: 'rgba(102,191,60,.8)',
55
+ Apple60: 'rgba(102,191,60,.6)',
56
+ Apple30: 'rgba(102,191,60,.3)'
57
+ }
58
+ }), /*#__PURE__*/React.createElement(ColorItem, {
59
+ title: "gradient",
60
+ subtitle: "Grayscale",
61
+ colors: {
62
+ Gradient: 'linear-gradient(to right,white,black)'
63
+ }
64
+ }));
65
+ NamedColors.displayName = "NamedColors";
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ import Markdown from 'markdown-to-jsx';
3
+ import { ResetWrapper } from '../typography/DocumentFormatting';
4
+ import { components } from '..';
5
+
6
+ /**
7
+ * A markdown description for a component, typically used to show the
8
+ * components docgen docs.
9
+ */
10
+ export const Description = ({
11
+ markdown
12
+ }) => /*#__PURE__*/React.createElement(ResetWrapper, null, /*#__PURE__*/React.createElement(Markdown, {
13
+ options: {
14
+ forceBlock: true,
15
+ overrides: components
16
+ }
17
+ }, markdown));
18
+ Description.displayName = "Description";
@@ -0,0 +1,65 @@
1
+ import React from 'react';
2
+ import { Description } from './Description';
3
+ export default {
4
+ title: 'Docs/Description',
5
+ component: Description
6
+ };
7
+ const textCaption = `That was Wintermute, manipulating the lock the way it had manipulated the drone micro and the amplified breathing of the room where Case waited. The semiotics of the bright void beyond the chain link. The tug Marcus Garvey, a steel drum nine meters long and two in diameter, creaked and shuddered as Maelcum punched for a California gambling cartel, then as a paid killer in the dark, curled in his capsule in some coffin hotel, his hands clawed into the nearest door and watched the other passengers as he rode. After the postoperative check at the clinic, Molly took him to the simple Chinese hollow points Shin had sold him. Still it was a handgun and nine rounds of ammunition, and as he made his way down Shiga from the missionaries, the train reached Case’s station. Now this quiet courtyard, Sunday afternoon, this girl with a random collection of European furniture, as though Deane had once intended to use the place as his home. Case felt the edge of the Flatline as a construct, a hardwired ROM cassette replicating a dead man’s skills, obsessions, kneejerk responses. They were dropping, losing altitude in a canyon of rainbow foliage, a lurid communal mural that completely covered the hull of the console in faded pinks and yellows.`;
8
+ const markdownCaption = `
9
+ # My Example Markdown
10
+
11
+ 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.
12
+
13
+ ![An image](http://place-hold.it/350x150)
14
+
15
+ 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.
16
+ `;
17
+ const markdownWithLinksCaption = `
18
+ # [Link](https://storybook.js.org/) in heading
19
+ ## [Link](https://storybook.js.org/) in heading
20
+ ### [Link](https://storybook.js.org/) in heading
21
+ #### [Link](https://storybook.js.org/) in heading
22
+ ##### [Link](https://storybook.js.org/) in heading
23
+ ###### [Link](https://storybook.js.org/) in heading
24
+
25
+ He stared at the clinic, [Molly](https://storybook.js.org/) took him to the *[Tank War](https://storybook.js.org/)*, mouth touched with hot gold as a gliding cursor struck sparks from the wall of a **[skyscraper](https://storybook.js.org/)** canyon.
26
+ `;
27
+ const markdownWithCodeSnippets = `
28
+ # My Example Markdown
29
+
30
+ An \`inline\` codeblock
31
+
32
+ \`\`\`tsx
33
+ // TypeScript React code block
34
+ export const MyStory = () => {
35
+ return <Button>Click me</Button>;
36
+ };
37
+ \`\`\`
38
+
39
+ \`\`\`
40
+ code block with with no language
41
+ const a = fn({
42
+ b: 2,
43
+ });
44
+ \`\`\`
45
+ `;
46
+
47
+ const Template = args => /*#__PURE__*/React.createElement(Description, args);
48
+
49
+ Template.displayName = "Template";
50
+ export const Text = Template.bind({});
51
+ Text.args = {
52
+ markdown: textCaption
53
+ };
54
+ export const Markdown = Template.bind({});
55
+ Markdown.args = {
56
+ markdown: markdownCaption
57
+ };
58
+ export const MarkdownLinks = Template.bind({});
59
+ MarkdownLinks.args = {
60
+ markdown: markdownWithLinksCaption
61
+ };
62
+ export const MarkdownCodeSnippets = Template.bind({});
63
+ MarkdownCodeSnippets.args = {
64
+ markdown: markdownWithCodeSnippets
65
+ };
@@ -0,0 +1,53 @@
1
+ import React from 'react';
2
+ import { styled } from '@storybook/theming';
3
+ import { transparentize } from 'polished';
4
+ import { withReset } from '../typography/shared';
5
+ const breakpoint = 600;
6
+ export const Title = styled.h1(withReset, ({
7
+ theme
8
+ }) => ({
9
+ color: theme.color.defaultText,
10
+ fontSize: theme.typography.size.m3,
11
+ fontWeight: theme.typography.weight.black,
12
+ lineHeight: '32px',
13
+ [`@media (min-width: ${breakpoint}px)`]: {
14
+ fontSize: theme.typography.size.l1,
15
+ lineHeight: '36px',
16
+ marginBottom: '.5rem' // 8px
17
+
18
+ }
19
+ }));
20
+ export const Subtitle = styled.h2(withReset, ({
21
+ theme
22
+ }) => ({
23
+ fontWeight: theme.typography.weight.regular,
24
+ fontSize: theme.typography.size.s3,
25
+ lineHeight: '20px',
26
+ borderBottom: 'none',
27
+ marginBottom: 15,
28
+ [`@media (min-width: ${breakpoint}px)`]: {
29
+ fontSize: theme.typography.size.m1,
30
+ lineHeight: '28px',
31
+ marginBottom: 24
32
+ },
33
+ color: transparentize(0.25, theme.color.defaultText)
34
+ }));
35
+ export const DocsContent = styled.div({
36
+ maxWidth: 1000,
37
+ width: '100%'
38
+ });
39
+ export const DocsWrapper = styled.div(({
40
+ theme
41
+ }) => ({
42
+ background: theme.background.content,
43
+ display: 'flex',
44
+ justifyContent: 'center',
45
+ padding: '4rem 20px',
46
+ minHeight: '100vh',
47
+ boxSizing: 'border-box',
48
+ [`@media (min-width: ${breakpoint}px)`]: {}
49
+ }));
50
+ export const DocsPageWrapper = ({
51
+ children
52
+ }) => /*#__PURE__*/React.createElement(DocsWrapper, null, /*#__PURE__*/React.createElement(DocsContent, null, children));
53
+ DocsPageWrapper.displayName = "DocsPageWrapper";
@@ -0,0 +1,44 @@
1
+ function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
2
+
3
+ import React from 'react';
4
+ import { Global, css } from '@emotion/core';
5
+ import { Title, Subtitle, DocsPageWrapper } from './DocsPage';
6
+ import { ArgsTable, Source, Description } from './index';
7
+ import * as Story from './Story.stories';
8
+ import * as Preview from './Preview.stories';
9
+ import * as argsTable from './ArgsTable/ArgsTable.stories';
10
+ import * as source from './Source.stories';
11
+ import * as description from './Description.stories';
12
+
13
+ var _ref = process.env.NODE_ENV === "production" ? {
14
+ name: "11oe0k1",
15
+ styles: "ul,ol{list-style:none;}"
16
+ } : {
17
+ name: "11oe0k1",
18
+ styles: "ul,ol{list-style:none;}",
19
+ map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9ibG9ja3MvRG9jc1BhZ2Uuc3Rvcmllcy50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBb0JxQiIsImZpbGUiOiIuLi8uLi8uLi9zcmMvYmxvY2tzL0RvY3NQYWdlLnN0b3JpZXMudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IFJlYWN0IGZyb20gJ3JlYWN0JztcbmltcG9ydCB7IEdsb2JhbCwgY3NzIH0gZnJvbSAnQGVtb3Rpb24vY29yZSc7XG5cbmltcG9ydCB7IFRpdGxlLCBTdWJ0aXRsZSwgRG9jc1BhZ2VXcmFwcGVyIH0gZnJvbSAnLi9Eb2NzUGFnZSc7XG5pbXBvcnQgeyBBcmdzVGFibGUsIFNvdXJjZSwgRGVzY3JpcHRpb24gfSBmcm9tICcuL2luZGV4JztcbmltcG9ydCAqIGFzIFN0b3J5IGZyb20gJy4vU3Rvcnkuc3Rvcmllcyc7XG5pbXBvcnQgKiBhcyBQcmV2aWV3IGZyb20gJy4vUHJldmlldy5zdG9yaWVzJztcbmltcG9ydCAqIGFzIGFyZ3NUYWJsZSBmcm9tICcuL0FyZ3NUYWJsZS9BcmdzVGFibGUuc3Rvcmllcyc7XG5pbXBvcnQgKiBhcyBzb3VyY2UgZnJvbSAnLi9Tb3VyY2Uuc3Rvcmllcyc7XG5pbXBvcnQgKiBhcyBkZXNjcmlwdGlvbiBmcm9tICcuL0Rlc2NyaXB0aW9uLnN0b3JpZXMnO1xuXG5leHBvcnQgZGVmYXVsdCB7XG4gIHRpdGxlOiAnRG9jcy9Eb2NzUGFnZScsXG4gIGNvbXBvbmVudDogRG9jc1BhZ2VXcmFwcGVyLFxuICAvLyBUaGUgZ29hbCBvZiB0aGlzIGRlY29yYXRvciBpcyB0byBtaW1pYyBzb21lIENTUyByZXNldC5cbiAgLy8gTGlrZSBUYWlsd2luZCBDU1Mgb3IgQnVsbWEgZG8sIGZvciBleGFtcGxlLlxuICBkZWNvcmF0b3JzOiBbXG4gICAgKHN0b3J5Rm4pID0+IChcbiAgICAgIDw+XG4gICAgICAgIDxHbG9iYWxcbiAgICAgICAgICBzdHlsZXM9e2Nzc2BcbiAgICAgICAgICAgIHVsLFxuICAgICAgICAgICAgb2wge1xuICAgICAgICAgICAgICBsaXN0LXN0eWxlOiBub25lO1xuICAgICAgICAgICAgfVxuICAgICAgICAgIGB9XG4gICAgICAgIC8+XG4gICAgICAgIHtzdG9yeUZuKCl9XG4gICAgICA8Lz5cbiAgICApLFxuICBdLFxuICBwYXJhbWV0ZXJzOiB7XG4gICAgbGF5b3V0OiAnZnVsbHNjcmVlbicsXG4gIH0sXG59O1xuXG5leHBvcnQgY29uc3QgV2l0aFN1YnRpdGxlID0gKCkgPT4gKFxuICA8RG9jc1BhZ2VXcmFwcGVyPlxuICAgIDxUaXRsZT5Eb2NzUGFnZTwvVGl0bGU+XG4gICAgPFN1YnRpdGxlPlxuICAgICAgV2hhdCB0aGUgRG9jc1BhZ2UgbG9va3MgbGlrZS4gTWVhbnQgdG8gYmUgUUFlZCBpbiBDYW52YXMgdGFiIG5vdCBpbiBEb2NzIHRhYi5cbiAgICA8L1N1YnRpdGxlPlxuICAgIDxEZXNjcmlwdGlvbiB7Li4uZGVzY3JpcHRpb24uVGV4dC5hcmdzfSAvPlxuICAgIDxQcmV2aWV3LlNpbmdsZSAvPlxuICAgIDxBcmdzVGFibGUgey4uLmFyZ3NUYWJsZS5Ob3JtYWwuYXJnc30gLz5cbiAgICA8U291cmNlIHsuLi5zb3VyY2UuSlNYLmFyZ3N9IC8+XG4gIDwvRG9jc1BhZ2VXcmFwcGVyPlxuKTtcblxuZXhwb3J0IGNvbnN0IEVtcHR5ID0gKCkgPT4gKFxuICA8RG9jc1BhZ2VXcmFwcGVyPlxuICAgIDxTdG9yeS5FcnJvciAvPlxuICAgIDxBcmdzVGFibGUgey4uLmFyZ3NUYWJsZS5FcnJvci5hcmdzfSAvPlxuICAgIDxTb3VyY2Ugey4uLnNvdXJjZS5Tb3VyY2VVbmF2YWlsYWJsZS5hcmdzfSAvPlxuICA8L0RvY3NQYWdlV3JhcHBlcj5cbik7XG5cbmV4cG9ydCBjb25zdCBOb1RleHQgPSAoKSA9PiAoXG4gIDxEb2NzUGFnZVdyYXBwZXI+XG4gICAgPFRpdGxlPm5vIHRleHQ8L1RpdGxlPlxuICAgIDxQcmV2aWV3LlNpbmdsZSAvPlxuICAgIDxBcmdzVGFibGUgey4uLmFyZ3NUYWJsZS5Ob3JtYWwuYXJnc30gLz5cbiAgICA8U291cmNlIHsuLi5zb3VyY2UuSlNYLmFyZ3N9IC8+XG4gIDwvRG9jc1BhZ2VXcmFwcGVyPlxuKTtcblxuZXhwb3J0IGNvbnN0IFRleHQgPSAoKSA9PiAoXG4gIDxEb2NzUGFnZVdyYXBwZXI+XG4gICAgPFRpdGxlPlNlbnNvcml1bTwvVGl0bGU+XG4gICAgPERlc2NyaXB0aW9uIHsuLi5kZXNjcmlwdGlvbi5UZXh0LmFyZ3N9IC8+XG4gICAgPFByZXZpZXcuU2luZ2xlIC8+XG4gICAgPEFyZ3NUYWJsZSB7Li4uYXJnc1RhYmxlLk5vcm1hbC5hcmdzfSAvPlxuICAgIDxTb3VyY2Ugey4uLnNvdXJjZS5KU1guYXJnc30gLz5cbiAgPC9Eb2NzUGFnZVdyYXBwZXI+XG4pO1xuXG5leHBvcnQgY29uc3QgTWFya2Rvd24gPSAoKSA9PiAoXG4gIDxEb2NzUGFnZVdyYXBwZXI+XG4gICAgPFRpdGxlPm1hcmtkb3duPC9UaXRsZT5cbiAgICA8RGVzY3JpcHRpb24gey4uLmRlc2NyaXB0aW9uLk1hcmtkb3duLmFyZ3N9IC8+XG4gICAgPFByZXZpZXcuU2luZ2xlIC8+XG4gICAgPEFyZ3NUYWJsZSB7Li4uYXJnc1RhYmxlLk5vcm1hbC5hcmdzfSAvPlxuICAgIDxTb3VyY2Ugey4uLnNvdXJjZS5KU1guYXJnc30gLz5cbiAgPC9Eb2NzUGFnZVdyYXBwZXI+XG4pO1xuIl19 */",
20
+ toString: _EMOTION_STRINGIFIED_CSS_ERROR__
21
+ };
22
+
23
+ export default {
24
+ title: 'Docs/DocsPage',
25
+ component: DocsPageWrapper,
26
+ // The goal of this decorator is to mimic some CSS reset.
27
+ // Like Tailwind CSS or Bulma do, for example.
28
+ decorators: [storyFn => /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Global, {
29
+ styles: _ref
30
+ }), storyFn())],
31
+ parameters: {
32
+ layout: 'fullscreen'
33
+ }
34
+ };
35
+ export const WithSubtitle = () => /*#__PURE__*/React.createElement(DocsPageWrapper, null, /*#__PURE__*/React.createElement(Title, null, "DocsPage"), /*#__PURE__*/React.createElement(Subtitle, null, "What the DocsPage looks like. Meant to be QAed in Canvas tab not in Docs tab."), /*#__PURE__*/React.createElement(Description, description.Text.args), /*#__PURE__*/React.createElement(Preview.Single, null), /*#__PURE__*/React.createElement(ArgsTable, argsTable.Normal.args), /*#__PURE__*/React.createElement(Source, source.JSX.args));
36
+ WithSubtitle.displayName = "WithSubtitle";
37
+ export const Empty = () => /*#__PURE__*/React.createElement(DocsPageWrapper, null, /*#__PURE__*/React.createElement(Story.Error, null), /*#__PURE__*/React.createElement(ArgsTable, argsTable.Error.args), /*#__PURE__*/React.createElement(Source, source.SourceUnavailable.args));
38
+ Empty.displayName = "Empty";
39
+ export const NoText = () => /*#__PURE__*/React.createElement(DocsPageWrapper, null, /*#__PURE__*/React.createElement(Title, null, "no text"), /*#__PURE__*/React.createElement(Preview.Single, null), /*#__PURE__*/React.createElement(ArgsTable, argsTable.Normal.args), /*#__PURE__*/React.createElement(Source, source.JSX.args));
40
+ NoText.displayName = "NoText";
41
+ export const Text = () => /*#__PURE__*/React.createElement(DocsPageWrapper, null, /*#__PURE__*/React.createElement(Title, null, "Sensorium"), /*#__PURE__*/React.createElement(Description, description.Text.args), /*#__PURE__*/React.createElement(Preview.Single, null), /*#__PURE__*/React.createElement(ArgsTable, argsTable.Normal.args), /*#__PURE__*/React.createElement(Source, source.JSX.args));
42
+ Text.displayName = "Text";
43
+ export const Markdown = () => /*#__PURE__*/React.createElement(DocsPageWrapper, null, /*#__PURE__*/React.createElement(Title, null, "markdown"), /*#__PURE__*/React.createElement(Description, description.Markdown.args), /*#__PURE__*/React.createElement(Preview.Single, null), /*#__PURE__*/React.createElement(ArgsTable, argsTable.Normal.args), /*#__PURE__*/React.createElement(Source, source.JSX.args));
44
+ Markdown.displayName = "Markdown";
@@ -0,0 +1,92 @@
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
+ ```
@@ -0,0 +1,92 @@
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
+ ```