superdesk-ui-framework 4.0.51 → 4.0.53

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (371) hide show
  1. package/app/styles/_avatar.scss +0 -5
  2. package/dist/examples.bundle.js +1 -1
  3. package/dist/superdesk-ui.bundle.css +1 -4
  4. package/package.json +1 -1
  5. package/dist/playgrounds/accessible-theme-test.html +0 -813
  6. package/dist/playgrounds/boxed-list.html +0 -164
  7. package/dist/playgrounds/cards.html +0 -244
  8. package/dist/playgrounds/circular-progress.html +0 -48
  9. package/dist/playgrounds/dummy-data/items.ts +0 -95
  10. package/dist/playgrounds/editor-3-test.html +0 -15
  11. package/dist/playgrounds/form-layout.html +0 -285
  12. package/dist/playgrounds/layout-grid.html +0 -79
  13. package/dist/playgrounds/layout-snippets/edit-article.html +0 -415
  14. package/dist/playgrounds/layout-test-2.html +0 -795
  15. package/dist/playgrounds/list-item-test.html +0 -896
  16. package/dist/playgrounds/main.html +0 -16
  17. package/dist/playgrounds/master-desk.html +0 -1678
  18. package/dist/playgrounds/media-carousel.html +0 -1166
  19. package/dist/playgrounds/nav-buttons.html +0 -65
  20. package/dist/playgrounds/photo-desk.html +0 -1515
  21. package/dist/playgrounds/photo-snippets/edit-photo-metadata.html +0 -208
  22. package/dist/playgrounds/planning-snippets/edit-event.html +0 -187
  23. package/dist/playgrounds/planning-snippets/edit-planning.html +0 -457
  24. package/dist/playgrounds/planning.html +0 -1112
  25. package/dist/playgrounds/publish-snippets/edit-article.html +0 -37
  26. package/dist/playgrounds/publish.html +0 -1007
  27. package/dist/playgrounds/publisher-content-analytics.html +0 -376
  28. package/dist/playgrounds/publisher-content-list-automatic.html +0 -296
  29. package/dist/playgrounds/publisher-content-list-manual.html +0 -611
  30. package/dist/playgrounds/publisher-content-lists.html +0 -255
  31. package/dist/playgrounds/publisher-dashboard.html +0 -323
  32. package/dist/playgrounds/publisher-output-control.html +0 -3659
  33. package/dist/playgrounds/publisher-website-settings-general.html +0 -188
  34. package/dist/playgrounds/publisher-website-settings.html +0 -265
  35. package/dist/playgrounds/react-playgrounds/CoreLayout.tsx +0 -952
  36. package/dist/playgrounds/react-playgrounds/EditorTest.tsx +0 -649
  37. package/dist/playgrounds/react-playgrounds/FirstPlayground.tsx +0 -236
  38. package/dist/playgrounds/react-playgrounds/Index.tsx +0 -11
  39. package/dist/playgrounds/react-playgrounds/Multiedit.tsx +0 -401
  40. package/dist/playgrounds/react-playgrounds/PageLayoutTest.tsx +0 -210
  41. package/dist/playgrounds/react-playgrounds/PersonalProfile.tsx +0 -835
  42. package/dist/playgrounds/react-playgrounds/RundownEditor.tsx +0 -580
  43. package/dist/playgrounds/react-playgrounds/Rundowns.tsx +0 -1415
  44. package/dist/playgrounds/react-playgrounds/SamsPlayground.tsx +0 -401
  45. package/dist/playgrounds/react-playgrounds/TestGround.tsx +0 -2710
  46. package/dist/playgrounds/react-playgrounds/UiPlayground.tsx +0 -410
  47. package/dist/playgrounds/react-playgrounds/components/AuthoringContainer.tsx +0 -25
  48. package/dist/playgrounds/react-playgrounds/components/AuthoringContent.tsx +0 -86
  49. package/dist/playgrounds/react-playgrounds/components/ContentSplitter.tsx +0 -19
  50. package/dist/playgrounds/react-playgrounds/components/GraphicButton.tsx +0 -34
  51. package/dist/playgrounds/react-playgrounds/components/GraphicButtonsGroup.tsx +0 -11
  52. package/dist/playgrounds/react-playgrounds/components/HeaderPanel.tsx +0 -11
  53. package/dist/playgrounds/react-playgrounds/components/Index.tsx +0 -20
  54. package/dist/playgrounds/react-playgrounds/components/Layout.tsx +0 -27
  55. package/dist/playgrounds/react-playgrounds/components/LayoutContainer.tsx +0 -15
  56. package/dist/playgrounds/react-playgrounds/components/LeftPanel.tsx +0 -15
  57. package/dist/playgrounds/react-playgrounds/components/MainPanel.tsx +0 -24
  58. package/dist/playgrounds/react-playgrounds/components/OverlayPanel.tsx +0 -17
  59. package/dist/playgrounds/react-playgrounds/components/Panel.tsx +0 -23
  60. package/dist/playgrounds/react-playgrounds/components/PanelContent.tsx +0 -11
  61. package/dist/playgrounds/react-playgrounds/components/PanelContentBlock.tsx +0 -19
  62. package/dist/playgrounds/react-playgrounds/components/PanelFooter.tsx +0 -17
  63. package/dist/playgrounds/react-playgrounds/components/PanelHeader.tsx +0 -31
  64. package/dist/playgrounds/react-playgrounds/components/RightPanel.tsx +0 -16
  65. package/dist/playgrounds/react-playgrounds/components/SearchBar.tsx +0 -87
  66. package/dist/playgrounds/react-playgrounds/components/SidebarMenu.tsx +0 -76
  67. package/dist/playgrounds/react-playgrounds/components/SubNav.tsx +0 -17
  68. package/dist/playgrounds/react-playgrounds/components/ThemeDropdown.tsx +0 -57
  69. package/dist/playgrounds/react-playgrounds/tsconfig.json +0 -4
  70. package/dist/playgrounds/settings.html +0 -92
  71. package/dist/playgrounds/side-navigation.html +0 -201
  72. package/dist/playgrounds/swimlane-view.html +0 -1975
  73. package/dist/playgrounds/tags-input.html +0 -55
  74. package/dist/playgrounds/toasts.html +0 -113
  75. package/dist/playgrounds/video-editor.html +0 -706
  76. package/examples/css/docs-page.css +0 -1135
  77. package/examples/css/reset.css +0 -124
  78. package/examples/css/vendor.css +0 -175
  79. package/examples/illustration-small--components.svg +0 -45
  80. package/examples/img/andrew-power-y9L5-wmifaY-unsplash.jpg +0 -0
  81. package/examples/img/andrew-power-y9L5-wmifaY-unsplash.license.txt +0 -6
  82. package/examples/img/avatar-2.jpg +0 -0
  83. package/examples/img/avatar-3.jpg +0 -0
  84. package/examples/img/avatar-4.jpg +0 -0
  85. package/examples/img/avatar-5.jpg +0 -0
  86. package/examples/img/avatar-6.jpg +0 -0
  87. package/examples/img/avatar.jpg +0 -0
  88. package/examples/img/bill.jpg +0 -0
  89. package/examples/img/bush_1.jpg +0 -0
  90. package/examples/img/bush_2.jpg +0 -0
  91. package/examples/img/carousel-thumb--01.jpg +0 -0
  92. package/examples/img/carousel-thumb--02.jpg +0 -0
  93. package/examples/img/carousel-thumb--03.jpg +0 -0
  94. package/examples/img/carousel-thumb--04.jpg +0 -0
  95. package/examples/img/components_ilustration.svg +0 -1
  96. package/examples/img/d_trump.jpg +0 -0
  97. package/examples/img/d_trump_2.jpg +0 -0
  98. package/examples/img/d_trump_large.jpg +0 -0
  99. package/examples/img/design_ilustration.svg +0 -1
  100. package/examples/img/ferocious_beast.webm +0 -0
  101. package/examples/img/guidelines/application-frame.png +0 -0
  102. package/examples/img/guidelines/application-frame__bottom-bar.png +0 -0
  103. package/examples/img/guidelines/application-frame__left-panel.gif +0 -0
  104. package/examples/img/guidelines/application-frame__left-panel.png +0 -0
  105. package/examples/img/guidelines/application-frame__main-content.gif +0 -0
  106. package/examples/img/guidelines/application-frame__main-content.png +0 -0
  107. package/examples/img/guidelines/application-frame__right-panel.gif +0 -0
  108. package/examples/img/guidelines/application-frame__right-panel.png +0 -0
  109. package/examples/img/guidelines/application-frame__side-tabs.png +0 -0
  110. package/examples/img/guidelines/application-frame__sub-nav.png +0 -0
  111. package/examples/img/guidelines/application-frame__top-bar.png +0 -0
  112. package/examples/img/guidelines/buttons--00-01.png +0 -0
  113. package/examples/img/guidelines/buttons--00-02.png +0 -0
  114. package/examples/img/guidelines/buttons--DO-02.png +0 -0
  115. package/examples/img/guidelines/buttons--DONT-01.png +0 -0
  116. package/examples/img/guidelines/checkbox--DO-01.png +0 -0
  117. package/examples/img/guidelines/checkbox--DO-02.png +0 -0
  118. package/examples/img/guidelines/checkbox--DONT-01.png +0 -0
  119. package/examples/img/guidelines/checkbox--DONT-02.png +0 -0
  120. package/examples/img/guidelines/example__bottom-bar--01.png +0 -0
  121. package/examples/img/guidelines/example__left-side_panel--01.png +0 -0
  122. package/examples/img/guidelines/example__left_side-bar--01.png +0 -0
  123. package/examples/img/guidelines/example__main-content--01.png +0 -0
  124. package/examples/img/guidelines/example__right_side-panel--01.png +0 -0
  125. package/examples/img/guidelines/example__right_side-panel--02.png +0 -0
  126. package/examples/img/guidelines/example__right_side-panel--03.png +0 -0
  127. package/examples/img/guidelines/example__sub-nav--01.png +0 -0
  128. package/examples/img/guidelines/example__sub-nav--02.png +0 -0
  129. package/examples/img/guidelines/example__sub-nav--03.png +0 -0
  130. package/examples/img/guidelines/example__top-bar--01.png +0 -0
  131. package/examples/img/guidelines/layout--grid-01.png +0 -0
  132. package/examples/img/guidelines/layout--size-example-01.png +0 -0
  133. package/examples/img/guidelines/radio--DO-01.png +0 -0
  134. package/examples/img/guidelines/radio--DONT-01.png +0 -0
  135. package/examples/img/guidelines/radio--DONT-02.png +0 -0
  136. package/examples/img/guidelines/radio--DONT-03.png +0 -0
  137. package/examples/img/guidelines/switch--DO-01.png +0 -0
  138. package/examples/img/guidelines/switch--DO-02.png +0 -0
  139. package/examples/img/guidelines/switch--DONT-01.png +0 -0
  140. package/examples/img/guidelines/switch--DONT-02.png +0 -0
  141. package/examples/img/hillary.jpg +0 -0
  142. package/examples/img/illustration--components.svg +0 -1
  143. package/examples/img/illustration--design.svg +0 -1
  144. package/examples/img/illustration--playground.svg +0 -1
  145. package/examples/img/illustration--react.svg +0 -1
  146. package/examples/img/illustration-small--components.svg +0 -45
  147. package/examples/img/illustration-small--design.svg +0 -99
  148. package/examples/img/illustration-small--playground.svg +0 -49
  149. package/examples/img/illustration-small--react.svg +0 -53
  150. package/examples/img/illustration_user-privileges.png +0 -0
  151. package/examples/img/illustration_users.png +0 -0
  152. package/examples/img/image_01.jpg +0 -0
  153. package/examples/img/image_02.jpg +0 -0
  154. package/examples/img/masthead-image.png +0 -0
  155. package/examples/img/obama_1.jpg +0 -0
  156. package/examples/img/obama_2.jpg +0 -0
  157. package/examples/img/overlay-img.jpg +0 -0
  158. package/examples/img/react-logo--vector.svg +0 -49
  159. package/examples/img/sd-ui-framework__logo-01.svg +0 -33
  160. package/examples/img/sd-ui-framework__logo.svg +0 -20
  161. package/examples/img/th01.jpg +0 -0
  162. package/examples/img/th02.jpg +0 -0
  163. package/examples/img/th03.jpg +0 -0
  164. package/examples/index.html +0 -11
  165. package/examples/index.js +0 -468
  166. package/examples/js/doc.js +0 -230
  167. package/examples/js/react.js +0 -263
  168. package/examples/pages/components/Alerts.tsx +0 -291
  169. package/examples/pages/components/Autocomplete.tsx +0 -434
  170. package/examples/pages/components/Avatar.tsx +0 -659
  171. package/examples/pages/components/Badges.tsx +0 -221
  172. package/examples/pages/components/BigIconFont.tsx +0 -48
  173. package/examples/pages/components/BoxedList.tsx +0 -517
  174. package/examples/pages/components/ButtonGroups.tsx +0 -366
  175. package/examples/pages/components/Buttons.tsx +0 -565
  176. package/examples/pages/components/Card.tsx +0 -23
  177. package/examples/pages/components/Carousel.tsx +0 -235
  178. package/examples/pages/components/Checkboxs.tsx +0 -817
  179. package/examples/pages/components/Container.tsx +0 -190
  180. package/examples/pages/components/ContentDivider.tsx +0 -229
  181. package/examples/pages/components/ContentList.tsx +0 -786
  182. package/examples/pages/components/CreateButton.tsx +0 -121
  183. package/examples/pages/components/DatePicker.tsx +0 -245
  184. package/examples/pages/components/DateTimePicker.tsx +0 -141
  185. package/examples/pages/components/DragHandleDocs.tsx +0 -122
  186. package/examples/pages/components/DropZone.tsx +0 -149
  187. package/examples/pages/components/Dropdowns.tsx +0 -587
  188. package/examples/pages/components/DurationInput.tsx +0 -157
  189. package/examples/pages/components/EmptyStates.tsx +0 -171
  190. package/examples/pages/components/GridItem.tsx +0 -507
  191. package/examples/pages/components/GridList.tsx +0 -126
  192. package/examples/pages/components/Heading.tsx +0 -152
  193. package/examples/pages/components/IconButtons.tsx +0 -191
  194. package/examples/pages/components/IconFont.tsx +0 -49
  195. package/examples/pages/components/IconLabels.tsx +0 -199
  196. package/examples/pages/components/IconPicker.tsx +0 -82
  197. package/examples/pages/components/IllustrationButton.tsx +0 -109
  198. package/examples/pages/components/Index.tsx +0 -563
  199. package/examples/pages/components/Inputs.tsx +0 -313
  200. package/examples/pages/components/Labels.tsx +0 -354
  201. package/examples/pages/components/LeftNavigations.tsx +0 -459
  202. package/examples/pages/components/ListItems.tsx +0 -33
  203. package/examples/pages/components/Loader.tsx +0 -25
  204. package/examples/pages/components/Menu.tsx +0 -181
  205. package/examples/pages/components/Modal.tsx +0 -557
  206. package/examples/pages/components/MultiSelect.tsx +0 -343
  207. package/examples/pages/components/NavButtons.tsx +0 -159
  208. package/examples/pages/components/Panel.tsx +0 -631
  209. package/examples/pages/components/Popover.tsx +0 -90
  210. package/examples/pages/components/QuickNavigationBar.tsx +0 -278
  211. package/examples/pages/components/RadioGroup.tsx +0 -612
  212. package/examples/pages/components/ResizablePanels.tsx +0 -43
  213. package/examples/pages/components/SelectGrid.tsx +0 -162
  214. package/examples/pages/components/SelectWithTemplate.tsx +0 -144
  215. package/examples/pages/components/Selects.tsx +0 -175
  216. package/examples/pages/components/SimpleList.tsx +0 -198
  217. package/examples/pages/components/SubNav.tsx +0 -160
  218. package/examples/pages/components/Switch.tsx +0 -298
  219. package/examples/pages/components/TableList.tsx +0 -315
  220. package/examples/pages/components/Tabs.tsx +0 -276
  221. package/examples/pages/components/TagInputDocs.tsx +0 -130
  222. package/examples/pages/components/Tags.tsx +0 -154
  223. package/examples/pages/components/Text.tsx +0 -184
  224. package/examples/pages/components/TimePicker.tsx +0 -179
  225. package/examples/pages/components/Toasts.tsx +0 -283
  226. package/examples/pages/components/Togglebox.tsx +0 -307
  227. package/examples/pages/components/Tooltips.tsx +0 -74
  228. package/examples/pages/components/TreeMenu.tsx +0 -315
  229. package/examples/pages/components/TreeSelect.tsx +0 -625
  230. package/examples/pages/components/WithPaginationDocs.tsx +0 -56
  231. package/examples/pages/components/WithSizeObserver.tsx +0 -44
  232. package/examples/pages/components/tree-select/TreeSelect.tsx +0 -322
  233. package/examples/pages/components/tree-select/example-1.tsx +0 -67
  234. package/examples/pages/components/tree-select/example-2.tsx +0 -56
  235. package/examples/pages/components/utilities/BorderRadiusUtilities.tsx +0 -71
  236. package/examples/pages/components/utilities/BorderUtilities.tsx +0 -169
  237. package/examples/pages/components/utilities/DisplayUtilities.tsx +0 -115
  238. package/examples/pages/components/utilities/FlexAndGridUtilities.tsx +0 -551
  239. package/examples/pages/components/utilities/ObjectFitUtilities.tsx +0 -51
  240. package/examples/pages/components/utilities/ObjectPositionUtilities.tsx +0 -67
  241. package/examples/pages/components/utilities/OpacityUtilities.tsx +0 -61
  242. package/examples/pages/components/utilities/OverflowUtilities.tsx +0 -92
  243. package/examples/pages/components/utilities/PositionUtilities.tsx +0 -51
  244. package/examples/pages/components/utilities/ShadowUtilities.tsx +0 -122
  245. package/examples/pages/components/utilities/SpacingUtilities.tsx +0 -1079
  246. package/examples/pages/components/utilities/TextUtilities.tsx +0 -560
  247. package/examples/pages/components.html +0 -15
  248. package/examples/pages/components_deprecated/alerts.html +0 -113
  249. package/examples/pages/components_deprecated/badge.html +0 -79
  250. package/examples/pages/components_deprecated/basic-grid.html +0 -132
  251. package/examples/pages/components_deprecated/big-icons.html +0 -65
  252. package/examples/pages/components_deprecated/buttons.html +0 -631
  253. package/examples/pages/components_deprecated/carousel.html +0 -77
  254. package/examples/pages/components_deprecated/checkbox.html +0 -86
  255. package/examples/pages/components_deprecated/colors.html +0 -12
  256. package/examples/pages/components_deprecated/dropdown.html +0 -542
  257. package/examples/pages/components_deprecated/form-layout.html +0 -187
  258. package/examples/pages/components_deprecated/icon-labels.html +0 -34
  259. package/examples/pages/components_deprecated/icons.html +0 -194
  260. package/examples/pages/components_deprecated/input.html +0 -233
  261. package/examples/pages/components_deprecated/labels.html +0 -170
  262. package/examples/pages/components_deprecated/layout-grid.html +0 -227
  263. package/examples/pages/components_deprecated/left-nav.html +0 -83
  264. package/examples/pages/components_deprecated/list-item.html +0 -1342
  265. package/examples/pages/components_deprecated/loader.html +0 -64
  266. package/examples/pages/components_deprecated/modal-template.html +0 -13
  267. package/examples/pages/components_deprecated/modals.html +0 -561
  268. package/examples/pages/components_deprecated/other-elements.html +0 -54
  269. package/examples/pages/components_deprecated/panel-info.html +0 -34
  270. package/examples/pages/components_deprecated/radio.html +0 -64
  271. package/examples/pages/components_deprecated/select.html +0 -160
  272. package/examples/pages/components_deprecated/shadows.html +0 -24
  273. package/examples/pages/components_deprecated/sidebar-menu.html +0 -111
  274. package/examples/pages/components_deprecated/simple-list.html +0 -113
  275. package/examples/pages/components_deprecated/slider.html +0 -31
  276. package/examples/pages/components_deprecated/spacing.html +0 -117
  277. package/examples/pages/components_deprecated/switch.html +0 -31
  278. package/examples/pages/components_deprecated/tables.html +0 -58
  279. package/examples/pages/components_deprecated/tabs.html +0 -257
  280. package/examples/pages/components_deprecated/tag-input.html +0 -123
  281. package/examples/pages/components_deprecated/tag-labels.html +0 -57
  282. package/examples/pages/components_deprecated/text.html +0 -55
  283. package/examples/pages/components_deprecated/toggle.html +0 -63
  284. package/examples/pages/components_deprecated/tooltips.html +0 -29
  285. package/examples/pages/components_deprecated/vertical-tabs.html +0 -48
  286. package/examples/pages/components_deprecated/wizard.html +0 -41
  287. package/examples/pages/components_deprecated.html +0 -39
  288. package/examples/pages/design/application-structure.html +0 -168
  289. package/examples/pages/design/buttons.html +0 -34
  290. package/examples/pages/design/checkbox-and-radio.html +0 -64
  291. package/examples/pages/design/layout-principles.html +0 -45
  292. package/examples/pages/design/modules.html +0 -22
  293. package/examples/pages/design/pages.html +0 -22
  294. package/examples/pages/design/switch.html +0 -55
  295. package/examples/pages/design-patterns/Index.tsx +0 -42
  296. package/examples/pages/design-patterns/ThreePaneLayoutPattern.tsx +0 -378
  297. package/examples/pages/design-patterns.html +0 -14
  298. package/examples/pages/design.html +0 -39
  299. package/examples/pages/main.html +0 -76
  300. package/examples/pages/playgrounds/accessible-theme-test.html +0 -813
  301. package/examples/pages/playgrounds/boxed-list.html +0 -164
  302. package/examples/pages/playgrounds/cards.html +0 -244
  303. package/examples/pages/playgrounds/circular-progress.html +0 -48
  304. package/examples/pages/playgrounds/dummy-data/items.ts +0 -95
  305. package/examples/pages/playgrounds/editor-3-test.html +0 -15
  306. package/examples/pages/playgrounds/form-layout.html +0 -285
  307. package/examples/pages/playgrounds/layout-grid.html +0 -79
  308. package/examples/pages/playgrounds/layout-snippets/edit-article.html +0 -415
  309. package/examples/pages/playgrounds/layout-test-2.html +0 -795
  310. package/examples/pages/playgrounds/list-item-test.html +0 -896
  311. package/examples/pages/playgrounds/main.html +0 -16
  312. package/examples/pages/playgrounds/master-desk.html +0 -1678
  313. package/examples/pages/playgrounds/media-carousel.html +0 -1166
  314. package/examples/pages/playgrounds/nav-buttons.html +0 -65
  315. package/examples/pages/playgrounds/photo-desk.html +0 -1515
  316. package/examples/pages/playgrounds/photo-snippets/edit-photo-metadata.html +0 -208
  317. package/examples/pages/playgrounds/planning-snippets/edit-event.html +0 -187
  318. package/examples/pages/playgrounds/planning-snippets/edit-planning.html +0 -457
  319. package/examples/pages/playgrounds/planning.html +0 -1112
  320. package/examples/pages/playgrounds/publish-snippets/edit-article.html +0 -37
  321. package/examples/pages/playgrounds/publish.html +0 -1007
  322. package/examples/pages/playgrounds/publisher-content-analytics.html +0 -376
  323. package/examples/pages/playgrounds/publisher-content-list-automatic.html +0 -296
  324. package/examples/pages/playgrounds/publisher-content-list-manual.html +0 -611
  325. package/examples/pages/playgrounds/publisher-content-lists.html +0 -255
  326. package/examples/pages/playgrounds/publisher-dashboard.html +0 -323
  327. package/examples/pages/playgrounds/publisher-output-control.html +0 -3659
  328. package/examples/pages/playgrounds/publisher-website-settings-general.html +0 -188
  329. package/examples/pages/playgrounds/publisher-website-settings.html +0 -265
  330. package/examples/pages/playgrounds/react-playgrounds/CoreLayout.tsx +0 -952
  331. package/examples/pages/playgrounds/react-playgrounds/EditorTest.tsx +0 -649
  332. package/examples/pages/playgrounds/react-playgrounds/FirstPlayground.tsx +0 -236
  333. package/examples/pages/playgrounds/react-playgrounds/Index.tsx +0 -11
  334. package/examples/pages/playgrounds/react-playgrounds/Multiedit.tsx +0 -401
  335. package/examples/pages/playgrounds/react-playgrounds/PageLayoutTest.tsx +0 -210
  336. package/examples/pages/playgrounds/react-playgrounds/PersonalProfile.tsx +0 -835
  337. package/examples/pages/playgrounds/react-playgrounds/RundownEditor.tsx +0 -580
  338. package/examples/pages/playgrounds/react-playgrounds/Rundowns.tsx +0 -1415
  339. package/examples/pages/playgrounds/react-playgrounds/SamsPlayground.tsx +0 -401
  340. package/examples/pages/playgrounds/react-playgrounds/TestGround.tsx +0 -2710
  341. package/examples/pages/playgrounds/react-playgrounds/UiPlayground.tsx +0 -410
  342. package/examples/pages/playgrounds/react-playgrounds/components/AuthoringContainer.tsx +0 -25
  343. package/examples/pages/playgrounds/react-playgrounds/components/AuthoringContent.tsx +0 -86
  344. package/examples/pages/playgrounds/react-playgrounds/components/ContentSplitter.tsx +0 -19
  345. package/examples/pages/playgrounds/react-playgrounds/components/GraphicButton.tsx +0 -34
  346. package/examples/pages/playgrounds/react-playgrounds/components/GraphicButtonsGroup.tsx +0 -11
  347. package/examples/pages/playgrounds/react-playgrounds/components/HeaderPanel.tsx +0 -11
  348. package/examples/pages/playgrounds/react-playgrounds/components/Index.tsx +0 -20
  349. package/examples/pages/playgrounds/react-playgrounds/components/Layout.tsx +0 -27
  350. package/examples/pages/playgrounds/react-playgrounds/components/LayoutContainer.tsx +0 -15
  351. package/examples/pages/playgrounds/react-playgrounds/components/LeftPanel.tsx +0 -15
  352. package/examples/pages/playgrounds/react-playgrounds/components/MainPanel.tsx +0 -24
  353. package/examples/pages/playgrounds/react-playgrounds/components/OverlayPanel.tsx +0 -17
  354. package/examples/pages/playgrounds/react-playgrounds/components/Panel.tsx +0 -23
  355. package/examples/pages/playgrounds/react-playgrounds/components/PanelContent.tsx +0 -11
  356. package/examples/pages/playgrounds/react-playgrounds/components/PanelContentBlock.tsx +0 -19
  357. package/examples/pages/playgrounds/react-playgrounds/components/PanelFooter.tsx +0 -17
  358. package/examples/pages/playgrounds/react-playgrounds/components/PanelHeader.tsx +0 -31
  359. package/examples/pages/playgrounds/react-playgrounds/components/RightPanel.tsx +0 -16
  360. package/examples/pages/playgrounds/react-playgrounds/components/SearchBar.tsx +0 -87
  361. package/examples/pages/playgrounds/react-playgrounds/components/SidebarMenu.tsx +0 -76
  362. package/examples/pages/playgrounds/react-playgrounds/components/SubNav.tsx +0 -17
  363. package/examples/pages/playgrounds/react-playgrounds/components/ThemeDropdown.tsx +0 -57
  364. package/examples/pages/playgrounds/react-playgrounds/tsconfig.json +0 -4
  365. package/examples/pages/playgrounds/settings.html +0 -92
  366. package/examples/pages/playgrounds/side-navigation.html +0 -201
  367. package/examples/pages/playgrounds/swimlane-view.html +0 -1975
  368. package/examples/pages/playgrounds/tags-input.html +0 -55
  369. package/examples/pages/playgrounds/toasts.html +0 -113
  370. package/examples/pages/playgrounds/video-editor.html +0 -706
  371. package/examples/pages/playgrounds.html +0 -40
@@ -1,835 +0,0 @@
1
- import * as React from 'react';
2
- import * as Components from './components/Index';
3
- import {
4
- Button,
5
- ButtonGroup,
6
- NavButton,
7
- SubNav,
8
- SubNavDivider,
9
- Checkbox,
10
- CheckGroup,
11
- CheckButtonGroup,
12
- CheckboxButton,
13
- RadioButtonGroup,
14
- Switch,
15
- SwitchGroup,
16
- Input,
17
- Select,
18
- Option,
19
- Label,
20
- Tooltip,
21
- Tabs,
22
- TabLabel,
23
- TabContent,
24
- TabPanel,
25
- AvatarWrapper,
26
- AvatarContentImage,
27
- LeftMenu,
28
- SimpleList,
29
- SimpleListItem,
30
- Container,
31
- Heading,
32
- Text,
33
- Divider,
34
- ThemeSelector,
35
- Tag,
36
- } from '../../../../app-typescript/index';
37
- import * as Layout from '../../../../app-typescript/components/Layouts';
38
- import * as Form from '../../../../app-typescript/components/Form';
39
-
40
- interface IProps {
41
- children?: React.ReactNode;
42
- }
43
-
44
- interface IState {
45
- theme: 'dark' | 'light' | string;
46
- itemType: string;
47
- dropDownState: string;
48
- openPreview: boolean;
49
- openFilter: boolean;
50
- itemSelected1: boolean;
51
- itemSelected2: boolean;
52
- itemSelected3: boolean;
53
- value1: boolean;
54
- value2: boolean;
55
- value3: boolean;
56
- value4: boolean;
57
- value5: boolean;
58
- value6: boolean;
59
- value7: boolean;
60
- value8: boolean;
61
- value9: boolean;
62
- value10: boolean;
63
- value11: boolean;
64
- value12: boolean;
65
- radioValue1: string;
66
- radioValue2: string;
67
- radioValue3: string;
68
- indexValue: number;
69
- }
70
-
71
- export class PersonalProfile extends React.Component<IProps, IState> {
72
- constructor(props: IProps) {
73
- super(props);
74
- this.state = {
75
- theme: 'light',
76
- itemType: 'itemtype01',
77
- dropDownState: '',
78
- openPreview: false,
79
- openFilter: false,
80
- itemSelected1: false,
81
- itemSelected2: false,
82
- itemSelected3: false,
83
- value1: false,
84
- value2: true,
85
- value3: true,
86
- value4: false,
87
- value5: true,
88
- value6: true,
89
- value7: false,
90
- value8: false,
91
- value9: false,
92
- value10: false,
93
- value11: true,
94
- value12: true,
95
- radioValue1: 'list',
96
- radioValue2: 'grid',
97
- radioValue3: 'list',
98
- indexValue: 0,
99
- };
100
- this.handleFilter = this.handleFilter.bind(this);
101
- this.handlePreview = this.handlePreview.bind(this);
102
- this.handleTheme = this.handleTheme.bind(this);
103
- this.handleClick = this.handleClick.bind(this);
104
- }
105
-
106
- handleFilter() {
107
- this.setState((state) => ({
108
- openFilter: !state.openFilter,
109
- }));
110
- }
111
-
112
- handlePreview() {
113
- this.setState((state) => ({
114
- openPreview: !state.openPreview,
115
- }));
116
- }
117
-
118
- handleTheme(newTheme: string) {
119
- this.setState({
120
- theme: newTheme,
121
- });
122
- }
123
-
124
- changeStatus(item: any, status: string) {
125
- if (item.status.includes(status)) {
126
- item.status.splice(item.status.indexOf(status), 1);
127
- } else {
128
- item.status.push(status);
129
- }
130
- }
131
-
132
- handleClick = (number: number) => {
133
- this.setState({
134
- indexValue: number,
135
- });
136
- };
137
-
138
- render() {
139
- return (
140
- <Components.Layout header="My Profile" theme={this.state.theme}>
141
- <Components.LayoutContainer>
142
- <Components.HeaderPanel>
143
- <SubNav>
144
- <ButtonGroup align="start" spaces="no-space">
145
- <Tooltip text="User list" flow="right">
146
- <NavButton icon="arrow-left" onClick={() => false} />
147
- </Tooltip>
148
- </ButtonGroup>
149
- <SubNavDivider width="medium" />
150
- <AvatarWrapper size="medium">
151
- <AvatarContentImage imageUrl="/avatar.jpg" tooltipText="John Doe" />
152
- </AvatarWrapper>
153
- <h2 className="subnav__page-title">Jeffrey Lebowski</h2>
154
- </SubNav>
155
- <SubNav>
156
- <SubNavDivider width="small" />
157
- <Tabs onClick={this.handleClick}>
158
- <TabLabel label="Overview" indexValue={0} />
159
- <TabLabel label="Personal preferences" indexValue={1} />
160
- <TabLabel label="Privileges" indexValue={2} />
161
- </Tabs>
162
- </SubNav>
163
- </Components.HeaderPanel>
164
- {/* TOOLBAR HEADER */}
165
- <TabContent activePanel={this.state.indexValue}>
166
- <TabPanel indexValue={0}>
167
- <Layout.LeftPanel open={true}>
168
- <Layout.Panel background="transparent" size="xx-small">
169
- <Layout.PanelContent>
170
- <LeftMenu
171
- ariaLabel={'Left navigation'}
172
- scrollSpy="#scrollContainer"
173
- activeItemId="1"
174
- style="blanc"
175
- groups={[
176
- {
177
- label: '',
178
- items: [
179
- {id: '1', label: 'General info', ref: 'profile'},
180
- {id: '2', label: 'Password', ref: 'password'},
181
- {id: '3', label: 'Default desk', ref: 'defaultDesk'},
182
- {id: '4', label: 'Language', ref: 'language'},
183
- {id: '5', label: 'Author info', ref: 'autorInfo'},
184
- ],
185
- },
186
- ]}
187
- onSelect={() => {
188
- console.log('onSelect triggered');
189
- }}
190
- />
191
- </Layout.PanelContent>
192
- </Layout.Panel>
193
- </Layout.LeftPanel>
194
- {/* FILTER PANEL*/}
195
- <Layout.MainPanel className="sd-padding--3" id="scrollContainer">
196
- <SimpleList density="comfortable" width="large">
197
- <SimpleListItem stacked={true} id="profile">
198
- <Container
199
- id="profile"
200
- direction="column"
201
- className="sd-radius--medium sd-panel-bg--gradient-1 sd-shadow--z2 sd-padding--3 sd-state--focus"
202
- >
203
- <Container className="sd-flex-justify-space-between sd-margin-b--2">
204
- <Label text="Active" type="success" style="translucent" />
205
- <Switch
206
- toolTipFlow="left"
207
- label={{content: 'Toggle active', hidden: true}}
208
- value={this.state.value1}
209
- onChange={(value) => this.setState(() => ({value1: value}))}
210
- />
211
- </Container>
212
- <Container
213
- direction="column"
214
- className="sd-flex-align-items-center sd-margin-x--auto"
215
- >
216
- <AvatarWrapper size="xx-large">
217
- <AvatarContentImage imageUrl="/avatar.jpg" tooltipText="John Doe" />
218
- </AvatarWrapper>
219
- <Heading
220
- className="sd-margin-b--0-5 sd-margin-t--2"
221
- align="center"
222
- type="h2"
223
- >
224
- Jeffrey Lebowski
225
- </Heading>
226
- <Text
227
- className="sd-margin-b--1 sd-font-size--medium"
228
- align="center"
229
- color="light"
230
- >
231
- the_dude
232
- </Text>
233
- <Text
234
- className="sd-margin-b--1-5 sd-font-size--x-small"
235
- align="center"
236
- color="lighter"
237
- >
238
- Member since 24.04.2011
239
- </Text>
240
- <ButtonGroup spaces="compact" align="center">
241
- <Tag
242
- text="Editor"
243
- shade="light"
244
- readOnly={true}
245
- onClick={() => false}
246
- />
247
- <Tag
248
- text="Author"
249
- shade="light"
250
- readOnly={true}
251
- onClick={() => false}
252
- />
253
- <Tag
254
- text="Administrator"
255
- shade="highlight1"
256
- readOnly={true}
257
- onClick={() => false}
258
- />
259
- </ButtonGroup>
260
- </Container>
261
- <Container direction="column" className="sd-margin-t--4">
262
- <Form.FormGroup marginBottom="3">
263
- <Form.FormItem>
264
- <Input
265
- label="First Name"
266
- type="text"
267
- value="Jeffrey"
268
- required={false}
269
- disabled={false}
270
- onChange={() => false}
271
- />
272
- </Form.FormItem>
273
- </Form.FormGroup>
274
- <Form.FormGroup marginBottom="3">
275
- <Form.FormItem>
276
- <Input
277
- label="Last Name"
278
- type="text"
279
- value="Lebowski"
280
- required={false}
281
- disabled={false}
282
- onChange={() => false}
283
- />
284
- </Form.FormItem>
285
- </Form.FormGroup>
286
- <Form.FormGroup marginBottom="4">
287
- <Form.FormItem>
288
- <Input
289
- label="Username"
290
- type="text"
291
- value="the_dude"
292
- required={false}
293
- disabled={false}
294
- onChange={() => false}
295
- />
296
- </Form.FormItem>
297
- </Form.FormGroup>
298
- <Form.FormGroup marginBottom="3">
299
- <Form.FormItem>
300
- <Input
301
- label="Email"
302
- type="text"
303
- value="jeffrey.lebowski@bloodsimple.org"
304
- required={false}
305
- disabled={false}
306
- onChange={() => false}
307
- />
308
- </Form.FormItem>
309
- </Form.FormGroup>
310
- <Form.FormGroup marginBottom="3">
311
- <Form.FormItem>
312
- <Input
313
- label="Phone number"
314
- type="text"
315
- value="+381 64 155 22 55"
316
- required={false}
317
- disabled={false}
318
- onChange={() => false}
319
- />
320
- </Form.FormItem>
321
- </Form.FormGroup>
322
- <Form.FormGroup marginBottom="4">
323
- <Form.FormItem>
324
- <Select
325
- label="Role"
326
- value="Select user role"
327
- required={false}
328
- disabled={false}
329
- onChange={() => false}
330
- >
331
- <Option>Editor</Option>
332
- <Option>Journalist</Option>
333
- <Option>Photographer</Option>
334
- <Option>Freelancer</Option>
335
- <Option>Journalist Assistant</Option>
336
- </Select>
337
- </Form.FormItem>
338
- </Form.FormGroup>
339
- <CheckGroup orientation="vertical">
340
- <Checkbox
341
- checked={this.state.value11}
342
- label={{text: 'Administrator'}}
343
- onChange={(value) => this.setState(() => ({value11: value}))}
344
- />
345
- <Checkbox
346
- checked={this.state.value12}
347
- label={{text: 'Author'}}
348
- onChange={(value) => this.setState(() => ({value12: value}))}
349
- />
350
- </CheckGroup>
351
- </Container>
352
- </Container>
353
- </SimpleListItem>
354
- <SimpleListItem stacked={true} id="password">
355
- <Heading type="h3">Password</Heading>
356
- <Container className="sd-radius--medium sd-panel-bg--000 sd-shadow--z2 sd-padding--3 sd-state--focus">
357
- <ButtonGroup align="center">
358
- <Button
359
- style="hollow"
360
- type="primary"
361
- text="Change password"
362
- onClick={() => false}
363
- />
364
- </ButtonGroup>
365
- </Container>
366
- </SimpleListItem>
367
- <SimpleListItem stacked={true} id="defaultDesk">
368
- <Heading type="h3">Default desk</Heading>
369
- <Container className="sd-radius--medium sd-panel-bg--000 sd-shadow--z2 sd-padding--3 sd-state--focus">
370
- <Form.FormGroup inlineLabel={true} marginBottom="0">
371
- <Form.FormItem>
372
- <Select
373
- label="Default desk"
374
- value="This is some value"
375
- labelHidden={true}
376
- required={false}
377
- disabled={false}
378
- onChange={() => false}
379
- >
380
- <Option>International</Option>
381
- <Option>Kulture</Option>
382
- <Option>National</Option>
383
- <Option>News</Option>
384
- <Option>Politics</Option>
385
- <Option>Sports</Option>
386
- </Select>
387
- </Form.FormItem>
388
- </Form.FormGroup>
389
- </Container>
390
- </SimpleListItem>
391
- <SimpleListItem stacked={true} id="language">
392
- <Heading type="h3">Language</Heading>
393
- <Container className="sd-radius--medium sd-panel-bg--000 sd-shadow--z2 sd-padding--3 sd-state--focus">
394
- <Form.FormGroup inlineLabel={true} marginBottom="0">
395
- <Form.FormItem>
396
- <Select
397
- label="Language"
398
- value="English"
399
- labelHidden={true}
400
- required={false}
401
- disabled={false}
402
- onChange={() => false}
403
- >
404
- <Option>English</Option>
405
- <Option>German</Option>
406
- <Option>French</Option>
407
- <Option>Serbian</Option>
408
- </Select>
409
- </Form.FormItem>
410
- </Form.FormGroup>
411
- </Container>
412
- </SimpleListItem>
413
- <SimpleListItem stacked={true} id="autorInfo">
414
- <h3 className="sd-font-size--medium">Author info</h3>
415
- <Container
416
- direction="column"
417
- className="sd-radius--medium sd-panel-bg--000 sd-shadow--z2 sd-padding--3 sd-state--focus"
418
- >
419
- <Form.FormGroup marginBottom="3">
420
- <Form.FormItem>
421
- <Input
422
- label="Sign-Off"
423
- type="text"
424
- value="the_dude"
425
- required={false}
426
- disabled={false}
427
- onChange={() => false}
428
- />
429
- </Form.FormItem>
430
- </Form.FormGroup>
431
- <Form.FormGroup marginBottom="3">
432
- <Form.FormItem>
433
- <Input
434
- label="Byline"
435
- type="text"
436
- value="Jeffrey Lebowski"
437
- required={false}
438
- disabled={false}
439
- onChange={() => false}
440
- />
441
- </Form.FormItem>
442
- </Form.FormGroup>
443
- <Form.FormGroup marginBottom="3">
444
- <Form.FormItem>
445
- <Input
446
- label="Job Title"
447
- type="text"
448
- value="the_dude"
449
- required={false}
450
- disabled={false}
451
- onChange={() => false}
452
- />
453
- </Form.FormItem>
454
- </Form.FormGroup>
455
- <Form.FormGroup marginBottom="4">
456
- <Form.FormItem>
457
- <Input
458
- label="Biography"
459
- type="text"
460
- value="the_dude"
461
- required={false}
462
- disabled={false}
463
- onChange={() => false}
464
- />
465
- </Form.FormItem>
466
- </Form.FormGroup>
467
- <Heading className="sd-margin-t--3 sd-margin-b--2" type="h4">
468
- Social media
469
- </Heading>
470
- <Form.FormGroup marginBottom="3">
471
- <Form.FormItem>
472
- <Input
473
- label="Facebook"
474
- type="text"
475
- value="the_dude"
476
- required={false}
477
- disabled={false}
478
- onChange={() => false}
479
- />
480
- </Form.FormItem>
481
- </Form.FormGroup>
482
- <Form.FormGroup marginBottom="3">
483
- <Form.FormItem>
484
- <Input
485
- label="Instagram"
486
- type="text"
487
- value="the_dude"
488
- required={false}
489
- disabled={false}
490
- onChange={() => false}
491
- />
492
- </Form.FormItem>
493
- </Form.FormGroup>
494
- <Form.FormGroup marginBottom="2">
495
- <Form.FormItem>
496
- <Input
497
- label="Twitter"
498
- type="text"
499
- value="the_dude"
500
- required={false}
501
- disabled={false}
502
- onChange={() => false}
503
- />
504
- </Form.FormItem>
505
- </Form.FormGroup>
506
- </Container>
507
- </SimpleListItem>
508
- </SimpleList>
509
- </Layout.MainPanel>
510
- {/* MAIN CONTENT (Monitoring) */}
511
- <Components.RightPanel open={this.state.openPreview}></Components.RightPanel>
512
- {/* PREVIEW PANEL*/}
513
- <Components.OverlayPanel />
514
- {/* OVERLAY PANEL (Send To) */}
515
- </TabPanel>
516
- <TabPanel indexValue={1}>
517
- <Layout.LeftPanel open={true}>
518
- <Layout.Panel background="transparent" size="xx-small">
519
- <Layout.PanelContent>
520
- <LeftMenu
521
- ariaLabel={'Left navigation'}
522
- activeItemId="#1"
523
- style="blanc"
524
- groups={[
525
- {
526
- label: '',
527
- items: [
528
- {id: '1', label: 'Feature preview'},
529
- {id: '2', label: 'View formats'},
530
- {id: '3', label: 'Notifications'},
531
- {id: '4', label: 'Article defaults'},
532
- {id: '5', label: 'Categories'},
533
- {id: '6', label: 'Desks'},
534
- {id: '7', label: 'Vocabulary values'},
535
- {id: '8', label: 'Appearance'},
536
- ],
537
- },
538
- ]}
539
- onSelect={() => false}
540
- />
541
- </Layout.PanelContent>
542
- </Layout.Panel>
543
- </Layout.LeftPanel>
544
- {/* FILTER PANEL*/}
545
- <Layout.MainPanel className="sd-padding--3">
546
- <SimpleList density="comfortable" width="large">
547
- <SimpleListItem stacked={true}>
548
- <Heading type="h3">Feature preview</Heading>
549
- <Container className="sd-radius--medium sd-panel-bg--000 sd-shadow--z2 sd-padding--3 sd-state--focus">
550
- <Switch
551
- label={{content: 'Enable Feature Preview'}}
552
- value={this.state.value1}
553
- onChange={(value) => this.setState(() => ({value1: value}))}
554
- />
555
- </Container>
556
- </SimpleListItem>
557
- <SimpleListItem stacked={true}>
558
- <Heading type="h3">View formats</Heading>
559
- <Container
560
- direction="column"
561
- className="sd-radius--medium sd-panel-bg--000 sd-shadow--z2 sd-padding--3 sd-state--focus"
562
- >
563
- <Text color="light" className="">
564
- Select the prefered default view format for specific areas of Superdesks
565
- interface. The sections will always open in the selected view format,
566
- but can be always changed using the view option dropdown in each
567
- section.
568
- </Text>
569
- <SimpleList
570
- density="compact"
571
- border={true}
572
- className="sd-margin-t--3 sd-margin-b--0 sd-padding-b--0"
573
- >
574
- <SimpleListItem stacked={true}>
575
- <Heading type="h4">Archive</Heading>
576
- <RadioButtonGroup
577
- value={this.state.radioValue1}
578
- options={[
579
- {label: 'Grid view', value: 'grid', icon: 'th'},
580
- {label: 'List view', value: 'list', icon: 'th-list'},
581
- ]}
582
- onChange={(value) =>
583
- this.setState(() => ({radioValue1: value}))
584
- }
585
- />
586
- </SimpleListItem>
587
- <SimpleListItem stacked={true}>
588
- <Heading type="h4">Contacts</Heading>
589
- <RadioButtonGroup
590
- value={this.state.radioValue2}
591
- options={[
592
- {label: 'Grid view', value: 'grid', icon: 'th'},
593
- {label: 'List view', value: 'list', icon: 'th-list'},
594
- ]}
595
- onChange={(value) =>
596
- this.setState(() => ({radioValue2: value}))
597
- }
598
- />
599
- </SimpleListItem>
600
- <SimpleListItem stacked={true}>
601
- <Heading type="h4">Archive</Heading>
602
- <RadioButtonGroup
603
- value={this.state.radioValue3}
604
- options={[
605
- {label: 'Grid view', value: 'grid', icon: 'th'},
606
- {label: 'List view', value: 'list', icon: 'th-list'},
607
- {
608
- label: 'Swimlane view',
609
- value: 'kanban',
610
- icon: 'kanban-view',
611
- },
612
- ]}
613
- onChange={(value) =>
614
- this.setState(() => ({radioValue3: value}))
615
- }
616
- />
617
- </SimpleListItem>
618
- </SimpleList>
619
- </Container>
620
- </SimpleListItem>
621
- <SimpleListItem stacked={true}>
622
- <Heading type="h3">Notifications</Heading>
623
- <Container className="sd-radius--medium sd-panel-bg--000 sd-shadow--z2 sd-padding--3 sd-state--focus">
624
- <SwitchGroup>
625
- <Switch
626
- label={{content: 'Send notifications via email'}}
627
- value={this.state.value2}
628
- onChange={(value) => this.setState(() => ({value2: value}))}
629
- />
630
- <Switch
631
- label={{content: 'Allow Desktop Notifications'}}
632
- value={this.state.value3}
633
- onChange={(value) => this.setState(() => ({value3: value}))}
634
- />
635
- </SwitchGroup>
636
- </Container>
637
- </SimpleListItem>
638
- <SimpleListItem stacked={true}>
639
- <h3 className="sd-font-size--medium">Article defaults</h3>
640
- <Container
641
- direction="column"
642
- className="sd-radius--medium sd-panel-bg--000 sd-shadow--z2 sd-padding--3 sd-state--focus"
643
- >
644
- <Form.FormGroup>
645
- <Form.FormItem>
646
- <Input
647
- label="Dateline / Located"
648
- type="text"
649
- value=""
650
- required={false}
651
- disabled={false}
652
- onChange={() => false}
653
- />
654
- </Form.FormItem>
655
- </Form.FormGroup>
656
- <Form.FormGroup>
657
- <Form.FormItem>
658
- <Select
659
- label="Place"
660
- value="This is some value"
661
- required={true}
662
- disabled={false}
663
- onChange={() => false}
664
- >
665
- <Option>Select place</Option>
666
- <Option>Option 1</Option>
667
- <Option>Option 2</Option>
668
- </Select>
669
- </Form.FormItem>
670
- </Form.FormGroup>
671
- </Container>
672
- </SimpleListItem>
673
- <SimpleListItem stacked={true}>
674
- <Heading type="h3">Categories</Heading>
675
- <Container
676
- direction="column"
677
- className="sd-radius--medium sd-panel-bg--000 sd-shadow--z2 sd-padding--3 sd-state--focus"
678
- >
679
- <Heading type="h4">Preferred Categories</Heading>
680
- <Text color="light" className="">
681
- By selecting the categories you are interested in, the system will only
682
- display these in a menu for setting the content item's categories (along
683
- with any of its existing categories).
684
- </Text>
685
- <ButtonGroup className="sd-margin-y--2">
686
- <Button
687
- text="All"
688
- style="text-only"
689
- type="primary"
690
- onClick={() => false}
691
- />
692
- <Divider border={true} />
693
- <Button
694
- text="None"
695
- style="text-only"
696
- type="primary"
697
- onClick={() => false}
698
- />
699
- <Divider border={true} />
700
- <Button
701
- text="Default"
702
- style="text-only"
703
- type="primary"
704
- onClick={() => false}
705
- />
706
- </ButtonGroup>
707
- <CheckButtonGroup grid={true}>
708
- <CheckboxButton
709
- checked={this.state.value1}
710
- label={{text: 'Category one'}}
711
- onChange={(value) => this.setState(() => ({value1: value}))}
712
- />
713
- <CheckboxButton
714
- checked={this.state.value2}
715
- label={{text: 'Category two'}}
716
- onChange={(value) => this.setState(() => ({value2: value}))}
717
- />
718
- <CheckboxButton
719
- checked={this.state.value3}
720
- label={{text: 'Category three'}}
721
- onChange={(value) => this.setState(() => ({value3: value}))}
722
- />
723
- <CheckboxButton
724
- checked={this.state.value4}
725
- label={{text: 'Category four'}}
726
- onChange={(value) => this.setState(() => ({value4: value}))}
727
- />
728
- </CheckButtonGroup>
729
- </Container>
730
- </SimpleListItem>
731
- <SimpleListItem stacked={true}>
732
- <Heading type="h3">Desks</Heading>
733
- <Container
734
- direction="column"
735
- className="sd-radius--medium sd-panel-bg--000 sd-shadow--z2 sd-padding--3 sd-state--focus"
736
- >
737
- <Heading type="h4">Preferred Desks</Heading>
738
- <Text color="light" className="sd-margin-b--2">
739
- By selecting the desks as your preferred desks, they appear first in the
740
- order when sending or publishing items.
741
- </Text>
742
- <CheckButtonGroup grid={true}>
743
- <CheckboxButton
744
- checked={this.state.value5}
745
- label={{text: 'Politics'}}
746
- onChange={(value) => this.setState(() => ({value5: value}))}
747
- />
748
- <CheckboxButton
749
- checked={this.state.value6}
750
- label={{text: 'Sports'}}
751
- onChange={(value) => this.setState(() => ({value6: value}))}
752
- />
753
- <CheckboxButton
754
- checked={this.state.value7}
755
- label={{text: 'News'}}
756
- onChange={(value) => this.setState(() => ({value7: value}))}
757
- />
758
- <CheckboxButton
759
- checked={this.state.value8}
760
- label={{text: 'National'}}
761
- onChange={(value) => this.setState(() => ({value8: value}))}
762
- />
763
- <CheckboxButton
764
- checked={this.state.value9}
765
- label={{text: 'International'}}
766
- onChange={(value) => this.setState(() => ({value9: value}))}
767
- />
768
- <CheckboxButton
769
- checked={this.state.value10}
770
- label={{text: 'Kulture'}}
771
- onChange={(value) => this.setState(() => ({value10: value}))}
772
- />
773
- </CheckButtonGroup>
774
- </Container>
775
- </SimpleListItem>
776
- <SimpleListItem stacked={true}>
777
- <Heading type="h3">Vocabulary values</Heading>
778
- <Container
779
- direction="column"
780
- className="sd-radius--medium sd-padding--2 sd-border--medium sd-border-style--dashed"
781
- >
782
- <Text
783
- color="lighter"
784
- size="medium"
785
- className="sd-margin--auto"
786
- align="center"
787
- >
788
- There are no vocabularies configured.
789
- </Text>
790
- </Container>
791
- </SimpleListItem>
792
- <SimpleListItem stacked={true}>
793
- <Heading type="h3">Appearance</Heading>
794
- <Container
795
- direction="column"
796
- className="sd-radius--medium sd-panel-bg--000 sd-shadow--z2 sd-padding--3 sd-state--focus"
797
- >
798
- <Heading type="h4">Themes</Heading>
799
- <Text color="light" className="sd-margin-b--2">
800
- Change the appearance of Superdesk across the whole application.
801
- </Text>
802
- <ThemeSelector
803
- size="small"
804
- options={[
805
- {label: 'Light', value: 'light-ui', theme: 'light'},
806
- {label: 'Dark', value: 'dark-ui', theme: 'dark'},
807
- {
808
- label: 'High Contrast',
809
- value: 'high-contrast',
810
- theme: 'contrast-light',
811
- disabled: true,
812
- },
813
- ]}
814
- onChange={($event) => {
815
- this.setState({theme: $event});
816
- }}
817
- value={this.state.theme}
818
- />
819
- </Container>
820
- </SimpleListItem>
821
- </SimpleList>
822
- </Layout.MainPanel>
823
- {/* MAIN CONTENT (Monitoring) */}
824
- <Layout.RightPanel open={this.state.openPreview}></Layout.RightPanel>
825
- {/* PREVIEW PANEL*/}
826
- </TabPanel>
827
- <TabPanel indexValue={2}>
828
- <Layout.MainPanel>Privileges Content goes here</Layout.MainPanel>
829
- </TabPanel>
830
- </TabContent>
831
- </Components.LayoutContainer>
832
- </Components.Layout>
833
- );
834
- }
835
- }