superdesk-ui-framework 3.0.1-beta.2 → 3.0.1-beta.22

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 (445) hide show
  1. package/.vscode/settings.json +5 -0
  2. package/app/fonts/sd_icons.eot +0 -0
  3. package/app/fonts/sd_icons.svg +14 -7
  4. package/app/fonts/sd_icons.ttf +0 -0
  5. package/app/fonts/sd_icons.woff +0 -0
  6. package/app/img/SD-logo.svg +52 -0
  7. package/app/scripts/toggleBoxNext.js +1 -1
  8. package/app/styles/_accessibility.scss +1 -0
  9. package/app/styles/_big-icon-font.scss +3 -0
  10. package/app/styles/_boxed-list.scss +3 -0
  11. package/app/styles/_buttons.scss +11 -6
  12. package/app/styles/_content-divider.scss +63 -8
  13. package/app/styles/_hamburger.scss +160 -0
  14. package/app/styles/_helpers.scss +35 -5
  15. package/app/styles/_icon-font.scss +20 -10
  16. package/app/styles/_master-desk.scss +3 -2
  17. package/app/styles/_modals.scss +6 -3
  18. package/app/styles/_normalize.scss +4 -0
  19. package/app/styles/_sd-tag-input.scss +221 -296
  20. package/app/styles/_simple-list.scss +1 -0
  21. package/app/styles/_table-list.scss +115 -12
  22. package/app/styles/app.scss +4 -0
  23. package/app/styles/components/_list-item.scss +36 -17
  24. package/app/styles/components/_sd-collapse-box.scss +6 -6
  25. package/app/styles/components/_sd-grid-item.scss +30 -16
  26. package/app/styles/components/_sd-notification-panel.scss +48 -0
  27. package/app/styles/components/_sd-photo-preview.scss +3 -3
  28. package/app/styles/components/_sd-searchbar.scss +7 -0
  29. package/app/styles/design-tokens/_design-tokens-general.scss +3 -6
  30. package/app/styles/design-tokens/_new-colors.scss +16 -6
  31. package/app/styles/dropdowns/_basic-dropdown.scss +6 -0
  32. package/app/styles/form-elements/_forms-general.scss +81 -7
  33. package/app/styles/form-elements/_input-wrap.scss +138 -0
  34. package/app/styles/form-elements/_inputs.scss +577 -102
  35. package/app/styles/grids/_grid-layout.scss +153 -40
  36. package/app/styles/interface-elements/_side-panel.scss +1 -1
  37. package/app/styles/layout/_basic-layout.scss +2 -2
  38. package/app/styles/layout/_editor.scss +10 -4
  39. package/app/styles/menus/_sd-bottom-tabs.scss +70 -0
  40. package/app/styles/menus/_sd-left-navigation.scss +24 -1
  41. package/app/styles/menus/_sd-sidebar-menu.scss +10 -14
  42. package/app/styles/menus/_sd-top-menu.scss +19 -5
  43. package/app/styles/primereact/_pr-dialog.scss +1 -0
  44. package/app/styles/primereact/_pr-dropdown.scss +17 -3
  45. package/app/styles/primereact/_pr-menu.scss +6 -5
  46. package/app-typescript/components/Badge.tsx +3 -2
  47. package/app-typescript/components/ContentDivider.tsx +3 -0
  48. package/app-typescript/components/DatePicker.tsx +71 -36
  49. package/app-typescript/components/DonutChart.tsx +1 -1
  50. package/app-typescript/components/Dropdown.tsx +127 -82
  51. package/app-typescript/components/DurationInput.tsx +400 -0
  52. package/app-typescript/components/EmptyState.tsx +2 -1
  53. package/app-typescript/components/Form/FormLabel.tsx +8 -1
  54. package/app-typescript/components/Form/FormRowNew.tsx +41 -0
  55. package/app-typescript/components/Form/InputBase.tsx +95 -0
  56. package/app-typescript/components/Form/InputNew.tsx +107 -0
  57. package/app-typescript/components/Form/InputWrapper.tsx +79 -0
  58. package/app-typescript/components/Form/index.tsx +4 -0
  59. package/app-typescript/components/Icon.tsx +1 -1
  60. package/app-typescript/components/IconButton.tsx +5 -1
  61. package/app-typescript/components/Input.tsx +39 -42
  62. package/app-typescript/components/Label.tsx +49 -10
  63. package/app-typescript/components/Layouts/AuthoringContainer.tsx +2 -1
  64. package/app-typescript/components/Layouts/AuthoringInnerHeader.tsx +1 -1
  65. package/app-typescript/components/Layouts/AuthoringMain.tsx +4 -2
  66. package/app-typescript/components/Layouts/BottomBarAction.tsx +35 -0
  67. package/app-typescript/components/Layouts/CoreLayout.tsx +63 -0
  68. package/app-typescript/components/Layouts/CoreLayoutContainer.tsx +16 -0
  69. package/app-typescript/components/Layouts/CoreLayoutFooter.tsx +15 -0
  70. package/app-typescript/components/Layouts/CoreLayoutMain.tsx +22 -0
  71. package/app-typescript/components/Layouts/CoreLayoutOverlay.tsx +15 -0
  72. package/app-typescript/components/Layouts/CoreLayoutSlideInMenu.tsx +24 -0
  73. package/app-typescript/components/Layouts/CoreLayoutTopMenu.tsx +35 -0
  74. package/app-typescript/components/Layouts/HamburgerButton.tsx +41 -0
  75. package/app-typescript/components/Layouts/Layout.tsx +2 -2
  76. package/app-typescript/components/Layouts/MainMenu.tsx +101 -0
  77. package/app-typescript/components/Layouts/NotificationPanel.tsx +109 -0
  78. package/app-typescript/components/Layouts/index.tsx +12 -0
  79. package/app-typescript/components/LeftMenu.tsx +127 -116
  80. package/app-typescript/components/Lists/BoxedList.tsx +36 -4
  81. package/app-typescript/components/Lists/ContentList.tsx +38 -10
  82. package/app-typescript/components/Lists/TableList.tsx +283 -151
  83. package/app-typescript/components/Menu.tsx +31 -7
  84. package/app-typescript/components/Modal.tsx +5 -2
  85. package/app-typescript/components/MultiSelect.tsx +35 -5
  86. package/app-typescript/components/NavButton.tsx +4 -0
  87. package/app-typescript/components/Navigation/BottomNav.tsx +83 -0
  88. package/app-typescript/components/SearchBar.tsx +39 -12
  89. package/app-typescript/components/Select.tsx +27 -37
  90. package/app-typescript/components/SelectGrid.tsx +1 -1
  91. package/app-typescript/components/SelectWithTemplate.tsx +32 -7
  92. package/app-typescript/components/Skeleton.tsx +1 -1
  93. package/app-typescript/components/Spacer.tsx +87 -0
  94. package/app-typescript/components/Text/Time.tsx +34 -0
  95. package/app-typescript/components/TimePicker.tsx +38 -15
  96. package/app-typescript/components/Togglebox.tsx +1 -1
  97. package/app-typescript/components/Tooltip.tsx +7 -5
  98. package/app-typescript/components/TreeSelect.tsx +490 -208
  99. package/app-typescript/components/WithSizeObserver.tsx +88 -0
  100. package/app-typescript/dist/components/Alert.d.ts +16 -0
  101. package/app-typescript/dist/components/Autocomplete.d.ts +48 -0
  102. package/app-typescript/dist/components/Avatar.d.ts +33 -0
  103. package/app-typescript/dist/components/Badge.d.ts +13 -0
  104. package/app-typescript/dist/components/Button.d.ts +23 -0
  105. package/app-typescript/dist/components/ButtonGroup.d.ts +12 -0
  106. package/app-typescript/dist/components/CheckButtonGroup.d.ts +11 -0
  107. package/app-typescript/dist/components/CheckGroup.d.ts +9 -0
  108. package/app-typescript/dist/components/Checkbox.d.ts +19 -0
  109. package/app-typescript/dist/components/CheckboxButton.d.ts +19 -0
  110. package/app-typescript/dist/components/DatePicker.d.ts +37 -0
  111. package/app-typescript/dist/components/Divider.d.ts +9 -0
  112. package/app-typescript/dist/components/DonutChart.d.ts +12 -0
  113. package/app-typescript/dist/components/Dropdown.d.ts +28 -0
  114. package/app-typescript/dist/components/DropdownFirst.d.ts +42 -0
  115. package/app-typescript/dist/components/EmptyState.d.ts +11 -0
  116. package/app-typescript/dist/components/FormLabel.d.ts +9 -0
  117. package/app-typescript/dist/components/Genie.d.ts +13 -0
  118. package/app-typescript/dist/components/GridItem.d.ts +69 -0
  119. package/app-typescript/dist/components/GridList.d.ts +14 -0
  120. package/app-typescript/dist/components/HeadingText.d.ts +10 -0
  121. package/app-typescript/dist/components/HelloWorld.d.ts +8 -0
  122. package/app-typescript/dist/components/Icon.d.ts +12 -0
  123. package/app-typescript/dist/components/IconButton.d.ts +12 -0
  124. package/app-typescript/dist/components/IconLabel.d.ts +11 -0
  125. package/app-typescript/dist/components/Input.d.ts +24 -0
  126. package/app-typescript/dist/components/Label.d.ts +15 -0
  127. package/app-typescript/dist/components/LeftMenu.d.ts +26 -0
  128. package/app-typescript/dist/components/Loader.d.ts +8 -0
  129. package/app-typescript/dist/components/NavButton.d.ts +15 -0
  130. package/app-typescript/dist/components/Popover.d.ts +13 -0
  131. package/app-typescript/dist/components/PropsList.d.ts +15 -0
  132. package/app-typescript/dist/components/Radio.d.ts +19 -0
  133. package/app-typescript/dist/components/RadioButton.d.ts +20 -0
  134. package/app-typescript/dist/components/Select.d.ts +29 -0
  135. package/app-typescript/dist/components/SelectWithTemplate.d.ts +32 -0
  136. package/app-typescript/dist/components/SlidingToolbar.d.ts +8 -0
  137. package/app-typescript/dist/components/StrechBar.d.ts +4 -0
  138. package/app-typescript/dist/components/SubNav.d.ts +10 -0
  139. package/app-typescript/dist/components/Switch.d.ts +12 -0
  140. package/app-typescript/dist/components/TabCustom.d.ts +25 -0
  141. package/app-typescript/dist/components/TabList.d.ts +22 -0
  142. package/app-typescript/dist/components/Tag.d.ts +9 -0
  143. package/app-typescript/dist/components/TagInput.d.ts +7 -0
  144. package/app-typescript/dist/components/TagInputTest.d.ts +18 -0
  145. package/app-typescript/dist/components/TimePicker.d.ts +11 -0
  146. package/app-typescript/dist/components/Tooltip.d.ts +11 -0
  147. package/app-typescript/dist/components/_Positioner.d.ts +27 -0
  148. package/app-typescript/dist/index.d.ts +56 -0
  149. package/app-typescript/helpers.tsx +3 -0
  150. package/app-typescript/index.ts +9 -1
  151. package/dist/SD-logo.svg +52 -0
  152. package/dist/examples.bundle.css +942 -9
  153. package/dist/examples.bundle.js +92935 -88376
  154. package/dist/playgrounds/accessible-theme-test.html +1 -1
  155. package/dist/playgrounds/layout-test-2.html +1 -1
  156. package/dist/playgrounds/list-item-test.html +1 -1
  157. package/dist/playgrounds/master-desk.html +1 -1
  158. package/dist/playgrounds/media-carousel.html +1 -1
  159. package/dist/playgrounds/photo-desk.html +1 -1
  160. package/dist/playgrounds/planning.html +1 -1
  161. package/dist/playgrounds/publish.html +1 -1
  162. package/dist/playgrounds/publisher-content-analytics.html +1 -1
  163. package/dist/playgrounds/publisher-content-list-automatic.html +1 -1
  164. package/dist/playgrounds/publisher-content-list-manual.html +1 -1
  165. package/dist/playgrounds/publisher-content-lists.html +1 -1
  166. package/dist/playgrounds/publisher-dashboard.html +1 -1
  167. package/dist/playgrounds/publisher-output-control.html +1 -1
  168. package/dist/playgrounds/react-playgrounds/CoreLayout.tsx +156 -0
  169. package/dist/playgrounds/react-playgrounds/Index.tsx +1 -0
  170. package/dist/playgrounds/react-playgrounds/RundownEditor.tsx +26 -23
  171. package/dist/playgrounds/react-playgrounds/Rundowns.tsx +20 -21
  172. package/dist/playgrounds/react-playgrounds/SamsPlayground.tsx +12 -3
  173. package/dist/playgrounds/react-playgrounds/TestGround.tsx +415 -25
  174. package/dist/playgrounds/react-playgrounds/components/Layout.tsx +2 -2
  175. package/dist/playgrounds/swimlane-view.html +1 -1
  176. package/dist/playgrounds/toasts.html +1 -1
  177. package/dist/playgrounds/video-editor.html +1 -1
  178. package/dist/react/Badges.tsx +18 -0
  179. package/dist/react/ContentDivider.tsx +22 -18
  180. package/dist/react/ContentList.tsx +200 -18
  181. package/dist/react/DatePicker.tsx +31 -6
  182. package/dist/react/Dropdowns.tsx +580 -48
  183. package/dist/react/DurationInput.tsx +108 -0
  184. package/dist/react/Index.tsx +10 -0
  185. package/dist/react/Inputs.tsx +256 -8
  186. package/dist/react/Labels.tsx +51 -1
  187. package/dist/react/LeftNavigations.tsx +71 -44
  188. package/dist/react/MultiSelect.tsx +10 -2
  189. package/dist/react/SelectWithTemplate.tsx +6 -1
  190. package/dist/react/Selects.tsx +55 -0
  191. package/dist/react/TableList.tsx +77 -186
  192. package/dist/react/TimePicker.tsx +22 -12
  193. package/dist/react/Togglebox.tsx +1 -1
  194. package/dist/react/TreeSelect.tsx +270 -48
  195. package/dist/react/WithSizeObserver.tsx +44 -0
  196. package/dist/react/tree-select/TreeSelect.tsx +273 -0
  197. package/dist/react/tree-select/example-1.tsx +71 -0
  198. package/dist/react/tree-select/example-2.tsx +59 -0
  199. package/dist/sd_icons.eot +0 -0
  200. package/dist/sd_icons.svg +14 -7
  201. package/dist/sd_icons.ttf +0 -0
  202. package/dist/sd_icons.woff +0 -0
  203. package/dist/superdesk-ui.bundle.css +4330 -639
  204. package/dist/superdesk-ui.bundle.js +75169 -58238
  205. package/dist/vendor.bundle.js +25027 -25027
  206. package/examples/index.js +4 -0
  207. package/examples/pages/playgrounds/accessible-theme-test.html +1 -1
  208. package/examples/pages/playgrounds/layout-test-2.html +1 -1
  209. package/examples/pages/playgrounds/list-item-test.html +1 -1
  210. package/examples/pages/playgrounds/master-desk.html +1 -1
  211. package/examples/pages/playgrounds/media-carousel.html +1 -1
  212. package/examples/pages/playgrounds/photo-desk.html +1 -1
  213. package/examples/pages/playgrounds/planning.html +1 -1
  214. package/examples/pages/playgrounds/publish.html +1 -1
  215. package/examples/pages/playgrounds/publisher-content-analytics.html +1 -1
  216. package/examples/pages/playgrounds/publisher-content-list-automatic.html +1 -1
  217. package/examples/pages/playgrounds/publisher-content-list-manual.html +1 -1
  218. package/examples/pages/playgrounds/publisher-content-lists.html +1 -1
  219. package/examples/pages/playgrounds/publisher-dashboard.html +1 -1
  220. package/examples/pages/playgrounds/publisher-output-control.html +1 -1
  221. package/examples/pages/playgrounds/react-playgrounds/CoreLayout.tsx +156 -0
  222. package/examples/pages/playgrounds/react-playgrounds/Index.tsx +1 -0
  223. package/examples/pages/playgrounds/react-playgrounds/RundownEditor.tsx +26 -23
  224. package/examples/pages/playgrounds/react-playgrounds/Rundowns.tsx +20 -21
  225. package/examples/pages/playgrounds/react-playgrounds/SamsPlayground.tsx +12 -3
  226. package/examples/pages/playgrounds/react-playgrounds/TestGround.tsx +415 -25
  227. package/examples/pages/playgrounds/react-playgrounds/components/Layout.tsx +2 -2
  228. package/examples/pages/playgrounds/swimlane-view.html +1 -1
  229. package/examples/pages/playgrounds/toasts.html +1 -1
  230. package/examples/pages/playgrounds/video-editor.html +1 -1
  231. package/examples/pages/react/Badges.tsx +18 -0
  232. package/examples/pages/react/ContentDivider.tsx +22 -18
  233. package/examples/pages/react/ContentList.tsx +200 -18
  234. package/examples/pages/react/DatePicker.tsx +31 -6
  235. package/examples/pages/react/Dropdowns.tsx +580 -48
  236. package/examples/pages/react/DurationInput.tsx +108 -0
  237. package/examples/pages/react/Index.tsx +10 -0
  238. package/examples/pages/react/Inputs.tsx +256 -8
  239. package/examples/pages/react/Labels.tsx +51 -1
  240. package/examples/pages/react/LeftNavigations.tsx +71 -44
  241. package/examples/pages/react/MultiSelect.tsx +10 -2
  242. package/examples/pages/react/SelectWithTemplate.tsx +6 -1
  243. package/examples/pages/react/Selects.tsx +55 -0
  244. package/examples/pages/react/TableList.tsx +77 -186
  245. package/examples/pages/react/TimePicker.tsx +22 -12
  246. package/examples/pages/react/Togglebox.tsx +1 -1
  247. package/examples/pages/react/TreeSelect.tsx +270 -48
  248. package/examples/pages/react/WithSizeObserver.tsx +44 -0
  249. package/examples/pages/react/tree-select/TreeSelect.tsx +273 -0
  250. package/examples/pages/react/tree-select/example-1.tsx +71 -0
  251. package/examples/pages/react/tree-select/example-2.tsx +59 -0
  252. package/package.json +8 -8
  253. package/react/components/Alert.js +10 -8
  254. package/react/components/Autocomplete.js +16 -12
  255. package/react/components/Avatar.js +8 -6
  256. package/react/components/Badge.d.ts +1 -0
  257. package/react/components/Badge.js +9 -7
  258. package/react/components/Button.js +8 -6
  259. package/react/components/ButtonGroup.js +7 -5
  260. package/react/components/Carousel.js +4 -2
  261. package/react/components/CheckButtonGroup.js +6 -4
  262. package/react/components/CheckGroup.js +5 -3
  263. package/react/components/Checkbox.js +5 -3
  264. package/react/components/CheckboxButton.js +6 -4
  265. package/react/components/ContentDivider.d.ts +1 -0
  266. package/react/components/ContentDivider.js +10 -6
  267. package/react/components/CreateButton.js +6 -4
  268. package/react/components/DatePicker.d.ts +11 -0
  269. package/react/components/DatePicker.js +44 -35
  270. package/react/components/Divider.js +6 -4
  271. package/react/components/DonutChart.d.ts +1 -1
  272. package/react/components/DonutChart.js +24 -6
  273. package/react/components/DropZone.js +6 -4
  274. package/react/components/Dropdown.d.ts +6 -5
  275. package/react/components/Dropdown.js +63 -35
  276. package/react/components/DropdownFirst.js +18 -11
  277. package/react/components/DurationInput.d.ts +42 -0
  278. package/react/components/DurationInput.js +364 -0
  279. package/react/components/EmptyState.d.ts +1 -0
  280. package/react/components/EmptyState.js +8 -6
  281. package/react/components/Form/FormGroup.js +7 -5
  282. package/react/components/Form/FormItem.js +5 -3
  283. package/react/components/Form/FormLabel.d.ts +4 -1
  284. package/react/components/Form/FormLabel.js +13 -5
  285. package/react/components/Form/FormRow.js +5 -3
  286. package/react/components/Form/FormRowNew.d.ts +12 -0
  287. package/react/components/Form/FormRowNew.js +67 -0
  288. package/react/components/Form/FormText.js +4 -2
  289. package/react/components/Form/InputBase.d.ts +41 -0
  290. package/react/components/Form/InputBase.js +86 -0
  291. package/react/components/Form/InputNew.d.ts +45 -0
  292. package/react/components/Form/InputNew.js +75 -0
  293. package/react/components/Form/InputWrapper.d.ts +28 -0
  294. package/react/components/Form/InputWrapper.js +91 -0
  295. package/react/components/Form/index.d.ts +4 -0
  296. package/react/components/Form/index.js +9 -0
  297. package/react/components/FormLabel.js +5 -3
  298. package/react/components/GridItem.js +9 -7
  299. package/react/components/GridList.js +8 -6
  300. package/react/components/HeadingText.js +4 -2
  301. package/react/components/HelloWorld.js +4 -2
  302. package/react/components/Icon.d.ts +1 -1
  303. package/react/components/Icon.js +9 -7
  304. package/react/components/IconButton.js +8 -6
  305. package/react/components/IconLabel.js +7 -5
  306. package/react/components/IconPicker.js +13 -9
  307. package/react/components/Input.d.ts +6 -2
  308. package/react/components/Input.js +16 -31
  309. package/react/components/Label.d.ts +1 -0
  310. package/react/components/Label.js +28 -10
  311. package/react/components/Layouts/AuthorinInnerSideBar.js +4 -2
  312. package/react/components/Layouts/AuthoringContainer.d.ts +1 -0
  313. package/react/components/Layouts/AuthoringContainer.js +8 -6
  314. package/react/components/Layouts/AuthoringFrame.js +4 -2
  315. package/react/components/Layouts/AuthoringFrameContainer.js +4 -2
  316. package/react/components/Layouts/AuthoringFrameLeftBar.js +4 -2
  317. package/react/components/Layouts/AuthoringFrameMain.js +4 -2
  318. package/react/components/Layouts/AuthoringFrameNavBar.js +4 -2
  319. package/react/components/Layouts/AuthoringFrameOverlay.js +4 -2
  320. package/react/components/Layouts/AuthoringFrameRightBar.js +4 -2
  321. package/react/components/Layouts/AuthoringFrameSidePanel.js +5 -3
  322. package/react/components/Layouts/AuthoringFrameSidePanelOverlay.js +5 -3
  323. package/react/components/Layouts/AuthoringInnerBody.js +4 -2
  324. package/react/components/Layouts/AuthoringInnerHeader.js +7 -5
  325. package/react/components/Layouts/AuthoringMain.js +5 -3
  326. package/react/components/Layouts/AuthoringMainContainer.js +4 -2
  327. package/react/components/Layouts/AuthoringMainContent.js +4 -2
  328. package/react/components/Layouts/AuthoringMainToolBar.js +5 -3
  329. package/react/components/Layouts/BottomBarAction.d.ts +12 -0
  330. package/react/components/Layouts/BottomBarAction.js +59 -0
  331. package/react/components/Layouts/Container.js +9 -7
  332. package/react/components/Layouts/ContentSplitter.js +6 -4
  333. package/react/components/Layouts/CoreLayout.d.ts +20 -0
  334. package/react/components/Layouts/CoreLayout.js +55 -0
  335. package/react/components/Layouts/CoreLayoutContainer.d.ts +9 -0
  336. package/react/components/Layouts/CoreLayoutContainer.js +49 -0
  337. package/react/components/Layouts/CoreLayoutFooter.d.ts +8 -0
  338. package/react/components/Layouts/CoreLayoutFooter.js +49 -0
  339. package/react/components/Layouts/CoreLayoutMain.d.ts +10 -0
  340. package/react/components/Layouts/CoreLayoutMain.js +56 -0
  341. package/react/components/Layouts/CoreLayoutOverlay.d.ts +8 -0
  342. package/react/components/Layouts/CoreLayoutOverlay.js +49 -0
  343. package/react/components/Layouts/CoreLayoutSlideInMenu.d.ts +11 -0
  344. package/react/components/Layouts/CoreLayoutSlideInMenu.js +58 -0
  345. package/react/components/Layouts/CoreLayoutTopMenu.d.ts +14 -0
  346. package/react/components/Layouts/CoreLayoutTopMenu.js +54 -0
  347. package/react/components/Layouts/HamburgerButton.d.ts +14 -0
  348. package/react/components/Layouts/HamburgerButton.js +63 -0
  349. package/react/components/Layouts/HeaderPanel.js +4 -2
  350. package/react/components/Layouts/Layout.js +4 -3
  351. package/react/components/Layouts/LayoutContainer.js +4 -2
  352. package/react/components/Layouts/LeftPanel.js +5 -3
  353. package/react/components/Layouts/MainMenu.d.ts +41 -0
  354. package/react/components/Layouts/MainMenu.js +103 -0
  355. package/react/components/Layouts/MainPanel.js +5 -3
  356. package/react/components/Layouts/NotificationPanel.d.ts +45 -0
  357. package/react/components/Layouts/NotificationPanel.js +110 -0
  358. package/react/components/Layouts/OverlayPanel.js +4 -2
  359. package/react/components/Layouts/PageLayout.js +4 -2
  360. package/react/components/Layouts/Panel.js +16 -14
  361. package/react/components/Layouts/RightPanel.js +4 -2
  362. package/react/components/Layouts/index.d.ts +11 -0
  363. package/react/components/Layouts/index.js +23 -0
  364. package/react/components/LeftMenu.d.ts +5 -1
  365. package/react/components/LeftMenu.js +27 -13
  366. package/react/components/ListItemLoader.js +4 -2
  367. package/react/components/Lists/BoxedList.d.ts +6 -0
  368. package/react/components/Lists/BoxedList.js +36 -15
  369. package/react/components/Lists/ContentList.d.ts +50 -0
  370. package/react/components/Lists/ContentList.js +106 -0
  371. package/react/components/Lists/SimpleList.js +9 -7
  372. package/react/components/Lists/TableList.d.ts +62 -0
  373. package/react/components/Lists/TableList.js +208 -0
  374. package/react/components/Lists/index.js +1 -0
  375. package/react/components/Loader.js +4 -2
  376. package/react/components/Menu.d.ts +2 -1
  377. package/react/components/Menu.js +48 -12
  378. package/react/components/Modal.d.ts +2 -1
  379. package/react/components/Modal.js +30 -9
  380. package/react/components/MultiSelect.d.ts +40 -0
  381. package/react/components/MultiSelect.js +70 -0
  382. package/react/components/NavButton.d.ts +1 -0
  383. package/react/components/NavButton.js +9 -4
  384. package/react/components/Navigation/BottomNav.d.ts +24 -0
  385. package/react/components/Navigation/BottomNav.js +88 -0
  386. package/react/components/Navigation/QuickNavBar.js +13 -9
  387. package/react/components/Navigation/SideBarMenu.js +4 -2
  388. package/react/components/Navigation/SideBarTabs.js +4 -2
  389. package/react/components/Navigation/index.js +1 -0
  390. package/react/components/Popover.js +4 -2
  391. package/react/components/PropsList.js +4 -2
  392. package/react/components/RadioButtonGroup.js +9 -7
  393. package/react/components/RadioGroup.js +6 -4
  394. package/react/components/SearchBar.d.ts +3 -2
  395. package/react/components/SearchBar.js +34 -8
  396. package/react/components/Select.d.ts +5 -1
  397. package/react/components/Select.js +9 -23
  398. package/react/components/SelectGrid.d.ts +1 -1
  399. package/react/components/SelectGrid.js +44 -23
  400. package/react/components/SelectWithTemplate.d.ts +11 -1
  401. package/react/components/SelectWithTemplate.js +23 -12
  402. package/react/components/Skeleton.d.ts +1 -1
  403. package/react/components/Skeleton.js +26 -5
  404. package/react/components/SlidingToolbar.js +6 -4
  405. package/react/components/Spinner.js +6 -4
  406. package/react/components/StrechBar.js +4 -2
  407. package/react/components/SubNav.js +9 -7
  408. package/react/components/Switch.js +6 -4
  409. package/react/components/SwitchGroup.js +5 -3
  410. package/react/components/TabCustom.js +11 -7
  411. package/react/components/TabList.js +6 -4
  412. package/react/components/Tag.js +5 -4
  413. package/react/components/TagInput.js +7 -6
  414. package/react/components/TagInputTest.js +13 -9
  415. package/react/components/Text/Heading.js +10 -8
  416. package/react/components/Text/Text.js +10 -8
  417. package/react/components/Text/Time.d.ts +15 -0
  418. package/react/components/Text/Time.js +65 -0
  419. package/react/components/ThemeSelector.js +7 -5
  420. package/react/components/TimePicker.d.ts +11 -1
  421. package/react/components/TimePicker.js +14 -5
  422. package/react/components/Toast.js +1 -1
  423. package/react/components/ToastMessage.js +6 -5
  424. package/react/components/ToastText.js +1 -1
  425. package/react/components/ToastWrapper.d.ts +2 -2
  426. package/react/components/ToastWrapper.js +14 -10
  427. package/react/components/Togglebox.d.ts +1 -1
  428. package/react/components/Togglebox.js +36 -15
  429. package/react/components/Tooltip.d.ts +1 -0
  430. package/react/components/Tooltip.js +14 -10
  431. package/react/components/TreeSelect.d.ts +80 -0
  432. package/react/components/TreeSelect.js +494 -0
  433. package/react/components/WithSizeObserver.d.ts +25 -0
  434. package/react/components/WithSizeObserver.js +95 -0
  435. package/react/components/_Positioner.js +4 -2
  436. package/react/helpers.d.ts +1 -0
  437. package/react/helpers.js +7 -0
  438. package/react/index.d.ts +9 -0
  439. package/react/index.js +23 -2
  440. package/yarn-error.log +111 -0
  441. package/patches/@superdesk+primereact+5.0.2-4.patch +0 -13
  442. package/sd_icons.eot +0 -0
  443. package/sd_icons.svg +0 -189
  444. package/sd_icons.ttf +0 -0
  445. package/sd_icons.woff +0 -0
@@ -0,0 +1,273 @@
1
+ import * as React from 'react';
2
+ import * as Markup from '../../../js/react';
3
+ import { PropsList, Prop } from '../../../../app-typescript';
4
+ import { MultiSelect } from '../../../../app-typescript/components/MultiSelect';
5
+ import { TreeSelect } from '../../../../app-typescript/components/TreeSelect';
6
+ import {Example1} from './example-1';
7
+ import {Example2} from './example-2';
8
+
9
+ interface IState {
10
+ value: any;
11
+ value2: any;
12
+ options: any;
13
+ options2: any;
14
+ inputValue: string;
15
+ }
16
+
17
+ let itemArr = [
18
+ {
19
+ value: 'Item1',
20
+ children: [
21
+ {
22
+ value: 'Item4',
23
+ children: [
24
+ {value: 'Item10'}
25
+ ]
26
+ },
27
+ {
28
+ value: 'Item5',
29
+ children: [
30
+ {value: 'Item11'}
31
+ ]
32
+ }
33
+ ]
34
+ },
35
+ {
36
+ value: 'Item2',
37
+ children: [
38
+ {
39
+ value: 'Item6'
40
+ },
41
+ {
42
+ value: 'Item7'
43
+ }
44
+ ]
45
+ },
46
+ {
47
+ value: 'Item3',
48
+ children: [
49
+ {
50
+ value: 'Item8'
51
+ },
52
+ {
53
+ value: 'Item9'
54
+ }
55
+ ]
56
+ },
57
+ ]
58
+
59
+ let itemArr2 = [
60
+ {
61
+ value: {name: 'name'},
62
+ children: [
63
+ {
64
+ value: {name: 'name'},
65
+ children: [
66
+ {value: { name: 'name' }
67
+ }
68
+ ]
69
+ },
70
+ {
71
+ value: {name: 'name'},
72
+ children: [
73
+ {value: {name: 'name'}
74
+ }
75
+ ]
76
+ }
77
+ ]
78
+ }
79
+ ]
80
+
81
+
82
+ export class TreeSelectDocs extends React.Component<{}, IState> {
83
+ constructor(props) {
84
+ super(props);
85
+ this.state = {
86
+ value: [],
87
+ value2: [],
88
+ options: itemArr,
89
+ options2: itemArr,
90
+ inputValue: ''
91
+ }
92
+
93
+ this.handleChange = this.handleChange.bind(this);
94
+ }
95
+
96
+ handleChange(e, option) {
97
+
98
+ if(option.item) {
99
+ e.stopPropagation();
100
+ e.preventDefault();
101
+
102
+ this.setState({
103
+ options: option.item
104
+ })
105
+ }
106
+ }
107
+
108
+ render() {
109
+ return (
110
+ <section className='docs-page__container'>
111
+ {/* <h2 className='docs-page__h2'>Example 1</h2>
112
+
113
+ <Example1 />
114
+
115
+ <h2 className='docs-page__h2'>Example 2</h2>
116
+
117
+ <Example2 /> */}
118
+
119
+ <h2 className='docs-page__h2'>TreeSelect</h2>
120
+
121
+ <Markup.ReactMarkupCodePreview>{`
122
+ <TreeSelect
123
+ options={this.state.options2}
124
+ getLabel={'label'}
125
+ getMultilevelArray={'items'}
126
+ selectBranchWithChildren={true}
127
+ onChange={() => false}
128
+ />
129
+ `}
130
+ </Markup.ReactMarkupCodePreview>
131
+
132
+ <Markup.ReactMarkup>
133
+ <Markup.ReactMarkupPreview>
134
+ <div className='docs-page__content-row docs-page__content-row--no-margin'>
135
+ <div className='form__row'>
136
+ <TreeSelect
137
+ getOptions={() => {
138
+ return itemArr
139
+ }}
140
+ selectBranchWithChildren={true}
141
+ onChange={(e) => console.log(e)}
142
+ allowMultiple
143
+ kind={'synchronous'}
144
+ fullWidth
145
+ info={'Info Message'}
146
+ error={'Error Message'}
147
+ required
148
+ label={'TreeSelect Label'}
149
+ />
150
+ </div>
151
+ </div>
152
+ </Markup.ReactMarkupPreview>
153
+
154
+ <Markup.ReactMarkupCode>{`
155
+ <TreeSelect
156
+ getOptions={() => {
157
+ return itemArr
158
+ }}
159
+ selectBranchWithChildren={true}
160
+ onChange={() => false}
161
+ allowMultiple
162
+ kind={'synchronous'}
163
+ />
164
+ `}</Markup.ReactMarkupCode>
165
+
166
+ </Markup.ReactMarkup>
167
+
168
+ <p className='docs-page__paragraph'>Asynchronous mode in TreeSelect component.</p>
169
+ <Markup.ReactMarkup>
170
+ <Markup.ReactMarkupPreview>
171
+ <div className='docs-page__content-row docs-page__content-row--no-margin'>
172
+ <div className='form__row'>
173
+ <TreeSelect
174
+ getOptions={() => {
175
+ return itemArr
176
+ }}
177
+ selectBranchWithChildren={true}
178
+ onChange={() => false}
179
+ allowMultiple
180
+ kind={'asynchronous'}
181
+ searchOptions={(term, callback) => {
182
+ let newArr = itemArr.filter((item) => {
183
+ if (item.value
184
+ .toLowerCase().includes(term.toLowerCase())) {
185
+ return item;
186
+ }
187
+ })
188
+ return callback(newArr)
189
+ }}
190
+
191
+ />
192
+ </div>
193
+ </div>
194
+ </Markup.ReactMarkupPreview>
195
+
196
+ <Markup.ReactMarkupCode>{`
197
+ <TreeSelect
198
+ getOptions={() => {
199
+ return itemArr
200
+ }}
201
+ selectBranchWithChildren={true}
202
+ onChange={() => false}
203
+ allowMultiple
204
+ kind={'asynchronous'}
205
+ searchOptions={(term, callback) => {
206
+ let newArr = itemArr.filter((item) => {
207
+ if (item.value
208
+ .toLowerCase().includes(term.toLowerCase())) {
209
+ return item;
210
+ }
211
+ })
212
+ return callback(newArr)
213
+ }}
214
+ />
215
+ `}</Markup.ReactMarkupCode>
216
+
217
+ </Markup.ReactMarkup>
218
+
219
+ <p className='docs-page__paragraph'>TreeSelect with custom template.</p>
220
+ <Markup.ReactMarkup>
221
+ <Markup.ReactMarkupPreview>
222
+ <div className='docs-page__content-row docs-page__content-row--no-margin'>
223
+ <div className='form__row'>
224
+ <TreeSelect
225
+ getOptions={() => this.state.options}
226
+ kind={'synchronous'}
227
+ onChange={() => false}
228
+ optionTemplate={(item: any) => {
229
+ return <div>Label: {item}</div>
230
+ }}
231
+ valueTemplate={(item: any) => {
232
+ return <span>Label: {item}</span>
233
+ }}
234
+ />
235
+ </div>
236
+ </div>
237
+ </Markup.ReactMarkupPreview>
238
+
239
+ <Markup.ReactMarkupCode>{`
240
+ <TreeSelect
241
+ getOptions={() => this.state.options}
242
+ kind={'synchronous'}
243
+ onChange={() => false}
244
+ optionTemplate={(item: any) => {
245
+ return <div>Label: {item}</div>
246
+ }}
247
+ valueTemplate={(item: any) => {
248
+ return <span>Label: {item}</span>
249
+ }}
250
+ />
251
+ `}</Markup.ReactMarkupCode>
252
+
253
+ </Markup.ReactMarkup>
254
+
255
+ <h3 className="docs-page__h3">Props</h3>
256
+ <PropsList>
257
+ <Prop name='value' isRequired={false} type='Array<T>' default='/' description='Value of the component.'/>
258
+ <Prop name='getOptions' isRequired={false} type='Function' default='/' description='An array of selectitems to display as the available options.'/>
259
+ <Prop name='kind' isRequired={true} type='synchronous | asynchronous' default='/' description='Type of TreeSelect component.'/>
260
+ <Prop name='width' isRequired={false} type='medium | full-width (100%)' default='100%' description='Dropdown width.'/>
261
+ <Prop name='selectBranchWithChildren' isRequired={false} type='boolean' default='false' description='When specified, select branch with children is enabled.'/>
262
+ <Prop name='readonly' isRequired={false} type='boolean' default='false' description='When specified, component changes are not enabled.'/>
263
+ <Prop name='loading' isRequired={false} type='boolean' default='false' description='Adds a loading indicator in dropdown.'/>
264
+ <Prop name='valueTemplate' isRequired={false} type='function' default='/' description='Function that gets an item in the value and returns the content for it.'/>
265
+ <Prop name='optionTemplate' isRequired={false} type='function' default='/' description='Function that gets the option and returns the content for it.'/>
266
+ <Prop name='searchOptions' isRequired={false} type='function' default='/' description='The function will be called when a search is initiated from UI in asynchronous mode.'/>
267
+ <Prop name='onChange' isRequired={true} type='function' default='/' description='Callback to invoke when value changes.'/>
268
+ </PropsList>
269
+
270
+ </section>
271
+ )
272
+ }
273
+ }
@@ -0,0 +1,71 @@
1
+ import React from 'react';
2
+ import {TreeSelect} from 'superdesk-ui-framework/react';
3
+ import {ITreeNode} from 'superdesk-ui-framework/react/components/TreeSelect';
4
+
5
+ type IProps = {};
6
+
7
+ interface IVocabularyItem {
8
+ qcode: string;
9
+ name: string;
10
+ }
11
+
12
+ interface IState {
13
+ value: Array<IVocabularyItem>;
14
+ }
15
+
16
+ const source = [
17
+ {
18
+ 'name': 'Article (news)',
19
+ 'qcode': 'Article',
20
+ },
21
+ {
22
+ 'name': 'Sidebar',
23
+ 'qcode': 'Sidebar',
24
+ },
25
+ {
26
+ 'name': 'Factbox',
27
+ 'qcode': 'Factbox',
28
+ },
29
+ ];
30
+
31
+ function searchOptions(
32
+ term: string,
33
+ callback: (res: Array<ITreeNode<{name: string; qcode: string;}>>) => void,
34
+ ): void {
35
+ setTimeout(() => {
36
+ callback(
37
+ source
38
+ .filter((item) => item.name.toLocaleLowerCase().includes(term.toLocaleLowerCase()))
39
+ .map((item) => ({value: item})),
40
+ );
41
+ }, 1000);
42
+ }
43
+
44
+
45
+ export class MultiSelectDemo extends React.PureComponent<IProps, IState> {
46
+ constructor(props: IProps) {
47
+ super(props);
48
+
49
+ this.state = {
50
+ value: [],
51
+ };
52
+ }
53
+
54
+ render() {
55
+ return (
56
+ <TreeSelect
57
+ kind="asynchronous"
58
+ searchOptions={searchOptions}
59
+ value={this.state.value}
60
+ onChange={(val) => {
61
+ this.setState({value: val});
62
+ }}
63
+ getLabel={({name}) => name}
64
+ getId={({qcode}) => qcode}
65
+ selectBranchWithChildren={false}
66
+ optionTemplate={(item) => <span style={{color: 'blue'}}>{item.name}</span>}
67
+ allowMultiple={true}
68
+ />
69
+ );
70
+ }
71
+ }
@@ -0,0 +1,59 @@
1
+ import * as React from 'react';
2
+ import {TreeSelect} from '../../../../app-typescript/components/TreeSelect';
3
+
4
+ interface IVocabularyItem {
5
+ name: string;
6
+ qcode: string;
7
+ }
8
+
9
+ const authorRoles: Array<IVocabularyItem> = [
10
+ {qcode: 'writer', name: 'Writer'},
11
+ {qcode: 'photographer', name: 'Photographer'},
12
+ {qcode: 'editor', name: 'Editor'},
13
+ ];
14
+
15
+ type IProps = {};
16
+
17
+ interface IState {
18
+ selectedRoles: Array<IVocabularyItem>;
19
+ }
20
+
21
+ /**
22
+ * Same as example-1, only without option/value templates.
23
+ * Issues: initial value is shown as empty, crashes when opening dropdown
24
+ */
25
+ export class Example2 extends React.PureComponent<IProps, IState> {
26
+ constructor(props: IProps) {
27
+ super(props);
28
+
29
+ this.state = {
30
+ selectedRoles: [
31
+ {qcode: 'writer', name: 'Writer'},
32
+ ],
33
+ };
34
+ }
35
+
36
+ render() {
37
+ const {selectedRoles} = this.state;
38
+
39
+ return (
40
+ <div>
41
+ <TreeSelect
42
+ kind="synchronous"
43
+ getOptions={() => authorRoles.map((value) => ({value}))}
44
+ value={selectedRoles}
45
+ onChange={(val) => {
46
+ this.setState({selectedRoles: val.map((node) => node.value)});
47
+
48
+ // accessing qcodes should not cause TypeScript errors
49
+ val.forEach((node) => {
50
+ console.log(node.qcode);
51
+ })
52
+ }}
53
+ allowMultiple={true}
54
+ />
55
+ </div>
56
+ );
57
+ }
58
+ }
59
+
package/dist/sd_icons.eot CHANGED
Binary file
package/dist/sd_icons.svg CHANGED
@@ -7,15 +7,15 @@
7
7
  <font-face units-per-em="1024" ascent="960" descent="-64" />
8
8
  <missing-glyph horiz-adv-x="1024" />
9
9
  <glyph unicode="&#x20;" horiz-adv-x="512" d="" />
10
- <glyph unicode="&#xe600;" glyph-name="photo" d="M656 421.394c0-79.171-64.181-143.352-143.352-143.352s-143.352 64.181-143.352 143.352c0 79.171 64.181 143.352 143.352 143.352s143.352-64.181 143.352-143.352zM860 768h-140l-112 128h-192l-112-128h-140c-55.228 0-100-44.772-100-100v-504c0-55.228 44.772-100 100-100h696c55.228 0 100 44.772 100 100v504c0 55.228-44.772 100-100 100zM512 197.408c-123.64 0-223.986 100.346-223.986 223.986 0 123.642 100.346 223.988 223.986 223.988s223.986-100.346 223.986-223.988c0-123.64-100.346-223.986-223.986-223.986z" />
11
- <glyph unicode="&#xe601;" glyph-name="video" d="M768 576v192c0 31.318-32.682 64-64 64h-640c-31.318 0-64-32.682-64-64v-576c0-31.318 32.682-64 64-64h640c31.318 0 64 32.682 64 64v192l256-192v575.854l-256-191.854z" />
10
+ <glyph unicode="&#xe600;" glyph-name="photo" d="M608 896l112-128h140c55.228 0 100-44.772 100-100v-504c0-55.228-44.772-100-100-100h-696c-55.228 0-100 44.772-100 100v504c0 55.228 44.772 100 100 100h140l112 128zM512 645.382c-123.64 0-223.986-100.346-223.986-223.988 0-123.64 100.346-223.986 223.986-223.986s223.986 100.346 223.986 223.986c0 123.642-100.346 223.988-223.986 223.988zM512.648 564.746c79.118 0 143.352-64.234 143.352-143.352s-64.234-143.352-143.352-143.352-143.352 64.234-143.352 143.352 64.234 143.352 143.352 143.352z" />
11
+ <glyph unicode="&#xe601;" glyph-name="video" d="M768 544v160c0 35.346-28.654 64-64 64h-576c-35.346 0-64-28.654-64-64v-512c0-35.346 28.654-64 64-64h576c35.346 0 64 28.654 64 64v160l192-160v512z" />
12
12
  <glyph unicode="&#xe602;" glyph-name="map-marker" d="M512 896c-173.828 0-314.416-140.59-314.416-314.416 0-235.814 314.416-581.584 314.416-581.584s314.416 345.77 314.416 581.584c0 173.826-140.588 314.416-314.416 314.416zM512 469.292c-61.986 0-112.292 50.306-112.292 112.292s50.306 112.292 112.292 112.292 112.292-50.306 112.292-112.292-50.308-112.292-112.292-112.292z" />
13
13
  <glyph unicode="&#xe603;" glyph-name="slideshow" d="M64 617.91l-34-13.366c-11.238-4.506-19.029-15.308-19.029-27.93 0-3.953 0.764-7.727 2.153-11.184l-0.072 0.202 50.948-129.576v181.854zM931.498 576h-772.898c-16.9 0-30.6-13.7-30.6-30.6v0-578.8c0-16.9 13.7-30.6 30.6-30.6h772.896c16.9 0 30.6 13.7 30.6 30.6v0 578.8c0 16.899-13.699 30.599-30.598 30.6v0zM192 64l192 256 128-176 176 272 208-352h-704zM655.272 720l101.186-80h206.28l-101.8 258.926c-4.515 11.259-15.337 19.065-27.982 19.065-3.96 0-7.741-0.766-11.204-2.157l0.202 0.072-701.766-275.906h518.348z" />
14
- <glyph unicode="&#xe604;" glyph-name="text" d="M831.6 896h-639.2c-35.4 0-64.4-29-64.4-64.4v-703c0-35.4 29-64.4 64.4-64.4h639c35.4 0 64.4 29 64.4 64.4v703c0.2 35.4-28.8 64.4-64.2 64.4zM704 256h-384v64h384v-64zM704 384h-384v64h384v-64zM704 512h-384v64h384v-64zM704 640h-384v64h384v-64z" />
15
- <glyph unicode="&#xe605;" glyph-name="file" d="M896 576l-320 320h-320.666c-34.936-0.105-63.229-28.398-63.334-63.324v-769.342c0.105-34.936 28.398-63.229 63.324-63.334h577.342c34.936 0.105 63.229 28.398 63.334 63.324v512.676zM832 576h-256v256z" />
14
+ <glyph unicode="&#xe604;" glyph-name="text" d="M832 896h-640c-35.4 0-64-28.6-64-64v-768c0-35.4 28.6-64 64-64h640c35.4 0 64.001 28.6 64.001 64v768c0.199 35.4-28.601 64-64.001 64zM704 256h-384v64h384zM704 384h-384v64h384zM704 512h-384v64h384zM704 640h-384v64h384z" />
15
+ <glyph unicode="&#xe605;" glyph-name="file" d="M896 576l-320 320h-384c-34.706 0-64-29.294-64-64v-768c0-34.706 29.294-64 64-64h640c34.706 0 64 29.294 64 64zM832 576h-192c-35.346 0-64 28.654-64 64v192z" />
16
16
  <glyph unicode="&#xe606;" glyph-name="calender" d="M256 512h256v-256h-256zM896 832h-64v64h-128v-64h-384v64h-128v-64h-64c-43.316 0-64-20.684-64-64v-704c0-43.316 20.684-64 64-64h768c43.316 0 64 20.684 64 64v704c0 43.316-20.684 64-64 64zM896 64h-768v576h768v-576z" />
17
17
  <glyph unicode="&#xe607;" glyph-name="composite" d="M64 896h896v-192h-896zM128 640v-512c0-35.346 28.654-64 64-64h640c35.346 0 64 28.654 64 64v512h-768zM704 448h-384v128h384v-128z" />
18
- <glyph unicode="&#xe608;" glyph-name="audio" d="M0 640v-320h192l320-256v832l-320-256h-192zM710.152 478.396c0 94.98-54.734 176.544-134.152 216.252v-431.968c79.418 39.174 134.152 120.738 134.152 215.716zM576 949v-110.54c155.078-46.148 268.302-189.958 268.302-360.062s-113.224-313.916-268.302-360.064v-110.54c215.178 48.832 375.624 240.936 375.624 470.604s-160.446 421.77-375.624 470.602z" />
18
+ <glyph unicode="&#xe608;" glyph-name="audio" d="M0 640v-320h192l320-256v832l-320-256zM710.152 478.396c0 94.98-54.734 176.544-134.152 216.252v-431.968c79.418 39.174 134.152 120.738 134.152 215.716zM576 949v-110.54c155.078-46.148 268.302-189.958 268.302-360.062s-113.224-313.916-268.302-360.064v-110.54c215.178 48.832 375.624 240.936 375.624 470.604s-160.446 421.77-375.624 470.602z" />
19
19
  <glyph unicode="&#xe609;" glyph-name="stream" d="M832 768h-640c-35.346 0-64-28.654-64-64v-64c0-35.346 28.654-64 64-64h640c35.346 0 64 28.654 64 64v64c0 35.346-28.654 64-64 64zM256 640h-64v64h64v-64zM832 512h-640c-35.346 0-64-28.652-64-64v-64c0-35.348 28.654-64 64-64h640c35.346 0 64 28.652 64 64v64c0 35.348-28.654 64-64 64zM256 384h-64v64h64v-64zM832 256h-640c-35.346 0-64-28.652-64-64v-64c0-35.348 28.654-64 64-64h640c35.346 0 64 28.652 64 64v64c0 35.348-28.654 64-64 64zM256 128h-64v64h64v-64z" />
20
20
  <glyph unicode="&#xe60a;" glyph-name="ingest" d="M832 384v-256h-640v256h-128v-384h896v384zM770 512h-190v256h-132v-256h-192l256-256zM384 256h-128v-64h192zM768 192v64h-128l-64-64z" />
21
21
  <glyph unicode="&#xe60b;" glyph-name="archive" d="M960 768h-320v-320h128l-224-256-224 256h128v320h-320c-35.346 0-64-28.654-64-64v-192h64v-448c0-35.346 28.654-64 64-64h704c35.346 0 64 28.654 64 64v448h64v192c0 35.346-28.654 64-64 64z" />
@@ -47,7 +47,7 @@
47
47
  <glyph unicode="&#xe625;" glyph-name="upload" d="M544 704l-416-384h256v-384h320v384h256l-416 384zM960 832v128h-832v-128h832z" />
48
48
  <glyph unicode="&#xe626;" glyph-name="repeat" d="M511.408 119.25c-182.558 0-330.48 148.006-330.48 330.478s147.922 330.48 330.48 330.48c146.956 0 202.996-64.658 202.996-64.658l-122.404-139.55h304v336l-102.712-110.676c0 0-98.958 87.77-281.88 87.77-242.24 0-439.376-197.050-439.376-439.3 0-242.226 197.136-439.28 439.376-439.28 242.238 0.002 439.592 195.26 439.592 437.486h-103c0-182.538-154.044-328.75-336.592-328.75z" />
49
49
  <glyph unicode="&#xe627;" glyph-name="refresh" d="M180.95 448c-0.002 0.576-0.022 1.15-0.022 1.728 0 182.472 147.922 330.48 330.48 330.48 146.956 0 202.996-64.658 202.996-64.658l-122.404-139.55h304v336l-102.712-110.676c0 0-98.958 87.77-281.88 87.77-242.24 0-439.376-197.050-439.376-439.3 0-0.6 0.020-1.196 0.022-1.796h108.896zM843.050 448c0.002-0.576 0.022-1.15 0.022-1.728 0-182.472-147.922-330.48-330.48-330.48-146.956 0-202.996 64.658-202.996 64.658l122.404 139.55h-304v-336l102.712 110.676c0 0 98.958-87.77 281.88-87.77 242.24 0 439.376 197.050 439.376 439.3 0 0.6-0.020 1.196-0.022 1.796h-108.896z" />
50
- <glyph unicode="&#xe628;" glyph-name="list-alt" d="M836.694 896h-649.388c-32.754 0-59.306-26.552-59.306-59.306v-777.388c0-32.754 26.552-59.306 59.306-59.306v0h649.388c32.754 0 59.306 26.552 59.306 59.306v0 777.388c0 32.754-26.552 59.306-59.306 59.306v0zM320 256h-64v64h64v-64zM320 384h-64v64h64v-64zM320 512h-64v64h64v-64zM320 640h-64v64h64v-64zM768 256h-384v64h384v-64zM768 384h-384v64h384v-64zM768 512h-384v64h384v-64zM768 640h-384v64h384v-64z" />
50
+ <glyph unicode="&#xe628;" glyph-name="list-alt" d="M832 896h-640c-34.7 0-64-29.3-64-64v-768c0-32.7 29.3-64 64-64h640c34.7 0 64 29.3 64 64v768c0 34.7-29.3 64-64 64zM320 256h-64v64h64zM320 384h-64v64h64zM320 512h-64v64h64zM320 640h-64v64h64zM768 256h-384v64h384zM768 384h-384v64h384zM768 512h-384v64h384zM768 640h-384v64h384z" />
51
51
  <glyph unicode="&#xe629;" glyph-name="plus-large" d="M896 512h-320v320h-128v-320h-320v-128h320v-320h128v320h320z" />
52
52
  <glyph unicode="&#xe62a;" glyph-name="picture" d="M960 128.284v639.432c0 35.503-28.781 64.284-64.284 64.284v0h-767.432c-35.503 0-64.284-28.781-64.284-64.284v0-639.432c0-35.503 28.781-64.284 64.284-64.284v0h767.432c35.503 0 64.284 28.781 64.284 64.284v0zM336 432l128-144.556 176 272.556 256-368h-752z" />
53
53
  <glyph unicode="&#xe62b;" glyph-name="question-sign" d="M512 895.998c-247.424 0-448-200.578-448-448s200.576-448 448-448 448 200.578 448 448-200.576 448-448 448zM576 128h-128v128h128v-128zM512 320c-54.666 0-64 0-64 0v112c0 0 178.666-35.334 178.666 101.334 0 54.666-27.334 109.334-109.334 109.334-109.332-0.002-109.332-109.334-109.332-109.334h-109.334c0 0 0 218.666 218.666 218.666 109.334 0 218.668-54.666 218.668-218.666 0-136.668-87.334-213.334-224-213.334z" />
@@ -79,7 +79,7 @@
79
79
  <glyph unicode="&#xe645;" glyph-name="plus-small" d="M768 512h-192v192h-128v-192h-192v-128h192v-192h128v192h192z" />
80
80
  <glyph unicode="&#xe646;" glyph-name="minus-small" d="M256 512h512v-128h-512v128z" />
81
81
  <glyph unicode="&#xe647;" glyph-name="close-small" d="M835.672 203.3l-244.004 243.878 241.518 241.594-77.296 77.098-243.812-243.824-243.75 243.694-77.17-77.36 242.092-242.032-243.75-243.67 79.72-79.588 241.966 242.086 243.238-243.176z" />
82
- <glyph unicode="&#xe648;" glyph-name="post" d="M896 832h-768c-33 0-64-33-64-64v-704l192 192h640c32 0 64 30 64 64v448c0 31-30 64-64 64zM640 384h-384v64h384v-64zM768 512h-512v64h512v-64zM768 640h-512v64h512v-64z" />
82
+ <glyph unicode="&#xe648;" glyph-name="post" d="M896 832h-768c-33.3 0-64-28.7-64-64v-704l192 192h640c34.7 0 64 29.3 64 64v448c0 34.7-29.3 64-64 64zM640 384h-384v64h384zM768 512h-512v64h512zM768 640h-512v64h512z" />
83
83
  <glyph unicode="&#xe649;" glyph-name="external" d="M832 128l-640.588-0.586 0.588 640.586h192v128h-192.588c-70.714 0-127.412-57.336-127.412-127.414v-640.586c0-70.078 56.698-128 127.412-128h641.174c70.078 0 127.414 57.336 127.414 127.414v192.586h-127.412l-0.588-192zM512 896v-128h224l-424-424 96-96 424 424v-224l128-0.126v448.126z" />
84
84
  <glyph unicode="&#xe64a;" glyph-name="chevron-up-thin" d="M857.518 349.148l-345.204 354.852-338.98-358.16 74.562-70.562 265.484 280.518 270.562-278.214z" />
85
85
  <glyph unicode="&#xe64b;" glyph-name="chevron-down-thin" d="M167.282 630.128l345.204-354.85 338.98 358.16-74.562 70.562-265.484-280.52-270.562 278.216z" />
@@ -186,4 +186,11 @@
186
186
  <glyph unicode="&#xe6b0;" glyph-name="arrow_small" d="M320 320v-64h64l256 256v-192h128v384h-384v-128h192z" />
187
187
  <glyph unicode="&#xe6b1;" glyph-name="clean_all" d="M769.032 480c-0.594 25.87-1.032 52.57-1.032 80 0 48-35.818 80-80 80h-112l16 176c0 44.182-35.818 80-80 80s-80-35.818-80-80l16-176h-112c-44.182 0-80-32-80-80 0-12.182-0.824-41.216-4.972-80h518.004zM247.082 448c-16.21-116.3-61.060-289.664-183.082-384 8.212 0 112.528 0 220.346 0 48.088 48.254 71.068 91.66 96 159.25 0.452 1.226 2.272 0.86 2.25-0.446-1.38-76.748-25.394-132.882-39.074-158.802 61.704 0 125.992 0 182.998 0 21.324 28.882 34.74 62.266 46.144 95.41 0.37 1.074 1.77 0.564 1.686-0.582-3.252-44.010-7.996-74.162-12.97-94.828 10.592 0 20.838 0 30.62 0 193.734 0 184.006 155.668 177.84 384h-522.758z" />
188
188
  <glyph unicode="&#xe6b2;" glyph-name="broascast" d="M896 704h-293.786l210.586 210.586-44.8 45.414-256-256-256 256-45.414-45.414 211.2-210.586h-293.786c-70.4 0-128-56.986-128-128v-512c0-70.4 57.6-128 128-128h768c70.4 0 128 57.6 128 128v512c0 71.014-57.6 128-128 128zM128 64v512h768v-512zM704 320l-320-192v384z" />
189
+ <glyph unicode="&#xe6b3;" glyph-name="photo-cancel" d="M67.882 891.8l123.8-123.8h0.228l175.541-175.541-0.123-0.105 57.603-57.603c0.043 0.033 0.086 0.066 0.129 0.1l201.045-201.045-0.101-0.128 56.955-56.956c0.035 0.041 0.070 0.083 0.105 0.124l207.943-207.946-0.174-0.053 65.174-65.174-67.882-67.882-128.208 128.208h-595.918c-54.676 0-99.104 43.881-99.987 98.346l-0.013 1.654v504c0 25.557 9.588 48.875 25.363 66.554l-89.363 89.364zM608 896l112-128h140c54.676 0 99.104-43.881 99.987-98.346l0.013-1.654v-504c0-8.682-1.107-17.106-3.186-25.139l-227.618 227.619c4.434 17.573 6.79 35.97 6.79 54.914 0 123.642-100.346 223.988-223.986 223.988-18.944 0-37.342-2.356-54.916-6.79l-142.036 142.034 100.952 115.374zM288.014 421.394c0-123.64 100.346-223.986 223.986-223.986 33.528 0 65.344 7.379 93.91 20.601l-63.198 63.196c-9.696-2.072-19.753-3.163-30.063-3.163-79.118 0-143.352 64.234-143.352 143.352 0 10.31 1.091 20.368 3.163 30.063l-63.845 63.846c-13.221-28.566-20.6-60.381-20.6-93.91zM532.268 563.412c63.434-8.698 113.7-58.963 122.398-122.398z" />
190
+ <glyph unicode="&#xe6b4;" glyph-name="video-cancel" d="M67.882 891.8l123.796-123.796 0.23-0.002 764.1-764.328-67.882-67.882-192.21 192.21-567.916-0.002c-34.993 0-63.426 28.084-63.991 62.942l-0.009 1.058v512c0 15.615 5.592 29.924 14.884 41.034l-78.884 78.884zM327.672 768.002l376.328-0.002c34.993 0 63.426-28.084 63.991-62.942l0.009-1.058v-160l192 160v-512l-192 160v-24.324z" />
191
+ <glyph unicode="&#xe6b5;" glyph-name="text-cancel" d="M896 63.882l60.212-60.213-67.882-67.882-64.212 64.213h-632.118c-35.046 0-63.427 28.031-63.991 62.94l-0.009 1.060v632.118l-127.796 127.795 67.882 67.882 59.914-59.914v0.234l768-767.998zM832 896c35.046 0 63.623-28.031 63.998-62.94l0.003-1.060-0.001-632.118-192 192v56.118h-56.118l-64 64h120.118v64h-184.118l-64 64h248.118v64h-312.118l-192 192zM504.116 320.002l-184.116-0.002v-64h248.118zM376.118 448h-56.118v-64h120.118z" />
192
+ <glyph unicode="&#xe6b6;" glyph-name="file-cancel" d="M67.882 891.8l60.116-60.114 0.002 0.226 828.009-828.238-67.882-67.882-64.208 64.208h-631.918c-34.359 0-63.414 28.711-63.991 62.96l-0.009 1.040-0.002 631.92-127.998 127.998zM576 896l320-320v-376.324l-696.322 696.324zM576 832v-192c0-34.993 28.084-63.426 62.942-63.991l1.058-0.009h192z" />
193
+ <glyph unicode="&#xe6b7;" glyph-name="audio-cancel" d="M67.882 891.8l195.052-195.052 0.128 0.102 477.43-477.66c0.037 0.039 0.074 0.077 0.111 0.116l75.807-75.805-0.114-0.115 139.712-139.712-67.882-67.882-145.282 145.284c-48.898-33.743-104.339-58.713-164.049-72.639l-2.796-0.643v110.54c31.797 9.462 61.834 23.030 89.496 40.088l-153.496 153.496v-247.918l-320 256h-192v320h183.918l-183.918 183.918zM576 949c215.178-48.832 375.624-240.934 375.624-470.602 0-95.32-27.637-184.169-75.354-258.991l-78.258 78.258c29.502 53.629 46.29 115.232 46.29 180.733 0 168.403-110.971 311.035-263.662 358.648l-4.64 1.414zM576 694.648c79.418-39.708 134.152-121.272 134.152-216.252 0-27.892-4.72-54.628-13.4-79.473l-120.752 120.751zM512 896v-312.326l-173.516 173.514z" />
194
+ <glyph unicode="&#xe6b8;" glyph-name="list-alt-cancel" d="M67.882 891.8l60.116-60.116 0.002 0.228 128-128-0.002-0.228 63.684-63.684h0.23l64.088-64.088-0.002-0.228 63.684-63.684h0.23l64-64h-0.23l64-64h0.23l64-64h-0.23l64-64h0.23l192.088-192.088-0.004-0.226 60.012-60.012-67.882-67.882-64.208 64.208h-631.918c-34.353 0-63.413 30.677-63.991 63.019l-0.009 0.981-0.002 631.92-127.998 127.998zM832 896c34.353 0 63.413-28.717 63.991-62.961l0.009-1.039v-632.324l-184.324 184.324h56.324v64h-120.324l-63.998 64h184.322v64h-248.322l-64 64h312.322v64h-376.322l-192 192zM567.918 256l-64 64h-119.918v-64zM320 320h-64v-64h64zM439.918 384l-55.92 55.92 0.002-55.92zM320 448h-64v-64h64zM255.998 567.92l0.002-55.92h55.918z" />
195
+ <glyph unicode="&#xe6b9;" glyph-name="post-cancel" d="M67.882 891.8l59.8-59.8 0.228 0.002 128.090-128.092v-0.228l63.68-63.68h0.228l64-64h-0.228l64-64h0.228l64-64h-0.228l64-64h0.23l128-128h-0.23l252.328-252.328-67.882-67.882-320.21 320.21-311.916-0.002-192-192v695.918l-64 64zM896 832c34.353 0 63.413-28.717 63.991-62.961l0.009-1.039v-448c0-34.353-28.717-63.413-62.961-63.991l-1.039-0.009-56.326 0.002-256.002 256 184.328-0.002v64l-248.328 0.002-64 64 312.328-0.002v64l-376.328 0.002-128 128zM439.916 384.002l-64 64-119.916-0.002v-64zM311.916 512.002l-55.916 55.916v-55.918z" />
189
196
  </font></defs></svg>
package/dist/sd_icons.ttf CHANGED
Binary file
Binary file