superdesk-ui-framework 4.0.52 → 4.0.53

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 (369) hide show
  1. package/dist/examples.bundle.js +1 -1
  2. package/package.json +1 -1
  3. package/dist/playgrounds/accessible-theme-test.html +0 -813
  4. package/dist/playgrounds/boxed-list.html +0 -164
  5. package/dist/playgrounds/cards.html +0 -244
  6. package/dist/playgrounds/circular-progress.html +0 -48
  7. package/dist/playgrounds/dummy-data/items.ts +0 -95
  8. package/dist/playgrounds/editor-3-test.html +0 -15
  9. package/dist/playgrounds/form-layout.html +0 -285
  10. package/dist/playgrounds/layout-grid.html +0 -79
  11. package/dist/playgrounds/layout-snippets/edit-article.html +0 -415
  12. package/dist/playgrounds/layout-test-2.html +0 -795
  13. package/dist/playgrounds/list-item-test.html +0 -896
  14. package/dist/playgrounds/main.html +0 -16
  15. package/dist/playgrounds/master-desk.html +0 -1678
  16. package/dist/playgrounds/media-carousel.html +0 -1166
  17. package/dist/playgrounds/nav-buttons.html +0 -65
  18. package/dist/playgrounds/photo-desk.html +0 -1515
  19. package/dist/playgrounds/photo-snippets/edit-photo-metadata.html +0 -208
  20. package/dist/playgrounds/planning-snippets/edit-event.html +0 -187
  21. package/dist/playgrounds/planning-snippets/edit-planning.html +0 -457
  22. package/dist/playgrounds/planning.html +0 -1112
  23. package/dist/playgrounds/publish-snippets/edit-article.html +0 -37
  24. package/dist/playgrounds/publish.html +0 -1007
  25. package/dist/playgrounds/publisher-content-analytics.html +0 -376
  26. package/dist/playgrounds/publisher-content-list-automatic.html +0 -296
  27. package/dist/playgrounds/publisher-content-list-manual.html +0 -611
  28. package/dist/playgrounds/publisher-content-lists.html +0 -255
  29. package/dist/playgrounds/publisher-dashboard.html +0 -323
  30. package/dist/playgrounds/publisher-output-control.html +0 -3659
  31. package/dist/playgrounds/publisher-website-settings-general.html +0 -188
  32. package/dist/playgrounds/publisher-website-settings.html +0 -265
  33. package/dist/playgrounds/react-playgrounds/CoreLayout.tsx +0 -952
  34. package/dist/playgrounds/react-playgrounds/EditorTest.tsx +0 -649
  35. package/dist/playgrounds/react-playgrounds/FirstPlayground.tsx +0 -236
  36. package/dist/playgrounds/react-playgrounds/Index.tsx +0 -11
  37. package/dist/playgrounds/react-playgrounds/Multiedit.tsx +0 -401
  38. package/dist/playgrounds/react-playgrounds/PageLayoutTest.tsx +0 -210
  39. package/dist/playgrounds/react-playgrounds/PersonalProfile.tsx +0 -835
  40. package/dist/playgrounds/react-playgrounds/RundownEditor.tsx +0 -580
  41. package/dist/playgrounds/react-playgrounds/Rundowns.tsx +0 -1415
  42. package/dist/playgrounds/react-playgrounds/SamsPlayground.tsx +0 -401
  43. package/dist/playgrounds/react-playgrounds/TestGround.tsx +0 -2710
  44. package/dist/playgrounds/react-playgrounds/UiPlayground.tsx +0 -410
  45. package/dist/playgrounds/react-playgrounds/components/AuthoringContainer.tsx +0 -25
  46. package/dist/playgrounds/react-playgrounds/components/AuthoringContent.tsx +0 -86
  47. package/dist/playgrounds/react-playgrounds/components/ContentSplitter.tsx +0 -19
  48. package/dist/playgrounds/react-playgrounds/components/GraphicButton.tsx +0 -34
  49. package/dist/playgrounds/react-playgrounds/components/GraphicButtonsGroup.tsx +0 -11
  50. package/dist/playgrounds/react-playgrounds/components/HeaderPanel.tsx +0 -11
  51. package/dist/playgrounds/react-playgrounds/components/Index.tsx +0 -20
  52. package/dist/playgrounds/react-playgrounds/components/Layout.tsx +0 -27
  53. package/dist/playgrounds/react-playgrounds/components/LayoutContainer.tsx +0 -15
  54. package/dist/playgrounds/react-playgrounds/components/LeftPanel.tsx +0 -15
  55. package/dist/playgrounds/react-playgrounds/components/MainPanel.tsx +0 -24
  56. package/dist/playgrounds/react-playgrounds/components/OverlayPanel.tsx +0 -17
  57. package/dist/playgrounds/react-playgrounds/components/Panel.tsx +0 -23
  58. package/dist/playgrounds/react-playgrounds/components/PanelContent.tsx +0 -11
  59. package/dist/playgrounds/react-playgrounds/components/PanelContentBlock.tsx +0 -19
  60. package/dist/playgrounds/react-playgrounds/components/PanelFooter.tsx +0 -17
  61. package/dist/playgrounds/react-playgrounds/components/PanelHeader.tsx +0 -31
  62. package/dist/playgrounds/react-playgrounds/components/RightPanel.tsx +0 -16
  63. package/dist/playgrounds/react-playgrounds/components/SearchBar.tsx +0 -87
  64. package/dist/playgrounds/react-playgrounds/components/SidebarMenu.tsx +0 -76
  65. package/dist/playgrounds/react-playgrounds/components/SubNav.tsx +0 -17
  66. package/dist/playgrounds/react-playgrounds/components/ThemeDropdown.tsx +0 -57
  67. package/dist/playgrounds/react-playgrounds/tsconfig.json +0 -4
  68. package/dist/playgrounds/settings.html +0 -92
  69. package/dist/playgrounds/side-navigation.html +0 -201
  70. package/dist/playgrounds/swimlane-view.html +0 -1975
  71. package/dist/playgrounds/tags-input.html +0 -55
  72. package/dist/playgrounds/toasts.html +0 -113
  73. package/dist/playgrounds/video-editor.html +0 -706
  74. package/examples/css/docs-page.css +0 -1135
  75. package/examples/css/reset.css +0 -124
  76. package/examples/css/vendor.css +0 -175
  77. package/examples/illustration-small--components.svg +0 -45
  78. package/examples/img/andrew-power-y9L5-wmifaY-unsplash.jpg +0 -0
  79. package/examples/img/andrew-power-y9L5-wmifaY-unsplash.license.txt +0 -6
  80. package/examples/img/avatar-2.jpg +0 -0
  81. package/examples/img/avatar-3.jpg +0 -0
  82. package/examples/img/avatar-4.jpg +0 -0
  83. package/examples/img/avatar-5.jpg +0 -0
  84. package/examples/img/avatar-6.jpg +0 -0
  85. package/examples/img/avatar.jpg +0 -0
  86. package/examples/img/bill.jpg +0 -0
  87. package/examples/img/bush_1.jpg +0 -0
  88. package/examples/img/bush_2.jpg +0 -0
  89. package/examples/img/carousel-thumb--01.jpg +0 -0
  90. package/examples/img/carousel-thumb--02.jpg +0 -0
  91. package/examples/img/carousel-thumb--03.jpg +0 -0
  92. package/examples/img/carousel-thumb--04.jpg +0 -0
  93. package/examples/img/components_ilustration.svg +0 -1
  94. package/examples/img/d_trump.jpg +0 -0
  95. package/examples/img/d_trump_2.jpg +0 -0
  96. package/examples/img/d_trump_large.jpg +0 -0
  97. package/examples/img/design_ilustration.svg +0 -1
  98. package/examples/img/ferocious_beast.webm +0 -0
  99. package/examples/img/guidelines/application-frame.png +0 -0
  100. package/examples/img/guidelines/application-frame__bottom-bar.png +0 -0
  101. package/examples/img/guidelines/application-frame__left-panel.gif +0 -0
  102. package/examples/img/guidelines/application-frame__left-panel.png +0 -0
  103. package/examples/img/guidelines/application-frame__main-content.gif +0 -0
  104. package/examples/img/guidelines/application-frame__main-content.png +0 -0
  105. package/examples/img/guidelines/application-frame__right-panel.gif +0 -0
  106. package/examples/img/guidelines/application-frame__right-panel.png +0 -0
  107. package/examples/img/guidelines/application-frame__side-tabs.png +0 -0
  108. package/examples/img/guidelines/application-frame__sub-nav.png +0 -0
  109. package/examples/img/guidelines/application-frame__top-bar.png +0 -0
  110. package/examples/img/guidelines/buttons--00-01.png +0 -0
  111. package/examples/img/guidelines/buttons--00-02.png +0 -0
  112. package/examples/img/guidelines/buttons--DO-02.png +0 -0
  113. package/examples/img/guidelines/buttons--DONT-01.png +0 -0
  114. package/examples/img/guidelines/checkbox--DO-01.png +0 -0
  115. package/examples/img/guidelines/checkbox--DO-02.png +0 -0
  116. package/examples/img/guidelines/checkbox--DONT-01.png +0 -0
  117. package/examples/img/guidelines/checkbox--DONT-02.png +0 -0
  118. package/examples/img/guidelines/example__bottom-bar--01.png +0 -0
  119. package/examples/img/guidelines/example__left-side_panel--01.png +0 -0
  120. package/examples/img/guidelines/example__left_side-bar--01.png +0 -0
  121. package/examples/img/guidelines/example__main-content--01.png +0 -0
  122. package/examples/img/guidelines/example__right_side-panel--01.png +0 -0
  123. package/examples/img/guidelines/example__right_side-panel--02.png +0 -0
  124. package/examples/img/guidelines/example__right_side-panel--03.png +0 -0
  125. package/examples/img/guidelines/example__sub-nav--01.png +0 -0
  126. package/examples/img/guidelines/example__sub-nav--02.png +0 -0
  127. package/examples/img/guidelines/example__sub-nav--03.png +0 -0
  128. package/examples/img/guidelines/example__top-bar--01.png +0 -0
  129. package/examples/img/guidelines/layout--grid-01.png +0 -0
  130. package/examples/img/guidelines/layout--size-example-01.png +0 -0
  131. package/examples/img/guidelines/radio--DO-01.png +0 -0
  132. package/examples/img/guidelines/radio--DONT-01.png +0 -0
  133. package/examples/img/guidelines/radio--DONT-02.png +0 -0
  134. package/examples/img/guidelines/radio--DONT-03.png +0 -0
  135. package/examples/img/guidelines/switch--DO-01.png +0 -0
  136. package/examples/img/guidelines/switch--DO-02.png +0 -0
  137. package/examples/img/guidelines/switch--DONT-01.png +0 -0
  138. package/examples/img/guidelines/switch--DONT-02.png +0 -0
  139. package/examples/img/hillary.jpg +0 -0
  140. package/examples/img/illustration--components.svg +0 -1
  141. package/examples/img/illustration--design.svg +0 -1
  142. package/examples/img/illustration--playground.svg +0 -1
  143. package/examples/img/illustration--react.svg +0 -1
  144. package/examples/img/illustration-small--components.svg +0 -45
  145. package/examples/img/illustration-small--design.svg +0 -99
  146. package/examples/img/illustration-small--playground.svg +0 -49
  147. package/examples/img/illustration-small--react.svg +0 -53
  148. package/examples/img/illustration_user-privileges.png +0 -0
  149. package/examples/img/illustration_users.png +0 -0
  150. package/examples/img/image_01.jpg +0 -0
  151. package/examples/img/image_02.jpg +0 -0
  152. package/examples/img/masthead-image.png +0 -0
  153. package/examples/img/obama_1.jpg +0 -0
  154. package/examples/img/obama_2.jpg +0 -0
  155. package/examples/img/overlay-img.jpg +0 -0
  156. package/examples/img/react-logo--vector.svg +0 -49
  157. package/examples/img/sd-ui-framework__logo-01.svg +0 -33
  158. package/examples/img/sd-ui-framework__logo.svg +0 -20
  159. package/examples/img/th01.jpg +0 -0
  160. package/examples/img/th02.jpg +0 -0
  161. package/examples/img/th03.jpg +0 -0
  162. package/examples/index.html +0 -11
  163. package/examples/index.js +0 -468
  164. package/examples/js/doc.js +0 -230
  165. package/examples/js/react.js +0 -263
  166. package/examples/pages/components/Alerts.tsx +0 -291
  167. package/examples/pages/components/Autocomplete.tsx +0 -434
  168. package/examples/pages/components/Avatar.tsx +0 -659
  169. package/examples/pages/components/Badges.tsx +0 -221
  170. package/examples/pages/components/BigIconFont.tsx +0 -48
  171. package/examples/pages/components/BoxedList.tsx +0 -517
  172. package/examples/pages/components/ButtonGroups.tsx +0 -366
  173. package/examples/pages/components/Buttons.tsx +0 -565
  174. package/examples/pages/components/Card.tsx +0 -23
  175. package/examples/pages/components/Carousel.tsx +0 -235
  176. package/examples/pages/components/Checkboxs.tsx +0 -817
  177. package/examples/pages/components/Container.tsx +0 -190
  178. package/examples/pages/components/ContentDivider.tsx +0 -229
  179. package/examples/pages/components/ContentList.tsx +0 -786
  180. package/examples/pages/components/CreateButton.tsx +0 -121
  181. package/examples/pages/components/DatePicker.tsx +0 -245
  182. package/examples/pages/components/DateTimePicker.tsx +0 -141
  183. package/examples/pages/components/DragHandleDocs.tsx +0 -122
  184. package/examples/pages/components/DropZone.tsx +0 -149
  185. package/examples/pages/components/Dropdowns.tsx +0 -587
  186. package/examples/pages/components/DurationInput.tsx +0 -157
  187. package/examples/pages/components/EmptyStates.tsx +0 -171
  188. package/examples/pages/components/GridItem.tsx +0 -507
  189. package/examples/pages/components/GridList.tsx +0 -126
  190. package/examples/pages/components/Heading.tsx +0 -152
  191. package/examples/pages/components/IconButtons.tsx +0 -191
  192. package/examples/pages/components/IconFont.tsx +0 -49
  193. package/examples/pages/components/IconLabels.tsx +0 -199
  194. package/examples/pages/components/IconPicker.tsx +0 -82
  195. package/examples/pages/components/IllustrationButton.tsx +0 -109
  196. package/examples/pages/components/Index.tsx +0 -563
  197. package/examples/pages/components/Inputs.tsx +0 -313
  198. package/examples/pages/components/Labels.tsx +0 -354
  199. package/examples/pages/components/LeftNavigations.tsx +0 -459
  200. package/examples/pages/components/ListItems.tsx +0 -33
  201. package/examples/pages/components/Loader.tsx +0 -25
  202. package/examples/pages/components/Menu.tsx +0 -181
  203. package/examples/pages/components/Modal.tsx +0 -557
  204. package/examples/pages/components/MultiSelect.tsx +0 -343
  205. package/examples/pages/components/NavButtons.tsx +0 -159
  206. package/examples/pages/components/Panel.tsx +0 -631
  207. package/examples/pages/components/Popover.tsx +0 -90
  208. package/examples/pages/components/QuickNavigationBar.tsx +0 -278
  209. package/examples/pages/components/RadioGroup.tsx +0 -612
  210. package/examples/pages/components/ResizablePanels.tsx +0 -43
  211. package/examples/pages/components/SelectGrid.tsx +0 -162
  212. package/examples/pages/components/SelectWithTemplate.tsx +0 -144
  213. package/examples/pages/components/Selects.tsx +0 -175
  214. package/examples/pages/components/SimpleList.tsx +0 -198
  215. package/examples/pages/components/SubNav.tsx +0 -160
  216. package/examples/pages/components/Switch.tsx +0 -298
  217. package/examples/pages/components/TableList.tsx +0 -315
  218. package/examples/pages/components/Tabs.tsx +0 -276
  219. package/examples/pages/components/TagInputDocs.tsx +0 -130
  220. package/examples/pages/components/Tags.tsx +0 -154
  221. package/examples/pages/components/Text.tsx +0 -184
  222. package/examples/pages/components/TimePicker.tsx +0 -179
  223. package/examples/pages/components/Toasts.tsx +0 -283
  224. package/examples/pages/components/Togglebox.tsx +0 -307
  225. package/examples/pages/components/Tooltips.tsx +0 -74
  226. package/examples/pages/components/TreeMenu.tsx +0 -315
  227. package/examples/pages/components/TreeSelect.tsx +0 -625
  228. package/examples/pages/components/WithPaginationDocs.tsx +0 -56
  229. package/examples/pages/components/WithSizeObserver.tsx +0 -44
  230. package/examples/pages/components/tree-select/TreeSelect.tsx +0 -322
  231. package/examples/pages/components/tree-select/example-1.tsx +0 -67
  232. package/examples/pages/components/tree-select/example-2.tsx +0 -56
  233. package/examples/pages/components/utilities/BorderRadiusUtilities.tsx +0 -71
  234. package/examples/pages/components/utilities/BorderUtilities.tsx +0 -169
  235. package/examples/pages/components/utilities/DisplayUtilities.tsx +0 -115
  236. package/examples/pages/components/utilities/FlexAndGridUtilities.tsx +0 -551
  237. package/examples/pages/components/utilities/ObjectFitUtilities.tsx +0 -51
  238. package/examples/pages/components/utilities/ObjectPositionUtilities.tsx +0 -67
  239. package/examples/pages/components/utilities/OpacityUtilities.tsx +0 -61
  240. package/examples/pages/components/utilities/OverflowUtilities.tsx +0 -92
  241. package/examples/pages/components/utilities/PositionUtilities.tsx +0 -51
  242. package/examples/pages/components/utilities/ShadowUtilities.tsx +0 -122
  243. package/examples/pages/components/utilities/SpacingUtilities.tsx +0 -1079
  244. package/examples/pages/components/utilities/TextUtilities.tsx +0 -560
  245. package/examples/pages/components.html +0 -15
  246. package/examples/pages/components_deprecated/alerts.html +0 -113
  247. package/examples/pages/components_deprecated/badge.html +0 -79
  248. package/examples/pages/components_deprecated/basic-grid.html +0 -132
  249. package/examples/pages/components_deprecated/big-icons.html +0 -65
  250. package/examples/pages/components_deprecated/buttons.html +0 -631
  251. package/examples/pages/components_deprecated/carousel.html +0 -77
  252. package/examples/pages/components_deprecated/checkbox.html +0 -86
  253. package/examples/pages/components_deprecated/colors.html +0 -12
  254. package/examples/pages/components_deprecated/dropdown.html +0 -542
  255. package/examples/pages/components_deprecated/form-layout.html +0 -187
  256. package/examples/pages/components_deprecated/icon-labels.html +0 -34
  257. package/examples/pages/components_deprecated/icons.html +0 -194
  258. package/examples/pages/components_deprecated/input.html +0 -233
  259. package/examples/pages/components_deprecated/labels.html +0 -170
  260. package/examples/pages/components_deprecated/layout-grid.html +0 -227
  261. package/examples/pages/components_deprecated/left-nav.html +0 -83
  262. package/examples/pages/components_deprecated/list-item.html +0 -1342
  263. package/examples/pages/components_deprecated/loader.html +0 -64
  264. package/examples/pages/components_deprecated/modal-template.html +0 -13
  265. package/examples/pages/components_deprecated/modals.html +0 -561
  266. package/examples/pages/components_deprecated/other-elements.html +0 -54
  267. package/examples/pages/components_deprecated/panel-info.html +0 -34
  268. package/examples/pages/components_deprecated/radio.html +0 -64
  269. package/examples/pages/components_deprecated/select.html +0 -160
  270. package/examples/pages/components_deprecated/shadows.html +0 -24
  271. package/examples/pages/components_deprecated/sidebar-menu.html +0 -111
  272. package/examples/pages/components_deprecated/simple-list.html +0 -113
  273. package/examples/pages/components_deprecated/slider.html +0 -31
  274. package/examples/pages/components_deprecated/spacing.html +0 -117
  275. package/examples/pages/components_deprecated/switch.html +0 -31
  276. package/examples/pages/components_deprecated/tables.html +0 -58
  277. package/examples/pages/components_deprecated/tabs.html +0 -257
  278. package/examples/pages/components_deprecated/tag-input.html +0 -123
  279. package/examples/pages/components_deprecated/tag-labels.html +0 -57
  280. package/examples/pages/components_deprecated/text.html +0 -55
  281. package/examples/pages/components_deprecated/toggle.html +0 -63
  282. package/examples/pages/components_deprecated/tooltips.html +0 -29
  283. package/examples/pages/components_deprecated/vertical-tabs.html +0 -48
  284. package/examples/pages/components_deprecated/wizard.html +0 -41
  285. package/examples/pages/components_deprecated.html +0 -39
  286. package/examples/pages/design/application-structure.html +0 -168
  287. package/examples/pages/design/buttons.html +0 -34
  288. package/examples/pages/design/checkbox-and-radio.html +0 -64
  289. package/examples/pages/design/layout-principles.html +0 -45
  290. package/examples/pages/design/modules.html +0 -22
  291. package/examples/pages/design/pages.html +0 -22
  292. package/examples/pages/design/switch.html +0 -55
  293. package/examples/pages/design-patterns/Index.tsx +0 -42
  294. package/examples/pages/design-patterns/ThreePaneLayoutPattern.tsx +0 -378
  295. package/examples/pages/design-patterns.html +0 -14
  296. package/examples/pages/design.html +0 -39
  297. package/examples/pages/main.html +0 -76
  298. package/examples/pages/playgrounds/accessible-theme-test.html +0 -813
  299. package/examples/pages/playgrounds/boxed-list.html +0 -164
  300. package/examples/pages/playgrounds/cards.html +0 -244
  301. package/examples/pages/playgrounds/circular-progress.html +0 -48
  302. package/examples/pages/playgrounds/dummy-data/items.ts +0 -95
  303. package/examples/pages/playgrounds/editor-3-test.html +0 -15
  304. package/examples/pages/playgrounds/form-layout.html +0 -285
  305. package/examples/pages/playgrounds/layout-grid.html +0 -79
  306. package/examples/pages/playgrounds/layout-snippets/edit-article.html +0 -415
  307. package/examples/pages/playgrounds/layout-test-2.html +0 -795
  308. package/examples/pages/playgrounds/list-item-test.html +0 -896
  309. package/examples/pages/playgrounds/main.html +0 -16
  310. package/examples/pages/playgrounds/master-desk.html +0 -1678
  311. package/examples/pages/playgrounds/media-carousel.html +0 -1166
  312. package/examples/pages/playgrounds/nav-buttons.html +0 -65
  313. package/examples/pages/playgrounds/photo-desk.html +0 -1515
  314. package/examples/pages/playgrounds/photo-snippets/edit-photo-metadata.html +0 -208
  315. package/examples/pages/playgrounds/planning-snippets/edit-event.html +0 -187
  316. package/examples/pages/playgrounds/planning-snippets/edit-planning.html +0 -457
  317. package/examples/pages/playgrounds/planning.html +0 -1112
  318. package/examples/pages/playgrounds/publish-snippets/edit-article.html +0 -37
  319. package/examples/pages/playgrounds/publish.html +0 -1007
  320. package/examples/pages/playgrounds/publisher-content-analytics.html +0 -376
  321. package/examples/pages/playgrounds/publisher-content-list-automatic.html +0 -296
  322. package/examples/pages/playgrounds/publisher-content-list-manual.html +0 -611
  323. package/examples/pages/playgrounds/publisher-content-lists.html +0 -255
  324. package/examples/pages/playgrounds/publisher-dashboard.html +0 -323
  325. package/examples/pages/playgrounds/publisher-output-control.html +0 -3659
  326. package/examples/pages/playgrounds/publisher-website-settings-general.html +0 -188
  327. package/examples/pages/playgrounds/publisher-website-settings.html +0 -265
  328. package/examples/pages/playgrounds/react-playgrounds/CoreLayout.tsx +0 -952
  329. package/examples/pages/playgrounds/react-playgrounds/EditorTest.tsx +0 -649
  330. package/examples/pages/playgrounds/react-playgrounds/FirstPlayground.tsx +0 -236
  331. package/examples/pages/playgrounds/react-playgrounds/Index.tsx +0 -11
  332. package/examples/pages/playgrounds/react-playgrounds/Multiedit.tsx +0 -401
  333. package/examples/pages/playgrounds/react-playgrounds/PageLayoutTest.tsx +0 -210
  334. package/examples/pages/playgrounds/react-playgrounds/PersonalProfile.tsx +0 -835
  335. package/examples/pages/playgrounds/react-playgrounds/RundownEditor.tsx +0 -580
  336. package/examples/pages/playgrounds/react-playgrounds/Rundowns.tsx +0 -1415
  337. package/examples/pages/playgrounds/react-playgrounds/SamsPlayground.tsx +0 -401
  338. package/examples/pages/playgrounds/react-playgrounds/TestGround.tsx +0 -2710
  339. package/examples/pages/playgrounds/react-playgrounds/UiPlayground.tsx +0 -410
  340. package/examples/pages/playgrounds/react-playgrounds/components/AuthoringContainer.tsx +0 -25
  341. package/examples/pages/playgrounds/react-playgrounds/components/AuthoringContent.tsx +0 -86
  342. package/examples/pages/playgrounds/react-playgrounds/components/ContentSplitter.tsx +0 -19
  343. package/examples/pages/playgrounds/react-playgrounds/components/GraphicButton.tsx +0 -34
  344. package/examples/pages/playgrounds/react-playgrounds/components/GraphicButtonsGroup.tsx +0 -11
  345. package/examples/pages/playgrounds/react-playgrounds/components/HeaderPanel.tsx +0 -11
  346. package/examples/pages/playgrounds/react-playgrounds/components/Index.tsx +0 -20
  347. package/examples/pages/playgrounds/react-playgrounds/components/Layout.tsx +0 -27
  348. package/examples/pages/playgrounds/react-playgrounds/components/LayoutContainer.tsx +0 -15
  349. package/examples/pages/playgrounds/react-playgrounds/components/LeftPanel.tsx +0 -15
  350. package/examples/pages/playgrounds/react-playgrounds/components/MainPanel.tsx +0 -24
  351. package/examples/pages/playgrounds/react-playgrounds/components/OverlayPanel.tsx +0 -17
  352. package/examples/pages/playgrounds/react-playgrounds/components/Panel.tsx +0 -23
  353. package/examples/pages/playgrounds/react-playgrounds/components/PanelContent.tsx +0 -11
  354. package/examples/pages/playgrounds/react-playgrounds/components/PanelContentBlock.tsx +0 -19
  355. package/examples/pages/playgrounds/react-playgrounds/components/PanelFooter.tsx +0 -17
  356. package/examples/pages/playgrounds/react-playgrounds/components/PanelHeader.tsx +0 -31
  357. package/examples/pages/playgrounds/react-playgrounds/components/RightPanel.tsx +0 -16
  358. package/examples/pages/playgrounds/react-playgrounds/components/SearchBar.tsx +0 -87
  359. package/examples/pages/playgrounds/react-playgrounds/components/SidebarMenu.tsx +0 -76
  360. package/examples/pages/playgrounds/react-playgrounds/components/SubNav.tsx +0 -17
  361. package/examples/pages/playgrounds/react-playgrounds/components/ThemeDropdown.tsx +0 -57
  362. package/examples/pages/playgrounds/react-playgrounds/tsconfig.json +0 -4
  363. package/examples/pages/playgrounds/settings.html +0 -92
  364. package/examples/pages/playgrounds/side-navigation.html +0 -201
  365. package/examples/pages/playgrounds/swimlane-view.html +0 -1975
  366. package/examples/pages/playgrounds/tags-input.html +0 -55
  367. package/examples/pages/playgrounds/toasts.html +0 -113
  368. package/examples/pages/playgrounds/video-editor.html +0 -706
  369. package/examples/pages/playgrounds.html +0 -40
@@ -1,565 +0,0 @@
1
- import * as React from 'react';
2
- import * as Markup from '../../js/react';
3
- import {Button, Prop, PropsList} from '../../../app-typescript';
4
- import * as Components from '../playgrounds/react-playgrounds/components/Index';
5
-
6
- export default class ButtonsDoc extends React.Component {
7
- render() {
8
- return (
9
- <section className="docs-page__container">
10
- <h2 className="docs-page__h2">Buttons</h2>
11
- <Markup.ReactMarkupCodePreview>
12
- {`
13
- <Button text="button default" onClick={()=> false} />
14
- `}
15
- </Markup.ReactMarkupCodePreview>
16
- <h3 className="docs-page__h3 docs-page__h3--small-top-m">Coloring</h3>
17
- <p className="docs-page__paragraph">
18
- For Superdesk only <em>Default</em> and <em>Primary</em> buttons should be used in most cases. Other
19
- semantic colour options are allowed but should be used only in cases where a clear distinction
20
- between similarly important actions is needed (e.g. <em>Send To</em> versus <em>Publish</em>{' '}
21
- action).
22
- </p>
23
- <Markup.ReactMarkup>
24
- <Markup.ReactMarkupPreview>
25
- <div className="docs-page__content-row">
26
- <Button text="default" onClick={() => false} tooltip="test tooltip" />
27
- <Button text="primary" type="primary" onClick={() => false} />
28
- </div>
29
- <p className="docs-page__paragraph">// Other colour options</p>
30
- <div className="docs-page__content-row docs-page__content-row--no-margin">
31
- <Button text="success" type="success" onClick={() => false} />
32
- <Button text="warning" type="warning" onClick={() => false} />
33
- <Button text="alert" type="alert" onClick={() => false} />
34
- <Button text="highlight" type="highlight" onClick={() => false} />
35
- <Button text="sd-green" type="sd-green" onClick={() => false} />
36
- </div>
37
- </Markup.ReactMarkupPreview>
38
- <Markup.ReactMarkupCode>{`
39
- <Button text="default" onClick={()=> false} />
40
- <Button text="primary" type="primary" onClick={()=> false} />
41
- // Other colour options
42
- <Button text="success" type="success" onClick={()=> false} />
43
- <Button text="warning" type="warning" onClick={()=> false} />
44
- <Button text="alert" type="alert" onClick={()=> false} />
45
- <Button text="highlight" type="highlight" onClick={()=> false} />
46
- <Button text="sd-green" type="sd-green" onClick={()=> false} />
47
- `}</Markup.ReactMarkupCode>
48
- </Markup.ReactMarkup>
49
-
50
- <Components.GraphicButtonsGroup>
51
- <Components.GraphicButton
52
- graphic="design"
53
- text="View design guidelines"
54
- smallText="Design guidelines"
55
- link="#/design/buttons"
56
- />
57
- </Components.GraphicButtonsGroup>
58
-
59
- <h3 className="docs-page__h3">Hollow style</h3>
60
- <p className="docs-page__paragraph">
61
- Define prop <code>style="hollow"</code> to create a hollow buttons.
62
- </p>
63
- <Markup.ReactMarkup>
64
- <Markup.ReactMarkupPreview>
65
- <div className="docs-page__content-row">
66
- <Button text="default" style="hollow" onClick={() => false} />
67
- <Button text="primary" type="primary" style="hollow" onClick={() => false} />
68
- </div>
69
- <p className="docs-page__paragraph">// Other colour options</p>
70
- <div className="docs-page__content-row docs-page__content-row--no-margin">
71
- <Button text="success" type="success" style="hollow" onClick={() => false} />
72
- <Button text="warning" type="warning" style="hollow" onClick={() => false} />
73
- <Button text="alert" type="alert" style="hollow" onClick={() => false} />
74
- <Button text="highlight" type="highlight" style="hollow" onClick={() => false} />
75
- <Button text="sd-green" type="sd-green" style="hollow" onClick={() => false} />
76
- </div>
77
- </Markup.ReactMarkupPreview>
78
- <Markup.ReactMarkupCode>{`
79
- <Button text="default" style="hollow" onClick={()=> false} />
80
- <Button text="primary" type="primary" style="hollow" onClick={()=> false} />
81
- // Other colour options
82
- <Button text="success" type="success" style="hollow" onClick={()=> false} />
83
- <Button text="warning" type="warning" style="hollow" onClick={()=> false} />
84
- <Button text="alert" type="alert" style="hollow" onClick={()=> false} />
85
- <Button text="highlight" type="highlight" style="hollow" onClick={()=> false} />
86
- <Button text="sd-green" type="sd-green" style="hollow" onClick={()=> false} />
87
- `}</Markup.ReactMarkupCode>
88
- </Markup.ReactMarkup>
89
-
90
- <h3 className="docs-page__h3">Text only (without background)</h3>
91
- <p className="docs-page__paragraph">
92
- Define prop <code>style="text-only"</code> for buttons without a background.
93
- </p>
94
- <Markup.ReactMarkup>
95
- <Markup.ReactMarkupPreview>
96
- <div className="docs-page__content-row docs-page__content-row--no-margin">
97
- <Button text="default" style="text-only" onClick={() => false} />
98
- <Button text="primary" type="primary" style="text-only" onClick={() => false} />
99
- <Button text="success" type="success" style="text-only" onClick={() => false} />
100
- <Button text="warning" type="warning" style="text-only" onClick={() => false} />
101
- <Button text="alert" type="alert" style="text-only" onClick={() => false} />
102
- <Button text="highlight" type="highlight" style="text-only" onClick={() => false} />
103
- <Button text="sd-green" type="sd-green" style="text-only" onClick={() => false} />
104
- </div>
105
- </Markup.ReactMarkupPreview>
106
- <Markup.ReactMarkupCode>{`
107
- <Button text="default" style="text-only" onClick={()=> false} />
108
- <Button text="primary" type="primary" style="text-only" onClick={()=> false} />
109
- <Button text="success" type="success" style="text-only" onClick={()=> false} />
110
- <Button text="warning" type="warning" style="text-only" onClick={()=> false} />
111
- <Button text="alert" type="alert" style="text-only" onClick={()=> false} />
112
- <Button text="highlight" type="highlight" style="text-only" onClick={()=> false} />
113
- <Button text="sd-green" type="sd-green" style="text-only" onClick={()=> false} />
114
- `}</Markup.ReactMarkupCode>
115
- </Markup.ReactMarkup>
116
-
117
- <h3 className="docs-page__h3">Sizing</h3>
118
- <p className="docs-page__paragraph">
119
- For the default button, no size has to be specified. To change the default size set the{' '}
120
- <code>size</code> value either to <code>small</code> or <code>large</code>. For the button to take
121
- the full width of the container add <code>expand={'{true}'}</code>.
122
- </p>
123
- <Markup.ReactMarkup>
124
- <Markup.ReactMarkupPreview>
125
- <div className="docs-page__content-row">
126
- <Button text="button large" size="large" onClick={() => false} />
127
- <Button text="button default" onClick={() => false} />
128
- <Button text="button small" size="small" onClick={() => false} />
129
- </div>
130
- <div className="docs-page__content-row">
131
- <Button text="large expanded button" expand={true} size="large" onClick={() => false} />
132
- </div>
133
- <div className="docs-page__content-row">
134
- <Button text="default expanded button" expand={true} onClick={() => false} />
135
- </div>
136
- <div className="docs-page__content-row">
137
- <Button text="small expanded button" expand={true} size="small" onClick={() => false} />
138
- </div>
139
- </Markup.ReactMarkupPreview>
140
- <Markup.ReactMarkupCode>{`
141
- <Button text="button large" size="large" onClick={()=> false} />
142
- <Button text="button default" onClick={()=> false} />
143
- <Button text="button small" size="small" onClick={()=> false} />
144
-
145
- <Button text="large expanded button" expand={true} size="large" onClick={()=> false} />
146
- <Button text="default expanded button" expand={true} onClick={()=> false} />
147
- <Button text="small expanded button" expand={true} size="small" onClick={()=> false} />
148
- `}</Markup.ReactMarkupCode>
149
- </Markup.ReactMarkup>
150
-
151
- <h3 className="docs-page__h3">States</h3>
152
- <p className="docs-page__paragraph">
153
- Disabled state:<code>disabled={'{true}'}</code>; Loading state:<code>isLoading={'{true}'}</code>
154
- ;{' '}
155
- </p>
156
- <Markup.ReactMarkup>
157
- <Markup.ReactMarkupPreview>
158
- <p className="docs-page__paragraph">// Disabled</p>
159
- <div className="docs-page__content-row">
160
- <Button text="default" disabled={true} onClick={() => false} />
161
- <Button text="primary" type="primary" disabled={true} onClick={() => false} />
162
- <Button text="default" style="hollow" disabled={true} onClick={() => false} />
163
- <Button
164
- text="primary"
165
- type="primary"
166
- disabled={true}
167
- style="hollow"
168
- onClick={() => false}
169
- />
170
- </div>
171
- <p className="docs-page__paragraph">// Loading</p>
172
- <div className="docs-page__content-row">
173
- <Button text="default" isLoading={true} onClick={() => false} />
174
- <Button text="primary" type="primary" isLoading={true} onClick={() => false} />
175
- <Button text="default" style="hollow" isLoading={true} onClick={() => false} />
176
- <Button
177
- text="primary"
178
- type="primary"
179
- isLoading={true}
180
- style="hollow"
181
- onClick={() => false}
182
- />
183
- </div>
184
- </Markup.ReactMarkupPreview>
185
- <Markup.ReactMarkupCode>{`
186
- // Disabled
187
- <Button text="default" disabled={true} onClick={()=> false} />
188
- <Button text="primary" type="primary" disabled={true} onClick={()=> false} />
189
- <Button text="default" style="hollow" disabled={true} onClick={()=> false} />
190
- <Button text="primary" type="primary" disabled={true} style="hollow" onClick={()=> false} />
191
-
192
- // Loading
193
- <Button text="default" isLoading={true} onClick={()=> false} />
194
- <Button text="primary" type="primary" isLoading={true} onClick={()=> false} />
195
- <Button text="default" style="hollow" isLoading={true} onClick={()=> false} />
196
- <Button text="primary" type="primary" isLoading={true} style="hollow" onClick={()=> false} />
197
- `}</Markup.ReactMarkupCode>
198
- </Markup.ReactMarkup>
199
-
200
- <h3 className="docs-page__h3">Buttons with icon and text</h3>
201
- <p className="docs-page__paragraph">
202
- Buttons can be combined with icons from the icon font. Just add any of the available classes from
203
- the Icon font as a value of the <code>icon</code> prop.
204
- </p>
205
- <Markup.ReactMarkup>
206
- <Markup.ReactMarkupPreview>
207
- <p className="docs-page__paragraph">// Default size</p>
208
- <div className="docs-page__content-row">
209
- <Button text="default" icon="info-sign" onClick={() => false} />
210
- <Button text="primary" type="primary" icon="plus-sign" onClick={() => false} />
211
- <Button text="success" type="success" icon="ok" onClick={() => false} />
212
- <Button text="warning" type="warning" icon="exclamation-sign" onClick={() => false} />
213
- <Button text="alert" type="alert" icon="warning-sign" onClick={() => false} />
214
- <br />
215
- <Button text="default" icon="info-sign" style="hollow" onClick={() => false} />
216
- <Button
217
- text="primary"
218
- type="primary"
219
- icon="plus-sign"
220
- style="hollow"
221
- onClick={() => false}
222
- />
223
- <Button text="success" type="success" icon="ok" style="hollow" onClick={() => false} />
224
- <Button
225
- text="warning"
226
- type="warning"
227
- icon="exclamation-sign"
228
- style="hollow"
229
- onClick={() => false}
230
- />
231
- <Button
232
- text="alert"
233
- type="alert"
234
- icon="warning-sign"
235
- style="hollow"
236
- onClick={() => false}
237
- />
238
- </div>
239
- <p className="docs-page__paragraph">// Large and small options</p>
240
- <div className="docs-page__content-row">
241
- <Button text="default large" icon="info-sign" size="large" onClick={() => false} />
242
- <Button
243
- text="primary large"
244
- type="primary"
245
- icon="plus-sign"
246
- size="large"
247
- onClick={() => false}
248
- />
249
- <Button text="default small" icon="info-sign" size="small" onClick={() => false} />
250
- <Button
251
- text="primary small"
252
- type="primary"
253
- icon="plus-sign"
254
- size="small"
255
- onClick={() => false}
256
- />
257
- </div>
258
- </Markup.ReactMarkupPreview>
259
- <Markup.ReactMarkupCode>{`
260
- // Default size
261
- <Button text="default" icon="info-sign" onClick={()=> false} />
262
- <Button text="primary" type="primary" icon="plus-sign" onClick={()=> false} />
263
- <Button text="success" type="success" icon="ok" onClick={()=> false} />
264
- <Button text="warning" type="warning" icon="exclamation-sign" onClick={()=> false} />
265
- <Button text="alert" type="alert" icon="warning-sign" onClick={()=> false} />
266
-
267
- <Button text="default" icon="info-sign" style="hollow" onClick={()=> false} />
268
- <Button text="primary" type="primary" icon="plus-sign" style="hollow" onClick={()=> false} />
269
- <Button text="success" type="success" icon="ok" style="hollow" onClick={()=> false} />
270
- <Button text="warning" type="warning" icon="exclamation-sign" style="hollow" onClick={()=> false} />
271
- <Button text="alert" type="alert" icon="warning-sign" style="hollow" onClick={()=> false} />
272
-
273
- // Large and small options
274
- <Button text="default large" icon="info-sign" size="large" onClick={()=> false} />
275
- <Button text="primary large" type="primary" icon="plus-sign" size="large" onClick={()=> false} />
276
- <Button text="default small" icon="info-sign" size="small" onClick={()=> false} />
277
- <Button text="primary small" type="primary" icon="plus-sign" size="small" onClick={()=> false} />
278
- `}</Markup.ReactMarkupCode>
279
- </Markup.ReactMarkup>
280
-
281
- <h3 className="docs-page__h3">Buttons with icon font only</h3>
282
- <p className="docs-page__paragraph">
283
- Buttons can also contain only an icon, without any visible text. To achieve this specify the{' '}
284
- <code>icon</code> value and set <code>iconOnly={true}</code>. The specified text value will be used
285
- for the <code>aria-label</code>.
286
- </p>
287
- <Markup.ReactMarkup>
288
- <Markup.ReactMarkupPreview>
289
- <p className="docs-page__paragraph">// Large default and small</p>
290
- <div className="docs-page__content-row">
291
- <Button
292
- type="warning"
293
- icon="exclamation-sign"
294
- text="exclamation-sign"
295
- size="large"
296
- iconOnly={true}
297
- onClick={() => false}
298
- />
299
- <Button
300
- type="primary"
301
- icon="plus-sign"
302
- text="plus-sign"
303
- style="hollow"
304
- size="large"
305
- iconOnly={true}
306
- onClick={() => false}
307
- />
308
- <Button
309
- type="highlight"
310
- icon="bell"
311
- text="bell"
312
- size="large"
313
- iconOnly={true}
314
- onClick={() => false}
315
- />
316
- <Button icon="info-sign" text="info-sign" iconOnly={true} onClick={() => false} />
317
- <Button
318
- type="primary"
319
- icon="plus-sign"
320
- text="plus-sign"
321
- iconOnly={true}
322
- onClick={() => false}
323
- />
324
- <Button type="success" icon="ok" text="ok" iconOnly={true} onClick={() => false} />
325
- <Button
326
- type="alert"
327
- style="hollow"
328
- icon="kill"
329
- text="kill"
330
- size="small"
331
- iconOnly={true}
332
- onClick={() => false}
333
- />
334
- <Button
335
- icon="calendar"
336
- size="small"
337
- text="calendar"
338
- iconOnly={true}
339
- onClick={() => false}
340
- />
341
- <Button
342
- type="primary"
343
- style="hollow"
344
- icon="refresh"
345
- text="refresh"
346
- size="small"
347
- iconOnly={true}
348
- onClick={() => false}
349
- />
350
- </div>
351
-
352
- <p className="docs-page__paragraph">// Circle (large, default and small)</p>
353
- <div className="docs-page__content-row">
354
- <Button
355
- type="warning"
356
- icon="exclamation-sign"
357
- text="exclamation-sign"
358
- size="large"
359
- shape="round"
360
- iconOnly={true}
361
- onClick={() => false}
362
- />
363
- <Button
364
- type="primary"
365
- icon="plus-large"
366
- text="plus-large"
367
- style="hollow"
368
- size="large"
369
- shape="round"
370
- iconOnly={true}
371
- onClick={() => false}
372
- />
373
- <Button
374
- icon="chevron-up-thin"
375
- text="Pull up"
376
- style="hollow"
377
- shape="round"
378
- size="large"
379
- iconOnly={true}
380
- onClick={() => false}
381
- />
382
- <Button
383
- type="highlight"
384
- icon="bell"
385
- text="bell"
386
- size="large"
387
- shape="round"
388
- iconOnly={true}
389
- onClick={() => false}
390
- />
391
- <Button
392
- size="normal"
393
- icon="info-sign"
394
- text="info-sign"
395
- shape="round"
396
- iconOnly={true}
397
- onClick={() => false}
398
- />
399
- <Button
400
- type="primary"
401
- icon="plus-large"
402
- text="plus-large"
403
- shape="round"
404
- iconOnly={true}
405
- onClick={() => false}
406
- />
407
- <Button
408
- type="success"
409
- icon="ok"
410
- text="ok"
411
- shape="round"
412
- iconOnly={true}
413
- onClick={() => false}
414
- />
415
- <Button
416
- type="alert"
417
- icon="close-small"
418
- text="close-small"
419
- size="small"
420
- shape="round"
421
- iconOnly={true}
422
- onClick={() => false}
423
- />
424
- <Button
425
- type="primary"
426
- icon="plus-large"
427
- text="Add New"
428
- size="small"
429
- shape="round"
430
- iconOnly={true}
431
- onClick={() => false}
432
- />
433
- <Button
434
- icon="chevron-up-thin"
435
- text="Pull up"
436
- size="small"
437
- shape="round"
438
- iconOnly={true}
439
- onClick={() => false}
440
- />
441
- <Button
442
- type="sd-green"
443
- icon="star"
444
- text="star"
445
- size="small"
446
- shape="round"
447
- iconOnly={true}
448
- onClick={() => false}
449
- />
450
- </div>
451
- </Markup.ReactMarkupPreview>
452
- <Markup.ReactMarkupCode>{`
453
- // Large default and small
454
- <Button type="primary" icon="plus-sign" text="plus-sign" style="hollow" size="large" iconOnly={true} onClick={()=> false} />
455
- <Button type="highlight" icon="bell" text="bell" size="large" iconOnly={true} onClick={()=> false} />
456
- <Button icon="info-sign" text="info-sign" iconOnly={true} onClick={()=> false} />
457
- <Button type="primary" icon="plus-sign" text="plus-sign" iconOnly={true} onClick={()=> false} />
458
- <Button type="success" icon="ok" text="ok" iconOnly={true} onClick={()=> false} />
459
- <Button type="alert" style="hollow" icon="kill" text="kill" size="small" iconOnly={true} onClick={()=> false} />
460
- <Button icon="calendar" size="small" text="calendar" iconOnly={true} onClick={()=> false} />
461
- <Button type="primary" style="hollow" icon="refresh" text="refresh" size="small" iconOnly={true} onClick={()=> false} />
462
-
463
- // // Circle (large, default and small)
464
- <Button type="primary" icon="plus-large" text="plus-large" style="hollow" size="large" shape="round" iconOnly={true} onClick={()=> false} />
465
- <Button type="highlight" icon="bell" text="bell" size="large" shape="round" iconOnly={true} onClick={()=> false} />
466
- <Button size="normal" icon="info-sign" text="info-sign" shape="round" iconOnly={true} onClick={()=> false} />
467
- <Button type="primary" icon="plus-large" text="plus-large" shape="round" iconOnly={true} onClick={()=> false} />
468
- <Button type="success" icon="ok" text="ok" shape="round" iconOnly={true} onClick={()=> false} />
469
- <Button type="alert" icon="close-small" text="close-small" size="small" shape="round" iconOnly={true} onClick={()=> false} />
470
- <Button type="primary" icon="plus-large" text="plus-large" size="small" shape="round" iconOnly={true} onClick={()=> false} />
471
- <Button type="sd-green" icon="star" text="star" size="small" shape="round" iconOnly={true} onClick={()=> false} />
472
- `}</Markup.ReactMarkupCode>
473
- </Markup.ReactMarkup>
474
-
475
- <h3 className="docs-page__h3">Props</h3>
476
- <PropsList>
477
- <Prop
478
- name="text"
479
- isRequired={true}
480
- type="string"
481
- default="/"
482
- description="Text value of the Button. In the case of iconOnly buttons the value will be set to the aria-label."
483
- />
484
- <Prop
485
- name="iconOnly"
486
- isRequired={false}
487
- type="boolean"
488
- default="false"
489
- description="This prop is used for Buttons with icons only. It set to true, it will visually hide the text and use the value for the aria-label."
490
- />
491
- <Prop
492
- name="expand"
493
- isRequired={false}
494
- type="boolean"
495
- default="false"
496
- description="Spans the full width of the Button parent."
497
- />
498
- <Prop
499
- name="style"
500
- isRequired={false}
501
- type="filled | hollow | text-only"
502
- default="filled"
503
- description="Buttons may be one of styles such as hollow buttons, buttons without background (text-only) or filled (default)."
504
- />
505
- <Prop
506
- name="shape"
507
- isRequired={false}
508
- type="square | round"
509
- default="square"
510
- description="Make shape of button round or default square."
511
- />
512
- <Prop
513
- name="type"
514
- isRequired={false}
515
- type="default | primary | success | warning | alert | highlight | sd-green"
516
- default="default"
517
- description="Default + semantic colour variations (e.g. primary, success etc.)."
518
- />
519
- <Prop
520
- name="theme"
521
- isRequired={false}
522
- type="light | dark"
523
- default="light"
524
- description="Styles button for diffrent background."
525
- />
526
- <Prop
527
- name="size"
528
- isRequired={false}
529
- type="small | normal | large"
530
- default="normal"
531
- description="Specifies a small, normal or large button."
532
- />
533
- <Prop
534
- name="icon"
535
- isRequired={false}
536
- type="string"
537
- default="/"
538
- description="Icon class name without the icon- part."
539
- />
540
- <Prop
541
- name="disabled"
542
- isRequired={false}
543
- type="boolean"
544
- default="false"
545
- description="Disables the Button, preventing mouse events."
546
- />
547
- <Prop
548
- name="isLoading"
549
- isRequired={false}
550
- type="boolean"
551
- default="false"
552
- description="Adds a loading indicator and disables the button if set to true."
553
- />
554
- <Prop
555
- name="onClick"
556
- isRequired={true}
557
- type="function"
558
- default="false"
559
- description="Callback fired when a button is pressed."
560
- />
561
- </PropsList>
562
- </section>
563
- );
564
- }
565
- }
@@ -1,23 +0,0 @@
1
- import * as React from 'react';
2
- import * as Markup from '../../js/react';
3
- import {Card} from '../../../app-typescript/components/Card';
4
-
5
- export default class CardDoc extends React.Component {
6
- render() {
7
- return (
8
- <section className="docs-page__container">
9
- <h2 className="docs-page__h2">Card</h2>
10
-
11
- <Markup.ReactMarkupCodePreview>
12
- {`
13
- <Card paddingBase="1">
14
- card content
15
- </Card>
16
- `}
17
- </Markup.ReactMarkupCodePreview>
18
-
19
- <Card paddingBase="1">card content</Card>
20
- </section>
21
- );
22
- }
23
- }