@coopdigital/react 1.12.0 → 1.13.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (368) hide show
  1. package/dist/components/AlertBanner/AlertBanner.d.ts +29 -28
  2. package/dist/components/AlertBanner/AlertBanner.js +16 -12
  3. package/dist/components/AlertBanner/index.d.ts +2 -4
  4. package/dist/components/AlertBanner/index.js +5 -0
  5. package/dist/components/Author/Author.d.ts +25 -23
  6. package/dist/components/Author/Author.js +24 -17
  7. package/dist/components/Author/index.d.ts +2 -4
  8. package/dist/components/Author/index.js +5 -0
  9. package/dist/components/Button/Button.d.ts +33 -33
  10. package/dist/components/Button/Button.js +34 -33
  11. package/dist/components/Button/index.d.ts +2 -4
  12. package/dist/components/Button/index.js +5 -0
  13. package/dist/components/Card/Card.d.ts +91 -90
  14. package/dist/components/Card/Card.js +76 -43
  15. package/dist/components/Card/index.d.ts +2 -4
  16. package/dist/components/Card/index.js +5 -0
  17. package/dist/components/Checkbox/Checkbox.d.ts +26 -25
  18. package/dist/components/Checkbox/Checkbox.js +20 -20
  19. package/dist/components/Checkbox/index.d.ts +2 -4
  20. package/dist/components/Checkbox/index.js +5 -0
  21. package/dist/components/DatePicker/DatePicker.d.ts +63 -62
  22. package/dist/components/DatePicker/DatePicker.js +237 -136
  23. package/dist/components/DatePicker/datepicker-utils.d.ts +6 -66
  24. package/dist/components/DatePicker/datepicker-utils.js +164 -175
  25. package/dist/components/DatePicker/index.d.ts +2 -4
  26. package/dist/components/DatePicker/index.js +5 -0
  27. package/dist/components/Dialog/Dialog.d.ts +81 -80
  28. package/dist/components/Dialog/Dialog.js +98 -94
  29. package/dist/components/Dialog/index.d.ts +2 -4
  30. package/dist/components/Dialog/index.js +5 -0
  31. package/dist/components/Expandable/Expandable.d.ts +40 -39
  32. package/dist/components/Expandable/Expandable.js +30 -22
  33. package/dist/components/Expandable/index.d.ts +2 -4
  34. package/dist/components/Expandable/index.js +5 -0
  35. package/dist/components/Field/Field.context.js +6 -8
  36. package/dist/components/Field/Field.d.ts +51 -51
  37. package/dist/components/Field/Field.js +80 -57
  38. package/dist/components/Field/index.d.ts +2 -4
  39. package/dist/components/Field/index.js +5 -6
  40. package/dist/components/FieldMarkers/Error.d.ts +11 -10
  41. package/dist/components/FieldMarkers/Error.js +11 -10
  42. package/dist/components/FieldMarkers/Hint.d.ts +11 -10
  43. package/dist/components/FieldMarkers/Hint.js +11 -10
  44. package/dist/components/FieldMarkers/Label.d.ts +12 -11
  45. package/dist/components/FieldMarkers/Label.js +14 -14
  46. package/dist/components/FieldMarkers/Legend.d.ts +12 -11
  47. package/dist/components/FieldMarkers/Legend.js +18 -11
  48. package/dist/components/Fieldset/Fieldset.d.ts +72 -71
  49. package/dist/components/Fieldset/Fieldset.js +29 -28
  50. package/dist/components/Fieldset/index.d.ts +2 -4
  51. package/dist/components/Fieldset/index.js +5 -0
  52. package/dist/components/Flourish/Flourish.d.ts +18 -17
  53. package/dist/components/Flourish/Flourish.js +15 -10
  54. package/dist/components/Flourish/index.d.ts +2 -4
  55. package/dist/components/Flourish/index.js +5 -0
  56. package/dist/components/Form/Form.d.ts +15 -14
  57. package/dist/components/Form/Form.js +10 -9
  58. package/dist/components/Form/index.d.ts +2 -4
  59. package/dist/components/Form/index.js +5 -0
  60. package/dist/components/Image/Image.d.ts +21 -20
  61. package/dist/components/Image/Image.js +37 -31
  62. package/dist/components/Image/index.d.ts +2 -4
  63. package/dist/components/Image/index.js +5 -0
  64. package/dist/components/LoadingSpinner/LoadingSpinner.d.ts +14 -12
  65. package/dist/components/LoadingSpinner/LoadingSpinner.js +12 -13
  66. package/dist/components/LoadingSpinner/index.d.ts +2 -4
  67. package/dist/components/LoadingSpinner/index.js +5 -0
  68. package/dist/components/Logo/Logo.d.ts +18 -16
  69. package/dist/components/Logo/Logo.js +20 -0
  70. package/dist/components/Logo/index.d.ts +2 -4
  71. package/dist/components/Logo/index.js +5 -0
  72. package/dist/components/Pill/Pill.d.ts +34 -34
  73. package/dist/components/Pill/Pill.js +26 -20
  74. package/dist/components/Pill/index.d.ts +2 -4
  75. package/dist/components/Pill/index.js +5 -0
  76. package/dist/components/Popover/Popover.d.ts +91 -90
  77. package/dist/components/Popover/Popover.js +64 -55
  78. package/dist/components/Popover/index.d.ts +2 -4
  79. package/dist/components/Popover/index.js +5 -0
  80. package/dist/components/Radio/Radio.d.ts +26 -25
  81. package/dist/components/Radio/Radio.js +20 -21
  82. package/dist/components/Radio/index.d.ts +2 -4
  83. package/dist/components/Radio/index.js +5 -0
  84. package/dist/components/RootSVG/RootSVG.d.ts +7 -6
  85. package/dist/components/RootSVG/RootSVG.js +19 -9
  86. package/dist/components/RootSVG/index.d.ts +2 -4
  87. package/dist/components/RootSVG/index.js +5 -0
  88. package/dist/components/Searchbox/Searchbox.context.js +6 -7
  89. package/dist/components/Searchbox/Searchbox.d.ts +49 -47
  90. package/dist/components/Searchbox/Searchbox.js +85 -60
  91. package/dist/components/Searchbox/index.d.ts +2 -4
  92. package/dist/components/Searchbox/index.js +5 -0
  93. package/dist/components/Select/Select.d.ts +58 -52
  94. package/dist/components/Select/Select.js +29 -20
  95. package/dist/components/Select/index.d.ts +2 -4
  96. package/dist/components/Select/index.js +5 -0
  97. package/dist/components/Signpost/Signpost.d.ts +25 -24
  98. package/dist/components/Signpost/Signpost.js +25 -13
  99. package/dist/components/Signpost/index.d.ts +2 -4
  100. package/dist/components/Signpost/index.js +5 -0
  101. package/dist/components/SkipNav/SkipNav.d.ts +20 -19
  102. package/dist/components/SkipNav/SkipNav.js +25 -18
  103. package/dist/components/SkipNav/index.d.ts +2 -4
  104. package/dist/components/SkipNav/index.js +5 -0
  105. package/dist/components/Squircle/Squircle.d.ts +17 -16
  106. package/dist/components/Squircle/Squircle.js +12 -11
  107. package/dist/components/Squircle/index.d.ts +2 -4
  108. package/dist/components/Squircle/index.js +5 -0
  109. package/dist/components/Tag/Tag.d.ts +21 -21
  110. package/dist/components/Tag/Tag.js +16 -13
  111. package/dist/components/Tag/index.d.ts +2 -4
  112. package/dist/components/Tag/index.js +5 -0
  113. package/dist/components/TextInput/TextInput.d.ts +41 -35
  114. package/dist/components/TextInput/TextInput.js +45 -28
  115. package/dist/components/TextInput/index.d.ts +2 -4
  116. package/dist/components/TextInput/index.js +5 -5
  117. package/dist/components/Textarea/Textarea.d.ts +44 -38
  118. package/dist/components/Textarea/Textarea.js +49 -35
  119. package/dist/components/Textarea/index.d.ts +2 -4
  120. package/dist/components/Textarea/index.js +5 -0
  121. package/dist/components/ValidationSummary/ValidationSummary.d.ts +73 -73
  122. package/dist/components/ValidationSummary/ValidationSummary.js +72 -62
  123. package/dist/components/ValidationSummary/index.d.ts +2 -4
  124. package/dist/components/ValidationSummary/index.js +5 -0
  125. package/dist/components/ValidationSummary/validationsummary-utils.js +7 -10
  126. package/dist/components/icons/AccountCircleFilledIcon.d.ts +6 -4
  127. package/dist/components/icons/AccountCircleFilledIcon.js +21 -17
  128. package/dist/components/icons/AccountCircleIcon.d.ts +6 -4
  129. package/dist/components/icons/AccountCircleIcon.js +21 -17
  130. package/dist/components/icons/AccountFilledIcon.d.ts +6 -4
  131. package/dist/components/icons/AccountFilledIcon.js +21 -17
  132. package/dist/components/icons/AccountIcon.d.ts +6 -4
  133. package/dist/components/icons/AccountIcon.js +21 -17
  134. package/dist/components/icons/AddIcon.d.ts +6 -4
  135. package/dist/components/icons/AddIcon.js +21 -17
  136. package/dist/components/icons/AppsFilledIcon.d.ts +6 -4
  137. package/dist/components/icons/AppsFilledIcon.js +21 -17
  138. package/dist/components/icons/AppsIcon.d.ts +6 -4
  139. package/dist/components/icons/AppsIcon.js +21 -17
  140. package/dist/components/icons/ArrowDownIcon.d.ts +6 -4
  141. package/dist/components/icons/ArrowDownIcon.js +21 -17
  142. package/dist/components/icons/ArrowLeftIcon.d.ts +6 -4
  143. package/dist/components/icons/ArrowLeftIcon.js +21 -17
  144. package/dist/components/icons/ArrowRightIcon.d.ts +6 -4
  145. package/dist/components/icons/ArrowRightIcon.js +21 -17
  146. package/dist/components/icons/ArrowUpIcon.d.ts +6 -4
  147. package/dist/components/icons/ArrowUpIcon.js +21 -17
  148. package/dist/components/icons/BackspaceFilledIcon.d.ts +6 -4
  149. package/dist/components/icons/BackspaceFilledIcon.js +21 -17
  150. package/dist/components/icons/BackspaceIcon.d.ts +6 -4
  151. package/dist/components/icons/BackspaceIcon.js +21 -17
  152. package/dist/components/icons/BasketFilledIcon.d.ts +6 -4
  153. package/dist/components/icons/BasketFilledIcon.js +21 -17
  154. package/dist/components/icons/BasketIcon.d.ts +6 -4
  155. package/dist/components/icons/BasketIcon.js +21 -17
  156. package/dist/components/icons/BellFilledIcon.d.ts +6 -4
  157. package/dist/components/icons/BellFilledIcon.js +28 -17
  158. package/dist/components/icons/BellIcon.d.ts +6 -4
  159. package/dist/components/icons/BellIcon.js +21 -17
  160. package/dist/components/icons/BroomIcon.d.ts +6 -4
  161. package/dist/components/icons/BroomIcon.js +21 -17
  162. package/dist/components/icons/CalendarFilledIcon.d.ts +6 -4
  163. package/dist/components/icons/CalendarFilledIcon.js +21 -17
  164. package/dist/components/icons/CalendarIcon.d.ts +6 -4
  165. package/dist/components/icons/CalendarIcon.js +21 -17
  166. package/dist/components/icons/CashFilledIcon.d.ts +6 -4
  167. package/dist/components/icons/CashFilledIcon.js +21 -17
  168. package/dist/components/icons/CashIcon.d.ts +6 -4
  169. package/dist/components/icons/CashIcon.js +29 -17
  170. package/dist/components/icons/ChevronDownIcon.d.ts +6 -4
  171. package/dist/components/icons/ChevronDownIcon.js +21 -17
  172. package/dist/components/icons/ChevronLeftIcon.d.ts +6 -4
  173. package/dist/components/icons/ChevronLeftIcon.js +21 -17
  174. package/dist/components/icons/ChevronRightIcon.d.ts +6 -4
  175. package/dist/components/icons/ChevronRightIcon.js +21 -17
  176. package/dist/components/icons/ChevronUpIcon.d.ts +6 -4
  177. package/dist/components/icons/ChevronUpIcon.js +21 -17
  178. package/dist/components/icons/CircleBurgerFilledIcon.d.ts +6 -4
  179. package/dist/components/icons/CircleBurgerFilledIcon.js +21 -17
  180. package/dist/components/icons/CircleBurgerIcon.d.ts +6 -4
  181. package/dist/components/icons/CircleBurgerIcon.js +21 -17
  182. package/dist/components/icons/ClipboardFilledIcon.d.ts +6 -4
  183. package/dist/components/icons/ClipboardFilledIcon.js +21 -17
  184. package/dist/components/icons/ClipboardIcon.d.ts +6 -4
  185. package/dist/components/icons/ClipboardIcon.js +21 -17
  186. package/dist/components/icons/ClockFilledIcon.d.ts +6 -4
  187. package/dist/components/icons/ClockFilledIcon.js +25 -17
  188. package/dist/components/icons/ClockIcon.d.ts +6 -4
  189. package/dist/components/icons/ClockIcon.js +21 -17
  190. package/dist/components/icons/CloseAltFilledIcon.d.ts +6 -4
  191. package/dist/components/icons/CloseAltFilledIcon.js +25 -17
  192. package/dist/components/icons/CloseAltIcon.d.ts +6 -4
  193. package/dist/components/icons/CloseAltIcon.js +21 -17
  194. package/dist/components/icons/CogIcon.d.ts +6 -4
  195. package/dist/components/icons/CogIcon.js +21 -17
  196. package/dist/components/icons/CommunityFilledIcon.d.ts +6 -4
  197. package/dist/components/icons/CommunityFilledIcon.js +21 -17
  198. package/dist/components/icons/CommunityIcon.d.ts +6 -4
  199. package/dist/components/icons/CommunityIcon.js +21 -17
  200. package/dist/components/icons/ComputerIcon.d.ts +6 -4
  201. package/dist/components/icons/ComputerIcon.js +21 -17
  202. package/dist/components/icons/ContactFilledIcon.d.ts +6 -4
  203. package/dist/components/icons/ContactFilledIcon.js +21 -17
  204. package/dist/components/icons/ContactIcon.d.ts +6 -4
  205. package/dist/components/icons/ContactIcon.js +21 -17
  206. package/dist/components/icons/ContactlessFilledIcon.d.ts +6 -4
  207. package/dist/components/icons/ContactlessFilledIcon.js +21 -17
  208. package/dist/components/icons/ContactlessIcon.d.ts +6 -4
  209. package/dist/components/icons/ContactlessIcon.js +21 -17
  210. package/dist/components/icons/CoopLiveIcon.d.ts +6 -4
  211. package/dist/components/icons/CoopLiveIcon.js +25 -17
  212. package/dist/components/icons/CoopLocationFilledIcon.d.ts +6 -4
  213. package/dist/components/icons/CoopLocationFilledIcon.js +26 -17
  214. package/dist/components/icons/CoopLogoIcon.d.ts +6 -4
  215. package/dist/components/icons/CoopLogoIcon.js +21 -17
  216. package/dist/components/icons/CoopMembershipCardFilledIcon.d.ts +6 -4
  217. package/dist/components/icons/CoopMembershipCardFilledIcon.js +29 -17
  218. package/dist/components/icons/CreditCardFilledIcon.d.ts +6 -4
  219. package/dist/components/icons/CreditCardFilledIcon.js +25 -17
  220. package/dist/components/icons/CreditCardIcon.d.ts +6 -4
  221. package/dist/components/icons/CreditCardIcon.js +21 -17
  222. package/dist/components/icons/CrossIcon.d.ts +6 -4
  223. package/dist/components/icons/CrossIcon.js +21 -17
  224. package/dist/components/icons/DocumentIcon.d.ts +6 -4
  225. package/dist/components/icons/DocumentIcon.js +21 -17
  226. package/dist/components/icons/DownloadIcon.d.ts +6 -4
  227. package/dist/components/icons/DownloadIcon.js +21 -17
  228. package/dist/components/icons/EnterStoreIcon.d.ts +6 -4
  229. package/dist/components/icons/EnterStoreIcon.js +21 -17
  230. package/dist/components/icons/ExitStoreIcon.d.ts +6 -4
  231. package/dist/components/icons/ExitStoreIcon.js +21 -17
  232. package/dist/components/icons/EyeFilledIcon.d.ts +6 -4
  233. package/dist/components/icons/EyeFilledIcon.js +21 -17
  234. package/dist/components/icons/EyeIcon.d.ts +6 -4
  235. package/dist/components/icons/EyeIcon.js +21 -17
  236. package/dist/components/icons/EyeStrikeFilledIcon.d.ts +6 -4
  237. package/dist/components/icons/EyeStrikeFilledIcon.js +21 -17
  238. package/dist/components/icons/EyeStrikeIcon.d.ts +6 -4
  239. package/dist/components/icons/EyeStrikeIcon.js +21 -17
  240. package/dist/components/icons/FeedbackFilledIcon.d.ts +6 -4
  241. package/dist/components/icons/FeedbackFilledIcon.js +24 -17
  242. package/dist/components/icons/FeedbackIcon.d.ts +6 -4
  243. package/dist/components/icons/FeedbackIcon.js +21 -17
  244. package/dist/components/icons/FilterIcon.d.ts +6 -4
  245. package/dist/components/icons/FilterIcon.js +21 -17
  246. package/dist/components/icons/GiftCardFilledIcon.d.ts +6 -4
  247. package/dist/components/icons/GiftCardFilledIcon.js +21 -17
  248. package/dist/components/icons/GiftCardIcon.d.ts +6 -4
  249. package/dist/components/icons/GiftCardIcon.js +21 -17
  250. package/dist/components/icons/GiftFilledIcon.d.ts +6 -4
  251. package/dist/components/icons/GiftFilledIcon.js +21 -17
  252. package/dist/components/icons/GiftIcon.d.ts +6 -4
  253. package/dist/components/icons/GiftIcon.js +21 -17
  254. package/dist/components/icons/HelpFilledIcon.d.ts +6 -4
  255. package/dist/components/icons/HelpFilledIcon.js +21 -17
  256. package/dist/components/icons/HelpIcon.d.ts +6 -4
  257. package/dist/components/icons/HelpIcon.js +21 -17
  258. package/dist/components/icons/HomeFilledIcon.d.ts +6 -4
  259. package/dist/components/icons/HomeFilledIcon.js +21 -17
  260. package/dist/components/icons/HomeIcon.d.ts +6 -4
  261. package/dist/components/icons/HomeIcon.js +21 -17
  262. package/dist/components/icons/HowDoIAssistantIcon.d.ts +6 -4
  263. package/dist/components/icons/HowDoIAssistantIcon.js +21 -17
  264. package/dist/components/icons/InfoIcon.d.ts +6 -4
  265. package/dist/components/icons/InfoIcon.js +21 -17
  266. package/dist/components/icons/KebabIcon.d.ts +6 -4
  267. package/dist/components/icons/KebabIcon.js +21 -17
  268. package/dist/components/icons/LoadingIcon.d.ts +6 -4
  269. package/dist/components/icons/LoadingIcon.js +21 -17
  270. package/dist/components/icons/LocationFilledIcon.d.ts +6 -4
  271. package/dist/components/icons/LocationFilledIcon.js +21 -17
  272. package/dist/components/icons/LocationIcon.d.ts +6 -4
  273. package/dist/components/icons/LocationIcon.js +21 -17
  274. package/dist/components/icons/LogoutIcon.d.ts +6 -4
  275. package/dist/components/icons/LogoutIcon.js +21 -17
  276. package/dist/components/icons/MailIcon.d.ts +6 -4
  277. package/dist/components/icons/MailIcon.js +21 -17
  278. package/dist/components/icons/MenuIcon.d.ts +6 -4
  279. package/dist/components/icons/MenuIcon.js +21 -17
  280. package/dist/components/icons/MessageIcon.d.ts +6 -4
  281. package/dist/components/icons/MessageIcon.js +21 -17
  282. package/dist/components/icons/MinusIcon.d.ts +6 -4
  283. package/dist/components/icons/MinusIcon.js +21 -17
  284. package/dist/components/icons/NotesFilledIcon.d.ts +6 -4
  285. package/dist/components/icons/NotesFilledIcon.js +21 -17
  286. package/dist/components/icons/NotesIcon.d.ts +6 -4
  287. package/dist/components/icons/NotesIcon.js +21 -17
  288. package/dist/components/icons/OpenNewIcon.d.ts +6 -4
  289. package/dist/components/icons/OpenNewIcon.js +25 -17
  290. package/dist/components/icons/OwnBagIcon.d.ts +6 -4
  291. package/dist/components/icons/OwnBagIcon.js +21 -17
  292. package/dist/components/icons/PadlockIcon.d.ts +6 -4
  293. package/dist/components/icons/PadlockIcon.js +21 -17
  294. package/dist/components/icons/PencilIcon.d.ts +6 -4
  295. package/dist/components/icons/PencilIcon.js +21 -17
  296. package/dist/components/icons/PhoneIcon.d.ts +6 -4
  297. package/dist/components/icons/PhoneIcon.js +21 -17
  298. package/dist/components/icons/PowerIcon.d.ts +6 -4
  299. package/dist/components/icons/PowerIcon.js +21 -17
  300. package/dist/components/icons/SaveFilledIcon.d.ts +6 -4
  301. package/dist/components/icons/SaveFilledIcon.js +21 -17
  302. package/dist/components/icons/SaveIcon.d.ts +6 -4
  303. package/dist/components/icons/SaveIcon.js +21 -17
  304. package/dist/components/icons/ScooterIcon.d.ts +6 -4
  305. package/dist/components/icons/ScooterIcon.js +21 -17
  306. package/dist/components/icons/SearchFilledIcon.d.ts +6 -4
  307. package/dist/components/icons/SearchFilledIcon.js +21 -17
  308. package/dist/components/icons/SearchIcon.d.ts +6 -4
  309. package/dist/components/icons/SearchIcon.js +21 -17
  310. package/dist/components/icons/SendIcon.d.ts +6 -4
  311. package/dist/components/icons/SendIcon.js +21 -17
  312. package/dist/components/icons/SpannerIcon.d.ts +6 -4
  313. package/dist/components/icons/SpannerIcon.js +21 -17
  314. package/dist/components/icons/StarFilledIcon.d.ts +6 -4
  315. package/dist/components/icons/StarFilledIcon.js +24 -17
  316. package/dist/components/icons/StarIcon.d.ts +6 -4
  317. package/dist/components/icons/StarIcon.js +21 -17
  318. package/dist/components/icons/TickAltFilledIcon.d.ts +6 -4
  319. package/dist/components/icons/TickAltFilledIcon.js +25 -17
  320. package/dist/components/icons/TickAltIcon.d.ts +6 -4
  321. package/dist/components/icons/TickAltIcon.js +21 -17
  322. package/dist/components/icons/TickIcon.d.ts +6 -4
  323. package/dist/components/icons/TickIcon.js +21 -17
  324. package/dist/components/icons/TruckIcon.d.ts +6 -4
  325. package/dist/components/icons/TruckIcon.js +21 -17
  326. package/dist/components/icons/UserWipeIcon.d.ts +6 -4
  327. package/dist/components/icons/UserWipeIcon.js +21 -17
  328. package/dist/components/icons/VoucherFilledIcon.d.ts +6 -4
  329. package/dist/components/icons/VoucherFilledIcon.js +21 -17
  330. package/dist/components/icons/VoucherIcon.d.ts +6 -4
  331. package/dist/components/icons/VoucherIcon.js +21 -17
  332. package/dist/components/icons/WarningCircleFilledIcon.d.ts +6 -4
  333. package/dist/components/icons/WarningCircleFilledIcon.js +25 -17
  334. package/dist/components/icons/WarningCircleIcon.d.ts +6 -4
  335. package/dist/components/icons/WarningCircleIcon.js +29 -17
  336. package/dist/components/icons/WarningFilledIcon.d.ts +6 -4
  337. package/dist/components/icons/WarningFilledIcon.js +21 -17
  338. package/dist/components/icons/WarningIcon.d.ts +6 -4
  339. package/dist/components/icons/WarningIcon.js +21 -17
  340. package/dist/components/icons/WifiIcon.d.ts +6 -4
  341. package/dist/components/icons/WifiIcon.js +21 -17
  342. package/dist/components/icons/WriteIcon.d.ts +6 -4
  343. package/dist/components/icons/WriteIcon.js +27 -17
  344. package/dist/components/icons/index.d.ts +110 -109
  345. package/dist/components/icons/index.js +110 -109
  346. package/dist/hooks/index.d.ts +4 -0
  347. package/dist/hooks/index.js +4 -0
  348. package/dist/hooks/useDebounce.d.ts +4 -1
  349. package/dist/hooks/useDebounce.js +13 -13
  350. package/dist/hooks/useId.d.ts +5 -2
  351. package/dist/hooks/useId.js +7 -7
  352. package/dist/hooks/useSlots.d.ts +5 -8
  353. package/dist/hooks/useSlots.js +30 -50
  354. package/dist/index.d.ts +28 -27
  355. package/dist/index.js +28 -27
  356. package/dist/types/colors.d.ts +10 -10
  357. package/dist/types/index.d.ts +4 -16
  358. package/dist/utils/index.d.ts +8 -5
  359. package/dist/utils/index.js +9 -13
  360. package/package.json +12 -11
  361. package/src/components/Select/Select.tsx +7 -0
  362. package/src/components/TextInput/TextInput.tsx +7 -0
  363. package/src/components/Textarea/Textarea.tsx +7 -0
  364. package/src/hooks/index.ts +3 -0
  365. package/src/index.ts +27 -27
  366. package/dist/components/Field/Field.context.d.ts +0 -14
  367. package/dist/components/Searchbox/Searchbox.context.d.ts +0 -13
  368. package/dist/components/ValidationSummary/validationsummary-utils.d.ts +0 -2
@@ -1,20 +1,24 @@
1
- import { jsxs, jsx } from 'react/jsx-runtime';
2
- import clsx from 'clsx';
3
- import { useId } from '../../hooks/useId.js';
4
-
1
+ import { useId } from "../../hooks/useId.js";
2
+ import clsx from "clsx";
3
+ import { jsx, jsxs } from "react/jsx-runtime";
4
+ //#region src/components/icons/EyeFilledIcon.tsx
5
5
  const EyeFilledIcon = ({ alt, className, fill, id, ref, ...props }) => {
6
- const uid = useId(id);
7
- const componentProps = {
8
- "aria-labelledby": alt ? uid + "__title" : undefined,
9
- className: clsx("coop-icon", className),
10
- "data-icon": "eye-filled",
11
- fill: fill !== null && fill !== void 0 ? fill : "currentColor",
12
- id: uid,
13
- role: alt ? "img" : undefined,
14
- viewBox: "0 0 32 32",
15
- ...props,
16
- };
17
- return (jsxs("svg", { ...componentProps, ref: ref, children: [alt ? jsx("title", { id: uid + "__title", children: alt }) : null, jsx("path", { d: "M16.001 6C23.126 6 29.019 10.346 30 16c-.98 5.654-6.874 10-13.999 10S2.981 21.654 2 16c.98-5.654 6.875-10 14.001-10M16 10a6 6 0 1 0 0 12 6 6 0 0 0 0-12m0 2a4 4 0 1 1 0 8 4 4 0 0 1 0-8" })] }));
6
+ const uid = useId(id);
7
+ return /* @__PURE__ */ jsxs("svg", {
8
+ "aria-labelledby": alt ? uid + "__title" : void 0,
9
+ className: clsx("coop-icon", className),
10
+ "data-icon": "eye-filled",
11
+ fill: fill ?? "currentColor",
12
+ id: uid,
13
+ role: alt ? "img" : void 0,
14
+ viewBox: "0 0 32 32",
15
+ ...props,
16
+ ref,
17
+ children: [alt ? /* @__PURE__ */ jsx("title", {
18
+ id: uid + "__title",
19
+ children: alt
20
+ }) : null, /* @__PURE__ */ jsx("path", { d: "M16.001 6C23.126 6 29.019 10.346 30 16c-.98 5.654-6.874 10-13.999 10S2.981 21.654 2 16c.98-5.654 6.875-10 14.001-10M16 10a6 6 0 1 0 0 12 6 6 0 0 0 0-12m0 2a4 4 0 1 1 0 8 4 4 0 0 1 0-8" })]
21
+ });
18
22
  };
19
-
23
+ //#endregion
20
24
  export { EyeFilledIcon };
@@ -1,6 +1,8 @@
1
- import type { JSX, SVGProps } from "react";
1
+ import { JSX, SVGProps } from "react";
2
+ //#region src/components/icons/EyeIcon.d.ts
2
3
  interface IconProps extends SVGProps<SVGSVGElement> {
3
- alt?: string;
4
+ alt?: string;
4
5
  }
5
- export declare const EyeIcon: ({ alt, className, fill, id, ref, ...props }: IconProps) => JSX.Element;
6
- export {};
6
+ declare const EyeIcon: ({ alt, className, fill, id, ref, ...props }: IconProps) => JSX.Element;
7
+ //#endregion
8
+ export { EyeIcon };
@@ -1,20 +1,24 @@
1
- import { jsxs, jsx } from 'react/jsx-runtime';
2
- import clsx from 'clsx';
3
- import { useId } from '../../hooks/useId.js';
4
-
1
+ import { useId } from "../../hooks/useId.js";
2
+ import clsx from "clsx";
3
+ import { jsx, jsxs } from "react/jsx-runtime";
4
+ //#region src/components/icons/EyeIcon.tsx
5
5
  const EyeIcon = ({ alt, className, fill, id, ref, ...props }) => {
6
- const uid = useId(id);
7
- const componentProps = {
8
- "aria-labelledby": alt ? uid + "__title" : undefined,
9
- className: clsx("coop-icon", className),
10
- "data-icon": "eye",
11
- fill: fill !== null && fill !== void 0 ? fill : "currentColor",
12
- id: uid,
13
- role: alt ? "img" : undefined,
14
- viewBox: "0 0 32 32",
15
- ...props,
16
- };
17
- return (jsxs("svg", { ...componentProps, ref: ref, children: [alt ? jsx("title", { id: uid + "__title", children: alt }) : null, jsx("path", { d: "M16.001 6C23.126 6 29.019 10.346 30 16c-.98 5.654-6.874 10-13.999 10S2.981 21.654 2 16c.98-5.654 6.875-10 14.001-10m0 1.894c-6.307 0-11.115 3.73-12.07 8.106.955 4.376 5.763 8.106 12.07 8.106 6.306 0 11.112-3.73 12.067-8.106-.924-4.236-5.457-7.867-11.466-8.095zM16 10a6 6 0 1 1 0 12 6 6 0 0 1 0-12m0 2a4 4 0 1 0 0 8 4 4 0 0 0 0-8" })] }));
6
+ const uid = useId(id);
7
+ return /* @__PURE__ */ jsxs("svg", {
8
+ "aria-labelledby": alt ? uid + "__title" : void 0,
9
+ className: clsx("coop-icon", className),
10
+ "data-icon": "eye",
11
+ fill: fill ?? "currentColor",
12
+ id: uid,
13
+ role: alt ? "img" : void 0,
14
+ viewBox: "0 0 32 32",
15
+ ...props,
16
+ ref,
17
+ children: [alt ? /* @__PURE__ */ jsx("title", {
18
+ id: uid + "__title",
19
+ children: alt
20
+ }) : null, /* @__PURE__ */ jsx("path", { d: "M16.001 6C23.126 6 29.019 10.346 30 16c-.98 5.654-6.874 10-13.999 10S2.981 21.654 2 16c.98-5.654 6.875-10 14.001-10m0 1.894c-6.307 0-11.115 3.73-12.07 8.106.955 4.376 5.763 8.106 12.07 8.106 6.306 0 11.112-3.73 12.067-8.106-.924-4.236-5.457-7.867-11.466-8.095zM16 10a6 6 0 1 1 0 12 6 6 0 0 1 0-12m0 2a4 4 0 1 0 0 8 4 4 0 0 0 0-8" })]
21
+ });
18
22
  };
19
-
23
+ //#endregion
20
24
  export { EyeIcon };
@@ -1,6 +1,8 @@
1
- import type { JSX, SVGProps } from "react";
1
+ import { JSX, SVGProps } from "react";
2
+ //#region src/components/icons/EyeStrikeFilledIcon.d.ts
2
3
  interface IconProps extends SVGProps<SVGSVGElement> {
3
- alt?: string;
4
+ alt?: string;
4
5
  }
5
- export declare const EyeStrikeFilledIcon: ({ alt, className, fill, id, ref, ...props }: IconProps) => JSX.Element;
6
- export {};
6
+ declare const EyeStrikeFilledIcon: ({ alt, className, fill, id, ref, ...props }: IconProps) => JSX.Element;
7
+ //#endregion
8
+ export { EyeStrikeFilledIcon };
@@ -1,20 +1,24 @@
1
- import { jsxs, jsx } from 'react/jsx-runtime';
2
- import clsx from 'clsx';
3
- import { useId } from '../../hooks/useId.js';
4
-
1
+ import { useId } from "../../hooks/useId.js";
2
+ import clsx from "clsx";
3
+ import { jsx, jsxs } from "react/jsx-runtime";
4
+ //#region src/components/icons/EyeStrikeFilledIcon.tsx
5
5
  const EyeStrikeFilledIcon = ({ alt, className, fill, id, ref, ...props }) => {
6
- const uid = useId(id);
7
- const componentProps = {
8
- "aria-labelledby": alt ? uid + "__title" : undefined,
9
- className: clsx("coop-icon", className),
10
- "data-icon": "eye-strike-filled",
11
- fill: fill !== null && fill !== void 0 ? fill : "currentColor",
12
- id: uid,
13
- role: alt ? "img" : undefined,
14
- viewBox: "0 0 32 32",
15
- ...props,
16
- };
17
- return (jsxs("svg", { ...componentProps, ref: ref, children: [alt ? jsx("title", { id: uid + "__title", children: alt }) : null, jsx("path", { d: "M3.707 5.093a1 1 0 0 1 1.414 0l21.921 21.92a1 1 0 0 1-1.415 1.415l-3.558-3.558A16.6 16.6 0 0 1 16.001 26C8.875 26 2.981 21.654 2 16c.467-2.691 2.047-5.086 4.344-6.856L3.707 6.507a1 1 0 0 1 0-1.414M16 6c7.125 0 13.02 4.346 14 10-.466 2.685-2.041 5.073-4.33 6.843l-4.256-4.257a6 6 0 0 0-8.001-8.002L9.95 7.12A16.6 16.6 0 0 1 16 6m-5.406 7.393a6 6 0 0 0 8.01 8.012l-1.547-1.548a3.998 3.998 0 0 1-4.915-4.915zM16 12a4 4 0 0 1 3.863 5.035l-4.9-4.9Q15.462 12.003 16 12" })] }));
6
+ const uid = useId(id);
7
+ return /* @__PURE__ */ jsxs("svg", {
8
+ "aria-labelledby": alt ? uid + "__title" : void 0,
9
+ className: clsx("coop-icon", className),
10
+ "data-icon": "eye-strike-filled",
11
+ fill: fill ?? "currentColor",
12
+ id: uid,
13
+ role: alt ? "img" : void 0,
14
+ viewBox: "0 0 32 32",
15
+ ...props,
16
+ ref,
17
+ children: [alt ? /* @__PURE__ */ jsx("title", {
18
+ id: uid + "__title",
19
+ children: alt
20
+ }) : null, /* @__PURE__ */ jsx("path", { d: "M3.707 5.093a1 1 0 0 1 1.414 0l21.921 21.92a1 1 0 0 1-1.415 1.415l-3.558-3.558A16.6 16.6 0 0 1 16.001 26C8.875 26 2.981 21.654 2 16c.467-2.691 2.047-5.086 4.344-6.856L3.707 6.507a1 1 0 0 1 0-1.414M16 6c7.125 0 13.02 4.346 14 10-.466 2.685-2.041 5.073-4.33 6.843l-4.256-4.257a6 6 0 0 0-8.001-8.002L9.95 7.12A16.6 16.6 0 0 1 16 6m-5.406 7.393a6 6 0 0 0 8.01 8.012l-1.547-1.548a3.998 3.998 0 0 1-4.915-4.915zM16 12a4 4 0 0 1 3.863 5.035l-4.9-4.9Q15.462 12.003 16 12" })]
21
+ });
18
22
  };
19
-
23
+ //#endregion
20
24
  export { EyeStrikeFilledIcon };
@@ -1,6 +1,8 @@
1
- import type { JSX, SVGProps } from "react";
1
+ import { JSX, SVGProps } from "react";
2
+ //#region src/components/icons/EyeStrikeIcon.d.ts
2
3
  interface IconProps extends SVGProps<SVGSVGElement> {
3
- alt?: string;
4
+ alt?: string;
4
5
  }
5
- export declare const EyeStrikeIcon: ({ alt, className, fill, id, ref, ...props }: IconProps) => JSX.Element;
6
- export {};
6
+ declare const EyeStrikeIcon: ({ alt, className, fill, id, ref, ...props }: IconProps) => JSX.Element;
7
+ //#endregion
8
+ export { EyeStrikeIcon };
@@ -1,20 +1,24 @@
1
- import { jsxs, jsx } from 'react/jsx-runtime';
2
- import clsx from 'clsx';
3
- import { useId } from '../../hooks/useId.js';
4
-
1
+ import { useId } from "../../hooks/useId.js";
2
+ import clsx from "clsx";
3
+ import { jsx, jsxs } from "react/jsx-runtime";
4
+ //#region src/components/icons/EyeStrikeIcon.tsx
5
5
  const EyeStrikeIcon = ({ alt, className, fill, id, ref, ...props }) => {
6
- const uid = useId(id);
7
- const componentProps = {
8
- "aria-labelledby": alt ? uid + "__title" : undefined,
9
- className: clsx("coop-icon", className),
10
- "data-icon": "eye-strike",
11
- fill: fill !== null && fill !== void 0 ? fill : "currentColor",
12
- id: uid,
13
- role: alt ? "img" : undefined,
14
- viewBox: "0 0 32 32",
15
- ...props,
16
- };
17
- return (jsxs("svg", { ...componentProps, ref: ref, children: [alt ? jsx("title", { id: uid + "__title", children: alt }) : null, jsx("path", { d: "M3.707 5.093a1 1 0 0 1 1.414 0l21.921 21.92a1 1 0 0 1-1.415 1.415l-3.558-3.558A16.6 16.6 0 0 1 16.001 26C8.875 26 2.981 21.654 2 16c.467-2.691 2.047-5.086 4.344-6.856L3.707 6.507a1 1 0 0 1 0-1.414m3.991 5.405c-1.967 1.46-3.31 3.406-3.767 5.502.955 4.376 5.763 8.106 12.07 8.106 1.648 0 3.192-.257 4.593-.713l-1.99-1.988a6 6 0 0 1-8.01-8.012zM16 6c7.125 0 13.02 4.346 14 10-.466 2.685-2.041 5.073-4.33 6.843l-1.352-1.353c1.958-1.46 3.294-3.4 3.75-5.49-.955-4.376-5.761-8.106-12.068-8.106-1.64 0-3.178.253-4.573.704L9.949 7.12A16.6 16.6 0 0 1 16 6m-3.858 8.942a4 4 0 0 0 4.915 4.915zM16 10a6 6 0 0 1 5.414 8.586l-1.55-1.55q.134-.498.136-1.036a4 4 0 0 0-5.036-3.864l-1.55-1.552A6 6 0 0 1 16 10" })] }));
6
+ const uid = useId(id);
7
+ return /* @__PURE__ */ jsxs("svg", {
8
+ "aria-labelledby": alt ? uid + "__title" : void 0,
9
+ className: clsx("coop-icon", className),
10
+ "data-icon": "eye-strike",
11
+ fill: fill ?? "currentColor",
12
+ id: uid,
13
+ role: alt ? "img" : void 0,
14
+ viewBox: "0 0 32 32",
15
+ ...props,
16
+ ref,
17
+ children: [alt ? /* @__PURE__ */ jsx("title", {
18
+ id: uid + "__title",
19
+ children: alt
20
+ }) : null, /* @__PURE__ */ jsx("path", { d: "M3.707 5.093a1 1 0 0 1 1.414 0l21.921 21.92a1 1 0 0 1-1.415 1.415l-3.558-3.558A16.6 16.6 0 0 1 16.001 26C8.875 26 2.981 21.654 2 16c.467-2.691 2.047-5.086 4.344-6.856L3.707 6.507a1 1 0 0 1 0-1.414m3.991 5.405c-1.967 1.46-3.31 3.406-3.767 5.502.955 4.376 5.763 8.106 12.07 8.106 1.648 0 3.192-.257 4.593-.713l-1.99-1.988a6 6 0 0 1-8.01-8.012zM16 6c7.125 0 13.02 4.346 14 10-.466 2.685-2.041 5.073-4.33 6.843l-1.352-1.353c1.958-1.46 3.294-3.4 3.75-5.49-.955-4.376-5.761-8.106-12.068-8.106-1.64 0-3.178.253-4.573.704L9.949 7.12A16.6 16.6 0 0 1 16 6m-3.858 8.942a4 4 0 0 0 4.915 4.915zM16 10a6 6 0 0 1 5.414 8.586l-1.55-1.55q.134-.498.136-1.036a4 4 0 0 0-5.036-3.864l-1.55-1.552A6 6 0 0 1 16 10" })]
21
+ });
18
22
  };
19
-
23
+ //#endregion
20
24
  export { EyeStrikeIcon };
@@ -1,6 +1,8 @@
1
- import type { JSX, SVGProps } from "react";
1
+ import { JSX, SVGProps } from "react";
2
+ //#region src/components/icons/FeedbackFilledIcon.d.ts
2
3
  interface IconProps extends SVGProps<SVGSVGElement> {
3
- alt?: string;
4
+ alt?: string;
4
5
  }
5
- export declare const FeedbackFilledIcon: ({ alt, className, fill, id, ref, ...props }: IconProps) => JSX.Element;
6
- export {};
6
+ declare const FeedbackFilledIcon: ({ alt, className, fill, id, ref, ...props }: IconProps) => JSX.Element;
7
+ //#endregion
8
+ export { FeedbackFilledIcon };
@@ -1,20 +1,27 @@
1
- import { jsxs, jsx } from 'react/jsx-runtime';
2
- import clsx from 'clsx';
3
- import { useId } from '../../hooks/useId.js';
4
-
1
+ import { useId } from "../../hooks/useId.js";
2
+ import clsx from "clsx";
3
+ import { jsx, jsxs } from "react/jsx-runtime";
4
+ //#region src/components/icons/FeedbackFilledIcon.tsx
5
5
  const FeedbackFilledIcon = ({ alt, className, fill, id, ref, ...props }) => {
6
- const uid = useId(id);
7
- const componentProps = {
8
- "aria-labelledby": alt ? uid + "__title" : undefined,
9
- className: clsx("coop-icon", className),
10
- "data-icon": "feedback-filled",
11
- fill: fill !== null && fill !== void 0 ? fill : "currentColor",
12
- id: uid,
13
- role: alt ? "img" : undefined,
14
- viewBox: "0 0 32 32",
15
- ...props,
16
- };
17
- return (jsxs("svg", { ...componentProps, ref: ref, children: [alt ? jsx("title", { id: uid + "__title", children: alt }) : null, jsx("path", { d: "M4 7h24a1 1 0 0 1 1 1v16l-.005.102A1 1 0 0 1 28 25H5.586L3 27.586V8l.005-.103a1 1 0 0 1 .892-.892zm7 7a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm5 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm5 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4Z", strokeWidth: "2" })] }));
6
+ const uid = useId(id);
7
+ return /* @__PURE__ */ jsxs("svg", {
8
+ "aria-labelledby": alt ? uid + "__title" : void 0,
9
+ className: clsx("coop-icon", className),
10
+ "data-icon": "feedback-filled",
11
+ fill: fill ?? "currentColor",
12
+ id: uid,
13
+ role: alt ? "img" : void 0,
14
+ viewBox: "0 0 32 32",
15
+ ...props,
16
+ ref,
17
+ children: [alt ? /* @__PURE__ */ jsx("title", {
18
+ id: uid + "__title",
19
+ children: alt
20
+ }) : null, /* @__PURE__ */ jsx("path", {
21
+ d: "M4 7h24a1 1 0 0 1 1 1v16l-.005.102A1 1 0 0 1 28 25H5.586L3 27.586V8l.005-.103a1 1 0 0 1 .892-.892zm7 7a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm5 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm5 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4Z",
22
+ strokeWidth: "2"
23
+ })]
24
+ });
18
25
  };
19
-
26
+ //#endregion
20
27
  export { FeedbackFilledIcon };
@@ -1,6 +1,8 @@
1
- import type { JSX, SVGProps } from "react";
1
+ import { JSX, SVGProps } from "react";
2
+ //#region src/components/icons/FeedbackIcon.d.ts
2
3
  interface IconProps extends SVGProps<SVGSVGElement> {
3
- alt?: string;
4
+ alt?: string;
4
5
  }
5
- export declare const FeedbackIcon: ({ alt, className, fill, id, ref, ...props }: IconProps) => JSX.Element;
6
- export {};
6
+ declare const FeedbackIcon: ({ alt, className, fill, id, ref, ...props }: IconProps) => JSX.Element;
7
+ //#endregion
8
+ export { FeedbackIcon };
@@ -1,20 +1,24 @@
1
- import { jsxs, jsx } from 'react/jsx-runtime';
2
- import clsx from 'clsx';
3
- import { useId } from '../../hooks/useId.js';
4
-
1
+ import { useId } from "../../hooks/useId.js";
2
+ import clsx from "clsx";
3
+ import { jsx, jsxs } from "react/jsx-runtime";
4
+ //#region src/components/icons/FeedbackIcon.tsx
5
5
  const FeedbackIcon = ({ alt, className, fill, id, ref, ...props }) => {
6
- const uid = useId(id);
7
- const componentProps = {
8
- "aria-labelledby": alt ? uid + "__title" : undefined,
9
- className: clsx("coop-icon", className),
10
- "data-icon": "feedback",
11
- fill: fill !== null && fill !== void 0 ? fill : "currentColor",
12
- id: uid,
13
- role: alt ? "img" : undefined,
14
- viewBox: "0 0 32 32",
15
- ...props,
16
- };
17
- return (jsxs("svg", { ...componentProps, ref: ref, children: [alt ? jsx("title", { id: uid + "__title", children: alt }) : null, jsx("path", { d: "M28 6a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2H6l-4 4V8a2 2 0 0 1 2-2zM4 25.172 5.172 24H28V8H4zM11 15a1 1 0 1 1 0 2 1 1 0 0 1 0-2m5 0a1 1 0 1 1 0 2 1 1 0 0 1 0-2m5 0a1 1 0 1 1 0 2 1 1 0 0 1 0-2" })] }));
6
+ const uid = useId(id);
7
+ return /* @__PURE__ */ jsxs("svg", {
8
+ "aria-labelledby": alt ? uid + "__title" : void 0,
9
+ className: clsx("coop-icon", className),
10
+ "data-icon": "feedback",
11
+ fill: fill ?? "currentColor",
12
+ id: uid,
13
+ role: alt ? "img" : void 0,
14
+ viewBox: "0 0 32 32",
15
+ ...props,
16
+ ref,
17
+ children: [alt ? /* @__PURE__ */ jsx("title", {
18
+ id: uid + "__title",
19
+ children: alt
20
+ }) : null, /* @__PURE__ */ jsx("path", { d: "M28 6a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2H6l-4 4V8a2 2 0 0 1 2-2zM4 25.172 5.172 24H28V8H4zM11 15a1 1 0 1 1 0 2 1 1 0 0 1 0-2m5 0a1 1 0 1 1 0 2 1 1 0 0 1 0-2m5 0a1 1 0 1 1 0 2 1 1 0 0 1 0-2" })]
21
+ });
18
22
  };
19
-
23
+ //#endregion
20
24
  export { FeedbackIcon };
@@ -1,6 +1,8 @@
1
- import type { JSX, SVGProps } from "react";
1
+ import { JSX, SVGProps } from "react";
2
+ //#region src/components/icons/FilterIcon.d.ts
2
3
  interface IconProps extends SVGProps<SVGSVGElement> {
3
- alt?: string;
4
+ alt?: string;
4
5
  }
5
- export declare const FilterIcon: ({ alt, className, fill, id, ref, ...props }: IconProps) => JSX.Element;
6
- export {};
6
+ declare const FilterIcon: ({ alt, className, fill, id, ref, ...props }: IconProps) => JSX.Element;
7
+ //#endregion
8
+ export { FilterIcon };
@@ -1,20 +1,24 @@
1
- import { jsxs, jsx } from 'react/jsx-runtime';
2
- import clsx from 'clsx';
3
- import { useId } from '../../hooks/useId.js';
4
-
1
+ import { useId } from "../../hooks/useId.js";
2
+ import clsx from "clsx";
3
+ import { jsx, jsxs } from "react/jsx-runtime";
4
+ //#region src/components/icons/FilterIcon.tsx
5
5
  const FilterIcon = ({ alt, className, fill, id, ref, ...props }) => {
6
- const uid = useId(id);
7
- const componentProps = {
8
- "aria-labelledby": alt ? uid + "__title" : undefined,
9
- className: clsx("coop-icon", className),
10
- "data-icon": "filter",
11
- fill: fill !== null && fill !== void 0 ? fill : "currentColor",
12
- id: uid,
13
- role: alt ? "img" : undefined,
14
- viewBox: "0 0 32 32",
15
- ...props,
16
- };
17
- return (jsxs("svg", { ...componentProps, ref: ref, children: [alt ? jsx("title", { id: uid + "__title", children: alt }) : null, jsx("path", { d: "M12 17a4 4 0 0 1 3.874 3H27a1 1 0 1 1 0 2H15.874a4.002 4.002 0 0 1-7.748 0H5a1 1 0 1 1 0-2h3.126c.444-1.725 2.01-3 3.874-3m0 2a1.998 1.998 0 0 0-1.73 3 1.998 1.998 0 1 0 3.46-2c-.346-.597-.99-1-1.73-1m8-12a4 4 0 0 1 3.874 3H27a1 1 0 1 1 0 2h-3.126a4.002 4.002 0 0 1-7.748 0H5a1 1 0 1 1 0-2h11.126c.444-1.725 2.01-3 3.874-3m0 2a2 2 0 0 0-1.986 1.771A1.98 1.98 0 0 0 18.27 12a1.998 1.998 0 1 0 3.46-2c-.346-.597-.99-1-1.73-1" })] }));
6
+ const uid = useId(id);
7
+ return /* @__PURE__ */ jsxs("svg", {
8
+ "aria-labelledby": alt ? uid + "__title" : void 0,
9
+ className: clsx("coop-icon", className),
10
+ "data-icon": "filter",
11
+ fill: fill ?? "currentColor",
12
+ id: uid,
13
+ role: alt ? "img" : void 0,
14
+ viewBox: "0 0 32 32",
15
+ ...props,
16
+ ref,
17
+ children: [alt ? /* @__PURE__ */ jsx("title", {
18
+ id: uid + "__title",
19
+ children: alt
20
+ }) : null, /* @__PURE__ */ jsx("path", { d: "M12 17a4 4 0 0 1 3.874 3H27a1 1 0 1 1 0 2H15.874a4.002 4.002 0 0 1-7.748 0H5a1 1 0 1 1 0-2h3.126c.444-1.725 2.01-3 3.874-3m0 2a1.998 1.998 0 0 0-1.73 3 1.998 1.998 0 1 0 3.46-2c-.346-.597-.99-1-1.73-1m8-12a4 4 0 0 1 3.874 3H27a1 1 0 1 1 0 2h-3.126a4.002 4.002 0 0 1-7.748 0H5a1 1 0 1 1 0-2h11.126c.444-1.725 2.01-3 3.874-3m0 2a2 2 0 0 0-1.986 1.771A1.98 1.98 0 0 0 18.27 12a1.998 1.998 0 1 0 3.46-2c-.346-.597-.99-1-1.73-1" })]
21
+ });
18
22
  };
19
-
23
+ //#endregion
20
24
  export { FilterIcon };
@@ -1,6 +1,8 @@
1
- import type { JSX, SVGProps } from "react";
1
+ import { JSX, SVGProps } from "react";
2
+ //#region src/components/icons/GiftCardFilledIcon.d.ts
2
3
  interface IconProps extends SVGProps<SVGSVGElement> {
3
- alt?: string;
4
+ alt?: string;
4
5
  }
5
- export declare const GiftCardFilledIcon: ({ alt, className, fill, id, ref, ...props }: IconProps) => JSX.Element;
6
- export {};
6
+ declare const GiftCardFilledIcon: ({ alt, className, fill, id, ref, ...props }: IconProps) => JSX.Element;
7
+ //#endregion
8
+ export { GiftCardFilledIcon };
@@ -1,20 +1,24 @@
1
- import { jsxs, jsx } from 'react/jsx-runtime';
2
- import clsx from 'clsx';
3
- import { useId } from '../../hooks/useId.js';
4
-
1
+ import { useId } from "../../hooks/useId.js";
2
+ import clsx from "clsx";
3
+ import { jsx, jsxs } from "react/jsx-runtime";
4
+ //#region src/components/icons/GiftCardFilledIcon.tsx
5
5
  const GiftCardFilledIcon = ({ alt, className, fill, id, ref, ...props }) => {
6
- const uid = useId(id);
7
- const componentProps = {
8
- "aria-labelledby": alt ? uid + "__title" : undefined,
9
- className: clsx("coop-icon", className),
10
- "data-icon": "gift-card-filled",
11
- fill: fill !== null && fill !== void 0 ? fill : "currentColor",
12
- id: uid,
13
- role: alt ? "img" : undefined,
14
- viewBox: "0 0 32 32",
15
- ...props,
16
- };
17
- return (jsxs("svg", { ...componentProps, ref: ref, children: [alt ? jsx("title", { id: uid + "__title", children: alt }) : null, jsx("path", { d: "M28 6a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2zm-10.75 4.001c-.492 0-.937.203-1.255.53a1.73 1.73 0 0 0-1.245-.53c-.966 0-1.75.799-1.75 1.783l.009.182q.03.284.14.535H12a2 2 0 0 0-2 2v.5l.01.204A2 2 0 0 0 11 16.73v3.749l.008.155A1.524 1.524 0 0 0 12.523 22h6.954l.156-.008a1.524 1.524 0 0 0 1.36-1.36L21 20.48v-3.75c.597-.345 1-.989 1-1.728v-.5a2 2 0 0 0-1.796-1.99l-.204-.01h-1.17a1.75 1.75 0 0 0-1.58-2.5m-1.85 7v3.731h-2.877a.255.255 0 0 1-.254-.253V17zm4.331 0v3.477c0 .14-.114.254-.254.254h-2.876v-3.731zm-4.33-3.3v2.1H12a.8.8 0 0 1-.8-.8v-.5a.8.8 0 0 1 .8-.8zm4.599 0a.8.8 0 0 1 .8.8v.5a.8.8 0 0 1-.8.8h-3.4v-2.1zm-5.25-2.5c.283 0 .55.24.55.583a.567.567 0 0 1-.55.582.567.567 0 0 1-.55-.582c0-.343.267-.583.55-.583m2.5 0a.55.55 0 1 1 0 1.1.55.55 0 0 1 0-1.1" })] }));
6
+ const uid = useId(id);
7
+ return /* @__PURE__ */ jsxs("svg", {
8
+ "aria-labelledby": alt ? uid + "__title" : void 0,
9
+ className: clsx("coop-icon", className),
10
+ "data-icon": "gift-card-filled",
11
+ fill: fill ?? "currentColor",
12
+ id: uid,
13
+ role: alt ? "img" : void 0,
14
+ viewBox: "0 0 32 32",
15
+ ...props,
16
+ ref,
17
+ children: [alt ? /* @__PURE__ */ jsx("title", {
18
+ id: uid + "__title",
19
+ children: alt
20
+ }) : null, /* @__PURE__ */ jsx("path", { d: "M28 6a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2zm-10.75 4.001c-.492 0-.937.203-1.255.53a1.73 1.73 0 0 0-1.245-.53c-.966 0-1.75.799-1.75 1.783l.009.182q.03.284.14.535H12a2 2 0 0 0-2 2v.5l.01.204A2 2 0 0 0 11 16.73v3.749l.008.155A1.524 1.524 0 0 0 12.523 22h6.954l.156-.008a1.524 1.524 0 0 0 1.36-1.36L21 20.48v-3.75c.597-.345 1-.989 1-1.728v-.5a2 2 0 0 0-1.796-1.99l-.204-.01h-1.17a1.75 1.75 0 0 0-1.58-2.5m-1.85 7v3.731h-2.877a.255.255 0 0 1-.254-.253V17zm4.331 0v3.477c0 .14-.114.254-.254.254h-2.876v-3.731zm-4.33-3.3v2.1H12a.8.8 0 0 1-.8-.8v-.5a.8.8 0 0 1 .8-.8zm4.599 0a.8.8 0 0 1 .8.8v.5a.8.8 0 0 1-.8.8h-3.4v-2.1zm-5.25-2.5c.283 0 .55.24.55.583a.567.567 0 0 1-.55.582.567.567 0 0 1-.55-.582c0-.343.267-.583.55-.583m2.5 0a.55.55 0 1 1 0 1.1.55.55 0 0 1 0-1.1" })]
21
+ });
18
22
  };
19
-
23
+ //#endregion
20
24
  export { GiftCardFilledIcon };
@@ -1,6 +1,8 @@
1
- import type { JSX, SVGProps } from "react";
1
+ import { JSX, SVGProps } from "react";
2
+ //#region src/components/icons/GiftCardIcon.d.ts
2
3
  interface IconProps extends SVGProps<SVGSVGElement> {
3
- alt?: string;
4
+ alt?: string;
4
5
  }
5
- export declare const GiftCardIcon: ({ alt, className, fill, id, ref, ...props }: IconProps) => JSX.Element;
6
- export {};
6
+ declare const GiftCardIcon: ({ alt, className, fill, id, ref, ...props }: IconProps) => JSX.Element;
7
+ //#endregion
8
+ export { GiftCardIcon };
@@ -1,20 +1,24 @@
1
- import { jsxs, jsx } from 'react/jsx-runtime';
2
- import clsx from 'clsx';
3
- import { useId } from '../../hooks/useId.js';
4
-
1
+ import { useId } from "../../hooks/useId.js";
2
+ import clsx from "clsx";
3
+ import { jsx, jsxs } from "react/jsx-runtime";
4
+ //#region src/components/icons/GiftCardIcon.tsx
5
5
  const GiftCardIcon = ({ alt, className, fill, id, ref, ...props }) => {
6
- const uid = useId(id);
7
- const componentProps = {
8
- "aria-labelledby": alt ? uid + "__title" : undefined,
9
- className: clsx("coop-icon", className),
10
- "data-icon": "gift-card",
11
- fill: fill !== null && fill !== void 0 ? fill : "currentColor",
12
- id: uid,
13
- role: alt ? "img" : undefined,
14
- viewBox: "0 0 32 32",
15
- ...props,
16
- };
17
- return (jsxs("svg", { ...componentProps, ref: ref, children: [alt ? jsx("title", { id: uid + "__title", children: alt }) : null, jsx("path", { d: "M28.204 6.01A2 2 0 0 1 30 8v16l-.01.204a2 2 0 0 1-1.786 1.785L28 26H4a2 2 0 0 1-1.99-1.796L2 24V8a2 2 0 0 1 2-2h24zM4 24h24V8H4zm13.25-13.999a1.75 1.75 0 0 1 1.58 2.5H20l.204.01A2 2 0 0 1 22 14.502v.5c0 .74-.403 1.383-1 1.729v3.749l-.008.155a1.524 1.524 0 0 1-1.36 1.36l-.155.007h-6.954c-.789 0-1.437-.6-1.515-1.367L11 20.479V16.73a2 2 0 0 1-.99-1.526l-.01-.204v-.5a2 2 0 0 1 2-2h1.15a1.8 1.8 0 0 1-.141-.535L13 11.784c0-.984.784-1.783 1.75-1.783.487 0 .928.203 1.245.53.318-.327.763-.53 1.255-.53m-4.981 10.478c0 .14.114.253.254.253H15.4v-3.731H12.27zm4.332.253h2.877c.14 0 .253-.114.253-.253V17h-3.13zM12 13.702a.8.8 0 0 0-.8.799v.5a.8.8 0 0 0 .8.8h3.4v-2.1zm4.6 2.099H20a.8.8 0 0 0 .8-.8v-.5a.8.8 0 0 0-.8-.8h-3.4zm-1.85-4.6c-.283 0-.55.24-.55.583.001.342.268.582.55.582s.549-.24.55-.582a.567.567 0 0 0-.55-.583m2.5 0a.55.55 0 1 0 0 1.1.55.55 0 0 0 0-1.1" })] }));
6
+ const uid = useId(id);
7
+ return /* @__PURE__ */ jsxs("svg", {
8
+ "aria-labelledby": alt ? uid + "__title" : void 0,
9
+ className: clsx("coop-icon", className),
10
+ "data-icon": "gift-card",
11
+ fill: fill ?? "currentColor",
12
+ id: uid,
13
+ role: alt ? "img" : void 0,
14
+ viewBox: "0 0 32 32",
15
+ ...props,
16
+ ref,
17
+ children: [alt ? /* @__PURE__ */ jsx("title", {
18
+ id: uid + "__title",
19
+ children: alt
20
+ }) : null, /* @__PURE__ */ jsx("path", { d: "M28.204 6.01A2 2 0 0 1 30 8v16l-.01.204a2 2 0 0 1-1.786 1.785L28 26H4a2 2 0 0 1-1.99-1.796L2 24V8a2 2 0 0 1 2-2h24zM4 24h24V8H4zm13.25-13.999a1.75 1.75 0 0 1 1.58 2.5H20l.204.01A2 2 0 0 1 22 14.502v.5c0 .74-.403 1.383-1 1.729v3.749l-.008.155a1.524 1.524 0 0 1-1.36 1.36l-.155.007h-6.954c-.789 0-1.437-.6-1.515-1.367L11 20.479V16.73a2 2 0 0 1-.99-1.526l-.01-.204v-.5a2 2 0 0 1 2-2h1.15a1.8 1.8 0 0 1-.141-.535L13 11.784c0-.984.784-1.783 1.75-1.783.487 0 .928.203 1.245.53.318-.327.763-.53 1.255-.53m-4.981 10.478c0 .14.114.253.254.253H15.4v-3.731H12.27zm4.332.253h2.877c.14 0 .253-.114.253-.253V17h-3.13zM12 13.702a.8.8 0 0 0-.8.799v.5a.8.8 0 0 0 .8.8h3.4v-2.1zm4.6 2.099H20a.8.8 0 0 0 .8-.8v-.5a.8.8 0 0 0-.8-.8h-3.4zm-1.85-4.6c-.283 0-.55.24-.55.583.001.342.268.582.55.582s.549-.24.55-.582a.567.567 0 0 0-.55-.583m2.5 0a.55.55 0 1 0 0 1.1.55.55 0 0 0 0-1.1" })]
21
+ });
18
22
  };
19
-
23
+ //#endregion
20
24
  export { GiftCardIcon };
@@ -1,6 +1,8 @@
1
- import type { JSX, SVGProps } from "react";
1
+ import { JSX, SVGProps } from "react";
2
+ //#region src/components/icons/GiftFilledIcon.d.ts
2
3
  interface IconProps extends SVGProps<SVGSVGElement> {
3
- alt?: string;
4
+ alt?: string;
4
5
  }
5
- export declare const GiftFilledIcon: ({ alt, className, fill, id, ref, ...props }: IconProps) => JSX.Element;
6
- export {};
6
+ declare const GiftFilledIcon: ({ alt, className, fill, id, ref, ...props }: IconProps) => JSX.Element;
7
+ //#endregion
8
+ export { GiftFilledIcon };
@@ -1,20 +1,24 @@
1
- import { jsxs, jsx } from 'react/jsx-runtime';
2
- import clsx from 'clsx';
3
- import { useId } from '../../hooks/useId.js';
4
-
1
+ import { useId } from "../../hooks/useId.js";
2
+ import clsx from "clsx";
3
+ import { jsx, jsxs } from "react/jsx-runtime";
4
+ //#region src/components/icons/GiftFilledIcon.tsx
5
5
  const GiftFilledIcon = ({ alt, className, fill, id, ref, ...props }) => {
6
- const uid = useId(id);
7
- const componentProps = {
8
- "aria-labelledby": alt ? uid + "__title" : undefined,
9
- className: clsx("coop-icon", className),
10
- "data-icon": "gift-filled",
11
- fill: fill !== null && fill !== void 0 ? fill : "currentColor",
12
- id: uid,
13
- role: alt ? "img" : undefined,
14
- viewBox: "0 0 32 32",
15
- ...props,
16
- };
17
- return (jsxs("svg", { ...componentProps, ref: ref, children: [alt ? jsx("title", { id: uid + "__title", children: alt }) : null, jsx("path", { d: "M15 28H8a2 2 0 0 1-2-2V15h9zm11-2a2 2 0 0 1-2 2h-7V15h9zM18 2a3 3 0 0 1 2.826 4H26a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2h-9V8h-2v5H6a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h5.174A2.993 2.993 0 0 1 14 2c.77 0 1.469.292 2 .768A3 3 0 0 1 18 2m-4 2a1 1 0 1 0 0 2c.423 0 .743-.002.992-.008.006-.25.008-.569.008-.992a1 1 0 0 0-1-1m4 0a1 1 0 0 0-1 1c0 .423.001.743.007.992.25.006.57.008.993.008a1 1 0 1 0 0-2" })] }));
6
+ const uid = useId(id);
7
+ return /* @__PURE__ */ jsxs("svg", {
8
+ "aria-labelledby": alt ? uid + "__title" : void 0,
9
+ className: clsx("coop-icon", className),
10
+ "data-icon": "gift-filled",
11
+ fill: fill ?? "currentColor",
12
+ id: uid,
13
+ role: alt ? "img" : void 0,
14
+ viewBox: "0 0 32 32",
15
+ ...props,
16
+ ref,
17
+ children: [alt ? /* @__PURE__ */ jsx("title", {
18
+ id: uid + "__title",
19
+ children: alt
20
+ }) : null, /* @__PURE__ */ jsx("path", { d: "M15 28H8a2 2 0 0 1-2-2V15h9zm11-2a2 2 0 0 1-2 2h-7V15h9zM18 2a3 3 0 0 1 2.826 4H26a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2h-9V8h-2v5H6a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h5.174A2.993 2.993 0 0 1 14 2c.77 0 1.469.292 2 .768A3 3 0 0 1 18 2m-4 2a1 1 0 1 0 0 2c.423 0 .743-.002.992-.008.006-.25.008-.569.008-.992a1 1 0 0 0-1-1m4 0a1 1 0 0 0-1 1c0 .423.001.743.007.992.25.006.57.008.993.008a1 1 0 1 0 0-2" })]
21
+ });
18
22
  };
19
-
23
+ //#endregion
20
24
  export { GiftFilledIcon };
@@ -1,6 +1,8 @@
1
- import type { JSX, SVGProps } from "react";
1
+ import { JSX, SVGProps } from "react";
2
+ //#region src/components/icons/GiftIcon.d.ts
2
3
  interface IconProps extends SVGProps<SVGSVGElement> {
3
- alt?: string;
4
+ alt?: string;
4
5
  }
5
- export declare const GiftIcon: ({ alt, className, fill, id, ref, ...props }: IconProps) => JSX.Element;
6
- export {};
6
+ declare const GiftIcon: ({ alt, className, fill, id, ref, ...props }: IconProps) => JSX.Element;
7
+ //#endregion
8
+ export { GiftIcon };