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,6 @@
1
1
  import * as React from 'react';
2
2
  import * as Components from './components/Index';
3
- import { ButtonGroup, Button, NavButton, SubNav, Dropdown, CheckButtonGroup, RadioButton, Input, Select, Option } from '../../../../app-typescript/index';
3
+ import { ButtonGroup, Button, NavButton, SubNav, Dropdown, Input, Select, Option } from '../../../../app-typescript/index';
4
4
 
5
5
  interface IProps {
6
6
  children?: React.ReactNode;
@@ -65,7 +65,9 @@ export class FirstPlayground extends React.Component<IProps, IState> {
65
65
  'divider',
66
66
  { icon: 'personal', size: 'big' },
67
67
  { icon: 'global-search', size: 'big' },
68
- { icon: 'picture', size: 'big' }]} />
68
+ { icon: 'picture', size: 'big' }
69
+ ]}
70
+ />
69
71
 
70
72
  <div className='sd-content-wrapper__main-content-area sd-main-content-grid comfort'>
71
73
  <Components.HeaderPanel >
@@ -81,7 +83,9 @@ export class FirstPlayground extends React.Component<IProps, IState> {
81
83
  { label: 'File archive', onSelect: () => this.setState({ dropDownState: 'File archive' }) },
82
84
  { label: 'AP images', onSelect: () => this.setState({ dropDownState: 'AP archive' }) },
83
85
  ]
84
- }]}>
86
+ }
87
+ ]}
88
+ >
85
89
  <NavButton onClick={() => false} />
86
90
  </Dropdown>
87
91
  </ButtonGroup>
@@ -93,13 +97,6 @@ export class FirstPlayground extends React.Component<IProps, IState> {
93
97
  <ButtonGroup >
94
98
  <NavButton icon='filter-large' onClick={this.handleFilter} />
95
99
  </ButtonGroup>
96
- <CheckButtonGroup >
97
- <RadioButton value={this.state.itemType} onChange={(value) => this.setState({ itemType: value })} options={[
98
- { value: 'itemtype01', label: 'All item types' },
99
- { value: 'itemtype02', label: 'Images only' },
100
- { value: 'itemtype03', label: 'Videos only' },
101
- { value: 'itemtype04', label: 'Documents only' }]} />
102
- </CheckButtonGroup>
103
100
  <ButtonGroup align='end'>
104
101
  <NavButton icon='adjust' onClick={this.handleTheme} />
105
102
  <NavButton icon='th-list' onClick={() => false} />
@@ -115,23 +112,24 @@ export class FirstPlayground extends React.Component<IProps, IState> {
115
112
  <Components.PanelContentBlock>
116
113
  <div className="form__group">
117
114
  <div className="form__item">
118
- <Input label='TITLE'
119
- error='This is error message'
115
+ <Input
116
+ type='text'
117
+ label='TITLE'
120
118
  inlineLabel={false}
121
119
  disabled={false}
122
- invalid={false}
123
- onChange={(value) => { }} />
120
+ onChange={() => false}
121
+ />
124
122
  </div>
125
123
  </div>
126
124
  <div className="form__group">
127
125
  <div className="form__item">
128
- <Select label='Source'
126
+ <Select
127
+ label='Source'
129
128
  value='Select ingest source...'
130
- error='This is error message'
131
129
  inlineLabel={false}
132
130
  disabled={false}
133
- invalid={false}
134
- onChange={(value) => { }}>
131
+ onChange={() => false}
132
+ >
135
133
  <Option value="option-1">Select ingest source...</Option>
136
134
  <Option value="option-2">Associated Press</Option>
137
135
  <Option value="option-3">Reuters</Option>
@@ -140,32 +138,35 @@ export class FirstPlayground extends React.Component<IProps, IState> {
140
138
  </div>
141
139
  <div className="form__group" >
142
140
  <div className="form__item">
143
- <Input label='LOCATION'
144
- error='This is error message'
141
+ <Input
142
+ type='text'
143
+ label='LOCATION'
145
144
  inlineLabel={false}
146
145
  disabled={false}
147
- invalid={false}
148
- onChange={(value) => { }} />
146
+ onChange={() => false}
147
+ />
149
148
  </div>
150
149
  </div>
151
150
  <div className="form__group">
152
151
  <div className="form__item">
153
- <Input label='CATEGORY'
154
- error='This is error message'
152
+ <Input
153
+ type='text'
154
+ label='CATEGORY'
155
155
  inlineLabel={false}
156
156
  disabled={false}
157
- invalid={false}
158
- onChange={(value) => { }} />
157
+ onChange={() => false}
158
+ />
159
159
  </div>
160
160
  </div>
161
161
  <div className="form__group">
162
162
  <div className="form__item">
163
- <Input label='SUBJECT'
164
- error='This is error message'
163
+ <Input
164
+ type='text'
165
+ label='SUBJECT'
165
166
  inlineLabel={false}
166
167
  disabled={false}
167
- invalid={false}
168
- onChange={(value) => { }} />
168
+ onChange={() => false}
169
+ />
169
170
  </div>
170
171
  </div>
171
172
 
@@ -173,12 +174,11 @@ export class FirstPlayground extends React.Component<IProps, IState> {
173
174
  <div className="form__item">
174
175
  <Select label='Usage right'
175
176
  value='--- Not selected ---'
176
- error='This is error message'
177
177
  info='Dolor in hendrerit.'
178
178
  inlineLabel={false}
179
179
  disabled={false}
180
- invalid={false}
181
- onChange={(value) => { }}>
180
+ onChange={() => false}
181
+ >
182
182
  <Option value="">--- Not selected ---</Option>
183
183
  <Option value="single">Single usage</Option>
184
184
  <Option value="time">Time restricted</Option>
@@ -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, Modal } from '../../../../app-typescript/index';
2
+ import { ButtonGroup, Button, NavButton, SubNav, Dropdown, Input, IconButton, Tooltip, Select, Option, Icon, AvatarWrapper, AvatarContentText, Modal } 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';
@@ -70,22 +69,26 @@ export class Multiedit extends React.Component<IProps, IState> {
70
69
  render() {
71
70
  return (
72
71
  <Modal
73
- className='p-dialog-flex'
74
- onHide={() => false}
75
- maximized={true} contentPadding={"none"}
76
- headerTemplate="Multiedit"
77
- visible={true} >
78
- <Spacer children={this.state.arr} gap={'0'}></Spacer>
79
- <div style={{
80
- padding: '0 20px',
81
- display: 'flex',
82
- alignItems: 'center'
83
- }}>
72
+ className='p-dialog-flex'
73
+ onHide={() => false}
74
+ maximized={true} contentPadding={"none"}
75
+ headerTemplate="Multiedit"
76
+ visible={true}
77
+ >
78
+ <Spacer children={this.state.arr} gap={'0'} />
79
+ <div
80
+ style={{
81
+ padding: '0 20px',
82
+ display: 'flex',
83
+ alignItems: 'center'
84
+ }}
85
+ >
84
86
  <Dropdown
85
- append
86
- items={[
87
+ append
88
+ items={[
87
89
  { label: 'Action 1', onSelect: () => this.setState({arr: [...this.state.arr, <Editor />]}) },
88
- ]}>
90
+ ]}
91
+ >
89
92
  <Button type="primary" icon="plus-large" text="Add article" style="filled" size="large" shape="round" iconOnly={true} onClick={()=> false} />
90
93
  </Dropdown>
91
94
  </div>
@@ -105,227 +108,220 @@ export class Editor extends React.Component<{}, IEditor> {
105
108
  this.state = {
106
109
  sideBarOpen: false,
107
110
  activeTab: '1',
108
-
109
111
  }
110
112
  }
111
113
 
112
114
  render() {
113
- return <div style={{borderRight: '4px solid grey'}}>
114
- <Layout.AuthoringFrame
115
- header={(
116
- <SubNav zIndex={2}>
117
- <ButtonGroup align='end'>
118
- <ButtonGroup subgroup={true} spaces="no-space">
119
- <Tooltip text='More actions' flow='left'>
120
- <NavButton type='default' icon='dots-vertical' text='More actions' onClick={()=> false} />
121
- </Tooltip>
122
- <Tooltip text='Send to / Publish' flow='left'>
123
- <NavButton type='highlight' icon='send-to' iconSize='big' text='Send to / Publish' onClick={()=> false} />
124
- </Tooltip>
125
- <Tooltip text='Send to / Publish' flow='left'>
126
- <NavButton type='darker' icon={this.state.sideBarOpen ? 'forward-thin' : 'backward-thin'} text='More actions' onClick={()=> this.setState({sideBarOpen: !this.state.sideBarOpen})} />
127
- </Tooltip>
128
- </ButtonGroup>
129
- </ButtonGroup>
130
- </SubNav>
131
- )}
132
- main={(
133
- <Layout.AuthoringMain
134
- headerPadding='medium'
135
- toolBar={(
136
- <React.Fragment>
137
- <div className="sd-editor-toolbar__content">
138
- <dl>
139
- <dt>Created</dt>
140
- <dd><time title="July 29, 2021 3:58 PM">07/29</time></dd>
141
- <dt>by</dt>
142
- <dt>Nareg Asmarian</dt>
143
- </dl>
144
- <dl>
145
- <dt>Modified</dt>
146
- <dd><time title="July 29, 2021 3:58 PM">07/29</time></dd>
147
- </dl>
148
- </div>
149
- <ButtonGroup align='end'>
150
- <IconButton icon="preview-mode" toolTipAppend={true} ariaValue="Print preview" onClick={()=> false} />
151
- <IconButton icon="adjust" ariaValue="Toogle theme" onClick={()=> false} />
152
- <IconButton icon="switches" ariaValue="Theme settings" onClick={()=> false} />
153
- </ButtonGroup>
154
- </React.Fragment>
155
- )}
156
- authoringHeader ={(
157
- <React.Fragment>
158
- <Form.FormGroup inlineLabel={true}>
159
- <Form.FormItem>
160
- <Input
161
- type='text'
162
- label='Slugline'
163
- value='This is some value'
164
- maxLength={30}
165
- error='This is error message'
166
- info='This is some hint message'
167
- required={false}
168
- disabled={false}
169
- invalid={false}
170
- onChange={(value) => {}} />
171
- </Form.FormItem>
172
- <Form.FormItem>
173
- <Input
174
- type='text'
175
- label='Slugline'
176
- value='This is some value'
177
- maxLength={30}
178
- error='This is error message'
179
- info='This is some hint message'
180
- required={false}
181
- disabled={false}
182
- invalid={false}
183
- onChange={(value) => {}} />
184
- </Form.FormItem>
185
- </Form.FormGroup>
186
- <Form.FormGroup inlineLabel={true}>
187
- <Form.FormItem>
188
- <Input
189
- type='text'
190
- label='Genre'
191
- value='This is some value'
192
- maxLength={30}
193
- error='This is error message'
194
- info='This is some hint message'
195
- required={false}
196
- disabled={false}
197
- invalid={false}
198
- onChange={(value) => {}} />
199
- </Form.FormItem>
200
- </Form.FormGroup>
201
- <Form.FormGroup marginBottom='0' inlineLabel={true}>
202
- <Form.FormItem>
203
- <Input
204
- type='text'
205
- label='Subject'
206
- value='This is some value'
207
- maxLength={30}
208
- error='This is error message'
209
- info='This is some hint message'
210
- required={true}
211
- disabled={false}
212
- invalid={false}
213
- onChange={(value) => {}} />
214
- </Form.FormItem>
215
- <Form.FormItem autoWidth={true}>
216
- <Form.FormText>Just testing:</Form.FormText>
217
- </Form.FormItem>
218
- <Form.FormItem>
219
- <Select
220
- label='Categories'
221
- labelHidden={true}
222
- value='This is some value'
223
- error='This is error message'
224
- info='This is some hint message'
225
- required={true}
226
- disabled={false}
227
- invalid={false}
228
- onChange={(value) => {}}>
229
- <Option>Option 1</Option>
230
- <Option>Option 2</Option>
231
- </Select>
232
- </Form.FormItem>
233
- <Form.FormItem autoWidth={true}>
234
- <ButtonGroup>
235
- <IconButton ariaValue="Submit" icon="picture" onClick={()=> false} />
236
- <Button text="Cancel" onClick={()=> false} type="default" style="hollow" />
237
- <Button text="Submit" onClick={()=> false} type="primary" />
115
+ return (
116
+ <div style={{borderRight: '4px solid grey'}}>
117
+ <Layout.AuthoringFrame
118
+ header={(
119
+ <SubNav zIndex={2}>
120
+ <ButtonGroup align='end'>
121
+ <ButtonGroup subgroup={true} spaces="no-space">
122
+ <Tooltip text='More actions' flow='left'>
123
+ <NavButton type='default' icon='dots-vertical' text='More actions' onClick={()=> false} />
124
+ </Tooltip>
125
+ <Tooltip text='Send to / Publish' flow='left'>
126
+ <NavButton type='highlight' icon='send-to' iconSize='big' text='Send to / Publish' onClick={()=> false} />
127
+ </Tooltip>
128
+ <Tooltip text='Send to / Publish' flow='left'>
129
+ <NavButton type='darker' icon={this.state.sideBarOpen ? 'forward-thin' : 'backward-thin'} text='More actions' onClick={()=> this.setState({sideBarOpen: !this.state.sideBarOpen})} />
130
+ </Tooltip>
238
131
  </ButtonGroup>
239
- </Form.FormItem>
240
- </Form.FormGroup>
241
- </React.Fragment>
242
- )}>
243
- </Layout.AuthoringMain>
244
- )}
245
- sidePanel={(
246
- <Layout.Panel side='right' background='grey' open={false} size='x-small'>
247
- <Layout.PanelHeader title='Pinned content' onClose={() => false}>
248
- </Layout.PanelHeader>
249
- <Layout.PanelContent>
250
- <Layout.PanelContentBlock>
251
- <BoxedList density='comfortable'>
252
- <BoxedListItem
253
- type="success"
254
- clickable={true}
255
- media={(
256
- <Icon name='slideshow' />
257
- )}
258
- actions={(
259
- <IconButton icon="dots-vertical" ariaValue="More actions" onClick={()=> false} />
260
- )}
261
- >
262
- <BoxedListContentRow>
263
- Maecenas sed diam eget risus varius blandit sit amet non magna. Vestibulum id ligula porta felis euismod semper.
264
- </BoxedListContentRow>
265
- <BoxedListContentRow>
266
- Praesent commodo cursus magna, vel scelerisque nisl consectetur et.
267
- </BoxedListContentRow>
268
- </BoxedListItem>
269
- <BoxedListItem
270
- type="warning"
271
- media={(
272
- <AvatarWrapper
273
- size="medium"
132
+ </ButtonGroup>
133
+ </SubNav>
134
+ )}
135
+ main={(
136
+ <Layout.AuthoringMain
137
+ headerPadding='medium'
138
+ toolBar={(
139
+ <React.Fragment>
140
+ <div className="sd-editor-toolbar__content">
141
+ <dl>
142
+ <dt>Created</dt>
143
+ <dd><time title="July 29, 2021 3:58 PM">07/29</time></dd>
144
+ <dt>by</dt>
145
+ <dt>Nareg Asmarian</dt>
146
+ </dl>
147
+ <dl>
148
+ <dt>Modified</dt>
149
+ <dd><time title="July 29, 2021 3:58 PM">07/29</time></dd>
150
+ </dl>
151
+ </div>
152
+ <ButtonGroup align='end'>
153
+ <IconButton icon="preview-mode" toolTipAppend={true} ariaValue="Print preview" onClick={()=> false} />
154
+ <IconButton icon="adjust" ariaValue="Toogle theme" onClick={()=> false} />
155
+ <IconButton icon="switches" ariaValue="Theme settings" onClick={()=> false} />
156
+ </ButtonGroup>
157
+ </React.Fragment>
158
+ )}
159
+ authoringHeader ={(
160
+ <React.Fragment>
161
+ <Form.FormGroup inlineLabel={true}>
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.FormItem>
175
+ <Input
176
+ type='text'
177
+ label='Slugline'
178
+ value='This is some value'
179
+ maxLength={30}
180
+ info='This is some hint message'
181
+ required={false}
182
+ disabled={false}
183
+ onChange={() => false}
184
+ />
185
+ </Form.FormItem>
186
+ </Form.FormGroup>
187
+ <Form.FormGroup inlineLabel={true}>
188
+ <Form.FormItem>
189
+ <Input
190
+ type='text'
191
+ label='Genre'
192
+ value='This is some value'
193
+ maxLength={30}
194
+ info='This is some hint message'
195
+ required={false}
196
+ disabled={false}
197
+ onChange={() => false}
198
+ />
199
+ </Form.FormItem>
200
+ </Form.FormGroup>
201
+ <Form.FormGroup marginBottom='0' inlineLabel={true}>
202
+ <Form.FormItem>
203
+ <Input
204
+ type='text'
205
+ label='Subject'
206
+ value='This is some value'
207
+ maxLength={30}
208
+ info='This is some hint message'
209
+ required={true}
210
+ disabled={false}
211
+ onChange={() => false}
212
+ />
213
+ </Form.FormItem>
214
+ <Form.FormItem autoWidth={true}>
215
+ <Form.FormText>Just testing:</Form.FormText>
216
+ </Form.FormItem>
217
+ <Form.FormItem>
218
+ <Select
219
+ label='Categories'
220
+ labelHidden={true}
221
+ value='This is some value'
222
+ info='This is some hint message'
223
+ required={true}
224
+ disabled={false}
225
+ onChange={() => false}
274
226
  >
275
- <AvatarContentText text="JL" tooltipText="Jeffrey Lebowski" />
276
- </AvatarWrapper>
277
- )}
278
- footer={(
279
- <ButtonGroup align="end">
280
- <Button text="cancel" size="small" style="hollow" onClick={()=> false} />
281
- <Button text="yes" size="small" style="hollow" type="primary" onClick={()=> false} />
282
- </ButtonGroup>
283
- )}
284
- actions={(
285
- <IconButton icon="dots-vertical" ariaValue="More actions" onClick={()=> false} />
286
- )}
287
- >
288
- <BoxedListContentRow>
289
- Maecenas sed diam eget risus varius blandit sit amet magna.
290
- </BoxedListContentRow>
291
- </BoxedListItem>
292
- <BoxedListItem
293
- selected={true}
294
- actions={(
295
- <IconButton icon="dots-vertical" ariaValue="More actions" onClick={()=> false} />
296
- )}
297
- >
298
- <BoxedListContentRow>
299
- Maecenas sed diam eget risus varius blandit sit amet magna. Vestibulum id ligula porta felis euismod semper.
300
- </BoxedListContentRow>
301
- </BoxedListItem>
302
- </BoxedList>
303
- </Layout.PanelContentBlock>
304
- </Layout.PanelContent>
305
- </Layout.Panel>
306
- )}
307
-
308
- sideBarClosed={this.state.sideBarOpen}
309
- sideBar={(
310
- <Nav.SideBarTabs
311
- items={[
312
- { icon: 'info', size: 'big', tooltip: 'Info', id: '1' },
313
- { icon: 'chat', size: 'big', tooltip: 'Comments', id: '2' },
314
- { icon: 'history', size: 'big', tooltip: 'History', id: '3' },
315
- { icon: 'package', size: 'big', tooltip: 'Packages', id: '4' },
316
- { icon: 'attachment', size: 'big', tooltip: 'Attachments', id: '5'},
317
- { icon: 'comments', size: 'big', tooltip: 'Inline Comments', id: '6' },
318
- { icon: 'suggestion', size: 'big', tooltip: 'Suggestions', id: '7' }
319
- ]}
320
- activeTab={this.state.activeTab}
321
- onActiveTabChange={(val) => {
322
- this.setState({
323
- activeTab: val,
324
- })
325
- }}
227
+ <Option>Option 1</Option>
228
+ <Option>Option 2</Option>
229
+ </Select>
230
+ </Form.FormItem>
231
+ <Form.FormItem autoWidth={true}>
232
+ <ButtonGroup>
233
+ <IconButton ariaValue="Submit" icon="picture" onClick={()=> false} />
234
+ <Button text="Cancel" onClick={()=> false} type="default" style="hollow" />
235
+ <Button text="Submit" onClick={()=> false} type="primary" />
236
+ </ButtonGroup>
237
+ </Form.FormItem>
238
+ </Form.FormGroup>
239
+ </React.Fragment>
240
+ )}
241
+ />
242
+ )}
243
+ sidePanel={(
244
+ <Layout.Panel side='right' background='grey' open={false} size='x-small'>
245
+ <Layout.PanelHeader title='Pinned content' onClose={() => false}>
246
+ </Layout.PanelHeader>
247
+ <Layout.PanelContent>
248
+ <Layout.PanelContentBlock>
249
+ <BoxedList density='comfortable'>
250
+ <BoxedListItem
251
+ type="success"
252
+ clickable={true}
253
+ media={(
254
+ <Icon name='slideshow' />
255
+ )}
256
+ actions={(
257
+ <IconButton icon="dots-vertical" ariaValue="More actions" onClick={()=> false} />
258
+ )}
259
+ >
260
+ <BoxedListContentRow>
261
+ Maecenas sed diam eget risus varius blandit sit amet non magna. Vestibulum id ligula porta felis euismod semper.
262
+ </BoxedListContentRow>
263
+ <BoxedListContentRow>
264
+ Praesent commodo cursus magna, vel scelerisque nisl consectetur et.
265
+ </BoxedListContentRow>
266
+ </BoxedListItem>
267
+ <BoxedListItem
268
+ type="warning"
269
+ media={(
270
+ <AvatarWrapper size="medium">
271
+ <AvatarContentText text="JL" tooltipText="Jeffrey Lebowski" />
272
+ </AvatarWrapper>
273
+ )}
274
+ footer={(
275
+ <ButtonGroup align="end">
276
+ <Button text="cancel" size="small" style="hollow" onClick={()=> false} />
277
+ <Button text="yes" size="small" style="hollow" type="primary" onClick={()=> false} />
278
+ </ButtonGroup>
279
+ )}
280
+ actions={(
281
+ <IconButton icon="dots-vertical" ariaValue="More actions" onClick={()=> false} />
282
+ )}
283
+ >
284
+ <BoxedListContentRow>
285
+ Maecenas sed diam eget risus varius blandit sit amet magna.
286
+ </BoxedListContentRow>
287
+ </BoxedListItem>
288
+ <BoxedListItem
289
+ selected={true}
290
+ actions={(
291
+ <IconButton icon="dots-vertical" ariaValue="More actions" onClick={()=> false} />
292
+ )}
293
+ >
294
+ <BoxedListContentRow>
295
+ Maecenas sed diam eget risus varius blandit sit amet magna. Vestibulum id ligula porta felis euismod semper.
296
+ </BoxedListContentRow>
297
+ </BoxedListItem>
298
+ </BoxedList>
299
+ </Layout.PanelContentBlock>
300
+ </Layout.PanelContent>
301
+ </Layout.Panel>
302
+ )}
303
+ sideBarClosed={this.state.sideBarOpen}
304
+ sideBar={(
305
+ <Nav.SideBarTabs
306
+ items={[
307
+ { icon: 'info', size: 'big', tooltip: 'Info', id: '1' },
308
+ { icon: 'chat', size: 'big', tooltip: 'Comments', id: '2' },
309
+ { icon: 'history', size: 'big', tooltip: 'History', id: '3' },
310
+ { icon: 'package', size: 'big', tooltip: 'Packages', id: '4' },
311
+ { icon: 'attachment', size: 'big', tooltip: 'Attachments', id: '5'},
312
+ { icon: 'comments', size: 'big', tooltip: 'Inline Comments', id: '6' },
313
+ { icon: 'suggestion', size: 'big', tooltip: 'Suggestions', id: '7' }
314
+ ]}
315
+ activeTab={this.state.activeTab}
316
+ onActiveTabChange={(val) => {
317
+ this.setState({
318
+ activeTab: val,
319
+ })
320
+ }}
321
+ />
322
+ )}
326
323
  />
327
- )}
328
- />
329
- </div>
324
+ </div>
325
+ )
330
326
  }
331
327
  }