@epam/uui 5.3.0-rc.0 → 5.3.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 (861) hide show
  1. package/assets/styles/inputs.scss +25 -21
  2. package/assets/styles/typography.scss +14 -6
  3. package/build/assets/styles/buttonLayout.scss +67 -0
  4. package/build/assets/styles/controlLayout.scss +28 -0
  5. package/build/assets/styles/dnd.scss +9 -0
  6. package/build/assets/styles/effects.scss +7 -0
  7. package/build/assets/styles/icons.scss +19 -0
  8. package/build/assets/styles/index.scss +8 -0
  9. package/build/assets/styles/inputs.scss +74 -0
  10. package/build/assets/styles/text-size.scss +37 -0
  11. package/build/assets/styles/typography.scss +174 -0
  12. package/build/components/filters/FilterPanelItemToggler.d.ts +13 -0
  13. package/build/components/filters/FilterPanelItemToggler.d.ts.map +1 -0
  14. package/build/components/filters/FilterPickerBody.d.ts +9 -0
  15. package/build/components/filters/FilterPickerBody.d.ts.map +1 -0
  16. package/build/components/filters/FiltersPanel.d.ts.map +1 -0
  17. package/build/components/filters/FiltersPanelItem.d.ts.map +1 -0
  18. package/build/components/filters/PresetPanel/Preset.d.ts.map +1 -0
  19. package/build/components/filters/PresetPanel/PresetInput.d.ts.map +1 -0
  20. package/build/components/filters/PresetPanel/PresetsPanel.d.ts.map +1 -0
  21. package/build/components/filters/PresetPanel/constants.d.ts +5 -0
  22. package/build/components/filters/PresetPanel/constants.d.ts.map +1 -0
  23. package/build/components/filters/constants.d.ts +5 -0
  24. package/build/components/filters/constants.d.ts.map +1 -0
  25. package/build/components/inputs/TextInput.d.ts +15 -0
  26. package/build/components/layout/ScrollBars.d.ts +3 -0
  27. package/build/components/layout/ScrollBars.d.ts.map +1 -0
  28. package/build/components/layout/VirtualList.d.ts.map +1 -0
  29. package/build/components/navigation/MainMenu/MainMenuAvatar.d.ts +8 -0
  30. package/build/components/navigation/MainMenu/MainMenuIcon.d.ts +8 -0
  31. package/build/components/navigation/MainMenu/MainMenuSearch.d.ts +7 -0
  32. package/build/components/overlays/DropdownMenu.d.ts +37 -0
  33. package/build/components/overlays/DropdownMenu.d.ts.map +1 -0
  34. package/build/components/overlays/Tooltip.d.ts +8 -0
  35. package/build/components/pickers/DataPickerFooter.d.ts.map +1 -0
  36. package/build/components/pickers/PickerInput.d.ts.map +1 -0
  37. package/build/components/pickers/PickerModal.d.ts.map +1 -0
  38. package/build/components/pickers/highlight.d.ts.map +1 -0
  39. package/build/components/tables/DataTableHeaderCell.d.ts.map +1 -0
  40. package/build/components/types.d.ts +44 -0
  41. package/build/components/types.d.ts.map +1 -0
  42. package/build/components/typography/Text.d.ts +14 -0
  43. package/build/components/typography/Text.d.ts.map +1 -0
  44. package/build/helpers/useColumnsWithFilters.d.ts.map +1 -0
  45. package/build/index.esm.js +4674 -0
  46. package/build/index.esm.js.map +1 -0
  47. package/build/index.js +4863 -0
  48. package/build/index.js.map +1 -0
  49. package/build/package.json +37 -0
  50. package/build/readme.md +5 -0
  51. package/build/stats.html +4838 -0
  52. package/build/styles.css +11032 -0
  53. package/build/styles.css.map +1 -0
  54. package/components/buttons/Button.module.scss +157 -0
  55. package/components/buttons/Button.tsx +42 -0
  56. package/components/buttons/IconButton.module.scss +44 -0
  57. package/components/buttons/IconButton.tsx +20 -0
  58. package/components/buttons/LinkButton.module.scss +85 -0
  59. package/components/buttons/LinkButton.tsx +32 -0
  60. package/components/buttons/TabButton.module.scss +94 -0
  61. package/components/buttons/TabButton.tsx +38 -0
  62. package/components/buttons/VerticalTabButton.module.scss +7 -0
  63. package/components/buttons/VerticalTabButton.tsx +12 -0
  64. package/components/buttons/__tests__/Button.test.tsx +30 -0
  65. package/components/buttons/__tests__/IconButton.test.tsx +16 -0
  66. package/components/buttons/__tests__/LinkButton.test.tsx +16 -0
  67. package/components/buttons/__tests__/TabButton.test.tsx +16 -0
  68. package/components/buttons/__tests__/VerticalTabButton.test.tsx +16 -0
  69. package/components/buttons/__tests__/__snapshots__/Button.test.tsx.snap +58 -0
  70. package/components/buttons/__tests__/__snapshots__/IconButton.test.tsx.snap +34 -0
  71. package/components/buttons/__tests__/__snapshots__/LinkButton.test.tsx.snap +47 -0
  72. package/components/buttons/__tests__/__snapshots__/TabButton.test.tsx.snap +31 -0
  73. package/components/buttons/__tests__/__snapshots__/VerticalTabButton.test.tsx.snap +31 -0
  74. package/components/buttons/helper.ts +22 -0
  75. package/components/buttons/index.ts +5 -0
  76. package/components/datePickers/Calendar.module.scss +143 -0
  77. package/components/datePickers/Calendar.tsx +10 -0
  78. package/components/datePickers/CalendarPresets.module.scss +30 -0
  79. package/components/datePickers/CalendarPresets.tsx +9 -0
  80. package/components/datePickers/DatePicker.tsx +70 -0
  81. package/components/datePickers/DatePickerBody.module.scss +107 -0
  82. package/components/datePickers/DatePickerBody.tsx +74 -0
  83. package/components/datePickers/DatePickerHeader.module.scss +15 -0
  84. package/components/datePickers/DatePickerHeader.tsx +113 -0
  85. package/components/datePickers/RangeDatePicker.module.scss +101 -0
  86. package/components/datePickers/RangeDatePicker.tsx +107 -0
  87. package/components/datePickers/RangeDatePickerBody.module.scss +127 -0
  88. package/components/datePickers/RangeDatePickerBody.tsx +252 -0
  89. package/components/datePickers/__tests__/Calendar.test.tsx +11 -0
  90. package/components/datePickers/__tests__/CalendarPresets.test.tsx +11 -0
  91. package/components/datePickers/__tests__/DatePicker.test.tsx +119 -0
  92. package/components/datePickers/__tests__/DatePickerBody.test.tsx +36 -0
  93. package/components/datePickers/__tests__/DatePickerHeader.test.tsx +57 -0
  94. package/components/datePickers/__tests__/RangeDatePicker.test.tsx +181 -0
  95. package/components/datePickers/__tests__/RangeDatePickerBody.test.tsx +186 -0
  96. package/components/datePickers/__tests__/__snapshots__/Calendar.test.tsx.snap +524 -0
  97. package/components/datePickers/__tests__/__snapshots__/CalendarPresets.test.tsx.snap +61 -0
  98. package/components/datePickers/__tests__/__snapshots__/DatePicker.test.tsx.snap +57 -0
  99. package/components/datePickers/__tests__/__snapshots__/DatePickerBody.test.tsx.snap +62 -0
  100. package/components/datePickers/__tests__/__snapshots__/RangeDatePicker.test.tsx.snap +115 -0
  101. package/components/datePickers/__tests__/__snapshots__/RangeDatePickerBody.test.tsx.snap +1231 -0
  102. package/components/datePickers/index.ts +5 -0
  103. package/components/dnd/DropMarker.module.scss +62 -0
  104. package/components/dnd/DropMarker.tsx +25 -0
  105. package/components/dnd/__tests__/DropMarker.test.tsx +31 -0
  106. package/components/dnd/__tests__/__snapshots__/DropMarker.test.tsx.snap +7 -0
  107. package/components/dnd/index.tsx +1 -0
  108. package/components/fileUpload/DropSpot.module.scss +47 -0
  109. package/components/fileUpload/DropSpot.tsx +57 -0
  110. package/components/fileUpload/FileCard.module.scss +88 -0
  111. package/components/fileUpload/FileCard.tsx +134 -0
  112. package/components/fileUpload/SvgCircleProgress.module.scss +8 -0
  113. package/components/fileUpload/SvgCircleProgress.tsx +35 -0
  114. package/components/fileUpload/__tests__/DropSpot.test.tsx +15 -0
  115. package/components/fileUpload/__tests__/FileCard.test.tsx +57 -0
  116. package/components/fileUpload/__tests__/SvgCircleProgress.test.tsx +10 -0
  117. package/components/fileUpload/__tests__/__snapshots__/DropSpot.test.tsx.snap +130 -0
  118. package/components/fileUpload/__tests__/__snapshots__/FileCard.test.tsx.snap +266 -0
  119. package/components/fileUpload/__tests__/__snapshots__/SvgCircleProgress.test.tsx.snap +26 -0
  120. package/components/fileUpload/index.ts +3 -0
  121. package/components/filters/FilterDatePickerBody.tsx +63 -0
  122. package/components/filters/FilterItemBody.tsx +23 -0
  123. package/components/filters/FilterNumericBody.module.scss +4 -0
  124. package/components/filters/FilterNumericBody.tsx +111 -0
  125. package/components/filters/FilterPanelItemToggler.module.scss +140 -0
  126. package/components/filters/FilterPanelItemToggler.tsx +91 -0
  127. package/components/filters/FilterPickerBody.tsx +73 -0
  128. package/components/filters/FilterRangeDatePickerBody.module.scss +92 -0
  129. package/components/filters/FilterRangeDatePickerBody.tsx +85 -0
  130. package/components/filters/FiltersPanel.tsx +218 -0
  131. package/components/filters/FiltersPanelItem.module.scss +22 -0
  132. package/components/filters/FiltersPanelItem.tsx +257 -0
  133. package/components/filters/PresetPanel/Preset.module.scss +25 -0
  134. package/components/filters/PresetPanel/Preset.tsx +61 -0
  135. package/components/filters/PresetPanel/PresetActionsDropdown.module.scss +23 -0
  136. package/components/filters/PresetPanel/PresetActionsDropdown.tsx +138 -0
  137. package/components/filters/PresetPanel/PresetInput.module.scss +55 -0
  138. package/components/filters/PresetPanel/PresetInput.tsx +50 -0
  139. package/components/filters/PresetPanel/PresetsPanel.module.scss +34 -0
  140. package/components/filters/PresetPanel/PresetsPanel.tsx +112 -0
  141. package/components/filters/PresetPanel/__tests__/Preset.test.tsx +44 -0
  142. package/components/filters/PresetPanel/__tests__/PresetActionsDropdown.test.tsx +28 -0
  143. package/components/filters/PresetPanel/__tests__/PresetInput.test.tsx +10 -0
  144. package/components/filters/PresetPanel/__tests__/__snapshots__/Preset.test.tsx.snap +101 -0
  145. package/components/filters/PresetPanel/__tests__/__snapshots__/PresetActionsDropdown.test.tsx.snap +19 -0
  146. package/components/filters/PresetPanel/__tests__/__snapshots__/PresetInput.test.tsx.snap +35 -0
  147. package/components/filters/PresetPanel/__tests__/__snapshots__/presetsPanel.test.tsx.snap +101 -0
  148. package/components/filters/PresetPanel/__tests__/presetsPanel.test.tsx +395 -0
  149. package/components/filters/PresetPanel/constants.ts +4 -0
  150. package/components/filters/PresetPanel/index.ts +1 -0
  151. package/components/filters/__tests__/filtersPanel.test.tsx +371 -0
  152. package/components/filters/constants.ts +4 -0
  153. package/components/filters/defaultPredicates.ts +11 -0
  154. package/components/filters/index.ts +4 -0
  155. package/components/forms/Form.tsx +39 -0
  156. package/components/forms/index.tsx +2 -0
  157. package/components/forms/useForm.tsx +39 -0
  158. package/components/index.ts +15 -0
  159. package/components/inputs/Checkbox.module.scss +162 -0
  160. package/components/inputs/Checkbox.tsx +30 -0
  161. package/components/inputs/InputAddon.module.scss +11 -0
  162. package/components/inputs/InputAddon.tsx +11 -0
  163. package/components/inputs/MultiSwitch.tsx +39 -0
  164. package/components/inputs/NumericInput.module.scss +97 -0
  165. package/components/inputs/NumericInput.tsx +27 -0
  166. package/components/inputs/RadioInput.module.scss +200 -0
  167. package/components/inputs/RadioInput.tsx +16 -0
  168. package/components/inputs/Slider.module.scss +130 -0
  169. package/components/inputs/Slider.tsx +11 -0
  170. package/components/inputs/Switch.module.scss +172 -0
  171. package/components/inputs/Switch.tsx +17 -0
  172. package/components/inputs/TextArea.module.scss +210 -0
  173. package/components/inputs/TextArea.tsx +24 -0
  174. package/components/inputs/TextInput.module.scss +187 -0
  175. package/components/inputs/TextInput.tsx +59 -0
  176. package/components/inputs/TimePicker.module.scss +68 -0
  177. package/components/inputs/TimePicker.tsx +69 -0
  178. package/components/inputs/TimePickerBody.tsx +10 -0
  179. package/components/inputs/__tests__/Checkbox.test.tsx +15 -0
  180. package/components/inputs/__tests__/MultiSwitch.test.tsx +16 -0
  181. package/components/inputs/__tests__/NumericInput.test.tsx +208 -0
  182. package/components/inputs/__tests__/RadioInput.test.tsx +15 -0
  183. package/components/inputs/__tests__/Slider.test.tsx +22 -0
  184. package/components/inputs/__tests__/Switch.test.tsx +15 -0
  185. package/components/inputs/__tests__/TextArea.test.tsx +15 -0
  186. package/components/inputs/__tests__/TextInput.test.tsx +20 -0
  187. package/components/inputs/__tests__/TimePicker.test.tsx +19 -0
  188. package/components/inputs/__tests__/TimePickerBody.test.tsx +38 -0
  189. package/components/inputs/__tests__/__snapshots__/Checkbox.test.tsx.snap +39 -0
  190. package/components/inputs/__tests__/__snapshots__/MultiSwitch.test.tsx.snap +37 -0
  191. package/components/inputs/__tests__/__snapshots__/NumericInput.test.tsx.snap +93 -0
  192. package/components/inputs/__tests__/__snapshots__/RadioInput.test.tsx.snap +40 -0
  193. package/components/inputs/__tests__/__snapshots__/Slider.test.tsx.snap +157 -0
  194. package/components/inputs/__tests__/__snapshots__/Switch.test.tsx.snap +48 -0
  195. package/components/inputs/__tests__/__snapshots__/TextArea.test.tsx.snap +32 -0
  196. package/components/inputs/__tests__/__snapshots__/TextInput.test.tsx.snap +53 -0
  197. package/components/inputs/__tests__/__snapshots__/TimePicker.test.tsx +19 -0
  198. package/components/inputs/__tests__/__snapshots__/TimePicker.test.tsx.snap +43 -0
  199. package/components/inputs/__tests__/__snapshots__/TimePickerBody.test.tsx +38 -0
  200. package/components/inputs/__tests__/__snapshots__/TimePickerBody.test.tsx.snap +321 -0
  201. package/components/inputs/__tests__/__snapshots__/__snapshots__/TimePicker.test.tsx.snap +43 -0
  202. package/components/inputs/__tests__/__snapshots__/__snapshots__/TimePickerBody.test.tsx.snap +321 -0
  203. package/components/inputs/index.ts +10 -0
  204. package/components/layout/Accordion.module.scss +180 -0
  205. package/components/layout/Accordion.tsx +23 -0
  206. package/components/layout/Blocker.module.scss +30 -0
  207. package/components/layout/Blocker.tsx +11 -0
  208. package/components/layout/CheckboxGroup.module.scss +15 -0
  209. package/components/layout/CheckboxGroup.tsx +10 -0
  210. package/components/layout/ControlGroup.module.scss +15 -0
  211. package/components/layout/ControlGroup.tsx +5 -0
  212. package/components/layout/FlexItems/FlexCell.module.scss +5 -0
  213. package/components/layout/FlexItems/FlexCell.tsx +9 -0
  214. package/components/layout/FlexItems/FlexRow.module.scss +122 -0
  215. package/components/layout/FlexItems/FlexRow.tsx +32 -0
  216. package/components/layout/FlexItems/Panel.module.scss +34 -0
  217. package/components/layout/FlexItems/Panel.tsx +19 -0
  218. package/components/layout/FlexItems/__tests__/FlexCell.test.tsx +15 -0
  219. package/components/layout/FlexItems/__tests__/FlexRow.test.tsx +17 -0
  220. package/components/layout/FlexItems/__tests__/FlexSpacer.test.tsx +10 -0
  221. package/components/layout/FlexItems/__tests__/Panel.test.tsx +15 -0
  222. package/components/layout/FlexItems/__tests__/__snapshots__/FlexCell.test.tsx.snap +34 -0
  223. package/components/layout/FlexItems/__tests__/__snapshots__/FlexRow.test.tsx.snap +26 -0
  224. package/components/layout/FlexItems/__tests__/__snapshots__/FlexSpacer.test.tsx.snap +7 -0
  225. package/components/layout/FlexItems/__tests__/__snapshots__/Panel.test.tsx.snap +14 -0
  226. package/components/layout/FlexItems/index.ts +4 -0
  227. package/components/layout/LabeledInput.module.scss +139 -0
  228. package/components/layout/LabeledInput.tsx +21 -0
  229. package/components/layout/RadioGroup.module.scss +15 -0
  230. package/components/layout/RadioGroup.tsx +10 -0
  231. package/components/layout/ScrollBars.module.scss +56 -0
  232. package/components/layout/ScrollBars.tsx +11 -0
  233. package/components/layout/VirtualList.module.scss +10 -0
  234. package/components/layout/VirtualList.tsx +127 -0
  235. package/components/layout/__tests__/Accordion.test.tsx +16 -0
  236. package/components/layout/__tests__/Blocker.test.tsx +10 -0
  237. package/components/layout/__tests__/CheckboxGroup.test.tsx +33 -0
  238. package/components/layout/__tests__/ControlGroup.test.tsx +18 -0
  239. package/components/layout/__tests__/LabeledInput.test.tsx +26 -0
  240. package/components/layout/__tests__/RadioGroup.test.tsx +33 -0
  241. package/components/layout/__tests__/ScrollBars.test.tsx +17 -0
  242. package/components/layout/__tests__/VirtualList.test.tsx +10 -0
  243. package/components/layout/__tests__/__snapshots__/Accordion.test.tsx.snap +65 -0
  244. package/components/layout/__tests__/__snapshots__/Blocker.test.tsx.snap +36 -0
  245. package/components/layout/__tests__/__snapshots__/CheckboxGroup.test.tsx.snap +103 -0
  246. package/components/layout/__tests__/__snapshots__/ControlGroup.test.tsx.snap +33 -0
  247. package/components/layout/__tests__/__snapshots__/LabeledInput.test.tsx.snap +87 -0
  248. package/components/layout/__tests__/__snapshots__/RadioGroup.test.tsx.snap +95 -0
  249. package/components/layout/__tests__/__snapshots__/ScrollBars.test.tsx.snap +68 -0
  250. package/components/layout/__tests__/__snapshots__/VirtualList.test.tsx.snap +90 -0
  251. package/components/layout/index.ts +10 -0
  252. package/components/navigation/Anchor.module.scss +7 -0
  253. package/components/navigation/Anchor.tsx +5 -0
  254. package/components/navigation/MainMenu/Burger/Burger.module.scss +81 -0
  255. package/components/navigation/MainMenu/Burger/Burger.tsx +18 -0
  256. package/components/navigation/MainMenu/Burger/BurgerButton.module.scss +69 -0
  257. package/components/navigation/MainMenu/Burger/BurgerButton.tsx +22 -0
  258. package/components/navigation/MainMenu/Burger/BurgerGroupHeader.module.scss +31 -0
  259. package/components/navigation/MainMenu/Burger/BurgerGroupHeader.tsx +16 -0
  260. package/components/navigation/MainMenu/Burger/BurgerSearch.module.scss +51 -0
  261. package/components/navigation/MainMenu/Burger/BurgerSearch.tsx +23 -0
  262. package/components/navigation/MainMenu/Burger/__tests__/Burger.test.tsx +13 -0
  263. package/components/navigation/MainMenu/Burger/__tests__/BurgerButton.test.tsx +18 -0
  264. package/components/navigation/MainMenu/Burger/__tests__/BurgerGroupHeader.test.tsx +10 -0
  265. package/components/navigation/MainMenu/Burger/__tests__/BurgerSearch.test.tsx +20 -0
  266. package/components/navigation/MainMenu/Burger/__tests__/__snapshots__/Burger.test.tsx.snap +21 -0
  267. package/components/navigation/MainMenu/Burger/__tests__/__snapshots__/BurgerButton.test.tsx.snap +46 -0
  268. package/components/navigation/MainMenu/Burger/__tests__/__snapshots__/BurgerGroupHeader.test.tsx.snap +16 -0
  269. package/components/navigation/MainMenu/Burger/__tests__/__snapshots__/BurgerSearch.test.tsx.snap +53 -0
  270. package/components/navigation/MainMenu/Burger/index.ts +4 -0
  271. package/components/navigation/MainMenu/GlobalMenu.module.scss +32 -0
  272. package/components/navigation/MainMenu/GlobalMenu.tsx +14 -0
  273. package/components/navigation/MainMenu/MainMenu.module.scss +53 -0
  274. package/components/navigation/MainMenu/MainMenu.tsx +21 -0
  275. package/components/navigation/MainMenu/MainMenuAvatar.module.scss +41 -0
  276. package/components/navigation/MainMenu/MainMenuAvatar.tsx +30 -0
  277. package/components/navigation/MainMenu/MainMenuButton.module.scss +58 -0
  278. package/components/navigation/MainMenu/MainMenuButton.tsx +14 -0
  279. package/components/navigation/MainMenu/MainMenuDropdown.module.scss +44 -0
  280. package/components/navigation/MainMenu/MainMenuDropdown.tsx +47 -0
  281. package/components/navigation/MainMenu/MainMenuIcon.module.scss +25 -0
  282. package/components/navigation/MainMenu/MainMenuIcon.tsx +13 -0
  283. package/components/navigation/MainMenu/MainMenuSearch.module.scss +51 -0
  284. package/components/navigation/MainMenu/MainMenuSearch.tsx +26 -0
  285. package/components/navigation/MainMenu/__tests__/GlobalMenu.test.tsx +10 -0
  286. package/components/navigation/MainMenu/__tests__/MainMenu.test.tsx +45 -0
  287. package/components/navigation/MainMenu/__tests__/MainMenuAvatar.test.tsx +27 -0
  288. package/components/navigation/MainMenu/__tests__/MainMenuButton.test.tsx +30 -0
  289. package/components/navigation/MainMenu/__tests__/MainMenuDropdown.test.tsx +24 -0
  290. package/components/navigation/MainMenu/__tests__/MainMenuIcon.test.tsx +18 -0
  291. package/components/navigation/MainMenu/__tests__/MainMenuSearch.test.tsx +28 -0
  292. package/components/navigation/MainMenu/__tests__/__snapshots__/GlobalMenu.test.tsx.snap +17 -0
  293. package/components/navigation/MainMenu/__tests__/__snapshots__/MainMenu.test.tsx.snap +103 -0
  294. package/components/navigation/MainMenu/__tests__/__snapshots__/MainMenuAvatar.test.tsx.snap +39 -0
  295. package/components/navigation/MainMenu/__tests__/__snapshots__/MainMenuButton.test.tsx.snap +37 -0
  296. package/components/navigation/MainMenu/__tests__/__snapshots__/MainMenuDropdown.test.tsx.snap +46 -0
  297. package/components/navigation/MainMenu/__tests__/__snapshots__/MainMenuIcon.test.tsx.snap +39 -0
  298. package/components/navigation/MainMenu/__tests__/__snapshots__/MainMenuSearch.test.tsx.snap +53 -0
  299. package/components/navigation/MainMenu/index.ts +8 -0
  300. package/components/navigation/__tests__/Anchor.test.tsx +21 -0
  301. package/components/navigation/__tests__/__snapshots__/Anchor.test.tsx.snap +29 -0
  302. package/components/navigation/index.ts +2 -0
  303. package/components/overlays/Alert.module.scss +77 -0
  304. package/components/overlays/Alert.tsx +75 -0
  305. package/components/overlays/ConfirmationModal.tsx +38 -0
  306. package/components/overlays/Dropdown.tsx +7 -0
  307. package/components/overlays/DropdownContainer.module.scss +93 -0
  308. package/components/overlays/DropdownContainer.tsx +20 -0
  309. package/components/overlays/DropdownMenu.module.scss +181 -0
  310. package/components/overlays/DropdownMenu.tsx +262 -0
  311. package/components/overlays/Modals.module.scss +63 -0
  312. package/components/overlays/Modals.tsx +82 -0
  313. package/components/overlays/NotificationCard.module.scss +76 -0
  314. package/components/overlays/NotificationCard.tsx +97 -0
  315. package/components/overlays/Tooltip.module.scss +74 -0
  316. package/components/overlays/Tooltip.tsx +19 -0
  317. package/components/overlays/__tests__/Alert.test.tsx +57 -0
  318. package/components/overlays/__tests__/ConfirmationModal.test.tsx +29 -0
  319. package/components/overlays/__tests__/Dropdown.test.tsx +16 -0
  320. package/components/overlays/__tests__/DropdownContainer.test.tsx +28 -0
  321. package/components/overlays/__tests__/DropdownMenu.test.tsx +26 -0
  322. package/components/overlays/__tests__/Modals.test.tsx +35 -0
  323. package/components/overlays/__tests__/NotificationCard.test.tsx +52 -0
  324. package/components/overlays/__tests__/Tooltip.test.tsx +20 -0
  325. package/components/overlays/__tests__/__snapshots__/Alert.test.tsx.snap +183 -0
  326. package/components/overlays/__tests__/__snapshots__/ConfirmationModal.test.tsx.snap +423 -0
  327. package/components/overlays/__tests__/__snapshots__/Dropdown.test.tsx.snap +51 -0
  328. package/components/overlays/__tests__/__snapshots__/DropdownContainer.test.tsx.snap +82 -0
  329. package/components/overlays/__tests__/__snapshots__/DropdownMenu.test.tsx.snap +128 -0
  330. package/components/overlays/__tests__/__snapshots__/Modals.test.tsx.snap +206 -0
  331. package/components/overlays/__tests__/__snapshots__/NotificationCard.test.tsx.snap +284 -0
  332. package/components/overlays/__tests__/__snapshots__/Tooltip.test.tsx.snap +5 -0
  333. package/components/overlays/index.ts +8 -0
  334. package/components/pickers/DataPickerBody.module.scss +54 -0
  335. package/components/pickers/DataPickerBody.tsx +68 -0
  336. package/components/pickers/DataPickerFooter.tsx +85 -0
  337. package/components/pickers/DataPickerHeader.module.scss +19 -0
  338. package/components/pickers/DataPickerHeader.tsx +24 -0
  339. package/components/pickers/DataPickerRow.module.scss +30 -0
  340. package/components/pickers/DataPickerRow.tsx +77 -0
  341. package/components/pickers/MobileDropdownWrapper.module.scss +20 -0
  342. package/components/pickers/MobileDropdownWrapper.tsx +38 -0
  343. package/components/pickers/PickerInput.module.scss +39 -0
  344. package/components/pickers/PickerInput.tsx +180 -0
  345. package/components/pickers/PickerItem.module.scss +32 -0
  346. package/components/pickers/PickerItem.tsx +66 -0
  347. package/components/pickers/PickerList.tsx +83 -0
  348. package/components/pickers/PickerListItem.module.scss +3 -0
  349. package/components/pickers/PickerListItem.tsx +55 -0
  350. package/components/pickers/PickerModal.module.scss +27 -0
  351. package/components/pickers/PickerModal.tsx +145 -0
  352. package/components/pickers/PickerToggler.module.scss +249 -0
  353. package/components/pickers/PickerToggler.tsx +84 -0
  354. package/components/pickers/__tests__/DataPickerBody.test.tsx +58 -0
  355. package/components/pickers/__tests__/DataPickerRow.test.tsx +39 -0
  356. package/components/pickers/__tests__/PickerInput.test.tsx +1041 -0
  357. package/components/pickers/__tests__/PickerList.test.tsx +619 -0
  358. package/components/pickers/__tests__/PickerModal.test.tsx +542 -0
  359. package/components/pickers/__tests__/PickerToggler.test.tsx +40 -0
  360. package/components/pickers/__tests__/__snapshots__/DataPickerBody.test.tsx.snap +197 -0
  361. package/components/pickers/__tests__/__snapshots__/DataPickerRow.test.tsx.snap +114 -0
  362. package/components/pickers/__tests__/__snapshots__/PickerInput.test.tsx.snap +705 -0
  363. package/components/pickers/__tests__/__snapshots__/PickerList.test.tsx.snap +828 -0
  364. package/components/pickers/__tests__/__snapshots__/PickerModal.test.tsx.snap +1638 -0
  365. package/components/pickers/__tests__/__snapshots__/PickerToggler.test.tsx.snap +81 -0
  366. package/components/pickers/__tests__/highlight.test.tsx +37 -0
  367. package/components/pickers/__tests__/mocks.ts +87 -0
  368. package/components/pickers/helpers.ts +4 -0
  369. package/components/pickers/highlight.tsx +93 -0
  370. package/components/pickers/index.ts +12 -0
  371. package/components/tables/ColumnHeaderDropdown/ColumnHeaderDropdown.tsx +46 -0
  372. package/components/tables/ColumnHeaderDropdown/SortingPanel.module.scss +14 -0
  373. package/components/tables/ColumnHeaderDropdown/SortingPanel.tsx +27 -0
  374. package/components/tables/ColumnHeaderDropdown/index.ts +1 -0
  375. package/components/tables/DataRowsContainer/DataRowsContainer.module.scss +21 -0
  376. package/components/tables/DataRowsContainer/DataRowsContainer.tsx +27 -0
  377. package/components/tables/DataRowsContainer/DataRowsGroups.tsx +86 -0
  378. package/components/tables/DataRowsContainer/index.tsx +1 -0
  379. package/components/tables/DataRowsContainer/utils.ts +15 -0
  380. package/components/tables/DataTable.module.scss +54 -0
  381. package/components/tables/DataTable.tsx +149 -0
  382. package/components/tables/DataTableCell.module.scss +123 -0
  383. package/components/tables/DataTableCell.tsx +96 -0
  384. package/components/tables/DataTableHeaderCell.module.scss +161 -0
  385. package/components/tables/DataTableHeaderCell.tsx +144 -0
  386. package/components/tables/DataTableHeaderRow.module.scss +23 -0
  387. package/components/tables/DataTableHeaderRow.tsx +19 -0
  388. package/components/tables/DataTableRow.module.scss +58 -0
  389. package/components/tables/DataTableRow.tsx +31 -0
  390. package/components/tables/__tests__/ColumnHeaderDropdown.test.tsx +25 -0
  391. package/components/tables/__tests__/DataTable.test.tsx +23 -0
  392. package/components/tables/__tests__/DataTableCell.test.tsx +66 -0
  393. package/components/tables/__tests__/DataTableHeaderCell.test.tsx +21 -0
  394. package/components/tables/__tests__/DataTableHeaderRow.test.tsx +28 -0
  395. package/components/tables/__tests__/DataTableRow.test.tsx +30 -0
  396. package/components/tables/__tests__/__snapshots__/ColumnHeaderDropdown.test.tsx.snap +181 -0
  397. package/components/tables/__tests__/__snapshots__/DataTable.test.tsx.snap +122 -0
  398. package/components/tables/__tests__/__snapshots__/DataTableCell.test.tsx.snap +45 -0
  399. package/components/tables/__tests__/__snapshots__/DataTableHeaderCell.test.tsx.snap +34 -0
  400. package/components/tables/__tests__/__snapshots__/DataTableHeaderRow.test.tsx.snap +51 -0
  401. package/components/tables/__tests__/__snapshots__/DataTableRow.test.tsx.snap +54 -0
  402. package/components/tables/columnsConfigurationModal/ColumnRow.module.scss +44 -0
  403. package/components/tables/columnsConfigurationModal/ColumnRow.tsx +68 -0
  404. package/components/tables/columnsConfigurationModal/ColumnsConfigurationModal.module.scss +55 -0
  405. package/components/tables/columnsConfigurationModal/ColumnsConfigurationModal.tsx +153 -0
  406. package/components/tables/columnsConfigurationModal/PinIconButton.tsx +55 -0
  407. package/components/tables/columnsConfigurationModal/__tests__/ColumnsConfigurationModal.test.tsx +72 -0
  408. package/components/tables/columnsConfigurationModal/__tests__/__snapshots__/ColumnsConfigurationModal.test.tsx.snap +951 -0
  409. package/components/tables/columnsConfigurationModal/index.ts +1 -0
  410. package/components/tables/index.ts +9 -0
  411. package/components/tables/types.ts +33 -0
  412. package/components/tables/variables.scss +25 -0
  413. package/components/types.ts +73 -0
  414. package/components/typography/RichTextView.tsx +13 -0
  415. package/components/typography/Text.module.scss +50 -0
  416. package/components/typography/Text.tsx +39 -0
  417. package/components/typography/TextPlaceholder.module.scss +33 -0
  418. package/components/typography/TextPlaceholder.tsx +38 -0
  419. package/components/typography/__tests__/RichTextView.test.tsx +27 -0
  420. package/components/typography/__tests__/Text.test.tsx +21 -0
  421. package/components/typography/__tests__/TextPlaceholder.test.tsx +23 -0
  422. package/components/typography/__tests__/__snapshots__/RichTextView.test.tsx.snap +21 -0
  423. package/components/typography/__tests__/__snapshots__/Text.test.tsx.snap +18 -0
  424. package/components/typography/__tests__/__snapshots__/TextPlaceholder.test.tsx.snap +65 -0
  425. package/components/typography/index.ts +3 -0
  426. package/components/widgets/AvatarStack.module.scss +36 -0
  427. package/components/widgets/AvatarStack.tsx +5 -0
  428. package/components/widgets/Badge.module.scss +334 -0
  429. package/components/widgets/Badge.tsx +75 -0
  430. package/components/widgets/CountIndicator.module.scss +52 -0
  431. package/components/widgets/CountIndicator.tsx +26 -0
  432. package/components/widgets/IndeterminateBar.module.scss +42 -0
  433. package/components/widgets/IndeterminateBar.tsx +16 -0
  434. package/components/widgets/IndicatorBar.module.scss +3 -0
  435. package/components/widgets/IndicatorBar.tsx +20 -0
  436. package/components/widgets/Paginator.module.scss +66 -0
  437. package/components/widgets/Paginator.tsx +64 -0
  438. package/components/widgets/ProgressBar.module.scss +52 -0
  439. package/components/widgets/ProgressBar.tsx +24 -0
  440. package/components/widgets/Spinner.module.scss +38 -0
  441. package/components/widgets/Spinner.tsx +11 -0
  442. package/components/widgets/StatusIndicator.module.scss +72 -0
  443. package/components/widgets/StatusIndicator.tsx +36 -0
  444. package/components/widgets/Tag.module.scss +121 -0
  445. package/components/widgets/Tag.tsx +55 -0
  446. package/components/widgets/__tests__/AvatarStack.test.tsx +19 -0
  447. package/components/widgets/__tests__/Badge.test.tsx +30 -0
  448. package/components/widgets/__tests__/IndeterminateBar.test.tsx +15 -0
  449. package/components/widgets/__tests__/IndicatorBar.test.tsx +15 -0
  450. package/components/widgets/__tests__/Paginator.test.tsx +10 -0
  451. package/components/widgets/__tests__/ProgressBar.test.tsx +25 -0
  452. package/components/widgets/__tests__/Spinner.test.tsx +10 -0
  453. package/components/widgets/__tests__/StatusIndicator.test.tsx +17 -0
  454. package/components/widgets/__tests__/Tag.test.tsx +18 -0
  455. package/components/widgets/__tests__/__snapshots__/AvatarStack.test.tsx.snap +55 -0
  456. package/components/widgets/__tests__/__snapshots__/Badge.test.tsx.snap +48 -0
  457. package/components/widgets/__tests__/__snapshots__/IndeterminateBar.test.tsx.snap +21 -0
  458. package/components/widgets/__tests__/__snapshots__/IndicatorBar.test.tsx.snap +30 -0
  459. package/components/widgets/__tests__/__snapshots__/Paginator.test.tsx.snap +125 -0
  460. package/components/widgets/__tests__/__snapshots__/ProgressBar.test.tsx.snap +107 -0
  461. package/components/widgets/__tests__/__snapshots__/Spinner.test.tsx.snap +21 -0
  462. package/components/widgets/__tests__/__snapshots__/StatusIndicator.test.tsx.snap +31 -0
  463. package/components/widgets/__tests__/__snapshots__/Tag.test.tsx.snap +48 -0
  464. package/components/widgets/index.ts +11 -0
  465. package/globals.d.ts +12 -0
  466. package/helpers/index.ts +2 -0
  467. package/helpers/text-layout.module.scss +81 -0
  468. package/helpers/textLayout.tsx +35 -0
  469. package/helpers/useColumnsWithFilters.tsx +34 -0
  470. package/i18n.ts +105 -0
  471. package/icons/accept-12.svg +1 -0
  472. package/icons/accept-18.svg +1 -0
  473. package/icons/accept-24.svg +1 -0
  474. package/icons/action-settings-12.svg +1 -0
  475. package/icons/action-settings-18.svg +1 -0
  476. package/icons/action-settings-24.svg +1 -0
  477. package/icons/btn-cross-12.svg +1 -0
  478. package/icons/btn-cross-18.svg +1 -0
  479. package/icons/btn-cross-24.svg +1 -0
  480. package/icons/burger-close.svg +3 -0
  481. package/icons/burger.svg +3 -0
  482. package/icons/calendar-12.svg +1 -0
  483. package/icons/calendar-18.svg +1 -0
  484. package/icons/calendar-24.svg +1 -0
  485. package/icons/check-12.svg +3 -0
  486. package/icons/check-18.svg +3 -0
  487. package/icons/checkbox-checked.svg +21 -0
  488. package/icons/checkbox-partial.svg +21 -0
  489. package/icons/checkbox_tick.svg +44 -0
  490. package/icons/chevron-down-24.svg +1 -0
  491. package/icons/chevron-up-24.svg +1 -0
  492. package/icons/content-edit-12.svg +1 -0
  493. package/icons/content-edit-18.svg +1 -0
  494. package/icons/content-edit-24.svg +1 -0
  495. package/icons/empty-table.svg +58 -0
  496. package/icons/fileUpload/file-file-24.svg +1 -0
  497. package/icons/fileUpload/file-file_chart-24.svg +1 -0
  498. package/icons/fileUpload/file-file_eml-24.svg +1 -0
  499. package/icons/fileUpload/file-file_excel-24.svg +1 -0
  500. package/icons/fileUpload/file-file_image-24.svg +1 -0
  501. package/icons/fileUpload/file-file_pdf-24.svg +1 -0
  502. package/icons/fileUpload/file-file_table-24.svg +1 -0
  503. package/icons/fileUpload/file-file_text-24.svg +1 -0
  504. package/icons/fileUpload/file-file_video-24.svg +1 -0
  505. package/icons/fileUpload/file-file_word-24.svg +1 -0
  506. package/icons/fileUpload/shape.svg +2 -0
  507. package/icons/filter.svg +11 -0
  508. package/icons/folding-arrow-12.svg +1 -0
  509. package/icons/folding-arrow-18.svg +1 -0
  510. package/icons/folding-arrow-24.svg +1 -0
  511. package/icons/global_menu.svg +9 -0
  512. package/icons/help-fill-10.svg +3 -0
  513. package/icons/help-fill-16.svg +3 -0
  514. package/icons/icons.tsx +116 -0
  515. package/icons/info-12.svg +3 -0
  516. package/icons/info-18.svg +1 -0
  517. package/icons/info-24.svg +1 -0
  518. package/icons/logo-arrow.svg +4 -0
  519. package/icons/menu_input_cancel.svg +84 -0
  520. package/icons/modal-close-cross.svg +22 -0
  521. package/icons/navigation-close-24.svg +1 -0
  522. package/icons/navigation-more_vert-12.svg +1 -0
  523. package/icons/navigation-more_vert-18.svg +1 -0
  524. package/icons/navigation-more_vert-24.svg +1 -0
  525. package/icons/notification-check_circle-fill-24.svg +1 -0
  526. package/icons/notification-done-12.svg +1 -0
  527. package/icons/notification-done-18.svg +1 -0
  528. package/icons/notification-done-24.svg +1 -0
  529. package/icons/notification-error-fill-10.svg +1 -0
  530. package/icons/notification-error-fill-24.svg +1 -0
  531. package/icons/notification-help-fill-24.svg +1 -0
  532. package/icons/notification-warning-fill-24.svg +1 -0
  533. package/icons/partly-select-12.svg +3 -0
  534. package/icons/partly-select-18.svg +3 -0
  535. package/icons/radio-point.svg +3 -0
  536. package/icons/search-12.svg +1 -0
  537. package/icons/search-18.svg +1 -0
  538. package/icons/search-24.svg +1 -0
  539. package/icons/search-with-background.svg +4 -0
  540. package/icons/settings-18.svg +1 -0
  541. package/icons/slider-rating/active_mark_blue_icon.svg +23 -0
  542. package/icons/slider-rating/active_mark_green_icon.svg +23 -0
  543. package/icons/slider-rating/active_mark_red_icon.svg +23 -0
  544. package/icons/slider-rating/active_mark_violet_icon.svg +23 -0
  545. package/icons/slider-rating/active_mark_yellow_icon.svg +23 -0
  546. package/icons/slider-rating/line_blue_icon.svg +31 -0
  547. package/icons/slider-rating/line_gray_icon.svg +20 -0
  548. package/icons/slider-rating/line_red_icon.svg +42 -0
  549. package/icons/slider-rating/line_violet_icon.svg +33 -0
  550. package/icons/slider-rating/line_yellow_icon.svg +34 -0
  551. package/icons/slider-rating/na_active_icon.svg +13 -0
  552. package/icons/slider-rating/na_icon.svg +13 -0
  553. package/icons/snackbar/cross.svg +1 -0
  554. package/icons/snackbar/info.svg +1 -0
  555. package/icons/snackbar/success.svg +1 -0
  556. package/icons/snackbar/warning.svg +1 -0
  557. package/icons/sort.svg +5 -0
  558. package/icons/sort_asc-12.svg +1 -0
  559. package/icons/sort_desc-12.svg +1 -0
  560. package/icons/star-empty.svg +3 -0
  561. package/icons/star-filled.svg +3 -0
  562. package/icons/tick-12.svg +1 -0
  563. package/icons/tick-24.svg +1 -0
  564. package/icons/triangle.svg +10 -0
  565. package/index.tsx +5 -0
  566. package/package.json +6 -6
  567. package/themeTodo.md +21 -0
  568. package/tsconfig.json +12 -0
  569. package/components/filters/FilterPanelItemToggler.d.ts +0 -13
  570. package/components/filters/FilterPanelItemToggler.d.ts.map +0 -1
  571. package/components/filters/FilterPickerBody.d.ts +0 -7
  572. package/components/filters/FilterPickerBody.d.ts.map +0 -1
  573. package/components/filters/FiltersPanel.d.ts.map +0 -1
  574. package/components/filters/FiltersPanelItem.d.ts.map +0 -1
  575. package/components/filters/PresetPanel/Preset.d.ts.map +0 -1
  576. package/components/filters/PresetPanel/PresetInput.d.ts.map +0 -1
  577. package/components/filters/PresetPanel/PresetsPanel.d.ts.map +0 -1
  578. package/components/inputs/TextInput.d.ts +0 -15
  579. package/components/layout/ScrollBars.d.ts +0 -4
  580. package/components/layout/ScrollBars.d.ts.map +0 -1
  581. package/components/layout/VirtualList.d.ts.map +0 -1
  582. package/components/navigation/MainMenu/MainMenuAvatar.d.ts +0 -8
  583. package/components/navigation/MainMenu/MainMenuIcon.d.ts +0 -8
  584. package/components/navigation/MainMenu/MainMenuSearch.d.ts +0 -7
  585. package/components/overlays/DropdownMenu.d.ts +0 -39
  586. package/components/overlays/DropdownMenu.d.ts.map +0 -1
  587. package/components/overlays/Tooltip.d.ts +0 -8
  588. package/components/pickers/DataPickerFooter.d.ts.map +0 -1
  589. package/components/pickers/PickerInput.d.ts.map +0 -1
  590. package/components/pickers/PickerModal.d.ts.map +0 -1
  591. package/components/pickers/highlight.d.ts.map +0 -1
  592. package/components/tables/DataTableHeaderCell.d.ts.map +0 -1
  593. package/components/types.d.ts +0 -42
  594. package/components/types.d.ts.map +0 -1
  595. package/components/typography/Text.d.ts +0 -13
  596. package/components/typography/Text.d.ts.map +0 -1
  597. package/helpers/useColumnsWithFilters.d.ts.map +0 -1
  598. package/index.esm.js +0 -4657
  599. package/index.esm.js.map +0 -1
  600. package/index.js +0 -4845
  601. package/index.js.map +0 -1
  602. package/stats.html +0 -4838
  603. package/styles.css +0 -11020
  604. package/styles.css.map +0 -1
  605. /package/{components → build/components}/buttons/Button.d.ts +0 -0
  606. /package/{components → build/components}/buttons/Button.d.ts.map +0 -0
  607. /package/{components → build/components}/buttons/IconButton.d.ts +0 -0
  608. /package/{components → build/components}/buttons/IconButton.d.ts.map +0 -0
  609. /package/{components → build/components}/buttons/LinkButton.d.ts +0 -0
  610. /package/{components → build/components}/buttons/LinkButton.d.ts.map +0 -0
  611. /package/{components → build/components}/buttons/TabButton.d.ts +0 -0
  612. /package/{components → build/components}/buttons/TabButton.d.ts.map +0 -0
  613. /package/{components → build/components}/buttons/VerticalTabButton.d.ts +0 -0
  614. /package/{components → build/components}/buttons/VerticalTabButton.d.ts.map +0 -0
  615. /package/{components → build/components}/buttons/helper.d.ts +0 -0
  616. /package/{components → build/components}/buttons/helper.d.ts.map +0 -0
  617. /package/{components → build/components}/buttons/index.d.ts +0 -0
  618. /package/{components → build/components}/buttons/index.d.ts.map +0 -0
  619. /package/{components → build/components}/datePickers/Calendar.d.ts +0 -0
  620. /package/{components → build/components}/datePickers/Calendar.d.ts.map +0 -0
  621. /package/{components → build/components}/datePickers/CalendarPresets.d.ts +0 -0
  622. /package/{components → build/components}/datePickers/CalendarPresets.d.ts.map +0 -0
  623. /package/{components → build/components}/datePickers/DatePicker.d.ts +0 -0
  624. /package/{components → build/components}/datePickers/DatePicker.d.ts.map +0 -0
  625. /package/{components → build/components}/datePickers/DatePickerBody.d.ts +0 -0
  626. /package/{components → build/components}/datePickers/DatePickerBody.d.ts.map +0 -0
  627. /package/{components → build/components}/datePickers/DatePickerHeader.d.ts +0 -0
  628. /package/{components → build/components}/datePickers/DatePickerHeader.d.ts.map +0 -0
  629. /package/{components → build/components}/datePickers/RangeDatePicker.d.ts +0 -0
  630. /package/{components → build/components}/datePickers/RangeDatePicker.d.ts.map +0 -0
  631. /package/{components → build/components}/datePickers/RangeDatePickerBody.d.ts +0 -0
  632. /package/{components → build/components}/datePickers/RangeDatePickerBody.d.ts.map +0 -0
  633. /package/{components → build/components}/datePickers/index.d.ts +0 -0
  634. /package/{components → build/components}/datePickers/index.d.ts.map +0 -0
  635. /package/{components → build/components}/dnd/DropMarker.d.ts +0 -0
  636. /package/{components → build/components}/dnd/DropMarker.d.ts.map +0 -0
  637. /package/{components → build/components}/dnd/index.d.ts +0 -0
  638. /package/{components → build/components}/dnd/index.d.ts.map +0 -0
  639. /package/{components → build/components}/fileUpload/DropSpot.d.ts +0 -0
  640. /package/{components → build/components}/fileUpload/DropSpot.d.ts.map +0 -0
  641. /package/{components → build/components}/fileUpload/FileCard.d.ts +0 -0
  642. /package/{components → build/components}/fileUpload/FileCard.d.ts.map +0 -0
  643. /package/{components → build/components}/fileUpload/SvgCircleProgress.d.ts +0 -0
  644. /package/{components → build/components}/fileUpload/SvgCircleProgress.d.ts.map +0 -0
  645. /package/{components → build/components}/fileUpload/index.d.ts +0 -0
  646. /package/{components → build/components}/fileUpload/index.d.ts.map +0 -0
  647. /package/{components → build/components}/filters/FilterDatePickerBody.d.ts +0 -0
  648. /package/{components → build/components}/filters/FilterDatePickerBody.d.ts.map +0 -0
  649. /package/{components → build/components}/filters/FilterItemBody.d.ts +0 -0
  650. /package/{components → build/components}/filters/FilterItemBody.d.ts.map +0 -0
  651. /package/{components → build/components}/filters/FilterNumericBody.d.ts +0 -0
  652. /package/{components → build/components}/filters/FilterNumericBody.d.ts.map +0 -0
  653. /package/{components → build/components}/filters/FilterRangeDatePickerBody.d.ts +0 -0
  654. /package/{components → build/components}/filters/FilterRangeDatePickerBody.d.ts.map +0 -0
  655. /package/{components → build/components}/filters/FiltersPanel.d.ts +0 -0
  656. /package/{components → build/components}/filters/FiltersPanelItem.d.ts +0 -0
  657. /package/{components → build/components}/filters/PresetPanel/Preset.d.ts +0 -0
  658. /package/{components → build/components}/filters/PresetPanel/PresetActionsDropdown.d.ts +0 -0
  659. /package/{components → build/components}/filters/PresetPanel/PresetActionsDropdown.d.ts.map +0 -0
  660. /package/{components → build/components}/filters/PresetPanel/PresetInput.d.ts +0 -0
  661. /package/{components → build/components}/filters/PresetPanel/PresetsPanel.d.ts +0 -0
  662. /package/{components → build/components}/filters/PresetPanel/index.d.ts +0 -0
  663. /package/{components → build/components}/filters/PresetPanel/index.d.ts.map +0 -0
  664. /package/{components → build/components}/filters/defaultPredicates.d.ts +0 -0
  665. /package/{components → build/components}/filters/defaultPredicates.d.ts.map +0 -0
  666. /package/{components → build/components}/filters/index.d.ts +0 -0
  667. /package/{components → build/components}/filters/index.d.ts.map +0 -0
  668. /package/{components → build/components}/forms/Form.d.ts +0 -0
  669. /package/{components → build/components}/forms/Form.d.ts.map +0 -0
  670. /package/{components → build/components}/forms/index.d.ts +0 -0
  671. /package/{components → build/components}/forms/index.d.ts.map +0 -0
  672. /package/{components → build/components}/forms/useForm.d.ts +0 -0
  673. /package/{components → build/components}/forms/useForm.d.ts.map +0 -0
  674. /package/{components → build/components}/index.d.ts +0 -0
  675. /package/{components → build/components}/index.d.ts.map +0 -0
  676. /package/{components → build/components}/inputs/Checkbox.d.ts +0 -0
  677. /package/{components → build/components}/inputs/Checkbox.d.ts.map +0 -0
  678. /package/{components → build/components}/inputs/InputAddon.d.ts +0 -0
  679. /package/{components → build/components}/inputs/InputAddon.d.ts.map +0 -0
  680. /package/{components → build/components}/inputs/MultiSwitch.d.ts +0 -0
  681. /package/{components → build/components}/inputs/MultiSwitch.d.ts.map +0 -0
  682. /package/{components → build/components}/inputs/NumericInput.d.ts +0 -0
  683. /package/{components → build/components}/inputs/NumericInput.d.ts.map +0 -0
  684. /package/{components → build/components}/inputs/RadioInput.d.ts +0 -0
  685. /package/{components → build/components}/inputs/RadioInput.d.ts.map +0 -0
  686. /package/{components → build/components}/inputs/Slider.d.ts +0 -0
  687. /package/{components → build/components}/inputs/Slider.d.ts.map +0 -0
  688. /package/{components → build/components}/inputs/Switch.d.ts +0 -0
  689. /package/{components → build/components}/inputs/Switch.d.ts.map +0 -0
  690. /package/{components → build/components}/inputs/TextArea.d.ts +0 -0
  691. /package/{components → build/components}/inputs/TextArea.d.ts.map +0 -0
  692. /package/{components → build/components}/inputs/TextInput.d.ts.map +0 -0
  693. /package/{components → build/components}/inputs/TimePicker.d.ts +0 -0
  694. /package/{components → build/components}/inputs/TimePicker.d.ts.map +0 -0
  695. /package/{components → build/components}/inputs/TimePickerBody.d.ts +0 -0
  696. /package/{components → build/components}/inputs/TimePickerBody.d.ts.map +0 -0
  697. /package/{components → build/components}/inputs/index.d.ts +0 -0
  698. /package/{components → build/components}/inputs/index.d.ts.map +0 -0
  699. /package/{components → build/components}/layout/Accordion.d.ts +0 -0
  700. /package/{components → build/components}/layout/Accordion.d.ts.map +0 -0
  701. /package/{components → build/components}/layout/Blocker.d.ts +0 -0
  702. /package/{components → build/components}/layout/Blocker.d.ts.map +0 -0
  703. /package/{components → build/components}/layout/CheckboxGroup.d.ts +0 -0
  704. /package/{components → build/components}/layout/CheckboxGroup.d.ts.map +0 -0
  705. /package/{components → build/components}/layout/ControlGroup.d.ts +0 -0
  706. /package/{components → build/components}/layout/ControlGroup.d.ts.map +0 -0
  707. /package/{components → build/components}/layout/FlexItems/FlexCell.d.ts +0 -0
  708. /package/{components → build/components}/layout/FlexItems/FlexCell.d.ts.map +0 -0
  709. /package/{components → build/components}/layout/FlexItems/FlexRow.d.ts +0 -0
  710. /package/{components → build/components}/layout/FlexItems/FlexRow.d.ts.map +0 -0
  711. /package/{components → build/components}/layout/FlexItems/Panel.d.ts +0 -0
  712. /package/{components → build/components}/layout/FlexItems/Panel.d.ts.map +0 -0
  713. /package/{components → build/components}/layout/FlexItems/index.d.ts +0 -0
  714. /package/{components → build/components}/layout/FlexItems/index.d.ts.map +0 -0
  715. /package/{components → build/components}/layout/LabeledInput.d.ts +0 -0
  716. /package/{components → build/components}/layout/LabeledInput.d.ts.map +0 -0
  717. /package/{components → build/components}/layout/RadioGroup.d.ts +0 -0
  718. /package/{components → build/components}/layout/RadioGroup.d.ts.map +0 -0
  719. /package/{components → build/components}/layout/VirtualList.d.ts +0 -0
  720. /package/{components → build/components}/layout/index.d.ts +0 -0
  721. /package/{components → build/components}/layout/index.d.ts.map +0 -0
  722. /package/{components → build/components}/navigation/Anchor.d.ts +0 -0
  723. /package/{components → build/components}/navigation/Anchor.d.ts.map +0 -0
  724. /package/{components → build/components}/navigation/MainMenu/Burger/Burger.d.ts +0 -0
  725. /package/{components → build/components}/navigation/MainMenu/Burger/Burger.d.ts.map +0 -0
  726. /package/{components → build/components}/navigation/MainMenu/Burger/BurgerButton.d.ts +0 -0
  727. /package/{components → build/components}/navigation/MainMenu/Burger/BurgerButton.d.ts.map +0 -0
  728. /package/{components → build/components}/navigation/MainMenu/Burger/BurgerGroupHeader.d.ts +0 -0
  729. /package/{components → build/components}/navigation/MainMenu/Burger/BurgerGroupHeader.d.ts.map +0 -0
  730. /package/{components → build/components}/navigation/MainMenu/Burger/BurgerSearch.d.ts +0 -0
  731. /package/{components → build/components}/navigation/MainMenu/Burger/BurgerSearch.d.ts.map +0 -0
  732. /package/{components → build/components}/navigation/MainMenu/Burger/index.d.ts +0 -0
  733. /package/{components → build/components}/navigation/MainMenu/Burger/index.d.ts.map +0 -0
  734. /package/{components → build/components}/navigation/MainMenu/GlobalMenu.d.ts +0 -0
  735. /package/{components → build/components}/navigation/MainMenu/GlobalMenu.d.ts.map +0 -0
  736. /package/{components → build/components}/navigation/MainMenu/MainMenu.d.ts +0 -0
  737. /package/{components → build/components}/navigation/MainMenu/MainMenu.d.ts.map +0 -0
  738. /package/{components → build/components}/navigation/MainMenu/MainMenuAvatar.d.ts.map +0 -0
  739. /package/{components → build/components}/navigation/MainMenu/MainMenuButton.d.ts +0 -0
  740. /package/{components → build/components}/navigation/MainMenu/MainMenuButton.d.ts.map +0 -0
  741. /package/{components → build/components}/navigation/MainMenu/MainMenuDropdown.d.ts +0 -0
  742. /package/{components → build/components}/navigation/MainMenu/MainMenuDropdown.d.ts.map +0 -0
  743. /package/{components → build/components}/navigation/MainMenu/MainMenuIcon.d.ts.map +0 -0
  744. /package/{components → build/components}/navigation/MainMenu/MainMenuSearch.d.ts.map +0 -0
  745. /package/{components → build/components}/navigation/MainMenu/index.d.ts +0 -0
  746. /package/{components → build/components}/navigation/MainMenu/index.d.ts.map +0 -0
  747. /package/{components → build/components}/navigation/index.d.ts +0 -0
  748. /package/{components → build/components}/navigation/index.d.ts.map +0 -0
  749. /package/{components → build/components}/overlays/Alert.d.ts +0 -0
  750. /package/{components → build/components}/overlays/Alert.d.ts.map +0 -0
  751. /package/{components → build/components}/overlays/ConfirmationModal.d.ts +0 -0
  752. /package/{components → build/components}/overlays/ConfirmationModal.d.ts.map +0 -0
  753. /package/{components → build/components}/overlays/Dropdown.d.ts +0 -0
  754. /package/{components → build/components}/overlays/Dropdown.d.ts.map +0 -0
  755. /package/{components → build/components}/overlays/DropdownContainer.d.ts +0 -0
  756. /package/{components → build/components}/overlays/DropdownContainer.d.ts.map +0 -0
  757. /package/{components → build/components}/overlays/Modals.d.ts +0 -0
  758. /package/{components → build/components}/overlays/Modals.d.ts.map +0 -0
  759. /package/{components → build/components}/overlays/NotificationCard.d.ts +0 -0
  760. /package/{components → build/components}/overlays/NotificationCard.d.ts.map +0 -0
  761. /package/{components → build/components}/overlays/Tooltip.d.ts.map +0 -0
  762. /package/{components → build/components}/overlays/index.d.ts +0 -0
  763. /package/{components → build/components}/overlays/index.d.ts.map +0 -0
  764. /package/{components → build/components}/pickers/DataPickerBody.d.ts +0 -0
  765. /package/{components → build/components}/pickers/DataPickerBody.d.ts.map +0 -0
  766. /package/{components → build/components}/pickers/DataPickerFooter.d.ts +0 -0
  767. /package/{components → build/components}/pickers/DataPickerHeader.d.ts +0 -0
  768. /package/{components → build/components}/pickers/DataPickerHeader.d.ts.map +0 -0
  769. /package/{components → build/components}/pickers/DataPickerRow.d.ts +0 -0
  770. /package/{components → build/components}/pickers/DataPickerRow.d.ts.map +0 -0
  771. /package/{components → build/components}/pickers/MobileDropdownWrapper.d.ts +0 -0
  772. /package/{components → build/components}/pickers/MobileDropdownWrapper.d.ts.map +0 -0
  773. /package/{components → build/components}/pickers/PickerInput.d.ts +0 -0
  774. /package/{components → build/components}/pickers/PickerItem.d.ts +0 -0
  775. /package/{components → build/components}/pickers/PickerItem.d.ts.map +0 -0
  776. /package/{components → build/components}/pickers/PickerList.d.ts +0 -0
  777. /package/{components → build/components}/pickers/PickerList.d.ts.map +0 -0
  778. /package/{components → build/components}/pickers/PickerListItem.d.ts +0 -0
  779. /package/{components → build/components}/pickers/PickerListItem.d.ts.map +0 -0
  780. /package/{components → build/components}/pickers/PickerModal.d.ts +0 -0
  781. /package/{components → build/components}/pickers/PickerToggler.d.ts +0 -0
  782. /package/{components → build/components}/pickers/PickerToggler.d.ts.map +0 -0
  783. /package/{components → build/components}/pickers/helpers.d.ts +0 -0
  784. /package/{components → build/components}/pickers/helpers.d.ts.map +0 -0
  785. /package/{components → build/components}/pickers/highlight.d.ts +0 -0
  786. /package/{components → build/components}/pickers/index.d.ts +0 -0
  787. /package/{components → build/components}/pickers/index.d.ts.map +0 -0
  788. /package/{components → build/components}/tables/ColumnHeaderDropdown/ColumnHeaderDropdown.d.ts +0 -0
  789. /package/{components → build/components}/tables/ColumnHeaderDropdown/ColumnHeaderDropdown.d.ts.map +0 -0
  790. /package/{components → build/components}/tables/ColumnHeaderDropdown/SortingPanel.d.ts +0 -0
  791. /package/{components → build/components}/tables/ColumnHeaderDropdown/SortingPanel.d.ts.map +0 -0
  792. /package/{components → build/components}/tables/ColumnHeaderDropdown/index.d.ts +0 -0
  793. /package/{components → build/components}/tables/ColumnHeaderDropdown/index.d.ts.map +0 -0
  794. /package/{components → build/components}/tables/DataRowsContainer/DataRowsContainer.d.ts +0 -0
  795. /package/{components → build/components}/tables/DataRowsContainer/DataRowsContainer.d.ts.map +0 -0
  796. /package/{components → build/components}/tables/DataRowsContainer/DataRowsGroups.d.ts +0 -0
  797. /package/{components → build/components}/tables/DataRowsContainer/DataRowsGroups.d.ts.map +0 -0
  798. /package/{components → build/components}/tables/DataRowsContainer/index.d.ts +0 -0
  799. /package/{components → build/components}/tables/DataRowsContainer/index.d.ts.map +0 -0
  800. /package/{components → build/components}/tables/DataRowsContainer/utils.d.ts +0 -0
  801. /package/{components → build/components}/tables/DataRowsContainer/utils.d.ts.map +0 -0
  802. /package/{components → build/components}/tables/DataTable.d.ts +0 -0
  803. /package/{components → build/components}/tables/DataTable.d.ts.map +0 -0
  804. /package/{components → build/components}/tables/DataTableCell.d.ts +0 -0
  805. /package/{components → build/components}/tables/DataTableCell.d.ts.map +0 -0
  806. /package/{components → build/components}/tables/DataTableHeaderCell.d.ts +0 -0
  807. /package/{components → build/components}/tables/DataTableHeaderRow.d.ts +0 -0
  808. /package/{components → build/components}/tables/DataTableHeaderRow.d.ts.map +0 -0
  809. /package/{components → build/components}/tables/DataTableRow.d.ts +0 -0
  810. /package/{components → build/components}/tables/DataTableRow.d.ts.map +0 -0
  811. /package/{components → build/components}/tables/columnsConfigurationModal/ColumnRow.d.ts +0 -0
  812. /package/{components → build/components}/tables/columnsConfigurationModal/ColumnRow.d.ts.map +0 -0
  813. /package/{components → build/components}/tables/columnsConfigurationModal/ColumnsConfigurationModal.d.ts +0 -0
  814. /package/{components → build/components}/tables/columnsConfigurationModal/ColumnsConfigurationModal.d.ts.map +0 -0
  815. /package/{components → build/components}/tables/columnsConfigurationModal/PinIconButton.d.ts +0 -0
  816. /package/{components → build/components}/tables/columnsConfigurationModal/PinIconButton.d.ts.map +0 -0
  817. /package/{components → build/components}/tables/columnsConfigurationModal/index.d.ts +0 -0
  818. /package/{components → build/components}/tables/columnsConfigurationModal/index.d.ts.map +0 -0
  819. /package/{components → build/components}/tables/index.d.ts +0 -0
  820. /package/{components → build/components}/tables/index.d.ts.map +0 -0
  821. /package/{components → build/components}/tables/types.d.ts +0 -0
  822. /package/{components → build/components}/tables/types.d.ts.map +0 -0
  823. /package/{components → build/components}/typography/RichTextView.d.ts +0 -0
  824. /package/{components → build/components}/typography/RichTextView.d.ts.map +0 -0
  825. /package/{components → build/components}/typography/TextPlaceholder.d.ts +0 -0
  826. /package/{components → build/components}/typography/TextPlaceholder.d.ts.map +0 -0
  827. /package/{components → build/components}/typography/index.d.ts +0 -0
  828. /package/{components → build/components}/typography/index.d.ts.map +0 -0
  829. /package/{components → build/components}/widgets/AvatarStack.d.ts +0 -0
  830. /package/{components → build/components}/widgets/AvatarStack.d.ts.map +0 -0
  831. /package/{components → build/components}/widgets/Badge.d.ts +0 -0
  832. /package/{components → build/components}/widgets/Badge.d.ts.map +0 -0
  833. /package/{components → build/components}/widgets/CountIndicator.d.ts +0 -0
  834. /package/{components → build/components}/widgets/CountIndicator.d.ts.map +0 -0
  835. /package/{components → build/components}/widgets/IndeterminateBar.d.ts +0 -0
  836. /package/{components → build/components}/widgets/IndeterminateBar.d.ts.map +0 -0
  837. /package/{components → build/components}/widgets/IndicatorBar.d.ts +0 -0
  838. /package/{components → build/components}/widgets/IndicatorBar.d.ts.map +0 -0
  839. /package/{components → build/components}/widgets/Paginator.d.ts +0 -0
  840. /package/{components → build/components}/widgets/Paginator.d.ts.map +0 -0
  841. /package/{components → build/components}/widgets/ProgressBar.d.ts +0 -0
  842. /package/{components → build/components}/widgets/ProgressBar.d.ts.map +0 -0
  843. /package/{components → build/components}/widgets/Spinner.d.ts +0 -0
  844. /package/{components → build/components}/widgets/Spinner.d.ts.map +0 -0
  845. /package/{components → build/components}/widgets/StatusIndicator.d.ts +0 -0
  846. /package/{components → build/components}/widgets/StatusIndicator.d.ts.map +0 -0
  847. /package/{components → build/components}/widgets/Tag.d.ts +0 -0
  848. /package/{components → build/components}/widgets/Tag.d.ts.map +0 -0
  849. /package/{components → build/components}/widgets/index.d.ts +0 -0
  850. /package/{components → build/components}/widgets/index.d.ts.map +0 -0
  851. /package/{helpers → build/helpers}/index.d.ts +0 -0
  852. /package/{helpers → build/helpers}/index.d.ts.map +0 -0
  853. /package/{helpers → build/helpers}/textLayout.d.ts +0 -0
  854. /package/{helpers → build/helpers}/textLayout.d.ts.map +0 -0
  855. /package/{helpers → build/helpers}/useColumnsWithFilters.d.ts +0 -0
  856. /package/{i18n.d.ts → build/i18n.d.ts} +0 -0
  857. /package/{i18n.d.ts.map → build/i18n.d.ts.map} +0 -0
  858. /package/{icons → build/icons}/icons.d.ts +0 -0
  859. /package/{icons → build/icons}/icons.d.ts.map +0 -0
  860. /package/{index.d.ts → build/index.d.ts} +0 -0
  861. /package/{index.d.ts.map → build/index.d.ts.map} +0 -0
@@ -0,0 +1,157 @@
1
+ @use '../../assets/styles/index' as *;
2
+
3
+ @mixin button-disables-styles($bg-color, $border-color) {
4
+ background-color: $bg-color;
5
+ color: var(--uui-btn-caption-disabled);
6
+ fill: var(--uui-btn-caption-disabled);
7
+ border-color: $border-color;
8
+ }
9
+
10
+ .root {
11
+ --uui-btn-bg: var(--uui-color-50);
12
+ --uui-btn-bg-hover: var(--uui-color-60);
13
+ --uui-btn-bg-active: var(--uui-color-70);
14
+ --uui-btn-bg-disabled: var(--uui-neutral-30);
15
+ --uui-btn-border: var(--uui-color-50);
16
+ --uui-btn-border-hover: var(--uui-color-60);
17
+ --uui-btn-border-active: var(--uui-color-70);
18
+ --uui-btn-border-disabled: var(--uui-neutral-30);
19
+ --uui-btn-caption: var(--uui-color-contrast);
20
+ --uui-btn-caption-disabled: var(--uui-text-disabled);
21
+
22
+ --uui-btn-border-radius: var(--uui-border-radius);
23
+
24
+ --uui-btn-font: var(--uui-font);
25
+ --uui-btn-font-weight: var(--uui-font-weight, 600);
26
+ //
27
+ background-color: var(--uui-btn-bg);
28
+ color: var(--uui-btn-caption);
29
+ fill: var(--uui-btn-caption);
30
+ border-color: var(--uui-btn-border);
31
+
32
+ &:global(.-clickable) {
33
+ &:hover {
34
+ background-color: var(--uui-btn-bg-hover);
35
+ border-color: var(--uui-btn-border-hover);
36
+ }
37
+
38
+ &:active {
39
+ background-color: var(--uui-btn-bg-active);
40
+ border-color: var(--uui-btn-border-active);
41
+ }
42
+ }
43
+
44
+ &:global(.uui-button-box) {
45
+ border-style: solid;
46
+ justify-content: center;
47
+ border-radius: var(--uui-btn-border-radius);
48
+ }
49
+
50
+ &:focus-visible {
51
+ @include focus-visible-effect();
52
+ }
53
+
54
+ :global(.uui-caption) {
55
+ @include overflow-ellipsis();
56
+ min-width: 0;
57
+ text-align: center;
58
+ flex: 1 1 auto;
59
+ font-family: var(--uui-btn-font);
60
+ font-weight: var(--uui-btn-font-weight, normal);
61
+ user-select: none;
62
+ }
63
+
64
+ &:is(:global(.-clickable), :hover, :active, :focus):global(.uui-disabled),
65
+ &:global(.uui-disabled) {
66
+ &:global(.uui-fill-solid) {
67
+ @include button-disables-styles(var(--uui-btn-bg-disabled), var(--uui-btn-border-disabled));
68
+ }
69
+
70
+ &:global(.uui-fill-outline) {
71
+ @include button-disables-styles(var(--uui-surface-main), var(--uui-btn-border-disabled));
72
+ }
73
+
74
+ &:global(.uui-fill-none) {
75
+ @include button-disables-styles(transparent, var(--uui-btn-border-disabled));
76
+ }
77
+
78
+ &:global(.uui-fill-ghost) {
79
+ @include button-disables-styles(transparent, transparent);
80
+ }
81
+ }
82
+
83
+ &:global(.uui-fill-solid) {
84
+ --uui-btn-bg: var(--uui-color-50);
85
+ --uui-btn-bg-hover: var(--uui-color-60);
86
+ --uui-btn-bg-active: var(--uui-color-70);
87
+ --uui-btn-border: var(--uui-color-50);
88
+ --uui-btn-border-hover: var(--uui-color-60);
89
+ --uui-btn-border-active: var(--uui-color-70);
90
+ --uui-btn-caption: var(--uui-color-contrast);
91
+ --uui-btn-caption-disabled: var(--uui-text-disabled);
92
+ }
93
+
94
+ &:global(.uui-fill-outline) {
95
+ --uui-btn-bg: var(--uui-surface-main);
96
+ --uui-btn-bg-hover: var(--uui-color-10);
97
+ --uui-btn-bg-active: var(--uui-color-20);
98
+ --uui-btn-bg-disabled: transparent;
99
+ --uui-btn-border: var(--uui-color-50);
100
+ --uui-btn-border-hover: var(--uui-color-50);
101
+ --uui-btn-border-active: var(--uui-color-50);
102
+ --uui-btn-caption: var(--uui-color-50);
103
+ --uui-btn-caption-disabled: var(--uui-text-disabled);
104
+ }
105
+
106
+ &:global(.uui-fill-none) {
107
+ --uui-btn-bg: transparent;
108
+ --uui-btn-bg-hover: var(--uui-color-10);
109
+ --uui-btn-bg-active: var(--uui-color-20);
110
+ --uui-btn-bg-disabled: transparent;
111
+ --uui-btn-border: var(--uui-color-50);
112
+ --uui-btn-border-hover: var(--uui-color-50);
113
+ --uui-btn-border-active: var(--uui-color-50);
114
+ --uui-btn-caption: var(--uui-color-50);
115
+ --uui-btn-caption-disabled: var(--uui-text-disabled);
116
+ }
117
+
118
+ &:global(.uui-fill-ghost) {
119
+ --uui-btn-bg: transparent;
120
+ --uui-btn-bg-hover: var(--uui-color-10);
121
+ --uui-btn-bg-active: var(--uui-color-20);
122
+ --uui-btn-bg-disabled: transparent;
123
+ --uui-btn-border: transparent;
124
+ --uui-btn-border-hover: var(--uui-color-10);
125
+ --uui-btn-border-active: var(--uui-color-20);
126
+ --uui-btn-border-disabled: transparent;
127
+ --uui-btn-caption: var(--uui-color-50);
128
+ --uui-btn-caption-disabled: var(--uui-text-disabled);
129
+ }
130
+
131
+ &:global {
132
+ &.uui-size-18 {
133
+ @include button-layout(18px, 1px);
134
+ }
135
+
136
+ &.uui-size-24 {
137
+ @include button-layout(24px, 1px);
138
+ }
139
+
140
+ &.uui-size-30 {
141
+ @include button-layout(30px, 1px);
142
+ }
143
+
144
+ &.uui-size-36 {
145
+ @include button-layout(36px, 1px);
146
+ }
147
+
148
+ &.uui-size-42 {
149
+ @include button-layout(42px, 1px);
150
+ }
151
+
152
+ &.uui-size-48 {
153
+ @include button-layout(48px, 1px);
154
+ }
155
+ }
156
+ }
157
+
@@ -0,0 +1,42 @@
1
+ import React from 'react';
2
+ import { Button as uuiButton, ButtonProps as uuiButtonProps } from '@epam/uui-components';
3
+ import { withMods } from '@epam/uui-core';
4
+ import { ControlSize, ButtonFill } from '../types';
5
+ import { systemIcons } from '../../icons/icons';
6
+ import { CountIndicator } from '../widgets';
7
+ import css from './Button.module.scss';
8
+
9
+ export type ButtonColor = 'accent' | 'primary' | 'critical' | 'secondary' | 'neutral';
10
+ export const allButtonColors: ButtonColor[] = [
11
+ 'accent', 'primary', 'critical', 'secondary', 'neutral',
12
+ ];
13
+
14
+ const defaultSize = '36';
15
+
16
+ export interface ButtonMods {
17
+ size?: ControlSize | '18';
18
+ fill?: ButtonFill;
19
+ color?: ButtonColor;
20
+ }
21
+
22
+ export type ButtonProps = ButtonMods & Omit<uuiButtonProps, 'count' | 'indicator'>;
23
+
24
+ export function applyButtonMods(mods: ButtonProps) {
25
+ return [
26
+ css.root,
27
+ 'uui-button',
28
+ `uui-fill-${mods.fill || 'solid'}`,
29
+ `uui-color-${mods.color || 'primary'}`,
30
+ `uui-size-${mods.size || defaultSize}`,
31
+ ];
32
+ }
33
+
34
+ export const Button = withMods<Omit<uuiButtonProps, 'count' | 'indicator'>, ButtonMods>(
35
+ uuiButton,
36
+ applyButtonMods,
37
+ (props) => ({
38
+ dropdownIcon: systemIcons[props.size || defaultSize].foldingArrow,
39
+ clearIcon: systemIcons[props.size || defaultSize].clear,
40
+ countIndicator: (countIndicatorProps) => <CountIndicator { ...countIndicatorProps } color="white" />,
41
+ }),
42
+ );
@@ -0,0 +1,44 @@
1
+ @use '../../assets/styles/effects' as *;
2
+
3
+ .root {
4
+ --uui-icon_btn: var(--uui-color-50);
5
+ --uui-icon_btn-hover: var(--uui-color-60);
6
+ --uui-icon_btn-active: var(--uui-color-70);
7
+ --uui-icon_btn-disabled: var(--uui-icon-disabled); // from core or color class? Current - from core
8
+ //
9
+ fill: var(--uui-icon_btn);
10
+
11
+ &:global(.uui-icon_button.uui-color-neutral) {
12
+ --uui-icon_btn: var(--uui-icon);
13
+ --uui-icon_btn-hover: var(--uui-icon-hover);
14
+ --uui-icon_btn-active: var(--uui-icon-active);
15
+ }
16
+
17
+ &:global(.-clickable) {
18
+ &:hover {
19
+ fill: var(--uui-icon_btn-hover);
20
+ }
21
+
22
+ &:active {
23
+ fill: var(--uui-icon_btn-active);
24
+ }
25
+
26
+ &:focus-visible {
27
+ @include focus-visible-effect();
28
+ }
29
+ }
30
+
31
+ &:global(.uui-disabled) {
32
+ fill: var(--uui-icon_btn-disabled);
33
+
34
+ &:global(.-clickable) {
35
+ &:hover, &:focus {
36
+ fill: var(--uui-icon_btn-disabled);
37
+ }
38
+
39
+ &:active {
40
+ fill: var(--uui-icon_btn-disabled);
41
+ }
42
+ }
43
+ }
44
+ }
@@ -0,0 +1,20 @@
1
+ import { IconButtonBaseProps, IconButton as uuiIconButton } from '@epam/uui-components';
2
+ import { withMods } from '@epam/uui-core';
3
+ import css from './IconButton.module.scss';
4
+
5
+ export type IconColor = 'info' | 'success' | 'warning' | 'error' | 'secondary' | 'neutral';
6
+ export const allIconColors: IconColor[] = [
7
+ 'info', 'success', 'warning', 'error', 'secondary', 'neutral',
8
+ ];
9
+
10
+ export interface IconButtonMods {
11
+ color?: IconColor;
12
+ }
13
+
14
+ export interface IconButtonProps extends IconButtonBaseProps, IconButtonMods {}
15
+
16
+ function applyIconButtonMods(mods: IconButtonProps & IconButtonMods) {
17
+ return ['uui-icon_button', `uui-color-${mods.color || 'neutral'}`, css.root];
18
+ }
19
+
20
+ export const IconButton = withMods<IconButtonProps, IconButtonMods>(uuiIconButton, applyIconButtonMods);
@@ -0,0 +1,85 @@
1
+ @use '../../assets/styles/buttonLayout' as *;
2
+
3
+ .root {
4
+ --uui-link_btn-text: var(--uui-color-50);
5
+ --uui-link_btn-text-hover: var(--uui-color-60);
6
+ --uui-link_btn-text-active: var(--uui-color-70);
7
+ --uui-link_btn-text-disabled: var(--uui-text-disabled);
8
+
9
+ --uui-link-button-font: var(--uui-font);
10
+ --uui-link-button-font-weight: 600;
11
+
12
+ &:global(.uui-button-box) {
13
+ background-color: transparent;
14
+ color: var(--uui-link_btn-text);
15
+ fill: var(--uui-link_btn-text);
16
+ min-width: auto;
17
+
18
+ &:global(.-clickable:not(.uui-disabled)) {
19
+ &:hover {
20
+ color: var(--uui-link_btn-text-hover);
21
+ fill: var(--uui-link_btn-text-hover);
22
+ }
23
+
24
+ &:active {
25
+ color: var(--uui-link_btn-text-active);
26
+ fill: var(--uui-link_btn-text-active);
27
+ }
28
+
29
+ &:focus {
30
+ box-shadow: none;
31
+ }
32
+
33
+ &:focus-visible {
34
+ border-radius: 2px;
35
+ box-shadow:
36
+ inset 0 -2px 0 0 var(--uui-outline-focus),
37
+ inset 0 2px 0 0 var(--uui-outline-focus),
38
+ 2px 0 0 0 var(--uui-outline-focus),
39
+ -2px 0 0 0 var(--uui-outline-focus);
40
+ }
41
+ }
42
+
43
+ &:global(.uui-disabled) {
44
+ color: var(--uui-link_btn-text-disabled);
45
+ fill: var(--uui-link_btn-text-disabled);
46
+ background-color: transparent;
47
+
48
+ &:hover {
49
+ background-color: transparent;
50
+ }
51
+ }
52
+ }
53
+
54
+ :global(.uui-caption) {
55
+ font-family: var(--uui-link-button-font);
56
+ font-weight: var(--uui-link-button-font-weight, normal);
57
+ }
58
+
59
+ // Sizes
60
+ &:global {
61
+ &.uui-size-18 {
62
+ @include link-button-layout(18px);
63
+ }
64
+
65
+ &.uui-size-24 {
66
+ @include link-button-layout(24px);
67
+ }
68
+
69
+ &.uui-size-30 {
70
+ @include link-button-layout(30px);
71
+ }
72
+
73
+ &.uui-size-36 {
74
+ @include link-button-layout(36px);
75
+ }
76
+
77
+ &.uui-size-42 {
78
+ @include link-button-layout(42px);
79
+ }
80
+
81
+ &.uui-size-48 {
82
+ @include link-button-layout(48px);
83
+ }
84
+ }
85
+ }
@@ -0,0 +1,32 @@
1
+ import * as types from '../types';
2
+ import { withMods } from '@epam/uui-core';
3
+ import { Button, ButtonProps } from '@epam/uui-components';
4
+ import css from './LinkButton.module.scss';
5
+ import { systemIcons } from '../../icons/icons';
6
+ import { getIconClass } from './helper';
7
+
8
+ const defaultSize = '36';
9
+ export type LinkButtonColorType = 'primary' | 'secondary' | 'contrast';
10
+ export const allLinkButtonColors: LinkButtonColorType[] = ['primary', 'secondary', 'contrast'];
11
+
12
+ export interface LinkButtonMods {
13
+ size?: types.ControlSize | '42';
14
+ color?: LinkButtonColorType;
15
+ }
16
+
17
+ export type LinkButtonProps = LinkButtonMods & ButtonProps;
18
+
19
+ function applyLinkButtonMods(mods: LinkButtonProps) {
20
+ return [
21
+ 'uui-link_button',
22
+ css.root,
23
+ `uui-size-${mods.size || defaultSize}`,
24
+ ...getIconClass(mods),
25
+ `uui-color-${mods.color || 'primary'}`,
26
+ ];
27
+ }
28
+
29
+ export const LinkButton = withMods<ButtonProps, LinkButtonMods>(Button, applyLinkButtonMods, (props) => ({
30
+ dropdownIcon: systemIcons[props.size || defaultSize].foldingArrow,
31
+ clearIcon: systemIcons[props.size || defaultSize].clear,
32
+ }));
@@ -0,0 +1,94 @@
1
+ @use 'sass:math';
2
+ @use '../../assets/styles/index' as *;
3
+
4
+ @mixin tab-button-color($color, $activeColor, $backgroundColor) {
5
+ color: $color;
6
+ fill: $color;
7
+ background-color: $backgroundColor;
8
+
9
+ &:hover {
10
+ color: $activeColor;
11
+ fill: $activeColor;
12
+ }
13
+
14
+ &:global(.uui-active) {
15
+ color: $activeColor;
16
+ fill: $activeColor;
17
+ border-color: $activeColor;
18
+ }
19
+ }
20
+
21
+ $text-size-caption: 36px;
22
+ $text-size-count: 24px;
23
+
24
+ .root {
25
+ --uui-tab_btn-text: var(--uui-text-primary);
26
+ --uui-tab_btn-text-hover: var(--uui-primary-50);
27
+ --uui-tab_btn-text-active: var(--uui-primary-50);
28
+ --uui-tab_btn-text-disabled: var(--uui-text-disabled);
29
+ --uui-tab_btn-font: var(--uui-font);
30
+ --uui-tab_btn-font-weight: 600;
31
+
32
+ @include link-button-horizontal-layout(36px);
33
+ @include tab-button-color(var(--uui-tab_btn-text), var(--uui-tab_btn-text-active), transparent);
34
+ cursor: pointer;
35
+ padding-left: 12px;
36
+ padding-right: 12px;
37
+ position: relative;
38
+ bottom: -1px;
39
+ display: flex;
40
+ align-items: center;
41
+ font-family: var(--uui-tab_btn-font);
42
+ font-weight: var(--uui-tab_btn-font-weight);
43
+ border-bottom: 3px solid transparent;
44
+
45
+ &:global(.-clickable):focus-visible {
46
+ @include focus-visible-effect(-2px, 0);
47
+ }
48
+
49
+ &:global(.uui-disabled) {
50
+ @include tab-button-color(var(--uui-tab_btn-text-disabled), var(--uui-tab_btn-text-disabled), transparent);
51
+ }
52
+
53
+ &.withNotify {
54
+ :global(.uui-caption) {
55
+ &::after {
56
+ content: '';
57
+ position: absolute;
58
+ margin-bottom: math.div($text-size-caption, 2);
59
+ height: 6px;
60
+ width: 6px;
61
+ background: var(--uui-critical-50);
62
+ box-shadow: 0 1px 8px 0 var(--uui-critical-50);
63
+ border-radius: 50%;
64
+ }
65
+ }
66
+ }
67
+
68
+ &:global(.uui-button-box) {
69
+ min-width: min-content;
70
+ }
71
+
72
+ :global(.uui-count_indicator) {
73
+ padding: 0 6px;
74
+ margin-left: 3px;
75
+ margin-right: 3px;
76
+ }
77
+
78
+ :global(.uui-caption) {
79
+ @include text-size($text-size-caption, 0);
80
+ }
81
+
82
+ // Sizes
83
+ &.size-36 {
84
+ height: 36px;
85
+ }
86
+
87
+ &.size-48 {
88
+ height: 48px;
89
+ }
90
+
91
+ &.size-60 {
92
+ height: 60px;
93
+ }
94
+ }
@@ -0,0 +1,38 @@
1
+ import React from 'react';
2
+ import { Button, ButtonProps } from '@epam/uui-components';
3
+ import { withMods } from '@epam/uui-core';
4
+ import { getIconClass } from './helper';
5
+ import { CountIndicator } from '../widgets';
6
+ import { systemIcons } from '../../icons/icons';
7
+ import css from './TabButton.module.scss';
8
+
9
+ export interface TabButtonMods {
10
+ size?: '36' | '48' | '60';
11
+ withNotify?: boolean;
12
+ }
13
+
14
+ export type TabButtonProps = TabButtonMods & ButtonProps;
15
+
16
+ function applyTabButtonMods(mods: TabButtonProps) {
17
+ return [
18
+ css.root,
19
+ 'uui-tab-button',
20
+ css['size-' + (mods.size || '48')],
21
+ mods.withNotify && css.withNotify,
22
+ ...getIconClass(mods),
23
+ ];
24
+ }
25
+
26
+ export const TabButton = withMods<ButtonProps, TabButtonMods>(Button, applyTabButtonMods, (props) => ({
27
+ dropdownIcon: systemIcons['36'].foldingArrow,
28
+ clearIcon: systemIcons['36'].clear,
29
+ ...props,
30
+ rawProps: { role: 'tab', ...props.rawProps },
31
+ countIndicator: (countIndicatorProps) => (
32
+ <CountIndicator
33
+ { ...countIndicatorProps }
34
+ color={ props.isLinkActive ? 'info' : 'neutral' }
35
+ size="18"
36
+ />
37
+ ),
38
+ }));
@@ -0,0 +1,7 @@
1
+ @use '../../assets/styles/index' as *;
2
+
3
+ .root {
4
+ border-bottom: 0 none;
5
+ border-left: 3px solid transparent;
6
+ text-align: left;
7
+ }
@@ -0,0 +1,12 @@
1
+ import css from './VerticalTabButton.module.scss';
2
+ import { withMods } from '@epam/uui-core';
3
+ import { ButtonProps } from '@epam/uui-components';
4
+ import { TabButton, TabButtonMods } from './TabButton';
5
+
6
+ function applyVerticalTabButtonMods() {
7
+ return [css.root];
8
+ }
9
+
10
+ export type VerticalTabButtonProps = ButtonProps & TabButtonMods;
11
+
12
+ export const VerticalTabButton = withMods<VerticalTabButtonProps>(TabButton, applyVerticalTabButtonMods);
@@ -0,0 +1,30 @@
1
+ import React from 'react';
2
+ import { Button } from '../Button';
3
+ import { renderSnapshotWithContextAsync, SvgMock } from '@epam/uui-test-utils';
4
+
5
+ describe('Button', () => {
6
+ it('should render with minimum props', async () => {
7
+ const tree = await renderSnapshotWithContextAsync(<Button />);
8
+ expect(tree).toMatchSnapshot();
9
+ });
10
+
11
+ it('should render with maximum props', async () => {
12
+ const tree = await renderSnapshotWithContextAsync(
13
+ <Button
14
+ color="accent"
15
+ fill="outline"
16
+ caption="Click me"
17
+ onClick={ jest.fn }
18
+ icon={ SvgMock }
19
+ isDisabled={ false }
20
+ isDropdown={ true }
21
+ count={ 10 }
22
+ iconPosition="right"
23
+ onClear={ jest.fn }
24
+ isOpen
25
+ clearIcon={ SvgMock }
26
+ />,
27
+ );
28
+ expect(tree).toMatchSnapshot();
29
+ });
30
+ });
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ import { IconButton } from '../IconButton';
3
+ import { renderer } from '@epam/uui-test-utils';
4
+ import { ReactComponent as CalendarIcon } from '../../../icons/calendar-18.svg';
5
+
6
+ describe('IconButton', () => {
7
+ it('should be rendered correctly', () => {
8
+ const tree = renderer.create(<IconButton />).toJSON();
9
+ expect(tree).toMatchSnapshot();
10
+ });
11
+
12
+ it('should be rendered correctly with props', () => {
13
+ const tree = renderer.create(<IconButton color="info" onClick={ jest.fn } icon={ CalendarIcon } isDisabled={ false } />).toJSON();
14
+ expect(tree).toMatchSnapshot();
15
+ });
16
+ });
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ import { LinkButton } from '../LinkButton';
3
+ import { renderer } from '@epam/uui-test-utils';
4
+ import { ReactComponent as CalendarIcon } from '../../../icons/calendar-18.svg';
5
+
6
+ describe('LinkButton', () => {
7
+ it('should be rendered correctly', () => {
8
+ const tree = renderer.create(<LinkButton />).toJSON();
9
+ expect(tree).toMatchSnapshot();
10
+ });
11
+
12
+ it('should be rendered correctly with props', () => {
13
+ const tree = renderer.create(<LinkButton onClick={ jest.fn } icon={ CalendarIcon } isDisabled={ false } isDropdown onClear={ jest.fn } size="30" />).toJSON();
14
+ expect(tree).toMatchSnapshot();
15
+ });
16
+ });
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ import { TabButton } from '../TabButton';
3
+ import { renderer } from '@epam/uui-test-utils';
4
+ import { ReactComponent as calendarIcon } from '../../../icons/calendar-18.svg';
5
+
6
+ describe('TabButton', () => {
7
+ it('should be rendered correctly', () => {
8
+ const tree = renderer.create(<TabButton />).toJSON();
9
+ expect(tree).toMatchSnapshot();
10
+ });
11
+
12
+ it('should be rendered correctly with props', () => {
13
+ const tree = renderer.create(<TabButton onClick={ jest.fn } icon={ calendarIcon } isDisabled={ false } withNotify={ true } />).toJSON();
14
+ expect(tree).toMatchSnapshot();
15
+ });
16
+ });
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ import { VerticalTabButton } from '../VerticalTabButton';
3
+ import { renderer } from '@epam/uui-test-utils';
4
+ import { ReactComponent as calendarIcon } from '../../../icons/calendar-18.svg';
5
+
6
+ describe('VerticalTabButton', () => {
7
+ it('should be rendered correctly', () => {
8
+ const tree = renderer.create(<VerticalTabButton />).toJSON();
9
+ expect(tree).toMatchSnapshot();
10
+ });
11
+
12
+ it('should be rendered correctly with props', () => {
13
+ const tree = renderer.create(<VerticalTabButton onClick={ jest.fn } icon={ calendarIcon } isDisabled={ false } withNotify={ true } />).toJSON();
14
+ expect(tree).toMatchSnapshot();
15
+ });
16
+ });