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
@@ -1,6 +1,4 @@
1
1
  // FORM ELEMENTS : Input and slect : form-elements/inputs.scss
2
- //
3
-
4
2
  // input, textarea, select {
5
3
 
6
4
  @mixin Line-input-base {
@@ -16,6 +14,11 @@
16
14
  height: $form-input-height;
17
15
  border-radius: $border-radius__base--x-small $border-radius__base--x-small 0 0;
18
16
  display: block;
17
+ &::placeholder {
18
+ color: var(--color-text-lighter);
19
+ font-weight: 400;
20
+ opacity: 0.75;
21
+ }
19
22
  &:hover {
20
23
  border-color: var(--color-input-border-hover);
21
24
  background-color: var(--color-input-bg--hover);
@@ -24,6 +27,9 @@
24
27
  box-shadow: 0 1px 0 0 var(--sd-colour-interactive);
25
28
  border-color: var(--sd-colour-interactive);
26
29
  background-color: var(--sd-colour-interactive--alpha-20);
30
+ &::placeholder {
31
+ opacity: 0.45;
32
+ }
27
33
  }
28
34
  }
29
35
 
@@ -37,7 +43,28 @@
37
43
  font-weight: 500;
38
44
  letter-spacing: 0.08em;
39
45
  }
40
-
46
+ @mixin Boxed-label-base {
47
+ background-color: hsla(214, 13%, 30%, 0.4);
48
+ border-radius: var(--b-radius--small);
49
+ color: hsl(214, 13%, 96%);
50
+ display: inline-flex;
51
+ align-items: center;
52
+ justify-content: center;
53
+ padding: 2px 8px 1px;
54
+ font-size: 1.1rem;
55
+ font-family: $baseFontFamily;
56
+ font-weight: 400;
57
+ line-height: 1.8rem;
58
+ text-transform: uppercase;
59
+ font-style: normal;
60
+ letter-spacing: 0.08em;
61
+ height: 1.8rem;
62
+ transition: opacity ease 0.2s;
63
+ justify-self: start;
64
+ position: relative;
65
+ margin-bottom: $sd-base-increment;
66
+ transition: background-color ease 0.2s;
67
+ }
41
68
 
42
69
  .form-label {
43
70
  @include Form-label-base;
@@ -143,8 +170,8 @@
143
170
  cursor: pointer;
144
171
  }
145
172
  textarea.sd-line-input__input {
146
- padding-top: 0.6rem;
147
- display: block;
173
+ padding-top: 0.6rem;
174
+ display: block;
148
175
  }
149
176
  .sd-line-input__info-left, .sd-line-input__info-right { // use for 1-2 letter info that appear inside inputs ("W" - for width; "H" - for height; px, mm - for units, etc.)
150
177
  position: absolute;
@@ -200,6 +227,7 @@
200
227
  font-size: 1.2rem;
201
228
  padding-left: 0.3rem;
202
229
  }
230
+
203
231
  }
204
232
  .sd-line-input__hint,
205
233
  .sd-line-input__message,
@@ -237,14 +265,14 @@
237
265
  }
238
266
  input, textarea {
239
267
  &.sd-line-input__input {
240
- background-color: rgba(229, 28, 38, 0.075);
268
+ background-color: hsla(357, 79%, 50%, 0.075);
241
269
  border-color: $red;
242
270
  &:hover {
243
- background-color: rgba(229, 28, 38, 0.12);
271
+ background-color: hsla(357, 79%, 50%, 0.12);
244
272
  border-color: $red;
245
273
  }
246
274
  &:focus {
247
- background-color: rgba(229, 28, 38, 0.16);
275
+ background-color: hsla(357, 79%, 50%, 0.16);
248
276
  border-color: $red;
249
277
  box-shadow: 0 1px 0 0 $red;
250
278
  }
@@ -252,14 +280,14 @@
252
280
  }
253
281
  select {
254
282
  &.sd-line-input__select {
255
- background-color: rgba(229, 28, 38, 0.075);
283
+ background-color: hsla(357, 79%, 50%, 0.075);
256
284
  border-color: $red;
257
285
  &:hover {
258
- background-color: rgba(229, 28, 38, 0.12);
286
+ background-color: hsla(357, 79%, 50%, 0.12);
259
287
  border-color: $red;
260
288
  }
261
289
  &:focus {
262
- background-color: rgba(229, 28, 38, 0.16);
290
+ background-color: hsla(357, 79%, 50%, 0.16);
263
291
  border-color: $red;
264
292
  box-shadow: 0 1px 0 0 $red;
265
293
  }
@@ -444,25 +472,12 @@
444
472
  grid-gap: 0;
445
473
  position: relative;
446
474
 
447
- input, textarea, select {
448
- &.sd-input__input {
449
- @include Line-input-base;
450
- background-color: var(--color-input-bg);
451
- transition: all 0.3s cubic-bezier(0.55, 0, 0.55, 0.2);
452
- padding: 0 0.8rem;
453
- height: $form-input-height;
454
- border-radius: $border-radius__base--x-small $border-radius__base--x-small 0 0;
455
- grid-row: 2/3;
456
- grid-column: 2/4;
457
- &:hover {
458
- background-color: var(--color-input-bg--hover);
459
- }
460
- &:focus {
461
- background-color: var(--sd-colour-interactive--alpha-20);
462
- }
463
- }
464
-
475
+ .sd-input__input {
476
+ @include Line-input-base;
477
+ grid-row: 2/3;
478
+ grid-column: 2/4;
465
479
  }
480
+
466
481
  textarea {
467
482
  &.sd-input__input {
468
483
  height: auto;
@@ -479,34 +494,22 @@
479
494
  }
480
495
  }
481
496
  }
482
- select {
483
- &.sd-input__select {
484
- display: block;
485
- position: relative;
486
- @include Line-input-base;
487
- background-color: var(--color-input-bg);
488
- transition: all 0.3s cubic-bezier(0.55, 0, 0.55, 0.2);
489
- padding: 0 0.8rem;
490
- height: $form-input-height;
491
- border-radius: $border-radius__base--x-small $border-radius__base--x-small$border-radius__base--x-small 0 0;
492
- grid-row: 2/3;
493
- grid-column: 2/4;
494
- min-width: 5rem;
495
- &:hover {
496
- background-color: var(--color-input-bg--hover);
497
- }
498
- &:focus {
499
- background-color: var(--sd-colour-interactive--alpha-20);
500
- }
501
- option {
502
- color:inherit;
503
- font-size: 1.4rem;
504
- line-height: 2rem;
505
- background-color: var(--color-dropdown-menu-Bg);
506
- color: var(--color-dropdown-menu-text);
507
- }
508
- }
497
+ .sd-input__select {
498
+ display: block;
499
+ position: relative;
500
+ @include Line-input-base;
501
+ padding-inline-end: 2rem;
502
+ grid-row: 2/3;
503
+ grid-column: 2/4;
504
+ min-width: 5rem;
509
505
  cursor: pointer;
506
+ option {
507
+ color:inherit;
508
+ font-size: 1.4rem;
509
+ line-height: 2rem;
510
+ background-color: var(--color-dropdown-menu-Bg);
511
+ color: var(--color-dropdown-menu-text);
512
+ }
510
513
  }
511
514
  &.sd-input--is-select {
512
515
  &::after {
@@ -581,6 +584,9 @@
581
584
  font-size: 1.2rem;
582
585
  padding-inline-start: 0.3rem;
583
586
  }
587
+ &--boxed {
588
+ @include Boxed-label-base;
589
+ }
584
590
  }
585
591
  &--inline-label {
586
592
  grid-template-columns: auto 1fr auto;
@@ -611,14 +617,14 @@
611
617
  &--invalid {
612
618
  input, textarea {
613
619
  &.sd-input__input {
614
- background-color: rgba(229, 28, 38, 0.075);
620
+ background-color: hsla(357, 79%, 50%, 0.075);
615
621
  border-color: $red;
616
622
  &:hover {
617
- background-color: rgba(229, 28, 38, 0.12);
623
+ background-color: hsla(357, 79%, 50%, 0.12);
618
624
  border-color: $red;
619
625
  }
620
626
  &:focus {
621
- background-color: rgba(229, 28, 38, 0.16);
627
+ background-color: hsla(357, 79%, 50%, 0.16);
622
628
  border-color: $red;
623
629
  box-shadow: 0 1px 0 0 $red;
624
630
  }
@@ -626,14 +632,14 @@
626
632
  }
627
633
  select {
628
634
  &.sd-input__select {
629
- background-color: rgba(229, 28, 38, 0.075);
635
+ background-color: hsla(357, 79%, 50%, 0.075);
630
636
  border-color: $red;
631
637
  &:hover {
632
- background-color: rgba(229, 28, 38, 0.12);
638
+ background-color: hsla(357, 79%, 50%, 0.12);
633
639
  border-color: $red;
634
640
  }
635
641
  &:focus {
636
- background-color: rgba(229, 28, 38, 0.16);
642
+ background-color: hsla(357, 79%, 50%, 0.16);
637
643
  border-color: $red;
638
644
  box-shadow: 0 1px 0 0 $red;
639
645
  }
@@ -651,6 +657,11 @@
651
657
  font-size: 1.2rem;
652
658
  padding-left: 0.3rem;
653
659
  }
660
+ .sd-input__label.sd-input__label--boxed::after {
661
+ position: absolute;
662
+ inset-block-start: -4px;
663
+ inset-inline-end: -10px;
664
+ }
654
665
  }
655
666
  &--disabled {
656
667
  input, textarea {
@@ -677,7 +688,8 @@
677
688
  }
678
689
  }
679
690
  .sd-input__label, .sd-input__message-box, .sd-input__char-count {
680
- opacity: 0.5;
691
+ opacity: 0.5 !important;
692
+ pointer-events: none !important;
681
693
  }
682
694
  .sd-input__hint,
683
695
  .sd-input__message,
@@ -692,4 +704,209 @@
692
704
  flex-grow: 1;
693
705
  width: 100%;
694
706
  }
707
+ &--boxed-style {
708
+ .sd-input__input,
709
+ .sd-input__select {
710
+ border: 0;
711
+ border: 2px solid var(--color-input-border);
712
+ background-color: transparent;
713
+ transition: all ease 0.3s;
714
+ border-radius: var(--b-radius--large);
715
+ display: block;
716
+ &:hover {
717
+ border-color: var(--color-input-border-hover);
718
+ background-color: transparent;
719
+ }
720
+ &:focus {
721
+ outline: none;
722
+ border-color: var(--sd-colour-interactive--alpha-50);
723
+ box-shadow: inset 0 0 0 4px var(--sd-colour-interactive--alpha-20);
724
+ background-color: transparent;
725
+ }
726
+ }
727
+ &.sd-input--disabled {
728
+ input, textarea {
729
+ &.sd-input__input, &.sd-input__input:hover, &.sd-input__input:focus {
730
+ opacity: 0.5;
731
+ background-color: transparent;
732
+ border: 2px solid var(--color-input-border) !important;
733
+ //cursor: not-allowed !important;
734
+ box-shadow: none;
735
+ }
736
+ }
737
+ select {
738
+ &.sd-input__select, &.sd-input__select:hover, &.sd-input__select:focus {
739
+ opacity: 0.5;
740
+ background-color: transparent;
741
+ border: 2px solid var(--color-input-border) !important;
742
+ //ursor: not-allowed !important;
743
+ box-shadow: none;
744
+ }
745
+ }
746
+ .sd-input__label, .sd-input__message-box, .sd-input__char-count {
747
+ opacity: 0.5;
748
+ }
749
+ .sd-input__hint,
750
+ .sd-input__message,
751
+ .sd-input__char-count {
752
+ pointer-events: none;
753
+ }
754
+ }
755
+ &.sd-input--invalid {
756
+ input, textarea {
757
+ &.sd-input__input {
758
+ &:focus {
759
+ background-color: hsla(357, 79%, 50%, 0.1);
760
+ box-shadow: none;
761
+ }
762
+ }
763
+ }
764
+ select {
765
+ &.sd-input__select {
766
+ &:focus {
767
+ background-color: hsla(357, 79%, 50%, 0.1);
768
+ box-shadow: none;
769
+ }
770
+ }
771
+ }
772
+ .sd-input__label, .sd-input__message {
773
+ color: $red;
774
+ }
775
+ }
776
+ }
777
+ &--medium {
778
+ &.sd-input--boxed-style {
779
+ .sd-input__input,
780
+ .sd-input__select {
781
+ border-radius: var(--b-radius--medium);
782
+ &:focus {
783
+ box-shadow: inset 0 0 0 3px var(--sd-colour-interactive--alpha-20);
784
+ }
785
+ }
786
+ }
787
+ }
788
+ &--large {
789
+ .sd-input__input,
790
+ .sd-input__select {
791
+ padding: 0 1.6rem;
792
+ min-height: 4.8rem;
793
+ font-size: 2.4rem;
794
+ font-weight: 500;
795
+ }
796
+ .sd-input__select {
797
+ line-height: 2.4rem;
798
+ option {
799
+ color: var(--color-text);
800
+ font-size: 1.4rem !important;
801
+ line-height: 2rem;
802
+ background-color: var(--color-dropdown-menu-Bg);
803
+ }
804
+ }
805
+ }
806
+ &--x-large {
807
+ .sd-input__input,
808
+ .sd-input__select {
809
+ padding: 0 1.6rem;
810
+ min-height: 5.6rem;
811
+ font-size: 3.2rem;
812
+ font-weight: 500;
813
+ }
814
+ .sd-input__select {
815
+ line-height: 3.2rem;
816
+ option {
817
+ color: var(--color-text);
818
+ font-size: 1.4rem !important;
819
+ line-height: 2rem;
820
+ background-color: var(--color-dropdown-menu-Bg);
821
+ }
822
+ }
823
+ }
824
+ &--boxed-label {
825
+ grid-template-columns: auto 1fr auto;
826
+ grid-template-rows: auto auto auto;
827
+ &:hover {
828
+ .sd-input__label {
829
+ &.sd-input__label--boxed {
830
+ background-color: hsla(214, 13%, 30%, 0.54);
831
+ }
832
+ }
833
+ }
834
+ &:focus-within {
835
+ .sd-input__label {
836
+ &.sd-input__label--boxed {
837
+ background-color: var(--sd-colour-interactive--alpha-70);
838
+ }
839
+ }
840
+ }
841
+ &.sd-input--invalid {
842
+ .sd-input__label--boxed {
843
+ background-color: $red !important;
844
+ color: hsla(214, 13%, 100%, 1);
845
+ }
846
+ }
847
+ &.sd-input--disabled {
848
+ .sd-input__label--boxed {
849
+ background-color: hsla(214, 13%, 0%, 0.4) !important;
850
+ }
851
+ }
852
+ }
853
+ }
854
+
855
+ ///////////////// -------------------- Duration & Time-Date input --------------------- /////////////////
856
+
857
+ .sd-input__duration-input,
858
+ .sd-input__time-date-input {
859
+ @include Line-input-base;
860
+ display: flex;
861
+ gap: 2px;
862
+ grid-row: 2/3;
863
+ grid-column: 2/4;
864
+ &:focus-within {
865
+ box-shadow: 0 1px 0 0 var(--sd-colour-interactive);
866
+ border-color: var(--sd-colour-interactive);
867
+ background-color: var(--sd-colour-interactive--alpha-20);
868
+ }
695
869
  }
870
+ .sd-input__duration-input {
871
+ input {
872
+ -webkit-appearance: none;
873
+ -moz-appearance: none;
874
+ appearance: none;
875
+ border: 0;
876
+ background-color: transparent;
877
+ height: 3.2rem;
878
+ display: inline-block;
879
+ color: var(--color-text);
880
+ text-align: end;
881
+ width: 2.5ch;
882
+ &::-webkit-outer-spin-button,
883
+ &::-webkit-inner-spin-button {
884
+ -webkit-appearance: none;
885
+ margin: 0;
886
+ }
887
+ &[type=number] {
888
+ -moz-appearance: textfield;
889
+ }
890
+ }
891
+ .sd-input__suffix {
892
+ height: 3.2rem;
893
+ line-height: 3.2rem;
894
+ font-size: 1.4rem;
895
+ color: var(--color-text-light);
896
+ display: inline-block;
897
+ pointer-events: none;
898
+ margin-inline-end: 2px;
899
+ text-align: center;
900
+ }
901
+ }
902
+
903
+ .sd-input {
904
+ .p-multiselect,
905
+ .p-calendar,
906
+ .p-multiselect,
907
+ .p-dropdown,
908
+ .tags-input {
909
+ grid-row: 2/3;
910
+ grid-column: 2/4;
911
+ }
912
+ }
@@ -40,17 +40,45 @@
40
40
  background-color: var(--sd-colour-panel-bg--100);
41
41
  overflow: auto;
42
42
  }
43
- .bottom-bar {
44
- height:3rem;
45
- background-color: var(--sd-colour-bottom-bar);
43
+ .bottom-bar,
44
+ .sd-bottom-bar {
46
45
  grid-column: 2/3;
47
46
  grid-row: 4/5;
48
- z-index: 2;
49
- display: flex;
50
- align-items: center;
51
- flex-direction: row;
52
- color: rgba(255, 255, 255, 0.75);
53
- padding: 0 10px;
47
+ }
48
+ }
49
+
50
+ .bottom-bar,
51
+ .sd-bottom-bar {
52
+ min-height:3.2rem;
53
+ background-color: var(--sd-colour-bottom-bar);
54
+ z-index: 2;
55
+ display: flex;
56
+ align-items: center;
57
+ display: grid;
58
+ grid-template-rows: auto;
59
+ grid-template-columns: $sd-sidebarMenu-width 1fr auto auto;
60
+ color: hsla(0, 0%, 100%, 0.75);
61
+ }
62
+ .sd-bottom-bar__action {
63
+ height: 100%;
64
+ display: flex;
65
+ align-items: center;
66
+ justify-content: center;
67
+ width: $sd-sidebarMenu-width;
68
+ text-align: center;
69
+ padding: 0;
70
+ background-color: var(--sd-colour-top-menu__btn);
71
+ transition: all 0.2s ease;
72
+ &:hover {
73
+ background-color: hsl(0, 0%, 0%);
74
+ cursor: pointer;
75
+ }
76
+ &:active {
77
+ background-color: var(--sd-colour-interactive);
78
+ }
79
+ &--disabled {
80
+ pointer-events: none !important;
81
+ opacity: 0.3;
54
82
  }
55
83
  }
56
84
 
@@ -571,20 +599,6 @@ $planningEditor-width: 53rem;
571
599
  }
572
600
  }
573
601
 
574
- // DARK UI ---------------------------------------------
575
- //------------------------------------------------------
576
-
577
- // .dark-ui,
578
- // [class^="--dark-ui"],
579
- // [class*="--dark-ui"] {
580
- // .sd-filters-panel {
581
- // background-color: $sd-filters-darkUI-bg;
582
- // }
583
- // }
584
-
585
-
586
-
587
-
588
602
  // GRID LAYOUT TEST ------------------------------------------------------------------------------------------------------------------------
589
603
  //------------------------------------------------------------------------------------------------------------------------------------------
590
604
 
@@ -746,17 +760,16 @@ $planningEditor-width: 53rem;
746
760
  .sd-page-grid, .sd-page-grid--test {
747
761
  margin: 0;
748
762
  display: grid;
749
- grid-template-columns: [slideInNavigation] auto [contentContainer] 1fr;
763
+ grid-template-columns: [slideInNavigation] auto [contentContainer] 1fr [notificationPanel] 0;
750
764
  grid-template-rows: [mainToolbar] 4.8rem [contentContainer] 1fr [footerBar] auto;
751
765
  grid-gap: 0;
752
766
  height: 100vh;
753
767
  position: relative;
754
- //background-color: aquamarine;
755
768
 
756
769
  .sd-main-menu {
757
770
  grid-column: slideInNavigation;
758
771
  grid-row: 1/-1;
759
- background-color: #272727;
772
+ background-color: hsla(214, 13%, 16%, 1);
760
773
  display: grid;
761
774
  grid-template-columns: 1fr;
762
775
  grid-template-rows: 1fr;
@@ -769,14 +782,81 @@ $planningEditor-width: 53rem;
769
782
  overflow: hidden;
770
783
  transition: opacity ease-in-out 0.2s, width ease-in-out 0.1s;
771
784
  opacity: 0;
772
- box-shadow: inset -8px 0px 12px -4px rgba(0, 0, 0, 0.6);
773
785
  }
786
+ .sd-main-menu__navigation {
787
+ display: grid;
788
+ grid-template-columns: 1fr;
789
+ grid-template-rows: [mainMenuHeader] $nav-height [mainMenuContent] 1fr [mainMenuFooter] auto;
790
+ width: 0;
791
+ overflow: hidden;
792
+ transition: opacity ease-in-out 0.2s, width ease-in-out 0.1s;
793
+ opacity: 0;
794
+ box-shadow: inset -8px 0px 12px -4px rgba(0, 0, 0, 0.4), inset -1px 0px 0 0 hsla(214, 13%, 90%, 0.24);
795
+ }
796
+ .sd-main-menu__header {
797
+ display: flex;
798
+ align-items: center;
799
+ box-shadow: 0 2px 3px hsla(0, 0%, 0%, 0.4);
800
+ border-bottom: 1px solid hsla(214, 13%, 60%, 0.08);
801
+ }
802
+ .sd-main-menu__title {
803
+ font-size: 1.6rem;
804
+ font-weight: 300;
805
+ opacity: 0.65;
806
+ padding-left: 2.4rem;
807
+ }
808
+ .sd-main-menu__content {
809
+ overflow-y: auto;
810
+ }
811
+ .sd-main-menu__footer {
812
+ display: flex;
813
+ flex-direction: column;
814
+ align-items: stretch;
815
+ justify-content: center;
816
+ box-shadow: 0 -2px 3px hsla(0, 0%, 0%, 0.24);
817
+ border-top: 1px solid hsla(214, 13%, 60%, 0.08);
818
+ .sd-main-menu__footer-logo {
819
+ display: flex;
820
+ align-items: center;
821
+ border-top: 1px solid hsla(214, 13%, 60%, 0.08);
822
+ background: url(../img/SD-logo.svg) no-repeat center;
823
+ height: 7.6rem;
824
+ }
825
+ .sd-main-menu__footer-info {
826
+ display: flex;
827
+ align-items: center;
828
+ justify-content: center;
829
+ text-align: center;
830
+ font-size: 10px;
831
+ font-weight: 300;
832
+ letter-spacing: 0.05em;
833
+ padding: 6px 0 6px;
834
+ opacity: 0.5;
835
+ }
836
+ .sd-main-menu__footer-content {
837
+ display: flex;
838
+ align-items: center;
839
+ justify-content: center;
840
+ text-align: center;
841
+ font-size: 12px;
842
+ padding: 8px 0 8px;
843
+ opacity: 0.85;
844
+ height: 3.2rem;
845
+ border-top: 1px solid hsla(214, 13%, 60%, 0.08);
846
+ background-color: hsla(214, 13%, 6%, 0.24);
847
+ }
848
+ }
849
+
774
850
  &.sd-main-menu--open {
775
- .sd-main-menu__inner {
851
+ .sd-main-menu__inner,
852
+ .sd-main-menu__navigation {
776
853
  width: 30rem;
777
854
  opacity: 1;
778
855
  }
779
856
  }
857
+ .sd-left-nav {
858
+ width: 100%;
859
+ }
780
860
  }
781
861
  .sd-top-menu {
782
862
  grid-column: contentContainer;
@@ -790,22 +870,22 @@ $planningEditor-width: 53rem;
790
870
  z-index: 1;
791
871
  overflow: auto;
792
872
  background-color: var(--sd-colour-panel-bg--100);
793
-
794
- }
795
- .bottom-bar {
873
+ }
874
+ .sd-notifications-slot {
875
+ grid-column: notificationPanel;
876
+ grid-row: contentContainer;
877
+ z-index: 2;
878
+ position: relative;
879
+ width: 0;
880
+ }
881
+ .bottom-bar,
882
+ .sd-bottom-bar {
796
883
  grid-column: contentContainer;
797
884
  grid-row: footerBar;
798
- height:3rem;
799
- background-color: var(--sd-colour-bottom-bar);
800
- z-index: 2;
801
- display: flex;
802
- align-items: center;
803
- flex-direction: row;
804
- color: rgba(255, 255, 255, 0.75);
805
- padding: 0 10px;
806
885
  }
807
886
  }
808
887
 
888
+
809
889
  // EDITOR 3 Layout ======================================= //
810
890
  .sd-authoring-page {
811
891
  display: grid;