superdesk-ui-framework 3.0.66 → 3.0.67

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 (438) hide show
  1. package/app/styles/components/_list-item.scss +22 -11
  2. package/app-typescript/components/Autocomplete.tsx +9 -3
  3. package/app-typescript/components/Badge.tsx +16 -2
  4. package/app-typescript/components/Dropdown.tsx +3 -1
  5. package/app-typescript/components/DropdownFirst.tsx +14 -2
  6. package/app-typescript/components/DurationInput.tsx +19 -4
  7. package/app-typescript/components/EmptyState.tsx +11 -2
  8. package/app-typescript/components/Layouts/Panel.tsx +12 -1
  9. package/app-typescript/components/Lists/ContentList.tsx +5 -1
  10. package/app-typescript/components/Modal.tsx +10 -1
  11. package/app-typescript/components/Navigation/BottomNav.tsx +9 -2
  12. package/app-typescript/components/Navigation/QuickNavBar.tsx +10 -2
  13. package/app-typescript/components/Navigation/SideBarMenu.tsx +9 -4
  14. package/app-typescript/components/SidebarMenu.tsx +8 -1
  15. package/app-typescript/components/TabList.tsx +5 -1
  16. package/app-typescript/components/TagInput.tsx +4 -1
  17. package/app-typescript/components/ThemeSelector.tsx +13 -2
  18. package/app-typescript/components/TreeMenu.tsx +127 -122
  19. package/app-typescript/components/TreeSelect/TreeSelect.tsx +157 -141
  20. package/app-typescript/components/WithPortal.tsx +49 -0
  21. package/app-typescript/components/avatar/avatar-image.tsx +2 -0
  22. package/app-typescript/components/avatar/avatar.tsx +2 -1
  23. package/dist/examples.bundle.js +1446 -1318
  24. package/dist/playgrounds/planning.html +121 -43
  25. package/dist/playgrounds/react-playgrounds/CoreLayout.tsx +398 -385
  26. package/dist/playgrounds/react-playgrounds/EditorTest.tsx +359 -365
  27. package/dist/playgrounds/react-playgrounds/FirstPlayground.tsx +33 -33
  28. package/dist/playgrounds/react-playgrounds/Multiedit.tsx +227 -231
  29. package/dist/playgrounds/react-playgrounds/PageLayoutTest.tsx +41 -38
  30. package/dist/playgrounds/react-playgrounds/PersonalProfile.tsx +76 -96
  31. package/dist/playgrounds/react-playgrounds/RundownEditor.tsx +73 -101
  32. package/dist/playgrounds/react-playgrounds/Rundowns.tsx +788 -729
  33. package/dist/playgrounds/react-playgrounds/SamsPlayground.tsx +35 -26
  34. package/dist/playgrounds/react-playgrounds/TestGround.tsx +99 -128
  35. package/dist/playgrounds/react-playgrounds/UiPlayground.tsx +40 -25
  36. package/dist/playgrounds/react-playgrounds/components/GraphicButton.tsx +6 -5
  37. package/dist/playgrounds/react-playgrounds/components/Layout.tsx +0 -2
  38. package/dist/playgrounds/react-playgrounds/components/SearchBar.tsx +16 -9
  39. package/dist/superdesk-ui.bundle.css +24 -14
  40. package/dist/superdesk-ui.bundle.js +830 -727
  41. package/dist/vendor.bundle.js +14 -14
  42. package/examples/pages/playgrounds/planning.html +121 -43
  43. package/examples/pages/playgrounds/react-playgrounds/CoreLayout.tsx +398 -385
  44. package/examples/pages/playgrounds/react-playgrounds/EditorTest.tsx +359 -365
  45. package/examples/pages/playgrounds/react-playgrounds/FirstPlayground.tsx +33 -33
  46. package/examples/pages/playgrounds/react-playgrounds/Multiedit.tsx +227 -231
  47. package/examples/pages/playgrounds/react-playgrounds/PageLayoutTest.tsx +41 -38
  48. package/examples/pages/playgrounds/react-playgrounds/PersonalProfile.tsx +76 -96
  49. package/examples/pages/playgrounds/react-playgrounds/RundownEditor.tsx +73 -101
  50. package/examples/pages/playgrounds/react-playgrounds/Rundowns.tsx +788 -729
  51. package/examples/pages/playgrounds/react-playgrounds/SamsPlayground.tsx +35 -26
  52. package/examples/pages/playgrounds/react-playgrounds/TestGround.tsx +99 -128
  53. package/examples/pages/playgrounds/react-playgrounds/UiPlayground.tsx +40 -25
  54. package/examples/pages/playgrounds/react-playgrounds/components/GraphicButton.tsx +6 -5
  55. package/examples/pages/playgrounds/react-playgrounds/components/Layout.tsx +0 -2
  56. package/examples/pages/playgrounds/react-playgrounds/components/SearchBar.tsx +16 -9
  57. package/package.json +1 -1
  58. package/react/{components → app-typescript/components}/Autocomplete.js +2 -2
  59. package/react/{components → app-typescript/components}/Badge.js +1 -1
  60. package/react/{components → app-typescript/components}/Dropdown.js +3 -1
  61. package/react/{components → app-typescript/components}/DropdownFirst.js +6 -2
  62. package/react/{components → app-typescript/components}/DurationInput.js +5 -1
  63. package/react/{components → app-typescript/components}/EmptyState.js +2 -1
  64. package/react/{components → app-typescript/components}/Lists/ContentList.js +1 -1
  65. package/react/{components → app-typescript/components}/Navigation/BottomNav.js +4 -1
  66. package/react/{components → app-typescript/components}/Navigation/QuickNavBar.js +2 -1
  67. package/react/{components → app-typescript/components}/Navigation/SideBarMenu.js +3 -1
  68. package/react/{components → app-typescript/components}/TabList.js +2 -1
  69. package/react/{components → app-typescript/components}/TagInput.js +1 -1
  70. package/react/{components → app-typescript/components}/TreeSelect/TreeSelect.d.ts +3 -2
  71. package/react/{components → app-typescript/components}/TreeSelect/TreeSelect.js +81 -73
  72. package/react/app-typescript/components/WithPortal.d.ts +14 -0
  73. package/react/app-typescript/components/WithPortal.js +69 -0
  74. package/react/{components → app-typescript/components}/avatar/avatar.js +2 -1
  75. package/react/examples/pages/playgrounds/dummy-data/items.d.ts +16 -0
  76. package/react/examples/pages/playgrounds/dummy-data/items.js +95 -0
  77. package/react/examples/pages/playgrounds/react-playgrounds/CoreLayout.d.ts +51 -0
  78. package/react/examples/pages/playgrounds/react-playgrounds/CoreLayout.js +454 -0
  79. package/react/examples/pages/playgrounds/react-playgrounds/EditorTest.d.ts +27 -0
  80. package/react/examples/pages/playgrounds/react-playgrounds/EditorTest.js +256 -0
  81. package/react/examples/pages/playgrounds/react-playgrounds/FirstPlayground.d.ts +19 -0
  82. package/react/examples/pages/playgrounds/react-playgrounds/FirstPlayground.js +160 -0
  83. package/react/examples/pages/playgrounds/react-playgrounds/Index.d.ts +11 -0
  84. package/react/examples/pages/playgrounds/react-playgrounds/Index.js +25 -0
  85. package/react/examples/pages/playgrounds/react-playgrounds/Multiedit.d.ts +36 -0
  86. package/react/examples/pages/playgrounds/react-playgrounds/Multiedit.js +200 -0
  87. package/react/examples/pages/playgrounds/react-playgrounds/PageLayoutTest.d.ts +22 -0
  88. package/react/examples/pages/playgrounds/react-playgrounds/PageLayoutTest.js +134 -0
  89. package/react/examples/pages/playgrounds/react-playgrounds/PersonalProfile.d.ts +40 -0
  90. package/react/examples/pages/playgrounds/react-playgrounds/PersonalProfile.js +350 -0
  91. package/react/examples/pages/playgrounds/react-playgrounds/RundownEditor.d.ts +32 -0
  92. package/react/examples/pages/playgrounds/react-playgrounds/RundownEditor.js +267 -0
  93. package/react/examples/pages/playgrounds/react-playgrounds/Rundowns.d.ts +39 -0
  94. package/react/examples/pages/playgrounds/react-playgrounds/Rundowns.js +558 -0
  95. package/react/examples/pages/playgrounds/react-playgrounds/SamsPlayground.d.ts +24 -0
  96. package/react/examples/pages/playgrounds/react-playgrounds/SamsPlayground.js +241 -0
  97. package/react/examples/pages/playgrounds/react-playgrounds/TestGround.d.ts +27 -0
  98. package/react/examples/pages/playgrounds/react-playgrounds/TestGround.js +508 -0
  99. package/react/examples/pages/playgrounds/react-playgrounds/UiPlayground.d.ts +24 -0
  100. package/react/examples/pages/playgrounds/react-playgrounds/UiPlayground.js +239 -0
  101. package/react/examples/pages/playgrounds/react-playgrounds/components/AuthoringContainer.d.ts +11 -0
  102. package/react/examples/pages/playgrounds/react-playgrounds/components/AuthoringContainer.js +64 -0
  103. package/react/examples/pages/playgrounds/react-playgrounds/components/ContentSplitter.d.ts +10 -0
  104. package/react/examples/pages/playgrounds/react-playgrounds/components/ContentSplitter.js +62 -0
  105. package/react/examples/pages/playgrounds/react-playgrounds/components/GraphicButton.d.ts +14 -0
  106. package/react/examples/pages/playgrounds/react-playgrounds/components/GraphicButton.js +65 -0
  107. package/react/examples/pages/playgrounds/react-playgrounds/components/GraphicButtonsGroup.d.ts +8 -0
  108. package/react/examples/pages/playgrounds/react-playgrounds/components/GraphicButtonsGroup.js +53 -0
  109. package/react/examples/pages/playgrounds/react-playgrounds/components/HeaderPanel.d.ts +8 -0
  110. package/react/examples/pages/playgrounds/react-playgrounds/components/HeaderPanel.js +53 -0
  111. package/react/examples/pages/playgrounds/react-playgrounds/components/Index.d.ts +19 -0
  112. package/react/examples/pages/playgrounds/react-playgrounds/components/Index.js +41 -0
  113. package/react/examples/pages/playgrounds/react-playgrounds/components/Layout.d.ts +8 -0
  114. package/react/examples/pages/playgrounds/react-playgrounds/components/Layout.js +40 -0
  115. package/react/examples/pages/playgrounds/react-playgrounds/components/LayoutContainer.d.ts +8 -0
  116. package/react/examples/pages/playgrounds/react-playgrounds/components/LayoutContainer.js +53 -0
  117. package/react/examples/pages/playgrounds/react-playgrounds/components/LeftPanel.d.ts +9 -0
  118. package/react/examples/pages/playgrounds/react-playgrounds/components/LeftPanel.js +53 -0
  119. package/react/examples/pages/playgrounds/react-playgrounds/components/MainPanel.d.ts +10 -0
  120. package/react/examples/pages/playgrounds/react-playgrounds/components/MainPanel.js +63 -0
  121. package/react/examples/pages/playgrounds/react-playgrounds/components/OverlayPanel.d.ts +8 -0
  122. package/react/examples/pages/playgrounds/react-playgrounds/components/OverlayPanel.js +55 -0
  123. package/react/examples/pages/playgrounds/react-playgrounds/components/Panel.d.ts +10 -0
  124. package/react/examples/pages/playgrounds/react-playgrounds/components/Panel.js +63 -0
  125. package/react/examples/pages/playgrounds/react-playgrounds/components/PanelContent.d.ts +8 -0
  126. package/react/examples/pages/playgrounds/react-playgrounds/components/PanelContent.js +53 -0
  127. package/react/examples/pages/playgrounds/react-playgrounds/components/PanelContentBlock.d.ts +11 -0
  128. package/react/examples/pages/playgrounds/react-playgrounds/components/PanelContentBlock.js +63 -0
  129. package/react/examples/pages/playgrounds/react-playgrounds/components/PanelFooter.d.ts +8 -0
  130. package/react/examples/pages/playgrounds/react-playgrounds/components/PanelFooter.js +54 -0
  131. package/react/examples/pages/playgrounds/react-playgrounds/components/PanelHeader.d.ts +12 -0
  132. package/react/examples/pages/playgrounds/react-playgrounds/components/PanelHeader.js +63 -0
  133. package/react/examples/pages/playgrounds/react-playgrounds/components/RightPanel.d.ts +9 -0
  134. package/react/examples/pages/playgrounds/react-playgrounds/components/RightPanel.js +53 -0
  135. package/react/examples/pages/playgrounds/react-playgrounds/components/SearchBar.d.ts +23 -0
  136. package/react/examples/pages/playgrounds/react-playgrounds/components/SearchBar.js +92 -0
  137. package/react/examples/pages/playgrounds/react-playgrounds/components/SidebarMenu.d.ts +20 -0
  138. package/react/examples/pages/playgrounds/react-playgrounds/components/SidebarMenu.js +83 -0
  139. package/react/examples/pages/playgrounds/react-playgrounds/components/SubNav.d.ts +9 -0
  140. package/react/examples/pages/playgrounds/react-playgrounds/components/SubNav.js +60 -0
  141. package/tsconfig.json +5 -1
  142. /package/dist/playgrounds/dummy-data/{items.js → items.ts} +0 -0
  143. /package/examples/pages/playgrounds/dummy-data/{items.js → items.ts} +0 -0
  144. /package/react/{components → app-typescript/components}/Alert.d.ts +0 -0
  145. /package/react/{components → app-typescript/components}/Alert.js +0 -0
  146. /package/react/{components → app-typescript/components}/Autocomplete.d.ts +0 -0
  147. /package/react/{components → app-typescript/components}/Badge.d.ts +0 -0
  148. /package/react/{components → app-typescript/components}/Button.d.ts +0 -0
  149. /package/react/{components → app-typescript/components}/Button.js +0 -0
  150. /package/react/{components → app-typescript/components}/ButtonGroup.d.ts +0 -0
  151. /package/react/{components → app-typescript/components}/ButtonGroup.js +0 -0
  152. /package/react/{components → app-typescript/components}/Carousel.d.ts +0 -0
  153. /package/react/{components → app-typescript/components}/Carousel.js +0 -0
  154. /package/react/{components → app-typescript/components}/CheckButtonGroup.d.ts +0 -0
  155. /package/react/{components → app-typescript/components}/CheckButtonGroup.js +0 -0
  156. /package/react/{components → app-typescript/components}/CheckGroup.d.ts +0 -0
  157. /package/react/{components → app-typescript/components}/CheckGroup.js +0 -0
  158. /package/react/{components → app-typescript/components}/Checkbox.d.ts +0 -0
  159. /package/react/{components → app-typescript/components}/Checkbox.js +0 -0
  160. /package/react/{components → app-typescript/components}/CheckboxButton.d.ts +0 -0
  161. /package/react/{components → app-typescript/components}/CheckboxButton.js +0 -0
  162. /package/react/{components → app-typescript/components}/ContentDivider.d.ts +0 -0
  163. /package/react/{components → app-typescript/components}/ContentDivider.js +0 -0
  164. /package/react/{components → app-typescript/components}/CreateButton.d.ts +0 -0
  165. /package/react/{components → app-typescript/components}/CreateButton.js +0 -0
  166. /package/react/{components → app-typescript/components}/DatePicker.d.ts +0 -0
  167. /package/react/{components → app-typescript/components}/DatePicker.js +0 -0
  168. /package/react/{components → app-typescript/components}/Divider.d.ts +0 -0
  169. /package/react/{components → app-typescript/components}/Divider.js +0 -0
  170. /package/react/{components → app-typescript/components}/DonutChart.d.ts +0 -0
  171. /package/react/{components → app-typescript/components}/DonutChart.js +0 -0
  172. /package/react/{components → app-typescript/components}/DragHandle.d.ts +0 -0
  173. /package/react/{components → app-typescript/components}/DragHandle.js +0 -0
  174. /package/react/{components → app-typescript/components}/DropZone.d.ts +0 -0
  175. /package/react/{components → app-typescript/components}/DropZone.js +0 -0
  176. /package/react/{components → app-typescript/components}/Dropdown.d.ts +0 -0
  177. /package/react/{components → app-typescript/components}/DropdownFirst.d.ts +0 -0
  178. /package/react/{components → app-typescript/components}/DurationInput.d.ts +0 -0
  179. /package/react/{components → app-typescript/components}/EmptyState.d.ts +0 -0
  180. /package/react/{components → app-typescript/components}/Form/FormGroup.d.ts +0 -0
  181. /package/react/{components → app-typescript/components}/Form/FormGroup.js +0 -0
  182. /package/react/{components → app-typescript/components}/Form/FormItem.d.ts +0 -0
  183. /package/react/{components → app-typescript/components}/Form/FormItem.js +0 -0
  184. /package/react/{components → app-typescript/components}/Form/FormLabel.d.ts +0 -0
  185. /package/react/{components → app-typescript/components}/Form/FormLabel.js +0 -0
  186. /package/react/{components → app-typescript/components}/Form/FormRow.d.ts +0 -0
  187. /package/react/{components → app-typescript/components}/Form/FormRow.js +0 -0
  188. /package/react/{components → app-typescript/components}/Form/FormRowNew.d.ts +0 -0
  189. /package/react/{components → app-typescript/components}/Form/FormRowNew.js +0 -0
  190. /package/react/{components → app-typescript/components}/Form/FormText.d.ts +0 -0
  191. /package/react/{components → app-typescript/components}/Form/FormText.js +0 -0
  192. /package/react/{components → app-typescript/components}/Form/InputBase.d.ts +0 -0
  193. /package/react/{components → app-typescript/components}/Form/InputBase.js +0 -0
  194. /package/react/{components → app-typescript/components}/Form/InputNew.d.ts +0 -0
  195. /package/react/{components → app-typescript/components}/Form/InputNew.js +0 -0
  196. /package/react/{components → app-typescript/components}/Form/InputWrapper.d.ts +0 -0
  197. /package/react/{components → app-typescript/components}/Form/InputWrapper.js +0 -0
  198. /package/react/{components → app-typescript/components}/Form/index.d.ts +0 -0
  199. /package/react/{components → app-typescript/components}/Form/index.js +0 -0
  200. /package/react/{components → app-typescript/components}/FormLabel.d.ts +0 -0
  201. /package/react/{components → app-typescript/components}/FormLabel.js +0 -0
  202. /package/react/{components → app-typescript/components}/GridItem.d.ts +0 -0
  203. /package/react/{components → app-typescript/components}/GridItem.js +0 -0
  204. /package/react/{components → app-typescript/components}/GridList.d.ts +0 -0
  205. /package/react/{components → app-typescript/components}/GridList.js +0 -0
  206. /package/react/{components → app-typescript/components}/HeadingText.d.ts +0 -0
  207. /package/react/{components → app-typescript/components}/HeadingText.js +0 -0
  208. /package/react/{components → app-typescript/components}/HelloWorld.d.ts +0 -0
  209. /package/react/{components → app-typescript/components}/HelloWorld.js +0 -0
  210. /package/react/{components → app-typescript/components}/Icon.d.ts +0 -0
  211. /package/react/{components → app-typescript/components}/Icon.js +0 -0
  212. /package/react/{components → app-typescript/components}/IconButton.d.ts +0 -0
  213. /package/react/{components → app-typescript/components}/IconButton.js +0 -0
  214. /package/react/{components → app-typescript/components}/IconLabel.d.ts +0 -0
  215. /package/react/{components → app-typescript/components}/IconLabel.js +0 -0
  216. /package/react/{components → app-typescript/components}/IconPicker.d.ts +0 -0
  217. /package/react/{components → app-typescript/components}/IconPicker.js +0 -0
  218. /package/react/{components → app-typescript/components}/Input.d.ts +0 -0
  219. /package/react/{components → app-typescript/components}/Input.js +0 -0
  220. /package/react/{components → app-typescript/components}/Label.d.ts +0 -0
  221. /package/react/{components → app-typescript/components}/Label.js +0 -0
  222. /package/react/{components → app-typescript/components}/Layouts/AuthorinInnerSideBar.d.ts +0 -0
  223. /package/react/{components → app-typescript/components}/Layouts/AuthorinInnerSideBar.js +0 -0
  224. /package/react/{components → app-typescript/components}/Layouts/AuthoringContainer.d.ts +0 -0
  225. /package/react/{components → app-typescript/components}/Layouts/AuthoringContainer.js +0 -0
  226. /package/react/{components → app-typescript/components}/Layouts/AuthoringFrame.d.ts +0 -0
  227. /package/react/{components → app-typescript/components}/Layouts/AuthoringFrame.js +0 -0
  228. /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameContainer.d.ts +0 -0
  229. /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameContainer.js +0 -0
  230. /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameLeftBar.d.ts +0 -0
  231. /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameLeftBar.js +0 -0
  232. /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameMain.d.ts +0 -0
  233. /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameMain.js +0 -0
  234. /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameNavBar.d.ts +0 -0
  235. /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameNavBar.js +0 -0
  236. /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameOverlay.d.ts +0 -0
  237. /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameOverlay.js +0 -0
  238. /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameRightBar.d.ts +0 -0
  239. /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameRightBar.js +0 -0
  240. /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameSidePanel.d.ts +0 -0
  241. /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameSidePanel.js +0 -0
  242. /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameSidePanelOverlay.d.ts +0 -0
  243. /package/react/{components → app-typescript/components}/Layouts/AuthoringFrameSidePanelOverlay.js +0 -0
  244. /package/react/{components → app-typescript/components}/Layouts/AuthoringInnerBody.d.ts +0 -0
  245. /package/react/{components → app-typescript/components}/Layouts/AuthoringInnerBody.js +0 -0
  246. /package/react/{components → app-typescript/components}/Layouts/AuthoringInnerHeader.d.ts +0 -0
  247. /package/react/{components → app-typescript/components}/Layouts/AuthoringInnerHeader.js +0 -0
  248. /package/react/{components → app-typescript/components}/Layouts/AuthoringMain.d.ts +0 -0
  249. /package/react/{components → app-typescript/components}/Layouts/AuthoringMain.js +0 -0
  250. /package/react/{components → app-typescript/components}/Layouts/AuthoringMainContainer.d.ts +0 -0
  251. /package/react/{components → app-typescript/components}/Layouts/AuthoringMainContainer.js +0 -0
  252. /package/react/{components → app-typescript/components}/Layouts/AuthoringMainContent.d.ts +0 -0
  253. /package/react/{components → app-typescript/components}/Layouts/AuthoringMainContent.js +0 -0
  254. /package/react/{components → app-typescript/components}/Layouts/AuthoringMainToolBar.d.ts +0 -0
  255. /package/react/{components → app-typescript/components}/Layouts/AuthoringMainToolBar.js +0 -0
  256. /package/react/{components → app-typescript/components}/Layouts/BottomBarAction.d.ts +0 -0
  257. /package/react/{components → app-typescript/components}/Layouts/BottomBarAction.js +0 -0
  258. /package/react/{components → app-typescript/components}/Layouts/Container.d.ts +0 -0
  259. /package/react/{components → app-typescript/components}/Layouts/Container.js +0 -0
  260. /package/react/{components → app-typescript/components}/Layouts/ContentSplitter.d.ts +0 -0
  261. /package/react/{components → app-typescript/components}/Layouts/ContentSplitter.js +0 -0
  262. /package/react/{components → app-typescript/components}/Layouts/CoreLayout.d.ts +0 -0
  263. /package/react/{components → app-typescript/components}/Layouts/CoreLayout.js +0 -0
  264. /package/react/{components → app-typescript/components}/Layouts/CoreLayoutContainer.d.ts +0 -0
  265. /package/react/{components → app-typescript/components}/Layouts/CoreLayoutContainer.js +0 -0
  266. /package/react/{components → app-typescript/components}/Layouts/CoreLayoutFooter.d.ts +0 -0
  267. /package/react/{components → app-typescript/components}/Layouts/CoreLayoutFooter.js +0 -0
  268. /package/react/{components → app-typescript/components}/Layouts/CoreLayoutMain.d.ts +0 -0
  269. /package/react/{components → app-typescript/components}/Layouts/CoreLayoutMain.js +0 -0
  270. /package/react/{components → app-typescript/components}/Layouts/CoreLayoutOverlay.d.ts +0 -0
  271. /package/react/{components → app-typescript/components}/Layouts/CoreLayoutOverlay.js +0 -0
  272. /package/react/{components → app-typescript/components}/Layouts/CoreLayoutSlideInMenu.d.ts +0 -0
  273. /package/react/{components → app-typescript/components}/Layouts/CoreLayoutSlideInMenu.js +0 -0
  274. /package/react/{components → app-typescript/components}/Layouts/CoreLayoutTopMenu.d.ts +0 -0
  275. /package/react/{components → app-typescript/components}/Layouts/CoreLayoutTopMenu.js +0 -0
  276. /package/react/{components → app-typescript/components}/Layouts/HamburgerButton.d.ts +0 -0
  277. /package/react/{components → app-typescript/components}/Layouts/HamburgerButton.js +0 -0
  278. /package/react/{components → app-typescript/components}/Layouts/HeaderPanel.d.ts +0 -0
  279. /package/react/{components → app-typescript/components}/Layouts/HeaderPanel.js +0 -0
  280. /package/react/{components → app-typescript/components}/Layouts/Layout.d.ts +0 -0
  281. /package/react/{components → app-typescript/components}/Layouts/Layout.js +0 -0
  282. /package/react/{components → app-typescript/components}/Layouts/LayoutContainer.d.ts +0 -0
  283. /package/react/{components → app-typescript/components}/Layouts/LayoutContainer.js +0 -0
  284. /package/react/{components → app-typescript/components}/Layouts/LeftPanel.d.ts +0 -0
  285. /package/react/{components → app-typescript/components}/Layouts/LeftPanel.js +0 -0
  286. /package/react/{components → app-typescript/components}/Layouts/MainMenu.d.ts +0 -0
  287. /package/react/{components → app-typescript/components}/Layouts/MainMenu.js +0 -0
  288. /package/react/{components → app-typescript/components}/Layouts/MainPanel.d.ts +0 -0
  289. /package/react/{components → app-typescript/components}/Layouts/MainPanel.js +0 -0
  290. /package/react/{components → app-typescript/components}/Layouts/NotificationPanel.d.ts +0 -0
  291. /package/react/{components → app-typescript/components}/Layouts/NotificationPanel.js +0 -0
  292. /package/react/{components → app-typescript/components}/Layouts/OverlayPanel.d.ts +0 -0
  293. /package/react/{components → app-typescript/components}/Layouts/OverlayPanel.js +0 -0
  294. /package/react/{components → app-typescript/components}/Layouts/PageLayout.d.ts +0 -0
  295. /package/react/{components → app-typescript/components}/Layouts/PageLayout.js +0 -0
  296. /package/react/{components → app-typescript/components}/Layouts/Panel.d.ts +0 -0
  297. /package/react/{components → app-typescript/components}/Layouts/Panel.js +0 -0
  298. /package/react/{components → app-typescript/components}/Layouts/RightPanel.d.ts +0 -0
  299. /package/react/{components → app-typescript/components}/Layouts/RightPanel.js +0 -0
  300. /package/react/{components → app-typescript/components}/Layouts/index.d.ts +0 -0
  301. /package/react/{components → app-typescript/components}/Layouts/index.js +0 -0
  302. /package/react/{components → app-typescript/components}/LeftMenu.d.ts +0 -0
  303. /package/react/{components → app-typescript/components}/LeftMenu.js +0 -0
  304. /package/react/{components → app-typescript/components}/ListItemLoader.d.ts +0 -0
  305. /package/react/{components → app-typescript/components}/ListItemLoader.js +0 -0
  306. /package/react/{components → app-typescript/components}/Lists/BoxedList.d.ts +0 -0
  307. /package/react/{components → app-typescript/components}/Lists/BoxedList.js +0 -0
  308. /package/react/{components → app-typescript/components}/Lists/ContentList.d.ts +0 -0
  309. /package/react/{components → app-typescript/components}/Lists/SimpleList.d.ts +0 -0
  310. /package/react/{components → app-typescript/components}/Lists/SimpleList.js +0 -0
  311. /package/react/{components → app-typescript/components}/Lists/TableList.d.ts +0 -0
  312. /package/react/{components → app-typescript/components}/Lists/TableList.js +0 -0
  313. /package/react/{components → app-typescript/components}/Lists/index.d.ts +0 -0
  314. /package/react/{components → app-typescript/components}/Lists/index.js +0 -0
  315. /package/react/{components → app-typescript/components}/Loader.d.ts +0 -0
  316. /package/react/{components → app-typescript/components}/Loader.js +0 -0
  317. /package/react/{components → app-typescript/components}/Menu.d.ts +0 -0
  318. /package/react/{components → app-typescript/components}/Menu.js +0 -0
  319. /package/react/{components → app-typescript/components}/Modal.d.ts +0 -0
  320. /package/react/{components → app-typescript/components}/Modal.js +0 -0
  321. /package/react/{components → app-typescript/components}/MultiSelect.d.ts +0 -0
  322. /package/react/{components → app-typescript/components}/MultiSelect.js +0 -0
  323. /package/react/{components → app-typescript/components}/NavButton.d.ts +0 -0
  324. /package/react/{components → app-typescript/components}/NavButton.js +0 -0
  325. /package/react/{components → app-typescript/components}/Navigation/BottomNav.d.ts +0 -0
  326. /package/react/{components → app-typescript/components}/Navigation/QuickNavBar.d.ts +0 -0
  327. /package/react/{components → app-typescript/components}/Navigation/SideBarMenu.d.ts +0 -0
  328. /package/react/{components → app-typescript/components}/Navigation/SideBarTabs.d.ts +0 -0
  329. /package/react/{components → app-typescript/components}/Navigation/SideBarTabs.js +0 -0
  330. /package/react/{components → app-typescript/components}/Navigation/index.d.ts +0 -0
  331. /package/react/{components → app-typescript/components}/Navigation/index.js +0 -0
  332. /package/react/{components → app-typescript/components}/Popover.d.ts +0 -0
  333. /package/react/{components → app-typescript/components}/Popover.js +0 -0
  334. /package/react/{components → app-typescript/components}/PropsList.d.ts +0 -0
  335. /package/react/{components → app-typescript/components}/PropsList.js +0 -0
  336. /package/react/{components → app-typescript/components}/RadioButtonGroup.d.ts +0 -0
  337. /package/react/{components → app-typescript/components}/RadioButtonGroup.js +0 -0
  338. /package/react/{components → app-typescript/components}/RadioGroup.d.ts +0 -0
  339. /package/react/{components → app-typescript/components}/RadioGroup.js +0 -0
  340. /package/react/{components → app-typescript/components}/ResizablePanels.d.ts +0 -0
  341. /package/react/{components → app-typescript/components}/ResizablePanels.js +0 -0
  342. /package/react/{components → app-typescript/components}/ResizeObserverComponent.d.ts +0 -0
  343. /package/react/{components → app-typescript/components}/ResizeObserverComponent.js +0 -0
  344. /package/react/{components → app-typescript/components}/Rotate.d.ts +0 -0
  345. /package/react/{components → app-typescript/components}/Rotate.js +0 -0
  346. /package/react/{components → app-typescript/components}/SearchBar.d.ts +0 -0
  347. /package/react/{components → app-typescript/components}/SearchBar.js +0 -0
  348. /package/react/{components → app-typescript/components}/Select.d.ts +0 -0
  349. /package/react/{components → app-typescript/components}/Select.js +0 -0
  350. /package/react/{components → app-typescript/components}/SelectGrid.d.ts +0 -0
  351. /package/react/{components → app-typescript/components}/SelectGrid.js +0 -0
  352. /package/react/{components → app-typescript/components}/SelectPreview.d.ts +0 -0
  353. /package/react/{components → app-typescript/components}/SelectPreview.js +0 -0
  354. /package/react/{components → app-typescript/components}/SelectWithTemplate.d.ts +0 -0
  355. /package/react/{components → app-typescript/components}/SelectWithTemplate.js +0 -0
  356. /package/react/{components → app-typescript/components}/ShowPopup.d.ts +0 -0
  357. /package/react/{components → app-typescript/components}/ShowPopup.js +0 -0
  358. /package/react/{components → app-typescript/components}/SingleAndDoubleClickFunction.d.ts +0 -0
  359. /package/react/{components → app-typescript/components}/SingleAndDoubleClickFunction.js +0 -0
  360. /package/react/{components → app-typescript/components}/Skeleton.d.ts +0 -0
  361. /package/react/{components → app-typescript/components}/Skeleton.js +0 -0
  362. /package/react/{components → app-typescript/components}/SlidingToolbar.d.ts +0 -0
  363. /package/react/{components → app-typescript/components}/SlidingToolbar.js +0 -0
  364. /package/react/{components → app-typescript/components}/Spacer.d.ts +0 -0
  365. /package/react/{components → app-typescript/components}/Spacer.js +0 -0
  366. /package/react/{components → app-typescript/components}/Spinner.d.ts +0 -0
  367. /package/react/{components → app-typescript/components}/Spinner.js +0 -0
  368. /package/react/{components → app-typescript/components}/StrechBar.d.ts +0 -0
  369. /package/react/{components → app-typescript/components}/StrechBar.js +0 -0
  370. /package/react/{components → app-typescript/components}/SubNav.d.ts +0 -0
  371. /package/react/{components → app-typescript/components}/SubNav.js +0 -0
  372. /package/react/{components → app-typescript/components}/Switch.d.ts +0 -0
  373. /package/react/{components → app-typescript/components}/Switch.js +0 -0
  374. /package/react/{components → app-typescript/components}/SwitchGroup.d.ts +0 -0
  375. /package/react/{components → app-typescript/components}/SwitchGroup.js +0 -0
  376. /package/react/{components → app-typescript/components}/TabCustom.d.ts +0 -0
  377. /package/react/{components → app-typescript/components}/TabCustom.js +0 -0
  378. /package/react/{components → app-typescript/components}/TabList.d.ts +0 -0
  379. /package/react/{components → app-typescript/components}/Tag.d.ts +0 -0
  380. /package/react/{components → app-typescript/components}/Tag.js +0 -0
  381. /package/react/{components → app-typescript/components}/TagInput.d.ts +0 -0
  382. /package/react/{components → app-typescript/components}/Text/Heading.d.ts +0 -0
  383. /package/react/{components → app-typescript/components}/Text/Heading.js +0 -0
  384. /package/react/{components → app-typescript/components}/Text/Text.d.ts +0 -0
  385. /package/react/{components → app-typescript/components}/Text/Text.js +0 -0
  386. /package/react/{components → app-typescript/components}/Text/Time.d.ts +0 -0
  387. /package/react/{components → app-typescript/components}/Text/Time.js +0 -0
  388. /package/react/{components → app-typescript/components}/ThemeSelector.d.ts +0 -0
  389. /package/react/{components → app-typescript/components}/ThemeSelector.js +0 -0
  390. /package/react/{components → app-typescript/components}/TimePicker.d.ts +0 -0
  391. /package/react/{components → app-typescript/components}/TimePicker.js +0 -0
  392. /package/react/{components → app-typescript/components}/Toast.d.ts +0 -0
  393. /package/react/{components → app-typescript/components}/Toast.js +0 -0
  394. /package/react/{components → app-typescript/components}/ToastMessage.d.ts +0 -0
  395. /package/react/{components → app-typescript/components}/ToastMessage.js +0 -0
  396. /package/react/{components → app-typescript/components}/ToastText.d.ts +0 -0
  397. /package/react/{components → app-typescript/components}/ToastText.js +0 -0
  398. /package/react/{components → app-typescript/components}/ToastWrapper.d.ts +0 -0
  399. /package/react/{components → app-typescript/components}/ToastWrapper.js +0 -0
  400. /package/react/{components → app-typescript/components}/Togglebox.d.ts +0 -0
  401. /package/react/{components → app-typescript/components}/Togglebox.js +0 -0
  402. /package/react/{components → app-typescript/components}/Tooltip.d.ts +0 -0
  403. /package/react/{components → app-typescript/components}/Tooltip.js +0 -0
  404. /package/react/{components → app-typescript/components}/TreeSelect/KeyboardNavigation.d.ts +0 -0
  405. /package/react/{components → app-typescript/components}/TreeSelect/KeyboardNavigation.js +0 -0
  406. /package/react/{components → app-typescript/components}/TreeSelect/TreeSelectItem.d.ts +0 -0
  407. /package/react/{components → app-typescript/components}/TreeSelect/TreeSelectItem.js +0 -0
  408. /package/react/{components → app-typescript/components}/TreeSelect/TreeSelectPill.d.ts +0 -0
  409. /package/react/{components → app-typescript/components}/TreeSelect/TreeSelectPill.js +0 -0
  410. /package/react/{components → app-typescript/components}/WithPagination.d.ts +0 -0
  411. /package/react/{components → app-typescript/components}/WithPagination.js +0 -0
  412. /package/react/{components → app-typescript/components}/WithPopover.d.ts +0 -0
  413. /package/react/{components → app-typescript/components}/WithPopover.js +0 -0
  414. /package/react/{components → app-typescript/components}/WithSizeObserver.d.ts +0 -0
  415. /package/react/{components → app-typescript/components}/WithSizeObserver.js +0 -0
  416. /package/react/{components → app-typescript/components}/_Positioner.d.ts +0 -0
  417. /package/react/{components → app-typescript/components}/_Positioner.js +0 -0
  418. /package/react/{components → app-typescript/components}/avatar/avatar-action-add.d.ts +0 -0
  419. /package/react/{components → app-typescript/components}/avatar/avatar-action-add.js +0 -0
  420. /package/react/{components → app-typescript/components}/avatar/avatar-group.d.ts +0 -0
  421. /package/react/{components → app-typescript/components}/avatar/avatar-group.js +0 -0
  422. /package/react/{components → app-typescript/components}/avatar/avatar-image.d.ts +0 -0
  423. /package/react/{components → app-typescript/components}/avatar/avatar-image.js +0 -0
  424. /package/react/{components → app-typescript/components}/avatar/avatar-number.d.ts +0 -0
  425. /package/react/{components → app-typescript/components}/avatar/avatar-number.js +0 -0
  426. /package/react/{components → app-typescript/components}/avatar/avatar-placeholder.d.ts +0 -0
  427. /package/react/{components → app-typescript/components}/avatar/avatar-placeholder.js +0 -0
  428. /package/react/{components → app-typescript/components}/avatar/avatar-text.d.ts +0 -0
  429. /package/react/{components → app-typescript/components}/avatar/avatar-text.js +0 -0
  430. /package/react/{components → app-typescript/components}/avatar/avatar-wrapper.d.ts +0 -0
  431. /package/react/{components → app-typescript/components}/avatar/avatar-wrapper.js +0 -0
  432. /package/react/{components → app-typescript/components}/avatar/avatar.d.ts +0 -0
  433. /package/react/{components → app-typescript/components}/avatar/interfaces.d.ts +0 -0
  434. /package/react/{components → app-typescript/components}/avatar/interfaces.js +0 -0
  435. /package/react/{helpers.d.ts → app-typescript/helpers.d.ts} +0 -0
  436. /package/react/{helpers.js → app-typescript/helpers.js} +0 -0
  437. /package/react/{index.d.ts → app-typescript/index.d.ts} +0 -0
  438. /package/react/{index.js → app-typescript/index.js} +0 -0
@@ -549,22 +549,34 @@ $sd-ListItem-column-border: var(--sd-colour-line--x-light);
549
549
 
550
550
  // NESTED list items
551
551
  .sd-list-item-nested {
552
- display: flex;
553
- flex-direction: column;
554
- //margin-block-start: .8rem;
552
+ --parent-item-height: 58px;
553
+ display: grid;
554
+ grid-template-rows: var(--parent-item-height) 0fr;
555
+ transition: grid-template-rows 0.3s ease-out;
556
+ & > .sd-list-item {
557
+ max-height: var(--parent-item-height);
558
+ height: var(--parent-item-height);
559
+ }
555
560
  }
556
561
 
557
562
  .sd-list-item-nested__childs {
558
563
  position: relative;
559
564
  z-index: 0;
560
- display: flex;
561
- flex-direction: column;
565
+ overflow: hidden !important;
566
+ display: grid;
567
+ grid-template-rows: 1fr;
562
568
  margin-inline-start: 1rem;
569
+ transition: all 0.3s ease-out;
563
570
 
564
571
  .sd-list-item {
565
572
  margin-block-start: 0;
566
573
  border-block-start: 1px solid var(--sd-colour-line--x-light);
567
574
  }
575
+ .sd-list-item-nested__childs-inner {
576
+ overflow: hidden;
577
+ opacity: 0;
578
+ transition: opacity 0.2s ease-out;
579
+ }
568
580
  }
569
581
 
570
582
  .sd-list-item-nested__parent {
@@ -574,19 +586,18 @@ $sd-ListItem-column-border: var(--sd-colour-line--x-light);
574
586
 
575
587
  .sd-list-item-nested--collapsed {
576
588
  .sd-list-item-nested__childs {
577
- transition: all ease-in 0.2s;
578
- max-height: 0;
579
589
  opacity: 0;
580
- margin-block-end: 0;
581
- overflow: hidden;
582
590
  }
583
591
  }
584
592
 
585
593
  .sd-list-item-nested--expanded {
594
+ grid-template-rows: var(--parent-item-height) 1fr;
586
595
  .sd-list-item-nested__childs {
587
- transition: all ease-in 0.2s;
588
- max-height: 114rem;
596
+ grid-template-rows: 1fr;
589
597
  opacity: 1;
598
+ .sd-list-item-nested__childs-inner {
599
+ opacity: 1;
600
+ }
590
601
  }
591
602
  }
592
603
 
@@ -146,9 +146,15 @@ export class Autocomplete extends React.Component<IProps, IState> {
146
146
  onChange={(event: {originalEvent: Event, value: any}) => this.handleChange(event)}
147
147
  onSelect={(event: {originalEvent: Event, value: any}) => this.handleSelect(event)} />
148
148
 
149
- {this.props.isSearchField && this.state.selectedItem ?
150
- <button className="sd-searchbar__cancel" onClick={() => this.handleInputClear()}><i className="icon-remove-sign" aria-label="remove-sign"></i></button>
151
- : null }
149
+ {this.props.isSearchField && this.state.selectedItem
150
+ ? <button
151
+ className="sd-searchbar__cancel"
152
+ onClick={() => this.handleInputClear()}
153
+ >
154
+ <i className="icon-remove-sign" aria-label="remove-sign" />
155
+ </button>
156
+ : null
157
+ }
152
158
 
153
159
  {!this.props.isSearchField ?
154
160
  <div className='sd-input__message-box'>
@@ -22,11 +22,25 @@ export class Badge extends React.PureComponent<IProps> {
22
22
  return (
23
23
  <div className='element-with-badge' data-test-id={this.props['data-test-id']}>
24
24
  {this.props.children}
25
- <span className={classes} style={{backgroundColor: this.props.hexColor}} data-test-id="badge-content">{this.props.text}</span>
25
+ <span
26
+ className={classes}
27
+ style={{backgroundColor: this.props.hexColor}}
28
+ data-test-id="badge-content"
29
+ >
30
+ {this.props.text}
31
+ </span>
26
32
  </div>
27
33
  );
28
34
  } else {
29
- return <span className={classes} style={{backgroundColor: this.props.hexColor}} data-test-id={this.props['data-test-id']}>{this.props.text}</span>;
35
+ return (
36
+ <span
37
+ className={classes}
38
+ style={{backgroundColor: this.props.hexColor}}
39
+ data-test-id={this.props['data-test-id']}
40
+ >
41
+ {this.props.text}
42
+ </span>
43
+ );
30
44
  }
31
45
  }
32
46
  }
@@ -259,7 +259,9 @@ export const Dropdown = ({
259
259
  <div ref={buttonRef} style={{ display: 'content' }}>
260
260
  {(() => {
261
261
  const attrs = {
262
- className: children.props.className ? (children.props.className + ' dropdown__toggle dropdown-toggle') : 'dropdown__toggle dropdown-toggle',
262
+ className: children.props.className
263
+ ? (children.props.className + ' dropdown__toggle dropdown-toggle')
264
+ : 'dropdown__toggle dropdown-toggle',
263
265
  'aria-haspopup': "menu",
264
266
  'aria-expanded': open,
265
267
  onClick: toggleDisplay,
@@ -125,7 +125,13 @@ export const DropdownFirst = ({
125
125
  if (headerFooter) {
126
126
  return (
127
127
  <div className={classes} >
128
- <button className={navDropdown ? 'dropdown__toggle navbtn dropdown-toggle' : 'dropdown__toggle nav-btn dropdown-toggle'} onClick={isOpen}>
128
+ <button
129
+ className={navDropdown
130
+ ? 'dropdown__toggle navbtn dropdown-toggle'
131
+ : 'dropdown__toggle nav-btn dropdown-toggle'
132
+ }
133
+ onClick={isOpen}
134
+ >
129
135
  {icon ?
130
136
  (<i className={"icon-" + icon}></i>) :
131
137
  (<React.Fragment>{name}<span className="dropdown__caret"></span></React.Fragment>)
@@ -157,7 +163,13 @@ export const DropdownFirst = ({
157
163
  } else {
158
164
  return (
159
165
  <div className={classes} >
160
- <button className={navDropdown ? 'dropdown__toggle navbtn dropdown-toggle' : 'dropdown__toggle nav-btn dropdown-toggle'} onClick={isOpen}>
166
+ <button
167
+ className={navDropdown
168
+ ? 'dropdown__toggle navbtn dropdown-toggle'
169
+ : 'dropdown__toggle nav-btn dropdown-toggle'
170
+ }
171
+ onClick={isOpen}
172
+ >
161
173
  {icon ?
162
174
  (<i className={"icon-" + icon}></i>) :
163
175
  (<React.Fragment>{name}<span className="dropdown__caret"></span></React.Fragment>)
@@ -261,7 +261,13 @@ export class DurationInput extends React.PureComponent<IProps, IState> {
261
261
  }
262
262
 
263
263
  handleFocusOnKeyUp(event: React.KeyboardEvent<HTMLInputElement>, ref: HTMLInputElement | null) {
264
- if (event.key !== 'ArrowRight' && event.key !== 'ArrowLeft' && event.key !== 'ArrowUp' && event.key !== 'ArrowDown' && event.key !== 'Backspace') {
264
+ if (
265
+ event.key !== 'ArrowRight'
266
+ && event.key !== 'ArrowLeft'
267
+ && event.key !== 'ArrowUp'
268
+ && event.key !== 'ArrowDown'
269
+ && event.key !== 'Backspace'
270
+ ) {
265
271
  if ((event.keyCode > 46 && event.keyCode < 58) || (event.keyCode > 95 && event.keyCode < 106)) {
266
272
  const target = event.target as HTMLInputElement;
267
273
  if (target.value.length >= 2) {
@@ -278,9 +284,18 @@ export class DurationInput extends React.PureComponent<IProps, IState> {
278
284
  if (this.props.preview) {
279
285
  return (
280
286
  <div className='sd-input__duration-input-preview'>
281
- <div><span className='duration-input-preview'>{this.state.hours}</span><span className='sd-input__suffix'>h</span></div>
282
- <div><span className='duration-input-preview'>{this.state.minutes}</span><span className='sd-input__suffix'>m</span></div>
283
- <div><span className='duration-input-preview'>{this.state.seconds}</span><span className='sd-input__suffix'>s</span></div>
287
+ <div>
288
+ <span className='duration-input-preview'>{this.state.hours}</span>
289
+ <span className='sd-input__suffix'>h</span>
290
+ </div>
291
+ <div>
292
+ <span className='duration-input-preview'>{this.state.minutes}</span>
293
+ <span className='sd-input__suffix'>m</span>
294
+ </div>
295
+ <div>
296
+ <span className='duration-input-preview'>{this.state.seconds}</span>
297
+ <span className='sd-input__suffix'>s</span>
298
+ </div>
284
299
  </div>
285
300
  );
286
301
  }
@@ -16,10 +16,19 @@ export class EmptyState extends React.PureComponent<IProps> {
16
16
  [`content-state__image--${this.props.size}`]: this.props.size || this.props.size !== undefined,
17
17
  });
18
18
 
19
- let image = require(`../../app/img/empty_states/empty-state--${this.props.size ? this.props.size : 'small'}-${this.props.illustration ? this.props.illustration : '1'}.svg`);
19
+ let image = require(
20
+ `../../app/img/empty_states/empty-state--${
21
+ this.props.size ? this.props.size : 'small'
22
+ }-${
23
+ this.props.illustration ? this.props.illustration : '1'
24
+ }.svg`,
25
+ );
20
26
 
21
27
  return (
22
- <div className={'content-state--empty-container' + (this.props.absolutePositioned ? ' content-state__empty-container--absolute' : '')}>
28
+ <div className={
29
+ 'content-state--empty-container'
30
+ + (this.props.absolutePositioned ? ' content-state__empty-container--absolute' : '')}
31
+ >
23
32
  <div className='content-state__empty-info'>
24
33
  <figure className={classes}>
25
34
  <img src={image} alt={this.props.illustration} />
@@ -11,7 +11,18 @@ interface IPropsPanel {
11
11
  side?: 'left' | 'right';
12
12
  theme?: 'light' | 'dark';
13
13
  className?: string;
14
- size?: 'xx-small' | 'x-small' | 'small' | 'medium' | 'large' | 'x-large' | 'xx-large' | 'xxx-large' | 'full' | 'auto' | {custom: React.CSSProperties['width']};
14
+ size?:
15
+ 'xx-small'
16
+ | 'x-small'
17
+ | 'small'
18
+ | 'medium'
19
+ | 'large'
20
+ | 'x-large'
21
+ | 'xx-large'
22
+ | 'xxx-large'
23
+ | 'full'
24
+ | 'auto'
25
+ | {custom: React.CSSProperties['width']};
15
26
  background?: 'transparent' | 'light' | 'grey'; // defaults to light (white)
16
27
  open?: boolean;
17
28
  }
@@ -66,7 +66,11 @@ class ContentListItem extends React.PureComponent<IPropsItem> {
66
66
  }
67
67
  {this.props.itemColum.map((item, index) => {
68
68
  return <div
69
- className={`sd-list-item__column ${item.fullwidth && 'sd-list-item__column--grow'} ${!item.border && 'sd-list-item__column--no-border'}`}
69
+ className={`
70
+ sd-list-item__column
71
+ ${item.fullwidth && 'sd-list-item__column--grow'}
72
+ ${!item.border && 'sd-list-item__column--no-border'}`
73
+ }
70
74
  key={index}>
71
75
  {item.itemRow.map((e, i) => {
72
76
  return (
@@ -13,7 +13,16 @@ interface IProps {
13
13
  contentBg?: 'default' | 'medium' | 'dark';
14
14
  contentPadding?: 'none' | 'small' | 'medium' | 'large';
15
15
  size?: 'small' | 'medium' | 'large' | 'x-large';
16
- position?: "center" | "top" | "bottom" | "left" | "right" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
16
+ position?:
17
+ "center"
18
+ | "top"
19
+ | "bottom"
20
+ | "left"
21
+ | "right"
22
+ | "top-left"
23
+ | "top-right"
24
+ | "bottom-left"
25
+ | "bottom-right";
17
26
  maximized?: boolean;
18
27
  maximizable?: boolean;
19
28
  headerTemplate?: JSX.Element | string;
@@ -58,8 +58,15 @@ export class BottomNav extends React.PureComponent<IProps, IState> {
58
58
  <ul className='sd-bottom-nav-list'>
59
59
  {this.props.items.map((item, index) => {
60
60
  return (
61
- <li key={index}
62
- className={'sd-bottom-nav-list__item' + (item['active'] ? ' sd-bottom-nav-list__item--active' : (index === this.state.index ? ' sd-bottom-nav-list__item--active' : ''))}>
61
+ <li
62
+ key={index}
63
+ className={
64
+ 'sd-bottom-nav-list__item'
65
+ + (item['active']
66
+ ? ' sd-bottom-nav-list__item--active'
67
+ : (index === this.state.index ? ' sd-bottom-nav-list__item--active' : ''))
68
+ }
69
+ >
63
70
  <a className='sd-bottom-nav-list__item-title' onClick={(event) => {
64
71
  this.handleClick(index);
65
72
  item.onClick(event);
@@ -76,7 +76,12 @@ export class QuickNavBar extends React.PureComponent<IProps, IState> {
76
76
  );
77
77
  } else {
78
78
  return (
79
- <li key={index} data-sd-tooltip={item['tooltip']} data-flow='right' className="sd-quickbar-menu__list-item">
79
+ <li
80
+ key={index}
81
+ data-sd-tooltip={item['tooltip']}
82
+ data-flow='right'
83
+ className="sd-quickbar-menu__list-item"
84
+ >
80
85
  <a role='button' aria-label={item['tooltip']} className={'sd-quickbar__btn'}
81
86
  onClick={() => this.handleClick(item, index, event)}>
82
87
  <Icon size={'small'} name={item['icon']} />
@@ -98,7 +103,10 @@ export class QuickNavBar extends React.PureComponent<IProps, IState> {
98
103
  <li key={index} data-sd-tooltip={item['tooltip']} data-flow='right'>
99
104
  <a role='button'
100
105
  aria-label={item['tooltip']}
101
- className={'sd-quickbar__btn' + (index === this.state.index ? ' sd-quickbar__btn--active' : '')}
106
+ className={
107
+ 'sd-quickbar__btn'
108
+ + (index === this.state.index ? ' sd-quickbar__btn--active' : '')
109
+ }
102
110
  onClick={() => this.handleClick(item, index, event)}>
103
111
  <Icon size={'small'} name={item['icon']} />
104
112
  </a>
@@ -67,9 +67,13 @@ export class SideBarMenu extends React.PureComponent<IProps, IState> {
67
67
  data-sd-tooltip={item['tooltip']}
68
68
  data-flow='right'
69
69
  className={item.hover ? 'authoring-active__item' : ''}>
70
- <a className={'sd-sidebar-menu__btn'
71
- + (this.state.hover ? ' sd-sidebar-menu__btn--closed ' : '')
72
- + (item['active'] ? ' sd-sidebar-menu__btn--active' : (index === this.state.index ? ' sd-sidebar-menu__btn--active' : ''))}
70
+ <a
71
+ className={'sd-sidebar-menu__btn'
72
+ + (this.state.hover ? ' sd-sidebar-menu__btn--closed ' : '')
73
+ + (item['active']
74
+ ? ' sd-sidebar-menu__btn--active'
75
+ : (index === this.state.index ? ' sd-sidebar-menu__btn--active' : '')
76
+ )}
73
77
  onClick={() => {
74
78
  this.handleClick(index);
75
79
  if (item.hover) {
@@ -78,7 +82,8 @@ export class SideBarMenu extends React.PureComponent<IProps, IState> {
78
82
  item.onCLick();
79
83
  }
80
84
  }
81
- }}>
85
+ }}
86
+ >
82
87
  <span className='sd-sidebar-menu__main-icon '>
83
88
  <Icon size={item['size']} name={item['icon']} />
84
89
  </span>
@@ -50,7 +50,14 @@ export class SidebarMenu extends React.PureComponent<IProps, IState> {
50
50
  } else {
51
51
  return (
52
52
  <li key={index} data-sd-tooltip={item['tooltip']} data-flow='right'>
53
- <a className={'sd-sidebar-menu__btn' + (index === this.state.closeIndex ? ' sd-sidebar-menu__btn--closed ' : '') + (item['active'] ? ' sd-sidebar-menu__btn--active' : (index === this.state.index ? ' sd-sidebar-menu__btn--active' : ''))}
53
+ <a className={
54
+ 'sd-sidebar-menu__btn'
55
+ + (index === this.state.closeIndex ? ' sd-sidebar-menu__btn--closed ' : '')
56
+ + (item['active']
57
+ ? ' sd-sidebar-menu__btn--active'
58
+ : (index === this.state.index ? ' sd-sidebar-menu__btn--active' : '')
59
+ )
60
+ }
54
61
  onClick={() => this.handleClick(index)}>
55
62
  <span className='sd-sidebar-menu__main-icon '>
56
63
  <Icon size={item['size']} name={item['icon']} />
@@ -63,7 +63,11 @@ class TabList extends React.PureComponent<ITabList, IState> {
63
63
  onClick={() => this.handleChange(index)}
64
64
  role='tab'
65
65
  aria-selected={this.state.index === index ? 'true' : 'false'}
66
- className={'sd-nav-tabs__tab' + (this.state.index === index ? ' sd-nav-tabs__tab--active' : '')}>
66
+ className={
67
+ 'sd-nav-tabs__tab'
68
+ + (this.state.index === index ? ' sd-nav-tabs__tab--active' : '')
69
+ }
70
+ >
67
71
  <span>{item.props.label}</span>
68
72
  </button>)}
69
73
  </div>
@@ -41,7 +41,10 @@ export class TagInput extends React.Component<IProps> {
41
41
  tabindex={this.props.tabindex}
42
42
  >
43
43
  <Chips
44
- className={`tags-input--multi-select sd-input__input ${this.props.disabled ? ' tags-input__padding-disabled' : ''}`}
44
+ className={`
45
+ tags-input--multi-select sd-input__input
46
+ ${this.props.disabled ? ' tags-input__padding-disabled' : ''}`
47
+ }
45
48
  allowDuplicate={false}
46
49
  separator=","
47
50
  onChange={(event) => onChange(event.value)}
@@ -40,12 +40,23 @@ export class ThemeSelector extends React.Component<IProps> {
40
40
  <div className='sd-theme-selector__item'
41
41
  key={index}
42
42
  tabIndex={-1}>
43
- <figure className="sd-theme-selector__item-thumb" data-theme={item.theme + '-ui'} aria-hidden="true">
43
+ <figure
44
+ className="sd-theme-selector__item-thumb"
45
+ data-theme={item.theme + '-ui'}
46
+ aria-hidden="true"
47
+ >
44
48
  <svg viewBox="0 0 156 94" xmlns="http://www.w3.org/2000/svg">
45
49
  <g fill="none" fillRule="evenodd">
46
50
  <path d="m0 0h156v94h-156z" fill="var(--sd-colour-panel-bg--100)" />
47
51
  <circle cx="144" cy="33" fill="var(--color-text-lighter)" r="4" />
48
- <rect fill="var(--sd-colour-interactive)" height="15" rx="2" width="58" x="91" y="71" />
52
+ <rect
53
+ fill="var(--sd-colour-interactive)"
54
+ height="15"
55
+ rx="2"
56
+ width="58"
57
+ x="91"
58
+ y="71"
59
+ />
49
60
  <g fill="var(--sd-colour-btn-bg-neutral)">
50
61
  <rect height="15" rx="2" width="58" x="29" y="52" />
51
62
  <rect height="15" rx="2" width="58" x="29" y="71" />