superdesk-ui-framework 4.0.52 → 4.0.54

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 (373) hide show
  1. package/app-typescript/components/DateTimePicker.tsx +11 -1
  2. package/dist/examples.bundle.js +14 -2
  3. package/dist/superdesk-ui.bundle.js +13 -1
  4. package/package.json +1 -1
  5. package/react/components/DateTimePicker.d.ts +1 -0
  6. package/react/components/DateTimePicker.js +13 -1
  7. package/dist/playgrounds/accessible-theme-test.html +0 -813
  8. package/dist/playgrounds/boxed-list.html +0 -164
  9. package/dist/playgrounds/cards.html +0 -244
  10. package/dist/playgrounds/circular-progress.html +0 -48
  11. package/dist/playgrounds/dummy-data/items.ts +0 -95
  12. package/dist/playgrounds/editor-3-test.html +0 -15
  13. package/dist/playgrounds/form-layout.html +0 -285
  14. package/dist/playgrounds/layout-grid.html +0 -79
  15. package/dist/playgrounds/layout-snippets/edit-article.html +0 -415
  16. package/dist/playgrounds/layout-test-2.html +0 -795
  17. package/dist/playgrounds/list-item-test.html +0 -896
  18. package/dist/playgrounds/main.html +0 -16
  19. package/dist/playgrounds/master-desk.html +0 -1678
  20. package/dist/playgrounds/media-carousel.html +0 -1166
  21. package/dist/playgrounds/nav-buttons.html +0 -65
  22. package/dist/playgrounds/photo-desk.html +0 -1515
  23. package/dist/playgrounds/photo-snippets/edit-photo-metadata.html +0 -208
  24. package/dist/playgrounds/planning-snippets/edit-event.html +0 -187
  25. package/dist/playgrounds/planning-snippets/edit-planning.html +0 -457
  26. package/dist/playgrounds/planning.html +0 -1112
  27. package/dist/playgrounds/publish-snippets/edit-article.html +0 -37
  28. package/dist/playgrounds/publish.html +0 -1007
  29. package/dist/playgrounds/publisher-content-analytics.html +0 -376
  30. package/dist/playgrounds/publisher-content-list-automatic.html +0 -296
  31. package/dist/playgrounds/publisher-content-list-manual.html +0 -611
  32. package/dist/playgrounds/publisher-content-lists.html +0 -255
  33. package/dist/playgrounds/publisher-dashboard.html +0 -323
  34. package/dist/playgrounds/publisher-output-control.html +0 -3659
  35. package/dist/playgrounds/publisher-website-settings-general.html +0 -188
  36. package/dist/playgrounds/publisher-website-settings.html +0 -265
  37. package/dist/playgrounds/react-playgrounds/CoreLayout.tsx +0 -952
  38. package/dist/playgrounds/react-playgrounds/EditorTest.tsx +0 -649
  39. package/dist/playgrounds/react-playgrounds/FirstPlayground.tsx +0 -236
  40. package/dist/playgrounds/react-playgrounds/Index.tsx +0 -11
  41. package/dist/playgrounds/react-playgrounds/Multiedit.tsx +0 -401
  42. package/dist/playgrounds/react-playgrounds/PageLayoutTest.tsx +0 -210
  43. package/dist/playgrounds/react-playgrounds/PersonalProfile.tsx +0 -835
  44. package/dist/playgrounds/react-playgrounds/RundownEditor.tsx +0 -580
  45. package/dist/playgrounds/react-playgrounds/Rundowns.tsx +0 -1415
  46. package/dist/playgrounds/react-playgrounds/SamsPlayground.tsx +0 -401
  47. package/dist/playgrounds/react-playgrounds/TestGround.tsx +0 -2710
  48. package/dist/playgrounds/react-playgrounds/UiPlayground.tsx +0 -410
  49. package/dist/playgrounds/react-playgrounds/components/AuthoringContainer.tsx +0 -25
  50. package/dist/playgrounds/react-playgrounds/components/AuthoringContent.tsx +0 -86
  51. package/dist/playgrounds/react-playgrounds/components/ContentSplitter.tsx +0 -19
  52. package/dist/playgrounds/react-playgrounds/components/GraphicButton.tsx +0 -34
  53. package/dist/playgrounds/react-playgrounds/components/GraphicButtonsGroup.tsx +0 -11
  54. package/dist/playgrounds/react-playgrounds/components/HeaderPanel.tsx +0 -11
  55. package/dist/playgrounds/react-playgrounds/components/Index.tsx +0 -20
  56. package/dist/playgrounds/react-playgrounds/components/Layout.tsx +0 -27
  57. package/dist/playgrounds/react-playgrounds/components/LayoutContainer.tsx +0 -15
  58. package/dist/playgrounds/react-playgrounds/components/LeftPanel.tsx +0 -15
  59. package/dist/playgrounds/react-playgrounds/components/MainPanel.tsx +0 -24
  60. package/dist/playgrounds/react-playgrounds/components/OverlayPanel.tsx +0 -17
  61. package/dist/playgrounds/react-playgrounds/components/Panel.tsx +0 -23
  62. package/dist/playgrounds/react-playgrounds/components/PanelContent.tsx +0 -11
  63. package/dist/playgrounds/react-playgrounds/components/PanelContentBlock.tsx +0 -19
  64. package/dist/playgrounds/react-playgrounds/components/PanelFooter.tsx +0 -17
  65. package/dist/playgrounds/react-playgrounds/components/PanelHeader.tsx +0 -31
  66. package/dist/playgrounds/react-playgrounds/components/RightPanel.tsx +0 -16
  67. package/dist/playgrounds/react-playgrounds/components/SearchBar.tsx +0 -87
  68. package/dist/playgrounds/react-playgrounds/components/SidebarMenu.tsx +0 -76
  69. package/dist/playgrounds/react-playgrounds/components/SubNav.tsx +0 -17
  70. package/dist/playgrounds/react-playgrounds/components/ThemeDropdown.tsx +0 -57
  71. package/dist/playgrounds/react-playgrounds/tsconfig.json +0 -4
  72. package/dist/playgrounds/settings.html +0 -92
  73. package/dist/playgrounds/side-navigation.html +0 -201
  74. package/dist/playgrounds/swimlane-view.html +0 -1975
  75. package/dist/playgrounds/tags-input.html +0 -55
  76. package/dist/playgrounds/toasts.html +0 -113
  77. package/dist/playgrounds/video-editor.html +0 -706
  78. package/examples/css/docs-page.css +0 -1135
  79. package/examples/css/reset.css +0 -124
  80. package/examples/css/vendor.css +0 -175
  81. package/examples/illustration-small--components.svg +0 -45
  82. package/examples/img/andrew-power-y9L5-wmifaY-unsplash.jpg +0 -0
  83. package/examples/img/andrew-power-y9L5-wmifaY-unsplash.license.txt +0 -6
  84. package/examples/img/avatar-2.jpg +0 -0
  85. package/examples/img/avatar-3.jpg +0 -0
  86. package/examples/img/avatar-4.jpg +0 -0
  87. package/examples/img/avatar-5.jpg +0 -0
  88. package/examples/img/avatar-6.jpg +0 -0
  89. package/examples/img/avatar.jpg +0 -0
  90. package/examples/img/bill.jpg +0 -0
  91. package/examples/img/bush_1.jpg +0 -0
  92. package/examples/img/bush_2.jpg +0 -0
  93. package/examples/img/carousel-thumb--01.jpg +0 -0
  94. package/examples/img/carousel-thumb--02.jpg +0 -0
  95. package/examples/img/carousel-thumb--03.jpg +0 -0
  96. package/examples/img/carousel-thumb--04.jpg +0 -0
  97. package/examples/img/components_ilustration.svg +0 -1
  98. package/examples/img/d_trump.jpg +0 -0
  99. package/examples/img/d_trump_2.jpg +0 -0
  100. package/examples/img/d_trump_large.jpg +0 -0
  101. package/examples/img/design_ilustration.svg +0 -1
  102. package/examples/img/ferocious_beast.webm +0 -0
  103. package/examples/img/guidelines/application-frame.png +0 -0
  104. package/examples/img/guidelines/application-frame__bottom-bar.png +0 -0
  105. package/examples/img/guidelines/application-frame__left-panel.gif +0 -0
  106. package/examples/img/guidelines/application-frame__left-panel.png +0 -0
  107. package/examples/img/guidelines/application-frame__main-content.gif +0 -0
  108. package/examples/img/guidelines/application-frame__main-content.png +0 -0
  109. package/examples/img/guidelines/application-frame__right-panel.gif +0 -0
  110. package/examples/img/guidelines/application-frame__right-panel.png +0 -0
  111. package/examples/img/guidelines/application-frame__side-tabs.png +0 -0
  112. package/examples/img/guidelines/application-frame__sub-nav.png +0 -0
  113. package/examples/img/guidelines/application-frame__top-bar.png +0 -0
  114. package/examples/img/guidelines/buttons--00-01.png +0 -0
  115. package/examples/img/guidelines/buttons--00-02.png +0 -0
  116. package/examples/img/guidelines/buttons--DO-02.png +0 -0
  117. package/examples/img/guidelines/buttons--DONT-01.png +0 -0
  118. package/examples/img/guidelines/checkbox--DO-01.png +0 -0
  119. package/examples/img/guidelines/checkbox--DO-02.png +0 -0
  120. package/examples/img/guidelines/checkbox--DONT-01.png +0 -0
  121. package/examples/img/guidelines/checkbox--DONT-02.png +0 -0
  122. package/examples/img/guidelines/example__bottom-bar--01.png +0 -0
  123. package/examples/img/guidelines/example__left-side_panel--01.png +0 -0
  124. package/examples/img/guidelines/example__left_side-bar--01.png +0 -0
  125. package/examples/img/guidelines/example__main-content--01.png +0 -0
  126. package/examples/img/guidelines/example__right_side-panel--01.png +0 -0
  127. package/examples/img/guidelines/example__right_side-panel--02.png +0 -0
  128. package/examples/img/guidelines/example__right_side-panel--03.png +0 -0
  129. package/examples/img/guidelines/example__sub-nav--01.png +0 -0
  130. package/examples/img/guidelines/example__sub-nav--02.png +0 -0
  131. package/examples/img/guidelines/example__sub-nav--03.png +0 -0
  132. package/examples/img/guidelines/example__top-bar--01.png +0 -0
  133. package/examples/img/guidelines/layout--grid-01.png +0 -0
  134. package/examples/img/guidelines/layout--size-example-01.png +0 -0
  135. package/examples/img/guidelines/radio--DO-01.png +0 -0
  136. package/examples/img/guidelines/radio--DONT-01.png +0 -0
  137. package/examples/img/guidelines/radio--DONT-02.png +0 -0
  138. package/examples/img/guidelines/radio--DONT-03.png +0 -0
  139. package/examples/img/guidelines/switch--DO-01.png +0 -0
  140. package/examples/img/guidelines/switch--DO-02.png +0 -0
  141. package/examples/img/guidelines/switch--DONT-01.png +0 -0
  142. package/examples/img/guidelines/switch--DONT-02.png +0 -0
  143. package/examples/img/hillary.jpg +0 -0
  144. package/examples/img/illustration--components.svg +0 -1
  145. package/examples/img/illustration--design.svg +0 -1
  146. package/examples/img/illustration--playground.svg +0 -1
  147. package/examples/img/illustration--react.svg +0 -1
  148. package/examples/img/illustration-small--components.svg +0 -45
  149. package/examples/img/illustration-small--design.svg +0 -99
  150. package/examples/img/illustration-small--playground.svg +0 -49
  151. package/examples/img/illustration-small--react.svg +0 -53
  152. package/examples/img/illustration_user-privileges.png +0 -0
  153. package/examples/img/illustration_users.png +0 -0
  154. package/examples/img/image_01.jpg +0 -0
  155. package/examples/img/image_02.jpg +0 -0
  156. package/examples/img/masthead-image.png +0 -0
  157. package/examples/img/obama_1.jpg +0 -0
  158. package/examples/img/obama_2.jpg +0 -0
  159. package/examples/img/overlay-img.jpg +0 -0
  160. package/examples/img/react-logo--vector.svg +0 -49
  161. package/examples/img/sd-ui-framework__logo-01.svg +0 -33
  162. package/examples/img/sd-ui-framework__logo.svg +0 -20
  163. package/examples/img/th01.jpg +0 -0
  164. package/examples/img/th02.jpg +0 -0
  165. package/examples/img/th03.jpg +0 -0
  166. package/examples/index.html +0 -11
  167. package/examples/index.js +0 -468
  168. package/examples/js/doc.js +0 -230
  169. package/examples/js/react.js +0 -263
  170. package/examples/pages/components/Alerts.tsx +0 -291
  171. package/examples/pages/components/Autocomplete.tsx +0 -434
  172. package/examples/pages/components/Avatar.tsx +0 -659
  173. package/examples/pages/components/Badges.tsx +0 -221
  174. package/examples/pages/components/BigIconFont.tsx +0 -48
  175. package/examples/pages/components/BoxedList.tsx +0 -517
  176. package/examples/pages/components/ButtonGroups.tsx +0 -366
  177. package/examples/pages/components/Buttons.tsx +0 -565
  178. package/examples/pages/components/Card.tsx +0 -23
  179. package/examples/pages/components/Carousel.tsx +0 -235
  180. package/examples/pages/components/Checkboxs.tsx +0 -817
  181. package/examples/pages/components/Container.tsx +0 -190
  182. package/examples/pages/components/ContentDivider.tsx +0 -229
  183. package/examples/pages/components/ContentList.tsx +0 -786
  184. package/examples/pages/components/CreateButton.tsx +0 -121
  185. package/examples/pages/components/DatePicker.tsx +0 -245
  186. package/examples/pages/components/DateTimePicker.tsx +0 -141
  187. package/examples/pages/components/DragHandleDocs.tsx +0 -122
  188. package/examples/pages/components/DropZone.tsx +0 -149
  189. package/examples/pages/components/Dropdowns.tsx +0 -587
  190. package/examples/pages/components/DurationInput.tsx +0 -157
  191. package/examples/pages/components/EmptyStates.tsx +0 -171
  192. package/examples/pages/components/GridItem.tsx +0 -507
  193. package/examples/pages/components/GridList.tsx +0 -126
  194. package/examples/pages/components/Heading.tsx +0 -152
  195. package/examples/pages/components/IconButtons.tsx +0 -191
  196. package/examples/pages/components/IconFont.tsx +0 -49
  197. package/examples/pages/components/IconLabels.tsx +0 -199
  198. package/examples/pages/components/IconPicker.tsx +0 -82
  199. package/examples/pages/components/IllustrationButton.tsx +0 -109
  200. package/examples/pages/components/Index.tsx +0 -563
  201. package/examples/pages/components/Inputs.tsx +0 -313
  202. package/examples/pages/components/Labels.tsx +0 -354
  203. package/examples/pages/components/LeftNavigations.tsx +0 -459
  204. package/examples/pages/components/ListItems.tsx +0 -33
  205. package/examples/pages/components/Loader.tsx +0 -25
  206. package/examples/pages/components/Menu.tsx +0 -181
  207. package/examples/pages/components/Modal.tsx +0 -557
  208. package/examples/pages/components/MultiSelect.tsx +0 -343
  209. package/examples/pages/components/NavButtons.tsx +0 -159
  210. package/examples/pages/components/Panel.tsx +0 -631
  211. package/examples/pages/components/Popover.tsx +0 -90
  212. package/examples/pages/components/QuickNavigationBar.tsx +0 -278
  213. package/examples/pages/components/RadioGroup.tsx +0 -612
  214. package/examples/pages/components/ResizablePanels.tsx +0 -43
  215. package/examples/pages/components/SelectGrid.tsx +0 -162
  216. package/examples/pages/components/SelectWithTemplate.tsx +0 -144
  217. package/examples/pages/components/Selects.tsx +0 -175
  218. package/examples/pages/components/SimpleList.tsx +0 -198
  219. package/examples/pages/components/SubNav.tsx +0 -160
  220. package/examples/pages/components/Switch.tsx +0 -298
  221. package/examples/pages/components/TableList.tsx +0 -315
  222. package/examples/pages/components/Tabs.tsx +0 -276
  223. package/examples/pages/components/TagInputDocs.tsx +0 -130
  224. package/examples/pages/components/Tags.tsx +0 -154
  225. package/examples/pages/components/Text.tsx +0 -184
  226. package/examples/pages/components/TimePicker.tsx +0 -179
  227. package/examples/pages/components/Toasts.tsx +0 -283
  228. package/examples/pages/components/Togglebox.tsx +0 -307
  229. package/examples/pages/components/Tooltips.tsx +0 -74
  230. package/examples/pages/components/TreeMenu.tsx +0 -315
  231. package/examples/pages/components/TreeSelect.tsx +0 -625
  232. package/examples/pages/components/WithPaginationDocs.tsx +0 -56
  233. package/examples/pages/components/WithSizeObserver.tsx +0 -44
  234. package/examples/pages/components/tree-select/TreeSelect.tsx +0 -322
  235. package/examples/pages/components/tree-select/example-1.tsx +0 -67
  236. package/examples/pages/components/tree-select/example-2.tsx +0 -56
  237. package/examples/pages/components/utilities/BorderRadiusUtilities.tsx +0 -71
  238. package/examples/pages/components/utilities/BorderUtilities.tsx +0 -169
  239. package/examples/pages/components/utilities/DisplayUtilities.tsx +0 -115
  240. package/examples/pages/components/utilities/FlexAndGridUtilities.tsx +0 -551
  241. package/examples/pages/components/utilities/ObjectFitUtilities.tsx +0 -51
  242. package/examples/pages/components/utilities/ObjectPositionUtilities.tsx +0 -67
  243. package/examples/pages/components/utilities/OpacityUtilities.tsx +0 -61
  244. package/examples/pages/components/utilities/OverflowUtilities.tsx +0 -92
  245. package/examples/pages/components/utilities/PositionUtilities.tsx +0 -51
  246. package/examples/pages/components/utilities/ShadowUtilities.tsx +0 -122
  247. package/examples/pages/components/utilities/SpacingUtilities.tsx +0 -1079
  248. package/examples/pages/components/utilities/TextUtilities.tsx +0 -560
  249. package/examples/pages/components.html +0 -15
  250. package/examples/pages/components_deprecated/alerts.html +0 -113
  251. package/examples/pages/components_deprecated/badge.html +0 -79
  252. package/examples/pages/components_deprecated/basic-grid.html +0 -132
  253. package/examples/pages/components_deprecated/big-icons.html +0 -65
  254. package/examples/pages/components_deprecated/buttons.html +0 -631
  255. package/examples/pages/components_deprecated/carousel.html +0 -77
  256. package/examples/pages/components_deprecated/checkbox.html +0 -86
  257. package/examples/pages/components_deprecated/colors.html +0 -12
  258. package/examples/pages/components_deprecated/dropdown.html +0 -542
  259. package/examples/pages/components_deprecated/form-layout.html +0 -187
  260. package/examples/pages/components_deprecated/icon-labels.html +0 -34
  261. package/examples/pages/components_deprecated/icons.html +0 -194
  262. package/examples/pages/components_deprecated/input.html +0 -233
  263. package/examples/pages/components_deprecated/labels.html +0 -170
  264. package/examples/pages/components_deprecated/layout-grid.html +0 -227
  265. package/examples/pages/components_deprecated/left-nav.html +0 -83
  266. package/examples/pages/components_deprecated/list-item.html +0 -1342
  267. package/examples/pages/components_deprecated/loader.html +0 -64
  268. package/examples/pages/components_deprecated/modal-template.html +0 -13
  269. package/examples/pages/components_deprecated/modals.html +0 -561
  270. package/examples/pages/components_deprecated/other-elements.html +0 -54
  271. package/examples/pages/components_deprecated/panel-info.html +0 -34
  272. package/examples/pages/components_deprecated/radio.html +0 -64
  273. package/examples/pages/components_deprecated/select.html +0 -160
  274. package/examples/pages/components_deprecated/shadows.html +0 -24
  275. package/examples/pages/components_deprecated/sidebar-menu.html +0 -111
  276. package/examples/pages/components_deprecated/simple-list.html +0 -113
  277. package/examples/pages/components_deprecated/slider.html +0 -31
  278. package/examples/pages/components_deprecated/spacing.html +0 -117
  279. package/examples/pages/components_deprecated/switch.html +0 -31
  280. package/examples/pages/components_deprecated/tables.html +0 -58
  281. package/examples/pages/components_deprecated/tabs.html +0 -257
  282. package/examples/pages/components_deprecated/tag-input.html +0 -123
  283. package/examples/pages/components_deprecated/tag-labels.html +0 -57
  284. package/examples/pages/components_deprecated/text.html +0 -55
  285. package/examples/pages/components_deprecated/toggle.html +0 -63
  286. package/examples/pages/components_deprecated/tooltips.html +0 -29
  287. package/examples/pages/components_deprecated/vertical-tabs.html +0 -48
  288. package/examples/pages/components_deprecated/wizard.html +0 -41
  289. package/examples/pages/components_deprecated.html +0 -39
  290. package/examples/pages/design/application-structure.html +0 -168
  291. package/examples/pages/design/buttons.html +0 -34
  292. package/examples/pages/design/checkbox-and-radio.html +0 -64
  293. package/examples/pages/design/layout-principles.html +0 -45
  294. package/examples/pages/design/modules.html +0 -22
  295. package/examples/pages/design/pages.html +0 -22
  296. package/examples/pages/design/switch.html +0 -55
  297. package/examples/pages/design-patterns/Index.tsx +0 -42
  298. package/examples/pages/design-patterns/ThreePaneLayoutPattern.tsx +0 -378
  299. package/examples/pages/design-patterns.html +0 -14
  300. package/examples/pages/design.html +0 -39
  301. package/examples/pages/main.html +0 -76
  302. package/examples/pages/playgrounds/accessible-theme-test.html +0 -813
  303. package/examples/pages/playgrounds/boxed-list.html +0 -164
  304. package/examples/pages/playgrounds/cards.html +0 -244
  305. package/examples/pages/playgrounds/circular-progress.html +0 -48
  306. package/examples/pages/playgrounds/dummy-data/items.ts +0 -95
  307. package/examples/pages/playgrounds/editor-3-test.html +0 -15
  308. package/examples/pages/playgrounds/form-layout.html +0 -285
  309. package/examples/pages/playgrounds/layout-grid.html +0 -79
  310. package/examples/pages/playgrounds/layout-snippets/edit-article.html +0 -415
  311. package/examples/pages/playgrounds/layout-test-2.html +0 -795
  312. package/examples/pages/playgrounds/list-item-test.html +0 -896
  313. package/examples/pages/playgrounds/main.html +0 -16
  314. package/examples/pages/playgrounds/master-desk.html +0 -1678
  315. package/examples/pages/playgrounds/media-carousel.html +0 -1166
  316. package/examples/pages/playgrounds/nav-buttons.html +0 -65
  317. package/examples/pages/playgrounds/photo-desk.html +0 -1515
  318. package/examples/pages/playgrounds/photo-snippets/edit-photo-metadata.html +0 -208
  319. package/examples/pages/playgrounds/planning-snippets/edit-event.html +0 -187
  320. package/examples/pages/playgrounds/planning-snippets/edit-planning.html +0 -457
  321. package/examples/pages/playgrounds/planning.html +0 -1112
  322. package/examples/pages/playgrounds/publish-snippets/edit-article.html +0 -37
  323. package/examples/pages/playgrounds/publish.html +0 -1007
  324. package/examples/pages/playgrounds/publisher-content-analytics.html +0 -376
  325. package/examples/pages/playgrounds/publisher-content-list-automatic.html +0 -296
  326. package/examples/pages/playgrounds/publisher-content-list-manual.html +0 -611
  327. package/examples/pages/playgrounds/publisher-content-lists.html +0 -255
  328. package/examples/pages/playgrounds/publisher-dashboard.html +0 -323
  329. package/examples/pages/playgrounds/publisher-output-control.html +0 -3659
  330. package/examples/pages/playgrounds/publisher-website-settings-general.html +0 -188
  331. package/examples/pages/playgrounds/publisher-website-settings.html +0 -265
  332. package/examples/pages/playgrounds/react-playgrounds/CoreLayout.tsx +0 -952
  333. package/examples/pages/playgrounds/react-playgrounds/EditorTest.tsx +0 -649
  334. package/examples/pages/playgrounds/react-playgrounds/FirstPlayground.tsx +0 -236
  335. package/examples/pages/playgrounds/react-playgrounds/Index.tsx +0 -11
  336. package/examples/pages/playgrounds/react-playgrounds/Multiedit.tsx +0 -401
  337. package/examples/pages/playgrounds/react-playgrounds/PageLayoutTest.tsx +0 -210
  338. package/examples/pages/playgrounds/react-playgrounds/PersonalProfile.tsx +0 -835
  339. package/examples/pages/playgrounds/react-playgrounds/RundownEditor.tsx +0 -580
  340. package/examples/pages/playgrounds/react-playgrounds/Rundowns.tsx +0 -1415
  341. package/examples/pages/playgrounds/react-playgrounds/SamsPlayground.tsx +0 -401
  342. package/examples/pages/playgrounds/react-playgrounds/TestGround.tsx +0 -2710
  343. package/examples/pages/playgrounds/react-playgrounds/UiPlayground.tsx +0 -410
  344. package/examples/pages/playgrounds/react-playgrounds/components/AuthoringContainer.tsx +0 -25
  345. package/examples/pages/playgrounds/react-playgrounds/components/AuthoringContent.tsx +0 -86
  346. package/examples/pages/playgrounds/react-playgrounds/components/ContentSplitter.tsx +0 -19
  347. package/examples/pages/playgrounds/react-playgrounds/components/GraphicButton.tsx +0 -34
  348. package/examples/pages/playgrounds/react-playgrounds/components/GraphicButtonsGroup.tsx +0 -11
  349. package/examples/pages/playgrounds/react-playgrounds/components/HeaderPanel.tsx +0 -11
  350. package/examples/pages/playgrounds/react-playgrounds/components/Index.tsx +0 -20
  351. package/examples/pages/playgrounds/react-playgrounds/components/Layout.tsx +0 -27
  352. package/examples/pages/playgrounds/react-playgrounds/components/LayoutContainer.tsx +0 -15
  353. package/examples/pages/playgrounds/react-playgrounds/components/LeftPanel.tsx +0 -15
  354. package/examples/pages/playgrounds/react-playgrounds/components/MainPanel.tsx +0 -24
  355. package/examples/pages/playgrounds/react-playgrounds/components/OverlayPanel.tsx +0 -17
  356. package/examples/pages/playgrounds/react-playgrounds/components/Panel.tsx +0 -23
  357. package/examples/pages/playgrounds/react-playgrounds/components/PanelContent.tsx +0 -11
  358. package/examples/pages/playgrounds/react-playgrounds/components/PanelContentBlock.tsx +0 -19
  359. package/examples/pages/playgrounds/react-playgrounds/components/PanelFooter.tsx +0 -17
  360. package/examples/pages/playgrounds/react-playgrounds/components/PanelHeader.tsx +0 -31
  361. package/examples/pages/playgrounds/react-playgrounds/components/RightPanel.tsx +0 -16
  362. package/examples/pages/playgrounds/react-playgrounds/components/SearchBar.tsx +0 -87
  363. package/examples/pages/playgrounds/react-playgrounds/components/SidebarMenu.tsx +0 -76
  364. package/examples/pages/playgrounds/react-playgrounds/components/SubNav.tsx +0 -17
  365. package/examples/pages/playgrounds/react-playgrounds/components/ThemeDropdown.tsx +0 -57
  366. package/examples/pages/playgrounds/react-playgrounds/tsconfig.json +0 -4
  367. package/examples/pages/playgrounds/settings.html +0 -92
  368. package/examples/pages/playgrounds/side-navigation.html +0 -201
  369. package/examples/pages/playgrounds/swimlane-view.html +0 -1975
  370. package/examples/pages/playgrounds/tags-input.html +0 -55
  371. package/examples/pages/playgrounds/toasts.html +0 -113
  372. package/examples/pages/playgrounds/video-editor.html +0 -706
  373. package/examples/pages/playgrounds.html +0 -40
@@ -1,649 +0,0 @@
1
- import * as React from 'react';
2
- import {
3
- ButtonGroup,
4
- Button,
5
- NavButton,
6
- SubNav,
7
- Dropdown,
8
- Input,
9
- IconButton,
10
- Divider,
11
- Tooltip,
12
- Select,
13
- Option,
14
- Switch,
15
- Icon,
16
- AvatarWrapper,
17
- AvatarContentText,
18
- Text,
19
- EmptyState,
20
- Heading,
21
- } from '../../../../app-typescript/index';
22
- import * as Layout from '../../../../app-typescript/components/Layouts';
23
- import * as Form from '../../../../app-typescript/components/Form';
24
- import * as Nav from '../../../../app-typescript/components/Navigation';
25
- import {BoxedList, BoxedListItem, BoxedListContentRow} from '../../../../app-typescript/components/Lists';
26
- import {SimpleList, SimpleListItem} from '../../../../app-typescript/components/Lists';
27
-
28
- interface IProps {
29
- children?: React.ReactNode;
30
- }
31
-
32
- interface IState {
33
- theme: 'dark' | 'light' | string;
34
- itemType: string;
35
- dropDownState: string;
36
- itemSelected1: boolean;
37
- itemSelected2: boolean;
38
- itemSelected3: boolean;
39
- value1: boolean;
40
- value2: boolean;
41
- value3: boolean;
42
- leftPanelOpen: boolean;
43
- rightPanelOpen: boolean;
44
- rightPanelPinned: boolean;
45
- sideOverlayOpen: boolean;
46
- activeTab: string | null;
47
- }
48
-
49
- export class EditorTest extends React.Component<IProps, IState> {
50
- constructor(props: IProps) {
51
- super(props);
52
- this.state = {
53
- theme: 'light',
54
- itemType: 'itemtype01',
55
- dropDownState: '',
56
- itemSelected1: false,
57
- itemSelected2: false,
58
- itemSelected3: false,
59
- value1: false,
60
- value2: false,
61
- value3: false,
62
- leftPanelOpen: false,
63
- rightPanelOpen: false,
64
- rightPanelPinned: false,
65
- sideOverlayOpen: false,
66
- activeTab: '1',
67
- };
68
- this.handleTheme = this.handleTheme.bind(this);
69
- }
70
-
71
- handleTheme(newTheme: string) {
72
- this.setState({
73
- theme: newTheme,
74
- });
75
- }
76
-
77
- changeStatus(item: any, status: string) {
78
- if (item.status.includes(status)) {
79
- item.status.splice(item.status.indexOf(status), 1);
80
- } else {
81
- item.status.push(status);
82
- }
83
- }
84
-
85
- render() {
86
- return (
87
- <Layout.AuthoringFrame
88
- header={
89
- <SubNav>
90
- <ButtonGroup align="end">
91
- <Button
92
- text="Open pinned"
93
- style="hollow"
94
- onClick={() => this.setState({rightPanelOpen: !this.state.rightPanelOpen})}
95
- />
96
- <Divider size="mini" />
97
- <ButtonGroup subgroup={true} spaces="no-space">
98
- <Dropdown
99
- items={[
100
- {
101
- type: 'group',
102
- label: 'Chose a theme',
103
- items: [
104
- 'divider',
105
- {label: 'Light', onSelect: () => this.handleTheme('light-ui')},
106
- {label: 'Dark', onSelect: () => this.handleTheme('dark-ui')},
107
- ],
108
- },
109
- ]}
110
- >
111
- <NavButton type="default" icon="adjust" onClick={() => false} />
112
- </Dropdown>
113
- <Tooltip text="Minimize" flow="left">
114
- <NavButton
115
- type="default"
116
- icon="minimize"
117
- iconSize="big"
118
- text="Minimize"
119
- onClick={() => false}
120
- />
121
- </Tooltip>
122
- <Tooltip text="More actions" flow="left">
123
- <NavButton
124
- type="default"
125
- icon="dots-vertical"
126
- text="More actions"
127
- onClick={() => false}
128
- />
129
- </Tooltip>
130
- <Tooltip text="Send to / Publish" flow="left">
131
- <NavButton
132
- type="highlight"
133
- icon="send-to"
134
- iconSize="big"
135
- text="Send to / Publish"
136
- onClick={() => false}
137
- />
138
- </Tooltip>
139
- </ButtonGroup>
140
- </ButtonGroup>
141
- </SubNav>
142
- }
143
- leftPanel={
144
- <Nav.SideBarTabs
145
- items={[
146
- {icon: 'semantics', size: 'big', tooltip: 'Semantics', id: '1'},
147
- {icon: 'create-list', size: 'big', tooltip: 'Create list', id: '2'},
148
- {icon: 'picture', size: 'big', tooltip: 'Pictures', id: '3'},
149
- {icon: 'annotation', size: 'big', tooltip: 'Annotations', id: '4'},
150
- {icon: 'export', size: 'big', tooltip: 'Export', id: '5'},
151
- ]}
152
- activeTab={this.state.activeTab}
153
- onActiveTabChange={(val) => {
154
- this.setState({
155
- activeTab: val,
156
- });
157
- }}
158
- />
159
- }
160
- main={
161
- <Layout.AuthoringMain
162
- headerPadding={{
163
- top: 10,
164
- }}
165
- toolBar={
166
- <React.Fragment>
167
- <div className="sd-editor-toolbar__content">
168
- <dl>
169
- <dt>Created</dt>
170
- <dd>
171
- <time title="July 29, 2021 3:58 PM">07/29</time>
172
- </dd>
173
- <dt>by</dt>
174
- <dt>Nareg Asmarian</dt>
175
- </dl>
176
- <dl>
177
- <dt>Modified</dt>
178
- <dd>
179
- <time title="July 29, 2021 3:58 PM">07/29</time>
180
- </dd>
181
- </dl>
182
- </div>
183
- <ButtonGroup align="end">
184
- <IconButton
185
- icon="preview-mode"
186
- toolTipAppend={true}
187
- ariaValue="Print preview"
188
- onClick={() => false}
189
- />
190
- <IconButton icon="adjust" ariaValue="Toogle theme" onClick={() => false} />
191
- <IconButton icon="switches" ariaValue="Theme settings" onClick={() => false} />
192
- </ButtonGroup>
193
- </React.Fragment>
194
- }
195
- authoringHeader={
196
- <React.Fragment>
197
- <Form.FormGroup inlineLabel={true}>
198
- <Form.FormItem>
199
- <Input
200
- type="text"
201
- label="Slugline"
202
- value="This is some value"
203
- maxLength={30}
204
- info="This is some hint message"
205
- required={false}
206
- disabled={false}
207
- onChange={() => false}
208
- />
209
- </Form.FormItem>
210
- <Form.FormItem>
211
- <Input
212
- type="text"
213
- label="Slugline"
214
- value="This is some value"
215
- maxLength={30}
216
- info="This is some hint message"
217
- required={false}
218
- disabled={false}
219
- onChange={() => false}
220
- />
221
- </Form.FormItem>
222
- </Form.FormGroup>
223
- <Form.FormGroup inlineLabel={true}>
224
- <Form.FormItem>
225
- <Input
226
- type="text"
227
- label="Genre"
228
- value="This is some value"
229
- maxLength={30}
230
- info="This is some hint message"
231
- required={false}
232
- disabled={false}
233
- onChange={() => false}
234
- />
235
- </Form.FormItem>
236
- </Form.FormGroup>
237
- <Form.FormGroup marginBottom="0" inlineLabel={true}>
238
- <Form.FormItem>
239
- <Input
240
- type="text"
241
- label="Subject"
242
- value="This is some value"
243
- maxLength={30}
244
- info="This is some hint message"
245
- required={true}
246
- disabled={false}
247
- onChange={() => false}
248
- />
249
- </Form.FormItem>
250
- <Form.FormItem autoWidth={true}>
251
- <Form.FormText>Just testing:</Form.FormText>
252
- </Form.FormItem>
253
- <Form.FormItem>
254
- <Select
255
- label="Categories"
256
- labelHidden={true}
257
- value="This is some value"
258
- info="This is some hint message"
259
- required={true}
260
- disabled={false}
261
- onChange={() => false}
262
- >
263
- <Option>Option 1</Option>
264
- <Option>Option 2</Option>
265
- </Select>
266
- </Form.FormItem>
267
- <Form.FormItem autoWidth={true}>
268
- <ButtonGroup>
269
- <IconButton ariaValue="Submit" icon="picture" onClick={() => false} />
270
- <Button text="Cancel" onClick={() => false} type="default" style="hollow" />
271
- <Button text="Submit" onClick={() => false} type="primary" />
272
- </ButtonGroup>
273
- </Form.FormItem>
274
- </Form.FormGroup>
275
- </React.Fragment>
276
- }
277
- authoringBookmarks={
278
- <Nav.QuickNavBar
279
- scrollSpy="#scroll"
280
- offset={-300}
281
- items={[
282
- {icon: 'heading-1', tooltip: 'Headline', onClick: () => false, id: 'section1'},
283
- {icon: 'align-left', tooltip: 'Body', onClick: () => false, id: 'section2'},
284
- {icon: 'picture', tooltip: 'Media', onClick: () => false, id: 'section3'},
285
- {
286
- icon: 'attachment-large',
287
- tooltip: 'Attachments',
288
- onClick: () => false,
289
- id: 'section4',
290
- },
291
- ]}
292
- />
293
- }
294
- >
295
- <div id="scroll" style={{overflow: 'scroll', height: 600}}>
296
- <div id="section1">
297
- <Heading type="h1" className="sd-padding--5">
298
- Section 1
299
- </Heading>
300
- <p className="sd-margin-b--3">
301
- Maecenas sed diam eget risus varius blandit sit amet non magna. Lorem ipsum dolor
302
- sit amet, consectetur adipiscing elit. Maecenas faucibus mollis interdum. Cras justo
303
- odio, dapibus ac facilisis in, egestas eget quam. Aenean lacinia bibendum nulla sed
304
- consectetur. Lorem ipsum dolor sit amet, consectetur adipiscing elit.
305
- </p>
306
- <p className="sd-margin-b--3">
307
- Aenean lacinia bibendum nulla sed consectetur. Etiam porta sem malesuada magna
308
- mollis euismod. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis
309
- vestibulum. Nullam quis risus eget urna mollis ornare vel eu leo. Curabitur blandit
310
- tempus porttitor. Aenean lacinia bibendum nulla sed consectetur. Morbi leo risus,
311
- porta ac consectetur ac, vestibulum at eros.
312
- </p>
313
- <p className="sd-margin-b--3">
314
- Nullam quis risus eget urna mollis ornare vel eu leo. Maecenas sed diam eget risus
315
- varius blandit sit amet non magna. Aenean eu leo quam. Pellentesque ornare sem
316
- lacinia quam venenatis vestibulum. Nullam quis risus eget urna mollis ornare vel eu
317
- leo. Donec ullamcorper nulla non metus auctor fringilla. Donec id elit non mi porta
318
- gravida at eget metus. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.
319
- Curabitur blandit tempus porttitor. Vestibulum id ligula porta felis euismod semper.
320
- Maecenas sed diam eget risus varius blandit sit amet non magna.
321
- </p>
322
- <p>
323
- Curabitur blandit tempus porttitor. Nullam quis risus eget urna mollis ornare vel eu
324
- leo. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla vitae elit
325
- libero, a pharetra augue. Cras mattis consectetur purus sit amet fermentum. Maecenas
326
- faucibus mollis interdum. Cum sociis natoque penatibus et magnis dis parturient
327
- montes, nascetur ridiculus mus. Vivamus sagittis lacus vel augue laoreet rutrum
328
- faucibus dolor auctor. Duis mollis, est non commodo luctus, nisi erat porttitor
329
- ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet
330
- fermentum.
331
- </p>
332
- <Layout.Container
333
- gap="large"
334
- className="sd-border--medium sd-font-size--medium sd-padding--2 sd-radius--large"
335
- >
336
- <span>Curabitur blandit tempus porttitor.</span>
337
- <Button text="Test button" type="primary" onClick={() => false} />
338
- <Button text="Test button" type="highlight" onClick={() => false} />
339
- <ButtonGroup align="end">
340
- <Button text="Cancel" onClick={() => false} type="default" style="hollow" />
341
- <Button text="Submit" onClick={() => false} type="primary" />
342
- </ButtonGroup>
343
- </Layout.Container>
344
- </div>
345
-
346
- <div id="section2">
347
- <Heading type="h1" className="sd-padding--5">
348
- Section 2
349
- </Heading>
350
- <p className="sd-margin-b--3">
351
- Maecenas sed diam eget risus varius blandit sit amet non magna. Lorem ipsum dolor
352
- sit amet, consectetur adipiscing elit. Maecenas faucibus mollis interdum. Cras justo
353
- odio, dapibus ac facilisis in, egestas eget quam. Aenean lacinia bibendum nulla sed
354
- consectetur. Lorem ipsum dolor sit amet, consectetur adipiscing elit.
355
- </p>
356
- <p className="sd-margin-b--3">
357
- Aenean lacinia bibendum nulla sed consectetur. Etiam porta sem malesuada magna
358
- mollis euismod. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis
359
- vestibulum. Nullam quis risus eget urna mollis ornare vel eu leo. Curabitur blandit
360
- tempus porttitor. Aenean lacinia bibendum nulla sed consectetur. Morbi leo risus,
361
- porta ac consectetur ac, vestibulum at eros.
362
- </p>
363
- <p className="sd-margin-b--3">
364
- Nullam quis risus eget urna mollis ornare vel eu leo. Maecenas sed diam eget risus
365
- varius blandit sit amet non magna. Aenean eu leo quam. Pellentesque ornare sem
366
- lacinia quam venenatis vestibulum. Nullam quis risus eget urna mollis ornare vel eu
367
- leo. Donec ullamcorper nulla non metus auctor fringilla. Donec id elit non mi porta
368
- gravida at eget metus. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.
369
- Curabitur blandit tempus porttitor. Vestibulum id ligula porta felis euismod semper.
370
- Maecenas sed diam eget risus varius blandit sit amet non magna.
371
- </p>
372
- <p>
373
- Curabitur blandit tempus porttitor. Nullam quis risus eget urna mollis ornare vel eu
374
- leo. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla vitae elit
375
- libero, a pharetra augue. Cras mattis consectetur purus sit amet fermentum. Maecenas
376
- faucibus mollis interdum. Cum sociis natoque penatibus et magnis dis parturient
377
- montes, nascetur ridiculus mus. Vivamus sagittis lacus vel augue laoreet rutrum
378
- faucibus dolor auctor. Duis mollis, est non commodo luctus, nisi erat porttitor
379
- ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet
380
- fermentum.
381
- </p>
382
- <Layout.Container
383
- gap="large"
384
- className="sd-border--medium sd-font-size--medium sd-padding--2 sd-radius--large"
385
- >
386
- <span>Curabitur blandit tempus porttitor.</span>
387
- <Button text="Test button" type="primary" onClick={() => false} />
388
- <Button text="Test button" type="highlight" onClick={() => false} />
389
- <ButtonGroup align="end">
390
- <Button text="Cancel" onClick={() => false} type="default" style="hollow" />
391
- <Button text="Submit" onClick={() => false} type="primary" />
392
- </ButtonGroup>
393
- </Layout.Container>
394
- </div>
395
-
396
- <div id="section3">
397
- <Heading type="h1" className="sd-padding--5">
398
- Section 3
399
- </Heading>
400
- <p className="sd-margin-b--3">
401
- Maecenas sed diam eget risus varius blandit sit amet non magna. Lorem ipsum dolor
402
- sit amet, consectetur adipiscing elit. Maecenas faucibus mollis interdum. Cras justo
403
- odio, dapibus ac facilisis in, egestas eget quam. Aenean lacinia bibendum nulla sed
404
- consectetur. Lorem ipsum dolor sit amet, consectetur adipiscing elit.
405
- </p>
406
- <p className="sd-margin-b--3">
407
- Aenean lacinia bibendum nulla sed consectetur. Etiam porta sem malesuada magna
408
- mollis euismod. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis
409
- vestibulum. Nullam quis risus eget urna mollis ornare vel eu leo. Curabitur blandit
410
- tempus porttitor. Aenean lacinia bibendum nulla sed consectetur. Morbi leo risus,
411
- porta ac consectetur ac, vestibulum at eros.
412
- </p>
413
- <p className="sd-margin-b--3">
414
- Nullam quis risus eget urna mollis ornare vel eu leo. Maecenas sed diam eget risus
415
- varius blandit sit amet non magna. Aenean eu leo quam. Pellentesque ornare sem
416
- lacinia quam venenatis vestibulum. Nullam quis risus eget urna mollis ornare vel eu
417
- leo. Donec ullamcorper nulla non metus auctor fringilla. Donec id elit non mi porta
418
- gravida at eget metus. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.
419
- Curabitur blandit tempus porttitor. Vestibulum id ligula porta felis euismod semper.
420
- Maecenas sed diam eget risus varius blandit sit amet non magna.
421
- </p>
422
- <p>
423
- Curabitur blandit tempus porttitor. Nullam quis risus eget urna mollis ornare vel eu
424
- leo. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla vitae elit
425
- libero, a pharetra augue. Cras mattis consectetur purus sit amet fermentum. Maecenas
426
- faucibus mollis interdum. Cum sociis natoque penatibus et magnis dis parturient
427
- montes, nascetur ridiculus mus. Vivamus sagittis lacus vel augue laoreet rutrum
428
- faucibus dolor auctor. Duis mollis, est non commodo luctus, nisi erat porttitor
429
- ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet
430
- fermentum.
431
- </p>
432
- <Layout.Container
433
- gap="large"
434
- className="sd-border--medium sd-font-size--medium sd-padding--2 sd-radius--large"
435
- >
436
- <span>Curabitur blandit tempus porttitor.</span>
437
- <Button text="Test button" type="primary" onClick={() => false} />
438
- <Button text="Test button" type="highlight" onClick={() => false} />
439
- <ButtonGroup align="end">
440
- <Button text="Cancel" onClick={() => false} type="default" style="hollow" />
441
- <Button text="Submit" onClick={() => false} type="primary" />
442
- </ButtonGroup>
443
- </Layout.Container>
444
- </div>
445
-
446
- <div id="section4">
447
- <Heading type="h1" className="sd-padding--5">
448
- Section 4
449
- </Heading>
450
- <p className="sd-margin-b--3">
451
- Maecenas sed diam eget risus varius blandit sit amet non magna. Lorem ipsum dolor
452
- sit amet, consectetur adipiscing elit. Maecenas faucibus mollis interdum. Cras justo
453
- odio, dapibus ac facilisis in, egestas eget quam. Aenean lacinia bibendum nulla sed
454
- consectetur. Lorem ipsum dolor sit amet, consectetur adipiscing elit.
455
- </p>
456
- <p className="sd-margin-b--3">
457
- Aenean lacinia bibendum nulla sed consectetur. Etiam porta sem malesuada magna
458
- mollis euismod. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis
459
- vestibulum. Nullam quis risus eget urna mollis ornare vel eu leo. Curabitur blandit
460
- tempus porttitor. Aenean lacinia bibendum nulla sed consectetur. Morbi leo risus,
461
- porta ac consectetur ac, vestibulum at eros.
462
- </p>
463
- <p className="sd-margin-b--3">
464
- Nullam quis risus eget urna mollis ornare vel eu leo. Maecenas sed diam eget risus
465
- varius blandit sit amet non magna. Aenean eu leo quam. Pellentesque ornare sem
466
- lacinia quam venenatis vestibulum. Nullam quis risus eget urna mollis ornare vel eu
467
- leo. Donec ullamcorper nulla non metus auctor fringilla. Donec id elit non mi porta
468
- gravida at eget metus. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.
469
- Curabitur blandit tempus porttitor. Vestibulum id ligula porta felis euismod semper.
470
- Maecenas sed diam eget risus varius blandit sit amet non magna.
471
- </p>
472
- <p>
473
- Curabitur blandit tempus porttitor. Nullam quis risus eget urna mollis ornare vel eu
474
- leo. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla vitae elit
475
- libero, a pharetra augue. Cras mattis consectetur purus sit amet fermentum. Maecenas
476
- faucibus mollis interdum. Cum sociis natoque penatibus et magnis dis parturient
477
- montes, nascetur ridiculus mus. Vivamus sagittis lacus vel augue laoreet rutrum
478
- faucibus dolor auctor. Duis mollis, est non commodo luctus, nisi erat porttitor
479
- ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet
480
- fermentum.
481
- </p>
482
- <Layout.Container
483
- gap="large"
484
- className="sd-border--medium sd-font-size--medium sd-padding--2 sd-radius--large"
485
- >
486
- <span>Curabitur blandit tempus porttitor.</span>
487
- <Button text="Test button" type="primary" onClick={() => false} />
488
- <Button text="Test button" type="highlight" onClick={() => false} />
489
- <ButtonGroup align="end">
490
- <Button text="Cancel" onClick={() => false} type="default" style="hollow" />
491
- <Button text="Submit" onClick={() => false} type="primary" />
492
- </ButtonGroup>
493
- </Layout.Container>
494
- </div>
495
- </div>
496
- </Layout.AuthoringMain>
497
- }
498
- sidePanelPinned={this.state.rightPanelOpen}
499
- sidePanel={
500
- <Layout.Panel side="right" background="grey" open={this.state.rightPanelOpen} size="x-small">
501
- <Layout.PanelHeader
502
- title="Pinned content"
503
- onClose={() => this.setState({rightPanelOpen: false})}
504
- ></Layout.PanelHeader>
505
- <Layout.PanelContent>
506
- <Layout.PanelContentBlock>
507
- <BoxedList density="comfortable">
508
- <BoxedListItem
509
- type="success"
510
- clickable={true}
511
- media={<Icon name="slideshow" />}
512
- actions={
513
- <IconButton
514
- icon="dots-vertical"
515
- ariaValue="More actions"
516
- onClick={() => false}
517
- />
518
- }
519
- >
520
- <BoxedListContentRow>
521
- Maecenas sed diam eget risus varius blandit sit amet non magna. Vestibulum
522
- id ligula porta felis euismod semper.
523
- </BoxedListContentRow>
524
- <BoxedListContentRow>
525
- Praesent commodo cursus magna, vel scelerisque nisl consectetur et.
526
- </BoxedListContentRow>
527
- </BoxedListItem>
528
- <BoxedListItem
529
- type="warning"
530
- media={
531
- <AvatarWrapper size="medium">
532
- <AvatarContentText text="JL" tooltipText="Jeffrey Lebowski" />
533
- </AvatarWrapper>
534
- }
535
- footer={
536
- <ButtonGroup align="end">
537
- <Button
538
- text="cancel"
539
- size="small"
540
- style="hollow"
541
- onClick={() => false}
542
- />
543
- <Button
544
- text="yes"
545
- size="small"
546
- style="hollow"
547
- type="primary"
548
- onClick={() => false}
549
- />
550
- </ButtonGroup>
551
- }
552
- actions={
553
- <IconButton
554
- icon="dots-vertical"
555
- ariaValue="More actions"
556
- onClick={() => false}
557
- />
558
- }
559
- >
560
- <BoxedListContentRow>
561
- Maecenas sed diam eget risus varius blandit sit amet magna.
562
- </BoxedListContentRow>
563
- </BoxedListItem>
564
- <BoxedListItem
565
- selected={true}
566
- actions={
567
- <IconButton
568
- icon="dots-vertical"
569
- ariaValue="More actions"
570
- onClick={() => false}
571
- />
572
- }
573
- >
574
- <BoxedListContentRow>
575
- Maecenas sed diam eget risus varius blandit sit amet magna. Vestibulum id
576
- ligula porta felis euismod semper.
577
- </BoxedListContentRow>
578
- </BoxedListItem>
579
- </BoxedList>
580
- </Layout.PanelContentBlock>
581
- </Layout.PanelContent>
582
- </Layout.Panel>
583
- }
584
- sideOverlayOpen={this.state.sideOverlayOpen}
585
- sideOverlay={
586
- <Layout.Panel background="light" open={this.state.sideOverlayOpen} size="x-small">
587
- <Layout.PanelHeader
588
- title="Metadata (overlay pannel)"
589
- onClose={() => this.setState({sideOverlayOpen: false})}
590
- />
591
- <Layout.PanelContent loading={false} empty={false} emptyTemplate={<EmptyState title="test" />}>
592
- <Layout.PanelContentBlock>
593
- <SimpleList border={true}>
594
- <SimpleListItem justify="space-between">
595
- <Form.FormLabel text="My label" />
596
- <Switch
597
- toolTipFlow="left"
598
- label={{content: 'My label', hidden: true}}
599
- value={this.state.value1}
600
- onChange={(value) => this.setState(() => ({value1: value}))}
601
- />
602
- </SimpleListItem>
603
- <SimpleListItem justify="space-between">
604
- <Form.FormLabel text="Form label" />
605
- <Switch
606
- toolTipFlow="left"
607
- label={{content: 'Form label', hidden: true}}
608
- value={this.state.value2}
609
- onChange={(value) => this.setState(() => ({value2: value}))}
610
- />
611
- </SimpleListItem>
612
- <SimpleListItem stacked={true}>
613
- <Form.FormLabel text="Label two" />
614
- <Text size="small" weight="light">
615
- Cras justo odio, dapibus ac facilisis in, egestas eget quam. Vestibulum id
616
- ligula porta felis euismod semper. Nullam quis risus eget urna mollis ornare
617
- vel eu leo.
618
- </Text>
619
- </SimpleListItem>
620
- </SimpleList>
621
- </Layout.PanelContentBlock>
622
- </Layout.PanelContent>
623
- </Layout.Panel>
624
- }
625
- sideBar={
626
- <Nav.SideBarTabs
627
- items={[
628
- {icon: 'info', size: 'big', tooltip: 'Info', id: '1'},
629
- {icon: 'chat', size: 'big', tooltip: 'Comments', id: '2'},
630
- {icon: 'history', size: 'big', tooltip: 'History', id: '3'},
631
- {icon: 'package', size: 'big', tooltip: 'Packages', id: '4'},
632
- {icon: 'attachment', size: 'big', tooltip: 'Attachments', id: '5'},
633
- {icon: 'comments', size: 'big', tooltip: 'Inline Comments', id: '6'},
634
- {icon: 'suggestion', size: 'big', tooltip: 'Suggestions', id: '7'},
635
- ]}
636
- activeTab={this.state.activeTab}
637
- onActiveTabChange={(val) => {
638
- this.setState({
639
- activeTab: val,
640
- sideOverlayOpen: !this.state.sideOverlayOpen,
641
- });
642
- }}
643
- />
644
- }
645
- overlayPanel={<div></div>}
646
- />
647
- );
648
- }
649
- }