@epam/uui 5.3.0 → 5.4.1

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 (858) hide show
  1. package/assets/styles/typography.scss +1 -1
  2. package/{build/components → components}/buttons/Button.d.ts +6 -3
  3. package/components/buttons/Button.d.ts.map +1 -0
  4. package/components/buttons/IconButton.d.ts +13 -0
  5. package/{build/components → components}/buttons/IconButton.d.ts.map +1 -1
  6. package/components/buttons/LinkButton.d.ts +20 -0
  7. package/{build/components → components}/buttons/LinkButton.d.ts.map +1 -1
  8. package/components/buttons/TabButton.d.ts +12 -0
  9. package/components/buttons/TabButton.d.ts.map +1 -0
  10. package/components/buttons/VerticalTabButton.d.ts +5 -0
  11. package/{build/components → components}/buttons/VerticalTabButton.d.ts.map +1 -1
  12. package/components/datePickers/DatePicker.d.ts +7 -0
  13. package/components/datePickers/DatePicker.d.ts.map +1 -0
  14. package/{build/components → components}/datePickers/DatePickerHeader.d.ts +4 -0
  15. package/components/datePickers/DatePickerHeader.d.ts.map +1 -0
  16. package/components/datePickers/RangeDatePicker.d.ts +9 -0
  17. package/components/datePickers/RangeDatePicker.d.ts.map +1 -0
  18. package/{build/components → components}/inputs/MultiSwitch.d.ts +5 -2
  19. package/components/inputs/MultiSwitch.d.ts.map +1 -0
  20. package/{build/components → components}/inputs/RadioInput.d.ts +3 -0
  21. package/{build/components → components}/inputs/RadioInput.d.ts.map +1 -1
  22. package/{build/components → components}/inputs/Slider.d.ts +2 -0
  23. package/{build/components → components}/inputs/Slider.d.ts.map +1 -1
  24. package/{build/components → components}/inputs/Switch.d.ts +3 -0
  25. package/components/inputs/Switch.d.ts.map +1 -0
  26. package/{build/components → components}/inputs/TextArea.d.ts +1 -0
  27. package/{build/components → components}/inputs/TextArea.d.ts.map +1 -1
  28. package/{build/components → components}/inputs/TextInput.d.ts +4 -1
  29. package/{build/components → components}/inputs/TextInput.d.ts.map +1 -1
  30. package/components/inputs/TimePicker.d.ts +15 -0
  31. package/components/inputs/TimePicker.d.ts.map +1 -0
  32. package/{build/components → components}/layout/Accordion.d.ts +1 -0
  33. package/components/layout/Accordion.d.ts.map +1 -0
  34. package/{build/components → components}/layout/Blocker.d.ts.map +1 -1
  35. package/{build/components → components}/layout/FlexItems/FlexRow.d.ts +4 -4
  36. package/components/layout/FlexItems/FlexRow.d.ts.map +1 -0
  37. package/{build/components → components}/layout/FlexItems/Panel.d.ts +1 -1
  38. package/{build/components → components}/layout/FlexItems/Panel.d.ts.map +1 -1
  39. package/components/navigation/Anchor.d.ts +3 -0
  40. package/{build/components → components}/navigation/Anchor.d.ts.map +1 -1
  41. package/{build/components → components}/navigation/MainMenu/Burger/BurgerButton.d.ts +1 -1
  42. package/{build/components → components}/navigation/MainMenu/Burger/BurgerButton.d.ts.map +1 -1
  43. package/components/navigation/MainMenu/MainMenuButton.d.ts +7 -0
  44. package/{build/components → components}/navigation/MainMenu/MainMenuButton.d.ts.map +1 -1
  45. package/components/navigation/MainMenu/MainMenuIcon.d.ts +48 -0
  46. package/{build/components → components}/navigation/MainMenu/MainMenuIcon.d.ts.map +1 -1
  47. package/{build/components → components}/navigation/MainMenu/MainMenuSearch.d.ts +1 -1
  48. package/{build/components → components}/overlays/Alert.d.ts +5 -3
  49. package/components/overlays/Alert.d.ts.map +1 -0
  50. package/components/overlays/Dropdown.d.ts +3 -0
  51. package/{build/components → components}/overlays/Dropdown.d.ts.map +1 -1
  52. package/{build/components → components}/overlays/DropdownMenu.d.ts +1 -1
  53. package/{build/components → components}/overlays/NotificationCard.d.ts +1 -2
  54. package/components/overlays/NotificationCard.d.ts.map +1 -0
  55. package/{build/components → components}/overlays/Tooltip.d.ts +4 -1
  56. package/{build/components → components}/overlays/Tooltip.d.ts.map +1 -1
  57. package/{build/components → components}/pickers/PickerInput.d.ts +2 -2
  58. package/components/pickers/PickerInput.d.ts.map +1 -0
  59. package/{build/components → components}/pickers/PickerList.d.ts.map +1 -1
  60. package/components/types.d.ts +20 -0
  61. package/components/types.d.ts.map +1 -0
  62. package/{build/components → components}/typography/RichTextView.d.ts +3 -0
  63. package/{build/components → components}/typography/RichTextView.d.ts.map +1 -1
  64. package/{build/components → components}/typography/Text.d.ts +6 -5
  65. package/components/typography/Text.d.ts.map +1 -0
  66. package/components/widgets/Badge.d.ts +20 -0
  67. package/components/widgets/Badge.d.ts.map +1 -0
  68. package/{build/components → components}/widgets/CountIndicator.d.ts +3 -0
  69. package/{build/components → components}/widgets/CountIndicator.d.ts.map +1 -1
  70. package/{build/components → components}/widgets/StatusIndicator.d.ts +12 -3
  71. package/{build/components → components}/widgets/StatusIndicator.d.ts.map +1 -1
  72. package/components/widgets/Tag.d.ts +19 -0
  73. package/components/widgets/Tag.d.ts.map +1 -0
  74. package/{build/index.esm.js → index.esm.js} +582 -644
  75. package/index.esm.js.map +1 -0
  76. package/{build/index.js → index.js} +581 -654
  77. package/index.js.map +1 -0
  78. package/package.json +7 -7
  79. package/{build/stats.html → stats.html} +1 -1
  80. package/{build/styles.css → styles.css} +2584 -2547
  81. package/styles.css.map +1 -0
  82. package/build/assets/styles/buttonLayout.scss +0 -67
  83. package/build/assets/styles/controlLayout.scss +0 -28
  84. package/build/assets/styles/dnd.scss +0 -9
  85. package/build/assets/styles/effects.scss +0 -7
  86. package/build/assets/styles/icons.scss +0 -19
  87. package/build/assets/styles/index.scss +0 -8
  88. package/build/assets/styles/inputs.scss +0 -74
  89. package/build/assets/styles/text-size.scss +0 -37
  90. package/build/assets/styles/typography.scss +0 -174
  91. package/build/components/buttons/Button.d.ts.map +0 -1
  92. package/build/components/buttons/IconButton.d.ts +0 -10
  93. package/build/components/buttons/LinkButton.d.ts +0 -11
  94. package/build/components/buttons/TabButton.d.ts +0 -9
  95. package/build/components/buttons/TabButton.d.ts.map +0 -1
  96. package/build/components/buttons/VerticalTabButton.d.ts +0 -5
  97. package/build/components/datePickers/DatePicker.d.ts +0 -13
  98. package/build/components/datePickers/DatePicker.d.ts.map +0 -1
  99. package/build/components/datePickers/DatePickerHeader.d.ts.map +0 -1
  100. package/build/components/datePickers/RangeDatePicker.d.ts +0 -13
  101. package/build/components/datePickers/RangeDatePicker.d.ts.map +0 -1
  102. package/build/components/inputs/MultiSwitch.d.ts.map +0 -1
  103. package/build/components/inputs/Switch.d.ts.map +0 -1
  104. package/build/components/inputs/TimePicker.d.ts +0 -12
  105. package/build/components/inputs/TimePicker.d.ts.map +0 -1
  106. package/build/components/layout/Accordion.d.ts.map +0 -1
  107. package/build/components/layout/FlexItems/FlexRow.d.ts.map +0 -1
  108. package/build/components/navigation/Anchor.d.ts +0 -3
  109. package/build/components/navigation/MainMenu/MainMenuButton.d.ts +0 -7
  110. package/build/components/navigation/MainMenu/MainMenuIcon.d.ts +0 -8
  111. package/build/components/overlays/Alert.d.ts.map +0 -1
  112. package/build/components/overlays/Dropdown.d.ts +0 -4
  113. package/build/components/overlays/NotificationCard.d.ts.map +0 -1
  114. package/build/components/pickers/PickerInput.d.ts.map +0 -1
  115. package/build/components/types.d.ts +0 -44
  116. package/build/components/types.d.ts.map +0 -1
  117. package/build/components/typography/Text.d.ts.map +0 -1
  118. package/build/components/widgets/Badge.d.ts +0 -16
  119. package/build/components/widgets/Badge.d.ts.map +0 -1
  120. package/build/components/widgets/Tag.d.ts +0 -10
  121. package/build/components/widgets/Tag.d.ts.map +0 -1
  122. package/build/index.esm.js.map +0 -1
  123. package/build/index.js.map +0 -1
  124. package/build/package.json +0 -37
  125. package/build/readme.md +0 -5
  126. package/build/styles.css.map +0 -1
  127. package/components/buttons/Button.module.scss +0 -157
  128. package/components/buttons/Button.tsx +0 -42
  129. package/components/buttons/IconButton.module.scss +0 -44
  130. package/components/buttons/IconButton.tsx +0 -20
  131. package/components/buttons/LinkButton.module.scss +0 -85
  132. package/components/buttons/LinkButton.tsx +0 -32
  133. package/components/buttons/TabButton.module.scss +0 -94
  134. package/components/buttons/TabButton.tsx +0 -38
  135. package/components/buttons/VerticalTabButton.module.scss +0 -7
  136. package/components/buttons/VerticalTabButton.tsx +0 -12
  137. package/components/buttons/__tests__/Button.test.tsx +0 -30
  138. package/components/buttons/__tests__/IconButton.test.tsx +0 -16
  139. package/components/buttons/__tests__/LinkButton.test.tsx +0 -16
  140. package/components/buttons/__tests__/TabButton.test.tsx +0 -16
  141. package/components/buttons/__tests__/VerticalTabButton.test.tsx +0 -16
  142. package/components/buttons/__tests__/__snapshots__/Button.test.tsx.snap +0 -58
  143. package/components/buttons/__tests__/__snapshots__/IconButton.test.tsx.snap +0 -34
  144. package/components/buttons/__tests__/__snapshots__/LinkButton.test.tsx.snap +0 -47
  145. package/components/buttons/__tests__/__snapshots__/TabButton.test.tsx.snap +0 -31
  146. package/components/buttons/__tests__/__snapshots__/VerticalTabButton.test.tsx.snap +0 -31
  147. package/components/buttons/helper.ts +0 -22
  148. package/components/buttons/index.ts +0 -5
  149. package/components/datePickers/Calendar.module.scss +0 -143
  150. package/components/datePickers/Calendar.tsx +0 -10
  151. package/components/datePickers/CalendarPresets.module.scss +0 -30
  152. package/components/datePickers/CalendarPresets.tsx +0 -9
  153. package/components/datePickers/DatePicker.tsx +0 -70
  154. package/components/datePickers/DatePickerBody.module.scss +0 -107
  155. package/components/datePickers/DatePickerBody.tsx +0 -74
  156. package/components/datePickers/DatePickerHeader.module.scss +0 -15
  157. package/components/datePickers/DatePickerHeader.tsx +0 -113
  158. package/components/datePickers/RangeDatePicker.module.scss +0 -101
  159. package/components/datePickers/RangeDatePicker.tsx +0 -107
  160. package/components/datePickers/RangeDatePickerBody.module.scss +0 -127
  161. package/components/datePickers/RangeDatePickerBody.tsx +0 -252
  162. package/components/datePickers/__tests__/Calendar.test.tsx +0 -11
  163. package/components/datePickers/__tests__/CalendarPresets.test.tsx +0 -11
  164. package/components/datePickers/__tests__/DatePicker.test.tsx +0 -119
  165. package/components/datePickers/__tests__/DatePickerBody.test.tsx +0 -36
  166. package/components/datePickers/__tests__/DatePickerHeader.test.tsx +0 -57
  167. package/components/datePickers/__tests__/RangeDatePicker.test.tsx +0 -181
  168. package/components/datePickers/__tests__/RangeDatePickerBody.test.tsx +0 -186
  169. package/components/datePickers/__tests__/__snapshots__/Calendar.test.tsx.snap +0 -524
  170. package/components/datePickers/__tests__/__snapshots__/CalendarPresets.test.tsx.snap +0 -61
  171. package/components/datePickers/__tests__/__snapshots__/DatePicker.test.tsx.snap +0 -57
  172. package/components/datePickers/__tests__/__snapshots__/DatePickerBody.test.tsx.snap +0 -62
  173. package/components/datePickers/__tests__/__snapshots__/RangeDatePicker.test.tsx.snap +0 -115
  174. package/components/datePickers/__tests__/__snapshots__/RangeDatePickerBody.test.tsx.snap +0 -1231
  175. package/components/datePickers/index.ts +0 -5
  176. package/components/dnd/DropMarker.module.scss +0 -62
  177. package/components/dnd/DropMarker.tsx +0 -25
  178. package/components/dnd/__tests__/DropMarker.test.tsx +0 -31
  179. package/components/dnd/__tests__/__snapshots__/DropMarker.test.tsx.snap +0 -7
  180. package/components/dnd/index.tsx +0 -1
  181. package/components/fileUpload/DropSpot.module.scss +0 -47
  182. package/components/fileUpload/DropSpot.tsx +0 -57
  183. package/components/fileUpload/FileCard.module.scss +0 -88
  184. package/components/fileUpload/FileCard.tsx +0 -134
  185. package/components/fileUpload/SvgCircleProgress.module.scss +0 -8
  186. package/components/fileUpload/SvgCircleProgress.tsx +0 -35
  187. package/components/fileUpload/__tests__/DropSpot.test.tsx +0 -15
  188. package/components/fileUpload/__tests__/FileCard.test.tsx +0 -57
  189. package/components/fileUpload/__tests__/SvgCircleProgress.test.tsx +0 -10
  190. package/components/fileUpload/__tests__/__snapshots__/DropSpot.test.tsx.snap +0 -130
  191. package/components/fileUpload/__tests__/__snapshots__/FileCard.test.tsx.snap +0 -266
  192. package/components/fileUpload/__tests__/__snapshots__/SvgCircleProgress.test.tsx.snap +0 -26
  193. package/components/fileUpload/index.ts +0 -3
  194. package/components/filters/FilterDatePickerBody.tsx +0 -63
  195. package/components/filters/FilterItemBody.tsx +0 -23
  196. package/components/filters/FilterNumericBody.module.scss +0 -4
  197. package/components/filters/FilterNumericBody.tsx +0 -111
  198. package/components/filters/FilterPanelItemToggler.module.scss +0 -140
  199. package/components/filters/FilterPanelItemToggler.tsx +0 -91
  200. package/components/filters/FilterPickerBody.tsx +0 -73
  201. package/components/filters/FilterRangeDatePickerBody.module.scss +0 -92
  202. package/components/filters/FilterRangeDatePickerBody.tsx +0 -85
  203. package/components/filters/FiltersPanel.tsx +0 -218
  204. package/components/filters/FiltersPanelItem.module.scss +0 -22
  205. package/components/filters/FiltersPanelItem.tsx +0 -257
  206. package/components/filters/PresetPanel/Preset.module.scss +0 -25
  207. package/components/filters/PresetPanel/Preset.tsx +0 -61
  208. package/components/filters/PresetPanel/PresetActionsDropdown.module.scss +0 -23
  209. package/components/filters/PresetPanel/PresetActionsDropdown.tsx +0 -138
  210. package/components/filters/PresetPanel/PresetInput.module.scss +0 -55
  211. package/components/filters/PresetPanel/PresetInput.tsx +0 -50
  212. package/components/filters/PresetPanel/PresetsPanel.module.scss +0 -34
  213. package/components/filters/PresetPanel/PresetsPanel.tsx +0 -112
  214. package/components/filters/PresetPanel/__tests__/Preset.test.tsx +0 -44
  215. package/components/filters/PresetPanel/__tests__/PresetActionsDropdown.test.tsx +0 -28
  216. package/components/filters/PresetPanel/__tests__/PresetInput.test.tsx +0 -10
  217. package/components/filters/PresetPanel/__tests__/__snapshots__/Preset.test.tsx.snap +0 -101
  218. package/components/filters/PresetPanel/__tests__/__snapshots__/PresetActionsDropdown.test.tsx.snap +0 -19
  219. package/components/filters/PresetPanel/__tests__/__snapshots__/PresetInput.test.tsx.snap +0 -35
  220. package/components/filters/PresetPanel/__tests__/__snapshots__/presetsPanel.test.tsx.snap +0 -101
  221. package/components/filters/PresetPanel/__tests__/presetsPanel.test.tsx +0 -395
  222. package/components/filters/PresetPanel/constants.ts +0 -4
  223. package/components/filters/PresetPanel/index.ts +0 -1
  224. package/components/filters/__tests__/filtersPanel.test.tsx +0 -371
  225. package/components/filters/constants.ts +0 -4
  226. package/components/filters/defaultPredicates.ts +0 -11
  227. package/components/filters/index.ts +0 -4
  228. package/components/forms/Form.tsx +0 -39
  229. package/components/forms/index.tsx +0 -2
  230. package/components/forms/useForm.tsx +0 -39
  231. package/components/index.ts +0 -15
  232. package/components/inputs/Checkbox.module.scss +0 -162
  233. package/components/inputs/Checkbox.tsx +0 -30
  234. package/components/inputs/InputAddon.module.scss +0 -11
  235. package/components/inputs/InputAddon.tsx +0 -11
  236. package/components/inputs/MultiSwitch.tsx +0 -39
  237. package/components/inputs/NumericInput.module.scss +0 -97
  238. package/components/inputs/NumericInput.tsx +0 -27
  239. package/components/inputs/RadioInput.module.scss +0 -200
  240. package/components/inputs/RadioInput.tsx +0 -16
  241. package/components/inputs/Slider.module.scss +0 -130
  242. package/components/inputs/Slider.tsx +0 -11
  243. package/components/inputs/Switch.module.scss +0 -172
  244. package/components/inputs/Switch.tsx +0 -17
  245. package/components/inputs/TextArea.module.scss +0 -210
  246. package/components/inputs/TextArea.tsx +0 -24
  247. package/components/inputs/TextInput.module.scss +0 -187
  248. package/components/inputs/TextInput.tsx +0 -59
  249. package/components/inputs/TimePicker.module.scss +0 -68
  250. package/components/inputs/TimePicker.tsx +0 -69
  251. package/components/inputs/TimePickerBody.tsx +0 -10
  252. package/components/inputs/__tests__/Checkbox.test.tsx +0 -15
  253. package/components/inputs/__tests__/MultiSwitch.test.tsx +0 -16
  254. package/components/inputs/__tests__/NumericInput.test.tsx +0 -208
  255. package/components/inputs/__tests__/RadioInput.test.tsx +0 -15
  256. package/components/inputs/__tests__/Slider.test.tsx +0 -22
  257. package/components/inputs/__tests__/Switch.test.tsx +0 -15
  258. package/components/inputs/__tests__/TextArea.test.tsx +0 -15
  259. package/components/inputs/__tests__/TextInput.test.tsx +0 -20
  260. package/components/inputs/__tests__/TimePicker.test.tsx +0 -19
  261. package/components/inputs/__tests__/TimePickerBody.test.tsx +0 -38
  262. package/components/inputs/__tests__/__snapshots__/Checkbox.test.tsx.snap +0 -39
  263. package/components/inputs/__tests__/__snapshots__/MultiSwitch.test.tsx.snap +0 -37
  264. package/components/inputs/__tests__/__snapshots__/NumericInput.test.tsx.snap +0 -93
  265. package/components/inputs/__tests__/__snapshots__/RadioInput.test.tsx.snap +0 -40
  266. package/components/inputs/__tests__/__snapshots__/Slider.test.tsx.snap +0 -157
  267. package/components/inputs/__tests__/__snapshots__/Switch.test.tsx.snap +0 -48
  268. package/components/inputs/__tests__/__snapshots__/TextArea.test.tsx.snap +0 -32
  269. package/components/inputs/__tests__/__snapshots__/TextInput.test.tsx.snap +0 -53
  270. package/components/inputs/__tests__/__snapshots__/TimePicker.test.tsx +0 -19
  271. package/components/inputs/__tests__/__snapshots__/TimePicker.test.tsx.snap +0 -43
  272. package/components/inputs/__tests__/__snapshots__/TimePickerBody.test.tsx +0 -38
  273. package/components/inputs/__tests__/__snapshots__/TimePickerBody.test.tsx.snap +0 -321
  274. package/components/inputs/__tests__/__snapshots__/__snapshots__/TimePicker.test.tsx.snap +0 -43
  275. package/components/inputs/__tests__/__snapshots__/__snapshots__/TimePickerBody.test.tsx.snap +0 -321
  276. package/components/inputs/index.ts +0 -10
  277. package/components/layout/Accordion.module.scss +0 -180
  278. package/components/layout/Accordion.tsx +0 -23
  279. package/components/layout/Blocker.module.scss +0 -30
  280. package/components/layout/Blocker.tsx +0 -11
  281. package/components/layout/CheckboxGroup.module.scss +0 -15
  282. package/components/layout/CheckboxGroup.tsx +0 -10
  283. package/components/layout/ControlGroup.module.scss +0 -15
  284. package/components/layout/ControlGroup.tsx +0 -5
  285. package/components/layout/FlexItems/FlexCell.module.scss +0 -5
  286. package/components/layout/FlexItems/FlexCell.tsx +0 -9
  287. package/components/layout/FlexItems/FlexRow.module.scss +0 -122
  288. package/components/layout/FlexItems/FlexRow.tsx +0 -32
  289. package/components/layout/FlexItems/Panel.module.scss +0 -34
  290. package/components/layout/FlexItems/Panel.tsx +0 -19
  291. package/components/layout/FlexItems/__tests__/FlexCell.test.tsx +0 -15
  292. package/components/layout/FlexItems/__tests__/FlexRow.test.tsx +0 -17
  293. package/components/layout/FlexItems/__tests__/FlexSpacer.test.tsx +0 -10
  294. package/components/layout/FlexItems/__tests__/Panel.test.tsx +0 -15
  295. package/components/layout/FlexItems/__tests__/__snapshots__/FlexCell.test.tsx.snap +0 -34
  296. package/components/layout/FlexItems/__tests__/__snapshots__/FlexRow.test.tsx.snap +0 -26
  297. package/components/layout/FlexItems/__tests__/__snapshots__/FlexSpacer.test.tsx.snap +0 -7
  298. package/components/layout/FlexItems/__tests__/__snapshots__/Panel.test.tsx.snap +0 -14
  299. package/components/layout/FlexItems/index.ts +0 -4
  300. package/components/layout/LabeledInput.module.scss +0 -139
  301. package/components/layout/LabeledInput.tsx +0 -21
  302. package/components/layout/RadioGroup.module.scss +0 -15
  303. package/components/layout/RadioGroup.tsx +0 -10
  304. package/components/layout/ScrollBars.module.scss +0 -56
  305. package/components/layout/ScrollBars.tsx +0 -11
  306. package/components/layout/VirtualList.module.scss +0 -10
  307. package/components/layout/VirtualList.tsx +0 -127
  308. package/components/layout/__tests__/Accordion.test.tsx +0 -16
  309. package/components/layout/__tests__/Blocker.test.tsx +0 -10
  310. package/components/layout/__tests__/CheckboxGroup.test.tsx +0 -33
  311. package/components/layout/__tests__/ControlGroup.test.tsx +0 -18
  312. package/components/layout/__tests__/LabeledInput.test.tsx +0 -26
  313. package/components/layout/__tests__/RadioGroup.test.tsx +0 -33
  314. package/components/layout/__tests__/ScrollBars.test.tsx +0 -17
  315. package/components/layout/__tests__/VirtualList.test.tsx +0 -10
  316. package/components/layout/__tests__/__snapshots__/Accordion.test.tsx.snap +0 -65
  317. package/components/layout/__tests__/__snapshots__/Blocker.test.tsx.snap +0 -36
  318. package/components/layout/__tests__/__snapshots__/CheckboxGroup.test.tsx.snap +0 -103
  319. package/components/layout/__tests__/__snapshots__/ControlGroup.test.tsx.snap +0 -33
  320. package/components/layout/__tests__/__snapshots__/LabeledInput.test.tsx.snap +0 -87
  321. package/components/layout/__tests__/__snapshots__/RadioGroup.test.tsx.snap +0 -95
  322. package/components/layout/__tests__/__snapshots__/ScrollBars.test.tsx.snap +0 -68
  323. package/components/layout/__tests__/__snapshots__/VirtualList.test.tsx.snap +0 -90
  324. package/components/layout/index.ts +0 -10
  325. package/components/navigation/Anchor.module.scss +0 -7
  326. package/components/navigation/Anchor.tsx +0 -5
  327. package/components/navigation/MainMenu/Burger/Burger.module.scss +0 -81
  328. package/components/navigation/MainMenu/Burger/Burger.tsx +0 -18
  329. package/components/navigation/MainMenu/Burger/BurgerButton.module.scss +0 -69
  330. package/components/navigation/MainMenu/Burger/BurgerButton.tsx +0 -22
  331. package/components/navigation/MainMenu/Burger/BurgerGroupHeader.module.scss +0 -31
  332. package/components/navigation/MainMenu/Burger/BurgerGroupHeader.tsx +0 -16
  333. package/components/navigation/MainMenu/Burger/BurgerSearch.module.scss +0 -51
  334. package/components/navigation/MainMenu/Burger/BurgerSearch.tsx +0 -23
  335. package/components/navigation/MainMenu/Burger/__tests__/Burger.test.tsx +0 -13
  336. package/components/navigation/MainMenu/Burger/__tests__/BurgerButton.test.tsx +0 -18
  337. package/components/navigation/MainMenu/Burger/__tests__/BurgerGroupHeader.test.tsx +0 -10
  338. package/components/navigation/MainMenu/Burger/__tests__/BurgerSearch.test.tsx +0 -20
  339. package/components/navigation/MainMenu/Burger/__tests__/__snapshots__/Burger.test.tsx.snap +0 -21
  340. package/components/navigation/MainMenu/Burger/__tests__/__snapshots__/BurgerButton.test.tsx.snap +0 -46
  341. package/components/navigation/MainMenu/Burger/__tests__/__snapshots__/BurgerGroupHeader.test.tsx.snap +0 -16
  342. package/components/navigation/MainMenu/Burger/__tests__/__snapshots__/BurgerSearch.test.tsx.snap +0 -53
  343. package/components/navigation/MainMenu/Burger/index.ts +0 -4
  344. package/components/navigation/MainMenu/GlobalMenu.module.scss +0 -32
  345. package/components/navigation/MainMenu/GlobalMenu.tsx +0 -14
  346. package/components/navigation/MainMenu/MainMenu.module.scss +0 -53
  347. package/components/navigation/MainMenu/MainMenu.tsx +0 -21
  348. package/components/navigation/MainMenu/MainMenuAvatar.module.scss +0 -41
  349. package/components/navigation/MainMenu/MainMenuAvatar.tsx +0 -30
  350. package/components/navigation/MainMenu/MainMenuButton.module.scss +0 -58
  351. package/components/navigation/MainMenu/MainMenuButton.tsx +0 -14
  352. package/components/navigation/MainMenu/MainMenuDropdown.module.scss +0 -44
  353. package/components/navigation/MainMenu/MainMenuDropdown.tsx +0 -47
  354. package/components/navigation/MainMenu/MainMenuIcon.module.scss +0 -25
  355. package/components/navigation/MainMenu/MainMenuIcon.tsx +0 -13
  356. package/components/navigation/MainMenu/MainMenuSearch.module.scss +0 -51
  357. package/components/navigation/MainMenu/MainMenuSearch.tsx +0 -26
  358. package/components/navigation/MainMenu/__tests__/GlobalMenu.test.tsx +0 -10
  359. package/components/navigation/MainMenu/__tests__/MainMenu.test.tsx +0 -45
  360. package/components/navigation/MainMenu/__tests__/MainMenuAvatar.test.tsx +0 -27
  361. package/components/navigation/MainMenu/__tests__/MainMenuButton.test.tsx +0 -30
  362. package/components/navigation/MainMenu/__tests__/MainMenuDropdown.test.tsx +0 -24
  363. package/components/navigation/MainMenu/__tests__/MainMenuIcon.test.tsx +0 -18
  364. package/components/navigation/MainMenu/__tests__/MainMenuSearch.test.tsx +0 -28
  365. package/components/navigation/MainMenu/__tests__/__snapshots__/GlobalMenu.test.tsx.snap +0 -17
  366. package/components/navigation/MainMenu/__tests__/__snapshots__/MainMenu.test.tsx.snap +0 -103
  367. package/components/navigation/MainMenu/__tests__/__snapshots__/MainMenuAvatar.test.tsx.snap +0 -39
  368. package/components/navigation/MainMenu/__tests__/__snapshots__/MainMenuButton.test.tsx.snap +0 -37
  369. package/components/navigation/MainMenu/__tests__/__snapshots__/MainMenuDropdown.test.tsx.snap +0 -46
  370. package/components/navigation/MainMenu/__tests__/__snapshots__/MainMenuIcon.test.tsx.snap +0 -39
  371. package/components/navigation/MainMenu/__tests__/__snapshots__/MainMenuSearch.test.tsx.snap +0 -53
  372. package/components/navigation/MainMenu/index.ts +0 -8
  373. package/components/navigation/__tests__/Anchor.test.tsx +0 -21
  374. package/components/navigation/__tests__/__snapshots__/Anchor.test.tsx.snap +0 -29
  375. package/components/navigation/index.ts +0 -2
  376. package/components/overlays/Alert.module.scss +0 -77
  377. package/components/overlays/Alert.tsx +0 -75
  378. package/components/overlays/ConfirmationModal.tsx +0 -38
  379. package/components/overlays/Dropdown.tsx +0 -7
  380. package/components/overlays/DropdownContainer.module.scss +0 -93
  381. package/components/overlays/DropdownContainer.tsx +0 -20
  382. package/components/overlays/DropdownMenu.module.scss +0 -181
  383. package/components/overlays/DropdownMenu.tsx +0 -262
  384. package/components/overlays/Modals.module.scss +0 -63
  385. package/components/overlays/Modals.tsx +0 -82
  386. package/components/overlays/NotificationCard.module.scss +0 -76
  387. package/components/overlays/NotificationCard.tsx +0 -97
  388. package/components/overlays/Tooltip.module.scss +0 -74
  389. package/components/overlays/Tooltip.tsx +0 -19
  390. package/components/overlays/__tests__/Alert.test.tsx +0 -57
  391. package/components/overlays/__tests__/ConfirmationModal.test.tsx +0 -29
  392. package/components/overlays/__tests__/Dropdown.test.tsx +0 -16
  393. package/components/overlays/__tests__/DropdownContainer.test.tsx +0 -28
  394. package/components/overlays/__tests__/DropdownMenu.test.tsx +0 -26
  395. package/components/overlays/__tests__/Modals.test.tsx +0 -35
  396. package/components/overlays/__tests__/NotificationCard.test.tsx +0 -52
  397. package/components/overlays/__tests__/Tooltip.test.tsx +0 -20
  398. package/components/overlays/__tests__/__snapshots__/Alert.test.tsx.snap +0 -183
  399. package/components/overlays/__tests__/__snapshots__/ConfirmationModal.test.tsx.snap +0 -423
  400. package/components/overlays/__tests__/__snapshots__/Dropdown.test.tsx.snap +0 -51
  401. package/components/overlays/__tests__/__snapshots__/DropdownContainer.test.tsx.snap +0 -82
  402. package/components/overlays/__tests__/__snapshots__/DropdownMenu.test.tsx.snap +0 -128
  403. package/components/overlays/__tests__/__snapshots__/Modals.test.tsx.snap +0 -206
  404. package/components/overlays/__tests__/__snapshots__/NotificationCard.test.tsx.snap +0 -284
  405. package/components/overlays/__tests__/__snapshots__/Tooltip.test.tsx.snap +0 -5
  406. package/components/overlays/index.ts +0 -8
  407. package/components/pickers/DataPickerBody.module.scss +0 -54
  408. package/components/pickers/DataPickerBody.tsx +0 -68
  409. package/components/pickers/DataPickerFooter.tsx +0 -85
  410. package/components/pickers/DataPickerHeader.module.scss +0 -19
  411. package/components/pickers/DataPickerHeader.tsx +0 -24
  412. package/components/pickers/DataPickerRow.module.scss +0 -30
  413. package/components/pickers/DataPickerRow.tsx +0 -77
  414. package/components/pickers/MobileDropdownWrapper.module.scss +0 -20
  415. package/components/pickers/MobileDropdownWrapper.tsx +0 -38
  416. package/components/pickers/PickerInput.module.scss +0 -39
  417. package/components/pickers/PickerInput.tsx +0 -180
  418. package/components/pickers/PickerItem.module.scss +0 -32
  419. package/components/pickers/PickerItem.tsx +0 -66
  420. package/components/pickers/PickerList.tsx +0 -83
  421. package/components/pickers/PickerListItem.module.scss +0 -3
  422. package/components/pickers/PickerListItem.tsx +0 -55
  423. package/components/pickers/PickerModal.module.scss +0 -27
  424. package/components/pickers/PickerModal.tsx +0 -145
  425. package/components/pickers/PickerToggler.module.scss +0 -249
  426. package/components/pickers/PickerToggler.tsx +0 -84
  427. package/components/pickers/__tests__/DataPickerBody.test.tsx +0 -58
  428. package/components/pickers/__tests__/DataPickerRow.test.tsx +0 -39
  429. package/components/pickers/__tests__/PickerInput.test.tsx +0 -1041
  430. package/components/pickers/__tests__/PickerList.test.tsx +0 -619
  431. package/components/pickers/__tests__/PickerModal.test.tsx +0 -542
  432. package/components/pickers/__tests__/PickerToggler.test.tsx +0 -40
  433. package/components/pickers/__tests__/__snapshots__/DataPickerBody.test.tsx.snap +0 -197
  434. package/components/pickers/__tests__/__snapshots__/DataPickerRow.test.tsx.snap +0 -114
  435. package/components/pickers/__tests__/__snapshots__/PickerInput.test.tsx.snap +0 -705
  436. package/components/pickers/__tests__/__snapshots__/PickerList.test.tsx.snap +0 -828
  437. package/components/pickers/__tests__/__snapshots__/PickerModal.test.tsx.snap +0 -1638
  438. package/components/pickers/__tests__/__snapshots__/PickerToggler.test.tsx.snap +0 -81
  439. package/components/pickers/__tests__/highlight.test.tsx +0 -37
  440. package/components/pickers/__tests__/mocks.ts +0 -87
  441. package/components/pickers/helpers.ts +0 -4
  442. package/components/pickers/highlight.tsx +0 -93
  443. package/components/pickers/index.ts +0 -12
  444. package/components/tables/ColumnHeaderDropdown/ColumnHeaderDropdown.tsx +0 -46
  445. package/components/tables/ColumnHeaderDropdown/SortingPanel.module.scss +0 -14
  446. package/components/tables/ColumnHeaderDropdown/SortingPanel.tsx +0 -27
  447. package/components/tables/ColumnHeaderDropdown/index.ts +0 -1
  448. package/components/tables/DataRowsContainer/DataRowsContainer.module.scss +0 -21
  449. package/components/tables/DataRowsContainer/DataRowsContainer.tsx +0 -27
  450. package/components/tables/DataRowsContainer/DataRowsGroups.tsx +0 -86
  451. package/components/tables/DataRowsContainer/index.tsx +0 -1
  452. package/components/tables/DataRowsContainer/utils.ts +0 -15
  453. package/components/tables/DataTable.module.scss +0 -54
  454. package/components/tables/DataTable.tsx +0 -149
  455. package/components/tables/DataTableCell.module.scss +0 -123
  456. package/components/tables/DataTableCell.tsx +0 -96
  457. package/components/tables/DataTableHeaderCell.module.scss +0 -161
  458. package/components/tables/DataTableHeaderCell.tsx +0 -144
  459. package/components/tables/DataTableHeaderRow.module.scss +0 -23
  460. package/components/tables/DataTableHeaderRow.tsx +0 -19
  461. package/components/tables/DataTableRow.module.scss +0 -58
  462. package/components/tables/DataTableRow.tsx +0 -31
  463. package/components/tables/__tests__/ColumnHeaderDropdown.test.tsx +0 -25
  464. package/components/tables/__tests__/DataTable.test.tsx +0 -23
  465. package/components/tables/__tests__/DataTableCell.test.tsx +0 -66
  466. package/components/tables/__tests__/DataTableHeaderCell.test.tsx +0 -21
  467. package/components/tables/__tests__/DataTableHeaderRow.test.tsx +0 -28
  468. package/components/tables/__tests__/DataTableRow.test.tsx +0 -30
  469. package/components/tables/__tests__/__snapshots__/ColumnHeaderDropdown.test.tsx.snap +0 -181
  470. package/components/tables/__tests__/__snapshots__/DataTable.test.tsx.snap +0 -122
  471. package/components/tables/__tests__/__snapshots__/DataTableCell.test.tsx.snap +0 -45
  472. package/components/tables/__tests__/__snapshots__/DataTableHeaderCell.test.tsx.snap +0 -34
  473. package/components/tables/__tests__/__snapshots__/DataTableHeaderRow.test.tsx.snap +0 -51
  474. package/components/tables/__tests__/__snapshots__/DataTableRow.test.tsx.snap +0 -54
  475. package/components/tables/columnsConfigurationModal/ColumnRow.module.scss +0 -44
  476. package/components/tables/columnsConfigurationModal/ColumnRow.tsx +0 -68
  477. package/components/tables/columnsConfigurationModal/ColumnsConfigurationModal.module.scss +0 -55
  478. package/components/tables/columnsConfigurationModal/ColumnsConfigurationModal.tsx +0 -153
  479. package/components/tables/columnsConfigurationModal/PinIconButton.tsx +0 -55
  480. package/components/tables/columnsConfigurationModal/__tests__/ColumnsConfigurationModal.test.tsx +0 -72
  481. package/components/tables/columnsConfigurationModal/__tests__/__snapshots__/ColumnsConfigurationModal.test.tsx.snap +0 -951
  482. package/components/tables/columnsConfigurationModal/index.ts +0 -1
  483. package/components/tables/index.ts +0 -9
  484. package/components/tables/types.ts +0 -33
  485. package/components/tables/variables.scss +0 -25
  486. package/components/types.ts +0 -73
  487. package/components/typography/RichTextView.tsx +0 -13
  488. package/components/typography/Text.module.scss +0 -50
  489. package/components/typography/Text.tsx +0 -39
  490. package/components/typography/TextPlaceholder.module.scss +0 -33
  491. package/components/typography/TextPlaceholder.tsx +0 -38
  492. package/components/typography/__tests__/RichTextView.test.tsx +0 -27
  493. package/components/typography/__tests__/Text.test.tsx +0 -21
  494. package/components/typography/__tests__/TextPlaceholder.test.tsx +0 -23
  495. package/components/typography/__tests__/__snapshots__/RichTextView.test.tsx.snap +0 -21
  496. package/components/typography/__tests__/__snapshots__/Text.test.tsx.snap +0 -18
  497. package/components/typography/__tests__/__snapshots__/TextPlaceholder.test.tsx.snap +0 -65
  498. package/components/typography/index.ts +0 -3
  499. package/components/widgets/AvatarStack.module.scss +0 -36
  500. package/components/widgets/AvatarStack.tsx +0 -5
  501. package/components/widgets/Badge.module.scss +0 -334
  502. package/components/widgets/Badge.tsx +0 -75
  503. package/components/widgets/CountIndicator.module.scss +0 -52
  504. package/components/widgets/CountIndicator.tsx +0 -26
  505. package/components/widgets/IndeterminateBar.module.scss +0 -42
  506. package/components/widgets/IndeterminateBar.tsx +0 -16
  507. package/components/widgets/IndicatorBar.module.scss +0 -3
  508. package/components/widgets/IndicatorBar.tsx +0 -20
  509. package/components/widgets/Paginator.module.scss +0 -66
  510. package/components/widgets/Paginator.tsx +0 -64
  511. package/components/widgets/ProgressBar.module.scss +0 -52
  512. package/components/widgets/ProgressBar.tsx +0 -24
  513. package/components/widgets/Spinner.module.scss +0 -38
  514. package/components/widgets/Spinner.tsx +0 -11
  515. package/components/widgets/StatusIndicator.module.scss +0 -72
  516. package/components/widgets/StatusIndicator.tsx +0 -36
  517. package/components/widgets/Tag.module.scss +0 -121
  518. package/components/widgets/Tag.tsx +0 -55
  519. package/components/widgets/__tests__/AvatarStack.test.tsx +0 -19
  520. package/components/widgets/__tests__/Badge.test.tsx +0 -30
  521. package/components/widgets/__tests__/IndeterminateBar.test.tsx +0 -15
  522. package/components/widgets/__tests__/IndicatorBar.test.tsx +0 -15
  523. package/components/widgets/__tests__/Paginator.test.tsx +0 -10
  524. package/components/widgets/__tests__/ProgressBar.test.tsx +0 -25
  525. package/components/widgets/__tests__/Spinner.test.tsx +0 -10
  526. package/components/widgets/__tests__/StatusIndicator.test.tsx +0 -17
  527. package/components/widgets/__tests__/Tag.test.tsx +0 -18
  528. package/components/widgets/__tests__/__snapshots__/AvatarStack.test.tsx.snap +0 -55
  529. package/components/widgets/__tests__/__snapshots__/Badge.test.tsx.snap +0 -48
  530. package/components/widgets/__tests__/__snapshots__/IndeterminateBar.test.tsx.snap +0 -21
  531. package/components/widgets/__tests__/__snapshots__/IndicatorBar.test.tsx.snap +0 -30
  532. package/components/widgets/__tests__/__snapshots__/Paginator.test.tsx.snap +0 -125
  533. package/components/widgets/__tests__/__snapshots__/ProgressBar.test.tsx.snap +0 -107
  534. package/components/widgets/__tests__/__snapshots__/Spinner.test.tsx.snap +0 -21
  535. package/components/widgets/__tests__/__snapshots__/StatusIndicator.test.tsx.snap +0 -31
  536. package/components/widgets/__tests__/__snapshots__/Tag.test.tsx.snap +0 -48
  537. package/components/widgets/index.ts +0 -11
  538. package/globals.d.ts +0 -12
  539. package/helpers/index.ts +0 -2
  540. package/helpers/text-layout.module.scss +0 -81
  541. package/helpers/textLayout.tsx +0 -35
  542. package/helpers/useColumnsWithFilters.tsx +0 -34
  543. package/i18n.ts +0 -105
  544. package/icons/accept-12.svg +0 -1
  545. package/icons/accept-18.svg +0 -1
  546. package/icons/accept-24.svg +0 -1
  547. package/icons/action-settings-12.svg +0 -1
  548. package/icons/action-settings-18.svg +0 -1
  549. package/icons/action-settings-24.svg +0 -1
  550. package/icons/btn-cross-12.svg +0 -1
  551. package/icons/btn-cross-18.svg +0 -1
  552. package/icons/btn-cross-24.svg +0 -1
  553. package/icons/burger-close.svg +0 -3
  554. package/icons/burger.svg +0 -3
  555. package/icons/calendar-12.svg +0 -1
  556. package/icons/calendar-18.svg +0 -1
  557. package/icons/calendar-24.svg +0 -1
  558. package/icons/check-12.svg +0 -3
  559. package/icons/check-18.svg +0 -3
  560. package/icons/checkbox-checked.svg +0 -21
  561. package/icons/checkbox-partial.svg +0 -21
  562. package/icons/checkbox_tick.svg +0 -44
  563. package/icons/chevron-down-24.svg +0 -1
  564. package/icons/chevron-up-24.svg +0 -1
  565. package/icons/content-edit-12.svg +0 -1
  566. package/icons/content-edit-18.svg +0 -1
  567. package/icons/content-edit-24.svg +0 -1
  568. package/icons/empty-table.svg +0 -58
  569. package/icons/fileUpload/file-file-24.svg +0 -1
  570. package/icons/fileUpload/file-file_chart-24.svg +0 -1
  571. package/icons/fileUpload/file-file_eml-24.svg +0 -1
  572. package/icons/fileUpload/file-file_excel-24.svg +0 -1
  573. package/icons/fileUpload/file-file_image-24.svg +0 -1
  574. package/icons/fileUpload/file-file_pdf-24.svg +0 -1
  575. package/icons/fileUpload/file-file_table-24.svg +0 -1
  576. package/icons/fileUpload/file-file_text-24.svg +0 -1
  577. package/icons/fileUpload/file-file_video-24.svg +0 -1
  578. package/icons/fileUpload/file-file_word-24.svg +0 -1
  579. package/icons/fileUpload/shape.svg +0 -2
  580. package/icons/filter.svg +0 -11
  581. package/icons/folding-arrow-12.svg +0 -1
  582. package/icons/folding-arrow-18.svg +0 -1
  583. package/icons/folding-arrow-24.svg +0 -1
  584. package/icons/global_menu.svg +0 -9
  585. package/icons/help-fill-10.svg +0 -3
  586. package/icons/help-fill-16.svg +0 -3
  587. package/icons/icons.tsx +0 -116
  588. package/icons/info-12.svg +0 -3
  589. package/icons/info-18.svg +0 -1
  590. package/icons/info-24.svg +0 -1
  591. package/icons/logo-arrow.svg +0 -4
  592. package/icons/menu_input_cancel.svg +0 -84
  593. package/icons/modal-close-cross.svg +0 -22
  594. package/icons/navigation-close-24.svg +0 -1
  595. package/icons/navigation-more_vert-12.svg +0 -1
  596. package/icons/navigation-more_vert-18.svg +0 -1
  597. package/icons/navigation-more_vert-24.svg +0 -1
  598. package/icons/notification-check_circle-fill-24.svg +0 -1
  599. package/icons/notification-done-12.svg +0 -1
  600. package/icons/notification-done-18.svg +0 -1
  601. package/icons/notification-done-24.svg +0 -1
  602. package/icons/notification-error-fill-10.svg +0 -1
  603. package/icons/notification-error-fill-24.svg +0 -1
  604. package/icons/notification-help-fill-24.svg +0 -1
  605. package/icons/notification-warning-fill-24.svg +0 -1
  606. package/icons/partly-select-12.svg +0 -3
  607. package/icons/partly-select-18.svg +0 -3
  608. package/icons/radio-point.svg +0 -3
  609. package/icons/search-12.svg +0 -1
  610. package/icons/search-18.svg +0 -1
  611. package/icons/search-24.svg +0 -1
  612. package/icons/search-with-background.svg +0 -4
  613. package/icons/settings-18.svg +0 -1
  614. package/icons/slider-rating/active_mark_blue_icon.svg +0 -23
  615. package/icons/slider-rating/active_mark_green_icon.svg +0 -23
  616. package/icons/slider-rating/active_mark_red_icon.svg +0 -23
  617. package/icons/slider-rating/active_mark_violet_icon.svg +0 -23
  618. package/icons/slider-rating/active_mark_yellow_icon.svg +0 -23
  619. package/icons/slider-rating/line_blue_icon.svg +0 -31
  620. package/icons/slider-rating/line_gray_icon.svg +0 -20
  621. package/icons/slider-rating/line_red_icon.svg +0 -42
  622. package/icons/slider-rating/line_violet_icon.svg +0 -33
  623. package/icons/slider-rating/line_yellow_icon.svg +0 -34
  624. package/icons/slider-rating/na_active_icon.svg +0 -13
  625. package/icons/slider-rating/na_icon.svg +0 -13
  626. package/icons/snackbar/cross.svg +0 -1
  627. package/icons/snackbar/info.svg +0 -1
  628. package/icons/snackbar/success.svg +0 -1
  629. package/icons/snackbar/warning.svg +0 -1
  630. package/icons/sort.svg +0 -5
  631. package/icons/sort_asc-12.svg +0 -1
  632. package/icons/sort_desc-12.svg +0 -1
  633. package/icons/star-empty.svg +0 -3
  634. package/icons/star-filled.svg +0 -3
  635. package/icons/tick-12.svg +0 -1
  636. package/icons/tick-24.svg +0 -1
  637. package/icons/triangle.svg +0 -10
  638. package/index.tsx +0 -5
  639. package/themeTodo.md +0 -21
  640. package/tsconfig.json +0 -12
  641. /package/{build/components → components}/buttons/helper.d.ts +0 -0
  642. /package/{build/components → components}/buttons/helper.d.ts.map +0 -0
  643. /package/{build/components → components}/buttons/index.d.ts +0 -0
  644. /package/{build/components → components}/buttons/index.d.ts.map +0 -0
  645. /package/{build/components → components}/datePickers/Calendar.d.ts +0 -0
  646. /package/{build/components → components}/datePickers/Calendar.d.ts.map +0 -0
  647. /package/{build/components → components}/datePickers/CalendarPresets.d.ts +0 -0
  648. /package/{build/components → components}/datePickers/CalendarPresets.d.ts.map +0 -0
  649. /package/{build/components → components}/datePickers/DatePickerBody.d.ts +0 -0
  650. /package/{build/components → components}/datePickers/DatePickerBody.d.ts.map +0 -0
  651. /package/{build/components → components}/datePickers/RangeDatePickerBody.d.ts +0 -0
  652. /package/{build/components → components}/datePickers/RangeDatePickerBody.d.ts.map +0 -0
  653. /package/{build/components → components}/datePickers/index.d.ts +0 -0
  654. /package/{build/components → components}/datePickers/index.d.ts.map +0 -0
  655. /package/{build/components → components}/dnd/DropMarker.d.ts +0 -0
  656. /package/{build/components → components}/dnd/DropMarker.d.ts.map +0 -0
  657. /package/{build/components → components}/dnd/index.d.ts +0 -0
  658. /package/{build/components → components}/dnd/index.d.ts.map +0 -0
  659. /package/{build/components → components}/fileUpload/DropSpot.d.ts +0 -0
  660. /package/{build/components → components}/fileUpload/DropSpot.d.ts.map +0 -0
  661. /package/{build/components → components}/fileUpload/FileCard.d.ts +0 -0
  662. /package/{build/components → components}/fileUpload/FileCard.d.ts.map +0 -0
  663. /package/{build/components → components}/fileUpload/SvgCircleProgress.d.ts +0 -0
  664. /package/{build/components → components}/fileUpload/SvgCircleProgress.d.ts.map +0 -0
  665. /package/{build/components → components}/fileUpload/index.d.ts +0 -0
  666. /package/{build/components → components}/fileUpload/index.d.ts.map +0 -0
  667. /package/{build/components → components}/filters/FilterDatePickerBody.d.ts +0 -0
  668. /package/{build/components → components}/filters/FilterDatePickerBody.d.ts.map +0 -0
  669. /package/{build/components → components}/filters/FilterItemBody.d.ts +0 -0
  670. /package/{build/components → components}/filters/FilterItemBody.d.ts.map +0 -0
  671. /package/{build/components → components}/filters/FilterNumericBody.d.ts +0 -0
  672. /package/{build/components → components}/filters/FilterNumericBody.d.ts.map +0 -0
  673. /package/{build/components → components}/filters/FilterPanelItemToggler.d.ts +0 -0
  674. /package/{build/components → components}/filters/FilterPanelItemToggler.d.ts.map +0 -0
  675. /package/{build/components → components}/filters/FilterPickerBody.d.ts +0 -0
  676. /package/{build/components → components}/filters/FilterPickerBody.d.ts.map +0 -0
  677. /package/{build/components → components}/filters/FilterRangeDatePickerBody.d.ts +0 -0
  678. /package/{build/components → components}/filters/FilterRangeDatePickerBody.d.ts.map +0 -0
  679. /package/{build/components → components}/filters/FiltersPanel.d.ts +0 -0
  680. /package/{build/components → components}/filters/FiltersPanel.d.ts.map +0 -0
  681. /package/{build/components → components}/filters/FiltersPanelItem.d.ts +0 -0
  682. /package/{build/components → components}/filters/FiltersPanelItem.d.ts.map +0 -0
  683. /package/{build/components → components}/filters/PresetPanel/Preset.d.ts +0 -0
  684. /package/{build/components → components}/filters/PresetPanel/Preset.d.ts.map +0 -0
  685. /package/{build/components → components}/filters/PresetPanel/PresetActionsDropdown.d.ts +0 -0
  686. /package/{build/components → components}/filters/PresetPanel/PresetActionsDropdown.d.ts.map +0 -0
  687. /package/{build/components → components}/filters/PresetPanel/PresetInput.d.ts +0 -0
  688. /package/{build/components → components}/filters/PresetPanel/PresetInput.d.ts.map +0 -0
  689. /package/{build/components → components}/filters/PresetPanel/PresetsPanel.d.ts +0 -0
  690. /package/{build/components → components}/filters/PresetPanel/PresetsPanel.d.ts.map +0 -0
  691. /package/{build/components → components}/filters/PresetPanel/constants.d.ts +0 -0
  692. /package/{build/components → components}/filters/PresetPanel/constants.d.ts.map +0 -0
  693. /package/{build/components → components}/filters/PresetPanel/index.d.ts +0 -0
  694. /package/{build/components → components}/filters/PresetPanel/index.d.ts.map +0 -0
  695. /package/{build/components → components}/filters/constants.d.ts +0 -0
  696. /package/{build/components → components}/filters/constants.d.ts.map +0 -0
  697. /package/{build/components → components}/filters/defaultPredicates.d.ts +0 -0
  698. /package/{build/components → components}/filters/defaultPredicates.d.ts.map +0 -0
  699. /package/{build/components → components}/filters/index.d.ts +0 -0
  700. /package/{build/components → components}/filters/index.d.ts.map +0 -0
  701. /package/{build/components → components}/forms/Form.d.ts +0 -0
  702. /package/{build/components → components}/forms/Form.d.ts.map +0 -0
  703. /package/{build/components → components}/forms/index.d.ts +0 -0
  704. /package/{build/components → components}/forms/index.d.ts.map +0 -0
  705. /package/{build/components → components}/forms/useForm.d.ts +0 -0
  706. /package/{build/components → components}/forms/useForm.d.ts.map +0 -0
  707. /package/{build/components → components}/index.d.ts +0 -0
  708. /package/{build/components → components}/index.d.ts.map +0 -0
  709. /package/{build/components → components}/inputs/Checkbox.d.ts +0 -0
  710. /package/{build/components → components}/inputs/Checkbox.d.ts.map +0 -0
  711. /package/{build/components → components}/inputs/InputAddon.d.ts +0 -0
  712. /package/{build/components → components}/inputs/InputAddon.d.ts.map +0 -0
  713. /package/{build/components → components}/inputs/NumericInput.d.ts +0 -0
  714. /package/{build/components → components}/inputs/NumericInput.d.ts.map +0 -0
  715. /package/{build/components → components}/inputs/TimePickerBody.d.ts +0 -0
  716. /package/{build/components → components}/inputs/TimePickerBody.d.ts.map +0 -0
  717. /package/{build/components → components}/inputs/index.d.ts +0 -0
  718. /package/{build/components → components}/inputs/index.d.ts.map +0 -0
  719. /package/{build/components → components}/layout/Blocker.d.ts +0 -0
  720. /package/{build/components → components}/layout/CheckboxGroup.d.ts +0 -0
  721. /package/{build/components → components}/layout/CheckboxGroup.d.ts.map +0 -0
  722. /package/{build/components → components}/layout/ControlGroup.d.ts +0 -0
  723. /package/{build/components → components}/layout/ControlGroup.d.ts.map +0 -0
  724. /package/{build/components → components}/layout/FlexItems/FlexCell.d.ts +0 -0
  725. /package/{build/components → components}/layout/FlexItems/FlexCell.d.ts.map +0 -0
  726. /package/{build/components → components}/layout/FlexItems/index.d.ts +0 -0
  727. /package/{build/components → components}/layout/FlexItems/index.d.ts.map +0 -0
  728. /package/{build/components → components}/layout/LabeledInput.d.ts +0 -0
  729. /package/{build/components → components}/layout/LabeledInput.d.ts.map +0 -0
  730. /package/{build/components → components}/layout/RadioGroup.d.ts +0 -0
  731. /package/{build/components → components}/layout/RadioGroup.d.ts.map +0 -0
  732. /package/{build/components → components}/layout/ScrollBars.d.ts +0 -0
  733. /package/{build/components → components}/layout/ScrollBars.d.ts.map +0 -0
  734. /package/{build/components → components}/layout/VirtualList.d.ts +0 -0
  735. /package/{build/components → components}/layout/VirtualList.d.ts.map +0 -0
  736. /package/{build/components → components}/layout/index.d.ts +0 -0
  737. /package/{build/components → components}/layout/index.d.ts.map +0 -0
  738. /package/{build/components → components}/navigation/MainMenu/Burger/Burger.d.ts +0 -0
  739. /package/{build/components → components}/navigation/MainMenu/Burger/Burger.d.ts.map +0 -0
  740. /package/{build/components → components}/navigation/MainMenu/Burger/BurgerGroupHeader.d.ts +0 -0
  741. /package/{build/components → components}/navigation/MainMenu/Burger/BurgerGroupHeader.d.ts.map +0 -0
  742. /package/{build/components → components}/navigation/MainMenu/Burger/BurgerSearch.d.ts +0 -0
  743. /package/{build/components → components}/navigation/MainMenu/Burger/BurgerSearch.d.ts.map +0 -0
  744. /package/{build/components → components}/navigation/MainMenu/Burger/index.d.ts +0 -0
  745. /package/{build/components → components}/navigation/MainMenu/Burger/index.d.ts.map +0 -0
  746. /package/{build/components → components}/navigation/MainMenu/GlobalMenu.d.ts +0 -0
  747. /package/{build/components → components}/navigation/MainMenu/GlobalMenu.d.ts.map +0 -0
  748. /package/{build/components → components}/navigation/MainMenu/MainMenu.d.ts +0 -0
  749. /package/{build/components → components}/navigation/MainMenu/MainMenu.d.ts.map +0 -0
  750. /package/{build/components → components}/navigation/MainMenu/MainMenuAvatar.d.ts +0 -0
  751. /package/{build/components → components}/navigation/MainMenu/MainMenuAvatar.d.ts.map +0 -0
  752. /package/{build/components → components}/navigation/MainMenu/MainMenuDropdown.d.ts +0 -0
  753. /package/{build/components → components}/navigation/MainMenu/MainMenuDropdown.d.ts.map +0 -0
  754. /package/{build/components → components}/navigation/MainMenu/MainMenuSearch.d.ts.map +0 -0
  755. /package/{build/components → components}/navigation/MainMenu/index.d.ts +0 -0
  756. /package/{build/components → components}/navigation/MainMenu/index.d.ts.map +0 -0
  757. /package/{build/components → components}/navigation/index.d.ts +0 -0
  758. /package/{build/components → components}/navigation/index.d.ts.map +0 -0
  759. /package/{build/components → components}/overlays/ConfirmationModal.d.ts +0 -0
  760. /package/{build/components → components}/overlays/ConfirmationModal.d.ts.map +0 -0
  761. /package/{build/components → components}/overlays/DropdownContainer.d.ts +0 -0
  762. /package/{build/components → components}/overlays/DropdownContainer.d.ts.map +0 -0
  763. /package/{build/components → components}/overlays/DropdownMenu.d.ts.map +0 -0
  764. /package/{build/components → components}/overlays/Modals.d.ts +0 -0
  765. /package/{build/components → components}/overlays/Modals.d.ts.map +0 -0
  766. /package/{build/components → components}/overlays/index.d.ts +0 -0
  767. /package/{build/components → components}/overlays/index.d.ts.map +0 -0
  768. /package/{build/components → components}/pickers/DataPickerBody.d.ts +0 -0
  769. /package/{build/components → components}/pickers/DataPickerBody.d.ts.map +0 -0
  770. /package/{build/components → components}/pickers/DataPickerFooter.d.ts +0 -0
  771. /package/{build/components → components}/pickers/DataPickerFooter.d.ts.map +0 -0
  772. /package/{build/components → components}/pickers/DataPickerHeader.d.ts +0 -0
  773. /package/{build/components → components}/pickers/DataPickerHeader.d.ts.map +0 -0
  774. /package/{build/components → components}/pickers/DataPickerRow.d.ts +0 -0
  775. /package/{build/components → components}/pickers/DataPickerRow.d.ts.map +0 -0
  776. /package/{build/components → components}/pickers/MobileDropdownWrapper.d.ts +0 -0
  777. /package/{build/components → components}/pickers/MobileDropdownWrapper.d.ts.map +0 -0
  778. /package/{build/components → components}/pickers/PickerItem.d.ts +0 -0
  779. /package/{build/components → components}/pickers/PickerItem.d.ts.map +0 -0
  780. /package/{build/components → components}/pickers/PickerList.d.ts +0 -0
  781. /package/{build/components → components}/pickers/PickerListItem.d.ts +0 -0
  782. /package/{build/components → components}/pickers/PickerListItem.d.ts.map +0 -0
  783. /package/{build/components → components}/pickers/PickerModal.d.ts +0 -0
  784. /package/{build/components → components}/pickers/PickerModal.d.ts.map +0 -0
  785. /package/{build/components → components}/pickers/PickerToggler.d.ts +0 -0
  786. /package/{build/components → components}/pickers/PickerToggler.d.ts.map +0 -0
  787. /package/{build/components → components}/pickers/helpers.d.ts +0 -0
  788. /package/{build/components → components}/pickers/helpers.d.ts.map +0 -0
  789. /package/{build/components → components}/pickers/highlight.d.ts +0 -0
  790. /package/{build/components → components}/pickers/highlight.d.ts.map +0 -0
  791. /package/{build/components → components}/pickers/index.d.ts +0 -0
  792. /package/{build/components → components}/pickers/index.d.ts.map +0 -0
  793. /package/{build/components → components}/tables/ColumnHeaderDropdown/ColumnHeaderDropdown.d.ts +0 -0
  794. /package/{build/components → components}/tables/ColumnHeaderDropdown/ColumnHeaderDropdown.d.ts.map +0 -0
  795. /package/{build/components → components}/tables/ColumnHeaderDropdown/SortingPanel.d.ts +0 -0
  796. /package/{build/components → components}/tables/ColumnHeaderDropdown/SortingPanel.d.ts.map +0 -0
  797. /package/{build/components → components}/tables/ColumnHeaderDropdown/index.d.ts +0 -0
  798. /package/{build/components → components}/tables/ColumnHeaderDropdown/index.d.ts.map +0 -0
  799. /package/{build/components → components}/tables/DataRowsContainer/DataRowsContainer.d.ts +0 -0
  800. /package/{build/components → components}/tables/DataRowsContainer/DataRowsContainer.d.ts.map +0 -0
  801. /package/{build/components → components}/tables/DataRowsContainer/DataRowsGroups.d.ts +0 -0
  802. /package/{build/components → components}/tables/DataRowsContainer/DataRowsGroups.d.ts.map +0 -0
  803. /package/{build/components → components}/tables/DataRowsContainer/index.d.ts +0 -0
  804. /package/{build/components → components}/tables/DataRowsContainer/index.d.ts.map +0 -0
  805. /package/{build/components → components}/tables/DataRowsContainer/utils.d.ts +0 -0
  806. /package/{build/components → components}/tables/DataRowsContainer/utils.d.ts.map +0 -0
  807. /package/{build/components → components}/tables/DataTable.d.ts +0 -0
  808. /package/{build/components → components}/tables/DataTable.d.ts.map +0 -0
  809. /package/{build/components → components}/tables/DataTableCell.d.ts +0 -0
  810. /package/{build/components → components}/tables/DataTableCell.d.ts.map +0 -0
  811. /package/{build/components → components}/tables/DataTableHeaderCell.d.ts +0 -0
  812. /package/{build/components → components}/tables/DataTableHeaderCell.d.ts.map +0 -0
  813. /package/{build/components → components}/tables/DataTableHeaderRow.d.ts +0 -0
  814. /package/{build/components → components}/tables/DataTableHeaderRow.d.ts.map +0 -0
  815. /package/{build/components → components}/tables/DataTableRow.d.ts +0 -0
  816. /package/{build/components → components}/tables/DataTableRow.d.ts.map +0 -0
  817. /package/{build/components → components}/tables/columnsConfigurationModal/ColumnRow.d.ts +0 -0
  818. /package/{build/components → components}/tables/columnsConfigurationModal/ColumnRow.d.ts.map +0 -0
  819. /package/{build/components → components}/tables/columnsConfigurationModal/ColumnsConfigurationModal.d.ts +0 -0
  820. /package/{build/components → components}/tables/columnsConfigurationModal/ColumnsConfigurationModal.d.ts.map +0 -0
  821. /package/{build/components → components}/tables/columnsConfigurationModal/PinIconButton.d.ts +0 -0
  822. /package/{build/components → components}/tables/columnsConfigurationModal/PinIconButton.d.ts.map +0 -0
  823. /package/{build/components → components}/tables/columnsConfigurationModal/index.d.ts +0 -0
  824. /package/{build/components → components}/tables/columnsConfigurationModal/index.d.ts.map +0 -0
  825. /package/{build/components → components}/tables/index.d.ts +0 -0
  826. /package/{build/components → components}/tables/index.d.ts.map +0 -0
  827. /package/{build/components → components}/tables/types.d.ts +0 -0
  828. /package/{build/components → components}/tables/types.d.ts.map +0 -0
  829. /package/{build/components → components}/typography/TextPlaceholder.d.ts +0 -0
  830. /package/{build/components → components}/typography/TextPlaceholder.d.ts.map +0 -0
  831. /package/{build/components → components}/typography/index.d.ts +0 -0
  832. /package/{build/components → components}/typography/index.d.ts.map +0 -0
  833. /package/{build/components → components}/widgets/AvatarStack.d.ts +0 -0
  834. /package/{build/components → components}/widgets/AvatarStack.d.ts.map +0 -0
  835. /package/{build/components → components}/widgets/IndeterminateBar.d.ts +0 -0
  836. /package/{build/components → components}/widgets/IndeterminateBar.d.ts.map +0 -0
  837. /package/{build/components → components}/widgets/IndicatorBar.d.ts +0 -0
  838. /package/{build/components → components}/widgets/IndicatorBar.d.ts.map +0 -0
  839. /package/{build/components → components}/widgets/Paginator.d.ts +0 -0
  840. /package/{build/components → components}/widgets/Paginator.d.ts.map +0 -0
  841. /package/{build/components → components}/widgets/ProgressBar.d.ts +0 -0
  842. /package/{build/components → components}/widgets/ProgressBar.d.ts.map +0 -0
  843. /package/{build/components → components}/widgets/Spinner.d.ts +0 -0
  844. /package/{build/components → components}/widgets/Spinner.d.ts.map +0 -0
  845. /package/{build/components → components}/widgets/index.d.ts +0 -0
  846. /package/{build/components → components}/widgets/index.d.ts.map +0 -0
  847. /package/{build/helpers → helpers}/index.d.ts +0 -0
  848. /package/{build/helpers → helpers}/index.d.ts.map +0 -0
  849. /package/{build/helpers → helpers}/textLayout.d.ts +0 -0
  850. /package/{build/helpers → helpers}/textLayout.d.ts.map +0 -0
  851. /package/{build/helpers → helpers}/useColumnsWithFilters.d.ts +0 -0
  852. /package/{build/helpers → helpers}/useColumnsWithFilters.d.ts.map +0 -0
  853. /package/{build/i18n.d.ts → i18n.d.ts} +0 -0
  854. /package/{build/i18n.d.ts.map → i18n.d.ts.map} +0 -0
  855. /package/{build/icons → icons}/icons.d.ts +0 -0
  856. /package/{build/icons → icons}/icons.d.ts.map +0 -0
  857. /package/{build/index.d.ts → index.d.ts} +0 -0
  858. /package/{build/index.d.ts.map → index.d.ts.map} +0 -0
@@ -1,262 +0,0 @@
1
- import React, { useRef, useContext, useState } from 'react';
2
- import {
3
- cx, IDropdownToggler, withMods, uuiMod, UuiContext, IHasChildren, VPanelProps, IHasIcon, ICanRedirect, IHasCaption, IDisableable,
4
- IAnalyticableClick, IHasCX, IClickable, DropdownBodyProps,
5
- } from '@epam/uui-core';
6
- import { Text, FlexRow, Anchor, IconContainer, Dropdown, FlexSpacer, DropdownContainerProps } from '@epam/uui-components';
7
- import { DropdownContainer } from './DropdownContainer';
8
- import { Switch } from '../inputs';
9
- import { IconButton } from '../buttons';
10
- import { systemIcons } from '../../icons/icons';
11
- import css from './DropdownMenu.module.scss';
12
-
13
- const icons = systemIcons['36'];
14
- export interface IDropdownMenuItemProps extends IHasIcon, ICanRedirect, IHasCX, IDisableable, IAnalyticableClick, IDropdownToggler {
15
- isSelected?: boolean;
16
- isActive?: boolean;
17
- indent?: boolean;
18
- }
19
-
20
- export interface DropdownMenuContainerProps extends VPanelProps, IHasChildren, DropdownBodyProps, Pick<DropdownContainerProps, 'focusLock'> {
21
- closeOnKey?: React.KeyboardEvent<HTMLElement>['key'];
22
- minWidth?: number;
23
- }
24
-
25
- export enum IDropdownControlKeys {
26
- ENTER = 'Enter',
27
- ESCAPE = 'Escape',
28
- LEFT_ARROW = 'ArrowLeft',
29
- RIGHT_ARROW = 'ArrowRight',
30
- UP_ARROW = 'ArrowUp',
31
- DOWN_ARROW = 'ArrowDown'
32
- }
33
-
34
- function DropdownMenuContainer(props: DropdownMenuContainerProps) {
35
- const menuRef = useRef<HTMLMenuElement>(null);
36
- const [currentlyFocused, setFocused] = useState<number>(0);
37
- const menuItems: HTMLElement[] = menuRef.current ? Array.from(menuRef.current.querySelectorAll(`[role="menuitem"]:not(.${uuiMod.disabled})`)) : [];
38
-
39
- const changeFocus = (nextFocusedIndex: number) => {
40
- if (menuItems.length > 0) {
41
- setFocused(nextFocusedIndex);
42
- menuItems[nextFocusedIndex].focus();
43
- }
44
- };
45
-
46
- const handleArrowKeys = (e: React.KeyboardEvent<HTMLMenuElement>) => {
47
- const lastMenuItemsIndex = menuItems.length - 1;
48
-
49
- if (e.key === IDropdownControlKeys.UP_ARROW) {
50
- changeFocus(currentlyFocused > 0 ? currentlyFocused - 1 : lastMenuItemsIndex);
51
- } else if (e.key === IDropdownControlKeys.DOWN_ARROW) {
52
- changeFocus(currentlyFocused < lastMenuItemsIndex ? currentlyFocused + 1 : 0);
53
- } else if (e.key === props.closeOnKey && props.onClose) {
54
- e.stopPropagation();
55
- props.onClose();
56
- }
57
- };
58
-
59
- return (
60
- <DropdownContainer
61
- { ...props }
62
- rawProps={ { ...props.rawProps, role: 'menu' } }
63
- ref={ menuRef }
64
- width={ props.minWidth }
65
- lockProps={ { onKeyDown: handleArrowKeys } }
66
- cx={ [props.cx, css.root] }
67
- />
68
- );
69
- }
70
-
71
- export const DropdownMenuBody = withMods<DropdownMenuContainerProps>(
72
- DropdownMenuContainer,
73
- () => [css.bodyRoot],
74
- (props) => {
75
- return ({ closeOnKey: IDropdownControlKeys.ESCAPE, ...props });
76
- },
77
- );
78
-
79
- export const DropdownMenuButton = React.forwardRef<any, IDropdownMenuItemProps>((props, ref) => {
80
- const context = useContext(UuiContext);
81
-
82
- const {
83
- icon, iconPosition, onIconClick, caption, isDisabled, isSelected, isActive, link, href, onClick, toggleDropdownOpening, isDropdown, isOpen, target,
84
- } = props;
85
-
86
- const handleClick = (event: React.MouseEvent<HTMLElement>) => {
87
- if (isDisabled || !onClick) return;
88
- onClick(event);
89
- context.uuiAnalytics.sendEvent(props.clickAnalyticsEvent);
90
- };
91
-
92
- const handleOpenDropdown = (event: React.KeyboardEvent<HTMLElement>) => {
93
- if (event.key === IDropdownControlKeys.RIGHT_ARROW && isDropdown) {
94
- toggleDropdownOpening(true);
95
- } else if (event.key === IDropdownControlKeys.ENTER && onClick) {
96
- onClick(event);
97
- }
98
- };
99
-
100
- const getMenuButtonContent = () => {
101
- const isIconBefore = Boolean(icon && iconPosition !== 'right');
102
- const isIconAfter = Boolean(icon && iconPosition === 'right');
103
- const iconElement = (
104
- <IconButton
105
- icon={ icon }
106
- color={ isActive ? 'info' : 'neutral' }
107
- onClick={ onIconClick }
108
- isDisabled={ isDisabled }
109
- cx={ cx(css.root, css.icon, iconPosition === 'right' ? css.iconAfter : css.iconBefore) }
110
- />
111
- );
112
-
113
- return (
114
- <>
115
- { isIconBefore && iconElement }
116
- <Text cx={ props.indent && css.indent }>{ caption }</Text>
117
- { isIconAfter && (
118
- <>
119
- <FlexSpacer />
120
- { iconElement }
121
- </>
122
- ) }
123
- </>
124
- );
125
- };
126
-
127
- const isAnchor = Boolean(link || href);
128
-
129
- const itemClassNames = cx(css.root, props.cx, css.itemRoot, isDisabled && uuiMod.disabled, isActive && uuiMod.active, isOpen && uuiMod.opened);
130
-
131
- return isAnchor ? (
132
- <Anchor
133
- cx={ cx(css.link, itemClassNames) }
134
- link={ link }
135
- href={ href }
136
- rawProps={ { role: 'menuitem', tabIndex: isDisabled ? -1 : 0 } }
137
- onClick={ handleClick }
138
- isLinkActive={ isActive }
139
- isDisabled={ isDisabled }
140
- forwardedRef={ ref }
141
- target={ target }
142
- >
143
- { getMenuButtonContent() }
144
- </Anchor>
145
- ) : (
146
- <FlexRow
147
- rawProps={ {
148
- tabIndex: isDisabled ? -1 : 0,
149
- role: 'menuitem',
150
- onKeyDown: isDisabled ? null : handleOpenDropdown,
151
- } }
152
- cx={ itemClassNames }
153
- onClick={ handleClick }
154
- ref={ ref }
155
- >
156
- { getMenuButtonContent() }
157
- { isSelected && <IconContainer icon={ icons.accept } cx={ cx(css.root, css.selectedCheckmark) } /> }
158
- </FlexRow>
159
- );
160
- });
161
-
162
- DropdownMenuButton.displayName = 'DropdownMenuButton';
163
-
164
- export function DropdownMenuSplitter(props: IHasCX) {
165
- return (
166
- <div className={ cx(css.root, props.cx, css.splitterRoot) }>
167
- <hr className={ css.splitter } />
168
- </div>
169
- );
170
- }
171
-
172
- interface IDropdownMenuHeader extends IHasCX, IHasCaption {}
173
-
174
- export function DropdownMenuHeader(props: IDropdownMenuHeader) {
175
- return (
176
- <div className={ cx('uui-dropdown-menu-header', css.root, props.cx, css.headerRoot) }>
177
- <span className={ css.header }>{ props.caption }</span>
178
- </div>
179
- );
180
- }
181
-
182
- interface IDropdownSubMenu extends IHasChildren, IHasCaption, IHasIcon, IDropdownMenuItemProps {
183
- openOnHover?: boolean;
184
- }
185
-
186
- export function DropdownSubMenu(props: IDropdownSubMenu) {
187
- const subMenuModifiers = [
188
- {
189
- name: 'offset',
190
- options: {
191
- offset: ({ placement }: { placement: string }) => {
192
- if (placement === 'right-start') {
193
- return [-6, 0];
194
- } else {
195
- return [6, 0];
196
- }
197
- },
198
- },
199
- },
200
- ];
201
-
202
- return (
203
- <Dropdown
204
- openOnHover={ props.openOnHover || true }
205
- closeOnMouseLeave="boundary"
206
- openDelay={ 400 }
207
- closeDelay={ 400 }
208
- placement="right-start"
209
- modifiers={ subMenuModifiers }
210
- renderBody={ (dropdownProps) => <DropdownMenuBody closeOnKey={ IDropdownControlKeys.LEFT_ARROW } { ...props } { ...dropdownProps } /> }
211
- renderTarget={ ({ toggleDropdownOpening, ...targetProps }) => (
212
- <DropdownMenuButton
213
- cx={ cx(css.root, css.submenuRootItem) }
214
- icon={ icons.foldingArrow }
215
- iconPosition="right"
216
- isDropdown={ true }
217
- toggleDropdownOpening={ toggleDropdownOpening }
218
- { ...props }
219
- { ...targetProps }
220
- />
221
- ) }
222
- />
223
- );
224
- }
225
-
226
- interface IDropdownMenuSwitchButton extends IHasCX, IHasCaption, IHasIcon, IDisableable, IAnalyticableClick, IClickable {
227
- onValueChange: (value: boolean) => void;
228
- isSelected: boolean;
229
- }
230
-
231
- export function DropdownMenuSwitchButton(props: IDropdownMenuSwitchButton) {
232
- const context = useContext(UuiContext);
233
-
234
- const {
235
- icon, caption, isDisabled, isSelected, onValueChange,
236
- } = props;
237
-
238
- const onHandleValueChange = (value: boolean) => {
239
- if (isDisabled || !onValueChange) return;
240
- onValueChange(value);
241
- context.uuiAnalytics.sendEvent(props.clickAnalyticsEvent);
242
- };
243
-
244
- const handleKeySelect = (e: React.KeyboardEvent<HTMLElement>) => {
245
- if (e.key === IDropdownControlKeys.ENTER) {
246
- onHandleValueChange(!isSelected);
247
- }
248
- };
249
-
250
- return (
251
- <FlexRow
252
- cx={ cx(props.cx, css.itemRoot, isDisabled && uuiMod.disabled) }
253
- onClick={ () => onHandleValueChange(!isSelected) }
254
- rawProps={ { role: 'menuitem', onKeyDown: handleKeySelect, tabIndex: isDisabled ? -1 : 0 } }
255
- >
256
- { icon && <IconContainer icon={ icon } cx={ css.iconBefore } /> }
257
- <Text>{ caption }</Text>
258
- <FlexSpacer />
259
- <Switch value={ isSelected } tabIndex={ -1 } onValueChange={ onHandleValueChange } />
260
- </FlexRow>
261
- );
262
- }
@@ -1,63 +0,0 @@
1
- @use '../../assets/styles/index' as *;
2
-
3
- .root {
4
- --uui-modals-shadow: var(--uui-shadow-level-3);
5
- --uui-modals-bg: var(--uui-surface-main);
6
-
7
- --uui-modals-border-radius: var(--uui-border-radius);
8
- }
9
-
10
- .modal-blocker {
11
- animation-duration: 0.3s;
12
- animation-name: animateModalBlocker;
13
- opacity: 1;
14
- transition: all 0.3s ease-out;
15
- background-color: var(--uui-overlay);
16
-
17
- @keyframes animateModalBlocker {
18
- from { opacity: 0; }
19
- to { opacity: 1; }
20
- }
21
- }
22
-
23
- .modal {
24
- &:global(.uui-modal-window) {
25
- background-color: var(--uui-modals-bg);
26
- overflow: auto;
27
- border-radius: var(--uui-modals-border-radius);
28
- max-height: 80vh;
29
- max-width: 100vw;
30
- box-shadow: var(--uui-modals-shadow);
31
-
32
- @media (max-width: 640px) {
33
- min-width: 100vw;
34
- max-height: 100dvh;
35
- border-radius: 0;
36
- }
37
-
38
- :global(.uui-shadow-top)::before {
39
- background: var(--uui-divider);
40
- height: 1px;
41
- }
42
-
43
- :global(.uui-shadow-bottom)::after {
44
- background: var(--uui-divider);
45
- height: 1px;
46
- }
47
- }
48
- }
49
-
50
- .modal-footer {
51
- border-bottom-left-radius: var(--uui-modals-border-radius);
52
- border-bottom-right-radius: var(--uui-modals-border-radius);
53
-
54
- &.border-top {
55
- border-top: 1px solid var(--uui-divider);
56
- }
57
- }
58
-
59
- .modal-header {
60
- border-top-left-radius: var(--uui-modals-border-radius);
61
- border-top-right-radius: var(--uui-modals-border-radius);
62
- }
63
-
@@ -1,82 +0,0 @@
1
- import * as React from 'react';
2
- import { withMods, ModalFooterCoreProps, ModalWindowProps as UuiModalWindowProps, ModalBlockerProps, ModalHeaderCoreProps } from '@epam/uui-core';
3
- import { ModalBlocker as uuiModalBlocker, ModalWindow as uuiModalWindow } from '@epam/uui-components';
4
- import { FlexRow, FlexSpacer, RowMods, FlexCell } from '../layout/FlexItems';
5
- import { IconButton } from '../buttons';
6
- import { Text } from '../typography';
7
- import { ReactComponent as CrossIcon } from '../../icons/navigation-close-24.svg';
8
- import css from './Modals.module.scss';
9
-
10
- export const ModalBlocker = withMods<ModalBlockerProps>(uuiModalBlocker, () => [css.modalBlocker]);
11
-
12
- export interface ModalWindowMods {
13
- width?: number;
14
- height?: number;
15
- }
16
-
17
- export type ModalWindowProps = UuiModalWindowProps & ModalWindowMods;
18
-
19
- export const ModalWindow = withMods<UuiModalWindowProps, ModalWindowMods>(
20
- uuiModalWindow,
21
- () => [css.root, css.modal],
22
- (props) => ({
23
- style: {
24
- ...props.style,
25
- width: `${props.width || 420}px`,
26
- height: props.height ? `${props.height}px` : 'auto',
27
- },
28
- }),
29
- );
30
-
31
- export interface ModalHeaderProps extends RowMods, ModalHeaderCoreProps {}
32
-
33
- export class ModalHeader extends React.Component<ModalHeaderProps> {
34
- render() {
35
- return (
36
- <FlexRow
37
- padding={ this.props.padding || '24' }
38
- vPadding="12"
39
- borderBottom={ this.props.borderBottom }
40
- cx={ [css.root, css.modalHeader, this.props.cx] }
41
- spacing="12"
42
- rawProps={ this.props.rawProps }
43
- >
44
- {this.props.title && (
45
- <Text size="48" fontSize="18" fontWeight="600">
46
- {this.props.title}
47
- </Text>
48
- )}
49
- {this.props.children}
50
- {this.props.onClose && <FlexSpacer />}
51
- {this.props.onClose && (
52
- <FlexCell shrink={ 0 } width="auto">
53
- <IconButton rawProps={ { 'aria-label': 'Close modal' } } icon={ CrossIcon } onClick={ this.props.onClose } />
54
- </FlexCell>
55
- )}
56
- </FlexRow>
57
- );
58
- }
59
- }
60
-
61
- export interface ModalFooterProps extends RowMods, ModalFooterCoreProps {}
62
-
63
- export class ModalFooter extends React.Component<ModalFooterProps> {
64
- render() {
65
- return (
66
- <FlexRow
67
- spacing={ this.props.spacing || '12' }
68
- cx={ [
69
- css.root,
70
- css.modalFooter,
71
- this.props.borderTop && css.borderTop,
72
- this.props.cx,
73
- ] }
74
- padding={ this.props.padding || '24' }
75
- vPadding={ this.props.vPadding || '24' }
76
- rawProps={ this.props.rawProps }
77
- >
78
- {this.props.children}
79
- </FlexRow>
80
- );
81
- }
82
- }
@@ -1,76 +0,0 @@
1
- @use '../../assets/styles/index' as *;
2
-
3
- .root {
4
- --uui-notification_card-bg: var(--uui-surface-main);
5
- --uui-notification_card-border: var(--uui-color-50);
6
- --uui-notification_card-fill: var(--uui-color-50);
7
-
8
- --uui-notification_card-border-radius: var(--uui-border-radius);
9
- --uui-notification_card-border-width: 0;
10
- --uui-notification_card-border-top-width: 6px;
11
- --uui-notification_card-shadow: var(--uui-shadow-level-2); //TODO: may change in the future
12
- //
13
- border-style: solid;
14
- border-color: var(--uui-notification_card-border, transparent);
15
- border-width: var(--uui-notification_card-border-width);
16
- border-top-width: var(--uui-notification_card-border-top-width);
17
- padding: 6px 18px;
18
- width: 360px;
19
- background: var(--uui-notification_card-bg, var(--uui-surface-main));
20
- display: flex;
21
- overflow: hidden;
22
- border-radius: var(--uui-notification_card-border-radius);
23
- box-shadow: var(--uui-notification_card-shadow);
24
-
25
- @media (max-width: 720px) {
26
- width: 100%;
27
- }
28
-
29
- .icon-wrapper {
30
- padding: 6px 0;
31
- }
32
-
33
- .action-wrapper {
34
- display: flex;
35
- }
36
-
37
- .action-link:not(:last-child) {
38
- margin-right: 12px;
39
- }
40
-
41
- .close-icon {
42
- padding: 6px 0;
43
- }
44
-
45
- .main-path {
46
- width: 100%;
47
- display: flex;
48
- align-self: baseline;
49
- }
50
-
51
- .content {
52
- display: flex;
53
- flex-wrap: wrap;
54
- justify-content: space-between;
55
- width: 100%;
56
- margin: 0 12px;
57
- }
58
-
59
- .clear-button {
60
- justify-content: center;
61
- align-items: center;
62
- height: 48px;
63
- padding: 0 18px;
64
- }
65
-
66
- .close-wrapper {
67
- display: flex;
68
- align-items: flex-start;
69
- }
70
-
71
- .icon-wrapper {
72
- :global(.uui-icon) {
73
- fill: var(--uui-notification_card-fill);
74
- }
75
- }
76
- }
@@ -1,97 +0,0 @@
1
- import React from 'react';
2
- import cx from 'classnames';
3
- import { IconContainer } from '@epam/uui-components';
4
- import { INotification, Icon, IHasChildren, IHasCX, UuiContext, UuiContexts, IHasRawProps } from '@epam/uui-core';
5
- import { IconButton, LinkButton } from '../buttons';
6
- import { SemanticColor } from '../types';
7
- import { i18n } from '../../i18n';
8
- import { ReactComponent as SuccessIcon } from '../../icons/notification-check_circle-fill-24.svg';
9
- import { ReactComponent as WarningIcon } from '../../icons/notification-warning-fill-24.svg';
10
- import { ReactComponent as ErrorIcon } from '../../icons/notification-error-fill-24.svg';
11
- import { ReactComponent as HintIcon } from '../../icons/notification-help-fill-24.svg';
12
- import { ReactComponent as CrossIcon } from '../../icons/snackbar/cross.svg';
13
- import css from './NotificationCard.module.scss';
14
-
15
- interface NotificationAction extends IHasRawProps<React.ButtonHTMLAttributes<HTMLButtonElement>> {
16
- name: string;
17
- action: () => void;
18
- }
19
-
20
- export interface DefaultNotificationProps extends INotification, IHasChildren, IHasCX, IHasRawProps<React.HTMLAttributes<HTMLDivElement>> {
21
- actions?: NotificationAction[];
22
- }
23
-
24
- export interface NotificationCardProps extends DefaultNotificationProps {
25
- icon?: Icon;
26
- color?: SemanticColor;
27
- }
28
-
29
- export const NotificationCard = React.forwardRef<HTMLDivElement, NotificationCardProps>((props, ref) => {
30
- const notificationCardNode = React.useRef(null);
31
-
32
- React.useImperativeHandle(ref, () => notificationCardNode.current, [notificationCardNode.current]);
33
-
34
- React.useLayoutEffect(() => {
35
- notificationCardNode.current?.addEventListener('mouseenter', props.clearTimer);
36
- notificationCardNode.current?.addEventListener('mouseleave', props.refreshTimer);
37
- return () => {
38
- notificationCardNode.current?.removeEventListener('mouseenter', props.clearTimer);
39
- notificationCardNode.current?.removeEventListener('mouseleave', props.refreshTimer);
40
- };
41
- }, []);
42
-
43
- return (
44
- <div role="alert" className={ cx('uui-notification_card', props.color && `uui-color-${props.color}`, css.root, props.cx) } ref={ notificationCardNode } { ...props.rawProps }>
45
- <div className={ css.mainPath }>
46
- {props.icon && (
47
- <div className={ css.iconWrapper }>
48
- <IconContainer icon={ props.icon } cx={ css.actionIcon } />
49
- </div>
50
- )}
51
- <div className={ css.content }>
52
- {props.children}
53
- {props.actions && (
54
- <div className={ css.actionWrapper }>
55
- {props.actions.map((action) => (
56
- <LinkButton caption={ action.name } onClick={ action.action } key={ action.name } cx={ css.actionLink } size="36" rawProps={ action.rawProps } />
57
- ))}
58
- </div>
59
- )}
60
- </div>
61
- {props.onClose && (
62
- <div className={ css.closeWrapper }>
63
- <IconButton icon={ CrossIcon } color="neutral" onClick={ props.onClose } cx={ css.closeIcon } />
64
- </div>
65
- )}
66
- </div>
67
- </div>
68
- );
69
- });
70
-
71
- export const WarningNotification = React.forwardRef<HTMLDivElement, DefaultNotificationProps>((props, ref) => (
72
- <NotificationCard icon={ WarningIcon } color="warning" { ...props } ref={ ref } cx={ props.cx } />
73
- ));
74
-
75
- export const SuccessNotification = React.forwardRef<HTMLDivElement, DefaultNotificationProps>((props, ref) => (
76
- <NotificationCard icon={ SuccessIcon } color="success" { ...props } ref={ ref } cx={ props.cx } />
77
- ));
78
-
79
- export const HintNotification = React.forwardRef<HTMLDivElement, DefaultNotificationProps>((props, ref) => (
80
- <NotificationCard icon={ HintIcon } color="info" { ...props } ref={ ref } cx={ props.cx } />
81
- ));
82
-
83
- export const ErrorNotification = React.forwardRef<HTMLDivElement, DefaultNotificationProps>((props, ref) => (
84
- <NotificationCard icon={ ErrorIcon } color="error" { ...props } ref={ ref } cx={ props.cx } />
85
- ));
86
-
87
- export class ClearNotification extends React.Component<{}> {
88
- public static contextType = UuiContext;
89
- public context: UuiContexts;
90
- render() {
91
- return (
92
- <div className={ cx(css.notificationWrapper, css.clearButton) }>
93
- <LinkButton caption={ i18n.notificationCard.closeAllNotificationsButton } onClick={ () => this.context.uuiNotifications.clearAll() } />
94
- </div>
95
- );
96
- }
97
- }
@@ -1,74 +0,0 @@
1
- .root {
2
- --uui-tooltip-bg: var(--uui-color-50);
3
- --uui-tooltip-border: var(--uui-tooltip-bg);
4
- --uui-tooltip-text: var(--uui-color-contrast);
5
- --uui-tooltip-shadow: var(--uui-shadow-level-2, 0 2px 18px 0 rgba(44, 47, 60, 0.3), 0 1px 4px 0 rgba(44, 47, 60, 0.5)); /* WebStorm Bag Report https://youtrack.jetbrains.com/issue/WEB-54442 */
6
- --uui-tooltip-arrow-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2);
7
-
8
- --uui-tooltip-border-radius: var(--uui-border-radius);
9
- --uui-tooltip-font: var(--uui-font);
10
- --uui-tooltip-font-weight: 400;
11
- //
12
- :global(.uui-tooltip-body) {
13
- padding: 6px 12px;
14
- line-height: 24px;
15
- font-size: 14px;
16
- font-family: var(--uui-tooltip-font);
17
- font-weight: var(--uui-tooltip-font-weight);
18
- box-shadow: var(--uui-tooltip-shadow);
19
- word-wrap: break-word;
20
- border-radius: var(--uui-tooltip-border-radius);
21
- border: 1px solid var(--uui-tooltip-border);
22
- }
23
-
24
- :global(.uui-popover-arrow) {
25
- position: absolute;
26
- width: 12px;
27
- height: 12px;
28
- overflow: hidden;
29
- }
30
-
31
- :global(.uui-popover-arrow)::after {
32
- content: '';
33
- position: absolute;
34
- width: 8px;
35
- height: 8px;
36
- box-shadow: var(--uui-tooltip-arrow-shadow);
37
- box-sizing: border-box;
38
- }
39
-
40
- //Colors
41
- :global(.uui-tooltip-body) {
42
- background-color: var(--uui-tooltip-bg);
43
- color: var(--uui-tooltip-text);
44
- }
45
-
46
- &:global(.uui-tooltip-container) {
47
- :global(.uui-popover-arrow[data-placement^='right'])::after,
48
- :global(.uui-popover-arrow[data-placement^='left'])::after,
49
- :global(.uui-popover-arrow[data-placement^='top'])::after,
50
- :global(.uui-popover-arrow[data-placement^='bottom'])::after {
51
- background: var(--uui-tooltip-bg);
52
- }
53
-
54
- :global(.uui-popover-arrow[data-placement^='right'])::after {
55
- border-bottom: 1px solid var(--uui-tooltip-border);
56
- border-left: 1px solid var(--uui-tooltip-border);
57
- }
58
-
59
- :global(.uui-popover-arrow[data-placement^='left'])::after {
60
- border-top: 1px solid var(--uui-tooltip-border);
61
- border-right: 1px solid var(--uui-tooltip-border);
62
- }
63
-
64
- :global(.uui-popover-arrow[data-placement^='bottom'])::after {
65
- border-top: 1px solid var(--uui-tooltip-border);
66
- border-left: 1px solid var(--uui-tooltip-border);
67
- }
68
-
69
- :global(.uui-popover-arrow[data-placement^='top'])::after {
70
- border-bottom: 1px solid var(--uui-tooltip-border);
71
- border-right: 1px solid var(--uui-tooltip-border);
72
- }
73
- }
74
- }
@@ -1,19 +0,0 @@
1
- import { withMods } from '@epam/uui-core';
2
- import { Tooltip as uuiTooltip, TooltipProps as UuiTooltipProps } from '@epam/uui-components';
3
- import css from './Tooltip.module.scss';
4
-
5
- export interface TooltipMods {
6
- /** Tooltip color */
7
- color?: 'neutral' | 'inverted' | 'critical';
8
- }
9
-
10
- export type TooltipProps = UuiTooltipProps & TooltipMods;
11
-
12
- function applyTooltipMods(mods: TooltipMods) {
13
- return [
14
- css.root,
15
- `uui-color-${mods.color || 'inverted'}`,
16
- ];
17
- }
18
-
19
- export const Tooltip = withMods<TooltipProps, TooltipMods>(uuiTooltip, applyTooltipMods);