superdesk-ui-framework 4.0.52 → 4.0.54

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (373) hide show
  1. package/app-typescript/components/DateTimePicker.tsx +11 -1
  2. package/dist/examples.bundle.js +14 -2
  3. package/dist/superdesk-ui.bundle.js +13 -1
  4. package/package.json +1 -1
  5. package/react/components/DateTimePicker.d.ts +1 -0
  6. package/react/components/DateTimePicker.js +13 -1
  7. package/dist/playgrounds/accessible-theme-test.html +0 -813
  8. package/dist/playgrounds/boxed-list.html +0 -164
  9. package/dist/playgrounds/cards.html +0 -244
  10. package/dist/playgrounds/circular-progress.html +0 -48
  11. package/dist/playgrounds/dummy-data/items.ts +0 -95
  12. package/dist/playgrounds/editor-3-test.html +0 -15
  13. package/dist/playgrounds/form-layout.html +0 -285
  14. package/dist/playgrounds/layout-grid.html +0 -79
  15. package/dist/playgrounds/layout-snippets/edit-article.html +0 -415
  16. package/dist/playgrounds/layout-test-2.html +0 -795
  17. package/dist/playgrounds/list-item-test.html +0 -896
  18. package/dist/playgrounds/main.html +0 -16
  19. package/dist/playgrounds/master-desk.html +0 -1678
  20. package/dist/playgrounds/media-carousel.html +0 -1166
  21. package/dist/playgrounds/nav-buttons.html +0 -65
  22. package/dist/playgrounds/photo-desk.html +0 -1515
  23. package/dist/playgrounds/photo-snippets/edit-photo-metadata.html +0 -208
  24. package/dist/playgrounds/planning-snippets/edit-event.html +0 -187
  25. package/dist/playgrounds/planning-snippets/edit-planning.html +0 -457
  26. package/dist/playgrounds/planning.html +0 -1112
  27. package/dist/playgrounds/publish-snippets/edit-article.html +0 -37
  28. package/dist/playgrounds/publish.html +0 -1007
  29. package/dist/playgrounds/publisher-content-analytics.html +0 -376
  30. package/dist/playgrounds/publisher-content-list-automatic.html +0 -296
  31. package/dist/playgrounds/publisher-content-list-manual.html +0 -611
  32. package/dist/playgrounds/publisher-content-lists.html +0 -255
  33. package/dist/playgrounds/publisher-dashboard.html +0 -323
  34. package/dist/playgrounds/publisher-output-control.html +0 -3659
  35. package/dist/playgrounds/publisher-website-settings-general.html +0 -188
  36. package/dist/playgrounds/publisher-website-settings.html +0 -265
  37. package/dist/playgrounds/react-playgrounds/CoreLayout.tsx +0 -952
  38. package/dist/playgrounds/react-playgrounds/EditorTest.tsx +0 -649
  39. package/dist/playgrounds/react-playgrounds/FirstPlayground.tsx +0 -236
  40. package/dist/playgrounds/react-playgrounds/Index.tsx +0 -11
  41. package/dist/playgrounds/react-playgrounds/Multiedit.tsx +0 -401
  42. package/dist/playgrounds/react-playgrounds/PageLayoutTest.tsx +0 -210
  43. package/dist/playgrounds/react-playgrounds/PersonalProfile.tsx +0 -835
  44. package/dist/playgrounds/react-playgrounds/RundownEditor.tsx +0 -580
  45. package/dist/playgrounds/react-playgrounds/Rundowns.tsx +0 -1415
  46. package/dist/playgrounds/react-playgrounds/SamsPlayground.tsx +0 -401
  47. package/dist/playgrounds/react-playgrounds/TestGround.tsx +0 -2710
  48. package/dist/playgrounds/react-playgrounds/UiPlayground.tsx +0 -410
  49. package/dist/playgrounds/react-playgrounds/components/AuthoringContainer.tsx +0 -25
  50. package/dist/playgrounds/react-playgrounds/components/AuthoringContent.tsx +0 -86
  51. package/dist/playgrounds/react-playgrounds/components/ContentSplitter.tsx +0 -19
  52. package/dist/playgrounds/react-playgrounds/components/GraphicButton.tsx +0 -34
  53. package/dist/playgrounds/react-playgrounds/components/GraphicButtonsGroup.tsx +0 -11
  54. package/dist/playgrounds/react-playgrounds/components/HeaderPanel.tsx +0 -11
  55. package/dist/playgrounds/react-playgrounds/components/Index.tsx +0 -20
  56. package/dist/playgrounds/react-playgrounds/components/Layout.tsx +0 -27
  57. package/dist/playgrounds/react-playgrounds/components/LayoutContainer.tsx +0 -15
  58. package/dist/playgrounds/react-playgrounds/components/LeftPanel.tsx +0 -15
  59. package/dist/playgrounds/react-playgrounds/components/MainPanel.tsx +0 -24
  60. package/dist/playgrounds/react-playgrounds/components/OverlayPanel.tsx +0 -17
  61. package/dist/playgrounds/react-playgrounds/components/Panel.tsx +0 -23
  62. package/dist/playgrounds/react-playgrounds/components/PanelContent.tsx +0 -11
  63. package/dist/playgrounds/react-playgrounds/components/PanelContentBlock.tsx +0 -19
  64. package/dist/playgrounds/react-playgrounds/components/PanelFooter.tsx +0 -17
  65. package/dist/playgrounds/react-playgrounds/components/PanelHeader.tsx +0 -31
  66. package/dist/playgrounds/react-playgrounds/components/RightPanel.tsx +0 -16
  67. package/dist/playgrounds/react-playgrounds/components/SearchBar.tsx +0 -87
  68. package/dist/playgrounds/react-playgrounds/components/SidebarMenu.tsx +0 -76
  69. package/dist/playgrounds/react-playgrounds/components/SubNav.tsx +0 -17
  70. package/dist/playgrounds/react-playgrounds/components/ThemeDropdown.tsx +0 -57
  71. package/dist/playgrounds/react-playgrounds/tsconfig.json +0 -4
  72. package/dist/playgrounds/settings.html +0 -92
  73. package/dist/playgrounds/side-navigation.html +0 -201
  74. package/dist/playgrounds/swimlane-view.html +0 -1975
  75. package/dist/playgrounds/tags-input.html +0 -55
  76. package/dist/playgrounds/toasts.html +0 -113
  77. package/dist/playgrounds/video-editor.html +0 -706
  78. package/examples/css/docs-page.css +0 -1135
  79. package/examples/css/reset.css +0 -124
  80. package/examples/css/vendor.css +0 -175
  81. package/examples/illustration-small--components.svg +0 -45
  82. package/examples/img/andrew-power-y9L5-wmifaY-unsplash.jpg +0 -0
  83. package/examples/img/andrew-power-y9L5-wmifaY-unsplash.license.txt +0 -6
  84. package/examples/img/avatar-2.jpg +0 -0
  85. package/examples/img/avatar-3.jpg +0 -0
  86. package/examples/img/avatar-4.jpg +0 -0
  87. package/examples/img/avatar-5.jpg +0 -0
  88. package/examples/img/avatar-6.jpg +0 -0
  89. package/examples/img/avatar.jpg +0 -0
  90. package/examples/img/bill.jpg +0 -0
  91. package/examples/img/bush_1.jpg +0 -0
  92. package/examples/img/bush_2.jpg +0 -0
  93. package/examples/img/carousel-thumb--01.jpg +0 -0
  94. package/examples/img/carousel-thumb--02.jpg +0 -0
  95. package/examples/img/carousel-thumb--03.jpg +0 -0
  96. package/examples/img/carousel-thumb--04.jpg +0 -0
  97. package/examples/img/components_ilustration.svg +0 -1
  98. package/examples/img/d_trump.jpg +0 -0
  99. package/examples/img/d_trump_2.jpg +0 -0
  100. package/examples/img/d_trump_large.jpg +0 -0
  101. package/examples/img/design_ilustration.svg +0 -1
  102. package/examples/img/ferocious_beast.webm +0 -0
  103. package/examples/img/guidelines/application-frame.png +0 -0
  104. package/examples/img/guidelines/application-frame__bottom-bar.png +0 -0
  105. package/examples/img/guidelines/application-frame__left-panel.gif +0 -0
  106. package/examples/img/guidelines/application-frame__left-panel.png +0 -0
  107. package/examples/img/guidelines/application-frame__main-content.gif +0 -0
  108. package/examples/img/guidelines/application-frame__main-content.png +0 -0
  109. package/examples/img/guidelines/application-frame__right-panel.gif +0 -0
  110. package/examples/img/guidelines/application-frame__right-panel.png +0 -0
  111. package/examples/img/guidelines/application-frame__side-tabs.png +0 -0
  112. package/examples/img/guidelines/application-frame__sub-nav.png +0 -0
  113. package/examples/img/guidelines/application-frame__top-bar.png +0 -0
  114. package/examples/img/guidelines/buttons--00-01.png +0 -0
  115. package/examples/img/guidelines/buttons--00-02.png +0 -0
  116. package/examples/img/guidelines/buttons--DO-02.png +0 -0
  117. package/examples/img/guidelines/buttons--DONT-01.png +0 -0
  118. package/examples/img/guidelines/checkbox--DO-01.png +0 -0
  119. package/examples/img/guidelines/checkbox--DO-02.png +0 -0
  120. package/examples/img/guidelines/checkbox--DONT-01.png +0 -0
  121. package/examples/img/guidelines/checkbox--DONT-02.png +0 -0
  122. package/examples/img/guidelines/example__bottom-bar--01.png +0 -0
  123. package/examples/img/guidelines/example__left-side_panel--01.png +0 -0
  124. package/examples/img/guidelines/example__left_side-bar--01.png +0 -0
  125. package/examples/img/guidelines/example__main-content--01.png +0 -0
  126. package/examples/img/guidelines/example__right_side-panel--01.png +0 -0
  127. package/examples/img/guidelines/example__right_side-panel--02.png +0 -0
  128. package/examples/img/guidelines/example__right_side-panel--03.png +0 -0
  129. package/examples/img/guidelines/example__sub-nav--01.png +0 -0
  130. package/examples/img/guidelines/example__sub-nav--02.png +0 -0
  131. package/examples/img/guidelines/example__sub-nav--03.png +0 -0
  132. package/examples/img/guidelines/example__top-bar--01.png +0 -0
  133. package/examples/img/guidelines/layout--grid-01.png +0 -0
  134. package/examples/img/guidelines/layout--size-example-01.png +0 -0
  135. package/examples/img/guidelines/radio--DO-01.png +0 -0
  136. package/examples/img/guidelines/radio--DONT-01.png +0 -0
  137. package/examples/img/guidelines/radio--DONT-02.png +0 -0
  138. package/examples/img/guidelines/radio--DONT-03.png +0 -0
  139. package/examples/img/guidelines/switch--DO-01.png +0 -0
  140. package/examples/img/guidelines/switch--DO-02.png +0 -0
  141. package/examples/img/guidelines/switch--DONT-01.png +0 -0
  142. package/examples/img/guidelines/switch--DONT-02.png +0 -0
  143. package/examples/img/hillary.jpg +0 -0
  144. package/examples/img/illustration--components.svg +0 -1
  145. package/examples/img/illustration--design.svg +0 -1
  146. package/examples/img/illustration--playground.svg +0 -1
  147. package/examples/img/illustration--react.svg +0 -1
  148. package/examples/img/illustration-small--components.svg +0 -45
  149. package/examples/img/illustration-small--design.svg +0 -99
  150. package/examples/img/illustration-small--playground.svg +0 -49
  151. package/examples/img/illustration-small--react.svg +0 -53
  152. package/examples/img/illustration_user-privileges.png +0 -0
  153. package/examples/img/illustration_users.png +0 -0
  154. package/examples/img/image_01.jpg +0 -0
  155. package/examples/img/image_02.jpg +0 -0
  156. package/examples/img/masthead-image.png +0 -0
  157. package/examples/img/obama_1.jpg +0 -0
  158. package/examples/img/obama_2.jpg +0 -0
  159. package/examples/img/overlay-img.jpg +0 -0
  160. package/examples/img/react-logo--vector.svg +0 -49
  161. package/examples/img/sd-ui-framework__logo-01.svg +0 -33
  162. package/examples/img/sd-ui-framework__logo.svg +0 -20
  163. package/examples/img/th01.jpg +0 -0
  164. package/examples/img/th02.jpg +0 -0
  165. package/examples/img/th03.jpg +0 -0
  166. package/examples/index.html +0 -11
  167. package/examples/index.js +0 -468
  168. package/examples/js/doc.js +0 -230
  169. package/examples/js/react.js +0 -263
  170. package/examples/pages/components/Alerts.tsx +0 -291
  171. package/examples/pages/components/Autocomplete.tsx +0 -434
  172. package/examples/pages/components/Avatar.tsx +0 -659
  173. package/examples/pages/components/Badges.tsx +0 -221
  174. package/examples/pages/components/BigIconFont.tsx +0 -48
  175. package/examples/pages/components/BoxedList.tsx +0 -517
  176. package/examples/pages/components/ButtonGroups.tsx +0 -366
  177. package/examples/pages/components/Buttons.tsx +0 -565
  178. package/examples/pages/components/Card.tsx +0 -23
  179. package/examples/pages/components/Carousel.tsx +0 -235
  180. package/examples/pages/components/Checkboxs.tsx +0 -817
  181. package/examples/pages/components/Container.tsx +0 -190
  182. package/examples/pages/components/ContentDivider.tsx +0 -229
  183. package/examples/pages/components/ContentList.tsx +0 -786
  184. package/examples/pages/components/CreateButton.tsx +0 -121
  185. package/examples/pages/components/DatePicker.tsx +0 -245
  186. package/examples/pages/components/DateTimePicker.tsx +0 -141
  187. package/examples/pages/components/DragHandleDocs.tsx +0 -122
  188. package/examples/pages/components/DropZone.tsx +0 -149
  189. package/examples/pages/components/Dropdowns.tsx +0 -587
  190. package/examples/pages/components/DurationInput.tsx +0 -157
  191. package/examples/pages/components/EmptyStates.tsx +0 -171
  192. package/examples/pages/components/GridItem.tsx +0 -507
  193. package/examples/pages/components/GridList.tsx +0 -126
  194. package/examples/pages/components/Heading.tsx +0 -152
  195. package/examples/pages/components/IconButtons.tsx +0 -191
  196. package/examples/pages/components/IconFont.tsx +0 -49
  197. package/examples/pages/components/IconLabels.tsx +0 -199
  198. package/examples/pages/components/IconPicker.tsx +0 -82
  199. package/examples/pages/components/IllustrationButton.tsx +0 -109
  200. package/examples/pages/components/Index.tsx +0 -563
  201. package/examples/pages/components/Inputs.tsx +0 -313
  202. package/examples/pages/components/Labels.tsx +0 -354
  203. package/examples/pages/components/LeftNavigations.tsx +0 -459
  204. package/examples/pages/components/ListItems.tsx +0 -33
  205. package/examples/pages/components/Loader.tsx +0 -25
  206. package/examples/pages/components/Menu.tsx +0 -181
  207. package/examples/pages/components/Modal.tsx +0 -557
  208. package/examples/pages/components/MultiSelect.tsx +0 -343
  209. package/examples/pages/components/NavButtons.tsx +0 -159
  210. package/examples/pages/components/Panel.tsx +0 -631
  211. package/examples/pages/components/Popover.tsx +0 -90
  212. package/examples/pages/components/QuickNavigationBar.tsx +0 -278
  213. package/examples/pages/components/RadioGroup.tsx +0 -612
  214. package/examples/pages/components/ResizablePanels.tsx +0 -43
  215. package/examples/pages/components/SelectGrid.tsx +0 -162
  216. package/examples/pages/components/SelectWithTemplate.tsx +0 -144
  217. package/examples/pages/components/Selects.tsx +0 -175
  218. package/examples/pages/components/SimpleList.tsx +0 -198
  219. package/examples/pages/components/SubNav.tsx +0 -160
  220. package/examples/pages/components/Switch.tsx +0 -298
  221. package/examples/pages/components/TableList.tsx +0 -315
  222. package/examples/pages/components/Tabs.tsx +0 -276
  223. package/examples/pages/components/TagInputDocs.tsx +0 -130
  224. package/examples/pages/components/Tags.tsx +0 -154
  225. package/examples/pages/components/Text.tsx +0 -184
  226. package/examples/pages/components/TimePicker.tsx +0 -179
  227. package/examples/pages/components/Toasts.tsx +0 -283
  228. package/examples/pages/components/Togglebox.tsx +0 -307
  229. package/examples/pages/components/Tooltips.tsx +0 -74
  230. package/examples/pages/components/TreeMenu.tsx +0 -315
  231. package/examples/pages/components/TreeSelect.tsx +0 -625
  232. package/examples/pages/components/WithPaginationDocs.tsx +0 -56
  233. package/examples/pages/components/WithSizeObserver.tsx +0 -44
  234. package/examples/pages/components/tree-select/TreeSelect.tsx +0 -322
  235. package/examples/pages/components/tree-select/example-1.tsx +0 -67
  236. package/examples/pages/components/tree-select/example-2.tsx +0 -56
  237. package/examples/pages/components/utilities/BorderRadiusUtilities.tsx +0 -71
  238. package/examples/pages/components/utilities/BorderUtilities.tsx +0 -169
  239. package/examples/pages/components/utilities/DisplayUtilities.tsx +0 -115
  240. package/examples/pages/components/utilities/FlexAndGridUtilities.tsx +0 -551
  241. package/examples/pages/components/utilities/ObjectFitUtilities.tsx +0 -51
  242. package/examples/pages/components/utilities/ObjectPositionUtilities.tsx +0 -67
  243. package/examples/pages/components/utilities/OpacityUtilities.tsx +0 -61
  244. package/examples/pages/components/utilities/OverflowUtilities.tsx +0 -92
  245. package/examples/pages/components/utilities/PositionUtilities.tsx +0 -51
  246. package/examples/pages/components/utilities/ShadowUtilities.tsx +0 -122
  247. package/examples/pages/components/utilities/SpacingUtilities.tsx +0 -1079
  248. package/examples/pages/components/utilities/TextUtilities.tsx +0 -560
  249. package/examples/pages/components.html +0 -15
  250. package/examples/pages/components_deprecated/alerts.html +0 -113
  251. package/examples/pages/components_deprecated/badge.html +0 -79
  252. package/examples/pages/components_deprecated/basic-grid.html +0 -132
  253. package/examples/pages/components_deprecated/big-icons.html +0 -65
  254. package/examples/pages/components_deprecated/buttons.html +0 -631
  255. package/examples/pages/components_deprecated/carousel.html +0 -77
  256. package/examples/pages/components_deprecated/checkbox.html +0 -86
  257. package/examples/pages/components_deprecated/colors.html +0 -12
  258. package/examples/pages/components_deprecated/dropdown.html +0 -542
  259. package/examples/pages/components_deprecated/form-layout.html +0 -187
  260. package/examples/pages/components_deprecated/icon-labels.html +0 -34
  261. package/examples/pages/components_deprecated/icons.html +0 -194
  262. package/examples/pages/components_deprecated/input.html +0 -233
  263. package/examples/pages/components_deprecated/labels.html +0 -170
  264. package/examples/pages/components_deprecated/layout-grid.html +0 -227
  265. package/examples/pages/components_deprecated/left-nav.html +0 -83
  266. package/examples/pages/components_deprecated/list-item.html +0 -1342
  267. package/examples/pages/components_deprecated/loader.html +0 -64
  268. package/examples/pages/components_deprecated/modal-template.html +0 -13
  269. package/examples/pages/components_deprecated/modals.html +0 -561
  270. package/examples/pages/components_deprecated/other-elements.html +0 -54
  271. package/examples/pages/components_deprecated/panel-info.html +0 -34
  272. package/examples/pages/components_deprecated/radio.html +0 -64
  273. package/examples/pages/components_deprecated/select.html +0 -160
  274. package/examples/pages/components_deprecated/shadows.html +0 -24
  275. package/examples/pages/components_deprecated/sidebar-menu.html +0 -111
  276. package/examples/pages/components_deprecated/simple-list.html +0 -113
  277. package/examples/pages/components_deprecated/slider.html +0 -31
  278. package/examples/pages/components_deprecated/spacing.html +0 -117
  279. package/examples/pages/components_deprecated/switch.html +0 -31
  280. package/examples/pages/components_deprecated/tables.html +0 -58
  281. package/examples/pages/components_deprecated/tabs.html +0 -257
  282. package/examples/pages/components_deprecated/tag-input.html +0 -123
  283. package/examples/pages/components_deprecated/tag-labels.html +0 -57
  284. package/examples/pages/components_deprecated/text.html +0 -55
  285. package/examples/pages/components_deprecated/toggle.html +0 -63
  286. package/examples/pages/components_deprecated/tooltips.html +0 -29
  287. package/examples/pages/components_deprecated/vertical-tabs.html +0 -48
  288. package/examples/pages/components_deprecated/wizard.html +0 -41
  289. package/examples/pages/components_deprecated.html +0 -39
  290. package/examples/pages/design/application-structure.html +0 -168
  291. package/examples/pages/design/buttons.html +0 -34
  292. package/examples/pages/design/checkbox-and-radio.html +0 -64
  293. package/examples/pages/design/layout-principles.html +0 -45
  294. package/examples/pages/design/modules.html +0 -22
  295. package/examples/pages/design/pages.html +0 -22
  296. package/examples/pages/design/switch.html +0 -55
  297. package/examples/pages/design-patterns/Index.tsx +0 -42
  298. package/examples/pages/design-patterns/ThreePaneLayoutPattern.tsx +0 -378
  299. package/examples/pages/design-patterns.html +0 -14
  300. package/examples/pages/design.html +0 -39
  301. package/examples/pages/main.html +0 -76
  302. package/examples/pages/playgrounds/accessible-theme-test.html +0 -813
  303. package/examples/pages/playgrounds/boxed-list.html +0 -164
  304. package/examples/pages/playgrounds/cards.html +0 -244
  305. package/examples/pages/playgrounds/circular-progress.html +0 -48
  306. package/examples/pages/playgrounds/dummy-data/items.ts +0 -95
  307. package/examples/pages/playgrounds/editor-3-test.html +0 -15
  308. package/examples/pages/playgrounds/form-layout.html +0 -285
  309. package/examples/pages/playgrounds/layout-grid.html +0 -79
  310. package/examples/pages/playgrounds/layout-snippets/edit-article.html +0 -415
  311. package/examples/pages/playgrounds/layout-test-2.html +0 -795
  312. package/examples/pages/playgrounds/list-item-test.html +0 -896
  313. package/examples/pages/playgrounds/main.html +0 -16
  314. package/examples/pages/playgrounds/master-desk.html +0 -1678
  315. package/examples/pages/playgrounds/media-carousel.html +0 -1166
  316. package/examples/pages/playgrounds/nav-buttons.html +0 -65
  317. package/examples/pages/playgrounds/photo-desk.html +0 -1515
  318. package/examples/pages/playgrounds/photo-snippets/edit-photo-metadata.html +0 -208
  319. package/examples/pages/playgrounds/planning-snippets/edit-event.html +0 -187
  320. package/examples/pages/playgrounds/planning-snippets/edit-planning.html +0 -457
  321. package/examples/pages/playgrounds/planning.html +0 -1112
  322. package/examples/pages/playgrounds/publish-snippets/edit-article.html +0 -37
  323. package/examples/pages/playgrounds/publish.html +0 -1007
  324. package/examples/pages/playgrounds/publisher-content-analytics.html +0 -376
  325. package/examples/pages/playgrounds/publisher-content-list-automatic.html +0 -296
  326. package/examples/pages/playgrounds/publisher-content-list-manual.html +0 -611
  327. package/examples/pages/playgrounds/publisher-content-lists.html +0 -255
  328. package/examples/pages/playgrounds/publisher-dashboard.html +0 -323
  329. package/examples/pages/playgrounds/publisher-output-control.html +0 -3659
  330. package/examples/pages/playgrounds/publisher-website-settings-general.html +0 -188
  331. package/examples/pages/playgrounds/publisher-website-settings.html +0 -265
  332. package/examples/pages/playgrounds/react-playgrounds/CoreLayout.tsx +0 -952
  333. package/examples/pages/playgrounds/react-playgrounds/EditorTest.tsx +0 -649
  334. package/examples/pages/playgrounds/react-playgrounds/FirstPlayground.tsx +0 -236
  335. package/examples/pages/playgrounds/react-playgrounds/Index.tsx +0 -11
  336. package/examples/pages/playgrounds/react-playgrounds/Multiedit.tsx +0 -401
  337. package/examples/pages/playgrounds/react-playgrounds/PageLayoutTest.tsx +0 -210
  338. package/examples/pages/playgrounds/react-playgrounds/PersonalProfile.tsx +0 -835
  339. package/examples/pages/playgrounds/react-playgrounds/RundownEditor.tsx +0 -580
  340. package/examples/pages/playgrounds/react-playgrounds/Rundowns.tsx +0 -1415
  341. package/examples/pages/playgrounds/react-playgrounds/SamsPlayground.tsx +0 -401
  342. package/examples/pages/playgrounds/react-playgrounds/TestGround.tsx +0 -2710
  343. package/examples/pages/playgrounds/react-playgrounds/UiPlayground.tsx +0 -410
  344. package/examples/pages/playgrounds/react-playgrounds/components/AuthoringContainer.tsx +0 -25
  345. package/examples/pages/playgrounds/react-playgrounds/components/AuthoringContent.tsx +0 -86
  346. package/examples/pages/playgrounds/react-playgrounds/components/ContentSplitter.tsx +0 -19
  347. package/examples/pages/playgrounds/react-playgrounds/components/GraphicButton.tsx +0 -34
  348. package/examples/pages/playgrounds/react-playgrounds/components/GraphicButtonsGroup.tsx +0 -11
  349. package/examples/pages/playgrounds/react-playgrounds/components/HeaderPanel.tsx +0 -11
  350. package/examples/pages/playgrounds/react-playgrounds/components/Index.tsx +0 -20
  351. package/examples/pages/playgrounds/react-playgrounds/components/Layout.tsx +0 -27
  352. package/examples/pages/playgrounds/react-playgrounds/components/LayoutContainer.tsx +0 -15
  353. package/examples/pages/playgrounds/react-playgrounds/components/LeftPanel.tsx +0 -15
  354. package/examples/pages/playgrounds/react-playgrounds/components/MainPanel.tsx +0 -24
  355. package/examples/pages/playgrounds/react-playgrounds/components/OverlayPanel.tsx +0 -17
  356. package/examples/pages/playgrounds/react-playgrounds/components/Panel.tsx +0 -23
  357. package/examples/pages/playgrounds/react-playgrounds/components/PanelContent.tsx +0 -11
  358. package/examples/pages/playgrounds/react-playgrounds/components/PanelContentBlock.tsx +0 -19
  359. package/examples/pages/playgrounds/react-playgrounds/components/PanelFooter.tsx +0 -17
  360. package/examples/pages/playgrounds/react-playgrounds/components/PanelHeader.tsx +0 -31
  361. package/examples/pages/playgrounds/react-playgrounds/components/RightPanel.tsx +0 -16
  362. package/examples/pages/playgrounds/react-playgrounds/components/SearchBar.tsx +0 -87
  363. package/examples/pages/playgrounds/react-playgrounds/components/SidebarMenu.tsx +0 -76
  364. package/examples/pages/playgrounds/react-playgrounds/components/SubNav.tsx +0 -17
  365. package/examples/pages/playgrounds/react-playgrounds/components/ThemeDropdown.tsx +0 -57
  366. package/examples/pages/playgrounds/react-playgrounds/tsconfig.json +0 -4
  367. package/examples/pages/playgrounds/settings.html +0 -92
  368. package/examples/pages/playgrounds/side-navigation.html +0 -201
  369. package/examples/pages/playgrounds/swimlane-view.html +0 -1975
  370. package/examples/pages/playgrounds/tags-input.html +0 -55
  371. package/examples/pages/playgrounds/toasts.html +0 -113
  372. package/examples/pages/playgrounds/video-editor.html +0 -706
  373. package/examples/pages/playgrounds.html +0 -40
@@ -1,1415 +0,0 @@
1
- import * as React from 'react';
2
- import {
3
- ButtonGroup,
4
- Button,
5
- NavButton,
6
- SubNav,
7
- Dropdown,
8
- RadioButtonGroup,
9
- Input,
10
- Select,
11
- Option,
12
- Label,
13
- IconLabel,
14
- Icon,
15
- IconButton,
16
- Tooltip,
17
- CreateButton,
18
- Modal,
19
- EmptyState,
20
- Container,
21
- BoxedList,
22
- BoxedListItem,
23
- Text,
24
- Heading,
25
- Switch,
26
- SwitchGroup,
27
- SearchBar,
28
- } from '../../../../app-typescript/index';
29
- import * as Layout from '../../../../app-typescript/components/Layouts';
30
- import * as Form from '../../../../app-typescript/components/Form';
31
- import {RundownEditor} from './RundownEditor';
32
- import * as Nav from '../../../../app-typescript/components/Navigation';
33
- import {ContentList} from '../../../../app-typescript/components/Lists/ContentList';
34
- import {TableList} from '../../../../app-typescript/components/Lists/TableList';
35
-
36
- interface IProps {
37
- children?: React.ReactNode;
38
- }
39
-
40
- interface IState {
41
- theme: 'dark' | 'light' | string;
42
- itemType: string;
43
- dropDownState: string;
44
- openPreview: boolean;
45
- openFilter: boolean;
46
- itemSelected1: boolean;
47
- itemSelected2: boolean;
48
- itemSelected3: boolean;
49
- value1: boolean;
50
- modalBasic: boolean;
51
- modalSmall: boolean;
52
- modalMedium: boolean;
53
- modalNewTemplate: boolean;
54
- modalNewShow: boolean;
55
- modalNewShowSuccess: boolean;
56
- modalManageTemplate: boolean;
57
- modalManageShow: boolean;
58
- openEditor: boolean;
59
- openShowEditor: boolean;
60
- array: any;
61
- rightPanel: boolean;
62
- fullEditor: boolean;
63
- previousState: boolean;
64
- }
65
-
66
- export class Rundowns extends React.Component<IProps, IState> {
67
- constructor(props: IProps) {
68
- super(props);
69
- this.state = {
70
- theme: 'light',
71
- itemType: 'itemtype01',
72
- dropDownState: '',
73
- openPreview: false,
74
- openFilter: false,
75
- itemSelected1: false,
76
- itemSelected2: false,
77
- itemSelected3: false,
78
- value1: true,
79
- modalBasic: false,
80
- modalSmall: false,
81
- modalMedium: false,
82
- modalNewTemplate: false,
83
- modalNewShow: false,
84
- modalNewShowSuccess: false,
85
- modalManageTemplate: false,
86
- modalManageShow: false,
87
- openEditor: false,
88
- openShowEditor: false,
89
- rightPanel: false,
90
- fullEditor: false,
91
- previousState: false,
92
- array: [
93
- {
94
- start: (
95
- <>
96
- <Label style="translucent" text="aacc" />
97
- <Label style="translucent" type="primary" text="prlg" />
98
- </>
99
- ),
100
- center: <span>Duis mollis est non commodo</span>,
101
- onClick: () => false,
102
- },
103
- {
104
- start: (
105
- <>
106
- <Label style="translucent" type="warning" text="pokr" />
107
- <Label style="translucent" text="slika" />
108
- </>
109
- ),
110
- center: <span>Nullam id dolor id nibh ultricies</span>,
111
- onClick: () => false,
112
- },
113
- {
114
- start: (
115
- <>
116
- <Label style="translucent" text="aacc" />
117
- <Label style="translucent" type="primary" text="prlg" />
118
- </>
119
- ),
120
- center: <span>Duis mollis est non commodo</span>,
121
- onClick: () => false,
122
- },
123
- {
124
- start: (
125
- <>
126
- <Label style="translucent" type="warning" text="pokr" />
127
- <Label style="translucent" text="slika" />
128
- </>
129
- ),
130
- center: <span>Cras mattis consectetur purus</span>,
131
- onClick: () => false,
132
- },
133
- {
134
- start: (
135
- <>
136
- <Label style="translucent" text="aacc" />
137
- <Label style="translucent" type="primary" text="prlg" />
138
- </>
139
- ),
140
- center: <span>Duis mollis est non commodo</span>,
141
- onClick: () => false,
142
- },
143
- ],
144
- };
145
- this.handleFilter = this.handleFilter.bind(this);
146
- this.handlePreview = this.handlePreview.bind(this);
147
- this.handleTheme = this.handleTheme.bind(this);
148
- this.handleShow = this.handleShow.bind(this);
149
- }
150
-
151
- handleFilter() {
152
- this.setState((state) => ({
153
- openFilter: !state.openFilter,
154
- }));
155
- }
156
-
157
- handlePreview() {
158
- this.setState((state) => ({
159
- openPreview: !state.openPreview,
160
- }));
161
- }
162
-
163
- handleShow() {
164
- this.setState((state) => ({
165
- openShowEditor: !state.openShowEditor,
166
- }));
167
- }
168
-
169
- handleTheme(newTheme: string) {
170
- this.setState({
171
- theme: newTheme,
172
- });
173
- }
174
-
175
- changeStatus(item: any, status: string) {
176
- if (item.status.includes(status)) {
177
- item.status.splice(item.status.indexOf(status), 1);
178
- } else {
179
- item.status.push(status);
180
- }
181
- }
182
-
183
- render() {
184
- const newShowFooter2 = (
185
- <ButtonGroup align="end">
186
- <Button
187
- text="Cancel"
188
- onClick={() => {
189
- this.setState({modalNewShowSuccess: false});
190
- }}
191
- />
192
- <Button
193
- type="primary"
194
- text="yes, Create a Template"
195
- onClick={() => {
196
- this.setState({modalNewShowSuccess: false}), this.setState({modalNewTemplate: true});
197
- }}
198
- />
199
- </ButtonGroup>
200
- );
201
- const newShowFooter = (
202
- <ButtonGroup align="end">
203
- <Button
204
- text="Cancel"
205
- onClick={() => {
206
- this.setState({modalNewShow: false});
207
- }}
208
- />
209
- <Button
210
- type="primary"
211
- text="Save"
212
- onClick={() => {
213
- this.setState({modalNewShowSuccess: true}), this.setState({modalNewShow: false});
214
- }}
215
- />
216
- </ButtonGroup>
217
- );
218
- return (
219
- <>
220
- <Layout.Layout header="Rundowns" theme={this.state.theme}>
221
- <Nav.SideBarMenu
222
- items={[
223
- {icon: 'dashboard', size: 'big'},
224
- {
225
- icon: 'view',
226
- size: 'big',
227
- onCLick: () => this.setState({openEditor: !this.state.openEditor}),
228
- },
229
- {icon: 'marked-star', size: 'big'},
230
- {icon: 'spike', size: 'big'},
231
- {icon: 'personal', size: 'big'},
232
- {icon: 'global-search', size: 'big'},
233
- {icon: 'picture', size: 'big'},
234
- {icon: 'rundown', size: 'big'},
235
- ]}
236
- />
237
-
238
- <Layout.LayoutContainer>
239
- <Layout.HeaderPanel>
240
- <SubNav>
241
- <SearchBar placeholder="Search media"></SearchBar>
242
- <ButtonGroup align="end" spaces="no-space">
243
- <Dropdown
244
- items={[
245
- {
246
- type: 'group',
247
- label: 'Settings',
248
- items: [
249
- 'divider',
250
- {
251
- icon: 'switches',
252
- label: 'Manage Shows',
253
- onSelect: () => this.setState({modalManageShow: true}),
254
- },
255
- {
256
- icon: 'switches',
257
- label: 'Manage Templates',
258
- onSelect: () => this.setState({modalManageTemplate: true}),
259
- },
260
- ],
261
- },
262
- ]}
263
- >
264
- <NavButton icon="settings" onClick={() => false} />
265
- </Dropdown>
266
- <Dropdown
267
- header={[
268
- {
269
- type: 'group',
270
- label: 'Create',
271
- items: [],
272
- },
273
- {
274
- type: 'submenu',
275
- label: 'Rundown',
276
- icon: 'plus-sign',
277
- items: [{icon: 'plus-sign', label: 'Rundown', onSelect: () => 1}],
278
- },
279
- ]}
280
- items={[
281
- {
282
- type: 'group',
283
- label: 'Recent Templates',
284
- items: [
285
- {
286
- icon: 'plus-sign',
287
- label: 'Marker Daily',
288
- onSelect: () => this.setState({dropDownState: ' '}),
289
- },
290
- {
291
- icon: 'plus-sign',
292
- label: 'Marker Weekend',
293
- onSelect: () => this.setState({dropDownState: ' '}),
294
- },
295
- {
296
- icon: 'plus-sign',
297
- label: 'Tabu Daily',
298
- onSelect: () => this.setState({dropDownState: ' '}),
299
- },
300
- {
301
- icon: 'plus-sign',
302
- label: 'Tabu Specijal',
303
- onSelect: () => this.setState({dropDownState: ' '}),
304
- },
305
- ],
306
- },
307
- ]}
308
- footer={[
309
- {
310
- type: 'group',
311
- items: [
312
- {
313
- icon: 'list-plus',
314
- label: 'Create new Template',
315
- onSelect: () => this.setState({modalNewTemplate: true}),
316
- },
317
- {
318
- icon: 'rundown',
319
- label: 'Create new Show',
320
- onSelect: () => this.setState({modalNewShow: true}),
321
- },
322
- ],
323
- },
324
- ]}
325
- >
326
- <CreateButton ariaValue="Create" onClick={() => false} />
327
- </Dropdown>
328
- </ButtonGroup>
329
- </SubNav>
330
- <SubNav>
331
- <ButtonGroup align="start">
332
- <NavButton icon="filter-large" onClick={this.handleFilter} />
333
- </ButtonGroup>
334
- <ButtonGroup align="end">
335
- <ButtonGroup align="sub" padded={true}>
336
- <Button
337
- size="normal"
338
- icon="chevron-left-thin"
339
- text="Previous"
340
- shape="round"
341
- iconOnly={true}
342
- disabled
343
- onClick={() => false}
344
- />
345
- <Button text="Today" style="hollow" onClick={() => false} />
346
- <Button
347
- size="normal"
348
- icon="chevron-right-thin"
349
- text="Next"
350
- shape="round"
351
- iconOnly={true}
352
- onClick={() => false}
353
- />
354
- </ButtonGroup>
355
- <RadioButtonGroup
356
- options={[
357
- {value: 'test10', label: 'D'},
358
- {value: 'test11', label: 'W'},
359
- {value: 'test12', label: 'M'},
360
- ]}
361
- group={{padded: false}}
362
- value={this.state.itemType}
363
- onChange={(value) => this.setState({itemType: value})}
364
- />
365
- <ButtonGroup align="sub" spaces="no-space">
366
- <Dropdown
367
- items={[
368
- {
369
- type: 'group',
370
- label: 'Chose a theme',
371
- items: [
372
- 'divider',
373
- {
374
- label: 'Light',
375
- icon: 'adjust',
376
- onSelect: () => this.handleTheme('light-ui'),
377
- },
378
- {
379
- label: 'Dark',
380
- icon: 'adjust',
381
- onSelect: () => this.handleTheme('dark-ui'),
382
- },
383
- {
384
- label: 'Accessible Light',
385
- icon: 'adjust',
386
- onSelect: () => this.handleTheme('accessible-light-ui'),
387
- },
388
- ],
389
- },
390
- ]}
391
- >
392
- <NavButton type="default" icon="adjust" onClick={() => false} />
393
- </Dropdown>
394
- <Dropdown
395
- items={[
396
- {
397
- type: 'group',
398
- label: 'Actions',
399
- items: [
400
- 'divider',
401
- {
402
- label: 'Action one',
403
- onSelect: () => this.setState({dropDownState: ' '}),
404
- },
405
- {
406
- label: 'Action two',
407
- onSelect: () => this.setState({dropDownState: ' '}),
408
- },
409
- {
410
- label: 'Action three',
411
- onSelect: () => this.setState({dropDownState: ' '}),
412
- },
413
- ],
414
- },
415
- ]}
416
- >
417
- <NavButton icon="dots-vertical" onClick={() => false} />
418
- </Dropdown>
419
- </ButtonGroup>
420
- </ButtonGroup>
421
- </SubNav>
422
- </Layout.HeaderPanel>
423
- {/* TOOLBAR HEADER */}
424
-
425
- <Layout.LeftPanel open={this.state.openFilter}>
426
- <Layout.Panel side="left" background="grey">
427
- <Layout.PanelHeader
428
- title="Advanced filters"
429
- onClose={() => this.setState({openFilter: false})}
430
- />
431
- <Layout.PanelContent>
432
- <Layout.PanelContentBlock>
433
- <Form.FormGroup>
434
- <Form.FormItem>
435
- <Select
436
- label="Shows"
437
- labelHidden={true}
438
- value="This is some value"
439
- info="This is some hint message"
440
- required={true}
441
- disabled={false}
442
- onChange={() => false}
443
- >
444
- <Option>Marker</Option>
445
- <Option>Tabu</Option>
446
- </Select>
447
- </Form.FormItem>
448
- </Form.FormGroup>
449
- <div className="form__group">
450
- <div className="form__item">
451
- <Input
452
- label="Title"
453
- type="text"
454
- value="Title"
455
- inlineLabel={false}
456
- disabled={false}
457
- onChange={() => false}
458
- />
459
- </div>
460
- </div>
461
- <div className="form__group">
462
- <div className="form__item">
463
- <Select
464
- label="Source"
465
- value="Select ingest source..."
466
- inlineLabel={false}
467
- disabled={false}
468
- onChange={() => false}
469
- >
470
- <Option value="option-1">Select ingest source...</Option>
471
- <Option value="option-2">Associated Press</Option>
472
- <Option value="option-3">Reuters</Option>
473
- </Select>
474
- </div>
475
- </div>
476
-
477
- <div className="form__group">
478
- <div className="form__item">
479
- <Input
480
- label="Keyword"
481
- type="text"
482
- value="Keyword"
483
- inlineLabel={false}
484
- disabled={false}
485
- onChange={() => false}
486
- />
487
- </div>
488
- </div>
489
-
490
- <div className="form__group">
491
- <div className="form__item">
492
- <Select
493
- label="Usage right"
494
- value="--- Not selected ---"
495
- info="Dolor in hendrerit."
496
- inlineLabel={false}
497
- disabled={false}
498
- onChange={() => false}
499
- >
500
- <Option value="">--- Not selected ---</Option>
501
- <Option value="single">Single usage</Option>
502
- <Option value="time">Time restricted</Option>
503
- <Option value="bananas">Indefinite usage</Option>
504
- <Option value="indefinite">Pears</Option>
505
- </Select>
506
- </div>
507
- </div>
508
- </Layout.PanelContentBlock>
509
- </Layout.PanelContent>
510
- <Layout.PanelFooter>
511
- <Button text="Clear" style="hollow" onClick={() => false} />
512
- <Button text="Submit" type="primary" onClick={() => false} />
513
- </Layout.PanelFooter>
514
- </Layout.Panel>
515
- </Layout.LeftPanel>
516
- {/* FILTER PANEL*/}
517
- <Layout.MainPanel>
518
- {/* <GridList size="small" gap="medium" margin="3">
519
- {dummy_items.map((item, index) =>
520
- <GridElements.GridItem locked={item.locked} status={item.status} onClick={this.handlePreview} itemtype={item.type} key={index}>
521
- <GridElements.GridItemCheckWrapper>
522
- <Checkbox checked={item.selected} label={{text:''}} onChange={(value) => {
523
- item.selected = value;
524
- this.changeStatus(item, 'selected');
525
- }} />
526
- </GridElements.GridItemCheckWrapper>
527
- <GridElements.GridItemTopActions>
528
- <IconButton icon='fullscreen' ariaValue='More actions' onClick={()=> false} />
529
- </GridElements.GridItemTopActions>
530
- <GridElements.GridItemMedia>
531
- { item.image ? <img src={item.image} alt={item.imageAlt}/> : null }
532
- </GridElements.GridItemMedia>
533
- <GridElements.GridItemContent>
534
- <GridElements.GridItemTime time={item.date} />
535
- <GridElements.GridItemTitle>{item.title}</GridElements.GridItemTitle>
536
- <GridElements.GridItemText>{item.description}</GridElements.GridItemText>
537
- </GridElements.GridItemContent>
538
- <GridElements.GridItemFooter>
539
- <GridElements.GridItemFooterBlock align='left'>
540
- <Icon name={item.type} className='sd-grid-item__type-icn' />
541
- <Badge text={item.urgency} color={item.urgencyColor} />
542
- <Badge text={item.priority} shape='square' color={item.priorityColor} />
543
- </GridElements.GridItemFooterBlock>
544
- <GridElements.GridItemFooterActions>
545
- <IconButton icon='dots-vertical' ariaValue='More actions' onClick={()=> this.changeStatus(item, 'archived')} />
546
- </GridElements.GridItemFooterActions>
547
- </GridElements.GridItemFooter>
548
- </GridElements.GridItem>
549
- )}
550
- </GridList> */}
551
-
552
- <ContentList
553
- items={[
554
- {
555
- itemColum: [
556
- {
557
- itemRow: [
558
- {
559
- content: (
560
- <>
561
- <i className="icon-rundown"></i>
562
- </>
563
- ),
564
- },
565
- ],
566
- border: true,
567
- },
568
- {
569
- itemRow: [
570
- {
571
- content: (
572
- <>
573
- <span className="sd-list-item__slugline">
574
- 19:00 – 19:45
575
- </span>
576
- <IconLabel
577
- style="translucent"
578
- innerLabel="Duration:"
579
- text="00:38"
580
- size="small"
581
- type="warning"
582
- />
583
- <IconLabel
584
- style="translucent"
585
- innerLabel="Planned Duration:"
586
- text="00:45"
587
- size="small"
588
- />
589
- <time
590
- className="sd-margin-s--auto"
591
- title="June 01, 2022 11:08 AM"
592
- >
593
- 11:08, 01.06.2022
594
- </time>
595
- </>
596
- ),
597
- },
598
- {
599
- content: (
600
- <>
601
- <Label text="Marker" color="blue--800" />
602
- <span className="sd-list-item__compound-text">
603
- <span className="sd-list-item__text-label">
604
- Template:
605
- </span>
606
- <span>Marker Daily</span>
607
- </span>
608
- <span className="sd-overflow-ellipsis sd-list-item--element-grow sd-list-item__headline">
609
- Marker // 01.06.2022
610
- </span>
611
- <Label
612
- style="translucent"
613
- text="In Progress"
614
- type="warning"
615
- />
616
- </>
617
- ),
618
- },
619
- ],
620
- fullwidth: true,
621
- },
622
- ],
623
- action: (
624
- <IconButton
625
- icon="dots-vertical"
626
- ariaValue="More actions"
627
- onClick={() => false}
628
- />
629
- ),
630
- locked: true,
631
- onClick: () => this.setState({openEditor: !this.state.openEditor}),
632
- },
633
- {
634
- itemColum: [
635
- {
636
- itemRow: [
637
- {
638
- content: (
639
- <>
640
- <i className="icon-rundown"></i>
641
- </>
642
- ),
643
- },
644
- ],
645
- border: true,
646
- },
647
- {
648
- itemRow: [
649
- {
650
- content: (
651
- <>
652
- <span className="sd-list-item__slugline">
653
- 19:00 – 19:45
654
- </span>
655
- <IconLabel
656
- style="translucent"
657
- innerLabel="Duration:"
658
- text="00:38"
659
- size="small"
660
- type="warning"
661
- />
662
- <IconLabel
663
- style="translucent"
664
- innerLabel="Planned Duration:"
665
- text="00:45"
666
- size="small"
667
- />
668
- <time
669
- className="sd-margin-s--auto"
670
- title="June 01, 2022 11:08 AM"
671
- >
672
- 11:08, 01.06.2022
673
- </time>
674
- </>
675
- ),
676
- },
677
- {
678
- content: (
679
- <>
680
- <Label text="Tabu" color="blue--800" />
681
- <span className="sd-list-item__compound-text">
682
- <span className="sd-list-item__text-label">
683
- Template:
684
- </span>
685
- <span>Tabu Daily</span>
686
- </span>
687
- <span className="sd-overflow-ellipsis sd-list-item--element-grow sd-list-item__headline">
688
- Marker // 01.06.2022
689
- </span>
690
- <Label style="translucent" text="Draft" />
691
- </>
692
- ),
693
- },
694
- ],
695
- fullwidth: true,
696
- },
697
- ],
698
- action: (
699
- <IconButton
700
- icon="dots-vertical"
701
- ariaValue="More actions"
702
- onClick={() => false}
703
- />
704
- ),
705
- onClick: () => this.setState({openPreview: !this.state.openPreview}),
706
- },
707
- ]}
708
- />
709
- </Layout.MainPanel>
710
- {/* MAIN CONTENT (Monitoring) */}
711
- <Layout.RightPanel open={this.state.openPreview}>
712
- <Layout.Panel side="right">
713
- <Layout.PanelHeader
714
- title="Item preview"
715
- onClose={() => this.setState({openPreview: false})}
716
- />
717
- <Layout.PanelContent>
718
- <Layout.PanelContentBlock flex={true}>
719
- <Container direction="column" gap="x-small">
720
- <Container direction="row" gap="small">
721
- <Text color="light">Created 09.06.2022 by </Text>
722
- <Text weight="medium">Mika Karapet</Text>
723
- </Container>
724
- <Container direction="row" gap="small">
725
- <Text color="light">Updated 3 hours ago by </Text>
726
- <Text weight="medium">John Doe</Text>
727
- </Container>
728
- </Container>
729
- <Container className="sd-margin-s--auto sd-flex--items-center">
730
- {/* <Dropdown
731
- align = 'right'
732
- items={[
733
- {
734
- type: 'group', label: 'Actions', items: [
735
- 'divider',
736
- { label: 'Edit', icon: 'pencil', onSelect: () => this.setState({ dropDownState: 'Edit ' }) },
737
- { label: 'Download', icon: 'download', onSelect: () => this.setState({ dropDownState: 'Download' }) },
738
- { label: 'Delete', icon: 'trash', onSelect: () => this.setState({ dropDownState: 'Delete' }) },
739
- ]
740
- }]}>
741
- <IconButton ariaValue='dropdown-more-options' icon='dots-vertical' onClick={() => false} />
742
- </Dropdown> */}
743
- </Container>
744
- </Layout.PanelContentBlock>
745
-
746
- <Layout.PanelContentBlock>
747
- <Container direction="row" gap="large" className="sd-margin-b--3">
748
- <Label size="large" text="Tabu" color="blue--800" />
749
- <Container direction="row" gap="small">
750
- <Text color="light" size="small" style="italic">
751
- Template:
752
- </Text>
753
- <Text size="small" style="italic" weight="medium">
754
- Tabu daily
755
- </Text>
756
- </Container>
757
- </Container>
758
-
759
- <Container direction="column" className="sd-margin-y--2">
760
- {/* <FormLabel text='Title' /> */}
761
- <Heading type="h2">Tabu // 01.06.2022</Heading>
762
- </Container>
763
- <ButtonGroup>
764
- <IconLabel
765
- style="translucent"
766
- innerLabel="Airtime:"
767
- text="19:45 - 20:45"
768
- type="primary"
769
- />
770
- <IconLabel
771
- style="translucent"
772
- innerLabel="Duration:"
773
- text="00:56"
774
- type="warning"
775
- />
776
- <Text color="light" size="small" className="sd-margin--0">
777
- OF
778
- </Text>
779
- <IconLabel style="translucent" innerLabel="Planned:" text="01:00" />
780
- </ButtonGroup>
781
- <TableList
782
- className="sd-margin-y--4"
783
- array={this.state.array}
784
- itemsDropdown={() => [
785
- {
786
- label: <Label style="translucent" type="primary" text="aacc" />,
787
- onSelect: () => 1,
788
- },
789
- {label: <Label style="translucent" text="prlg" />, onSelect: () => 1},
790
- {
791
- label: <Label style="translucent" type="primary" text="prlg" />,
792
- onSelect: () => 1,
793
- },
794
- ]}
795
- />
796
- </Layout.PanelContentBlock>
797
- </Layout.PanelContent>
798
- </Layout.Panel>
799
- </Layout.RightPanel>
800
- {/* PREVIEW PANEL*/}
801
-
802
- <Layout.OverlayPanel />
803
- {/* OVERLAY PANEL (Send To) */}
804
- </Layout.LayoutContainer>
805
-
806
- <Layout.ContentSplitter visible={this.state.openEditor} />
807
-
808
- {/* RUNDOWN EDITOR */}
809
- <Layout.AuthoringContainer open={this.state.openEditor}>
810
- <RundownEditor
811
- rightPanel={this.state.rightPanel}
812
- openPanel={() => {
813
- if (this.state.fullEditor) {
814
- this.setState({previousState: true});
815
- } else {
816
- this.setState({previousState: false});
817
- }
818
-
819
- this.setState({rightPanel: true});
820
- }}
821
- closePanel={() => {
822
- if (!this.state.previousState) {
823
- this.setState({rightPanel: false, fullEditor: false});
824
- } else {
825
- this.setState({rightPanel: false});
826
- }
827
- }}
828
- />
829
- </Layout.AuthoringContainer>
830
- {/* END RUNDOWN EDITOR */}
831
- </Layout.Layout>
832
-
833
- {/* Manage Templates Modal */}
834
- <Modal
835
- headerTemplate="Manage Templates"
836
- visible={this.state.modalManageTemplate}
837
- contentBg="medium"
838
- contentPadding="none"
839
- size="x-large"
840
- onHide={() => {
841
- this.setState({modalManageTemplate: false});
842
- }}
843
- >
844
- <Layout.LayoutContainer>
845
- <Layout.LeftPanel open={true}>
846
- <Layout.Panel side="left" background="grey">
847
- <Layout.PanelHeader>
848
- <Container className="sd-padding-x--2">
849
- <Select
850
- label="Shows"
851
- fullWidth={true}
852
- labelHidden={true}
853
- inlineLabel={true}
854
- value="This is some value"
855
- required={true}
856
- disabled={false}
857
- invalid={false}
858
- onChange={() => false}
859
- >
860
- <Option>Select show</Option>
861
- <Option>Marker</Option>
862
- <Option>Tabu</Option>
863
- </Select>
864
- </Container>
865
- </Layout.PanelHeader>
866
- <Layout.PanelContent>
867
- <EmptyState
868
- title={'No show is selected'}
869
- description={'Please select a Show from the dropdown at the top.'}
870
- size="small"
871
- illustration="1"
872
- />
873
- {/* <Container className='sd-margin-b--1'>
874
- <ButtonGroup align='end'>
875
- <Tooltip text='Manage templates'>
876
- <Button type="primary" size='small' icon="plus-large" text="Cretae new Template" shape="round" iconOnly={true} onClick={()=> false} />
877
- </Tooltip>
878
- </ButtonGroup>
879
- </Container> */}
880
- {/* <BoxedList>
881
- <BoxedListItem
882
- alignVertical='center'
883
- clickable={true}
884
- density='compact'
885
- actions={(
886
- <IconButton icon="dots-vertical" size='small' ariaValue="More actions" onClick={()=> false} />
887
- )}
888
- >
889
- <Container gap='small' >
890
- <Label text='Marker' color='blue--800'/>
891
- <span>Marker Daily</span>
892
- </Container>
893
- </BoxedListItem>
894
- <BoxedListItem
895
- alignVertical='center'
896
- clickable={true}
897
- density='compact'
898
- selected={true}
899
- actions={(
900
- <IconButton icon="dots-vertical" size='small' ariaValue="More actions" onClick={()=> false} />
901
- )}
902
- >
903
- <Container gap='small' >
904
- <Label text='Marker' color='blue--800'/>
905
- <span>Marker Weekend</span>
906
- </Container>
907
- </BoxedListItem>
908
- <BoxedListItem
909
- alignVertical='center'
910
- density='compact'
911
- clickable={true}
912
- actions={(
913
- <IconButton icon="dots-vertical" size='small' ariaValue="More actions" onClick={()=> false} />
914
- )}
915
- >
916
- <Container gap='small' >
917
- <Label text='Marker' color='blue--800'/>
918
- <span>Marker Special</span>
919
- </Container>
920
- </BoxedListItem>
921
- </BoxedList> */}
922
- </Layout.PanelContent>
923
- </Layout.Panel>
924
- </Layout.LeftPanel>
925
- {/* FILTER PANEL*/}
926
- <Layout.MainPanel>
927
- <EmptyState
928
- title={'No Template selected'}
929
- description={'Please select a Show and Template frome the side panel.'}
930
- size="large"
931
- illustration="1"
932
- />
933
- </Layout.MainPanel>
934
- {/* MAIN CONTENT */}
935
- </Layout.LayoutContainer>
936
- </Modal>
937
-
938
- {/* New Show Modal */}
939
- <Modal
940
- headerTemplate="Create new Show"
941
- visible={this.state.modalNewShow}
942
- footerTemplate={newShowFooter}
943
- contentBg="medium"
944
- size="medium"
945
- onHide={() => {
946
- this.setState({modalNewShow: false});
947
- }}
948
- >
949
- <Form.FormGroup>
950
- <Form.FormItem>
951
- <Input label="Show name" type="text" value="" required={true} onChange={() => false} />
952
- </Form.FormItem>
953
- </Form.FormGroup>
954
- <Form.FormGroup>
955
- <Form.FormItem>
956
- <Input label="Description" type="text" value="" required={false} onChange={() => false} />
957
- </Form.FormItem>
958
- </Form.FormGroup>
959
- </Modal>
960
- {/* New Show Modal Success */}
961
- <Modal
962
- headerTemplate="Create new Show"
963
- visible={this.state.modalNewShowSuccess}
964
- footerTemplate={newShowFooter2}
965
- contentBg="medium"
966
- size="medium"
967
- onHide={() => {
968
- this.setState({modalNewShowSuccess: false});
969
- }}
970
- >
971
- <Container direction="column" className="justify-center items-center py-2" gap="medium">
972
- <Icon name="checkmark-circle" type="success" size="big" scale="3x" />
973
- <Text align="center" size="medium">
974
- The show <strong>Marker</strong> has been successfully created.
975
- <br />
976
- Do you want to cretate a template for this show right away?
977
- </Text>
978
- </Container>
979
- </Modal>
980
-
981
- {/* New Template Modal */}
982
- <Modal
983
- headerTemplate="Create new Template"
984
- visible={this.state.modalNewTemplate}
985
- contentBg="medium"
986
- contentPadding="none"
987
- size="x-large"
988
- onHide={() => {
989
- this.setState({modalNewTemplate: false});
990
- }}
991
- >
992
- <Layout.LayoutContainer>
993
- <Layout.LeftPanel open={true}>
994
- <Layout.Panel side="left" background="grey">
995
- <Layout.PanelHeader>
996
- <Container className="sd-padding-x--2">
997
- <Select
998
- label="Shows"
999
- fullWidth={true}
1000
- labelHidden={true}
1001
- inlineLabel={true}
1002
- value="This is some value"
1003
- required={true}
1004
- disabled={false}
1005
- invalid={false}
1006
- onChange={() => false}
1007
- >
1008
- <Option>Marker</Option>
1009
- <Option>Tabu</Option>
1010
- </Select>
1011
- </Container>
1012
- </Layout.PanelHeader>
1013
- <Layout.PanelContent>
1014
- <Layout.PanelContentBlock>
1015
- <Container className="sd-margin-b--1-5">
1016
- <ButtonGroup align="end">
1017
- <Tooltip text="New template" flow="left">
1018
- <Button
1019
- type="primary"
1020
- size="small"
1021
- icon="plus-large"
1022
- text="Cretae new Template"
1023
- shape="round"
1024
- iconOnly={true}
1025
- onClick={() => false}
1026
- />
1027
- </Tooltip>
1028
- </ButtonGroup>
1029
- </Container>
1030
- <BoxedList>
1031
- <BoxedListItem
1032
- alignVertical="center"
1033
- clickable={true}
1034
- density="compact"
1035
- selected={true}
1036
- actions={
1037
- <IconButton
1038
- icon="dots-vertical"
1039
- size="small"
1040
- ariaValue="More actions"
1041
- onClick={() => false}
1042
- />
1043
- }
1044
- >
1045
- <Container gap="small">
1046
- <Label text="Marker" color="blue--800" />
1047
- <span>Untitled</span>
1048
- </Container>
1049
- </BoxedListItem>
1050
- <BoxedListItem
1051
- alignVertical="center"
1052
- clickable={true}
1053
- density="compact"
1054
- actions={
1055
- <IconButton
1056
- icon="dots-vertical"
1057
- size="small"
1058
- ariaValue="More actions"
1059
- onClick={() => false}
1060
- />
1061
- }
1062
- >
1063
- <Container gap="small">
1064
- <Label text="Marker" color="blue--800" />
1065
- <span>Marker Daily</span>
1066
- </Container>
1067
- </BoxedListItem>
1068
- <BoxedListItem
1069
- alignVertical="center"
1070
- clickable={true}
1071
- density="compact"
1072
- actions={
1073
- <IconButton
1074
- icon="dots-vertical"
1075
- size="small"
1076
- ariaValue="More actions"
1077
- onClick={() => false}
1078
- />
1079
- }
1080
- >
1081
- <Container gap="small">
1082
- <Label text="Marker" color="blue--800" />
1083
- <span>Marker Weekend</span>
1084
- </Container>
1085
- </BoxedListItem>
1086
- <BoxedListItem
1087
- alignVertical="center"
1088
- density="compact"
1089
- clickable={true}
1090
- actions={
1091
- <IconButton
1092
- icon="dots-vertical"
1093
- size="small"
1094
- ariaValue="More actions"
1095
- onClick={() => false}
1096
- />
1097
- }
1098
- >
1099
- <Container gap="small">
1100
- <Label text="Marker" color="blue--800" />
1101
- <span>Marker Special</span>
1102
- </Container>
1103
- </BoxedListItem>
1104
- </BoxedList>
1105
- </Layout.PanelContentBlock>
1106
- </Layout.PanelContent>
1107
- </Layout.Panel>
1108
- </Layout.LeftPanel>
1109
- {/* FILTER PANEL*/}
1110
- <Layout.MainPanel padding="none">
1111
- <RundownEditor
1112
- rightPanel={this.state.rightPanel}
1113
- openPanel={() => {
1114
- if (this.state.fullEditor) {
1115
- this.setState({previousState: true});
1116
- } else {
1117
- this.setState({previousState: false});
1118
- }
1119
-
1120
- this.setState({rightPanel: true});
1121
- }}
1122
- closePanel={() => {
1123
- if (!this.state.previousState) {
1124
- this.setState({rightPanel: false, fullEditor: false});
1125
- } else {
1126
- this.setState({rightPanel: false});
1127
- }
1128
- }}
1129
- />
1130
- </Layout.MainPanel>
1131
- {/* MAIN CONTENT */}
1132
- </Layout.LayoutContainer>
1133
- </Modal>
1134
-
1135
- {/* Manage Shows Modal */}
1136
- <Modal
1137
- headerTemplate="Manage Shows"
1138
- maximizable
1139
- visible={this.state.modalManageShow}
1140
- contentBg="medium"
1141
- contentPadding="none"
1142
- size="x-large"
1143
- onHide={() => {
1144
- this.setState({modalManageShow: false});
1145
- }}
1146
- >
1147
- <Layout.LayoutContainer>
1148
- <Layout.HeaderPanel>
1149
- <SubNav>
1150
- <SearchBar placeholder="Search shows"></SearchBar>
1151
- <ButtonGroup align="end" spaces="no-space">
1152
- <CreateButton ariaValue="New show" onClick={() => false} />
1153
- </ButtonGroup>
1154
- </SubNav>
1155
- </Layout.HeaderPanel>
1156
- {/* MAIN CONTENT */}
1157
- <Layout.MainPanel>
1158
- <BoxedList>
1159
- <BoxedListItem
1160
- alignVertical="center"
1161
- clickable={true}
1162
- density="compact"
1163
- selected={this.state.openShowEditor}
1164
- onClick={() => this.setState({openShowEditor: !this.state.openShowEditor})}
1165
- actions={
1166
- <IconButton
1167
- icon="dots-vertical"
1168
- size="small"
1169
- ariaValue="More actions"
1170
- onClick={() => false}
1171
- />
1172
- }
1173
- >
1174
- <Container className="sd-flex-justify-space-between">
1175
- <Heading type="h4">Marker</Heading>
1176
- <Text color="lighter">3 template</Text>
1177
- </Container>
1178
- </BoxedListItem>
1179
- <BoxedListItem
1180
- alignVertical="center"
1181
- clickable={true}
1182
- density="compact"
1183
- actions={
1184
- <IconButton
1185
- icon="dots-vertical"
1186
- size="small"
1187
- ariaValue="More actions"
1188
- onClick={() => false}
1189
- />
1190
- }
1191
- >
1192
- <Container className="sd-flex-justify-space-between">
1193
- <Heading type="h4">Tabu</Heading>
1194
- <Text color="lighter">3 template</Text>
1195
- </Container>
1196
- </BoxedListItem>
1197
- <BoxedListItem
1198
- alignVertical="center"
1199
- clickable={true}
1200
- density="compact"
1201
- actions={
1202
- <IconButton
1203
- icon="dots-vertical"
1204
- size="small"
1205
- ariaValue="More actions"
1206
- onClick={() => false}
1207
- />
1208
- }
1209
- >
1210
- <Container className="sd-flex-justify-space-between">
1211
- <Heading type="h4">Život u ringu</Heading>
1212
- <Text color="lighter">1 template</Text>
1213
- </Container>
1214
- </BoxedListItem>
1215
- <BoxedListItem
1216
- alignVertical="center"
1217
- density="compact"
1218
- clickable={true}
1219
- actions={
1220
- <IconButton
1221
- icon="dots-vertical"
1222
- size="small"
1223
- ariaValue="More actions"
1224
- onClick={() => false}
1225
- />
1226
- }
1227
- >
1228
- <Container className="sd-flex-justify-space-between">
1229
- <Heading type="h4">Intervju</Heading>
1230
- <Text color="lighter">3 templates</Text>
1231
- </Container>
1232
- </BoxedListItem>
1233
- </BoxedList>
1234
- </Layout.MainPanel>
1235
- <Layout.RightPanel open={this.state.openShowEditor}>
1236
- <Layout.Panel side="right" background="grey">
1237
- <Layout.PanelHeader
1238
- title="Show details"
1239
- onClose={() => this.setState({openShowEditor: false})}
1240
- >
1241
- {this.state.value1 || (
1242
- <Layout.PanelHeaderSlidingToolbar>
1243
- <ButtonGroup align="start">
1244
- <IconButton
1245
- ariaValue="Close"
1246
- icon="close-small"
1247
- onClick={() =>
1248
- this.setState({openShowEditor: !this.state.openShowEditor})
1249
- }
1250
- />
1251
- </ButtonGroup>
1252
- <ButtonGroup align="end">
1253
- <Button
1254
- text="Save Changes"
1255
- style="hollow"
1256
- onClick={() =>
1257
- this.setState({openShowEditor: !this.state.openShowEditor})
1258
- }
1259
- type="primary"
1260
- />
1261
- </ButtonGroup>
1262
- </Layout.PanelHeaderSlidingToolbar>
1263
- )}
1264
- </Layout.PanelHeader>
1265
- <Layout.PanelContent>
1266
- <Layout.PanelContentBlock flex={true}>
1267
- <Container direction="column" gap="x-small">
1268
- <Container direction="row" gap="small">
1269
- <Text color="light">Created 09.06.2022 by </Text>
1270
- <Text weight="medium">Mika Karapet</Text>
1271
- </Container>
1272
- <Container direction="row" gap="small">
1273
- <Text color="light">Updated 3 hours ago by </Text>
1274
- <Text weight="medium">John Doe</Text>
1275
- </Container>
1276
- </Container>
1277
- <Container className="sd-margin-s--auto sd-flex--items-center">
1278
- <Dropdown
1279
- align="right"
1280
- items={[
1281
- {
1282
- type: 'group',
1283
- label: 'Actions',
1284
- items: [
1285
- 'divider',
1286
- {
1287
- label: 'Edit',
1288
- icon: 'pencil',
1289
- onSelect: () => this.setState({dropDownState: 'Edit '}),
1290
- },
1291
- {
1292
- label: 'Download',
1293
- icon: 'download',
1294
- onSelect: () =>
1295
- this.setState({dropDownState: 'Download'}),
1296
- },
1297
- {
1298
- label: 'Delete',
1299
- icon: 'trash',
1300
- onSelect: () =>
1301
- this.setState({dropDownState: 'Delete'}),
1302
- },
1303
- ],
1304
- },
1305
- ]}
1306
- >
1307
- <IconButton
1308
- ariaValue="dropdown-more-options"
1309
- icon="dots-vertical"
1310
- onClick={() => false}
1311
- />
1312
- </Dropdown>
1313
- </Container>
1314
- </Layout.PanelContentBlock>
1315
- <Layout.PanelContentBlock>
1316
- <SwitchGroup className="sd-margin-b--3">
1317
- <Switch
1318
- label={{content: 'Active'}}
1319
- value={this.state.value1}
1320
- onChange={(value) => this.setState(() => ({value1: value}))}
1321
- />
1322
- </SwitchGroup>
1323
- <Form.FormGroup>
1324
- <Form.FormItem>
1325
- <Input
1326
- type="text"
1327
- label="Show name"
1328
- value="Marker"
1329
- required={true}
1330
- disabled={false}
1331
- onChange={() => false}
1332
- />
1333
- </Form.FormItem>
1334
- </Form.FormGroup>
1335
- <Form.FormGroup>
1336
- <Form.FormItem>
1337
- <Input
1338
- type="text"
1339
- label="Description"
1340
- required={false}
1341
- disabled={false}
1342
- onChange={() => false}
1343
- />
1344
- </Form.FormItem>
1345
- </Form.FormGroup>
1346
- </Layout.PanelContentBlock>
1347
-
1348
- <Layout.PanelContentBlock>
1349
- <Heading type="h3" className="sd-margin-b--2">
1350
- Show templates
1351
- </Heading>
1352
- <BoxedList>
1353
- <BoxedListItem
1354
- alignVertical="center"
1355
- density="compact"
1356
- actions={
1357
- <IconButton
1358
- icon="dots-vertical"
1359
- size="small"
1360
- ariaValue="More actions"
1361
- onClick={() => false}
1362
- />
1363
- }
1364
- >
1365
- <Container gap="small">
1366
- <Label text="Marker" color="blue--800" />
1367
- <span>Marker Daily</span>
1368
- </Container>
1369
- </BoxedListItem>
1370
- <BoxedListItem
1371
- alignVertical="center"
1372
- density="compact"
1373
- actions={
1374
- <IconButton
1375
- icon="dots-vertical"
1376
- size="small"
1377
- ariaValue="More actions"
1378
- onClick={() => false}
1379
- />
1380
- }
1381
- >
1382
- <Container gap="small">
1383
- <Label text="Marker" color="blue--800" />
1384
- <span>Marker Weekend</span>
1385
- </Container>
1386
- </BoxedListItem>
1387
- <BoxedListItem
1388
- alignVertical="center"
1389
- density="compact"
1390
- actions={
1391
- <IconButton
1392
- icon="dots-vertical"
1393
- size="small"
1394
- ariaValue="More actions"
1395
- onClick={() => false}
1396
- />
1397
- }
1398
- >
1399
- <Container gap="small">
1400
- <Label text="Marker" color="blue--800" />
1401
- <span>Marker Special</span>
1402
- </Container>
1403
- </BoxedListItem>
1404
- </BoxedList>
1405
- </Layout.PanelContentBlock>
1406
- </Layout.PanelContent>
1407
- </Layout.Panel>
1408
- </Layout.RightPanel>
1409
- </Layout.LayoutContainer>
1410
- </Modal>
1411
- {/* End All Modals */}
1412
- </>
1413
- );
1414
- }
1415
- }