@coopdigital/react 1.31.0 → 1.32.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 (383) hide show
  1. package/dist/components/AlertBanner/AlertBanner.d.ts +0 -2
  2. package/dist/components/AlertBanner/AlertBanner.js +1 -2
  3. package/dist/components/AlertBanner/index.js +1 -2
  4. package/dist/components/Author/Author.d.ts +0 -2
  5. package/dist/components/Author/Author.js +1 -2
  6. package/dist/components/Author/index.js +1 -2
  7. package/dist/components/Box/Box.d.ts +0 -2
  8. package/dist/components/Box/Box.js +1 -2
  9. package/dist/components/Box/index.js +1 -2
  10. package/dist/components/Button/Button.d.ts +2 -4
  11. package/dist/components/Button/Button.js +1 -2
  12. package/dist/components/Button/index.js +1 -2
  13. package/dist/components/Card/Card.d.ts +0 -2
  14. package/dist/components/Card/Card.js +1 -2
  15. package/dist/components/Card/index.js +1 -2
  16. package/dist/components/Checkbox/Checkbox.d.ts +0 -2
  17. package/dist/components/Checkbox/Checkbox.js +1 -2
  18. package/dist/components/Checkbox/index.js +1 -2
  19. package/dist/components/Combobox/Combobox.context.js +1 -2
  20. package/dist/components/Combobox/Combobox.d.ts +0 -2
  21. package/dist/components/Combobox/Combobox.js +1 -2
  22. package/dist/components/Combobox/combobox-internal.js +1 -2
  23. package/dist/components/Combobox/combobox-utils.d.ts +1 -3
  24. package/dist/components/Combobox/index.js +1 -2
  25. package/dist/components/DateInput/DateInput.context.js +1 -2
  26. package/dist/components/DateInput/DateInput.d.ts +2 -3
  27. package/dist/components/DateInput/DateInput.js +2 -3
  28. package/dist/components/DateInput/dateinput-utils.d.ts +2 -65
  29. package/dist/components/DateInput/dateinput-utils.js +2 -83
  30. package/dist/components/DateInput/index.d.ts +2 -2
  31. package/dist/components/DateInput/index.js +3 -4
  32. package/dist/components/DatePicker/DatePicker.d.ts +0 -2
  33. package/dist/components/DatePicker/DatePicker.js +1 -2
  34. package/dist/components/DatePicker/datepicker-utils.d.ts +1 -3
  35. package/dist/components/DatePicker/datepicker-utils.js +1 -2
  36. package/dist/components/DatePicker/index.js +1 -2
  37. package/dist/components/Dialog/Dialog.d.ts +0 -2
  38. package/dist/components/Dialog/Dialog.js +1 -2
  39. package/dist/components/Dialog/index.js +1 -2
  40. package/dist/components/Expandable/Expandable.d.ts +0 -2
  41. package/dist/components/Expandable/Expandable.js +1 -2
  42. package/dist/components/Expandable/index.js +1 -2
  43. package/dist/components/Field/Field.context.js +1 -2
  44. package/dist/components/Field/Field.d.ts +0 -2
  45. package/dist/components/Field/Field.js +1 -2
  46. package/dist/components/Field/index.js +1 -2
  47. package/dist/components/FieldMarkers/Error.d.ts +1 -3
  48. package/dist/components/FieldMarkers/Error.js +1 -2
  49. package/dist/components/FieldMarkers/Hint.d.ts +1 -3
  50. package/dist/components/FieldMarkers/Hint.js +1 -2
  51. package/dist/components/FieldMarkers/Label.d.ts +1 -3
  52. package/dist/components/FieldMarkers/Label.js +1 -2
  53. package/dist/components/FieldMarkers/Legend.d.ts +1 -3
  54. package/dist/components/FieldMarkers/Legend.js +1 -2
  55. package/dist/components/FieldMarkers/fieldmarkers-internal.js +1 -2
  56. package/dist/components/Fieldset/Fieldset.context.js +1 -2
  57. package/dist/components/Fieldset/Fieldset.d.ts +0 -2
  58. package/dist/components/Fieldset/Fieldset.js +1 -2
  59. package/dist/components/Fieldset/index.js +1 -2
  60. package/dist/components/Flourish/Flourish.d.ts +0 -2
  61. package/dist/components/Flourish/Flourish.js +1 -2
  62. package/dist/components/Flourish/index.js +1 -2
  63. package/dist/components/Form/Form.d.ts +0 -2
  64. package/dist/components/Form/Form.js +1 -2
  65. package/dist/components/Form/index.js +1 -2
  66. package/dist/components/Image/Image.d.ts +0 -2
  67. package/dist/components/Image/Image.js +1 -2
  68. package/dist/components/Image/index.js +1 -2
  69. package/dist/components/LoadingSpinner/LoadingSpinner.d.ts +0 -2
  70. package/dist/components/LoadingSpinner/LoadingSpinner.js +1 -2
  71. package/dist/components/LoadingSpinner/index.js +1 -2
  72. package/dist/components/Logo/Logo.d.ts +0 -2
  73. package/dist/components/Logo/Logo.js +1 -2
  74. package/dist/components/Logo/index.js +1 -2
  75. package/dist/components/PasswordInput/PasswordInput.d.ts +0 -2
  76. package/dist/components/PasswordInput/PasswordInput.js +1 -2
  77. package/dist/components/PasswordInput/index.js +1 -2
  78. package/dist/components/Picture/Picture.d.ts +0 -2
  79. package/dist/components/Picture/Picture.js +1 -2
  80. package/dist/components/Picture/index.js +1 -2
  81. package/dist/components/Pill/Pill.d.ts +0 -2
  82. package/dist/components/Pill/Pill.js +1 -2
  83. package/dist/components/Pill/index.js +1 -2
  84. package/dist/components/Popover/Popover.d.ts +0 -2
  85. package/dist/components/Popover/Popover.js +1 -2
  86. package/dist/components/Popover/index.js +1 -2
  87. package/dist/components/Prose/Prose.d.ts +0 -2
  88. package/dist/components/Prose/Prose.js +1 -2
  89. package/dist/components/Prose/index.js +1 -2
  90. package/dist/components/Radio/Radio.d.ts +0 -2
  91. package/dist/components/Radio/Radio.js +1 -2
  92. package/dist/components/Radio/index.js +1 -2
  93. package/dist/components/RootSVG/RootSVG.d.ts +0 -2
  94. package/dist/components/RootSVG/RootSVG.js +1 -2
  95. package/dist/components/RootSVG/index.js +1 -2
  96. package/dist/components/Searchbox/Searchbox.context.js +1 -2
  97. package/dist/components/Searchbox/Searchbox.d.ts +0 -2
  98. package/dist/components/Searchbox/Searchbox.js +1 -2
  99. package/dist/components/Searchbox/index.js +1 -2
  100. package/dist/components/Section/Section.d.ts +0 -2
  101. package/dist/components/Section/Section.js +1 -2
  102. package/dist/components/Section/index.js +1 -2
  103. package/dist/components/Select/Select.d.ts +0 -2
  104. package/dist/components/Select/Select.js +1 -2
  105. package/dist/components/Select/index.js +1 -2
  106. package/dist/components/Signpost/Signpost.d.ts +0 -2
  107. package/dist/components/Signpost/Signpost.js +1 -2
  108. package/dist/components/Signpost/index.js +1 -2
  109. package/dist/components/SkipNav/SkipNav.d.ts +0 -2
  110. package/dist/components/SkipNav/SkipNav.js +1 -2
  111. package/dist/components/SkipNav/index.js +1 -2
  112. package/dist/components/Squircle/Squircle.d.ts +0 -2
  113. package/dist/components/Squircle/Squircle.js +1 -2
  114. package/dist/components/Squircle/index.js +1 -2
  115. package/dist/components/Tag/Tag.d.ts +0 -2
  116. package/dist/components/Tag/Tag.js +1 -2
  117. package/dist/components/Tag/index.js +1 -2
  118. package/dist/components/TextInput/TextInput.d.ts +0 -2
  119. package/dist/components/TextInput/TextInput.js +1 -2
  120. package/dist/components/TextInput/index.js +1 -2
  121. package/dist/components/Textarea/Textarea.d.ts +0 -2
  122. package/dist/components/Textarea/Textarea.js +1 -2
  123. package/dist/components/Textarea/index.js +1 -2
  124. package/dist/components/ValidationSummary/ValidationSummary.context.js +1 -2
  125. package/dist/components/ValidationSummary/ValidationSummary.d.ts +0 -2
  126. package/dist/components/ValidationSummary/ValidationSummary.js +1 -2
  127. package/dist/components/ValidationSummary/index.js +1 -2
  128. package/dist/components/ValidationSummary/validationsummary-internal.d.ts +1 -3
  129. package/dist/components/ValidationSummary/validationsummary-internal.js +1 -2
  130. package/dist/components/Wrapper/Wrapper.d.ts +0 -2
  131. package/dist/components/Wrapper/Wrapper.js +1 -2
  132. package/dist/components/Wrapper/index.js +1 -2
  133. package/dist/components/icons/AccountCircleFilledIcon.d.ts +0 -2
  134. package/dist/components/icons/AccountCircleFilledIcon.js +1 -2
  135. package/dist/components/icons/AccountCircleIcon.d.ts +0 -2
  136. package/dist/components/icons/AccountCircleIcon.js +1 -2
  137. package/dist/components/icons/AccountFilledIcon.d.ts +0 -2
  138. package/dist/components/icons/AccountFilledIcon.js +1 -2
  139. package/dist/components/icons/AccountIcon.d.ts +0 -2
  140. package/dist/components/icons/AccountIcon.js +1 -2
  141. package/dist/components/icons/AddIcon.d.ts +0 -2
  142. package/dist/components/icons/AddIcon.js +1 -2
  143. package/dist/components/icons/AppsFilledIcon.d.ts +0 -2
  144. package/dist/components/icons/AppsFilledIcon.js +1 -2
  145. package/dist/components/icons/AppsIcon.d.ts +0 -2
  146. package/dist/components/icons/AppsIcon.js +1 -2
  147. package/dist/components/icons/ArrowDownIcon.d.ts +0 -2
  148. package/dist/components/icons/ArrowDownIcon.js +1 -2
  149. package/dist/components/icons/ArrowLeftIcon.d.ts +0 -2
  150. package/dist/components/icons/ArrowLeftIcon.js +1 -2
  151. package/dist/components/icons/ArrowRightIcon.d.ts +0 -2
  152. package/dist/components/icons/ArrowRightIcon.js +1 -2
  153. package/dist/components/icons/ArrowUpIcon.d.ts +0 -2
  154. package/dist/components/icons/ArrowUpIcon.js +1 -2
  155. package/dist/components/icons/BackspaceFilledIcon.d.ts +0 -2
  156. package/dist/components/icons/BackspaceFilledIcon.js +1 -2
  157. package/dist/components/icons/BackspaceIcon.d.ts +0 -2
  158. package/dist/components/icons/BackspaceIcon.js +1 -2
  159. package/dist/components/icons/BasketFilledIcon.d.ts +0 -2
  160. package/dist/components/icons/BasketFilledIcon.js +1 -2
  161. package/dist/components/icons/BasketIcon.d.ts +0 -2
  162. package/dist/components/icons/BasketIcon.js +1 -2
  163. package/dist/components/icons/BellFilledIcon.d.ts +0 -2
  164. package/dist/components/icons/BellFilledIcon.js +1 -2
  165. package/dist/components/icons/BellIcon.d.ts +0 -2
  166. package/dist/components/icons/BellIcon.js +1 -2
  167. package/dist/components/icons/BroomIcon.d.ts +0 -2
  168. package/dist/components/icons/BroomIcon.js +1 -2
  169. package/dist/components/icons/CalendarFilledIcon.d.ts +0 -2
  170. package/dist/components/icons/CalendarFilledIcon.js +1 -2
  171. package/dist/components/icons/CalendarIcon.d.ts +0 -2
  172. package/dist/components/icons/CalendarIcon.js +1 -2
  173. package/dist/components/icons/CashFilledIcon.d.ts +0 -2
  174. package/dist/components/icons/CashFilledIcon.js +1 -2
  175. package/dist/components/icons/CashIcon.d.ts +0 -2
  176. package/dist/components/icons/CashIcon.js +1 -2
  177. package/dist/components/icons/ChevronDownIcon.d.ts +0 -2
  178. package/dist/components/icons/ChevronDownIcon.js +1 -2
  179. package/dist/components/icons/ChevronLeftIcon.d.ts +0 -2
  180. package/dist/components/icons/ChevronLeftIcon.js +1 -2
  181. package/dist/components/icons/ChevronRightIcon.d.ts +0 -2
  182. package/dist/components/icons/ChevronRightIcon.js +1 -2
  183. package/dist/components/icons/ChevronUpIcon.d.ts +0 -2
  184. package/dist/components/icons/ChevronUpIcon.js +1 -2
  185. package/dist/components/icons/CircleBurgerFilledIcon.d.ts +0 -2
  186. package/dist/components/icons/CircleBurgerFilledIcon.js +1 -2
  187. package/dist/components/icons/CircleBurgerIcon.d.ts +0 -2
  188. package/dist/components/icons/CircleBurgerIcon.js +1 -2
  189. package/dist/components/icons/ClipboardFilledIcon.d.ts +0 -2
  190. package/dist/components/icons/ClipboardFilledIcon.js +1 -2
  191. package/dist/components/icons/ClipboardIcon.d.ts +0 -2
  192. package/dist/components/icons/ClipboardIcon.js +1 -2
  193. package/dist/components/icons/ClockFilledIcon.d.ts +0 -2
  194. package/dist/components/icons/ClockFilledIcon.js +1 -2
  195. package/dist/components/icons/ClockIcon.d.ts +0 -2
  196. package/dist/components/icons/ClockIcon.js +1 -2
  197. package/dist/components/icons/CloseAltFilledIcon.d.ts +0 -2
  198. package/dist/components/icons/CloseAltFilledIcon.js +1 -2
  199. package/dist/components/icons/CloseAltIcon.d.ts +0 -2
  200. package/dist/components/icons/CloseAltIcon.js +1 -2
  201. package/dist/components/icons/CogIcon.d.ts +0 -2
  202. package/dist/components/icons/CogIcon.js +1 -2
  203. package/dist/components/icons/CommunityFilledIcon.d.ts +0 -2
  204. package/dist/components/icons/CommunityFilledIcon.js +1 -2
  205. package/dist/components/icons/CommunityIcon.d.ts +0 -2
  206. package/dist/components/icons/CommunityIcon.js +1 -2
  207. package/dist/components/icons/ComputerIcon.d.ts +0 -2
  208. package/dist/components/icons/ComputerIcon.js +1 -2
  209. package/dist/components/icons/ContactFilledIcon.d.ts +0 -2
  210. package/dist/components/icons/ContactFilledIcon.js +1 -2
  211. package/dist/components/icons/ContactIcon.d.ts +0 -2
  212. package/dist/components/icons/ContactIcon.js +1 -2
  213. package/dist/components/icons/ContactlessFilledIcon.d.ts +0 -2
  214. package/dist/components/icons/ContactlessFilledIcon.js +1 -2
  215. package/dist/components/icons/ContactlessIcon.d.ts +0 -2
  216. package/dist/components/icons/ContactlessIcon.js +1 -2
  217. package/dist/components/icons/CoopLiveIcon.d.ts +0 -2
  218. package/dist/components/icons/CoopLiveIcon.js +1 -2
  219. package/dist/components/icons/CoopLocationFilledIcon.d.ts +0 -2
  220. package/dist/components/icons/CoopLocationFilledIcon.js +1 -2
  221. package/dist/components/icons/CoopLogoIcon.d.ts +0 -2
  222. package/dist/components/icons/CoopLogoIcon.js +1 -2
  223. package/dist/components/icons/CoopMembershipCardFilledIcon.d.ts +0 -2
  224. package/dist/components/icons/CoopMembershipCardFilledIcon.js +1 -2
  225. package/dist/components/icons/CreditCardFilledIcon.d.ts +0 -2
  226. package/dist/components/icons/CreditCardFilledIcon.js +1 -2
  227. package/dist/components/icons/CreditCardIcon.d.ts +0 -2
  228. package/dist/components/icons/CreditCardIcon.js +1 -2
  229. package/dist/components/icons/CrossIcon.d.ts +0 -2
  230. package/dist/components/icons/CrossIcon.js +1 -2
  231. package/dist/components/icons/DocumentIcon.d.ts +0 -2
  232. package/dist/components/icons/DocumentIcon.js +1 -2
  233. package/dist/components/icons/DownloadIcon.d.ts +0 -2
  234. package/dist/components/icons/DownloadIcon.js +1 -2
  235. package/dist/components/icons/EnterStoreIcon.d.ts +0 -2
  236. package/dist/components/icons/EnterStoreIcon.js +1 -2
  237. package/dist/components/icons/ExitStoreIcon.d.ts +0 -2
  238. package/dist/components/icons/ExitStoreIcon.js +1 -2
  239. package/dist/components/icons/EyeFilledIcon.d.ts +0 -2
  240. package/dist/components/icons/EyeFilledIcon.js +1 -2
  241. package/dist/components/icons/EyeIcon.d.ts +0 -2
  242. package/dist/components/icons/EyeIcon.js +1 -2
  243. package/dist/components/icons/EyeStrikeFilledIcon.d.ts +0 -2
  244. package/dist/components/icons/EyeStrikeFilledIcon.js +1 -2
  245. package/dist/components/icons/EyeStrikeIcon.d.ts +0 -2
  246. package/dist/components/icons/EyeStrikeIcon.js +1 -2
  247. package/dist/components/icons/FeedbackFilledIcon.d.ts +0 -2
  248. package/dist/components/icons/FeedbackFilledIcon.js +1 -2
  249. package/dist/components/icons/FeedbackIcon.d.ts +0 -2
  250. package/dist/components/icons/FeedbackIcon.js +1 -2
  251. package/dist/components/icons/FilterIcon.d.ts +0 -2
  252. package/dist/components/icons/FilterIcon.js +1 -2
  253. package/dist/components/icons/GiftCardFilledIcon.d.ts +0 -2
  254. package/dist/components/icons/GiftCardFilledIcon.js +1 -2
  255. package/dist/components/icons/GiftCardIcon.d.ts +0 -2
  256. package/dist/components/icons/GiftCardIcon.js +1 -2
  257. package/dist/components/icons/GiftFilledIcon.d.ts +0 -2
  258. package/dist/components/icons/GiftFilledIcon.js +1 -2
  259. package/dist/components/icons/GiftIcon.d.ts +0 -2
  260. package/dist/components/icons/GiftIcon.js +1 -2
  261. package/dist/components/icons/HelpFilledIcon.d.ts +0 -2
  262. package/dist/components/icons/HelpFilledIcon.js +1 -2
  263. package/dist/components/icons/HelpIcon.d.ts +0 -2
  264. package/dist/components/icons/HelpIcon.js +1 -2
  265. package/dist/components/icons/HomeFilledIcon.d.ts +0 -2
  266. package/dist/components/icons/HomeFilledIcon.js +1 -2
  267. package/dist/components/icons/HomeIcon.d.ts +0 -2
  268. package/dist/components/icons/HomeIcon.js +1 -2
  269. package/dist/components/icons/HowDoIAssistantIcon.d.ts +0 -2
  270. package/dist/components/icons/HowDoIAssistantIcon.js +1 -2
  271. package/dist/components/icons/InfoIcon.d.ts +0 -2
  272. package/dist/components/icons/InfoIcon.js +1 -2
  273. package/dist/components/icons/KebabIcon.d.ts +0 -2
  274. package/dist/components/icons/KebabIcon.js +1 -2
  275. package/dist/components/icons/LoadingIcon.d.ts +0 -2
  276. package/dist/components/icons/LoadingIcon.js +1 -2
  277. package/dist/components/icons/LocationFilledIcon.d.ts +0 -2
  278. package/dist/components/icons/LocationFilledIcon.js +1 -2
  279. package/dist/components/icons/LocationIcon.d.ts +0 -2
  280. package/dist/components/icons/LocationIcon.js +1 -2
  281. package/dist/components/icons/LogoutIcon.d.ts +0 -2
  282. package/dist/components/icons/LogoutIcon.js +1 -2
  283. package/dist/components/icons/MailIcon.d.ts +0 -2
  284. package/dist/components/icons/MailIcon.js +1 -2
  285. package/dist/components/icons/MenuIcon.d.ts +0 -2
  286. package/dist/components/icons/MenuIcon.js +1 -2
  287. package/dist/components/icons/MessageIcon.d.ts +0 -2
  288. package/dist/components/icons/MessageIcon.js +1 -2
  289. package/dist/components/icons/MinusIcon.d.ts +0 -2
  290. package/dist/components/icons/MinusIcon.js +1 -2
  291. package/dist/components/icons/NotesFilledIcon.d.ts +0 -2
  292. package/dist/components/icons/NotesFilledIcon.js +1 -2
  293. package/dist/components/icons/NotesIcon.d.ts +0 -2
  294. package/dist/components/icons/NotesIcon.js +1 -2
  295. package/dist/components/icons/OpenNewIcon.d.ts +0 -2
  296. package/dist/components/icons/OpenNewIcon.js +1 -2
  297. package/dist/components/icons/OwnBagIcon.d.ts +0 -2
  298. package/dist/components/icons/OwnBagIcon.js +1 -2
  299. package/dist/components/icons/PadlockIcon.d.ts +0 -2
  300. package/dist/components/icons/PadlockIcon.js +1 -2
  301. package/dist/components/icons/PencilIcon.d.ts +0 -2
  302. package/dist/components/icons/PencilIcon.js +1 -2
  303. package/dist/components/icons/PhoneIcon.d.ts +0 -2
  304. package/dist/components/icons/PhoneIcon.js +1 -2
  305. package/dist/components/icons/PowerIcon.d.ts +0 -2
  306. package/dist/components/icons/PowerIcon.js +1 -2
  307. package/dist/components/icons/SaveFilledIcon.d.ts +0 -2
  308. package/dist/components/icons/SaveFilledIcon.js +1 -2
  309. package/dist/components/icons/SaveIcon.d.ts +0 -2
  310. package/dist/components/icons/SaveIcon.js +1 -2
  311. package/dist/components/icons/ScooterIcon.d.ts +0 -2
  312. package/dist/components/icons/ScooterIcon.js +1 -2
  313. package/dist/components/icons/SearchFilledIcon.d.ts +0 -2
  314. package/dist/components/icons/SearchFilledIcon.js +1 -2
  315. package/dist/components/icons/SearchIcon.d.ts +0 -2
  316. package/dist/components/icons/SearchIcon.js +1 -2
  317. package/dist/components/icons/SendIcon.d.ts +0 -2
  318. package/dist/components/icons/SendIcon.js +1 -2
  319. package/dist/components/icons/SpannerIcon.d.ts +0 -2
  320. package/dist/components/icons/SpannerIcon.js +1 -2
  321. package/dist/components/icons/StarFilledIcon.d.ts +0 -2
  322. package/dist/components/icons/StarFilledIcon.js +1 -2
  323. package/dist/components/icons/StarIcon.d.ts +0 -2
  324. package/dist/components/icons/StarIcon.js +1 -2
  325. package/dist/components/icons/TickAltFilledIcon.d.ts +0 -2
  326. package/dist/components/icons/TickAltFilledIcon.js +1 -2
  327. package/dist/components/icons/TickAltIcon.d.ts +0 -2
  328. package/dist/components/icons/TickAltIcon.js +1 -2
  329. package/dist/components/icons/TickIcon.d.ts +0 -2
  330. package/dist/components/icons/TickIcon.js +1 -2
  331. package/dist/components/icons/TruckIcon.d.ts +0 -2
  332. package/dist/components/icons/TruckIcon.js +1 -2
  333. package/dist/components/icons/UserWipeIcon.d.ts +0 -2
  334. package/dist/components/icons/UserWipeIcon.js +1 -2
  335. package/dist/components/icons/VoucherFilledIcon.d.ts +0 -2
  336. package/dist/components/icons/VoucherFilledIcon.js +1 -2
  337. package/dist/components/icons/VoucherIcon.d.ts +0 -2
  338. package/dist/components/icons/VoucherIcon.js +1 -2
  339. package/dist/components/icons/WarningCircleFilledIcon.d.ts +0 -2
  340. package/dist/components/icons/WarningCircleFilledIcon.js +1 -2
  341. package/dist/components/icons/WarningCircleIcon.d.ts +0 -2
  342. package/dist/components/icons/WarningCircleIcon.js +1 -2
  343. package/dist/components/icons/WarningFilledIcon.d.ts +0 -2
  344. package/dist/components/icons/WarningFilledIcon.js +1 -2
  345. package/dist/components/icons/WarningIcon.d.ts +0 -2
  346. package/dist/components/icons/WarningIcon.js +1 -2
  347. package/dist/components/icons/WifiIcon.d.ts +0 -2
  348. package/dist/components/icons/WifiIcon.js +1 -2
  349. package/dist/components/icons/WriteIcon.d.ts +0 -2
  350. package/dist/components/icons/WriteIcon.js +1 -2
  351. package/dist/hooks/useDebounce.d.ts +1 -3
  352. package/dist/hooks/useDebounce.js +1 -2
  353. package/dist/hooks/useFormReset.d.ts +0 -2
  354. package/dist/hooks/useFormReset.js +1 -2
  355. package/dist/hooks/useId.d.ts +1 -3
  356. package/dist/hooks/useId.js +1 -2
  357. package/dist/hooks/useSlots.d.ts +0 -2
  358. package/dist/hooks/useSlots.js +1 -2
  359. package/dist/index.d.ts +2 -1
  360. package/dist/index.js +2 -1
  361. package/dist/types/colors.d.ts +1 -3
  362. package/dist/types/index.d.ts +1 -3
  363. package/dist/types/index.js +1 -2
  364. package/dist/utils/classes.d.ts +1 -3
  365. package/dist/utils/classes.js +1 -2
  366. package/dist/utils/slots.d.ts +1 -3
  367. package/dist/utils/slots.js +1 -2
  368. package/dist/validations/date-internal.d.ts +4 -0
  369. package/dist/{components/DateInput/dateinput-internal.js → validations/date-internal.js} +4 -5
  370. package/dist/validations/date.d.ts +58 -0
  371. package/dist/validations/date.js +79 -0
  372. package/dist/validations/index.d.ts +2 -0
  373. package/dist/validations/index.js +1 -0
  374. package/package.json +18 -12
  375. package/src/components/Button/Button.tsx +2 -2
  376. package/src/components/DateInput/DateInput.context.ts +2 -1
  377. package/src/components/DateInput/DateInput.tsx +4 -7
  378. package/src/components/DateInput/dateinput-utils.ts +1 -183
  379. package/src/index.ts +1 -0
  380. package/src/{components/DateInput/dateinput-internal.ts → validations/date-internal.ts} +15 -24
  381. package/src/validations/date.ts +177 -0
  382. package/src/validations/index.ts +1 -0
  383. package/dist/components/DateInput/dateinput-internal.d.ts +0 -6
@@ -1,6 +1,6 @@
1
1
  import clsx from "clsx";
2
2
  import { jsx } from "react/jsx-runtime";
3
- //#region src/components/Prose/Prose.tsx
3
+ // src/components/Prose/Prose.tsx
4
4
  const Prose = ({ children, className, full, ref, size, spacing, ...props }) => {
5
5
  const componentProps = {
6
6
  className: clsx("coop-prose", className),
@@ -15,5 +15,4 @@ const Prose = ({ children, className, full, ref, size, spacing, ...props }) => {
15
15
  children
16
16
  });
17
17
  };
18
- //#endregion
19
18
  export { Prose, Prose as default };
@@ -1,5 +1,4 @@
1
1
  import { Prose } from "./Prose.js";
2
- //#region src/components/Prose/index.ts
2
+ // src/components/Prose/index.ts
3
3
  var Prose_default = Prose;
4
- //#endregion
5
4
  export { Prose, Prose_default as default };
@@ -1,6 +1,5 @@
1
1
  import { StandardSizes } from "../../types/index.js";
2
2
  import { InputHTMLAttributes, JSX, Ref } from "react";
3
- //#region src/components/Radio/Radio.d.ts
4
3
  export interface RadioProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "type"> {
5
4
  /** Specify additional CSS classes. */
6
5
  className?: string;
@@ -25,5 +24,4 @@ declare const Radio: {
25
24
  name: string;
26
25
  };
27
26
  };
28
- //#endregion
29
27
  export { Radio, Radio as default };
@@ -2,7 +2,7 @@
2
2
  import { getDescribedBy, getFieldError, useField } from "../Field/Field.context.js";
3
3
  import clsx from "clsx";
4
4
  import { jsx } from "react/jsx-runtime";
5
- //#region src/components/Radio/Radio.tsx
5
+ // src/components/Radio/Radio.tsx
6
6
  const Radio = ({ "aria-describedby": ariaDescribedBy, className, disabled, error, id, name, ref, size, ...props }) => {
7
7
  const field = useField();
8
8
  const hasError = getFieldError(error, field);
@@ -27,5 +27,4 @@ Radio.slot = {
27
27
  inline: true,
28
28
  name: "Radio"
29
29
  };
30
- //#endregion
31
30
  export { Radio, Radio as default };
@@ -1,5 +1,4 @@
1
1
  import { Radio } from "./Radio.js";
2
- //#region src/components/Radio/index.ts
2
+ // src/components/Radio/index.ts
3
3
  var Radio_default = Radio;
4
- //#endregion
5
4
  export { Radio, Radio_default as default };
@@ -1,10 +1,8 @@
1
1
  import { JSX } from "react";
2
- //#region src/components/RootSVG/RootSVG.d.ts
3
2
  declare const RootSVG: {
4
3
  (): JSX.Element;
5
4
  slot: {
6
5
  name: string;
7
6
  };
8
7
  };
9
- //#endregion
10
8
  export { RootSVG, RootSVG as default };
@@ -1,5 +1,5 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- //#region src/components/RootSVG/RootSVG.tsx
2
+ // src/components/RootSVG/RootSVG.tsx
3
3
  const RootSVG = () => {
4
4
  return /* @__PURE__ */ jsx("svg", {
5
5
  height: "0",
@@ -19,5 +19,4 @@ const RootSVG = () => {
19
19
  });
20
20
  };
21
21
  RootSVG.slot = { name: "RootSVG" };
22
- //#endregion
23
22
  export { RootSVG, RootSVG as default };
@@ -1,5 +1,4 @@
1
1
  import { RootSVG } from "./RootSVG.js";
2
- //#region src/components/RootSVG/index.ts
2
+ // src/components/RootSVG/index.ts
3
3
  var RootSVG_default = RootSVG;
4
- //#endregion
5
4
  export { RootSVG, RootSVG_default as default };
@@ -1,10 +1,9 @@
1
1
  import { createContext, useContext } from "react";
2
- //#region src/components/Searchbox/Searchbox.context.tsx
2
+ // src/components/Searchbox/Searchbox.context.tsx
3
3
  const SearchboxContext = createContext({});
4
4
  const useSearchbox = () => {
5
5
  const context = useContext(SearchboxContext);
6
6
  if (!context) throw new Error("Searchbox components must be used inside <Searchbox>");
7
7
  return context;
8
8
  };
9
- //#endregion
10
9
  export { SearchboxContext, useSearchbox };
@@ -4,7 +4,6 @@ import "../Button/index.js";
4
4
  import { TextInputProps } from "../TextInput/TextInput.js";
5
5
  import "../TextInput/index.js";
6
6
  import React, { FormHTMLAttributes, JSX, RefObject } from "react";
7
- //#region src/components/Searchbox/Searchbox.d.ts
8
7
  export interface SearchboxProps extends FormHTMLAttributes<HTMLFormElement> {
9
8
  /** Specify a server endpoint to submit the form. Will be ignored if onSubmit is also set. */
10
9
  action?: string;
@@ -44,5 +43,4 @@ declare const SearchboxInput: {
44
43
  (props: TextInputProps): JSX.Element;
45
44
  displayName: string;
46
45
  };
47
- //#endregion
48
46
  export { Searchbox, Searchbox as default, SearchboxButton, SearchboxInput };
@@ -11,7 +11,7 @@ import { SearchboxContext, useSearchbox } from "./Searchbox.context.js";
11
11
  import clsx from "clsx";
12
12
  import { jsx, jsxs } from "react/jsx-runtime";
13
13
  import { useCallback, useState } from "react";
14
- //#region src/components/Searchbox/Searchbox.tsx
14
+ // src/components/Searchbox/Searchbox.tsx
15
15
  const componentSlots = {
16
16
  SearchboxButton: null,
17
17
  SearchboxInput: null
@@ -95,5 +95,4 @@ const SearchboxInput = (props) => {
95
95
  SearchboxInput.displayName = "Searchbox.Input";
96
96
  Searchbox.Button = SearchboxButton;
97
97
  Searchbox.Input = SearchboxInput;
98
- //#endregion
99
98
  export { Searchbox, Searchbox as default, SearchboxButton, SearchboxInput };
@@ -1,5 +1,4 @@
1
1
  import { Searchbox, SearchboxButton, SearchboxInput } from "./Searchbox.js";
2
- //#region src/components/Searchbox/index.ts
2
+ // src/components/Searchbox/index.ts
3
3
  var Searchbox_default = Searchbox;
4
- //#endregion
5
4
  export { Searchbox, SearchboxButton, SearchboxInput, Searchbox_default as default };
@@ -1,5 +1,4 @@
1
1
  import React, { HTMLAttributes, JSX, ReactNode, Ref } from "react";
2
- //#region src/components/Section/Section.d.ts
3
2
  export interface SectionProps extends HTMLAttributes<HTMLDivElement> {
4
3
  /** Specify a custom element for the component
5
4
  *
@@ -14,5 +13,4 @@ export interface SectionProps extends HTMLAttributes<HTMLDivElement> {
14
13
  ref?: Ref<HTMLDivElement>;
15
14
  }
16
15
  export declare const Section: ({ as, children, className, ref, ...props }: SectionProps) => JSX.Element;
17
- //#endregion
18
16
  export { Section as default };
@@ -1,6 +1,6 @@
1
1
  import clsx from "clsx";
2
2
  import React from "react";
3
- //#region src/components/Section/Section.tsx
3
+ // src/components/Section/Section.tsx
4
4
  const Section = ({ as, children, className, ref, ...props }) => {
5
5
  const componentProps = {
6
6
  className: clsx("coop-section", className),
@@ -12,5 +12,4 @@ const Section = ({ as, children, className, ref, ...props }) => {
12
12
  ref
13
13
  }, children);
14
14
  };
15
- //#endregion
16
15
  export { Section, Section as default };
@@ -1,5 +1,4 @@
1
1
  import { Section } from "./Section.js";
2
- //#region src/components/Section/index.ts
2
+ // src/components/Section/index.ts
3
3
  var Section_default = Section;
4
- //#endregion
5
4
  export { Section, Section_default as default };
@@ -1,6 +1,5 @@
1
1
  import { StandardSizes } from "../../types/index.js";
2
2
  import { JSX, OptgroupHTMLAttributes, OptionHTMLAttributes, ReactNode, Ref, SelectHTMLAttributes } from "react";
3
- //#region src/components/Select/Select.d.ts
4
3
  export interface SelectProps extends Omit<SelectHTMLAttributes<HTMLSelectElement>, "size"> {
5
4
  /** Content inside the component.
6
5
  *
@@ -69,5 +68,4 @@ declare const SelectOption: {
69
68
  name: string;
70
69
  };
71
70
  };
72
- //#endregion
73
71
  export { Select, Select as default, SelectOption, SelectOptionGroup };
@@ -2,7 +2,7 @@
2
2
  import { getDescribedBy, getFieldError, useField } from "../Field/Field.context.js";
3
3
  import clsx from "clsx";
4
4
  import { jsx } from "react/jsx-runtime";
5
- //#region src/components/Select/Select.tsx
5
+ // src/components/Select/Select.tsx
6
6
  const Select = ({ "aria-describedby": ariaDescribedBy, children, className, disabled, error, fit = false, id, name, ref, size, ...props }) => {
7
7
  const field = useField();
8
8
  const hasError = getFieldError(error, field);
@@ -44,5 +44,4 @@ SelectOption.slot = { name: "SelectOption" };
44
44
  SelectOptionGroup.slot = { name: "SelectOptionGroup" };
45
45
  Select.OptionGroup = SelectOptionGroup;
46
46
  Select.Option = SelectOption;
47
- //#endregion
48
47
  export { Select, Select as default, SelectOption, SelectOptionGroup };
@@ -1,5 +1,4 @@
1
1
  import { Select, SelectOption, SelectOptionGroup } from "./Select.js";
2
- //#region src/components/Select/index.ts
2
+ // src/components/Select/index.ts
3
3
  var Select_default = Select;
4
- //#endregion
5
4
  export { Select, SelectOption, SelectOptionGroup, Select_default as default };
@@ -1,7 +1,6 @@
1
1
  import { ImageProps } from "../Image/Image.js";
2
2
  import "../Image/index.js";
3
3
  import React, { ForwardRefExoticComponent, HTMLAttributes, JSX, Ref } from "react";
4
- //#region src/components/Signpost/Signpost.d.ts
5
4
  export interface SignpostProps extends HTMLAttributes<HTMLDivElement> {
6
5
  /** Specify a custom element for the component.
7
6
  *
@@ -30,5 +29,4 @@ declare const Signpost: {
30
29
  name: string;
31
30
  };
32
31
  };
33
- //#endregion
34
32
  export { Signpost, Signpost as default };
@@ -3,7 +3,7 @@ import { ChevronRightIcon } from "../icons/ChevronRightIcon.js";
3
3
  import clsx from "clsx";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  import React from "react";
6
- //#region src/components/Signpost/Signpost.tsx
6
+ // src/components/Signpost/Signpost.tsx
7
7
  /**
8
8
  * @deprecated Use a Card with `signpost` prop instead
9
9
  */
@@ -28,5 +28,4 @@ const Signpost = ({ as, children, className, headingLevel = "h3", href, image, r
28
28
  });
29
29
  };
30
30
  Signpost.slot = { name: "Signpost" };
31
- //#endregion
32
31
  export { Signpost, Signpost as default };
@@ -1,5 +1,4 @@
1
1
  import { Signpost } from "./Signpost.js";
2
- //#region src/components/Signpost/index.ts
2
+ // src/components/Signpost/index.ts
3
3
  var Signpost_default = Signpost;
4
- //#endregion
5
4
  export { Signpost, Signpost_default as default };
@@ -1,5 +1,4 @@
1
1
  import { HTMLAttributes, JSX, Ref } from "react";
2
- //#region src/components/SkipNav/SkipNav.d.ts
3
2
  interface SkipNavLink {
4
3
  href: string;
5
4
  label: string;
@@ -22,5 +21,4 @@ declare const SkipNav: {
22
21
  name: string;
23
22
  };
24
23
  };
25
- //#endregion
26
24
  export { SkipNav, SkipNav as default };
@@ -1,6 +1,6 @@
1
1
  import clsx from "clsx";
2
2
  import { jsx } from "react/jsx-runtime";
3
- //#region src/components/SkipNav/SkipNav.tsx
3
+ // src/components/SkipNav/SkipNav.tsx
4
4
  const defaultLinks = [{
5
5
  href: "#main",
6
6
  label: "Skip to main content"
@@ -28,5 +28,4 @@ const SkipNav = ({ className, isVisible = false, links = defaultLinks, ref, ...p
28
28
  });
29
29
  };
30
30
  SkipNav.slot = { name: "SkipNav" };
31
- //#endregion
32
31
  export { SkipNav, SkipNav as default };
@@ -1,5 +1,4 @@
1
1
  import { SkipNav } from "./SkipNav.js";
2
- //#region src/components/SkipNav/index.ts
2
+ // src/components/SkipNav/index.ts
3
3
  var SkipNav_default = SkipNav;
4
- //#endregion
5
4
  export { SkipNav, SkipNav_default as default };
@@ -1,5 +1,4 @@
1
1
  import { HTMLAttributes, JSX, Ref, SVGAttributes } from "react";
2
- //#region src/components/Squircle/Squircle.d.ts
3
2
  export interface SquircleProps extends HTMLAttributes<HTMLDivElement> {
4
3
  /** Content inside the component.
5
4
  *
@@ -24,5 +23,4 @@ declare const Squircle: {
24
23
  };
25
24
  declare const SquircleSvg: ({ size, ...props }: SquircleSvgProps) => JSX.Element;
26
25
  declare const SquircleText: ({ children, className, ...props }: HTMLAttributes<HTMLDivElement>) => JSX.Element;
27
- //#endregion
28
26
  export { Squircle, Squircle as default, SquircleSvg, SquircleText };
@@ -1,6 +1,6 @@
1
1
  import clsx from "clsx";
2
2
  import { jsx } from "react/jsx-runtime";
3
- //#region src/components/Squircle/Squircle.tsx
3
+ // src/components/Squircle/Squircle.tsx
4
4
  const Squircle = ({ children, className, ref, ...props }) => {
5
5
  const componentProps = {
6
6
  className: clsx("coop-squircle", className),
@@ -45,5 +45,4 @@ const SquircleText = ({ children, className, ...props }) => {
45
45
  Squircle.Svg = SquircleSvg;
46
46
  Squircle.Text = SquircleText;
47
47
  Squircle.slot = { name: "Squircle" };
48
- //#endregion
49
48
  export { Squircle, Squircle as default, SquircleSvg, SquircleText };
@@ -1,5 +1,4 @@
1
1
  import { Squircle, SquircleSvg, SquircleText } from "./Squircle.js";
2
- //#region src/components/Squircle/index.ts
2
+ // src/components/Squircle/index.ts
3
3
  var Squircle_default = Squircle;
4
- //#endregion
5
4
  export { Squircle, SquircleSvg, SquircleText, Squircle_default as default };
@@ -1,5 +1,4 @@
1
1
  import React, { ForwardRefExoticComponent, HTMLAttributes, JSX, Ref } from "react";
2
- //#region src/components/Tag/Tag.d.ts
3
2
  export interface TagProps extends HTMLAttributes<HTMLAnchorElement> {
4
3
  /** Specify a custom element for the component.
5
4
  *
@@ -23,5 +22,4 @@ declare const Tag: {
23
22
  name: string;
24
23
  };
25
24
  };
26
- //#endregion
27
25
  export { Tag, Tag as default };
@@ -1,7 +1,7 @@
1
1
  import { hasUserBg } from "../../utils/classes.js";
2
2
  import clsx from "clsx";
3
3
  import React from "react";
4
- //#region src/components/Tag/Tag.tsx
4
+ // src/components/Tag/Tag.tsx
5
5
  const Tag = ({ as, children, className, href, ref, size, ...props }) => {
6
6
  const element = as ?? (href ? "a" : "span");
7
7
  const componentProps = {
@@ -16,5 +16,4 @@ const Tag = ({ as, children, className, href, ref, size, ...props }) => {
16
16
  }, children);
17
17
  };
18
18
  Tag.slot = { name: "Tag" };
19
- //#endregion
20
19
  export { Tag, Tag as default };
@@ -1,5 +1,4 @@
1
1
  import { Tag } from "./Tag.js";
2
- //#region src/components/Tag/index.ts
2
+ // src/components/Tag/index.ts
3
3
  var Tag_default = Tag;
4
- //#endregion
5
4
  export { Tag, Tag_default as default };
@@ -1,6 +1,5 @@
1
1
  import { StandardSizes } from "../../types/index.js";
2
2
  import { InputHTMLAttributes, JSX, Ref } from "react";
3
- //#region src/components/TextInput/TextInput.d.ts
4
3
  export interface TextInputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "prefix" | "size" | "type"> {
5
4
  /** Specify additional CSS classes. */
6
5
  className?: string;
@@ -41,5 +40,4 @@ declare const TextInput: {
41
40
  name: string;
42
41
  };
43
42
  };
44
- //#endregion
45
43
  export { TextInput, TextInput as default };
@@ -2,7 +2,7 @@
2
2
  import { getDescribedBy, getFieldError, useField } from "../Field/Field.context.js";
3
3
  import clsx from "clsx";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
- //#region src/components/TextInput/TextInput.tsx
5
+ // src/components/TextInput/TextInput.tsx
6
6
  const TextInput = ({ "aria-describedby": ariaDescribedBy, className, disabled, error, fit = false, id, name, placeholder, prefix, prefixInline = false, ref, size, suffix, suffixInline = false, type = "text", ...props }) => {
7
7
  const field = useField();
8
8
  const hasError = getFieldError(error, field);
@@ -54,5 +54,4 @@ TextInput.slot = {
54
54
  field: true,
55
55
  name: "TextInput"
56
56
  };
57
- //#endregion
58
57
  export { TextInput, TextInput as default };
@@ -1,5 +1,4 @@
1
1
  import { TextInput } from "./TextInput.js";
2
- //#region src/components/TextInput/index.ts
2
+ // src/components/TextInput/index.ts
3
3
  var TextInput_default = TextInput;
4
- //#endregion
5
4
  export { TextInput, TextInput_default as default };
@@ -1,6 +1,5 @@
1
1
  import { StandardSizes } from "../../types/index.js";
2
2
  import { JSX, Ref, TextareaHTMLAttributes } from "react";
3
- //#region src/components/Textarea/Textarea.d.ts
4
3
  export interface TextareaProps extends TextareaHTMLAttributes<HTMLTextAreaElement> {
5
4
  /** Specify additional CSS classes. */
6
5
  className?: string;
@@ -48,5 +47,4 @@ declare const Textarea: {
48
47
  name: string;
49
48
  };
50
49
  };
51
- //#endregion
52
50
  export { Textarea, Textarea as default };
@@ -6,7 +6,7 @@ import clsx from "clsx";
6
6
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
7
7
  import { useRef, useState } from "react";
8
8
  import mergeRefs from "merge-refs";
9
- //#region src/components/Textarea/Textarea.tsx
9
+ // src/components/Textarea/Textarea.tsx
10
10
  const DEBOUNCE_DELAY = 750;
11
11
  const lengthOf = (text) => String(text ?? "").length;
12
12
  const charCountMessage = (remaining) => {
@@ -66,5 +66,4 @@ Textarea.slot = {
66
66
  field: true,
67
67
  name: "Textarea"
68
68
  };
69
- //#endregion
70
69
  export { Textarea, Textarea as default };
@@ -1,5 +1,4 @@
1
1
  import { Textarea } from "./Textarea.js";
2
- //#region src/components/Textarea/index.ts
2
+ // src/components/Textarea/index.ts
3
3
  var Textarea_default = Textarea;
4
- //#endregion
5
4
  export { Textarea, Textarea_default as default };
@@ -1,10 +1,9 @@
1
1
  "use client";
2
2
  import { createContext, useContext } from "react";
3
- //#region src/components/ValidationSummary/ValidationSummary.context.ts
3
+ // src/components/ValidationSummary/ValidationSummary.context.ts
4
4
  const ValidationSummaryContext = createContext({
5
5
  fieldOrder: [],
6
6
  getForm: () => null
7
7
  });
8
8
  const useValidationSummary = () => useContext(ValidationSummaryContext);
9
- //#endregion
10
9
  export { ValidationSummaryContext, useValidationSummary };
@@ -1,6 +1,5 @@
1
1
  import { FieldError } from "./validationsummary-internal.js";
2
2
  import React, { HTMLAttributes, JSX, ReactNode, Ref, RefObject } from "react";
3
- //#region src/components/ValidationSummary/ValidationSummary.d.ts
4
3
  export interface ValidationSummaryProps extends HTMLAttributes<HTMLDivElement> {
5
4
  /** Specify if the summary should be focused and the parent form scrolled into view if there are errors.
6
5
  *
@@ -93,5 +92,4 @@ declare const ValidationSummaryErrors: {
93
92
  name: string;
94
93
  };
95
94
  };
96
- //#endregion
97
95
  export { ValidationSummary, ValidationSummary as default, ValidationSummaryErrors, ValidationSummaryHeading, ValidationSummaryPrompt };
@@ -7,7 +7,7 @@ import clsx from "clsx";
7
7
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
8
8
  import React, { useCallback, useEffect, useMemo, useRef, useState } from "react";
9
9
  import mergeRefs from "merge-refs";
10
- //#region src/components/ValidationSummary/ValidationSummary.tsx
10
+ // src/components/ValidationSummary/ValidationSummary.tsx
11
11
  const componentSlots = {
12
12
  Children: null,
13
13
  ValidationSummaryErrors: null,
@@ -118,5 +118,4 @@ ValidationSummaryErrors.slot = { name: "ValidationSummaryErrors" };
118
118
  ValidationSummary.Heading = ValidationSummaryHeading;
119
119
  ValidationSummary.Prompt = ValidationSummaryPrompt;
120
120
  ValidationSummary.Errors = ValidationSummaryErrors;
121
- //#endregion
122
121
  export { ValidationSummary, ValidationSummary as default, ValidationSummaryErrors, ValidationSummaryHeading, ValidationSummaryPrompt };
@@ -1,5 +1,4 @@
1
1
  import { ValidationSummary, ValidationSummaryErrors, ValidationSummaryHeading, ValidationSummaryPrompt } from "./ValidationSummary.js";
2
- //#region src/components/ValidationSummary/index.ts
2
+ // src/components/ValidationSummary/index.ts
3
3
  var ValidationSummary_default = ValidationSummary;
4
- //#endregion
5
4
  export { ValidationSummary, ValidationSummaryErrors, ValidationSummaryHeading, ValidationSummaryPrompt, ValidationSummary_default as default };
@@ -1,5 +1,4 @@
1
1
  import { RefObject } from "react";
2
- //#region src/components/ValidationSummary/validationsummary-internal.d.ts
3
2
  export interface FieldError {
4
3
  message?: string | number;
5
4
  ref?: {
@@ -7,5 +6,4 @@ export interface FieldError {
7
6
  id?: string;
8
7
  };
9
8
  type?: string | number;
10
- }
11
- //#endregion
9
+ }
@@ -1,4 +1,4 @@
1
- //#region src/components/ValidationSummary/validationsummary-internal.ts
1
+ // src/components/ValidationSummary/validationsummary-internal.ts
2
2
  const sanitizeFieldId = (id) => id?.startsWith("#") ? id.slice(1) : id;
3
3
  const getFieldKeys = (field, id) => [
4
4
  ...id ? [sanitizeFieldId(id)] : [],
@@ -39,5 +39,4 @@ const sortErrorsByFieldOrder = (errorsArray, fieldOrder) => {
39
39
  position: getFieldPosition(fieldOrder, entry)
40
40
  })).sort((a, b) => a.position - b.position).map(({ entry }) => entry);
41
41
  };
42
- //#endregion
43
42
  export { getFieldElement, getFieldOrder, getFieldPosition, getForm, sanitizeFieldId, sortErrorsByFieldOrder };
@@ -1,5 +1,4 @@
1
1
  import React, { HTMLAttributes, JSX, ReactNode, Ref } from "react";
2
- //#region src/components/Wrapper/Wrapper.d.ts
3
2
  export interface WrapperProps extends HTMLAttributes<HTMLDivElement> {
4
3
  /** Specify a custom element for the component
5
4
  *
@@ -14,5 +13,4 @@ export interface WrapperProps extends HTMLAttributes<HTMLDivElement> {
14
13
  ref?: Ref<HTMLDivElement>;
15
14
  }
16
15
  export declare const Wrapper: ({ as, children, className, ref, ...props }: WrapperProps) => JSX.Element;
17
- //#endregion
18
16
  export { Wrapper as default };
@@ -1,6 +1,6 @@
1
1
  import clsx from "clsx";
2
2
  import React from "react";
3
- //#region src/components/Wrapper/Wrapper.tsx
3
+ // src/components/Wrapper/Wrapper.tsx
4
4
  const Wrapper = ({ as, children, className, ref, ...props }) => {
5
5
  const componentProps = {
6
6
  className: clsx("coop-wrap", className),
@@ -12,5 +12,4 @@ const Wrapper = ({ as, children, className, ref, ...props }) => {
12
12
  ref
13
13
  }, children);
14
14
  };
15
- //#endregion
16
15
  export { Wrapper, Wrapper as default };
@@ -1,5 +1,4 @@
1
1
  import { Wrapper } from "./Wrapper.js";
2
- //#region src/components/Wrapper/index.ts
2
+ // src/components/Wrapper/index.ts
3
3
  var Wrapper_default = Wrapper;
4
- //#endregion
5
4
  export { Wrapper, Wrapper_default as default };
@@ -1,8 +1,6 @@
1
1
  import { JSX, SVGProps } from "react";
2
- //#region src/components/icons/AccountCircleFilledIcon.d.ts
3
2
  interface IconProps extends SVGProps<SVGSVGElement> {
4
3
  alt?: string;
5
4
  }
6
5
  export declare const AccountCircleFilledIcon: ({ alt, className, fill, id, ref, ...props }: IconProps) => JSX.Element;
7
- //#endregion
8
6
  export {};
@@ -1,7 +1,7 @@
1
1
  import { useId } from "../../hooks/useId.js";
2
2
  import clsx from "clsx";
3
3
  import { jsx, jsxs } from "react/jsx-runtime";
4
- //#region src/components/icons/AccountCircleFilledIcon.tsx
4
+ // src/components/icons/AccountCircleFilledIcon.tsx
5
5
  const AccountCircleFilledIcon = ({ alt, className, fill, id, ref, ...props }) => {
6
6
  const uid = useId(id);
7
7
  const componentProps = {
@@ -23,5 +23,4 @@ const AccountCircleFilledIcon = ({ alt, className, fill, id, ref, ...props }) =>
23
23
  }) : null, /* @__PURE__ */ jsx("path", { d: "M16 2c7.732 0 14 6.268 14 14 0 6.34-4.216 11.695-9.997 13.417l-.034.012-.029.008a14 14 0 0 1-3.453.553l-.037.002h-.022q-.211.007-.424.007L16 30 16 29.999V30q-.216 0-.432-.008h-.017l-.042-.003c-1.19-.04-2.34-.229-3.437-.549l-.035-.01-.075-.023a14 14 0 0 1-1.96-.755l-.06-.027-.011-.006C5.238 26.36 2 21.557 2 16 2 8.268 8.268 2 16 2m0 2C9.373 4 4 9.373 4 16a11.95 11.95 0 0 0 2.256 6.997 12.03 12.03 0 0 1 5.92-4.374 6 6 0 1 1 7.648 0 12.03 12.03 0 0 1 5.918 4.374A11.95 11.95 0 0 0 28 16c0-6.627-5.373-12-12-12" })]
24
24
  });
25
25
  };
26
- //#endregion
27
26
  export { AccountCircleFilledIcon };
@@ -1,8 +1,6 @@
1
1
  import { JSX, SVGProps } from "react";
2
- //#region src/components/icons/AccountCircleIcon.d.ts
3
2
  interface IconProps extends SVGProps<SVGSVGElement> {
4
3
  alt?: string;
5
4
  }
6
5
  export declare const AccountCircleIcon: ({ alt, className, fill, id, ref, ...props }: IconProps) => JSX.Element;
7
- //#endregion
8
6
  export {};
@@ -1,7 +1,7 @@
1
1
  import { useId } from "../../hooks/useId.js";
2
2
  import clsx from "clsx";
3
3
  import { jsx, jsxs } from "react/jsx-runtime";
4
- //#region src/components/icons/AccountCircleIcon.tsx
4
+ // src/components/icons/AccountCircleIcon.tsx
5
5
  const AccountCircleIcon = ({ alt, className, fill, id, ref, ...props }) => {
6
6
  const uid = useId(id);
7
7
  const componentProps = {
@@ -23,5 +23,4 @@ const AccountCircleIcon = ({ alt, className, fill, id, ref, ...props }) => {
23
23
  }) : null, /* @__PURE__ */ jsx("path", { d: "M16 2c7.732 0 14 6.268 14 14 0 6.378-4.265 11.758-10.099 13.447l-.03.01q-.447.127-.904.227l-.038.007q-.126.027-.251.051l-.099.02a14 14 0 0 1-.558.091l-.09.013a13 13 0 0 1-.559.067l-.203.017-.115.01q-.153.011-.306.02l-.033.001a14 14 0 0 1-1.43 0q-.018 0-.034-.002l-.306-.019-.115-.01q-.102-.007-.203-.017l-.225-.025-.087-.01-.245-.03-.093-.014-.236-.037-.1-.016a15 15 0 0 1-.57-.109l-.039-.008a14 14 0 0 1-.903-.227l-.032-.01C6.264 27.757 2 22.377 2 16 2 8.268 8.268 2 16 2m.001 18a9.99 9.99 0 0 0-8.397 4.57A11.95 11.95 0 0 0 16 28c3.27 0 6.23-1.31 8.393-3.43A9.99 9.99 0 0 0 16 20M16 4C9.373 4 4 9.373 4 16a11.95 11.95 0 0 0 2.256 6.997 12.03 12.03 0 0 1 5.92-4.374 6 6 0 1 1 7.648 0 12.03 12.03 0 0 1 5.918 4.374A11.95 11.95 0 0 0 28 16c0-6.627-5.373-12-12-12m0 6a4 4 0 1 0 0 8 4 4 0 0 0 0-8" })]
24
24
  });
25
25
  };
26
- //#endregion
27
26
  export { AccountCircleIcon };
@@ -1,8 +1,6 @@
1
1
  import { JSX, SVGProps } from "react";
2
- //#region src/components/icons/AccountFilledIcon.d.ts
3
2
  interface IconProps extends SVGProps<SVGSVGElement> {
4
3
  alt?: string;
5
4
  }
6
5
  export declare const AccountFilledIcon: ({ alt, className, fill, id, ref, ...props }: IconProps) => JSX.Element;
7
- //#endregion
8
6
  export {};
@@ -1,7 +1,7 @@
1
1
  import { useId } from "../../hooks/useId.js";
2
2
  import clsx from "clsx";
3
3
  import { jsx, jsxs } from "react/jsx-runtime";
4
- //#region src/components/icons/AccountFilledIcon.tsx
4
+ // src/components/icons/AccountFilledIcon.tsx
5
5
  const AccountFilledIcon = ({ alt, className, fill, id, ref, ...props }) => {
6
6
  const uid = useId(id);
7
7
  const componentProps = {
@@ -23,5 +23,4 @@ const AccountFilledIcon = ({ alt, className, fill, id, ref, ...props }) => {
23
23
  }) : null, /* @__PURE__ */ jsx("path", { d: "M16 2a7 7 0 0 1 4.055 12.703l.075.027a12.03 12.03 0 0 1 7.514 8.36q.063.252.115.51-.117.18-.24.357a14.05 14.05 0 0 1-7.11 5.334A13.9 13.9 0 0 1 16 30c-4.93 0-9.266-2.55-11.76-6.401a12.02 12.02 0 0 1 7.63-8.87l.074-.026A7 7 0 0 1 16 2" })]
24
24
  });
25
25
  };
26
- //#endregion
27
26
  export { AccountFilledIcon };