@coopdigital/react 1.2.6 → 1.4.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 (237) hide show
  1. package/dist/components/Button/Button.js +2 -2
  2. package/dist/components/Checkbox/Checkbox.js +2 -2
  3. package/dist/components/DatePicker/DatePicker.js +1 -1
  4. package/dist/components/Fieldset/Fieldset.js +2 -2
  5. package/dist/components/Radio/Radio.js +2 -2
  6. package/dist/components/Searchbox/Searchbox.d.ts +1 -1
  7. package/dist/components/Searchbox/Searchbox.js +6 -10
  8. package/dist/components/Select/Select.js +2 -2
  9. package/dist/components/TextInput/TextInput.js +2 -2
  10. package/dist/components/Textarea/Textarea.js +2 -2
  11. package/dist/components/ValidationSummary/ValidationSummary.d.ts +10 -2
  12. package/dist/components/ValidationSummary/ValidationSummary.js +2 -2
  13. package/dist/components/icons/AccountCircleFilledIcon.js +2 -2
  14. package/dist/components/icons/AccountCircleIcon.js +2 -2
  15. package/dist/components/icons/AccountFilledIcon.js +2 -2
  16. package/dist/components/icons/AccountIcon.js +2 -2
  17. package/dist/components/icons/AddIcon.js +2 -2
  18. package/dist/components/icons/AppsFilledIcon.js +2 -2
  19. package/dist/components/icons/AppsIcon.js +2 -2
  20. package/dist/components/icons/ArrowDownIcon.js +2 -2
  21. package/dist/components/icons/ArrowLeftIcon.js +2 -2
  22. package/dist/components/icons/ArrowRightIcon.js +2 -2
  23. package/dist/components/icons/ArrowUpIcon.js +2 -2
  24. package/dist/components/icons/BackspaceFilledIcon.js +2 -2
  25. package/dist/components/icons/BackspaceIcon.js +2 -2
  26. package/dist/components/icons/BasketFilledIcon.js +2 -2
  27. package/dist/components/icons/BasketIcon.js +2 -2
  28. package/dist/components/icons/BellFilledIcon.js +2 -2
  29. package/dist/components/icons/BellIcon.js +2 -2
  30. package/dist/components/icons/BroomIcon.js +2 -2
  31. package/dist/components/icons/CalendarFilledIcon.js +2 -2
  32. package/dist/components/icons/CalendarIcon.js +2 -2
  33. package/dist/components/icons/CashFilledIcon.js +2 -2
  34. package/dist/components/icons/CashIcon.js +2 -2
  35. package/dist/components/icons/ChevronDownIcon.js +2 -2
  36. package/dist/components/icons/ChevronLeftIcon.js +2 -2
  37. package/dist/components/icons/ChevronRightIcon.js +2 -2
  38. package/dist/components/icons/ChevronUpIcon.js +2 -2
  39. package/dist/components/icons/CircleBurgerFilledIcon.js +2 -2
  40. package/dist/components/icons/CircleBurgerIcon.js +2 -2
  41. package/dist/components/icons/ClipboardFilledIcon.js +2 -2
  42. package/dist/components/icons/ClipboardIcon.js +2 -2
  43. package/dist/components/icons/ClockFilledIcon.js +2 -2
  44. package/dist/components/icons/ClockIcon.js +2 -2
  45. package/dist/components/icons/CloseAltFilledIcon.js +2 -2
  46. package/dist/components/icons/CloseAltIcon.js +2 -2
  47. package/dist/components/icons/CogIcon.js +2 -2
  48. package/dist/components/icons/CommunityFilledIcon.js +2 -2
  49. package/dist/components/icons/CommunityIcon.js +2 -2
  50. package/dist/components/icons/ComputerIcon.js +2 -2
  51. package/dist/components/icons/ContactFilledIcon.js +2 -2
  52. package/dist/components/icons/ContactIcon.js +2 -2
  53. package/dist/components/icons/ContactlessFilledIcon.js +2 -2
  54. package/dist/components/icons/ContactlessIcon.js +2 -2
  55. package/dist/components/icons/CoopLiveIcon.js +2 -2
  56. package/dist/components/icons/CoopLocationFilledIcon.js +2 -2
  57. package/dist/components/icons/CoopLogoIcon.js +2 -2
  58. package/dist/components/icons/CoopMembershipCardFilledIcon.js +2 -2
  59. package/dist/components/icons/CreditCardFilledIcon.js +2 -2
  60. package/dist/components/icons/CreditCardIcon.js +2 -2
  61. package/dist/components/icons/CrossIcon.js +2 -2
  62. package/dist/components/icons/DocumentIcon.js +2 -2
  63. package/dist/components/icons/DownloadIcon.js +2 -2
  64. package/dist/components/icons/EnterStoreIcon.js +2 -2
  65. package/dist/components/icons/ExitStoreIcon.js +2 -2
  66. package/dist/components/icons/EyeFilledIcon.js +2 -2
  67. package/dist/components/icons/EyeIcon.js +2 -2
  68. package/dist/components/icons/EyeStrikeFilledIcon.js +2 -2
  69. package/dist/components/icons/EyeStrikeIcon.js +2 -2
  70. package/dist/components/icons/FeedbackFilledIcon.js +2 -2
  71. package/dist/components/icons/FeedbackIcon.js +2 -2
  72. package/dist/components/icons/FilterIcon.js +2 -2
  73. package/dist/components/icons/GiftCardFilledIcon.js +2 -2
  74. package/dist/components/icons/GiftCardIcon.js +2 -2
  75. package/dist/components/icons/GiftFilledIcon.js +2 -2
  76. package/dist/components/icons/GiftIcon.js +2 -2
  77. package/dist/components/icons/HelpFilledIcon.js +2 -2
  78. package/dist/components/icons/HelpIcon.js +2 -2
  79. package/dist/components/icons/HomeFilledIcon.js +2 -2
  80. package/dist/components/icons/HomeIcon.js +2 -2
  81. package/dist/components/icons/HowDoIAssistantIcon.js +2 -2
  82. package/dist/components/icons/InfoIcon.js +2 -2
  83. package/dist/components/icons/KebabIcon.js +2 -2
  84. package/dist/components/icons/LoadingIcon.js +2 -2
  85. package/dist/components/icons/LocationFilledIcon.js +2 -2
  86. package/dist/components/icons/LocationIcon.js +2 -2
  87. package/dist/components/icons/LogoutIcon.js +2 -2
  88. package/dist/components/icons/MailIcon.js +2 -2
  89. package/dist/components/icons/MenuIcon.js +2 -2
  90. package/dist/components/icons/MessageIcon.js +2 -2
  91. package/dist/components/icons/MinusIcon.js +2 -2
  92. package/dist/components/icons/NotesFilledIcon.js +2 -2
  93. package/dist/components/icons/NotesIcon.js +2 -2
  94. package/dist/components/icons/OpenNewIcon.js +2 -2
  95. package/dist/components/icons/OwnBagIcon.js +2 -2
  96. package/dist/components/icons/PadlockIcon.js +2 -2
  97. package/dist/components/icons/PencilIcon.js +2 -2
  98. package/dist/components/icons/PhoneIcon.js +2 -2
  99. package/dist/components/icons/PowerIcon.js +2 -2
  100. package/dist/components/icons/SaveFilledIcon.js +2 -2
  101. package/dist/components/icons/SaveIcon.js +2 -2
  102. package/dist/components/icons/ScooterIcon.js +2 -2
  103. package/dist/components/icons/SearchFilledIcon.js +2 -2
  104. package/dist/components/icons/SearchIcon.js +2 -2
  105. package/dist/components/icons/SendIcon.js +2 -2
  106. package/dist/components/icons/SpannerIcon.js +2 -2
  107. package/dist/components/icons/StarFilledIcon.js +2 -2
  108. package/dist/components/icons/StarIcon.js +2 -2
  109. package/dist/components/icons/TickAltFilledIcon.js +2 -2
  110. package/dist/components/icons/TickAltIcon.js +2 -2
  111. package/dist/components/icons/TickIcon.js +2 -2
  112. package/dist/components/icons/TruckIcon.js +2 -2
  113. package/dist/components/icons/UserWipeIcon.js +2 -2
  114. package/dist/components/icons/VoucherFilledIcon.js +2 -2
  115. package/dist/components/icons/VoucherIcon.js +2 -2
  116. package/dist/components/icons/WarningFilledIcon.js +2 -2
  117. package/dist/components/icons/WarningIcon.js +2 -2
  118. package/dist/components/icons/WifiIcon.js +2 -2
  119. package/dist/components/icons/WriteIcon.js +2 -2
  120. package/package.json +4 -4
  121. package/src/components/Button/Button.tsx +2 -2
  122. package/src/components/Checkbox/Checkbox.tsx +2 -2
  123. package/src/components/DatePicker/DatePicker.tsx +1 -1
  124. package/src/components/Fieldset/Fieldset.tsx +2 -2
  125. package/src/components/Radio/Radio.tsx +2 -2
  126. package/src/components/Searchbox/Searchbox.tsx +8 -11
  127. package/src/components/Select/Select.tsx +2 -2
  128. package/src/components/TextInput/TextInput.tsx +2 -2
  129. package/src/components/Textarea/Textarea.tsx +2 -2
  130. package/src/components/ValidationSummary/ValidationSummary.tsx +11 -2
  131. package/src/components/icons/AccountCircleFilledIcon.tsx +2 -2
  132. package/src/components/icons/AccountCircleIcon.tsx +2 -2
  133. package/src/components/icons/AccountFilledIcon.tsx +2 -2
  134. package/src/components/icons/AccountIcon.tsx +2 -2
  135. package/src/components/icons/AddIcon.tsx +2 -2
  136. package/src/components/icons/AppsFilledIcon.tsx +2 -2
  137. package/src/components/icons/AppsIcon.tsx +2 -2
  138. package/src/components/icons/ArrowDownIcon.tsx +2 -2
  139. package/src/components/icons/ArrowLeftIcon.tsx +2 -2
  140. package/src/components/icons/ArrowRightIcon.tsx +2 -2
  141. package/src/components/icons/ArrowUpIcon.tsx +2 -2
  142. package/src/components/icons/BackspaceFilledIcon.tsx +2 -2
  143. package/src/components/icons/BackspaceIcon.tsx +2 -2
  144. package/src/components/icons/BasketFilledIcon.tsx +2 -2
  145. package/src/components/icons/BasketIcon.tsx +2 -2
  146. package/src/components/icons/BellFilledIcon.tsx +2 -2
  147. package/src/components/icons/BellIcon.tsx +2 -2
  148. package/src/components/icons/BroomIcon.tsx +2 -2
  149. package/src/components/icons/CalendarFilledIcon.tsx +2 -2
  150. package/src/components/icons/CalendarIcon.tsx +2 -2
  151. package/src/components/icons/CashFilledIcon.tsx +2 -2
  152. package/src/components/icons/CashIcon.tsx +2 -2
  153. package/src/components/icons/ChevronDownIcon.tsx +2 -2
  154. package/src/components/icons/ChevronLeftIcon.tsx +2 -2
  155. package/src/components/icons/ChevronRightIcon.tsx +2 -2
  156. package/src/components/icons/ChevronUpIcon.tsx +2 -2
  157. package/src/components/icons/CircleBurgerFilledIcon.tsx +2 -2
  158. package/src/components/icons/CircleBurgerIcon.tsx +2 -2
  159. package/src/components/icons/ClipboardFilledIcon.tsx +2 -2
  160. package/src/components/icons/ClipboardIcon.tsx +2 -2
  161. package/src/components/icons/ClockFilledIcon.tsx +2 -2
  162. package/src/components/icons/ClockIcon.tsx +2 -2
  163. package/src/components/icons/CloseAltFilledIcon.tsx +2 -2
  164. package/src/components/icons/CloseAltIcon.tsx +2 -2
  165. package/src/components/icons/CogIcon.tsx +2 -2
  166. package/src/components/icons/CommunityFilledIcon.tsx +2 -2
  167. package/src/components/icons/CommunityIcon.tsx +2 -2
  168. package/src/components/icons/ComputerIcon.tsx +2 -2
  169. package/src/components/icons/ContactFilledIcon.tsx +2 -2
  170. package/src/components/icons/ContactIcon.tsx +2 -2
  171. package/src/components/icons/ContactlessFilledIcon.tsx +2 -2
  172. package/src/components/icons/ContactlessIcon.tsx +2 -2
  173. package/src/components/icons/CoopLiveIcon.tsx +2 -2
  174. package/src/components/icons/CoopLocationFilledIcon.tsx +2 -2
  175. package/src/components/icons/CoopLogoIcon.tsx +2 -2
  176. package/src/components/icons/CoopMembershipCardFilledIcon.tsx +2 -2
  177. package/src/components/icons/CreditCardFilledIcon.tsx +2 -2
  178. package/src/components/icons/CreditCardIcon.tsx +2 -2
  179. package/src/components/icons/CrossIcon.tsx +2 -2
  180. package/src/components/icons/DocumentIcon.tsx +2 -2
  181. package/src/components/icons/DownloadIcon.tsx +2 -2
  182. package/src/components/icons/EnterStoreIcon.tsx +2 -2
  183. package/src/components/icons/ExitStoreIcon.tsx +2 -2
  184. package/src/components/icons/EyeFilledIcon.tsx +2 -2
  185. package/src/components/icons/EyeIcon.tsx +2 -2
  186. package/src/components/icons/EyeStrikeFilledIcon.tsx +2 -2
  187. package/src/components/icons/EyeStrikeIcon.tsx +2 -2
  188. package/src/components/icons/FeedbackFilledIcon.tsx +2 -2
  189. package/src/components/icons/FeedbackIcon.tsx +2 -2
  190. package/src/components/icons/FilterIcon.tsx +2 -2
  191. package/src/components/icons/GiftCardFilledIcon.tsx +2 -2
  192. package/src/components/icons/GiftCardIcon.tsx +2 -2
  193. package/src/components/icons/GiftFilledIcon.tsx +2 -2
  194. package/src/components/icons/GiftIcon.tsx +2 -2
  195. package/src/components/icons/HelpFilledIcon.tsx +2 -2
  196. package/src/components/icons/HelpIcon.tsx +2 -2
  197. package/src/components/icons/HomeFilledIcon.tsx +2 -2
  198. package/src/components/icons/HomeIcon.tsx +2 -2
  199. package/src/components/icons/HowDoIAssistantIcon.tsx +2 -2
  200. package/src/components/icons/InfoIcon.tsx +2 -2
  201. package/src/components/icons/KebabIcon.tsx +2 -2
  202. package/src/components/icons/LoadingIcon.tsx +2 -2
  203. package/src/components/icons/LocationFilledIcon.tsx +2 -2
  204. package/src/components/icons/LocationIcon.tsx +2 -2
  205. package/src/components/icons/LogoutIcon.tsx +2 -2
  206. package/src/components/icons/MailIcon.tsx +2 -2
  207. package/src/components/icons/MenuIcon.tsx +2 -2
  208. package/src/components/icons/MessageIcon.tsx +2 -2
  209. package/src/components/icons/MinusIcon.tsx +2 -2
  210. package/src/components/icons/NotesFilledIcon.tsx +2 -2
  211. package/src/components/icons/NotesIcon.tsx +2 -2
  212. package/src/components/icons/OpenNewIcon.tsx +2 -2
  213. package/src/components/icons/OwnBagIcon.tsx +2 -2
  214. package/src/components/icons/PadlockIcon.tsx +2 -2
  215. package/src/components/icons/PencilIcon.tsx +2 -2
  216. package/src/components/icons/PhoneIcon.tsx +2 -2
  217. package/src/components/icons/PowerIcon.tsx +2 -2
  218. package/src/components/icons/SaveFilledIcon.tsx +2 -2
  219. package/src/components/icons/SaveIcon.tsx +2 -2
  220. package/src/components/icons/ScooterIcon.tsx +2 -2
  221. package/src/components/icons/SearchFilledIcon.tsx +2 -2
  222. package/src/components/icons/SearchIcon.tsx +3 -10
  223. package/src/components/icons/SendIcon.tsx +2 -2
  224. package/src/components/icons/SpannerIcon.tsx +2 -2
  225. package/src/components/icons/StarFilledIcon.tsx +2 -2
  226. package/src/components/icons/StarIcon.tsx +2 -2
  227. package/src/components/icons/TickAltFilledIcon.tsx +2 -2
  228. package/src/components/icons/TickAltIcon.tsx +2 -2
  229. package/src/components/icons/TickIcon.tsx +2 -2
  230. package/src/components/icons/TruckIcon.tsx +2 -2
  231. package/src/components/icons/UserWipeIcon.tsx +2 -2
  232. package/src/components/icons/VoucherFilledIcon.tsx +2 -2
  233. package/src/components/icons/VoucherIcon.tsx +2 -2
  234. package/src/components/icons/WarningFilledIcon.tsx +2 -2
  235. package/src/components/icons/WarningIcon.tsx +2 -2
  236. package/src/components/icons/WifiIcon.tsx +2 -2
  237. package/src/components/icons/WriteIcon.tsx +2 -2
@@ -6,7 +6,7 @@ import React, { useState, useCallback } from 'react';
6
6
  import { hasUserBg } from '../../utils/index.js';
7
7
  import { LoadingIcon } from '../icons/LoadingIcon.js';
8
8
 
9
- const Button = ({ as, children, className, href, isDisabled = false, isFullWidth = false, isLoading = false, loadingText = "Loading", onClick, ref, size = "md", variant = "solid", ...props }) => {
9
+ const Button = ({ as, children, className, href, isDisabled = false, isFullWidth = false, isLoading = false, loadingText = "Loading", onClick, ref, size, variant = "solid", ...props }) => {
10
10
  const element = as !== null && as !== void 0 ? as : (href ? "a" : "button");
11
11
  const [isPending, setIsPending] = useState(false);
12
12
  const handleClick = useCallback(async (event) => {
@@ -24,7 +24,7 @@ const Button = ({ as, children, className, href, isDisabled = false, isFullWidth
24
24
  "aria-disabled": isDisabled ? true : undefined,
25
25
  className: clsx(variant == "text" ? "coop-link" : "coop-button", !hasUserBg(className) && variant === "solid" && "bg-teal", className),
26
26
  "data-loading": isLoading || isPending ? true : undefined,
27
- "data-size": size.length && size !== "md" ? size : undefined,
27
+ "data-size": size !== null && size !== void 0 ? size : undefined,
28
28
  "data-variant": variant !== "text" ? variant : undefined,
29
29
  "data-width": isFullWidth ? "full" : undefined,
30
30
  href,
@@ -2,12 +2,12 @@ import { jsx } from 'react/jsx-runtime';
2
2
  import clsx from 'clsx';
3
3
  import { useId } from '../../hooks/useId.js';
4
4
 
5
- const Checkbox = ({ className, disabled, error = false, id, name, ref, size = "md", ...props }) => {
5
+ const Checkbox = ({ className, disabled, error = false, id, name, ref, size, ...props }) => {
6
6
  const uid = useId(id);
7
7
  const componentProps = {
8
8
  className: clsx("coop-checkbox", "coop-field-element", className),
9
9
  "data-error": error || undefined,
10
- "data-size": size.length && size !== "md" ? size : undefined,
10
+ "data-size": size !== null && size !== void 0 ? size : undefined,
11
11
  disabled,
12
12
  id: uid,
13
13
  name,
@@ -40,7 +40,7 @@ const Calendar = ({ captionLayout = "label", className, disabled, endMonth, form
40
40
  ...formatters,
41
41
  }, navLayout: "around", showOutsideDays: showOutsideDays, startMonth: startMonth, weekStartsOn: 1, ...props }));
42
42
  };
43
- const DatePicker = ({ className, closeOnSelect = true, dateFormat = "dd/MM/yyyy", disabled, disabledDates, endDate, error = false, id, initialDate = now, initialSelected = false, mode = "single", name, onChange, onSelect, ref, required = false, size = "md", startDate, ...props }) => {
43
+ const DatePicker = ({ className, closeOnSelect = true, dateFormat = "dd/MM/yyyy", disabled, disabledDates, endDate, error = false, id, initialDate = now, initialSelected = false, mode = "single", name, onChange, onSelect, ref, required = false, size, startDate, ...props }) => {
44
44
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0;
45
45
  const uid = useId(id);
46
46
  initialDate = getInitialDate(mode, initialDate);
@@ -4,13 +4,13 @@ import { Error } from '../FieldMarkers/Error.js';
4
4
  import { Hint } from '../FieldMarkers/Hint.js';
5
5
  import { Legend } from '../FieldMarkers/Legend.js';
6
6
 
7
- const Fieldset = ({ children, className, disabled, error = false, hideErrorBar = false, ref, size = "md", ...props }) => {
7
+ const Fieldset = ({ children, className, disabled, error = false, hideErrorBar = false, ref, size, ...props }) => {
8
8
  const componentProps = {
9
9
  "aria-disabled": disabled,
10
10
  className: clsx("coop-fieldset", className),
11
11
  "data-error": error || undefined,
12
12
  "data-hide-error": hideErrorBar || undefined,
13
- "data-size": size.length && size !== "md" ? size : undefined,
13
+ "data-size": size !== null && size !== void 0 ? size : undefined,
14
14
  disabled,
15
15
  ...props,
16
16
  };
@@ -2,12 +2,12 @@ import { jsx } from 'react/jsx-runtime';
2
2
  import clsx from 'clsx';
3
3
  import { useId } from '../../hooks/useId.js';
4
4
 
5
- const Radio = ({ className, disabled, error = false, id, name, ref, size = "md", ...props }) => {
5
+ const Radio = ({ className, disabled, error = false, id, name, ref, size, ...props }) => {
6
6
  const uid = useId(id);
7
7
  const componentProps = {
8
8
  className: clsx("coop-radio", "coop-field-element", className),
9
9
  "data-error": error || undefined,
10
- "data-size": size.length && size !== "md" ? size : undefined,
10
+ "data-size": size !== null && size !== void 0 ? size : undefined,
11
11
  disabled,
12
12
  id: uid,
13
13
  name,
@@ -34,7 +34,7 @@ export interface SearchboxProps extends FormHTMLAttributes<HTMLFormElement> {
34
34
  export declare const Searchbox: {
35
35
  ({ action, children, className, id, label, labelVisible, onSubmit, ref, size, variant, ...props }: SearchboxProps): JSX.Element;
36
36
  Button: {
37
- ({ children, ...props }: ButtonProps): import("react/jsx-runtime").JSX.Element;
37
+ ({ children, id, ...props }: ButtonProps): import("react/jsx-runtime").JSX.Element;
38
38
  config: {
39
39
  name: string;
40
40
  };
@@ -15,12 +15,7 @@ const componentSlots = {
15
15
  SearchboxButton: null,
16
16
  SearchboxInput: null,
17
17
  };
18
- const defaultButtonText = React.createElement(SearchIcon, {
19
- alt: "Search",
20
- stroke: "currentColor",
21
- width: 24,
22
- });
23
- const Searchbox = ({ action, children, className, id, label, labelVisible = false, onSubmit, ref, size = "md", variant = "solid", ...props }) => {
18
+ const Searchbox = ({ action, children, className, id, label, labelVisible = false, onSubmit, ref, size, variant = "solid", ...props }) => {
24
19
  const slots = { ...useSlots(componentSlots, children) };
25
20
  const [isPending, setIsPending] = useState(false);
26
21
  const uid = useId(id);
@@ -43,9 +38,9 @@ const Searchbox = ({ action, children, className, id, label, labelVisible = fals
43
38
  const formProps = {
44
39
  action: action !== null && action !== void 0 ? action : undefined,
45
40
  className: clsx("coop-searchbox", borderClass, className),
46
- "data-size": size && size !== "md" ? size : undefined,
41
+ "data-size": size !== null && size !== void 0 ? size : undefined,
47
42
  "data-variant": variant.length && variant !== "solid" ? variant : undefined,
48
- id: uid + "-form",
43
+ id: uid + "__form",
49
44
  onSubmit: onSubmit ? handleSubmit : undefined,
50
45
  ...props,
51
46
  };
@@ -65,9 +60,10 @@ const Searchbox = ({ action, children, className, id, label, labelVisible = fals
65
60
  };
66
61
  return (jsxs("form", { ...formProps, ref: ref, children: [label && jsx(Field.Label, { ...labelProps, children: label }), jsxs("div", { className: clsx("coop-searchbox--inner"), children: [jsx(Field, { children: slots.SearchboxInput }), slots.SearchboxButton] })] }));
67
62
  };
68
- const SearchboxButton = ({ children, ...props }) => {
63
+ const SearchboxButton = ({ children, id, ...props }) => {
64
+ const uid = useId(id);
69
65
  const buttonProps = {
70
- children: children !== null && children !== void 0 ? children : defaultButtonText,
66
+ children: children !== null && children !== void 0 ? children : (jsx(SearchIcon, { alt: "Search", id: uid + "__icon", stroke: "currentColor", width: "24" })),
71
67
  ...props,
72
68
  };
73
69
  return jsx(Button, { ...buttonProps });
@@ -2,12 +2,12 @@ import { jsx } from 'react/jsx-runtime';
2
2
  import clsx from 'clsx';
3
3
  import { useId } from '../../hooks/useId.js';
4
4
 
5
- const Select = ({ children, className, disabled, error, id, name, ref, size = "md", ...props }) => {
5
+ const Select = ({ children, className, disabled, error, id, name, ref, size, ...props }) => {
6
6
  const uid = useId(id);
7
7
  const componentProps = {
8
8
  className: clsx("coop-select", "coop-field-element", className),
9
9
  "data-error": error !== null && error !== void 0 ? error : undefined,
10
- "data-size": size.length && size !== "md" ? size : undefined,
10
+ "data-size": size !== null && size !== void 0 ? size : undefined,
11
11
  disabled,
12
12
  id: uid,
13
13
  name,
@@ -2,14 +2,14 @@ import { jsxs, jsx } from 'react/jsx-runtime';
2
2
  import clsx from 'clsx';
3
3
  import { useId } from '../../hooks/useId.js';
4
4
 
5
- const TextInput = ({ "aria-placeholder": ariaPlaceholder, className, disabled, error = false, id, name, placeholder, prefix, prefixInline = false, ref, size = "md", suffix, suffixInline = false, type = "text", ...props }) => {
5
+ const TextInput = ({ "aria-placeholder": ariaPlaceholder, className, disabled, error = false, id, name, placeholder, prefix, prefixInline = false, ref, size, suffix, suffixInline = false, type = "text", ...props }) => {
6
6
  var _a;
7
7
  const uid = useId(id);
8
8
  const componentProps = {
9
9
  "aria-placeholder": (_a = placeholder !== null && placeholder !== void 0 ? placeholder : ariaPlaceholder) !== null && _a !== void 0 ? _a : undefined,
10
10
  className: clsx("coop-text-input", "coop-field-element", className),
11
11
  "data-error": error || undefined,
12
- "data-size": size.length && size !== "md" ? size : undefined,
12
+ "data-size": (size === null || size === void 0 ? void 0 : size.length) ? size : undefined,
13
13
  disabled,
14
14
  id: uid,
15
15
  name,
@@ -10,7 +10,7 @@ const DEBOUNCE_DELAY = 750;
10
10
  const charCountMessage = (remaining) => {
11
11
  return `You have ${Math.abs(remaining).toLocaleString()} ${Math.abs(remaining) === 1 ? "character" : "characters"} ${remaining < 0 ? "too many" : "remaining"}`;
12
12
  };
13
- const Textarea = ({ "aria-placeholder": ariaPlaceholder, className, cols = 30, counter = false, cutoff = false, disabled = false, error = false, id, maxLength, name, onChange: userOnChange = undefined, placeholder, ref, rows = 4, size = "md", ...props }) => {
13
+ const Textarea = ({ "aria-placeholder": ariaPlaceholder, className, cols = 30, counter = false, cutoff = false, disabled = false, error = false, id, maxLength, name, onChange: userOnChange = undefined, placeholder, ref, rows = 4, size, ...props }) => {
14
14
  var _a;
15
15
  const uid = useId(id);
16
16
  const componentProps = {
@@ -18,7 +18,7 @@ const Textarea = ({ "aria-placeholder": ariaPlaceholder, className, cols = 30, c
18
18
  className: clsx("coop-textarea", "coop-field-element", className),
19
19
  cols,
20
20
  "data-error": error !== null && error !== void 0 ? error : undefined,
21
- "data-size": size.length && size !== "md" ? size : undefined,
21
+ "data-size": size !== null && size !== void 0 ? size : undefined,
22
22
  disabled,
23
23
  id: uid,
24
24
  maxLength: cutoff ? maxLength : undefined,
@@ -1,12 +1,20 @@
1
1
  import type { HTMLAttributes, JSX, ReactNode, Ref } from "react";
2
2
  import React from "react";
3
3
  export interface ValidationSummaryProps extends HTMLAttributes<HTMLDivElement> {
4
- /** **(Optional)** Specify if the summary should be focused and the parent form scrolled into view if there are errors. */
4
+ /** **(Optional)** Specify if the summary should be focused and the parent form scrolled into view if there are errors.
5
+ *
6
+ * Default: true
7
+ */
5
8
  autoScroll?: boolean;
6
9
  /** **(Optional)** This should be a set of `ValidationSummary.Heading`, `ValidationSummary.Prompt` and `ValidationSummary.Errors` components. */
7
10
  children?: ReactNode;
8
11
  /** **(Optional)** Specify additional CSS classes to be applied to the component. */
9
12
  className?: string;
13
+ /** **(Optional)** Specify if the summary should always render regardless of error state. Use this if you want to control the logic in your own code.
14
+ *
15
+ * Default: false
16
+ */
17
+ forceMount?: boolean;
10
18
  /** **(Optional)** Specify a custom React ref for this component. */
11
19
  ref?: Ref<HTMLDivElement>;
12
20
  }
@@ -41,7 +49,7 @@ interface ValidationSummaryErrorsProps extends HTMLAttributes<HTMLDivElement> {
41
49
  errors?: Record<string, FieldError>;
42
50
  }
43
51
  export declare const ValidationSummary: {
44
- ({ autoScroll, children, className, ref, ...props }: ValidationSummaryProps): JSX.Element | null;
52
+ ({ autoScroll, children, className, forceMount, ref, ...props }: ValidationSummaryProps): JSX.Element | null;
45
53
  Heading: {
46
54
  ({ as, children, className, }: ValidationSummaryHeadingProps): JSX.Element;
47
55
  config: {
@@ -12,7 +12,7 @@ const componentSlots = {
12
12
  ValidationSummaryHeading: null,
13
13
  ValidationSummaryPrompt: null,
14
14
  };
15
- const ValidationSummary = ({ autoScroll = true, children, className, ref, ...props }) => {
15
+ const ValidationSummary = ({ autoScroll = true, children, className, forceMount = false, ref, ...props }) => {
16
16
  var _a;
17
17
  const slots = { ...useSlots(componentSlots, children) };
18
18
  const errors = React.isValidElement(slots.ValidationSummaryErrors) &&
@@ -28,7 +28,7 @@ const ValidationSummary = ({ autoScroll = true, children, className, ref, ...pro
28
28
  (_b = internalRef.current) === null || _b === void 0 ? void 0 : _b.focus();
29
29
  }
30
30
  }, [autoScroll, errors, hasErrors]);
31
- if (!hasErrors) {
31
+ if (!hasErrors && !forceMount) {
32
32
  return null;
33
33
  }
34
34
  const componentProps = {
@@ -5,7 +5,7 @@ import { useId } from '../../hooks/useId.js';
5
5
  const AccountCircleFilledIcon = ({ alt, className, fill, id, ref, ...props }) => {
6
6
  const uid = useId(id);
7
7
  const componentProps = {
8
- "aria-labelledby": alt ? uid + "-title" : undefined,
8
+ "aria-labelledby": alt ? uid + "__title" : undefined,
9
9
  className: clsx("coop-icon", className),
10
10
  "data-icon": "account-circle-filled",
11
11
  fill: fill !== null && fill !== void 0 ? fill : "currentColor",
@@ -14,7 +14,7 @@ const AccountCircleFilledIcon = ({ alt, className, fill, id, ref, ...props }) =>
14
14
  viewBox: "0 0 32 32",
15
15
  ...props,
16
16
  };
17
- return (jsxs("svg", { ...componentProps, ref: ref, children: [alt ? jsx("title", { id: uid + "-title", children: alt }) : null, 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" })] }));
17
+ return (jsxs("svg", { ...componentProps, ref: ref, children: [alt ? jsx("title", { id: uid + "__title", children: alt }) : null, 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" })] }));
18
18
  };
19
19
 
20
20
  export { AccountCircleFilledIcon };
@@ -5,7 +5,7 @@ import { useId } from '../../hooks/useId.js';
5
5
  const AccountCircleIcon = ({ alt, className, fill, id, ref, ...props }) => {
6
6
  const uid = useId(id);
7
7
  const componentProps = {
8
- "aria-labelledby": alt ? uid + "-title" : undefined,
8
+ "aria-labelledby": alt ? uid + "__title" : undefined,
9
9
  className: clsx("coop-icon", className),
10
10
  "data-icon": "account-circle",
11
11
  fill: fill !== null && fill !== void 0 ? fill : "currentColor",
@@ -14,7 +14,7 @@ const AccountCircleIcon = ({ alt, className, fill, id, ref, ...props }) => {
14
14
  viewBox: "0 0 32 32",
15
15
  ...props,
16
16
  };
17
- return (jsxs("svg", { ...componentProps, ref: ref, children: [alt ? jsx("title", { id: uid + "-title", children: alt }) : null, 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" })] }));
17
+ return (jsxs("svg", { ...componentProps, ref: ref, children: [alt ? jsx("title", { id: uid + "__title", children: alt }) : null, 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" })] }));
18
18
  };
19
19
 
20
20
  export { AccountCircleIcon };
@@ -5,7 +5,7 @@ import { useId } from '../../hooks/useId.js';
5
5
  const AccountFilledIcon = ({ alt, className, fill, id, ref, ...props }) => {
6
6
  const uid = useId(id);
7
7
  const componentProps = {
8
- "aria-labelledby": alt ? uid + "-title" : undefined,
8
+ "aria-labelledby": alt ? uid + "__title" : undefined,
9
9
  className: clsx("coop-icon", className),
10
10
  "data-icon": "account-filled",
11
11
  fill: fill !== null && fill !== void 0 ? fill : "currentColor",
@@ -14,7 +14,7 @@ const AccountFilledIcon = ({ alt, className, fill, id, ref, ...props }) => {
14
14
  viewBox: "0 0 32 32",
15
15
  ...props,
16
16
  };
17
- return (jsxs("svg", { ...componentProps, ref: ref, children: [alt ? jsx("title", { id: uid + "-title", children: alt }) : null, 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" })] }));
17
+ return (jsxs("svg", { ...componentProps, ref: ref, children: [alt ? jsx("title", { id: uid + "__title", children: alt }) : null, 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" })] }));
18
18
  };
19
19
 
20
20
  export { AccountFilledIcon };
@@ -5,7 +5,7 @@ import { useId } from '../../hooks/useId.js';
5
5
  const AccountIcon = ({ alt, className, fill, id, ref, ...props }) => {
6
6
  const uid = useId(id);
7
7
  const componentProps = {
8
- "aria-labelledby": alt ? uid + "-title" : undefined,
8
+ "aria-labelledby": alt ? uid + "__title" : undefined,
9
9
  className: clsx("coop-icon", className),
10
10
  "data-icon": "account",
11
11
  fill: fill !== null && fill !== void 0 ? fill : "currentColor",
@@ -14,7 +14,7 @@ const AccountIcon = ({ alt, className, fill, id, ref, ...props }) => {
14
14
  viewBox: "0 0 32 32",
15
15
  ...props,
16
16
  };
17
- return (jsxs("svg", { ...componentProps, ref: ref, children: [alt ? jsx("title", { id: uid + "-title", children: alt }) : null, jsx("path", { d: "M16 2a7 7 0 0 1 4.055 12.703 12.03 12.03 0 0 1 7.565 8.304l.04.157q.054.216.099.435-.108.166-.22.329l-.075.105-.155.218-.097.13a14 14 0 0 1-.493.623l-.088.101A13.97 13.97 0 0 1 16 30a13.97 13.97 0 0 1-10.565-4.817l-.156-.18q-.085-.103-.169-.207l-.069-.085a13 13 0 0 1-.255-.331l-.097-.13-.155-.218-.074-.105a14 14 0 0 1-.22-.328q.045-.22.098-.436l.04-.157q.041-.165.089-.328.038-.128.078-.254l.066-.21a12 12 0 0 1 .128-.363 12.03 12.03 0 0 1 7.205-7.148A7 7 0 0 1 16 2m0 14c-4.55 0-8.387 3.04-9.598 7.2A11.98 11.98 0 0 0 16 28c3.926 0 7.407-1.887 9.596-4.802C24.385 19.04 20.55 16 16 16m0-12a5 5 0 1 0 0 10 5 5 0 0 0 0-10" })] }));
17
+ return (jsxs("svg", { ...componentProps, ref: ref, children: [alt ? jsx("title", { id: uid + "__title", children: alt }) : null, jsx("path", { d: "M16 2a7 7 0 0 1 4.055 12.703 12.03 12.03 0 0 1 7.565 8.304l.04.157q.054.216.099.435-.108.166-.22.329l-.075.105-.155.218-.097.13a14 14 0 0 1-.493.623l-.088.101A13.97 13.97 0 0 1 16 30a13.97 13.97 0 0 1-10.565-4.817l-.156-.18q-.085-.103-.169-.207l-.069-.085a13 13 0 0 1-.255-.331l-.097-.13-.155-.218-.074-.105a14 14 0 0 1-.22-.328q.045-.22.098-.436l.04-.157q.041-.165.089-.328.038-.128.078-.254l.066-.21a12 12 0 0 1 .128-.363 12.03 12.03 0 0 1 7.205-7.148A7 7 0 0 1 16 2m0 14c-4.55 0-8.387 3.04-9.598 7.2A11.98 11.98 0 0 0 16 28c3.926 0 7.407-1.887 9.596-4.802C24.385 19.04 20.55 16 16 16m0-12a5 5 0 1 0 0 10 5 5 0 0 0 0-10" })] }));
18
18
  };
19
19
 
20
20
  export { AccountIcon };
@@ -5,7 +5,7 @@ import { useId } from '../../hooks/useId.js';
5
5
  const AddIcon = ({ alt, className, fill, id, ref, ...props }) => {
6
6
  const uid = useId(id);
7
7
  const componentProps = {
8
- "aria-labelledby": alt ? uid + "-title" : undefined,
8
+ "aria-labelledby": alt ? uid + "__title" : undefined,
9
9
  className: clsx("coop-icon", className),
10
10
  "data-icon": "add",
11
11
  fill: fill !== null && fill !== void 0 ? fill : "currentColor",
@@ -14,7 +14,7 @@ const AddIcon = ({ alt, className, fill, id, ref, ...props }) => {
14
14
  viewBox: "0 0 32 32",
15
15
  ...props,
16
16
  };
17
- return (jsxs("svg", { ...componentProps, ref: ref, children: [alt ? jsx("title", { id: uid + "-title", children: alt }) : null, jsx("path", { d: "M15.957 4a1 1 0 0 1 1 1v10H27a1 1 0 1 1 0 2H16.957v10a1 1 0 0 1-2 0V17H5a1 1 0 1 1 0-2h9.957V5a1 1 0 0 1 1-1" })] }));
17
+ return (jsxs("svg", { ...componentProps, ref: ref, children: [alt ? jsx("title", { id: uid + "__title", children: alt }) : null, jsx("path", { d: "M15.957 4a1 1 0 0 1 1 1v10H27a1 1 0 1 1 0 2H16.957v10a1 1 0 0 1-2 0V17H5a1 1 0 1 1 0-2h9.957V5a1 1 0 0 1 1-1" })] }));
18
18
  };
19
19
 
20
20
  export { AddIcon };
@@ -5,7 +5,7 @@ import { useId } from '../../hooks/useId.js';
5
5
  const AppsFilledIcon = ({ alt, className, fill, id, ref, ...props }) => {
6
6
  const uid = useId(id);
7
7
  const componentProps = {
8
- "aria-labelledby": alt ? uid + "-title" : undefined,
8
+ "aria-labelledby": alt ? uid + "__title" : undefined,
9
9
  className: clsx("coop-icon", className),
10
10
  "data-icon": "apps-filled",
11
11
  fill: fill !== null && fill !== void 0 ? fill : "currentColor",
@@ -14,7 +14,7 @@ const AppsFilledIcon = ({ alt, className, fill, id, ref, ...props }) => {
14
14
  viewBox: "0 0 32 32",
15
15
  ...props,
16
16
  };
17
- return (jsxs("svg", { ...componentProps, ref: ref, children: [alt ? jsx("title", { id: uid + "-title", children: alt }) : null, jsx("path", { d: "M13 17a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2zm13.204.01A2 2 0 0 1 28 19v7l-.01.204a2 2 0 0 1-1.786 1.785L26 28h-7a2 2 0 0 1-1.99-1.796L17 26v-7a2 2 0 0 1 2-2h7zM19 26h7v-7h-7zM13 4a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2zm13 0a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2z" })] }));
17
+ return (jsxs("svg", { ...componentProps, ref: ref, children: [alt ? jsx("title", { id: uid + "__title", children: alt }) : null, jsx("path", { d: "M13 17a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2zm13.204.01A2 2 0 0 1 28 19v7l-.01.204a2 2 0 0 1-1.786 1.785L26 28h-7a2 2 0 0 1-1.99-1.796L17 26v-7a2 2 0 0 1 2-2h7zM19 26h7v-7h-7zM13 4a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2zm13 0a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2z" })] }));
18
18
  };
19
19
 
20
20
  export { AppsFilledIcon };
@@ -5,7 +5,7 @@ import { useId } from '../../hooks/useId.js';
5
5
  const AppsIcon = ({ alt, className, fill, id, ref, ...props }) => {
6
6
  const uid = useId(id);
7
7
  const componentProps = {
8
- "aria-labelledby": alt ? uid + "-title" : undefined,
8
+ "aria-labelledby": alt ? uid + "__title" : undefined,
9
9
  className: clsx("coop-icon", className),
10
10
  "data-icon": "apps",
11
11
  fill: fill !== null && fill !== void 0 ? fill : "currentColor",
@@ -14,7 +14,7 @@ const AppsIcon = ({ alt, className, fill, id, ref, ...props }) => {
14
14
  viewBox: "0 0 32 32",
15
15
  ...props,
16
16
  };
17
- return (jsxs("svg", { ...componentProps, ref: ref, children: [alt ? jsx("title", { id: uid + "-title", children: alt }) : null, jsx("path", { d: "M13.204 17.01A2 2 0 0 1 15 19v7l-.01.204a2 2 0 0 1-1.786 1.785L13 28H6a2 2 0 0 1-1.99-1.796L4 26v-7a2 2 0 0 1 2-2h7zM26 17a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2zM6 26h7v-7H6zm7.204-21.99A2 2 0 0 1 15 6v7l-.01.204a2 2 0 0 1-1.786 1.785L13 15H6a2 2 0 0 1-1.99-1.796L4 13V6a2 2 0 0 1 2-2h7zm13 0A2 2 0 0 1 28 6v7l-.01.204a2 2 0 0 1-1.786 1.785L26 15h-7a2 2 0 0 1-1.99-1.796L17 13V6a2 2 0 0 1 2-2h7zM6 13h7V6H6zm13 0h7V6h-7z" })] }));
17
+ return (jsxs("svg", { ...componentProps, ref: ref, children: [alt ? jsx("title", { id: uid + "__title", children: alt }) : null, jsx("path", { d: "M13.204 17.01A2 2 0 0 1 15 19v7l-.01.204a2 2 0 0 1-1.786 1.785L13 28H6a2 2 0 0 1-1.99-1.796L4 26v-7a2 2 0 0 1 2-2h7zM26 17a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2zM6 26h7v-7H6zm7.204-21.99A2 2 0 0 1 15 6v7l-.01.204a2 2 0 0 1-1.786 1.785L13 15H6a2 2 0 0 1-1.99-1.796L4 13V6a2 2 0 0 1 2-2h7zm13 0A2 2 0 0 1 28 6v7l-.01.204a2 2 0 0 1-1.786 1.785L26 15h-7a2 2 0 0 1-1.99-1.796L17 13V6a2 2 0 0 1 2-2h7zM6 13h7V6H6zm13 0h7V6h-7z" })] }));
18
18
  };
19
19
 
20
20
  export { AppsIcon };
@@ -5,7 +5,7 @@ import { useId } from '../../hooks/useId.js';
5
5
  const ArrowDownIcon = ({ alt, className, fill, id, ref, ...props }) => {
6
6
  const uid = useId(id);
7
7
  const componentProps = {
8
- "aria-labelledby": alt ? uid + "-title" : undefined,
8
+ "aria-labelledby": alt ? uid + "__title" : undefined,
9
9
  className: clsx("coop-icon", className),
10
10
  "data-icon": "arrow-down",
11
11
  fill: fill !== null && fill !== void 0 ? fill : "currentColor",
@@ -14,7 +14,7 @@ const ArrowDownIcon = ({ alt, className, fill, id, ref, ...props }) => {
14
14
  viewBox: "0 0 32 32",
15
15
  ...props,
16
16
  };
17
- return (jsxs("svg", { ...componentProps, ref: ref, children: [alt ? jsx("title", { id: uid + "-title", children: alt }) : null, jsx("path", { d: "M16 2a1 1 0 0 1 1 1v23.586l10.293-10.293a1 1 0 1 1 1.414 1.414L17.414 29a2 2 0 0 1-2.828 0L3.293 17.707a1 1 0 1 1 1.414-1.414L15 26.586V3a1 1 0 0 1 1-1" })] }));
17
+ return (jsxs("svg", { ...componentProps, ref: ref, children: [alt ? jsx("title", { id: uid + "__title", children: alt }) : null, jsx("path", { d: "M16 2a1 1 0 0 1 1 1v23.586l10.293-10.293a1 1 0 1 1 1.414 1.414L17.414 29a2 2 0 0 1-2.828 0L3.293 17.707a1 1 0 1 1 1.414-1.414L15 26.586V3a1 1 0 0 1 1-1" })] }));
18
18
  };
19
19
 
20
20
  export { ArrowDownIcon };
@@ -5,7 +5,7 @@ import { useId } from '../../hooks/useId.js';
5
5
  const ArrowLeftIcon = ({ alt, className, fill, id, ref, ...props }) => {
6
6
  const uid = useId(id);
7
7
  const componentProps = {
8
- "aria-labelledby": alt ? uid + "-title" : undefined,
8
+ "aria-labelledby": alt ? uid + "__title" : undefined,
9
9
  className: clsx("coop-icon", className),
10
10
  "data-icon": "arrow-left",
11
11
  fill: fill !== null && fill !== void 0 ? fill : "currentColor",
@@ -14,7 +14,7 @@ const ArrowLeftIcon = ({ alt, className, fill, id, ref, ...props }) => {
14
14
  viewBox: "0 0 32 32",
15
15
  ...props,
16
16
  };
17
- return (jsxs("svg", { ...componentProps, ref: ref, children: [alt ? jsx("title", { id: uid + "-title", children: alt }) : null, jsx("path", { d: "M15.707 28.707a1 1 0 0 1-1.414 0L3 17.414a2 2 0 0 1 0-2.828L14.293 3.293a1 1 0 1 1 1.414 1.414L5.414 15H29a1 1 0 1 1 0 2H5.414l10.293 10.293a1 1 0 0 1 0 1.414" })] }));
17
+ return (jsxs("svg", { ...componentProps, ref: ref, children: [alt ? jsx("title", { id: uid + "__title", children: alt }) : null, jsx("path", { d: "M15.707 28.707a1 1 0 0 1-1.414 0L3 17.414a2 2 0 0 1 0-2.828L14.293 3.293a1 1 0 1 1 1.414 1.414L5.414 15H29a1 1 0 1 1 0 2H5.414l10.293 10.293a1 1 0 0 1 0 1.414" })] }));
18
18
  };
19
19
 
20
20
  export { ArrowLeftIcon };
@@ -5,7 +5,7 @@ import { useId } from '../../hooks/useId.js';
5
5
  const ArrowRightIcon = ({ alt, className, fill, id, ref, ...props }) => {
6
6
  const uid = useId(id);
7
7
  const componentProps = {
8
- "aria-labelledby": alt ? uid + "-title" : undefined,
8
+ "aria-labelledby": alt ? uid + "__title" : undefined,
9
9
  className: clsx("coop-icon", className),
10
10
  "data-icon": "arrow-right",
11
11
  fill: fill !== null && fill !== void 0 ? fill : "currentColor",
@@ -14,7 +14,7 @@ const ArrowRightIcon = ({ alt, className, fill, id, ref, ...props }) => {
14
14
  viewBox: "0 0 32 32",
15
15
  ...props,
16
16
  };
17
- return (jsxs("svg", { ...componentProps, ref: ref, children: [alt ? jsx("title", { id: uid + "-title", children: alt }) : null, jsx("path", { d: "M16.293 3.293a1 1 0 0 1 1.414 0L29 14.586a2 2 0 0 1 0 2.828L17.707 28.707a1 1 0 1 1-1.414-1.414L26.586 17H3a1 1 0 1 1 0-2h23.586L16.293 4.707a1 1 0 0 1 0-1.414" })] }));
17
+ return (jsxs("svg", { ...componentProps, ref: ref, children: [alt ? jsx("title", { id: uid + "__title", children: alt }) : null, jsx("path", { d: "M16.293 3.293a1 1 0 0 1 1.414 0L29 14.586a2 2 0 0 1 0 2.828L17.707 28.707a1 1 0 1 1-1.414-1.414L26.586 17H3a1 1 0 1 1 0-2h23.586L16.293 4.707a1 1 0 0 1 0-1.414" })] }));
18
18
  };
19
19
 
20
20
  export { ArrowRightIcon };
@@ -5,7 +5,7 @@ import { useId } from '../../hooks/useId.js';
5
5
  const ArrowUpIcon = ({ alt, className, fill, id, ref, ...props }) => {
6
6
  const uid = useId(id);
7
7
  const componentProps = {
8
- "aria-labelledby": alt ? uid + "-title" : undefined,
8
+ "aria-labelledby": alt ? uid + "__title" : undefined,
9
9
  className: clsx("coop-icon", className),
10
10
  "data-icon": "arrow-up",
11
11
  fill: fill !== null && fill !== void 0 ? fill : "currentColor",
@@ -14,7 +14,7 @@ const ArrowUpIcon = ({ alt, className, fill, id, ref, ...props }) => {
14
14
  viewBox: "0 0 32 32",
15
15
  ...props,
16
16
  };
17
- return (jsxs("svg", { ...componentProps, ref: ref, children: [alt ? jsx("title", { id: uid + "-title", children: alt }) : null, jsx("path", { d: "M14.586 3a2 2 0 0 1 2.829 0l11.308 11.309a1 1 0 0 1-1.415 1.414L17 5.413V29a1 1 0 0 1-2 0V5.414L4.692 15.723a1 1 0 0 1-1.414-1.415z" })] }));
17
+ return (jsxs("svg", { ...componentProps, ref: ref, children: [alt ? jsx("title", { id: uid + "__title", children: alt }) : null, jsx("path", { d: "M14.586 3a2 2 0 0 1 2.829 0l11.308 11.309a1 1 0 0 1-1.415 1.414L17 5.413V29a1 1 0 0 1-2 0V5.414L4.692 15.723a1 1 0 0 1-1.414-1.415z" })] }));
18
18
  };
19
19
 
20
20
  export { ArrowUpIcon };
@@ -5,7 +5,7 @@ import { useId } from '../../hooks/useId.js';
5
5
  const BackspaceFilledIcon = ({ alt, className, fill, id, ref, ...props }) => {
6
6
  const uid = useId(id);
7
7
  const componentProps = {
8
- "aria-labelledby": alt ? uid + "-title" : undefined,
8
+ "aria-labelledby": alt ? uid + "__title" : undefined,
9
9
  className: clsx("coop-icon", className),
10
10
  "data-icon": "backspace-filled",
11
11
  fill: fill !== null && fill !== void 0 ? fill : "currentColor",
@@ -14,7 +14,7 @@ const BackspaceFilledIcon = ({ alt, className, fill, id, ref, ...props }) => {
14
14
  viewBox: "0 0 32 32",
15
15
  ...props,
16
16
  };
17
- return (jsxs("svg", { ...componentProps, ref: ref, children: [alt ? jsx("title", { id: uid + "-title", children: alt }) : null, jsx("path", { d: "M27.992 6a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2H11.945a2 2 0 0 1-1.415-.586l-7.999-8a2 2 0 0 1 0-2.828l8-8A2 2 0 0 1 11.944 6zm-4.285 5.293a1 1 0 0 0-1.414 0L19 14.586l-3.293-3.293a1 1 0 1 0-1.414 1.414L17.586 16l-3.293 3.293a1 1 0 1 0 1.414 1.414L19 17.414l3.293 3.293a1 1 0 0 0 1.414-1.414L20.414 16l3.293-3.293a1 1 0 0 0 0-1.414" })] }));
17
+ return (jsxs("svg", { ...componentProps, ref: ref, children: [alt ? jsx("title", { id: uid + "__title", children: alt }) : null, jsx("path", { d: "M27.992 6a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2H11.945a2 2 0 0 1-1.415-.586l-7.999-8a2 2 0 0 1 0-2.828l8-8A2 2 0 0 1 11.944 6zm-4.285 5.293a1 1 0 0 0-1.414 0L19 14.586l-3.293-3.293a1 1 0 1 0-1.414 1.414L17.586 16l-3.293 3.293a1 1 0 1 0 1.414 1.414L19 17.414l3.293 3.293a1 1 0 0 0 1.414-1.414L20.414 16l3.293-3.293a1 1 0 0 0 0-1.414" })] }));
18
18
  };
19
19
 
20
20
  export { BackspaceFilledIcon };
@@ -5,7 +5,7 @@ import { useId } from '../../hooks/useId.js';
5
5
  const BackspaceIcon = ({ alt, className, fill, id, ref, ...props }) => {
6
6
  const uid = useId(id);
7
7
  const componentProps = {
8
- "aria-labelledby": alt ? uid + "-title" : undefined,
8
+ "aria-labelledby": alt ? uid + "__title" : undefined,
9
9
  className: clsx("coop-icon", className),
10
10
  "data-icon": "backspace",
11
11
  fill: fill !== null && fill !== void 0 ? fill : "currentColor",
@@ -14,7 +14,7 @@ const BackspaceIcon = ({ alt, className, fill, id, ref, ...props }) => {
14
14
  viewBox: "0 0 32 32",
15
15
  ...props,
16
16
  };
17
- return (jsxs("svg", { ...componentProps, ref: ref, children: [alt ? jsx("title", { id: uid + "-title", children: alt }) : null, jsx("path", { d: "M27.991 6a2 2 0 0 1 2 2v16l-.01.204A2 2 0 0 1 27.991 26H11.944l-.198-.01a2 2 0 0 1-1.217-.576l-7.998-8a2 2 0 0 1-.137-2.677l.137-.151 7.998-8c.328-.328.76-.53 1.217-.576l.198-.01zM3.945 16l8 8H27.99V8H11.944zm18.348-4.707a1 1 0 0 1 1.414 1.414L20.414 16l3.293 3.293a1 1 0 1 1-1.414 1.414L19 17.414l-3.293 3.293a1 1 0 0 1-1.414-1.414L17.586 16l-3.293-3.293a1 1 0 1 1 1.414-1.414L19 14.586z" })] }));
17
+ return (jsxs("svg", { ...componentProps, ref: ref, children: [alt ? jsx("title", { id: uid + "__title", children: alt }) : null, jsx("path", { d: "M27.991 6a2 2 0 0 1 2 2v16l-.01.204A2 2 0 0 1 27.991 26H11.944l-.198-.01a2 2 0 0 1-1.217-.576l-7.998-8a2 2 0 0 1-.137-2.677l.137-.151 7.998-8c.328-.328.76-.53 1.217-.576l.198-.01zM3.945 16l8 8H27.99V8H11.944zm18.348-4.707a1 1 0 0 1 1.414 1.414L20.414 16l3.293 3.293a1 1 0 1 1-1.414 1.414L19 17.414l-3.293 3.293a1 1 0 0 1-1.414-1.414L17.586 16l-3.293-3.293a1 1 0 1 1 1.414-1.414L19 14.586z" })] }));
18
18
  };
19
19
 
20
20
  export { BackspaceIcon };
@@ -5,7 +5,7 @@ import { useId } from '../../hooks/useId.js';
5
5
  const BasketFilledIcon = ({ alt, className, fill, id, ref, ...props }) => {
6
6
  const uid = useId(id);
7
7
  const componentProps = {
8
- "aria-labelledby": alt ? uid + "-title" : undefined,
8
+ "aria-labelledby": alt ? uid + "__title" : undefined,
9
9
  className: clsx("coop-icon", className),
10
10
  "data-icon": "basket-filled",
11
11
  fill: fill !== null && fill !== void 0 ? fill : "currentColor",
@@ -14,7 +14,7 @@ const BasketFilledIcon = ({ alt, className, fill, id, ref, ...props }) => {
14
14
  viewBox: "0 0 32 32",
15
15
  ...props,
16
16
  };
17
- return (jsxs("svg", { ...componentProps, ref: ref, children: [alt ? jsx("title", { id: uid + "-title", children: alt }) : null, jsx("path", { d: "M19.293 5.293a1 1 0 0 1 1.414 0L26.414 11H28a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2h-.308l-1.431 9.304A2 2 0 0 1 24.284 28H7.716a2 2 0 0 1-1.977-1.696L4.308 17H4a2 2 0 0 1-2-2v-2a2 2 0 0 1 2-2h1.586l5.707-5.707a1 1 0 1 1 1.414 1.414L8.414 11h15.172l-4.293-4.293a1 1 0 0 1 0-1.414M16 19a1 1 0 0 0-1 1v3a1 1 0 0 0 2 0v-3a1 1 0 0 0-1-1m-4.514.836a1 1 0 0 0-1.972.328l.5 3a1 1 0 0 0 1.972-.328zm10.178-.822a1 1 0 0 0-1.15.822l-.5 3a1 1 0 0 0 1.972.328l.5-3a1 1 0 0 0-.822-1.15" })] }));
17
+ return (jsxs("svg", { ...componentProps, ref: ref, children: [alt ? jsx("title", { id: uid + "__title", children: alt }) : null, jsx("path", { d: "M19.293 5.293a1 1 0 0 1 1.414 0L26.414 11H28a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2h-.308l-1.431 9.304A2 2 0 0 1 24.284 28H7.716a2 2 0 0 1-1.977-1.696L4.308 17H4a2 2 0 0 1-2-2v-2a2 2 0 0 1 2-2h1.586l5.707-5.707a1 1 0 1 1 1.414 1.414L8.414 11h15.172l-4.293-4.293a1 1 0 0 1 0-1.414M16 19a1 1 0 0 0-1 1v3a1 1 0 0 0 2 0v-3a1 1 0 0 0-1-1m-4.514.836a1 1 0 0 0-1.972.328l.5 3a1 1 0 0 0 1.972-.328zm10.178-.822a1 1 0 0 0-1.15.822l-.5 3a1 1 0 0 0 1.972.328l.5-3a1 1 0 0 0-.822-1.15" })] }));
18
18
  };
19
19
 
20
20
  export { BasketFilledIcon };
@@ -5,7 +5,7 @@ import { useId } from '../../hooks/useId.js';
5
5
  const BasketIcon = ({ alt, className, fill, id, ref, ...props }) => {
6
6
  const uid = useId(id);
7
7
  const componentProps = {
8
- "aria-labelledby": alt ? uid + "-title" : undefined,
8
+ "aria-labelledby": alt ? uid + "__title" : undefined,
9
9
  className: clsx("coop-icon", className),
10
10
  "data-icon": "basket",
11
11
  fill: fill !== null && fill !== void 0 ? fill : "currentColor",
@@ -14,7 +14,7 @@ const BasketIcon = ({ alt, className, fill, id, ref, ...props }) => {
14
14
  viewBox: "0 0 32 32",
15
15
  ...props,
16
16
  };
17
- return (jsxs("svg", { ...componentProps, ref: ref, children: [alt ? jsx("title", { id: uid + "-title", children: alt }) : null, jsx("path", { d: "M19.293 5.293a1 1 0 0 1 1.414 0L26.414 11H28a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2h-.308l-1.431 9.304a2 2 0 0 1-1.793 1.687l-.184.009H7.716a2 2 0 0 1-1.94-1.516l-.037-.18L4.308 17H4a2 2 0 0 1-2-2v-2a2 2 0 0 1 2-2h1.586l5.707-5.707a1 1 0 1 1 1.414 1.414L8.414 11h15.172l-4.293-4.293a1 1 0 0 1 0-1.414M7.716 26h16.568l1.385-9H6.33zM16 19a1 1 0 0 1 1 1v3a1 1 0 0 1-2 0v-3a1 1 0 0 1 1-1m-5.664.014a1 1 0 0 1 1.15.822l.5 3a1 1 0 0 1-1.972.328l-.5-3a1 1 0 0 1 .822-1.15m10.178.822a1 1 0 0 1 1.972.328l-.5 3a1 1 0 0 1-1.972-.328zM4 15h24v-2H4z" })] }));
17
+ return (jsxs("svg", { ...componentProps, ref: ref, children: [alt ? jsx("title", { id: uid + "__title", children: alt }) : null, jsx("path", { d: "M19.293 5.293a1 1 0 0 1 1.414 0L26.414 11H28a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2h-.308l-1.431 9.304a2 2 0 0 1-1.793 1.687l-.184.009H7.716a2 2 0 0 1-1.94-1.516l-.037-.18L4.308 17H4a2 2 0 0 1-2-2v-2a2 2 0 0 1 2-2h1.586l5.707-5.707a1 1 0 1 1 1.414 1.414L8.414 11h15.172l-4.293-4.293a1 1 0 0 1 0-1.414M7.716 26h16.568l1.385-9H6.33zM16 19a1 1 0 0 1 1 1v3a1 1 0 0 1-2 0v-3a1 1 0 0 1 1-1m-5.664.014a1 1 0 0 1 1.15.822l.5 3a1 1 0 0 1-1.972.328l-.5-3a1 1 0 0 1 .822-1.15m10.178.822a1 1 0 0 1 1.972.328l-.5 3a1 1 0 0 1-1.972-.328zM4 15h24v-2H4z" })] }));
18
18
  };
19
19
 
20
20
  export { BasketIcon };
@@ -5,7 +5,7 @@ import { useId } from '../../hooks/useId.js';
5
5
  const BellFilledIcon = ({ alt, className, fill, id, ref, ...props }) => {
6
6
  const uid = useId(id);
7
7
  const componentProps = {
8
- "aria-labelledby": alt ? uid + "-title" : undefined,
8
+ "aria-labelledby": alt ? uid + "__title" : undefined,
9
9
  className: clsx("coop-icon", className),
10
10
  "data-icon": "bell-filled",
11
11
  fill: fill !== null && fill !== void 0 ? fill : "currentColor",
@@ -14,7 +14,7 @@ const BellFilledIcon = ({ alt, className, fill, id, ref, ...props }) => {
14
14
  viewBox: "0 0 32 32",
15
15
  ...props,
16
16
  };
17
- return (jsxs("svg", { ...componentProps, ref: ref, children: [alt ? jsx("title", { id: uid + "-title", children: alt }) : null, jsx("path", { d: "M27 26a1 1 0 0 0 0-2H5a1 1 0 1 0 0 2zM19 27a3 3 0 1 1-6 0zM13 5a3 3 0 1 1 6 0z" }), jsx("path", { d: "M16 5a9 9 0 0 1 9 9v11H7V14l.012-.463A9 9 0 0 1 16 5Z", strokeWidth: "2" })] }));
17
+ return (jsxs("svg", { ...componentProps, ref: ref, children: [alt ? jsx("title", { id: uid + "__title", children: alt }) : null, jsx("path", { d: "M27 26a1 1 0 0 0 0-2H5a1 1 0 1 0 0 2zM19 27a3 3 0 1 1-6 0zM13 5a3 3 0 1 1 6 0z" }), jsx("path", { d: "M16 5a9 9 0 0 1 9 9v11H7V14l.012-.463A9 9 0 0 1 16 5Z", strokeWidth: "2" })] }));
18
18
  };
19
19
 
20
20
  export { BellFilledIcon };
@@ -5,7 +5,7 @@ import { useId } from '../../hooks/useId.js';
5
5
  const BellIcon = ({ alt, className, fill, id, ref, ...props }) => {
6
6
  const uid = useId(id);
7
7
  const componentProps = {
8
- "aria-labelledby": alt ? uid + "-title" : undefined,
8
+ "aria-labelledby": alt ? uid + "__title" : undefined,
9
9
  className: clsx("coop-icon", className),
10
10
  "data-icon": "bell",
11
11
  fill: fill !== null && fill !== void 0 ? fill : "currentColor",
@@ -14,7 +14,7 @@ const BellIcon = ({ alt, className, fill, id, ref, ...props }) => {
14
14
  viewBox: "0 0 32 32",
15
15
  ...props,
16
16
  };
17
- return (jsxs("svg", { ...componentProps, ref: ref, children: [alt ? jsx("title", { id: uid + "-title", children: alt }) : null, jsx("path", { d: "M19 26.999a3 3 0 0 1-6 0zM16 2a3 3 0 0 1 2.946 2.441C23.031 5.7 26 9.503 26 14v10h1a1 1 0 1 1 0 2H5a1 1 0 0 1 0-2h1V14c0-4.497 2.968-8.3 7.052-9.559A3 3 0 0 1 16 2m0 4a8 8 0 0 0-8 8v10h16V14a8 8 0 0 0-8-8" })] }));
17
+ return (jsxs("svg", { ...componentProps, ref: ref, children: [alt ? jsx("title", { id: uid + "__title", children: alt }) : null, jsx("path", { d: "M19 26.999a3 3 0 0 1-6 0zM16 2a3 3 0 0 1 2.946 2.441C23.031 5.7 26 9.503 26 14v10h1a1 1 0 1 1 0 2H5a1 1 0 0 1 0-2h1V14c0-4.497 2.968-8.3 7.052-9.559A3 3 0 0 1 16 2m0 4a8 8 0 0 0-8 8v10h16V14a8 8 0 0 0-8-8" })] }));
18
18
  };
19
19
 
20
20
  export { BellIcon };
@@ -5,7 +5,7 @@ import { useId } from '../../hooks/useId.js';
5
5
  const BroomIcon = ({ alt, className, fill, id, ref, ...props }) => {
6
6
  const uid = useId(id);
7
7
  const componentProps = {
8
- "aria-labelledby": alt ? uid + "-title" : undefined,
8
+ "aria-labelledby": alt ? uid + "__title" : undefined,
9
9
  className: clsx("coop-icon", className),
10
10
  "data-icon": "broom",
11
11
  fill: fill !== null && fill !== void 0 ? fill : "currentColor",
@@ -14,7 +14,7 @@ const BroomIcon = ({ alt, className, fill, id, ref, ...props }) => {
14
14
  viewBox: "0 0 32 32",
15
15
  ...props,
16
16
  };
17
- return (jsxs("svg", { ...componentProps, ref: ref, children: [alt ? jsx("title", { id: uid + "-title", children: alt }) : null, jsx("path", { d: "M16 2a4 4 0 0 1 4 4v11h6a2 2 0 0 1 2 2v2h.015l1.449 6.57a2 2 0 0 1-1.718 2.416l-.235.014H4.544l-.24-.014a2 2 0 0 1-1.746-2.222l.043-.236L4 21.76V19a2 2 0 0 1 2-2h6V6a4 4 0 0 1 4-4M4.544 28H9v-2a1 1 0 1 1 2 0v2h4v-2a1 1 0 0 1 2 0v2h4v-2a1 1 0 0 1 2 0v2h4.51l-1.102-5H5.757zM6 21h20v-2H6zM16 4a2 2 0 0 0-2 2v11h4V6a2 2 0 0 0-2-2" })] }));
17
+ return (jsxs("svg", { ...componentProps, ref: ref, children: [alt ? jsx("title", { id: uid + "__title", children: alt }) : null, jsx("path", { d: "M16 2a4 4 0 0 1 4 4v11h6a2 2 0 0 1 2 2v2h.015l1.449 6.57a2 2 0 0 1-1.718 2.416l-.235.014H4.544l-.24-.014a2 2 0 0 1-1.746-2.222l.043-.236L4 21.76V19a2 2 0 0 1 2-2h6V6a4 4 0 0 1 4-4M4.544 28H9v-2a1 1 0 1 1 2 0v2h4v-2a1 1 0 0 1 2 0v2h4v-2a1 1 0 0 1 2 0v2h4.51l-1.102-5H5.757zM6 21h20v-2H6zM16 4a2 2 0 0 0-2 2v11h4V6a2 2 0 0 0-2-2" })] }));
18
18
  };
19
19
 
20
20
  export { BroomIcon };