@foxford/ui 2.38.0-beta-4083fb5-20240814 → 2.39.0-beta-345ac6d-20240814

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 (2318) hide show
  1. package/_virtual/_commonjsHelpers.js +1 -0
  2. package/_virtual/_commonjsHelpers.mjs +1 -0
  3. package/_virtual/index.js +1 -0
  4. package/_virtual/index.mjs +1 -0
  5. package/_virtual/index2.js +1 -0
  6. package/_virtual/index2.mjs +1 -0
  7. package/_virtual/index3.js +1 -0
  8. package/_virtual/index3.mjs +1 -0
  9. package/_virtual/index4.js +1 -0
  10. package/_virtual/index4.mjs +1 -0
  11. package/_virtual/index5.js +1 -0
  12. package/_virtual/index5.mjs +1 -0
  13. package/_virtual/index6.js +1 -0
  14. package/_virtual/index6.mjs +1 -0
  15. package/_virtual/index7.js +1 -0
  16. package/_virtual/index7.mjs +1 -0
  17. package/_virtual/tinycolor.js +1 -0
  18. package/_virtual/tinycolor.mjs +1 -0
  19. package/assets/add-reaction.svg +1 -0
  20. package/assets/afghanistan.svg +1 -0
  21. package/assets/airplay.svg +1 -0
  22. package/assets/aland-islands.svg +1 -0
  23. package/assets/alarm-add.svg +1 -0
  24. package/assets/alarm-clock.svg +1 -0
  25. package/assets/alarm-warning.svg +1 -0
  26. package/assets/albania.svg +1 -0
  27. package/assets/algebra.svg +1 -0
  28. package/assets/algeria.svg +1 -0
  29. package/assets/algorithms_color.svg +1 -0
  30. package/assets/align-center-justify.svg +1 -0
  31. package/assets/align-center.svg +1 -0
  32. package/assets/align-justify.svg +1 -0
  33. package/assets/align-left-justify.svg +1 -0
  34. package/assets/align-left.svg +1 -0
  35. package/assets/align-right-justify.svg +1 -0
  36. package/assets/align-right.svg +1 -0
  37. package/assets/american-samoa.svg +1 -0
  38. package/assets/analytics_2_color.svg +1 -0
  39. package/assets/analytics_3_color.svg +1 -0
  40. package/assets/analytics_color.svg +1 -0
  41. package/assets/andorra.svg +1 -0
  42. package/assets/angola.svg +1 -0
  43. package/assets/anguilla.svg +1 -0
  44. package/assets/annotation-user.svg +1 -0
  45. package/assets/annotation.svg +1 -0
  46. package/assets/antigua-and-barbuda.svg +1 -0
  47. package/assets/apple-authorization.svg +1 -0
  48. package/assets/archive.svg +1 -0
  49. package/assets/archive_color.svg +1 -0
  50. package/assets/argentina.svg +1 -0
  51. package/assets/armenia.svg +1 -0
  52. package/assets/arrow-circle-down-fill-tin-fill.svg +1 -0
  53. package/assets/arrow-circle-down-fill.svg +1 -0
  54. package/assets/arrow-circle-down-left-fill-tin-fill.svg +1 -0
  55. package/assets/arrow-circle-down-left-fill.svg +1 -0
  56. package/assets/arrow-circle-down-left.svg +1 -0
  57. package/assets/arrow-circle-down-right-fill-tin-fill.svg +1 -0
  58. package/assets/arrow-circle-down-right-fill.svg +1 -0
  59. package/assets/arrow-circle-down-right.svg +1 -0
  60. package/assets/arrow-circle-down.svg +1 -0
  61. package/assets/arrow-circle-left-fill-tin-fill.svg +1 -0
  62. package/assets/arrow-circle-left-fill.svg +1 -0
  63. package/assets/arrow-circle-left.svg +1 -0
  64. package/assets/arrow-circle-right-fill-tin-fill.svg +1 -0
  65. package/assets/arrow-circle-right-fill.svg +1 -0
  66. package/assets/arrow-circle-right.svg +1 -0
  67. package/assets/arrow-circle-up-fill-tin-fill.svg +1 -0
  68. package/assets/arrow-circle-up-fill.svg +1 -0
  69. package/assets/arrow-circle-up-left-fill-tin-fill.svg +1 -0
  70. package/assets/arrow-circle-up-left-fill.svg +1 -0
  71. package/assets/arrow-circle-up-left.svg +1 -0
  72. package/assets/arrow-circle-up-right-fill-tin-fill.svg +1 -0
  73. package/assets/arrow-circle-up-right-fill.svg +1 -0
  74. package/assets/arrow-circle-up-right.svg +1 -0
  75. package/assets/arrow-circle-up.svg +1 -0
  76. package/assets/arrow-down-arrow-up.svg +1 -0
  77. package/assets/arrow-down-fill.svg +1 -0
  78. package/assets/arrow-down-left-fill.svg +1 -0
  79. package/assets/arrow-down-left.svg +1 -0
  80. package/assets/arrow-down-right-fill.svg +1 -0
  81. package/assets/arrow-down-right.svg +1 -0
  82. package/assets/arrow-down-short-wide.svg +1 -0
  83. package/assets/arrow-down-wide-short.svg +1 -0
  84. package/assets/arrow-down.svg +1 -0
  85. package/assets/arrow-left-fill.svg +1 -0
  86. package/assets/arrow-left.svg +1 -0
  87. package/assets/arrow-narrow-down-fill.svg +1 -0
  88. package/assets/arrow-narrow-down.svg +1 -0
  89. package/assets/arrow-narrow-left-fill.svg +1 -0
  90. package/assets/arrow-narrow-left.svg +1 -0
  91. package/assets/arrow-narrow-right-fill.svg +1 -0
  92. package/assets/arrow-narrow-right.svg +1 -0
  93. package/assets/arrow-narrow-up-fill.svg +1 -0
  94. package/assets/arrow-narrow-up.svg +1 -0
  95. package/assets/arrow-right-fill.svg +1 -0
  96. package/assets/arrow-right.svg +1 -0
  97. package/assets/arrow-sm-down-fill.svg +1 -0
  98. package/assets/arrow-sm-down.svg +1 -0
  99. package/assets/arrow-sm-left-fill.svg +1 -0
  100. package/assets/arrow-sm-left.svg +1 -0
  101. package/assets/arrow-sm-right-fill.svg +1 -0
  102. package/assets/arrow-sm-right.svg +1 -0
  103. package/assets/arrow-sm-up-fill.svg +1 -0
  104. package/assets/arrow-sm-up.svg +1 -0
  105. package/assets/arrow-spin-fill.svg +1 -0
  106. package/assets/arrow-spin.svg +1 -0
  107. package/assets/arrow-square-down-fill.svg +1 -0
  108. package/assets/arrow-square-down-left-fill.svg +1 -0
  109. package/assets/arrow-square-down-left.svg +1 -0
  110. package/assets/arrow-square-down-right-fill.svg +1 -0
  111. package/assets/arrow-square-down-right.svg +1 -0
  112. package/assets/arrow-square-down.svg +1 -0
  113. package/assets/arrow-square-left-fill.svg +1 -0
  114. package/assets/arrow-square-left.svg +1 -0
  115. package/assets/arrow-square-right-fill.svg +1 -0
  116. package/assets/arrow-square-right.svg +1 -0
  117. package/assets/arrow-square-up-fill.svg +1 -0
  118. package/assets/arrow-square-up-left-fill.svg +1 -0
  119. package/assets/arrow-square-up-left.svg +1 -0
  120. package/assets/arrow-square-up-right-fill.svg +1 -0
  121. package/assets/arrow-square-up-right.svg +1 -0
  122. package/assets/arrow-square-up.svg +1 -0
  123. package/assets/arrow-up-1-9.svg +1 -0
  124. package/assets/arrow-up-9-1.svg +1 -0
  125. package/assets/arrow-up-fill.svg +1 -0
  126. package/assets/arrow-up-left-fill.svg +1 -0
  127. package/assets/arrow-up-left.svg +1 -0
  128. package/assets/arrow-up-right-fill.svg +1 -0
  129. package/assets/arrow-up-right.svg +1 -0
  130. package/assets/arrow-up-short-wide.svg +1 -0
  131. package/assets/arrow-up-wide-short.svg +1 -0
  132. package/assets/arrow-up.svg +1 -0
  133. package/assets/arrows-left-right.svg +1 -0
  134. package/assets/arrows-up-down.svg +1 -0
  135. package/assets/art_color.svg +1 -0
  136. package/assets/aruba.svg +1 -0
  137. package/assets/astronomy_color.svg +1 -0
  138. package/assets/at-sign.svg +1 -0
  139. package/assets/australia.svg +1 -0
  140. package/assets/austria.svg +1 -0
  141. package/assets/azerbaijan.svg +1 -0
  142. package/assets/back-arrow.svg +1 -0
  143. package/assets/back-chevron.svg +1 -0
  144. package/assets/badge-check.svg +1 -0
  145. package/assets/badge.svg +1 -0
  146. package/assets/bag-shopping.svg +1 -0
  147. package/assets/bahamas.svg +1 -0
  148. package/assets/bahrain.svg +1 -0
  149. package/assets/ban.svg +1 -0
  150. package/assets/bangladesh.svg +1 -0
  151. package/assets/bank.svg +1 -0
  152. package/assets/barbados.svg +1 -0
  153. package/assets/bars-progress.svg +1 -0
  154. package/assets/basket-shopping.svg +1 -0
  155. package/assets/battery-bolt.svg +1 -0
  156. package/assets/battery-empty.svg +1 -0
  157. package/assets/battery-full.svg +1 -0
  158. package/assets/battery-off.svg +1 -0
  159. package/assets/battery-warning.svg +1 -0
  160. package/assets/belarus.svg +1 -0
  161. package/assets/belgium.svg +1 -0
  162. package/assets/belize.svg +1 -0
  163. package/assets/benin.svg +1 -0
  164. package/assets/bermuda.svg +1 -0
  165. package/assets/bhutan.svg +1 -0
  166. package/assets/biology.svg +1 -0
  167. package/assets/biology_color.svg +1 -0
  168. package/assets/blackBoard.b70f3fa458cf50c0.svg +1 -0
  169. package/assets/blackboard.svg +1 -0
  170. package/assets/blogging.svg +1 -0
  171. package/assets/blogging_color.svg +1 -0
  172. package/assets/blueprint_color.svg +1 -0
  173. package/assets/bluetooth-off.svg +1 -0
  174. package/assets/bluetooth-on.svg +1 -0
  175. package/assets/bold.svg +1 -0
  176. package/assets/bolivia.svg +1 -0
  177. package/assets/bolt-fill.svg +1 -0
  178. package/assets/bolt.svg +1 -0
  179. package/assets/book-fill.svg +1 -0
  180. package/assets/book-open.svg +1 -0
  181. package/assets/book.48991ce60498c971.svg +1 -0
  182. package/assets/book.svg +1 -0
  183. package/assets/bookmark-fill.svg +1 -0
  184. package/assets/bookmark-stack.svg +1 -0
  185. package/assets/bookmark.svg +1 -0
  186. package/assets/books.svg +1 -0
  187. package/assets/border-bottom.svg +1 -0
  188. package/assets/border-clear.svg +1 -0
  189. package/assets/border-horizontal.svg +1 -0
  190. package/assets/border-inner.svg +1 -0
  191. package/assets/border-left.svg +1 -0
  192. package/assets/border-outer.svg +1 -0
  193. package/assets/border-right.svg +1 -0
  194. package/assets/border-top-left.svg +1 -0
  195. package/assets/border-top.svg +1 -0
  196. package/assets/border-vertical.svg +1 -0
  197. package/assets/bosnia-and-herzegovina.svg +1 -0
  198. package/assets/botswana.svg +1 -0
  199. package/assets/bottom-alignment.svg +1 -0
  200. package/assets/bracket-curly-right.svg +1 -0
  201. package/assets/bracket-curly.svg +1 -0
  202. package/assets/bracket-round-right.svg +1 -0
  203. package/assets/bracket-round.svg +1 -0
  204. package/assets/bracket-square-right.svg +1 -0
  205. package/assets/bracket-square.svg +1 -0
  206. package/assets/brackets-curly.svg +1 -0
  207. package/assets/brackets-round.svg +1 -0
  208. package/assets/brackets-square.svg +1 -0
  209. package/assets/brazil.svg +1 -0
  210. package/assets/bright-full-fill.svg +1 -0
  211. package/assets/bright-low-fill.svg +1 -0
  212. package/assets/briight-full.svg +1 -0
  213. package/assets/briight-low.svg +1 -0
  214. package/assets/british-indian-ocean_territory.svg +1 -0
  215. package/assets/british-virgin-islands.svg +1 -0
  216. package/assets/browser.svg +1 -0
  217. package/assets/brunei.svg +1 -0
  218. package/assets/brush.svg +1 -0
  219. package/assets/building.svg +1 -0
  220. package/assets/bulgaria.svg +1 -0
  221. package/assets/burger.45c468cd1f3cefbd.svg +1 -0
  222. package/assets/burkina-faso.svg +1 -0
  223. package/assets/burundi.svg +1 -0
  224. package/assets/bus.svg +1 -0
  225. package/assets/calendar-add.svg +1 -0
  226. package/assets/calendar-edit.svg +1 -0
  227. package/assets/calendar-export.svg +1 -0
  228. package/assets/calendar-import.svg +1 -0
  229. package/assets/calendar-minus.svg +1 -0
  230. package/assets/calendar-remove.svg +1 -0
  231. package/assets/calendar-tick.svg +1 -0
  232. package/assets/calendar-user.svg +1 -0
  233. package/assets/calendar-warning.svg +1 -0
  234. package/assets/calendar.8b9cde3690ee19e4.svg +1 -0
  235. package/assets/calendar.svg +1 -0
  236. package/assets/calendar_color.svg +1 -0
  237. package/assets/calendar_simple.1e7d462a1b03789e.svg +1 -0
  238. package/assets/calendars.svg +1 -0
  239. package/assets/cambodia.svg +1 -0
  240. package/assets/camera-off.svg +1 -0
  241. package/assets/camera.svg +1 -0
  242. package/assets/cameroon.svg +1 -0
  243. package/assets/camp.svg +1 -0
  244. package/assets/camps.371b46101f1933bd.svg +1 -0
  245. package/assets/canada.svg +1 -0
  246. package/assets/canary-islands.svg +1 -0
  247. package/assets/cancel.a003b4fd2adaf244.svg +1 -0
  248. package/assets/cape-verde.svg +1 -0
  249. package/assets/car.svg +1 -0
  250. package/assets/card-flip.svg +1 -0
  251. package/assets/caret-down-fill.svg +1 -0
  252. package/assets/caret-down.svg +1 -0
  253. package/assets/caret-left-fill.svg +1 -0
  254. package/assets/caret-left-to-line-fill.svg +1 -0
  255. package/assets/caret-left-to-line.svg +1 -0
  256. package/assets/caret-left.svg +1 -0
  257. package/assets/caret-right-fill.svg +1 -0
  258. package/assets/caret-right-to-line-fill.svg +1 -0
  259. package/assets/caret-right-to-line.svg +1 -0
  260. package/assets/caret-right.svg +1 -0
  261. package/assets/caret-up-fill.svg +1 -0
  262. package/assets/caret-up.svg +1 -0
  263. package/assets/cart-arrow-down.svg +1 -0
  264. package/assets/cart-arrow-up.svg +1 -0
  265. package/assets/cart-close.svg +1 -0
  266. package/assets/cart-fast.svg +1 -0
  267. package/assets/cart-minus.svg +1 -0
  268. package/assets/cart-notif.svg +1 -0
  269. package/assets/cart-plus.svg +1 -0
  270. package/assets/cart-tick.svg +1 -0
  271. package/assets/cart.f0daf496f4d3d329.svg +1 -0
  272. package/assets/cart.svg +1 -0
  273. package/assets/case_color.svg +1 -0
  274. package/assets/cayman-islands.svg +1 -0
  275. package/assets/central-african-republic.svg +1 -0
  276. package/assets/certificate-check.svg +1 -0
  277. package/assets/certificate.svg +1 -0
  278. package/assets/ceuta.svg +1 -0
  279. package/assets/chad.svg +1 -0
  280. package/assets/chart-area.svg +1 -0
  281. package/assets/chart-bar.svg +1 -0
  282. package/assets/chart-bullet.svg +1 -0
  283. package/assets/chart-column.svg +1 -0
  284. package/assets/chart-gantt.svg +1 -0
  285. package/assets/chart-line-down.svg +1 -0
  286. package/assets/chart-line-up.svg +1 -0
  287. package/assets/chart-line.svg +1 -0
  288. package/assets/chart-mixed.svg +1 -0
  289. package/assets/chart-network.svg +1 -0
  290. package/assets/chart-pie.svg +1 -0
  291. package/assets/chart-pyramid.svg +1 -0
  292. package/assets/chart-radar.svg +1 -0
  293. package/assets/chart-scatter-3d.svg +1 -0
  294. package/assets/chart-scatter-bubble.svg +1 -0
  295. package/assets/chart-scatter.svg +1 -0
  296. package/assets/chart-simple-horizontal.svg +1 -0
  297. package/assets/chart-simple.svg +1 -0
  298. package/assets/chart-tree-map.svg +1 -0
  299. package/assets/chart-user-square.svg +1 -0
  300. package/assets/chart-waterfall.svg +1 -0
  301. package/assets/check-circle-fill.svg +1 -0
  302. package/assets/check-circle.svg +1 -0
  303. package/assets/check-double-fill.svg +1 -0
  304. package/assets/check-double.svg +1 -0
  305. package/assets/check-fill.svg +1 -0
  306. package/assets/check.60cb47c5b3e8113c.svg +1 -0
  307. package/assets/check.svg +1 -0
  308. package/assets/checkCircle.5078cbfa4b3dfab0.svg +1 -0
  309. package/assets/chemistry.svg +1 -0
  310. package/assets/chemistry_color.svg +1 -0
  311. package/assets/chess_color.svg +1 -0
  312. package/assets/chevron-down-fill.svg +1 -0
  313. package/assets/chevron-down-left-fill.svg +1 -0
  314. package/assets/chevron-down-left.svg +1 -0
  315. package/assets/chevron-down-right-fill.svg +1 -0
  316. package/assets/chevron-down-right.svg +1 -0
  317. package/assets/chevron-down-small-fill.svg +1 -0
  318. package/assets/chevron-down-small.svg +1 -0
  319. package/assets/chevron-down.svg +1 -0
  320. package/assets/chevron-left-fill.svg +1 -0
  321. package/assets/chevron-left-small-fill.svg +1 -0
  322. package/assets/chevron-left-small.svg +1 -0
  323. package/assets/chevron-left.svg +1 -0
  324. package/assets/chevron-right-fill.svg +1 -0
  325. package/assets/chevron-right-small-fill.svg +1 -0
  326. package/assets/chevron-right-small.svg +1 -0
  327. package/assets/chevron-right.svg +1 -0
  328. package/assets/chevron-selector-horizontal.svg +1 -0
  329. package/assets/chevron-selector-vertical.svg +1 -0
  330. package/assets/chevron-up-fill.svg +1 -0
  331. package/assets/chevron-up-left-fill.svg +1 -0
  332. package/assets/chevron-up-left.svg +1 -0
  333. package/assets/chevron-up-right-fill.svg +1 -0
  334. package/assets/chevron-up-right.svg +1 -0
  335. package/assets/chevron-up-small-fill.svg +1 -0
  336. package/assets/chevron-up-small.svg +1 -0
  337. package/assets/chevron-up.svg +1 -0
  338. package/assets/chevronDown.6a94e5048fd54a5f.svg +1 -0
  339. package/assets/chevronLeft.53be79e49ca64db4.svg +1 -0
  340. package/assets/chevronRight.2741db73f00a193d.svg +1 -0
  341. package/assets/chevronUp.3e52f19b516588ee.svg +1 -0
  342. package/assets/children.svg +1 -0
  343. package/assets/chile.svg +1 -0
  344. package/assets/china.svg +1 -0
  345. package/assets/chinese_color.svg +1 -0
  346. package/assets/circle-dollar-to-slot.svg +1 -0
  347. package/assets/circle-dollar.svg +1 -0
  348. package/assets/circle-notch.svg +1 -0
  349. package/assets/circle-pause.svg +1 -0
  350. package/assets/circle-play.svg +1 -0
  351. package/assets/circle-quarter.svg +1 -0
  352. package/assets/circle-quarters.svg +1 -0
  353. package/assets/circle-three-quarters.svg +1 -0
  354. package/assets/circle-user-fill.svg +1 -0
  355. package/assets/city.svg +1 -0
  356. package/assets/clipboard-export.svg +1 -0
  357. package/assets/clipboard-import.svg +1 -0
  358. package/assets/clipboard-list-alt.svg +1 -0
  359. package/assets/clipboard-minus.svg +1 -0
  360. package/assets/clipboard-plus.svg +1 -0
  361. package/assets/clipboard-text.svg +1 -0
  362. package/assets/clipboard.svg +1 -0
  363. package/assets/clock-add.svg +1 -0
  364. package/assets/clock-done.svg +1 -0
  365. package/assets/clock-remove.svg +1 -0
  366. package/assets/clock-warning.svg +1 -0
  367. package/assets/clock.a9268c702e0620d0.svg +1 -0
  368. package/assets/clock.svg +1 -0
  369. package/assets/clockFilled.4818b73e01b198bd.svg +1 -0
  370. package/assets/close-cirlce-fill.svg +1 -0
  371. package/assets/close-cirlce.svg +1 -0
  372. package/assets/close-fill.svg +1 -0
  373. package/assets/close-large-fill.svg +1 -0
  374. package/assets/close-large.svg +1 -0
  375. package/assets/close.svg +1 -0
  376. package/assets/cloud-add.svg +1 -0
  377. package/assets/cloud-bolt.svg +1 -0
  378. package/assets/cloud-done.svg +1 -0
  379. package/assets/cloud-download.svg +1 -0
  380. package/assets/cloud-error.svg +1 -0
  381. package/assets/cloud-export.svg +1 -0
  382. package/assets/cloud-import.svg +1 -0
  383. package/assets/cloud-off.svg +1 -0
  384. package/assets/cloud-question.svg +1 -0
  385. package/assets/cloud-remove.svg +1 -0
  386. package/assets/cloud-upload.svg +1 -0
  387. package/assets/cloud-warning.svg +1 -0
  388. package/assets/cloud.svg +1 -0
  389. package/assets/club.svg +1 -0
  390. package/assets/cocos-island.svg +1 -0
  391. package/assets/code.svg +1 -0
  392. package/assets/coin-vertical.svg +1 -0
  393. package/assets/coin.svg +1 -0
  394. package/assets/coins.be540ecdc42d2f64.svg +1 -0
  395. package/assets/coins.svg +1 -0
  396. package/assets/colombia.svg +1 -0
  397. package/assets/columns-2.svg +1 -0
  398. package/assets/columns-3.svg +1 -0
  399. package/assets/comoros.svg +1 -0
  400. package/assets/compass.svg +1 -0
  401. package/assets/computer.svg +1 -0
  402. package/assets/constrict.svg +1 -0
  403. package/assets/cook-islands.svg +1 -0
  404. package/assets/copy.4ad4b401192ac20d.svg +4 -0
  405. package/assets/copy.svg +1 -0
  406. package/assets/corner-down-left-fill.svg +1 -0
  407. package/assets/corner-down-left.svg +1 -0
  408. package/assets/corner-down-right-fill.svg +1 -0
  409. package/assets/corner-down-right.svg +1 -0
  410. package/assets/corner-left-down-fill.svg +1 -0
  411. package/assets/corner-left-down.svg +1 -0
  412. package/assets/corner-left-up-fill.svg +1 -0
  413. package/assets/corner-left-up.svg +1 -0
  414. package/assets/corner-right-down-fill.svg +1 -0
  415. package/assets/corner-right-down.svg +1 -0
  416. package/assets/corner-right-up-fill.svg +1 -0
  417. package/assets/corner-right-up.svg +1 -0
  418. package/assets/corner-up-left-fill.svg +1 -0
  419. package/assets/corner-up-left.svg +1 -0
  420. package/assets/corner-up-right-fill.svg +1 -0
  421. package/assets/corner-up-right.svg +1 -0
  422. package/assets/costa-rica.svg +1 -0
  423. package/assets/cource_color.svg +1 -0
  424. package/assets/courses.a4f09613aed70077.svg +1 -0
  425. package/assets/creativity_color.svg +1 -0
  426. package/assets/credit-card-add.svg +1 -0
  427. package/assets/credit-card-remove.svg +1 -0
  428. package/assets/credit-card-scan.svg +1 -0
  429. package/assets/credit-card.svg +1 -0
  430. package/assets/croatia.svg +1 -0
  431. package/assets/crop.svg +1 -0
  432. package/assets/cross.47ee7546843f413e.svg +1 -0
  433. package/assets/crown.svg +1 -0
  434. package/assets/cuba.svg +1 -0
  435. package/assets/cube-sharp.svg +1 -0
  436. package/assets/cube-vr.svg +1 -0
  437. package/assets/cube.svg +1 -0
  438. package/assets/curacao.svg +1 -0
  439. package/assets/cursor-fill.svg +1 -0
  440. package/assets/cursor.svg +1 -0
  441. package/assets/cyprus.svg +1 -0
  442. package/assets/czech-republic.svg +1 -0
  443. package/assets/dash.svg +1 -0
  444. package/assets/delete-fill.svg +1 -0
  445. package/assets/delete.svg +1 -0
  446. package/assets/democratic-republic-of_congo.svg +1 -0
  447. package/assets/denmark.svg +1 -0
  448. package/assets/development_1_color.svg +1 -0
  449. package/assets/development_2_color.svg +1 -0
  450. package/assets/diagram-cells.svg +1 -0
  451. package/assets/diagram-lean-canvas.svg +1 -0
  452. package/assets/diagram-nested.svg +1 -0
  453. package/assets/diagram-next.svg +1 -0
  454. package/assets/diagram-predecessor.svg +1 -0
  455. package/assets/diagram-previous.svg +1 -0
  456. package/assets/diagram-project.svg +1 -0
  457. package/assets/diagram-sankey.svg +1 -0
  458. package/assets/diagram-subtask.svg +1 -0
  459. package/assets/diagram-successor.svg +1 -0
  460. package/assets/diagram-venn.svg +1 -0
  461. package/assets/dialog.3ce724cc566b42a9.svg +1 -0
  462. package/assets/dialpad-circle.svg +1 -0
  463. package/assets/dialpad-square.svg +1 -0
  464. package/assets/diamond-simple.svg +1 -0
  465. package/assets/diamond.bf9248dd58822d12.svg +1 -0
  466. package/assets/diamond.svg +1 -0
  467. package/assets/diamondFilled.9e247055ae4c3518.svg +1 -0
  468. package/assets/diamondSolid.b23ce5310f59070f.svg +1 -0
  469. package/assets/dice-five.svg +1 -0
  470. package/assets/dice-four.svg +1 -0
  471. package/assets/dice-one.svg +1 -0
  472. package/assets/dice-six.svg +1 -0
  473. package/assets/dice-three.svg +1 -0
  474. package/assets/dice-two.svg +1 -0
  475. package/assets/diploma_color.svg +1 -0
  476. package/assets/disc.svg +1 -0
  477. package/assets/discount-badge.svg +1 -0
  478. package/assets/discount-circle.svg +1 -0
  479. package/assets/discount.0b5bc30cd739376a.svg +1 -0
  480. package/assets/dislike.svg +1 -0
  481. package/assets/distribute-spacing-horizontal.svg +1 -0
  482. package/assets/distribute-spacing-vertical.svg +1 -0
  483. package/assets/djibouti.svg +1 -0
  484. package/assets/doc.svg +1 -0
  485. package/assets/document-layout-center.svg +1 -0
  486. package/assets/document-layout-left.svg +1 -0
  487. package/assets/document-layout-right.svg +1 -0
  488. package/assets/document.d49e3408663d49b8.svg +1 -0
  489. package/assets/dominica.svg +1 -0
  490. package/assets/dominican-republic.svg +1 -0
  491. package/assets/door-closed.svg +1 -0
  492. package/assets/door-open.svg +1 -0
  493. package/assets/double-xp-fill.svg +1 -0
  494. package/assets/download-fill.svg +1 -0
  495. package/assets/download.svg +1 -0
  496. package/assets/draw-square-t.svg +1 -0
  497. package/assets/draw-square.svg +1 -0
  498. package/assets/drawing-tablet.svg +1 -0
  499. package/assets/drawing_color.svg +1 -0
  500. package/assets/dropDownArrow.d742073c12888155.svg +1 -0
  501. package/assets/early_education_color.svg +1 -0
  502. package/assets/east-timor.svg +1 -0
  503. package/assets/ecology.svg +1 -0
  504. package/assets/ecology_color.svg +1 -0
  505. package/assets/economy_color.svg +1 -0
  506. package/assets/ecuador.svg +1 -0
  507. package/assets/edit-fill.svg +1 -0
  508. package/assets/edit-pen-fill.svg +1 -0
  509. package/assets/edit-pen.svg +1 -0
  510. package/assets/edit.74345a72afa86b30.svg +1 -0
  511. package/assets/edit.svg +1 -0
  512. package/assets/education_color.svg +1 -0
  513. package/assets/education_program_color.svg +1 -0
  514. package/assets/educont-authorization.svg +1 -0
  515. package/assets/egypt.svg +1 -0
  516. package/assets/el-salvador.svg +1 -0
  517. package/assets/elementary_color.svg +1 -0
  518. package/assets/email.1bc1fe3435d0b220.svg +1 -0
  519. package/assets/emotional_intelligence_color.svg +1 -0
  520. package/assets/england.svg +1 -0
  521. package/assets/english-to-chinese.svg +1 -0
  522. package/assets/english.svg +1 -0
  523. package/assets/english_color.svg +1 -0
  524. package/assets/enter-fill.svg +1 -0
  525. package/assets/enter.svg +1 -0
  526. package/assets/equatorial-guinea.svg +1 -0
  527. package/assets/eritrea.svg +1 -0
  528. package/assets/estonia.svg +1 -0
  529. package/assets/ethiopia.svg +1 -0
  530. package/assets/european-union.svg +1 -0
  531. package/assets/exam-test_color.svg +1 -0
  532. package/assets/exam_color.svg +1 -0
  533. package/assets/expand.svg +1 -0
  534. package/assets/export-fill.svg +1 -0
  535. package/assets/export.svg +1 -0
  536. package/assets/external-link-fill.svg +1 -0
  537. package/assets/external-link.svg +1 -0
  538. package/assets/externalLink.02b3dd54a6bf75a3.svg +1 -0
  539. package/assets/externat.81f87d8f360ce786.svg +1 -0
  540. package/assets/eye-close-fill.svg +1 -0
  541. package/assets/eye-close.svg +1 -0
  542. package/assets/eye-dropper-full.svg +1 -0
  543. package/assets/eye-dropper-half.svg +1 -0
  544. package/assets/eye-dropper.svg +1 -0
  545. package/assets/eye-fill.svg +1 -0
  546. package/assets/eye-slash-fill.svg +1 -0
  547. package/assets/eye-slash.svg +1 -0
  548. package/assets/eye.e55a3ae41132d318.svg +1 -0
  549. package/assets/eye.svg +1 -0
  550. package/assets/face-frown-fill.svg +1 -0
  551. package/assets/face-frown.svg +1 -0
  552. package/assets/face-id.svg +1 -0
  553. package/assets/face-smile-fill.svg +1 -0
  554. package/assets/face-smile.svg +1 -0
  555. package/assets/facebook-social.svg +1 -0
  556. package/assets/falkland-islands.svg +1 -0
  557. package/assets/family-house.svg +1 -0
  558. package/assets/family.svg +1 -0
  559. package/assets/faroe-islands.svg +1 -0
  560. package/assets/fast-timer.svg +1 -0
  561. package/assets/figma.svg +1 -0
  562. package/assets/fiji.svg +1 -0
  563. package/assets/file-add-alt-1.svg +1 -0
  564. package/assets/file-add.svg +1 -0
  565. package/assets/file-bookmark.svg +1 -0
  566. package/assets/file-dashed-line.svg +1 -0
  567. package/assets/file-download.svg +1 -0
  568. package/assets/file-edit-corner.svg +1 -0
  569. package/assets/file-edit.svg +1 -0
  570. package/assets/file-exclamation-corner.svg +1 -0
  571. package/assets/file-horizontal.svg +1 -0
  572. package/assets/file-import.svg +1 -0
  573. package/assets/file-info-corner.svg +1 -0
  574. package/assets/file-info.svg +1 -0
  575. package/assets/file-link.svg +1 -0
  576. package/assets/file-minus-corner.svg +1 -0
  577. package/assets/file-minus.svg +1 -0
  578. package/assets/file-move.svg +1 -0
  579. package/assets/file-off.svg +1 -0
  580. package/assets/file-pdf.svg +1 -0
  581. package/assets/file-question-corner.svg +1 -0
  582. package/assets/file-question.svg +1 -0
  583. package/assets/file-remove.svg +1 -0
  584. package/assets/file-shredder.svg +1 -0
  585. package/assets/file-text.svg +1 -0
  586. package/assets/file-tick.svg +1 -0
  587. package/assets/file-upload.svg +1 -0
  588. package/assets/file-warning.svg +1 -0
  589. package/assets/file-zipper.svg +1 -0
  590. package/assets/file.b313d585b58c71ce.svg +1 -0
  591. package/assets/file.svg +1 -0
  592. package/assets/fileBordered.5327fa25de303bea.svg +1 -0
  593. package/assets/files.svg +1 -0
  594. package/assets/filter-fill.svg +1 -0
  595. package/assets/filter.svg +1 -0
  596. package/assets/finance_color.svg +1 -0
  597. package/assets/financial_literature_color.svg +1 -0
  598. package/assets/fingerprint.svg +1 -0
  599. package/assets/finland.svg +1 -0
  600. package/assets/fire-alt.svg +1 -0
  601. package/assets/fire-fill.svg +1 -0
  602. package/assets/fire-small-fill.svg +1 -0
  603. package/assets/fire.caa17db686ea8652.svg +1 -0
  604. package/assets/fire.svg +1 -0
  605. package/assets/fizra_2_color.svg +1 -0
  606. package/assets/fizra_color.svg +1 -0
  607. package/assets/fizra_elementary_color.svg +1 -0
  608. package/assets/flag.svg +1 -0
  609. package/assets/flash-cards.svg +1 -0
  610. package/assets/flashlight.svg +1 -0
  611. package/assets/folder-add.svg +1 -0
  612. package/assets/folder-export.svg +1 -0
  613. package/assets/folder-import.svg +1 -0
  614. package/assets/folder-info.svg +1 -0
  615. package/assets/folder-minus.svg +1 -0
  616. package/assets/folder-move.svg +1 -0
  617. package/assets/folder-notif.svg +1 -0
  618. package/assets/folder-question.svg +1 -0
  619. package/assets/folder-remove.svg +1 -0
  620. package/assets/folder-tick.svg +1 -0
  621. package/assets/folder-warning.svg +1 -0
  622. package/assets/folder.svg +1 -0
  623. package/assets/folder_color.svg +1 -0
  624. package/assets/font-case.svg +1 -0
  625. package/assets/font.svg +1 -0
  626. package/assets/food_color.svg +1 -0
  627. package/assets/foreign_language_color.svg +1 -0
  628. package/assets/forward-fill.svg +1 -0
  629. package/assets/forward.svg +1 -0
  630. package/assets/fox-coins.svg +1 -0
  631. package/assets/france.svg +1 -0
  632. package/assets/french-polynesia.svg +1 -0
  633. package/assets/french_color.svg +1 -0
  634. package/assets/gabon.svg +1 -0
  635. package/assets/gallery-thumbnails.svg +1 -0
  636. package/assets/gambia.svg +1 -0
  637. package/assets/game.svg +1 -0
  638. package/assets/games_color.svg +1 -0
  639. package/assets/gem.svg +1 -0
  640. package/assets/geography.svg +1 -0
  641. package/assets/geography_color.svg +1 -0
  642. package/assets/geography_elementary_color.svg +1 -0
  643. package/assets/geometry_color.svg +1 -0
  644. package/assets/georgia.svg +1 -0
  645. package/assets/german_color.svg +1 -0
  646. package/assets/germany.svg +1 -0
  647. package/assets/ghana.svg +1 -0
  648. package/assets/gibraltar.svg +1 -0
  649. package/assets/gift-box.svg +1 -0
  650. package/assets/gift-card.svg +1 -0
  651. package/assets/gift.svg +1 -0
  652. package/assets/globe.svg +1 -0
  653. package/assets/goal.svg +1 -0
  654. package/assets/gold.svg +1 -0
  655. package/assets/google-authorization.svg +1 -0
  656. package/assets/gps-off.svg +1 -0
  657. package/assets/gps.svg +1 -0
  658. package/assets/greece.svg +1 -0
  659. package/assets/greenland.svg +1 -0
  660. package/assets/grenada.svg +1 -0
  661. package/assets/grid-circle-fill.svg +1 -0
  662. package/assets/grid-circle.svg +1 -0
  663. package/assets/grid-fill.svg +1 -0
  664. package/assets/grid-plus-fill.svg +1 -0
  665. package/assets/grid-plus.svg +1 -0
  666. package/assets/grid.svg +1 -0
  667. package/assets/grip-dots-fill.svg +1 -0
  668. package/assets/grip-dots-vertical-fill.svg +1 -0
  669. package/assets/grip-dots-vertical.svg +1 -0
  670. package/assets/grip-dots.svg +1 -0
  671. package/assets/group_color.svg +1 -0
  672. package/assets/guam.svg +1 -0
  673. package/assets/guatemala.svg +1 -0
  674. package/assets/guernsey.svg +1 -0
  675. package/assets/guinea-bissau.svg +1 -0
  676. package/assets/guinea.svg +1 -0
  677. package/assets/guyana.svg +1 -0
  678. package/assets/h1.svg +1 -0
  679. package/assets/h2.svg +1 -0
  680. package/assets/haiti.svg +1 -0
  681. package/assets/hand-left.svg +1 -0
  682. package/assets/hand-right.svg +1 -0
  683. package/assets/hand-slash.svg +1 -0
  684. package/assets/hard-drive.svg +1 -0
  685. package/assets/hashtag-lock.svg +1 -0
  686. package/assets/hashtag.svg +1 -0
  687. package/assets/hat.svg +1 -0
  688. package/assets/heading.svg +1 -0
  689. package/assets/headphones.96385bffaa5d63f9.svg +1 -0
  690. package/assets/headphones.svg +1 -0
  691. package/assets/heart-circle-fill.svg +1 -0
  692. package/assets/heart-circle.svg +1 -0
  693. package/assets/heart-crack.svg +1 -0
  694. package/assets/heart-fill.svg +1 -0
  695. package/assets/heart-half-stroke.svg +1 -0
  696. package/assets/heart-half.svg +1 -0
  697. package/assets/heart.svg +1 -0
  698. package/assets/help-circle-fill.svg +1 -0
  699. package/assets/help-circle.svg +1 -0
  700. package/assets/help-seal-fill.svg +1 -0
  701. package/assets/help-seal.svg +1 -0
  702. package/assets/help.svg +1 -0
  703. package/assets/hexagon.svg +1 -0
  704. package/assets/history.svg +1 -0
  705. package/assets/history_color.svg +1 -0
  706. package/assets/home.9387b910db75eeaf.svg +1 -0
  707. package/assets/home_school_color.svg +1 -0
  708. package/assets/honduras.svg +1 -0
  709. package/assets/hong-kong.svg +1 -0
  710. package/assets/horizontal-rule.svg +1 -0
  711. package/assets/hotel.svg +1 -0
  712. package/assets/hourglass-end.svg +1 -0
  713. package/assets/hourglass-half.svg +1 -0
  714. package/assets/hourglass-start.svg +1 -0
  715. package/assets/hourglass.svg +1 -0
  716. package/assets/house-empty.svg +1 -0
  717. package/assets/house-fill.svg +1 -0
  718. package/assets/house.svg +1 -0
  719. package/assets/hungary.svg +1 -0
  720. package/assets/i-cursor.svg +1 -0
  721. package/assets/iceland.svg +1 -0
  722. package/assets/image-add.svg +1 -0
  723. package/assets/image-edit.svg +1 -0
  724. package/assets/image-error.svg +1 -0
  725. package/assets/image-export.svg +1 -0
  726. package/assets/image-import.svg +1 -0
  727. package/assets/image-remove.svg +1 -0
  728. package/assets/image-tick.svg +1 -0
  729. package/assets/image-user.svg +1 -0
  730. package/assets/image.svg +1 -0
  731. package/assets/import-fill.svg +1 -0
  732. package/assets/import.svg +1 -0
  733. package/assets/inbox-add.svg +1 -0
  734. package/assets/inbox-check.svg +1 -0
  735. package/assets/inbox-export.svg +1 -0
  736. package/assets/inbox-import.svg +1 -0
  737. package/assets/inbox-information.svg +1 -0
  738. package/assets/inbox-minus.svg +1 -0
  739. package/assets/inbox-move.svg +1 -0
  740. package/assets/inbox-notif.svg +1 -0
  741. package/assets/inbox-remove.svg +1 -0
  742. package/assets/inbox-warning.svg +1 -0
  743. package/assets/inbox.svg +1 -0
  744. package/assets/income.svg +1 -0
  745. package/assets/indent.svg +1 -0
  746. package/assets/india.svg +1 -0
  747. package/assets/indonesia.svg +1 -0
  748. package/assets/industry.svg +1 -0
  749. package/assets/infinity.svg +1 -0
  750. package/assets/info-circle-fill.svg +1 -0
  751. package/assets/info-circle.svg +1 -0
  752. package/assets/info.2a91d7e339f48950.svg +1 -0
  753. package/assets/infoInverse.c5cb44254b57a145.svg +1 -0
  754. package/assets/informatics_color.svg +1 -0
  755. package/assets/information.svg +1 -0
  756. package/assets/instagram-social.svg +1 -0
  757. package/assets/iran.svg +1 -0
  758. package/assets/iraq.svg +1 -0
  759. package/assets/ireland.svg +1 -0
  760. package/assets/isle-of-man.svg +1 -0
  761. package/assets/israel.svg +1 -0
  762. package/assets/italic.svg +1 -0
  763. package/assets/italy.svg +1 -0
  764. package/assets/items.svg +1 -0
  765. package/assets/ivory-coast.svg +1 -0
  766. package/assets/jamaica.svg +1 -0
  767. package/assets/japan.svg +1 -0
  768. package/assets/jersey.svg +1 -0
  769. package/assets/jordan.svg +1 -0
  770. package/assets/kazakhstan.svg +1 -0
  771. package/assets/kenya.svg +1 -0
  772. package/assets/kerning.svg +1 -0
  773. package/assets/key-tiny.svg +1 -0
  774. package/assets/key.svg +1 -0
  775. package/assets/keyboard-close.svg +1 -0
  776. package/assets/keyboard.svg +1 -0
  777. package/assets/kiribati.svg +1 -0
  778. package/assets/kuwait.svg +1 -0
  779. package/assets/kyrgyzstan.svg +1 -0
  780. package/assets/lamp-charge-fill.svg +1 -0
  781. package/assets/lamp-charge.svg +1 -0
  782. package/assets/lamp-off-fill.svg +1 -0
  783. package/assets/lamp-off.svg +1 -0
  784. package/assets/lamp-on-fill.svg +1 -0
  785. package/assets/lamp-on.svg +1 -0
  786. package/assets/lamp-warning-fill.svg +1 -0
  787. package/assets/lamp-warning.svg +1 -0
  788. package/assets/laos.svg +1 -0
  789. package/assets/laptop-arrow-down.svg +1 -0
  790. package/assets/laptop-arrow-up.svg +1 -0
  791. package/assets/laptop-error.svg +1 -0
  792. package/assets/laptop-exclamation.svg +1 -0
  793. package/assets/laptop-signal.svg +1 -0
  794. package/assets/laptop-tick.svg +1 -0
  795. package/assets/laptop.svg +1 -0
  796. package/assets/lasso.svg +1 -0
  797. package/assets/latvia.svg +1 -0
  798. package/assets/lebanon.svg +1 -0
  799. package/assets/left-alignment.svg +1 -0
  800. package/assets/left-indent.svg +1 -0
  801. package/assets/left-to-right-text-direction.svg +1 -0
  802. package/assets/lesotho.svg +1 -0
  803. package/assets/lessons.191febf80f095741.svg +1 -0
  804. package/assets/letter-chinese-a.svg +1 -0
  805. package/assets/liberia.svg +1 -0
  806. package/assets/libya.svg +1 -0
  807. package/assets/liechtenstein.svg +1 -0
  808. package/assets/light-warning-on.svg +1 -0
  809. package/assets/light-warning.svg +1 -0
  810. package/assets/lightning-fill.svg +1 -0
  811. package/assets/lightning.svg +1 -0
  812. package/assets/like.svg +1 -0
  813. package/assets/line-columns.svg +1 -0
  814. package/assets/line-height.svg +1 -0
  815. package/assets/lines-leaning.svg +1 -0
  816. package/assets/link-fill.svg +1 -0
  817. package/assets/link-slash.svg +1 -0
  818. package/assets/link.svg +1 -0
  819. package/assets/list-circle.svg +1 -0
  820. package/assets/list-ol.svg +1 -0
  821. package/assets/list-ul-level.svg +1 -0
  822. package/assets/list-ul.svg +1 -0
  823. package/assets/list.527dda6302d1463d.svg +1 -0
  824. package/assets/list.svg +1 -0
  825. package/assets/literature.svg +1 -0
  826. package/assets/literature_color.svg +1 -0
  827. package/assets/lithuania.svg +1 -0
  828. package/assets/loader-fill.svg +1 -0
  829. package/assets/loader.svg +1 -0
  830. package/assets/loading.svg +1 -0
  831. package/assets/location-check.svg +1 -0
  832. package/assets/lock-a.svg +1 -0
  833. package/assets/lock-fill.svg +1 -0
  834. package/assets/lock-hashtag.svg +1 -0
  835. package/assets/lock-slash.svg +1 -0
  836. package/assets/lock.svg +1 -0
  837. package/assets/log-in-fill.svg +1 -0
  838. package/assets/log-in.svg +1 -0
  839. package/assets/log-out-fill.svg +1 -0
  840. package/assets/log-out.svg +1 -0
  841. package/assets/logic_color.svg +1 -0
  842. package/assets/login.e40b709f4cbdcccc.svg +3 -0
  843. package/assets/logoped_color.svg +1 -0
  844. package/assets/logout.79e9d9176845197e.svg +1 -0
  845. package/assets/loop.svg +1 -0
  846. package/assets/luxembourg.svg +1 -0
  847. package/assets/macao.svg +1 -0
  848. package/assets/madagascar.svg +1 -0
  849. package/assets/mail-add.svg +1 -0
  850. package/assets/mail-block.svg +1 -0
  851. package/assets/mail-edit.svg +1 -0
  852. package/assets/mail-info.svg +1 -0
  853. package/assets/mail-minus.svg +1 -0
  854. package/assets/mail-notif.svg +1 -0
  855. package/assets/mail-open.svg +1 -0
  856. package/assets/mail-refresh.svg +1 -0
  857. package/assets/mail-remove.svg +1 -0
  858. package/assets/mail-tick.svg +1 -0
  859. package/assets/mail-warning.svg +1 -0
  860. package/assets/mail.ru-authorization.svg +1 -0
  861. package/assets/mail.svg +1 -0
  862. package/assets/malawi.svg +1 -0
  863. package/assets/malaysia.svg +1 -0
  864. package/assets/maldives.svg +1 -0
  865. package/assets/mali.svg +1 -0
  866. package/assets/malta.svg +1 -0
  867. package/assets/map-location-pin.svg +1 -0
  868. package/assets/map-marker-add.svg +1 -0
  869. package/assets/map-marker-error.svg +1 -0
  870. package/assets/map-marker-off.svg +1 -0
  871. package/assets/map-marker-remove.svg +1 -0
  872. package/assets/map-marker-warning.svg +1 -0
  873. package/assets/map-marker.svg +1 -0
  874. package/assets/map.svg +1 -0
  875. package/assets/marshall-island.svg +1 -0
  876. package/assets/martinique.svg +1 -0
  877. package/assets/materials_color.svg +1 -0
  878. package/assets/math_color.svg +1 -0
  879. package/assets/math_elementary_color.svg +1 -0
  880. package/assets/mathematics.svg +1 -0
  881. package/assets/mauritania.svg +1 -0
  882. package/assets/mauritius.svg +1 -0
  883. package/assets/maximize.svg +1 -0
  884. package/assets/medal-fill.svg +1 -0
  885. package/assets/medal.svg +1 -0
  886. package/assets/medicine_color.svg +1 -0
  887. package/assets/megaphone_color.svg +1 -0
  888. package/assets/memo-check.svg +1 -0
  889. package/assets/memo-pencil.svg +1 -0
  890. package/assets/menu-fill.svg +1 -0
  891. package/assets/menu.svg +1 -0
  892. package/assets/message-circle-chat.svg +1 -0
  893. package/assets/message-circle-export.svg +1 -0
  894. package/assets/message-circle-import.svg +1 -0
  895. package/assets/message-circle-info.svg +1 -0
  896. package/assets/message-circle-lines.svg +1 -0
  897. package/assets/message-circle-minus.svg +1 -0
  898. package/assets/message-circle-notif.svg +1 -0
  899. package/assets/message-circle-plus.svg +1 -0
  900. package/assets/message-circle-question.svg +1 -0
  901. package/assets/message-circle-tick.svg +1 -0
  902. package/assets/message-circle-warning.svg +1 -0
  903. package/assets/message-circle-xmark.svg +1 -0
  904. package/assets/message-circle.svg +1 -0
  905. package/assets/message-square-arrow-down.svg +1 -0
  906. package/assets/message-square-chat.svg +1 -0
  907. package/assets/message-square-export.svg +1 -0
  908. package/assets/message-square-info.svg +1 -0
  909. package/assets/message-square-lines.svg +1 -0
  910. package/assets/message-square-minus.svg +1 -0
  911. package/assets/message-square-notif.svg +1 -0
  912. package/assets/message-square-plus.svg +1 -0
  913. package/assets/message-square-question.svg +1 -0
  914. package/assets/message-square-remove.svg +1 -0
  915. package/assets/message-square-tick.svg +1 -0
  916. package/assets/message-square-warning.svg +1 -0
  917. package/assets/message-square.svg +1 -0
  918. package/assets/message.b8c2b14627bf6c00.svg +1 -0
  919. package/assets/mexico.svg +1 -0
  920. package/assets/micronesia.svg +1 -0
  921. package/assets/microphone-off.svg +1 -0
  922. package/assets/microphone.svg +1 -0
  923. package/assets/mini_group_color.svg +1 -0
  924. package/assets/minimize.svg +1 -0
  925. package/assets/minus-circle-fill.svg +1 -0
  926. package/assets/minus-circle.svg +1 -0
  927. package/assets/minus-fill.svg +1 -0
  928. package/assets/minus.svg +1 -0
  929. package/assets/mix.svg +1 -0
  930. package/assets/mobile-bolt.svg +1 -0
  931. package/assets/mobile-remove.svg +1 -0
  932. package/assets/mobile-signal-out.svg +1 -0
  933. package/assets/mobile-signal.svg +1 -0
  934. package/assets/mobile-slash.svg +1 -0
  935. package/assets/mobile-tick.svg +1 -0
  936. package/assets/mobile.svg +1 -0
  937. package/assets/modem.svg +1 -0
  938. package/assets/moldova.svg +1 -0
  939. package/assets/monaco.svg +1 -0
  940. package/assets/mongolia.svg +1 -0
  941. package/assets/montenegro.svg +1 -0
  942. package/assets/montserrat.svg +1 -0
  943. package/assets/moon-fill.svg +1 -0
  944. package/assets/moon.svg +1 -0
  945. package/assets/more-horizontal-fill.svg +1 -0
  946. package/assets/more-horizontal.svg +1 -0
  947. package/assets/more-vertical-fill.svg +1 -0
  948. package/assets/more-vertical.svg +1 -0
  949. package/assets/morocco.svg +1 -0
  950. package/assets/motorcycle.svg +1 -0
  951. package/assets/mouse.svg +1 -0
  952. package/assets/move-down.svg +1 -0
  953. package/assets/move-left.svg +1 -0
  954. package/assets/move-right.svg +1 -0
  955. package/assets/move-up.svg +1 -0
  956. package/assets/move.svg +1 -0
  957. package/assets/mozambique.svg +1 -0
  958. package/assets/multi_discipline_color.svg +1 -0
  959. package/assets/music-note-off.svg +1 -0
  960. package/assets/music-note.svg +1 -0
  961. package/assets/music.svg +1 -0
  962. package/assets/music_color.svg +1 -0
  963. package/assets/myanmar.svg +1 -0
  964. package/assets/namibia.svg +1 -0
  965. package/assets/natural_sciences_color.svg +1 -0
  966. package/assets/nauru.svg +1 -0
  967. package/assets/navigation-forward.svg +1 -0
  968. package/assets/navigation.svg +1 -0
  969. package/assets/nepal.svg +1 -0
  970. package/assets/netherlands.svg +1 -0
  971. package/assets/new-zealand.svg +1 -0
  972. package/assets/next-fast.svg +1 -0
  973. package/assets/next.svg +1 -0
  974. package/assets/nicaragua.svg +1 -0
  975. package/assets/niger.svg +1 -0
  976. package/assets/nigeria.svg +1 -0
  977. package/assets/niue.svg +1 -0
  978. package/assets/norfolk-island.svg +1 -0
  979. package/assets/north-korea.svg +1 -0
  980. package/assets/northern-marianas-islands.svg +1 -0
  981. package/assets/norway.svg +1 -0
  982. package/assets/note-sticky.svg +1 -0
  983. package/assets/notebook.svg +1 -0
  984. package/assets/notif-fill.svg +1 -0
  985. package/assets/notif-off-fill.svg +1 -0
  986. package/assets/notif-off.svg +1 -0
  987. package/assets/notif.svg +1 -0
  988. package/assets/objective.1090046571053b18.svg +1 -0
  989. package/assets/objects-align-bottom.svg +1 -0
  990. package/assets/objects-align-center-horizontal.svg +1 -0
  991. package/assets/objects-align-center-vertical.svg +1 -0
  992. package/assets/objects-align-left.svg +1 -0
  993. package/assets/objects-align-right.svg +1 -0
  994. package/assets/objects-align-top.svg +1 -0
  995. package/assets/objects-column.svg +1 -0
  996. package/assets/obz_color.svg +1 -0
  997. package/assets/obz_elementary_color.svg +1 -0
  998. package/assets/octagon.svg +1 -0
  999. package/assets/ok-authorization.svg +1 -0
  1000. package/assets/ok-social.svg +1 -0
  1001. package/assets/olympiad_color.svg +1 -0
  1002. package/assets/oman.svg +1 -0
  1003. package/assets/outcome.svg +1 -0
  1004. package/assets/overline.svg +1 -0
  1005. package/assets/ovz_color.svg +1 -0
  1006. package/assets/page.4a49145c1a1e94e6.svg +1 -0
  1007. package/assets/paint-roller.svg +1 -0
  1008. package/assets/paintbrush.svg +1 -0
  1009. package/assets/pakistan.svg +1 -0
  1010. package/assets/palau.svg +1 -0
  1011. package/assets/palestine.svg +1 -0
  1012. package/assets/palette-fill.svg +1 -0
  1013. package/assets/palette.svg +1 -0
  1014. package/assets/panama.svg +1 -0
  1015. package/assets/paperclip-slash.svg +1 -0
  1016. package/assets/paperclip.svg +1 -0
  1017. package/assets/papua-new-guinea.svg +1 -0
  1018. package/assets/paragraph.svg +1 -0
  1019. package/assets/paraguay.svg +1 -0
  1020. package/assets/parchment.svg +1 -0
  1021. package/assets/parent.svg +1 -0
  1022. package/assets/pause-circle.svg +1 -0
  1023. package/assets/pause-fill.svg +1 -0
  1024. package/assets/pause-square.svg +1 -0
  1025. package/assets/pause-thin-fill.svg +1 -0
  1026. package/assets/pause-thin.svg +1 -0
  1027. package/assets/pause.svg +1 -0
  1028. package/assets/pen-nib-off.svg +1 -0
  1029. package/assets/pen-nib.svg +1 -0
  1030. package/assets/pen-ruler.svg +1 -0
  1031. package/assets/pen-slash.svg +1 -0
  1032. package/assets/pen.svg +1 -0
  1033. package/assets/pencil-off.svg +1 -0
  1034. package/assets/pencil.4691035b77d2c036.svg +1 -0
  1035. package/assets/pencil.svg +1 -0
  1036. package/assets/pentagon.svg +1 -0
  1037. package/assets/people.svg +1 -0
  1038. package/assets/percentage.svg +1 -0
  1039. package/assets/person.af10a7097aa75efd.svg +1 -0
  1040. package/assets/peru.svg +1 -0
  1041. package/assets/philippines.svg +1 -0
  1042. package/assets/phone-add.svg +1 -0
  1043. package/assets/phone-call.svg +1 -0
  1044. package/assets/phone-flip.svg +1 -0
  1045. package/assets/phone-incoming.svg +1 -0
  1046. package/assets/phone-missed.svg +1 -0
  1047. package/assets/phone-office.svg +1 -0
  1048. package/assets/phone-outgoing.svg +1 -0
  1049. package/assets/phone-pause.svg +1 -0
  1050. package/assets/phone-received.svg +1 -0
  1051. package/assets/phone-remove.svg +1 -0
  1052. package/assets/phone-slash.svg +1 -0
  1053. package/assets/phone.136e82a5e326acee.svg +1 -0
  1054. package/assets/phone.svg +1 -0
  1055. package/assets/phoneNoFill.6830c95dd24e5fd8.svg +1 -0
  1056. package/assets/phone_color.svg +1 -0
  1057. package/assets/photo-off.svg +1 -0
  1058. package/assets/photo.svg +1 -0
  1059. package/assets/physics.svg +1 -0
  1060. package/assets/physics_color.svg +1 -0
  1061. package/assets/picture_color.svg +1 -0
  1062. package/assets/pin-fill.svg +1 -0
  1063. package/assets/pin-location.svg +1 -0
  1064. package/assets/pin.svg +1 -0
  1065. package/assets/pitcairn-islands.svg +1 -0
  1066. package/assets/play-circle.svg +1 -0
  1067. package/assets/play-fill.svg +1 -0
  1068. package/assets/play-pause.svg +1 -0
  1069. package/assets/play-square.svg +1 -0
  1070. package/assets/play.274f1eaaf1fe6f8b.svg +1 -0
  1071. package/assets/play.svg +1 -0
  1072. package/assets/playPause.13f44280b7708ba0.svg +1 -0
  1073. package/assets/plug.svg +1 -0
  1074. package/assets/plus-circle-fill.svg +1 -0
  1075. package/assets/plus-circle.svg +1 -0
  1076. package/assets/plus-fill.svg +1 -0
  1077. package/assets/plus-large-fill.svg +1 -0
  1078. package/assets/plus-large.svg +1 -0
  1079. package/assets/plus.c736a47da450334e.svg +1 -0
  1080. package/assets/plus.svg +1 -0
  1081. package/assets/plusThin.8e3ebaf15f37298d.svg +1 -0
  1082. package/assets/podcast.svg +1 -0
  1083. package/assets/podium.svg +1 -0
  1084. package/assets/pointer-down.svg +1 -0
  1085. package/assets/pointer-left.svg +1 -0
  1086. package/assets/pointer-right.svg +1 -0
  1087. package/assets/pointer-up.svg +1 -0
  1088. package/assets/poland.svg +1 -0
  1089. package/assets/portugal.svg +1 -0
  1090. package/assets/power-bank.svg +1 -0
  1091. package/assets/power-off-fill.svg +1 -0
  1092. package/assets/power-off.svg +1 -0
  1093. package/assets/present.7440df4383266989.svg +15 -0
  1094. package/assets/presentation-chart.svg +1 -0
  1095. package/assets/presentation.svg +1 -0
  1096. package/assets/previous-fast.svg +1 -0
  1097. package/assets/previous.svg +1 -0
  1098. package/assets/priceTag.853231ed3bce99c7.svg +1 -0
  1099. package/assets/print.19f2bd7eb73112be.svg +1 -0
  1100. package/assets/print.svg +1 -0
  1101. package/assets/print_color.svg +1 -0
  1102. package/assets/product_pack_color.svg +1 -0
  1103. package/assets/prof.4c174b79f367b0ca.svg +1 -0
  1104. package/assets/program_color.svg +1 -0
  1105. package/assets/programming.svg +1 -0
  1106. package/assets/programming_color.svg +1 -0
  1107. package/assets/projector.svg +1 -0
  1108. package/assets/pronunciation_color.svg +1 -0
  1109. package/assets/puerto-rico.svg +1 -0
  1110. package/assets/qatar.svg +1 -0
  1111. package/assets/questionFilled.1173fb37221703a5.svg +1 -0
  1112. package/assets/radar.svg +1 -0
  1113. package/assets/radioChecked.d43679fab621f816.svg +1 -0
  1114. package/assets/radioNotChecked.cccd6fa549a061a5.svg +1 -0
  1115. package/assets/reciept.svg +1 -0
  1116. package/assets/rectangle-code.svg +1 -0
  1117. package/assets/rectangle-terminal.svg +1 -0
  1118. package/assets/rectangle-vertical.svg +1 -0
  1119. package/assets/rectangle-wide.svg +1 -0
  1120. package/assets/rectangles-mixed-fill.svg +1 -0
  1121. package/assets/rectangles-mixed.svg +1 -0
  1122. package/assets/redo-fill.svg +1 -0
  1123. package/assets/redo.svg +1 -0
  1124. package/assets/refresh-clock.svg +1 -0
  1125. package/assets/refresh-fill.svg +1 -0
  1126. package/assets/refresh.svg +1 -0
  1127. package/assets/reload.52ff4c9635725150.svg +1 -0
  1128. package/assets/repeat-vertical.svg +1 -0
  1129. package/assets/repeat.svg +1 -0
  1130. package/assets/reply.svg +1 -0
  1131. package/assets/republic-of-macedonia.svg +1 -0
  1132. package/assets/republic-of-the_congo.svg +1 -0
  1133. package/assets/resize-handle.svg +1 -0
  1134. package/assets/rewinding-left.svg +1 -0
  1135. package/assets/rewinding-right.svg +1 -0
  1136. package/assets/rhombus.svg +1 -0
  1137. package/assets/right-alignment.svg +1 -0
  1138. package/assets/right-indent.svg +1 -0
  1139. package/assets/right-to-left-text-direction.svg +1 -0
  1140. package/assets/robot_color.svg +1 -0
  1141. package/assets/robotechnics_color.svg +1 -0
  1142. package/assets/rocket.svg +1 -0
  1143. package/assets/romania.svg +1 -0
  1144. package/assets/rotate-fill.svg +1 -0
  1145. package/assets/rotate-left-fill.svg +1 -0
  1146. package/assets/rotate-left.svg +1 -0
  1147. package/assets/rotate-right-fill.svg +1 -0
  1148. package/assets/rotate-right.svg +1 -0
  1149. package/assets/rotate.svg +1 -0
  1150. package/assets/route.svg +1 -0
  1151. package/assets/rss.svg +1 -0
  1152. package/assets/russia.svg +1 -0
  1153. package/assets/russian_color.svg +1 -0
  1154. package/assets/rwanda.svg +1 -0
  1155. package/assets/sahrawi-arab-democratic_republic.svg +1 -0
  1156. package/assets/samoa.svg +1 -0
  1157. package/assets/san-marino.svg +1 -0
  1158. package/assets/sao-tome-and_prince.svg +1 -0
  1159. package/assets/saudi-arabia.svg +1 -0
  1160. package/assets/scan.svg +1 -0
  1161. package/assets/school-bag.svg +1 -0
  1162. package/assets/school.svg +1 -0
  1163. package/assets/school_preparing_color.svg +1 -0
  1164. package/assets/school_program_color.svg +1 -0
  1165. package/assets/scissors.svg +1 -0
  1166. package/assets/scotland.svg +1 -0
  1167. package/assets/screen-export.svg +1 -0
  1168. package/assets/screen-import.svg +1 -0
  1169. package/assets/screen-remove.svg +1 -0
  1170. package/assets/screen-sharing.svg +1 -0
  1171. package/assets/screen.svg +1 -0
  1172. package/assets/screencast.svg +1 -0
  1173. package/assets/scribble.svg +1 -0
  1174. package/assets/seal.svg +1 -0
  1175. package/assets/search-out.svg +1 -0
  1176. package/assets/search-zoom.svg +1 -0
  1177. package/assets/search.5ebe2b099f4fdf7b.svg +1 -0
  1178. package/assets/search.svg +1 -0
  1179. package/assets/seconds-10-right.svg +1 -0
  1180. package/assets/seconds-10.svg +1 -0
  1181. package/assets/seconds-15-right.svg +1 -0
  1182. package/assets/seconds-15.svg +1 -0
  1183. package/assets/seconds-5-right.svg +1 -0
  1184. package/assets/seconds-5.svg +1 -0
  1185. package/assets/send-angle.svg +1 -0
  1186. package/assets/send-forward.svg +1 -0
  1187. package/assets/send.svg +1 -0
  1188. package/assets/sending-left.svg +1 -0
  1189. package/assets/sending-right.svg +1 -0
  1190. package/assets/senegal.svg +1 -0
  1191. package/assets/serbia.svg +1 -0
  1192. package/assets/server.svg +1 -0
  1193. package/assets/server_color.svg +1 -0
  1194. package/assets/settings-fill.svg +1 -0
  1195. package/assets/settings.a922455e12f62372.svg +1 -0
  1196. package/assets/settings.svg +1 -0
  1197. package/assets/settings_1_color.svg +1 -0
  1198. package/assets/settings_2_color.svg +1 -0
  1199. package/assets/settings_3_color.svg +1 -0
  1200. package/assets/seychelles.svg +1 -0
  1201. package/assets/shapes.svg +1 -0
  1202. package/assets/share-fill.svg +1 -0
  1203. package/assets/share.svg +1 -0
  1204. package/assets/sharpCross.530234fb6faaea80.svg +1 -0
  1205. package/assets/shield-check.svg +1 -0
  1206. package/assets/shield-error.svg +1 -0
  1207. package/assets/shield-keyhole.svg +1 -0
  1208. package/assets/shield-minus.svg +1 -0
  1209. package/assets/shield-plus.svg +1 -0
  1210. package/assets/shield-slash.svg +1 -0
  1211. package/assets/shield-warning.svg +1 -0
  1212. package/assets/shield.svg +1 -0
  1213. package/assets/shop.svg +1 -0
  1214. package/assets/shopping_color.svg +1 -0
  1215. package/assets/sidebar.svg +1 -0
  1216. package/assets/sierra-leone.svg +1 -0
  1217. package/assets/sigma.svg +1 -0
  1218. package/assets/signal-off.svg +1 -0
  1219. package/assets/signal-steam-off.svg +1 -0
  1220. package/assets/signal-steam-warning.svg +1 -0
  1221. package/assets/signal-steam.svg +1 -0
  1222. package/assets/signal-warning.svg +1 -0
  1223. package/assets/signal.svg +1 -0
  1224. package/assets/signature.svg +1 -0
  1225. package/assets/singapore.svg +1 -0
  1226. package/assets/sint-maarten.svg +1 -0
  1227. package/assets/slash-flip.svg +1 -0
  1228. package/assets/slash.svg +1 -0
  1229. package/assets/slide.svg +1 -0
  1230. package/assets/sliders.svg +1 -0
  1231. package/assets/slovakia.svg +1 -0
  1232. package/assets/slovenia.svg +1 -0
  1233. package/assets/social_color.svg +1 -0
  1234. package/assets/social_elementary_color.svg +1 -0
  1235. package/assets/solomon-islands.svg +1 -0
  1236. package/assets/somalia.svg +1 -0
  1237. package/assets/sort-amount-down.svg +1 -0
  1238. package/assets/sort-amount-up.svg +1 -0
  1239. package/assets/sort-down-fill.svg +1 -0
  1240. package/assets/sort-down.svg +1 -0
  1241. package/assets/sort-fill.svg +1 -0
  1242. package/assets/sort-up-fill.svg +1 -0
  1243. package/assets/sort-up.svg +1 -0
  1244. package/assets/sort.972ddd4199e209be.svg +1 -0
  1245. package/assets/sort.svg +1 -0
  1246. package/assets/south-africa.svg +1 -0
  1247. package/assets/south-korea.svg +1 -0
  1248. package/assets/south-sudan.svg +1 -0
  1249. package/assets/spain.svg +1 -0
  1250. package/assets/spanish_color.svg +1 -0
  1251. package/assets/spell-check.svg +1 -0
  1252. package/assets/spelling_color.svg +1 -0
  1253. package/assets/sport.svg +1 -0
  1254. package/assets/square-a-lock.svg +1 -0
  1255. package/assets/square-check-fill.svg +1 -0
  1256. package/assets/square-check.svg +1 -0
  1257. package/assets/square-code.svg +1 -0
  1258. package/assets/square-dashed.svg +1 -0
  1259. package/assets/square-dazzle.svg +1 -0
  1260. package/assets/square-kanban.svg +1 -0
  1261. package/assets/square-list.svg +1 -0
  1262. package/assets/square-minus-fill.svg +1 -0
  1263. package/assets/square-minus.svg +1 -0
  1264. package/assets/square-poll-horizontal.svg +1 -0
  1265. package/assets/square-poll-vertical.svg +1 -0
  1266. package/assets/square-quarters.svg +1 -0
  1267. package/assets/square-ring.svg +1 -0
  1268. package/assets/square-small.svg +1 -0
  1269. package/assets/square-t.svg +1 -0
  1270. package/assets/square-terminal.svg +1 -0
  1271. package/assets/square.svg +1 -0
  1272. package/assets/sri-lanka.svg +1 -0
  1273. package/assets/st-barts.svg +1 -0
  1274. package/assets/st-lucia.svg +1 -0
  1275. package/assets/st-vincent-and-the-grenadines.svg +1 -0
  1276. package/assets/star-blink.svg +1 -0
  1277. package/assets/star-circle.svg +1 -0
  1278. package/assets/star-half-stroke.svg +1 -0
  1279. package/assets/star-half.svg +1 -0
  1280. package/assets/star-sparkle.svg +1 -0
  1281. package/assets/star-warning.svg +1 -0
  1282. package/assets/star.76f448bc522e55a6.svg +1 -0
  1283. package/assets/star.svg +1 -0
  1284. package/assets/stars.svg +1 -0
  1285. package/assets/stopwatch.svg +1 -0
  1286. package/assets/strikethrough.svg +1 -0
  1287. package/assets/structure.svg +1 -0
  1288. package/assets/student.fab07ecd601125a5.svg +1 -0
  1289. package/assets/student.svg +1 -0
  1290. package/assets/subdirectory.svg +1 -0
  1291. package/assets/subscript.svg +1 -0
  1292. package/assets/sudan.svg +1 -0
  1293. package/assets/superscript.svg +1 -0
  1294. package/assets/support.svg +1 -0
  1295. package/assets/suriname.svg +1 -0
  1296. package/assets/swaziland.svg +1 -0
  1297. package/assets/sweden.svg +1 -0
  1298. package/assets/switch-horizontal.svg +1 -0
  1299. package/assets/switch-vertical.svg +1 -0
  1300. package/assets/switzerland.svg +1 -0
  1301. package/assets/syria.svg +1 -0
  1302. package/assets/table-cells-large.svg +1 -0
  1303. package/assets/table-cells.svg +1 -0
  1304. package/assets/table-columns.svg +1 -0
  1305. package/assets/table-layout.svg +1 -0
  1306. package/assets/table-list.svg +1 -0
  1307. package/assets/table-rows.svg +1 -0
  1308. package/assets/table.svg +1 -0
  1309. package/assets/tablet.svg +1 -0
  1310. package/assets/tag-fill.svg +1 -0
  1311. package/assets/tag.svg +1 -0
  1312. package/assets/tags-fill.svg +1 -0
  1313. package/assets/tags.svg +1 -0
  1314. package/assets/taiwan.svg +1 -0
  1315. package/assets/tajikistan.svg +1 -0
  1316. package/assets/tanzania.svg +1 -0
  1317. package/assets/target.b25e5f5b510ca9f7.svg +1 -0
  1318. package/assets/task-fill.svg +1 -0
  1319. package/assets/task.svg +1 -0
  1320. package/assets/tasks.ce168373efd83d04.svg +4 -0
  1321. package/assets/tasks_color.svg +1 -0
  1322. package/assets/teacher.svg +1 -0
  1323. package/assets/technology_color.svg +1 -0
  1324. package/assets/telegram-social.svg +1 -0
  1325. package/assets/terminal.svg +1 -0
  1326. package/assets/terminal_color.svg +1 -0
  1327. package/assets/test.svg +1 -0
  1328. package/assets/test_color.svg +1 -0
  1329. package/assets/text-big.svg +1 -0
  1330. package/assets/text-erase.svg +1 -0
  1331. package/assets/text-height.svg +1 -0
  1332. package/assets/text-move-left.svg +1 -0
  1333. package/assets/text-move-right.svg +1 -0
  1334. package/assets/text-note.svg +1 -0
  1335. package/assets/text-size.svg +1 -0
  1336. package/assets/text-small.svg +1 -0
  1337. package/assets/text-width.svg +1 -0
  1338. package/assets/text.svg +1 -0
  1339. package/assets/textbook.ae28a06e65cbe708.svg +1 -0
  1340. package/assets/textbook_color.svg +1 -0
  1341. package/assets/thailand.svg +1 -0
  1342. package/assets/theory_color.svg +1 -0
  1343. package/assets/ticket-simple.svg +1 -0
  1344. package/assets/tiktok-social.svg +1 -0
  1345. package/assets/time-off.svg +1 -0
  1346. package/assets/timer.svg +1 -0
  1347. package/assets/tinkoff-authorization.svg +1 -0
  1348. package/assets/tinyCross.e1df73f44b340401.svg +1 -0
  1349. package/assets/togo.svg +1 -0
  1350. package/assets/tokelau.svg +1 -0
  1351. package/assets/tonga.svg +1 -0
  1352. package/assets/top-alignment.svg +1 -0
  1353. package/assets/train.svg +1 -0
  1354. package/assets/training_color.svg +1 -0
  1355. package/assets/translate_color.svg +1 -0
  1356. package/assets/trash-arrow-up-fill.svg +1 -0
  1357. package/assets/trash-arrow-up.svg +1 -0
  1358. package/assets/trash-blank-fill.svg +1 -0
  1359. package/assets/trash-blank.svg +1 -0
  1360. package/assets/trash-check-fill.svg +1 -0
  1361. package/assets/trash-check.svg +1 -0
  1362. package/assets/trash-clock.svg +1 -0
  1363. package/assets/trash-fill.svg +1 -0
  1364. package/assets/trash-list-fill.svg +1 -0
  1365. package/assets/trash-list.svg +1 -0
  1366. package/assets/trash-plus-fill.svg +1 -0
  1367. package/assets/trash-plus.svg +1 -0
  1368. package/assets/trash-slash-fill.svg +1 -0
  1369. package/assets/trash-slash.svg +1 -0
  1370. package/assets/trash-undo-fill.svg +1 -0
  1371. package/assets/trash-undo.svg +1 -0
  1372. package/assets/trash-xmark-fill.svg +1 -0
  1373. package/assets/trash-xmark.svg +1 -0
  1374. package/assets/trash.svg +1 -0
  1375. package/assets/triangle.svg +1 -0
  1376. package/assets/trinidad-and-tobago.svg +1 -0
  1377. package/assets/trophy.e17575d8d7b7d434.svg +1 -0
  1378. package/assets/trophy.svg +1 -0
  1379. package/assets/trophy_color.svg +1 -0
  1380. package/assets/tunisia.svg +1 -0
  1381. package/assets/turkey.svg +1 -0
  1382. package/assets/turkmenistan.svg +1 -0
  1383. package/assets/turks-and-caicos.svg +1 -0
  1384. package/assets/tutor_color.svg +1 -0
  1385. package/assets/tuvalu.svg +1 -0
  1386. package/assets/tv.svg +1 -0
  1387. package/assets/twenty-thirty-five-authorization.svg +1 -0
  1388. package/assets/uganda.svg +1 -0
  1389. package/assets/ukraine.svg +1 -0
  1390. package/assets/underline.svg +1 -0
  1391. package/assets/undo-fill.svg +1 -0
  1392. package/assets/undo.svg +1 -0
  1393. package/assets/united-arab-emirates.svg +1 -0
  1394. package/assets/united-kingdom.svg +1 -0
  1395. package/assets/united-states.svg +1 -0
  1396. package/assets/university.svg +1 -0
  1397. package/assets/unlock.svg +1 -0
  1398. package/assets/unsort.621080b30d51458a.svg +1 -0
  1399. package/assets/upload-fill.svg +1 -0
  1400. package/assets/upload.svg +1 -0
  1401. package/assets/uruguay.svg +1 -0
  1402. package/assets/usb-flash-drive.svg +1 -0
  1403. package/assets/user-add.svg +1 -0
  1404. package/assets/user-block.svg +1 -0
  1405. package/assets/user-circle.svg +1 -0
  1406. package/assets/user-edit.svg +1 -0
  1407. package/assets/user-heart.svg +1 -0
  1408. package/assets/user-lock.svg +1 -0
  1409. package/assets/user-minus.svg +1 -0
  1410. package/assets/user-question.svg +1 -0
  1411. package/assets/user-remove.svg +1 -0
  1412. package/assets/user-square.svg +1 -0
  1413. package/assets/user-tick.svg +1 -0
  1414. package/assets/user.svg +1 -0
  1415. package/assets/users.svg +1 -0
  1416. package/assets/uzbekistan.svg +1 -0
  1417. package/assets/vanuatu.svg +1 -0
  1418. package/assets/vatican-city.svg +1 -0
  1419. package/assets/vault.svg +1 -0
  1420. package/assets/venezuela.svg +1 -0
  1421. package/assets/video-add.svg +1 -0
  1422. package/assets/video-export.svg +1 -0
  1423. package/assets/video-fill.svg +1 -0
  1424. package/assets/video-import.svg +1 -0
  1425. package/assets/video-slash-fill.svg +1 -0
  1426. package/assets/video.fe9d2f574b1d6bfc.svg +1 -0
  1427. package/assets/vietnam.svg +1 -0
  1428. package/assets/virgin-islands.svg +1 -0
  1429. package/assets/vk-authorization.svg +1 -0
  1430. package/assets/vk-social.svg +1 -0
  1431. package/assets/voicemail.svg +1 -0
  1432. package/assets/volume-add.svg +1 -0
  1433. package/assets/volume-min.svg +1 -0
  1434. package/assets/volume-minus.svg +1 -0
  1435. package/assets/volume-off.svg +1 -0
  1436. package/assets/volume-remove.svg +1 -0
  1437. package/assets/volume.svg +1 -0
  1438. package/assets/wales.svg +1 -0
  1439. package/assets/wallet-add.svg +1 -0
  1440. package/assets/wallet-remove.svg +1 -0
  1441. package/assets/wallet-transfer.svg +1 -0
  1442. package/assets/wallet.790918255ba3d106.svg +1 -0
  1443. package/assets/wallet.svg +1 -0
  1444. package/assets/wand-magic-sparkles.svg +1 -0
  1445. package/assets/wand-magic.svg +1 -0
  1446. package/assets/warning-circle-check.svg +1 -0
  1447. package/assets/warning-circle-fill.svg +1 -0
  1448. package/assets/warning-circle.svg +1 -0
  1449. package/assets/warning-seal-fill.svg +1 -0
  1450. package/assets/warning-seal.svg +1 -0
  1451. package/assets/warning-triangle-fill.svg +1 -0
  1452. package/assets/warning-triangle.svg +1 -0
  1453. package/assets/warning.svg +1 -0
  1454. package/assets/watch.svg +1 -0
  1455. package/assets/webcam-slash-off.svg +1 -0
  1456. package/assets/webcam.svg +1 -0
  1457. package/assets/weight.svg +1 -0
  1458. package/assets/whatsapp-social.svg +1 -0
  1459. package/assets/wifi-off.svg +1 -0
  1460. package/assets/wifi-warning.svg +1 -0
  1461. package/assets/wifi.svg +1 -0
  1462. package/assets/window.svg +1 -0
  1463. package/assets/work.svg +1 -0
  1464. package/assets/world_color.svg +1 -0
  1465. package/assets/world_elementary_color.svg +1 -0
  1466. package/assets/yandex-authorization.svg +1 -0
  1467. package/assets/yemen.svg +1 -0
  1468. package/assets/youtube-alt-social.svg +1 -0
  1469. package/assets/youtube-social.svg +1 -0
  1470. package/assets/zambia.svg +1 -0
  1471. package/assets/zimbabwe.svg +1 -0
  1472. package/components/ActionBtn/ActionBtn.js +1 -2
  1473. package/components/ActionBtn/ActionBtn.mjs +1 -0
  1474. package/components/ActionBtn/style.js +1 -2
  1475. package/components/ActionBtn/style.mjs +1 -0
  1476. package/components/Alert/Alert.js +1 -2
  1477. package/components/Alert/Alert.mjs +1 -0
  1478. package/components/Alert/CountdownCircle.js +1 -2
  1479. package/components/Alert/CountdownCircle.mjs +1 -0
  1480. package/components/Alert/style.js +1 -2
  1481. package/components/Alert/style.mjs +1 -0
  1482. package/components/Alert/utils.js +1 -2
  1483. package/components/Alert/utils.mjs +1 -0
  1484. package/components/Amount/Amount.js +1 -2
  1485. package/components/Amount/Amount.mjs +1 -0
  1486. package/components/Amount/data/index.js +1 -2
  1487. package/components/Amount/data/index.mjs +1 -0
  1488. package/components/Amount/style.js +1 -2
  1489. package/components/Amount/style.mjs +1 -0
  1490. package/components/Anchor/Anchor.js +1 -2
  1491. package/components/Anchor/Anchor.mjs +1 -0
  1492. package/components/Anchor/constants.js +1 -2
  1493. package/components/Anchor/constants.mjs +1 -0
  1494. package/components/Anchor/style.js +1 -2
  1495. package/components/Anchor/style.mjs +1 -0
  1496. package/components/Arrow/Arrow.js +1 -2
  1497. package/components/Arrow/Arrow.mjs +1 -0
  1498. package/components/Arrow/constants.js +1 -2
  1499. package/components/Arrow/constants.mjs +1 -0
  1500. package/components/Arrow/default-constants.js +1 -2
  1501. package/components/Arrow/default-constants.mjs +1 -0
  1502. package/components/Arrow/style.js +1 -2
  1503. package/components/Arrow/style.mjs +1 -0
  1504. package/components/ArrowBadge/ArrowBadge.js +1 -2
  1505. package/components/ArrowBadge/ArrowBadge.mjs +1 -0
  1506. package/components/ArrowBadge/constants.js +1 -2
  1507. package/components/ArrowBadge/constants.mjs +1 -0
  1508. package/components/ArrowBadge/images/arrow.svg.js +1 -0
  1509. package/components/ArrowBadge/images/arrow.svg.mjs +1 -0
  1510. package/components/ArrowBadge/images/fancy.svg.js +1 -0
  1511. package/components/ArrowBadge/images/fancy.svg.mjs +1 -0
  1512. package/components/ArrowBadge/images/rectangle.svg.js +1 -0
  1513. package/components/ArrowBadge/images/rectangle.svg.mjs +1 -0
  1514. package/components/ArrowBadge/style.js +1 -2
  1515. package/components/ArrowBadge/style.mjs +1 -0
  1516. package/components/Avatar/Avatar.js +1 -2
  1517. package/components/Avatar/Avatar.mjs +1 -0
  1518. package/components/Avatar/constants.js +1 -2
  1519. package/components/Avatar/constants.mjs +1 -0
  1520. package/components/Avatar/default-constants.js +1 -2
  1521. package/components/Avatar/default-constants.mjs +1 -0
  1522. package/components/Avatar/style.js +1 -2
  1523. package/components/Avatar/style.mjs +1 -0
  1524. package/components/Avatar/utils.js +1 -2
  1525. package/components/Avatar/utils.mjs +1 -0
  1526. package/components/Badge/Badge.js +1 -2
  1527. package/components/Badge/Badge.mjs +1 -0
  1528. package/components/Badge/constants.js +1 -2
  1529. package/components/Badge/constants.mjs +1 -0
  1530. package/components/Badge/style.js +1 -2
  1531. package/components/Badge/style.mjs +1 -0
  1532. package/components/Button/Button.js +1 -2
  1533. package/components/Button/Button.mjs +1 -0
  1534. package/components/Button/constants.js +1 -2
  1535. package/components/Button/constants.mjs +1 -0
  1536. package/components/Button/default-constants.js +1 -2
  1537. package/components/Button/default-constants.mjs +1 -0
  1538. package/components/Button/hooks.js +1 -2
  1539. package/components/Button/hooks.mjs +1 -0
  1540. package/components/Button/style.js +1 -2
  1541. package/components/Button/style.mjs +1 -0
  1542. package/components/Checkbox/Checkbox.js +1 -2
  1543. package/components/Checkbox/Checkbox.mjs +1 -0
  1544. package/components/Checkbox/Group.js +1 -2
  1545. package/components/Checkbox/Group.mjs +1 -0
  1546. package/components/Checkbox/images/check-default.svg.js +1 -0
  1547. package/components/Checkbox/images/check-default.svg.mjs +1 -0
  1548. package/components/Checkbox/images/check.svg.js +1 -0
  1549. package/components/Checkbox/images/check.svg.mjs +1 -0
  1550. package/components/Checkbox/style.js +10 -2
  1551. package/components/Checkbox/style.mjs +10 -0
  1552. package/components/Chip/Chip.js +1 -2
  1553. package/components/Chip/Chip.mjs +1 -0
  1554. package/components/Chip/constants.js +1 -2
  1555. package/components/Chip/constants.mjs +1 -0
  1556. package/components/Chip/style.js +1 -2
  1557. package/components/Chip/style.mjs +1 -0
  1558. package/components/Container/Container.js +1 -2
  1559. package/components/Container/Container.mjs +1 -0
  1560. package/components/Container/style.js +7 -2
  1561. package/components/Container/style.mjs +7 -0
  1562. package/components/ContextMenu/ContextMenu.js +1 -2
  1563. package/components/ContextMenu/ContextMenu.mjs +1 -0
  1564. package/components/ContextMenu/Item.js +1 -2
  1565. package/components/ContextMenu/Item.mjs +1 -0
  1566. package/components/ContextMenu/style.js +1 -2
  1567. package/components/ContextMenu/style.mjs +1 -0
  1568. package/components/ContextMenu/tooltip-styles.js +1 -2
  1569. package/components/ContextMenu/tooltip-styles.mjs +1 -0
  1570. package/components/ContextMenu.Multilevel/ContextMenu.Multilevel.js +1 -2
  1571. package/components/ContextMenu.Multilevel/ContextMenu.Multilevel.mjs +1 -0
  1572. package/components/ContextMenu.Multilevel/Controls.js +1 -2
  1573. package/components/ContextMenu.Multilevel/Controls.mjs +1 -0
  1574. package/components/ContextMenu.Multilevel/Heading.js +1 -2
  1575. package/components/ContextMenu.Multilevel/Heading.mjs +1 -0
  1576. package/components/ContextMenu.Multilevel/SubHeading.js +1 -2
  1577. package/components/ContextMenu.Multilevel/SubHeading.mjs +1 -0
  1578. package/components/ContextMenu.Multilevel/style.js +1 -2
  1579. package/components/ContextMenu.Multilevel/style.mjs +1 -0
  1580. package/components/Dropdown/Dropdown.js +1 -2
  1581. package/components/Dropdown/Dropdown.mjs +1 -0
  1582. package/components/Dropdown/DropdownMenuNoOptions.js +1 -2
  1583. package/components/Dropdown/DropdownMenuNoOptions.mjs +1 -0
  1584. package/components/Dropdown/constants.js +1 -2
  1585. package/components/Dropdown/constants.mjs +1 -0
  1586. package/components/Dropdown/style.js +1 -2
  1587. package/components/Dropdown/style.mjs +1 -0
  1588. package/components/Dropdown/utils.js +1 -2
  1589. package/components/Dropdown/utils.mjs +1 -0
  1590. package/components/FormInputLabel/FormInputLabel.js +1 -2
  1591. package/components/FormInputLabel/FormInputLabel.mjs +1 -0
  1592. package/components/FormInputLabel/constants.js +1 -2
  1593. package/components/FormInputLabel/constants.mjs +1 -0
  1594. package/components/FormInputLabel/style.js +1 -2
  1595. package/components/FormInputLabel/style.mjs +1 -0
  1596. package/components/FormLabel/FormLabel.js +1 -2
  1597. package/components/FormLabel/FormLabel.mjs +1 -0
  1598. package/components/FormLabel/constants.js +1 -2
  1599. package/components/FormLabel/constants.mjs +1 -0
  1600. package/components/FormLabel/style.js +1 -2
  1601. package/components/FormLabel/style.mjs +1 -0
  1602. package/components/Icon/Icon.js +1 -2
  1603. package/components/Icon/Icon.mjs +1 -0
  1604. package/components/Icon/bg-worker.js +1 -0
  1605. package/components/Icon/bg-worker.mjs +1 -0
  1606. package/components/Icon/constants.js +1 -2
  1607. package/components/Icon/constants.mjs +1 -0
  1608. package/components/Icon/images/blackBoard.svg.js +1 -0
  1609. package/components/Icon/images/blackBoard.svg.mjs +1 -0
  1610. package/components/Icon/images/book.svg.js +1 -0
  1611. package/components/Icon/images/book.svg.mjs +1 -0
  1612. package/components/Icon/images/burger.svg.js +1 -0
  1613. package/components/Icon/images/burger.svg.mjs +1 -0
  1614. package/components/Icon/images/calendar.svg.js +1 -0
  1615. package/components/Icon/images/calendar.svg.mjs +1 -0
  1616. package/components/Icon/images/calendar_simple.svg.js +1 -0
  1617. package/components/Icon/images/calendar_simple.svg.mjs +1 -0
  1618. package/components/Icon/images/camps.svg.js +1 -0
  1619. package/components/Icon/images/camps.svg.mjs +1 -0
  1620. package/components/Icon/images/cancel.svg.js +1 -0
  1621. package/components/Icon/images/cancel.svg.mjs +1 -0
  1622. package/components/Icon/images/cart.svg.js +1 -0
  1623. package/components/Icon/images/cart.svg.mjs +1 -0
  1624. package/components/Icon/images/check.svg.js +1 -0
  1625. package/components/Icon/images/check.svg.mjs +1 -0
  1626. package/components/Icon/images/checkCircle.svg.js +1 -0
  1627. package/components/Icon/images/checkCircle.svg.mjs +1 -0
  1628. package/components/Icon/images/chevronDown.svg.js +1 -0
  1629. package/components/Icon/images/chevronDown.svg.mjs +1 -0
  1630. package/components/Icon/images/chevronLeft.svg.js +1 -0
  1631. package/components/Icon/images/chevronLeft.svg.mjs +1 -0
  1632. package/components/Icon/images/chevronRight.svg.js +1 -0
  1633. package/components/Icon/images/chevronRight.svg.mjs +1 -0
  1634. package/components/Icon/images/chevronUp.svg.js +1 -0
  1635. package/components/Icon/images/chevronUp.svg.mjs +1 -0
  1636. package/components/Icon/images/clock.svg.js +1 -0
  1637. package/components/Icon/images/clock.svg.mjs +1 -0
  1638. package/components/Icon/images/clockFilled.svg.js +1 -0
  1639. package/components/Icon/images/clockFilled.svg.mjs +1 -0
  1640. package/components/Icon/images/coins.svg.js +1 -0
  1641. package/components/Icon/images/coins.svg.mjs +1 -0
  1642. package/components/Icon/images/copy.svg.js +1 -0
  1643. package/components/Icon/images/copy.svg.mjs +1 -0
  1644. package/components/Icon/images/courses.svg.js +1 -0
  1645. package/components/Icon/images/courses.svg.mjs +1 -0
  1646. package/components/Icon/images/cross.svg.js +1 -0
  1647. package/components/Icon/images/cross.svg.mjs +1 -0
  1648. package/components/Icon/images/dialog.svg.js +1 -0
  1649. package/components/Icon/images/dialog.svg.mjs +1 -0
  1650. package/components/Icon/images/diamond.svg.js +1 -0
  1651. package/components/Icon/images/diamond.svg.mjs +1 -0
  1652. package/components/Icon/images/diamondFilled.svg.js +1 -0
  1653. package/components/Icon/images/diamondFilled.svg.mjs +1 -0
  1654. package/components/Icon/images/diamondSolid.svg.js +1 -0
  1655. package/components/Icon/images/diamondSolid.svg.mjs +1 -0
  1656. package/components/Icon/images/discount.svg.js +1 -0
  1657. package/components/Icon/images/discount.svg.mjs +1 -0
  1658. package/components/Icon/images/document.svg.js +1 -0
  1659. package/components/Icon/images/document.svg.mjs +1 -0
  1660. package/components/Icon/images/dropDownArrow.svg.js +1 -0
  1661. package/components/Icon/images/dropDownArrow.svg.mjs +1 -0
  1662. package/components/Icon/images/edit.svg.js +1 -0
  1663. package/components/Icon/images/edit.svg.mjs +1 -0
  1664. package/components/Icon/images/email.svg.js +1 -0
  1665. package/components/Icon/images/email.svg.mjs +1 -0
  1666. package/components/Icon/images/externalLink.svg.js +1 -0
  1667. package/components/Icon/images/externalLink.svg.mjs +1 -0
  1668. package/components/Icon/images/externat.svg.js +1 -0
  1669. package/components/Icon/images/externat.svg.mjs +1 -0
  1670. package/components/Icon/images/eye.svg.js +1 -0
  1671. package/components/Icon/images/eye.svg.mjs +1 -0
  1672. package/components/Icon/images/file.svg.js +1 -0
  1673. package/components/Icon/images/file.svg.mjs +1 -0
  1674. package/components/Icon/images/fileBordered.svg.js +1 -0
  1675. package/components/Icon/images/fileBordered.svg.mjs +1 -0
  1676. package/components/Icon/images/fire.svg.js +1 -0
  1677. package/components/Icon/images/fire.svg.mjs +1 -0
  1678. package/components/Icon/images/headphones.svg.js +1 -0
  1679. package/components/Icon/images/headphones.svg.mjs +1 -0
  1680. package/components/Icon/images/home.svg.js +1 -0
  1681. package/components/Icon/images/home.svg.mjs +1 -0
  1682. package/components/Icon/images/info.svg.js +1 -0
  1683. package/components/Icon/images/info.svg.mjs +1 -0
  1684. package/components/Icon/images/infoInverse.svg.js +1 -0
  1685. package/components/Icon/images/infoInverse.svg.mjs +1 -0
  1686. package/components/Icon/images/lessons.svg.js +1 -0
  1687. package/components/Icon/images/lessons.svg.mjs +1 -0
  1688. package/components/Icon/images/list.svg.js +1 -0
  1689. package/components/Icon/images/list.svg.mjs +1 -0
  1690. package/components/Icon/images/login.svg.js +1 -0
  1691. package/components/Icon/images/login.svg.mjs +1 -0
  1692. package/components/Icon/images/logout.svg.js +1 -0
  1693. package/components/Icon/images/logout.svg.mjs +1 -0
  1694. package/components/Icon/images/message.svg.js +1 -0
  1695. package/components/Icon/images/message.svg.mjs +1 -0
  1696. package/components/Icon/images/objective.svg.js +1 -0
  1697. package/components/Icon/images/objective.svg.mjs +1 -0
  1698. package/components/Icon/images/page.svg.js +1 -0
  1699. package/components/Icon/images/page.svg.mjs +1 -0
  1700. package/components/Icon/images/pencil.svg.js +1 -0
  1701. package/components/Icon/images/pencil.svg.mjs +1 -0
  1702. package/components/Icon/images/person.svg.js +1 -0
  1703. package/components/Icon/images/person.svg.mjs +1 -0
  1704. package/components/Icon/images/phone.svg.js +1 -0
  1705. package/components/Icon/images/phone.svg.mjs +1 -0
  1706. package/components/Icon/images/phoneNoFill.svg.js +1 -0
  1707. package/components/Icon/images/phoneNoFill.svg.mjs +1 -0
  1708. package/components/Icon/images/play.svg.js +1 -0
  1709. package/components/Icon/images/play.svg.mjs +1 -0
  1710. package/components/Icon/images/playPause.svg.js +1 -0
  1711. package/components/Icon/images/playPause.svg.mjs +1 -0
  1712. package/components/Icon/images/plus.svg.js +1 -0
  1713. package/components/Icon/images/plus.svg.mjs +1 -0
  1714. package/components/Icon/images/plusThin.svg.js +1 -0
  1715. package/components/Icon/images/plusThin.svg.mjs +1 -0
  1716. package/components/Icon/images/present.svg.js +1 -0
  1717. package/components/Icon/images/present.svg.mjs +1 -0
  1718. package/components/Icon/images/priceTag.svg.js +1 -0
  1719. package/components/Icon/images/priceTag.svg.mjs +1 -0
  1720. package/components/Icon/images/print.svg.js +1 -0
  1721. package/components/Icon/images/print.svg.mjs +1 -0
  1722. package/components/Icon/images/prof.svg.js +1 -0
  1723. package/components/Icon/images/prof.svg.mjs +1 -0
  1724. package/components/Icon/images/questionFilled.svg.js +1 -0
  1725. package/components/Icon/images/questionFilled.svg.mjs +1 -0
  1726. package/components/Icon/images/radioChecked.svg.js +1 -0
  1727. package/components/Icon/images/radioChecked.svg.mjs +1 -0
  1728. package/components/Icon/images/radioNotChecked.svg.js +1 -0
  1729. package/components/Icon/images/radioNotChecked.svg.mjs +1 -0
  1730. package/components/Icon/images/reload.svg.js +1 -0
  1731. package/components/Icon/images/reload.svg.mjs +1 -0
  1732. package/components/Icon/images/search.svg.js +1 -0
  1733. package/components/Icon/images/search.svg.mjs +1 -0
  1734. package/components/Icon/images/settings.svg.js +1 -0
  1735. package/components/Icon/images/settings.svg.mjs +1 -0
  1736. package/components/Icon/images/sharpCross.svg.js +1 -0
  1737. package/components/Icon/images/sharpCross.svg.mjs +1 -0
  1738. package/components/Icon/images/sort.svg.js +1 -0
  1739. package/components/Icon/images/sort.svg.mjs +1 -0
  1740. package/components/Icon/images/star.svg.js +1 -0
  1741. package/components/Icon/images/star.svg.mjs +1 -0
  1742. package/components/Icon/images/student.svg.js +1 -0
  1743. package/components/Icon/images/student.svg.mjs +1 -0
  1744. package/components/Icon/images/target.svg.js +1 -0
  1745. package/components/Icon/images/target.svg.mjs +1 -0
  1746. package/components/Icon/images/tasks.svg.js +1 -0
  1747. package/components/Icon/images/tasks.svg.mjs +1 -0
  1748. package/components/Icon/images/textbook.svg.js +1 -0
  1749. package/components/Icon/images/textbook.svg.mjs +1 -0
  1750. package/components/Icon/images/tinyCross.svg.js +1 -0
  1751. package/components/Icon/images/tinyCross.svg.mjs +1 -0
  1752. package/components/Icon/images/trophy.svg.js +1 -0
  1753. package/components/Icon/images/trophy.svg.mjs +1 -0
  1754. package/components/Icon/images/unsort.svg.js +1 -0
  1755. package/components/Icon/images/unsort.svg.mjs +1 -0
  1756. package/components/Icon/images/video.svg.js +1 -0
  1757. package/components/Icon/images/video.svg.mjs +1 -0
  1758. package/components/Icon/images/wallet.svg.js +1 -0
  1759. package/components/Icon/images/wallet.svg.mjs +1 -0
  1760. package/components/Icon/list.js +1 -0
  1761. package/components/Icon/list.mjs +1 -0
  1762. package/components/Icon/style.js +1 -2
  1763. package/components/Icon/style.mjs +1 -0
  1764. package/components/IconButton/IconButton.js +1 -2
  1765. package/components/IconButton/IconButton.mjs +1 -0
  1766. package/components/IconButton/constants.js +1 -2
  1767. package/components/IconButton/constants.mjs +1 -0
  1768. package/components/IconButton/style.js +1 -2
  1769. package/components/IconButton/style.mjs +1 -0
  1770. package/components/Indicator/Indicator.js +1 -2
  1771. package/components/Indicator/Indicator.mjs +1 -0
  1772. package/components/Indicator/constants.js +1 -2
  1773. package/components/Indicator/constants.mjs +1 -0
  1774. package/components/Indicator/style.js +1 -2
  1775. package/components/Indicator/style.mjs +1 -0
  1776. package/components/Input/Input.js +1 -2
  1777. package/components/Input/Input.mjs +1 -0
  1778. package/components/Input/helpers.js +1 -2
  1779. package/components/Input/helpers.mjs +1 -0
  1780. package/components/Input/style.js +1 -2
  1781. package/components/Input/style.mjs +1 -0
  1782. package/components/Input.Phone/Input.Phone.js +1 -2
  1783. package/components/Input.Phone/Input.Phone.mjs +1 -0
  1784. package/components/Input.Phone/constants.js +1 -2
  1785. package/components/Input.Phone/constants.mjs +1 -0
  1786. package/components/InputCheckbox/InputCheckbox.js +1 -2
  1787. package/components/InputCheckbox/InputCheckbox.mjs +1 -0
  1788. package/components/InputCheckbox/constants.js +1 -2
  1789. package/components/InputCheckbox/constants.mjs +1 -0
  1790. package/components/InputCheckbox/images/checked.svg.js +1 -0
  1791. package/components/InputCheckbox/images/checked.svg.mjs +1 -0
  1792. package/components/InputCheckbox/images/indeterminate.svg.js +1 -0
  1793. package/components/InputCheckbox/images/indeterminate.svg.mjs +1 -0
  1794. package/components/InputCheckbox/style.js +1 -2
  1795. package/components/InputCheckbox/style.mjs +1 -0
  1796. package/components/InputRadio/InputRadio.js +1 -2
  1797. package/components/InputRadio/InputRadio.mjs +1 -0
  1798. package/components/InputRadio/constants.js +1 -2
  1799. package/components/InputRadio/constants.mjs +1 -0
  1800. package/components/InputRadio/style.js +1 -2
  1801. package/components/InputRadio/style.mjs +1 -0
  1802. package/components/ListItem/ListItem.js +1 -2
  1803. package/components/ListItem/ListItem.mjs +1 -0
  1804. package/components/ListItem/constants.js +1 -2
  1805. package/components/ListItem/constants.mjs +1 -0
  1806. package/components/ListItem/style.js +1 -2
  1807. package/components/ListItem/style.mjs +1 -0
  1808. package/components/Menu/Menu.js +1 -2
  1809. package/components/Menu/Menu.mjs +1 -0
  1810. package/components/MenuComponent/MenuComponent.js +1 -2
  1811. package/components/MenuComponent/MenuComponent.mjs +1 -0
  1812. package/components/MenuComponent/constants.js +1 -2
  1813. package/components/MenuComponent/constants.mjs +1 -0
  1814. package/components/MenuComponent/style.js +1 -2
  1815. package/components/MenuComponent/style.mjs +1 -0
  1816. package/components/MenuContainer/MenuContainer.js +1 -2
  1817. package/components/MenuContainer/MenuContainer.mjs +1 -0
  1818. package/components/MenuContainer/style.js +1 -2
  1819. package/components/MenuContainer/style.mjs +1 -0
  1820. package/components/MenuDivider/MenuDivider.js +1 -2
  1821. package/components/MenuDivider/MenuDivider.mjs +1 -0
  1822. package/components/MenuDivider/style.js +1 -2
  1823. package/components/MenuDivider/style.mjs +1 -0
  1824. package/components/MenuList/MenuList.js +1 -2
  1825. package/components/MenuList/MenuList.mjs +1 -0
  1826. package/components/MenuList/style.js +1 -2
  1827. package/components/MenuList/style.mjs +1 -0
  1828. package/components/Modal/Close.js +1 -2
  1829. package/components/Modal/Close.mjs +1 -0
  1830. package/components/Modal/Modal.js +1 -2
  1831. package/components/Modal/Modal.mjs +1 -0
  1832. package/components/Modal/adapter.js +1 -2
  1833. package/components/Modal/adapter.mjs +1 -0
  1834. package/components/Modal/style.js +1 -2
  1835. package/components/Modal/style.mjs +1 -0
  1836. package/components/Paper/Paper.js +1 -2
  1837. package/components/Paper/Paper.mjs +1 -0
  1838. package/components/Paper/style.js +1 -2
  1839. package/components/Paper/style.mjs +1 -0
  1840. package/components/Popover/Popover.js +1 -2
  1841. package/components/Popover/Popover.mjs +1 -0
  1842. package/components/PopoverComponent/PopoverComponent.js +1 -2
  1843. package/components/PopoverComponent/PopoverComponent.mjs +1 -0
  1844. package/components/PopoverComponent/constants.js +1 -2
  1845. package/components/PopoverComponent/constants.mjs +1 -0
  1846. package/components/PopoverComponent/style.js +1 -2
  1847. package/components/PopoverComponent/style.mjs +1 -0
  1848. package/components/Progress/Progress.js +1 -2
  1849. package/components/Progress/Progress.mjs +1 -0
  1850. package/components/Progress/style.js +1 -2
  1851. package/components/Progress/style.mjs +1 -0
  1852. package/components/Progress.Circle/Progress.Circle.js +1 -2
  1853. package/components/Progress.Circle/Progress.Circle.mjs +1 -0
  1854. package/components/Progress.Circle/style.js +1 -2
  1855. package/components/Progress.Circle/style.mjs +1 -0
  1856. package/components/Progress.Segmented/Progress.Segmented.js +1 -2
  1857. package/components/Progress.Segmented/Progress.Segmented.mjs +1 -0
  1858. package/components/Progress.Segmented/style.js +1 -2
  1859. package/components/Progress.Segmented/style.mjs +1 -0
  1860. package/components/Radio/Group.js +1 -2
  1861. package/components/Radio/Group.mjs +1 -0
  1862. package/components/Radio/Radio.js +1 -2
  1863. package/components/Radio/Radio.mjs +1 -0
  1864. package/components/Radio/style.js +10 -2
  1865. package/components/Radio/style.mjs +10 -0
  1866. package/components/Scrollable/Scrollable.js +1 -2
  1867. package/components/Scrollable/Scrollable.mjs +1 -0
  1868. package/components/Section/Section.js +1 -2
  1869. package/components/Section/Section.mjs +1 -0
  1870. package/components/Section/style.js +1 -2
  1871. package/components/Section/style.mjs +1 -0
  1872. package/components/Select/Select.js +1 -2
  1873. package/components/Select/Select.mjs +1 -0
  1874. package/components/Select/style.js +1 -2
  1875. package/components/Select/style.mjs +1 -0
  1876. package/components/Separator/Separator.js +1 -2
  1877. package/components/Separator/Separator.mjs +1 -0
  1878. package/components/Separator/SeparatorText.js +1 -2
  1879. package/components/Separator/SeparatorText.mjs +1 -0
  1880. package/components/Separator/style.js +1 -2
  1881. package/components/Separator/style.mjs +1 -0
  1882. package/components/Skeleton/Skeleton.js +1 -2
  1883. package/components/Skeleton/Skeleton.mjs +1 -0
  1884. package/components/Skeleton/style.js +1 -2
  1885. package/components/Skeleton/style.mjs +1 -0
  1886. package/components/Spacer/Spacer.js +1 -2
  1887. package/components/Spacer/Spacer.mjs +1 -0
  1888. package/components/Spacer/style.js +1 -2
  1889. package/components/Spacer/style.mjs +1 -0
  1890. package/components/Spinner/Spinner.js +1 -2
  1891. package/components/Spinner/Spinner.mjs +1 -0
  1892. package/components/Spinner/style.js +1 -2
  1893. package/components/Spinner/style.mjs +1 -0
  1894. package/components/Switcher/Switcher.js +1 -2
  1895. package/components/Switcher/Switcher.mjs +1 -0
  1896. package/components/Switcher/constants.js +1 -2
  1897. package/components/Switcher/constants.mjs +1 -0
  1898. package/components/Switcher/style.js +1 -2
  1899. package/components/Switcher/style.mjs +1 -0
  1900. package/components/Tab/Tab.js +1 -2
  1901. package/components/Tab/Tab.mjs +1 -0
  1902. package/components/Tab/constants.js +1 -2
  1903. package/components/Tab/constants.mjs +1 -0
  1904. package/components/Tab/default-constants.js +1 -2
  1905. package/components/Tab/default-constants.mjs +1 -0
  1906. package/components/Tab/images/arrow.svg.js +1 -0
  1907. package/components/Tab/images/arrow.svg.mjs +1 -0
  1908. package/components/Tab/style.js +1 -2
  1909. package/components/Tab/style.mjs +1 -0
  1910. package/components/Tabs/Tabs.js +1 -2
  1911. package/components/Tabs/Tabs.mjs +1 -0
  1912. package/components/Tabs/style.js +1 -2
  1913. package/components/Tabs/style.mjs +1 -0
  1914. package/components/Tag/Tag.js +1 -2
  1915. package/components/Tag/Tag.mjs +1 -0
  1916. package/components/Tag/style.js +1 -2
  1917. package/components/Tag/style.mjs +1 -0
  1918. package/components/Text/Text.js +1 -2
  1919. package/components/Text/Text.mjs +1 -0
  1920. package/components/Text/constants.js +1 -2
  1921. package/components/Text/constants.mjs +1 -0
  1922. package/components/Text/default-constants.js +1 -2
  1923. package/components/Text/default-constants.mjs +1 -0
  1924. package/components/Text/style.js +1 -2
  1925. package/components/Text/style.mjs +1 -0
  1926. package/components/Text.Ellipse/Text.Ellipse.js +1 -2
  1927. package/components/Text.Ellipse/Text.Ellipse.mjs +1 -0
  1928. package/components/Text.Ellipse/style.js +1 -2
  1929. package/components/Text.Ellipse/style.mjs +1 -0
  1930. package/components/Text.Heading/Text.Heading.js +1 -2
  1931. package/components/Text.Heading/Text.Heading.mjs +1 -0
  1932. package/components/Textarea/Textarea.js +1 -2
  1933. package/components/Textarea/Textarea.mjs +1 -0
  1934. package/components/Textarea/style.js +1 -2
  1935. package/components/Textarea/style.mjs +1 -0
  1936. package/components/Tooltip/Tooltip.js +1 -2
  1937. package/components/Tooltip/Tooltip.mjs +1 -0
  1938. package/components/Tooltip/TooltipWrapper.js +1 -2
  1939. package/components/Tooltip/TooltipWrapper.mjs +1 -0
  1940. package/components/Tooltip/default-constants.js +1 -2
  1941. package/components/Tooltip/default-constants.mjs +1 -0
  1942. package/components/TooltipComponent/TooltipComponent.js +1 -2
  1943. package/components/TooltipComponent/TooltipComponent.mjs +1 -0
  1944. package/components/TooltipComponent/constants.js +1 -2
  1945. package/components/TooltipComponent/constants.mjs +1 -0
  1946. package/components/TooltipComponent/style.js +1 -2
  1947. package/components/TooltipComponent/style.mjs +1 -0
  1948. package/dts/index.d.ts +3518 -87
  1949. package/external/.pnpm/@foxford_icon-pack@0.6.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@foxford/icon-pack/components.json.js +1 -0
  1950. package/external/.pnpm/@foxford_icon-pack@0.6.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@foxford/icon-pack/components.json.mjs +1 -0
  1951. package/external/.pnpm/@foxford_icon-pack@0.6.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@foxford/icon-pack/icons/CheckCircleFill/index.js +1 -0
  1952. package/external/.pnpm/@foxford_icon-pack@0.6.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@foxford/icon-pack/icons/CheckCircleFill/index.mjs +1 -0
  1953. package/external/.pnpm/@foxford_icon-pack@0.6.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@foxford/icon-pack/icons/ChevronDown/index.js +1 -0
  1954. package/external/.pnpm/@foxford_icon-pack@0.6.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@foxford/icon-pack/icons/ChevronDown/index.mjs +1 -0
  1955. package/external/.pnpm/@foxford_icon-pack@0.6.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@foxford/icon-pack/icons/Close/index.js +1 -0
  1956. package/external/.pnpm/@foxford_icon-pack@0.6.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@foxford/icon-pack/icons/Close/index.mjs +1 -0
  1957. package/external/.pnpm/@foxford_icon-pack@0.6.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@foxford/icon-pack/icons/CloseCirlceFill/index.js +1 -0
  1958. package/external/.pnpm/@foxford_icon-pack@0.6.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@foxford/icon-pack/icons/CloseCirlceFill/index.mjs +1 -0
  1959. package/external/.pnpm/@foxford_icon-pack@0.6.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@foxford/icon-pack/icons/LoaderFill/index.js +1 -0
  1960. package/external/.pnpm/@foxford_icon-pack@0.6.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@foxford/icon-pack/icons/LoaderFill/index.mjs +1 -0
  1961. package/external/.pnpm/@foxford_icon-pack@0.6.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@foxford/icon-pack/icons/NotifFill/index.js +1 -0
  1962. package/external/.pnpm/@foxford_icon-pack@0.6.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@foxford/icon-pack/icons/NotifFill/index.mjs +1 -0
  1963. package/external/.pnpm/@foxford_icon-pack@0.6.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@foxford/icon-pack/icons/WarningTriangleFill/index.js +1 -0
  1964. package/external/.pnpm/@foxford_icon-pack@0.6.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@foxford/icon-pack/icons/WarningTriangleFill/index.mjs +1 -0
  1965. package/external/.pnpm/fuse.js@7.0.0/node_modules/fuse.js/dist/fuse.js +1 -0
  1966. package/external/.pnpm/fuse.js@7.0.0/node_modules/fuse.js/dist/fuse.mjs +1 -0
  1967. package/external/.pnpm/tinycolor2@1.4.2/node_modules/tinycolor2/tinycolor.js +1 -0
  1968. package/external/.pnpm/tinycolor2@1.4.2/node_modules/tinycolor2/tinycolor.mjs +1 -0
  1969. package/hocs/withMergedProps.js +1 -2
  1970. package/hocs/withMergedProps.mjs +1 -0
  1971. package/hooks/use-config-priority.js +1 -2
  1972. package/hooks/use-config-priority.mjs +1 -0
  1973. package/hooks/useClassname.js +1 -2
  1974. package/hooks/useClassname.mjs +1 -0
  1975. package/hooks/useKeyboardListener.js +1 -2
  1976. package/hooks/useKeyboardListener.mjs +1 -0
  1977. package/hooks/useMergedPalette.js +1 -2
  1978. package/hooks/useMergedPalette.mjs +1 -0
  1979. package/hooks/useMergedProps.js +1 -2
  1980. package/hooks/useMergedProps.mjs +1 -0
  1981. package/hooks/useMergedSizes.js +1 -2
  1982. package/hooks/useMergedSizes.mjs +1 -0
  1983. package/index.js +1 -2
  1984. package/index.mjs +1 -0
  1985. package/mixins/color.js +1 -2
  1986. package/mixins/color.mjs +1 -0
  1987. package/mixins/create-responsive-props.js +1 -2
  1988. package/mixins/create-responsive-props.mjs +1 -0
  1989. package/mixins/display.js +1 -2
  1990. package/mixins/display.mjs +1 -0
  1991. package/mixins/focus.js +1 -2
  1992. package/mixins/focus.mjs +1 -0
  1993. package/mixins/responsive-margin.js +1 -2
  1994. package/mixins/responsive-margin.mjs +1 -0
  1995. package/mixins/responsive-property.js +19 -2
  1996. package/mixins/responsive-property.mjs +19 -0
  1997. package/mixins/responsive-size.js +1 -2
  1998. package/mixins/responsive-size.mjs +1 -0
  1999. package/mixins/screen.js +1 -2
  2000. package/mixins/screen.mjs +1 -0
  2001. package/mixins/shared.js +5 -2
  2002. package/mixins/shared.mjs +5 -0
  2003. package/mixins/vAlign.js +1 -2
  2004. package/mixins/vAlign.mjs +1 -0
  2005. package/package.json +27 -49
  2006. package/shared/constants.js +1 -2
  2007. package/shared/constants.mjs +1 -0
  2008. package/shared/enums/sizeInput.js +1 -2
  2009. package/shared/enums/sizeInput.mjs +1 -0
  2010. package/shared/regexp.js +1 -2
  2011. package/shared/regexp.mjs +1 -0
  2012. package/shared/utils/colors.js +1 -2
  2013. package/shared/utils/colors.mjs +1 -0
  2014. package/shared/utils/dom.js +1 -2
  2015. package/shared/utils/dom.mjs +1 -0
  2016. package/shared/utils/rel-builder.js +1 -2
  2017. package/shared/utils/rel-builder.mjs +1 -0
  2018. package/shared/utils/style.js +1 -2
  2019. package/shared/utils/style.mjs +1 -0
  2020. package/theme/colors-dark.js +1 -2
  2021. package/theme/colors-dark.mjs +1 -0
  2022. package/theme/colors-light.js +1 -2
  2023. package/theme/colors-light.mjs +1 -0
  2024. package/theme/colors.js +1 -2
  2025. package/theme/colors.mjs +1 -0
  2026. package/theme/global-styled.js +1 -2
  2027. package/theme/global-styled.mjs +1 -0
  2028. package/theme/theme-provider.js +1 -2
  2029. package/theme/theme-provider.mjs +1 -0
  2030. package/theme/themes.js +1 -2
  2031. package/theme/themes.mjs +1 -0
  2032. package/components/ActionBtn/ActionBtn.js.map +0 -1
  2033. package/components/ActionBtn/style.js.map +0 -1
  2034. package/components/Alert/Alert.js.map +0 -1
  2035. package/components/Alert/CountdownCircle.js.map +0 -1
  2036. package/components/Alert/style.js.map +0 -1
  2037. package/components/Alert/utils.js.map +0 -1
  2038. package/components/Amount/Amount.js.map +0 -1
  2039. package/components/Amount/data/index.js.map +0 -1
  2040. package/components/Amount/style.js.map +0 -1
  2041. package/components/Anchor/Anchor.js.map +0 -1
  2042. package/components/Anchor/constants.js.map +0 -1
  2043. package/components/Anchor/style.js.map +0 -1
  2044. package/components/Arrow/Arrow.js.map +0 -1
  2045. package/components/Arrow/constants.js.map +0 -1
  2046. package/components/Arrow/default-constants.js.map +0 -1
  2047. package/components/Arrow/style.js.map +0 -1
  2048. package/components/ArrowBadge/ArrowBadge.js.map +0 -1
  2049. package/components/ArrowBadge/constants.js.map +0 -1
  2050. package/components/ArrowBadge/images/arrow.module.svg.js +0 -2
  2051. package/components/ArrowBadge/images/arrow.module.svg.js.map +0 -1
  2052. package/components/ArrowBadge/images/fancy.module.svg.js +0 -2
  2053. package/components/ArrowBadge/images/fancy.module.svg.js.map +0 -1
  2054. package/components/ArrowBadge/images/rectangle.module.svg.js +0 -2
  2055. package/components/ArrowBadge/images/rectangle.module.svg.js.map +0 -1
  2056. package/components/ArrowBadge/style.js.map +0 -1
  2057. package/components/Avatar/Avatar.js.map +0 -1
  2058. package/components/Avatar/constants.js.map +0 -1
  2059. package/components/Avatar/default-constants.js.map +0 -1
  2060. package/components/Avatar/style.js.map +0 -1
  2061. package/components/Avatar/utils.js.map +0 -1
  2062. package/components/Badge/Badge.js.map +0 -1
  2063. package/components/Badge/constants.js.map +0 -1
  2064. package/components/Badge/style.js.map +0 -1
  2065. package/components/Button/Button.js.map +0 -1
  2066. package/components/Button/constants.js.map +0 -1
  2067. package/components/Button/default-constants.js.map +0 -1
  2068. package/components/Button/hooks.js.map +0 -1
  2069. package/components/Button/style.js.map +0 -1
  2070. package/components/Checkbox/Checkbox.js.map +0 -1
  2071. package/components/Checkbox/Group.js.map +0 -1
  2072. package/components/Checkbox/images/check-default.module.svg.js +0 -2
  2073. package/components/Checkbox/images/check-default.module.svg.js.map +0 -1
  2074. package/components/Checkbox/images/check.module.svg.js +0 -2
  2075. package/components/Checkbox/images/check.module.svg.js.map +0 -1
  2076. package/components/Checkbox/style.js.map +0 -1
  2077. package/components/Chip/Chip.js.map +0 -1
  2078. package/components/Chip/constants.js.map +0 -1
  2079. package/components/Chip/style.js.map +0 -1
  2080. package/components/Container/Container.js.map +0 -1
  2081. package/components/Container/style.js.map +0 -1
  2082. package/components/ContextMenu/ContextMenu.js.map +0 -1
  2083. package/components/ContextMenu/Item.js.map +0 -1
  2084. package/components/ContextMenu/style.js.map +0 -1
  2085. package/components/ContextMenu/tooltip-styles.js.map +0 -1
  2086. package/components/ContextMenu.Multilevel/ContextMenu.Multilevel.js.map +0 -1
  2087. package/components/ContextMenu.Multilevel/Controls.js.map +0 -1
  2088. package/components/ContextMenu.Multilevel/Heading.js.map +0 -1
  2089. package/components/ContextMenu.Multilevel/SubHeading.js.map +0 -1
  2090. package/components/ContextMenu.Multilevel/style.js.map +0 -1
  2091. package/components/Dropdown/Dropdown.js.map +0 -1
  2092. package/components/Dropdown/DropdownMenuNoOptions.js.map +0 -1
  2093. package/components/Dropdown/constants.js.map +0 -1
  2094. package/components/Dropdown/style.js.map +0 -1
  2095. package/components/Dropdown/utils.js.map +0 -1
  2096. package/components/FormInputLabel/FormInputLabel.js.map +0 -1
  2097. package/components/FormInputLabel/constants.js.map +0 -1
  2098. package/components/FormInputLabel/style.js.map +0 -1
  2099. package/components/FormLabel/FormLabel.js.map +0 -1
  2100. package/components/FormLabel/constants.js.map +0 -1
  2101. package/components/FormLabel/style.js.map +0 -1
  2102. package/components/Icon/Icon.js.map +0 -1
  2103. package/components/Icon/constants.js.map +0 -1
  2104. package/components/Icon/icons.js +0 -2
  2105. package/components/Icon/icons.js.map +0 -1
  2106. package/components/Icon/images/blackBoard.module.svg.js +0 -2
  2107. package/components/Icon/images/blackBoard.module.svg.js.map +0 -1
  2108. package/components/Icon/images/book.module.svg.js +0 -2
  2109. package/components/Icon/images/book.module.svg.js.map +0 -1
  2110. package/components/Icon/images/burger.module.svg.js +0 -2
  2111. package/components/Icon/images/burger.module.svg.js.map +0 -1
  2112. package/components/Icon/images/camps.module.svg.js +0 -2
  2113. package/components/Icon/images/camps.module.svg.js.map +0 -1
  2114. package/components/Icon/images/cart.module.svg.js +0 -2
  2115. package/components/Icon/images/cart.module.svg.js.map +0 -1
  2116. package/components/Icon/images/clock.module.svg.js +0 -2
  2117. package/components/Icon/images/clock.module.svg.js.map +0 -1
  2118. package/components/Icon/images/clockFilled.module.svg.js +0 -2
  2119. package/components/Icon/images/clockFilled.module.svg.js.map +0 -1
  2120. package/components/Icon/images/coins.module.svg.js +0 -2
  2121. package/components/Icon/images/coins.module.svg.js.map +0 -1
  2122. package/components/Icon/images/copy.module.svg.js +0 -2
  2123. package/components/Icon/images/copy.module.svg.js.map +0 -1
  2124. package/components/Icon/images/courses.module.svg.js +0 -2
  2125. package/components/Icon/images/courses.module.svg.js.map +0 -1
  2126. package/components/Icon/images/diamond.module.svg.js +0 -2
  2127. package/components/Icon/images/diamond.module.svg.js.map +0 -1
  2128. package/components/Icon/images/diamondFilled.module.svg.js +0 -2
  2129. package/components/Icon/images/diamondFilled.module.svg.js.map +0 -1
  2130. package/components/Icon/images/diamondSolid.module.svg.js +0 -2
  2131. package/components/Icon/images/diamondSolid.module.svg.js.map +0 -1
  2132. package/components/Icon/images/discount.module.svg.js +0 -2
  2133. package/components/Icon/images/discount.module.svg.js.map +0 -1
  2134. package/components/Icon/images/edit.module.svg.js +0 -2
  2135. package/components/Icon/images/edit.module.svg.js.map +0 -1
  2136. package/components/Icon/images/email.module.svg.js +0 -2
  2137. package/components/Icon/images/email.module.svg.js.map +0 -1
  2138. package/components/Icon/images/externat.module.svg.js +0 -2
  2139. package/components/Icon/images/externat.module.svg.js.map +0 -1
  2140. package/components/Icon/images/eye.module.svg.js +0 -2
  2141. package/components/Icon/images/eye.module.svg.js.map +0 -1
  2142. package/components/Icon/images/fire.module.svg.js +0 -2
  2143. package/components/Icon/images/fire.module.svg.js.map +0 -1
  2144. package/components/Icon/images/headphones.module.svg.js +0 -2
  2145. package/components/Icon/images/headphones.module.svg.js.map +0 -1
  2146. package/components/Icon/images/infoInverse.module.svg.js +0 -2
  2147. package/components/Icon/images/infoInverse.module.svg.js.map +0 -1
  2148. package/components/Icon/images/list.module.svg.js +0 -2
  2149. package/components/Icon/images/list.module.svg.js.map +0 -1
  2150. package/components/Icon/images/login.module.svg.js +0 -2
  2151. package/components/Icon/images/login.module.svg.js.map +0 -1
  2152. package/components/Icon/images/logout.module.svg.js +0 -2
  2153. package/components/Icon/images/logout.module.svg.js.map +0 -1
  2154. package/components/Icon/images/message.module.svg.js +0 -2
  2155. package/components/Icon/images/message.module.svg.js.map +0 -1
  2156. package/components/Icon/images/objective.module.svg.js +0 -2
  2157. package/components/Icon/images/objective.module.svg.js.map +0 -1
  2158. package/components/Icon/images/page.module.svg.js +0 -2
  2159. package/components/Icon/images/page.module.svg.js.map +0 -1
  2160. package/components/Icon/images/person.module.svg.js +0 -2
  2161. package/components/Icon/images/person.module.svg.js.map +0 -1
  2162. package/components/Icon/images/phone.module.svg.js +0 -2
  2163. package/components/Icon/images/phone.module.svg.js.map +0 -1
  2164. package/components/Icon/images/present.module.svg.js +0 -2
  2165. package/components/Icon/images/present.module.svg.js.map +0 -1
  2166. package/components/Icon/images/priceTag.module.svg.js +0 -2
  2167. package/components/Icon/images/priceTag.module.svg.js.map +0 -1
  2168. package/components/Icon/images/print.module.svg.js +0 -2
  2169. package/components/Icon/images/print.module.svg.js.map +0 -1
  2170. package/components/Icon/images/prof.module.svg.js +0 -2
  2171. package/components/Icon/images/prof.module.svg.js.map +0 -1
  2172. package/components/Icon/images/settings.module.svg.js +0 -2
  2173. package/components/Icon/images/settings.module.svg.js.map +0 -1
  2174. package/components/Icon/images/sort.module.svg.js +0 -2
  2175. package/components/Icon/images/sort.module.svg.js.map +0 -1
  2176. package/components/Icon/images/star.module.svg.js +0 -2
  2177. package/components/Icon/images/star.module.svg.js.map +0 -1
  2178. package/components/Icon/images/student.module.svg.js +0 -2
  2179. package/components/Icon/images/student.module.svg.js.map +0 -1
  2180. package/components/Icon/images/target.module.svg.js +0 -2
  2181. package/components/Icon/images/target.module.svg.js.map +0 -1
  2182. package/components/Icon/images/textbook.module.svg.js +0 -2
  2183. package/components/Icon/images/textbook.module.svg.js.map +0 -1
  2184. package/components/Icon/images/trophy.module.svg.js +0 -2
  2185. package/components/Icon/images/trophy.module.svg.js.map +0 -1
  2186. package/components/Icon/images/unsort.module.svg.js +0 -2
  2187. package/components/Icon/images/unsort.module.svg.js.map +0 -1
  2188. package/components/Icon/images/wallet.module.svg.js +0 -2
  2189. package/components/Icon/images/wallet.module.svg.js.map +0 -1
  2190. package/components/Icon/style.js.map +0 -1
  2191. package/components/IconButton/IconButton.js.map +0 -1
  2192. package/components/IconButton/constants.js.map +0 -1
  2193. package/components/IconButton/style.js.map +0 -1
  2194. package/components/Indicator/Indicator.js.map +0 -1
  2195. package/components/Indicator/constants.js.map +0 -1
  2196. package/components/Indicator/style.js.map +0 -1
  2197. package/components/Input/Input.js.map +0 -1
  2198. package/components/Input/helpers.js.map +0 -1
  2199. package/components/Input/style.js.map +0 -1
  2200. package/components/Input.Phone/Input.Phone.js.map +0 -1
  2201. package/components/Input.Phone/constants.js.map +0 -1
  2202. package/components/InputCheckbox/InputCheckbox.js.map +0 -1
  2203. package/components/InputCheckbox/constants.js.map +0 -1
  2204. package/components/InputCheckbox/images/checked.module.svg.js +0 -2
  2205. package/components/InputCheckbox/images/checked.module.svg.js.map +0 -1
  2206. package/components/InputCheckbox/images/indeterminate.module.svg.js +0 -2
  2207. package/components/InputCheckbox/images/indeterminate.module.svg.js.map +0 -1
  2208. package/components/InputCheckbox/style.js.map +0 -1
  2209. package/components/InputRadio/InputRadio.js.map +0 -1
  2210. package/components/InputRadio/constants.js.map +0 -1
  2211. package/components/InputRadio/style.js.map +0 -1
  2212. package/components/ListItem/ListItem.js.map +0 -1
  2213. package/components/ListItem/constants.js.map +0 -1
  2214. package/components/ListItem/style.js.map +0 -1
  2215. package/components/Menu/Menu.js.map +0 -1
  2216. package/components/MenuComponent/MenuComponent.js.map +0 -1
  2217. package/components/MenuComponent/constants.js.map +0 -1
  2218. package/components/MenuComponent/style.js.map +0 -1
  2219. package/components/MenuContainer/MenuContainer.js.map +0 -1
  2220. package/components/MenuContainer/style.js.map +0 -1
  2221. package/components/MenuDivider/MenuDivider.js.map +0 -1
  2222. package/components/MenuDivider/style.js.map +0 -1
  2223. package/components/MenuList/MenuList.js.map +0 -1
  2224. package/components/MenuList/style.js.map +0 -1
  2225. package/components/Modal/Close.js.map +0 -1
  2226. package/components/Modal/Modal.js.map +0 -1
  2227. package/components/Modal/adapter.js.map +0 -1
  2228. package/components/Modal/style.js.map +0 -1
  2229. package/components/Paper/Paper.js.map +0 -1
  2230. package/components/Paper/style.js.map +0 -1
  2231. package/components/Popover/Popover.js.map +0 -1
  2232. package/components/PopoverComponent/PopoverComponent.js.map +0 -1
  2233. package/components/PopoverComponent/constants.js.map +0 -1
  2234. package/components/PopoverComponent/style.js.map +0 -1
  2235. package/components/Progress/Progress.js.map +0 -1
  2236. package/components/Progress/style.js.map +0 -1
  2237. package/components/Progress.Circle/Progress.Circle.js.map +0 -1
  2238. package/components/Progress.Circle/style.js.map +0 -1
  2239. package/components/Progress.Segmented/Progress.Segmented.js.map +0 -1
  2240. package/components/Progress.Segmented/style.js.map +0 -1
  2241. package/components/Radio/Group.js.map +0 -1
  2242. package/components/Radio/Radio.js.map +0 -1
  2243. package/components/Radio/style.js.map +0 -1
  2244. package/components/Scrollable/Scrollable.js.map +0 -1
  2245. package/components/Section/Section.js.map +0 -1
  2246. package/components/Section/style.js.map +0 -1
  2247. package/components/Select/Select.js.map +0 -1
  2248. package/components/Select/style.js.map +0 -1
  2249. package/components/Separator/Separator.js.map +0 -1
  2250. package/components/Separator/SeparatorText.js.map +0 -1
  2251. package/components/Separator/style.js.map +0 -1
  2252. package/components/Skeleton/Skeleton.js.map +0 -1
  2253. package/components/Skeleton/style.js.map +0 -1
  2254. package/components/Spacer/Spacer.js.map +0 -1
  2255. package/components/Spacer/style.js.map +0 -1
  2256. package/components/Spinner/Spinner.js.map +0 -1
  2257. package/components/Spinner/style.js.map +0 -1
  2258. package/components/Switcher/Switcher.js.map +0 -1
  2259. package/components/Switcher/constants.js.map +0 -1
  2260. package/components/Switcher/style.js.map +0 -1
  2261. package/components/Tab/Tab.js.map +0 -1
  2262. package/components/Tab/constants.js.map +0 -1
  2263. package/components/Tab/default-constants.js.map +0 -1
  2264. package/components/Tab/images/arrow.module.svg.js +0 -2
  2265. package/components/Tab/images/arrow.module.svg.js.map +0 -1
  2266. package/components/Tab/style.js.map +0 -1
  2267. package/components/Tabs/Tabs.js.map +0 -1
  2268. package/components/Tabs/style.js.map +0 -1
  2269. package/components/Tag/Tag.js.map +0 -1
  2270. package/components/Tag/style.js.map +0 -1
  2271. package/components/Text/Text.js.map +0 -1
  2272. package/components/Text/constants.js.map +0 -1
  2273. package/components/Text/default-constants.js.map +0 -1
  2274. package/components/Text/style.js.map +0 -1
  2275. package/components/Text.Ellipse/Text.Ellipse.js.map +0 -1
  2276. package/components/Text.Ellipse/style.js.map +0 -1
  2277. package/components/Text.Heading/Text.Heading.js.map +0 -1
  2278. package/components/Textarea/Textarea.js.map +0 -1
  2279. package/components/Textarea/style.js.map +0 -1
  2280. package/components/Tooltip/Tooltip.js.map +0 -1
  2281. package/components/Tooltip/TooltipWrapper.js.map +0 -1
  2282. package/components/Tooltip/default-constants.js.map +0 -1
  2283. package/components/TooltipComponent/TooltipComponent.js.map +0 -1
  2284. package/components/TooltipComponent/constants.js.map +0 -1
  2285. package/components/TooltipComponent/style.js.map +0 -1
  2286. package/hocs/withMergedProps.js.map +0 -1
  2287. package/hooks/use-config-priority.js.map +0 -1
  2288. package/hooks/useClassname.js.map +0 -1
  2289. package/hooks/useKeyboardListener.js.map +0 -1
  2290. package/hooks/useMergedPalette.js.map +0 -1
  2291. package/hooks/useMergedProps.js.map +0 -1
  2292. package/hooks/useMergedSizes.js.map +0 -1
  2293. package/index.cjs.js +0 -2
  2294. package/index.cjs.js.map +0 -1
  2295. package/index.js.map +0 -1
  2296. package/mixins/color.js.map +0 -1
  2297. package/mixins/create-responsive-props.js.map +0 -1
  2298. package/mixins/display.js.map +0 -1
  2299. package/mixins/focus.js.map +0 -1
  2300. package/mixins/responsive-margin.js.map +0 -1
  2301. package/mixins/responsive-property.js.map +0 -1
  2302. package/mixins/responsive-size.js.map +0 -1
  2303. package/mixins/screen.js.map +0 -1
  2304. package/mixins/shared.js.map +0 -1
  2305. package/mixins/vAlign.js.map +0 -1
  2306. package/shared/constants.js.map +0 -1
  2307. package/shared/enums/sizeInput.js.map +0 -1
  2308. package/shared/regexp.js.map +0 -1
  2309. package/shared/utils/colors.js.map +0 -1
  2310. package/shared/utils/dom.js.map +0 -1
  2311. package/shared/utils/rel-builder.js.map +0 -1
  2312. package/shared/utils/style.js.map +0 -1
  2313. package/theme/colors-dark.js.map +0 -1
  2314. package/theme/colors-light.js.map +0 -1
  2315. package/theme/colors.js.map +0 -1
  2316. package/theme/global-styled.js.map +0 -1
  2317. package/theme/theme-provider.js.map +0 -1
  2318. package/theme/themes.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"style.js","sources":["../../../../src/components/Input/style.ts"],"sourcesContent":["import styled, { css } from 'styled-components'\nimport InputMask from 'react-input-mask'\nimport tinycolor from 'tinycolor2'\nimport type { StyledProps } from 'styled-components'\nimport { color } from 'mixins/color'\nimport { property, responsiveNamedProperty } from 'mixins/responsive-property'\nimport { chooseWidthValue } from 'components/Input/helpers'\nimport { focus } from 'mixins/focus'\nimport type { CSSColor } from 'shared/types'\nimport type { StyledBaseInputProps, StyledInputProps, StyledInputControlsProps, InputPalette } from './types'\n\nconst template = (\n palette: Pick<\n InputPalette,\n 'inputColor' | 'inputPlaceholderColor' | 'inputColorDisabled' | 'inputPlaceholderColorDisabled'\n >\n) => `\n color: ${palette.inputColor};\n &::placeholder {\n color: ${palette.inputPlaceholderColor};\n }\n &:disabled {\n color: ${palette.inputColorDisabled};\n }\n &:disabled::placeholder {\n color: ${palette.inputPlaceholderColorDisabled};\n }\n`\n\nconst controlsTemplate = (\n palette: Pick<\n InputPalette,\n | 'controlsColor'\n | 'controlsBackgroundColor'\n | 'controlsColorHover'\n | 'controlsBackgroundColorHover'\n | 'controlsColorActive'\n | 'controlsBackgroundColorActive'\n | 'controlsColorDisabled'\n | 'controlsBackgroundColorDisabled'\n | 'controlsSeparatorColor'\n >\n) => `\n color: ${palette.controlsColor};\n background-color: ${palette.controlsBackgroundColor};\n &:hover {\n color: ${palette.controlsColorHover};\n background-color: ${palette.controlsBackgroundColorHover};\n }\n &:active {\n color: ${palette.controlsColorActive};\n background-color: ${palette.controlsBackgroundColorActive};\n }\n &:disabled {\n color: ${palette.controlsColorDisabled};\n background-color: ${palette.controlsBackgroundColorDisabled};\n }\n &:not(:first-child)::before {\n background-color: ${palette.controlsSeparatorColor};\n }\n`\n\nexport const errorStyle = css`\n border: 1px solid ${(props) => props.theme.colors.pomegranate};\n background-color: ${(props) => tinycolor(props.theme.colors.pomegranate).setAlpha(0.1).toString()};\n`\n\nexport const disabledStyle = css`\n background-color: rgba(0, 0, 0, 0.04);\n border-color: rgba(0, 0, 0, 0.04);\n color: rgba(0, 0, 0, 0.16);\n cursor: not-allowed;\n &:disabled {\n background-color: rgba(0, 0, 0, 0.04);\n border-color: rgba(0, 0, 0, 0.04);\n color: rgba(0, 0, 0, 0.16);\n cursor: not-allowed;\n }\n`\n\nexport const focusStyle = css`\n &:focus {\n border: 1px solid ${(props) => props.theme.colors.accent};\n outline: none;\n }\n`\n\nexport const roundedStyle = css`\n border-radius: ${(props) => props.theme.borderRadius};\n`\n\nexport const baseInputStyle = (\n props: StyledProps<\n Pick<\n StyledBaseInputProps,\n | 'color'\n | 'placeholderColor'\n | 'disabled'\n | 'rounded'\n | 'width'\n | 'widthXS'\n | 'widthS'\n | 'widthM'\n | 'widthL'\n | 'widthXL'\n | 'fluid'\n | 'error'\n >\n >\n) => css`\n box-sizing: border-box;\n display: block;\n background-color: ${props.theme.colors.white};\n border: solid 1px ${props.theme.colors.alto};\n width: auto;\n appearance: none;\n font-size: 16px;\n ${props.color ? color(props.color) : null};\n &::placeholder {\n ${props.placeholderColor ? color(props.placeholderColor) : null}\n }\n ${focusStyle}\n ${props.disabled ? disabledStyle : null}\n ${props.rounded ? roundedStyle : null}\n\n ${props.width\n ? property(chooseWidthValue(props.width), props.fluid && props.width !== 'auto' ? 'max-width' : 'width')\n : null}\n ${responsiveNamedProperty({\n sizes: {\n widthXS: props.widthXS,\n widthS: props.widthS,\n widthM: props.widthM,\n widthL: props.widthL,\n widthXL: props.widthXL,\n },\n cssProperty: props.fluid && props.width !== 'auto' ? 'max-width' : 'width',\n customSizeHandler: chooseWidthValue,\n })}\n ${props.fluid\n ? css`\n width: 100%;\n `\n : null}\n ${props.error ? errorStyle : null}\n`\n\nexport const Root: React.ComponentType<StyledBaseInputProps> = styled(InputMask).withConfig<StyledBaseInputProps>({\n shouldForwardProp: (prop) =>\n !['color', 'placeholderColor', 'rounded', 'fluid', 'error'].includes(prop) && !prop.includes('width'),\n})`\n line-height: 24px;\n padding: 15px 20px 11px;\n ${(props) => baseInputStyle(props)}\n`\n\nexport const Input: React.ComponentType<StyledInputProps> = styled(InputMask).withConfig<StyledInputProps>({\n shouldForwardProp: (propKey) => !['palette', 'label', 'labelPosition', 'active'].includes(propKey),\n})`\n ${(props) => {\n let opacity = '1'\n let paddingTop = '0px'\n\n if (props.label && props.labelPosition === 'dynamic') {\n opacity = `${props.active ? 1 : 0}`\n paddingTop = '0.8em'\n }\n\n if (props.label && props.labelPosition === 'top') {\n paddingTop = '0.8em'\n }\n\n if (props.label && props.labelPosition === 'center') {\n opacity = `${props.active ? 1 : 0}`\n }\n\n return `\n box-sizing: border-box;\n appearance: textfield;\n border: none;\n padding: 0;\n margin: 0;\n font-size: inherit;\n line-height: inherit;\n background-color: transparent;\n width: 100%;\n align-self: stretch;\n opacity: ${opacity};\n padding-top: ${paddingTop};\n cursor: ${props.disabled ? 'not-allowed' : 'pointer'};\n\n &[type=\"number\"]::-webkit-outer-spin-button,\n &[type=\"number\"]::-webkit-inner-spin-button {\n appearance: none;\n margin: 0;\n }\n\n &:focus {\n cursor: text;\n outline: none;\n }\n `\n }}\n ${(props) =>\n template({\n inputColor: props.theme.colors['content-onmain-primary'],\n inputPlaceholderColor: props.theme.colors['content-onmain-secondary'],\n inputColorDisabled: props.theme.colors['content-disabled'],\n inputPlaceholderColorDisabled: props.theme.colors['content-disabled'],\n ...props.palette,\n })}\n`\n\nexport const InputControl = styled.button.withConfig<StyledInputControlsProps>({\n shouldForwardProp: (propKey) => !['palette'].includes(propKey),\n})`\n box-sizing: border-box;\n appearance: none;\n position: relative;\n padding: 5px;\n margin: 0;\n border: none;\n display: flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n border-radius: 8px;\n cursor: ${(props) => (props.disabled ? 'not-allowed' : 'pointer')};\n &:first-child {\n margin-left: 4px;\n }\n &:not(:first-child) {\n margin-left: 9px;\n }\n &:not(:first-child)::before {\n content: '';\n position: absolute;\n width: 1px;\n height: 60%;\n top: 50%;\n left: -5px;\n transform: translateY(-50%);\n }\n ${(props) =>\n controlsTemplate({\n controlsColor: props.theme.colors['content-onmain-tertiary'],\n controlsColorHover: props.theme.colors['content-onmain-primary'],\n controlsColorActive: props.theme.colors['content-onmain-primary'],\n controlsColorDisabled: props.theme.colors['content-disabled'],\n controlsBackgroundColor: props.theme.colors.transparent,\n controlsBackgroundColorHover: tinycolor(props.theme.colors['bg-oncolor-hover'])\n .lighten(20)\n .toString() as CSSColor,\n controlsBackgroundColorActive: props.theme.colors['bg-oncolor-hover'],\n controlsBackgroundColorDisabled: props.theme.colors.transparent,\n controlsSeparatorColor: props.theme.colors['border-onmain-default-large'],\n ...props.palette,\n })}\n\n ${focus}\n`\n"],"names":["errorStyle","css","props","theme","colors","pomegranate","tinycolor","setAlpha","toString","disabledStyle","focusStyle","accent","roundedStyle","borderRadius","baseInputStyle","white","alto","color","placeholderColor","disabled","rounded","width","property","chooseWidthValue","fluid","responsiveNamedProperty","sizes","widthXS","widthS","widthM","widthL","widthXL","cssProperty","customSizeHandler","error","Root","styled","InputMask","withConfig","shouldForwardProp","prop","includes","componentId","Input","propKey","opacity","paddingTop","label","labelPosition","concat","active","template","palette","_objectSpread","inputColor","inputPlaceholderColor","inputColorDisabled","inputPlaceholderColorDisabled","InputControl","button","controlsTemplate","controlsColor","controlsColorHover","controlsColorActive","controlsColorDisabled","controlsBackgroundColor","transparent","controlsBackgroundColorHover","lighten","controlsBackgroundColorActive","controlsBackgroundColorDisabled","controlsSeparatorColor","focus"],"mappings":"iYA8DaA,IAAAA,EAAaC,kDACHC,GAAUA,EAAMC,MAAMC,OAAOC,cAC7BH,GAAUI,EAAUJ,EAAMC,MAAMC,OAAOC,aAAaE,SAAS,IAAKC,aAG5EC,IAAAA,EAAgBR,E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,EAAUJ,EAAMC,MAAMC,OAAO,qBACxDgE,QAAQ,IACR5D,WACH6D,8BAA+BnE,EAAMC,MAAMC,OAAO,oBAClDkE,gCAAiCpE,EAAMC,MAAMC,OAAO8D,YACpDK,uBAAwBrE,EAAMC,MAAMC,OAAO,gCACxCF,EAAMkD,SArNJA,cAAAA,OAAAA,EAAQS,cAdM,2BAAAZ,OAeHG,EAAQa,wBAEjBb,+BAAAA,OAAAA,EAAQU,mBAjBI,6BAAAb,OAkBDG,EAAQe,6BAGnBf,qCAAAA,OAAAA,EAAQW,oBArBI,6BAAAd,OAsBDG,EAAQiB,4EAGnBjB,EAAQY,sBAzBI,6BAAAf,OA0BDG,EAAQkB,0GAGRlB,EAAQmB,uBA7BhC,YACEnB,IAAAA,IAqOEoB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Input.Phone.js","sources":["../../../../src/components/Input.Phone/Input.Phone.tsx"],"sourcesContent":["/* eslint-disable no-use-before-define */\nimport { PureComponent } from 'react'\nimport type { InputState } from 'react-input-mask'\nimport { Input } from '../Input/Input'\nimport type { InputProps } from '../Input'\nimport {\n COUNTRY_DATA,\n DEFAULT_MASK,\n INITIAL_MASK,\n REGEXPS,\n RUSSIAN_PHONE_WITHOUT_COUNTY_CODE_LENGTH,\n} from './constants'\n\nconst onlyNumbers = (value = ''): string => value.replace(REGEXPS.NOT_NUMBERS, '')\n\nexport interface InputPhoneProps extends InputProps {\n /**\n * Settings for different country codes\n */\n countryData?: string[][]\n /**\n * Default field mask that is set when none of the countryData prop matches\n */\n defaultMask?: string\n /**\n * The default field mask when the phone field is empty is required to enable autocomplete in\n * the browser\n */\n initialMask?: string\n /** If event should return stripped phone value (not for redux forms) */\n stripValue?: boolean\n}\n\ninterface InputPhoneState {\n mask: string\n regexp?: RegExp | null\n}\n\n/**\n * Расширен:\n * - `InputProps`\n */\nexport class InputPhone extends PureComponent<typeof InputPhone.defaultProps & InputPhoneProps, InputPhoneState> {\n static displayName = 'Input.Phone'\n static defaultProps = {\n countryData: COUNTRY_DATA,\n defaultMask: DEFAULT_MASK,\n initialMask: INITIAL_MASK,\n placeholder: '+9 (999) 999-99-99',\n rounded: true,\n type: 'text',\n color: 'mineShaft',\n mask: '',\n placeholderColor: 'silver',\n }\n\n autocorrectOf8: boolean\n autocorrectOf9: boolean\n\n constructor(props: typeof InputPhone.defaultProps & InputPhoneProps) {\n super(props)\n\n this.autocorrectOf8 = true\n this.autocorrectOf9 = true\n\n const { mask } = this.getUpdates(props.value || '')\n\n this.state = { mask, regexp: null }\n }\n\n componentDidUpdate(nextProps: InputPhoneProps) {\n const { value } = this.props\n\n if (value !== nextProps.value) {\n this.change(value)\n }\n }\n\n getUpdates = (\n value: InputPhoneProps['value'],\n prevValue: InputPhoneProps['value'] = undefined\n ): {\n mask: string\n numbers: string\n startsFrom8: boolean\n startsFrom9: boolean\n regexp: RegExp | null\n } => {\n const { countryData, defaultMask, initialMask } = this.props\n const numbers = onlyNumbers(value as string)\n\n let mask = initialMask\n let regexp = null\n let startsFrom8 = false\n let startsFrom9 = false\n\n if (!numbers)\n return {\n mask,\n numbers,\n startsFrom8,\n startsFrom9,\n regexp,\n }\n\n let isRussian = false\n\n for (let i = 0; i < countryData.length; i++) {\n if (numbers.startsWith(countryData[i][1])) {\n ;[, , mask, regexp] = countryData[i]\n isRussian = i === 0 || i === 1\n }\n }\n\n startsFrom8 = isRussian && REGEXPS.FROM_8.test(numbers) && this.autocorrectOf8\n startsFrom9 =\n (!mask || (numbers.length === RUSSIAN_PHONE_WITHOUT_COUNTY_CODE_LENGTH && prevValue === '')) &&\n this.autocorrectOf9 &&\n REGEXPS.FROM_9.test(numbers)\n\n if (startsFrom8) {\n // RUSSIAN_MASK\n mask = COUNTRY_DATA[0][2]\n\n this.autocorrectOf8 = false\n }\n\n if (startsFrom9) {\n // RUSSIAN_MASK\n mask = COUNTRY_DATA[0][2]\n\n this.autocorrectOf9 = false\n }\n\n if (!mask) {\n mask = defaultMask\n }\n\n return {\n mask,\n numbers,\n startsFrom8,\n startsFrom9,\n regexp,\n }\n }\n\n change = (phone: InputPhoneProps['value']) => {\n const { mask } = this.getUpdates(phone)\n\n this.setState({ mask })\n }\n\n handleChange: React.ChangeEventHandler<HTMLInputElement> = (e) => {\n e.persist()\n\n const { onChange, stripValue } = this.props\n\n if (onChange) {\n const _e = e\n if (stripValue) _e.target.value = onlyNumbers(e.target.value)\n onChange(_e)\n }\n }\n\n beforeMaskedValueChange = (newState: InputState, oldState: InputState) => {\n const { mask, numbers, startsFrom8, startsFrom9, regexp } = this.getUpdates(newState.value, oldState.value)\n\n this.setState({ mask, regexp })\n\n /**\n * For the correct caret position, when the user enters 9 in the phone field and it's replaced\n * by '+7 (9'\n */\n if (startsFrom9) {\n return {\n selection: numbers.length === 1 ? { start: 5, end: 5 } : newState.selection,\n value: newState.value.replace(REGEXPS.FROM_9, '+79$1'),\n }\n }\n\n if (startsFrom8) {\n return { selection: { start: 2, end: 2 }, value: newState.value.replace(REGEXPS.FROM_8, '+7$1') }\n }\n\n if (REGEXPS.FILLED.test(oldState.value) && numbers.length === 1) {\n return { selection: { start: 2, end: 2 }, value: newState.value }\n }\n\n if (!REGEXPS.FILLED.test(oldState.value) && REGEXPS.FILLED.test(newState.value)) {\n return {\n ...newState,\n selection: newState.selection ? { start: newState.selection.start + 1, end: newState.selection.end + 1 } : null,\n }\n }\n\n return newState\n }\n\n render() {\n const {\n /* eslint-disable no-unused-vars, @typescript-eslint/no-unused-vars */\n countryData,\n defaultMask,\n initialMask,\n stripValue,\n /* eslint-enable no-unused-vars, @typescript-eslint/no-unused-vars */\n ...props\n } = this.props\n const { mask, regexp } = this.state\n\n return (\n <Input\n {...props}\n beforeMaskedValueChange={this.beforeMaskedValueChange}\n mask={mask}\n data-regexp={regexp instanceof RegExp ? regexp.toString() : undefined}\n onChange={this.handleChange}\n />\n )\n }\n}\n"],"names":["onlyNumbers","e","value","replace","REGEXPS","NOT_NUMBERS","InputPhone","PureComponent","constructor","props","_this","super","this","autocorrectOf8","autocorrectOf9","getUpdates","t","prevValue","undefined","countryData","defaultMask","initialMask","numbers","mask","regexp","startsFrom8","startsFrom9","isRussian","i","length","startsWith","FROM_8","test","RUSSIAN_PHONE_WITHOUT_COUNTY_CODE_LENGTH","FROM_9","COUNTRY_DATA","change","phone","setState","handleChange","persist","onChange","stripValue","_e","target","beforeMaskedValueChange","newState","oldState","selection","start","end","FILLED","_objectSpread","state","componentDidUpdate","nextProps","render","_objectWithoutProperties","_excluded","_jsx","Input","RegExp","toString","displayName","defaultProps","DEFAULT_MASK","INITIAL_MASK","placeholder","rounded","type","color","placeholderColor"],"mappings":"sbAaA,IAAMA,EAAc,SAAAC,GAAA,IAACC,+BAADD,EAAAA,EAAS,GAAT,OAAwBC,EAAMC,QAAQC,EAAQC,YAAa,KA6BxE,MAAMC,UAAmBC,EAiB9BC,YAAYC,GAAyD,IAAAC,EACnEC,MAAMF,GAD6DC,EAAAE,KAAAA,KAHrEC,sBAGqED,KAFrEE,oBAEqE,EAAAF,KAmBrEG,WAAa,SACXb,EADWc,GASR,IAPHC,+BAFWD,EAAAA,OAE2BE,EAQtC,IAAMC,YAAEA,EAAFC,YAAeA,EAAfC,YAA4BA,GAAgBX,EAAKD,MACvD,IAAMa,EAAUtB,EAAYE,GAE5B,IAAIqB,EAAOF,EACX,IAAIG,EAAS,KACb,IAAIC,GAAAA,EACJ,IAAIC,KAEJ,IAAKJ,EACH,MAAO,CACLC,KAAAA,EACAD,QAAAA,EACAG,YAAAA,EACAC,YAAAA,EACAF,OAAAA,GAGJ,IAAIG,KAEJ,IAAK,IAAIC,EAAI,EAAGA,EAAIT,EAAYU,OAAQD,IAClCN,EAAQQ,WAAWX,EAAYS,GAAG,OACnC,CAAA,CAAKL,EAAMC,GAAUL,EAAYS,GAClCD,EAAkB,IAANC,GAAiB,IAANA,GA4B3B,OAxBAH,EAAcE,GAAavB,EAAQ2B,OAAOC,KAAKV,IAAYZ,EAAKG,eAChEa,IACIH,GAASD,EAAQO,S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AAS5C,QAGvDE,EAAQ+C,OAAOnB,KAAKe,EAAS7C,QAAUE,EAAQ+C,OAAOnB,KAAKc,EAAS5C,OACvEkD,EAAAA,EAAA,GACKN,GADL,GAAA,CAEEE,UAAWF,EAASE,UAAY,CAAEC,MAAOH,EAASE,UAAUC,MAAQ,EAAGC,IAAKJ,EAASE,UAAUE,IAAM,GAAM,OAIxGJ,GAtIPlC,KAAKC,gBAAiB,EACtBD,KAAKE,gBAAAA,EAEL,IAAQS,KAAAA,GAASX,KAAKG,WAAWN,EAAMP,OAAS,IAEhDU,KAAKyC,MAAQ,CAAE9B,KAAAA,EAAMC,OAAQ,MAG/B8B,mBAAmBC,GACjB,IAAMrD,MAAEA,GAAUU,KAAKH,MAEnBP,IAAUqD,EAAUrD,OACtBU,KAAKwB,OAAOlC,GA6HhBsD,SACE,IAOK/C,EAPLgD,EAQI7C,KAAKH,MARTiD,GASA,IAAMnC,KAAEA,EAAFC,OAAQA,GAAWZ,KAAKyC,MAE9B,OACEM,EAACC,EAADR,EAAAA,EAAA,GACM3C,GADN,GAAA,CAEEoC,wBAAyBjC,KAAKiC,wBAC9BtB,KAAMA,EACN,cAAaC,aAAkBqC,OAASrC,EAAOsC,gBAAa5C,EAC5DuB,SAAU7B,KAAK2B,iBA/KVjC,EACJyD,YAAc,cADVzD,EAEJ0D,aAAe,CACpB7C,YAAagB,EACbf,YAAa6C,EACb5C,YAAa6C,EACbC,YAAa,qBACbC,SAAS,EACTC,KAAM,OACNC,MAAO,YACP/C,KAAM,GACNgD,iBAAkB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"constants.js","sources":["../../../../src/components/Input.Phone/constants.ts"],"sourcesContent":["export const INITIAL_MASK = '99999999999999999999'\n\nexport const DEFAULT_MASK = `+${INITIAL_MASK}`\n\nexport const RUSSIAN_PHONE_WITHOUT_COUNTY_CODE_LENGTH = 10\n\nexport const COUNTRY_DATA: [string, string, string, RegExp][] = [\n ['Россия', '7', '+9 (999) 999-99-99', /^(\\+?7|8)([0-9()\\-\\s]{8,20})$/],\n ['Россия', '8', '+9 (999) 999-99-99', /^(\\+?7|8)([0-9()\\-\\s]{8,20})$/],\n ['Украина', '380', '+999 (99) 999-99-99', /^(\\+?380)([0-9()\\-\\s]{8,20})$/],\n ['Беларусь', '375', '+999 (999) 99-99-99', /^(\\+?375)([0-9()\\-\\s]{8,20})$/],\n ['Узбекистан', '998', '+999 (99) 999-99-99', /^(\\+?998)([0-9()\\-\\s]{8,20})$/],\n ['Молдова', '373', '+999 (99) 99-99-99', /^(\\+?373)([0-9()\\-\\s]{8,20})$/],\n ['Азербайджан', '994', '+999 (99) 999-99-99', /^(\\+?994)([0-9()\\-\\s]{8,20})$/],\n ['Киргизия', '996', '+999 (999) 99-99-99', /^(\\+?996)([0-9()\\-\\s]{8,20})$/],\n ['Болгария', '359', '+999 (999) 99-99-99', /^(\\+?359)([0-9()\\-\\s]{8,20})$/],\n ['Германия', '49', '+99 (999) 99999999', /^(\\+?49)([0-9()\\-\\s]{8,20})$/],\n ['США', '1', '+9 (999) 999-99-99', /^(\\+?1)([0-9()\\-\\s]{8,20})$/],\n ['Армения', '374', '+999 (99) 99-99-99', /^(\\+?374)([0-9()\\-\\s]{8,20})$/],\n ['Израиль', '972', '+999 (99) 999-99-99', /^(\\+?972)([0-9()\\-\\s]{8,20})$/],\n ['Испания', '34', '+99 (999) 99-99-99', /^(\\+?34)([0-9()\\-\\s]{8,20})$/],\n ['Латвия', '371', '+999 (99) 999-999', /^(\\+?371)([0-9()\\-\\s]{8,20})$/],\n ['Бахрейн', '973', '+999 (99) 999-999', /^(\\+?973)([0-9()\\-\\s]{8,20})$/],\n ['Турция', '90', '+99 (999) 999-9999', /^(\\+?90)([0-9()\\-\\s]{8,20})$/],\n ['Литва', '370', '+999 (999) 99999', /^(\\+?370)([0-9()\\-\\s]{8,20})$/],\n ['Великобритания', '44', '+99 (99) 9999-9999', /^(\\+?44)([0-9()\\-\\s]{8,20})$/],\n ['Индия', '91', '+99 (99) 99-999999', /^(\\+?91)([0-9()\\-\\s]{8,20})$/],\n ['Черногория', '382', '+999 (99) 999-999', /^(\\+?382)([0-9()\\-\\s]{8,20})$/],\n ['Мексика', '52', '+99 (999) 999-99-99', /^(\\+?52)([0-9()\\-\\s]{8,20})$/],\n ['Польша', '48', '+99 999999999', /^(\\+?48)([0-9()\\-\\s]{8,20})$/],\n ['Италия', '39', '+99 (999) 999-99-99', /^(\\+?39)([0-9()\\-\\s]{8,20})$/],\n ['Таиланд', '66', '+99 999-999-999', /^(\\+?66)([0-9()\\-\\s]{8,20})$/],\n ['Грузия', '995', '+999 (999) 999-999', /^(\\+?995)([0-9()\\-\\s]{8,20})$/],\n ['Шри-Ланка', '94', '+99 (99) 9999999', /^(\\+?94)([0-9()\\-\\s]{8,20})$/],\n ['Китай', '86', '+99 (999) 9999-9999', /^(\\+?86)([0-9()\\-\\s]{8,20})$/],\n ['Кипр', '357', '+999 (99) 999999', /^(\\+?357)([0-9()\\-\\s]{8,20})$/],\n ['ОАЭ', '971', '+999 99-999-9999', /^(\\+?971)([0-9()\\-\\s]{8,20})$/],\n ['Франция', '33', '+33(999)999-999', /^(\\+?33)([0-9()\\-\\s]{8,20})$/],\n ['Германия', '49', '+99(9999)999-9999', /^(\\+?49)([0-9()\\-\\s]{8,20})$/],\n ['Япония', '81', '+99 99-9999-9999', /^(\\+?81)([0-9()\\-\\s]{8,20})$/],\n ['Австрия', '43', '+99(999)999-99999', /^(\\+?43)([0-9()\\-\\s]{8,20})$/],\n ['Южная Корея', '82', '+99(999)999-9999', /^(\\+?82)([0-9()\\-\\s]{8,20})$/],\n]\n\nexport const REGEXPS = {\n FILLED: /^\\+\\d.*$/,\n FROM_8: /^\\+?8(.*)$/,\n FROM_9: /^\\+?9(.*)$/,\n NOT_NUMBERS: /\\D/gim,\n}\n"],"names":["INITIAL_MASK","DEFAULT_MASK","RUSSIAN_PHONE_WITHOUT_COUNTY_CODE_LENGTH","COUNTRY_DATA","REGEXPS","FILLED","FRO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C,SAAU,KAAM,mBAAoB,gCACrC,CAAC,UAAW,KAAM,oBAAqB,gCACvC,CAAC,cAAe,KAAM,mBAAoB,iCAGrC,IAAMC,EAAU,CACrBC,OAAQ,WACRC,OAAQ,aACRC,OAAQ,aACRC,YAAa"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"InputCheckbox.js","sources":["../../../../src/components/InputCheckbox/InputCheckbox.tsx"],"sourcesContent":["import { forwardRef } from 'react'\nimport { withMergedProps } from 'hocs/withMergedProps'\nimport { SIZES } from './constants'\nimport * as Styled from './style'\nimport type { InputCheckboxProps } from './types'\n\nconst COMPONENT_NAME = 'InputCheckbox'\n\n/**\n *\n * Component accepts all \\<input\\> attributes.\n *\n * Responsive \"size\" props are supported.\n *\n * Exposed \"ref\" attached to \\<input\\>.\n *\n * See full [InputCheckboxProps](https://github.com/foxford/ui/blob/master/src/components/InputCheckbox/types.ts)\n *\n * @visibleName Checkbox\n */\nconst InputCheckbox: React.ForwardRefExoticComponent<InputCheckboxProps> = withMergedProps<\n InputCheckboxProps,\n HTMLInputElement\n>(\n forwardRef(\n (\n {\n size = 'm',\n sizeXXS,\n sizeXS,\n sizeS,\n sizeM,\n sizeL,\n sizeXL,\n sizes,\n sizeUnits,\n inline,\n error,\n success,\n onColored,\n palette,\n style,\n indeterminate,\n className,\n disabled,\n ...inputProps\n },\n ref\n ) => {\n return (\n <Styled.Root\n size={size}\n sizeXXS={sizeXXS}\n sizeXS={sizeXS}\n sizeS={sizeS}\n sizeM={sizeM}\n sizeL={sizeL}\n sizeXL={sizeXL}\n sizes={sizes}\n sizeUnits={sizeUnits}\n inline={inline}\n error={error}\n success={success}\n onColored={onColored}\n palette={palette}\n style={style}\n indeterminate={indeterminate}\n className={className}\n disabled={disabled}\n >\n <Styled.Input {...inputProps} disabled={disabled} type='checkbox' ref={ref} />\n <Styled.InputMask>\n {indeterminate === true ? <Styled.InputIndeterminate /> : <Styled.InputChecked />}\n </Styled.InputMask>\n </Styled.Root>\n )\n }\n ),\n {\n displayName: COMPONENT_NAME,\n sizes: SIZES,\n }\n)\n\nexport { InputCheckbox, COMPONENT_NAME }\n"],"names":["COMPONENT_NAME","InputCheckbox","withMergedProps","forwardRef","_ref","ref","size","sizeXXS","sizeXS","sizeS","sizeM","sizeL","sizeXL","sizes","sizeUnits","inline","error","success","onColored","palette","style","indeterminate","className","disabled","inputProps","_objectWithoutProperties","_excluded","_jsxs","Styled.Root","children","_jsx","Styled.Input","type","Styled.InputMask","Styled.InputIndeterminate","Styled.InputChecked","displayName","SIZES"],"mappings":"2kBAMMA,IAAAA,EAAiB,gBAcjBC,IAAAA,EAAqEC,EAIzEC,GAAAA,CACEC,EAsBEC,KACG,IAtBHC,KACEA,EAAO,IADTC,QAEEA,EAFFC,OAGEA,EAHFC,MAIEA,EAJFC,MAKEA,EALFC,MAMEA,EANFC,OAOEA,EAPFC,MAQEA,EARFC,UASEA,EATFC,OAUEA,EAVFC,MAWEA,EAXFC,QAYEA,EAZFC,UAaEA,EAbFC,QAcEA,EAdFC,MAeEA,EAfFC,cAgBEA,EAhBFC,UAiBEA,EAjBFC,SAkBEA,GAICnB,EAHEoB,EAGFC,EAAArB,EAAAsB,GACH,OACEC,EAACC,EAAD,CACEtB,KAAMA,EACNC,QAASA,EACTC,OAAQA,EACRC,MAAOA,EACPC,MAAOA,EACPC,MAAOA,EACPC,OAAQA,EACRC,MAAOA,EACPC,UAAWA,EACXC,OAAQA,EACRC,MAAOA,EACPC,QAASA,EACTC,UAAWA,EACXC,QAASA,EACTC,MAAOA,EACPC,cAAeA,EACfC,UAAWA,EACXC,SAAUA,EAlBZM,SAAA,CAoBEC,EAACC,SAAiBP,GAAlB,GAAA,CAA8BD,SAAUA,EAAUS,KAAK,WAAW3B,IAAKA,KACvEyB,EAACG,EAAD,CAAAJ,SAC4BC,GAAP,IAAlBT,EAA0Ba,EAAgCC,EAA1D,YAMX,CACEC,YAzEmB,gBA0EnBvB,MAAOwB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"constants.js","sources":["../../../../src/components/InputCheckbox/constants.ts"],"sourcesContent":["import type { Sizes } from 'shared/types'\n\nexport const SIZES: Sizes = {\n xxxl: {\n width: 40,\n height: 40,\n borderRadius: 8,\n },\n xxl: {\n width: 36,\n height: 36,\n borderRadius: 8,\n },\n xl: {\n width: 32,\n height: 32,\n borderRadius: 7,\n },\n l: {\n width: 28,\n height: 28,\n borderRadius: 6,\n },\n m: {\n width: 24,\n height: 24,\n borderRadius: 5,\n },\n s: {\n width: 20,\n height: 20,\n borderRadius: 4,\n },\n xs: {\n width: 18,\n height: 18,\n borderRadius: 4,\n },\n xxs: {\n width: 16,\n height: 16,\n borderRadius: 4,\n },\n xxxs: {\n width: 14,\n height: 14,\n borderRadius: 3,\n },\n}\n"],"names":["SIZES","xxxl","width","height","borderRadius","xxl","xl","l","m","s","xs","xxs","xxxs"],"mappings":"AAEO,IAAMA,EAAe,CAC1BC,KAAM,CACJC,MAAO,GACPC,OAAQ,GACRC,aAAc,GAEhBC,IAAK,CACHH,MAAO,GACPC,OAAQ,GACRC,aAAc,GAEhBE,GAAI,CACFJ,MAAO,GACPC,OAAQ,GACRC,aAAc,GAEhBG,EAAG,CACDL,MAAO,GACPC,OAAQ,GACRC,aAAc,GAEhBI,EAAG,CACDN,MAAO,GACPC,OAAQ,GACRC,aAAc,GAEhBK,EAAG,CACDP,MAAO,GACPC,OAAQ,GACRC,aAAc,GAEhBM,GAAI,CACFR,MAAO,GACPC,OAAQ,GACRC,aAAc,GAEhBO,IAAK,CACHT,MAAO,GACPC,OAAQ,GACRC,aAAc,GAEhBQ,KAAM,CACJV,MAAO,GACPC,OAAQ,GACRC,aAAc"}
@@ -1,2 +0,0 @@
1
- import*as r from'react';var e;function t(){return t=Object.assign||function(r){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var n in t)({}).hasOwnProperty.call(t,n)&&(r[n]=t[n])}return r},t.apply(this,arguments)}var n=n=>r.createElement("svg",t({viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),e||(e=r.createElement("path",{d:"M12.5 4.5 6.312 11 3.5 8.045",stroke:"currentcolor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})));export{n as default};
2
- //# sourceMappingURL=checked.module.svg.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"checked.module.svg.js","sources":["../../../../../src/components/InputCheckbox/images/checked.module.svg"],"sourcesContent":["<svg viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M12.5 4.5 6.312 11 3.5 8.045\" stroke=\"currentcolor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/></svg>"],"names":["_path","_extends","Object","assign","target","i","arguments","length","source","key","hasOwnProperty","call","apply","this","SvgCheckedmodule","props","React","createElement","viewBox","fill","xmlns","d","stroke","strokeWidth","strokeLinecap","strokeLinejoin"],"mappings":"wBAAA,IAAIA,EAEJ,SAASC,IAA2Q,OAA9PA,EAAWC,OAAOC,QAAU,SAAUC,GAAU,IAAK,IAAIC,EAAI,EAAGA,EAAIC,UAAUC,OAAQF,IAAK,CAAE,IAAIG,EAASF,UAAUD,GAAI,IAAK,IAAII,KAAOD,GAAAA,IAA+BE,eAAeC,KAAKH,EAAQC,KAAQL,EAAOK,GAAOD,EAAOC,IAAY,OAAOL,GAAkBH,EAASW,MAAMC,KAAMP,WAI7S,IAACQ,EAA6CC,GAC3BC,EAAMC,cAAc,MAAOhB,EAAS,CACtDiB,QAAS,YACTC,KAAM,OACNC,MAAO,8BACNL,GAAQf,IAAUA,EAAqBgB,EAAMC,cAAc,OAAQ,CACpEI,EAAG,+BACHC,OAAQ,eACRC,YAAa,IACbC,cAAe,QACfC,eAAgB"}
@@ -1,2 +0,0 @@
1
- import*as r from'react';var e;function t(){return t=Object.assign||function(r){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var n in t)({}).hasOwnProperty.call(t,n)&&(r[n]=t[n])}return r},t.apply(this,arguments)}var n=n=>r.createElement("svg",t({viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),e||(e=r.createElement("path",{clipRule:"evenodd",d:"M3.5 8a.5.5 0 0 1 .5-.5h8a.5.5 0 0 1 0 1H4a.5.5 0 0 1-.5-.5z",stroke:"currentcolor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})));export{n as default};
2
- //# sourceMappingURL=indeterminate.module.svg.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"indeterminate.module.svg.js","sources":["../../../../../src/components/InputCheckbox/images/indeterminate.module.svg"],"sourcesContent":["<svg viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path clip-rule=\"evenodd\" d=\"M3.5 8a.5.5 0 0 1 .5-.5h8a.5.5 0 0 1 0 1H4a.5.5 0 0 1-.5-.5z\" stroke=\"currentcolor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/></svg>"],"names":["_path","_extends","Object","assign","target","i","arguments","length","source","key","hasOwnProperty","call","apply","this","SvgIndeterminatemodule","props","React","createElement","viewBox","fill","xmlns","clipRule","d","stroke","strokeWidth","strokeLinecap","strokeLinejoin"],"mappings":"wBAAA,IAAIA,EAEJ,SAASC,IAA2Q,OAA9PA,EAAWC,OAAOC,QAAU,SAAUC,GAAU,IAAK,IAAIC,EAAI,EAAGA,EAAIC,UAAUC,OAAQF,IAAK,CAAE,IAAIG,EAASF,UAAUD,GAAI,IAAK,IAAII,KAAOD,GAAcN,IAAiBQ,eAAeC,KAAKH,EAAQC,KAAQL,EAAOK,GAAOD,EAAOC,IAAY,OAAOL,GAAkBH,EAASW,MAAMC,KAAMP,WAI7S,IAACQ,EAAyDC,GACvCC,EAAMC,cAAc,MAAOhB,EAAS,CACtDiB,QAAS,YACTC,KAAM,OACNC,MAAO,8BACNL,GAAQf,IAAUA,EAAqBgB,EAAMC,cAAc,OAAQ,CACpEI,SAAU,UACVC,EAAG,+DACHC,OAAQ,eACRC,YAAa,IACbC,cAAe,QACfC,eAAgB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"style.js","sources":["../../../../src/components/InputCheckbox/style.ts"],"sourcesContent":["import styled, { css } from 'styled-components'\nimport { createShouldForwardProp } from 'shared/utils/style'\nimport { responsiveSize } from 'mixins/responsive-size'\nimport Checked from './images/checked.module.svg'\nimport Indeterminate from './images/indeterminate.module.svg'\nimport type { StyledInputCheckboxProps, InputCheckboxPalette } from './types'\n\nconst shouldForwardInputCheckboxProp = createShouldForwardProp(\n (propKey) => !['inline', 'error', 'success', 'onColored', 'indeterminate', 'disabled'].includes(propKey)\n)\n\nexport const Input = styled.input`\n box-sizing: border-box;\n position: absolute;\n top: 0;\n left: 0;\n margin: 0;\n border: none;\n opacity: 0;\n width: 100%;\n height: 100%;\n z-index: 1;\n &:focus {\n outline: none;\n }\n`\n\nexport const InputMask = styled.span`\n box-sizing: border-box;\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n border-radius: inherit;\n border: 1px solid transparent;\n transition-property: border-color;\n transition-duration: 150ms;\n transition-timing-function: ease-in;\n`\n\nexport const InputChecked = styled(Checked)`\n box-sizing: border-box;\n width: 90%;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n opacity: 0;\n`\n\nexport const InputIndeterminate = styled(Indeterminate)`\n box-sizing: border-box;\n width: 90%;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n`\n\nconst template = (palette: InputCheckboxPalette) => `\n & > ${InputMask} {\n background-color: ${palette.backgroundColor};\n border-color: ${palette.borderColor};\n color: ${palette.color};\n }\n &:hover > ${InputMask} {\n background-color: ${palette.backgroundColorHover};\n border-color: ${palette.borderColorHover};\n color: ${palette.colorHover};\n }\n & > ${Input}:checked:not(:disabled) + ${InputMask} {\n background-color: ${palette.backgroundColorChecked};\n border-color: ${palette.borderColorChecked};\n color: ${palette.colorChecked};\n }\n & > ${Input}:disabled:not(:checked) + ${InputMask} {\n background-color: ${palette.backgroundColorDisabled};\n border-color: ${palette.borderColorDisabled};\n color: ${palette.colorDisabled};\n }\n & > ${Input}:disabled:checked + ${InputMask} {\n background-color: ${palette.backgroundColorDisabledChecked};\n border-color: ${palette.borderColorDisabledChecked};\n color: ${palette.colorDisabledChecked};\n }\n`\n\nconst COLOR_SCHEMA = {\n default: {\n error: css<StyledInputCheckboxProps>`\n ${({ theme, palette, indeterminate }) =>\n template({\n color: theme.colors['content-oncolor-primary'],\n backgroundColor: indeterminate ? theme.colors['alert-bg-error-500'] : theme.colors['bg-onmain-primary'],\n borderColor: theme.colors['alert-bg-error-500'],\n colorHover: theme.colors['content-oncolor-primary'],\n backgroundColorHover: indeterminate ? theme.colors['alert-bg-error-500'] : theme.colors['bg-onmain-primary'],\n borderColorHover: theme.colors['alert-bg-error-500'],\n colorChecked: theme.colors['content-oncolor-primary'],\n backgroundColorChecked: theme.colors['alert-bg-error-500'],\n borderColorChecked: theme.colors['alert-bg-error-500'],\n colorDisabled: theme.colors['bg-onmain-secondary'],\n backgroundColorDisabled: indeterminate\n ? theme.colors['bg-disabled-active']\n : theme.colors['bg-disabled-large'],\n borderColorDisabled: indeterminate ? theme.colors['bg-disabled-active'] : theme.colors['border-disabled'],\n colorDisabledChecked: theme.colors['bg-onmain-secondary'],\n backgroundColorDisabledChecked: theme.colors['bg-disabled-active'],\n borderColorDisabledChecked: theme.colors['bg-disabled-active'],\n ...palette,\n })}\n `,\n success: css<StyledInputCheckboxProps>`\n ${({ theme, palette, indeterminate }) =>\n template({\n color: theme.colors['content-oncolor-primary'],\n backgroundColor: indeterminate ? theme.colors['alert-bg-success-500'] : theme.colors['bg-onmain-primary'],\n borderColor: theme.colors['alert-bg-success-500'],\n colorHover: theme.colors['content-oncolor-primary'],\n backgroundColorHover: indeterminate\n ? theme.colors['alert-bg-success-500']\n : theme.colors['bg-onmain-primary'],\n borderColorHover: theme.colors['alert-bg-success-500'],\n colorChecked: theme.colors['content-oncolor-primary'],\n backgroundColorChecked: theme.colors['alert-bg-success-500'],\n borderColorChecked: theme.colors['alert-bg-success-500'],\n colorDisabled: theme.colors['bg-onmain-secondary'],\n backgroundColorDisabled: indeterminate\n ? theme.colors['bg-disabled-active']\n : theme.colors['bg-disabled-large'],\n borderColorDisabled: indeterminate ? theme.colors['bg-disabled-active'] : theme.colors['border-disabled'],\n colorDisabledChecked: theme.colors['bg-onmain-secondary'],\n backgroundColorDisabledChecked: theme.colors['bg-disabled-active'],\n borderColorDisabledChecked: theme.colors['bg-disabled-active'],\n ...palette,\n })}\n `,\n default: css<StyledInputCheckboxProps>`\n ${({ theme, palette, indeterminate }) =>\n template({\n color: theme.colors['content-oncolor-primary'],\n backgroundColor: indeterminate ? theme.colors['bg-brand-primary-basic'] : theme.colors['bg-onmain-primary'],\n borderColor: indeterminate\n ? theme.colors['bg-brand-primary-basic']\n : theme.colors['border-onmain-default-small'],\n colorHover: theme.colors['content-oncolor-primary'],\n backgroundColorHover: indeterminate\n ? theme.colors['bg-brand-primary-basic']\n : theme.colors['bg-onmain-primary'],\n borderColorHover: indeterminate\n ? theme.colors['bg-brand-primary-basic']\n : theme.colors['border-brand-primary'],\n colorChecked: theme.colors['content-oncolor-primary'],\n backgroundColorChecked: theme.colors['bg-brand-primary-basic'],\n borderColorChecked: theme.colors['bg-brand-primary-basic'],\n colorDisabled: theme.colors['bg-onmain-secondary'],\n backgroundColorDisabled: indeterminate\n ? theme.colors['bg-disabled-active']\n : theme.colors['bg-disabled-large'],\n borderColorDisabled: indeterminate ? theme.colors['bg-disabled-active'] : theme.colors['border-disabled'],\n colorDisabledChecked: theme.colors['bg-onmain-secondary'],\n backgroundColorDisabledChecked: theme.colors['bg-disabled-active'],\n borderColorDisabledChecked: theme.colors['bg-disabled-active'],\n ...palette,\n })}\n `,\n },\n onColored: {\n error: css<StyledInputCheckboxProps>`\n ${({ theme, palette, indeterminate }) =>\n template({\n color: theme.colors['content-oncolor-primary'],\n backgroundColor: indeterminate ? theme.colors['alert-bg-error-500'] : theme.colors['bg-onmain-secondary'],\n borderColor: indeterminate ? theme.colors['alert-bg-error-500'] : theme.colors['alert-error'],\n colorHover: theme.colors['content-oncolor-primary'],\n backgroundColorHover: indeterminate\n ? theme.colors['alert-bg-error-500']\n : theme.colors['bg-onmain-secondary'],\n borderColorHover: indeterminate ? theme.colors['alert-bg-error-500'] : theme.colors['alert-error'],\n colorChecked: theme.colors['content-oncolor-primary'],\n backgroundColorChecked: theme.colors['alert-bg-error-500'],\n borderColorChecked: theme.colors['alert-bg-error-500'],\n colorDisabled: theme.colors['bg-onmain-secondary'],\n backgroundColorDisabled: indeterminate\n ? theme.colors['bg-disabled-active']\n : theme.colors['bg-disabled-small'],\n borderColorDisabled: indeterminate ? theme.colors['bg-disabled-active'] : theme.colors['border-disabled'],\n colorDisabledChecked: theme.colors['bg-onmain-secondary'],\n backgroundColorDisabledChecked: theme.colors['bg-disabled-active'],\n borderColorDisabledChecked: theme.colors['bg-disabled-active'],\n ...palette,\n })}\n `,\n success: css<StyledInputCheckboxProps>`\n ${({ theme, palette, indeterminate }) =>\n template({\n color: theme.colors['content-oncolor-primary'],\n backgroundColor: indeterminate ? theme.colors['alert-bg-success-500'] : theme.colors['bg-onmain-secondary'],\n borderColor: indeterminate ? theme.colors['alert-bg-success-500'] : theme.colors['alert-success'],\n colorHover: theme.colors['content-oncolor-primary'],\n backgroundColorHover: indeterminate\n ? theme.colors['alert-bg-success-500']\n : theme.colors['bg-onmain-secondary'],\n borderColorHover: indeterminate ? theme.colors['alert-bg-success-500'] : theme.colors['alert-success'],\n colorChecked: theme.colors['content-oncolor-primary'],\n backgroundColorChecked: theme.colors['alert-bg-success-500'],\n borderColorChecked: theme.colors['alert-bg-success-500'],\n colorDisabled: theme.colors['bg-onmain-secondary'],\n backgroundColorDisabled: indeterminate\n ? theme.colors['bg-disabled-active']\n : theme.colors['bg-disabled-small'],\n borderColorDisabled: indeterminate ? theme.colors['bg-disabled-active'] : theme.colors['border-disabled'],\n colorDisabledChecked: theme.colors['bg-onmain-secondary'],\n backgroundColorDisabledChecked: theme.colors['bg-disabled-active'],\n borderColorDisabledChecked: theme.colors['bg-disabled-active'],\n ...palette,\n })}\n `,\n default: css<StyledInputCheckboxProps>`\n ${({ theme, palette, indeterminate }) =>\n template({\n color: theme.colors['bg-brand-primary-basic'],\n backgroundColor: indeterminate ? theme.colors['bg-oncolor-primary'] : theme.colors['bg-onmain-primary'],\n borderColor: indeterminate ? theme.colors['bg-oncolor-primary'] : theme.colors['border-onmain-default-small'],\n colorHover: theme.colors['bg-brand-primary-basic'],\n backgroundColorHover: indeterminate ? theme.colors['bg-oncolor-primary'] : theme.colors['bg-onmain-primary'],\n borderColorHover: indeterminate ? theme.colors['bg-oncolor-primary'] : theme.colors['border-brand-primary'],\n colorChecked: theme.colors['bg-brand-primary-basic'],\n backgroundColorChecked: theme.colors['bg-oncolor-primary'],\n borderColorChecked: theme.colors['bg-oncolor-primary'],\n colorDisabled: theme.colors['bg-onmain-secondary'],\n backgroundColorDisabled: indeterminate\n ? theme.colors['bg-disabled-active']\n : theme.colors['bg-disabled-small'],\n borderColorDisabled: indeterminate ? theme.colors['bg-disabled-active'] : theme.colors['border-disabled'],\n colorDisabledChecked: theme.colors['bg-onmain-secondary'],\n backgroundColorDisabledChecked: theme.colors['bg-disabled-active'],\n borderColorDisabledChecked: theme.colors['bg-disabled-active'],\n ...palette,\n })}\n `,\n },\n}\n\nexport const Root = styled.span\n .withConfig<StyledInputCheckboxProps>({\n shouldForwardProp: shouldForwardInputCheckboxProp,\n })\n .attrs(<Required<Pick<StyledInputCheckboxProps, 'dynamicSizeDeclaration'>>>{\n dynamicSizeDeclaration: (size, sizeUnits) => {\n return {\n fontSize: typeof size === 'string' ? size : `${size}${sizeUnits}`,\n height: '1em',\n width: '1em',\n borderRadius: '0.2em',\n }\n },\n })`\n ${(props) => `\n box-sizing: border-box;\n isolation: isolate;\n position: relative;\n display: ${props.inline ? 'inline-flex' : 'flex'};\n flex-shrink: 0;\n cursor: ${props.disabled ? 'not-allowed' : 'pointer'};\n & > ${Input} {\n cursor: inherit;\n }\n & > ${Input}:checked + ${InputMask} > ${InputChecked} {\n opacity: 1;\n }\n & > ${Input}:focus-visible + ${InputMask} {\n box-shadow: 0 0 0 2px ${props.theme.colors.white}, 0 0 0 4px ${props.theme.colors['border-focus']};\n outline: 2px solid transparent;\n outline-offset: 2px;\n }\n `}\n ${(props) => {\n const schema = props.onColored ? COLOR_SCHEMA.onColored : COLOR_SCHEMA.default\n\n if (props.error) return schema.error\n if (props.success) return schema.success\n\n return schema.default\n }}\n\n ${responsiveSize}\n`\n"],"names":["shouldForwardInputCheckboxProp","createShouldForwardProp","propKey","includes","Input","styled","input","withConfig","componentId","InputMask","span","InputChecked","Checked","InputIndeterminate","Indeterminate","template","palette","backgroundColor","concat","borderColor","color","backgroundColorHover","borderColorHover","colorHover","backgroundColorChecked","borderColorChecked","colorChecked","backgroundColorDisabled","borderColorDisabled","colorDisabled","backgroundColorDisabledChecked","borderColorDisabledChecked","colorDisabledChecked","COLOR_SCHEMA","default","error","css","_ref","theme","indeterminate","_objectSpread","colors","success","_ref2","_ref3","onColored","_ref4","_ref5","_ref6","Root","shouldForwardProp","attrs","dynamicSizeDeclaration","size","sizeUnits","fontSize","height","width","borderRadius","props","inline","disabled","white","schema","responsiveSize"],"mappings":"wUAOA,IAAMA,EAAiCC,GACpCC,IAAa,CAAC,SAAU,QAAS,UAAW,YAAa,gBAAiB,YAAYC,SAASD,KAGrFE,IAAAA,EAAQC,EAAOC,MAAVC,WAAA,CAAAC,YAAA,uBAAGH,CAAd,CAAA,gJAgBMI,IAAAA,EAAYJ,EAAOK,KAAVH,WAAA,CAAAC,YAAA,uBAAGH,CAAlB,CAAA,sOAcMM,EAAeN,EAAOO,GAAVL,WAAA,CAAAC,YAAA,uBAAGH,CAArB,CAAA,qHAUMQ,EAAqBR,EAAOS,GAAVP,WAAA,CAAAC,YAAA,uBAAGH,CAA3B,C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cY,EAAMG,OAAO,0BAC3BjB,uBAAwBc,EAAMG,OAAO,sBACrChB,mBAAoBa,EAAMG,OAAO,sBACjCZ,cAAeS,EAAMG,OAAO,uBAC5Bd,wBAAyBY,EACrBD,EAAMG,OAAO,sBACbH,EAAMG,OAAO,qBACjBb,oBAAqBW,EAAgBD,EAAMG,OAAO,sBAAwBH,EAAMG,OAAO,mBACvFT,qBAAsBM,EAAMG,OAAO,uBACnCX,+BAAgCQ,EAAMG,OAAO,sBAC7CV,2BAA4BO,EAAMG,OAAO,uBACtCzB,SAMN,IAAMiC,EAAO5C,EAAOK,KACxBH,WAAqC,CACpC2C,kBAAmBlD,IAEpBmD,MAA0E,CACzEC,uBAAwB,CAACC,EAAMC,MAE3BC,SAA0B,iBAATF,EAAoBA,EAAUA,GAAAA,OAAAA,GAAOC,OAAAA,GACtDE,OAAQ,MACRC,MAAO,MACPC,aAAc,YAVLnD,WAAA,CAAAC,YAAA,uBAAGH,CAcfsD,CAAAA,GAAAA,IAAAA,IAAAA,KAAAA,mHAIYA,EAAMC,OAAS,cAAgB,OAEhCD,4CAAAA,OAAAA,EAAME,SAAW,cAAgB,kCACrCzD,EAPR,qDAAAc,OAUQd,EAVR,eAAAc,OAU2BT,EAV3B,OAAAS,OAU0CP,EAGlCP,gDAAAA,OAAAA,8BAAyBK,EAbjC,sCAAAS,OAc4ByC,EAAMrB,MAAMG,OAAOqB,6BAAoBH,EAAMrB,MAAMG,OAAO,gBAdtF,2FAmBCkB,IACD,IAAMI,EAASJ,EAAMd,UAAYZ,EAAaY,UAAYZ,EAAaC,QAEvE,OAAIyB,EAAMxB,MAAc4B,EAAO5B,MAC3BwB,EAAMjB,QAAgBqB,EAAOrB,QAE1BqB,EAAO7B,UAGd8B"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"InputRadio.js","sources":["../../../../src/components/InputRadio/InputRadio.tsx"],"sourcesContent":["import { forwardRef } from 'react'\nimport { withMergedProps } from 'hocs/withMergedProps'\nimport { SIZES } from './constants'\nimport * as Styled from './style'\nimport type { InputRadioProps } from './types'\n\nconst COMPONENT_NAME = 'InputRadio'\n\n/**\n *\n * Component accepts all \\<input\\> attributes.\n *\n * Responsive \"size\" props are supported.\n *\n * Exposed \"ref\" attached to \\<input\\>.\n *\n * See full [InputRadioProps](https://github.com/foxford/ui/blob/master/src/components/InputRadio/types.ts)\n *\n * @visibleName Radio\n */\nconst InputRadio: React.ForwardRefExoticComponent<InputRadioProps> = withMergedProps<InputRadioProps, HTMLInputElement>(\n forwardRef(\n (\n {\n size = 'm',\n sizeXXS,\n sizeXS,\n sizeS,\n sizeM,\n sizeL,\n sizeXL,\n sizes,\n sizeUnits,\n inline,\n error,\n success,\n onColored,\n palette,\n style,\n className,\n disabled,\n ...inputProps\n },\n ref\n ) => {\n return (\n <Styled.Root\n size={size}\n sizeXXS={sizeXXS}\n sizeXS={sizeXS}\n sizeS={sizeS}\n sizeM={sizeM}\n sizeL={sizeL}\n sizeXL={sizeXL}\n sizes={sizes}\n sizeUnits={sizeUnits}\n inline={inline}\n error={error}\n success={success}\n onColored={onColored}\n palette={palette}\n style={style}\n className={className}\n disabled={disabled}\n >\n <Styled.Input {...inputProps} disabled={disabled} type='radio' ref={ref} />\n <Styled.InputMask />\n </Styled.Root>\n )\n }\n ),\n {\n displayName: COMPONENT_NAME,\n sizes: SIZES,\n }\n)\n\nexport { InputRadio, COMPONENT_NAME }\n"],"names":["COMPONENT_NAME","InputRadio","withMergedProps","forwardRef","_ref","ref","size","sizeXXS","sizeXS","sizeS","sizeM","sizeL","sizeXL","sizes","sizeUnits","inline","error","success","onColored","palette","style","className","disabled","inputProps","_objectWithoutProperties","_excluded","_jsxs","Styled.Root","children","_jsx","Styled.Input","type","Styled.InputMask","displayName","SIZES"],"mappings":"ihBAMMA,IAAAA,EAAiB,aAcjBC,IAAAA,EAA+DC,EACnEC,IACEC,EAqBEC,KACG,IArBHC,KACEA,EAAO,IADTC,QAEEA,EAFFC,OAGEA,EAHFC,MAIEA,EAJFC,MAKEA,EALFC,MAMEA,EANFC,OAOEA,EAPFC,MAQEA,EARFC,UASEA,EATFC,OAUEA,EAVFC,MAWEA,EAXFC,QAYEA,EAZFC,UAaEA,EAbFC,QAcEA,EAdFC,MAeEA,EAfFC,UAgBEA,EAhBFC,SAiBEA,GAIClB,EAHEmB,EAGFC,EAAApB,EAAAqB,GACH,OACEC,EAACC,EAAD,CACErB,KAAMA,EACNC,QAASA,EACTC,OAAQA,EACRC,MAAOA,EACPC,MAAOA,EACPC,MAAOA,EACPC,OAAQA,EACRC,MAAOA,EACPC,UAAWA,EACXC,OAAQA,EACRC,MAAOA,EACPC,QAASA,EACTC,UAAWA,EACXC,QAASA,EACTC,MAAOA,EACPC,UAAWA,EACXC,SAAUA,EAjBZM,SAAA,CAmBEC,EAACC,SAAiBP,GAAlB,GAAA,CAA8BD,SAAUA,EAAUS,KAAK,QAAQ1B,IAAKA,KACpEwB,EAACG,EApBH,UAyBN,CACEC,YAlEmB,aAmEnBpB,MAAOqB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"constants.js","sources":["../../../../src/components/InputRadio/constants.ts"],"sourcesContent":["import type { Sizes } from 'shared/types'\n\nexport const SIZES: Sizes = {\n xxxl: {\n width: 40,\n height: 40,\n },\n xxl: {\n width: 36,\n height: 36,\n },\n xl: {\n width: 32,\n height: 32,\n },\n l: {\n width: 28,\n height: 28,\n },\n m: {\n width: 24,\n height: 24,\n },\n s: {\n width: 20,\n height: 20,\n },\n xs: {\n width: 18,\n height: 18,\n },\n xxs: {\n width: 16,\n height: 16,\n },\n xxxs: {\n width: 14,\n height: 14,\n },\n}\n"],"names":["SIZES","xxxl","width","height","xxl","xl","l","m","s","xs","xxs","xxxs"],"mappings":"AAEO,IAAMA,EAAe,CAC1BC,KAAM,CACJC,MAAO,GACPC,OAAQ,IAEVC,IAAK,CACHF,MAAO,GACPC,OAAQ,IAEVE,GAAI,CACFH,MAAO,GACPC,OAAQ,IAEVG,EAAG,CACDJ,MAAO,GACPC,OAAQ,IAEVI,EAAG,CACDL,MAAO,GACPC,OAAQ,IAEVK,EAAG,CACDN,MAAO,GACPC,OAAQ,IAEVM,GAAI,CACFP,MAAO,GACPC,OAAQ,IAEVO,IAAK,CACHR,MAAO,GACPC,OAAQ,IAEVQ,KAAM,CACJT,MAAO,GACPC,OAAQ"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"style.js","sources":["../../../../src/components/InputRadio/style.ts"],"sourcesContent":["import styled, { css } from 'styled-components'\nimport { createShouldForwardProp } from 'shared/utils/style'\nimport { responsiveSize } from 'mixins/responsive-size'\nimport type { StyledInputRadioProps, InputRadioPalette } from './types'\n\nconst shouldForwardInputRadioProp = createShouldForwardProp(\n (propKey) => !['inline', 'error', 'success', 'onColored', 'disabled'].includes(propKey)\n)\n\nexport const Input = styled.input`\n box-sizing: border-box;\n position: absolute;\n top: 0;\n left: 0;\n margin: 0;\n border: none;\n opacity: 0;\n width: 100%;\n height: 100%;\n z-index: 1;\n &:focus {\n outline: none;\n }\n`\n\nexport const InputMask = styled.span`\n box-sizing: border-box;\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n border-radius: inherit;\n border: 1px solid transparent;\n transition-property: border-color;\n transition-duration: 150ms;\n transition-timing-function: ease-in;\n &::before {\n content: '';\n position: absolute;\n width: 40%;\n height: 40%;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n border-radius: 50%;\n opacity: 0;\n }\n`\n\nconst template = (palette: InputRadioPalette) => `\n & > ${InputMask} {\n background-color: ${palette.backgroundColor};\n border-color: ${palette.borderColor};\n }\n & > ${InputMask}::before {\n background-color: ${palette.color};\n }\n &:hover > ${InputMask} {\n background-color: ${palette.backgroundColorHover};\n border-color: ${palette.borderColorHover};\n }\n &:hover > ${InputMask}::before {\n background-color: ${palette.colorHover};\n }\n & > ${Input}:checked:not(:disabled) + ${InputMask} {\n background-color: ${palette.backgroundColorChecked};\n border-color: ${palette.borderColorChecked};\n }\n & > ${Input}:checked:not(:disabled) + ${InputMask}::before {\n background-color: ${palette.colorChecked};\n }\n & > ${Input}:disabled:not(:checked) + ${InputMask} {\n background-color: ${palette.backgroundColorDisabled};\n border-color: ${palette.borderColorDisabled};\n }\n & > ${Input}:disabled:not(:checked) + ${InputMask}::before {\n background-color: ${palette.colorDisabled};\n }\n & > ${Input}:disabled:checked + ${InputMask} {\n background-color: ${palette.backgroundColorDisabledChecked};\n border-color: ${palette.borderColorDisabledChecked};\n }\n & > ${Input}:disabled:checked + ${InputMask}::before {\n background-color: ${palette.colorDisabledChecked};\n }\n`\n\nconst COLOR_SCHEMA = {\n default: {\n error: css<StyledInputRadioProps>`\n ${(props) =>\n template({\n color: props.theme.colors['content-oncolor-primary'],\n backgroundColor: props.theme.colors['bg-onmain-primary'],\n borderColor: props.theme.colors['alert-bg-error-500'],\n colorHover: props.theme.colors['content-oncolor-primary'],\n backgroundColorHover: props.theme.colors['bg-onmain-primary'],\n borderColorHover: props.theme.colors['alert-bg-error-500'],\n colorChecked: props.theme.colors['content-oncolor-primary'],\n backgroundColorChecked: props.theme.colors['alert-bg-error-500'],\n borderColorChecked: props.theme.colors['alert-bg-error-500'],\n colorDisabled: props.theme.colors['bg-onmain-secondary'],\n backgroundColorDisabled: props.theme.colors['bg-disabled-large'],\n borderColorDisabled: props.theme.colors['border-disabled'],\n colorDisabledChecked: props.theme.colors['bg-onmain-secondary'],\n backgroundColorDisabledChecked: props.theme.colors['bg-disabled-active'],\n borderColorDisabledChecked: props.theme.colors['bg-disabled-active'],\n ...props.palette,\n })}\n `,\n success: css<StyledInputRadioProps>`\n ${(props) =>\n template({\n color: props.theme.colors['content-oncolor-primary'],\n backgroundColor: props.theme.colors['bg-onmain-primary'],\n borderColor: props.theme.colors['alert-bg-success-500'],\n colorHover: props.theme.colors['content-oncolor-primary'],\n backgroundColorHover: props.theme.colors['bg-onmain-primary'],\n borderColorHover: props.theme.colors['alert-bg-success-500'],\n colorChecked: props.theme.colors['content-oncolor-primary'],\n backgroundColorChecked: props.theme.colors['alert-bg-success-500'],\n borderColorChecked: props.theme.colors['alert-bg-success-500'],\n colorDisabled: props.theme.colors['bg-onmain-secondary'],\n backgroundColorDisabled: props.theme.colors['bg-disabled-large'],\n borderColorDisabled: props.theme.colors['border-disabled'],\n colorDisabledChecked: props.theme.colors['bg-onmain-secondary'],\n backgroundColorDisabledChecked: props.theme.colors['bg-disabled-active'],\n borderColorDisabledChecked: props.theme.colors['bg-disabled-active'],\n ...props.palette,\n })}\n `,\n default: css<StyledInputRadioProps>`\n ${(props) =>\n template({\n color: props.theme.colors['content-oncolor-primary'],\n backgroundColor: props.theme.colors['bg-onmain-primary'],\n borderColor: props.theme.colors['border-onmain-default-small'],\n colorHover: props.theme.colors['content-oncolor-primary'],\n backgroundColorHover: props.theme.colors['bg-onmain-primary'],\n borderColorHover: props.theme.colors['border-brand-primary'],\n colorChecked: props.theme.colors['content-oncolor-primary'],\n backgroundColorChecked: props.theme.colors['bg-brand-primary-basic'],\n borderColorChecked: props.theme.colors['bg-brand-primary-basic'],\n colorDisabled: props.theme.colors['bg-onmain-secondary'],\n backgroundColorDisabled: props.theme.colors['bg-disabled-large'],\n borderColorDisabled: props.theme.colors['border-disabled'],\n colorDisabledChecked: props.theme.colors['bg-onmain-secondary'],\n backgroundColorDisabledChecked: props.theme.colors['bg-disabled-active'],\n borderColorDisabledChecked: props.theme.colors['bg-disabled-active'],\n ...props.palette,\n })}\n `,\n },\n onColored: {\n error: css<StyledInputRadioProps>`\n ${(props) =>\n template({\n color: props.theme.colors['content-oncolor-primary'],\n backgroundColor: props.theme.colors['bg-onmain-secondary'],\n borderColor: props.theme.colors['alert-error'],\n colorHover: props.theme.colors['content-oncolor-primary'],\n backgroundColorHover: props.theme.colors['bg-onmain-secondary'],\n borderColorHover: props.theme.colors['alert-error'],\n colorChecked: props.theme.colors['content-oncolor-primary'],\n backgroundColorChecked: props.theme.colors['alert-bg-error-500'],\n borderColorChecked: props.theme.colors['alert-bg-error-500'],\n colorDisabled: props.theme.colors['bg-onmain-secondary'],\n backgroundColorDisabled: props.theme.colors['bg-disabled-small'],\n borderColorDisabled: props.theme.colors['border-disabled'],\n colorDisabledChecked: props.theme.colors['bg-onmain-secondary'],\n backgroundColorDisabledChecked: props.theme.colors['bg-disabled-active'],\n borderColorDisabledChecked: props.theme.colors['bg-disabled-active'],\n ...props.palette,\n })}\n `,\n success: css<StyledInputRadioProps>`\n ${(props) =>\n template({\n color: props.theme.colors['content-oncolor-primary'],\n backgroundColor: props.theme.colors['bg-onmain-secondary'],\n borderColor: props.theme.colors['alert-success'],\n colorHover: props.theme.colors['content-oncolor-primary'],\n backgroundColorHover: props.theme.colors['bg-onmain-secondary'],\n borderColorHover: props.theme.colors['alert-success'],\n colorChecked: props.theme.colors['content-oncolor-primary'],\n backgroundColorChecked: props.theme.colors['alert-bg-success-500'],\n borderColorChecked: props.theme.colors['alert-bg-success-500'],\n colorDisabled: props.theme.colors['bg-onmain-secondary'],\n backgroundColorDisabled: props.theme.colors['bg-disabled-small'],\n borderColorDisabled: props.theme.colors['border-disabled'],\n colorDisabledChecked: props.theme.colors['bg-onmain-secondary'],\n backgroundColorDisabledChecked: props.theme.colors['bg-disabled-active'],\n borderColorDisabledChecked: props.theme.colors['bg-disabled-active'],\n ...props.palette,\n })}\n `,\n default: css<StyledInputRadioProps>`\n ${(props) =>\n template({\n color: props.theme.colors['bg-brand-primary-basic'],\n backgroundColor: props.theme.colors['bg-onmain-primary'],\n borderColor: props.theme.colors['border-onmain-default-small'],\n colorHover: props.theme.colors['bg-brand-primary-basic'],\n backgroundColorHover: props.theme.colors['bg-onmain-primary'],\n borderColorHover: props.theme.colors['border-brand-primary'],\n colorChecked: props.theme.colors['bg-brand-primary-basic'],\n backgroundColorChecked: props.theme.colors['bg-oncolor-primary'],\n borderColorChecked: props.theme.colors['bg-oncolor-primary'],\n colorDisabled: props.theme.colors['bg-onmain-secondary'],\n backgroundColorDisabled: props.theme.colors['bg-disabled-small'],\n borderColorDisabled: props.theme.colors['border-disabled'],\n colorDisabledChecked: props.theme.colors['bg-onmain-secondary'],\n backgroundColorDisabledChecked: props.theme.colors['bg-disabled-active'],\n borderColorDisabledChecked: props.theme.colors['bg-disabled-active'],\n ...props.palette,\n })}\n `,\n },\n}\n\nexport const Root = styled.span\n .withConfig<StyledInputRadioProps>({\n shouldForwardProp: shouldForwardInputRadioProp,\n })\n .attrs(<Required<Pick<StyledInputRadioProps, 'dynamicSizeDeclaration'>>>{\n dynamicSizeDeclaration: (size, sizeUnits) => {\n return {\n fontSize: typeof size === 'string' ? size : `${size}${sizeUnits}`,\n height: '1em',\n width: '1em',\n }\n },\n })`\n ${(props) => `\n box-sizing: border-box;\n isolation: isolate;\n position: relative;\n display: ${props.inline ? 'inline-flex' : 'flex'};\n border-radius: 50%;\n flex-shrink: 0;\n cursor: ${props.disabled ? 'not-allowed' : 'pointer'};\n & > ${Input} {\n cursor: inherit;\n }\n & > ${Input}:checked + ${InputMask}::before {\n opacity: 1;\n }\n & > ${Input}:focus-visible + ${InputMask} {\n box-shadow: 0 0 0 2px ${props.theme.colors.white}, 0 0 0 4px ${props.theme.colors['border-focus']};\n outline: 2px solid transparent;\n outline-offset: 2px;\n }\n `}\n ${(props) => {\n const schema = props.onColored ? COLOR_SCHEMA.onColored : COLOR_SCHEMA.default\n\n if (props.error) return schema.error\n if (props.success) return schema.success\n\n return schema.default\n }}\n\n ${responsiveSize}\n`\n"],"names":["shouldForwardInputRadioProp","createShouldForwardProp","propKey","includes","Input","styled","input","withConfig","componentId","InputMask","span","template","palette","concat","backgroundColor","borderColor","color","backgroundColorHover","borderColorHover","colorHover","backgroundColorChecked","borderColorChecked","colorChecked","backgroundColorDisabled","borderColorDisabled","colorDisabled","backgroundColorDisabledChecked","borderColorDisabledChecked","colorDisabledChecked","COLOR_SCHEMA","default","error","css","props","_objectSpread","theme","colors","success","onColored","Root","shouldForwardProp","attrs","dynamicSizeDeclaration","size","sizeUnits","fontSize","height","width","inline","disabled","white","schema","respons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C,EAAOK,KACxBH,WAAkC,CACjCiC,kBAAmBxC,IAEpByC,MAAuE,CACtEC,uBAAwB,CAACC,EAAMC,KAAAA,CAE3BC,SAA0B,iBAATF,EAAoBA,EAAUA,GAAAA,OAAAA,GAAOC,OAAAA,GACtDE,OAAQ,MACRC,MAAO,UATExC,WAAA,CAAAC,YAAA,uBAAGH,CAaf4B,CAAAA,GAAAA,IAAAA,IAAAA,KAAAA,mHAIYA,EAAMe,OAAS,cAAgB,OAJ5C,uEAAAnC,OAOYoB,EAAMgB,SAAW,cAAgB,UACrC7C,iBAAAA,OAAAA,EAGAA,qDAAAA,OAAAA,EAAmBK,eAAAA,OAAAA,iEAGnBL,EAdR,qBAAAS,OAciCJ,EACLwB,sCAAAA,OAAAA,EAAME,MAAMC,OAAOc,MAf/C,gBAAArC,OAemEoB,EAAME,MAAMC,OAAO,gBAftF,2FAoBCH,IACD,IAAMkB,EAASlB,EAAMK,UAAYT,EAAaS,UAAYT,EAAaC,QAEvE,OAAIG,EAAMF,MAAcoB,EAAOpB,MAC3BE,EAAMI,QAAgBc,EAAOd,QAE1Bc,EAAOrB,UAGdsB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ListItem.js","sources":["../../../../src/components/ListItem/ListItem.tsx"],"sourcesContent":["import { forwardRef, cloneElement, isValidElement } from 'react'\nimport { withMergedProps } from 'hocs/withMergedProps'\nimport { Icon } from 'components/Icon'\nimport { Skeleton } from 'components/Skeleton'\nimport { Text } from 'components/Text'\nimport type { TextProps } from 'components/Text'\nimport { SIZES } from './constants'\nimport * as Styled from './style'\nimport type { ListItemProps } from './types'\n\nconst COMPONENT_NAME = 'ListItem'\n\n/**\n *\n * Component accepts all root HTML attributes.\n *\n * Responsive \"size\", \"margin\" props are supported.\n *\n * Exposed \"ref\" attached to root node.\n *\n * See full [ListItemProps](https://github.com/foxford/ui/blob/master/src/components/ListItem/types.ts)\n */\nconst ListItem: React.ForwardRefExoticComponent<ListItemProps> = withMergedProps<ListItemProps>(\n forwardRef((props, ref) => {\n const {\n size = 's',\n borderRadius = 0,\n mediaBorderRadius = '50%',\n controlPosition = 'left',\n captionPosition = 'bottom',\n ellipsis = true,\n iconProps = {},\n textProps = {},\n captionProps = {},\n sizeXXS,\n sizeXS,\n sizeS,\n sizeM,\n sizeL,\n sizeXL,\n text,\n children,\n control,\n icon,\n media,\n caption,\n addon,\n onColored,\n disabled,\n loading,\n ...restProps\n } = props\n\n let rootNode: ListItemProps['as']\n\n if (control) rootNode = 'label'\n if (restProps.href) rootNode = 'a'\n if (restProps.as) rootNode = restProps.as\n\n let rootType: ListItemProps['type']\n\n if (!rootNode) rootType = 'button'\n if (restProps.type) rootType = restProps.type\n\n const sizeProps = {\n size,\n sizeXXS,\n sizeXS,\n sizeS,\n sizeM,\n sizeL,\n sizeXL,\n }\n\n const stateProps = {\n onColored,\n disabled,\n }\n\n const controlProps =\n typeof control === 'object' && typeof control.props === 'object' && control.props !== null ? control.props : {}\n\n const [before, after] = Array.isArray(icon) ? icon : [icon]\n\n const textBaseProps: TextProps = { appearance: 'body', size: 'inherit', color: 'inherit' }\n\n const captionBaseProps: TextProps = { appearance: 'body', size: 0.9, sizeUnits: 'em', color: 'inherit' }\n\n return (\n <Styled.Root\n {...sizeProps}\n {...stateProps}\n {...restProps}\n as={rootNode}\n type={rootType}\n borderRadius={borderRadius}\n mediaBorderRadius={mediaBorderRadius}\n ref={ref}\n >\n {typeof children === 'function' ? (\n children({\n textProps: textBaseProps,\n captionProps: captionBaseProps,\n })\n ) : (\n <>\n {loading ? (\n <>\n {media && (\n <Styled.Media>\n <Skeleton width='100%' height='100%' borderRadius='inherit' />\n </Styled.Media>\n )}\n <Styled.Content>\n <Skeleton width='100%' borderRadius={4}>\n <Text {...textBaseProps} {...textProps} />\n </Skeleton>\n </Styled.Content>\n </>\n ) : (\n <>\n {control &&\n controlPosition === 'left' &&\n (typeof control === 'function'\n ? control({ ...sizeProps, ...stateProps })\n : cloneElement(control, { ...sizeProps, ...stateProps, ...controlProps }))}\n {before && (\n <Icon\n preset='brand'\n name={typeof before === 'string' ? before : undefined}\n icon={typeof before !== 'string' ? before : undefined}\n {...iconProps}\n />\n )}\n {media && (\n <Styled.Media>{isValidElement(media) ? media : <Styled.Img alt='' {...media} />}</Styled.Media>\n )}\n {(children || text || caption) && (\n <Styled.Content>\n {caption && captionPosition === 'top' && (\n <Styled.Typography forwardedAs='span' ellipsis={ellipsis} {...captionBaseProps} {...captionProps}>\n {caption}\n </Styled.Typography>\n )}\n {(children || text) && (\n <Styled.Typography forwardedAs='span' ellipsis={ellipsis} {...textBaseProps} {...textProps}>\n {children ?? text}\n </Styled.Typography>\n )}\n {caption && captionPosition === 'bottom' && (\n <Styled.Typography forwardedAs='span' ellipsis={ellipsis} {...captionBaseProps} {...captionProps}>\n {caption}\n </Styled.Typography>\n )}\n </Styled.Content>\n )}\n {addon}\n {after && (\n <Icon\n preset='brand'\n name={typeof after === 'string' ? after : undefined}\n icon={typeof after !== 'string' ? after : undefined}\n {...iconProps}\n />\n )}\n {control &&\n controlPosition === 'right' &&\n (typeof control === 'function'\n ? control({ ...sizeProps, ...stateProps })\n : cloneElement(control, { ...sizeProps, ...stateProps, ...controlProps }))}\n </>\n )}\n </>\n )}\n </Styled.Root>\n )\n }),\n {\n displayName: COMPONENT_NAME,\n sizes: SIZES,\n }\n)\n\nexport { ListItem }\n"],"names":["ListItem","withMergedProps","forwardRef","props","ref","size","borderRadius","mediaBorderRadius","controlPosition","captionPosition","ellipsis","iconProps","textProps","captionProps","sizeXXS","sizeXS","sizeS","sizeM","sizeL","sizeXL","text","children","control","icon","media","caption","addon","onColored","disabled","loading","restProps","_excluded","rootNode","rootType","href","as","type","sizeProps","stateProps","controlProps","before","after","Array","isArray","textBaseProps","appearance","color","captionBaseProps","sizeUnits","_jsx","Styled.Root","_Fragment","_jsxs","Styled.Media","Skeleton","width","height","Styled.Content","Text","_objectSpread","cloneElement","Icon","preset","name","undefined","isValidElement","Styled.Img","alt","Styled.Typography","forw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B,GACVwC,EAACmB,EAADT,EAAAA,EAAAA,EAAA,CAAmBU,YAAY,OAAO3D,SAAUA,GAAcqC,GAAsBlC,GAApF,GAAA,CAAAQ,SACGI,QAKRC,EACAe,GACCQ,EAACY,EAADF,EAAA,CACEG,OAAO,QACPC,KAAuB,iBAAVtB,EAAqBA,OAAAA,EAClClB,KAAuB,iBAAVkB,EAAqBA,UAC9B9B,IAGPW,GACqB,UAApBd,IACoB,mBAAZc,EACJA,EAAae,EAAAA,EAAAA,GAAAA,GAAcC,IAC3BsB,EAAatC,EAAce,EAAAA,EAAAA,EAAAA,GAAAA,GAAcC,GAAeC,gBAQ5E,CACE+B,YAxKmB,WAyKnBC,MAAOC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"constants.js","sources":["../../../../src/components/ListItem/constants.ts"],"sourcesContent":["import type { Sizes } from 'shared/types'\n\nexport const SIZES: Sizes = {\n xxxl: {\n fontSize: 20,\n paddingTop: 16,\n paddingRight: 20,\n paddingBottom: 16,\n paddingLeft: 20,\n },\n xxl: {\n fontSize: 20,\n paddingTop: 16,\n paddingRight: 20,\n paddingBottom: 16,\n paddingLeft: 20,\n },\n xl: {\n fontSize: 20,\n paddingTop: 16,\n paddingRight: 20,\n paddingBottom: 16,\n paddingLeft: 20,\n },\n l: {\n fontSize: 18,\n paddingTop: 10,\n paddingRight: 16,\n paddingBottom: 10,\n paddingLeft: 16,\n },\n m: {\n fontSize: 16,\n paddingTop: 8,\n paddingRight: 12,\n paddingBottom: 8,\n paddingLeft: 12,\n },\n s: {\n fontSize: 14,\n paddingTop: 6,\n paddingRight: 10,\n paddingBottom: 6,\n paddingLeft: 10,\n },\n xs: {\n fontSize: 14,\n paddingTop: 6,\n paddingRight: 10,\n paddingBottom: 6,\n paddingLeft: 10,\n },\n xxs: {\n fontSize: 14,\n paddingTop: 6,\n paddingRight: 10,\n paddingBottom: 6,\n paddingLeft: 10,\n },\n xxxs: {\n fontSize: 14,\n paddingTop: 6,\n paddingRight: 10,\n paddingBottom: 6,\n paddingLeft: 10,\n },\n}\n"],"names":["SIZES","xxxl","fontSize","paddingTop","paddingRight","paddingBottom","paddingLeft","xxl","xl","l","m","s","xs","xxs","xxxs"],"mappings":"AAEO,IAAMA,EAAe,CAC1BC,KAAM,CACJC,SAAU,GACVC,WAAY,GACZC,aAAc,GACdC,cAAe,GACfC,YAAa,IAEfC,IAAK,CACHL,SAAU,GACVC,WAAY,GACZC,aAAc,GACdC,cAAe,GACfC,YAAa,IAEfE,GAAI,CACFN,SAAU,GACVC,WAAY,GACZC,aAAc,GACdC,cAAe,GACfC,YAAa,IAEfG,EAAG,CACDP,SAAU,GACVC,WAAY,GACZC,aAAc,GACdC,cAAe,GACfC,YAAa,IAEfI,EAAG,CACDR,SAAU,GACVC,WAAY,EACZC,aAAc,GACdC,cAAe,EACfC,YAAa,IAEfK,EAAG,CACDT,SAAU,GACVC,WAAY,EACZC,aAAc,GACdC,cAAe,EACfC,YAAa,IAEfM,GAAI,CACFV,SAAU,GACVC,WAAY,EACZC,aAAc,GACdC,cAAe,EACfC,YAAa,IAEfO,IAAK,CACHX,SAAU,GACVC,WAAY,EACZC,aAAc,GACdC,cAAe,EACfC,YAAa,IAEfQ,KAAM,CACJZ,SAAU,GACVC,WAAY,EACZC,aAAc,GACdC,cAAe,EACfC,YAAa"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"style.js","sources":["../../../../src/components/ListItem/style.ts"],"sourcesContent":["import styled, { css } from 'styled-components'\nimport { responsiveSize } from 'mixins/responsive-size'\nimport { responsiveMargin } from 'mixins/responsive-margin'\nimport { focus } from 'mixins/focus'\nimport { createShouldForwardProp } from 'shared/utils/style'\nimport { Text } from 'components/Text'\nimport type { StyledListItemProps, ListItemPalette, TypographyProps } from './types'\n\nconst shouldForwardListItemProp = createShouldForwardProp(\n (propKey) => !['danger', 'success', 'active', 'onColored', 'mediaBorderRadius', 'borderRadius'].includes(propKey)\n)\n\nexport const Media = styled.span`\n box-sizing: border-box;\n flex-shrink: 0;\n width: 2.2em;\n height: 2.2em;\n\n & > * {\n box-sizing: border-box;\n width: 100%;\n height: 100%;\n }\n`\n\nconst template = (palette: ListItemPalette) => `\n color: ${palette.color};\n background-color: ${palette.backgroundColor};\n &:hover {\n color: ${palette.colorHover};\n background-color: ${palette.backgroundColorHover};\n }\n\n & ${Media} img {\n background-color: ${palette.mediaPlaceholderColor};\n }\n`\n\nconst COLOR_SCHEMA = {\n onColored: {\n danger: {\n disabled: css<StyledListItemProps>`\n ${(props) =>\n template({\n color: props.theme.colors['content-oncolor-disabled'],\n backgroundColor: props.theme.colors.transparent,\n colorHover: props.theme.colors['content-oncolor-disabled'],\n backgroundColorHover: props.theme.colors.transparent,\n mediaPlaceholderColor: props.theme.colors['bg-oncontrast-hover'],\n ...props.palette,\n })}\n `,\n active: css<StyledListItemProps>`\n ${(props) =>\n template({\n color: props.theme.colors['alert-error'],\n backgroundColor: props.theme.colors['alert-bg-error-100'],\n colorHover: props.theme.colors['alert-error'],\n backgroundColorHover: props.theme.colors['alert-bg-error-100'],\n mediaPlaceholderColor: props.theme.colors['bg-oncontrast-hover'],\n ...props.palette,\n })}\n `,\n default: css<StyledListItemProps>`\n ${(props) =>\n template({\n color: props.theme.colors['content-oncolor-primary'],\n backgroundColor: props.theme.colors.transparent,\n colorHover: props.theme.colors['content-oncolor-primary'],\n backgroundColorHover: props.theme.colors['bg-oncontrast-hover'],\n mediaPlaceholderColor: props.theme.colors['bg-oncontrast-hover'],\n ...props.palette,\n })}\n `,\n },\n success: {\n disabled: css<StyledListItemProps>`\n ${(props) =>\n template({\n color: props.theme.colors['content-oncolor-disabled'],\n backgroundColor: props.theme.colors.transparent,\n colorHover: props.theme.colors['content-oncolor-disabled'],\n backgroundColorHover: props.theme.colors.transparent,\n mediaPlaceholderColor: props.theme.colors['bg-oncontrast-hover'],\n ...props.palette,\n })}\n `,\n active: css<StyledListItemProps>`\n ${(props) =>\n template({\n color: props.theme.colors['alert-success'],\n backgroundColor: props.theme.colors['alert-bg-success-100'],\n colorHover: props.theme.colors['alert-success'],\n backgroundColorHover: props.theme.colors['alert-bg-success-100'],\n mediaPlaceholderColor: props.theme.colors['bg-oncontrast-hover'],\n ...props.palette,\n })}\n `,\n default: css<StyledListItemProps>`\n ${(props) =>\n template({\n color: props.theme.colors['content-oncolor-primary'],\n backgroundColor: props.theme.colors.transparent,\n colorHover: props.theme.colors['content-oncolor-primary'],\n backgroundColorHover: props.theme.colors['bg-oncontrast-hover'],\n mediaPlaceholderColor: props.theme.colors['bg-oncontrast-hover'],\n ...props.palette,\n })}\n `,\n },\n secondary: {\n disabled: css<StyledListItemProps>`\n ${(props) =>\n template({\n color: props.theme.colors['content-oncolor-disabled'],\n backgroundColor: props.theme.colors.transparent,\n colorHover: props.theme.colors['content-oncolor-disabled'],\n backgroundColorHover: props.theme.colors.transparent,\n mediaPlaceholderColor: props.theme.colors['bg-oncontrast-hover'],\n ...props.palette,\n })}\n `,\n active: css<StyledListItemProps>`\n ${(props) =>\n template({\n color: props.theme.colors['content-brand-primary'],\n backgroundColor: props.theme.colors['bg-brand-primary-100-active'],\n colorHover: props.theme.colors['content-brand-primary'],\n backgroundColorHover: props.theme.colors['bg-brand-primary-100-active'],\n mediaPlaceholderColor: props.theme.colors['bg-oncontrast-hover'],\n ...props.palette,\n })}\n `,\n default: css<StyledListItemProps>`\n ${(props) =>\n template({\n color: props.theme.colors['content-oncolor-primary'],\n backgroundColor: props.theme.colors.transparent,\n colorHover: props.theme.colors['content-oncolor-primary'],\n backgroundColorHover: props.theme.colors['bg-oncontrast-hover'],\n mediaPlaceholderColor: props.theme.colors['bg-oncontrast-hover'],\n ...props.palette,\n })}\n `,\n },\n primary: {\n disabled: css<StyledListItemProps>`\n ${(props) =>\n template({\n color: props.theme.colors['content-oncolor-disabled'],\n backgroundColor: props.theme.colors.transparent,\n colorHover: props.theme.colors['content-oncolor-disabled'],\n backgroundColorHover: props.theme.colors.transparent,\n mediaPlaceholderColor: props.theme.colors['bg-oncontrast-hover'],\n ...props.palette,\n })}\n `,\n active: css<StyledListItemProps>`\n ${(props) =>\n template({\n color: props.theme.colors['content-brand-primary'],\n backgroundColor: props.theme.colors['bg-brand-primary-100-active'],\n colorHover: props.theme.colors['content-brand-primary'],\n backgroundColorHover: props.theme.colors['bg-brand-primary-100-active'],\n mediaPlaceholderColor: props.theme.colors['bg-oncontrast-hover'],\n ...props.palette,\n })}\n `,\n default: css<StyledListItemProps>`\n ${(props) =>\n template({\n color: props.theme.colors['content-oncolor-primary'],\n backgroundColor: props.theme.colors.transparent,\n colorHover: props.theme.colors['content-oncolor-primary'],\n backgroundColorHover: props.theme.colors['bg-oncontrast-hover'],\n mediaPlaceholderColor: props.theme.colors['bg-oncontrast-hover'],\n ...props.palette,\n })}\n `,\n },\n },\n default: {\n danger: {\n disabled: css<StyledListItemProps>`\n ${(props) =>\n template({\n color: props.theme.colors['content-disabled'],\n backgroundColor: props.theme.colors.transparent,\n colorHover: props.theme.colors['content-disabled'],\n backgroundColorHover: props.theme.colors.transparent,\n mediaPlaceholderColor: props.theme.colors['bg-oncolor-hover'],\n ...props.palette,\n })}\n `,\n active: css<StyledListItemProps>`\n ${(props) =>\n template({\n color: props.theme.colors['alert-error'],\n backgroundColor: props.theme.colors['alert-bg-error-100'],\n colorHover: props.theme.colors['alert-error'],\n backgroundColorHover: props.theme.colors['alert-bg-error-100'],\n mediaPlaceholderColor: props.theme.colors['bg-oncolor-hover'],\n ...props.palette,\n })}\n `,\n default: css<StyledListItemProps>`\n ${(props) =>\n template({\n color: props.theme.colors['alert-error'],\n backgroundColor: props.theme.colors.transparent,\n colorHover: props.theme.colors['alert-error'],\n backgroundColorHover: props.theme.colors['bg-oncolor-hover'],\n mediaPlaceholderColor: props.theme.colors['bg-oncolor-hover'],\n ...props.palette,\n })}\n `,\n },\n success: {\n disabled: css<StyledListItemProps>`\n ${(props) =>\n template({\n color: props.theme.colors['content-disabled'],\n backgroundColor: props.theme.colors.transparent,\n colorHover: props.theme.colors['content-disabled'],\n backgroundColorHover: props.theme.colors.transparent,\n mediaPlaceholderColor: props.theme.colors['bg-oncolor-hover'],\n ...props.palette,\n })}\n `,\n active: css<StyledListItemProps>`\n ${(props) =>\n template({\n color: props.theme.colors['alert-success'],\n backgroundColor: props.theme.colors['alert-bg-success-100'],\n colorHover: props.theme.colors['alert-success'],\n backgroundColorHover: props.theme.colors['alert-bg-success-100'],\n mediaPlaceholderColor: props.theme.colors['bg-oncolor-hover'],\n ...props.palette,\n })}\n `,\n default: css<StyledListItemProps>`\n ${(props) =>\n template({\n color: props.theme.colors['alert-success'],\n backgroundColor: props.theme.colors.transparent,\n colorHover: props.theme.colors['alert-success'],\n backgroundColorHover: props.theme.colors['bg-oncolor-hover'],\n mediaPlaceholderColor: props.theme.colors['bg-oncolor-hover'],\n ...props.palette,\n })}\n `,\n },\n secondary: {\n disabled: css<StyledListItemProps>`\n ${(props) =>\n template({\n color: props.theme.colors['content-disabled'],\n backgroundColor: props.theme.colors.transparent,\n colorHover: props.theme.colors['content-disabled'],\n backgroundColorHover: props.theme.colors.transparent,\n mediaPlaceholderColor: props.theme.colors['bg-oncolor-hover'],\n ...props.palette,\n })}\n `,\n active: css<StyledListItemProps>`\n ${(props) =>\n template({\n color: props.theme.colors['content-brand-primary'],\n backgroundColor: props.theme.colors['bg-brand-primary-100-active'],\n colorHover: props.theme.colors['content-brand-primary'],\n backgroundColorHover: props.theme.colors['bg-brand-primary-100-active'],\n mediaPlaceholderColor: props.theme.colors['bg-oncolor-hover'],\n ...props.palette,\n })}\n `,\n default: css<StyledListItemProps>`\n ${(props) =>\n template({\n color: props.theme.colors['content-brand-primary'],\n backgroundColor: props.theme.colors.transparent,\n colorHover: props.theme.colors['content-brand-primary'],\n backgroundColorHover: props.theme.colors['bg-oncolor-hover'],\n mediaPlaceholderColor: props.theme.colors['bg-oncolor-hover'],\n ...props.palette,\n })}\n `,\n },\n primary: {\n disabled: css<StyledListItemProps>`\n ${(props) =>\n template({\n color: props.theme.colors['content-disabled'],\n backgroundColor: props.theme.colors.transparent,\n colorHover: props.theme.colors['content-disabled'],\n backgroundColorHover: props.theme.colors.transparent,\n mediaPlaceholderColor: props.theme.colors['bg-oncolor-hover'],\n ...props.palette,\n })}\n `,\n active: css<StyledListItemProps>`\n ${(props) =>\n template({\n color: props.theme.colors['content-brand-primary'],\n backgroundColor: props.theme.colors['bg-brand-primary-100-active'],\n colorHover: props.theme.colors['content-brand-primary'],\n backgroundColorHover: props.theme.colors['bg-brand-primary-100-active'],\n mediaPlaceholderColor: props.theme.colors['bg-oncolor-hover'],\n ...props.palette,\n })}\n `,\n default: css<StyledListItemProps>`\n ${(props) =>\n template({\n color: props.theme.colors['content-onmain-primary'],\n backgroundColor: props.theme.colors.transparent,\n colorHover: props.theme.colors['content-onmain-primary'],\n backgroundColorHover: props.theme.colors['bg-oncolor-hover'],\n mediaPlaceholderColor: props.theme.colors['bg-oncolor-hover'],\n ...props.palette,\n })}\n `,\n },\n },\n}\n\nexport const Root = styled.button\n .withConfig<StyledListItemProps>({\n shouldForwardProp: shouldForwardListItemProp,\n })\n .attrs<StyledListItemProps>(<Required<Pick<StyledListItemProps, 'dynamicSizeDeclaration'>>>{\n dynamicSizeDeclaration: (size, sizeUnits) => ({\n fontSize: typeof size === 'string' ? size : `${size}${sizeUnits}`,\n padding: '0.4em 0.8em',\n }),\n })`\n ${(props) => `\n box-sizing: border-box;\n display: flex;\n align-items: center;\n isolation: isolate;\n position: relative;\n cursor: ${props.disabled ? 'not-allowed' : 'pointer'};\n border-radius: ${typeof props.borderRadius === 'string' ? props.borderRadius : `${props.borderRadius}px`};\n border: none;\n text-decoration: none;\n appearance: none;\n text-align: start;\n width: 100%;\n min-width: min-content;\n transition-property: background-color;\n transition-duration: 150ms;\n transition-timing-function: ease-in;\n\n & ${Media} {\n border-radius: ${\n typeof props.mediaBorderRadius === 'string' ? props.mediaBorderRadius : `${props.mediaBorderRadius}px`\n };\n }\n\n & > *:not(:last-child) {\n margin-right: 12px;\n }\n `}\n\n ${(props) => {\n const schema = props.onColored ? COLOR_SCHEMA.onColored : COLOR_SCHEMA.default\n let schemaVariant = schema.primary\n\n if (props.secondary) schemaVariant = schema.secondary\n if (props.success) schemaVariant = schema.success\n if (props.danger) schemaVariant = schema.danger\n\n if (props.disabled) return schemaVariant.disabled\n if (props.active) return schemaVariant.active\n\n return schemaVariant.default\n }}\n\n ${focus}\n ${responsiveSize}\n ${responsiveMargin}\n`\n\nexport const Content = styled.span`\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n`\n\nexport const Img = styled.img`\n box-sizing: border-box;\n border-radius: inherit;\n object-fit: contain;\n`\n\nexport const Typography = styled(Text).withConfig<TypographyProps>({\n shouldForwardProp: (propKey) => propKey !== 'ellipsis',\n})`\n ${(props) =>\n props.ellipsis &&\n `\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n min-width: 100%;\n width: 5ch;\n `}\n`\n"],"names":["shouldForwardListItemProp","createShouldForwardProp","propKey","includes","Media","styled","span","withConfig","componentId","template","palette","color","concat","backgroundColor","colorHover","backgroundColorHover","mediaPlaceholderColor","COLOR_SCHEMA","onColored","danger","disabled","css","props","_objectSpread","theme","colors","transparent","active","default","success","secondary","primary","Root","button","shouldForwardProp","attrs","dynamicSizeDeclaration","size","sizeUnits","fontSize","padding","borderRadius","mediaBorderRadius","schema","schemaVariant","focus","responsiveSize","responsiveMargin","Content","Img","img","Typography","Text","ellipsis"],"mappings":"gYAQA,IAAMA,EAA4BC,GAC/BC,IAAa,CAAC,SAAU,UAAW,SAAU,YAAa,oBAAqB,gBAAgBC,SAASD,KAG9FE,IAAAA,EAAQC,EAAOC,KAAVC,WAAA,CAAAC,YAAA,wBAAGH,CAAd,CAAA,sHAaP,IAAMI,EAAYC,GACPA,cAAAA,OAAAA,EAAQC,MADF,2BAAAC,OAEKF,EAAQG,gBAFb,+BAAAD,OAIJF,EAAQI,WACGJ,6BAAAA,OAAAA,EAAQK,qBAG1BX,kBAAAA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,UAGrBiB,EACAC,EACAC,GAGSC,IAAAA,EAAU3C,EAAOC,KAAVC,WAAA,CAAAC,YAAA,wBAAGH,CAAhB,CAAA,0EAOM4C,IAAAA,EAAM5C,EAAO6C,IAAV3C,WAAA,CAAAC,YAAA,wBAAGH,CAAZ,CAAA,oEAMA,IAAM8C,EAAa9C,EAAO+C,GAAM7C,WAA4B,CACjE2B,kBAAoBhC,GAAwB,aAAZA,IADXK,WAAA,CAAAC,YAAA,wBAAGH,CAAH,CAAA,GAAA,KAGlBiB,GACDA,EAAM+B"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Menu.js","sources":["../../../../src/components/Menu/Menu.tsx"],"sourcesContent":["import { forwardRef, useRef } from 'react'\nimport { mergeDeepLeft } from 'ramda'\nimport { withMergedProps } from 'hocs/withMergedProps'\nimport { focusFirstFocusable } from 'shared/utils/dom'\nimport { Tooltip } from 'components/Tooltip'\nimport { MenuComponent, SIZES } from 'components/MenuComponent'\nimport { MenuList } from 'components/MenuList'\nimport { MenuContainer } from 'components/MenuContainer'\nimport { MenuDivider } from 'components/MenuDivider'\nimport type { MenuProps } from './types'\n\nconst COMPONENT_NAME = 'Menu'\n\n/**\n *\n * Component accepts [\"react-floater\"](https://www.npmjs.com/package/react-floater/v/0.8.2) v0.8.2 props.\n *\n * Responsive \"size\" props are supported.\n *\n * Exposed \"ref\" attached to menu component root.\n *\n * See full [MenuProps](https://github.com/foxford/ui/blob/master/src/components/Menu/types.ts)\n */\nconst Menu: React.ForwardRefExoticComponent<MenuProps> & {\n Component: typeof MenuComponent\n List: typeof MenuList\n Container: typeof MenuContainer\n Divider: typeof MenuDivider\n} = Object.assign(\n withMergedProps<MenuProps, HTMLDivElement>(\n forwardRef((props, ref) => {\n const {\n size = 'm',\n disableFlip = true,\n offset = 8,\n placement = 'bottom-start',\n styles = {},\n sizes,\n sizeUnits,\n render,\n primary,\n secondary,\n palette,\n autoFocus,\n disableAutoFocus,\n maxHeight,\n ...restProps\n } = props\n\n const trigger = useRef<HTMLElement | null>(null)\n\n return (\n <Tooltip\n {...restProps}\n ref={ref}\n preset='brand'\n size={size}\n hideArrow\n getPopper={(popper, origin) => {\n if (popper.state.elements.reference instanceof HTMLElement) {\n trigger.current = popper.state.elements.reference\n }\n\n if (restProps.getPopper) {\n restProps.getPopper(popper, origin)\n }\n }}\n callback={(action, tooltipProps) => {\n if (action === 'close' && trigger.current instanceof HTMLElement) {\n focusFirstFocusable(trigger.current)\n }\n\n if (restProps.callback) {\n restProps.callback(action, tooltipProps)\n }\n }}\n disableFlip={disableFlip}\n offset={offset}\n placement={placement}\n styles={mergeDeepLeft(\n styles,\n secondary\n ? { floater: { filter: 'none' }, wrapper: { cursor: 'pointer' } }\n : { wrapper: { cursor: 'pointer' } }\n )}\n component={\n <MenuComponent\n sizes={sizes}\n sizeUnits={sizeUnits}\n autoFocus={autoFocus}\n disableAutoFocus={disableAutoFocus}\n primary={primary}\n secondary={secondary}\n palette={palette}\n maxHeight={maxHeight}\n >\n {render}\n </MenuComponent>\n }\n />\n )\n }),\n {\n displayName: COMPONENT_NAME,\n sizes: SIZES,\n }\n ),\n {\n Component: MenuComponent,\n List: MenuList,\n Container: MenuContainer,\n Divider: MenuDivider,\n }\n)\n\nexport { Menu }\n"],"names":["Menu","Object","assign","withMergedProps","forwardRef","props","ref","size","disableFlip","offset","placement","styles","sizes","sizeUnits","render","primary","secondary","palette","autoFocus","disableAutoFocus","maxHeight","restProps","_excluded","trigger","useRef","_jsx","Tooltip","_objectSpread","preset","hideArrow","getPopper","popper","origin","state","elements","reference","HTMLElement","current","callback","action","tooltipProps","focusFirstFocusable","mergeDeepLeft","floater","filter","wrapper","cursor","component","MenuComponent","children","displayName","SIZES","Component","List","MenuList","Container","MenuContainer","Divider","MenuDivider"],"mappings":"22BAuBA,IAAMA,EAKFC,OAAOC,OACTC,EACEC,GAAAA,CAAYC,EAAOC,KACjB,IAAMC,KACJA,EAAO,IADHC,YAEJA,KAFIC,OAGJA,EAAS,EAHLC,UAIJA,EAAY,eAJRC,OAKJA,EAAS,GALLC,MAMJA,EANIC,UAOJA,EAPIC,OAQJA,EARIC,QASJA,EATIC,UAUJA,EAVIC,QAWJA,EAXIC,UAYJA,EAZIC,iBAaJA,EAbIC,UAcJA,GAEEf,EADCgB,IACDhB,EAhBJiB,GAkBA,IAAMC,EAAUC,EAA2B,MAE3C,OACEC,EAACC,EAADC,EAAAA,EAAA,GACMN,GADN,GAAA,CAEEf,IAAKA,EACLsB,OAAO,QACPrB,KAAMA,EACNsB,WAAAA,EACAC,UAAW,CAACC,EAAQC,KACdD,EAAOE,MAAMC,SAASC,qBAAqBC,cAC7Cb,EAAQc,QAAUN,EAAOE,MAAMC,SAASC,WAGtCd,EAAUS,WACZT,EAAUS,UAAUC,EAAQC,IAGhCM,SAAU,CAACC,EAAQC,KACF,UAAXD,GAAsBhB,EAAQc,mBAAmBD,aACnDK,EAAoBlB,EAAQc,SAG1BhB,EAAUiB,UACZjB,EAAUiB,SAASC,EAAQC,IAG/BhC,YAAaA,EACbC,OAAQA,EACRC,UAAWA,EACXC,OAAQ+B,EACN/B,EACAK,EACI,CAAE2B,QAAS,CAAEC,OAAQ,QAAUC,QAAS,CAAEC,OAAQ,YAClD,CAAED,QAAS,CAAEC,OAAQ,aAE3BC,UACEtB,EAACuB,EAAD,CACEpC,MAAOA,EACPC,UAAWA,EACXK,UAAWA,EACXC,iBAAkBA,EAClBJ,QAASA,EACTC,UAAWA,EACXC,QAASA,EACTG,UAAWA,EARb6B,SAUGnC,UAMX,CACEoC,YA5FiB,OA6FjBtC,MAAOuC,IAGX,CACEC,UAAWJ,EACXK,KAAMC,EACNC,UAAWC,EACXC,QAASC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"MenuComponent.js","sources":["../../../../src/components/MenuComponent/MenuComponent.tsx"],"sourcesContent":["import { forwardRef, useRef, useImperativeHandle, useEffect, isValidElement, cloneElement } from 'react'\nimport { withMergedProps } from 'hocs/withMergedProps'\nimport { focusFirstFocusable } from 'shared/utils/dom'\nimport { SIZES } from './constants'\nimport * as Styled from './style'\nimport type { MenuComponentProps } from './types'\n\nconst COMPONENT_NAME = 'MenuComponent'\n\nconst noop = () => undefined\n\n/**\n *\n * Component accepts all \\<div\\> attributes.\n *\n * Responsive \"size\" props are supported.\n *\n * Exposed \"ref\" attached to root node.\n *\n * See full [MenuComponentProps](https://github.com/foxford/ui/blob/master/src/components/MenuComponent/types.ts)\n */\nconst MenuComponent: React.ForwardRefExoticComponent<MenuComponentProps> = withMergedProps<\n MenuComponentProps,\n HTMLDivElement\n>(\n forwardRef((props, forwardedRef) => {\n const {\n size = 'm',\n maxHeight = 240,\n closeFn = noop,\n sizeXXS,\n sizeXS,\n sizeS,\n sizeM,\n sizeL,\n sizeXL,\n children,\n autoFocus,\n disableAutoFocus,\n showCloseButton,\n closeButtonProps,\n onUnmount,\n ...restProps\n } = props\n\n const ref = useRef<HTMLDivElement>(null)\n\n useImperativeHandle<HTMLDivElement | null, HTMLDivElement | null>(forwardedRef, () => ref.current)\n\n useEffect(() => {\n return () => {\n if (onUnmount) onUnmount()\n }\n }, [])\n\n useEffect(() => {\n const timerId = setTimeout(() => {\n if (!disableAutoFocus && ref.current) focusFirstFocusable(ref.current)\n }, 0)\n\n return () => {\n clearTimeout(timerId)\n }\n }, [autoFocus, disableAutoFocus])\n\n const sizeProps = {\n size,\n sizeXXS,\n sizeXS,\n sizeS,\n sizeM,\n sizeL,\n sizeXL,\n }\n\n const forwardProps = {\n showCloseButton,\n closeButtonProps,\n closeFn,\n }\n\n const elementProps =\n isValidElement(children) && typeof children.props === 'object' && children.props !== null ? children.props : {}\n\n return (\n <Styled.Root {...restProps} {...sizeProps} maxHeight={maxHeight} ref={ref}>\n {isValidElement(children)\n ? cloneElement(children, { ...sizeProps, ...forwardProps, ...elementProps })\n : typeof children === 'function'\n ? children({ ...sizeProps, ...forwardProps })\n : undefined}\n </Styled.Root>\n )\n }),\n {\n displayName: COMPONENT_NAME,\n sizes: SIZES,\n }\n)\n\nexport { MenuComponent }\n\nexport { SIZES }\n"],"names":["noop","MenuComponent","withMergedProps","forwardRef","props","forwardedRef","size","maxHeight","closeFn","sizeXXS","sizeXS","sizeS","sizeM","sizeL","sizeXL","children","autoFocus","disableAutoFocus","showCloseButton","closeButtonProps","onUnmount","restProps","_excluded","ref","useRef","useImperativeHandle","current","useEffect","timerId","setTimeout","focusFirstFocusable","clearTimeout","sizeProps","forwardProps","elementProps","isValidElement","_jsx","Styled.Root","cloneElement","_objectSpread","displayName","sizes","SIZES"],"mappings":"srBASA,IAAMA,EAAO,OAYPC,IAAAA,EAAqEC,EAIzEC,GAAAA,CAAYC,EAAOC,KACjB,IAAMC,KACJA,EAAO,IADHC,UAEJA,EAAY,IAFRC,QAGJA,EAAUR,EAHNS,QAIJA,EAJIC,OAKJA,EALIC,MAMJA,EANIC,MAOJA,EAPIC,MAQJA,EARIC,OASJA,EATIC,SAUJA,EAVIC,UAWJA,EAXIC,iBAYJA,EAZIC,gBAaJA,EAbIC,iBAcJA,EAdIC,UAeJA,GAEEhB,EADCiB,IACDjB,EAjBJkB,GAmBA,IAAMC,EAAMC,EAAuB,MAEnCC,EAAkEpB,OAAoBkB,EAAIG,UAE1FC,GAAAA,IACS,KACDP,GAAWA,MAEhB,IAEHO,QACE,IAAMC,EAAUC,YAAW,MACpBZ,GAAoBM,EAAIG,SAASI,EAAoBP,EAAIG,WAC7D,GAEH,MAAO,KACLK,aAAaH,MAEd,CAACZ,EAAWC,IAEf,IAAMe,EAAY,CAChB1B,KAAAA,EACAG,QAAAA,EACAC,OAAAA,EACAC,MAAAA,EACAC,MAAAA,EACAC,MAAAA,EACAC,OAAAA,GAGF,IAAMmB,EAAe,CACnBf,gBAAAA,EACAC,iBAAAA,EACAX,QAAAA,GAGF,IAAM0B,EACJC,EAAepB,IAAuC,iBAAnBA,EAASX,OAAyC,OAAnBW,EAASX,MAAiBW,EAASX,MAAQ,GAE/G,OACEgC,EAACC,EAAgBhB,EAAAA,EAAAA,EAAAA,GAAAA,GAAeW,GAAhC,GAAA,CAA2CzB,UAAWA,EAAWgB,IAAKA,EAAtER,SACGoB,EAAepB,GACZuB,EAAavB,EAADwB,EAAAA,EAAAA,EAAA,GAAgBP,GAAcC,GAAiBC,IACvC,mBAAbnB,EACPA,EAAQwB,EAAAA,EAAA,GAAMP,GAAcC,SAAAA,QAKtC,CACEO,YAxFmB,gBAyFnBC,MAAOC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"constants.js","sources":["../../../../src/components/MenuComponent/constants.ts"],"sourcesContent":["import type { Sizes } from 'shared/types'\n\nexport const SIZES: Sizes = {\n xxxl: {\n maxWidth: 560,\n minWidth: 'min-content',\n },\n xxl: {\n maxWidth: 560,\n minWidth: 'min-content',\n },\n xl: {\n maxWidth: 560,\n minWidth: 'min-content',\n },\n l: {\n maxWidth: 560,\n minWidth: 'min-content',\n },\n m: {\n maxWidth: 480,\n minWidth: 'min-content',\n },\n s: {\n maxWidth: 280,\n minWidth: 'min-content',\n },\n xs: {\n maxWidth: 280,\n minWidth: 'min-content',\n },\n xxs: {\n maxWidth: 280,\n minWidth: 'min-content',\n },\n xxxs: {\n maxWidth: 280,\n minWidth: 'min-content',\n },\n}\n"],"names":["SIZES","xxxl","maxWidth","minWidth","xxl","xl","l","m","s","xs","xxs","xxxs"],"mappings":"AAEO,IAAMA,EAAe,CAC1BC,KAAM,CACJC,SAAU,IACVC,SAAU,eAEZC,IAAK,CACHF,SAAU,IACVC,SAAU,eAEZE,GAAI,CACFH,SAAU,IACVC,SAAU,eAEZG,EAAG,CACDJ,SAAU,IACVC,SAAU,eAEZI,EAAG,CACDL,SAAU,IACVC,SAAU,eAEZK,EAAG,CACDN,SAAU,IACVC,SAAU,eAEZM,GAAI,CACFP,SAAU,IACVC,SAAU,eAEZO,IAAK,CACHR,SAAU,IACVC,SAAU,eAEZQ,KAAM,CACJT,SAAU,IACVC,SAAU"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"style.js","sources":["../../../../src/components/MenuComponent/style.ts"],"sourcesContent":["import styled, { css } from 'styled-components'\nimport { createShouldForwardProp } from 'shared/utils/style'\nimport { responsiveSize } from 'mixins/responsive-size'\nimport type { StyledMenuComponentProps, MenuComponentPalette } from './types'\n\nconst shouldForwardMenuComponentProp = createShouldForwardProp(\n (propKey) => !['black', 'elevated', 'maxHeight'].includes(propKey)\n)\n\nconst template = (palette: MenuComponentPalette) => `\n background-color: ${palette.backgroundColor};\n border-color: ${palette.borderColor};\n box-shadow: 0 6px 20px ${palette.shadowColor};\n`\n\nexport const COLOR_SCHEMA = {\n primary: css<StyledMenuComponentProps>`\n ${(props) =>\n template({\n backgroundColor: props.theme.colors['bg-onmain-primary'],\n borderColor: props.theme.colors.transparent,\n shadowColor: props.elevated ? props.theme.colors['bg-oncolor-hover'] : props.theme.colors.transparent,\n ...props.palette,\n })}\n `,\n secondary: css<StyledMenuComponentProps>`\n ${(props) =>\n template({\n backgroundColor: props.theme.colors['bg-onmain-secondary'],\n borderColor: props.theme.colors['border-onmain-default-large'],\n shadowColor: props.elevated ? props.theme.colors['bg-oncolor-hover'] : props.theme.colors.transparent,\n ...props.palette,\n })}\n `,\n}\n\nexport const Root = styled.div\n .withConfig<StyledMenuComponentProps>({\n shouldForwardProp: shouldForwardMenuComponentProp,\n })\n .attrs(<Required<Pick<StyledMenuComponentProps, 'dynamicSizeDeclaration'>>>{\n dynamicSizeDeclaration: (size, sizeUnits) => ({\n width: typeof size === 'string' ? size : `${size}${sizeUnits}`,\n }),\n })`\n ${(props) => `\n box-sizing: border-box;\n isolation: isolate;\n border-radius: 12px;\n border: 1px solid transparent;\n overflow-x: hidden;\n overflow-y: auto;\n scrollbar-width: thin;\n max-height: ${typeof props.maxHeight === 'string' ? props.maxHeight : `${props.maxHeight}px`};\n `}\n\n ${(props) => {\n return props.secondary ? COLOR_SCHEMA.secondary : COLOR_SCHEMA.primary\n }}\n\n ${responsiveSize}\n`\n"],"names":["shouldForwardMenuComponentProp","createShouldForwardProp","propKey","includes","template","palette","concat","backgroundColor","borderColor","shadowColor","COLOR_SCHEMA","primary","css","props","_objectSpread","theme","colors","transparent","elevated","secondary","Root","styled","div","withConfig","shouldForwardProp","attrs","dynamicSizeDeclaration","size","sizeUnits","width","componentId","maxHeight","responsiveSize"],"mappings":"sOAKA,IAAMA,EAAiCC,GACpCC,IAAa,CAAC,QAAS,WAAY,aAAaC,SAASD,KAG5D,IAAME,EAAYC,GAAD,yBAAAC,OACKD,EAAQE,gBACZF,uBAAAA,OAAAA,EAAQG,YAFT,gCAAAF,OAGUD,EAAQI,YAHnC,OAMO,IAAMC,EAAe,CAC1BC,QAASC,EACJC,CAAAA,GAAAA,KAAAA,GACDT,EAAQU,EAAA,CACNP,gBAAiBM,EAAME,MAAMC,OAAO,qBACpCR,YAAaK,EAAME,MAAMC,OAAOC,YAChCR,YAAaI,EAAMK,SAAWL,EAAME,MAAMC,OAAO,oBAAsBH,EAAME,MAAMC,OAAOC,aACvFJ,EAAMR,YAGfc,UAAWP,EACNC,CAAAA,GAAAA,KAAAA,GACDT,EAAQU,EAAA,CACNP,gBAAiBM,EAAME,MAAMC,OAAO,uBACpCR,YAAaK,EAAME,MAAMC,OAAO,+BAChCP,YAAaI,EAAMK,SAAWL,EAAME,MAAMC,OAAO,oBAAsBH,EAAME,MAAMC,OAAOC,aACvFJ,EAAMR,aAKV,IAAMe,EAAOC,EAAOC,IACxBC,WAAqC,CACpCC,kBAAmBxB,IAEpByB,MAA0E,CACzEC,uBAAwB,CAACC,EAAMC,KAAAA,CAC7BC,MAAuB,iBAATF,EAAoBA,EAA3B,GAAArB,OAAqCqB,GAArCrB,OAA4CsB,OANxCL,WAAA,CAAAO,YAAA,wBAAGT,CASfR,CAAAA,GAAAA,IAAAA,IAAAA,KAAAA,+NAQwC,iBAApBA,EAAMkB,UAAyBlB,EAAMkB,UAA5C,GAAAzB,OAA2DO,EAAMkB,gBAjBlE,WAoBZlB,GACMA,EAAMM,UAAYT,EAAaS,UAAYT,EAAaC,SAG/DqB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"MenuContainer.js","sources":["../../../../src/components/MenuContainer/MenuContainer.tsx"],"sourcesContent":["import { forwardRef } from 'react'\nimport * as Styled from './style'\nimport type { MenuContainerProps } from './types'\n\n/**\n *\n * Component accepts all \\<div\\> attributes.\n *\n * Exposed \"ref\" attached to root node.\n *\n * See full [MenuContainerProps](https://github.com/foxford/ui/blob/master/src/components/MenuContainer/types.ts)\n */\nconst MenuContainer: React.ForwardRefExoticComponent<MenuContainerProps> = forwardRef<\n HTMLDivElement,\n MenuContainerProps\n>((props, ref) => {\n const { closeButtonProps = {}, children, showCloseButton, closeFn } = props\n\n return (\n <Styled.Root ref={ref}>\n {showCloseButton && (\n <Styled.CloseButton\n square\n size='m'\n icon='close'\n {...closeButtonProps}\n onClick={(evt) => {\n if (closeFn) closeFn()\n if (closeButtonProps.onClick) closeButtonProps.onClick(evt)\n }}\n />\n )}\n {children}\n </Styled.Root>\n )\n})\n\nexport { MenuContainer }\n"],"names":["MenuContainer","forwardRef","props","ref","closeButtonProps","children","showCloseButton","closeFn","_jsxs","Styled.Root","_jsx","Styled.CloseButton","_objectSpread","square","size","icon","onClick","evt"],"mappings":"4LAYMA,IAAAA,EAAqEC,GAGzE,CAACC,EAAOC,KACR,IAAMC,iBAAEA,EAAmB,GAArBC,SAAyBA,EAAzBC,gBAAmCA,EAAnCC,QAAoDA,GAAYL,EAEtE,OACEM,EAACC,EAAD,CAAaN,IAAKA,EAAlBE,SAAA,CACGC,GACCI,EAACC,EAADC,EAAAA,EAAA,CACEC,QADF,EAEEC,KAAK,IACLC,KAAK,SACDX,GAJN,GAAA,CAKEY,QAAUC,IACJV,GAASA,IACTH,EAAiBY,SAASZ,EAAiBY,QAAQC,OAI5DZ"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"style.js","sources":["../../../../src/components/MenuContainer/style.ts"],"sourcesContent":["import styled from 'styled-components'\nimport { createShouldForwardProp } from 'shared/utils/style'\nimport { IconButton } from 'components/IconButton'\nimport type { StyledMenuContainerProps } from './types'\n\nconst shouldForwardMenuContainerProp = createShouldForwardProp()\n\nexport const Root = styled.div.withConfig<StyledMenuContainerProps>({\n shouldForwardProp: shouldForwardMenuContainerProp,\n})`\n box-sizing: border-box;\n position: relative;\n padding: 8px;\n border-radius: inherit;\n`\n\nexport const CloseButton = styled(IconButton)`\n position: absolute;\n top: 8px;\n right: 8px;\n`\n"],"names":["shouldForwardMenuContainerProp","createShouldForwardProp","Root","styled","div","withConfig","shouldForwardProp","componentId","CloseButton","IconButton"],"mappings":"gKAKA,IAAMA,EAAiCC,IAEhC,IAAMC,EAAOC,EAAOC,IAAIC,WAAqC,CAClEC,kBAAmBN,IADJK,WAAA,CAAAE,YAAA,wBAAGJ,CAAb,CAAA,mFASMK,EAAcL,EAAOM,GAAVJ,WAAA,CAAAE,YAAA,wBAAGJ,CAApB,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"MenuDivider.js","sources":["../../../../src/components/MenuDivider/MenuDivider.tsx"],"sourcesContent":["import { forwardRef } from 'react'\nimport { useMergedPalette } from 'hooks/useMergedPalette'\nimport { Text } from 'components/Text'\nimport * as Styled from './style'\nimport type { MenuDividerProps } from './types'\n\n/**\n *\n * Component accepts all \\<div\\> attributes.\n *\n * Exposed \"ref\" attached to root node.\n *\n * See full [MenuDividerProps](https://github.com/foxford/ui/blob/master/src/components/MenuDivider/types.ts)\n */\nconst MenuDivider: React.ForwardRefExoticComponent<MenuDividerProps> = forwardRef<HTMLDivElement, MenuDividerProps>(\n (props, ref) => {\n const { textProps = {}, children, text, ...restProps } = props\n\n const palette = useMergedPalette(restProps)\n\n return (\n <Styled.Root {...restProps} palette={palette} ref={ref}>\n {(children || text) && (\n <Text appearance='body' size='xs' color='inherit' marginTop={8} marginBottom={4} {...textProps}>\n {children ?? text}\n </Text>\n )}\n <Styled.HorizontalLine />\n </Styled.Root>\n )\n }\n)\n\nexport { MenuDivider }\n"],"names":["MenuDivider","forwardRef","props","ref","textProps","children","text","restProps","_excluded","palette","useMergedPalette","_jsxs","Styled.Root","_jsx","Text","_objectSpread","appearance","size","color","marginTop","marginBottom","Styled.HorizontalLine"],"mappings":"6YAcMA,IAAAA,EAAiEC,GACrE,CAACC,EAAOC,KACN,IAAMC,UAAEA,EAAY,GAAdC,SAAkBA,EAAlBC,KAA4BA,GAAuBJ,EAAdK,IAAcL,EAAzDM,GAEA,IAAMC,EAAUC,EAAiBH,GAEjC,OACEI,EAACC,SAAgBL,GAAjB,GAAA,CAA4BE,QAASA,EAASN,IAAKA,EAAnDE,SAAA,EACIA,GAAYC,IACZO,EAACC,EAADC,EAAAA,EAAA,CAAMC,WAAW,OAAOC,KAAK,KAAKC,MAAM,UAAUC,UAAW,EAAGC,aAAc,GAAOhB,GAArF,GAAA,CAAAC,SACGA,MAAAA,EAAAA,EAAYC,KAGjBO,EAACQ,EANH"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"style.js","sources":["../../../../src/components/MenuDivider/style.ts"],"sourcesContent":["import styled from 'styled-components'\nimport { createShouldForwardProp } from 'shared/utils/style'\nimport type { StyledMenuDividerProps, MenuDividerPalette } from './types'\n\nconst shouldForwardMenuDividerProp = createShouldForwardProp()\n\nexport const HorizontalLine = styled.div`\n box-sizing: border-box;\n height: 1px;\n`\n\nconst template = (palette: MenuDividerPalette) => `\n color: ${palette.color};\n\n & > ${HorizontalLine} {\n background-color: ${palette.lineColor};\n }\n`\n\nexport const Root = styled.div.withConfig<StyledMenuDividerProps>({\n shouldForwardProp: shouldForwardMenuDividerProp,\n})`\n box-sizing: border-box;\n width: 100%;\n min-width: min-content;\n padding: 4px 16px;\n\n ${(props) =>\n template({\n color: props.theme.colors['content-onmain-tertiary'],\n lineColor: props.theme.colors['border-onmain-default-large'],\n ...props.palette,\n })}\n`\n"],"names":["shouldForwardMenuDividerProp","createShouldForwardProp","HorizontalLine","styled","div","withConfig","componentId","Root","shouldForwardProp","props","template","palette","_objectSpread","color","theme","colors","lineColor","concat"],"mappings":"2JAIA,IAAMA,EAA+BC,IAExBC,IAAAA,EAAiBC,EAAOC,IAAVC,WAAA,CAAAC,YAAA,uBAAGH,CAAvB,CAAA,sCAaA,IAAMI,EAAOJ,EAAOC,IAAIC,WAAmC,CAChEG,kBAAmBR,IADJK,WAAA,CAAAC,YAAA,uBAAGH,CAQfM,CAAAA,2EAAAA,KAAAA,IACDC,OAjBcC,EAiBNC,EAAA,CACNC,MAAOJ,EAAMK,MAAMC,OAAO,2BAC1BC,UAAWP,EAAMK,MAAMC,OAAO,gCAC3BN,EAAME,SApBE,cAAAM,OACNN,EAAQE,MADF,eAAAI,OAGTf,EAHS,8BAAAe,OAION,EAAQK,UAJhC,YAAkBL,IAAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"MenuList.js","sources":["../../../../src/components/MenuList/MenuList.tsx"],"sourcesContent":["import { forwardRef, Children, isValidElement, cloneElement, Fragment } from 'react'\nimport { focusFirstFocusable } from 'shared/utils/dom'\nimport { keyboardKeys } from 'shared/constants'\nimport type { MenuListProps } from './types'\nimport * as Styled from './style'\n\nconst HOT_KEYS = [keyboardKeys.ArrowUp.key, keyboardKeys.ArrowDown.key]\n\n/**\n *\n * Component accepts all \\<ul\\> attributes.\n *\n * Responsive \"size\" props are forwarded to children elements.\n *\n * Exposed \"ref\" attached to root node.\n *\n * See full [MenuListProps](https://github.com/foxford/ui/blob/master/src/components/MenuList/types.ts)\n */\nconst MenuList: React.ForwardRefExoticComponent<MenuListProps> = forwardRef<HTMLUListElement, MenuListProps>(\n (props, ref) => {\n const {\n role = 'list',\n gap = 4,\n size,\n sizeXXS,\n sizeXS,\n sizeS,\n sizeM,\n sizeL,\n sizeXL,\n sizeUnits,\n sizes,\n ...restProps\n } = props\n\n const sizeProps = {\n size,\n sizeXXS,\n sizeXS,\n sizeS,\n sizeM,\n sizeL,\n sizeXL,\n sizeUnits,\n sizes,\n }\n\n const children =\n isValidElement(restProps.children) &&\n restProps.children.type === Fragment &&\n typeof restProps.children.props === 'object' &&\n restProps.children.props !== null\n ? restProps.children.props.children\n : restProps.children\n\n return (\n <Styled.Root\n {...restProps}\n role={role}\n gap={gap}\n onKeyDown={(evt) => {\n if (restProps.onKeyDown) restProps.onKeyDown(evt)\n\n if (HOT_KEYS.includes(evt.key)) {\n evt.preventDefault()\n\n const listItems = [...evt.currentTarget.children]\n let idx = listItems.findIndex((item) => item.contains(evt.target as Node))\n\n while (idx >= 0 && idx < listItems.length) {\n idx = keyboardKeys.ArrowUp.validate(evt.key) ? --idx : ++idx\n\n const nextItem = listItems[idx]\n\n if (nextItem instanceof HTMLElement && focusFirstFocusable(nextItem)) {\n break\n }\n }\n }\n }}\n ref={ref}\n >\n {Children.map(children, (child, idx) => {\n if (isValidElement(child)) {\n const childProps = typeof child.props === 'object' && child.props !== null ? child.props : {}\n\n return <li key={idx}>{cloneElement(child, { ...sizeProps, ...childProps })}</li>\n }\n\n return <li key={idx}>{child}</li>\n })}\n </Styled.Root>\n )\n }\n)\n\nexport { MenuList }\n"],"names":["HOT_KEYS","keyboardKeys","ArrowUp","key","ArrowDown","MenuList","forwardRef","props","ref","role","gap","size","sizeXXS","sizeXS","sizeS","sizeM","sizeL","sizeXL","sizeUnits","sizes","restProps","_excluded","sizeProps","children","isValidElement","type","Fragment","_jsx","Styled.Root","onKeyDown","evt","includes","preventDefault","listItems","currentTarget","idx","findIndex","item","contains","target","length","nextItem","validate","HTMLElement","focusFirstFocusable","Children","map","child","childProps","cloneElement"],"mappings":"8fAMA,IAAMA,EAAW,CAACC,EAAaC,QAAQC,IAAKF,EAAaG,UAAUD,KAY7DE,IAAAA,EAA2DC,GAC/D,CAACC,EAAOC,KACN,IAAMC,KACJA,EAAO,OADHC,IAEJA,EAAM,EAFFC,KAGJA,EAHIC,QAIJA,EAJIC,OAKJA,EALIC,MAMJA,EANIC,MAOJA,EAPIC,MAQJA,EARIC,OASJA,EATIC,UAUJA,EAVIC,MAWJA,GAEEZ,EADCa,IACDb,EAbJc,GAeA,IAAMC,EAAY,CAChBX,KAAAA,EACAC,QAAAA,EACAC,OAAAA,EACAC,MAAAA,EACAC,MAAAA,EACAC,MAAAA,EACAC,OAAAA,EACAC,UAAAA,EACAC,MAAAA,GAGF,IAAMI,EACJC,EAAeJ,EAAUG,WACzBH,EAAUG,SAASE,OAASC,GACQ,iBAA7BN,EAAUG,SAAShB,OACG,OAA7Ba,EAAUG,SAAShB,MACfa,EAAUG,SAAShB,MAAMgB,SACzBH,EAAUG,SAEhB,OACEI,EAACC,SACKR,GADN,GAAA,CAEEX,KAAMA,EACNC,IAAKA,EACLmB,UAAYC,IAGV,GAFIV,EAAUS,WAAWT,EAAUS,UAAUC,GAEzC9B,EAAS+B,SAASD,EAAI3B,KAAM,CAC9B2B,EAAIE,iBAEJ,IAAMC,EAAY,IAAIH,EAAII,cAAcX,UACxC,IAAIY,EAAMF,EAAUG,WAAWC,GAASA,EAAKC,SAASR,EAAIS,UAE1D,KAAOJ,GAAO,GAAKA,EAAMF,EAAUO,QAAQ,CAGzC,IAAMC,EAAWR,EAFjBE,EAAMlC,EAAaC,QAAQwC,SAASZ,EAAI3B,OAASgC,IAAQA,GAIzD,GAAIM,aAAoBE,aAAeC,EAAoBH,GACzD,SAKRjC,IAAKA,EAxBPe,SA0BGsB,EAASC,IAAIvB,GAAU,CAACwB,EAAOZ,KAC9B,GAAIX,EAAeuB,GAAQ,CACzB,IAAMC,EAAoC,iBAAhBD,EAAMxC,OAAsC,OAAhBwC,EAAMxC,MAAiBwC,EAAMxC,MAAQ,GAE3F,OAAOoB,EAAA,KAAA,CAAAJ,SAAe0B,EAAaF,EAAYzB,EAAAA,EAAAA,GAAAA,GAAc0B,KAA7Cb,GAGlB,OAAOR,EAAA,KAAA,CAAAJ,SAAewB,GAANZ"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"style.js","sources":["../../../../src/components/MenuList/style.ts"],"sourcesContent":["import styled from 'styled-components'\nimport type { StyledMenuListProps } from './types'\n\nexport const Root = styled.ul.withConfig<StyledMenuListProps>({\n shouldForwardProp: (propKey) => !['showCloseButton', 'closeButtonProps', 'closeFn', 'gap'].includes(propKey),\n})`\n ${(props) => `\n box-sizing: border-box;\n appearance: none;\n list-style-type: none;\n margin: 0;\n padding: 8px;\n border-radius: inherit;\n\n & > li:not(:last-child) {\n margin-bottom: ${typeof props.gap === 'string' ? props.gap : `${props.gap}px`};\n } \n `}\n`\n"],"names":["Root","styled","ul","withConfig","shouldForwardProp","propKey","includes","componentId","props","concat","gap"],"mappings":"iCAGO,IAAMA,EAAOC,EAAOC,GAAGC,WAAgC,CAC5DC,kBAAoBC,IAAa,CAAC,kBAAmB,mBAAoB,UAAW,OAAOC,SAASD,KADrFF,WAAA,CAAAI,YAAA,uBAAGN,CAAH,CAAA,GAAA,KAGZO,GASkB,2MAAAC,OAAqB,iBAAdD,EAAME,IAAmBF,EAAME,IAASF,GAAAA,OAAAA,EAAME,IAArD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Close.js","sources":["../../../../src/components/Modal/Close.tsx"],"sourcesContent":["import { Icon } from 'components/Icon'\nimport * as Styled from './style'\n\nexport interface ModalCloseProps {\n className?: string\n onClick?: () => void\n}\n\nexport function ModalClose({ className, onClick }: ModalCloseProps) {\n return (\n <Styled.ModalClose className={className} onClick={onClick}>\n <Icon name='tinyCross' color='#D9D9D9' />\n </Styled.ModalClose>\n )\n}\n"],"names":["ModalClose","_ref","className","onClick","_jsx","Styled.ModalClose","children","Icon","name","color"],"mappings":"gJAQO,SAASA,EAAoDC,GAAA,IAAzCC,UAAEA,EAAFC,QAAaA,GAA4BF,EAClE,OACEG,EAACC,EAAD,CAAmBH,UAAWA,EAAWC,QAASA,EAAlDG,SACEF,EAACG,EAAD,CAAMC,KAAK,YAAYC,MAAM"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Modal.js","sources":["../../../../src/components/Modal/Modal.tsx"],"sourcesContent":["import ReactModal, { Classes } from 'react-modal'\nimport { ResponsiveNamedProperty } from 'mixins/responsive-property'\nimport { BaseProps } from 'shared/interfaces'\nimport { ModalClose } from './Close'\nimport * as Styled from './style'\n\nfunction setAppModalElement() {\n const appElement = document.body\n\n if (appElement && appElement instanceof HTMLElement) ReactModal.setAppElement(appElement)\n}\n\n// eslint-disable-next-line prettier/prettier\nif (typeof window !== 'undefined') {\n setAppModalElement()\n}\n\nexport interface ModalProps extends BaseProps, ResponsiveNamedProperty<'width'> {\n /**\n * Primary content.\n */\n /**\n * Boolean indicating if the overlay background should be blurred\n */\n blurredOverlay?: boolean\n /**\n * Children react node\n */\n children?: React.ReactNode\n /**\n * Modal class name\n */\n className?: string\n /**\n * Number indicating the milliseconds to wait before closing the modal.\n */\n closeTimeoutMS?: number\n /**\n * String indicating how the content container should be announced to screenreaders\n */\n contentLabel?: string\n /**\n * Boolean describing if the modal should be shown or not.\n */\n isOpen?: boolean\n /**\n * Function that will be run after the modal has opened.\n */\n onAfterOpen?(): void\n /**\n * Function that will be run when the modal is requested to be closed, prior to actually closing.\n */\n onRequestClose?(): void\n /**\n * Custom overlay CSS class name\n */\n overlayClassName?: string | Classes\n /**\n * String indicating the role of the modal, allowing the 'dialog' role to be applied if desired.\n */\n role?: string\n /**\n * Boolean indicating if the overlay should close the modal\n */\n shouldCloseOnOverlayClick?: boolean\n /**\n * Vertical align\n */\n valign?: 'top' | 'center' | 'bottom'\n /**\n * z-index\n */\n zIndex?: number\n}\n\nModal.defaultProps = {\n blurredOverlay: false,\n closeTimeoutMS: 0,\n zIndex: 9000,\n contentLabel: '',\n isOpen: false,\n role: 'dialog',\n shouldCloseOnOverlayClick: true,\n width: 'm',\n valign: 'center',\n className: 'modal',\n}\n\nModal.Close = ModalClose\nModal.displayName = 'Modal'\n\n/**\n * Основан на [react-modal](https://github.com/reactjs/react-modal).\n *\n * Расширен:\n * - [`BaseProps`](#/Миксины)\n * - [`ResponsiveNamedProperty<'width'>`](#/Миксины)\n */\nexport function Modal(props: ModalProps) {\n const {\n blurredOverlay,\n children,\n closeTimeoutMS,\n contentLabel,\n isOpen,\n onAfterOpen,\n onRequestClose,\n overlayClassName,\n role,\n shouldCloseOnOverlayClick,\n width,\n valign,\n className,\n style,\n zIndex,\n } = props\n\n return (\n <Styled.Modal\n blurredOverlay={blurredOverlay}\n closeTimeoutMS={closeTimeoutMS}\n contentLabel={contentLabel}\n isOpen={Boolean(isOpen)}\n onAfterOpen={onAfterOpen}\n onRequestClose={onRequestClose}\n portalClassName={className}\n overlayClassName={overlayClassName}\n bodyOpenClassName='modal--open'\n role={role}\n zIndex={zIndex}\n valign={valign}\n width={width}\n shouldCloseOnOverlayClick={shouldCloseOnOverlayClick}\n >\n <div style={style}>{children}</div>\n </Styled.Modal>\n )\n}\n"],"names":["appElement","Modal","props","blurredOverlay","children","closeTimeoutMS","contentLabel","isOpen","onAfterOpen","onRequestClose","overlayClassName","role","shouldCloseOnOverlayClick","width","valign","className","style","zIndex","_jsx","Styled.Modal","Boolean","portalClassName","bodyOpenClassName","window","document","body","HTMLElement","ReactModal","setAppElement","defaultProps","Close","ModalClose","displayName"],"mappings":"8IAMA,IACQA,EA2FD,SAASC,EAAMC,GACpB,IAAMC,eACJA,EADIC,SAEJA,EAFIC,eAGJA,EAHIC,aAIJA,EAJIC,OAKJA,EALIC,YAMJA,EANIC,eAOJA,EAPIC,iBAQJA,EARIC,KASJA,EATIC,0BAUJA,EAVIC,MAWJA,EAXIC,OAYJA,EAZIC,UAaJA,EAbIC,MAcJA,EAdIC,OAeJA,GACEf,EAEJ,OACEgB,EAACC,EAAD,CACEhB,eAAgBA,EAChBE,eAAgBA,EAChBC,aAAcA,EACdC,OAAQa,QAAQb,GAChBC,YAAaA,EACbC,eAAgBA,EAChBY,gBAAiBN,EACjBL,iBAAkBA,EAClBY,kBAAkB,cAClBX,KAAMA,EACNM,OAAQA,EACRH,OAAQA,EACRD,MAAOA,EACPD,0BAA2BA,EAd7BR,SAgBEc,EAAA,MAAA,CAAKF,MAAOA,EAAZZ,SAAoBA,MAzHJ,oBAAXmB,SANHvB,EAAawB,SAASC,OAEVzB,aAAsB0B,aAAaC,EAAWC,cAAc5B,GAkEhFC,EAAM4B,aAAe,CACnB1B,gBAAAA,EACAE,eAAgB,EAChBY,OAAQ,IACRX,aAAc,GACdC,QAAAA,EACAI,KAAM,SACNC,2BAAAA,EACAC,MAAO,IACPC,OAAQ,SACRC,UAAW,SAGbd,EAAM6B,MAAQC,EACd9B,EAAM+B,YAAc"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"adapter.js","sources":["../../../../src/components/Modal/adapter.tsx"],"sourcesContent":["import ReactModal from 'react-modal'\nimport cx from 'clsx'\nimport { ModalProps } from './Modal'\n\nexport const ReactModalAdapter: React.FC<ModalProps> = ({\n className,\n isOpen,\n overlayClassName,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n style: _style,\n ...props\n}: ModalProps) => {\n const contentClassName = `${className}__content`\n const overlayClassNameLocal = `${className}__overlay`\n\n return (\n <ReactModal\n portalClassName={className}\n className={contentClassName}\n isOpen={Boolean(isOpen)}\n overlayClassName={cx(overlayClassNameLocal, overlayClassName)}\n {...props}\n />\n )\n}\n"],"names":["ReactModalAdapter","_ref","className","isOpen","overlayClassName","props","_objectWithoutProperties","_excluded","contentClassName","overlayClassNameLocal","_jsx","ReactModal","_objectSpread","portalClassName","Boolean","cx"],"mappings":"iQAIO,IAAMA,EAA0CC,IAOrC,IAPsCC,UACtDA,EADsDC,OAEtDA,EAFsDC,iBAGtDA,GAIgBH,EADbI,EACaC,EAAAL,EAAAM,GAChB,IAAMC,EAAsBN,GAAAA,OAAAA,EAA5B,aACA,IAAMO,EAA2BP,GAAAA,OAAAA,EAAjC,aAEA,OACEQ,EAACC,EAADC,EAAA,CACEC,gBAAiBX,EACjBA,UAAWM,EACXL,OAAQW,QAAQX,GAChBC,iBAAkBW,EAAGN,EAAuBL,IACxCC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"style.js","sources":["../../../../src/components/Modal/style.ts"],"sourcesContent":["import styled, { createGlobalStyle, css } from 'styled-components'\nimport ReactModal from 'react-modal'\nimport { property, PossibleValues } from 'mixins/responsive-property'\nimport { ModalProps } from './Modal'\nimport { ReactModalAdapter } from './adapter'\n\ninterface ReactModalProps extends ReactModal.Props {\n zIndex?: ModalProps['zIndex']\n valign?: ModalProps['valign']\n}\n\nconst WIDTHS = {\n xxxs: 100,\n xxs: 200,\n xs: 300,\n s: 400,\n m: 500,\n l: 600,\n xl: 740,\n xxl: 800,\n xxxl: 900,\n}\n\nconst chooseWidthValue = (props: ModalProps): PossibleValues => {\n if (typeof props.width === 'number') return props.width\n\n if (props.width && typeof props.width === 'string' && WIDTHS[props.width]) return WIDTHS[props.width]\n\n return 'auto'\n}\n\nconst getPosition = (valign: ModalProps['valign']) => {\n switch (valign) {\n case 'top':\n return 'flex-start'\n case 'bottom':\n return 'flex-end'\n case 'center':\n return 'center'\n default:\n return 'center'\n }\n}\n\nexport const Modal = styled(ReactModalAdapter)<ReactModalProps>`\n &__overlay {\n z-index: ${(props) => props.zIndex || props.theme.zIndex.modal};\n display: flex;\n flex-direction: row;\n justify-content: center;\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n overflow-x: none;\n overflow-y: auto;\n ${(props) =>\n props.valign\n ? css`\n align-items: ${getPosition(props.valign)};\n `\n : null}\n &.ReactModal__Overlay--after-open {\n ${(props) => {\n if (props.overlayClassName) return null\n\n if (props.blurredOverlay) {\n return css`\n background: rgba(246, 247, 251, 0.3);\n backdrop-filter: blur(3.5px);\n `\n }\n\n return css`\n background: rgba(246, 247, 251, 0.9);\n `\n }}\n }\n &.ReactModal__Overlay--before-close {\n }\n }\n\n &__content {\n width: 100%;\n max-height: 100%;\n position: relative;\n &:focus {\n outline: 0;\n }\n ${(props) => (props.width ? property(chooseWidthValue(props), 'max-width') : null)}\n &.ReactModal__Content--after-open {\n }\n &.ReactModal__Content--before-close {\n }\n }\n`\n\nexport const ModalClose = styled.span`\n opacity: 1;\n transition: 0.3s;\n position: absolute;\n right: 20px;\n top: 20px;\n cursor: pointer;\n z-index: 10;\n svg {\n width: 18px;\n height: 18px;\n }\n &:hover {\n opacity: 0.5;\n }\n`\n\nexport const GlobalRoot = createGlobalStyle`\n .bodyOpen {\n overflow: hidden;\n }\n`\n"],"names":["WIDTHS","xxxs","xxs","xs","s","m","l","xl","xxl","xxxl","Modal","styled","ReactModalAdapter","withConfig","componentId","props","zIndex","theme","modal","valign","css","overlayClassName","blurredOverlay","width","property","ModalClose","span","createGlobalStyle"],"mappings":"kLAWA,IAAMA,EAAS,CACbC,KAAM,IACNC,IAAK,IACLC,GAAI,IACJC,EAAG,IACHC,EAAG,IACHC,EAAG,IACHC,GAAI,IACJC,IAAK,IACLC,KAAM,SAwBKC,EAAQC,EAAOC,GAAVC,WAAA,CAAAC,YAAA,wBAAGH,CAAH,CAAA,sBAAA,wIAAA,sCAAA,qHAAA,+EAEFI,GAAUA,EAAMC,QAAUD,EAAME,MAAMD,OAAOE,QAWtDH,GACDA,EAAMI,OACFC,EADJ,CAAA,eAAA,KA3BeD,CAAAA,IACnB,OAAQA,GACN,IAAK,MACH,MAAO,aACT,IAAK,SACH,MAAO,WAGT,QACE,MAAO,WATQA,CA6BkBJ,EAAMI,SAEnC,OAEDJ,GACGA,EAAMM,iBAAyB,KAG1BD,EADLL,EAAMO,eACR,CAAA,iEAMF,CAAA,wCAgBDP,GAAWA,EAAMQ,MAAQC,EAnENT,CAAAA,GACG,iBAAhBA,EAAMQ,MAA2BR,EAAMQ,MAE9CR,EAAMQ,OAAgC,iBAAhBR,EAAMQ,OAAsBvB,EAAOe,EAAMQ,OAAevB,EAAOe,EAAMQ,OAExF,OALiBR,CAmEgCA,GAAQ,aAAe,OAQpEU,IAAAA,EAAad,EAAOe,KAAVb,WAAA,CAAAC,YAAA,wBAAGH,CAAnB,CAAA,gJAiBmBgB,EAAnB,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Paper.js","sources":["../../../../src/components/Paper/Paper.tsx"],"sourcesContent":["import { ResponsiveNamedProperty } from 'mixins/responsive-property'\nimport { ColorProperty } from 'mixins/color'\nimport { useClassname } from 'hooks/useClassname'\nimport { SpacerProps } from 'components/Spacer'\nimport * as Styled from './style'\n\nexport interface PaperProps extends SpacerProps, ColorProperty, ResponsiveNamedProperty<'padding'> {\n /**\n * Set to true to generate a circlular paper container\n */\n circle?: boolean\n /**\n * Paper with rounded corners\n */\n rounded?: boolean\n /**\n * Paper with shadow\n */\n shadow?: boolean\n /**\n * This number represents the zDepth of the paper shadow\n */\n zDepth?: false | 0 | 1 | 2 | 3 | 4\n /**\n * Text align\n */\n textAlign?: 'left' | 'center' | 'right'\n}\n\nPaper.displayName = 'Paper'\n\n/**\n * Расширен:\n * - [`SpacerProps`](#/Разметка%20и%20позиционирование/Spacer)\n * - [`Color`](#/Миксины)\n * - [`ResponsiveNamedProperty<'padding'>`](#/Миксины)\n */\nexport function Paper({ padding = 'm', rounded = true, shadow = true, className, ...props }: PaperProps) {\n const _className = useClassname(Paper.displayName, className)\n\n return <Styled.Root padding={padding} rounded={rounded} shadow={shadow} className={_className} {...props} />\n}\n"],"names":["Paper","_ref","padding","rounded","shadow","className","props","_objectWithoutProperties","_excluded","_className","useClassname","displayName","_jsx","Styled.Root","_objectSpread"],"mappings":"wSAqCO,SAASA,EAAyFC,GAAA,IAAnFC,QAAEA,EAAU,IAAZC,QAAiBA,GAAAA,EAAjBC,OAAiCA,GAAS,EAA1CC,UAAgDA,GAAmCJ,EAArBK,EAAqBC,EAAAN,EAAAO,GACvG,IAAMC,EAAaC,EAAaV,EAAMW,YAAaN,GAEnD,OAAOO,EAACC,EAADC,EAAA,CAAaZ,QAASA,EAASC,QAASA,EAASC,OAAQA,EAAQC,UAAWI,GAAgBH,IAXrGN,EAAMW,YAAc"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"style.js","sources":["../../../../src/components/Paper/style.ts"],"sourcesContent":["import styled, { css } from 'styled-components'\nimport { color } from 'mixins/color'\nimport { Spacer } from 'components/Spacer'\nimport { PaperProps } from './Paper'\n\nconst zDepth = {\n 0: css`\n box-shadow: 0 2px 0 0 rgba(0, 0, 0, 0.11);\n `,\n 1: css`\n box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);\n `,\n 2: css`\n box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.1);\n `,\n 3: css`\n box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.08);\n `,\n 4: css`\n box-shadow: 0 10px 40px 0 rgba(0, 0, 0, 0.14);\n `,\n}\n\nconst circle = css`\n border-radius: 50%;\n justify-content: center;\n display: flex;\n align-items: center;\n min-width: 100px;\n min-height: 100px;\n`\n\nconst rounded = css`\n border-radius: ${(props) => props.theme.borderRadius};\n`\n\nexport const Root = styled(Spacer)<PaperProps>`\n box-sizing: border-box;\n background-color: ${(props) => props.theme.colors.white};\n ${(props) =>\n props.textAlign\n ? css`\n text-align: ${props.textAlign};\n `\n : null}\n ${(props) => (props.color ? color(props.color, 'background-color') : null)}\n ${(props) => (typeof props.zDepth === 'number' && props.shadow ? zDepth[props.zDepth] : null)}\n ${(props) => (props.rounded ? rounded : null)}\n ${(props) => (props.circle ? circle : null)}\n`\n"],"names":["zDepth","css","circle","rounded","props","theme","borderRadius","Root","styled","Spacer","withConfig","componentId","colors","white","textAlign","color","shadow"],"mappings":"sIAKA,IAAMA,EAAS,CACb,EAAGC,EADU,CAAA,2CAIb,EAAGA,EAJU,CAAA,6CAOb,EAAGA,EAPU,CAAA,6CAUb,EAAGA,EAVU,CAAA,+CAab,EAAGA,EAAH,CAAA,gDAKF,IAAMC,EAASD,EAAf,CAAA,+GASA,IAAME,EAAUF,EACIG,CAAAA,iBAAAA,MAAAA,GAAUA,EAAMC,MAAMC,mBAG7BC,EAAOC,EAAOC,GAAVC,WAAA,CAAAC,YAAA,wBAAGH,CAAH,CAAA,0CAAA,IAAA,IAAA,IAAA,IAAA,IAAA,KAEMJ,GAAUA,EAAMC,MAAMO,OAAOC,QAC/CT,GACDA,EAAMU,UACFb,EACgBG,CAAAA,cAAAA,KAAAA,EAAMU,WAEtB,OACHV,GAAWA,EAAMW,MAAQA,EAAMX,EAAMW,MAAO,oBAAsB,OAClEX,GAAmC,iBAAjBA,EAAMJ,QAAuBI,EAAMY,OAAShB,EAAOI,EAAMJ,QAAU,OACrFI,GAAWA,EAAMD,QAAUA,EAAU,OACrCC,GAAWA,EAAMF,OAASA,EAAS"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Popover.js","sources":["../../../../src/components/Popover/Popover.tsx"],"sourcesContent":["import { forwardRef } from 'react'\nimport { mergeDeepLeft } from 'ramda'\nimport { withMergedProps } from 'hocs/withMergedProps'\nimport { Tooltip } from 'components/Tooltip'\nimport { PopoverComponent, SIZES_LANDSCAPE, SIZES } from 'components/PopoverComponent'\nimport type { PopoverProps } from './types'\n\nconst COMPONENT_NAME = 'Popover'\n\n/**\n *\n * Component accepts [\"react-floater\"](https://www.npmjs.com/package/react-floater/v/0.8.2) v0.8.2 props.\n *\n * Responsive \"size\" props are supported.\n *\n * Exposed \"ref\" attached to popover component root.\n *\n * See full [PopoverProps](https://github.com/foxford/ui/blob/master/src/components/Popover/types.ts)\n */\nconst Popover: React.ForwardRefExoticComponent<PopoverProps> & { Component: typeof PopoverComponent } = Object.assign(\n withMergedProps<PopoverProps, HTMLDivElement>(\n forwardRef((props, ref) => {\n const {\n size = 's',\n styles = {},\n sizes,\n sizeUnits,\n palette,\n orientation,\n loading,\n badge,\n caption,\n captionProps,\n titleProps,\n contentProps,\n controlsDirection,\n media,\n controls,\n ...restProps\n } = props\n\n return (\n <Tooltip\n {...restProps}\n preset='brand'\n size={size}\n ref={ref}\n styles={mergeDeepLeft(styles, {\n arrow: {\n spread: 20,\n length: 12,\n },\n })}\n component={\n <PopoverComponent\n sizes={sizes}\n sizeUnits={sizeUnits}\n palette={palette}\n orientation={orientation}\n loading={loading}\n badge={badge}\n caption={caption}\n captionProps={captionProps}\n title={restProps.title}\n titleProps={titleProps}\n content={restProps.content}\n contentProps={contentProps}\n controlsDirection={controlsDirection}\n media={media}\n controls={controls}\n />\n }\n />\n )\n }),\n {\n displayName: COMPONENT_NAME,\n sizes: (props) => {\n return props.orientation === 'landscape' ? SIZES_LANDSCAPE : SIZES\n },\n }\n ),\n {\n Component: PopoverComponent,\n }\n)\n\nexport { Popover }\n\nexport { COMPONENT_NAME }\n"],"names":["COMPONENT_NAME","Popover","Object","assign","withMergedProps","forwardRef","props","ref","size","styles","sizes","sizeUnits","palette","orientation","loading","badge","caption","captionProps","titleProps","contentProps","controlsDirection","media","controls","restProps","_excluded","_jsx","Tooltip","_objectSpread","preset","mergeDeepLeft","arrow","spread","length","component","PopoverComponent","title","content","displayName","SIZES_LANDSCAPE","SIZES","Component"],"mappings":"8pBAOMA,IAAAA,EAAiB,UAYvB,IAAMC,EAAkGC,OAAOC,OAC7GC,EACEC,GAAW,CAACC,EAAOC,KACjB,IAAMC,KACJA,EAAO,IADHC,OAEJA,EAAS,GAFLC,MAGJA,EAHIC,UAIJA,EAJIC,QAKJA,EALIC,YAMJA,EANIC,QAOJA,EAPIC,MAQJA,EARIC,QASJA,EATIC,aAUJA,EAVIC,WAWJA,EAXIC,aAYJA,EAZIC,kBAaJA,EAbIC,MAcJA,EAdIC,SAeJA,GAEEhB,EADCiB,IACDjB,EAjBJkB,GAmBA,OACEC,EAACC,EAADC,EAAAA,EAAA,GACMJ,GADN,GAAA,CAEEK,OAAO,QACPpB,KAAMA,EACND,IAAKA,EACLE,OAAQoB,EAAcpB,EAAQ,CAC5BqB,MAAO,CACLC,OAAQ,GACRC,OAAQ,MAGZC,UACER,EAACS,EAAD,CACExB,MAAOA,EACPC,UAAWA,EACXC,QAASA,EACTC,YAAaA,EACbC,QAASA,EACTC,MAAOA,EACPC,QAASA,EACTC,aAAcA,EACdkB,MAAOZ,EAAUY,MACjBjB,WAAYA,EACZkB,QAASb,EAAUa,QACnBjB,aAAcA,EACdC,kBAAmBA,EACnBC,MAAOA,EACPC,SAAUA,UAMpB,CACEe,YArEiB,UAsEjB3B,MAAQJ,GACuB,cAAtBA,EAAMO,YAA8ByB,EAAkBC,IAInE,CACEC,UAAWN"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"PopoverComponent.js","sources":["../../../../src/components/PopoverComponent/PopoverComponent.tsx"],"sourcesContent":["import { forwardRef } from 'react'\nimport { withMergedProps } from 'hocs/withMergedProps'\nimport { Badge } from 'components/Badge'\nimport { Text } from 'components/Text'\nimport { Button } from 'components/Button'\nimport { Icon } from 'components/Icon'\nimport { Skeleton } from 'components/Skeleton'\nimport { SIZES, SIZES_LANDSCAPE } from './constants'\nimport * as Styled from './style'\nimport type { PopoverComponentProps } from './types'\n\nconst COMPONENT_NAME = 'PopoverComponent'\n\n/**\n *\n * Component accepts all \\<div\\> attributes.\n *\n * Responsive \"size\" props are supported.\n *\n * Exposed \"ref\" attached to root node.\n *\n * See full [PopoverComponentProps](https://github.com/foxford/ui/blob/master/src/components/PopoverComponent/types.ts)\n *\n */\nconst PopoverComponent: React.ForwardRefExoticComponent<PopoverComponentProps> = withMergedProps<\n PopoverComponentProps,\n HTMLDivElement\n>(\n forwardRef((props, ref) => {\n const {\n size = 's',\n orientation = 'portrait',\n controlsDirection = 'row',\n badge = {},\n captionProps = {},\n titleProps = {},\n contentProps = {},\n closeButtonProps = {},\n media = {},\n controls = {},\n sizeXXS,\n sizeXS,\n sizeS,\n sizeM,\n sizeL,\n sizeXL,\n loading,\n caption,\n title,\n content,\n closeFn,\n palette,\n showCloseButton,\n ...restProps\n } = props\n\n const sizeProps = {\n size,\n sizeXXS,\n sizeXS,\n sizeS,\n sizeM,\n sizeL,\n sizeXL,\n }\n\n const { badgeProps = {} } = badge\n\n const { imgProps = {}, videoProps = {} } = media\n\n const { text: secondaryButtonText, buttonProps: secondaryButtonProps = {} } = controls.secondary ?? {}\n\n const { text: primaryButtonText, buttonProps: primaryButtonProps = {} } = controls.primary ?? {}\n\n return (\n <Styled.Root\n {...restProps}\n {...sizeProps}\n palette={palette}\n orientation={orientation}\n controlsDirection={controlsDirection}\n ref={ref}\n >\n {showCloseButton && (\n <Styled.CloseButton\n {...closeButtonProps}\n onClick={(evt) => {\n if (typeof closeFn === 'function') closeFn()\n if (typeof closeButtonProps.onClick === 'function') closeButtonProps.onClick(evt)\n }}\n palette={palette}\n type='button'\n >\n <Icon as='span' name='close' size={24} />\n </Styled.CloseButton>\n )}\n {orientation === 'landscape' && (\n <>\n {loading && (\n <Styled.MediaLandscape>\n <Styled.Media aspectRatio='1:1'>\n <Skeleton />\n </Styled.Media>\n </Styled.MediaLandscape>\n )}\n {!loading && (imgProps.src || videoProps.src) && (\n <Styled.MediaLandscape>\n <Styled.Media aspectRatio='1:1'>\n {imgProps.src ? (\n <img alt='' {...imgProps} />\n ) : (\n <Styled.Video controls controlsList='nofullscreen' disablePictureInPicture {...videoProps} />\n )}\n </Styled.Media>\n </Styled.MediaLandscape>\n )}\n </>\n )}\n <Styled.Container>\n <Styled.Content>\n {(badge.text || caption || loading || showCloseButton) && (\n <Styled.Header>\n {loading ? (\n <Skeleton width='20%'>\n <Badge {...sizeProps} resetDefaultMargin {...badgeProps} />\n </Skeleton>\n ) : (\n <>\n {badge.text && (\n <Badge {...sizeProps} borderRadius={8} marginRight={12} resetDefaultMargin {...badgeProps}>\n {badge.text}\n </Badge>\n )}\n {caption && (\n <Text\n as='span'\n appearance='caption'\n size={0.9}\n sizeUnits='em'\n color='content-onmain-tertiary'\n weight={700}\n {...captionProps}\n >\n {caption}\n </Text>\n )}\n </>\n )}\n </Styled.Header>\n )}\n {orientation === 'portrait' && (\n <>\n {loading && (\n <Styled.Media aspectRatio='16:9'>\n <Skeleton />\n </Styled.Media>\n )}\n {!loading && (imgProps.src || videoProps.src) && (\n <Styled.Media aspectRatio='16:9'>\n {imgProps.src ? (\n <img alt='' {...imgProps} />\n ) : (\n <Styled.Video controls controlsList='nofullscreen' disablePictureInPicture {...videoProps} />\n )}\n </Styled.Media>\n )}\n </>\n )}\n {(title || content || loading) && (\n <div>\n {loading ? (\n <>\n <Skeleton borderRadius={4} marginBottom={0.6} marginUnits='em'>\n <Text appearance='subheading' size={1.4} sizeUnits='em' {...titleProps} />\n </Skeleton>\n <Skeleton borderRadius={4} width='70%' marginBottom={0.4} marginUnits='em'>\n <Text appearance='body' size='inherit' {...contentProps} />\n </Skeleton>\n <Skeleton borderRadius={4} width='50%'>\n <Text appearance='body' size='inherit' {...contentProps} />\n </Skeleton>\n </>\n ) : (\n <>\n {title && (\n <Text\n as='h2'\n appearance='subheading'\n size={1.4}\n color='inherit'\n marginBottom={content ? 0.4 : undefined}\n sizeUnits='em'\n marginUnits='em'\n {...titleProps}\n >\n {title}\n </Text>\n )}\n {content && (\n <Text as='p' appearance='body' size='inherit' color='inherit' {...contentProps}>\n {content}\n </Text>\n )}\n </>\n )}\n </div>\n )}\n </Styled.Content>\n {(secondaryButtonText || primaryButtonText || loading) && (\n <Styled.Footer>\n {loading ? (\n <Skeleton width='100%'>\n <Button preset='brand' {...sizeProps} />\n </Skeleton>\n ) : (\n <>\n {secondaryButtonText && (\n <Button\n preset='brand'\n black\n outline\n type='button'\n marginRight={controlsDirection === 'row' ? 6 : undefined}\n marginBottom={controlsDirection === 'column' ? 6 : undefined}\n {...sizeProps}\n {...secondaryButtonProps}\n >\n {secondaryButtonText}\n </Button>\n )}\n {primaryButtonText && (\n <Button preset='brand' black type='button' {...sizeProps} {...primaryButtonProps}>\n {primaryButtonText}\n </Button>\n )}\n </>\n )}\n </Styled.Footer>\n )}\n </Styled.Container>\n </Styled.Root>\n )\n }),\n {\n displayName: COMPONENT_NAME,\n sizes: (props) => {\n return props.orientation === 'landscape' ? SIZES_LANDSCAPE : SIZES\n },\n }\n)\n\nexport { PopoverComponent }\n\nexport { COMPONENT_NAME, SIZES_LANDSCAPE, SIZES }\n"],"names":["COMPONENT_NAME","PopoverComponent","withMergedProps","forwardRef","props","ref","_controls$secondary","_controls$primary","size","orientation","controlsDirection","badge","captionProps","titleProps","contentProps","closeButtonProps","media","controls","sizeXXS","sizeXS","sizeS","sizeM","sizeL","sizeXL","loading","caption","title","content","closeFn","palette","showCloseButton","restProps","_excluded","sizeProps","badgeProps","imgProps","videoProps","text","secondaryButtonText","buttonProps","secondaryButtonProps","secondary","primaryButtonText","primaryButtonProps","primary","_jsxs","Styled.Root","children","_jsx","Styled.CloseButton","onClick","evt","type","Icon","as","name","_Fragment","Styled.MediaLandscape","Styled.Media","aspectRatio","Skeleton","src","_objectSpread","alt","Styled.Video","controlsList","disablePictureInPicture","Styled.Container","Styled.Content","Styled.Header","width","Badge","resetDefaultMargin","borderRadius","marginRight","Text","appearance","sizeUnits","color","weight","marginBottom","marginUnits","undefined","Styled.Footer","Button","preset","black","outline","displayName","sizes","SIZES_LANDSCAPE","SIZES"],"mappings":"+gCAWMA,IAAAA,EAAiB,mBAajBC,IAAAA,EAA2EC,EAI/EC,IAAYC,EAAOC,KAAQ,IAAAC,EAAAC,EACzB,IAAMC,KACJA,EAAO,IADHC,YAEJA,EAAc,WAFVC,kBAGJA,EAAoB,MAHhBC,MAIJA,EAAQ,GAJJC,aAKJA,EAAe,GALXC,WAMJA,EAAa,GANTC,aAOJA,EAAe,GAPXC,iBAQJA,EAAmB,GARfC,MASJA,EAAQ,GATJC,SAUJA,EAAW,GAVPC,QAWJA,EAXIC,OAYJA,EAZIC,MAaJA,EAbIC,MAcJA,EAdIC,MAeJA,EAfIC,OAgBJA,EAhBIC,QAiBJA,EAjBIC,QAkBJA,EAlBIC,MAmBJA,EAnBIC,QAoBJA,EApBIC,QAqBJA,EArBIC,QAsBJA,EAtBIC,gBAuBJA,GAEE1B,EADC2B,IACD3B,EAzBJ4B,GA2BA,IAAMC,EAAY,CAChBzB,KAAAA,EACAU,QAAAA,EACAC,OAAAA,EACAC,MAAAA,EACAC,MAAAA,EACAC,MAAAA,EACAC,OAAAA,GAGF,IAAMW,WAAEA,EAAa,IAAOvB,EAE5B,IAAMwB,SAAEA,EAAW,GAAbC,WAAiBA,EA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EAAAA,EAAA,CACER,GAAG,KACHsB,WAAW,aACXpE,KAAM,IACNsE,MAAM,UACNE,aAAcrD,EAAU,QAAMuD,EAC9BL,UAAU,KACVI,YAAY,MACRpE,GARN,GAAA,CAAAkC,SAUGrB,KAGJC,GACCqB,EAAC2B,EAADb,EAAAA,EAAA,CAAMR,GAAG,IAAIsB,WAAW,OAAOpE,KAAK,UAAUsE,MAAM,WAAchE,GAAlE,GAAA,CAAAiC,SACGpB,cAQbW,GAAuBI,IAAqBlB,IAC5CwB,EAACmC,EAAD,CAAApC,SACGvB,EACCwB,EAACY,EAAD,CAAUU,MAAM,OAAhBvB,SACEC,EAACoC,EAADtB,EAAA,CAAQuB,OAAO,SAAYpD,MAG7BY,EAAAW,EAAA,CAAAT,SACGT,CAAAA,GACCU,EAACoC,EAADtB,EAAAA,EAAAA,EAAA,CACEuB,OAAO,QACPC,OAAAA,EACAC,SAAAA,EACAnC,KAAK,SACLsB,YAAmC,QAAtBhE,EAA8B,SAC3CsE,aAAoC,WAAtBtE,EAAiC,UAC3CuB,GACAO,GARN,GAAA,CAAAO,SAUGT,KAGJI,IACCM,EAACoC,EAADtB,EAAAA,EAAAA,EAAA,CAAQuB,OAAO,QAAQC,OAAAA,EAAMlC,KAAK,UAAanB,GAAeU,IAA9D,GAAA,CAAAI,SACGL,qBAWrB,CACE8C,YAzOmB,mBA0OnBC,MAAQrF,GACuB,cAAtBA,EAAMK,YAA8BiF,EAAkBC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"constants.js","sources":["../../../../src/components/PopoverComponent/constants.ts"],"sourcesContent":["import type { Sizes } from 'shared/types'\n\nexport const SIZES: Sizes = {\n xxxl: {\n width: 600,\n padding: '1.6em',\n borderRadius: 16,\n fontSize: 22,\n },\n xxl: {\n width: 600,\n padding: '1.6em',\n borderRadius: 16,\n fontSize: 22,\n },\n xl: {\n width: 600,\n padding: '1.6em',\n borderRadius: 16,\n fontSize: 22,\n },\n l: {\n width: 560,\n padding: '1.6em',\n borderRadius: 16,\n fontSize: 20,\n },\n m: {\n width: 356,\n padding: '1.6em',\n borderRadius: 16,\n fontSize: 16,\n },\n s: {\n width: 280,\n padding: '1.6em',\n borderRadius: 16,\n fontSize: 14,\n },\n xs: {\n width: 260,\n padding: '1.6em',\n borderRadius: 16,\n fontSize: 12,\n },\n xxs: {\n width: 260,\n padding: '1.6em',\n borderRadius: 16,\n fontSize: 12,\n },\n xxxs: {\n width: 260,\n padding: '1.6em',\n borderRadius: 16,\n fontSize: 12,\n },\n}\n\nexport const SIZES_LANDSCAPE: Sizes = {\n xxxl: {\n width: 900,\n padding: '1.6em',\n borderRadius: 16,\n fontSize: 22,\n },\n xxl: {\n width: 900,\n padding: '1.6em',\n borderRadius: 16,\n fontSize: 22,\n },\n xl: {\n width: 900,\n padding: '1.6em',\n borderRadius: 16,\n fontSize: 22,\n },\n l: {\n width: 792,\n padding: '1.6em',\n borderRadius: 16,\n fontSize: 20,\n },\n m: {\n width: 600,\n padding: '1.6em',\n borderRadius: 16,\n fontSize: 16,\n },\n s: {\n width: 520,\n padding: '1.6em',\n borderRadius: 16,\n fontSize: 14,\n },\n xs: {\n width: 375,\n padding: '1.6em',\n borderRadius: 16,\n fontSize: 12,\n },\n xxs: {\n width: 375,\n padding: '1.6em',\n borderRadius: 16,\n fontSize: 12,\n },\n xxxs: {\n width: 375,\n padding: '1.6em',\n borderRadius: 16,\n fontSize: 12,\n },\n}\n"],"names":["SIZES","xxxl","width","padding","borderRadius","fontSize","xxl","xl","l","m","s","xs","xxs","xxxs","SIZES_LANDSCAPE"],"mappings":"AAEO,IAAMA,EAAe,CAC1BC,KAAM,CACJC,MAAO,IACPC,QAAS,QACTC,aAAc,GACdC,SAAU,IAEZC,IAAK,CACHJ,MAAO,IACPC,QAAS,QACTC,aAAc,GACdC,SAAU,IAEZE,GAAI,CACFL,MAAO,IACPC,QAAS,QACTC,aAAc,GACdC,SAAU,IAEZG,EAAG,CACDN,MAAO,IACPC,QAAS,QACTC,aAAc,GACdC,SAAU,IAEZI,EAAG,CACDP,MAAO,IACPC,QAAS,QACTC,aAAc,GACdC,SAAU,IAEZK,EAAG,CACDR,MAAO,IACPC,QAAS,QACTC,aAAc,GACdC,SAAU,IAEZM,GAAI,CACFT,MAAO,IACPC,QAAS,QACTC,aAAc,GACdC,SAAU,IAEZO,IAAK,CACHV,MAAO,IACPC,QAAS,QACTC,aAAc,GACdC,SAAU,IAEZQ,KAAM,CACJX,MAAO,IACPC,QAAS,QACTC,aAAc,GACdC,SAAU,KAIP,IAAMS,EAAyB,CACpCb,KAAM,CACJC,MAAO,IACPC,QAAS,QACTC,aAAc,GACdC,SAAU,IAEZC,IAAK,CACHJ,MAAO,IACPC,QAAS,QACTC,aAAc,GACdC,SAAU,IAEZE,GAAI,CACFL,MAAO,IACPC,QAAS,QACTC,aAAc,GACdC,SAAU,IAEZG,EAAG,CACDN,MAAO,IACPC,QAAS,QACTC,aAAc,GACdC,SAAU,IAEZI,EAAG,CACDP,MAAO,IACPC,QAAS,QACTC,aAAc,GACdC,SAAU,IAEZK,EAAG,CACDR,MAAO,IACPC,QAAS,QACTC,aAAc,GACdC,SAAU,IAEZM,GAAI,CACFT,MAAO,IACPC,QAAS,QACTC,aAAc,GACdC,SAAU,IAEZO,IAAK,CACHV,MAAO,IACPC,QAAS,QACTC,aAAc,GACdC,SAAU,IAEZQ,KAAM,CACJX,MAAO,IACPC,QAAS,QACTC,aAAc,GACdC,SAAU"}