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,11 +0,0 @@
1
- <!DOCTYPE html>
2
- <html dir="auto" lang="en">
3
- <head>
4
- <meta charset="UTF-8">
5
- <title>Superdesk UI Framework</title>
6
- <link rel="icon" type="image/x-icon" href="favicon.ico" />
7
- </head>
8
- <body>
9
- <div class="docs-page" ng-app="ui-docs" doc-playground ng-view></div>
10
- </body>
11
- </html>
package/examples/index.js DELETED
@@ -1,468 +0,0 @@
1
- /* eslint-disable */
2
-
3
- import 'angular-route';
4
- import 'code-prettify/src/prettify';
5
- import 'code-prettify/styles/sons-of-obsidian.css';
6
- import 'prismjs/themes/prism-tomorrow.css';
7
- import 'prismjs/plugins/line-numbers/prism-line-numbers.css';
8
-
9
- import './css/reset.css';
10
- import './css/docs-page.css';
11
- import './js/doc';
12
-
13
- export default angular
14
- .module('ui-docs', ['ngRoute', 'superdesk-ui', 'ui-docs.directives'])
15
-
16
- .config([
17
- '$locationProvider',
18
- function ($locationProvider) {
19
- return $locationProvider.hashPrefix('');
20
- },
21
- ])
22
-
23
- .factory('components', () => ({
24
- basicComponents: {
25
- name: 'Basic Components',
26
- items: {
27
- buttons: {
28
- name: 'Buttons',
29
- page: 'buttons.html',
30
- },
31
- labels: {
32
- name: 'Labels',
33
- page: 'labels.html',
34
- },
35
- badge: {
36
- name: 'Badge',
37
- page: 'badge.html',
38
- },
39
- 'tag-labels': {
40
- name: 'Tag labels',
41
- page: 'tag-labels.html',
42
- },
43
- 'icon-labels': {
44
- name: 'Icon labels',
45
- page: 'icon-labels.html',
46
- },
47
- alerts: {
48
- name: 'Alerts',
49
- page: 'alerts.html',
50
- },
51
- dropdown: {
52
- name: 'Dropdown',
53
- page: 'dropdown.html',
54
- },
55
- tooltips: {
56
- name: 'Tooltips',
57
- page: 'tooltips.html',
58
- },
59
- tables: {
60
- name: 'Tables',
61
- page: 'tables.html',
62
- },
63
- 'panel-info': {
64
- name: 'Panel info',
65
- page: 'panel-info.html',
66
- },
67
- slider: {
68
- name: 'Slider control',
69
- page: 'slider.html',
70
- },
71
- loader: {
72
- name: 'Animated loader',
73
- page: 'loader.html',
74
- },
75
- },
76
- },
77
- navigation: {
78
- name: 'Navigation',
79
- items: {
80
- tabs: {
81
- name: 'Tabs',
82
- page: 'tabs.html',
83
- },
84
- 'left-nav': {
85
- name: 'Left navigation',
86
- page: 'left-nav.html',
87
- },
88
- 'vertical-tabs': {
89
- name: 'Vertical tabs',
90
- page: 'vertical-tabs.html',
91
- },
92
- },
93
- },
94
- formElements: {
95
- name: 'Form elements',
96
- items: {
97
- input: {
98
- name: 'Inputs',
99
- page: 'input.html',
100
- },
101
- select: {
102
- name: 'Select',
103
- page: 'select.html',
104
- },
105
- 'tag-input': {
106
- name: 'Tag Input',
107
- page: 'tag-input.html',
108
- },
109
- checkbox: {
110
- name: 'Checkbox',
111
- page: 'checkbox.html',
112
- },
113
- radio: {
114
- name: 'Radio',
115
- page: 'radio.html',
116
- },
117
- switch: {
118
- name: 'Switch',
119
- page: 'switch.html',
120
- },
121
- 'form-layout': {
122
- name: 'Form layout',
123
- page: 'form-layout.html',
124
- },
125
- 'other-elements': {
126
- name: 'Other form elements',
127
- page: 'other-elements.html',
128
- },
129
- },
130
- },
131
- containers: {
132
- name: 'Containers',
133
- items: {
134
- modals: {
135
- name: 'Modals',
136
- page: 'modals.html',
137
- },
138
- wizard: {
139
- name: 'Wizard',
140
- page: 'wizard.html',
141
- },
142
- carousel: {
143
- name: 'Carousel',
144
- page: 'carousel.html',
145
- },
146
- },
147
- },
148
- layout: {
149
- name: 'Layout',
150
- items: {
151
- 'basic-grid': {
152
- name: 'Basic grid',
153
- page: 'basic-grid.html',
154
- },
155
- 'layout-grid': {
156
- name: 'Layout grid',
157
- page: 'layout-grid.html',
158
- },
159
- },
160
- },
161
- layoutElements: {
162
- name: 'Layout elements',
163
- items: {
164
- 'list-item': {
165
- name: 'List item',
166
- page: 'list-item.html',
167
- },
168
- 'simple-list': {
169
- name: 'Simple list',
170
- page: 'simple-list.html',
171
- },
172
- toggle: {
173
- name: 'Toggle box',
174
- page: 'toggle.html',
175
- },
176
- },
177
- },
178
- general: {
179
- name: 'General',
180
- items: {
181
- icons: {
182
- name: 'Icon font',
183
- page: 'icons.html',
184
- },
185
- 'big-icons': {
186
- name: 'Big icon font',
187
- page: 'big-icons.html',
188
- },
189
- colors: {
190
- name: 'Colors',
191
- page: 'colors.html',
192
- },
193
- },
194
- },
195
- helpers: {
196
- name: 'Helper classes',
197
- items: {
198
- spacing: {
199
- name: 'Spacing',
200
- page: 'spacing.html',
201
- },
202
- text: {
203
- name: 'Text helpers',
204
- page: 'text.html',
205
- },
206
- shadows: {
207
- name: 'Shadows',
208
- page: 'shadows.html',
209
- },
210
- },
211
- },
212
- }))
213
-
214
- .factory('design', () => ({
215
- basicComponents: {
216
- name: 'Basic Components',
217
- items: {
218
- buttons: {
219
- name: 'Buttons',
220
- page: 'buttons.html',
221
- },
222
- 'checkbox-and-radio': {
223
- name: 'Checkbox & Radio',
224
- page: 'checkbox-and-radio.html',
225
- },
226
- switch: {
227
- name: 'Switch',
228
- page: 'switch.html',
229
- },
230
- },
231
- },
232
- layoutComponents: {
233
- name: 'Layout',
234
- items: {
235
- 'layout-principles': {
236
- name: 'Layout principles',
237
- page: 'layout-principles.html',
238
- },
239
- 'application-structure': {
240
- name: 'Main application structure',
241
- page: 'application-structure.html',
242
- },
243
- pages: {
244
- name: 'Page layouts',
245
- page: 'pages.html',
246
- },
247
- modules: {
248
- name: 'Modules',
249
- page: 'modules.html',
250
- },
251
- },
252
- },
253
- }))
254
-
255
- .factory('playgrounds', () => ({
256
- // React playgrounds
257
- react: {
258
- 'first-playground': {
259
- name: 'First playground',
260
- component: 'FirstPlayground',
261
- },
262
- 'sams-playground': {
263
- name: 'SAMS',
264
- component: 'SamsPlayground',
265
- },
266
- 'test-ground': {
267
- name: 'Test Ground',
268
- component: 'TestGround',
269
- },
270
- 'ui-playground': {
271
- name: 'UI',
272
- component: 'UiPlayground',
273
- },
274
- 'pagelayout-test': {
275
- name: 'PageLayout Test',
276
- component: 'PageLayoutTest',
277
- },
278
- 'editor-test': {
279
- name: 'Editor Layout Test',
280
- component: 'EditorTest',
281
- },
282
- 'personal-profile': {
283
- name: 'Personal Profile',
284
- component: 'PersonalProfile',
285
- },
286
- 'rundown-editor': {
287
- name: 'Rundown Editor',
288
- component: 'RundownEditor',
289
- },
290
- rundowns: {
291
- name: 'Rundowns',
292
- component: 'Rundowns',
293
- },
294
- 'core-layout': {
295
- name: 'Core Layout',
296
- component: 'CoreLayout',
297
- },
298
- multiedit: {
299
- name: 'Multiedit',
300
- component: 'Multiedit',
301
- },
302
- },
303
-
304
- // Publisher playgrounds
305
- publisher: {
306
- 'publisher-dashboard': {
307
- name: 'Dashboard',
308
- page: 'publisher-dashboard.html',
309
- },
310
- 'publisher-content-lists': {
311
- name: 'Content Lists',
312
- page: 'publisher-content-lists.html',
313
- },
314
- 'publisher-content-list-manual': {
315
- name: 'Content List - Manual',
316
- page: 'publisher-content-list-manual.html',
317
- },
318
- 'publisher-content-list-automatic': {
319
- name: 'Content List - Automatic',
320
- page: 'publisher-content-list-automatic.html',
321
- },
322
- 'publisher-output-control': {
323
- name: 'Output Control',
324
- page: 'publisher-output-control.html',
325
- },
326
- 'publisher-content-analytics': {
327
- name: 'Content Analytics',
328
- page: 'publisher-content-analytics.html',
329
- },
330
- 'publisher-website-settings': {
331
- name: 'Website Settings',
332
- page: 'publisher-website-settings.html',
333
- },
334
- 'publisher-website-settings-general': {
335
- name: 'Website Settings - General',
336
- page: 'publisher-website-settings-general.html',
337
- },
338
- },
339
- // Superdesk playgrounds
340
- archived: {
341
- planning: {
342
- name: 'Planning',
343
- page: 'buttons.html',
344
- },
345
- 'layout-grid': {
346
- name: 'Layout Grid',
347
- page: 'layout-grid.html',
348
- },
349
- cards: {
350
- name: 'Cards',
351
- page: 'cards.html',
352
- },
353
- 'side-navigation': {
354
- name: 'Side Navigation',
355
- page: 'side-navigation.html',
356
- },
357
- 'list-item-test': {
358
- name: 'List Item Test',
359
- page: 'list-item-test.html',
360
- },
361
- settings: {
362
- name: 'Settings',
363
- page: 'settings.html',
364
- },
365
- 'photo-desk': {
366
- name: 'Photo Desk',
367
- page: 'photo-desk.html',
368
- },
369
- 'media-carousel': {
370
- name: 'Media Carousel',
371
- page: 'media-carousel.html',
372
- },
373
- 'tags-input': {
374
- name: 'Tags Input',
375
- page: 'tags-input.html',
376
- },
377
- 'circular-progress': {
378
- name: 'Circular Progress',
379
- page: 'circular-progress.html',
380
- },
381
- publish: {
382
- name: 'Publish Pane',
383
- page: 'publish.html',
384
- },
385
- 'swimlane-view': {
386
- name: 'Swimlane View',
387
- page: 'swimlane-view.html',
388
- },
389
- 'layout-test-2': {
390
- name: 'Layout Test',
391
- page: 'layout-test-2.html',
392
- },
393
- toasts: {
394
- name: 'Toasts',
395
- page: 'toasts.html',
396
- },
397
- 'form-layout': {
398
- name: 'Form layout',
399
- page: 'form-layout.html',
400
- },
401
- 'boxed-list': {
402
- name: 'Boxed-list',
403
- page: 'boxed-list.html',
404
- },
405
- 'video-editor': {
406
- name: 'Video editor',
407
- page: 'video-editor.html',
408
- },
409
- 'nav-buttons': {
410
- name: 'Nav buttons',
411
- page: 'nav-buttons.html',
412
- },
413
- 'accessible-theme-test': {
414
- name: 'Accessible theme',
415
- page: 'accessible-theme-test.html',
416
- },
417
- 'master-desk': {
418
- name: 'Master Desk',
419
- page: 'master-desk.html',
420
- },
421
- 'editor-3-test': {
422
- name: 'Editor grid',
423
- page: 'editor-3-test.html',
424
- },
425
- },
426
- }))
427
-
428
- .config(($routeProvider) => {
429
- $routeProvider
430
- .when('/', {
431
- title: 'Main',
432
- template: require('../examples/pages/main.html'),
433
- })
434
- .when('/design', {
435
- template: require('../examples/pages/design.html'),
436
- })
437
- .when('/design/:name*', {
438
- template: require('../examples/pages/design.html'),
439
- })
440
- .when('/components', {
441
- template: require('../examples/pages/components.html'),
442
- })
443
- .when('/components/:name*', {
444
- template: require('../examples/pages/components.html'),
445
- })
446
- .when('/design-patterns', {
447
- template: require('../examples/pages/design-patterns.html'),
448
- })
449
- .when('/design-patterns/:name*', {
450
- template: require('../examples/pages/design-patterns.html'),
451
- })
452
- .when('/playgrounds', {
453
- template: require('../examples/pages/playgrounds.html'),
454
- })
455
- .when('/playgrounds/react/:name*', {
456
- template: '<doc-react-playground />',
457
- })
458
- .when('/playgrounds/:name*', {
459
- template: function (urlattr) {
460
- return require('../examples/pages/playgrounds/' + urlattr.name + '.html');
461
- },
462
- })
463
-
464
- .otherwise({redirectTo: '/'});
465
- })
466
- .run(function ($rootScope, $route) {
467
- $rootScope.$route = $route;
468
- });
@@ -1,230 +0,0 @@
1
- /* eslint-disable */
2
- /* global _, PR */
3
-
4
- import {ReactDoc, ReactPlayground, ReactThemePicker} from './../pages/components/Index';
5
- import {DesignPatternsDoc} from './../pages/design-patterns/Index';
6
- import {HashRouter} from 'react-router-dom';
7
-
8
- import React from 'react';
9
- import ReactDOM from 'react-dom';
10
-
11
- import app from '../../package.json';
12
-
13
- docPrettyPrint.$inject = [];
14
- function docPrettyPrint() {
15
- return {
16
- restrict: 'C',
17
- link: function (scope, element, attrs) {
18
- // Remove leading whitespaces
19
- var str = element[0].innerHTML;
20
- var pos = 0;
21
- var sum = 0;
22
- while (str.charCodeAt(pos) === 32) {
23
- sum = sum + 1;
24
- pos = pos + 1;
25
- }
26
- var pattern = '\\s{' + sum + '}';
27
- var spaces = new RegExp(pattern, 'g');
28
- element[0].innerHTML = str.replace(spaces, '\n');
29
-
30
- // Remove ng-non-bindable from code
31
- element.find('[ng-non-bindable=""]').each(function (i, val) {
32
- $(val).removeAttr('ng-non-bindable');
33
- });
34
-
35
- var langExtension = attrs['class'].match(/\blang(?:uage)?-([\w.]+)(?!\S)/);
36
- if (langExtension) {
37
- langExtension = langExtension[1];
38
- }
39
-
40
- element.html(PR.prettyPrintOne(_.escape(element.html()), langExtension, true));
41
- },
42
- };
43
- }
44
-
45
- docPlayground.$inject = ['components', 'design', 'playgrounds', '$route'];
46
- function docPlayground(components, design, playgrounds, $route) {
47
- return {
48
- link: function link(scope) {
49
- scope.version = app.version;
50
- scope.components = components;
51
- scope.design = design;
52
- scope.playgrounds = playgrounds;
53
-
54
- scope.page = $route.current.params.name;
55
-
56
- scope.items = [{name: 'just'}, {name: 'some'}, {name: 'cool'}, {name: 'tags'}];
57
-
58
- scope.freeItems = ['Audi', 'BMW', 'Opel', 'Hyundai'];
59
-
60
- scope.console = function (...data) {
61
- console.log(...data);
62
- };
63
- },
64
- };
65
- }
66
-
67
- docTabs.$inject = [];
68
- function docTabs() {
69
- return {
70
- link: function link(scope, elem, attr, ctrl) {
71
- elem.find('.docs-page__window-bar')
72
- .children('a')
73
- .click(function (e) {
74
- e.preventDefault();
75
- $(this).addClass('active').siblings().removeClass('active');
76
-
77
- elem.find('.docs-page__code-' + $(this).attr('id'))
78
- .show()
79
- .siblings()
80
- .hide();
81
- });
82
- },
83
- };
84
- }
85
-
86
- docNav.$inject = ['components', '$rootScope'];
87
- function docNav(components, $rootScope) {
88
- return {
89
- link: function link(scope, elem, attr, ctrl) {
90
- scope.isActive = (route) => {
91
- return $rootScope.$route.current && $rootScope.$route.current.params.name === route;
92
- };
93
- },
94
- };
95
- }
96
-
97
- docModal.$inject = ['$modal'];
98
- function docModal($modal) {
99
- return {
100
- link: function link(scope) {
101
- scope.modalActive = false;
102
-
103
- scope.openModal = function (obj) {
104
- scope[obj] = true;
105
- };
106
-
107
- scope.closeModal = function (obj) {
108
- scope[obj] = false;
109
- };
110
-
111
- var modal;
112
-
113
- scope.openTemplateModal = function () {
114
- modal = $modal.open({
115
- template: require('../pages/components_deprecated/modal-template.html'),
116
- controller: docModalController,
117
- size: 'large',
118
- });
119
- };
120
-
121
- scope.close = function () {
122
- modal.close('cancel');
123
- };
124
-
125
- function docModalController($scope) {
126
- $scope.data = 'Element binded inside controller';
127
- }
128
-
129
- scope.openCarousel = function () {
130
- scope.carouselActive = true;
131
- };
132
-
133
- scope.hideCarousel = function () {
134
- scope.carouselActive = false;
135
- };
136
- },
137
- };
138
- }
139
-
140
- docReact.$inject = [];
141
- function docReact() {
142
- return {
143
- link: function (scope, elem) {
144
- ReactDOM.render(
145
- <HashRouter>
146
- <ReactDoc />
147
- </HashRouter>,
148
- elem[0],
149
- );
150
- },
151
- };
152
- }
153
-
154
- docDesignPatterns.$inject = [];
155
- function docDesignPatterns() {
156
- return {
157
- link: function (scope, elem) {
158
- ReactDOM.render(
159
- <HashRouter>
160
- <DesignPatternsDoc />
161
- </HashRouter>,
162
- elem[0],
163
- );
164
- },
165
- };
166
- }
167
-
168
- docReactPlayground.$inject = ['playgrounds'];
169
- function docReactPlayground(playgrounds) {
170
- return {
171
- link: function (scope, elem) {
172
- ReactDOM.render(
173
- <HashRouter>
174
- <ReactPlayground playgrounds={playgrounds.react} />
175
- </HashRouter>,
176
- elem[0],
177
- );
178
- },
179
- };
180
- }
181
-
182
- docThemePicker.$inject = [];
183
- function docThemePicker() {
184
- return {
185
- link: function (scope, elem) {
186
- ReactDOM.render(<ReactThemePicker />, elem[0]);
187
- },
188
- };
189
- }
190
-
191
- docGifImg.$inject = [];
192
- function docGifImg() {
193
- return {
194
- scope: {
195
- src: '@',
196
- },
197
- template: '<img src="{{activeImage}}" ng-click="playGif()" />',
198
- link: function (scope) {
199
- scope.image = scope.src.replace('.gif', '.png');
200
- scope.animation = scope.src;
201
-
202
- // Default settings
203
- scope.played = false;
204
- scope.activeImage = scope.image;
205
-
206
- scope.playGif = () => {
207
- if (scope.played) {
208
- scope.activeImage = scope.image;
209
- scope.played = false;
210
- } else {
211
- scope.activeImage = scope.animation;
212
- scope.played = true;
213
- }
214
- };
215
- },
216
- };
217
- }
218
-
219
- export default angular
220
- .module('ui-docs.directives', [])
221
- .directive('prettyprint', docPrettyPrint)
222
- .directive('docPlayground', docPlayground)
223
- .directive('docTabs', docTabs)
224
- .directive('docNav', docNav)
225
- .directive('docModal', docModal)
226
- .directive('docReact', docReact)
227
- .directive('docDesignPatterns', docDesignPatterns)
228
- .directive('docReactPlayground', docReactPlayground)
229
- .directive('docThemePicker', docThemePicker)
230
- .directive('docGifImg', docGifImg);