@coopdigital/react 1.3.0 → 1.4.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 (218) hide show
  1. package/dist/components/Searchbox/Searchbox.d.ts +1 -1
  2. package/dist/components/Searchbox/Searchbox.js +4 -8
  3. package/dist/components/icons/AccountCircleFilledIcon.js +2 -2
  4. package/dist/components/icons/AccountCircleIcon.js +2 -2
  5. package/dist/components/icons/AccountFilledIcon.js +2 -2
  6. package/dist/components/icons/AccountIcon.js +2 -2
  7. package/dist/components/icons/AddIcon.js +2 -2
  8. package/dist/components/icons/AppsFilledIcon.js +2 -2
  9. package/dist/components/icons/AppsIcon.js +2 -2
  10. package/dist/components/icons/ArrowDownIcon.js +2 -2
  11. package/dist/components/icons/ArrowLeftIcon.js +2 -2
  12. package/dist/components/icons/ArrowRightIcon.js +2 -2
  13. package/dist/components/icons/ArrowUpIcon.js +2 -2
  14. package/dist/components/icons/BackspaceFilledIcon.js +2 -2
  15. package/dist/components/icons/BackspaceIcon.js +2 -2
  16. package/dist/components/icons/BasketFilledIcon.js +2 -2
  17. package/dist/components/icons/BasketIcon.js +2 -2
  18. package/dist/components/icons/BellFilledIcon.js +2 -2
  19. package/dist/components/icons/BellIcon.js +2 -2
  20. package/dist/components/icons/BroomIcon.js +2 -2
  21. package/dist/components/icons/CalendarFilledIcon.js +2 -2
  22. package/dist/components/icons/CalendarIcon.js +2 -2
  23. package/dist/components/icons/CashFilledIcon.js +2 -2
  24. package/dist/components/icons/CashIcon.js +2 -2
  25. package/dist/components/icons/ChevronDownIcon.js +2 -2
  26. package/dist/components/icons/ChevronLeftIcon.js +2 -2
  27. package/dist/components/icons/ChevronRightIcon.js +2 -2
  28. package/dist/components/icons/ChevronUpIcon.js +2 -2
  29. package/dist/components/icons/CircleBurgerFilledIcon.js +2 -2
  30. package/dist/components/icons/CircleBurgerIcon.js +2 -2
  31. package/dist/components/icons/ClipboardFilledIcon.js +2 -2
  32. package/dist/components/icons/ClipboardIcon.js +2 -2
  33. package/dist/components/icons/ClockFilledIcon.js +2 -2
  34. package/dist/components/icons/ClockIcon.js +2 -2
  35. package/dist/components/icons/CloseAltFilledIcon.js +2 -2
  36. package/dist/components/icons/CloseAltIcon.js +2 -2
  37. package/dist/components/icons/CogIcon.js +2 -2
  38. package/dist/components/icons/CommunityFilledIcon.js +2 -2
  39. package/dist/components/icons/CommunityIcon.js +2 -2
  40. package/dist/components/icons/ComputerIcon.js +2 -2
  41. package/dist/components/icons/ContactFilledIcon.js +2 -2
  42. package/dist/components/icons/ContactIcon.js +2 -2
  43. package/dist/components/icons/ContactlessFilledIcon.js +2 -2
  44. package/dist/components/icons/ContactlessIcon.js +2 -2
  45. package/dist/components/icons/CoopLiveIcon.js +2 -2
  46. package/dist/components/icons/CoopLocationFilledIcon.js +2 -2
  47. package/dist/components/icons/CoopLogoIcon.js +2 -2
  48. package/dist/components/icons/CoopMembershipCardFilledIcon.js +2 -2
  49. package/dist/components/icons/CreditCardFilledIcon.js +2 -2
  50. package/dist/components/icons/CreditCardIcon.js +2 -2
  51. package/dist/components/icons/CrossIcon.js +2 -2
  52. package/dist/components/icons/DocumentIcon.js +2 -2
  53. package/dist/components/icons/DownloadIcon.js +2 -2
  54. package/dist/components/icons/EnterStoreIcon.js +2 -2
  55. package/dist/components/icons/ExitStoreIcon.js +2 -2
  56. package/dist/components/icons/EyeFilledIcon.js +2 -2
  57. package/dist/components/icons/EyeIcon.js +2 -2
  58. package/dist/components/icons/EyeStrikeFilledIcon.js +2 -2
  59. package/dist/components/icons/EyeStrikeIcon.js +2 -2
  60. package/dist/components/icons/FeedbackFilledIcon.js +2 -2
  61. package/dist/components/icons/FeedbackIcon.js +2 -2
  62. package/dist/components/icons/FilterIcon.js +2 -2
  63. package/dist/components/icons/GiftCardFilledIcon.js +2 -2
  64. package/dist/components/icons/GiftCardIcon.js +2 -2
  65. package/dist/components/icons/GiftFilledIcon.js +2 -2
  66. package/dist/components/icons/GiftIcon.js +2 -2
  67. package/dist/components/icons/HelpFilledIcon.js +2 -2
  68. package/dist/components/icons/HelpIcon.js +2 -2
  69. package/dist/components/icons/HomeFilledIcon.js +2 -2
  70. package/dist/components/icons/HomeIcon.js +2 -2
  71. package/dist/components/icons/HowDoIAssistantIcon.js +2 -2
  72. package/dist/components/icons/InfoIcon.js +2 -2
  73. package/dist/components/icons/KebabIcon.js +2 -2
  74. package/dist/components/icons/LoadingIcon.js +2 -2
  75. package/dist/components/icons/LocationFilledIcon.js +2 -2
  76. package/dist/components/icons/LocationIcon.js +2 -2
  77. package/dist/components/icons/LogoutIcon.js +2 -2
  78. package/dist/components/icons/MailIcon.js +2 -2
  79. package/dist/components/icons/MenuIcon.js +2 -2
  80. package/dist/components/icons/MessageIcon.js +2 -2
  81. package/dist/components/icons/MinusIcon.js +2 -2
  82. package/dist/components/icons/NotesFilledIcon.js +2 -2
  83. package/dist/components/icons/NotesIcon.js +2 -2
  84. package/dist/components/icons/OpenNewIcon.js +2 -2
  85. package/dist/components/icons/OwnBagIcon.js +2 -2
  86. package/dist/components/icons/PadlockIcon.js +2 -2
  87. package/dist/components/icons/PencilIcon.js +2 -2
  88. package/dist/components/icons/PhoneIcon.js +2 -2
  89. package/dist/components/icons/PowerIcon.js +2 -2
  90. package/dist/components/icons/SaveFilledIcon.js +2 -2
  91. package/dist/components/icons/SaveIcon.js +2 -2
  92. package/dist/components/icons/ScooterIcon.js +2 -2
  93. package/dist/components/icons/SearchFilledIcon.js +2 -2
  94. package/dist/components/icons/SearchIcon.js +2 -2
  95. package/dist/components/icons/SendIcon.js +2 -2
  96. package/dist/components/icons/SpannerIcon.js +2 -2
  97. package/dist/components/icons/StarFilledIcon.js +2 -2
  98. package/dist/components/icons/StarIcon.js +2 -2
  99. package/dist/components/icons/TickAltFilledIcon.js +2 -2
  100. package/dist/components/icons/TickAltIcon.js +2 -2
  101. package/dist/components/icons/TickIcon.js +2 -2
  102. package/dist/components/icons/TruckIcon.js +2 -2
  103. package/dist/components/icons/UserWipeIcon.js +2 -2
  104. package/dist/components/icons/VoucherFilledIcon.js +2 -2
  105. package/dist/components/icons/VoucherIcon.js +2 -2
  106. package/dist/components/icons/WarningFilledIcon.js +2 -2
  107. package/dist/components/icons/WarningIcon.js +2 -2
  108. package/dist/components/icons/WifiIcon.js +2 -2
  109. package/dist/components/icons/WriteIcon.js +2 -2
  110. package/package.json +8 -8
  111. package/src/components/Searchbox/Searchbox.tsx +6 -9
  112. package/src/components/icons/AccountCircleFilledIcon.tsx +2 -2
  113. package/src/components/icons/AccountCircleIcon.tsx +2 -2
  114. package/src/components/icons/AccountFilledIcon.tsx +2 -2
  115. package/src/components/icons/AccountIcon.tsx +2 -2
  116. package/src/components/icons/AddIcon.tsx +2 -2
  117. package/src/components/icons/AppsFilledIcon.tsx +2 -2
  118. package/src/components/icons/AppsIcon.tsx +2 -2
  119. package/src/components/icons/ArrowDownIcon.tsx +2 -2
  120. package/src/components/icons/ArrowLeftIcon.tsx +2 -2
  121. package/src/components/icons/ArrowRightIcon.tsx +2 -2
  122. package/src/components/icons/ArrowUpIcon.tsx +2 -2
  123. package/src/components/icons/BackspaceFilledIcon.tsx +2 -2
  124. package/src/components/icons/BackspaceIcon.tsx +2 -2
  125. package/src/components/icons/BasketFilledIcon.tsx +2 -2
  126. package/src/components/icons/BasketIcon.tsx +2 -2
  127. package/src/components/icons/BellFilledIcon.tsx +2 -2
  128. package/src/components/icons/BellIcon.tsx +2 -2
  129. package/src/components/icons/BroomIcon.tsx +2 -2
  130. package/src/components/icons/CalendarFilledIcon.tsx +2 -2
  131. package/src/components/icons/CalendarIcon.tsx +2 -2
  132. package/src/components/icons/CashFilledIcon.tsx +2 -2
  133. package/src/components/icons/CashIcon.tsx +2 -2
  134. package/src/components/icons/ChevronDownIcon.tsx +2 -2
  135. package/src/components/icons/ChevronLeftIcon.tsx +2 -2
  136. package/src/components/icons/ChevronRightIcon.tsx +2 -2
  137. package/src/components/icons/ChevronUpIcon.tsx +2 -2
  138. package/src/components/icons/CircleBurgerFilledIcon.tsx +2 -2
  139. package/src/components/icons/CircleBurgerIcon.tsx +2 -2
  140. package/src/components/icons/ClipboardFilledIcon.tsx +2 -2
  141. package/src/components/icons/ClipboardIcon.tsx +2 -2
  142. package/src/components/icons/ClockFilledIcon.tsx +2 -2
  143. package/src/components/icons/ClockIcon.tsx +2 -2
  144. package/src/components/icons/CloseAltFilledIcon.tsx +2 -2
  145. package/src/components/icons/CloseAltIcon.tsx +2 -2
  146. package/src/components/icons/CogIcon.tsx +2 -2
  147. package/src/components/icons/CommunityFilledIcon.tsx +2 -2
  148. package/src/components/icons/CommunityIcon.tsx +2 -2
  149. package/src/components/icons/ComputerIcon.tsx +2 -2
  150. package/src/components/icons/ContactFilledIcon.tsx +2 -2
  151. package/src/components/icons/ContactIcon.tsx +2 -2
  152. package/src/components/icons/ContactlessFilledIcon.tsx +2 -2
  153. package/src/components/icons/ContactlessIcon.tsx +2 -2
  154. package/src/components/icons/CoopLiveIcon.tsx +2 -2
  155. package/src/components/icons/CoopLocationFilledIcon.tsx +2 -2
  156. package/src/components/icons/CoopLogoIcon.tsx +2 -2
  157. package/src/components/icons/CoopMembershipCardFilledIcon.tsx +2 -2
  158. package/src/components/icons/CreditCardFilledIcon.tsx +2 -2
  159. package/src/components/icons/CreditCardIcon.tsx +2 -2
  160. package/src/components/icons/CrossIcon.tsx +2 -2
  161. package/src/components/icons/DocumentIcon.tsx +2 -2
  162. package/src/components/icons/DownloadIcon.tsx +2 -2
  163. package/src/components/icons/EnterStoreIcon.tsx +2 -2
  164. package/src/components/icons/ExitStoreIcon.tsx +2 -2
  165. package/src/components/icons/EyeFilledIcon.tsx +2 -2
  166. package/src/components/icons/EyeIcon.tsx +2 -2
  167. package/src/components/icons/EyeStrikeFilledIcon.tsx +2 -2
  168. package/src/components/icons/EyeStrikeIcon.tsx +2 -2
  169. package/src/components/icons/FeedbackFilledIcon.tsx +2 -2
  170. package/src/components/icons/FeedbackIcon.tsx +2 -2
  171. package/src/components/icons/FilterIcon.tsx +2 -2
  172. package/src/components/icons/GiftCardFilledIcon.tsx +2 -2
  173. package/src/components/icons/GiftCardIcon.tsx +2 -2
  174. package/src/components/icons/GiftFilledIcon.tsx +2 -2
  175. package/src/components/icons/GiftIcon.tsx +2 -2
  176. package/src/components/icons/HelpFilledIcon.tsx +2 -2
  177. package/src/components/icons/HelpIcon.tsx +2 -2
  178. package/src/components/icons/HomeFilledIcon.tsx +2 -2
  179. package/src/components/icons/HomeIcon.tsx +2 -2
  180. package/src/components/icons/HowDoIAssistantIcon.tsx +2 -2
  181. package/src/components/icons/InfoIcon.tsx +2 -2
  182. package/src/components/icons/KebabIcon.tsx +2 -2
  183. package/src/components/icons/LoadingIcon.tsx +2 -2
  184. package/src/components/icons/LocationFilledIcon.tsx +2 -2
  185. package/src/components/icons/LocationIcon.tsx +2 -2
  186. package/src/components/icons/LogoutIcon.tsx +2 -2
  187. package/src/components/icons/MailIcon.tsx +2 -2
  188. package/src/components/icons/MenuIcon.tsx +2 -2
  189. package/src/components/icons/MessageIcon.tsx +2 -2
  190. package/src/components/icons/MinusIcon.tsx +2 -2
  191. package/src/components/icons/NotesFilledIcon.tsx +2 -2
  192. package/src/components/icons/NotesIcon.tsx +2 -2
  193. package/src/components/icons/OpenNewIcon.tsx +2 -2
  194. package/src/components/icons/OwnBagIcon.tsx +2 -2
  195. package/src/components/icons/PadlockIcon.tsx +2 -2
  196. package/src/components/icons/PencilIcon.tsx +2 -2
  197. package/src/components/icons/PhoneIcon.tsx +2 -2
  198. package/src/components/icons/PowerIcon.tsx +2 -2
  199. package/src/components/icons/SaveFilledIcon.tsx +2 -2
  200. package/src/components/icons/SaveIcon.tsx +2 -2
  201. package/src/components/icons/ScooterIcon.tsx +2 -2
  202. package/src/components/icons/SearchFilledIcon.tsx +2 -2
  203. package/src/components/icons/SearchIcon.tsx +3 -10
  204. package/src/components/icons/SendIcon.tsx +2 -2
  205. package/src/components/icons/SpannerIcon.tsx +2 -2
  206. package/src/components/icons/StarFilledIcon.tsx +2 -2
  207. package/src/components/icons/StarIcon.tsx +2 -2
  208. package/src/components/icons/TickAltFilledIcon.tsx +2 -2
  209. package/src/components/icons/TickAltIcon.tsx +2 -2
  210. package/src/components/icons/TickIcon.tsx +2 -2
  211. package/src/components/icons/TruckIcon.tsx +2 -2
  212. package/src/components/icons/UserWipeIcon.tsx +2 -2
  213. package/src/components/icons/VoucherFilledIcon.tsx +2 -2
  214. package/src/components/icons/VoucherIcon.tsx +2 -2
  215. package/src/components/icons/WarningFilledIcon.tsx +2 -2
  216. package/src/components/icons/WarningIcon.tsx +2 -2
  217. package/src/components/icons/WifiIcon.tsx +2 -2
  218. package/src/components/icons/WriteIcon.tsx +2 -2
@@ -10,7 +10,7 @@ interface IconProps extends SVGProps<SVGSVGElement> {
10
10
  export const TickIcon = ({ alt, className, fill, id, ref, ...props }: IconProps) => {
11
11
  const uid = useId(id)
12
12
  const componentProps = {
13
- "aria-labelledby": alt ? uid + "-title" : undefined,
13
+ "aria-labelledby": alt ? uid + "__title" : undefined,
14
14
  className: clsx("coop-icon", className),
15
15
  "data-icon": "tick",
16
16
  fill: fill ?? "currentColor",
@@ -21,7 +21,7 @@ export const TickIcon = ({ alt, className, fill, id, ref, ...props }: IconProps)
21
21
  }
22
22
  return (
23
23
  <svg {...componentProps} ref={ref}>
24
- {alt ? <title id={uid + "-title"}>{alt}</title> : null}
24
+ {alt ? <title id={uid + "__title"}>{alt}</title> : null}
25
25
  <path d="M28.293 6.293a1 1 0 0 1 1.414 1.414l-18 18a1 1 0 0 1-1.414 0l-8-8a1 1 0 1 1 1.414-1.414L11 23.586z" />
26
26
  </svg>
27
27
  )
@@ -10,7 +10,7 @@ interface IconProps extends SVGProps<SVGSVGElement> {
10
10
  export const TruckIcon = ({ alt, className, fill, id, ref, ...props }: IconProps) => {
11
11
  const uid = useId(id)
12
12
  const componentProps = {
13
- "aria-labelledby": alt ? uid + "-title" : undefined,
13
+ "aria-labelledby": alt ? uid + "__title" : undefined,
14
14
  className: clsx("coop-icon", className),
15
15
  "data-icon": "truck",
16
16
  fill: fill ?? "currentColor",
@@ -21,7 +21,7 @@ export const TruckIcon = ({ alt, className, fill, id, ref, ...props }: IconProps
21
21
  }
22
22
  return (
23
23
  <svg {...componentProps} ref={ref}>
24
- {alt ? <title id={uid + "-title"}>{alt}</title> : null}
24
+ {alt ? <title id={uid + "__title"}>{alt}</title> : null}
25
25
  <path d="M20 6a2 2 0 0 1 2 2h4.29l.19.009a2 2 0 0 1 1.8 1.792l.5 5q.017.181.002.358A2 2 0 0 1 30 17v7a2 2 0 0 1-2 2h-1.258a4.5 4.5 0 0 1-8.484 0h-4.516a4.5 4.5 0 0 1-8.484 0H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2zM9.5 22a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5m13 0a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5m-4.483 2.89q0 .022.003.043a5 5 0 0 1-.014-.202zM4 24h1.028a4.5 4.5 0 0 1 8.944 0h4.056a4.5 4.5 0 0 1 8.944 0H28v-7h-6a2 2 0 0 1-.39-.04q-.038-.008-.077-.018-.05-.011-.1-.025-.042-.013-.083-.027a2 2 0 0 1-.266-.114l-.066-.035-.094-.057-.063-.04q-.038-.028-.075-.057a2 2 0 0 1-.374-.374q-.022-.028-.043-.056l-.027-.039q-.014-.022-.027-.043-.03-.045-.057-.094l-.035-.066a2 2 0 0 1-.114-.266q-.015-.04-.027-.083-.015-.054-.027-.109l-.017-.067a2 2 0 0 1-.027-.186L20 15V8H4zm18-9h4.79l-.5-5H22zm-8.021 9.933" />
26
26
  </svg>
27
27
  )
@@ -10,7 +10,7 @@ interface IconProps extends SVGProps<SVGSVGElement> {
10
10
  export const UserWipeIcon = ({ alt, className, fill, id, ref, ...props }: IconProps) => {
11
11
  const uid = useId(id)
12
12
  const componentProps = {
13
- "aria-labelledby": alt ? uid + "-title" : undefined,
13
+ "aria-labelledby": alt ? uid + "__title" : undefined,
14
14
  className: clsx("coop-icon", className),
15
15
  "data-icon": "user-wipe",
16
16
  fill: fill ?? "currentColor",
@@ -21,7 +21,7 @@ export const UserWipeIcon = ({ alt, className, fill, id, ref, ...props }: IconPr
21
21
  }
22
22
  return (
23
23
  <svg {...componentProps} ref={ref}>
24
- {alt ? <title id={uid + "-title"}>{alt}</title> : null}
24
+ {alt ? <title id={uid + "__title"}>{alt}</title> : null}
25
25
  <path d="M3.707 5.093a1 1 0 0 1 1.26-.126l22.2 22.2a1 1 0 0 1-1.54 1.26L24.398 27.2a14 14 0 0 1-4.497 2.248l-.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 16c0-3.152 1.042-6.06 2.8-8.4L3.707 6.507a1 1 0 0 1 0-1.414M16.001 20a9.99 9.99 0 0 0-8.397 4.57A11.95 11.95 0 0 0 16 28c2.599 0 5-.83 6.964-2.235L17.28 20.08a10 10 0 0 0-1.28-.081M16 2c7.732 0 14 6.268 14 14 0 3.145-1.04 6.045-2.791 8.38l-1.434-1.433c.435-.61.817-1.26 1.132-1.947A11.95 11.95 0 0 0 28 16c0-6.627-5.373-12-12-12-2.592 0-4.99.823-6.952 2.22L7.615 4.787A13.94 13.94 0 0 1 16 2M6.232 9.032A11.94 11.94 0 0 0 4 16a11.95 11.95 0 0 0 2.256 6.997 12.03 12.03 0 0 1 5.92-4.374 5.99 5.99 0 0 1-2.074-5.72zm5.872 5.871a4 4 0 0 0 2.99 2.992zM16 8a6 6 0 0 1 4.636 9.808l-1.424-1.424a4 4 0 0 0-5.597-5.597l-1.424-1.424A5.98 5.98 0 0 1 16 8" />
26
26
  </svg>
27
27
  )
@@ -10,7 +10,7 @@ interface IconProps extends SVGProps<SVGSVGElement> {
10
10
  export const VoucherFilledIcon = ({ alt, className, fill, id, ref, ...props }: IconProps) => {
11
11
  const uid = useId(id)
12
12
  const componentProps = {
13
- "aria-labelledby": alt ? uid + "-title" : undefined,
13
+ "aria-labelledby": alt ? uid + "__title" : undefined,
14
14
  className: clsx("coop-icon", className),
15
15
  "data-icon": "voucher-filled",
16
16
  fill: fill ?? "currentColor",
@@ -21,7 +21,7 @@ export const VoucherFilledIcon = ({ alt, className, fill, id, ref, ...props }: I
21
21
  }
22
22
  return (
23
23
  <svg {...componentProps} ref={ref}>
24
- {alt ? <title id={uid + "-title"}>{alt}</title> : null}
24
+ {alt ? <title id={uid + "__title"}>{alt}</title> : null}
25
25
  <path d="M28 6a2 2 0 0 1 2 2v3.05c0 .88-.62 1.619-1.291 2.188A3.61 3.61 0 0 0 27.429 16c0 1.106.497 2.096 1.28 2.76.67.57 1.291 1.308 1.291 2.188V24a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2zM7 17a1 1 0 1 0 0 2h10a1 1 0 1 0 0-2zm0-4a1 1 0 1 0 0 2h6a1 1 0 1 0 0-2z" />
26
26
  </svg>
27
27
  )
@@ -10,7 +10,7 @@ interface IconProps extends SVGProps<SVGSVGElement> {
10
10
  export const VoucherIcon = ({ alt, className, fill, id, ref, ...props }: IconProps) => {
11
11
  const uid = useId(id)
12
12
  const componentProps = {
13
- "aria-labelledby": alt ? uid + "-title" : undefined,
13
+ "aria-labelledby": alt ? uid + "__title" : undefined,
14
14
  className: clsx("coop-icon", className),
15
15
  "data-icon": "voucher",
16
16
  fill: fill ?? "currentColor",
@@ -21,7 +21,7 @@ export const VoucherIcon = ({ alt, className, fill, id, ref, ...props }: IconPro
21
21
  }
22
22
  return (
23
23
  <svg {...componentProps} ref={ref}>
24
- {alt ? <title id={uid + "-title"}>{alt}</title> : null}
24
+ {alt ? <title id={uid + "__title"}>{alt}</title> : null}
25
25
  <path d="M28.204 6.01A2 2 0 0 1 30 8v3.05c0 .88-.62 1.619-1.291 2.188l-.144.128A3.61 3.61 0 0 0 27.43 16c0 1.106.496 2.096 1.279 2.76.67.57 1.291 1.308 1.291 2.188V24l-.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 24h24v-3.038a.6.6 0 0 0-.068-.13 2.8 2.8 0 0 0-.517-.546A5.61 5.61 0 0 1 25.43 16c0-1.719.774-3.258 1.984-4.286.255-.217.423-.402.518-.547.088-.135.068-.165.068-.116V8H4zm13-7a1 1 0 1 1 0 2H7a1 1 0 1 1 0-2zm-4-4a1 1 0 1 1 0 2H7a1 1 0 1 1 0-2z" />
26
26
  </svg>
27
27
  )
@@ -10,7 +10,7 @@ interface IconProps extends SVGProps<SVGSVGElement> {
10
10
  export const WarningFilledIcon = ({ alt, className, fill, id, ref, ...props }: IconProps) => {
11
11
  const uid = useId(id)
12
12
  const componentProps = {
13
- "aria-labelledby": alt ? uid + "-title" : undefined,
13
+ "aria-labelledby": alt ? uid + "__title" : undefined,
14
14
  className: clsx("coop-icon", className),
15
15
  "data-icon": "warning-filled",
16
16
  fill: fill ?? "currentColor",
@@ -21,7 +21,7 @@ export const WarningFilledIcon = ({ alt, className, fill, id, ref, ...props }: I
21
21
  }
22
22
  return (
23
23
  <svg {...componentProps} ref={ref}>
24
- {alt ? <title id={uid + "-title"}>{alt}</title> : null}
24
+ {alt ? <title id={uid + "__title"}>{alt}</title> : null}
25
25
  <path d="M14.239 5.27c.755-1.402 2.767-1.402 3.522 0l10.652 19.782C29.13 26.384 28.165 28 26.652 28H5.348c-1.513 0-2.478-1.616-1.76-2.948zM16 21a1 1 0 1 0 0 2 1 1 0 0 0 0-2M16 13a1 1 0 0 0-1 1v5a1 1 0 0 0 2 0v-5c0-.552-.448-1-1-1" />
26
26
  </svg>
27
27
  )
@@ -10,7 +10,7 @@ interface IconProps extends SVGProps<SVGSVGElement> {
10
10
  export const WarningIcon = ({ alt, className, fill, id, ref, ...props }: IconProps) => {
11
11
  const uid = useId(id)
12
12
  const componentProps = {
13
- "aria-labelledby": alt ? uid + "-title" : undefined,
13
+ "aria-labelledby": alt ? uid + "__title" : undefined,
14
14
  className: clsx("coop-icon", className),
15
15
  "data-icon": "warning",
16
16
  fill: fill ?? "currentColor",
@@ -21,7 +21,7 @@ export const WarningIcon = ({ alt, className, fill, id, ref, ...props }: IconPro
21
21
  }
22
22
  return (
23
23
  <svg {...componentProps} ref={ref}>
24
- {alt ? <title id={uid + "-title"}>{alt}</title> : null}
24
+ {alt ? <title id={uid + "__title"}>{alt}</title> : null}
25
25
  <path d="M14.239 5.27c.755-1.402 2.766-1.402 3.521 0l10.652 19.782c.717 1.332-.248 2.948-1.76 2.948H5.347l-.14-.005a2 2 0 0 1-1.683-2.817l.063-.126zM5.349 26H26.65L16 6.219zm10.65-5a1 1 0 1 1 0 2 1 1 0 0 1 0-2m0-8a1 1 0 0 1 1 1v5a1 1 0 0 1-2 0v-5a1 1 0 0 1 1-1" />
26
26
  </svg>
27
27
  )
@@ -10,7 +10,7 @@ interface IconProps extends SVGProps<SVGSVGElement> {
10
10
  export const WifiIcon = ({ alt, className, fill, id, ref, ...props }: IconProps) => {
11
11
  const uid = useId(id)
12
12
  const componentProps = {
13
- "aria-labelledby": alt ? uid + "-title" : undefined,
13
+ "aria-labelledby": alt ? uid + "__title" : undefined,
14
14
  className: clsx("coop-icon", className),
15
15
  "data-icon": "wifi",
16
16
  fill: fill ?? "currentColor",
@@ -21,7 +21,7 @@ export const WifiIcon = ({ alt, className, fill, id, ref, ...props }: IconProps)
21
21
  }
22
22
  return (
23
23
  <svg {...componentProps} ref={ref}>
24
- {alt ? <title id={uid + "-title"}>{alt}</title> : null}
24
+ {alt ? <title id={uid + "__title"}>{alt}</title> : null}
25
25
  <path d="M16 22a2 2 0 1 1 0 4 2 2 0 0 1 0-4m-7.987-4.836c4.419-4.418 11.583-4.418 16.001 0a1.5 1.5 0 0 1-2.12 2.121 8.316 8.316 0 0 0-11.76 0 1.5 1.5 0 1 1-2.12-2.12m-5.552-5.55c7.485-7.485 19.621-7.485 27.106 0a1.5 1.5 0 0 1-2.122 2.12c-6.314-6.313-16.55-6.313-22.863 0a1.5 1.5 0 0 1-2.121-2.12" />
26
26
  </svg>
27
27
  )
@@ -10,7 +10,7 @@ interface IconProps extends SVGProps<SVGSVGElement> {
10
10
  export const WriteIcon = ({ alt, className, fill, id, ref, ...props }: IconProps) => {
11
11
  const uid = useId(id)
12
12
  const componentProps = {
13
- "aria-labelledby": alt ? uid + "-title" : undefined,
13
+ "aria-labelledby": alt ? uid + "__title" : undefined,
14
14
  className: clsx("coop-icon", className),
15
15
  "data-icon": "write",
16
16
  fill: fill ?? "currentColor",
@@ -21,7 +21,7 @@ export const WriteIcon = ({ alt, className, fill, id, ref, ...props }: IconProps
21
21
  }
22
22
  return (
23
23
  <svg {...componentProps} ref={ref}>
24
- {alt ? <title id={uid + "-title"}>{alt}</title> : null}
24
+ {alt ? <title id={uid + "__title"}>{alt}</title> : null}
25
25
  <path d="M19.67 10.13 17.9 11.9H7a1 1 0 0 1 0-2h12a1 1 0 0 1 .67.23M14.9 14.9l-2 2H7a1 1 0 0 1 0-2ZM20 15.9a1 1 0 0 1-1 1h-1.87l2-2a1 1 0 0 1 .82.59.85.85 0 0 1 .05.41M19 21.9H7a1 1 0 0 1 0-2h12a1 1 0 1 1 0 2" />
26
26
  <path d="M24.08 10v20h-22V6h21.73l1.54-1.54a1.9 1.9 0 0 0-1-.44H2.07a2 2 0 0 0-2 2V30a2 2 0 0 0 2 2h22a2 2 0 0 0 2-2V8Z" />
27
27
  <path d="M30.62 3.41 28.5 1.29a1 1 0 0 0-1.42 0L22.38 6l-3.9 3.9-5 5-1.33 1.33a1 1 0 0 0-.27.48v.19l-.6 2.57a.8.8 0 0 0 0 .43 1 1 0 0 0 1.19.77l2.74-.67a.64.64 0 0 0 .29-.13.6.6 0 0 0 .19-.14l2.85-2.86 1.4-1.39L30.62 4.82a1 1 0 0 0 0-1.41M15 19.06l-2.75.63.62-2.75 6.82-6.81L23.81 6l1.54-1.54L27.79 2l2.13 2.12Z" />