@mailstep/design-system 0.8.51 → 0.9.0

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 (294) hide show
  1. package/package.json +22 -6
  2. package/ui/Blocks/CommonGrid/components/ActionHead/ActionHead.js +1 -1
  3. package/ui/Blocks/CommonGrid/components/ButtonMore/ButtonMore.d.ts +0 -1
  4. package/ui/Blocks/CommonGrid/hooks/useManageColumn.d.ts +2 -2
  5. package/ui/Blocks/CommonGrid/hooks/useManageColumn.js +6 -7
  6. package/ui/Blocks/Header/components/UserMenu/index.js +1 -1
  7. package/ui/Blocks/Header/styles.js +1 -1
  8. package/ui/Elements/Avatar/Avatar.js +1 -1
  9. package/ui/Elements/Avatar/styles.js +1 -1
  10. package/ui/Elements/Button/styles.js +1 -1
  11. package/ui/Elements/DropdownMenu/components/MenuItem.js +16 -29
  12. package/ui/Elements/DropdownMenu/types.d.ts +0 -2
  13. package/ui/Modules/Dashboard/Hoc/LoadingBoundary.d.ts +8 -0
  14. package/ui/Modules/Dashboard/Hoc/LoadingBoundary.js +11 -0
  15. package/ui/Modules/Dashboard/Hoc/index.d.ts +3 -0
  16. package/ui/Modules/Dashboard/Hoc/index.js +4 -0
  17. package/ui/Modules/Dashboard/Hoc/storybook/withReduxProvider.d.ts +4 -0
  18. package/ui/Modules/Dashboard/Hoc/storybook/withReduxProvider.js +14 -0
  19. package/ui/Modules/Dashboard/Hoc/withConfig.d.ts +7 -0
  20. package/ui/Modules/Dashboard/Hoc/withConfig.js +22 -0
  21. package/ui/Modules/Dashboard/Hoc/withFetch.d.ts +26 -0
  22. package/ui/Modules/Dashboard/Hoc/withFetch.js +50 -0
  23. package/ui/Modules/Dashboard/Hoc/withProps.d.ts +4 -0
  24. package/ui/Modules/Dashboard/Hoc/withProps.js +25 -0
  25. package/ui/Modules/Dashboard/assets/BarChartPreview.png +0 -0
  26. package/ui/Modules/Dashboard/assets/ColorBoxPreview.png +0 -0
  27. package/ui/Modules/Dashboard/assets/HorizontalBarPreview.png +0 -0
  28. package/ui/Modules/Dashboard/assets/NumberBoxPreview.png +0 -0
  29. package/ui/Modules/Dashboard/assets/PieChartPreview.png +0 -0
  30. package/ui/Modules/Dashboard/assets/TablePreview.png +0 -0
  31. package/ui/Modules/Dashboard/assets/TextBoxPreview.png +0 -0
  32. package/ui/Modules/Dashboard/assets/move.svg +18 -0
  33. package/ui/Modules/Dashboard/components/Config/MultiConfig.d.ts +6 -0
  34. package/ui/Modules/Dashboard/components/Config/MultiConfig.js +51 -0
  35. package/ui/Modules/Dashboard/components/Config/components/CommonConfig.d.ts +4 -0
  36. package/ui/Modules/Dashboard/components/Config/components/CommonConfig.js +20 -0
  37. package/ui/Modules/Dashboard/components/Config/components/InputConfig.d.ts +5 -0
  38. package/ui/Modules/Dashboard/components/Config/components/InputConfig.js +104 -0
  39. package/ui/Modules/Dashboard/components/Config/types.d.ts +1 -0
  40. package/ui/Modules/Dashboard/components/Config/types.js +1 -0
  41. package/ui/Modules/Dashboard/components/Dashboard/Dashboard.d.ts +9 -0
  42. package/ui/Modules/Dashboard/components/Dashboard/Dashboard.js +16 -0
  43. package/ui/Modules/Dashboard/components/Dashboard/DashboardContainer.d.ts +4 -0
  44. package/ui/Modules/Dashboard/components/Dashboard/DashboardContainer.js +31 -0
  45. package/ui/Modules/Dashboard/components/Dashboard/components/Body.d.ts +7 -0
  46. package/ui/Modules/Dashboard/components/Dashboard/components/Body.js +7 -0
  47. package/ui/Modules/Dashboard/components/Dashboard/components/HandleChange.d.ts +6 -0
  48. package/ui/Modules/Dashboard/components/Dashboard/components/HandleChange.js +25 -0
  49. package/ui/Modules/Dashboard/components/Dashboard/components/LayoutErrorBoundary.d.ts +13 -0
  50. package/ui/Modules/Dashboard/components/Dashboard/components/LayoutErrorBoundary.js +19 -0
  51. package/ui/Modules/Dashboard/components/Dashboard/dashboard2.css +124 -0
  52. package/ui/Modules/Dashboard/components/Dashboard/index.d.ts +2 -0
  53. package/ui/Modules/Dashboard/components/Dashboard/index.js +5 -0
  54. package/ui/Modules/Dashboard/components/Header/Header.d.ts +8 -0
  55. package/ui/Modules/Dashboard/components/Header/Header.js +9 -0
  56. package/ui/Modules/Dashboard/components/Header/index.d.ts +2 -0
  57. package/ui/Modules/Dashboard/components/Header/index.js +5 -0
  58. package/ui/Modules/Dashboard/components/Layout/Layout.d.ts +18 -0
  59. package/ui/Modules/Dashboard/components/Layout/Layout.js +39 -0
  60. package/ui/Modules/Dashboard/components/Layout/LayoutContainer.d.ts +7 -0
  61. package/ui/Modules/Dashboard/components/Layout/LayoutContainer.js +40 -0
  62. package/ui/Modules/Dashboard/components/Layout/components/Item/Item.d.ts +18 -0
  63. package/ui/Modules/Dashboard/components/Layout/components/Item/Item.js +79 -0
  64. package/ui/Modules/Dashboard/components/Layout/components/Item/ItemContainer.d.ts +11 -0
  65. package/ui/Modules/Dashboard/components/Layout/components/Item/ItemContainer.js +64 -0
  66. package/ui/Modules/Dashboard/components/Layout/components/Item/WidgetErrorBoundary.d.ts +14 -0
  67. package/ui/Modules/Dashboard/components/Layout/components/Item/WidgetErrorBoundary.js +28 -0
  68. package/ui/Modules/Dashboard/components/Layout/components/Item/index.d.ts +2 -0
  69. package/ui/Modules/Dashboard/components/Layout/components/Item/index.js +5 -0
  70. package/ui/Modules/Dashboard/components/Layout/components/ItemConfig/ItemConfig.d.ts +13 -0
  71. package/ui/Modules/Dashboard/components/Layout/components/ItemConfig/ItemConfig.js +18 -0
  72. package/ui/Modules/Dashboard/components/Layout/components/ItemConfig/ItemConfigControls.d.ts +8 -0
  73. package/ui/Modules/Dashboard/components/Layout/components/ItemConfig/ItemConfigControls.js +31 -0
  74. package/ui/Modules/Dashboard/components/Layout/components/ItemConfig/index.d.ts +2 -0
  75. package/ui/Modules/Dashboard/components/Layout/components/ItemConfig/index.js +5 -0
  76. package/ui/Modules/Dashboard/components/Layout/components/ItemHeader/ItemHeader.d.ts +12 -0
  77. package/ui/Modules/Dashboard/components/Layout/components/ItemHeader/ItemHeader.js +27 -0
  78. package/ui/Modules/Dashboard/components/Layout/components/ItemHeader/index.d.ts +2 -0
  79. package/ui/Modules/Dashboard/components/Layout/components/ItemHeader/index.js +5 -0
  80. package/ui/Modules/Dashboard/components/Layout/index.d.ts +2 -0
  81. package/ui/Modules/Dashboard/components/Layout/index.js +5 -0
  82. package/ui/Modules/Dashboard/components/NoData/NoData.d.ts +2 -0
  83. package/ui/Modules/Dashboard/components/NoData/NoData.js +14 -0
  84. package/ui/Modules/Dashboard/components/NoData/index.d.ts +2 -0
  85. package/ui/Modules/Dashboard/components/NoData/index.js +5 -0
  86. package/ui/Modules/Dashboard/components/Picker/Picker.d.ts +8 -0
  87. package/ui/Modules/Dashboard/components/Picker/Picker.js +38 -0
  88. package/ui/Modules/Dashboard/components/Picker/PickerContainer.d.ts +7 -0
  89. package/ui/Modules/Dashboard/components/Picker/PickerContainer.js +38 -0
  90. package/ui/Modules/Dashboard/components/Picker/components/PickerItem.d.ts +8 -0
  91. package/ui/Modules/Dashboard/components/Picker/components/PickerItem.js +25 -0
  92. package/ui/Modules/Dashboard/components/Picker/index.d.ts +2 -0
  93. package/ui/Modules/Dashboard/components/Picker/index.js +5 -0
  94. package/ui/Modules/Dashboard/components/Text/Text.d.ts +7 -0
  95. package/ui/Modules/Dashboard/components/Text/Text.js +14 -0
  96. package/ui/Modules/Dashboard/components/Text/index.d.ts +1 -0
  97. package/ui/Modules/Dashboard/components/Text/index.js +2 -0
  98. package/ui/Modules/Dashboard/components/Widgets/BarChart/BarChart.d.ts +19 -0
  99. package/ui/Modules/Dashboard/components/Widgets/BarChart/BarChart.js +52 -0
  100. package/ui/Modules/Dashboard/components/Widgets/BarChart/Config.d.ts +1 -0
  101. package/ui/Modules/Dashboard/components/Widgets/BarChart/Config.js +5 -0
  102. package/ui/Modules/Dashboard/components/Widgets/BarChart/index.d.ts +4 -0
  103. package/ui/Modules/Dashboard/components/Widgets/BarChart/index.js +6 -0
  104. package/ui/Modules/Dashboard/components/Widgets/BarChart/styles.d.ts +12 -0
  105. package/ui/Modules/Dashboard/components/Widgets/BarChart/styles.js +39 -0
  106. package/ui/Modules/Dashboard/components/Widgets/ColorBox/ColorBox.d.ts +7 -0
  107. package/ui/Modules/Dashboard/components/Widgets/ColorBox/ColorBox.js +21 -0
  108. package/ui/Modules/Dashboard/components/Widgets/ColorBox/Config.d.ts +3 -0
  109. package/ui/Modules/Dashboard/components/Widgets/ColorBox/Config.js +23 -0
  110. package/ui/Modules/Dashboard/components/Widgets/ColorBox/index.d.ts +4 -0
  111. package/ui/Modules/Dashboard/components/Widgets/ColorBox/index.js +6 -0
  112. package/ui/Modules/Dashboard/components/Widgets/EmptyWidget/EmptyWidget.d.ts +7 -0
  113. package/ui/Modules/Dashboard/components/Widgets/EmptyWidget/EmptyWidget.js +10 -0
  114. package/ui/Modules/Dashboard/components/Widgets/EmptyWidget/index.d.ts +2 -0
  115. package/ui/Modules/Dashboard/components/Widgets/EmptyWidget/index.js +5 -0
  116. package/ui/Modules/Dashboard/components/Widgets/HorizontalBar/Config.d.ts +1 -0
  117. package/ui/Modules/Dashboard/components/Widgets/HorizontalBar/Config.js +5 -0
  118. package/ui/Modules/Dashboard/components/Widgets/HorizontalBar/HorizontalBar.d.ts +4 -0
  119. package/ui/Modules/Dashboard/components/Widgets/HorizontalBar/HorizontalBar.js +38 -0
  120. package/ui/Modules/Dashboard/components/Widgets/HorizontalBar/components/LabelsLine.d.ts +8 -0
  121. package/ui/Modules/Dashboard/components/Widgets/HorizontalBar/components/LabelsLine.js +14 -0
  122. package/ui/Modules/Dashboard/components/Widgets/HorizontalBar/components/ProgressLine.d.ts +7 -0
  123. package/ui/Modules/Dashboard/components/Widgets/HorizontalBar/components/ProgressLine.js +14 -0
  124. package/ui/Modules/Dashboard/components/Widgets/HorizontalBar/index.d.ts +4 -0
  125. package/ui/Modules/Dashboard/components/Widgets/HorizontalBar/index.js +6 -0
  126. package/ui/Modules/Dashboard/components/Widgets/HorizontalBar/storybook.sample.d.ts +2 -0
  127. package/ui/Modules/Dashboard/components/Widgets/HorizontalBar/storybook.sample.js +33 -0
  128. package/ui/Modules/Dashboard/components/Widgets/HorizontalBar/styles.d.ts +18 -0
  129. package/ui/Modules/Dashboard/components/Widgets/HorizontalBar/styles.js +58 -0
  130. package/ui/Modules/Dashboard/components/Widgets/HorizontalBar/types.d.ts +13 -0
  131. package/ui/Modules/Dashboard/components/Widgets/HorizontalBar/types.js +1 -0
  132. package/ui/Modules/Dashboard/components/Widgets/NumberBox/Config.d.ts +4 -0
  133. package/ui/Modules/Dashboard/components/Widgets/NumberBox/Config.js +38 -0
  134. package/ui/Modules/Dashboard/components/Widgets/NumberBox/NumberBox.d.ts +5 -0
  135. package/ui/Modules/Dashboard/components/Widgets/NumberBox/NumberBox.js +38 -0
  136. package/ui/Modules/Dashboard/components/Widgets/NumberBox/index.d.ts +4 -0
  137. package/ui/Modules/Dashboard/components/Widgets/NumberBox/index.js +6 -0
  138. package/ui/Modules/Dashboard/components/Widgets/NumberBox/styles.d.ts +4 -0
  139. package/ui/Modules/Dashboard/components/Widgets/NumberBox/styles.js +25 -0
  140. package/ui/Modules/Dashboard/components/Widgets/PieChart/Config.d.ts +1 -0
  141. package/ui/Modules/Dashboard/components/Widgets/PieChart/Config.js +5 -0
  142. package/ui/Modules/Dashboard/components/Widgets/PieChart/PieChart.d.ts +21 -0
  143. package/ui/Modules/Dashboard/components/Widgets/PieChart/PieChart.js +59 -0
  144. package/ui/Modules/Dashboard/components/Widgets/PieChart/components/CenteredMetric.d.ts +10 -0
  145. package/ui/Modules/Dashboard/components/Widgets/PieChart/components/CenteredMetric.js +24 -0
  146. package/ui/Modules/Dashboard/components/Widgets/PieChart/index.d.ts +4 -0
  147. package/ui/Modules/Dashboard/components/Widgets/PieChart/index.js +6 -0
  148. package/ui/Modules/Dashboard/components/Widgets/PieChart/styles.d.ts +14 -0
  149. package/ui/Modules/Dashboard/components/Widgets/PieChart/styles.js +47 -0
  150. package/ui/Modules/Dashboard/components/Widgets/Table/Config.d.ts +9 -0
  151. package/ui/Modules/Dashboard/components/Widgets/Table/Config.js +87 -0
  152. package/ui/Modules/Dashboard/components/Widgets/Table/Table.d.ts +4 -0
  153. package/ui/Modules/Dashboard/components/Widgets/Table/Table.js +93 -0
  154. package/ui/Modules/Dashboard/components/Widgets/Table/components/IconLabelCell.d.ts +8 -0
  155. package/ui/Modules/Dashboard/components/Widgets/Table/components/IconLabelCell.js +19 -0
  156. package/ui/Modules/Dashboard/components/Widgets/Table/components/PaginatorList.d.ts +9 -0
  157. package/ui/Modules/Dashboard/components/Widgets/Table/components/PaginatorList.js +31 -0
  158. package/ui/Modules/Dashboard/components/Widgets/Table/components/PaginatorLocation.d.ts +8 -0
  159. package/ui/Modules/Dashboard/components/Widgets/Table/components/PaginatorLocation.js +15 -0
  160. package/ui/Modules/Dashboard/components/Widgets/Table/components/TableCell.d.ts +6 -0
  161. package/ui/Modules/Dashboard/components/Widgets/Table/components/TableCell.js +33 -0
  162. package/ui/Modules/Dashboard/components/Widgets/Table/hooks/useCondition.d.ts +10 -0
  163. package/ui/Modules/Dashboard/components/Widgets/Table/hooks/useCondition.js +27 -0
  164. package/ui/Modules/Dashboard/components/Widgets/Table/hooks/usePages.d.ts +17 -0
  165. package/ui/Modules/Dashboard/components/Widgets/Table/hooks/usePages.js +27 -0
  166. package/ui/Modules/Dashboard/components/Widgets/Table/hooks/useSort.d.ts +10 -0
  167. package/ui/Modules/Dashboard/components/Widgets/Table/hooks/useSort.js +31 -0
  168. package/ui/Modules/Dashboard/components/Widgets/Table/index.d.ts +5 -0
  169. package/ui/Modules/Dashboard/components/Widgets/Table/index.js +7 -0
  170. package/ui/Modules/Dashboard/components/Widgets/Table/storybook.sample.d.ts +73 -0
  171. package/ui/Modules/Dashboard/components/Widgets/Table/storybook.sample.js +211 -0
  172. package/ui/Modules/Dashboard/components/Widgets/Table/styles.d.ts +23 -0
  173. package/ui/Modules/Dashboard/components/Widgets/Table/styles.js +69 -0
  174. package/ui/Modules/Dashboard/components/Widgets/Table/types.d.ts +52 -0
  175. package/ui/Modules/Dashboard/components/Widgets/Table/types.js +1 -0
  176. package/ui/Modules/Dashboard/components/Widgets/TextBox/TextBox.d.ts +10 -0
  177. package/ui/Modules/Dashboard/components/Widgets/TextBox/TextBox.js +12 -0
  178. package/ui/Modules/Dashboard/components/Widgets/TextBox/index.d.ts +3 -0
  179. package/ui/Modules/Dashboard/components/Widgets/TextBox/index.js +5 -0
  180. package/ui/Modules/Dashboard/components/Widgets/index.d.ts +11 -0
  181. package/ui/Modules/Dashboard/components/Widgets/index.js +108 -0
  182. package/ui/Modules/Dashboard/components/Widgets/utils/generic.d.ts +5 -0
  183. package/ui/Modules/Dashboard/components/Widgets/utils/generic.js +20 -0
  184. package/ui/Modules/Dashboard/components/Widgets/utils/helpers.d.ts +3 -0
  185. package/ui/Modules/Dashboard/components/Widgets/utils/helpers.js +25 -0
  186. package/ui/Modules/Dashboard/components/Widgets/utils/legends.d.ts +20 -0
  187. package/ui/Modules/Dashboard/components/Widgets/utils/legends.js +57 -0
  188. package/ui/Modules/Dashboard/context/ComponentContext.d.ts +5 -0
  189. package/ui/Modules/Dashboard/context/ComponentContext.js +15 -0
  190. package/ui/Modules/Dashboard/context/LangContext.d.ts +3 -0
  191. package/ui/Modules/Dashboard/context/LangContext.js +5 -0
  192. package/ui/Modules/Dashboard/errors/ErrorMessage.d.ts +7 -0
  193. package/ui/Modules/Dashboard/errors/ErrorMessage.js +12 -0
  194. package/ui/Modules/Dashboard/errors/WidgetError.d.ts +5 -0
  195. package/ui/Modules/Dashboard/errors/WidgetError.js +10 -0
  196. package/ui/Modules/Dashboard/hooks/usePrevious.d.ts +5 -0
  197. package/ui/Modules/Dashboard/hooks/usePrevious.js +14 -0
  198. package/ui/Modules/Dashboard/hooks/useRefWithCallback.d.ts +2 -0
  199. package/ui/Modules/Dashboard/hooks/useRefWithCallback.js +16 -0
  200. package/ui/Modules/Dashboard/hooks/useResize.d.ts +6 -0
  201. package/ui/Modules/Dashboard/hooks/useResize.js +19 -0
  202. package/ui/Modules/Dashboard/index.d.ts +7 -0
  203. package/ui/Modules/Dashboard/index.js +12 -0
  204. package/ui/Modules/Dashboard/locale/cs.d.ts +24 -0
  205. package/ui/Modules/Dashboard/locale/cs.js +26 -0
  206. package/ui/Modules/Dashboard/locale/en.d.ts +24 -0
  207. package/ui/Modules/Dashboard/locale/en.js +26 -0
  208. package/ui/Modules/Dashboard/locale/index.d.ts +4 -0
  209. package/ui/Modules/Dashboard/locale/index.js +13 -0
  210. package/ui/Modules/Dashboard/locale/it.d.ts +24 -0
  211. package/ui/Modules/Dashboard/locale/it.js +26 -0
  212. package/ui/Modules/Dashboard/locale/uk.d.ts +24 -0
  213. package/ui/Modules/Dashboard/locale/uk.js +26 -0
  214. package/ui/Modules/Dashboard/store/reducers/index.d.ts +9 -0
  215. package/ui/Modules/Dashboard/store/reducers/index.js +6 -0
  216. package/ui/Modules/Dashboard/store/reducers/widgetListReducer.d.ts +41 -0
  217. package/ui/Modules/Dashboard/store/reducers/widgetListReducer.js +76 -0
  218. package/ui/Modules/Dashboard/stories/storybook.sample.d.ts +50 -0
  219. package/ui/Modules/Dashboard/stories/storybook.sample.js +237 -0
  220. package/ui/Modules/Dashboard/styles.d.ts +63 -0
  221. package/ui/Modules/Dashboard/styles.js +358 -0
  222. package/ui/Modules/Dashboard/types.d.ts +185 -0
  223. package/ui/Modules/Dashboard/types.js +1 -0
  224. package/ui/Modules/index.d.ts +1 -0
  225. package/ui/Modules/index.js +8 -0
  226. package/ui/ThemeProvider/themes/index.d.ts +224 -0
  227. package/ui/ThemeProvider/themes/index.js +3 -1
  228. package/ui/ThemeProvider/themes/mailwiseDark.d.ts +225 -0
  229. package/ui/ThemeProvider/themes/mailwiseDark.js +16 -0
  230. package/ui/ThemeProvider/types.d.ts +1 -1
  231. package/ui/Blocks/CommonGrid/storybook/stories/complexWithPaginationAndRedux.stories.d.ts +0 -41
  232. package/ui/Blocks/CommonGrid/storybook/stories/default.stories.d.ts +0 -6
  233. package/ui/Blocks/CommonGrid/storybook/stories/gridStates.stories.d.ts +0 -8
  234. package/ui/Blocks/CommonGrid/storybook/stories/manyColumnsNoScrollLayout.stories.d.ts +0 -10
  235. package/ui/Blocks/CommonGrid/storybook/stories/manyColumnsNormalLayout.stories.d.ts +0 -10
  236. package/ui/Blocks/CommonGrid/storybook/stories/styledCommonGrid.stories.d.ts +0 -6
  237. package/ui/Blocks/CommonGrid/storybook/stories/withCustomGridActions.stories.d.ts +0 -10
  238. package/ui/Blocks/CommonGrid/storybook/stories/withForcedCheckboxes.stories.d.ts +0 -14
  239. package/ui/Blocks/CommonGrid/storybook/stories/withQuickFilter.stories.d.ts +0 -11
  240. package/ui/Blocks/CornerDialog/stories/CornerDialog.stories.d.ts +0 -13
  241. package/ui/Blocks/Header/stories/Header.stories.d.ts +0 -52
  242. package/ui/Blocks/HidePrint/stories/HidePrint.stories.d.ts +0 -12
  243. package/ui/Blocks/ImageList/stories/ImageList.stories.d.ts +0 -14
  244. package/ui/Blocks/LanguageSwitch/stories/LanguageSwith.stories.d.ts +0 -10
  245. package/ui/Blocks/LightBox/stories/LightBox.stories.d.ts +0 -10
  246. package/ui/Blocks/LoginPage/stories/LoginPage.stories.d.ts +0 -10
  247. package/ui/Blocks/Modal/stories/Modal.stories.d.ts +0 -28
  248. package/ui/Blocks/Popover/stories/Popover.stories.d.ts +0 -16
  249. package/ui/Blocks/Scheduler/stories/Scheduler.stories.d.ts +0 -7
  250. package/ui/Blocks/SideMenu/stories/SideMenu.stories.d.ts +0 -11
  251. package/ui/Blocks/Stepper/stories/Stepper.stories.d.ts +0 -9
  252. package/ui/Blocks/Table/stories/Table.stories.d.ts +0 -12
  253. package/ui/Blocks/Tabs/stories/Tabs.stories.d.ts +0 -12
  254. package/ui/Elements/Alert/stories/Alert.stories.d.ts +0 -17
  255. package/ui/Elements/AsyncSelect/stories/AsyncSelect.stories.d.ts +0 -10
  256. package/ui/Elements/Avatar/stories/Avatar.stories.d.ts +0 -11
  257. package/ui/Elements/Badge/stories/Badge.stories.d.ts +0 -12
  258. package/ui/Elements/BarChartSymbol/stories/BarChartSymbol.stories.d.ts +0 -12
  259. package/ui/Elements/BorderedBox/stories/BorderedBox.stories.d.ts +0 -10
  260. package/ui/Elements/Button/stories/Button.stories.d.ts +0 -28
  261. package/ui/Elements/Card/stories/Card.stories.d.ts +0 -13
  262. package/ui/Elements/CheckedCircle/storries/CheckedCircle.stories.d.ts +0 -16
  263. package/ui/Elements/DatePicker/stories/DatePicker.stories.d.ts +0 -11
  264. package/ui/Elements/Dropdown/stories/Dropdown.stories.d.ts +0 -10
  265. package/ui/Elements/DropdownMenu/stories/DropdownMenu.stories.d.ts +0 -10
  266. package/ui/Elements/DropdownSelect/stories/DropdownSelect.stories.d.ts +0 -22
  267. package/ui/Elements/ErrorMessage/stories/ErrorMessage.stories.d.ts +0 -11
  268. package/ui/Elements/HighlightBox/stories/HighlightBox.stories.d.ts +0 -31
  269. package/ui/Elements/Icon/stories/BadgeIcon.stories.d.ts +0 -28
  270. package/ui/Elements/Icon/stories/Icon.stories.d.ts +0 -15
  271. package/ui/Elements/Image/stories/Image.stories.d.ts +0 -13
  272. package/ui/Elements/Label/stories/Label.stories.d.ts +0 -13
  273. package/ui/Elements/Line/stories/Line.stories.d.ts +0 -16
  274. package/ui/Elements/Link/stories/Link.stories.d.ts +0 -30
  275. package/ui/Elements/Logo/stories/Logo.stories.d.ts +0 -37
  276. package/ui/Elements/Pagination/stories/Pagination.stories.d.ts +0 -13
  277. package/ui/Elements/Portal/stories/Portal.stories.d.ts +0 -11
  278. package/ui/Elements/ProgressBar/stories/ProgressBar.stories.d.ts +0 -18
  279. package/ui/Elements/Select/stories/Select.stories.d.ts +0 -9
  280. package/ui/Elements/SimpleLink/stories/SimpleLink.stories.d.ts +0 -13
  281. package/ui/Elements/SingleSelect/stories/SingleSelect.stories.d.ts +0 -10
  282. package/ui/Elements/SpaceAround/stories/SpaceAround.stories.d.ts +0 -11
  283. package/ui/Elements/Spinner/stories/Spinner.stories.d.ts +0 -19
  284. package/ui/Elements/Table/stories/Table.stories.d.ts +0 -8
  285. package/ui/Elements/Tag/stories/Tag.stories.d.ts +0 -19
  286. package/ui/Elements/Text/stories/Text.stories.d.ts +0 -15
  287. package/ui/Elements/Toast/stories/Toast.stories.d.ts +0 -13
  288. package/ui/Elements/Toggle/stories/Toggle.stories.d.ts +0 -16
  289. package/ui/Elements/Tooltip/stories/Tooltip.stories.d.ts +0 -10
  290. package/ui/Elements/Typography/stories/Typography.stories.d.ts +0 -20
  291. package/ui/Forms/Checkbox/stories/Checkbox.stories.d.ts +0 -13
  292. package/ui/Forms/Input/stories/Input.stories.d.ts +0 -18
  293. package/ui/Forms/RadioButton/stories/RadioButton.stories.d.ts +0 -13
  294. package/ui/utils/KeyPress/KeyPress.stories.d.ts +0 -10
@@ -0,0 +1,237 @@
1
+ import { tableBigData, tableColumns } from "../components/Widgets/Table/storybook.sample.js";
2
+ import { horizontalBarData } from "../components/Widgets/HorizontalBar/storybook.sample.js";
3
+ import { jsx } from "react/jsx-runtime";
4
+ import MoveSvg from "../assets/move.svg";
5
+ const initialWidgets = [
6
+ {
7
+ id: "1",
8
+ code: "horizontalBar",
9
+ layout: {
10
+ i: "1",
11
+ x: 0,
12
+ y: 0,
13
+ h: 2,
14
+ w: 5
15
+ },
16
+ config: { source: "source0" }
17
+ },
18
+ {
19
+ id: "2",
20
+ code: "chart",
21
+ config: {},
22
+ layout: {
23
+ i: "2",
24
+ x: 5,
25
+ y: 0,
26
+ h: 4,
27
+ w: 7,
28
+ minH: 4,
29
+ minW: 6
30
+ }
31
+ },
32
+ {
33
+ id: "3",
34
+ code: "table",
35
+ config: { conditions: [
36
+ {
37
+ comparator: "<",
38
+ column: "views",
39
+ value: 50,
40
+ color: "#FDC9C9"
41
+ },
42
+ {
43
+ comparator: "=",
44
+ column: "views",
45
+ value: 7,
46
+ color: "#81efb8"
47
+ },
48
+ {
49
+ comparator: ">",
50
+ column: "views",
51
+ value: 100,
52
+ color: "#C9C9FD"
53
+ },
54
+ {
55
+ comparator: ">",
56
+ column: "revenue",
57
+ value: 400,
58
+ color: "#e8a738"
59
+ },
60
+ {
61
+ comparator: ">",
62
+ column: "sales",
63
+ value: 50,
64
+ color: "#60ceba"
65
+ },
66
+ {
67
+ comparator: "<",
68
+ column: "sales",
69
+ value: 40,
70
+ color: "#FDC9C9"
71
+ },
72
+ {
73
+ comparator: "=",
74
+ column: "category",
75
+ value: "Coffee",
76
+ color: "#eee"
77
+ }
78
+ ] },
79
+ layout: {
80
+ i: "3",
81
+ x: 0,
82
+ y: 6,
83
+ h: 5,
84
+ w: 12
85
+ }
86
+ },
87
+ {
88
+ id: "4",
89
+ code: "number",
90
+ layout: {
91
+ i: "4",
92
+ x: 7,
93
+ y: 4,
94
+ h: 2,
95
+ w: 2
96
+ },
97
+ config: {
98
+ sourceLabel: "In progress",
99
+ unit: "ks"
100
+ }
101
+ },
102
+ {
103
+ id: "5",
104
+ code: "custom1",
105
+ layout: {
106
+ i: "5",
107
+ x: 5,
108
+ y: 4,
109
+ h: 2,
110
+ w: 2
111
+ },
112
+ config: {}
113
+ },
114
+ {
115
+ id: "6",
116
+ code: "bar-chart",
117
+ config: {},
118
+ layout: {
119
+ i: "6",
120
+ x: 0,
121
+ y: 10,
122
+ h: 4,
123
+ w: 7
124
+ }
125
+ }
126
+ ];
127
+ const withDropdownConfig = (definition) => ({
128
+ ...definition,
129
+ isWidgetConfigInDropdown: true
130
+ });
131
+ /**
132
+ * You can define your own widget here
133
+ */
134
+ const customWidgets = [{
135
+ name: "Project custom widget",
136
+ code: "custom1",
137
+ description: "This widget is for current project only and you will not find it in ohter dashboards.",
138
+ preview: "https://i.giphy.com/media/3o7TKOo9pQ3YUIjF2U/giphy.gif",
139
+ component: ({ innerRef }) => /* @__PURE__ */ jsx("div", {
140
+ ref: innerRef,
141
+ children: /* @__PURE__ */ jsx("img", {
142
+ src: "https://i.giphy.com/media/3o7TKOo9pQ3YUIjF2U/giphy.gif",
143
+ alt: "wow",
144
+ width: "100%"
145
+ })
146
+ }),
147
+ isStatic: true,
148
+ minWidth: 1,
149
+ maxWidth: 12,
150
+ minHeight: 1,
151
+ maxHeight: 12,
152
+ initWidth: 3,
153
+ initHeight: 3,
154
+ icon: /* @__PURE__ */ jsx("img", {
155
+ src: MoveSvg,
156
+ height: 14,
157
+ alt: "move-icon"
158
+ })
159
+ }];
160
+ /**
161
+ * You can define data for pie chart here
162
+ */
163
+ const dataForPieChart = {
164
+ source1: [
165
+ {
166
+ id: "Doručené ",
167
+ label: "Doručené",
168
+ value: 206
169
+ },
170
+ {
171
+ id: "Vracené",
172
+ label: "Vracené",
173
+ value: 377
174
+ },
175
+ {
176
+ id: "Rozbité",
177
+ label: "Rozbité",
178
+ value: 20
179
+ },
180
+ {
181
+ id: "Spálené",
182
+ label: "Spálené",
183
+ value: 100
184
+ }
185
+ ],
186
+ source2: [
187
+ {
188
+ id: "Doručené",
189
+ label: "Doručené",
190
+ value: 6
191
+ },
192
+ {
193
+ id: "Vracené",
194
+ label: "Vracené",
195
+ value: 150
196
+ },
197
+ {
198
+ id: "Rozbité",
199
+ label: "Rozbité",
200
+ value: 20
201
+ },
202
+ {
203
+ id: "Spálené",
204
+ label: "Spálené",
205
+ value: 100
206
+ }
207
+ ]
208
+ };
209
+ const pieChartTexts = {
210
+ title: "Earnings",
211
+ subtitle: "This Month",
212
+ description: "$4055.56",
213
+ text: "68.2% more earning than last month."
214
+ };
215
+ const barChartTexts = pieChartTexts;
216
+ /**
217
+ * You can define data for number box widget here
218
+ */
219
+ const dataForNumberBox = {
220
+ source0: 95,
221
+ source1: 950,
222
+ source2: 45950,
223
+ source3: 879950
224
+ };
225
+ const onChange = (state) => console.log("Dashboard: onChange", state);
226
+ const fetchDataForPieChart = (config) => new Promise((resolve) => {
227
+ setTimeout(() => resolve(config?.source ? dataForPieChart[config.source] : dataForPieChart.source1), 1500);
228
+ });
229
+ const fetchDataForNumberBox = (config) => new Promise((resolve) => {
230
+ setTimeout(() => resolve(config?.source ? dataForNumberBox[config.source] : dataForNumberBox.source1), 500);
231
+ });
232
+ const fetchDataForBarChart = fetchDataForPieChart;
233
+ const fetchDataForTable = () => new Promise((resolve) => {
234
+ setTimeout(() => resolve(tableBigData), 500);
235
+ });
236
+ //#endregion
237
+ export { barChartTexts, customWidgets, dataForNumberBox, dataForPieChart, fetchDataForBarChart, fetchDataForNumberBox, fetchDataForPieChart, fetchDataForTable, horizontalBarData, initialWidgets, onChange, pieChartTexts, tableColumns, withDropdownConfig };
@@ -0,0 +1,63 @@
1
+ declare const _default: {
2
+ Wrapper: import("styled-components").StyledComponent<"div", import("@xstyled/styled-components").Theme, {}, never>;
3
+ Body: import("styled-components").StyledComponent<"div", import("@xstyled/styled-components").Theme, {}, never>;
4
+ Header: import("styled-components").StyledComponent<"div", import("@xstyled/styled-components").Theme, {}, never>;
5
+ PickerWrapper: import("styled-components").StyledComponent<"div", import("@xstyled/styled-components").Theme, {}, never>;
6
+ Picker: import("styled-components").StyledComponent<"div", import("@xstyled/styled-components").Theme, {}, never>;
7
+ PickerBody: import("styled-components").StyledComponent<"div", import("@xstyled/styled-components").Theme, {}, never>;
8
+ PickerHeader: import("styled-components").StyledComponent<"div", import("@xstyled/styled-components").Theme, {}, never>;
9
+ PickerItem: import("styled-components").StyledComponent<"div", import("@xstyled/styled-components").Theme, {}, never>;
10
+ PickerClose: import("styled-components").StyledComponent<"div", import("@xstyled/styled-components").Theme, {}, never>;
11
+ LayoutItem: import("styled-components").StyledComponent<"div", import("@xstyled/styled-components").Theme, {
12
+ isConfigOpen: boolean;
13
+ }, never>;
14
+ LayoutItemAdd: import("styled-components").StyledComponent<"span", import("@xstyled/styled-components").Theme, {}, never>;
15
+ Nowidget: import("styled-components").StyledComponent<"div", import("@xstyled/styled-components").Theme, {}, never>;
16
+ WidgetConfigInDropdown: import("styled-components").StyledComponent<"div", import("@xstyled/styled-components").Theme, {}, never>;
17
+ WidgetConfig: import("styled-components").StyledComponent<"div", import("@xstyled/styled-components").Theme, {
18
+ isConfigOpen: boolean;
19
+ inDropdown: boolean;
20
+ }, never>;
21
+ WidgetVisibility: import("styled-components").StyledComponent<"div", import("@xstyled/styled-components").Theme, {
22
+ isVisible: boolean;
23
+ }, never>;
24
+ WidgetConfigButtons: import("styled-components").StyledComponent<"div", import("@xstyled/styled-components").Theme, {}, never>;
25
+ WidgetError: import("styled-components").StyledComponent<"div", import("@xstyled/styled-components").Theme, {}, never>;
26
+ WidgetErrorMessage: import("styled-components").StyledComponent<"p", import("@xstyled/styled-components").Theme, {}, never>;
27
+ WidgetErrorTitle: import("styled-components").StyledComponent<"h2", import("@xstyled/styled-components").Theme, {}, never>;
28
+ LayoutError: import("styled-components").StyledComponent<"div", import("@xstyled/styled-components").Theme, {}, never>;
29
+ LayoutErrorMessage: import("styled-components").StyledComponent<"p", import("@xstyled/styled-components").Theme, {}, never>;
30
+ LayoutErrorTitle: import("styled-components").StyledComponent<"h2", import("@xstyled/styled-components").Theme, {}, never>;
31
+ ItemWrapper: import("styled-components").StyledComponent<"div", import("@xstyled/styled-components").Theme, {}, never>;
32
+ ItemMoveWrapper: import("styled-components").StyledComponent<"div", import("@xstyled/styled-components").Theme, {}, never>;
33
+ ItemPanelButton: import("styled-components").StyledComponent<"div", import("@xstyled/styled-components").Theme, {}, never>;
34
+ ItemBodyWrapper: import("styled-components").StyledComponent<"div", import("@xstyled/styled-components").Theme, {
35
+ isConfigOpen: boolean;
36
+ }, never>;
37
+ ItemBody: import("styled-components").StyledComponent<"div", import("@xstyled/styled-components").Theme, {
38
+ isConfigOpen: boolean;
39
+ inDropdown: boolean;
40
+ isFullHeight: boolean;
41
+ }, never>;
42
+ ItemName: import("styled-components").StyledComponent<"div", import("@xstyled/styled-components").Theme, {}, never>;
43
+ ItemContent: import("styled-components").StyledComponent<"div", import("@xstyled/styled-components").Theme, {}, never>;
44
+ ConfigRow: import("styled-components").StyledComponent<"div", import("@xstyled/styled-components").Theme, {
45
+ isBlock?: boolean;
46
+ }, never>;
47
+ ConfigLabel: import("styled-components").StyledComponent<"div", import("@xstyled/styled-components").Theme, {}, never>;
48
+ ConfigInput: import("styled-components").StyledComponent<"div", import("@xstyled/styled-components").Theme, {}, never>;
49
+ Select: import("styled-components").StyledComponent<"select", import("@xstyled/styled-components").Theme, {
50
+ width?: string;
51
+ mr?: string;
52
+ }, never>;
53
+ CheckboxContent: import("styled-components").StyledComponent<"div", import("@xstyled/styled-components").Theme, {}, never>;
54
+ CheckboxControls: import("styled-components").StyledComponent<"div", import("@xstyled/styled-components").Theme, {}, never>;
55
+ Input: import("styled-components").StyledComponent<"input", import("@xstyled/styled-components").Theme, {
56
+ width?: string;
57
+ }, never>;
58
+ NoData: import("styled-components").StyledComponent<"div", import("@xstyled/styled-components").Theme, {}, never>;
59
+ HideWidget: import("styled-components").StyledComponent<"div", import("@xstyled/styled-components").Theme, {
60
+ isHidden: boolean;
61
+ }, never>;
62
+ };
63
+ export default _default;
@@ -0,0 +1,358 @@
1
+ import styled$1 from "@xstyled/styled-components";
2
+ //#region packages/ui/Modules/Dashboard/styles.ts
3
+ const ItemMoveWrapper = styled$1.div`
4
+ position: absolute;
5
+ top: 5px;
6
+ right: 35px;
7
+ padding: 10px 15px;
8
+ z-index: 2;
9
+ display: none;
10
+
11
+ :hover {
12
+ cursor: move;
13
+ opacity: 1;
14
+ }
15
+
16
+ img {
17
+ height: 15px;
18
+ width: 15px;
19
+ }
20
+ `;
21
+ var styles_default = {
22
+ Wrapper: styled$1.div`
23
+ background-color: transparent;
24
+ padding: 0 5px;
25
+ color: typoPrimary;
26
+
27
+ * {
28
+ box-sizing: border-box;
29
+ }
30
+
31
+ @media (min-width: 576px) {
32
+ & > div {
33
+ padding: 0 20px 20px;
34
+ }
35
+ }
36
+ `,
37
+ Body: styled$1.div`
38
+ min-height: 200px;
39
+ position: relative;
40
+ `,
41
+ Header: styled$1.div`
42
+ height: 70px;
43
+ justify-content: space-between;
44
+ display: flex;
45
+ align-items: center;
46
+
47
+ & > h1 {
48
+ margin: 0;
49
+ }
50
+ `,
51
+ PickerWrapper: styled$1.div`
52
+ position: fixed;
53
+ z-index: 9999;
54
+ left: 0;
55
+ top: 0;
56
+ width: 100%;
57
+ height: 100%;
58
+ background: #172b4d73;
59
+ `,
60
+ Picker: styled$1.div`
61
+ background-color: white;
62
+ width: 750px;
63
+ height: calc(100vh - 314px);
64
+ overflow: hidden;
65
+ position: fixed;
66
+ right: 0;
67
+ top: 0;
68
+ bottom: 0;
69
+ left: 0;
70
+ margin: auto;
71
+ border-radius: 3px;
72
+ box-shadow: 0 8px 16px -4px #091e4240, 0 0 1px #fff;
73
+ `,
74
+ PickerBody: styled$1.div`
75
+ overflow-y: auto;
76
+ height: calc(100% - 65px);
77
+ color: #333;
78
+ `,
79
+ PickerHeader: styled$1.div`
80
+ height: 65px;
81
+ display: flex;
82
+ align-items: center;
83
+ justify-content: space-between;
84
+ font-size: 24px;
85
+ padding: 20px;
86
+ border-bottom: 2px solid #ebecf0;
87
+ `,
88
+ PickerItem: styled$1.div`
89
+ min-height: 50px;
90
+ padding: 20px 0;
91
+ margin: 0 20px;
92
+ border-bottom: 1px solid #ccc;
93
+ display: flex;
94
+ justify-content: space-between;
95
+ align-items: center;
96
+
97
+ & > img {
98
+ margin-right: 30px;
99
+ }
100
+
101
+ & > div {
102
+ width: 70%;
103
+ padding-right: 20px;
104
+ }
105
+
106
+ &:last-child {
107
+ border-bottom: 0;
108
+ }
109
+
110
+ & > span {
111
+ font-weight: bold;
112
+ font-size: 14px;
113
+ color: textPrimary;
114
+ }
115
+
116
+ & p {
117
+ font-size: 12px;
118
+ line-height: 20px;
119
+ color: textPrimary;
120
+ margin: 4px 0;
121
+ }
122
+ `,
123
+ PickerClose: styled$1.div`
124
+ cursor: pointer;
125
+ font-size: 16px;
126
+ color: #333;
127
+ `,
128
+ LayoutItem: styled$1.div`
129
+ z-index: ${({ isConfigOpen, theme }) => isConfigOpen ? theme.zIndex || 10 : 0};
130
+ position: relative;
131
+ border-radius: 5px;
132
+ background-color: dashboardBackground;
133
+ box-shadow: cornerDialogShadow;
134
+ animation: fadeIn 1s;
135
+ @keyframes fadeIn {
136
+ 0% {
137
+ opacity: 0;
138
+ }
139
+ 10% {
140
+ opacity: 0;
141
+ }
142
+ 100% {
143
+ opacity: 1;
144
+ }
145
+ }
146
+ `,
147
+ LayoutItemAdd: styled$1.span`
148
+ color: blue;
149
+ cursor: pointer;
150
+
151
+ &:hover {
152
+ text-decoration: underline;
153
+ }
154
+ `,
155
+ Nowidget: styled$1.div`
156
+ border: 3px dotted #ccc;
157
+ padding: 20px;
158
+ width: 100%;
159
+ height: 150px;
160
+ font-size: 20px;
161
+ color: #999;
162
+
163
+ & > span {
164
+ color: black;
165
+ }
166
+ `,
167
+ WidgetConfigInDropdown: styled$1.div`
168
+ position: absolute;
169
+ overflow: visible;
170
+ top: 0;
171
+ width: 100%;
172
+ min-width: 300px;
173
+ background-color: white;
174
+ padding: 20px;
175
+ display: flex;
176
+ flex-direction: column;
177
+ justify-content: space-between;
178
+ border: 1px solid #ccc;
179
+ z-index: 10;
180
+ `,
181
+ WidgetConfig: styled$1.div`
182
+ position: absolute;
183
+ top: 0;
184
+ left: 100%;
185
+ width: 100%;
186
+ background-color: white;
187
+ padding: 0 20px 20px;
188
+ display: ${({ isConfigOpen, inDropdown }) => isConfigOpen && !inDropdown ? "flex" : "none !important"};
189
+ flex-direction: column;
190
+ justify-content: space-between;
191
+ `,
192
+ WidgetVisibility: styled$1.div`
193
+ display: ${({ isVisible }) => isVisible ? "initial" : "none"};
194
+ `,
195
+ WidgetConfigButtons: styled$1.div`
196
+ border-top: 1px solid #ccc;
197
+ margin: 20px 0 0;
198
+ padding-top: 20px;
199
+ display: flex;
200
+ justify-content: space-between;
201
+ `,
202
+ WidgetError: styled$1.div`
203
+ display: flex;
204
+ flex-direction: column;
205
+ `,
206
+ WidgetErrorMessage: styled$1.p``,
207
+ WidgetErrorTitle: styled$1.h2`
208
+ margin: 0;
209
+ font-size: 18px;
210
+ color: #dd2b0e;
211
+ `,
212
+ LayoutError: styled$1.div`
213
+ display: flex;
214
+ flex-direction: column;
215
+ `,
216
+ LayoutErrorMessage: styled$1.p``,
217
+ LayoutErrorTitle: styled$1.h2`
218
+ margin: 0;
219
+ font-size: 24px;
220
+ color: #dd2b0e;
221
+ `,
222
+ ItemWrapper: styled$1.div`
223
+ padding: 20px 20px;
224
+ position: relative;
225
+ width: 100%;
226
+ height: 100%;
227
+ display: flex;
228
+ flex-direction: column;
229
+
230
+ &:hover ${ItemMoveWrapper} {
231
+ display: block;
232
+ }
233
+ `,
234
+ ItemMoveWrapper,
235
+ ItemPanelButton: styled$1.div`
236
+ position: absolute;
237
+ top: 10px;
238
+ right: 10px;
239
+ width: 20px;
240
+ z-index: 2;
241
+ user-select: none;
242
+
243
+ :hover {
244
+ cursor: pointer;
245
+ opacity: 1;
246
+ }
247
+ `,
248
+ ItemBodyWrapper: styled$1.div`
249
+ overflow: hidden;
250
+ flex-grow: 1;
251
+ overflow-y: ${({ isConfigOpen }) => isConfigOpen ? "auto" : "hidden"};
252
+ // do not add paddings/margins
253
+ `,
254
+ ItemBody: styled$1.div`
255
+ position: relative;
256
+ height: ${({ isFullHeight }) => isFullHeight ? "100%" : "fit-content"};
257
+ transition: all 0.4s;
258
+ left: ${({ isConfigOpen, inDropdown }) => isConfigOpen && !inDropdown ? "-100%" : "0"};
259
+ `,
260
+ ItemName: styled$1.div`
261
+ font-size: 18px;
262
+ color: gray5;
263
+ margin-bottom: 20px;
264
+
265
+ & > * {
266
+ margin-right: 5px;
267
+ }
268
+ `,
269
+ ItemContent: styled$1.div`
270
+ width: 100%;
271
+ height: 100%;
272
+ overflow: hidden;
273
+ animation: fadeIn 1s;
274
+ @keyframes fadeIn {
275
+ 0% {
276
+ opacity: 0;
277
+ }
278
+ 10% {
279
+ opacity: 0;
280
+ }
281
+ 100% {
282
+ opacity: 1;
283
+ }
284
+ }
285
+ `,
286
+ ConfigRow: styled$1.div`
287
+ display: flex;
288
+ margin-bottom: 10px;
289
+ font-size: 15px;
290
+ align-items: ${({ isBlock }) => isBlock ? "flex-start" : "center"};
291
+ justify-content: space-between;
292
+ `,
293
+ ConfigLabel: styled$1.div`
294
+ width: 40%;
295
+ color: textPrimary;
296
+ `,
297
+ ConfigInput: styled$1.div`
298
+ width: 80%;
299
+ `,
300
+ Select: styled$1.select`
301
+ padding: 5px;
302
+ border: 1px solid;
303
+ border-color: black;
304
+ border-radius: 3px;
305
+ width: ${(props) => props.width || "100%"};
306
+ margin-right: ${(props) => props.mr || "0"};
307
+ `,
308
+ CheckboxContent: styled$1.div`
309
+ padding: 5px;
310
+ border: 1px solid;
311
+ border-color: black;
312
+ border-radius: 3px;
313
+ max-height: 200px;
314
+ overflow-y: auto;
315
+ width: 100%;
316
+ `,
317
+ CheckboxControls: styled$1.div`
318
+ margin: 3px 0;
319
+ margin-left: 4px;
320
+ display: flex;
321
+ justify-content: space-between;
322
+ `,
323
+ Input: styled$1.input`
324
+ padding: 5px;
325
+ border: 1px solid;
326
+ border-color: black;
327
+ border-radius: 3px;
328
+ width: ${(props) => props.width || "100%"};
329
+
330
+ &[type='color'] {
331
+ padding: 0;
332
+ width: 40px;
333
+ }
334
+ `,
335
+ NoData: styled$1.div`
336
+ width: 100%;
337
+ height: 100%;
338
+ max-height: 200px;
339
+ display: flex;
340
+ justify-content: center;
341
+ align-items: center;
342
+ flex-direction: column;
343
+ color: gray5;
344
+ gap: 16px;
345
+ padding-top: 20px;
346
+
347
+ & > svg {
348
+ max-width: 30%;
349
+ max-height: 50%;
350
+ margin-bottom: 10px;
351
+ }
352
+ `,
353
+ HideWidget: styled$1.div`
354
+ display: ${({ isHidden }) => isHidden ? "none" : "initial"};
355
+ `
356
+ };
357
+ //#endregion
358
+ export { styles_default as default };