superdesk-ui-framework 3.0.65 → 3.0.67

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 (443) hide show
  1. package/app/styles/_boxed-list.scss +10 -3
  2. package/app/styles/_helpers.scss +3 -1
  3. package/app/styles/components/_list-item.scss +22 -11
  4. package/app/styles/components/_sd-searchbar.scss +20 -1
  5. package/app/styles/primereact/_pr-dialog.scss +29 -13
  6. package/app-typescript/components/Autocomplete.tsx +9 -3
  7. package/app-typescript/components/Badge.tsx +16 -2
  8. package/app-typescript/components/Dropdown.tsx +3 -1
  9. package/app-typescript/components/DropdownFirst.tsx +14 -2
  10. package/app-typescript/components/DurationInput.tsx +19 -4
  11. package/app-typescript/components/EmptyState.tsx +11 -2
  12. package/app-typescript/components/Layouts/Panel.tsx +12 -1
  13. package/app-typescript/components/Lists/ContentList.tsx +5 -1
  14. package/app-typescript/components/Modal.tsx +12 -3
  15. package/app-typescript/components/Navigation/BottomNav.tsx +9 -2
  16. package/app-typescript/components/Navigation/QuickNavBar.tsx +10 -2
  17. package/app-typescript/components/Navigation/SideBarMenu.tsx +9 -4
  18. package/app-typescript/components/SearchBar.tsx +1 -0
  19. package/app-typescript/components/SidebarMenu.tsx +8 -1
  20. package/app-typescript/components/TabList.tsx +5 -1
  21. package/app-typescript/components/TagInput.tsx +4 -1
  22. package/app-typescript/components/ThemeSelector.tsx +13 -2
  23. package/app-typescript/components/TreeMenu.tsx +127 -122
  24. package/app-typescript/components/TreeSelect/TreeSelect.tsx +157 -141
  25. package/app-typescript/components/WithPortal.tsx +49 -0
  26. package/app-typescript/components/avatar/avatar-image.tsx +2 -0
  27. package/app-typescript/components/avatar/avatar.tsx +2 -1
  28. package/dist/examples.bundle.js +1409 -1278
  29. package/dist/playgrounds/planning.html +121 -43
  30. package/dist/playgrounds/react-playgrounds/CoreLayout.tsx +398 -385
  31. package/dist/playgrounds/react-playgrounds/EditorTest.tsx +359 -365
  32. package/dist/playgrounds/react-playgrounds/FirstPlayground.tsx +33 -33
  33. package/dist/playgrounds/react-playgrounds/Multiedit.tsx +227 -231
  34. package/dist/playgrounds/react-playgrounds/PageLayoutTest.tsx +41 -38
  35. package/dist/playgrounds/react-playgrounds/PersonalProfile.tsx +76 -96
  36. package/dist/playgrounds/react-playgrounds/RundownEditor.tsx +73 -101
  37. package/dist/playgrounds/react-playgrounds/Rundowns.tsx +788 -729
  38. package/dist/playgrounds/react-playgrounds/SamsPlayground.tsx +35 -26
  39. package/dist/playgrounds/react-playgrounds/TestGround.tsx +140 -121
  40. package/dist/playgrounds/react-playgrounds/UiPlayground.tsx +40 -25
  41. package/dist/playgrounds/react-playgrounds/components/GraphicButton.tsx +6 -5
  42. package/dist/playgrounds/react-playgrounds/components/Layout.tsx +0 -2
  43. package/dist/playgrounds/react-playgrounds/components/SearchBar.tsx +16 -9
  44. package/dist/superdesk-ui.bundle.css +79 -33
  45. package/dist/superdesk-ui.bundle.js +833 -729
  46. package/dist/vendor.bundle.js +14 -14
  47. package/examples/pages/playgrounds/planning.html +121 -43
  48. package/examples/pages/playgrounds/react-playgrounds/CoreLayout.tsx +398 -385
  49. package/examples/pages/playgrounds/react-playgrounds/EditorTest.tsx +359 -365
  50. package/examples/pages/playgrounds/react-playgrounds/FirstPlayground.tsx +33 -33
  51. package/examples/pages/playgrounds/react-playgrounds/Multiedit.tsx +227 -231
  52. package/examples/pages/playgrounds/react-playgrounds/PageLayoutTest.tsx +41 -38
  53. package/examples/pages/playgrounds/react-playgrounds/PersonalProfile.tsx +76 -96
  54. package/examples/pages/playgrounds/react-playgrounds/RundownEditor.tsx +73 -101
  55. package/examples/pages/playgrounds/react-playgrounds/Rundowns.tsx +788 -729
  56. package/examples/pages/playgrounds/react-playgrounds/SamsPlayground.tsx +35 -26
  57. package/examples/pages/playgrounds/react-playgrounds/TestGround.tsx +140 -121
  58. package/examples/pages/playgrounds/react-playgrounds/UiPlayground.tsx +40 -25
  59. package/examples/pages/playgrounds/react-playgrounds/components/GraphicButton.tsx +6 -5
  60. package/examples/pages/playgrounds/react-playgrounds/components/Layout.tsx +0 -2
  61. package/examples/pages/playgrounds/react-playgrounds/components/SearchBar.tsx +16 -9
  62. package/package.json +1 -1
  63. package/react/{components → app-typescript/components}/Autocomplete.js +2 -2
  64. package/react/{components → app-typescript/components}/Badge.js +1 -1
  65. package/react/{components → app-typescript/components}/Dropdown.js +3 -1
  66. package/react/{components → app-typescript/components}/DropdownFirst.js +6 -2
  67. package/react/{components → app-typescript/components}/DurationInput.js +5 -1
  68. package/react/{components → app-typescript/components}/EmptyState.js +2 -1
  69. package/react/{components → app-typescript/components}/Lists/ContentList.js +1 -1
  70. package/react/{components → app-typescript/components}/Modal.js +2 -2
  71. package/react/{components → app-typescript/components}/Navigation/BottomNav.js +4 -1
  72. package/react/{components → app-typescript/components}/Navigation/QuickNavBar.js +2 -1
  73. package/react/{components → app-typescript/components}/Navigation/SideBarMenu.js +3 -1
  74. package/react/{components → app-typescript/components}/SearchBar.js +1 -0
  75. package/react/{components → app-typescript/components}/TabList.js +2 -1
  76. package/react/{components → app-typescript/components}/TagInput.js +1 -1
  77. package/react/{components → app-typescript/components}/TreeSelect/TreeSelect.d.ts +3 -2
  78. package/react/{components → app-typescript/components}/TreeSelect/TreeSelect.js +81 -73
  79. package/react/app-typescript/components/WithPortal.d.ts +14 -0
  80. package/react/app-typescript/components/WithPortal.js +69 -0
  81. package/react/{components → app-typescript/components}/avatar/avatar.js +2 -1
  82. package/react/examples/pages/playgrounds/dummy-data/items.d.ts +16 -0
  83. package/react/examples/pages/playgrounds/dummy-data/items.js +95 -0
  84. package/react/examples/pages/playgrounds/react-playgrounds/CoreLayout.d.ts +51 -0
  85. package/react/examples/pages/playgrounds/react-playgrounds/CoreLayout.js +454 -0
  86. package/react/examples/pages/playgrounds/react-playgrounds/EditorTest.d.ts +27 -0
  87. package/react/examples/pages/playgrounds/react-playgrounds/EditorTest.js +256 -0
  88. package/react/examples/pages/playgrounds/react-playgrounds/FirstPlayground.d.ts +19 -0
  89. package/react/examples/pages/playgrounds/react-playgrounds/FirstPlayground.js +160 -0
  90. package/react/examples/pages/playgrounds/react-playgrounds/Index.d.ts +11 -0
  91. package/react/examples/pages/playgrounds/react-playgrounds/Index.js +25 -0
  92. package/react/examples/pages/playgrounds/react-playgrounds/Multiedit.d.ts +36 -0
  93. package/react/examples/pages/playgrounds/react-playgrounds/Multiedit.js +200 -0
  94. package/react/examples/pages/playgrounds/react-playgrounds/PageLayoutTest.d.ts +22 -0
  95. package/react/examples/pages/playgrounds/react-playgrounds/PageLayoutTest.js +134 -0
  96. package/react/examples/pages/playgrounds/react-playgrounds/PersonalProfile.d.ts +40 -0
  97. package/react/examples/pages/playgrounds/react-playgrounds/PersonalProfile.js +350 -0
  98. package/react/examples/pages/playgrounds/react-playgrounds/RundownEditor.d.ts +32 -0
  99. package/react/examples/pages/playgrounds/react-playgrounds/RundownEditor.js +267 -0
  100. package/react/examples/pages/playgrounds/react-playgrounds/Rundowns.d.ts +39 -0
  101. package/react/examples/pages/playgrounds/react-playgrounds/Rundowns.js +558 -0
  102. package/react/examples/pages/playgrounds/react-playgrounds/SamsPlayground.d.ts +24 -0
  103. package/react/examples/pages/playgrounds/react-playgrounds/SamsPlayground.js +241 -0
  104. package/react/examples/pages/playgrounds/react-playgrounds/TestGround.d.ts +27 -0
  105. package/react/examples/pages/playgrounds/react-playgrounds/TestGround.js +508 -0
  106. package/react/examples/pages/playgrounds/react-playgrounds/UiPlayground.d.ts +24 -0
  107. package/react/examples/pages/playgrounds/react-playgrounds/UiPlayground.js +239 -0
  108. package/react/examples/pages/playgrounds/react-playgrounds/components/AuthoringContainer.d.ts +11 -0
  109. package/react/examples/pages/playgrounds/react-playgrounds/components/AuthoringContainer.js +64 -0
  110. package/react/examples/pages/playgrounds/react-playgrounds/components/ContentSplitter.d.ts +10 -0
  111. package/react/examples/pages/playgrounds/react-playgrounds/components/ContentSplitter.js +62 -0
  112. package/react/examples/pages/playgrounds/react-playgrounds/components/GraphicButton.d.ts +14 -0
  113. package/react/examples/pages/playgrounds/react-playgrounds/components/GraphicButton.js +65 -0
  114. package/react/examples/pages/playgrounds/react-playgrounds/components/GraphicButtonsGroup.d.ts +8 -0
  115. package/react/examples/pages/playgrounds/react-playgrounds/components/GraphicButtonsGroup.js +53 -0
  116. package/react/examples/pages/playgrounds/react-playgrounds/components/HeaderPanel.d.ts +8 -0
  117. package/react/examples/pages/playgrounds/react-playgrounds/components/HeaderPanel.js +53 -0
  118. package/react/examples/pages/playgrounds/react-playgrounds/components/Index.d.ts +19 -0
  119. package/react/examples/pages/playgrounds/react-playgrounds/components/Index.js +41 -0
  120. package/react/examples/pages/playgrounds/react-playgrounds/components/Layout.d.ts +8 -0
  121. package/react/examples/pages/playgrounds/react-playgrounds/components/Layout.js +40 -0
  122. package/react/examples/pages/playgrounds/react-playgrounds/components/LayoutContainer.d.ts +8 -0
  123. package/react/examples/pages/playgrounds/react-playgrounds/components/LayoutContainer.js +53 -0
  124. package/react/examples/pages/playgrounds/react-playgrounds/components/LeftPanel.d.ts +9 -0
  125. package/react/examples/pages/playgrounds/react-playgrounds/components/LeftPanel.js +53 -0
  126. package/react/examples/pages/playgrounds/react-playgrounds/components/MainPanel.d.ts +10 -0
  127. package/react/examples/pages/playgrounds/react-playgrounds/components/MainPanel.js +63 -0
  128. package/react/examples/pages/playgrounds/react-playgrounds/components/OverlayPanel.d.ts +8 -0
  129. package/react/examples/pages/playgrounds/react-playgrounds/components/OverlayPanel.js +55 -0
  130. package/react/examples/pages/playgrounds/react-playgrounds/components/Panel.d.ts +10 -0
  131. package/react/examples/pages/playgrounds/react-playgrounds/components/Panel.js +63 -0
  132. package/react/examples/pages/playgrounds/react-playgrounds/components/PanelContent.d.ts +8 -0
  133. package/react/examples/pages/playgrounds/react-playgrounds/components/PanelContent.js +53 -0
  134. package/react/examples/pages/playgrounds/react-playgrounds/components/PanelContentBlock.d.ts +11 -0
  135. package/react/examples/pages/playgrounds/react-playgrounds/components/PanelContentBlock.js +63 -0
  136. package/react/examples/pages/playgrounds/react-playgrounds/components/PanelFooter.d.ts +8 -0
  137. package/react/examples/pages/playgrounds/react-playgrounds/components/PanelFooter.js +54 -0
  138. package/react/examples/pages/playgrounds/react-playgrounds/components/PanelHeader.d.ts +12 -0
  139. package/react/examples/pages/playgrounds/react-playgrounds/components/PanelHeader.js +63 -0
  140. package/react/examples/pages/playgrounds/react-playgrounds/components/RightPanel.d.ts +9 -0
  141. package/react/examples/pages/playgrounds/react-playgrounds/components/RightPanel.js +53 -0
  142. package/react/examples/pages/playgrounds/react-playgrounds/components/SearchBar.d.ts +23 -0
  143. package/react/examples/pages/playgrounds/react-playgrounds/components/SearchBar.js +92 -0
  144. package/react/examples/pages/playgrounds/react-playgrounds/components/SidebarMenu.d.ts +20 -0
  145. package/react/examples/pages/playgrounds/react-playgrounds/components/SidebarMenu.js +83 -0
  146. package/react/examples/pages/playgrounds/react-playgrounds/components/SubNav.d.ts +9 -0
  147. package/react/examples/pages/playgrounds/react-playgrounds/components/SubNav.js +60 -0
  148. package/tsconfig.json +5 -1
  149. /package/dist/playgrounds/dummy-data/{items.js → items.ts} +0 -0
  150. /package/examples/pages/playgrounds/dummy-data/{items.js → items.ts} +0 -0
  151. /package/react/{components → app-typescript/components}/Alert.d.ts +0 -0
  152. /package/react/{components → app-typescript/components}/Alert.js +0 -0
  153. /package/react/{components → app-typescript/components}/Autocomplete.d.ts +0 -0
  154. /package/react/{components → app-typescript/components}/Badge.d.ts +0 -0
  155. /package/react/{components → app-typescript/components}/Button.d.ts +0 -0
  156. /package/react/{components → app-typescript/components}/Button.js +0 -0
  157. /package/react/{components → app-typescript/components}/ButtonGroup.d.ts +0 -0
  158. /package/react/{components → app-typescript/components}/ButtonGroup.js +0 -0
  159. /package/react/{components → app-typescript/components}/Carousel.d.ts +0 -0
  160. /package/react/{components → app-typescript/components}/Carousel.js +0 -0
  161. /package/react/{components → app-typescript/components}/CheckButtonGroup.d.ts +0 -0
  162. /package/react/{components → app-typescript/components}/CheckButtonGroup.js +0 -0
  163. /package/react/{components → app-typescript/components}/CheckGroup.d.ts +0 -0
  164. /package/react/{components → app-typescript/components}/CheckGroup.js +0 -0
  165. /package/react/{components → app-typescript/components}/Checkbox.d.ts +0 -0
  166. /package/react/{components → app-typescript/components}/Checkbox.js +0 -0
  167. /package/react/{components → app-typescript/components}/CheckboxButton.d.ts +0 -0
  168. /package/react/{components → app-typescript/components}/CheckboxButton.js +0 -0
  169. /package/react/{components → app-typescript/components}/ContentDivider.d.ts +0 -0
  170. /package/react/{components → app-typescript/components}/ContentDivider.js +0 -0
  171. /package/react/{components → app-typescript/components}/CreateButton.d.ts +0 -0
  172. /package/react/{components → app-typescript/components}/CreateButton.js +0 -0
  173. /package/react/{components → app-typescript/components}/DatePicker.d.ts +0 -0
  174. /package/react/{components → app-typescript/components}/DatePicker.js +0 -0
  175. /package/react/{components → app-typescript/components}/Divider.d.ts +0 -0
  176. /package/react/{components → app-typescript/components}/Divider.js +0 -0
  177. /package/react/{components → app-typescript/components}/DonutChart.d.ts +0 -0
  178. /package/react/{components → app-typescript/components}/DonutChart.js +0 -0
  179. /package/react/{components → app-typescript/components}/DragHandle.d.ts +0 -0
  180. /package/react/{components → app-typescript/components}/DragHandle.js +0 -0
  181. /package/react/{components → app-typescript/components}/DropZone.d.ts +0 -0
  182. /package/react/{components → app-typescript/components}/DropZone.js +0 -0
  183. /package/react/{components → app-typescript/components}/Dropdown.d.ts +0 -0
  184. /package/react/{components → app-typescript/components}/DropdownFirst.d.ts +0 -0
  185. /package/react/{components → app-typescript/components}/DurationInput.d.ts +0 -0
  186. /package/react/{components → app-typescript/components}/EmptyState.d.ts +0 -0
  187. /package/react/{components → app-typescript/components}/Form/FormGroup.d.ts +0 -0
  188. /package/react/{components → app-typescript/components}/Form/FormGroup.js +0 -0
  189. /package/react/{components → app-typescript/components}/Form/FormItem.d.ts +0 -0
  190. /package/react/{components → app-typescript/components}/Form/FormItem.js +0 -0
  191. /package/react/{components → app-typescript/components}/Form/FormLabel.d.ts +0 -0
  192. /package/react/{components → app-typescript/components}/Form/FormLabel.js +0 -0
  193. /package/react/{components → app-typescript/components}/Form/FormRow.d.ts +0 -0
  194. /package/react/{components → app-typescript/components}/Form/FormRow.js +0 -0
  195. /package/react/{components → app-typescript/components}/Form/FormRowNew.d.ts +0 -0
  196. /package/react/{components → app-typescript/components}/Form/FormRowNew.js +0 -0
  197. /package/react/{components → app-typescript/components}/Form/FormText.d.ts +0 -0
  198. /package/react/{components → app-typescript/components}/Form/FormText.js +0 -0
  199. /package/react/{components → app-typescript/components}/Form/InputBase.d.ts +0 -0
  200. /package/react/{components → app-typescript/components}/Form/InputBase.js +0 -0
  201. /package/react/{components → app-typescript/components}/Form/InputNew.d.ts +0 -0
  202. /package/react/{components → app-typescript/components}/Form/InputNew.js +0 -0
  203. /package/react/{components → app-typescript/components}/Form/InputWrapper.d.ts +0 -0
  204. /package/react/{components → app-typescript/components}/Form/InputWrapper.js +0 -0
  205. /package/react/{components → app-typescript/components}/Form/index.d.ts +0 -0
  206. /package/react/{components → app-typescript/components}/Form/index.js +0 -0
  207. /package/react/{components → app-typescript/components}/FormLabel.d.ts +0 -0
  208. /package/react/{components → app-typescript/components}/FormLabel.js +0 -0
  209. /package/react/{components → app-typescript/components}/GridItem.d.ts +0 -0
  210. /package/react/{components → app-typescript/components}/GridItem.js +0 -0
  211. /package/react/{components → app-typescript/components}/GridList.d.ts +0 -0
  212. /package/react/{components → app-typescript/components}/GridList.js +0 -0
  213. /package/react/{components → app-typescript/components}/HeadingText.d.ts +0 -0
  214. /package/react/{components → app-typescript/components}/HeadingText.js +0 -0
  215. /package/react/{components → app-typescript/components}/HelloWorld.d.ts +0 -0
  216. /package/react/{components → app-typescript/components}/HelloWorld.js +0 -0
  217. /package/react/{components → app-typescript/components}/Icon.d.ts +0 -0
  218. /package/react/{components → app-typescript/components}/Icon.js +0 -0
  219. /package/react/{components → app-typescript/components}/IconButton.d.ts +0 -0
  220. /package/react/{components → app-typescript/components}/IconButton.js +0 -0
  221. /package/react/{components → app-typescript/components}/IconLabel.d.ts +0 -0
  222. /package/react/{components → app-typescript/components}/IconLabel.js +0 -0
  223. /package/react/{components → app-typescript/components}/IconPicker.d.ts +0 -0
  224. /package/react/{components → app-typescript/components}/IconPicker.js +0 -0
  225. /package/react/{components → app-typescript/components}/Input.d.ts +0 -0
  226. /package/react/{components → app-typescript/components}/Input.js +0 -0
  227. /package/react/{components → app-typescript/components}/Label.d.ts +0 -0
  228. /package/react/{components → app-typescript/components}/Label.js +0 -0
  229. /package/react/{components → app-typescript/components}/Layouts/AuthorinInnerSideBar.d.ts +0 -0
  230. /package/react/{components → app-typescript/components}/Layouts/AuthorinInnerSideBar.js +0 -0
  231. /package/react/{components → app-typescript/components}/Layouts/AuthoringContainer.d.ts +0 -0
  232. /package/react/{components → app-typescript/components}/Layouts/AuthoringContainer.js +0 -0
  233. /package/react/{components → app-typescript/components}/Layouts/AuthoringFrame.d.ts +0 -0
  234. /package/react/{components → app-typescript/components}/Layouts/AuthoringFrame.js +0 -0
  235. /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameContainer.d.ts +0 -0
  236. /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameContainer.js +0 -0
  237. /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameLeftBar.d.ts +0 -0
  238. /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameLeftBar.js +0 -0
  239. /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameMain.d.ts +0 -0
  240. /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameMain.js +0 -0
  241. /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameNavBar.d.ts +0 -0
  242. /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameNavBar.js +0 -0
  243. /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameOverlay.d.ts +0 -0
  244. /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameOverlay.js +0 -0
  245. /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameRightBar.d.ts +0 -0
  246. /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameRightBar.js +0 -0
  247. /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameSidePanel.d.ts +0 -0
  248. /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameSidePanel.js +0 -0
  249. /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameSidePanelOverlay.d.ts +0 -0
  250. /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameSidePanelOverlay.js +0 -0
  251. /package/react/{components → app-typescript/components}/Layouts/AuthoringInnerBody.d.ts +0 -0
  252. /package/react/{components → app-typescript/components}/Layouts/AuthoringInnerBody.js +0 -0
  253. /package/react/{components → app-typescript/components}/Layouts/AuthoringInnerHeader.d.ts +0 -0
  254. /package/react/{components → app-typescript/components}/Layouts/AuthoringInnerHeader.js +0 -0
  255. /package/react/{components → app-typescript/components}/Layouts/AuthoringMain.d.ts +0 -0
  256. /package/react/{components → app-typescript/components}/Layouts/AuthoringMain.js +0 -0
  257. /package/react/{components → app-typescript/components}/Layouts/AuthoringMainContainer.d.ts +0 -0
  258. /package/react/{components → app-typescript/components}/Layouts/AuthoringMainContainer.js +0 -0
  259. /package/react/{components → app-typescript/components}/Layouts/AuthoringMainContent.d.ts +0 -0
  260. /package/react/{components → app-typescript/components}/Layouts/AuthoringMainContent.js +0 -0
  261. /package/react/{components → app-typescript/components}/Layouts/AuthoringMainToolBar.d.ts +0 -0
  262. /package/react/{components → app-typescript/components}/Layouts/AuthoringMainToolBar.js +0 -0
  263. /package/react/{components → app-typescript/components}/Layouts/BottomBarAction.d.ts +0 -0
  264. /package/react/{components → app-typescript/components}/Layouts/BottomBarAction.js +0 -0
  265. /package/react/{components → app-typescript/components}/Layouts/Container.d.ts +0 -0
  266. /package/react/{components → app-typescript/components}/Layouts/Container.js +0 -0
  267. /package/react/{components → app-typescript/components}/Layouts/ContentSplitter.d.ts +0 -0
  268. /package/react/{components → app-typescript/components}/Layouts/ContentSplitter.js +0 -0
  269. /package/react/{components → app-typescript/components}/Layouts/CoreLayout.d.ts +0 -0
  270. /package/react/{components → app-typescript/components}/Layouts/CoreLayout.js +0 -0
  271. /package/react/{components → app-typescript/components}/Layouts/CoreLayoutContainer.d.ts +0 -0
  272. /package/react/{components → app-typescript/components}/Layouts/CoreLayoutContainer.js +0 -0
  273. /package/react/{components → app-typescript/components}/Layouts/CoreLayoutFooter.d.ts +0 -0
  274. /package/react/{components → app-typescript/components}/Layouts/CoreLayoutFooter.js +0 -0
  275. /package/react/{components → app-typescript/components}/Layouts/CoreLayoutMain.d.ts +0 -0
  276. /package/react/{components → app-typescript/components}/Layouts/CoreLayoutMain.js +0 -0
  277. /package/react/{components → app-typescript/components}/Layouts/CoreLayoutOverlay.d.ts +0 -0
  278. /package/react/{components → app-typescript/components}/Layouts/CoreLayoutOverlay.js +0 -0
  279. /package/react/{components → app-typescript/components}/Layouts/CoreLayoutSlideInMenu.d.ts +0 -0
  280. /package/react/{components → app-typescript/components}/Layouts/CoreLayoutSlideInMenu.js +0 -0
  281. /package/react/{components → app-typescript/components}/Layouts/CoreLayoutTopMenu.d.ts +0 -0
  282. /package/react/{components → app-typescript/components}/Layouts/CoreLayoutTopMenu.js +0 -0
  283. /package/react/{components → app-typescript/components}/Layouts/HamburgerButton.d.ts +0 -0
  284. /package/react/{components → app-typescript/components}/Layouts/HamburgerButton.js +0 -0
  285. /package/react/{components → app-typescript/components}/Layouts/HeaderPanel.d.ts +0 -0
  286. /package/react/{components → app-typescript/components}/Layouts/HeaderPanel.js +0 -0
  287. /package/react/{components → app-typescript/components}/Layouts/Layout.d.ts +0 -0
  288. /package/react/{components → app-typescript/components}/Layouts/Layout.js +0 -0
  289. /package/react/{components → app-typescript/components}/Layouts/LayoutContainer.d.ts +0 -0
  290. /package/react/{components → app-typescript/components}/Layouts/LayoutContainer.js +0 -0
  291. /package/react/{components → app-typescript/components}/Layouts/LeftPanel.d.ts +0 -0
  292. /package/react/{components → app-typescript/components}/Layouts/LeftPanel.js +0 -0
  293. /package/react/{components → app-typescript/components}/Layouts/MainMenu.d.ts +0 -0
  294. /package/react/{components → app-typescript/components}/Layouts/MainMenu.js +0 -0
  295. /package/react/{components → app-typescript/components}/Layouts/MainPanel.d.ts +0 -0
  296. /package/react/{components → app-typescript/components}/Layouts/MainPanel.js +0 -0
  297. /package/react/{components → app-typescript/components}/Layouts/NotificationPanel.d.ts +0 -0
  298. /package/react/{components → app-typescript/components}/Layouts/NotificationPanel.js +0 -0
  299. /package/react/{components → app-typescript/components}/Layouts/OverlayPanel.d.ts +0 -0
  300. /package/react/{components → app-typescript/components}/Layouts/OverlayPanel.js +0 -0
  301. /package/react/{components → app-typescript/components}/Layouts/PageLayout.d.ts +0 -0
  302. /package/react/{components → app-typescript/components}/Layouts/PageLayout.js +0 -0
  303. /package/react/{components → app-typescript/components}/Layouts/Panel.d.ts +0 -0
  304. /package/react/{components → app-typescript/components}/Layouts/Panel.js +0 -0
  305. /package/react/{components → app-typescript/components}/Layouts/RightPanel.d.ts +0 -0
  306. /package/react/{components → app-typescript/components}/Layouts/RightPanel.js +0 -0
  307. /package/react/{components → app-typescript/components}/Layouts/index.d.ts +0 -0
  308. /package/react/{components → app-typescript/components}/Layouts/index.js +0 -0
  309. /package/react/{components → app-typescript/components}/LeftMenu.d.ts +0 -0
  310. /package/react/{components → app-typescript/components}/LeftMenu.js +0 -0
  311. /package/react/{components → app-typescript/components}/ListItemLoader.d.ts +0 -0
  312. /package/react/{components → app-typescript/components}/ListItemLoader.js +0 -0
  313. /package/react/{components → app-typescript/components}/Lists/BoxedList.d.ts +0 -0
  314. /package/react/{components → app-typescript/components}/Lists/BoxedList.js +0 -0
  315. /package/react/{components → app-typescript/components}/Lists/ContentList.d.ts +0 -0
  316. /package/react/{components → app-typescript/components}/Lists/SimpleList.d.ts +0 -0
  317. /package/react/{components → app-typescript/components}/Lists/SimpleList.js +0 -0
  318. /package/react/{components → app-typescript/components}/Lists/TableList.d.ts +0 -0
  319. /package/react/{components → app-typescript/components}/Lists/TableList.js +0 -0
  320. /package/react/{components → app-typescript/components}/Lists/index.d.ts +0 -0
  321. /package/react/{components → app-typescript/components}/Lists/index.js +0 -0
  322. /package/react/{components → app-typescript/components}/Loader.d.ts +0 -0
  323. /package/react/{components → app-typescript/components}/Loader.js +0 -0
  324. /package/react/{components → app-typescript/components}/Menu.d.ts +0 -0
  325. /package/react/{components → app-typescript/components}/Menu.js +0 -0
  326. /package/react/{components → app-typescript/components}/Modal.d.ts +0 -0
  327. /package/react/{components → app-typescript/components}/MultiSelect.d.ts +0 -0
  328. /package/react/{components → app-typescript/components}/MultiSelect.js +0 -0
  329. /package/react/{components → app-typescript/components}/NavButton.d.ts +0 -0
  330. /package/react/{components → app-typescript/components}/NavButton.js +0 -0
  331. /package/react/{components → app-typescript/components}/Navigation/BottomNav.d.ts +0 -0
  332. /package/react/{components → app-typescript/components}/Navigation/QuickNavBar.d.ts +0 -0
  333. /package/react/{components → app-typescript/components}/Navigation/SideBarMenu.d.ts +0 -0
  334. /package/react/{components → app-typescript/components}/Navigation/SideBarTabs.d.ts +0 -0
  335. /package/react/{components → app-typescript/components}/Navigation/SideBarTabs.js +0 -0
  336. /package/react/{components → app-typescript/components}/Navigation/index.d.ts +0 -0
  337. /package/react/{components → app-typescript/components}/Navigation/index.js +0 -0
  338. /package/react/{components → app-typescript/components}/Popover.d.ts +0 -0
  339. /package/react/{components → app-typescript/components}/Popover.js +0 -0
  340. /package/react/{components → app-typescript/components}/PropsList.d.ts +0 -0
  341. /package/react/{components → app-typescript/components}/PropsList.js +0 -0
  342. /package/react/{components → app-typescript/components}/RadioButtonGroup.d.ts +0 -0
  343. /package/react/{components → app-typescript/components}/RadioButtonGroup.js +0 -0
  344. /package/react/{components → app-typescript/components}/RadioGroup.d.ts +0 -0
  345. /package/react/{components → app-typescript/components}/RadioGroup.js +0 -0
  346. /package/react/{components → app-typescript/components}/ResizablePanels.d.ts +0 -0
  347. /package/react/{components → app-typescript/components}/ResizablePanels.js +0 -0
  348. /package/react/{components → app-typescript/components}/ResizeObserverComponent.d.ts +0 -0
  349. /package/react/{components → app-typescript/components}/ResizeObserverComponent.js +0 -0
  350. /package/react/{components → app-typescript/components}/Rotate.d.ts +0 -0
  351. /package/react/{components → app-typescript/components}/Rotate.js +0 -0
  352. /package/react/{components → app-typescript/components}/SearchBar.d.ts +0 -0
  353. /package/react/{components → app-typescript/components}/Select.d.ts +0 -0
  354. /package/react/{components → app-typescript/components}/Select.js +0 -0
  355. /package/react/{components → app-typescript/components}/SelectGrid.d.ts +0 -0
  356. /package/react/{components → app-typescript/components}/SelectGrid.js +0 -0
  357. /package/react/{components → app-typescript/components}/SelectPreview.d.ts +0 -0
  358. /package/react/{components → app-typescript/components}/SelectPreview.js +0 -0
  359. /package/react/{components → app-typescript/components}/SelectWithTemplate.d.ts +0 -0
  360. /package/react/{components → app-typescript/components}/SelectWithTemplate.js +0 -0
  361. /package/react/{components → app-typescript/components}/ShowPopup.d.ts +0 -0
  362. /package/react/{components → app-typescript/components}/ShowPopup.js +0 -0
  363. /package/react/{components → app-typescript/components}/SingleAndDoubleClickFunction.d.ts +0 -0
  364. /package/react/{components → app-typescript/components}/SingleAndDoubleClickFunction.js +0 -0
  365. /package/react/{components → app-typescript/components}/Skeleton.d.ts +0 -0
  366. /package/react/{components → app-typescript/components}/Skeleton.js +0 -0
  367. /package/react/{components → app-typescript/components}/SlidingToolbar.d.ts +0 -0
  368. /package/react/{components → app-typescript/components}/SlidingToolbar.js +0 -0
  369. /package/react/{components → app-typescript/components}/Spacer.d.ts +0 -0
  370. /package/react/{components → app-typescript/components}/Spacer.js +0 -0
  371. /package/react/{components → app-typescript/components}/Spinner.d.ts +0 -0
  372. /package/react/{components → app-typescript/components}/Spinner.js +0 -0
  373. /package/react/{components → app-typescript/components}/StrechBar.d.ts +0 -0
  374. /package/react/{components → app-typescript/components}/StrechBar.js +0 -0
  375. /package/react/{components → app-typescript/components}/SubNav.d.ts +0 -0
  376. /package/react/{components → app-typescript/components}/SubNav.js +0 -0
  377. /package/react/{components → app-typescript/components}/Switch.d.ts +0 -0
  378. /package/react/{components → app-typescript/components}/Switch.js +0 -0
  379. /package/react/{components → app-typescript/components}/SwitchGroup.d.ts +0 -0
  380. /package/react/{components → app-typescript/components}/SwitchGroup.js +0 -0
  381. /package/react/{components → app-typescript/components}/TabCustom.d.ts +0 -0
  382. /package/react/{components → app-typescript/components}/TabCustom.js +0 -0
  383. /package/react/{components → app-typescript/components}/TabList.d.ts +0 -0
  384. /package/react/{components → app-typescript/components}/Tag.d.ts +0 -0
  385. /package/react/{components → app-typescript/components}/Tag.js +0 -0
  386. /package/react/{components → app-typescript/components}/TagInput.d.ts +0 -0
  387. /package/react/{components → app-typescript/components}/Text/Heading.d.ts +0 -0
  388. /package/react/{components → app-typescript/components}/Text/Heading.js +0 -0
  389. /package/react/{components → app-typescript/components}/Text/Text.d.ts +0 -0
  390. /package/react/{components → app-typescript/components}/Text/Text.js +0 -0
  391. /package/react/{components → app-typescript/components}/Text/Time.d.ts +0 -0
  392. /package/react/{components → app-typescript/components}/Text/Time.js +0 -0
  393. /package/react/{components → app-typescript/components}/ThemeSelector.d.ts +0 -0
  394. /package/react/{components → app-typescript/components}/ThemeSelector.js +0 -0
  395. /package/react/{components → app-typescript/components}/TimePicker.d.ts +0 -0
  396. /package/react/{components → app-typescript/components}/TimePicker.js +0 -0
  397. /package/react/{components → app-typescript/components}/Toast.d.ts +0 -0
  398. /package/react/{components → app-typescript/components}/Toast.js +0 -0
  399. /package/react/{components → app-typescript/components}/ToastMessage.d.ts +0 -0
  400. /package/react/{components → app-typescript/components}/ToastMessage.js +0 -0
  401. /package/react/{components → app-typescript/components}/ToastText.d.ts +0 -0
  402. /package/react/{components → app-typescript/components}/ToastText.js +0 -0
  403. /package/react/{components → app-typescript/components}/ToastWrapper.d.ts +0 -0
  404. /package/react/{components → app-typescript/components}/ToastWrapper.js +0 -0
  405. /package/react/{components → app-typescript/components}/Togglebox.d.ts +0 -0
  406. /package/react/{components → app-typescript/components}/Togglebox.js +0 -0
  407. /package/react/{components → app-typescript/components}/Tooltip.d.ts +0 -0
  408. /package/react/{components → app-typescript/components}/Tooltip.js +0 -0
  409. /package/react/{components → app-typescript/components}/TreeSelect/KeyboardNavigation.d.ts +0 -0
  410. /package/react/{components → app-typescript/components}/TreeSelect/KeyboardNavigation.js +0 -0
  411. /package/react/{components → app-typescript/components}/TreeSelect/TreeSelectItem.d.ts +0 -0
  412. /package/react/{components → app-typescript/components}/TreeSelect/TreeSelectItem.js +0 -0
  413. /package/react/{components → app-typescript/components}/TreeSelect/TreeSelectPill.d.ts +0 -0
  414. /package/react/{components → app-typescript/components}/TreeSelect/TreeSelectPill.js +0 -0
  415. /package/react/{components → app-typescript/components}/WithPagination.d.ts +0 -0
  416. /package/react/{components → app-typescript/components}/WithPagination.js +0 -0
  417. /package/react/{components → app-typescript/components}/WithPopover.d.ts +0 -0
  418. /package/react/{components → app-typescript/components}/WithPopover.js +0 -0
  419. /package/react/{components → app-typescript/components}/WithSizeObserver.d.ts +0 -0
  420. /package/react/{components → app-typescript/components}/WithSizeObserver.js +0 -0
  421. /package/react/{components → app-typescript/components}/_Positioner.d.ts +0 -0
  422. /package/react/{components → app-typescript/components}/_Positioner.js +0 -0
  423. /package/react/{components → app-typescript/components}/avatar/avatar-action-add.d.ts +0 -0
  424. /package/react/{components → app-typescript/components}/avatar/avatar-action-add.js +0 -0
  425. /package/react/{components → app-typescript/components}/avatar/avatar-group.d.ts +0 -0
  426. /package/react/{components → app-typescript/components}/avatar/avatar-group.js +0 -0
  427. /package/react/{components → app-typescript/components}/avatar/avatar-image.d.ts +0 -0
  428. /package/react/{components → app-typescript/components}/avatar/avatar-image.js +0 -0
  429. /package/react/{components → app-typescript/components}/avatar/avatar-number.d.ts +0 -0
  430. /package/react/{components → app-typescript/components}/avatar/avatar-number.js +0 -0
  431. /package/react/{components → app-typescript/components}/avatar/avatar-placeholder.d.ts +0 -0
  432. /package/react/{components → app-typescript/components}/avatar/avatar-placeholder.js +0 -0
  433. /package/react/{components → app-typescript/components}/avatar/avatar-text.d.ts +0 -0
  434. /package/react/{components → app-typescript/components}/avatar/avatar-text.js +0 -0
  435. /package/react/{components → app-typescript/components}/avatar/avatar-wrapper.d.ts +0 -0
  436. /package/react/{components → app-typescript/components}/avatar/avatar-wrapper.js +0 -0
  437. /package/react/{components → app-typescript/components}/avatar/avatar.d.ts +0 -0
  438. /package/react/{components → app-typescript/components}/avatar/interfaces.d.ts +0 -0
  439. /package/react/{components → app-typescript/components}/avatar/interfaces.js +0 -0
  440. /package/react/{helpers.d.ts → app-typescript/helpers.d.ts} +0 -0
  441. /package/react/{helpers.js → app-typescript/helpers.js} +0 -0
  442. /package/react/{index.d.ts → app-typescript/index.d.ts} +0 -0
  443. /package/react/{index.js → app-typescript/index.js} +0 -0
@@ -1,6 +1,5 @@
1
1
  import * as React from 'react';
2
- import * as Components from './components/Index';
3
- import { ButtonGroup, Button, NavButton, SubNav, Dropdown, Input, IconButton, Divider, Tooltip, Select, Option, Switch, Icon, AvatarWrapper, AvatarContentImage, AvatarContentText, Text, EmptyState, Alert, SlidingToolbar, TabLabel, Tabs, Heading } from '../../../../app-typescript/index';
2
+ import { ButtonGroup, Button, NavButton, SubNav, Dropdown, Input, IconButton, Divider, Tooltip, Select, Option, Switch, Icon, AvatarWrapper, AvatarContentText, Text, EmptyState, Heading } from '../../../../app-typescript/index';
4
3
  import * as Layout from '../../../../app-typescript/components/Layouts';
5
4
  import * as Form from '../../../../app-typescript/components/Form';
6
5
  import * as Nav from '../../../../app-typescript/components/Navigation';
@@ -45,7 +44,7 @@ export class EditorTest extends React.Component<IProps, IState> {
45
44
  rightPanelOpen: false,
46
45
  rightPanelPinned: false,
47
46
  sideOverlayOpen: false,
48
- activeTab: null,
47
+ activeTab: '1',
49
48
 
50
49
  }
51
50
  this.handleTheme = this.handleTheme.bind(this);
@@ -68,222 +67,256 @@ export class EditorTest extends React.Component<IProps, IState> {
68
67
  render() {
69
68
  return (
70
69
  <Layout.AuthoringFrame
71
- header={(
72
- <SubNav zIndex={2}>
73
- <ButtonGroup align='end'>
74
- <Button
70
+ header={(
71
+ <SubNav zIndex={2}>
72
+ <ButtonGroup align='end'>
73
+ <Button
75
74
  text="Open pinned"
76
75
  style="hollow"
77
76
  onClick={() => this.setState({'rightPanelOpen': !this.state.rightPanelOpen})}
78
77
  />
79
- <Divider size="mini" />
80
- <ButtonGroup subgroup={true} spaces="no-space">
81
- <Dropdown
82
- items={[
83
- {
84
- type: 'group', label: 'Chose a theme', items: [
85
- 'divider',
86
- { label: 'Light', onSelect: () => this.handleTheme('light-ui')},
87
- { label: 'Dark', onSelect: () => this.handleTheme('dark-ui')},
88
- ]
89
- },
90
- ]}>
91
- <NavButton type='default' icon='adjust' onClick={()=> false} />
92
- </Dropdown>
93
- <Tooltip text='Minimize' flow='left'>
94
- <NavButton type='default' icon='minimize' iconSize='big' text='Minimize' onClick={()=> false} />
95
- </Tooltip>
96
- <Tooltip text='More actions' flow='left'>
97
- <NavButton type='default' icon='dots-vertical' text='More actions' onClick={()=> false} />
98
- </Tooltip>
99
- <Tooltip text='Send to / Publish' flow='left'>
100
- <NavButton type='highlight' icon='send-to' iconSize='big' text='Send to / Publish' onClick={()=> false} />
101
- </Tooltip>
102
- </ButtonGroup>
103
- </ButtonGroup>
104
- </SubNav>
105
- )}
106
- leftPanel={(
107
- <Nav.SideBarTabs
108
- items={[
109
- { icon: 'semantics', size: 'big', tooltip: 'Semantics', onClick: () => this.setState({'sideOverlayOpen': !this.state.sideOverlayOpen}) },
110
- { icon: 'create-list', size: 'big', tooltip: 'Create list', onClick: () => this.setState({'sideOverlayOpen': !this.state.sideOverlayOpen}) },
111
- { icon: 'picture', size: 'big', tooltip: 'Pictures', onClick: () => this.setState({'sideOverlayOpen': !this.state.sideOverlayOpen}) },
112
- { icon: 'annotation', size: 'big', tooltip: 'Annotations', onClick: () => this.setState({'sideOverlayOpen': !this.state.sideOverlayOpen}) },
113
- { icon: 'export', size: 'big', tooltip: 'Export', onClick: () => this.setState({'sideOverlayOpen': !this.state.sideOverlayOpen}) }]} />
114
- )}
115
- main={(
116
- <Layout.AuthoringMain
117
- headerPadding='medium'
118
- toolBar={(
119
- <React.Fragment>
120
- <div className="sd-editor-toolbar__content">
121
- <dl>
122
- <dt>Created</dt>
123
- <dd><time title="July 29, 2021 3:58 PM">07/29</time></dd>
124
- <dt>by</dt>
125
- <dt>Nareg Asmarian</dt>
126
- </dl>
127
- <dl>
128
- <dt>Modified</dt>
129
- <dd><time title="July 29, 2021 3:58 PM">07/29</time></dd>
130
- </dl>
131
- </div>
132
- <ButtonGroup align='end'>
133
- <IconButton icon="preview-mode" toolTipAppend={true} ariaValue="Print preview" onClick={()=> false} />
134
- <IconButton icon="adjust" ariaValue="Toogle theme" onClick={()=> false} />
135
- <IconButton icon="switches" ariaValue="Theme settings" onClick={()=> false} />
78
+ <Divider size="mini" />
79
+ <ButtonGroup subgroup={true} spaces="no-space">
80
+ <Dropdown
81
+ items={[
82
+ {
83
+ type: 'group', label: 'Chose a theme', items: [
84
+ 'divider',
85
+ { label: 'Light', onSelect: () => this.handleTheme('light-ui')},
86
+ { label: 'Dark', onSelect: () => this.handleTheme('dark-ui')},
87
+ ]
88
+ },
89
+ ]}
90
+ >
91
+ <NavButton type='default' icon='adjust' onClick={()=> false} />
92
+ </Dropdown>
93
+ <Tooltip text='Minimize' flow='left'>
94
+ <NavButton type='default' icon='minimize' iconSize='big' text='Minimize' onClick={()=> false} />
95
+ </Tooltip>
96
+ <Tooltip text='More actions' flow='left'>
97
+ <NavButton type='default' icon='dots-vertical' text='More actions' onClick={()=> false} />
98
+ </Tooltip>
99
+ <Tooltip text='Send to / Publish' flow='left'>
100
+ <NavButton type='highlight' icon='send-to' iconSize='big' text='Send to / Publish' onClick={()=> false} />
101
+ </Tooltip>
102
+ </ButtonGroup>
136
103
  </ButtonGroup>
137
- </React.Fragment>
138
- )}
139
- authoringHeader ={(
140
- <React.Fragment>
141
- <Form.FormGroup inlineLabel={true}>
142
- <Form.FormItem>
143
- <Input
144
- type='text'
145
- label='Slugline'
146
- value='This is some value'
147
- maxLength={30}
148
- error='This is error message'
149
- info='This is some hint message'
150
- required={false}
151
- disabled={false}
152
- invalid={false}
153
- onChange={(value) => {}} />
154
- </Form.FormItem>
155
- <Form.FormItem>
156
- <Input
157
- type='text'
158
- label='Slugline'
159
- value='This is some value'
160
- maxLength={30}
161
- error='This is error message'
162
- info='This is some hint message'
163
- required={false}
164
- disabled={false}
165
- invalid={false}
166
- onChange={(value) => {}} />
167
- </Form.FormItem>
168
- </Form.FormGroup>
169
- <Form.FormGroup inlineLabel={true}>
170
- <Form.FormItem>
171
- <Input
172
- type='text'
173
- label='Genre'
174
- value='This is some value'
175
- maxLength={30}
176
- error='This is error message'
177
- info='This is some hint message'
178
- required={false}
179
- disabled={false}
180
- invalid={false}
181
- onChange={(value) => {}} />
182
- </Form.FormItem>
183
- </Form.FormGroup>
184
- <Form.FormGroup marginBottom='0' inlineLabel={true}>
185
- <Form.FormItem>
186
- <Input
187
- type='text'
188
- label='Subject'
189
- value='This is some value'
190
- maxLength={30}
191
- error='This is error message'
192
- info='This is some hint message'
193
- required={true}
194
- disabled={false}
195
- invalid={false}
196
- onChange={(value) => {}} />
197
- </Form.FormItem>
198
- <Form.FormItem autoWidth={true}>
199
- <Form.FormText>Just testing:</Form.FormText>
200
- </Form.FormItem>
201
- <Form.FormItem>
202
- <Select
203
- label='Categories'
204
- labelHidden={true}
205
- value='This is some value'
206
- error='This is error message'
207
- info='This is some hint message'
208
- required={true}
209
- disabled={false}
210
- invalid={false}
211
- onChange={(value) => {}}>
212
- <Option>Option 1</Option>
213
- <Option>Option 2</Option>
214
- </Select>
215
- </Form.FormItem>
216
- <Form.FormItem autoWidth={true}>
217
- <ButtonGroup>
218
- <IconButton ariaValue="Submit" icon="picture" onClick={()=> false} />
219
- <Button text="Cancel" onClick={()=> false} type="default" style="hollow" />
220
- <Button text="Submit" onClick={()=> false} type="primary" />
221
- </ButtonGroup>
222
- </Form.FormItem>
223
- </Form.FormGroup>
224
- </React.Fragment>
104
+ </SubNav>
225
105
  )}
226
- authoringBookmarks={(
227
- <Nav.QuickNavBar
228
- scrollSpy='#scroll'
229
- offset={-300}
106
+ leftPanel={(
107
+ <Nav.SideBarTabs
230
108
  items={[
231
- { icon: 'heading-1', tooltip: 'Headline', onClick:()=> false, id: 'section1' },
232
- { icon: 'align-left', tooltip: 'Body', onClick:()=> false, id: 'section2' },
233
- { icon: 'picture', tooltip: 'Media', onClick:()=> false, id: 'section3' },
234
- { icon: 'attachment-large', tooltip: 'Attachments', onClick:()=> false, id: 'section4' }]} />
235
- )}>
236
- <div id='scroll' style={{overflow: 'scroll', height: 600}}>
237
- <div id='section1'>
238
- <Heading type='h1' className='sd-padding--5'>Section 1</Heading>
239
- <p className='sd-margin-b--3'>Maecenas sed diam eget risus varius blandit sit amet non magna. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas faucibus mollis interdum.
240
- Cras justo odio, dapibus ac facilisis in, egestas eget quam. Aenean lacinia bibendum nulla sed consectetur. Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
241
- <p className='sd-margin-b--3'>Aenean lacinia bibendum nulla sed consectetur. Etiam porta sem malesuada magna mollis euismod. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis
242
- vestibulum. Nullam quis risus eget urna mollis ornare vel eu leo. Curabitur blandit tempus porttitor. Aenean lacinia bibendum nulla sed consectetur. Morbi leo
243
- risus, porta ac consectetur ac, vestibulum at eros.</p>
244
- <p className='sd-margin-b--3'>Nullam quis risus eget urna mollis ornare vel eu leo. Maecenas sed diam eget risus varius blandit sit amet non magna. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis
245
- vestibulum. Nullam quis risus eget urna mollis ornare vel eu leo. Donec ullamcorper nulla non metus auctor fringilla. Donec id elit non mi porta gravida at eget metus. Morbi leo risus, porta ac consectetur ac,
246
- vestibulum at eros. Curabitur blandit tempus porttitor. Vestibulum id ligula porta felis euismod semper. Maecenas sed diam eget risus varius blandit sit amet non magna.</p>
247
- <p>Curabitur blandit tempus porttitor. Nullam quis risus eget urna mollis ornare vel eu leo. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla vitae elit libero, a pharetra
248
- augue. Cras mattis consectetur purus sit amet fermentum. Maecenas faucibus mollis interdum. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Vivamus
249
- sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur
250
- purus sit amet fermentum.</p>
251
- <Layout.Container gap="large" className='sd-border--medium sd-font-size--medium sd-padding--2 sd-radius--large'>
252
- <span>Curabitur blandit tempus porttitor.</span>
253
- <Button text="Test button" type="primary" onClick={()=> false} />
254
- <Button text="Test button" type="highlight" onClick={()=> false} />
255
- <ButtonGroup align="end">
256
- <Button text="Cancel" onClick={()=> false} type="default" style="hollow" />
257
- <Button text="Submit" onClick={()=> false} type="primary" />
258
- </ButtonGroup>
259
- </Layout.Container>
109
+ {icon: 'semantics', size: 'big', tooltip: 'Semantics', id: '1'},
110
+ {icon: 'create-list', size: 'big', tooltip: 'Create list', id: '2'},
111
+ {icon: 'picture', size: 'big', tooltip: 'Pictures', id: '3'},
112
+ {icon: 'annotation', size: 'big', tooltip: 'Annotations', id: '4'},
113
+ {icon: 'export', size: 'big', tooltip: 'Export', id: '5'}
114
+ ]}
115
+ activeTab={this.state.activeTab}
116
+ onActiveTabChange={(val) => {
117
+ this.setState({
118
+ activeTab: val,
119
+ })
120
+ }}
121
+ />
122
+ )}
123
+ main={(
124
+ <Layout.AuthoringMain
125
+ headerPadding='medium'
126
+ toolBar={(
127
+ <React.Fragment>
128
+ <div className="sd-editor-toolbar__content">
129
+ <dl>
130
+ <dt>Created</dt>
131
+ <dd><time title="July 29, 2021 3:58 PM">07/29</time></dd>
132
+ <dt>by</dt>
133
+ <dt>Nareg Asmarian</dt>
134
+ </dl>
135
+ <dl>
136
+ <dt>Modified</dt>
137
+ <dd><time title="July 29, 2021 3:58 PM">07/29</time></dd>
138
+ </dl>
260
139
  </div>
261
- <div id='section2'>
262
- <Heading type='h1' className='sd-padding--5'>Section 2</Heading>
263
- <p className='sd-margin-b--3'>Maecenas sed diam eget risus varius blandit sit amet non magna. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas faucibus mollis interdum.
264
- Cras justo odio, dapibus ac facilisis in, egestas eget quam. Aenean lacinia bibendum nulla sed consectetur. Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
265
- <p className='sd-margin-b--3'>Aenean lacinia bibendum nulla sed consectetur. Etiam porta sem malesuada magna mollis euismod. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis
266
- vestibulum. Nullam quis risus eget urna mollis ornare vel eu leo. Curabitur blandit tempus porttitor. Aenean lacinia bibendum nulla sed consectetur. Morbi leo
267
- risus, porta ac consectetur ac, vestibulum at eros.</p>
268
- <p className='sd-margin-b--3'>Nullam quis risus eget urna mollis ornare vel eu leo. Maecenas sed diam eget risus varius blandit sit amet non magna. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis
269
- vestibulum. Nullam quis risus eget urna mollis ornare vel eu leo. Donec ullamcorper nulla non metus auctor fringilla. Donec id elit non mi porta gravida at eget metus. Morbi leo risus, porta ac consectetur ac,
270
- vestibulum at eros. Curabitur blandit tempus porttitor. Vestibulum id ligula porta felis euismod semper. Maecenas sed diam eget risus varius blandit sit amet non magna.</p>
271
- <p>Curabitur blandit tempus porttitor. Nullam quis risus eget urna mollis ornare vel eu leo. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla vitae elit libero, a pharetra
272
- augue. Cras mattis consectetur purus sit amet fermentum. Maecenas faucibus mollis interdum. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Vivamus
273
- sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur
274
- purus sit amet fermentum.</p>
275
- <Layout.Container gap="large" className='sd-border--medium sd-font-size--medium sd-padding--2 sd-radius--large'>
276
- <span>Curabitur blandit tempus porttitor.</span>
277
- <Button text="Test button" type="primary" onClick={()=> false} />
278
- <Button text="Test button" type="highlight" onClick={()=> false} />
279
- <ButtonGroup align="end">
140
+ <ButtonGroup align='end'>
141
+ <IconButton icon="preview-mode" toolTipAppend={true} ariaValue="Print preview" onClick={()=> false} />
142
+ <IconButton icon="adjust" ariaValue="Toogle theme" onClick={()=> false} />
143
+ <IconButton icon="switches" ariaValue="Theme settings" onClick={()=> false} />
144
+ </ButtonGroup>
145
+ </React.Fragment>
146
+ )}
147
+ authoringHeader ={(
148
+ <React.Fragment>
149
+ <Form.FormGroup inlineLabel={true}>
150
+ <Form.FormItem>
151
+ <Input
152
+ type='text'
153
+ label='Slugline'
154
+ value='This is some value'
155
+ maxLength={30}
156
+ info='This is some hint message'
157
+ required={false}
158
+ disabled={false}
159
+ onChange={() => false}
160
+ />
161
+ </Form.FormItem>
162
+ <Form.FormItem>
163
+ <Input
164
+ type='text'
165
+ label='Slugline'
166
+ value='This is some value'
167
+ maxLength={30}
168
+ info='This is some hint message'
169
+ required={false}
170
+ disabled={false}
171
+ onChange={() => false}
172
+ />
173
+ </Form.FormItem>
174
+ </Form.FormGroup>
175
+ <Form.FormGroup inlineLabel={true}>
176
+ <Form.FormItem>
177
+ <Input
178
+ type='text'
179
+ label='Genre'
180
+ value='This is some value'
181
+ maxLength={30}
182
+ info='This is some hint message'
183
+ required={false}
184
+ disabled={false}
185
+ onChange={() => false}
186
+ />
187
+ </Form.FormItem>
188
+ </Form.FormGroup>
189
+ <Form.FormGroup marginBottom='0' inlineLabel={true}>
190
+ <Form.FormItem>
191
+ <Input
192
+ type='text'
193
+ label='Subject'
194
+ value='This is some value'
195
+ maxLength={30}
196
+ info='This is some hint message'
197
+ required={true}
198
+ disabled={false}
199
+ onChange={() => false}
200
+ />
201
+ </Form.FormItem>
202
+ <Form.FormItem autoWidth={true}>
203
+ <Form.FormText>Just testing:</Form.FormText>
204
+ </Form.FormItem>
205
+ <Form.FormItem>
206
+ <Select
207
+ label='Categories'
208
+ labelHidden={true}
209
+ value='This is some value'
210
+ info='This is some hint message'
211
+ required={true}
212
+ disabled={false}
213
+ onChange={() => false}
214
+ >
215
+ <Option>Option 1</Option>
216
+ <Option>Option 2</Option>
217
+ </Select>
218
+ </Form.FormItem>
219
+ <Form.FormItem autoWidth={true}>
220
+ <ButtonGroup>
221
+ <IconButton ariaValue="Submit" icon="picture" onClick={()=> false} />
280
222
  <Button text="Cancel" onClick={()=> false} type="default" style="hollow" />
281
223
  <Button text="Submit" onClick={()=> false} type="primary" />
282
224
  </ButtonGroup>
283
- </Layout.Container>
284
- </div>
285
- <div id='section3'>
286
- <Heading type='h1' className='sd-padding--5'>Section 3</Heading>
225
+ </Form.FormItem>
226
+ </Form.FormGroup>
227
+ </React.Fragment>
228
+ )}
229
+ authoringBookmarks={(
230
+ <Nav.QuickNavBar
231
+ scrollSpy='#scroll'
232
+ offset={-300}
233
+ items={[
234
+ { icon: 'heading-1', tooltip: 'Headline', onClick:()=> false, id: 'section1' },
235
+ { icon: 'align-left', tooltip: 'Body', onClick:()=> false, id: 'section2' },
236
+ { icon: 'picture', tooltip: 'Media', onClick:()=> false, id: 'section3' },
237
+ { icon: 'attachment-large', tooltip: 'Attachments', onClick:()=> false, id: 'section4' }
238
+ ]}
239
+ />
240
+ )}
241
+ >
242
+ <div id='scroll' style={{overflow: 'scroll', height: 600}}>
243
+ <div id='section1'>
244
+ <Heading type='h1' className='sd-padding--5'>Section 1</Heading>
245
+ <p className='sd-margin-b--3'>Maecenas sed diam eget risus varius blandit sit amet non magna. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas faucibus mollis interdum.
246
+ Cras justo odio, dapibus ac facilisis in, egestas eget quam. Aenean lacinia bibendum nulla sed consectetur. Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
247
+ <p className='sd-margin-b--3'>Aenean lacinia bibendum nulla sed consectetur. Etiam porta sem malesuada magna mollis euismod. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis
248
+ vestibulum. Nullam quis risus eget urna mollis ornare vel eu leo. Curabitur blandit tempus porttitor. Aenean lacinia bibendum nulla sed consectetur. Morbi leo
249
+ risus, porta ac consectetur ac, vestibulum at eros.</p>
250
+ <p className='sd-margin-b--3'>Nullam quis risus eget urna mollis ornare vel eu leo. Maecenas sed diam eget risus varius blandit sit amet non magna. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis
251
+ vestibulum. Nullam quis risus eget urna mollis ornare vel eu leo. Donec ullamcorper nulla non metus auctor fringilla. Donec id elit non mi porta gravida at eget metus. Morbi leo risus, porta ac consectetur ac,
252
+ vestibulum at eros. Curabitur blandit tempus porttitor. Vestibulum id ligula porta felis euismod semper. Maecenas sed diam eget risus varius blandit sit amet non magna.</p>
253
+ <p>Curabitur blandit tempus porttitor. Nullam quis risus eget urna mollis ornare vel eu leo. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla vitae elit libero, a pharetra
254
+ augue. Cras mattis consectetur purus sit amet fermentum. Maecenas faucibus mollis interdum. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Vivamus
255
+ sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur
256
+ purus sit amet fermentum.</p>
257
+ <Layout.Container gap="large" className='sd-border--medium sd-font-size--medium sd-padding--2 sd-radius--large'>
258
+ <span>Curabitur blandit tempus porttitor.</span>
259
+ <Button text="Test button" type="primary" onClick={()=> false} />
260
+ <Button text="Test button" type="highlight" onClick={()=> false} />
261
+ <ButtonGroup align="end">
262
+ <Button text="Cancel" onClick={()=> false} type="default" style="hollow" />
263
+ <Button text="Submit" onClick={()=> false} type="primary" />
264
+ </ButtonGroup>
265
+ </Layout.Container>
266
+ </div>
267
+
268
+ <div id='section2'>
269
+ <Heading type='h1' className='sd-padding--5'>Section 2</Heading>
270
+ <p className='sd-margin-b--3'>Maecenas sed diam eget risus varius blandit sit amet non magna. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas faucibus mollis interdum.
271
+ Cras justo odio, dapibus ac facilisis in, egestas eget quam. Aenean lacinia bibendum nulla sed consectetur. Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
272
+ <p className='sd-margin-b--3'>Aenean lacinia bibendum nulla sed consectetur. Etiam porta sem malesuada magna mollis euismod. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis
273
+ vestibulum. Nullam quis risus eget urna mollis ornare vel eu leo. Curabitur blandit tempus porttitor. Aenean lacinia bibendum nulla sed consectetur. Morbi leo
274
+ risus, porta ac consectetur ac, vestibulum at eros.</p>
275
+ <p className='sd-margin-b--3'>Nullam quis risus eget urna mollis ornare vel eu leo. Maecenas sed diam eget risus varius blandit sit amet non magna. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis
276
+ vestibulum. Nullam quis risus eget urna mollis ornare vel eu leo. Donec ullamcorper nulla non metus auctor fringilla. Donec id elit non mi porta gravida at eget metus. Morbi leo risus, porta ac consectetur ac,
277
+ vestibulum at eros. Curabitur blandit tempus porttitor. Vestibulum id ligula porta felis euismod semper. Maecenas sed diam eget risus varius blandit sit amet non magna.</p>
278
+ <p>Curabitur blandit tempus porttitor. Nullam quis risus eget urna mollis ornare vel eu leo. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla vitae elit libero, a pharetra
279
+ augue. Cras mattis consectetur purus sit amet fermentum. Maecenas faucibus mollis interdum. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Vivamus
280
+ sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur
281
+ purus sit amet fermentum.</p>
282
+ <Layout.Container gap="large" className='sd-border--medium sd-font-size--medium sd-padding--2 sd-radius--large'>
283
+ <span>Curabitur blandit tempus porttitor.</span>
284
+ <Button text="Test button" type="primary" onClick={()=> false} />
285
+ <Button text="Test button" type="highlight" onClick={()=> false} />
286
+ <ButtonGroup align="end">
287
+ <Button text="Cancel" onClick={()=> false} type="default" style="hollow" />
288
+ <Button text="Submit" onClick={()=> false} type="primary" />
289
+ </ButtonGroup>
290
+ </Layout.Container>
291
+ </div>
292
+
293
+ <div id='section3'>
294
+ <Heading type='h1' className='sd-padding--5'>Section 3</Heading>
295
+ <p className='sd-margin-b--3'>Maecenas sed diam eget risus varius blandit sit amet non magna. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas faucibus mollis interdum.
296
+ Cras justo odio, dapibus ac facilisis in, egestas eget quam. Aenean lacinia bibendum nulla sed consectetur. Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
297
+ <p className='sd-margin-b--3'>Aenean lacinia bibendum nulla sed consectetur. Etiam porta sem malesuada magna mollis euismod. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis
298
+ vestibulum. Nullam quis risus eget urna mollis ornare vel eu leo. Curabitur blandit tempus porttitor. Aenean lacinia bibendum nulla sed consectetur. Morbi leo
299
+ risus, porta ac consectetur ac, vestibulum at eros.</p>
300
+ <p className='sd-margin-b--3'>Nullam quis risus eget urna mollis ornare vel eu leo. Maecenas sed diam eget risus varius blandit sit amet non magna. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis
301
+ vestibulum. Nullam quis risus eget urna mollis ornare vel eu leo. Donec ullamcorper nulla non metus auctor fringilla. Donec id elit non mi porta gravida at eget metus. Morbi leo risus, porta ac consectetur ac,
302
+ vestibulum at eros. Curabitur blandit tempus porttitor. Vestibulum id ligula porta felis euismod semper. Maecenas sed diam eget risus varius blandit sit amet non magna.</p>
303
+ <p>Curabitur blandit tempus porttitor. Nullam quis risus eget urna mollis ornare vel eu leo. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla vitae elit libero, a pharetra
304
+ augue. Cras mattis consectetur purus sit amet fermentum. Maecenas faucibus mollis interdum. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Vivamus
305
+ sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur
306
+ purus sit amet fermentum.</p>
307
+ <Layout.Container gap="large" className='sd-border--medium sd-font-size--medium sd-padding--2 sd-radius--large'>
308
+ <span>Curabitur blandit tempus porttitor.</span>
309
+ <Button text="Test button" type="primary" onClick={()=> false} />
310
+ <Button text="Test button" type="highlight" onClick={()=> false} />
311
+ <ButtonGroup align="end">
312
+ <Button text="Cancel" onClick={()=> false} type="default" style="hollow" />
313
+ <Button text="Submit" onClick={()=> false} type="primary" />
314
+ </ButtonGroup>
315
+ </Layout.Container>
316
+ </div>
317
+
318
+ <div id='section4'>
319
+ <Heading type='h1' className='sd-padding--5'>Section 4</Heading>
287
320
  <p className='sd-margin-b--3'>Maecenas sed diam eget risus varius blandit sit amet non magna. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas faucibus mollis interdum.
288
321
  Cras justo odio, dapibus ac facilisis in, egestas eget quam. Aenean lacinia bibendum nulla sed consectetur. Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
289
322
  <p className='sd-margin-b--3'>Aenean lacinia bibendum nulla sed consectetur. Etiam porta sem malesuada magna mollis euismod. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis
@@ -305,166 +338,127 @@ export class EditorTest extends React.Component<IProps, IState> {
305
338
  <Button text="Submit" onClick={()=> false} type="primary" />
306
339
  </ButtonGroup>
307
340
  </Layout.Container>
308
- </div>
309
-
310
- <div id='section4'>
311
- <Heading type='h1' className='sd-padding--5'>Section 4</Heading>
312
- <p className='sd-margin-b--3'>Maecenas sed diam eget risus varius blandit sit amet non magna. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas faucibus mollis interdum.
313
- Cras justo odio, dapibus ac facilisis in, egestas eget quam. Aenean lacinia bibendum nulla sed consectetur. Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
314
- <p className='sd-margin-b--3'>Aenean lacinia bibendum nulla sed consectetur. Etiam porta sem malesuada magna mollis euismod. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis
315
- vestibulum. Nullam quis risus eget urna mollis ornare vel eu leo. Curabitur blandit tempus porttitor. Aenean lacinia bibendum nulla sed consectetur. Morbi leo
316
- risus, porta ac consectetur ac, vestibulum at eros.</p>
317
- <p className='sd-margin-b--3'>Nullam quis risus eget urna mollis ornare vel eu leo. Maecenas sed diam eget risus varius blandit sit amet non magna. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis
318
- vestibulum. Nullam quis risus eget urna mollis ornare vel eu leo. Donec ullamcorper nulla non metus auctor fringilla. Donec id elit non mi porta gravida at eget metus. Morbi leo risus, porta ac consectetur ac,
319
- vestibulum at eros. Curabitur blandit tempus porttitor. Vestibulum id ligula porta felis euismod semper. Maecenas sed diam eget risus varius blandit sit amet non magna.</p>
320
- <p>Curabitur blandit tempus porttitor. Nullam quis risus eget urna mollis ornare vel eu leo. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla vitae elit libero, a pharetra
321
- augue. Cras mattis consectetur purus sit amet fermentum. Maecenas faucibus mollis interdum. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Vivamus
322
- sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur
323
- purus sit amet fermentum.</p>
324
- <Layout.Container gap="large" className='sd-border--medium sd-font-size--medium sd-padding--2 sd-radius--large'>
325
- <span>Curabitur blandit tempus porttitor.</span>
326
- <Button text="Test button" type="primary" onClick={()=> false} />
327
- <Button text="Test button" type="highlight" onClick={()=> false} />
328
- <ButtonGroup align="end">
329
- <Button text="Cancel" onClick={()=> false} type="default" style="hollow" />
330
- <Button text="Submit" onClick={()=> false} type="primary" />
331
- </ButtonGroup>
332
- </Layout.Container>
333
- </div>
334
341
  </div>
342
+ </div>
335
343
 
336
- </Layout.AuthoringMain>
337
- )}
338
- sidePanelPinned={this.state.rightPanelOpen}
339
- sidePanel={(
340
- <Layout.Panel side='right' background='grey' open={this.state.rightPanelOpen} size='x-small'>
341
- <Layout.PanelHeader title='Pinned content' onClose={() => this.setState({'rightPanelOpen': false})}>
342
- </Layout.PanelHeader>
343
- <Layout.PanelContent>
344
- <Layout.PanelContentBlock>
345
- <BoxedList density='comfortable'>
346
- <BoxedListItem
347
- type="success"
348
- clickable={true}
349
- media={(
350
- <Icon name='slideshow' />
351
- )}
352
- actions={(
353
- <IconButton icon="dots-vertical" ariaValue="More actions" onClick={()=> false} />
354
- )}
355
- >
356
- <BoxedListContentRow>
357
- Maecenas sed diam eget risus varius blandit sit amet non magna. Vestibulum id ligula porta felis euismod semper.
358
- </BoxedListContentRow>
359
- <BoxedListContentRow>
360
- Praesent commodo cursus magna, vel scelerisque nisl consectetur et.
361
- </BoxedListContentRow>
362
- </BoxedListItem>
363
- <BoxedListItem
364
- type="warning"
365
- media={(
366
- <AvatarWrapper
367
- size="medium"
344
+ </Layout.AuthoringMain>
345
+ )}
346
+ sidePanelPinned={this.state.rightPanelOpen}
347
+ sidePanel={(
348
+ <Layout.Panel side='right' background='grey' open={this.state.rightPanelOpen} size='x-small'>
349
+ <Layout.PanelHeader title='Pinned content' onClose={() => this.setState({'rightPanelOpen': false})}>
350
+ </Layout.PanelHeader>
351
+ <Layout.PanelContent>
352
+ <Layout.PanelContentBlock>
353
+ <BoxedList density='comfortable'>
354
+ <BoxedListItem
355
+ type="success"
356
+ clickable={true}
357
+ media={(
358
+ <Icon name='slideshow' />
359
+ )}
360
+ actions={(
361
+ <IconButton icon="dots-vertical" ariaValue="More actions" onClick={()=> false} />
362
+ )}
363
+ >
364
+ <BoxedListContentRow>
365
+ Maecenas sed diam eget risus varius blandit sit amet non magna. Vestibulum id ligula porta felis euismod semper.
366
+ </BoxedListContentRow>
367
+ <BoxedListContentRow>
368
+ Praesent commodo cursus magna, vel scelerisque nisl consectetur et.
369
+ </BoxedListContentRow>
370
+ </BoxedListItem>
371
+ <BoxedListItem
372
+ type="warning"
373
+ media={(
374
+ <AvatarWrapper
375
+ size="medium"
368
376
  >
369
- <AvatarContentText text="JL" tooltipText="Jeffrey Lebowski" />
370
- </AvatarWrapper>
371
- )}
372
- footer={(
373
- <ButtonGroup align="end">
374
- <Button text="cancel" size="small" style="hollow" onClick={()=> false} />
375
- <Button text="yes" size="small" style="hollow" type="primary" onClick={()=> false} />
376
- </ButtonGroup>
377
- )}
378
- actions={(
379
- <IconButton icon="dots-vertical" ariaValue="More actions" onClick={()=> false} />
380
- )}
381
- >
382
- <BoxedListContentRow>
383
- Maecenas sed diam eget risus varius blandit sit amet magna.
384
- </BoxedListContentRow>
385
- </BoxedListItem>
386
- <BoxedListItem
387
- selected={true}
388
- actions={(
389
- <IconButton icon="dots-vertical" ariaValue="More actions" onClick={()=> false} />
390
- )}
391
- >
392
- <BoxedListContentRow>
393
- Maecenas sed diam eget risus varius blandit sit amet magna. Vestibulum id ligula porta felis euismod semper.
394
- </BoxedListContentRow>
395
- </BoxedListItem>
396
- </BoxedList>
397
- </Layout.PanelContentBlock>
398
- </Layout.PanelContent>
399
- </Layout.Panel>
400
- )}
401
- sideOverlayOpen={this.state.sideOverlayOpen}
402
- sideOverlay={(
403
- <Layout.Panel background='light' open={this.state.sideOverlayOpen} size='x-small'>
404
- <Layout.PanelHeader title="Metadata (overlay pannel)" onClose={() => this.setState({'sideOverlayOpen': false})}>
405
- {/* <Tabs onClick={()=> false}>
406
- <TabLabel label='Content' indexValue={0}/>
407
- <TabLabel label='Metadata' indexValue={1}/>
408
- <TabLabel label='Duplicates' indexValue={2}/>
409
- </Tabs> */}
410
-
411
- {/* <SlidingToolbar>
412
- <Button text="Cancel" onClick={()=> false} />
413
- <Button text="Save" type="primary" onClick={()=> false} />
414
- </SlidingToolbar> */}
415
- {/* <Alert icon="warning-sign" size='small' type='warning'>
416
- Sed tincidunt ipsum metus, consectetur vestibulum turpis luctus in.
417
- </Alert> */}
418
- </Layout.PanelHeader>
419
- <Layout.PanelContent
420
- loading={false}
421
- empty={false}
422
- emptyTemplate={(
423
- <EmptyState title="test" />
424
- )} >
425
- <Layout.PanelContentBlock>
426
- <SimpleList border={true}>
427
- <SimpleListItem justify="space-between">
428
- <Form.FormLabel text="My label" />
429
- <Switch toolTipFlow='left' label={{text:'My label', hidden: true}} value={this.state.value1} onChange={(value) => this.setState(() => ({ value1: value }))} />
430
- </SimpleListItem>
431
- <SimpleListItem justify="space-between">
432
- <Form.FormLabel text="Form label" />
433
- <Switch toolTipFlow='left' label={{text:'Form label', hidden: true}} value={this.state.value2} onChange={(value) => this.setState(() => ({ value2: value }))} />
434
- </SimpleListItem>
435
- <SimpleListItem stacked={true}>
436
- <Form.FormLabel text="Label two" />
437
- <Text size="small" weight="light">Cras justo odio, dapibus ac facilisis in, egestas eget quam. Vestibulum id ligula porta felis euismod semper. Nullam quis risus eget urna mollis ornare vel eu leo.</Text>
438
- </SimpleListItem>
439
- </SimpleList>
440
- </Layout.PanelContentBlock>
441
- </Layout.PanelContent>
442
- </Layout.Panel>
443
- )}
444
- sideBar={(
445
- <Nav.SideBarTabs
446
- items={[
447
- { icon: 'info', size: 'big', tooltip: 'Info', id: '1' },
448
- { icon: 'chat', size: 'big', tooltip: 'Comments', id: '2' },
449
- { icon: 'history', size: 'big', tooltip: 'History', id: '3' },
450
- { icon: 'package', size: 'big', tooltip: 'Packages', id: '4' },
451
- { icon: 'attachment', size: 'big', tooltip: 'Attachments', id: '5' },
452
- { icon: 'comments', size: 'big', tooltip: 'Inline Comments', id: '6' },
453
- { icon: 'suggestion', size: 'big', tooltip: 'Suggestions', id: '7' }
454
- ]}
455
- activeTab={this.state.activeTab}
456
- onActiveTabChange={(val) => {
457
- this.setState({
458
- activeTab: val,
459
- sideOverlayOpen: !this.state.sideOverlayOpen,
460
- });
461
- }}
462
- />
463
- )}
464
- overlayPanel={(
465
- <div></div>
466
- )}
467
- />
377
+ <AvatarContentText text="JL" tooltipText="Jeffrey Lebowski" />
378
+ </AvatarWrapper>
379
+ )}
380
+ footer={(
381
+ <ButtonGroup align="end">
382
+ <Button text="cancel" size="small" style="hollow" onClick={()=> false} />
383
+ <Button text="yes" size="small" style="hollow" type="primary" onClick={()=> false} />
384
+ </ButtonGroup>
385
+ )}
386
+ actions={(
387
+ <IconButton icon="dots-vertical" ariaValue="More actions" onClick={()=> false} />
388
+ )}
389
+ >
390
+ <BoxedListContentRow>
391
+ Maecenas sed diam eget risus varius blandit sit amet magna.
392
+ </BoxedListContentRow>
393
+ </BoxedListItem>
394
+ <BoxedListItem
395
+ selected={true}
396
+ actions={(
397
+ <IconButton icon="dots-vertical" ariaValue="More actions" onClick={()=> false} />
398
+ )}
399
+ >
400
+ <BoxedListContentRow>
401
+ Maecenas sed diam eget risus varius blandit sit amet magna. Vestibulum id ligula porta felis euismod semper.
402
+ </BoxedListContentRow>
403
+ </BoxedListItem>
404
+ </BoxedList>
405
+ </Layout.PanelContentBlock>
406
+ </Layout.PanelContent>
407
+ </Layout.Panel>
408
+ )}
409
+ sideOverlayOpen={this.state.sideOverlayOpen}
410
+ sideOverlay={(
411
+ <Layout.Panel background='light' open={this.state.sideOverlayOpen} size='x-small'>
412
+ <Layout.PanelHeader title="Metadata (overlay pannel)" onClose={() => this.setState({'sideOverlayOpen': false})} />
413
+ <Layout.PanelContent
414
+ loading={false}
415
+ empty={false}
416
+ emptyTemplate={(
417
+ <EmptyState title="test" />
418
+ )} >
419
+ <Layout.PanelContentBlock>
420
+ <SimpleList border={true}>
421
+ <SimpleListItem justify="space-between">
422
+ <Form.FormLabel text="My label" />
423
+ <Switch toolTipFlow='left' label={{content:'My label', hidden: true}} value={this.state.value1} onChange={(value) => this.setState(() => ({ value1: value }))} />
424
+ </SimpleListItem>
425
+ <SimpleListItem justify="space-between">
426
+ <Form.FormLabel text="Form label" />
427
+ <Switch toolTipFlow='left' label={{content:'Form label', hidden: true}} value={this.state.value2} onChange={(value) => this.setState(() => ({ value2: value }))} />
428
+ </SimpleListItem>
429
+ <SimpleListItem stacked={true}>
430
+ <Form.FormLabel text="Label two" />
431
+ <Text size="small" weight="light">Cras justo odio, dapibus ac facilisis in, egestas eget quam. Vestibulum id ligula porta felis euismod semper. Nullam quis risus eget urna mollis ornare vel eu leo.</Text>
432
+ </SimpleListItem>
433
+ </SimpleList>
434
+ </Layout.PanelContentBlock>
435
+ </Layout.PanelContent>
436
+ </Layout.Panel>
437
+ )}
438
+ sideBar={(
439
+ <Nav.SideBarTabs
440
+ items={[
441
+ { icon: 'info', size: 'big', tooltip: 'Info', id: '1' },
442
+ { icon: 'chat', size: 'big', tooltip: 'Comments', id: '2' },
443
+ { icon: 'history', size: 'big', tooltip: 'History', id: '3' },
444
+ { icon: 'package', size: 'big', tooltip: 'Packages', id: '4' },
445
+ { icon: 'attachment', size: 'big', tooltip: 'Attachments', id: '5' },
446
+ { icon: 'comments', size: 'big', tooltip: 'Inline Comments', id: '6' },
447
+ { icon: 'suggestion', size: 'big', tooltip: 'Suggestions', id: '7' }
448
+ ]}
449
+ activeTab={this.state.activeTab}
450
+ onActiveTabChange={(val) => {
451
+ this.setState({
452
+ activeTab: val,
453
+ sideOverlayOpen: !this.state.sideOverlayOpen,
454
+ });
455
+ }}
456
+ />
457
+ )}
458
+ overlayPanel={(
459
+ <div></div>
460
+ )}
461
+ />
468
462
  );
469
463
  }
470
464
  }