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

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 (328) hide show
  1. package/.vscode/settings.json +5 -0
  2. package/app/img/SD-logo.svg +52 -0
  3. package/app/styles/_accessibility.scss +1 -0
  4. package/app/styles/_big-icon-font.scss +3 -0
  5. package/app/styles/_boxed-list.scss +3 -0
  6. package/app/styles/_hamburger.scss +160 -0
  7. package/app/styles/_helpers.scss +11 -4
  8. package/app/styles/_icon-font.scss +3 -0
  9. package/app/styles/app.scss +3 -0
  10. package/app/styles/components/_sd-notification-panel.scss +48 -0
  11. package/app/styles/design-tokens/_design-tokens-general.scss +2 -5
  12. package/app/styles/design-tokens/_new-colors.scss +5 -0
  13. package/app/styles/form-elements/_inputs.scss +280 -63
  14. package/app/styles/grids/_grid-layout.scss +119 -39
  15. package/app/styles/menus/_sd-bottom-tabs.scss +70 -0
  16. package/app/styles/menus/_sd-left-navigation.scss +24 -1
  17. package/app/styles/menus/_sd-sidebar-menu.scss +10 -14
  18. package/app/styles/menus/_sd-top-menu.scss +19 -5
  19. package/app/styles/primereact/_pr-dropdown.scss +0 -2
  20. package/app-typescript/components/DatePicker.tsx +67 -20
  21. package/app-typescript/components/DonutChart.tsx +1 -1
  22. package/app-typescript/components/Icon.tsx +1 -1
  23. package/app-typescript/components/IconButton.tsx +5 -1
  24. package/app-typescript/components/Input.tsx +17 -3
  25. package/app-typescript/components/Layouts/BottomBarAction.tsx +35 -0
  26. package/app-typescript/components/Layouts/CoreLayout.tsx +62 -0
  27. package/app-typescript/components/Layouts/CoreLayoutContainer.tsx +16 -0
  28. package/app-typescript/components/Layouts/CoreLayoutFooter.tsx +15 -0
  29. package/app-typescript/components/Layouts/CoreLayoutMain.tsx +16 -0
  30. package/app-typescript/components/Layouts/CoreLayoutOverlay.tsx +15 -0
  31. package/app-typescript/components/Layouts/CoreLayoutSlideInMenu.tsx +24 -0
  32. package/app-typescript/components/Layouts/CoreLayoutTopMenu.tsx +35 -0
  33. package/app-typescript/components/Layouts/HamburgerButton.tsx +41 -0
  34. package/app-typescript/components/Layouts/Layout.tsx +1 -1
  35. package/app-typescript/components/Layouts/MainMenu.tsx +101 -0
  36. package/app-typescript/components/Layouts/NotificationPanel.tsx +109 -0
  37. package/app-typescript/components/Layouts/index.tsx +12 -0
  38. package/app-typescript/components/LeftMenu.tsx +6 -0
  39. package/app-typescript/components/Lists/BoxedList.tsx +36 -4
  40. package/app-typescript/components/Menu.tsx +31 -7
  41. package/app-typescript/components/Modal.tsx +5 -2
  42. package/app-typescript/components/MultiSelect.tsx +65 -22
  43. package/app-typescript/components/NavButton.tsx +4 -0
  44. package/app-typescript/components/Navigation/BottomNav.tsx +82 -0
  45. package/app-typescript/components/Select.tsx +8 -0
  46. package/app-typescript/components/SelectGrid.tsx +1 -1
  47. package/app-typescript/components/Skeleton.tsx +1 -1
  48. package/app-typescript/components/Text/Time.tsx +34 -0
  49. package/app-typescript/components/Togglebox.tsx +1 -1
  50. package/app-typescript/components/Tooltip.tsx +7 -5
  51. package/app-typescript/components/WithSizeObserver.tsx +88 -0
  52. package/app-typescript/dist/components/Alert.d.ts +16 -0
  53. package/app-typescript/dist/components/Autocomplete.d.ts +48 -0
  54. package/app-typescript/dist/components/Avatar.d.ts +33 -0
  55. package/app-typescript/dist/components/Badge.d.ts +13 -0
  56. package/app-typescript/dist/components/Button.d.ts +23 -0
  57. package/app-typescript/dist/components/ButtonGroup.d.ts +12 -0
  58. package/app-typescript/dist/components/CheckButtonGroup.d.ts +11 -0
  59. package/app-typescript/dist/components/CheckGroup.d.ts +9 -0
  60. package/app-typescript/dist/components/Checkbox.d.ts +19 -0
  61. package/app-typescript/dist/components/CheckboxButton.d.ts +19 -0
  62. package/app-typescript/dist/components/DatePicker.d.ts +37 -0
  63. package/app-typescript/dist/components/Divider.d.ts +9 -0
  64. package/app-typescript/dist/components/DonutChart.d.ts +12 -0
  65. package/app-typescript/dist/components/Dropdown.d.ts +28 -0
  66. package/app-typescript/dist/components/DropdownFirst.d.ts +42 -0
  67. package/app-typescript/dist/components/EmptyState.d.ts +11 -0
  68. package/app-typescript/dist/components/FormLabel.d.ts +9 -0
  69. package/app-typescript/dist/components/Genie.d.ts +13 -0
  70. package/app-typescript/dist/components/GridItem.d.ts +69 -0
  71. package/app-typescript/dist/components/GridList.d.ts +14 -0
  72. package/app-typescript/dist/components/HeadingText.d.ts +10 -0
  73. package/app-typescript/dist/components/HelloWorld.d.ts +8 -0
  74. package/app-typescript/dist/components/Icon.d.ts +12 -0
  75. package/app-typescript/dist/components/IconButton.d.ts +12 -0
  76. package/app-typescript/dist/components/IconLabel.d.ts +11 -0
  77. package/app-typescript/dist/components/Input.d.ts +24 -0
  78. package/app-typescript/dist/components/Label.d.ts +15 -0
  79. package/app-typescript/dist/components/LeftMenu.d.ts +26 -0
  80. package/app-typescript/dist/components/Loader.d.ts +8 -0
  81. package/app-typescript/dist/components/NavButton.d.ts +15 -0
  82. package/app-typescript/dist/components/Popover.d.ts +13 -0
  83. package/app-typescript/dist/components/PropsList.d.ts +15 -0
  84. package/app-typescript/dist/components/Radio.d.ts +19 -0
  85. package/app-typescript/dist/components/RadioButton.d.ts +20 -0
  86. package/app-typescript/dist/components/Select.d.ts +29 -0
  87. package/app-typescript/dist/components/SelectWithTemplate.d.ts +32 -0
  88. package/app-typescript/dist/components/SlidingToolbar.d.ts +8 -0
  89. package/app-typescript/dist/components/StrechBar.d.ts +4 -0
  90. package/app-typescript/dist/components/SubNav.d.ts +10 -0
  91. package/app-typescript/dist/components/Switch.d.ts +12 -0
  92. package/app-typescript/dist/components/TabCustom.d.ts +25 -0
  93. package/app-typescript/dist/components/TabList.d.ts +22 -0
  94. package/app-typescript/dist/components/Tag.d.ts +9 -0
  95. package/app-typescript/dist/components/TagInput.d.ts +7 -0
  96. package/app-typescript/dist/components/TagInputTest.d.ts +18 -0
  97. package/app-typescript/dist/components/TimePicker.d.ts +11 -0
  98. package/app-typescript/dist/components/Tooltip.d.ts +11 -0
  99. package/app-typescript/dist/components/_Positioner.d.ts +27 -0
  100. package/app-typescript/dist/index.d.ts +56 -0
  101. package/app-typescript/helpers.tsx +3 -0
  102. package/app-typescript/index.ts +3 -0
  103. package/dist/SD-logo.svg +52 -0
  104. package/dist/examples.bundle.css +660 -0
  105. package/dist/examples.bundle.js +29711 -27786
  106. package/dist/playgrounds/accessible-theme-test.html +1 -1
  107. package/dist/playgrounds/layout-test-2.html +1 -1
  108. package/dist/playgrounds/list-item-test.html +1 -1
  109. package/dist/playgrounds/master-desk.html +1 -1
  110. package/dist/playgrounds/media-carousel.html +1 -1
  111. package/dist/playgrounds/photo-desk.html +1 -1
  112. package/dist/playgrounds/planning.html +1 -1
  113. package/dist/playgrounds/publish.html +1 -1
  114. package/dist/playgrounds/publisher-content-analytics.html +1 -1
  115. package/dist/playgrounds/publisher-content-list-automatic.html +1 -1
  116. package/dist/playgrounds/publisher-content-list-manual.html +1 -1
  117. package/dist/playgrounds/publisher-content-lists.html +1 -1
  118. package/dist/playgrounds/publisher-dashboard.html +1 -1
  119. package/dist/playgrounds/publisher-output-control.html +1 -1
  120. package/dist/playgrounds/react-playgrounds/CoreLayout.tsx +145 -0
  121. package/dist/playgrounds/react-playgrounds/Index.tsx +1 -0
  122. package/dist/playgrounds/react-playgrounds/TestGround.tsx +36 -0
  123. package/dist/playgrounds/react-playgrounds/components/Layout.tsx +1 -1
  124. package/dist/playgrounds/swimlane-view.html +1 -1
  125. package/dist/playgrounds/toasts.html +1 -1
  126. package/dist/playgrounds/video-editor.html +1 -1
  127. package/dist/react/DatePicker.tsx +10 -5
  128. package/dist/react/Index.tsx +5 -0
  129. package/dist/react/Inputs.tsx +109 -6
  130. package/dist/react/MultiSelect.tsx +6 -1
  131. package/dist/react/Selects.tsx +55 -0
  132. package/dist/react/WithSizeObserver.tsx +44 -0
  133. package/dist/superdesk-ui.bundle.css +2386 -116
  134. package/dist/superdesk-ui.bundle.js +30241 -28731
  135. package/dist/vendor.bundle.js +25026 -25026
  136. package/examples/index.js +4 -0
  137. package/examples/pages/playgrounds/accessible-theme-test.html +1 -1
  138. package/examples/pages/playgrounds/layout-test-2.html +1 -1
  139. package/examples/pages/playgrounds/list-item-test.html +1 -1
  140. package/examples/pages/playgrounds/master-desk.html +1 -1
  141. package/examples/pages/playgrounds/media-carousel.html +1 -1
  142. package/examples/pages/playgrounds/photo-desk.html +1 -1
  143. package/examples/pages/playgrounds/planning.html +1 -1
  144. package/examples/pages/playgrounds/publish.html +1 -1
  145. package/examples/pages/playgrounds/publisher-content-analytics.html +1 -1
  146. package/examples/pages/playgrounds/publisher-content-list-automatic.html +1 -1
  147. package/examples/pages/playgrounds/publisher-content-list-manual.html +1 -1
  148. package/examples/pages/playgrounds/publisher-content-lists.html +1 -1
  149. package/examples/pages/playgrounds/publisher-dashboard.html +1 -1
  150. package/examples/pages/playgrounds/publisher-output-control.html +1 -1
  151. package/examples/pages/playgrounds/react-playgrounds/CoreLayout.tsx +145 -0
  152. package/examples/pages/playgrounds/react-playgrounds/Index.tsx +1 -0
  153. package/examples/pages/playgrounds/react-playgrounds/TestGround.tsx +36 -0
  154. package/examples/pages/playgrounds/react-playgrounds/components/Layout.tsx +1 -1
  155. package/examples/pages/playgrounds/swimlane-view.html +1 -1
  156. package/examples/pages/playgrounds/toasts.html +1 -1
  157. package/examples/pages/playgrounds/video-editor.html +1 -1
  158. package/examples/pages/react/DatePicker.tsx +10 -5
  159. package/examples/pages/react/Index.tsx +5 -0
  160. package/examples/pages/react/Inputs.tsx +109 -6
  161. package/examples/pages/react/MultiSelect.tsx +6 -1
  162. package/examples/pages/react/Selects.tsx +55 -0
  163. package/examples/pages/react/WithSizeObserver.tsx +44 -0
  164. package/package.json +4 -4
  165. package/patches/@superdesk+primereact+5.0.2-4.patch +44 -0
  166. package/react/components/Alert.js +10 -8
  167. package/react/components/Autocomplete.js +16 -12
  168. package/react/components/Avatar.js +8 -6
  169. package/react/components/Badge.js +7 -5
  170. package/react/components/Button.js +8 -6
  171. package/react/components/ButtonGroup.js +7 -5
  172. package/react/components/Carousel.js +4 -2
  173. package/react/components/CheckButtonGroup.js +6 -4
  174. package/react/components/CheckGroup.js +5 -3
  175. package/react/components/Checkbox.js +5 -3
  176. package/react/components/CheckboxButton.js +6 -4
  177. package/react/components/ContentDivider.js +8 -6
  178. package/react/components/CreateButton.js +6 -4
  179. package/react/components/DatePicker.d.ts +10 -0
  180. package/react/components/DatePicker.js +60 -35
  181. package/react/components/Divider.js +6 -4
  182. package/react/components/DonutChart.d.ts +1 -1
  183. package/react/components/DonutChart.js +24 -6
  184. package/react/components/DropZone.js +6 -4
  185. package/react/components/Dropdown.js +7 -6
  186. package/react/components/DropdownFirst.js +18 -11
  187. package/react/components/EmptyState.js +7 -5
  188. package/react/components/Form/FormGroup.js +7 -5
  189. package/react/components/Form/FormItem.js +5 -3
  190. package/react/components/Form/FormLabel.js +5 -3
  191. package/react/components/Form/FormRow.js +5 -3
  192. package/react/components/Form/FormText.js +4 -2
  193. package/react/components/Form/index.js +1 -0
  194. package/react/components/FormLabel.js +5 -3
  195. package/react/components/GridItem.js +9 -7
  196. package/react/components/GridList.js +8 -6
  197. package/react/components/HeadingText.js +4 -2
  198. package/react/components/HelloWorld.js +4 -2
  199. package/react/components/Icon.d.ts +1 -1
  200. package/react/components/Icon.js +9 -7
  201. package/react/components/IconButton.js +8 -6
  202. package/react/components/IconLabel.js +7 -5
  203. package/react/components/IconPicker.js +13 -9
  204. package/react/components/Input.d.ts +6 -2
  205. package/react/components/Input.js +27 -13
  206. package/react/components/Label.js +10 -8
  207. package/react/components/Layouts/AuthorinInnerSideBar.js +4 -2
  208. package/react/components/Layouts/AuthoringContainer.js +7 -5
  209. package/react/components/Layouts/AuthoringFrame.js +4 -2
  210. package/react/components/Layouts/AuthoringFrameContainer.js +4 -2
  211. package/react/components/Layouts/AuthoringFrameLeftBar.js +4 -2
  212. package/react/components/Layouts/AuthoringFrameMain.js +4 -2
  213. package/react/components/Layouts/AuthoringFrameNavBar.js +4 -2
  214. package/react/components/Layouts/AuthoringFrameOverlay.js +4 -2
  215. package/react/components/Layouts/AuthoringFrameRightBar.js +4 -2
  216. package/react/components/Layouts/AuthoringFrameSidePanel.js +5 -3
  217. package/react/components/Layouts/AuthoringFrameSidePanelOverlay.js +5 -3
  218. package/react/components/Layouts/AuthoringInnerBody.js +4 -2
  219. package/react/components/Layouts/AuthoringInnerHeader.js +6 -4
  220. package/react/components/Layouts/AuthoringMain.js +4 -2
  221. package/react/components/Layouts/AuthoringMainContainer.js +4 -2
  222. package/react/components/Layouts/AuthoringMainContent.js +4 -2
  223. package/react/components/Layouts/AuthoringMainToolBar.js +5 -3
  224. package/react/components/Layouts/BottomBarAction.d.ts +12 -0
  225. package/react/components/Layouts/BottomBarAction.js +59 -0
  226. package/react/components/Layouts/Container.js +9 -7
  227. package/react/components/Layouts/ContentSplitter.js +6 -4
  228. package/react/components/Layouts/CoreLayout.d.ts +19 -0
  229. package/react/components/Layouts/CoreLayout.js +55 -0
  230. package/react/components/Layouts/CoreLayoutContainer.d.ts +9 -0
  231. package/react/components/Layouts/CoreLayoutContainer.js +49 -0
  232. package/react/components/Layouts/CoreLayoutFooter.d.ts +8 -0
  233. package/react/components/Layouts/CoreLayoutFooter.js +49 -0
  234. package/react/components/Layouts/CoreLayoutMain.d.ts +9 -0
  235. package/react/components/Layouts/CoreLayoutMain.js +49 -0
  236. package/react/components/Layouts/CoreLayoutOverlay.d.ts +8 -0
  237. package/react/components/Layouts/CoreLayoutOverlay.js +49 -0
  238. package/react/components/Layouts/CoreLayoutSlideInMenu.d.ts +11 -0
  239. package/react/components/Layouts/CoreLayoutSlideInMenu.js +58 -0
  240. package/react/components/Layouts/CoreLayoutTopMenu.d.ts +14 -0
  241. package/react/components/Layouts/CoreLayoutTopMenu.js +54 -0
  242. package/react/components/Layouts/HamburgerButton.d.ts +14 -0
  243. package/react/components/Layouts/HamburgerButton.js +63 -0
  244. package/react/components/Layouts/HeaderPanel.js +4 -2
  245. package/react/components/Layouts/Layout.js +4 -3
  246. package/react/components/Layouts/LayoutContainer.js +4 -2
  247. package/react/components/Layouts/LeftPanel.js +5 -3
  248. package/react/components/Layouts/MainMenu.d.ts +41 -0
  249. package/react/components/Layouts/MainMenu.js +103 -0
  250. package/react/components/Layouts/MainPanel.js +5 -3
  251. package/react/components/Layouts/NotificationPanel.d.ts +45 -0
  252. package/react/components/Layouts/NotificationPanel.js +110 -0
  253. package/react/components/Layouts/OverlayPanel.js +4 -2
  254. package/react/components/Layouts/PageLayout.js +4 -2
  255. package/react/components/Layouts/Panel.js +16 -14
  256. package/react/components/Layouts/RightPanel.js +4 -2
  257. package/react/components/Layouts/index.d.ts +11 -0
  258. package/react/components/Layouts/index.js +23 -0
  259. package/react/components/LeftMenu.d.ts +2 -0
  260. package/react/components/LeftMenu.js +19 -12
  261. package/react/components/ListItemLoader.js +4 -2
  262. package/react/components/Lists/BoxedList.d.ts +6 -0
  263. package/react/components/Lists/BoxedList.js +36 -15
  264. package/react/components/Lists/SimpleList.js +9 -7
  265. package/react/components/Lists/index.js +1 -0
  266. package/react/components/Loader.js +4 -2
  267. package/react/components/Menu.d.ts +2 -1
  268. package/react/components/Menu.js +48 -12
  269. package/react/components/Modal.d.ts +2 -1
  270. package/react/components/Modal.js +30 -9
  271. package/react/components/NavButton.d.ts +1 -0
  272. package/react/components/NavButton.js +9 -4
  273. package/react/components/Navigation/BottomNav.d.ts +23 -0
  274. package/react/components/Navigation/BottomNav.js +88 -0
  275. package/react/components/Navigation/QuickNavBar.js +13 -9
  276. package/react/components/Navigation/SideBarMenu.js +4 -2
  277. package/react/components/Navigation/SideBarTabs.js +4 -2
  278. package/react/components/Navigation/index.js +1 -0
  279. package/react/components/Popover.js +4 -2
  280. package/react/components/PropsList.js +4 -2
  281. package/react/components/RadioButtonGroup.js +9 -7
  282. package/react/components/RadioGroup.js +6 -4
  283. package/react/components/SearchBar.js +6 -4
  284. package/react/components/Select.d.ts +4 -0
  285. package/react/components/Select.js +19 -11
  286. package/react/components/SelectGrid.d.ts +1 -1
  287. package/react/components/SelectGrid.js +44 -23
  288. package/react/components/SelectWithTemplate.js +4 -2
  289. package/react/components/Skeleton.d.ts +1 -1
  290. package/react/components/Skeleton.js +26 -5
  291. package/react/components/SlidingToolbar.js +6 -4
  292. package/react/components/Spinner.js +6 -4
  293. package/react/components/StrechBar.js +4 -2
  294. package/react/components/SubNav.js +9 -7
  295. package/react/components/Switch.js +6 -4
  296. package/react/components/SwitchGroup.js +5 -3
  297. package/react/components/TabCustom.js +11 -7
  298. package/react/components/TabList.js +6 -4
  299. package/react/components/Tag.js +5 -4
  300. package/react/components/TagInput.js +7 -6
  301. package/react/components/TagInputTest.js +13 -9
  302. package/react/components/Text/Heading.js +10 -8
  303. package/react/components/Text/Text.js +10 -8
  304. package/react/components/Text/Time.d.ts +15 -0
  305. package/react/components/Text/Time.js +65 -0
  306. package/react/components/ThemeSelector.js +7 -5
  307. package/react/components/TimePicker.js +4 -2
  308. package/react/components/Toast.js +1 -1
  309. package/react/components/ToastMessage.js +6 -5
  310. package/react/components/ToastText.js +1 -1
  311. package/react/components/ToastWrapper.d.ts +2 -2
  312. package/react/components/ToastWrapper.js +14 -10
  313. package/react/components/Togglebox.d.ts +1 -1
  314. package/react/components/Togglebox.js +36 -15
  315. package/react/components/Tooltip.d.ts +1 -0
  316. package/react/components/Tooltip.js +14 -10
  317. package/react/components/WithSizeObserver.d.ts +25 -0
  318. package/react/components/WithSizeObserver.js +95 -0
  319. package/react/components/_Positioner.js +4 -2
  320. package/react/helpers.d.ts +1 -0
  321. package/react/helpers.js +7 -0
  322. package/react/index.d.ts +3 -0
  323. package/react/index.js +9 -1
  324. package/yarn-error.log +111 -0
  325. package/sd_icons.eot +0 -0
  326. package/sd_icons.svg +0 -189
  327. package/sd_icons.ttf +0 -0
  328. package/sd_icons.woff +0 -0
@@ -0,0 +1,5 @@
1
+ {
2
+ "cSpell.words": [
3
+ "qcode"
4
+ ]
5
+ }
@@ -0,0 +1,52 @@
1
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
2
+ width="154px" height="48px" viewBox="0 0 154 48" enable-background="new 0 0 154 48" xml:space="preserve">
3
+ <path fill="#1EB06C" d="M80.711,16.993h-0.057c-0.707-0.933-2.375-1.641-3.564-1.641c-3.79,0-5.883,3.62-5.883,7.241
4
+ c0,4.582,1.98,8.034,5.883,8.034c1.584,0,2.743-0.65,3.988-1.867l0.17,1.584h2.97V9.922h-3.507V16.993z M80.711,26.497
5
+ c-0.736,0.565-1.217,1.301-2.715,1.301c-2.093,0-3.28-1.698-3.28-4.809c0-3.112,1.187-4.809,3.28-4.809
6
+ c1.131,0,2.008,0.594,2.715,1.245V26.497z M59.814,27.629l-2.546-1.585c-0.876,1.019-1.64,1.755-3.281,1.755
7
+ c-1.641,0-2.999-1.188-3.056-4.243h8.882v-1.443c0-3.536-2.15-6.788-5.996-6.76c-3.988,0-6.393,2.97-6.393,7.638
8
+ c0,4.667,2.404,7.637,6.222,7.637C56.476,30.628,58.456,29.722,59.814,27.629z M53.761,17.955c1.697,0,2.772,1.188,2.828,3.225
9
+ h-5.658C50.988,19.144,52.063,17.955,53.761,17.955z M65.75,18.153h-0.057v-2.517H62.47v14.708h3.507v-8.939
10
+ c0-0.367,1.527-2.375,3.281-2.375c0.254,0,0.453,0,0.622,0.028v-3.706C67.787,15.41,66.6,16.4,65.75,18.153z M126.495,15.636h-4.016
11
+ l-4.327,5.685h-0.113V9.922h-3.507v20.423h3.507v-4.527l1.782-2.065l3.253,6.592h3.733l-4.639-9.221L126.495,15.636z M92.927,30.628
12
+ c2.828,0,4.808-0.906,6.165-2.999l-2.545-1.585c-0.877,1.019-1.641,1.755-3.281,1.755c-1.641,0-2.998-1.188-3.055-4.243h8.881
13
+ v-1.443c0-3.536-2.149-6.788-5.996-6.76c-3.988,0-6.392,2.97-6.392,7.638C86.705,27.657,89.109,30.628,92.927,30.628z M93.04,17.955
14
+ c1.697,0,2.772,1.188,2.828,3.225h-5.657C90.268,19.144,91.343,17.955,93.04,17.955z M4.272,14.957c0-1.584,1.215-2.262,2.912-2.262
15
+ c1.838,0,3.055,1.075,3.649,2.658l3.564-1.102C13.18,11.28,10.465,9.64,7.184,9.64c-3.536,0-6.589,2.065-6.589,5.713
16
+ c0,6.28,10.521,5.488,10.521,9.504c0,1.98-1.499,2.715-3.451,2.715c-2.291,0-3.507-1.272-4.441-3.196L0,25.79
17
+ c1.16,2.971,4.3,4.838,7.637,4.838c4.525,0,7.156-2.093,7.156-6.281C14.793,17.729,4.272,18.464,4.272,14.957z M25.707,26.242
18
+ c-0.594,0.68-1.754,1.557-3.281,1.557c-1.188,0-1.81-0.623-1.81-2.603v-9.56h-3.507v10.068c0,3,1.414,4.923,4.356,4.923
19
+ c1.725,0,3.225-0.962,4.525-1.867v1.584h3.224V15.636h-3.507V26.242z M39.96,15.353c-1.584,0-2.743,0.651-3.762,1.641v-1.357h-3.366
20
+ v20.082h3.507v-6.732h0.057c0.707,0.934,2.376,1.641,3.564,1.641c3.79,0,5.883-3.621,5.883-7.242
21
+ C45.843,18.803,43.863,15.353,39.96,15.353z M39.055,27.799c-1.132,0-2.009-0.595-2.716-1.245v-7.071
22
+ c0.735-0.566,1.217-1.301,2.716-1.301c2.093,0,3.281,1.697,3.281,4.809C42.336,26.1,41.148,27.799,39.055,27.799z M111.762,26.214
23
+ c0-5.373-7.354-4.299-7.354-6.815c0-0.877,0.623-1.443,1.98-1.443c1.103,0,2.036,0.791,2.743,1.556l2.206-1.923
24
+ c-1.273-1.499-3.224-2.235-5.176-2.235c-2.545,0-4.865,1.527-4.865,4.272c0,5.12,7.354,4.214,7.354,6.732
25
+ c0,0.989-0.849,1.669-2.093,1.669c-1.499,0-2.602-0.99-3.422-2.122l-2.348,1.754c1.301,1.924,3.225,2.971,5.572,2.971
26
+ C109.442,30.628,111.762,29.27,111.762,26.214z M140.611,0l-11.523,3.955l14.217,5.386l-5.218,14.094l9.686-5.538L154,5.063
27
+ L140.611,0z M51.918,42.583c0-0.549,0.42-0.783,1.007-0.783c0.636,0,1.057,0.372,1.262,0.92l1.232-0.382
28
+ c-0.42-1.027-1.359-1.595-2.494-1.595c-1.222,0-2.279,0.714-2.279,1.976c0,2.171,3.639,1.897,3.639,3.286
29
+ c0,0.684-0.518,0.939-1.194,0.939c-0.792,0-1.212-0.439-1.535-1.105l-1.115,0.489c0.4,1.027,1.486,1.672,2.64,1.672
30
+ c1.565,0,2.475-0.723,2.475-2.171C55.557,43.54,51.918,43.794,51.918,42.583z M97.907,40.831l-2.034,7.071h1.34l0.42-1.525h2.23
31
+ l0.392,1.525h1.34l-2.005-7.071H97.907z M97.927,45.262l0.831-3.071h0.02l0.792,3.071H97.927z M107.042,44.176
32
+ c0.773-0.303,1.076-0.87,1.076-1.604c-0.078-1.261-0.988-1.731-2.397-1.731h-2.621v7.062h2.602c1.8,0,2.573-0.763,2.573-1.858
33
+ C108.275,44.969,107.962,44.548,107.042,44.176z M104.451,41.936h1.35c0.646,0,0.969,0.372,0.969,0.861
34
+ c0,0.489-0.323,0.861-0.969,0.861h-1.35V41.936z M105.8,46.807h-1.35v-2.054h1.35c0.783,0,1.125,0.352,1.125,1.027
35
+ C106.926,46.455,106.583,46.807,105.8,46.807z M115.19,42.934c-0.009-1.164-0.655-2.093-2.259-2.093h-2.817v7.062h1.35v-2.875h1.164
36
+ l1.331,2.875h1.496l-1.555-3.149C114.76,44.509,115.2,43.805,115.19,42.934z M112.461,43.932h-0.998v-1.996h1.232
37
+ c0.743,0,1.144,0.333,1.144,0.998C113.84,43.599,113.517,43.932,112.461,43.932z M117.195,47.902h1.35v-7.062h-1.35V47.902z
38
+ M59.811,40.743c-1.927,0-2.963,1.32-2.963,3.628c0,2.308,1.036,3.629,2.963,3.629c1.927,0,2.964-1.32,2.964-3.629
39
+ C62.775,42.063,61.738,40.743,59.811,40.743z M59.811,46.866c-1.115,0-1.633-0.841-1.613-2.494c0-1.652,0.509-2.493,1.613-2.493
40
+ c1.106,0,1.614,0.841,1.614,2.493C61.425,46.025,60.917,46.866,59.811,46.866z M91.129,47.902h1.35v-3.11h2.358v-1.134h-2.358
41
+ v-1.682h3.15v-1.135h-4.499V47.902z M123.112,46.866c-1.017,0-1.506-0.841-1.486-2.494c0-1.652,0.548-2.493,1.447-2.493
42
+ c0.665,0,1.086,0.42,1.281,1.016l1.222-0.293c-0.332-1.252-1.115-1.858-2.465-1.858c-1.8,0-2.836,1.32-2.836,3.628
43
+ c0,2.308,1.036,3.629,2.836,3.629c1.291,0,2.211-0.625,2.631-1.848l-1.252-0.333C124.091,46.65,123.719,46.866,123.112,46.866z
44
+ M76.488,42.934c-0.01-1.164-0.655-2.093-2.259-2.093h-2.816v7.062h1.35v-2.875h1.164l1.33,2.875h1.496l-1.555-3.149
45
+ C76.057,44.509,76.497,43.805,76.488,42.934z M73.759,43.932h-0.998v-1.996h1.232c0.743,0,1.145,0.333,1.145,0.998
46
+ C75.138,43.599,74.815,43.932,73.759,43.932z M68.262,45.321c0,1.144-0.45,1.545-1.36,1.545c-0.909,0-1.359-0.402-1.359-1.545v-4.48
47
+ h-1.35v4.421c0,2.063,1.271,2.738,2.709,2.738c1.438,0,2.71-0.675,2.71-2.738v-4.421h-1.35V45.321z M86.112,44.792h2.415v-1.134
48
+ h-2.415v-1.682h3.325v-1.135h-4.675v7.062h4.783v-1.134h-3.433V44.792z M80.684,46.866c-1.018,0-1.506-0.841-1.487-2.494
49
+ c0-1.652,0.548-2.493,1.447-2.493c0.665,0,1.085,0.42,1.281,1.016l1.223-0.293c-0.333-1.252-1.115-1.858-2.464-1.858
50
+ c-1.799,0-2.837,1.32-2.837,3.628c0,2.308,1.037,3.629,2.837,3.629c1.291,0,2.21-0.625,2.631-1.848l-1.252-0.333
51
+ C81.661,46.65,81.29,46.866,80.684,46.866z"/>
52
+ </svg>
@@ -7,6 +7,7 @@
7
7
  height: 0 !important;
8
8
  width: 0 !important;
9
9
  min-width: 0 !important;
10
+ min-height: 0 !important;
10
11
  overflow: hidden !important;
11
12
  font-size: 0.01px !important;
12
13
  padding: 0 !important;
@@ -140,6 +140,9 @@ $sd-big-icon-font: (
140
140
  &.color--light {
141
141
  color: var(--color-text-lighter) !important;
142
142
  }
143
+ &.color--white {
144
+ color: hsla(214, 13%, 90, 1) !important;
145
+ }
143
146
 
144
147
  &.scale--2x {
145
148
  --big-icon-size: 52px
@@ -42,6 +42,9 @@ $boxed-list-palette: $sd-basic-palette;
42
42
  &--selected {
43
43
  box-shadow: var(--sd-shadow__item--selected);
44
44
  }
45
+ &--unread {
46
+ box-shadow: var(--sd-shadow__item--unread);
47
+ }
45
48
  &--clickable {
46
49
  &:hover {
47
50
  cursor: pointer;
@@ -0,0 +1,160 @@
1
+ // Settings
2
+ // ==================================================
3
+ $hamburger-layer-width : 18px !default;
4
+ $hamburger-layer-height : 3px !default;
5
+ $hamburger-layer-spacing : 3px !default;
6
+ $hamburger-layer-color : #fff !default;
7
+ $hamburger-layer-border-radius : 1px !default;
8
+ $hamburger-hover-opacity : 0.7 !default;
9
+ $hamburger-active-layer-color : $hamburger-layer-color !default;
10
+ $hamburger-active-hover-opacity: $hamburger-hover-opacity !default;
11
+
12
+ // Hamburger
13
+ // ==================================================
14
+ .hamburger {
15
+ cursor: pointer;
16
+ transition-property: opacity;
17
+ transition-duration: 0.15s;
18
+ transition-timing-function: linear;
19
+
20
+ &:hover {
21
+ opacity: $hamburger-hover-opacity;
22
+ }
23
+
24
+ &.is-active {
25
+ opacity: 0.5;
26
+ &:hover {
27
+ opacity: $hamburger-active-hover-opacity;
28
+ }
29
+
30
+ .hamburger__inner,
31
+ .hamburger__inner::before,
32
+ .hamburger__inner::after {
33
+ background-color: $hamburger-active-layer-color;
34
+ }
35
+ }
36
+ }
37
+
38
+ .hamburger__box {
39
+ width: $hamburger-layer-width;
40
+ height: $hamburger-layer-height * 3 + $hamburger-layer-spacing * 2;
41
+ display: inline-block;
42
+ position: relative;
43
+ }
44
+
45
+ .hamburger__inner {
46
+ display: block;
47
+ top: 50%;
48
+ margin-top: $hamburger-layer-height / -2;
49
+
50
+ &,
51
+ &::before,
52
+ &::after {
53
+ width: $hamburger-layer-width;
54
+ height: $hamburger-layer-height;
55
+ background-color: $hamburger-layer-color;
56
+ border-radius: $hamburger-layer-border-radius;
57
+ position: absolute;
58
+ transition-property: transform;
59
+ transition-duration: 0.15s;
60
+ transition-timing-function: ease;
61
+ }
62
+
63
+ &::before,
64
+ &::after {
65
+ content: "";
66
+ display: block;
67
+ }
68
+
69
+ &::before {
70
+ top: ($hamburger-layer-spacing + $hamburger-layer-height) * -1;
71
+ }
72
+
73
+ &::after {
74
+ bottom: ($hamburger-layer-spacing + $hamburger-layer-height) * -1;
75
+ }
76
+ }
77
+
78
+
79
+ // Hamburger animation
80
+ // ==================================================
81
+
82
+ /* Spin */
83
+ .hamburger--spin {
84
+ .hamburger__inner {
85
+ transition-duration: 0.22s;
86
+ transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
87
+
88
+ &::before {
89
+ transition: top 0.1s 0.25s ease-in,
90
+ opacity 0.1s ease-in;
91
+ }
92
+
93
+ &::after {
94
+ transition: bottom 0.1s 0.25s ease-in,
95
+ transform 0.22s cubic-bezier(0.55, 0.055, 0.675, 0.19);
96
+ }
97
+ }
98
+
99
+ &.is-active {
100
+ .hamburger__inner {
101
+ transform: rotate(225deg);
102
+ transition-delay: 0.12s;
103
+ transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
104
+
105
+ &::before {
106
+ top: 0;
107
+ opacity: 0;
108
+ transition: top 0.1s ease-out,
109
+ opacity 0.1s 0.12s ease-out;
110
+ }
111
+
112
+ &::after {
113
+ bottom: 0;
114
+ transform: rotate(-90deg);
115
+ transition: bottom 0.1s ease-out,
116
+ transform 0.22s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1);
117
+ }
118
+ }
119
+ }
120
+ }
121
+
122
+ /* Squeeze */
123
+ .hamburger--squeeze {
124
+ .hamburger__inner {
125
+ transition-duration: 0.075s;
126
+ transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
127
+
128
+ &::before {
129
+ transition: top 0.075s 0.12s ease,
130
+ opacity 0.075s ease;
131
+ }
132
+
133
+ &::after {
134
+ transition: bottom 0.075s 0.12s ease,
135
+ transform 0.075s cubic-bezier(0.55, 0.055, 0.675, 0.19);
136
+ }
137
+ }
138
+
139
+ &.is-active {
140
+ .hamburger__inner {
141
+ transform: rotate(45deg);
142
+ transition-delay: 0.12s;
143
+ transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
144
+
145
+ &::before {
146
+ top: 0;
147
+ opacity: 0;
148
+ transition: top 0.075s ease,
149
+ opacity 0.075s 0.12s ease;
150
+ }
151
+
152
+ &::after {
153
+ bottom: 0;
154
+ transform: rotate(-90deg);
155
+ transition: bottom 0.075s ease,
156
+ transform 0.075s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1);
157
+ }
158
+ }
159
+ }
160
+ }
@@ -384,7 +384,7 @@ p strong {
384
384
  font-weight: 500;
385
385
  }
386
386
  time {
387
- color: $sd-text-lighter;
387
+ color: $sd-text-light;
388
388
  font-weight: 400;
389
389
  letter-spacing: .025em;
390
390
  &.small {
@@ -446,6 +446,13 @@ h1, h2, h3, h4, h5, h6 {
446
446
  line-height: 1.4;
447
447
  }
448
448
 
449
+ .sd-time {
450
+ font-size: 1.2rem;
451
+ display: inline-block;
452
+ color: var(--color-text-light);
453
+ letter-spacing: 0.025em;
454
+ }
455
+
449
456
  // Font weights
450
457
 
451
458
  .sd-text__light,
@@ -948,16 +955,16 @@ $sd-properties: (padding, margin); // It's generating these properties
948
955
 
949
956
  // Font size
950
957
  .sd-font-size--x-small {
951
- font-size: calc(var(--text-size--base) * 1.2); // 14px;
958
+ font-size: calc(var(--text-size--base) * 1.2); // 12px;
952
959
  }
953
960
  .sd-font-size--small {
954
961
  font-size: calc(var(--text-size--base) * 1.4); // 14px;
955
962
  }
956
963
  .sd-font-size--medium {
957
- font-size: calc(var(--text-size--base) * 1.6); // 14px;
964
+ font-size: calc(var(--text-size--base) * 1.6); // 16px;
958
965
  }
959
966
  .sd-font-size--large {
960
- font-size: calc(var(--text-size--base) * 2); // 14px;
967
+ font-size: calc(var(--text-size--base) * 2); // 20px;
961
968
  }
962
969
 
963
970
  // Text colour
@@ -319,6 +319,9 @@ $sd-icon-font: (
319
319
  &.color--light {
320
320
  color: var(--color-text-lighter) !important;
321
321
  }
322
+ &.color--white {
323
+ color: hsla(214, 13%, 90, 1) !important;
324
+ }
322
325
 
323
326
  &.scale--2x {
324
327
  --icon-base-size: 32px
@@ -34,6 +34,7 @@
34
34
  @import 'loaders';
35
35
  @import 'spinner';
36
36
  @import 'table-list';
37
+ @import 'hamburger';
37
38
 
38
39
  // Interface elements
39
40
  @import 'interface-elements/side-panel';
@@ -67,6 +68,7 @@
67
68
  @import 'components/subnav';
68
69
  @import 'components/theme-selector';
69
70
  @import 'components/sd-dropzone';
71
+ @import 'components/sd-notification-panel';
70
72
 
71
73
  // Dropdowns
72
74
  @import 'dropdowns/basic-dropdown';
@@ -89,6 +91,7 @@
89
91
  @import 'menus/sd-top-menu';
90
92
  @import 'menus/sd-left-navigation';
91
93
  @import 'menus/sd-content-navigation';
94
+ @import 'menus/sd-bottom-tabs';
92
95
 
93
96
  // Editor
94
97
  @import 'editor/editor-themes';
@@ -0,0 +1,48 @@
1
+ .sd-notification-panel {
2
+ display: grid;
3
+ grid-template-columns: 1fr;
4
+ grid-template-rows: auto 1fr auto;
5
+ position: fixed;
6
+ color: var(--color-text);
7
+ inset-block-start: $nav-height;
8
+ inset-block-end: 3.2rem;
9
+ inset-inline-end: -336px;
10
+ width: 32rem;
11
+ background: hsla(218, 13%, 12%, 0.82);
12
+ backdrop-filter: blur(6px);
13
+ box-shadow: 0 2px 12px hsla(0, 0%, 0%, 0.32), 0 1px 4px hsla(0, 0%, 0%, 0.32), 0 0 0 1px var(--sd-colour-line--light);
14
+ z-index: 100;
15
+ transition: inset-inline-end 0.2s ease;
16
+ border-radius: var(--b-radius--x-large);
17
+ margin: 12px 0;
18
+ &.sd-notification-panel--open {
19
+ inset-inline-end: 12px;
20
+ }
21
+ }
22
+
23
+ .sd-notification-panel__header {
24
+ grid-row: 1 / 2;
25
+ grid-column: 1 / 2;
26
+ height: $nav-height;
27
+ border-bottom: 1px solid var(--sd-colour-line--light);
28
+ padding-inline: $sd-base-increment * 2 $sd-base-increment;
29
+ display: flex;
30
+ flex-direction: row;
31
+ align-items: center;
32
+ }
33
+
34
+ .sd-notification-panel__title {
35
+ font-size: 16px;
36
+ color: var(--color-text);
37
+ font-weight: 300;
38
+ margin-inline-end: auto;
39
+ padding-inline-end: $sd-base-increment;
40
+ }
41
+
42
+ .sd-notification-panel__content {
43
+ grid-row: 2 / 2;
44
+ grid-column: 1 / 2;
45
+ overflow-y: auto;
46
+ position: relative;
47
+ padding: $sd-base-increment * 2;
48
+ }
@@ -73,12 +73,9 @@
73
73
  --sd-shadow__menu-item--focus-inner: inset 0 0 0 4px var(--sd-colour-interactive--alpha-20), inset 0 0 0 1px var(--sd-colour-interactive--alpha-50);
74
74
  }
75
75
 
76
-
77
-
78
-
79
76
  .sd-top-menu, #top-menu {
80
77
  .navbtn, .sd-navbtn {
81
- --color-navbutton-border: hsla(214, 13%, 70%, 0.1) !important;
82
- --sd-colour-line--x-light: hsla(214, 13%, 70%, 0.1) !important;
78
+ --color-navbutton-border: hsla(214, 13%, 70%, 0.2) !important;
79
+ --sd-colour-line--x-light: hsla(214, 13%, 70%, 0.2) !important;
83
80
  }
84
81
  }
@@ -277,6 +277,9 @@
277
277
  --sd-colour-top-menu: var(--sd-colour-bg--02);
278
278
  --sd-colour-top-menu__btn: var(--sd-colour-bg--03);
279
279
  --sd-colour-bottom-bar: var(--sd-colour-bg--01);
280
+ --sd-colour-bottom-bar__item: var(--sd-colour-bg--01);
281
+ --sd-colour-bottom-bar__item--hover: var(--sd-colour-bg--02);
282
+ --sd-colour-bottom-bar__item--active: var(--sd-colour-interactive--active);
280
283
 
281
284
  --sd-colour-line--x-light: hsla(var(--sd-colour-cool-grey-l--20), 0.1);
282
285
  --sd-colour-line--light: hsla(var(--sd-colour-cool-grey-l--20), 0.16);
@@ -310,6 +313,7 @@
310
313
  --sd-shadow__subnav: 0 1px 0px var(--sd-colour--shadow-line), 0 1px 3px hsla(0, 0%, 0%, 0.07), 0 1px 0 0 hsla(0, 0%, 0%, 0.1);
311
314
 
312
315
  --sd-shadow__item--selected: 0 0 0 2px var(--sd-colour-interactive), 0 0 0 5px var(--sd-colour-interactive--alpha-30);
316
+ --sd-shadow__item--unread: 0 0 0 1px var(--sd-colour-interactive--alpha-30), inset 0 0 0 3px var(--sd-colour-interactive--alpha-30);
313
317
  --sd-shadow__item--selected-thin: 0 0 0 1px var(--sd-colour-interactive), inset 0 0 0 2px var(--sd-colour-interactive--alpha-30);
314
318
 
315
319
  // Webkit scrollbar colors
@@ -455,6 +459,7 @@
455
459
  --sd-shadow__subnav: 0 1px 0px var(--sd-colour--shadow-line), 0 1px 3px hsla(0, 0%, 0%, 0.14), 0 2px 0 0 hsla(0, 0%, 0%, 0.12);
456
460
 
457
461
  --sd-shadow__item--selected: 0 0 0 2px var(--sd-colour-interactive), 0 0 0 5px var(--sd-colour-interactive--alpha-30);
462
+ --sd-shadow__item--unread: 0 0 0 1px var(--sd-colour-interactive--alpha-50), inset 0 0 0 3px var(--sd-colour-interactive--alpha-20);
458
463
  --sd-shadow__item--selected-thin: 0 0 0 1px var(--sd-colour-interactive), inset 0 0 0 2px var(--sd-colour-interactive--alpha-30);
459
464
 
460
465
  // Webkit scrollbar colors