@itcase/ui 1.9.65 → 1.9.66

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 (623) hide show
  1. package/dist/context/Notifications.js +12 -186
  2. package/dist/context/UIContext.js +12 -70
  3. package/dist/context/UrlAssetPrefix.js +12 -12
  4. package/dist/hoc/urlWithAssetPrefix.js +12 -74
  5. package/dist/hooks/useActiveClasses/useActiveClasses.helpers.js +1 -0
  6. package/dist/hooks/useActiveClasses/useActiveClasses.interface.js +1 -0
  7. package/dist/hooks/useActiveClasses/useActiveClasses.js +3 -1
  8. package/dist/hooks/useAppearanceConfig/useAppearanceConfig.js +12 -25
  9. package/dist/hooks/useDevicePropsGenerator/useDevicePropsGenerator.interface.js +1 -1
  10. package/dist/hooks/useDevicePropsGenerator/useDevicePropsGenerator.js +12 -121
  11. package/dist/hooks/useDeviceTargetClass.js +52 -37
  12. package/dist/hooks/useDropzoneFieldFiles.js +20540 -2
  13. package/dist/hooks/useHoldProgress.js +3 -1
  14. package/dist/hooks/useMediaQueries/useMediaQueries.js +12 -112
  15. package/dist/hooks/useStyles/styleAttributes.interface.js +1 -1
  16. package/dist/hooks/useStyles/styleAttributes.js +12 -167
  17. package/dist/hooks/useStyles/useStyles.js +12 -193
  18. package/dist/hooks/useViewportFix.js +2 -0
  19. package/dist/utils/mergeAppearanceKeys.js +12 -15
  20. package/dist/utils/setViewportProperty.js +12 -5
  21. package/package.json +1 -1
  22. package/dist/components/Accordion/Accordion.appearance.js +0 -9
  23. package/dist/components/Accordion/Accordion.interface.js +0 -1
  24. package/dist/components/Accordion/Accordion.js +0 -57
  25. package/dist/components/Accordion/AccordionItem.js +0 -36
  26. package/dist/components/Accordion/appearance/accordionSize.js +0 -52
  27. package/dist/components/Accordion/appearance/accordionStyle.js +0 -14
  28. package/dist/components/Accordion/appearance/accordionSurface.js +0 -36
  29. package/dist/components/Accordion/index.js +0 -4
  30. package/dist/components/Avatar/Avatar.appearance.js +0 -11
  31. package/dist/components/Avatar/Avatar.interface.js +0 -1
  32. package/dist/components/Avatar/Avatar.js +0 -29
  33. package/dist/components/Avatar/appearance/avatarDefault.js +0 -23
  34. package/dist/components/Avatar/appearance/avatarShape.js +0 -25
  35. package/dist/components/Avatar/appearance/avatarSize.js +0 -63
  36. package/dist/components/Avatar/appearance/avatarStyle.js +0 -16
  37. package/dist/components/Avatar/index.js +0 -2
  38. package/dist/components/AvatarStack/AvatarStack.appearance.js +0 -5
  39. package/dist/components/AvatarStack/AvatarStack.interface.js +0 -1
  40. package/dist/components/AvatarStack/AvatarStack.js +0 -25
  41. package/dist/components/AvatarStack/appearance/avatarStackSize.js +0 -21
  42. package/dist/components/AvatarStack/index.js +0 -2
  43. package/dist/components/Badge/Badge.appearance.js +0 -29
  44. package/dist/components/Badge/Badge.interface.js +0 -1
  45. package/dist/components/Badge/Badge.js +0 -35
  46. package/dist/components/Badge/appearance/badgeAccent.js +0 -31
  47. package/dist/components/Badge/appearance/badgeDanger.js +0 -10
  48. package/dist/components/Badge/appearance/badgeDisabled.js +0 -9
  49. package/dist/components/Badge/appearance/badgeError.js +0 -9
  50. package/dist/components/Badge/appearance/badgeExtra.js +0 -10
  51. package/dist/components/Badge/appearance/badgeInfo.js +0 -16
  52. package/dist/components/Badge/appearance/badgeShape.js +0 -25
  53. package/dist/components/Badge/appearance/badgeSize.js +0 -38
  54. package/dist/components/Badge/appearance/badgeSpecial.js +0 -10
  55. package/dist/components/Badge/appearance/badgeStyle.js +0 -14
  56. package/dist/components/Badge/appearance/badgeSuccess.js +0 -10
  57. package/dist/components/Badge/appearance/badgeSurface.js +0 -25
  58. package/dist/components/Badge/appearance/badgeWarning.js +0 -10
  59. package/dist/components/Badge/index.js +0 -2
  60. package/dist/components/Breadcrumbs/Breadcrumbs.appearance.js +0 -11
  61. package/dist/components/Breadcrumbs/Breadcrumbs.interface.js +0 -1
  62. package/dist/components/Breadcrumbs/Breadcrumbs.js +0 -23
  63. package/dist/components/Breadcrumbs/BreadcrumbsItem.js +0 -24
  64. package/dist/components/Breadcrumbs/appearance/breadcrumbsAccent.js +0 -9
  65. package/dist/components/Breadcrumbs/appearance/breadcrumbsSize.js +0 -39
  66. package/dist/components/Breadcrumbs/appearance/breadcrumbsStyle.js +0 -14
  67. package/dist/components/Breadcrumbs/appearance/breadcrumbsSurface.js +0 -27
  68. package/dist/components/Breadcrumbs/index.js +0 -4
  69. package/dist/components/Button/Button.appearance.js +0 -27
  70. package/dist/components/Button/Button.interface.js +0 -1
  71. package/dist/components/Button/Button.js +0 -46
  72. package/dist/components/Button/appearance/buttonAccent.js +0 -36
  73. package/dist/components/Button/appearance/buttonDanger.js +0 -24
  74. package/dist/components/Button/appearance/buttonError.js +0 -24
  75. package/dist/components/Button/appearance/buttonExtra.js +0 -22
  76. package/dist/components/Button/appearance/buttonInfo.js +0 -36
  77. package/dist/components/Button/appearance/buttonShape.js +0 -25
  78. package/dist/components/Button/appearance/buttonSize.js +0 -52
  79. package/dist/components/Button/appearance/buttonSpecial.js +0 -22
  80. package/dist/components/Button/appearance/buttonStyle.js +0 -14
  81. package/dist/components/Button/appearance/buttonSuccess.js +0 -24
  82. package/dist/components/Button/appearance/buttonSurface.js +0 -52
  83. package/dist/components/Button/appearance/buttonWarning.js +0 -24
  84. package/dist/components/Button/index.js +0 -2
  85. package/dist/components/Cell/Cell.appearance.js +0 -9
  86. package/dist/components/Cell/Cell.interface.js +0 -1
  87. package/dist/components/Cell/Cell.js +0 -36
  88. package/dist/components/Cell/appearance/cellSize.js +0 -59
  89. package/dist/components/Cell/appearance/cellStyle.js +0 -14
  90. package/dist/components/Cell/appearance/cellSurface.js +0 -51
  91. package/dist/components/Cell/index.js +0 -2
  92. package/dist/components/Checkbox/Checkbox.appearance.js +0 -19
  93. package/dist/components/Checkbox/Checkbox.interface.js +0 -1
  94. package/dist/components/Checkbox/Checkbox.js +0 -39
  95. package/dist/components/Checkbox/appearance/checkboxDefault.js +0 -16
  96. package/dist/components/Checkbox/appearance/checkboxDisabled.js +0 -16
  97. package/dist/components/Checkbox/appearance/checkboxError.js +0 -16
  98. package/dist/components/Checkbox/appearance/checkboxRequire.js +0 -16
  99. package/dist/components/Checkbox/appearance/checkboxShape.js +0 -10
  100. package/dist/components/Checkbox/appearance/checkboxSize.js +0 -23
  101. package/dist/components/Checkbox/appearance/checkboxStyle.js +0 -22
  102. package/dist/components/Checkbox/appearance/checkboxSuccess.js +0 -16
  103. package/dist/components/Checkbox/index.js +0 -2
  104. package/dist/components/Checkmark/Checkmark.appearance.js +0 -15
  105. package/dist/components/Checkmark/Checkmark.interface.js +0 -1
  106. package/dist/components/Checkmark/Checkmark.js +0 -33
  107. package/dist/components/Checkmark/appearance/checkmarkAccent.js +0 -10
  108. package/dist/components/Checkmark/appearance/checkmarkDisabled.js +0 -10
  109. package/dist/components/Checkmark/appearance/checkmarkError.js +0 -10
  110. package/dist/components/Checkmark/appearance/checkmarkSize.js +0 -32
  111. package/dist/components/Checkmark/appearance/checkmarkStyle.js +0 -14
  112. package/dist/components/Checkmark/appearance/checkmarkSurface.js +0 -21
  113. package/dist/components/Checkmark/index.js +0 -2
  114. package/dist/components/Chips/Chips.appearance.js +0 -29
  115. package/dist/components/Chips/Chips.interface.js +0 -1
  116. package/dist/components/Chips/Chips.js +0 -28
  117. package/dist/components/Chips/ChipsGroup.js +0 -19
  118. package/dist/components/Chips/appearance/chipsAccent.js +0 -24
  119. package/dist/components/Chips/appearance/chipsDanger.js +0 -17
  120. package/dist/components/Chips/appearance/chipsDisabled.js +0 -14
  121. package/dist/components/Chips/appearance/chipsError.js +0 -17
  122. package/dist/components/Chips/appearance/chipsExtra.js +0 -17
  123. package/dist/components/Chips/appearance/chipsInfo.js +0 -17
  124. package/dist/components/Chips/appearance/chipsShape.js +0 -25
  125. package/dist/components/Chips/appearance/chipsSize.js +0 -45
  126. package/dist/components/Chips/appearance/chipsSpecial.js +0 -17
  127. package/dist/components/Chips/appearance/chipsStyle.js +0 -14
  128. package/dist/components/Chips/appearance/chipsSuccess.js +0 -17
  129. package/dist/components/Chips/appearance/chipsSurface.js +0 -45
  130. package/dist/components/Chips/appearance/chipsWarning.js +0 -17
  131. package/dist/components/Chips/index.js +0 -3
  132. package/dist/components/Choice/Choice.appearance.js +0 -19
  133. package/dist/components/Choice/Choice.interface.js +0 -1
  134. package/dist/components/Choice/Choice.js +0 -57
  135. package/dist/components/Choice/appearance/choiceDefault.js +0 -37
  136. package/dist/components/Choice/appearance/choiceDisabled.js +0 -18
  137. package/dist/components/Choice/appearance/choiceError.js +0 -17
  138. package/dist/components/Choice/appearance/choiceRequire.js +0 -18
  139. package/dist/components/Choice/appearance/choiceShape.js +0 -25
  140. package/dist/components/Choice/appearance/choiceSize.js +0 -18
  141. package/dist/components/Choice/appearance/choiceStyle.js +0 -14
  142. package/dist/components/Choice/appearance/choiceSuccess.js +0 -18
  143. package/dist/components/Choice/index.js +0 -2
  144. package/dist/components/Code/Code.appearance.js +0 -19
  145. package/dist/components/Code/Code.interface.js +0 -1
  146. package/dist/components/Code/Code.js +0 -37
  147. package/dist/components/Code/appearance/codeDefault.js +0 -11
  148. package/dist/components/Code/appearance/codeDisabled.js +0 -12
  149. package/dist/components/Code/appearance/codeError.js +0 -12
  150. package/dist/components/Code/appearance/codeRequire.js +0 -12
  151. package/dist/components/Code/appearance/codeShape.js +0 -25
  152. package/dist/components/Code/appearance/codeSize.js +0 -13
  153. package/dist/components/Code/appearance/codeStyle.js +0 -16
  154. package/dist/components/Code/appearance/codeSuccess.js +0 -12
  155. package/dist/components/Code/index.js +0 -2
  156. package/dist/components/CookiesWarning/CookiesWarning.appearance.js +0 -5
  157. package/dist/components/CookiesWarning/CookiesWarning.interface.js +0 -1
  158. package/dist/components/CookiesWarning/CookiesWarning.js +0 -42
  159. package/dist/components/CookiesWarning/appearance/cookiesWarningDefault.js +0 -12
  160. package/dist/components/CookiesWarning/index.js +0 -3
  161. package/dist/components/Dadata/Dadata.interface.js +0 -1
  162. package/dist/components/Dadata/Dadata.js +0 -35
  163. package/dist/components/Dadata/index.js +0 -1
  164. package/dist/components/DatePeriod/DatePeriod.appearance.js +0 -9
  165. package/dist/components/DatePeriod/DatePeriod.interface.js +0 -1
  166. package/dist/components/DatePeriod/DatePeriod.js +0 -60
  167. package/dist/components/DatePeriod/appearance/datePeriodShape.js +0 -35
  168. package/dist/components/DatePeriod/appearance/datePeriodSize.js +0 -24
  169. package/dist/components/DatePeriod/appearance/datePeriodSurface.js +0 -17
  170. package/dist/components/DatePeriod/index.js +0 -2
  171. package/dist/components/DatePicker/DatePicker.appearance.js +0 -9
  172. package/dist/components/DatePicker/DatePicker.interface.js +0 -1
  173. package/dist/components/DatePicker/DatePicker.js +0 -110
  174. package/dist/components/DatePicker/DatePicker.utils.js +0 -12
  175. package/dist/components/DatePicker/appearance/datePickerSize.js +0 -31
  176. package/dist/components/DatePicker/appearance/datePickerStyle.js +0 -20
  177. package/dist/components/DatePicker/appearance/datePickerSurface.js +0 -14
  178. package/dist/components/DatePicker/index.js +0 -2
  179. package/dist/components/Divider/Divider.appearance.js +0 -19
  180. package/dist/components/Divider/Divider.interface.js +0 -1
  181. package/dist/components/Divider/Divider.js +0 -25
  182. package/dist/components/Divider/appearance/dividerAccent.js +0 -6
  183. package/dist/components/Divider/appearance/dividerError.js +0 -6
  184. package/dist/components/Divider/appearance/dividerExtra.js +0 -6
  185. package/dist/components/Divider/appearance/dividerSize.js +0 -12
  186. package/dist/components/Divider/appearance/dividerSpecial.js +0 -6
  187. package/dist/components/Divider/appearance/dividerSuccess.js +0 -6
  188. package/dist/components/Divider/appearance/dividerSurface.js +0 -15
  189. package/dist/components/Divider/appearance/dividerWarning.js +0 -6
  190. package/dist/components/Divider/index.js +0 -2
  191. package/dist/components/Dot/Dot.interface.js +0 -1
  192. package/dist/components/Dot/Dot.js +0 -12
  193. package/dist/components/Dot/index.js +0 -1
  194. package/dist/components/Drawer/Drawer.appearance.js +0 -7
  195. package/dist/components/Drawer/Drawer.constants.js +0 -16
  196. package/dist/components/Drawer/Drawer.interface.js +0 -1
  197. package/dist/components/Drawer/Drawer.js +0 -65
  198. package/dist/components/Drawer/appearance/drawerSize.js +0 -8
  199. package/dist/components/Drawer/appearance/drawerSurface.js +0 -10
  200. package/dist/components/Drawer/index.js +0 -2
  201. package/dist/components/Dropdown/Dropdown.appearance.js +0 -13
  202. package/dist/components/Dropdown/Dropdown.interface.js +0 -1
  203. package/dist/components/Dropdown/Dropdown.js +0 -56
  204. package/dist/components/Dropdown/DropdownItem.appearance.js +0 -13
  205. package/dist/components/Dropdown/DropdownItem.js +0 -31
  206. package/dist/components/Dropdown/appearance/dropdownAccent.js +0 -24
  207. package/dist/components/Dropdown/appearance/dropdownShape.js +0 -25
  208. package/dist/components/Dropdown/appearance/dropdownSize.js +0 -39
  209. package/dist/components/Dropdown/appearance/dropdownStyle.js +0 -14
  210. package/dist/components/Dropdown/appearance/dropdownSurface.js +0 -32
  211. package/dist/components/Dropdown/index.js +0 -4
  212. package/dist/components/Dropzone/Dropzone.appearance.js +0 -15
  213. package/dist/components/Dropzone/Dropzone.interface.js +0 -1
  214. package/dist/components/Dropzone/Dropzone.js +0 -131
  215. package/dist/components/Dropzone/appearance/dropzoneDefault.js +0 -17
  216. package/dist/components/Dropzone/appearance/dropzoneDisabled.js +0 -17
  217. package/dist/components/Dropzone/appearance/dropzoneError.js +0 -17
  218. package/dist/components/Dropzone/appearance/dropzoneRequire.js +0 -17
  219. package/dist/components/Dropzone/appearance/dropzoneShape.js +0 -25
  220. package/dist/components/Dropzone/appearance/dropzoneSuccess.js +0 -17
  221. package/dist/components/Dropzone/index.js +0 -1
  222. package/dist/components/Flex/Flex.interface.js +0 -1
  223. package/dist/components/Flex/Flex.js +0 -12
  224. package/dist/components/Flex/FlexItem.js +0 -13
  225. package/dist/components/Flex/index.js +0 -3
  226. package/dist/components/Grid/Grid.interface.js +0 -1
  227. package/dist/components/Grid/Grid.js +0 -12
  228. package/dist/components/Grid/GridItem.js +0 -12
  229. package/dist/components/Grid/GridRow.js +0 -12
  230. package/dist/components/Grid/index.js +0 -4
  231. package/dist/components/Group/Group.appearance.js +0 -2
  232. package/dist/components/Group/Group.interface.js +0 -1
  233. package/dist/components/Group/Group.js +0 -43
  234. package/dist/components/Group/index.js +0 -2
  235. package/dist/components/HTMLContent/HTMLContent.interface.js +0 -1
  236. package/dist/components/HTMLContent/HTMLContent.js +0 -12
  237. package/dist/components/HTMLContent/index.js +0 -1
  238. package/dist/components/HeroTitle/HeroTitle.appearance.js +0 -5
  239. package/dist/components/HeroTitle/HeroTitle.interface.js +0 -1
  240. package/dist/components/HeroTitle/HeroTitle.js +0 -30
  241. package/dist/components/HeroTitle/appearance/heroTitleSize.js +0 -21
  242. package/dist/components/HeroTitle/index.js +0 -2
  243. package/dist/components/Icon/Icon.appearance.js +0 -29
  244. package/dist/components/Icon/Icon.interface.js +0 -1
  245. package/dist/components/Icon/Icon.js +0 -69
  246. package/dist/components/Icon/appearance/iconAccent.js +0 -16
  247. package/dist/components/Icon/appearance/iconDanger.js +0 -10
  248. package/dist/components/Icon/appearance/iconDisabled.js +0 -9
  249. package/dist/components/Icon/appearance/iconError.js +0 -10
  250. package/dist/components/Icon/appearance/iconExtra.js +0 -10
  251. package/dist/components/Icon/appearance/iconInfo.js +0 -15
  252. package/dist/components/Icon/appearance/iconShape.js +0 -25
  253. package/dist/components/Icon/appearance/iconSize.js +0 -171
  254. package/dist/components/Icon/appearance/iconSpecial.js +0 -10
  255. package/dist/components/Icon/appearance/iconStyle.js +0 -14
  256. package/dist/components/Icon/appearance/iconSuccess.js +0 -10
  257. package/dist/components/Icon/appearance/iconSurface.js +0 -28
  258. package/dist/components/Icon/appearance/iconWarning.js +0 -10
  259. package/dist/components/Icon/index.js +0 -2
  260. package/dist/components/Image/Image.interface.js +0 -1
  261. package/dist/components/Image/Image.js +0 -33
  262. package/dist/components/Image/index.js +0 -1
  263. package/dist/components/Input/Input.appearance.js +0 -19
  264. package/dist/components/Input/Input.interface.js +0 -1
  265. package/dist/components/Input/Input.js +0 -22
  266. package/dist/components/Input/appearance/inputDefault.js +0 -21
  267. package/dist/components/Input/appearance/inputDisabled.js +0 -17
  268. package/dist/components/Input/appearance/inputError.js +0 -18
  269. package/dist/components/Input/appearance/inputRequire.js +0 -19
  270. package/dist/components/Input/appearance/inputShape.js +0 -25
  271. package/dist/components/Input/appearance/inputSize.js +0 -31
  272. package/dist/components/Input/appearance/inputStyle.js +0 -16
  273. package/dist/components/Input/appearance/inputSuccess.js +0 -18
  274. package/dist/components/Input/index.js +0 -2
  275. package/dist/components/InputNumber/InputNumber.appearance.js +0 -11
  276. package/dist/components/InputNumber/InputNumber.interfaces.js +0 -1
  277. package/dist/components/InputNumber/InputNumber.js +0 -44
  278. package/dist/components/InputNumber/appearance/InputNumberShape.js +0 -25
  279. package/dist/components/InputNumber/appearance/inputNumberSize.js +0 -28
  280. package/dist/components/InputNumber/appearance/inputNumberStyle.js +0 -16
  281. package/dist/components/InputNumber/appearance/inputNumberSurface.js +0 -16
  282. package/dist/components/InputNumber/index.js +0 -2
  283. package/dist/components/InputPassword/InputPassword.appearance.js +0 -19
  284. package/dist/components/InputPassword/InputPassword.interface.js +0 -1
  285. package/dist/components/InputPassword/InputPassword.js +0 -31
  286. package/dist/components/InputPassword/appearance/inputPasswordDefault.js +0 -24
  287. package/dist/components/InputPassword/appearance/inputPasswordDisabled.js +0 -21
  288. package/dist/components/InputPassword/appearance/inputPasswordError.js +0 -21
  289. package/dist/components/InputPassword/appearance/inputPasswordRequire.js +0 -21
  290. package/dist/components/InputPassword/appearance/inputPasswordShape.js +0 -25
  291. package/dist/components/InputPassword/appearance/inputPasswordSize.js +0 -38
  292. package/dist/components/InputPassword/appearance/inputPasswordStyle.js +0 -16
  293. package/dist/components/InputPassword/appearance/inputPasswordSuccess.js +0 -21
  294. package/dist/components/InputPassword/index.js +0 -2
  295. package/dist/components/Label/Label.appearance.js +0 -31
  296. package/dist/components/Label/Label.interface.js +0 -1
  297. package/dist/components/Label/Label.js +0 -32
  298. package/dist/components/Label/appearance/labelAccent.js +0 -21
  299. package/dist/components/Label/appearance/labelDanger.js +0 -17
  300. package/dist/components/Label/appearance/labelDisabled.js +0 -10
  301. package/dist/components/Label/appearance/labelError.js +0 -17
  302. package/dist/components/Label/appearance/labelExtra.js +0 -17
  303. package/dist/components/Label/appearance/labelGradient.js +0 -10
  304. package/dist/components/Label/appearance/labelInfo.js +0 -17
  305. package/dist/components/Label/appearance/labelShape.js +0 -25
  306. package/dist/components/Label/appearance/labelSize.js +0 -59
  307. package/dist/components/Label/appearance/labelSpecial.js +0 -17
  308. package/dist/components/Label/appearance/labelStyle.js +0 -14
  309. package/dist/components/Label/appearance/labelSuccess.js +0 -17
  310. package/dist/components/Label/appearance/labelSurface.js +0 -25
  311. package/dist/components/Label/appearance/labelWarning.js +0 -17
  312. package/dist/components/Label/index.js +0 -2
  313. package/dist/components/Link/Link.appearance.js +0 -29
  314. package/dist/components/Link/Link.interface.js +0 -1
  315. package/dist/components/Link/Link.js +0 -50
  316. package/dist/components/Link/appearance/linkAccent.js +0 -15
  317. package/dist/components/Link/appearance/linkDanger.js +0 -7
  318. package/dist/components/Link/appearance/linkDisabled.js +0 -13
  319. package/dist/components/Link/appearance/linkError.js +0 -9
  320. package/dist/components/Link/appearance/linkExtra.js +0 -8
  321. package/dist/components/Link/appearance/linkInfo.js +0 -17
  322. package/dist/components/Link/appearance/linkRequire.js +0 -12
  323. package/dist/components/Link/appearance/linkSize.js +0 -59
  324. package/dist/components/Link/appearance/linkSpecial.js +0 -8
  325. package/dist/components/Link/appearance/linkStyle.js +0 -16
  326. package/dist/components/Link/appearance/linkSuccess.js +0 -9
  327. package/dist/components/Link/appearance/linkSurface.js +0 -23
  328. package/dist/components/Link/appearance/linkWarning.js +0 -9
  329. package/dist/components/Link/index.js +0 -2
  330. package/dist/components/List/List.appearance.js +0 -25
  331. package/dist/components/List/List.interface.js +0 -1
  332. package/dist/components/List/List.js +0 -22
  333. package/dist/components/List/ListItem.js +0 -16
  334. package/dist/components/List/appearance/listAccent.js +0 -8
  335. package/dist/components/List/appearance/listDanger.js +0 -7
  336. package/dist/components/List/appearance/listError.js +0 -7
  337. package/dist/components/List/appearance/listExtra.js +0 -7
  338. package/dist/components/List/appearance/listInfo.js +0 -13
  339. package/dist/components/List/appearance/listSize.js +0 -24
  340. package/dist/components/List/appearance/listSpecial.js +0 -7
  341. package/dist/components/List/appearance/listStyle.js +0 -16
  342. package/dist/components/List/appearance/listSuccess.js +0 -7
  343. package/dist/components/List/appearance/listSurface.js +0 -19
  344. package/dist/components/List/appearance/listWarning.js +0 -7
  345. package/dist/components/List/index.js +0 -3
  346. package/dist/components/Loader/Loader.appearance.js +0 -25
  347. package/dist/components/Loader/Loader.interface.js +0 -1
  348. package/dist/components/Loader/Loader.js +0 -22
  349. package/dist/components/Loader/appearance/loaderAccent.js +0 -13
  350. package/dist/components/Loader/appearance/loaderDanger.js +0 -8
  351. package/dist/components/Loader/appearance/loaderError.js +0 -8
  352. package/dist/components/Loader/appearance/loaderExtra.js +0 -8
  353. package/dist/components/Loader/appearance/loaderInfo.js +0 -8
  354. package/dist/components/Loader/appearance/loaderSize.js +0 -15
  355. package/dist/components/Loader/appearance/loaderSpecial.js +0 -8
  356. package/dist/components/Loader/appearance/loaderStyle.js +0 -14
  357. package/dist/components/Loader/appearance/loaderSuccess.js +0 -8
  358. package/dist/components/Loader/appearance/loaderSurface.js +0 -18
  359. package/dist/components/Loader/appearance/loaderWarning.js +0 -8
  360. package/dist/components/Loader/index.js +0 -2
  361. package/dist/components/Logo/Logo.interface.js +0 -1
  362. package/dist/components/Logo/Logo.js +0 -23
  363. package/dist/components/Logo/index.js +0 -1
  364. package/dist/components/MenuItem/MenuItem.appearance.js +0 -15
  365. package/dist/components/MenuItem/MenuItem.interface.js +0 -1
  366. package/dist/components/MenuItem/MenuItem.js +0 -47
  367. package/dist/components/MenuItem/appearance/menuItemAccent.js +0 -27
  368. package/dist/components/MenuItem/appearance/menuItemError.js +0 -19
  369. package/dist/components/MenuItem/appearance/menuItemShape.js +0 -25
  370. package/dist/components/MenuItem/appearance/menuItemSize.js +0 -47
  371. package/dist/components/MenuItem/appearance/menuItemStyle.js +0 -14
  372. package/dist/components/MenuItem/appearance/menuItemSurface.js +0 -45
  373. package/dist/components/MenuItem/index.js +0 -2
  374. package/dist/components/Modal/Modal.appearance.js +0 -11
  375. package/dist/components/Modal/Modal.interface.js +0 -1
  376. package/dist/components/Modal/Modal.js +0 -139
  377. package/dist/components/Modal/ModalLoader.js +0 -6
  378. package/dist/components/Modal/appearance/modalShape.js +0 -25
  379. package/dist/components/Modal/appearance/modalSize.js +0 -28
  380. package/dist/components/Modal/appearance/modalStyle.js +0 -14
  381. package/dist/components/Modal/appearance/modalSurface.js +0 -8
  382. package/dist/components/Modal/index.js +0 -4
  383. package/dist/components/ModalSheetBottom/ModalSheetBottom.appearance.js +0 -5
  384. package/dist/components/ModalSheetBottom/ModalSheetBottom.interface.js +0 -1
  385. package/dist/components/ModalSheetBottom/ModalSheetBottom.js +0 -38
  386. package/dist/components/ModalSheetBottom/appearance/modalSheetBottomSize.js +0 -9
  387. package/dist/components/ModalSheetBottom/index.js +0 -2
  388. package/dist/components/Notification/Notification.appearance.js +0 -19
  389. package/dist/components/Notification/Notification.interface.js +0 -1
  390. package/dist/components/Notification/Notification.js +0 -26
  391. package/dist/components/Notification/NotificationWrapper.js +0 -12
  392. package/dist/components/Notification/appearance/notificationDefault.js +0 -16
  393. package/dist/components/Notification/appearance/notificationError.js +0 -16
  394. package/dist/components/Notification/appearance/notificationInfo.js +0 -16
  395. package/dist/components/Notification/appearance/notificationShape.js +0 -25
  396. package/dist/components/Notification/appearance/notificationSize.js +0 -17
  397. package/dist/components/Notification/appearance/notificationStyle.js +0 -14
  398. package/dist/components/Notification/appearance/notificationSuccess.js +0 -16
  399. package/dist/components/Notification/appearance/notificationWarning.js +0 -16
  400. package/dist/components/Notification/index.js +0 -4
  401. package/dist/components/Overlay/Overlay.appearance.js +0 -5
  402. package/dist/components/Overlay/Overlay.interface.js +0 -1
  403. package/dist/components/Overlay/Overlay.js +0 -21
  404. package/dist/components/Overlay/appearance/overlayDefault.js +0 -11
  405. package/dist/components/Overlay/index.js +0 -2
  406. package/dist/components/Pagination/Pagination.appearance.js +0 -13
  407. package/dist/components/Pagination/Pagination.interface.js +0 -1
  408. package/dist/components/Pagination/Pagination.js +0 -117
  409. package/dist/components/Pagination/appearance/paginationAccent.js +0 -38
  410. package/dist/components/Pagination/appearance/paginationShape.js +0 -34
  411. package/dist/components/Pagination/appearance/paginationSize.js +0 -63
  412. package/dist/components/Pagination/appearance/paginationStyle.js +0 -14
  413. package/dist/components/Pagination/appearance/paginationSurface.js +0 -35
  414. package/dist/components/Pagination/index.js +0 -2
  415. package/dist/components/Radio/Radio.appearance.js +0 -19
  416. package/dist/components/Radio/Radio.interface.js +0 -1
  417. package/dist/components/Radio/Radio.js +0 -33
  418. package/dist/components/Radio/appearance/radioDefault.js +0 -17
  419. package/dist/components/Radio/appearance/radioDisabled.js +0 -14
  420. package/dist/components/Radio/appearance/radioError.js +0 -14
  421. package/dist/components/Radio/appearance/radioRequire.js +0 -14
  422. package/dist/components/Radio/appearance/radioShape.js +0 -25
  423. package/dist/components/Radio/appearance/radioSize.js +0 -18
  424. package/dist/components/Radio/appearance/radioStyle.js +0 -24
  425. package/dist/components/Radio/appearance/radioSuccess.js +0 -14
  426. package/dist/components/Radio/index.js +0 -2
  427. package/dist/components/RangeSlider/RangeSlider.interface.js +0 -1
  428. package/dist/components/RangeSlider/RangeSlider.js +0 -16
  429. package/dist/components/RangeSlider/index.js +0 -1
  430. package/dist/components/Response/Response.appearance.js +0 -25
  431. package/dist/components/Response/Response.constant.js +0 -68
  432. package/dist/components/Response/Response.interface.js +0 -1
  433. package/dist/components/Response/Response.js +0 -49
  434. package/dist/components/Response/appearance/responseConfirm.js +0 -15
  435. package/dist/components/Response/appearance/responseDanger.js +0 -15
  436. package/dist/components/Response/appearance/responseEmpty.js +0 -15
  437. package/dist/components/Response/appearance/responseError.js +0 -15
  438. package/dist/components/Response/appearance/responseFail.js +0 -15
  439. package/dist/components/Response/appearance/responseNothingFound.js +0 -15
  440. package/dist/components/Response/appearance/responseRefresh.js +0 -15
  441. package/dist/components/Response/appearance/responseStyle.js +0 -14
  442. package/dist/components/Response/appearance/responseSuccess.js +0 -15
  443. package/dist/components/Response/appearance/responseUnableLoadData.js +0 -15
  444. package/dist/components/Response/appearance/responseWarning.js +0 -15
  445. package/dist/components/Response/img/index.js +0 -25
  446. package/dist/components/Response/index.js +0 -5
  447. package/dist/components/SVGContent/SVGContent.interface.js +0 -1
  448. package/dist/components/SVGContent/SVGContent.js +0 -15
  449. package/dist/components/SVGContent/index.js +0 -1
  450. package/dist/components/ScrollOnDrag/ScrollOnDrag.interface.js +0 -1
  451. package/dist/components/ScrollOnDrag/ScrollOnDrag.js +0 -18
  452. package/dist/components/ScrollOnDrag/index.js +0 -1
  453. package/dist/components/ScrollToView/ScrollToView.interface.js +0 -1
  454. package/dist/components/ScrollToView/ScrollToView.js +0 -15
  455. package/dist/components/ScrollToView/index.js +0 -1
  456. package/dist/components/Scrollbar/Scrollbar.interface.js +0 -1
  457. package/dist/components/Scrollbar/Scrollbar.js +0 -22
  458. package/dist/components/Scrollbar/index.js +0 -1
  459. package/dist/components/Search/Search.appearance.js +0 -19
  460. package/dist/components/Search/Search.interface.js +0 -1
  461. package/dist/components/Search/SearchInput.js +0 -42
  462. package/dist/components/Search/SearchResult.js +0 -12
  463. package/dist/components/Search/appearance/searchDefault.js +0 -23
  464. package/dist/components/Search/appearance/searchDisabled.js +0 -13
  465. package/dist/components/Search/appearance/searchError.js +0 -13
  466. package/dist/components/Search/appearance/searchRequire.js +0 -13
  467. package/dist/components/Search/appearance/searchShape.js +0 -25
  468. package/dist/components/Search/appearance/searchSize.js +0 -46
  469. package/dist/components/Search/appearance/searchStyle.js +0 -17
  470. package/dist/components/Search/appearance/searchSuccess.js +0 -12
  471. package/dist/components/Search/index.js +0 -4
  472. package/dist/components/Segmented/Segmented.appearance.js +0 -21
  473. package/dist/components/Segmented/Segmented.interface.js +0 -1
  474. package/dist/components/Segmented/Segmented.js +0 -53
  475. package/dist/components/Segmented/appearance/segmentedDefault.js +0 -29
  476. package/dist/components/Segmented/appearance/segmentedDisabled.js +0 -12
  477. package/dist/components/Segmented/appearance/segmentedError.js +0 -14
  478. package/dist/components/Segmented/appearance/segmentedRequire.js +0 -15
  479. package/dist/components/Segmented/appearance/segmentedShape.js +0 -25
  480. package/dist/components/Segmented/appearance/segmentedSize.js +0 -28
  481. package/dist/components/Segmented/appearance/segmentedStyle.js +0 -16
  482. package/dist/components/Segmented/appearance/segmentedSuccess.js +0 -13
  483. package/dist/components/Segmented/appearance/segmentedWarning.js +0 -14
  484. package/dist/components/Segmented/index.js +0 -2
  485. package/dist/components/Select/Select.appearance.js +0 -19
  486. package/dist/components/Select/Select.interface.js +0 -1
  487. package/dist/components/Select/SelectClearIndicator.js +0 -9
  488. package/dist/components/Select/SelectContainer.js +0 -100
  489. package/dist/components/Select/SelectControl.js +0 -9
  490. package/dist/components/Select/SelectDropdownIndicator.js +0 -9
  491. package/dist/components/Select/SelectGroupHeading.js +0 -9
  492. package/dist/components/Select/SelectIndicatorsContainer.js +0 -13
  493. package/dist/components/Select/SelectInput.js +0 -8
  494. package/dist/components/Select/SelectLoadingIndicator.js +0 -7
  495. package/dist/components/Select/SelectLoadingMessage.js +0 -8
  496. package/dist/components/Select/SelectMenu.js +0 -9
  497. package/dist/components/Select/SelectMultiValue.js +0 -18
  498. package/dist/components/Select/SelectMultiValueContainer.js +0 -9
  499. package/dist/components/Select/SelectMultiValueLabel.js +0 -8
  500. package/dist/components/Select/SelectMultiValueRemove.js +0 -8
  501. package/dist/components/Select/SelectNoOptions.js +0 -12
  502. package/dist/components/Select/SelectOption.js +0 -26
  503. package/dist/components/Select/SelectOverflowBadge.js +0 -9
  504. package/dist/components/Select/SelectPlaceholder.js +0 -8
  505. package/dist/components/Select/SelectSingleValue.js +0 -11
  506. package/dist/components/Select/SelectValueContainer.js +0 -7
  507. package/dist/components/Select/appearance/selectDefault.js +0 -37
  508. package/dist/components/Select/appearance/selectDisabled.js +0 -28
  509. package/dist/components/Select/appearance/selectError.js +0 -37
  510. package/dist/components/Select/appearance/selectRequire.js +0 -37
  511. package/dist/components/Select/appearance/selectShape.js +0 -27
  512. package/dist/components/Select/appearance/selectSize.js +0 -116
  513. package/dist/components/Select/appearance/selectStyle.js +0 -17
  514. package/dist/components/Select/appearance/selectSuccess.js +0 -37
  515. package/dist/components/Select/index.js +0 -16
  516. package/dist/components/Swiper/Swiper.interface.js +0 -1
  517. package/dist/components/Swiper/Swiper.js +0 -73
  518. package/dist/components/Swiper/index.js +0 -1
  519. package/dist/components/Switch/Switch.appearance.js +0 -17
  520. package/dist/components/Switch/Switch.interface.js +0 -1
  521. package/dist/components/Switch/Switch.js +0 -31
  522. package/dist/components/Switch/appearance/switchDefault.js +0 -11
  523. package/dist/components/Switch/appearance/switchDisabled.js +0 -11
  524. package/dist/components/Switch/appearance/switchError.js +0 -11
  525. package/dist/components/Switch/appearance/switchRequire.js +0 -11
  526. package/dist/components/Switch/appearance/switchSize.js +0 -18
  527. package/dist/components/Switch/appearance/switchStyle.js +0 -16
  528. package/dist/components/Switch/appearance/switchSuccess.js +0 -11
  529. package/dist/components/Switch/index.js +0 -2
  530. package/dist/components/Tab/Tab.appearance.js +0 -15
  531. package/dist/components/Tab/Tab.interface.js +0 -1
  532. package/dist/components/Tab/Tab.js +0 -34
  533. package/dist/components/Tab/TabGroup.js +0 -14
  534. package/dist/components/Tab/appearance/tabError.js +0 -13
  535. package/dist/components/Tab/appearance/tabSize.js +0 -44
  536. package/dist/components/Tab/appearance/tabStyle.js +0 -16
  537. package/dist/components/Tab/appearance/tabSuccess.js +0 -13
  538. package/dist/components/Tab/appearance/tabSurface.js +0 -64
  539. package/dist/components/Tab/appearance/tabWarning.js +0 -12
  540. package/dist/components/Tab/index.js +0 -3
  541. package/dist/components/Text/Text.appearance.js +0 -5
  542. package/dist/components/Text/Text.interface.js +0 -1
  543. package/dist/components/Text/Text.js +0 -35
  544. package/dist/components/Text/appearance/textSize.js +0 -24
  545. package/dist/components/Text/index.js +0 -2
  546. package/dist/components/Textarea/Textarea.appearance.js +0 -19
  547. package/dist/components/Textarea/Textarea.interface.js +0 -1
  548. package/dist/components/Textarea/Textarea.js +0 -20
  549. package/dist/components/Textarea/appearance/textareaDefault.js +0 -33
  550. package/dist/components/Textarea/appearance/textareaDisabled.js +0 -18
  551. package/dist/components/Textarea/appearance/textareaError.js +0 -18
  552. package/dist/components/Textarea/appearance/textareaRequire.js +0 -18
  553. package/dist/components/Textarea/appearance/textareaShape.js +0 -25
  554. package/dist/components/Textarea/appearance/textareaSize.js +0 -31
  555. package/dist/components/Textarea/appearance/textareaStyle.js +0 -16
  556. package/dist/components/Textarea/appearance/textareaSuccess.js +0 -19
  557. package/dist/components/Textarea/index.js +0 -2
  558. package/dist/components/Tile/Tile.appearance.js +0 -11
  559. package/dist/components/Tile/Tile.interface.js +0 -1
  560. package/dist/components/Tile/Tile.js +0 -26
  561. package/dist/components/Tile/appearance/tileShape.js +0 -25
  562. package/dist/components/Tile/appearance/tileSize.js +0 -51
  563. package/dist/components/Tile/appearance/tileStyle.js +0 -14
  564. package/dist/components/Tile/appearance/tileSurface.js +0 -35
  565. package/dist/components/Tile/index.js +0 -2
  566. package/dist/components/Title/Title.appearance.js +0 -29
  567. package/dist/components/Title/Title.interface.js +0 -1
  568. package/dist/components/Title/Title.js +0 -43
  569. package/dist/components/Title/appearance/titleAccent.js +0 -11
  570. package/dist/components/Title/appearance/titleDanger.js +0 -7
  571. package/dist/components/Title/appearance/titleDisabled.js +0 -16
  572. package/dist/components/Title/appearance/titleError.js +0 -9
  573. package/dist/components/Title/appearance/titleExtra.js +0 -8
  574. package/dist/components/Title/appearance/titleInfo.js +0 -11
  575. package/dist/components/Title/appearance/titleRequire.js +0 -16
  576. package/dist/components/Title/appearance/titleSize.js +0 -45
  577. package/dist/components/Title/appearance/titleSpecial.js +0 -7
  578. package/dist/components/Title/appearance/titleStyle.js +0 -11
  579. package/dist/components/Title/appearance/titleSuccess.js +0 -7
  580. package/dist/components/Title/appearance/titleSurface.js +0 -19
  581. package/dist/components/Title/appearance/titleWarning.js +0 -9
  582. package/dist/components/Title/index.js +0 -2
  583. package/dist/components/Tooltip/Tooltip.appearance.js +0 -19
  584. package/dist/components/Tooltip/Tooltip.interface.js +0 -1
  585. package/dist/components/Tooltip/Tooltip.js +0 -68
  586. package/dist/components/Tooltip/appearance/tooltipDefault.js +0 -10
  587. package/dist/components/Tooltip/appearance/tooltipDisabled.js +0 -9
  588. package/dist/components/Tooltip/appearance/tooltipError.js +0 -10
  589. package/dist/components/Tooltip/appearance/tooltipRequire.js +0 -10
  590. package/dist/components/Tooltip/appearance/tooltipShape.js +0 -25
  591. package/dist/components/Tooltip/appearance/tooltipSize.js +0 -18
  592. package/dist/components/Tooltip/appearance/tooltipStyle.js +0 -14
  593. package/dist/components/Tooltip/appearance/tooltipSuccess.js +0 -10
  594. package/dist/components/Tooltip/index.js +0 -2
  595. package/dist/components/Video/Video.interface.js +0 -1
  596. package/dist/components/Video/Video.js +0 -9
  597. package/dist/components/Video/index.js +0 -1
  598. package/dist/components/Warning/Warning.appearance.js +0 -17
  599. package/dist/components/Warning/Warning.interface.js +0 -1
  600. package/dist/components/Warning/Warning.js +0 -25
  601. package/dist/components/Warning/appearance/warningAccent.js +0 -24
  602. package/dist/components/Warning/appearance/warningError.js +0 -24
  603. package/dist/components/Warning/appearance/warningInfo.js +0 -24
  604. package/dist/components/Warning/appearance/warningShape.js +0 -25
  605. package/dist/components/Warning/appearance/warningSize.js +0 -11
  606. package/dist/components/Warning/appearance/warningStyle.js +0 -14
  607. package/dist/components/Warning/appearance/warningWarning.js +0 -24
  608. package/dist/components/Warning/index.js +0 -2
  609. package/dist/config/forms/datepicker.js +0 -18
  610. package/dist/config/forms/index.js +0 -3
  611. package/dist/config/forms/input.js +0 -17
  612. package/dist/context/Notifications.interface.js +0 -1
  613. package/dist/context/index.js +0 -2
  614. package/dist/hooks/index.helpers.js +0 -6
  615. package/dist/hooks/useActiveClasses/index.js +0 -2
  616. package/dist/hooks/useAppearanceConfig/index.js +0 -1
  617. package/dist/hooks/useDevicePropsGenerator/index.js +0 -1
  618. package/dist/hooks/useMediaQueries/index.js +0 -1
  619. package/dist/hooks/useMediaQueries/mediaQueries.json +0 -19
  620. package/dist/hooks/useStyles/index.js +0 -1
  621. package/dist/types/index.js +0 -1
  622. package/dist/types/utils.js +0 -1
  623. package/dist/utils/index.js +0 -3
@@ -1,24 +0,0 @@
1
- const buttonAppearanceWarning = {
2
- warningMutedPrimary: {
3
- fill: 'warningTertiary',
4
- fillHover: 'warningHoverPrimary',
5
- labelTextColor: 'warningTextSecondary',
6
- labelTextColorHover: 'warningTextPrimary',
7
- borderColor: 'warningBorderPrimary',
8
- iconAfterFillIcon: 'warningItemSecondary',
9
- iconBeforeFillIcon: 'warningItemSecondary',
10
- iconFillIcon: 'warningItemSecondary',
11
- loaderAppearance: 'warningTertiary',
12
- },
13
- warningPrimary: {
14
- fill: 'warningPrimary',
15
- fillHover: 'warningHoverPrimary',
16
- labelTextColor: 'warningTextPrimary',
17
- labelTextColorHover: 'warningTextPrimary',
18
- iconAfterFillIcon: 'warningItemPrimary',
19
- iconBeforeFillIcon: 'warningItemPrimary',
20
- iconFillIcon: 'warningItemPrimary',
21
- loaderAppearance: 'warningPrimary',
22
- },
23
- };
24
- export { buttonAppearanceWarning };
@@ -1,2 +0,0 @@
1
- export { Button, buttonConfig } from './Button';
2
- export { buttonAppearance } from './Button.appearance';
@@ -1,9 +0,0 @@
1
- import { cellAppearanceSize } from './appearance/cellSize';
2
- import { cellAppearanceStyle } from './appearance/cellStyle';
3
- import { cellAppearanceSurface } from './appearance/cellSurface';
4
- const cellAppearance = {
5
- ...cellAppearanceSize,
6
- ...cellAppearanceStyle,
7
- ...cellAppearanceSurface,
8
- };
9
- export { cellAppearance };
@@ -1 +0,0 @@
1
- export {};
@@ -1,36 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import clsx from 'clsx';
3
- import { mergeAppearanceKeys } from 'src/utils';
4
- import { useAppearanceConfig } from 'src/hooks/useAppearanceConfig';
5
- import { useDevicePropsGenerator } from 'src/hooks/useDevicePropsGenerator';
6
- import { useStyles } from 'src/hooks/useStyles';
7
- import { Icon } from 'src/components/Icon';
8
- import { Label } from 'src/components/Label';
9
- import { Text } from 'src/components/Text';
10
- import { cellAppearance } from './Cell.appearance';
11
- const cellConfig = {
12
- appearance: cellAppearance,
13
- setAppearance: (appearanceConfig) => {
14
- cellConfig.appearance = appearanceConfig;
15
- },
16
- };
17
- function Cell(props) {
18
- const { appearance, className, dataTestId, dataTour, title, titleIcon, titleLabel, titleTag, showTitleLabel, showValueLabel, value, valueIcon, valueTag, before, after, isActive, isEqual, isSameWidth, onClick, onMouseEnter, } = props;
19
- const appearanceConfig = useAppearanceConfig(appearance, cellConfig);
20
- const propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
21
- const { directionClass, fillActiveClass, fillActiveHoverClass, fillClass, fillHoverClass, titleIconFill, titleIconFillHover, titleIconFillSize, titleIconItemFill, titleIconShape, titleIconSrc, titleLabelAppearance, titleLabelAppearanceSize, titleLabelShape, titleLabelSize, titleLabelTextSize, titleTextColor, titleTextSize, titleTextTruncate, titleTextWeight, titleTextWrap, borderColorActiveClass, borderColorActiveHoverClass, borderColorClass, borderColorHoverClass, reverseClass, shapeClass, sizeClass, valueIconFill, valueIconFillHover, valueIconFillSize, valueIconItemFill, valueIconShape, valueIconSrc, valueLabel, valueLabelAppearance, valueLabelAppearanceSize, valueLabelShape, valueLabelSize, valueLabelTextSize, valueTextAlign, valueTextColor, valueTextSize, valueTextTruncate, valueTextWeight, valueTextWrap, widthClass, zeroGap, zeroPadding, } = propsGenerator;
22
- const { data: dataStyles, styles: cellStyles } = useStyles(props);
23
- return (_jsxs("div", { className: clsx(className, 'cell', sizeClass && `cell_size_${sizeClass}`, !isActive
24
- ? fillClass && `fill_${fillClass}`
25
- : fillActiveClass && `fill_active_${fillActiveClass}`, !isActive
26
- ? fillHoverClass && `fill_hover_${fillHoverClass}`
27
- : fillActiveHoverClass && `fill_active_hover_${fillActiveHoverClass}`, !isActive
28
- ? borderColorClass && `border-color_${borderColorClass}`
29
- : borderColorActiveClass &&
30
- `border-color_active_${borderColorActiveClass}`, !isActive
31
- ? borderColorHoverClass &&
32
- `border-color_hover_${borderColorHoverClass}`
33
- : borderColorActiveHoverClass &&
34
- `border-color_active_hover_${borderColorActiveHoverClass}`, reverseClass && `cell_reverse_${reverseClass}`, shapeClass && `cell_shape_${shapeClass}`, widthClass && `width_${widthClass}`, zeroPadding && 'cell_reset-padding', zeroGap && 'cell_reset-gap'), "data-testid": dataTestId, "data-tour": dataTour, style: cellStyles, onClick: onClick, onMouseEnter: onMouseEnter, children: [before && _jsx("div", { className: "cell__before", children: before }), _jsxs("div", { className: clsx('cell__wrapper', directionClass && `cell__wrapper_direction_${directionClass}`, isEqual && 'cell__wrapper-equal', isSameWidth && 'cell__wrapper-same-width'), children: [title && (_jsxs("div", { className: "cell__data", style: dataStyles, children: [_jsx(Text, { className: "cell__title", size: titleTextSize, textColor: titleTextColor, textTruncate: titleTextTruncate, textWeight: titleTextWeight, textWrap: titleTextWrap, tag: titleTag, children: title }), (titleIcon || titleIconSrc) && (_jsx(Icon, { className: "cell__title-icon", fill: titleIconFill, fillSize: titleIconFillSize, iconFill: titleIconItemFill, iconFillHover: titleIconFillHover, imageSrc: titleIconSrc, shape: titleIconShape, SvgImage: titleIcon })), (showTitleLabel || titleLabel) && (_jsx(Label, { appearance: mergeAppearanceKeys(titleLabelAppearance, titleLabelAppearanceSize), className: "cell__title-label", size: titleLabelSize, label: titleLabel, labelTextSize: titleLabelTextSize, shape: titleLabelShape }))] })), value && (_jsxs("div", { className: "cell__data", style: dataStyles, children: [_jsx(Text, { className: "cell__value", size: valueTextSize, textAlign: valueTextAlign, textColor: valueTextColor, textTruncate: valueTextTruncate, textWeight: valueTextWeight, textWrap: valueTextWrap, tag: valueTag, children: value }), (valueIcon || valueIconSrc) && (_jsx(Icon, { className: "cell__value-icon", fill: valueIconFill, fillSize: valueIconFillSize, iconFill: valueIconItemFill, iconFillHover: valueIconFillHover, imageSrc: valueIconSrc, shape: valueIconShape, SvgImage: valueIcon })), (showValueLabel || valueLabel) && (_jsx(Label, { appearance: mergeAppearanceKeys(valueLabelAppearance, valueLabelAppearanceSize), className: "cell__value-label", size: valueLabelSize, label: valueLabel, labelTextSize: valueLabelTextSize, shape: valueLabelShape }))] }))] }), after && _jsx("div", { className: "cell__after", children: after })] }));
35
- }
36
- export { Cell, cellConfig };
@@ -1,59 +0,0 @@
1
- const cellAppearanceSize = {
2
- sizeXL: {
3
- size: 'xl',
4
- titleLabelAppearanceSize: 'sizeXS',
5
- titleTextSize: 'l',
6
- valueLabelAppearanceSize: 'sizeS',
7
- valueTextSize: 'xl',
8
- },
9
- sizeL: {
10
- size: 'l',
11
- titleLabelAppearanceSize: 'sizeXS',
12
- titleTextSize: 'm',
13
- valueLabelAppearanceSize: 'sizeS',
14
- valueTextSize: 'l',
15
- },
16
- sizeM: {
17
- size: 'm',
18
- titleLabelAppearanceSize: 'sizeXS',
19
- titleTextSize: 's',
20
- valueLabelAppearanceSize: 'sizeS',
21
- valueTextSize: 'm',
22
- },
23
- sizeS: {
24
- size: 's',
25
- titleLabelAppearanceSize: 'sizeXS',
26
- titleTextSize: 'xs',
27
- valueLabelAppearanceSize: 'sizeS',
28
- valueTextSize: 's',
29
- },
30
- sizeEqualL: {
31
- size: 'l',
32
- titleLabelAppearanceSize: 'sizeS',
33
- titleTextSize: 'l',
34
- valueLabelAppearanceSize: 'sizeS',
35
- valueTextSize: 'l',
36
- },
37
- sizeEqualM: {
38
- size: 'm',
39
- titleLabelAppearanceSize: 'sizeS',
40
- titleTextSize: 'm',
41
- valueLabelAppearanceSize: 'sizeS',
42
- valueTextSize: 'm',
43
- },
44
- sizeEqualS: {
45
- size: 's',
46
- titleLabelAppearanceSize: 'sizeXS',
47
- titleTextSize: 's',
48
- valueLabelAppearanceSize: 'sizeXS',
49
- valueTextSize: 's',
50
- },
51
- sizeEqualXL: {
52
- size: 'xl',
53
- titleLabelAppearanceSize: 'sizeS',
54
- titleTextSize: 'xl',
55
- valueLabelAppearanceSize: 'sizeS',
56
- valueTextSize: 'xl',
57
- },
58
- };
59
- export { cellAppearanceSize };
@@ -1,14 +0,0 @@
1
- const cellAppearanceStyle = {
2
- solid: {
3
- borderColor: 'none',
4
- },
5
- outlined: {
6
- fill: 'none',
7
- },
8
- full: {},
9
- ghost: {
10
- fill: 'none',
11
- borderColor: 'none',
12
- },
13
- };
14
- export { cellAppearanceStyle };
@@ -1,51 +0,0 @@
1
- const cellAppearanceSurface = {
2
- surfacePrimary: {
3
- fill: 'surfacePrimary',
4
- fillHover: 'surfacePrimary',
5
- titleIconItemFill: 'surfaceItemPrimary',
6
- titleLabelAppearance: 'accentPrimary',
7
- titleTextColor: 'surfaceTextPrimary',
8
- labelTextColor: 'surfaceTextPrimary',
9
- borderColor: 'surfaceBorderPrimary',
10
- valueIconItemFill: 'surfaceItemPrimary',
11
- valueLabelAppearance: 'accentPrimary',
12
- valueTextColor: 'surfaceTextPrimary',
13
- },
14
- surfaceQuaternary: {
15
- fill: 'surfaceQuaternary',
16
- fillHover: 'surfaceQuaternary',
17
- titleIconItemFill: 'surfaceItemPrimary',
18
- titleLabelAppearance: 'accentPrimary',
19
- titleTextColor: 'surfaceTextPrimary',
20
- labelTextColor: 'surfaceTextPrimary',
21
- borderColor: 'surfaceBorderPrimary',
22
- valueIconItemFill: 'surfaceItemPrimary',
23
- valueLabelAppearance: 'accentPrimary',
24
- valueTextColor: 'surfaceTextPrimary',
25
- },
26
- surfaceSecondary: {
27
- fill: 'surfaceSecondary',
28
- fillHover: 'surfaceSecondary',
29
- titleIconItemFill: 'surfaceItemPrimary',
30
- titleLabelAppearance: 'accentPrimary',
31
- titleTextColor: 'surfaceTextPrimary',
32
- labelTextColor: 'surfaceTextPrimary',
33
- borderColor: 'surfaceBorderPrimary',
34
- valueIconItemFill: 'surfaceItemPrimary',
35
- valueLabelAppearance: 'accentPrimary',
36
- valueTextColor: 'surfaceTextPrimary',
37
- },
38
- surfaceTertiary: {
39
- fill: 'surfaceTertiary',
40
- fillHover: 'surfaceTertiary',
41
- titleIconItemFill: 'surfaceItemPrimary',
42
- titleLabelAppearance: 'accentPrimary',
43
- titleTextColor: 'surfaceTextPrimary',
44
- labelTextColor: 'surfaceTextPrimary',
45
- borderColor: 'surfaceBorderPrimary',
46
- valueIconItemFill: 'surfaceItemPrimary',
47
- valueLabelAppearance: 'accentPrimary',
48
- valueTextColor: 'surfaceTextPrimary',
49
- },
50
- };
51
- export { cellAppearanceSurface };
@@ -1,2 +0,0 @@
1
- export { Cell, cellConfig } from './Cell';
2
- export { cellAppearance } from './Cell.appearance';
@@ -1,19 +0,0 @@
1
- import { checkboxAppearanceDefault } from './appearance/checkboxDefault';
2
- import { checkboxAppearanceDisabled } from './appearance/checkboxDisabled';
3
- import { checkboxAppearanceError } from './appearance/checkboxError';
4
- import { checkboxAppearanceRequire } from './appearance/checkboxRequire';
5
- import { checkboxAppearanceShape } from './appearance/checkboxShape';
6
- import { checkboxAppearanceSize } from './appearance/checkboxSize';
7
- import { checkboxAppearanceStyle } from './appearance/checkboxStyle';
8
- import { checkboxAppearanceSuccess } from './appearance/checkboxSuccess';
9
- const checkboxAppearance = {
10
- ...checkboxAppearanceDefault,
11
- ...checkboxAppearanceError,
12
- ...checkboxAppearanceSuccess,
13
- ...checkboxAppearanceRequire,
14
- ...checkboxAppearanceDisabled,
15
- ...checkboxAppearanceSize,
16
- ...checkboxAppearanceStyle,
17
- ...checkboxAppearanceShape,
18
- };
19
- export { checkboxAppearance };
@@ -1 +0,0 @@
1
- export {};
@@ -1,39 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import clsx from 'clsx';
3
- import { Text } from 'src/components/Text';
4
- import { useAppearanceConfig } from 'src/hooks/useAppearanceConfig';
5
- import { useDevicePropsGenerator } from 'src/hooks/useDevicePropsGenerator';
6
- import { checkboxAppearance } from './Checkbox.appearance';
7
- const checkboxConfig = {
8
- appearance: checkboxAppearance,
9
- setAppearance: (appearanceConfig) => {
10
- checkboxConfig.appearance = appearanceConfig;
11
- },
12
- };
13
- function Checkbox(props) {
14
- const { id, appearance, className, dataTestId, dataTour, label, desc, checked, disabled, indeterminate, Tag = 'label', value, before, after, isActive, isChecked, isDisabled, isSkeleton, onBlur, onChange, onFocus, } = props;
15
- const appearanceConfig = useAppearanceConfig(appearance, checkboxConfig, isDisabled);
16
- const propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
17
- const { fillCheckboxActiveClass, fillCheckboxActiveHoverClass, fillCheckboxClass, fillCheckboxHoverClass, fillCheckmarkClass, fillClass, fillHoverClass, labelTextColor, labelTextSize, labelTextWeight, descTextColor, descTextSize, descTextWeight, borderColorCheckboxActiveClass, borderColorCheckboxActiveHoverClass, borderColorCheckboxClass, borderColorCheckboxHoverClass, shapeClass, shapeStrengthClass, sizeClass, widthClass, } = propsGenerator;
18
- return (_jsxs(Tag, { className: clsx(className, 'checkbox', fillClass && `fill_${fillClass}`, fillHoverClass && `fill_${fillHoverClass}`, sizeClass && `checkbox_size_${sizeClass}`, !checked
19
- ? fillCheckboxClass && `checkbox_fill_${fillCheckboxClass}`
20
- : fillCheckboxActiveClass &&
21
- `checkbox_fill_active_${fillCheckboxActiveClass}`, !checked
22
- ? fillCheckboxHoverClass &&
23
- `checkbox_fill_hover_${fillCheckboxHoverClass}`
24
- : fillCheckboxActiveHoverClass &&
25
- `checkbox_fill_active_hover_${fillCheckboxActiveHoverClass}`, !checked
26
- ? borderColorCheckboxClass &&
27
- `checkbox_border-color_${borderColorCheckboxClass}`
28
- : borderColorCheckboxActiveClass &&
29
- `checkbox_border-color_active_${borderColorCheckboxActiveClass}`, !checked
30
- ? borderColorCheckboxHoverClass &&
31
- `checkbox_border-color_hover_${borderColorCheckboxHoverClass}`
32
- : borderColorCheckboxActiveHoverClass &&
33
- `checkbox_border-color_active_hover_${borderColorCheckboxActiveHoverClass}`, widthClass && `width_${widthClass}`, isSkeleton && `checkbox_skeleton`), "data-testid": dataTestId, "data-tour": dataTour, htmlFor: Tag === 'label' && id, children: [before, _jsxs("div", { className: "checkbox__item", children: [_jsx("input", { id: id, className: "checkbox__input", type: "checkbox", checked: isActive || isChecked || checked, disabled: isDisabled || disabled, value: value, onBlur: onBlur, onChange: onChange, onFocus: onFocus }), _jsx("div", { className: clsx('checkbox__state', shapeClass && `shape_${shapeClass}`, shapeStrengthClass && `shape-strength_${shapeStrengthClass}`), children: "\u00A0" }), _jsx("div", { className: clsx(!indeterminate
34
- ? 'checkbox__state-checkmark'
35
- : 'checkbox__state-indeterminate', (checked || indeterminate) &&
36
- fillCheckmarkClass &&
37
- `fill_${fillCheckmarkClass}`), children: "\u00A0" })] }), label && (_jsx(Text, { className: "checkbox__label", size: labelTextSize, textColor: labelTextColor, textWeight: labelTextWeight, children: label })), desc && (_jsx(Text, { className: "checkbox__desc", size: descTextSize, textColor: descTextColor, textWeight: descTextWeight, children: desc })), after && _jsx("div", { className: "checkbox__after", children: after })] }));
38
- }
39
- export { Checkbox, checkboxConfig };
@@ -1,16 +0,0 @@
1
- const checkboxAppearanceDefault = {
2
- defaultPrimary: {
3
- fill: 'surfaceSecondary',
4
- fillCheckbox: 'surfaceSecondary',
5
- fillCheckboxActive: 'surfaceQuaternary',
6
- fillCheckboxActiveHover: 'surfaceActiveHoverTertiary',
7
- fillCheckboxHover: 'surfaceHoverTertiary',
8
- labelTextColor: 'surfaceTextPrimary',
9
- descTextColor: 'surfaceTextPrimary',
10
- borderColorCheckbox: 'surfaceBorderQuaternary',
11
- borderColorCheckboxActive: 'surfaceBorderQuaternary',
12
- borderColorCheckboxActiveHover: 'surfaceBorderActivePrimary',
13
- borderColorCheckboxHover: 'surfaceBorderHoverPrimary',
14
- },
15
- };
16
- export { checkboxAppearanceDefault };
@@ -1,16 +0,0 @@
1
- const checkboxAppearanceDisabled = {
2
- disabledPrimary: {
3
- fill: 'surfaceSecondary',
4
- fillCheckbox: 'surfaceSecondary',
5
- fillCheckboxActive: 'surfaceQuaternary',
6
- fillCheckboxActiveHover: 'surfaceActiveHoverTertiary',
7
- fillCheckboxHover: 'surfaceHoverTertiary',
8
- labelTextColor: 'disabledTextSecondary',
9
- descTextColor: 'disabledTextSecondary',
10
- borderColorCheckbox: 'surfaceBorderQuaternary',
11
- borderColorCheckboxActive: 'surfaceBorderQuaternary',
12
- borderColorCheckboxActiveHover: 'surfaceBorderActivePrimary',
13
- borderColorCheckboxHover: 'surfaceBorderHoverPrimary',
14
- },
15
- };
16
- export { checkboxAppearanceDisabled };
@@ -1,16 +0,0 @@
1
- const checkboxAppearanceError = {
2
- errorPrimary: {
3
- fill: 'errorTertiary',
4
- fillCheckbox: 'errorTertiary',
5
- fillCheckboxActive: 'errorQuaternary',
6
- fillCheckboxActiveHover: 'errorActiveHoverPrimary',
7
- fillCheckboxHover: 'errorHoverTertiary',
8
- labelTextColor: 'surfaceTextPrimary',
9
- descTextColor: 'surfaceTextPrimary',
10
- borderColorCheckbox: 'errorBorderQuaternary',
11
- borderColorCheckboxActive: 'errorBorderActiveQuaternary',
12
- borderColorCheckboxActiveHover: 'errorBorderActivePrimary',
13
- borderColorCheckboxHover: 'errorBorderHoverPrimary',
14
- },
15
- };
16
- export { checkboxAppearanceError };
@@ -1,16 +0,0 @@
1
- const checkboxAppearanceRequire = {
2
- requirePrimary: {
3
- fill: 'warningTertiary',
4
- fillCheckbox: 'warningTertiary',
5
- fillCheckboxActive: 'warningPrimary',
6
- fillCheckboxActiveHover: 'warningActiveHoverPrimary',
7
- fillCheckboxHover: 'warningHoverTertiary',
8
- labelTextColor: 'surfaceTextPrimary',
9
- descTextColor: 'surfaceTextPrimary',
10
- borderColorCheckbox: 'warningBorderSecondary',
11
- borderColorCheckboxActive: 'warningBorderSecondary',
12
- borderColorCheckboxActiveHover: 'warningBorderActivePrimary',
13
- borderColorCheckboxHover: 'warningBorderHoverPrimary',
14
- },
15
- };
16
- export { checkboxAppearanceRequire };
@@ -1,10 +0,0 @@
1
- const checkboxAppearanceShape = {
2
- rounded: {
3
- shape: 'rounded',
4
- },
5
- roundedS: {
6
- shape: 'rounded',
7
- shapeStrength: '0_5m',
8
- },
9
- };
10
- export { checkboxAppearanceShape };
@@ -1,23 +0,0 @@
1
- const checkboxAppearanceSize = {
2
- sizeXL: {
3
- size: 'xl',
4
- labelTextSize: 'm',
5
- descTextSize: 'xs',
6
- },
7
- sizeL: {
8
- size: 'l',
9
- labelTextSize: 'm',
10
- descTextSize: 'xs',
11
- },
12
- sizeM: {
13
- size: 'm',
14
- labelTextSize: 'm',
15
- descTextSize: 'xs',
16
- },
17
- sizeS: {
18
- size: 'xs',
19
- labelTextSize: 's',
20
- descTextSize: 'xs',
21
- },
22
- };
23
- export { checkboxAppearanceSize };
@@ -1,22 +0,0 @@
1
- const checkboxAppearanceStyle = {
2
- solid: {
3
- borderColorCheckbox: 'none',
4
- borderColorCheckboxActive: 'none',
5
- borderColorCheckboxActiveHover: 'none',
6
- borderColorCheckboxHover: 'none',
7
- },
8
- outlined: {
9
- fill: 'none',
10
- fillHover: 'none',
11
- },
12
- full: {},
13
- ghost: {
14
- fill: 'none',
15
- fillHover: 'none',
16
- borderColorCheckbox: 'none',
17
- borderColorCheckboxActive: 'none',
18
- borderColorCheckboxActiveHover: 'none',
19
- borderColorCheckboxHover: 'none',
20
- },
21
- };
22
- export { checkboxAppearanceStyle };
@@ -1,16 +0,0 @@
1
- const checkboxAppearanceSuccess = {
2
- successPrimary: {
3
- fill: 'successTertiary',
4
- fillCheckbox: 'successTertiary',
5
- fillCheckboxActive: 'successSecondary',
6
- fillCheckboxActiveHover: 'successActiveHoverPrimary',
7
- fillCheckboxHover: 'successHoverTertiary',
8
- labelTextColor: 'surfaceTextPrimary',
9
- descTextColor: 'surfaceTextPrimary',
10
- borderColorCheckbox: 'successBorderSecondary',
11
- borderColorCheckboxActive: 'successBorderSecondary',
12
- borderColorCheckboxActiveHover: 'successBorderActivePrimary',
13
- borderColorCheckboxHover: 'successBorderHoverPrimary',
14
- },
15
- };
16
- export { checkboxAppearanceSuccess };
@@ -1,2 +0,0 @@
1
- export { Checkbox, checkboxConfig } from './Checkbox';
2
- export { checkboxAppearance } from './Checkbox.appearance';
@@ -1,15 +0,0 @@
1
- import { checkmarkAppearanceAccent } from './appearance/checkmarkAccent';
2
- import { checkmarkAppearanceDisabled } from './appearance/checkmarkDisabled';
3
- import { checkmarkAppearanceError } from './appearance/checkmarkError';
4
- import { checkmarkAppearanceSize } from './appearance/checkmarkSize';
5
- import { checkmarkAppearanceStyle } from './appearance/checkmarkStyle';
6
- import { checkmarkAppearanceSurface } from './appearance/checkmarkSurface';
7
- const checkmarkAppearance = {
8
- ...checkmarkAppearanceAccent,
9
- ...checkmarkAppearanceDisabled,
10
- ...checkmarkAppearanceStyle,
11
- ...checkmarkAppearanceSurface,
12
- ...checkmarkAppearanceSize,
13
- ...checkmarkAppearanceError,
14
- };
15
- export { checkmarkAppearance };
@@ -1 +0,0 @@
1
- export {};
@@ -1,33 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import clsx from 'clsx';
3
- import { useAppearanceConfig } from 'src/hooks/useAppearanceConfig';
4
- import { useDevicePropsGenerator } from 'src/hooks/useDevicePropsGenerator';
5
- import { useStyles } from 'src/hooks/useStyles';
6
- import { Icon } from '../Icon';
7
- import { checkmarkAppearance } from './Checkmark.appearance';
8
- const checkmarkConfig = {
9
- appearance: checkmarkAppearance,
10
- setAppearance: (appearanceConfig) => {
11
- checkmarkConfig.appearance = appearanceConfig;
12
- },
13
- };
14
- function Checkmark(props) {
15
- const { appearance, className, dataTestId, dataTour, isActive, isChecked, isDisabled = false, onClick, } = props;
16
- const appearanceConfig = useAppearanceConfig(appearance, checkmarkConfig);
17
- const propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
18
- const { fillActiveClass, fillActiveHoverClass, fillClass, fillHoverClass, borderColorActiveClass, borderColorActiveHoverClass, borderColorClass, borderColorHoverClass, borderWidthClass, checkmarkFill, checkmarkIcon, checkmarkIconFill, checkmarkIconShape, checkmarkIconSize, checkmarkIconSrc, sizeClass, } = propsGenerator;
19
- const { styles: checkmarkStyles } = useStyles(props);
20
- return (_jsx("div", { className: clsx(className, 'checkmark', sizeClass && `checkmark_size_${sizeClass}`, !isChecked || !isActive
21
- ? fillClass && `fill_${fillClass}`
22
- : fillActiveClass && `fill_active_${fillActiveClass}`, !isChecked || !isActive
23
- ? fillHoverClass && `fill_hover_${fillHoverClass}`
24
- : fillActiveHoverClass && `fill_active_hover_${fillActiveHoverClass}`, !isChecked || !isActive
25
- ? borderColorClass && `border-color_${borderColorClass}`
26
- : borderColorActiveClass &&
27
- `border-color_active_${borderColorActiveClass}`, !isChecked || !isActive
28
- ? borderColorHoverClass &&
29
- `border-color_hover_${borderColorHoverClass}`
30
- : borderColorActiveHoverClass &&
31
- `border-color_active_hover_${borderColorActiveHoverClass}`, borderWidthClass && `border-width_${borderWidthClass}`, isDisabled), "data-testid": dataTestId, "data-tour": dataTour, style: checkmarkStyles, onClick: onClick, children: (isChecked || isActive) && (_jsx(Icon, { fill: checkmarkFill, iconFill: checkmarkIconFill, iconSize: checkmarkIconSize, imageSrc: checkmarkIconSrc, shape: checkmarkIconShape, SvgImage: checkmarkIcon })) }));
32
- }
33
- export { Checkmark, checkmarkConfig };
@@ -1,10 +0,0 @@
1
- const checkmarkAppearanceAccent = {
2
- accentPrimary: {
3
- fill: 'accentPrimary',
4
- fillActive: 'accentPrimary',
5
- borderColor: 'accentBorderPrimary',
6
- borderWidth: '2',
7
- checkmarkIconFill: 'accentItemPrimary',
8
- },
9
- };
10
- export { checkmarkAppearanceAccent };
@@ -1,10 +0,0 @@
1
- const checkmarkAppearanceDisabled = {
2
- disabledPrimary: {
3
- fill: 'surfaceDisabled',
4
- fillActive: 'surfaceDisabled',
5
- borderColor: 'surfaceBorderDisabled',
6
- borderWidth: '2',
7
- checkmarkIconFill: 'surfaceItemDisabled',
8
- },
9
- };
10
- export { checkmarkAppearanceDisabled };
@@ -1,10 +0,0 @@
1
- const checkmarkAppearanceError = {
2
- errorPrimary: {
3
- fill: 'extraPrimary',
4
- fillActive: 'extraActivePrimary',
5
- borderColor: 'extraBorderTertiary',
6
- borderWidth: '2',
7
- checkmarkIconFill: 'extraItemPrimary',
8
- },
9
- };
10
- export { checkmarkAppearanceError };
@@ -1,32 +0,0 @@
1
- import { icons14, icons20, icons24, icons32, icons40, } from '@itcase/icons/default';
2
- const checkmarkAppearanceSize = {
3
- sizeXXL: {
4
- size: 'xxl',
5
- checkmarkIcon: icons40.General.Check,
6
- },
7
- sizeXL: {
8
- size: 'xl',
9
- checkmarkIcon: icons40.General.Check,
10
- },
11
- sizeL: {
12
- size: 'l',
13
- checkmarkIcon: icons32.General.Check,
14
- },
15
- sizeM: {
16
- size: 'm',
17
- checkmarkIcon: icons24.Form.Check,
18
- },
19
- sizeS: {
20
- size: 's',
21
- checkmarkIcon: icons24.Form.Check,
22
- },
23
- sizeXS: {
24
- size: 'xs',
25
- checkmarkIcon: icons20.Form.Check,
26
- },
27
- sizeXXS: {
28
- size: 'xxs',
29
- checkmarkIcon: icons14.Form.Check,
30
- },
31
- };
32
- export { checkmarkAppearanceSize };
@@ -1,14 +0,0 @@
1
- const checkmarkAppearanceStyle = {
2
- solid: {
3
- borderColor: 'none',
4
- },
5
- outlined: {
6
- fill: 'none',
7
- },
8
- full: {},
9
- ghost: {
10
- fill: 'none',
11
- borderColor: 'none',
12
- },
13
- };
14
- export { checkmarkAppearanceStyle };
@@ -1,21 +0,0 @@
1
- const checkmarkAppearanceSurface = {
2
- surfacePrimary: {
3
- fill: 'surfacePrimary',
4
- fillActive: 'surfaceActivePrimary',
5
- fillHover: 'surfacePrimary',
6
- borderColor: 'surfaceBorderTertiary',
7
- borderColorHover: 'surfaceBorderPrimary',
8
- borderWidth: '2',
9
- checkmarkIconFill: 'surfaceItemPrimary',
10
- },
11
- surfaceSecondary: {
12
- fill: 'surfaceSecondary',
13
- fillActive: 'surfaceActivePrimary',
14
- fillHover: 'surfaceSecondary',
15
- borderColor: 'surfaceBorderTertiary',
16
- borderColorHover: 'surfaceBorderPrimary',
17
- borderWidth: '2',
18
- checkmarkIconFill: 'surfaceItemPrimary',
19
- },
20
- };
21
- export { checkmarkAppearanceSurface };
@@ -1,2 +0,0 @@
1
- export { Checkmark, checkmarkConfig } from './Checkmark';
2
- export { checkmarkAppearance } from './Checkmark.appearance';
@@ -1,29 +0,0 @@
1
- import { chipsAppearanceAccent } from './appearance/chipsAccent';
2
- import { chipsAppearanceDanger } from './appearance/chipsDanger';
3
- import { chipsAppearanceDisabled } from './appearance/chipsDisabled';
4
- import { chipsAppearanceError } from './appearance/chipsError';
5
- import { chipsAppearanceExtra } from './appearance/chipsExtra';
6
- import { chipsAppearanceInfo } from './appearance/chipsInfo';
7
- import { chipsAppearanceShape } from './appearance/chipsShape';
8
- import { chipsAppearanceSize } from './appearance/chipsSize';
9
- import { chipsAppearanceSpecial } from './appearance/chipsSpecial';
10
- import { chipsAppearanceStyle } from './appearance/chipsStyle';
11
- import { chipsAppearanceSuccess } from './appearance/chipsSuccess';
12
- import { chipsAppearanceSurface } from './appearance/chipsSurface';
13
- import { chipsAppearanceWarning } from './appearance/chipsWarning';
14
- const chipsAppearance = {
15
- ...chipsAppearanceSize,
16
- ...chipsAppearanceStyle,
17
- ...chipsAppearanceAccent,
18
- ...chipsAppearanceDanger,
19
- ...chipsAppearanceError,
20
- ...chipsAppearanceInfo,
21
- ...chipsAppearanceDisabled,
22
- ...chipsAppearanceSpecial,
23
- ...chipsAppearanceExtra,
24
- ...chipsAppearanceSuccess,
25
- ...chipsAppearanceSurface,
26
- ...chipsAppearanceWarning,
27
- ...chipsAppearanceShape,
28
- };
29
- export { chipsAppearance };
@@ -1 +0,0 @@
1
- export {};