@coopdigital/react 1.10.1 → 1.11.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 (256) hide show
  1. package/dist/components/DatePicker/DatePicker.js +2 -2
  2. package/dist/components/Expandable/Expandable.js +1 -1
  3. package/dist/components/Field/Field.d.ts +8 -8
  4. package/dist/components/FieldMarkers/Label.d.ts +2 -2
  5. package/dist/components/FieldMarkers/Legend.d.ts +2 -2
  6. package/dist/components/Logo/Logo.d.ts +2 -2
  7. package/dist/components/RootSVG/RootSVG.d.ts +2 -1
  8. package/dist/components/icons/AccountCircleFilledIcon.d.ts +2 -2
  9. package/dist/components/icons/AccountCircleIcon.d.ts +2 -2
  10. package/dist/components/icons/AccountFilledIcon.d.ts +2 -2
  11. package/dist/components/icons/AccountIcon.d.ts +2 -2
  12. package/dist/components/icons/AddIcon.d.ts +2 -2
  13. package/dist/components/icons/AppsFilledIcon.d.ts +2 -2
  14. package/dist/components/icons/AppsIcon.d.ts +2 -2
  15. package/dist/components/icons/ArrowDownIcon.d.ts +2 -2
  16. package/dist/components/icons/ArrowLeftIcon.d.ts +2 -2
  17. package/dist/components/icons/ArrowRightIcon.d.ts +2 -2
  18. package/dist/components/icons/ArrowUpIcon.d.ts +2 -2
  19. package/dist/components/icons/BackspaceFilledIcon.d.ts +2 -2
  20. package/dist/components/icons/BackspaceIcon.d.ts +2 -2
  21. package/dist/components/icons/BasketFilledIcon.d.ts +2 -2
  22. package/dist/components/icons/BasketIcon.d.ts +2 -2
  23. package/dist/components/icons/BellFilledIcon.d.ts +2 -2
  24. package/dist/components/icons/BellFilledIcon.js +1 -1
  25. package/dist/components/icons/BellIcon.d.ts +2 -2
  26. package/dist/components/icons/BroomIcon.d.ts +2 -2
  27. package/dist/components/icons/CalendarFilledIcon.d.ts +2 -2
  28. package/dist/components/icons/CalendarIcon.d.ts +2 -2
  29. package/dist/components/icons/CashFilledIcon.d.ts +2 -2
  30. package/dist/components/icons/CashIcon.d.ts +2 -2
  31. package/dist/components/icons/CashIcon.js +1 -1
  32. package/dist/components/icons/ChevronDownIcon.d.ts +2 -2
  33. package/dist/components/icons/ChevronLeftIcon.d.ts +2 -2
  34. package/dist/components/icons/ChevronRightIcon.d.ts +2 -2
  35. package/dist/components/icons/ChevronUpIcon.d.ts +2 -2
  36. package/dist/components/icons/CircleBurgerFilledIcon.d.ts +2 -2
  37. package/dist/components/icons/CircleBurgerIcon.d.ts +2 -2
  38. package/dist/components/icons/ClipboardFilledIcon.d.ts +2 -2
  39. package/dist/components/icons/ClipboardIcon.d.ts +2 -2
  40. package/dist/components/icons/ClockFilledIcon.d.ts +2 -2
  41. package/dist/components/icons/ClockFilledIcon.js +1 -1
  42. package/dist/components/icons/ClockIcon.d.ts +2 -2
  43. package/dist/components/icons/CloseAltFilledIcon.d.ts +2 -2
  44. package/dist/components/icons/CloseAltFilledIcon.js +1 -1
  45. package/dist/components/icons/CloseAltIcon.d.ts +2 -2
  46. package/dist/components/icons/CogIcon.d.ts +2 -2
  47. package/dist/components/icons/CommunityFilledIcon.d.ts +2 -2
  48. package/dist/components/icons/CommunityIcon.d.ts +2 -2
  49. package/dist/components/icons/ComputerIcon.d.ts +2 -2
  50. package/dist/components/icons/ContactFilledIcon.d.ts +2 -2
  51. package/dist/components/icons/ContactIcon.d.ts +2 -2
  52. package/dist/components/icons/ContactlessFilledIcon.d.ts +2 -2
  53. package/dist/components/icons/ContactlessIcon.d.ts +2 -2
  54. package/dist/components/icons/CoopLiveIcon.d.ts +2 -2
  55. package/dist/components/icons/CoopLocationFilledIcon.d.ts +2 -2
  56. package/dist/components/icons/CoopLogoIcon.d.ts +2 -2
  57. package/dist/components/icons/CoopMembershipCardFilledIcon.d.ts +2 -2
  58. package/dist/components/icons/CoopMembershipCardFilledIcon.js +1 -1
  59. package/dist/components/icons/CreditCardFilledIcon.d.ts +2 -2
  60. package/dist/components/icons/CreditCardFilledIcon.js +1 -1
  61. package/dist/components/icons/CreditCardIcon.d.ts +2 -2
  62. package/dist/components/icons/CrossIcon.d.ts +2 -2
  63. package/dist/components/icons/DocumentIcon.d.ts +2 -2
  64. package/dist/components/icons/DownloadIcon.d.ts +2 -2
  65. package/dist/components/icons/EnterStoreIcon.d.ts +2 -2
  66. package/dist/components/icons/ExitStoreIcon.d.ts +2 -2
  67. package/dist/components/icons/EyeFilledIcon.d.ts +2 -2
  68. package/dist/components/icons/EyeIcon.d.ts +2 -2
  69. package/dist/components/icons/EyeStrikeFilledIcon.d.ts +2 -2
  70. package/dist/components/icons/EyeStrikeIcon.d.ts +2 -2
  71. package/dist/components/icons/FeedbackFilledIcon.d.ts +2 -2
  72. package/dist/components/icons/FeedbackIcon.d.ts +2 -2
  73. package/dist/components/icons/FilterIcon.d.ts +2 -2
  74. package/dist/components/icons/GiftCardFilledIcon.d.ts +2 -2
  75. package/dist/components/icons/GiftCardIcon.d.ts +2 -2
  76. package/dist/components/icons/GiftFilledIcon.d.ts +2 -2
  77. package/dist/components/icons/GiftIcon.d.ts +2 -2
  78. package/dist/components/icons/HelpFilledIcon.d.ts +2 -2
  79. package/dist/components/icons/HelpIcon.d.ts +2 -2
  80. package/dist/components/icons/HomeFilledIcon.d.ts +2 -2
  81. package/dist/components/icons/HomeIcon.d.ts +2 -2
  82. package/dist/components/icons/HowDoIAssistantIcon.d.ts +2 -2
  83. package/dist/components/icons/InfoIcon.d.ts +2 -2
  84. package/dist/components/icons/KebabIcon.d.ts +2 -2
  85. package/dist/components/icons/LoadingIcon.d.ts +2 -2
  86. package/dist/components/icons/LocationFilledIcon.d.ts +2 -2
  87. package/dist/components/icons/LocationIcon.d.ts +2 -2
  88. package/dist/components/icons/LogoutIcon.d.ts +2 -2
  89. package/dist/components/icons/MailIcon.d.ts +2 -2
  90. package/dist/components/icons/MenuIcon.d.ts +2 -2
  91. package/dist/components/icons/MessageIcon.d.ts +2 -2
  92. package/dist/components/icons/MinusIcon.d.ts +2 -2
  93. package/dist/components/icons/NotesFilledIcon.d.ts +2 -2
  94. package/dist/components/icons/NotesIcon.d.ts +2 -2
  95. package/dist/components/icons/OpenNewIcon.d.ts +2 -2
  96. package/dist/components/icons/OwnBagIcon.d.ts +2 -2
  97. package/dist/components/icons/PadlockIcon.d.ts +2 -2
  98. package/dist/components/icons/PencilIcon.d.ts +2 -2
  99. package/dist/components/icons/PhoneIcon.d.ts +2 -2
  100. package/dist/components/icons/PowerIcon.d.ts +2 -2
  101. package/dist/components/icons/SaveFilledIcon.d.ts +2 -2
  102. package/dist/components/icons/SaveIcon.d.ts +2 -2
  103. package/dist/components/icons/ScooterIcon.d.ts +2 -2
  104. package/dist/components/icons/SearchFilledIcon.d.ts +2 -2
  105. package/dist/components/icons/SearchIcon.d.ts +2 -2
  106. package/dist/components/icons/SendIcon.d.ts +2 -2
  107. package/dist/components/icons/SpannerIcon.d.ts +2 -2
  108. package/dist/components/icons/StarFilledIcon.d.ts +2 -2
  109. package/dist/components/icons/StarFilledIcon.js +1 -1
  110. package/dist/components/icons/StarIcon.d.ts +2 -2
  111. package/dist/components/icons/TickAltFilledIcon.d.ts +2 -2
  112. package/dist/components/icons/TickAltFilledIcon.js +1 -1
  113. package/dist/components/icons/TickAltIcon.d.ts +2 -2
  114. package/dist/components/icons/TickIcon.d.ts +2 -2
  115. package/dist/components/icons/TruckIcon.d.ts +2 -2
  116. package/dist/components/icons/UserWipeIcon.d.ts +2 -2
  117. package/dist/components/icons/VoucherFilledIcon.d.ts +2 -2
  118. package/dist/components/icons/VoucherIcon.d.ts +2 -2
  119. package/dist/components/icons/WarningCircleFilledIcon.d.ts +2 -2
  120. package/dist/components/icons/WarningCircleFilledIcon.js +1 -1
  121. package/dist/components/icons/WarningCircleIcon.d.ts +2 -2
  122. package/dist/components/icons/WarningCircleIcon.js +1 -1
  123. package/dist/components/icons/WarningFilledIcon.d.ts +2 -2
  124. package/dist/components/icons/WarningIcon.d.ts +2 -2
  125. package/dist/components/icons/WifiIcon.d.ts +2 -2
  126. package/dist/components/icons/WriteIcon.d.ts +2 -2
  127. package/dist/hooks/useSlots.js +1 -1
  128. package/dist/types/index.d.ts +1 -1
  129. package/package.json +8 -8
  130. package/src/components/Card/Card.tsx +1 -1
  131. package/src/components/DatePicker/DatePicker.tsx +4 -4
  132. package/src/components/DatePicker/datepicker-utils.ts +6 -1
  133. package/src/components/Expandable/Expandable.tsx +11 -3
  134. package/src/components/Field/Field.tsx +5 -5
  135. package/src/components/FieldMarkers/Label.tsx +8 -2
  136. package/src/components/FieldMarkers/Legend.tsx +8 -2
  137. package/src/components/Fieldset/Fieldset.tsx +3 -3
  138. package/src/components/Logo/Logo.tsx +2 -2
  139. package/src/components/Pill/Pill.tsx +1 -1
  140. package/src/components/RootSVG/RootSVG.tsx +2 -1
  141. package/src/components/Searchbox/Searchbox.tsx +2 -2
  142. package/src/components/Signpost/Signpost.tsx +1 -1
  143. package/src/components/Tag/Tag.tsx +1 -1
  144. package/src/components/icons/AccountCircleFilledIcon.tsx +10 -2
  145. package/src/components/icons/AccountCircleIcon.tsx +10 -2
  146. package/src/components/icons/AccountFilledIcon.tsx +10 -2
  147. package/src/components/icons/AccountIcon.tsx +10 -2
  148. package/src/components/icons/AddIcon.tsx +3 -2
  149. package/src/components/icons/AppsFilledIcon.tsx +10 -2
  150. package/src/components/icons/AppsIcon.tsx +3 -2
  151. package/src/components/icons/ArrowDownIcon.tsx +10 -2
  152. package/src/components/icons/ArrowLeftIcon.tsx +10 -2
  153. package/src/components/icons/ArrowRightIcon.tsx +10 -2
  154. package/src/components/icons/ArrowUpIcon.tsx +10 -2
  155. package/src/components/icons/BackspaceFilledIcon.tsx +10 -2
  156. package/src/components/icons/BackspaceIcon.tsx +10 -2
  157. package/src/components/icons/BasketFilledIcon.tsx +10 -2
  158. package/src/components/icons/BasketIcon.tsx +3 -2
  159. package/src/components/icons/BellFilledIcon.tsx +11 -3
  160. package/src/components/icons/BellIcon.tsx +3 -2
  161. package/src/components/icons/BroomIcon.tsx +3 -2
  162. package/src/components/icons/CalendarFilledIcon.tsx +10 -2
  163. package/src/components/icons/CalendarIcon.tsx +10 -2
  164. package/src/components/icons/CashFilledIcon.tsx +10 -2
  165. package/src/components/icons/CashIcon.tsx +5 -4
  166. package/src/components/icons/ChevronDownIcon.tsx +10 -2
  167. package/src/components/icons/ChevronLeftIcon.tsx +10 -2
  168. package/src/components/icons/ChevronRightIcon.tsx +10 -2
  169. package/src/components/icons/ChevronUpIcon.tsx +10 -2
  170. package/src/components/icons/CircleBurgerFilledIcon.tsx +10 -2
  171. package/src/components/icons/CircleBurgerIcon.tsx +10 -2
  172. package/src/components/icons/ClipboardFilledIcon.tsx +10 -2
  173. package/src/components/icons/ClipboardIcon.tsx +10 -2
  174. package/src/components/icons/ClockFilledIcon.tsx +12 -4
  175. package/src/components/icons/ClockIcon.tsx +3 -2
  176. package/src/components/icons/CloseAltFilledIcon.tsx +12 -4
  177. package/src/components/icons/CloseAltIcon.tsx +10 -2
  178. package/src/components/icons/CogIcon.tsx +3 -2
  179. package/src/components/icons/CommunityFilledIcon.tsx +10 -2
  180. package/src/components/icons/CommunityIcon.tsx +10 -2
  181. package/src/components/icons/ComputerIcon.tsx +10 -2
  182. package/src/components/icons/ContactFilledIcon.tsx +10 -2
  183. package/src/components/icons/ContactIcon.tsx +10 -2
  184. package/src/components/icons/ContactlessFilledIcon.tsx +10 -2
  185. package/src/components/icons/ContactlessIcon.tsx +10 -2
  186. package/src/components/icons/CoopLiveIcon.tsx +10 -2
  187. package/src/components/icons/CoopLocationFilledIcon.tsx +10 -2
  188. package/src/components/icons/CoopLogoIcon.tsx +10 -2
  189. package/src/components/icons/CoopMembershipCardFilledIcon.tsx +5 -4
  190. package/src/components/icons/CreditCardFilledIcon.tsx +11 -3
  191. package/src/components/icons/CreditCardIcon.tsx +10 -2
  192. package/src/components/icons/CrossIcon.tsx +3 -2
  193. package/src/components/icons/DocumentIcon.tsx +10 -2
  194. package/src/components/icons/DownloadIcon.tsx +10 -2
  195. package/src/components/icons/EnterStoreIcon.tsx +10 -2
  196. package/src/components/icons/ExitStoreIcon.tsx +10 -2
  197. package/src/components/icons/EyeFilledIcon.tsx +10 -2
  198. package/src/components/icons/EyeIcon.tsx +3 -2
  199. package/src/components/icons/EyeStrikeFilledIcon.tsx +10 -2
  200. package/src/components/icons/EyeStrikeIcon.tsx +10 -2
  201. package/src/components/icons/FeedbackFilledIcon.tsx +10 -2
  202. package/src/components/icons/FeedbackIcon.tsx +10 -2
  203. package/src/components/icons/FilterIcon.tsx +3 -2
  204. package/src/components/icons/GiftCardFilledIcon.tsx +10 -2
  205. package/src/components/icons/GiftCardIcon.tsx +10 -2
  206. package/src/components/icons/GiftFilledIcon.tsx +10 -2
  207. package/src/components/icons/GiftIcon.tsx +3 -2
  208. package/src/components/icons/HelpFilledIcon.tsx +10 -2
  209. package/src/components/icons/HelpIcon.tsx +3 -2
  210. package/src/components/icons/HomeFilledIcon.tsx +10 -2
  211. package/src/components/icons/HomeIcon.tsx +3 -2
  212. package/src/components/icons/HowDoIAssistantIcon.tsx +10 -2
  213. package/src/components/icons/InfoIcon.tsx +3 -2
  214. package/src/components/icons/KebabIcon.tsx +3 -2
  215. package/src/components/icons/LoadingIcon.tsx +10 -2
  216. package/src/components/icons/LocationFilledIcon.tsx +10 -2
  217. package/src/components/icons/LocationIcon.tsx +10 -2
  218. package/src/components/icons/LogoutIcon.tsx +3 -2
  219. package/src/components/icons/MailIcon.tsx +3 -2
  220. package/src/components/icons/MenuIcon.tsx +3 -2
  221. package/src/components/icons/MessageIcon.tsx +10 -2
  222. package/src/components/icons/MinusIcon.tsx +3 -2
  223. package/src/components/icons/NotesFilledIcon.tsx +10 -2
  224. package/src/components/icons/NotesIcon.tsx +3 -2
  225. package/src/components/icons/OpenNewIcon.tsx +10 -2
  226. package/src/components/icons/OwnBagIcon.tsx +3 -2
  227. package/src/components/icons/PadlockIcon.tsx +10 -2
  228. package/src/components/icons/PencilIcon.tsx +3 -2
  229. package/src/components/icons/PhoneIcon.tsx +3 -2
  230. package/src/components/icons/PowerIcon.tsx +3 -2
  231. package/src/components/icons/SaveFilledIcon.tsx +10 -2
  232. package/src/components/icons/SaveIcon.tsx +3 -2
  233. package/src/components/icons/ScooterIcon.tsx +10 -2
  234. package/src/components/icons/SearchFilledIcon.tsx +10 -2
  235. package/src/components/icons/SearchIcon.tsx +3 -2
  236. package/src/components/icons/SendIcon.tsx +3 -2
  237. package/src/components/icons/SpannerIcon.tsx +10 -2
  238. package/src/components/icons/StarFilledIcon.tsx +11 -3
  239. package/src/components/icons/StarIcon.tsx +3 -2
  240. package/src/components/icons/TickAltFilledIcon.tsx +12 -4
  241. package/src/components/icons/TickAltIcon.tsx +10 -2
  242. package/src/components/icons/TickIcon.tsx +3 -2
  243. package/src/components/icons/TruckIcon.tsx +3 -2
  244. package/src/components/icons/UserWipeIcon.tsx +10 -2
  245. package/src/components/icons/VoucherFilledIcon.tsx +10 -2
  246. package/src/components/icons/VoucherIcon.tsx +10 -2
  247. package/src/components/icons/WarningCircleFilledIcon.tsx +12 -4
  248. package/src/components/icons/WarningCircleIcon.tsx +12 -4
  249. package/src/components/icons/WarningFilledIcon.tsx +10 -2
  250. package/src/components/icons/WarningIcon.tsx +10 -2
  251. package/src/components/icons/WifiIcon.tsx +3 -2
  252. package/src/components/icons/WriteIcon.tsx +3 -2
  253. package/src/hooks/useSlots.ts +1 -1
  254. package/src/types/index.ts +3 -2
  255. package/dist/components/Button/index.js +0 -5
  256. package/dist/components/Popover/index.js +0 -6
@@ -1,5 +1,6 @@
1
+ import type { JSX, SVGProps } from "react"
2
+
1
3
  import clsx from "clsx"
2
- import { type SVGProps } from "react"
3
4
 
4
5
  import { useId } from "../../hooks/useId"
5
6
 
@@ -7,7 +8,7 @@ interface IconProps extends SVGProps<SVGSVGElement> {
7
8
  alt?: string
8
9
  }
9
10
 
10
- export const CogIcon = ({ alt, className, fill, id, ref, ...props }: IconProps) => {
11
+ export const CogIcon = ({ alt, className, fill, id, ref, ...props }: IconProps): JSX.Element => {
11
12
  const uid = useId(id)
12
13
  const componentProps = {
13
14
  "aria-labelledby": alt ? uid + "__title" : undefined,
@@ -1,5 +1,6 @@
1
+ import type { JSX, SVGProps } from "react"
2
+
1
3
  import clsx from "clsx"
2
- import { type SVGProps } from "react"
3
4
 
4
5
  import { useId } from "../../hooks/useId"
5
6
 
@@ -7,7 +8,14 @@ interface IconProps extends SVGProps<SVGSVGElement> {
7
8
  alt?: string
8
9
  }
9
10
 
10
- export const CommunityFilledIcon = ({ alt, className, fill, id, ref, ...props }: IconProps) => {
11
+ export const CommunityFilledIcon = ({
12
+ alt,
13
+ className,
14
+ fill,
15
+ id,
16
+ ref,
17
+ ...props
18
+ }: IconProps): JSX.Element => {
11
19
  const uid = useId(id)
12
20
  const componentProps = {
13
21
  "aria-labelledby": alt ? uid + "__title" : undefined,
@@ -1,5 +1,6 @@
1
+ import type { JSX, SVGProps } from "react"
2
+
1
3
  import clsx from "clsx"
2
- import { type SVGProps } from "react"
3
4
 
4
5
  import { useId } from "../../hooks/useId"
5
6
 
@@ -7,7 +8,14 @@ interface IconProps extends SVGProps<SVGSVGElement> {
7
8
  alt?: string
8
9
  }
9
10
 
10
- export const CommunityIcon = ({ alt, className, fill, id, ref, ...props }: IconProps) => {
11
+ export const CommunityIcon = ({
12
+ alt,
13
+ className,
14
+ fill,
15
+ id,
16
+ ref,
17
+ ...props
18
+ }: IconProps): JSX.Element => {
11
19
  const uid = useId(id)
12
20
  const componentProps = {
13
21
  "aria-labelledby": alt ? uid + "__title" : undefined,
@@ -1,5 +1,6 @@
1
+ import type { JSX, SVGProps } from "react"
2
+
1
3
  import clsx from "clsx"
2
- import { type SVGProps } from "react"
3
4
 
4
5
  import { useId } from "../../hooks/useId"
5
6
 
@@ -7,7 +8,14 @@ interface IconProps extends SVGProps<SVGSVGElement> {
7
8
  alt?: string
8
9
  }
9
10
 
10
- export const ComputerIcon = ({ alt, className, fill, id, ref, ...props }: IconProps) => {
11
+ export const ComputerIcon = ({
12
+ alt,
13
+ className,
14
+ fill,
15
+ id,
16
+ ref,
17
+ ...props
18
+ }: IconProps): JSX.Element => {
11
19
  const uid = useId(id)
12
20
  const componentProps = {
13
21
  "aria-labelledby": alt ? uid + "__title" : undefined,
@@ -1,5 +1,6 @@
1
+ import type { JSX, SVGProps } from "react"
2
+
1
3
  import clsx from "clsx"
2
- import { type SVGProps } from "react"
3
4
 
4
5
  import { useId } from "../../hooks/useId"
5
6
 
@@ -7,7 +8,14 @@ interface IconProps extends SVGProps<SVGSVGElement> {
7
8
  alt?: string
8
9
  }
9
10
 
10
- export const ContactFilledIcon = ({ alt, className, fill, id, ref, ...props }: IconProps) => {
11
+ export const ContactFilledIcon = ({
12
+ alt,
13
+ className,
14
+ fill,
15
+ id,
16
+ ref,
17
+ ...props
18
+ }: IconProps): JSX.Element => {
11
19
  const uid = useId(id)
12
20
  const componentProps = {
13
21
  "aria-labelledby": alt ? uid + "__title" : undefined,
@@ -1,5 +1,6 @@
1
+ import type { JSX, SVGProps } from "react"
2
+
1
3
  import clsx from "clsx"
2
- import { type SVGProps } from "react"
3
4
 
4
5
  import { useId } from "../../hooks/useId"
5
6
 
@@ -7,7 +8,14 @@ interface IconProps extends SVGProps<SVGSVGElement> {
7
8
  alt?: string
8
9
  }
9
10
 
10
- export const ContactIcon = ({ alt, className, fill, id, ref, ...props }: IconProps) => {
11
+ export const ContactIcon = ({
12
+ alt,
13
+ className,
14
+ fill,
15
+ id,
16
+ ref,
17
+ ...props
18
+ }: IconProps): JSX.Element => {
11
19
  const uid = useId(id)
12
20
  const componentProps = {
13
21
  "aria-labelledby": alt ? uid + "__title" : undefined,
@@ -1,5 +1,6 @@
1
+ import type { JSX, SVGProps } from "react"
2
+
1
3
  import clsx from "clsx"
2
- import { type SVGProps } from "react"
3
4
 
4
5
  import { useId } from "../../hooks/useId"
5
6
 
@@ -7,7 +8,14 @@ interface IconProps extends SVGProps<SVGSVGElement> {
7
8
  alt?: string
8
9
  }
9
10
 
10
- export const ContactlessFilledIcon = ({ alt, className, fill, id, ref, ...props }: IconProps) => {
11
+ export const ContactlessFilledIcon = ({
12
+ alt,
13
+ className,
14
+ fill,
15
+ id,
16
+ ref,
17
+ ...props
18
+ }: IconProps): JSX.Element => {
11
19
  const uid = useId(id)
12
20
  const componentProps = {
13
21
  "aria-labelledby": alt ? uid + "__title" : undefined,
@@ -1,5 +1,6 @@
1
+ import type { JSX, SVGProps } from "react"
2
+
1
3
  import clsx from "clsx"
2
- import { type SVGProps } from "react"
3
4
 
4
5
  import { useId } from "../../hooks/useId"
5
6
 
@@ -7,7 +8,14 @@ interface IconProps extends SVGProps<SVGSVGElement> {
7
8
  alt?: string
8
9
  }
9
10
 
10
- export const ContactlessIcon = ({ alt, className, fill, id, ref, ...props }: IconProps) => {
11
+ export const ContactlessIcon = ({
12
+ alt,
13
+ className,
14
+ fill,
15
+ id,
16
+ ref,
17
+ ...props
18
+ }: IconProps): JSX.Element => {
11
19
  const uid = useId(id)
12
20
  const componentProps = {
13
21
  "aria-labelledby": alt ? uid + "__title" : undefined,
@@ -1,5 +1,6 @@
1
+ import type { JSX, SVGProps } from "react"
2
+
1
3
  import clsx from "clsx"
2
- import { type SVGProps } from "react"
3
4
 
4
5
  import { useId } from "../../hooks/useId"
5
6
 
@@ -7,7 +8,14 @@ interface IconProps extends SVGProps<SVGSVGElement> {
7
8
  alt?: string
8
9
  }
9
10
 
10
- export const CoopLiveIcon = ({ alt, className, fill, id, ref, ...props }: IconProps) => {
11
+ export const CoopLiveIcon = ({
12
+ alt,
13
+ className,
14
+ fill,
15
+ id,
16
+ ref,
17
+ ...props
18
+ }: IconProps): JSX.Element => {
11
19
  const uid = useId(id)
12
20
  const componentProps = {
13
21
  "aria-labelledby": alt ? uid + "__title" : undefined,
@@ -1,5 +1,6 @@
1
+ import type { JSX, SVGProps } from "react"
2
+
1
3
  import clsx from "clsx"
2
- import { type SVGProps } from "react"
3
4
 
4
5
  import { useId } from "../../hooks/useId"
5
6
 
@@ -7,7 +8,14 @@ interface IconProps extends SVGProps<SVGSVGElement> {
7
8
  alt?: string
8
9
  }
9
10
 
10
- export const CoopLocationFilledIcon = ({ alt, className, fill, id, ref, ...props }: IconProps) => {
11
+ export const CoopLocationFilledIcon = ({
12
+ alt,
13
+ className,
14
+ fill,
15
+ id,
16
+ ref,
17
+ ...props
18
+ }: IconProps): JSX.Element => {
11
19
  const uid = useId(id)
12
20
  const componentProps = {
13
21
  "aria-labelledby": alt ? uid + "__title" : undefined,
@@ -1,5 +1,6 @@
1
+ import type { JSX, SVGProps } from "react"
2
+
1
3
  import clsx from "clsx"
2
- import { type SVGProps } from "react"
3
4
 
4
5
  import { useId } from "../../hooks/useId"
5
6
 
@@ -7,7 +8,14 @@ interface IconProps extends SVGProps<SVGSVGElement> {
7
8
  alt?: string
8
9
  }
9
10
 
10
- export const CoopLogoIcon = ({ alt, className, fill, id, ref, ...props }: IconProps) => {
11
+ export const CoopLogoIcon = ({
12
+ alt,
13
+ className,
14
+ fill,
15
+ id,
16
+ ref,
17
+ ...props
18
+ }: IconProps): JSX.Element => {
11
19
  const uid = useId(id)
12
20
  const componentProps = {
13
21
  "aria-labelledby": alt ? uid + "__title" : undefined,
@@ -1,5 +1,6 @@
1
+ import type { JSX, SVGProps } from "react"
2
+
1
3
  import clsx from "clsx"
2
- import { type SVGProps } from "react"
3
4
 
4
5
  import { useId } from "../../hooks/useId"
5
6
 
@@ -14,7 +15,7 @@ export const CoopMembershipCardFilledIcon = ({
14
15
  id,
15
16
  ref,
16
17
  ...props
17
- }: IconProps) => {
18
+ }: IconProps): JSX.Element => {
18
19
  const uid = useId(id)
19
20
  const componentProps = {
20
21
  "aria-labelledby": alt ? uid + "__title" : undefined,
@@ -31,9 +32,9 @@ export const CoopMembershipCardFilledIcon = ({
31
32
  {alt ? <title id={uid + "__title"}>{alt}</title> : null}
32
33
  <path d="M11.862 13.64a3 3 0 0 1 .97 0 1 1 0 0 1 .466.223 1 1 0 0 1 .275.426q.114.374.117.764-.003.38-.117.743c-.057.16-.153.305-.28.42a1 1 0 0 1-.472.25c-.32.062-.65.062-.97 0a.9.9 0 0 1-.46-.218.9.9 0 0 1-.276-.427 2.44 2.44 0 0 1 .011-1.516v-.022a1 1 0 0 1 .275-.415c.132-.112.29-.19.461-.228M19.11 6.817c.32-.057.65-.057.97 0a.95.95 0 0 1 .741.645 2.5 2.5 0 0 1 .011 1.507 1 1 0 0 1-.282.422c-.13.113-.288.192-.46.227-.32.057-.648.057-.969 0a.97.97 0 0 1-.466-.223.97.97 0 0 1-.276-.426 2.5 2.5 0 0 1-.01-1.507v-.006a1 1 0 0 1 .28-.415c.133-.11.291-.187.461-.224" />
33
34
  <path
34
- clipRule="evenodd"
35
+ clip-rule="evenodd"
35
36
  d="M24 2a2 2 0 0 1 2 2v24a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2zm-2.484 10.278a5.8 5.8 0 0 0-3.768 0c-.311.09-.595.254-.826.478-.232.223-.4.5-.492.806a5.6 5.6 0 0 0-.207 1.558v4.463h2.04v-4.515c-.005-.25.03-.499.105-.738a1 1 0 0 1 .281-.42c.132-.113.291-.192.461-.23.32-.056.649-.056.97 0a1 1 0 0 1 .462.225c.13.115.227.261.28.425a2.5 2.5 0 0 1 0 1.507.981.981 0 0 1-.72.645 2.8 2.8 0 0 1-.976 0l-.111-.016h-.08l.7 1.865a6.2 6.2 0 0 0 1.88-.307c.305-.107.577-.285.795-.52.222-.23.384-.51.471-.815a5.56 5.56 0 0 0 0-3.087 2.1 2.1 0 0 0-.476-.804 2.1 2.1 0 0 0-.79-.52m-7.264-.11a5.8 5.8 0 0 0-3.768 0 2 2 0 0 0-.794.52c-.22.232-.381.512-.471.816a5.56 5.56 0 0 0 0 3.087c.096.3.259.578.476.81.22.23.49.408.79.52 1.218.42 2.548.42 3.767 0a2.01 2.01 0 0 0 1.26-1.34 5.56 5.56 0 0 0 0-3.087 2 2 0 0 0-.477-.806 2.1 2.1 0 0 0-.783-.52m.005-6.815a5.78 5.78 0 0 0-3.767 0 2.011 2.011 0 0 0-1.262 1.335 5.56 5.56 0 0 0 0 3.085c.094.299.256.573.472.801.22.226.488.404.784.52a5.8 5.8 0 0 0 1.881.3 6.5 6.5 0 0 0 1.886-.3c.3-.114.572-.291.795-.52.216-.233.376-.513.466-.816 0-.088.047-.177.074-.26l-1.923-.873q-.024.174-.074.344c-.057.16-.153.305-.28.42-.132.113-.29.191-.461.23-.32.056-.65.056-.97 0a1 1 0 0 1-.467-.224.97.97 0 0 1-.275-.426 2.52 2.52 0 0 1 0-1.507.977.977 0 0 1 .742-.645c.32-.057.65-.057.97 0a.925.925 0 0 1 .741.645q.094.366.1.743h2.04c0-.516-.07-1.03-.206-1.528a2.1 2.1 0 0 0-.477-.805 2.1 2.1 0 0 0-.79-.52m7.248-.038a5.8 5.8 0 0 0-3.772 0 2 2 0 0 0-.79.52c-.22.23-.382.507-.471.81a5.56 5.56 0 0 0 0 3.087c.091.313.255.601.477.842.218.226.484.404.778.52a5.3 5.3 0 0 0 1.886.3 6.5 6.5 0 0 0 1.887-.3c.3-.114.572-.291.795-.52.216-.233.375-.513.466-.816.14-.508.212-1.032.212-1.559s-.067-1.05-.201-1.558a2.1 2.1 0 0 0-.483-.806 2.06 2.06 0 0 0-.784-.52"
36
- fillRule="evenodd"
37
+ fill-rule="evenodd"
37
38
  />
38
39
  </svg>
39
40
  )
@@ -1,5 +1,6 @@
1
+ import type { JSX, SVGProps } from "react"
2
+
1
3
  import clsx from "clsx"
2
- import { type SVGProps } from "react"
3
4
 
4
5
  import { useId } from "../../hooks/useId"
5
6
 
@@ -7,7 +8,14 @@ interface IconProps extends SVGProps<SVGSVGElement> {
7
8
  alt?: string
8
9
  }
9
10
 
10
- export const CreditCardFilledIcon = ({ alt, className, fill, id, ref, ...props }: IconProps) => {
11
+ export const CreditCardFilledIcon = ({
12
+ alt,
13
+ className,
14
+ fill,
15
+ id,
16
+ ref,
17
+ ...props
18
+ }: IconProps): JSX.Element => {
11
19
  const uid = useId(id)
12
20
  const componentProps = {
13
21
  "aria-labelledby": alt ? uid + "__title" : undefined,
@@ -22,7 +30,7 @@ export const CreditCardFilledIcon = ({ alt, className, fill, id, ref, ...props }
22
30
  return (
23
31
  <svg {...componentProps} ref={ref}>
24
32
  {alt ? <title id={uid + "__title"}>{alt}</title> : null}
25
- <g clipPath="url(#a)">
33
+ <g clip-path="url(#a)">
26
34
  <mask id="b">
27
35
  <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-2zM6 18v4h5.979v-4zm-2-8v4h24v-4z" />
28
36
  </mask>
@@ -1,5 +1,6 @@
1
+ import type { JSX, SVGProps } from "react"
2
+
1
3
  import clsx from "clsx"
2
- import { type SVGProps } from "react"
3
4
 
4
5
  import { useId } from "../../hooks/useId"
5
6
 
@@ -7,7 +8,14 @@ interface IconProps extends SVGProps<SVGSVGElement> {
7
8
  alt?: string
8
9
  }
9
10
 
10
- export const CreditCardIcon = ({ alt, className, fill, id, ref, ...props }: IconProps) => {
11
+ export const CreditCardIcon = ({
12
+ alt,
13
+ className,
14
+ fill,
15
+ id,
16
+ ref,
17
+ ...props
18
+ }: IconProps): JSX.Element => {
11
19
  const uid = useId(id)
12
20
  const componentProps = {
13
21
  "aria-labelledby": alt ? uid + "__title" : undefined,
@@ -1,5 +1,6 @@
1
+ import type { JSX, SVGProps } from "react"
2
+
1
3
  import clsx from "clsx"
2
- import { type SVGProps } from "react"
3
4
 
4
5
  import { useId } from "../../hooks/useId"
5
6
 
@@ -7,7 +8,7 @@ interface IconProps extends SVGProps<SVGSVGElement> {
7
8
  alt?: string
8
9
  }
9
10
 
10
- export const CrossIcon = ({ alt, className, fill, id, ref, ...props }: IconProps) => {
11
+ export const CrossIcon = ({ alt, className, fill, id, ref, ...props }: IconProps): JSX.Element => {
11
12
  const uid = useId(id)
12
13
  const componentProps = {
13
14
  "aria-labelledby": alt ? uid + "__title" : undefined,
@@ -1,5 +1,6 @@
1
+ import type { JSX, SVGProps } from "react"
2
+
1
3
  import clsx from "clsx"
2
- import { type SVGProps } from "react"
3
4
 
4
5
  import { useId } from "../../hooks/useId"
5
6
 
@@ -7,7 +8,14 @@ interface IconProps extends SVGProps<SVGSVGElement> {
7
8
  alt?: string
8
9
  }
9
10
 
10
- export const DocumentIcon = ({ alt, className, fill, id, ref, ...props }: IconProps) => {
11
+ export const DocumentIcon = ({
12
+ alt,
13
+ className,
14
+ fill,
15
+ id,
16
+ ref,
17
+ ...props
18
+ }: IconProps): JSX.Element => {
11
19
  const uid = useId(id)
12
20
  const componentProps = {
13
21
  "aria-labelledby": alt ? uid + "__title" : undefined,
@@ -1,5 +1,6 @@
1
+ import type { JSX, SVGProps } from "react"
2
+
1
3
  import clsx from "clsx"
2
- import { type SVGProps } from "react"
3
4
 
4
5
  import { useId } from "../../hooks/useId"
5
6
 
@@ -7,7 +8,14 @@ interface IconProps extends SVGProps<SVGSVGElement> {
7
8
  alt?: string
8
9
  }
9
10
 
10
- export const DownloadIcon = ({ alt, className, fill, id, ref, ...props }: IconProps) => {
11
+ export const DownloadIcon = ({
12
+ alt,
13
+ className,
14
+ fill,
15
+ id,
16
+ ref,
17
+ ...props
18
+ }: IconProps): JSX.Element => {
11
19
  const uid = useId(id)
12
20
  const componentProps = {
13
21
  "aria-labelledby": alt ? uid + "__title" : undefined,
@@ -1,5 +1,6 @@
1
+ import type { JSX, SVGProps } from "react"
2
+
1
3
  import clsx from "clsx"
2
- import { type SVGProps } from "react"
3
4
 
4
5
  import { useId } from "../../hooks/useId"
5
6
 
@@ -7,7 +8,14 @@ interface IconProps extends SVGProps<SVGSVGElement> {
7
8
  alt?: string
8
9
  }
9
10
 
10
- export const EnterStoreIcon = ({ alt, className, fill, id, ref, ...props }: IconProps) => {
11
+ export const EnterStoreIcon = ({
12
+ alt,
13
+ className,
14
+ fill,
15
+ id,
16
+ ref,
17
+ ...props
18
+ }: IconProps): JSX.Element => {
11
19
  const uid = useId(id)
12
20
  const componentProps = {
13
21
  "aria-labelledby": alt ? uid + "__title" : undefined,
@@ -1,5 +1,6 @@
1
+ import type { JSX, SVGProps } from "react"
2
+
1
3
  import clsx from "clsx"
2
- import { type SVGProps } from "react"
3
4
 
4
5
  import { useId } from "../../hooks/useId"
5
6
 
@@ -7,7 +8,14 @@ interface IconProps extends SVGProps<SVGSVGElement> {
7
8
  alt?: string
8
9
  }
9
10
 
10
- export const ExitStoreIcon = ({ alt, className, fill, id, ref, ...props }: IconProps) => {
11
+ export const ExitStoreIcon = ({
12
+ alt,
13
+ className,
14
+ fill,
15
+ id,
16
+ ref,
17
+ ...props
18
+ }: IconProps): JSX.Element => {
11
19
  const uid = useId(id)
12
20
  const componentProps = {
13
21
  "aria-labelledby": alt ? uid + "__title" : undefined,
@@ -1,5 +1,6 @@
1
+ import type { JSX, SVGProps } from "react"
2
+
1
3
  import clsx from "clsx"
2
- import { type SVGProps } from "react"
3
4
 
4
5
  import { useId } from "../../hooks/useId"
5
6
 
@@ -7,7 +8,14 @@ interface IconProps extends SVGProps<SVGSVGElement> {
7
8
  alt?: string
8
9
  }
9
10
 
10
- export const EyeFilledIcon = ({ alt, className, fill, id, ref, ...props }: IconProps) => {
11
+ export const EyeFilledIcon = ({
12
+ alt,
13
+ className,
14
+ fill,
15
+ id,
16
+ ref,
17
+ ...props
18
+ }: IconProps): JSX.Element => {
11
19
  const uid = useId(id)
12
20
  const componentProps = {
13
21
  "aria-labelledby": alt ? uid + "__title" : undefined,
@@ -1,5 +1,6 @@
1
+ import type { JSX, SVGProps } from "react"
2
+
1
3
  import clsx from "clsx"
2
- import { type SVGProps } from "react"
3
4
 
4
5
  import { useId } from "../../hooks/useId"
5
6
 
@@ -7,7 +8,7 @@ interface IconProps extends SVGProps<SVGSVGElement> {
7
8
  alt?: string
8
9
  }
9
10
 
10
- export const EyeIcon = ({ alt, className, fill, id, ref, ...props }: IconProps) => {
11
+ export const EyeIcon = ({ alt, className, fill, id, ref, ...props }: IconProps): JSX.Element => {
11
12
  const uid = useId(id)
12
13
  const componentProps = {
13
14
  "aria-labelledby": alt ? uid + "__title" : undefined,
@@ -1,5 +1,6 @@
1
+ import type { JSX, SVGProps } from "react"
2
+
1
3
  import clsx from "clsx"
2
- import { type SVGProps } from "react"
3
4
 
4
5
  import { useId } from "../../hooks/useId"
5
6
 
@@ -7,7 +8,14 @@ interface IconProps extends SVGProps<SVGSVGElement> {
7
8
  alt?: string
8
9
  }
9
10
 
10
- export const EyeStrikeFilledIcon = ({ alt, className, fill, id, ref, ...props }: IconProps) => {
11
+ export const EyeStrikeFilledIcon = ({
12
+ alt,
13
+ className,
14
+ fill,
15
+ id,
16
+ ref,
17
+ ...props
18
+ }: IconProps): JSX.Element => {
11
19
  const uid = useId(id)
12
20
  const componentProps = {
13
21
  "aria-labelledby": alt ? uid + "__title" : undefined,
@@ -1,5 +1,6 @@
1
+ import type { JSX, SVGProps } from "react"
2
+
1
3
  import clsx from "clsx"
2
- import { type SVGProps } from "react"
3
4
 
4
5
  import { useId } from "../../hooks/useId"
5
6
 
@@ -7,7 +8,14 @@ interface IconProps extends SVGProps<SVGSVGElement> {
7
8
  alt?: string
8
9
  }
9
10
 
10
- export const EyeStrikeIcon = ({ alt, className, fill, id, ref, ...props }: IconProps) => {
11
+ export const EyeStrikeIcon = ({
12
+ alt,
13
+ className,
14
+ fill,
15
+ id,
16
+ ref,
17
+ ...props
18
+ }: IconProps): JSX.Element => {
11
19
  const uid = useId(id)
12
20
  const componentProps = {
13
21
  "aria-labelledby": alt ? uid + "__title" : undefined,
@@ -1,5 +1,6 @@
1
+ import type { JSX, SVGProps } from "react"
2
+
1
3
  import clsx from "clsx"
2
- import { type SVGProps } from "react"
3
4
 
4
5
  import { useId } from "../../hooks/useId"
5
6
 
@@ -7,7 +8,14 @@ interface IconProps extends SVGProps<SVGSVGElement> {
7
8
  alt?: string
8
9
  }
9
10
 
10
- export const FeedbackFilledIcon = ({ alt, className, fill, id, ref, ...props }: IconProps) => {
11
+ export const FeedbackFilledIcon = ({
12
+ alt,
13
+ className,
14
+ fill,
15
+ id,
16
+ ref,
17
+ ...props
18
+ }: IconProps): JSX.Element => {
11
19
  const uid = useId(id)
12
20
  const componentProps = {
13
21
  "aria-labelledby": alt ? uid + "__title" : undefined,
@@ -1,5 +1,6 @@
1
+ import type { JSX, SVGProps } from "react"
2
+
1
3
  import clsx from "clsx"
2
- import { type SVGProps } from "react"
3
4
 
4
5
  import { useId } from "../../hooks/useId"
5
6
 
@@ -7,7 +8,14 @@ interface IconProps extends SVGProps<SVGSVGElement> {
7
8
  alt?: string
8
9
  }
9
10
 
10
- export const FeedbackIcon = ({ alt, className, fill, id, ref, ...props }: IconProps) => {
11
+ export const FeedbackIcon = ({
12
+ alt,
13
+ className,
14
+ fill,
15
+ id,
16
+ ref,
17
+ ...props
18
+ }: IconProps): JSX.Element => {
11
19
  const uid = useId(id)
12
20
  const componentProps = {
13
21
  "aria-labelledby": alt ? uid + "__title" : undefined,
@@ -1,5 +1,6 @@
1
+ import type { JSX, SVGProps } from "react"
2
+
1
3
  import clsx from "clsx"
2
- import { type SVGProps } from "react"
3
4
 
4
5
  import { useId } from "../../hooks/useId"
5
6
 
@@ -7,7 +8,7 @@ interface IconProps extends SVGProps<SVGSVGElement> {
7
8
  alt?: string
8
9
  }
9
10
 
10
- export const FilterIcon = ({ alt, className, fill, id, ref, ...props }: IconProps) => {
11
+ export const FilterIcon = ({ alt, className, fill, id, ref, ...props }: IconProps): JSX.Element => {
11
12
  const uid = useId(id)
12
13
  const componentProps = {
13
14
  "aria-labelledby": alt ? uid + "__title" : undefined,
@@ -1,5 +1,6 @@
1
+ import type { JSX, SVGProps } from "react"
2
+
1
3
  import clsx from "clsx"
2
- import { type SVGProps } from "react"
3
4
 
4
5
  import { useId } from "../../hooks/useId"
5
6
 
@@ -7,7 +8,14 @@ interface IconProps extends SVGProps<SVGSVGElement> {
7
8
  alt?: string
8
9
  }
9
10
 
10
- export const GiftCardFilledIcon = ({ alt, className, fill, id, ref, ...props }: IconProps) => {
11
+ export const GiftCardFilledIcon = ({
12
+ alt,
13
+ className,
14
+ fill,
15
+ id,
16
+ ref,
17
+ ...props
18
+ }: IconProps): JSX.Element => {
11
19
  const uid = useId(id)
12
20
  const componentProps = {
13
21
  "aria-labelledby": alt ? uid + "__title" : undefined,
@@ -1,5 +1,6 @@
1
+ import type { JSX, SVGProps } from "react"
2
+
1
3
  import clsx from "clsx"
2
- import { type SVGProps } from "react"
3
4
 
4
5
  import { useId } from "../../hooks/useId"
5
6
 
@@ -7,7 +8,14 @@ interface IconProps extends SVGProps<SVGSVGElement> {
7
8
  alt?: string
8
9
  }
9
10
 
10
- export const GiftCardIcon = ({ alt, className, fill, id, ref, ...props }: IconProps) => {
11
+ export const GiftCardIcon = ({
12
+ alt,
13
+ className,
14
+ fill,
15
+ id,
16
+ ref,
17
+ ...props
18
+ }: IconProps): JSX.Element => {
11
19
  const uid = useId(id)
12
20
  const componentProps = {
13
21
  "aria-labelledby": alt ? uid + "__title" : undefined,