@sats-group/ui-lib 80.4.0 → 81.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (656) hide show
  1. package/package.json +6 -2
  2. package/react/add-bem-modifiers.d.ts +10 -0
  3. package/react/add-bem-modifiers.js +2 -0
  4. package/react/add-bem-modifiers.js.map +7 -0
  5. package/react/badge/badge.d.ts +7 -0
  6. package/react/badge/badge.js +2 -0
  7. package/react/badge/badge.js.map +7 -0
  8. package/react/badge/badge.types.d.ts +29 -0
  9. package/react/badge/badge.types.js +2 -0
  10. package/react/badge/badge.types.js.map +7 -0
  11. package/react/badge/index.js +2 -0
  12. package/react/badge/index.js.map +7 -0
  13. package/react/banner/banner.d.ts +4 -0
  14. package/react/banner/banner.js +2 -0
  15. package/react/banner/banner.js.map +7 -0
  16. package/react/banner/banner.types.d.ts +13 -0
  17. package/react/banner/banner.types.js +1 -0
  18. package/react/banner/banner.types.js.map +7 -0
  19. package/react/banner/index.js +2 -0
  20. package/react/banner/index.js.map +7 -0
  21. package/react/bomb/bomb.d.ts +4 -0
  22. package/react/bomb/bomb.js +2 -0
  23. package/react/bomb/bomb.js.map +7 -0
  24. package/react/bomb/bomb.types.d.ts +4 -0
  25. package/react/bomb/bomb.types.js +1 -0
  26. package/react/bomb/bomb.types.js.map +7 -0
  27. package/react/bomb/index.js +2 -0
  28. package/react/bomb/index.js.map +7 -0
  29. package/react/button/button.d.ts +9 -0
  30. package/react/button/button.js +2 -0
  31. package/react/button/button.js.map +7 -0
  32. package/react/button/{button.types.ts → button.types.d.ts} +0 -1
  33. package/react/button/button.types.js +1 -0
  34. package/react/button/button.types.js.map +7 -0
  35. package/react/button/index.js +2 -0
  36. package/react/button/index.js.map +7 -0
  37. package/react/checkbox/checkbox.d.ts +20 -0
  38. package/react/checkbox/checkbox.js +2 -0
  39. package/react/checkbox/checkbox.js.map +7 -0
  40. package/react/checkbox/checkbox.types.d.ts +17 -0
  41. package/react/checkbox/checkbox.types.js +2 -0
  42. package/react/checkbox/checkbox.types.js.map +7 -0
  43. package/react/checkbox/index.js +2 -0
  44. package/react/checkbox/index.js.map +7 -0
  45. package/react/chip/chip.d.ts +4 -0
  46. package/react/chip/chip.js +2 -0
  47. package/react/chip/chip.js.map +7 -0
  48. package/react/chip/chip.types.d.ts +18 -0
  49. package/react/chip/chip.types.js +1 -0
  50. package/react/chip/chip.types.js.map +7 -0
  51. package/react/chip/index.js +2 -0
  52. package/react/chip/index.js.map +7 -0
  53. package/react/chip/remove.d.ts +3 -0
  54. package/react/chip/remove.js +2 -0
  55. package/react/chip/remove.js.map +7 -0
  56. package/react/chip-selected/chip-selected.d.ts +4 -0
  57. package/react/chip-selected/chip-selected.js +2 -0
  58. package/react/chip-selected/chip-selected.js.map +7 -0
  59. package/react/chip-selected/chip-selected.types.d.ts +10 -0
  60. package/react/chip-selected/chip-selected.types.js +1 -0
  61. package/react/chip-selected/chip-selected.types.js.map +7 -0
  62. package/react/chip-selected/index.js +2 -0
  63. package/react/chip-selected/index.js.map +7 -0
  64. package/react/collapse/collapse.d.ts +1134 -0
  65. package/react/collapse/collapse.js +2 -0
  66. package/react/collapse/collapse.js.map +7 -0
  67. package/react/collapse/collapse.types.d.ts +13 -0
  68. package/react/collapse/collapse.types.js +1 -0
  69. package/react/collapse/collapse.types.js.map +7 -0
  70. package/react/collapse/index.js +2 -0
  71. package/react/collapse/index.js.map +7 -0
  72. package/react/components.d.ts +2 -0
  73. package/react/components.js +2 -0
  74. package/react/components.js.map +7 -0
  75. package/react/confirmation/confirmation.d.ts +4 -0
  76. package/react/confirmation/confirmation.js +2 -0
  77. package/react/confirmation/confirmation.js.map +7 -0
  78. package/react/confirmation/confirmation.types.d.ts +22 -0
  79. package/react/confirmation/confirmation.types.js +1 -0
  80. package/react/confirmation/confirmation.types.js.map +7 -0
  81. package/react/confirmation/index.js +2 -0
  82. package/react/confirmation/index.js.map +7 -0
  83. package/react/context-menu/context-menu.d.ts +7 -0
  84. package/react/context-menu/context-menu.js +2 -0
  85. package/react/context-menu/context-menu.js.map +7 -0
  86. package/react/context-menu/context-menu.types.d.ts +64 -0
  87. package/react/context-menu/context-menu.types.js +2 -0
  88. package/react/context-menu/context-menu.types.js.map +7 -0
  89. package/react/context-menu/index.js +2 -0
  90. package/react/context-menu/index.js.map +7 -0
  91. package/react/cropped-image/cropped-image.d.ts +7 -0
  92. package/react/cropped-image/cropped-image.js +2 -0
  93. package/react/cropped-image/cropped-image.js.map +7 -0
  94. package/react/cropped-image/cropped-image.types.d.ts +23 -0
  95. package/react/cropped-image/cropped-image.types.js +2 -0
  96. package/react/cropped-image/cropped-image.types.js.map +7 -0
  97. package/react/cropped-image/index.js +2 -0
  98. package/react/cropped-image/index.js.map +7 -0
  99. package/react/div-button/div-button.d.ts +8 -0
  100. package/react/div-button/div-button.js +2 -0
  101. package/react/div-button/div-button.js.map +7 -0
  102. package/react/div-button/{div-button.types.ts → div-button.types.d.ts} +0 -1
  103. package/react/div-button/div-button.types.js +1 -0
  104. package/react/div-button/div-button.types.js.map +7 -0
  105. package/react/div-button/index.js +2 -0
  106. package/react/div-button/index.js.map +7 -0
  107. package/react/dropdown-list/dropdown-list.d.ts +6 -0
  108. package/react/dropdown-list/dropdown-list.js +2 -0
  109. package/react/dropdown-list/dropdown-list.js.map +7 -0
  110. package/react/dropdown-list/dropdown-list.types.d.ts +15 -0
  111. package/react/dropdown-list/dropdown-list.types.js +2 -0
  112. package/react/dropdown-list/dropdown-list.types.js.map +7 -0
  113. package/react/dropdown-list/index.js +2 -0
  114. package/react/dropdown-list/index.js.map +7 -0
  115. package/react/expander/expander.d.ts +6 -0
  116. package/react/expander/expander.js +2 -0
  117. package/react/expander/expander.js.map +7 -0
  118. package/react/expander/expander.types.d.ts +30 -0
  119. package/react/expander/expander.types.js +2 -0
  120. package/react/expander/expander.types.js.map +7 -0
  121. package/react/expander/index.js +2 -0
  122. package/react/expander/index.js.map +7 -0
  123. package/react/filter/filter.d.ts +4 -0
  124. package/react/filter/filter.js +2 -0
  125. package/react/filter/filter.js.map +7 -0
  126. package/react/filter/filter.types.d.ts +9 -0
  127. package/react/filter/filter.types.js +1 -0
  128. package/react/filter/filter.types.js.map +7 -0
  129. package/react/filter/index.js +2 -0
  130. package/react/filter/index.js.map +7 -0
  131. package/react/filter-wrapper/filter-wrapper.d.ts +4 -0
  132. package/react/filter-wrapper/filter-wrapper.js +2 -0
  133. package/react/filter-wrapper/filter-wrapper.js.map +7 -0
  134. package/react/filter-wrapper/filter-wrapper.types.d.ts +8 -0
  135. package/react/filter-wrapper/filter-wrapper.types.js +2 -0
  136. package/react/filter-wrapper/filter-wrapper.types.js.map +7 -0
  137. package/react/filter-wrapper/index.js +2 -0
  138. package/react/filter-wrapper/index.js.map +7 -0
  139. package/react/flag/flag.d.ts +7 -0
  140. package/react/flag/flag.js +2 -0
  141. package/react/flag/flag.js.map +7 -0
  142. package/react/flag/flag.types.d.ts +14 -0
  143. package/react/flag/flag.types.js +2 -0
  144. package/react/flag/flag.types.js.map +7 -0
  145. package/react/flag/index.js +2 -0
  146. package/react/flag/index.js.map +7 -0
  147. package/react/form-content/checkbox-category.d.ts +4 -0
  148. package/react/form-content/checkbox-category.js +2 -0
  149. package/react/form-content/checkbox-category.js.map +7 -0
  150. package/react/form-content/form-content.checkbox-list.d.ts +4 -0
  151. package/react/form-content/form-content.checkbox-list.js +2 -0
  152. package/react/form-content/form-content.checkbox-list.js.map +7 -0
  153. package/react/form-content/form-content.checkbox-list.types.d.ts +35 -0
  154. package/react/form-content/form-content.checkbox-list.types.js +1 -0
  155. package/react/form-content/form-content.checkbox-list.types.js.map +7 -0
  156. package/react/form-content/form-content.d.ts +4 -0
  157. package/react/form-content/form-content.js +2 -0
  158. package/react/form-content/form-content.js.map +7 -0
  159. package/react/form-content/form-content.radio-list.d.ts +4 -0
  160. package/react/form-content/form-content.radio-list.js +2 -0
  161. package/react/form-content/form-content.radio-list.js.map +7 -0
  162. package/react/form-content/form-content.range.d.ts +4 -0
  163. package/react/form-content/form-content.range.js +2 -0
  164. package/react/form-content/form-content.range.js.map +7 -0
  165. package/react/form-content/{form-content.range.types.ts → form-content.range.types.d.ts} +7 -8
  166. package/react/form-content/form-content.range.types.js +1 -0
  167. package/react/form-content/form-content.range.types.js.map +7 -0
  168. package/react/form-content/form-content.search.d.ts +4 -0
  169. package/react/form-content/form-content.search.js +2 -0
  170. package/react/form-content/form-content.search.js.map +7 -0
  171. package/react/form-content/form-content.types.d.ts +49 -0
  172. package/react/form-content/form-content.types.js +2 -0
  173. package/react/form-content/form-content.types.js.map +7 -0
  174. package/react/form-content/index.js +2 -0
  175. package/react/form-content/index.js.map +7 -0
  176. package/react/hidden-input/{hidden-input.tsx → hidden-input.d.ts} +1 -6
  177. package/react/hidden-input/hidden-input.js +2 -0
  178. package/react/hidden-input/hidden-input.js.map +7 -0
  179. package/react/hidden-input/{hidden-input.types.ts → hidden-input.types.d.ts} +2 -3
  180. package/react/hidden-input/hidden-input.types.js +1 -0
  181. package/react/hidden-input/hidden-input.types.js.map +7 -0
  182. package/react/hidden-input/index.js +2 -0
  183. package/react/hidden-input/index.js.map +7 -0
  184. package/react/hooks/focus-previous-element.d.ts +3 -0
  185. package/react/hooks/focus-previous-element.js +2 -0
  186. package/react/hooks/focus-previous-element.js.map +7 -0
  187. package/react/hooks/is-running-on-client.d.ts +2 -0
  188. package/react/hooks/is-running-on-client.js +2 -0
  189. package/react/hooks/is-running-on-client.js.map +7 -0
  190. package/react/hooks/use-click-outside.d.ts +4 -0
  191. package/react/hooks/use-click-outside.js +2 -0
  192. package/react/hooks/use-click-outside.js.map +7 -0
  193. package/react/hooks/use-escape.d.ts +2 -0
  194. package/react/hooks/use-escape.js +2 -0
  195. package/react/hooks/use-escape.js.map +7 -0
  196. package/react/hooks/use-event.d.ts +2 -0
  197. package/react/hooks/use-event.js +2 -0
  198. package/react/hooks/use-event.js.map +7 -0
  199. package/react/hooks/use-is-mounted.d.ts +1 -0
  200. package/react/hooks/use-is-mounted.js +2 -0
  201. package/react/hooks/use-is-mounted.js.map +7 -0
  202. package/react/hooks/use-toggle.d.ts +2 -0
  203. package/react/hooks/use-toggle.js +2 -0
  204. package/react/hooks/use-toggle.js.map +7 -0
  205. package/react/icons/16/add.d.ts +3 -0
  206. package/react/icons/16/add.js +2 -0
  207. package/react/icons/16/add.js.map +7 -0
  208. package/react/icons/16/close.d.ts +3 -0
  209. package/react/icons/16/close.js +2 -0
  210. package/react/icons/16/close.js.map +7 -0
  211. package/react/icons/16/error.d.ts +3 -0
  212. package/react/icons/16/error.js +2 -0
  213. package/react/icons/16/error.js.map +7 -0
  214. package/react/icons/16/fistbump.d.ts +3 -0
  215. package/react/icons/16/fistbump.js +2 -0
  216. package/react/icons/16/fistbump.js.map +7 -0
  217. package/react/icons/16/info.d.ts +3 -0
  218. package/react/icons/16/info.js +2 -0
  219. package/react/icons/16/info.js.map +7 -0
  220. package/react/icons/16/send.d.ts +3 -0
  221. package/react/icons/16/send.js +2 -0
  222. package/react/icons/16/send.js.map +7 -0
  223. package/react/icons/18/arrow-down.d.ts +3 -0
  224. package/react/icons/18/arrow-down.js +2 -0
  225. package/react/icons/18/arrow-down.js.map +7 -0
  226. package/react/icons/18/close.d.ts +3 -0
  227. package/react/icons/18/close.js +2 -0
  228. package/react/icons/18/close.js.map +7 -0
  229. package/react/icons/18/confirm.d.ts +3 -0
  230. package/react/icons/18/confirm.js +2 -0
  231. package/react/icons/18/confirm.js.map +7 -0
  232. package/react/icons/18/error.d.ts +3 -0
  233. package/react/icons/18/error.js +2 -0
  234. package/react/icons/18/error.js.map +7 -0
  235. package/react/icons/18/info.d.ts +3 -0
  236. package/react/icons/18/info.js +2 -0
  237. package/react/icons/18/info.js.map +7 -0
  238. package/react/icons/18/warning-sign.d.ts +3 -0
  239. package/react/icons/18/warning-sign.js +2 -0
  240. package/react/icons/18/warning-sign.js.map +7 -0
  241. package/react/icons/24/arrow-down.d.ts +3 -0
  242. package/react/icons/24/arrow-down.js +2 -0
  243. package/react/icons/24/arrow-down.js.map +7 -0
  244. package/react/icons/24/arrow-right.d.ts +3 -0
  245. package/react/icons/24/arrow-right.js +2 -0
  246. package/react/icons/24/arrow-right.js.map +7 -0
  247. package/react/icons/24/arrow-up.d.ts +3 -0
  248. package/react/icons/24/arrow-up.js +2 -0
  249. package/react/icons/24/arrow-up.js.map +7 -0
  250. package/react/icons/24/close.d.ts +3 -0
  251. package/react/icons/24/close.js +2 -0
  252. package/react/icons/24/close.js.map +7 -0
  253. package/react/icons/24/remove.d.ts +3 -0
  254. package/react/icons/24/remove.js +2 -0
  255. package/react/icons/24/remove.js.map +7 -0
  256. package/react/icons/24/search.d.ts +3 -0
  257. package/react/icons/24/search.js +2 -0
  258. package/react/icons/24/search.js.map +7 -0
  259. package/react/indexed-access-type.js +1 -0
  260. package/react/indexed-access-type.js.map +7 -0
  261. package/react/link/index.js +2 -0
  262. package/react/link/index.js.map +7 -0
  263. package/react/link/link.d.ts +9 -0
  264. package/react/link/link.js +2 -0
  265. package/react/link/link.js.map +7 -0
  266. package/react/link/link.types.d.ts +29 -0
  267. package/react/link/link.types.js +2 -0
  268. package/react/link/link.types.js.map +7 -0
  269. package/react/link-button/index.js +2 -0
  270. package/react/link-button/index.js.map +7 -0
  271. package/react/link-button/link-button.d.ts +8 -0
  272. package/react/link-button/link-button.js +2 -0
  273. package/react/link-button/link-button.js.map +7 -0
  274. package/react/link-button/{link-button.types.ts → link-button.types.d.ts} +0 -1
  275. package/react/link-button/link-button.types.js +1 -0
  276. package/react/link-button/link-button.types.js.map +7 -0
  277. package/react/link-card/index.js +2 -0
  278. package/react/link-card/index.js.map +7 -0
  279. package/react/link-card/link-card.d.ts +4 -0
  280. package/react/link-card/link-card.js +2 -0
  281. package/react/link-card/link-card.js.map +7 -0
  282. package/react/link-card/link-card.types.d.ts +5 -0
  283. package/react/link-card/link-card.types.js +1 -0
  284. package/react/link-card/link-card.types.js.map +7 -0
  285. package/react/logos/e-avatar.d.ts +3 -0
  286. package/react/logos/e-avatar.js +2 -0
  287. package/react/logos/e-avatar.js.map +7 -0
  288. package/react/logos/elixia-anniversary-light.d.ts +3 -0
  289. package/react/logos/elixia-anniversary-light.js +2 -0
  290. package/react/logos/elixia-anniversary-light.js.map +7 -0
  291. package/react/logos/elixia-letter.d.ts +3 -0
  292. package/react/logos/elixia-letter.js +2 -0
  293. package/react/logos/elixia-letter.js.map +7 -0
  294. package/react/logos/elixia-pride-dark.d.ts +3 -0
  295. package/react/logos/elixia-pride-dark.js +2 -0
  296. package/react/logos/elixia-pride-dark.js.map +7 -0
  297. package/react/logos/elixia-pride-light.d.ts +3 -0
  298. package/react/logos/elixia-pride-light.js +2 -0
  299. package/react/logos/elixia-pride-light.js.map +7 -0
  300. package/react/logos/elixia-small.d.ts +3 -0
  301. package/react/logos/elixia-small.js +2 -0
  302. package/react/logos/elixia-small.js.map +7 -0
  303. package/react/logos/elixia.d.ts +3 -0
  304. package/react/logos/elixia.js +2 -0
  305. package/react/logos/elixia.js.map +7 -0
  306. package/react/logos/index.js +2 -0
  307. package/react/logos/index.js.map +7 -0
  308. package/react/logos/s-avatar.d.ts +3 -0
  309. package/react/logos/s-avatar.js +2 -0
  310. package/react/logos/s-avatar.js.map +7 -0
  311. package/react/logos/sats-anniversary-light.d.ts +3 -0
  312. package/react/logos/sats-anniversary-light.js +2 -0
  313. package/react/logos/sats-anniversary-light.js.map +7 -0
  314. package/react/logos/sats-letter.d.ts +3 -0
  315. package/react/logos/sats-letter.js +2 -0
  316. package/react/logos/sats-letter.js.map +7 -0
  317. package/react/logos/sats-pride-dark.d.ts +3 -0
  318. package/react/logos/sats-pride-dark.js +2 -0
  319. package/react/logos/sats-pride-dark.js.map +7 -0
  320. package/react/logos/sats-pride-light.d.ts +3 -0
  321. package/react/logos/sats-pride-light.js +2 -0
  322. package/react/logos/sats-pride-light.js.map +7 -0
  323. package/react/logos/sats-small.d.ts +3 -0
  324. package/react/logos/sats-small.js +2 -0
  325. package/react/logos/sats-small.js.map +7 -0
  326. package/react/logos/sats.d.ts +3 -0
  327. package/react/logos/sats.js +2 -0
  328. package/react/logos/sats.js.map +7 -0
  329. package/react/message/hook/use-message.d.ts +3 -0
  330. package/react/message/hook/use-message.js +2 -0
  331. package/react/message/hook/use-message.js.map +7 -0
  332. package/react/message/index.js +2 -0
  333. package/react/message/index.js.map +7 -0
  334. package/react/message/message.d.ts +6 -0
  335. package/react/message/message.js +2 -0
  336. package/react/message/message.js.map +7 -0
  337. package/react/message/message.types.d.ts +23 -0
  338. package/react/message/message.types.js +2 -0
  339. package/react/message/message.types.js.map +7 -0
  340. package/react/message/publish.d.ts +3 -0
  341. package/react/message/publish.js +2 -0
  342. package/react/message/publish.js.map +7 -0
  343. package/react/message-field/index.js +2 -0
  344. package/react/message-field/index.js.map +7 -0
  345. package/react/message-field/message-field.d.ts +7 -0
  346. package/react/message-field/message-field.js +2 -0
  347. package/react/message-field/message-field.js.map +7 -0
  348. package/react/message-field/message-field.types.d.ts +21 -0
  349. package/react/message-field/message-field.types.js +2 -0
  350. package/react/message-field/message-field.types.js.map +7 -0
  351. package/react/modal/index.js +2 -0
  352. package/react/modal/index.js.map +7 -0
  353. package/react/modal/modal.d.ts +6 -0
  354. package/react/modal/modal.js +2 -0
  355. package/react/modal/modal.js.map +7 -0
  356. package/react/modal/modal.types.d.ts +32 -0
  357. package/react/modal/modal.types.js +2 -0
  358. package/react/modal/modal.types.js.map +7 -0
  359. package/react/modal/tab-trapper.d.ts +6 -0
  360. package/react/modal/tab-trapper.js +2 -0
  361. package/react/modal/tab-trapper.js.map +7 -0
  362. package/react/progress-bar/index.js +2 -0
  363. package/react/progress-bar/index.js.map +7 -0
  364. package/react/progress-bar/progress-bar.d.ts +9 -0
  365. package/react/progress-bar/progress-bar.js +2 -0
  366. package/react/progress-bar/progress-bar.js.map +7 -0
  367. package/react/progress-bar/progress-bar.types.d.ts +30 -0
  368. package/react/progress-bar/progress-bar.types.js +2 -0
  369. package/react/progress-bar/progress-bar.types.js.map +7 -0
  370. package/react/radio/index.js +2 -0
  371. package/react/radio/index.js.map +7 -0
  372. package/react/radio/radio.d.ts +17 -0
  373. package/react/radio/radio.js +2 -0
  374. package/react/radio/radio.js.map +7 -0
  375. package/react/radio/radio.types.d.ts +13 -0
  376. package/react/radio/radio.types.js +2 -0
  377. package/react/radio/radio.types.js.map +7 -0
  378. package/react/scale-bar/index.js +2 -0
  379. package/react/scale-bar/index.js.map +7 -0
  380. package/react/scale-bar/scale-bar.d.ts +4 -0
  381. package/react/scale-bar/scale-bar.js +2 -0
  382. package/react/scale-bar/scale-bar.js.map +7 -0
  383. package/react/scale-bar/scale-bar.types.d.ts +4 -0
  384. package/react/scale-bar/scale-bar.types.js +1 -0
  385. package/react/scale-bar/scale-bar.types.js.map +7 -0
  386. package/react/search/index.js +2 -0
  387. package/react/search/index.js.map +7 -0
  388. package/react/search/search.d.ts +28 -0
  389. package/react/search/search.js +2 -0
  390. package/react/search/search.js.map +7 -0
  391. package/react/search/search.types.d.ts +39 -0
  392. package/react/search/search.types.js +2 -0
  393. package/react/search/search.types.js.map +7 -0
  394. package/react/select/index.js +2 -0
  395. package/react/select/index.js.map +7 -0
  396. package/react/select/select.d.ts +10 -0
  397. package/react/select/select.js +2 -0
  398. package/react/select/select.js.map +7 -0
  399. package/react/select/select.types.d.ts +21 -0
  400. package/react/select/select.types.js +2 -0
  401. package/react/select/select.types.js.map +7 -0
  402. package/react/select-option/index.js +2 -0
  403. package/react/select-option/index.js.map +7 -0
  404. package/react/select-option/{select-option.tsx → select-option.d.ts} +1 -12
  405. package/react/select-option/select-option.js +2 -0
  406. package/react/select-option/select-option.js.map +7 -0
  407. package/react/select-option/select-option.types.d.ts +6 -0
  408. package/react/select-option/select-option.types.js +1 -0
  409. package/react/select-option/select-option.types.js.map +7 -0
  410. package/react/tag/index.js +2 -0
  411. package/react/tag/index.js.map +7 -0
  412. package/react/tag/tag.d.ts +7 -0
  413. package/react/tag/tag.js +2 -0
  414. package/react/tag/tag.js.map +7 -0
  415. package/react/tag/tag.types.d.ts +26 -0
  416. package/react/tag/tag.types.js +2 -0
  417. package/react/tag/tag.types.js.map +7 -0
  418. package/react/text/index.js +2 -0
  419. package/react/text/index.js.map +7 -0
  420. package/react/text/text.d.ts +7 -0
  421. package/react/text/text.js +2 -0
  422. package/react/text/text.js.map +7 -0
  423. package/react/text/text.types.d.ts +27 -0
  424. package/react/text/text.types.js +2 -0
  425. package/react/text/text.types.js.map +7 -0
  426. package/react/text-area/index.js +2 -0
  427. package/react/text-area/index.js.map +7 -0
  428. package/react/text-area/text-area.d.ts +20 -0
  429. package/react/text-area/text-area.js +2 -0
  430. package/react/text-area/text-area.js.map +7 -0
  431. package/react/text-area/text-area.types.d.ts +21 -0
  432. package/react/text-area/text-area.types.js +2 -0
  433. package/react/text-area/text-area.types.js.map +7 -0
  434. package/react/text-input/index.js +2 -0
  435. package/react/text-input/index.js.map +7 -0
  436. package/react/text-input/text-input.d.ts +18 -0
  437. package/react/text-input/text-input.js +2 -0
  438. package/react/text-input/text-input.js.map +7 -0
  439. package/react/text-input/text-input.types.d.ts +21 -0
  440. package/react/text-input/text-input.types.js +2 -0
  441. package/react/text-input/text-input.types.js.map +7 -0
  442. package/react/toggle/index.js +2 -0
  443. package/react/toggle/index.js.map +7 -0
  444. package/react/toggle/toggle.d.ts +13 -0
  445. package/react/toggle/toggle.js +2 -0
  446. package/react/toggle/toggle.js.map +7 -0
  447. package/react/toggle/toggle.types.d.ts +10 -0
  448. package/react/toggle/toggle.types.js +1 -0
  449. package/react/toggle/toggle.types.js.map +7 -0
  450. package/react/toolbox/index.js +2 -0
  451. package/react/toolbox/index.js.map +7 -0
  452. package/react/toolbox/toolbox.d.ts +4 -0
  453. package/react/toolbox/toolbox.js +2 -0
  454. package/react/toolbox/toolbox.js.map +7 -0
  455. package/react/toolbox/toolbox.types.d.ts +34 -0
  456. package/react/toolbox/toolbox.types.js +2 -0
  457. package/react/toolbox/toolbox.types.js.map +7 -0
  458. package/react/ts/debounce.d.ts +1 -0
  459. package/react/ts/debounce.js +2 -0
  460. package/react/ts/debounce.js.map +7 -0
  461. package/react/{types.ts → types.d.ts} +4 -19
  462. package/react/types.js +1 -0
  463. package/react/types.js.map +7 -0
  464. package/react/use-input-validation.d.ts +4 -0
  465. package/react/use-input-validation.js +2 -0
  466. package/react/use-input-validation.js.map +7 -0
  467. package/react/use-input-validation.types.d.ts +13 -0
  468. package/react/use-input-validation.types.js +1 -0
  469. package/react/use-input-validation.types.js.map +7 -0
  470. package/react/visually-button/index.js +2 -0
  471. package/react/visually-button/index.js.map +7 -0
  472. package/react/visually-button/maps.d.ts +6 -0
  473. package/react/visually-button/maps.js +2 -0
  474. package/react/visually-button/maps.js.map +7 -0
  475. package/react/visually-button/visually-button.d.ts +8 -0
  476. package/react/visually-button/visually-button.js +2 -0
  477. package/react/visually-button/visually-button.js.map +7 -0
  478. package/react/visually-button/visually-button.types.d.ts +46 -0
  479. package/react/visually-button/visually-button.types.js +2 -0
  480. package/react/visually-button/visually-button.types.js.map +7 -0
  481. package/react/visually-hidden/index.js +2 -0
  482. package/react/visually-hidden/index.js.map +7 -0
  483. package/react/visually-hidden/visually-hidden.d.ts +3 -0
  484. package/react/visually-hidden/visually-hidden.js +2 -0
  485. package/react/visually-hidden/visually-hidden.js.map +7 -0
  486. package/.nvmrc +0 -1
  487. package/catalog-info.yaml +0 -14
  488. package/eslint.config.mjs +0 -93
  489. package/react/add-bem-modifiers.ts +0 -51
  490. package/react/badge/badge.tsx +0 -28
  491. package/react/badge/badge.types.ts +0 -34
  492. package/react/banner/banner.tsx +0 -93
  493. package/react/banner/banner.types.ts +0 -10
  494. package/react/bomb/bomb.tsx +0 -19
  495. package/react/bomb/bomb.types.ts +0 -1
  496. package/react/button/button.tsx +0 -23
  497. package/react/checkbox/checkbox.tsx +0 -176
  498. package/react/checkbox/checkbox.types.ts +0 -19
  499. package/react/chip/chip.tsx +0 -37
  500. package/react/chip/chip.types.ts +0 -18
  501. package/react/chip/remove.tsx +0 -14
  502. package/react/chip-selected/chip-selected.tsx +0 -102
  503. package/react/chip-selected/chip-selected.types.ts +0 -11
  504. package/react/collapse/collapse.tsx +0 -179
  505. package/react/collapse/collapse.types.ts +0 -13
  506. package/react/components.ts +0 -83
  507. package/react/confirmation/confirmation.tsx +0 -90
  508. package/react/confirmation/confirmation.types.ts +0 -25
  509. package/react/context-menu/context-menu.tsx +0 -201
  510. package/react/context-menu/context-menu.types.ts +0 -71
  511. package/react/cropped-image/cropped-image.tsx +0 -36
  512. package/react/cropped-image/cropped-image.types.ts +0 -26
  513. package/react/div-button/div-button.tsx +0 -15
  514. package/react/dropdown-list/dropdown-list.tsx +0 -116
  515. package/react/dropdown-list/dropdown-list.types.ts +0 -17
  516. package/react/expander/expander.tsx +0 -170
  517. package/react/expander/expander.types.ts +0 -33
  518. package/react/filter/filter.tsx +0 -99
  519. package/react/filter/filter.types.ts +0 -8
  520. package/react/filter-wrapper/filter-wrapper.tsx +0 -24
  521. package/react/filter-wrapper/filter-wrapper.types.ts +0 -10
  522. package/react/flag/flag.tsx +0 -27
  523. package/react/flag/flag.types.ts +0 -17
  524. package/react/form-content/checkbox-category.tsx +0 -183
  525. package/react/form-content/form-content.checkbox-list.tsx +0 -126
  526. package/react/form-content/form-content.checkbox-list.types.ts +0 -36
  527. package/react/form-content/form-content.radio-list.tsx +0 -58
  528. package/react/form-content/form-content.range.tsx +0 -20
  529. package/react/form-content/form-content.search.tsx +0 -47
  530. package/react/form-content/form-content.tsx +0 -96
  531. package/react/form-content/form-content.types.ts +0 -55
  532. package/react/hooks/focus-previous-element.ts +0 -30
  533. package/react/hooks/is-running-on-client.ts +0 -1
  534. package/react/hooks/use-click-outside.ts +0 -23
  535. package/react/hooks/use-escape.ts +0 -18
  536. package/react/hooks/use-event.ts +0 -29
  537. package/react/hooks/use-is-mounted.ts +0 -11
  538. package/react/hooks/use-toggle.ts +0 -19
  539. package/react/icons/16/add.tsx +0 -13
  540. package/react/icons/16/close.tsx +0 -12
  541. package/react/icons/16/error.tsx +0 -23
  542. package/react/icons/16/fistbump.tsx +0 -13
  543. package/react/icons/16/info.tsx +0 -17
  544. package/react/icons/16/send.tsx +0 -13
  545. package/react/icons/18/arrow-down.tsx +0 -13
  546. package/react/icons/18/close.tsx +0 -18
  547. package/react/icons/18/confirm.tsx +0 -19
  548. package/react/icons/18/error.tsx +0 -23
  549. package/react/icons/18/info.tsx +0 -17
  550. package/react/icons/18/warning-sign.tsx +0 -23
  551. package/react/icons/24/arrow-down.tsx +0 -14
  552. package/react/icons/24/arrow-right.tsx +0 -14
  553. package/react/icons/24/arrow-up.tsx +0 -14
  554. package/react/icons/24/close.tsx +0 -12
  555. package/react/icons/24/remove.tsx +0 -12
  556. package/react/icons/24/search.tsx +0 -10
  557. package/react/icons/icons.md +0 -3
  558. package/react/link/link.tsx +0 -62
  559. package/react/link/link.types.ts +0 -37
  560. package/react/link-button/link-button.tsx +0 -17
  561. package/react/link-card/link-card.tsx +0 -24
  562. package/react/link-card/link-card.types.ts +0 -5
  563. package/react/logos/e-avatar.tsx +0 -12
  564. package/react/logos/elixia-anniversary-light.tsx +0 -70
  565. package/react/logos/elixia-letter.tsx +0 -12
  566. package/react/logos/elixia-pride-dark.tsx +0 -102
  567. package/react/logos/elixia-pride-light.tsx +0 -102
  568. package/react/logos/elixia-small.tsx +0 -12
  569. package/react/logos/elixia.tsx +0 -12
  570. package/react/logos/s-avatar.tsx +0 -12
  571. package/react/logos/sats-anniversary-light.tsx +0 -76
  572. package/react/logos/sats-letter.tsx +0 -12
  573. package/react/logos/sats-pride-dark.tsx +0 -102
  574. package/react/logos/sats-pride-light.tsx +0 -102
  575. package/react/logos/sats-small.tsx +0 -12
  576. package/react/logos/sats.tsx +0 -12
  577. package/react/message/hook/use-message.ts +0 -22
  578. package/react/message/message.tsx +0 -60
  579. package/react/message/message.types.ts +0 -39
  580. package/react/message/publish.ts +0 -19
  581. package/react/message-field/message-field.tsx +0 -70
  582. package/react/message-field/message-field.types.ts +0 -24
  583. package/react/modal/modal.tsx +0 -131
  584. package/react/modal/modal.types.ts +0 -36
  585. package/react/modal/tab-trapper.tsx +0 -68
  586. package/react/progress-bar/progress-bar.tsx +0 -81
  587. package/react/progress-bar/progress-bar.types.ts +0 -35
  588. package/react/radio/radio.tsx +0 -87
  589. package/react/radio/radio.types.ts +0 -15
  590. package/react/scale-bar/scale-bar.tsx +0 -29
  591. package/react/scale-bar/scale-bar.types.ts +0 -4
  592. package/react/search/search.tsx +0 -267
  593. package/react/search/search.types.ts +0 -44
  594. package/react/select/select.tsx +0 -139
  595. package/react/select/select.types.ts +0 -26
  596. package/react/select-option/select-option.types.ts +0 -8
  597. package/react/tag/tag.tsx +0 -26
  598. package/react/tag/tag.types.ts +0 -30
  599. package/react/text/text.tsx +0 -40
  600. package/react/text/text.types.ts +0 -29
  601. package/react/text-area/text-area.tsx +0 -153
  602. package/react/text-area/text-area.types.ts +0 -24
  603. package/react/text-input/text-input.tsx +0 -160
  604. package/react/text-input/text-input.types.ts +0 -24
  605. package/react/toggle/toggle.tsx +0 -85
  606. package/react/toggle/toggle.types.ts +0 -11
  607. package/react/toolbox/toolbox.tsx +0 -43
  608. package/react/toolbox/toolbox.types.ts +0 -39
  609. package/react/ts/debounce.ts +0 -12
  610. package/react/use-input-validation.ts +0 -60
  611. package/react/use-input-validation.types.ts +0 -13
  612. package/react/visually-button/maps.ts +0 -36
  613. package/react/visually-button/visually-button.tsx +0 -111
  614. package/react/visually-button/visually-button.types.ts +0 -59
  615. package/react/visually-hidden/visually-hidden.tsx +0 -10
  616. /package/react/badge/{index.ts → index.d.ts} +0 -0
  617. /package/react/banner/{index.ts → index.d.ts} +0 -0
  618. /package/react/bomb/{index.ts → index.d.ts} +0 -0
  619. /package/react/button/{index.ts → index.d.ts} +0 -0
  620. /package/react/checkbox/{index.ts → index.d.ts} +0 -0
  621. /package/react/chip/{index.ts → index.d.ts} +0 -0
  622. /package/react/chip-selected/{index.ts → index.d.ts} +0 -0
  623. /package/react/collapse/{index.ts → index.d.ts} +0 -0
  624. /package/react/confirmation/{index.ts → index.d.ts} +0 -0
  625. /package/react/context-menu/{index.ts → index.d.ts} +0 -0
  626. /package/react/cropped-image/{index.ts → index.d.ts} +0 -0
  627. /package/react/div-button/{index.ts → index.d.ts} +0 -0
  628. /package/react/dropdown-list/{index.ts → index.d.ts} +0 -0
  629. /package/react/expander/{index.ts → index.d.ts} +0 -0
  630. /package/react/filter/{index.ts → index.d.ts} +0 -0
  631. /package/react/filter-wrapper/{index.ts → index.d.ts} +0 -0
  632. /package/react/flag/{index.ts → index.d.ts} +0 -0
  633. /package/react/form-content/{index.ts → index.d.ts} +0 -0
  634. /package/react/hidden-input/{index.ts → index.d.ts} +0 -0
  635. /package/react/{indexed-access-type.ts → indexed-access-type.d.ts} +0 -0
  636. /package/react/link/{index.ts → index.d.ts} +0 -0
  637. /package/react/link-button/{index.ts → index.d.ts} +0 -0
  638. /package/react/link-card/{index.ts → index.d.ts} +0 -0
  639. /package/react/logos/{index.ts → index.d.ts} +0 -0
  640. /package/react/message/{index.ts → index.d.ts} +0 -0
  641. /package/react/message-field/{index.ts → index.d.ts} +0 -0
  642. /package/react/modal/{index.ts → index.d.ts} +0 -0
  643. /package/react/progress-bar/{index.ts → index.d.ts} +0 -0
  644. /package/react/radio/{index.ts → index.d.ts} +0 -0
  645. /package/react/scale-bar/{index.ts → index.d.ts} +0 -0
  646. /package/react/search/{index.ts → index.d.ts} +0 -0
  647. /package/react/select/{index.ts → index.d.ts} +0 -0
  648. /package/react/select-option/{index.ts → index.d.ts} +0 -0
  649. /package/react/tag/{index.ts → index.d.ts} +0 -0
  650. /package/react/text/{index.ts → index.d.ts} +0 -0
  651. /package/react/text-area/{index.ts → index.d.ts} +0 -0
  652. /package/react/text-input/{index.ts → index.d.ts} +0 -0
  653. /package/react/toggle/{index.ts → index.d.ts} +0 -0
  654. /package/react/toolbox/{index.ts → index.d.ts} +0 -0
  655. /package/react/visually-button/{index.ts → index.d.ts} +0 -0
  656. /package/react/visually-hidden/{index.ts → index.d.ts} +0 -0
@@ -1,18 +0,0 @@
1
- import { useCallback } from 'react';
2
-
3
- import useEvent from './use-event';
4
-
5
- const useEscape = (callback: () => void) => {
6
- const handleKeyDown = useCallback(
7
- (event: KeyboardEvent) => {
8
- if (event.code === 'Escape') {
9
- callback();
10
- }
11
- },
12
- [callback],
13
- );
14
-
15
- useEvent('keydown', handleKeyDown);
16
- };
17
-
18
- export default useEscape;
@@ -1,29 +0,0 @@
1
- import { useEffect } from 'react';
2
-
3
- import isRunningOnClient from './is-running-on-client';
4
-
5
- const defaultTarget = isRunningOnClient ? window : null;
6
-
7
- const useEvent = <T extends Event = Event>(
8
- name: string,
9
- handler: (event: T) => void,
10
- target: EventTarget | null = defaultTarget,
11
- ) => {
12
- useEffect(() => {
13
- if (!name) {
14
- return;
15
- }
16
-
17
- if (!target) {
18
- return;
19
- }
20
-
21
- target.addEventListener(name, handler);
22
-
23
- return () => {
24
- target.removeEventListener(name, handler);
25
- };
26
- }, [name, handler, target]);
27
- };
28
-
29
- export default useEvent;
@@ -1,11 +0,0 @@
1
- import React from 'react';
2
-
3
- export const useIsMounted = () => {
4
- const [isMounted, setIsMounted] = React.useState(false);
5
-
6
- React.useEffect(() => {
7
- setIsMounted(true);
8
- }, []);
9
-
10
- return isMounted;
11
- };
@@ -1,19 +0,0 @@
1
- import { useState } from 'react';
2
-
3
- const useToggle = (
4
- initialState: boolean,
5
- ): [
6
- state: boolean,
7
- toggle: () => void,
8
- turnOn: () => void,
9
- turnOff: () => void,
10
- ] => {
11
- const [state, setState] = useState(!!initialState);
12
- const toggle = () => setState(!state);
13
- const turnOn = () => setState(true);
14
- const turnOff = () => setState(false);
15
-
16
- return [state, toggle, turnOn, turnOff];
17
- };
18
-
19
- export default useToggle;
@@ -1,13 +0,0 @@
1
- import * as React from 'react';
2
- const SvgAdd = () =>
3
- /* @__PURE__ */ React.createElement(
4
- 'svg',
5
- { width: 16, height: 16, fill: 'none' },
6
- /* @__PURE__ */ React.createElement('path', {
7
- fill: 'currentColor',
8
- fillRule: 'evenodd',
9
- d: 'M8 2.833a.5.5 0 0 1 .5.5V7.5h4.167a.5.5 0 0 1 0 1H8.5v4.167a.5.5 0 0 1-1 0V8.5H3.333a.5.5 0 0 1 0-1H7.5V3.333a.5.5 0 0 1 .5-.5',
10
- clipRule: 'evenodd',
11
- }),
12
- );
13
- export default SvgAdd;
@@ -1,12 +0,0 @@
1
- import * as React from 'react';
2
- const SvgClose = () => (
3
- <svg width={16} height={16} fill="none" xmlns="http://www.w3.org/2000/svg">
4
- <path
5
- fillRule="evenodd"
6
- clipRule="evenodd"
7
- d="M3.646 3.947a.5.5 0 0 1 .708 0L8 7.594l3.646-3.647a.5.5 0 0 1 .708.708L8.707 8.3l3.647 3.646a.5.5 0 0 1-.708.708L8 9.008l-3.646 3.647a.5.5 0 0 1-.708-.707L7.293 8.3 3.646 4.655a.5.5 0 0 1 0-.708Z"
8
- fill="currentColor"
9
- />
10
- </svg>
11
- );
12
- export default SvgClose;
@@ -1,23 +0,0 @@
1
- import * as React from 'react';
2
- const SvgError = () =>
3
- /* @__PURE__ */ React.createElement(
4
- 'svg',
5
- { width: 16, height: 16, fill: 'none' },
6
- /* @__PURE__ */ React.createElement('path', {
7
- fill: 'currentColor',
8
- fillRule: 'evenodd',
9
- d: 'M4.885.98A.5.5 0 0 1 5.24.833h5.522a.5.5 0 0 1 .354.147l3.905 3.905a.5.5 0 0 1 .147.354v5.522a.5.5 0 0 1-.147.354l-3.905 3.905a.5.5 0 0 1-.354.147H5.24a.5.5 0 0 1-.354-.147L.98 11.115a.5.5 0 0 1-.147-.354V5.24a.5.5 0 0 1 .147-.354zm.561.853L1.834 5.447v5.108l3.612 3.613h5.108l3.613-3.613V5.446l-3.613-3.612z',
10
- clipRule: 'evenodd',
11
- }),
12
- /* @__PURE__ */ React.createElement('path', {
13
- fill: 'currentColor',
14
- fillRule: 'evenodd',
15
- d: 'M8.007 4.5c.507.005.9.444.848.948l-.33 3.16a.528.528 0 0 1-1.05 0l-.328-3.16a.86.86 0 0 1 .86-.947',
16
- clipRule: 'evenodd',
17
- }),
18
- /* @__PURE__ */ React.createElement('path', {
19
- fill: 'currentColor',
20
- d: 'M8 11.637a.606.606 0 1 0 0-1.213.606.606 0 0 0 0 1.213',
21
- }),
22
- );
23
- export default SvgError;
@@ -1,13 +0,0 @@
1
- import * as React from 'react';
2
- const SvgFistbump = () =>
3
- /* @__PURE__ */ React.createElement(
4
- 'svg',
5
- { width: 16, height: 16, fill: 'none' },
6
- /* @__PURE__ */ React.createElement('path', {
7
- fill: 'currentColor',
8
- fillRule: 'evenodd',
9
- d: 'M2.29 2.934a2.7 2.7 0 0 1 1.892-.767h7.636c.708 0 1.389.274 1.893.767A2.6 2.6 0 0 1 14.5 4.8v6.933c0 .561-.228 1.096-.63 1.49a2.15 2.15 0 0 1-1.506.61H9.09a2.7 2.7 0 0 1-1.892-.767 2.6 2.6 0 0 1-.79-1.866v-.047a1.88 1.88 0 0 1-1.21-.654 2.15 2.15 0 0 1-1.563.668 2.16 2.16 0 0 1-1.506-.611 2.08 2.08 0 0 1-.63-1.49V4.8c0-.702.285-1.373.79-1.866m3.483 6.141v.258c0 .218.088.428.249.586a.88.88 0 0 0 .948.183.9.9 0 0 0 .281-.183.83.83 0 0 0 .249-.586v-2.32a.5.5 0 0 1 1 0v2.32c0 .218.088.428.249.586a.88.88 0 0 0 .615.248.88.88 0 0 0 .614-.248.82.82 0 0 0 .25-.586v-2.4a.5.5 0 1 1 1 0v2.134c0 .288.116.566.328.774.212.207.503.326.808.326s.595-.119.807-.326.329-.486.329-.774V4.8c0-.43-.174-.844-.489-1.151a1.7 1.7 0 0 0-1.193-.482H4.182c-.45 0-.879.174-1.193.482A1.6 1.6 0 0 0 2.5 4.8v4.267c0 .288.117.566.329.774.212.207.502.326.807.326s.596-.119.808-.326c.21-.206.327-.483.329-.769V6.933a.5.5 0 1 1 1 0v2.142m7.727 1.77a2.164 2.164 0 0 1-2.698-.346q-.059.07-.125.135a1.88 1.88 0 0 1-1.313.533A1.88 1.88 0 0 1 8 10.583a1.9 1.9 0 0 1-.59.419v.198c0 .43.173.844.488 1.151.314.308.743.482 1.193.482h3.273c.305 0 .595-.118.807-.326.212-.207.329-.486.329-.774z',
10
- clipRule: 'evenodd',
11
- }),
12
- );
13
- export default SvgFistbump;
@@ -1,17 +0,0 @@
1
- import * as React from 'react';
2
- const SvgInfo = () =>
3
- /* @__PURE__ */ React.createElement(
4
- 'svg',
5
- { width: 16, height: 16, fill: 'none' },
6
- /* @__PURE__ */ React.createElement('path', {
7
- fill: 'currentColor',
8
- fillRule: 'evenodd',
9
- d: 'M1.926 8a6.074 6.074 0 1 0 12.148 0A6.074 6.074 0 0 0 1.926 8M8 1a7 7 0 1 0 0 14A7 7 0 0 0 8 1',
10
- clipRule: 'evenodd',
11
- }),
12
- /* @__PURE__ */ React.createElement('path', {
13
- fill: 'currentColor',
14
- d: 'M8.523 11.038v-3.61a.588.588 0 1 0-1.176 0v3.61a.588.588 0 0 0 1.176 0M7.935 5.854a.74.74 0 1 0 0-1.48.74.74 0 0 0 0 1.48',
15
- }),
16
- );
17
- export default SvgInfo;
@@ -1,13 +0,0 @@
1
- import * as React from 'react';
2
- const SvgSend = () =>
3
- /* @__PURE__ */ React.createElement(
4
- 'svg',
5
- { width: 16, height: 16, fill: 'none' },
6
- /* @__PURE__ */ React.createElement('path', {
7
- fill: 'currentColor',
8
- fillRule: 'evenodd',
9
- d: 'M13.834 2.107c.13.108.19.279.157.445L11.776 13.63a.46.46 0 0 1-.73.279L7.37 11.15l-1.784 2.13a.462.462 0 0 1-.816-.295V9.2L2.185 7.262a.462.462 0 0 1 .105-.798l11.077-4.431a.46.46 0 0 1 .467.074M5.692 9.892v1.822l.937-1.119zm.382-.868 6.763-5.41-1.823 9.116zm4.744-4.977L5.311 8.452 3.395 7.016z',
10
- clipRule: 'evenodd',
11
- }),
12
- );
13
- export default SvgSend;
@@ -1,13 +0,0 @@
1
- import * as React from 'react';
2
- const SvgArrowDown = () =>
3
- /* @__PURE__ */ React.createElement(
4
- 'svg',
5
- { width: 18, height: 18, fill: 'none' },
6
- /* @__PURE__ */ React.createElement('path', {
7
- fill: 'currentColor',
8
- fillRule: 'evenodd',
9
- d: 'M4.826 6.7a.6.6 0 0 1 .848 0L9 10.028 12.326 6.7a.6.6 0 1 1 .848.848l-3.75 3.75a.6.6 0 0 1-.848 0l-3.75-3.75a.6.6 0 0 1 0-.848',
10
- clipRule: 'evenodd',
11
- }),
12
- );
13
- export default SvgArrowDown;
@@ -1,18 +0,0 @@
1
- import * as React from 'react';
2
- const SvgClose = () => (
3
- <svg width={18} height={18} fill="none" xmlns="http://www.w3.org/2000/svg">
4
- <path
5
- fillRule="evenodd"
6
- clipRule="evenodd"
7
- d="M14.424 3.877a.6.6 0 0 1 0 .848l-9 9a.6.6 0 1 1-.848-.848l9-9a.6.6 0 0 1 .848 0Z"
8
- fill="currentColor"
9
- />
10
- <path
11
- fillRule="evenodd"
12
- clipRule="evenodd"
13
- d="M4.576 3.877a.6.6 0 0 1 .848 0l9 9a.6.6 0 0 1-.848.848l-9-9a.6.6 0 0 1 0-.848Z"
14
- fill="currentColor"
15
- />
16
- </svg>
17
- );
18
- export default SvgClose;
@@ -1,19 +0,0 @@
1
- import * as React from 'react';
2
- const SvgConfirm = () =>
3
- /* @__PURE__ */ React.createElement(
4
- 'svg',
5
- { width: 18, height: 18, fill: 'none' },
6
- /* @__PURE__ */ React.createElement('path', {
7
- fill: 'currentColor',
8
- fillRule: 'evenodd',
9
- d: 'M12.712 6.682a.525.525 0 0 1 0 .743L7.886 12.25 5.288 9.652a.525.525 0 0 1 .742-.742l1.856 1.856 4.084-4.084a.525.525 0 0 1 .742 0',
10
- clipRule: 'evenodd',
11
- }),
12
- /* @__PURE__ */ React.createElement('path', {
13
- fill: 'currentColor',
14
- fillRule: 'evenodd',
15
- d: 'M2.926 9a6.074 6.074 0 1 0 12.148 0A6.074 6.074 0 0 0 2.926 9M9 2a7 7 0 1 0 0 14A7 7 0 0 0 9 2',
16
- clipRule: 'evenodd',
17
- }),
18
- );
19
- export default SvgConfirm;
@@ -1,23 +0,0 @@
1
- import * as React from 'react';
2
- const SvgError = () =>
3
- /* @__PURE__ */ React.createElement(
4
- 'svg',
5
- { width: 18, height: 18, fill: 'none' },
6
- /* @__PURE__ */ React.createElement('path', {
7
- fill: 'currentColor',
8
- fillRule: 'evenodd',
9
- d: 'M5.496 1.102a.56.56 0 0 1 .398-.165h6.212c.15 0 .293.06.398.165l4.394 4.394a.56.56 0 0 1 .165.398v6.212c0 .15-.06.293-.165.398l-4.394 4.394a.56.56 0 0 1-.398.165H5.894a.56.56 0 0 1-.398-.165l-4.394-4.394a.56.56 0 0 1-.165-.398V5.894c0-.15.06-.293.165-.398zm.63.96L2.063 6.128v5.746l4.065 4.065h5.746l4.065-4.065V6.127l-4.065-4.064z',
10
- clipRule: 'evenodd',
11
- }),
12
- /* @__PURE__ */ React.createElement('path', {
13
- fill: 'currentColor',
14
- fillRule: 'evenodd',
15
- d: 'M9.008 5.063a.966.966 0 0 1 .953 1.066l-.37 3.556a.594.594 0 0 1-1.182 0L8.04 6.129a.966.966 0 0 1 .968-1.066',
16
- clipRule: 'evenodd',
17
- }),
18
- /* @__PURE__ */ React.createElement('path', {
19
- fill: 'currentColor',
20
- d: 'M9 13.09a.682.682 0 1 0 0-1.363.682.682 0 0 0 0 1.364',
21
- }),
22
- );
23
- export default SvgError;
@@ -1,17 +0,0 @@
1
- import * as React from 'react';
2
- const SvgInfo = () =>
3
- /* @__PURE__ */ React.createElement(
4
- 'svg',
5
- { width: 18, height: 18, fill: 'none' },
6
- /* @__PURE__ */ React.createElement('path', {
7
- fill: 'currentColor',
8
- fillRule: 'evenodd',
9
- d: 'M2.059 9A6.941 6.941 0 1 0 15.94 9 6.941 6.941 0 0 0 2.06 9M9 1a8 8 0 1 0 0 16A8 8 0 0 0 9 1',
10
- clipRule: 'evenodd',
11
- }),
12
- /* @__PURE__ */ React.createElement('path', {
13
- fill: 'currentColor',
14
- d: 'M9.598 12.472V8.347a.672.672 0 0 0-1.344 0v4.125a.672.672 0 0 0 1.344 0M8.926 6.547a.846.846 0 1 0 0-1.691.846.846 0 0 0 0 1.691',
15
- }),
16
- );
17
- export default SvgInfo;
@@ -1,23 +0,0 @@
1
- import * as React from 'react';
2
- const SvgWarningSign = () =>
3
- /* @__PURE__ */ React.createElement(
4
- 'svg',
5
- { width: 18, height: 18, fill: 'none' },
6
- /* @__PURE__ */ React.createElement('path', {
7
- fill: 'currentColor',
8
- d: 'M9.002 13.896c.377 0 .682-.32.682-.714 0-.395-.305-.715-.682-.715s-.682.32-.682.715.305.714.682.714',
9
- }),
10
- /* @__PURE__ */ React.createElement('path', {
11
- fill: 'currentColor',
12
- fillRule: 'evenodd',
13
- d: 'M9.247 6.565a.75.75 0 0 1 .74.828l-.394 3.792a.594.594 0 0 1-1.182 0l-.394-3.796a.75.75 0 0 1 .752-.827z',
14
- clipRule: 'evenodd',
15
- }),
16
- /* @__PURE__ */ React.createElement('path', {
17
- fill: 'currentColor',
18
- fillRule: 'evenodd',
19
- d: 'M15.513 17.041c.263.002.522-.068.75-.202.23-.134.422-.328.559-.563a1.65 1.65 0 0 0 .046-1.568L10.355 1.812a1.6 1.6 0 0 0-.564-.623 1.48 1.48 0 0 0-1.578 0c-.239.15-.434.366-.564.623L1.136 14.708a1.65 1.65 0 0 0 .045 1.567c.137.235.328.429.557.563s.487.204.75.203zM2.141 15.213a.53.53 0 0 0 .014.498.43.43 0 0 0 .152.157.34.34 0 0 0 .175.048h13.039a.34.34 0 0 0 .175-.048.43.43 0 0 0 .153-.157.52.52 0 0 0 .014-.497v-.001L9.35 2.319a.45.45 0 0 0-.159-.179.35.35 0 0 0-.189-.056.35.35 0 0 0-.19.056.45.45 0 0 0-.158.18z',
20
- clipRule: 'evenodd',
21
- }),
22
- );
23
- export default SvgWarningSign;
@@ -1,14 +0,0 @@
1
- import * as React from 'react';
2
- const SvgArrowDown = () => (
3
- <svg width={24} height={24} fill="none" xmlns="http://www.w3.org/2000/svg">
4
- <path
5
- d="m17 9.5-5 5-5-5"
6
- stroke="currentColor"
7
- strokeWidth={1.5}
8
- strokeMiterlimit={10}
9
- strokeLinecap="round"
10
- strokeLinejoin="round"
11
- />
12
- </svg>
13
- );
14
- export default SvgArrowDown;
@@ -1,14 +0,0 @@
1
- import * as React from 'react';
2
- const SvgArrowRight = () => (
3
- <svg width={24} height={24} fill="none" xmlns="http://www.w3.org/2000/svg">
4
- <path
5
- d="m9.5 7 5 5-5 5"
6
- stroke="currentColor"
7
- strokeWidth={1.5}
8
- strokeMiterlimit={10}
9
- strokeLinecap="round"
10
- strokeLinejoin="round"
11
- />
12
- </svg>
13
- );
14
- export default SvgArrowRight;
@@ -1,14 +0,0 @@
1
- import * as React from 'react';
2
- const SvgArrowUp = () => (
3
- <svg width={24} height={24} fill="none" xmlns="http://www.w3.org/2000/svg">
4
- <path
5
- d="m7 14.5 5-5 5 5"
6
- stroke="currentColor"
7
- strokeWidth={1.5}
8
- strokeMiterlimit={10}
9
- strokeLinecap="round"
10
- strokeLinejoin="round"
11
- />
12
- </svg>
13
- );
14
- export default SvgArrowUp;
@@ -1,12 +0,0 @@
1
- import * as React from 'react';
2
- const SvgClose = () => (
3
- <svg width={24} height={24} fill="none" xmlns="http://www.w3.org/2000/svg">
4
- <path
5
- fillRule="evenodd"
6
- clipRule="evenodd"
7
- d="M5.47 5.47a.75.75 0 0 1 1.06 0L12 10.94l5.47-5.47a.75.75 0 1 1 1.06 1.06L13.06 12l5.47 5.47a.75.75 0 1 1-1.06 1.06L12 13.06l-5.47 5.47a.75.75 0 0 1-1.06-1.06L10.94 12 5.47 6.53a.75.75 0 0 1 0-1.06Z"
8
- fill="currentColor"
9
- />
10
- </svg>
11
- );
12
- export default SvgClose;
@@ -1,12 +0,0 @@
1
- import * as React from 'react';
2
- const SvgRemove = () => (
3
- <svg width={24} height={24} fill="none" xmlns="http://www.w3.org/2000/svg">
4
- <path
5
- fillRule="evenodd"
6
- clipRule="evenodd"
7
- d="M12 2.75a9.25 9.25 0 1 0 0 18.5 9.25 9.25 0 0 0 0-18.5ZM1.25 12C1.25 6.063 6.063 1.25 12 1.25S22.75 6.063 22.75 12 17.937 22.75 12 22.75 1.25 17.937 1.25 12Zm6.583-4.167a.75.75 0 0 1 1.061 0L12 10.94l3.106-3.106a.75.75 0 0 1 1.06 1.061L13.062 12l3.106 3.106a.75.75 0 0 1-1.061 1.06L12 13.062l-3.106 3.106a.75.75 0 1 1-1.06-1.061L10.938 12 7.833 8.894a.75.75 0 0 1 0-1.06Z"
8
- fill="currentColor"
9
- />
10
- </svg>
11
- );
12
- export default SvgRemove;
@@ -1,10 +0,0 @@
1
- import * as React from 'react';
2
- const SvgSearch = () => (
3
- <svg width={24} height={24} fill="none" xmlns="http://www.w3.org/2000/svg">
4
- <path
5
- d="m20.47 21.53.53.53L22.06 21l-.53-.53-1.06 1.06Zm-4.65-6.77a.75.75 0 1 0-1.06 1.06l1.06-1.06Zm5.71 5.71-5.71-5.71-1.06 1.06 5.71 5.71 1.06-1.06ZM16.65 10.2a6.45 6.45 0 0 1-6.45 6.45v1.5a7.95 7.95 0 0 0 7.95-7.95h-1.5Zm-6.45 6.45a6.45 6.45 0 0 1-6.45-6.45h-1.5a7.95 7.95 0 0 0 7.95 7.95v-1.5ZM3.75 10.2a6.45 6.45 0 0 1 6.45-6.45v-1.5a7.95 7.95 0 0 0-7.95 7.95h1.5Zm6.45-6.45a6.45 6.45 0 0 1 6.45 6.45h1.5a7.95 7.95 0 0 0-7.95-7.95v1.5Z"
6
- fill="currentColor"
7
- />
8
- </svg>
9
- );
10
- export default SvgSearch;
@@ -1,3 +0,0 @@
1
- These icons are local to ui-lib so it doesn't have to depend on @sats-group/icons.
2
-
3
- It might be nicer to refactor the few components that have embedded icons to take icons as input instead.
@@ -1,62 +0,0 @@
1
- import * as React from 'react';
2
-
3
- import Text from '../text';
4
-
5
- import {
6
- Link as Props,
7
- variants,
8
- sizes,
9
- iconPositions,
10
- backgrounds,
11
- } from './link.types';
12
- import classNames from 'classnames';
13
-
14
- const Link: React.FC<Props> & {
15
- variants: typeof variants;
16
- sizes: typeof sizes;
17
- iconPositions: typeof iconPositions;
18
- backgrounds: typeof backgrounds;
19
- } = ({
20
- href,
21
- icon,
22
- testId,
23
- text,
24
- variant,
25
- size = sizes.basic,
26
- background = backgrounds.defualt,
27
- iconPosition = iconPositions.prefix,
28
- ...rest
29
- }) => (
30
- <Text
31
- elementName="a"
32
- size={size}
33
- className={classNames('link', variant, {
34
- [`link--background-${background}-${variant}`]: variant,
35
- [`link--background-${background}`]: background,
36
- })}
37
- href={href}
38
- data-testid={testId}
39
- {...rest}
40
- >
41
- {icon ? (
42
- iconPosition === iconPositions.prefix ? (
43
- <>
44
- {icon} {text}
45
- </>
46
- ) : (
47
- <>
48
- {text} {icon}
49
- </>
50
- )
51
- ) : (
52
- text
53
- )}
54
- </Text>
55
- );
56
-
57
- Link.variants = variants;
58
- Link.sizes = sizes;
59
- Link.iconPositions = iconPositions;
60
- Link.backgrounds = backgrounds;
61
-
62
- export default Link;
@@ -1,37 +0,0 @@
1
- import { ObjectValues } from '../types';
2
-
3
- import { sizes as TextSizes } from '../text/text.types';
4
-
5
- import type { AnchorHTMLAttributes } from 'react';
6
-
7
- export const variants = {
8
- orange: 'orange',
9
- } as const;
10
-
11
- export const backgrounds = {
12
- defualt: 'default',
13
- fixed: 'fixed',
14
- } as const;
15
-
16
- export const sizes = {
17
- interface: TextSizes.interface,
18
- small: TextSizes.small,
19
- basic: TextSizes.basic,
20
- large: TextSizes.large,
21
- };
22
-
23
- export const iconPositions = {
24
- prefix: 'prefix',
25
- suffix: 'suffix',
26
- };
27
-
28
- export interface Link extends AnchorHTMLAttributes<HTMLAnchorElement> {
29
- href: string;
30
- icon?: React.ReactNode;
31
- testId?: string;
32
- text: string;
33
- variant?: ObjectValues<typeof variants>;
34
- background?: ObjectValues<typeof backgrounds>;
35
- size?: ObjectValues<typeof sizes>;
36
- iconPosition?: ObjectValues<typeof iconPositions>;
37
- }
@@ -1,17 +0,0 @@
1
- import * as React from 'react';
2
-
3
- import VisuallyButton from '../visually-button/visually-button';
4
-
5
- import { LinkButton as Props } from './link-button.types';
6
-
7
- const LinkButton: React.FunctionComponent<Props> & {
8
- sizes: typeof VisuallyButton.sizes;
9
- variants: typeof VisuallyButton.variants;
10
- } = ({ href, ...rest }) => (
11
- <VisuallyButton elementName="a" href={href} {...rest} />
12
- );
13
-
14
- LinkButton.sizes = VisuallyButton.sizes;
15
- LinkButton.variants = VisuallyButton.variants;
16
-
17
- export default LinkButton;
@@ -1,24 +0,0 @@
1
- import * as React from 'react';
2
-
3
- import ArrowRight from '../icons/24/arrow-right';
4
- import Text from '../text';
5
-
6
- import { LinkCard as Props } from './link-card.types';
7
-
8
- const LinkCard: React.FC<Props> = ({ href, text, title }) => (
9
- <a className="link-card" href={href}>
10
- <Text className="link-card__title" size={Text.sizes.basic}>
11
- {title}
12
- </Text>
13
- <div className="link-card__icon">
14
- <ArrowRight />
15
- </div>
16
- {text ? (
17
- <div className="link-card__text">
18
- <Text size={Text.sizes.small}>{text}</Text>
19
- </div>
20
- ) : null}
21
- </a>
22
- );
23
-
24
- export default LinkCard;
@@ -1,5 +0,0 @@
1
- export type LinkCard = {
2
- href: string;
3
- text?: string;
4
- title: string;
5
- };
@@ -1,12 +0,0 @@
1
- import * as React from 'react';
2
- const SvgEAvatar = () => (
3
- <svg
4
- xmlns="http://www.w3.org/2000/svg"
5
- width={73}
6
- height={72}
7
- fill="currentColor"
8
- >
9
- <path d="m38.287 24.48-2.02 6.902h12.798l-2.41 8.446h-12.8l-2.233 7.726h17.16L46.3 56H19l11.63-40H58l-2.482 8.446h-17.23z" />
10
- </svg>
11
- );
12
- export default SvgEAvatar;
@@ -1,70 +0,0 @@
1
- import * as React from 'react';
2
- const SvgElixiaAnniversaryLight = () => (
3
- <svg xmlns="http://www.w3.org/2000/svg" width={127} height={41} fill="none">
4
- <path
5
- fill="#FA5333"
6
- d="m100.63 28.39-.358-3.835h1.422l.184 2.247 1.705-2.247h1.698l-3.195 3.985-.523 1.84h-1.498l.566-1.99zM106.886 25.87l-.258.883h1.764l-.374 1.314h-1.764l-.292 1h2.479l-.374 1.314h-3.977l1.672-5.824h3.869l-.375 1.315h-2.371zM113.84 24.555v5.824h-1.347v-1.182h-1.889l-.657 1.182h-1.606l3.494-5.824zm-1.347 3.329v-2.063l-1.148 2.063zM118.025 28.124l.882 2.255h-1.564l-.831-2.32-.667 2.32h-1.496l1.663-5.824h2.289c1.14 0 1.747.658 1.747 1.556 0 1.057-.732 1.915-2.022 2.013zm.59-1.87c0-.275-.2-.45-.557-.45h-.907l-.307 1.083h.999c.507 0 .774-.258.774-.632zM119.182 29.548l1.14-.874c.292.332.699.508 1.106.508.507 0 .724-.216.724-.532 0-.225-.166-.39-.432-.615l-.383-.326c-.399-.34-.732-.79-.732-1.372 0-1.04.883-1.897 2.221-1.897 1.007 0 1.673.425 1.938.849l-1.148.866a1.29 1.29 0 0 0-.915-.4c-.374 0-.583.175-.583.458 0 .232.2.407.425.6l.391.332c.383.325.74.782.74 1.347 0 1.115-.766 2.005-2.313 2.005-1.015 0-1.764-.39-2.179-.948z"
7
- />
8
- <path
9
- fill="currentColor"
10
- d="m112.33 10.57-4.42 3.203c1.782.586 2.752 2.053 2.752 3.834 0 2.616-1.984 5.502-6.089 5.502-3.158 0-4.939-1.67-5.571-3.36l3.248-1.714c.43.902 1.151 1.556 2.323 1.556 1.376 0 2.03-.948 2.03-1.962 0-.743-.428-1.623-1.67-1.623-.405 0-.766.09-1.059.225l-1.354-2.21 4.736-3.452h-5.052l1.082-3.562h10.104zM112.128 18.712c0-4.85 3.383-12.021 9.202-12.021 3.27 0 4.646 1.917 4.646 4.42 0 4.849-3.405 11.998-9.202 11.998-3.271 0-4.646-1.984-4.646-4.397m9.698-6.9c0-.971-.316-1.49-1.196-1.49-2.052 0-4.352 4.963-4.352 7.668 0 .857.202 1.49 1.195 1.49 2.053 0 4.353-4.962 4.353-7.669"
11
- />
12
- <path
13
- fill="#DBDEE0"
14
- d="M124.754 23.37c-4.286-1.054-4.203-3.184-4.203-3.184l.889-1.343s-.085 2.13 4.202 3.184z"
15
- />
16
- <path
17
- fill="#FA5333"
18
- d="M98.047 11.83c1.462.61 2.06 1.766 2.06 1.766l-1.047 1.222s-.598-1.154-2.061-1.765zM98.567 5.83c.626-.14 1.094.1 1.094.1l-.06.649s-.468-.242-1.092-.1l.06-.648zM103.905 2.524c.563-.88 1.382-1.137 1.382-1.137l.675.82s-.818.258-1.382 1.139l-.675-.82z"
19
- />
20
- <path
21
- fill="#FF9283"
22
- d="M107.879 5.77c1.005.664 1.287 1.612 1.287 1.612l-.957.764s-.282-.948-1.287-1.613z"
23
- />
24
- <path
25
- fill="#FA5333"
26
- d="M113.894 2.234c.188-.907.784-1.378.784-1.378l.817.465s-.596.471-.784 1.378z"
27
- />
28
- <path
29
- fill="#DBDEE0"
30
- d="M119.723 4.024a2.04 2.04 0 0 1 1.265.267l-.158.751s-.514-.346-1.265-.267z"
31
- />
32
- <path
33
- fill="#FA5333"
34
- d="M101.184 11.793c.448-.608 1.048-.757 1.048-.757l.449.622s-.602.147-1.048.757z"
35
- />
36
- <path
37
- fill="#FF9283"
38
- d="M125.153 10.315c.92-.652 1.844-.577 1.844-.577l.343 1.094s-.923-.075-1.844.577z"
39
- />
40
- <path
41
- fill="#FA5333"
42
- d="M120.52 7.283c.79-.6 1.603-.56 1.603-.56l.332.952s-.812-.04-1.604.559z"
43
- />
44
- <path
45
- fill="#DBDEE0"
46
- d="M108.223-1.596c.755.59.917 1.36.917 1.36l-.806.544s-.163-.77-.917-1.36z"
47
- />
48
- <path
49
- fill="#FA5333"
50
- d="M98.7 20.945c-.473-.93-.28-1.764-.28-1.764l1.046-.167s-.193.835.28 1.764z"
51
- />
52
- <path
53
- fill="#C6CDD1"
54
- d="M103.507 23.826c-.565-1.094-.343-2.08-.343-2.08l1.234-.205s-.222.985.343 2.081z"
55
- />
56
- <path
57
- fill="#DBDEE0"
58
- d="M108.748 14.542c.622-.67 1.366-.764 1.366-.764l.453.809s-.744.094-1.366.765z"
59
- />
60
- <path
61
- fill="#FF9283"
62
- d="M114.429 23.434c.328-1.061 1.093-1.556 1.093-1.556l.923.648s-.765.495-1.093 1.557z"
63
- />
64
- <path
65
- fill="currentColor"
66
- d="m9.94 14.28-1.038 3.524h6.483l-1.21 4.363h-6.57L6.483 26.11h8.816l-1.296 4.363H0L5.964 10h14.002l-1.297 4.363H9.94zM32.585 26.195l-1.297 4.363H17.805l5.964-20.474h5.186l-4.668 16.195h8.298zM40.536 10h5.186l-5.964 20.474h-5.186zM58.514 20.489l3.544 9.985h-5.273l-2.16-6.461-5.618 6.461h-5.964l9.594-10.657L49.093 10h5.272l2.161 6.293L61.971 10h5.964zM71.047 10h5.185L70.27 30.474h-5.186zM93 10v20.474h-4.58v-4.28h-7.002l-2.42 4.28h-5.532L86 10zm-4.58 11.831V13.86l-4.582 7.971z"
67
- />
68
- </svg>
69
- );
70
- export default SvgElixiaAnniversaryLight;
@@ -1,12 +0,0 @@
1
- import * as React from 'react';
2
- const SvgElixiaLetter = () => (
3
- <svg
4
- xmlns="http://www.w3.org/2000/svg"
5
- width={48}
6
- height={51}
7
- fill="currentColor"
8
- >
9
- <path d="m23.738 10.778-2.487 8.771h15.753l-2.968 10.735H18.284l-2.75 9.818h21.12L33.6 50.836H0L14.313 0H48l-3.054 10.735H23.738z" />
10
- </svg>
11
- );
12
- export default SvgElixiaLetter;