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,580 +0,0 @@
1
- import * as React from 'react';
2
- import {
3
- ButtonGroup,
4
- Button,
5
- NavButton,
6
- SubNav,
7
- Input,
8
- IconButton,
9
- Divider,
10
- Tooltip,
11
- Select,
12
- Option,
13
- Text,
14
- SlidingToolbar,
15
- Container,
16
- Label,
17
- IconLabel,
18
- Icon,
19
- } from '../../../../app-typescript/index';
20
- import * as Layout from '../../../../app-typescript/components/Layouts';
21
- import * as Form from '../../../../app-typescript/components/Form';
22
- import * as Nav from '../../../../app-typescript/components/Navigation';
23
- import {TableList} from '../../../../app-typescript/components/Lists/TableList';
24
-
25
- interface IProps {
26
- children?: React.ReactNode;
27
- rightPanel?: boolean;
28
- openPanel(): any;
29
- closePanel(): void;
30
- }
31
-
32
- interface IState {
33
- theme: 'dark' | 'light' | string;
34
- itemType: string;
35
- dropDownState: string;
36
- itemSelected1: boolean;
37
- itemSelected2: boolean;
38
- itemSelected3: boolean;
39
- value1: boolean;
40
- value2: boolean;
41
- value3: boolean;
42
- leftPanelOpen: boolean;
43
- rightPanelOpen: boolean;
44
- rightPanelPinned: boolean;
45
- sideOverlayOpen: boolean;
46
- array: any;
47
- inputValue: string;
48
- activeTab: string | null;
49
- isExpanded: boolean;
50
- }
51
-
52
- export class RundownEditor extends React.Component<IProps, IState> {
53
- constructor(props: IProps) {
54
- super(props);
55
- this.state = {
56
- theme: 'light',
57
- itemType: 'itemtype01',
58
- dropDownState: '',
59
- itemSelected1: false,
60
- itemSelected2: false,
61
- itemSelected3: false,
62
- value1: false,
63
- value2: false,
64
- value3: false,
65
- leftPanelOpen: false,
66
- rightPanelOpen: this.props.rightPanel ? this.props.rightPanel : false,
67
- rightPanelPinned: false,
68
- sideOverlayOpen: false,
69
- inputValue: 'string',
70
- array: [
71
- {
72
- start: (
73
- <>
74
- <Label style="translucent" text="aacc" />
75
- <Label style="translucent" type="primary" text="prlg" />
76
- </>
77
- ),
78
- center: <span>Duis mollis est non commodo</span>,
79
- end: (
80
- <>
81
- <IconLabel style="translucent" innerLabel="Planned:" text="00:20" />
82
- <IconLabel style="translucent" innerLabel="Duration:" text="00:20" type="success" />
83
- </>
84
- ),
85
- action: (
86
- <IconButton icon="dots-vertical" size="small" ariaValue="More actions" onClick={() => false} />
87
- ),
88
- onClick: () => {
89
- this.props.openPanel();
90
- },
91
- },
92
- {
93
- start: (
94
- <>
95
- <Label style="translucent" type="warning" text="pokr" />
96
- <Label style="translucent" text="slika" />
97
- </>
98
- ),
99
- center: <span>Nullam id dolor id nibh ultricies</span>,
100
- end: (
101
- <>
102
- <IconLabel style="translucent" innerLabel="Planned:" text="00:12" />
103
- <IconLabel style="translucent" innerLabel="Duration:" text="00:11" type="warning" />
104
- </>
105
- ),
106
- action: (
107
- <IconButton icon="dots-vertical" size="small" ariaValue="More actions" onClick={() => false} />
108
- ),
109
- onClick: () => {
110
- this.props.openPanel();
111
- },
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
- end: (
122
- <>
123
- <IconLabel style="translucent" innerLabel="Planned:" text="00:20" />
124
- <IconLabel style="translucent" innerLabel="Duration:" text="00:20" type="success" />
125
- </>
126
- ),
127
- action: (
128
- <IconButton icon="dots-vertical" size="small" ariaValue="More actions" onClick={() => false} />
129
- ),
130
- onClick: () => {
131
- this.props.openPanel();
132
- },
133
- },
134
- {
135
- start: (
136
- <>
137
- <Label style="translucent" type="warning" text="pokr" />
138
- <Label style="translucent" text="slika" />
139
- </>
140
- ),
141
- center: <span>Cras mattis consectetur purus</span>,
142
- end: (
143
- <>
144
- <IconLabel style="translucent" innerLabel="Planned:" text="00:14" />
145
- <IconLabel style="translucent" innerLabel="Duration:" text="00:15" type="alert" />
146
- </>
147
- ),
148
- action: (
149
- <IconButton icon="dots-vertical" size="small" ariaValue="More actions" onClick={() => false} />
150
- ),
151
- onClick: () => {
152
- this.props.openPanel();
153
- },
154
- },
155
- {
156
- start: (
157
- <>
158
- <Label style="translucent" text="aacc" />
159
- <Label style="translucent" type="primary" text="prlg" />
160
- </>
161
- ),
162
- center: <span>Duis mollis est non commodo</span>,
163
- end: (
164
- <>
165
- <IconLabel style="translucent" innerLabel="Planned:" text="00:20" />
166
- <IconLabel style="translucent" innerLabel="Duration:" text="00:20" type="success" />
167
- </>
168
- ),
169
- action: (
170
- <IconButton icon="dots-vertical" size="small" ariaValue="More actions" onClick={() => false} />
171
- ),
172
- onClick: () => {
173
- this.props.openPanel();
174
- },
175
- },
176
- ],
177
- activeTab: null,
178
- isExpanded: false,
179
- };
180
- this.handleTheme = this.handleTheme.bind(this);
181
- }
182
-
183
- handleTheme(newTheme: string) {
184
- this.setState({
185
- theme: newTheme,
186
- });
187
- }
188
-
189
- changeStatus(item: any, status: string) {
190
- if (item.status.includes(status)) {
191
- item.status.splice(item.status.indexOf(status), 1);
192
- } else {
193
- item.status.push(status);
194
- }
195
- }
196
-
197
- toggleExpand = () => {
198
- this.setState((prevState) => ({isExpanded: !prevState.isExpanded}));
199
- };
200
-
201
- render() {
202
- return (
203
- <Layout.LayoutContainer>
204
- <Layout.HeaderPanel>
205
- <SubNav>
206
- <Tooltip text={this.state.isExpanded ? 'Revert Authoring' : 'Expand Authoring'} flow="right">
207
- <button
208
- className={`expand-button ${this.state.isExpanded ? 'expand-button--expanded' : ''}`}
209
- onClick={this.toggleExpand}
210
- >
211
- <Icon name="chevron-left-thin" />
212
- </button>
213
- </Tooltip>
214
- <ButtonGroup align="end">
215
- <Button text="Cancel" onClick={() => false} type="default" />
216
- <Button text="Save Rundown" onClick={() => false} type="primary" />
217
- <Divider size="mini" />
218
- <ButtonGroup subgroup={true} spaces="no-space">
219
- <Tooltip text="Minimize" flow="left">
220
- <NavButton
221
- type="default"
222
- icon="minimize"
223
- iconSize="big"
224
- text="Minimize"
225
- onClick={() => false}
226
- />
227
- </Tooltip>
228
- <Tooltip text="More actions" flow="left">
229
- <NavButton
230
- type="default"
231
- icon="dots-vertical"
232
- text="More actions"
233
- onClick={() => false}
234
- />
235
- </Tooltip>
236
- <Tooltip text="Send to / Publish" flow="left">
237
- <NavButton
238
- type="highlight"
239
- icon="send-to"
240
- iconSize="big"
241
- text="Send to / Publish"
242
- onClick={() => false}
243
- />
244
- </Tooltip>
245
- </ButtonGroup>
246
- </ButtonGroup>
247
- </SubNav>
248
- </Layout.HeaderPanel>
249
-
250
- <Layout.MainPanel padding="none">
251
- <Layout.AuthoringMain
252
- toolBar={
253
- <React.Fragment>
254
- <div className="sd-editor-toolbar__content">
255
- <dl>
256
- <dt>Created</dt>
257
- <dd>
258
- <time title="July 29, 2021 3:58 PM">07/29</time>
259
- </dd>
260
- <dt>by</dt>
261
- <dt>Nareg Asmarian</dt>
262
- </dl>
263
- <dl>
264
- <dt>Modified</dt>
265
- <dd>
266
- <time title="July 29, 2021 3:58 PM">07/29</time>
267
- </dd>
268
- </dl>
269
- </div>
270
- </React.Fragment>
271
- }
272
- authoringHeader={
273
- <React.Fragment>
274
- <Form.FormGroup>
275
- <Form.FormItem>
276
- <Select
277
- label="Type"
278
- value="Type value"
279
- required={true}
280
- disabled={false}
281
- onChange={() => false}
282
- >
283
- <Option>Type 1</Option>
284
- <Option>Type 2</Option>
285
- </Select>
286
- </Form.FormItem>
287
- <Form.FormItem>
288
- <Select
289
- label="Show"
290
- value="show value"
291
- required={true}
292
- disabled={false}
293
- onChange={() => false}
294
- >
295
- <Option>Marker</Option>
296
- <Option>Tabu</Option>
297
- </Select>
298
- </Form.FormItem>
299
- <Form.FormItem>
300
- <Select
301
- label="Show section"
302
- value="Some value"
303
- required={true}
304
- disabled={false}
305
- onChange={() => false}
306
- >
307
- <Option>Section 1</Option>
308
- <Option>Section 2</Option>
309
- </Select>
310
- </Form.FormItem>
311
- </Form.FormGroup>
312
- <Form.FormGroup>
313
- <Form.FormItem>
314
- <Input
315
- type="text"
316
- label="Slugline"
317
- value=""
318
- required={false}
319
- disabled={false}
320
- onChange={() => false}
321
- />
322
- </Form.FormItem>
323
- <Form.FormItem>
324
- <Input
325
- type="text"
326
- label="Category"
327
- value=""
328
- required={false}
329
- disabled={false}
330
- onChange={() => false}
331
- />
332
- </Form.FormItem>
333
- </Form.FormGroup>
334
- <Form.FormGroup>
335
- <Form.FormItem>
336
- <Input
337
- type="text"
338
- label="Author"
339
- value="This is some value"
340
- required={true}
341
- disabled={false}
342
- onChange={() => false}
343
- />
344
- </Form.FormItem>
345
- </Form.FormGroup>
346
- <Form.FormGroup marginBottom="2">
347
- <Form.FormItem>
348
- <Input
349
- type="text"
350
- label="Start Time"
351
- value=""
352
- required={true}
353
- disabled={false}
354
- onChange={() => false}
355
- />
356
- </Form.FormItem>
357
- <Form.FormItem>
358
- <Input
359
- type="text"
360
- label="End Time"
361
- value=""
362
- required={true}
363
- disabled={false}
364
- onChange={() => false}
365
- />
366
- </Form.FormItem>
367
- <Form.FormItem>
368
- <Input
369
- type="text"
370
- label="Duration"
371
- value=""
372
- required={true}
373
- disabled={false}
374
- onChange={() => false}
375
- />
376
- </Form.FormItem>
377
- </Form.FormGroup>
378
- </React.Fragment>
379
- }
380
- >
381
- <Container direction="column" className="sd-margin-y--2">
382
- <Input
383
- label="Rundown title"
384
- value={'Marker // 01.06.2022'}
385
- boxedStyle={true}
386
- boxedLable={true}
387
- size="x-large"
388
- placeholder="Rundown title"
389
- labelHidden={true}
390
- type="text"
391
- tabindex={0}
392
- onChange={(value) => this.setState({inputValue: value})}
393
- />
394
- </Container>
395
- <ButtonGroup>
396
- <IconLabel
397
- style="translucent"
398
- innerLabel="Airtime:"
399
- text="19:00 - 19:45"
400
- size="large"
401
- type="primary"
402
- icon="time"
403
- />
404
- <IconLabel
405
- style="translucent"
406
- innerLabel="Duration:"
407
- text="00:38"
408
- size="large"
409
- type="warning"
410
- />
411
- <Text color="light" size="medium" className="sd-margin--0">
412
- OF
413
- </Text>
414
- <IconLabel style="translucent" innerLabel="Planned:" text="00:45" size="large" />
415
- </ButtonGroup>
416
- <TableList
417
- className="sd-margin-y--4"
418
- dragAndDrop
419
- addItem
420
- array={this.state.array}
421
- itemsDropdown={() => [
422
- {label: <Label style="translucent" type="primary" text="aacc" />, onSelect: () => 1},
423
- {label: <Label style="translucent" text="prlg" />, onSelect: () => 1},
424
- {label: <Label style="translucent" type="primary" text="prlg" />, onSelect: () => 1},
425
- ]}
426
- />
427
- </Layout.AuthoringMain>
428
- </Layout.MainPanel>
429
-
430
- <Layout.RightPanel open={this.props.rightPanel}>
431
- <Layout.Panel size="x-large" side="right">
432
- <Layout.PanelContent>
433
- <Layout.AuthoringFrame
434
- main={
435
- <Layout.AuthoringMain
436
- toolbarCustom={true}
437
- headerCollapsed={true}
438
- toolBar={
439
- <React.Fragment>
440
- <SubNav className="sd-shadow--z0">
441
- <SlidingToolbar>
442
- <ButtonGroup align="start">
443
- <IconButton
444
- ariaValue="Close"
445
- icon="close-small"
446
- onClick={() => this.props.closePanel()}
447
- />
448
- </ButtonGroup>
449
- <ButtonGroup align="end">
450
- <Button
451
- text="Save Changes"
452
- style="hollow"
453
- onClick={() => this.props.closePanel()}
454
- type="primary"
455
- />
456
- </ButtonGroup>
457
- </SlidingToolbar>
458
- </SubNav>
459
-
460
- <div className="sd-editor-content__toolbar-inner">
461
- <div className="sd-editor-toolbar__content">
462
- <dl>
463
- <dt>Created</dt>
464
- <dd>
465
- <time title="July 29, 2021 3:58 PM">07/29</time>
466
- </dd>
467
- <dt>by</dt>
468
- <dt>Nareg Asmarian</dt>
469
- </dl>
470
- <dl>
471
- <dt>Modified</dt>
472
- <dd>
473
- <time title="July 29, 2021 3:58 PM">07/29</time>
474
- </dd>
475
- </dl>
476
- </div>
477
- </div>
478
- </React.Fragment>
479
- }
480
- authoringHeader={
481
- <React.Fragment>
482
- <Form.FormGroup inlineLabel={false}>
483
- <Form.FormItem>
484
- <Select
485
- label="Type"
486
- value="Type value"
487
- required={true}
488
- disabled={false}
489
- onChange={() => false}
490
- >
491
- <Option>Type 1</Option>
492
- <Option>Type 2</Option>
493
- </Select>
494
- </Form.FormItem>
495
- <Form.FormItem>
496
- <Select
497
- label="Show section"
498
- value="Some value"
499
- required={true}
500
- disabled={false}
501
- onChange={() => false}
502
- >
503
- <Option>Section 1</Option>
504
- <Option>Section 2</Option>
505
- </Select>
506
- </Form.FormItem>
507
- </Form.FormGroup>
508
- <Form.FormGroup inlineLabel={false}>
509
- <Form.FormItem>
510
- <Select
511
- label="Duration"
512
- value="Some value"
513
- required={true}
514
- disabled={false}
515
- onChange={() => false}
516
- >
517
- <Option>Option 1</Option>
518
- <Option>Option 2</Option>
519
- </Select>
520
- </Form.FormItem>
521
- <Form.FormItem>
522
- <Input
523
- type="text"
524
- label="Category"
525
- value=" "
526
- required={false}
527
- disabled={false}
528
- onChange={() => false}
529
- />
530
- </Form.FormItem>
531
- </Form.FormGroup>
532
- <Form.FormGroup inlineLabel={false}>
533
- <Form.FormItem>
534
- <Input
535
- type="text"
536
- label="Author"
537
- value="This is some value"
538
- required={false}
539
- disabled={false}
540
- onChange={() => false}
541
- />
542
- </Form.FormItem>
543
- </Form.FormGroup>
544
- </React.Fragment>
545
- }
546
- />
547
- }
548
- sideBar={
549
- <Nav.SideBarTabs
550
- items={[
551
- {icon: 'info', size: 'big', tooltip: 'Info', id: '1'},
552
- {icon: 'chat', size: 'big', tooltip: 'Comments', id: '2'},
553
- {icon: 'history', size: 'big', tooltip: 'History', id: '3'},
554
- {icon: 'package', size: 'big', tooltip: 'Packages', id: '4'},
555
- {icon: 'attachment', size: 'big', tooltip: 'Attachments', id: '5'},
556
- {
557
- icon: 'comments',
558
- size: 'big',
559
- tooltip: 'Inline Comments',
560
- badgeValue: '5',
561
- id: '6',
562
- },
563
- {icon: 'suggestion', size: 'big', tooltip: 'Suggestions', id: '7'},
564
- ]}
565
- activeTab={this.state.activeTab}
566
- onActiveTabChange={(id) => {
567
- this.setState({
568
- activeTab: id,
569
- });
570
- }}
571
- />
572
- }
573
- />
574
- </Layout.PanelContent>
575
- </Layout.Panel>
576
- </Layout.RightPanel>
577
- </Layout.LayoutContainer>
578
- );
579
- }
580
- }