@coopdigital/react 1.19.1 → 1.21.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 (155) hide show
  1. package/dist/components/AlertBanner/AlertBanner.js +5 -2
  2. package/dist/components/Author/Author.js +5 -2
  3. package/dist/components/Card/Card.d.ts +96 -49
  4. package/dist/components/Card/Card.js +61 -60
  5. package/dist/components/Card/index.d.ts +2 -2
  6. package/dist/components/Card/index.js +2 -2
  7. package/dist/components/Checkbox/Checkbox.js +5 -2
  8. package/dist/components/DatePicker/DatePicker.js +5 -4
  9. package/dist/components/DatePicker/datepicker-utils.js +12 -11
  10. package/dist/components/Dialog/Dialog.js +5 -2
  11. package/dist/components/Expandable/Expandable.js +5 -2
  12. package/dist/components/FieldMarkers/Error.js +5 -2
  13. package/dist/components/FieldMarkers/Hint.js +5 -2
  14. package/dist/components/FieldMarkers/Label.js +5 -2
  15. package/dist/components/Fieldset/Fieldset.js +10 -4
  16. package/dist/components/Flourish/Flourish.js +6 -3
  17. package/dist/components/Form/Form.js +5 -2
  18. package/dist/components/Image/Image.d.ts +3 -5
  19. package/dist/components/Image/Image.js +10 -7
  20. package/dist/components/LoadingSpinner/LoadingSpinner.js +5 -2
  21. package/dist/components/Logo/Logo.js +5 -2
  22. package/dist/components/Picture/Picture.d.ts +15 -0
  23. package/dist/components/Picture/Picture.js +17 -0
  24. package/dist/components/Picture/index.d.ts +2 -0
  25. package/dist/components/Picture/index.js +5 -0
  26. package/dist/components/Prose/Prose.js +5 -2
  27. package/dist/components/Radio/Radio.js +5 -2
  28. package/dist/components/Searchbox/Searchbox.js +3 -2
  29. package/dist/components/Select/Select.js +5 -2
  30. package/dist/components/Signpost/Signpost.js +6 -6
  31. package/dist/components/SkipNav/SkipNav.js +5 -2
  32. package/dist/components/Squircle/Squircle.d.ts +8 -4
  33. package/dist/components/Squircle/Squircle.js +39 -6
  34. package/dist/components/Squircle/index.d.ts +2 -2
  35. package/dist/components/ValidationSummary/ValidationSummary.js +5 -2
  36. package/dist/components/icons/AccountCircleFilledIcon.js +5 -2
  37. package/dist/components/icons/AccountCircleIcon.js +5 -2
  38. package/dist/components/icons/AccountFilledIcon.js +5 -2
  39. package/dist/components/icons/AccountIcon.js +5 -2
  40. package/dist/components/icons/AddIcon.js +5 -2
  41. package/dist/components/icons/AppsFilledIcon.js +5 -2
  42. package/dist/components/icons/AppsIcon.js +5 -2
  43. package/dist/components/icons/ArrowDownIcon.js +5 -2
  44. package/dist/components/icons/ArrowLeftIcon.js +5 -2
  45. package/dist/components/icons/ArrowRightIcon.js +5 -2
  46. package/dist/components/icons/ArrowUpIcon.js +5 -2
  47. package/dist/components/icons/BackspaceFilledIcon.js +5 -2
  48. package/dist/components/icons/BackspaceIcon.js +5 -2
  49. package/dist/components/icons/BasketFilledIcon.js +5 -2
  50. package/dist/components/icons/BasketIcon.js +5 -2
  51. package/dist/components/icons/BellFilledIcon.js +5 -2
  52. package/dist/components/icons/BellIcon.js +5 -2
  53. package/dist/components/icons/BroomIcon.js +5 -2
  54. package/dist/components/icons/CalendarFilledIcon.js +5 -2
  55. package/dist/components/icons/CalendarIcon.js +5 -2
  56. package/dist/components/icons/CashFilledIcon.js +5 -2
  57. package/dist/components/icons/CashIcon.js +5 -2
  58. package/dist/components/icons/ChevronDownIcon.js +5 -2
  59. package/dist/components/icons/ChevronLeftIcon.js +5 -2
  60. package/dist/components/icons/ChevronRightIcon.js +5 -2
  61. package/dist/components/icons/ChevronUpIcon.js +5 -2
  62. package/dist/components/icons/CircleBurgerFilledIcon.js +5 -2
  63. package/dist/components/icons/CircleBurgerIcon.js +5 -2
  64. package/dist/components/icons/ClipboardFilledIcon.js +5 -2
  65. package/dist/components/icons/ClipboardIcon.js +5 -2
  66. package/dist/components/icons/ClockFilledIcon.js +5 -2
  67. package/dist/components/icons/ClockIcon.js +5 -2
  68. package/dist/components/icons/CloseAltFilledIcon.js +5 -2
  69. package/dist/components/icons/CloseAltIcon.js +5 -2
  70. package/dist/components/icons/CogIcon.js +5 -2
  71. package/dist/components/icons/CommunityFilledIcon.js +5 -2
  72. package/dist/components/icons/CommunityIcon.js +5 -2
  73. package/dist/components/icons/ComputerIcon.js +5 -2
  74. package/dist/components/icons/ContactFilledIcon.js +5 -2
  75. package/dist/components/icons/ContactIcon.js +5 -2
  76. package/dist/components/icons/ContactlessFilledIcon.js +5 -2
  77. package/dist/components/icons/ContactlessIcon.js +5 -2
  78. package/dist/components/icons/CoopLiveIcon.js +5 -2
  79. package/dist/components/icons/CoopLocationFilledIcon.js +5 -2
  80. package/dist/components/icons/CoopLogoIcon.js +5 -2
  81. package/dist/components/icons/CoopMembershipCardFilledIcon.js +5 -2
  82. package/dist/components/icons/CreditCardFilledIcon.js +5 -2
  83. package/dist/components/icons/CreditCardIcon.js +5 -2
  84. package/dist/components/icons/CrossIcon.js +5 -2
  85. package/dist/components/icons/DocumentIcon.js +5 -2
  86. package/dist/components/icons/DownloadIcon.js +5 -2
  87. package/dist/components/icons/EnterStoreIcon.js +5 -2
  88. package/dist/components/icons/ExitStoreIcon.js +5 -2
  89. package/dist/components/icons/EyeFilledIcon.js +5 -2
  90. package/dist/components/icons/EyeIcon.js +5 -2
  91. package/dist/components/icons/EyeStrikeFilledIcon.js +5 -2
  92. package/dist/components/icons/EyeStrikeIcon.js +5 -2
  93. package/dist/components/icons/FeedbackFilledIcon.js +5 -2
  94. package/dist/components/icons/FeedbackIcon.js +5 -2
  95. package/dist/components/icons/FilterIcon.js +5 -2
  96. package/dist/components/icons/GiftCardFilledIcon.js +5 -2
  97. package/dist/components/icons/GiftCardIcon.js +5 -2
  98. package/dist/components/icons/GiftFilledIcon.js +5 -2
  99. package/dist/components/icons/GiftIcon.js +5 -2
  100. package/dist/components/icons/HelpFilledIcon.js +5 -2
  101. package/dist/components/icons/HelpIcon.js +5 -2
  102. package/dist/components/icons/HomeFilledIcon.js +5 -2
  103. package/dist/components/icons/HomeIcon.js +5 -2
  104. package/dist/components/icons/HowDoIAssistantIcon.js +5 -2
  105. package/dist/components/icons/InfoIcon.js +5 -2
  106. package/dist/components/icons/KebabIcon.js +5 -2
  107. package/dist/components/icons/LoadingIcon.js +5 -2
  108. package/dist/components/icons/LocationFilledIcon.js +5 -2
  109. package/dist/components/icons/LocationIcon.js +5 -2
  110. package/dist/components/icons/LogoutIcon.js +5 -2
  111. package/dist/components/icons/MailIcon.js +5 -2
  112. package/dist/components/icons/MenuIcon.js +5 -2
  113. package/dist/components/icons/MessageIcon.js +5 -2
  114. package/dist/components/icons/MinusIcon.js +5 -2
  115. package/dist/components/icons/NotesFilledIcon.js +5 -2
  116. package/dist/components/icons/NotesIcon.js +5 -2
  117. package/dist/components/icons/OpenNewIcon.js +5 -2
  118. package/dist/components/icons/OwnBagIcon.js +5 -2
  119. package/dist/components/icons/PadlockIcon.js +5 -2
  120. package/dist/components/icons/PencilIcon.js +5 -2
  121. package/dist/components/icons/PhoneIcon.js +5 -2
  122. package/dist/components/icons/PowerIcon.js +5 -2
  123. package/dist/components/icons/SaveFilledIcon.js +5 -2
  124. package/dist/components/icons/SaveIcon.js +5 -2
  125. package/dist/components/icons/ScooterIcon.js +5 -2
  126. package/dist/components/icons/SearchFilledIcon.js +5 -2
  127. package/dist/components/icons/SearchIcon.js +5 -2
  128. package/dist/components/icons/SendIcon.js +5 -2
  129. package/dist/components/icons/SpannerIcon.js +5 -2
  130. package/dist/components/icons/StarFilledIcon.js +5 -2
  131. package/dist/components/icons/StarIcon.js +5 -2
  132. package/dist/components/icons/TickAltFilledIcon.js +5 -2
  133. package/dist/components/icons/TickAltIcon.js +5 -2
  134. package/dist/components/icons/TickIcon.js +5 -2
  135. package/dist/components/icons/TruckIcon.js +5 -2
  136. package/dist/components/icons/UserWipeIcon.js +5 -2
  137. package/dist/components/icons/VoucherFilledIcon.js +5 -2
  138. package/dist/components/icons/VoucherIcon.js +5 -2
  139. package/dist/components/icons/WarningCircleFilledIcon.js +5 -2
  140. package/dist/components/icons/WarningCircleIcon.js +5 -2
  141. package/dist/components/icons/WarningFilledIcon.js +5 -2
  142. package/dist/components/icons/WarningIcon.js +5 -2
  143. package/dist/components/icons/WifiIcon.js +5 -2
  144. package/dist/components/icons/WriteIcon.js +5 -2
  145. package/dist/hooks/useSlots.js +4 -3
  146. package/dist/index.d.ts +5 -3
  147. package/dist/index.js +3 -2
  148. package/package.json +10 -10
  149. package/src/components/Card/Card.tsx +146 -100
  150. package/src/components/Image/Image.tsx +15 -22
  151. package/src/components/Picture/Picture.tsx +36 -0
  152. package/src/components/Picture/index.ts +5 -0
  153. package/src/components/Signpost/Signpost.tsx +1 -1
  154. package/src/components/Squircle/Squircle.tsx +50 -13
  155. package/src/index.ts +1 -0
@@ -4,7 +4,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
4
4
  //#region src/components/icons/ContactlessIcon.tsx
5
5
  const ContactlessIcon = ({ alt, className, fill, id, ref, ...props }) => {
6
6
  const uid = useId(id);
7
- return /* @__PURE__ */ jsxs("svg", {
7
+ const componentProps = {
8
8
  "aria-labelledby": alt ? uid + "__title" : void 0,
9
9
  className: clsx("coop-icon", className),
10
10
  "data-icon": "contactless",
@@ -12,7 +12,10 @@ const ContactlessIcon = ({ alt, className, fill, id, ref, ...props }) => {
12
12
  id: uid,
13
13
  role: alt ? "img" : void 0,
14
14
  viewBox: "0 0 32 32",
15
- ...props,
15
+ ...props
16
+ };
17
+ return /* @__PURE__ */ jsxs("svg", {
18
+ ...componentProps,
16
19
  ref,
17
20
  children: [alt ? /* @__PURE__ */ jsx("title", {
18
21
  id: uid + "__title",
@@ -4,7 +4,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
4
4
  //#region src/components/icons/CoopLiveIcon.tsx
5
5
  const CoopLiveIcon = ({ alt, className, fill, id, ref, ...props }) => {
6
6
  const uid = useId(id);
7
- return /* @__PURE__ */ jsxs("svg", {
7
+ const componentProps = {
8
8
  "aria-labelledby": alt ? uid + "__title" : void 0,
9
9
  className: clsx("coop-icon", className),
10
10
  "data-icon": "coop-live",
@@ -12,7 +12,10 @@ const CoopLiveIcon = ({ alt, className, fill, id, ref, ...props }) => {
12
12
  id: uid,
13
13
  role: alt ? "img" : void 0,
14
14
  viewBox: "0 0 32 32",
15
- ...props,
15
+ ...props
16
+ };
17
+ return /* @__PURE__ */ jsxs("svg", {
18
+ ...componentProps,
16
19
  ref,
17
20
  children: [
18
21
  alt ? /* @__PURE__ */ jsx("title", {
@@ -4,7 +4,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
4
4
  //#region src/components/icons/CoopLocationFilledIcon.tsx
5
5
  const CoopLocationFilledIcon = ({ alt, className, fill, id, ref, ...props }) => {
6
6
  const uid = useId(id);
7
- return /* @__PURE__ */ jsxs("svg", {
7
+ const componentProps = {
8
8
  "aria-labelledby": alt ? uid + "__title" : void 0,
9
9
  className: clsx("coop-icon", className),
10
10
  "data-icon": "coop-location-filled",
@@ -12,7 +12,10 @@ const CoopLocationFilledIcon = ({ alt, className, fill, id, ref, ...props }) =>
12
12
  id: uid,
13
13
  role: alt ? "img" : void 0,
14
14
  viewBox: "0 0 32 32",
15
- ...props,
15
+ ...props
16
+ };
17
+ return /* @__PURE__ */ jsxs("svg", {
18
+ ...componentProps,
16
19
  ref,
17
20
  children: [
18
21
  alt ? /* @__PURE__ */ jsx("title", {
@@ -4,7 +4,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
4
4
  //#region src/components/icons/CoopLogoIcon.tsx
5
5
  const CoopLogoIcon = ({ alt, className, fill, id, ref, ...props }) => {
6
6
  const uid = useId(id);
7
- return /* @__PURE__ */ jsxs("svg", {
7
+ const componentProps = {
8
8
  "aria-labelledby": alt ? uid + "__title" : void 0,
9
9
  className: clsx("coop-icon", className),
10
10
  "data-icon": "coop-logo",
@@ -12,7 +12,10 @@ const CoopLogoIcon = ({ alt, className, fill, id, ref, ...props }) => {
12
12
  id: uid,
13
13
  role: alt ? "img" : void 0,
14
14
  viewBox: "0 0 32 32",
15
- ...props,
15
+ ...props
16
+ };
17
+ return /* @__PURE__ */ jsxs("svg", {
18
+ ...componentProps,
16
19
  ref,
17
20
  children: [alt ? /* @__PURE__ */ jsx("title", {
18
21
  id: uid + "__title",
@@ -4,7 +4,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
4
4
  //#region src/components/icons/CoopMembershipCardFilledIcon.tsx
5
5
  const CoopMembershipCardFilledIcon = ({ alt, className, fill, id, ref, ...props }) => {
6
6
  const uid = useId(id);
7
- return /* @__PURE__ */ jsxs("svg", {
7
+ const componentProps = {
8
8
  "aria-labelledby": alt ? uid + "__title" : void 0,
9
9
  className: clsx("coop-icon", className),
10
10
  "data-icon": "coop-membership-card-filled",
@@ -12,7 +12,10 @@ const CoopMembershipCardFilledIcon = ({ alt, className, fill, id, ref, ...props
12
12
  id: uid,
13
13
  role: alt ? "img" : void 0,
14
14
  viewBox: "0 0 32 32",
15
- ...props,
15
+ ...props
16
+ };
17
+ return /* @__PURE__ */ jsxs("svg", {
18
+ ...componentProps,
16
19
  ref,
17
20
  children: [
18
21
  alt ? /* @__PURE__ */ jsx("title", {
@@ -4,7 +4,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
4
4
  //#region src/components/icons/CreditCardFilledIcon.tsx
5
5
  const CreditCardFilledIcon = ({ alt, className, fill, id, ref, ...props }) => {
6
6
  const uid = useId(id);
7
- return /* @__PURE__ */ jsxs("svg", {
7
+ const componentProps = {
8
8
  "aria-labelledby": alt ? uid + "__title" : void 0,
9
9
  className: clsx("coop-icon", className),
10
10
  "data-icon": "credit-card-filled",
@@ -12,7 +12,10 @@ const CreditCardFilledIcon = ({ alt, className, fill, id, ref, ...props }) => {
12
12
  id: uid,
13
13
  role: alt ? "img" : void 0,
14
14
  viewBox: "0 0 32 32",
15
- ...props,
15
+ ...props
16
+ };
17
+ return /* @__PURE__ */ jsxs("svg", {
18
+ ...componentProps,
16
19
  ref,
17
20
  children: [
18
21
  alt ? /* @__PURE__ */ jsx("title", {
@@ -4,7 +4,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
4
4
  //#region src/components/icons/CreditCardIcon.tsx
5
5
  const CreditCardIcon = ({ alt, className, fill, id, ref, ...props }) => {
6
6
  const uid = useId(id);
7
- return /* @__PURE__ */ jsxs("svg", {
7
+ const componentProps = {
8
8
  "aria-labelledby": alt ? uid + "__title" : void 0,
9
9
  className: clsx("coop-icon", className),
10
10
  "data-icon": "credit-card",
@@ -12,7 +12,10 @@ const CreditCardIcon = ({ alt, className, fill, id, ref, ...props }) => {
12
12
  id: uid,
13
13
  role: alt ? "img" : void 0,
14
14
  viewBox: "0 0 32 32",
15
- ...props,
15
+ ...props
16
+ };
17
+ return /* @__PURE__ */ jsxs("svg", {
18
+ ...componentProps,
16
19
  ref,
17
20
  children: [alt ? /* @__PURE__ */ jsx("title", {
18
21
  id: uid + "__title",
@@ -4,7 +4,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
4
4
  //#region src/components/icons/CrossIcon.tsx
5
5
  const CrossIcon = ({ alt, className, fill, id, ref, ...props }) => {
6
6
  const uid = useId(id);
7
- return /* @__PURE__ */ jsxs("svg", {
7
+ const componentProps = {
8
8
  "aria-labelledby": alt ? uid + "__title" : void 0,
9
9
  className: clsx("coop-icon", className),
10
10
  "data-icon": "cross",
@@ -12,7 +12,10 @@ const CrossIcon = ({ alt, className, fill, id, ref, ...props }) => {
12
12
  id: uid,
13
13
  role: alt ? "img" : void 0,
14
14
  viewBox: "0 0 32 32",
15
- ...props,
15
+ ...props
16
+ };
17
+ return /* @__PURE__ */ jsxs("svg", {
18
+ ...componentProps,
16
19
  ref,
17
20
  children: [alt ? /* @__PURE__ */ jsx("title", {
18
21
  id: uid + "__title",
@@ -4,7 +4,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
4
4
  //#region src/components/icons/DocumentIcon.tsx
5
5
  const DocumentIcon = ({ alt, className, fill, id, ref, ...props }) => {
6
6
  const uid = useId(id);
7
- return /* @__PURE__ */ jsxs("svg", {
7
+ const componentProps = {
8
8
  "aria-labelledby": alt ? uid + "__title" : void 0,
9
9
  className: clsx("coop-icon", className),
10
10
  "data-icon": "document",
@@ -12,7 +12,10 @@ const DocumentIcon = ({ alt, className, fill, id, ref, ...props }) => {
12
12
  id: uid,
13
13
  role: alt ? "img" : void 0,
14
14
  viewBox: "0 0 32 32",
15
- ...props,
15
+ ...props
16
+ };
17
+ return /* @__PURE__ */ jsxs("svg", {
18
+ ...componentProps,
16
19
  ref,
17
20
  children: [alt ? /* @__PURE__ */ jsx("title", {
18
21
  id: uid + "__title",
@@ -4,7 +4,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
4
4
  //#region src/components/icons/DownloadIcon.tsx
5
5
  const DownloadIcon = ({ alt, className, fill, id, ref, ...props }) => {
6
6
  const uid = useId(id);
7
- return /* @__PURE__ */ jsxs("svg", {
7
+ const componentProps = {
8
8
  "aria-labelledby": alt ? uid + "__title" : void 0,
9
9
  className: clsx("coop-icon", className),
10
10
  "data-icon": "download",
@@ -12,7 +12,10 @@ const DownloadIcon = ({ alt, className, fill, id, ref, ...props }) => {
12
12
  id: uid,
13
13
  role: alt ? "img" : void 0,
14
14
  viewBox: "0 0 32 32",
15
- ...props,
15
+ ...props
16
+ };
17
+ return /* @__PURE__ */ jsxs("svg", {
18
+ ...componentProps,
16
19
  ref,
17
20
  children: [alt ? /* @__PURE__ */ jsx("title", {
18
21
  id: uid + "__title",
@@ -4,7 +4,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
4
4
  //#region src/components/icons/EnterStoreIcon.tsx
5
5
  const EnterStoreIcon = ({ alt, className, fill, id, ref, ...props }) => {
6
6
  const uid = useId(id);
7
- return /* @__PURE__ */ jsxs("svg", {
7
+ const componentProps = {
8
8
  "aria-labelledby": alt ? uid + "__title" : void 0,
9
9
  className: clsx("coop-icon", className),
10
10
  "data-icon": "enter-store",
@@ -12,7 +12,10 @@ const EnterStoreIcon = ({ alt, className, fill, id, ref, ...props }) => {
12
12
  id: uid,
13
13
  role: alt ? "img" : void 0,
14
14
  viewBox: "0 0 32 32",
15
- ...props,
15
+ ...props
16
+ };
17
+ return /* @__PURE__ */ jsxs("svg", {
18
+ ...componentProps,
16
19
  ref,
17
20
  children: [alt ? /* @__PURE__ */ jsx("title", {
18
21
  id: uid + "__title",
@@ -4,7 +4,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
4
4
  //#region src/components/icons/ExitStoreIcon.tsx
5
5
  const ExitStoreIcon = ({ alt, className, fill, id, ref, ...props }) => {
6
6
  const uid = useId(id);
7
- return /* @__PURE__ */ jsxs("svg", {
7
+ const componentProps = {
8
8
  "aria-labelledby": alt ? uid + "__title" : void 0,
9
9
  className: clsx("coop-icon", className),
10
10
  "data-icon": "exit-store",
@@ -12,7 +12,10 @@ const ExitStoreIcon = ({ alt, className, fill, id, ref, ...props }) => {
12
12
  id: uid,
13
13
  role: alt ? "img" : void 0,
14
14
  viewBox: "0 0 32 32",
15
- ...props,
15
+ ...props
16
+ };
17
+ return /* @__PURE__ */ jsxs("svg", {
18
+ ...componentProps,
16
19
  ref,
17
20
  children: [alt ? /* @__PURE__ */ jsx("title", {
18
21
  id: uid + "__title",
@@ -4,7 +4,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
4
4
  //#region src/components/icons/EyeFilledIcon.tsx
5
5
  const EyeFilledIcon = ({ alt, className, fill, id, ref, ...props }) => {
6
6
  const uid = useId(id);
7
- return /* @__PURE__ */ jsxs("svg", {
7
+ const componentProps = {
8
8
  "aria-labelledby": alt ? uid + "__title" : void 0,
9
9
  className: clsx("coop-icon", className),
10
10
  "data-icon": "eye-filled",
@@ -12,7 +12,10 @@ const EyeFilledIcon = ({ alt, className, fill, id, ref, ...props }) => {
12
12
  id: uid,
13
13
  role: alt ? "img" : void 0,
14
14
  viewBox: "0 0 32 32",
15
- ...props,
15
+ ...props
16
+ };
17
+ return /* @__PURE__ */ jsxs("svg", {
18
+ ...componentProps,
16
19
  ref,
17
20
  children: [alt ? /* @__PURE__ */ jsx("title", {
18
21
  id: uid + "__title",
@@ -4,7 +4,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
4
4
  //#region src/components/icons/EyeIcon.tsx
5
5
  const EyeIcon = ({ alt, className, fill, id, ref, ...props }) => {
6
6
  const uid = useId(id);
7
- return /* @__PURE__ */ jsxs("svg", {
7
+ const componentProps = {
8
8
  "aria-labelledby": alt ? uid + "__title" : void 0,
9
9
  className: clsx("coop-icon", className),
10
10
  "data-icon": "eye",
@@ -12,7 +12,10 @@ const EyeIcon = ({ alt, className, fill, id, ref, ...props }) => {
12
12
  id: uid,
13
13
  role: alt ? "img" : void 0,
14
14
  viewBox: "0 0 32 32",
15
- ...props,
15
+ ...props
16
+ };
17
+ return /* @__PURE__ */ jsxs("svg", {
18
+ ...componentProps,
16
19
  ref,
17
20
  children: [alt ? /* @__PURE__ */ jsx("title", {
18
21
  id: uid + "__title",
@@ -4,7 +4,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
4
4
  //#region src/components/icons/EyeStrikeFilledIcon.tsx
5
5
  const EyeStrikeFilledIcon = ({ alt, className, fill, id, ref, ...props }) => {
6
6
  const uid = useId(id);
7
- return /* @__PURE__ */ jsxs("svg", {
7
+ const componentProps = {
8
8
  "aria-labelledby": alt ? uid + "__title" : void 0,
9
9
  className: clsx("coop-icon", className),
10
10
  "data-icon": "eye-strike-filled",
@@ -12,7 +12,10 @@ const EyeStrikeFilledIcon = ({ alt, className, fill, id, ref, ...props }) => {
12
12
  id: uid,
13
13
  role: alt ? "img" : void 0,
14
14
  viewBox: "0 0 32 32",
15
- ...props,
15
+ ...props
16
+ };
17
+ return /* @__PURE__ */ jsxs("svg", {
18
+ ...componentProps,
16
19
  ref,
17
20
  children: [alt ? /* @__PURE__ */ jsx("title", {
18
21
  id: uid + "__title",
@@ -4,7 +4,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
4
4
  //#region src/components/icons/EyeStrikeIcon.tsx
5
5
  const EyeStrikeIcon = ({ alt, className, fill, id, ref, ...props }) => {
6
6
  const uid = useId(id);
7
- return /* @__PURE__ */ jsxs("svg", {
7
+ const componentProps = {
8
8
  "aria-labelledby": alt ? uid + "__title" : void 0,
9
9
  className: clsx("coop-icon", className),
10
10
  "data-icon": "eye-strike",
@@ -12,7 +12,10 @@ const EyeStrikeIcon = ({ alt, className, fill, id, ref, ...props }) => {
12
12
  id: uid,
13
13
  role: alt ? "img" : void 0,
14
14
  viewBox: "0 0 32 32",
15
- ...props,
15
+ ...props
16
+ };
17
+ return /* @__PURE__ */ jsxs("svg", {
18
+ ...componentProps,
16
19
  ref,
17
20
  children: [alt ? /* @__PURE__ */ jsx("title", {
18
21
  id: uid + "__title",
@@ -4,7 +4,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
4
4
  //#region src/components/icons/FeedbackFilledIcon.tsx
5
5
  const FeedbackFilledIcon = ({ alt, className, fill, id, ref, ...props }) => {
6
6
  const uid = useId(id);
7
- return /* @__PURE__ */ jsxs("svg", {
7
+ const componentProps = {
8
8
  "aria-labelledby": alt ? uid + "__title" : void 0,
9
9
  className: clsx("coop-icon", className),
10
10
  "data-icon": "feedback-filled",
@@ -12,7 +12,10 @@ const FeedbackFilledIcon = ({ alt, className, fill, id, ref, ...props }) => {
12
12
  id: uid,
13
13
  role: alt ? "img" : void 0,
14
14
  viewBox: "0 0 32 32",
15
- ...props,
15
+ ...props
16
+ };
17
+ return /* @__PURE__ */ jsxs("svg", {
18
+ ...componentProps,
16
19
  ref,
17
20
  children: [alt ? /* @__PURE__ */ jsx("title", {
18
21
  id: uid + "__title",
@@ -4,7 +4,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
4
4
  //#region src/components/icons/FeedbackIcon.tsx
5
5
  const FeedbackIcon = ({ alt, className, fill, id, ref, ...props }) => {
6
6
  const uid = useId(id);
7
- return /* @__PURE__ */ jsxs("svg", {
7
+ const componentProps = {
8
8
  "aria-labelledby": alt ? uid + "__title" : void 0,
9
9
  className: clsx("coop-icon", className),
10
10
  "data-icon": "feedback",
@@ -12,7 +12,10 @@ const FeedbackIcon = ({ alt, className, fill, id, ref, ...props }) => {
12
12
  id: uid,
13
13
  role: alt ? "img" : void 0,
14
14
  viewBox: "0 0 32 32",
15
- ...props,
15
+ ...props
16
+ };
17
+ return /* @__PURE__ */ jsxs("svg", {
18
+ ...componentProps,
16
19
  ref,
17
20
  children: [alt ? /* @__PURE__ */ jsx("title", {
18
21
  id: uid + "__title",
@@ -4,7 +4,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
4
4
  //#region src/components/icons/FilterIcon.tsx
5
5
  const FilterIcon = ({ alt, className, fill, id, ref, ...props }) => {
6
6
  const uid = useId(id);
7
- return /* @__PURE__ */ jsxs("svg", {
7
+ const componentProps = {
8
8
  "aria-labelledby": alt ? uid + "__title" : void 0,
9
9
  className: clsx("coop-icon", className),
10
10
  "data-icon": "filter",
@@ -12,7 +12,10 @@ const FilterIcon = ({ alt, className, fill, id, ref, ...props }) => {
12
12
  id: uid,
13
13
  role: alt ? "img" : void 0,
14
14
  viewBox: "0 0 32 32",
15
- ...props,
15
+ ...props
16
+ };
17
+ return /* @__PURE__ */ jsxs("svg", {
18
+ ...componentProps,
16
19
  ref,
17
20
  children: [alt ? /* @__PURE__ */ jsx("title", {
18
21
  id: uid + "__title",
@@ -4,7 +4,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
4
4
  //#region src/components/icons/GiftCardFilledIcon.tsx
5
5
  const GiftCardFilledIcon = ({ alt, className, fill, id, ref, ...props }) => {
6
6
  const uid = useId(id);
7
- return /* @__PURE__ */ jsxs("svg", {
7
+ const componentProps = {
8
8
  "aria-labelledby": alt ? uid + "__title" : void 0,
9
9
  className: clsx("coop-icon", className),
10
10
  "data-icon": "gift-card-filled",
@@ -12,7 +12,10 @@ const GiftCardFilledIcon = ({ alt, className, fill, id, ref, ...props }) => {
12
12
  id: uid,
13
13
  role: alt ? "img" : void 0,
14
14
  viewBox: "0 0 32 32",
15
- ...props,
15
+ ...props
16
+ };
17
+ return /* @__PURE__ */ jsxs("svg", {
18
+ ...componentProps,
16
19
  ref,
17
20
  children: [alt ? /* @__PURE__ */ jsx("title", {
18
21
  id: uid + "__title",
@@ -4,7 +4,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
4
4
  //#region src/components/icons/GiftCardIcon.tsx
5
5
  const GiftCardIcon = ({ alt, className, fill, id, ref, ...props }) => {
6
6
  const uid = useId(id);
7
- return /* @__PURE__ */ jsxs("svg", {
7
+ const componentProps = {
8
8
  "aria-labelledby": alt ? uid + "__title" : void 0,
9
9
  className: clsx("coop-icon", className),
10
10
  "data-icon": "gift-card",
@@ -12,7 +12,10 @@ const GiftCardIcon = ({ alt, className, fill, id, ref, ...props }) => {
12
12
  id: uid,
13
13
  role: alt ? "img" : void 0,
14
14
  viewBox: "0 0 32 32",
15
- ...props,
15
+ ...props
16
+ };
17
+ return /* @__PURE__ */ jsxs("svg", {
18
+ ...componentProps,
16
19
  ref,
17
20
  children: [alt ? /* @__PURE__ */ jsx("title", {
18
21
  id: uid + "__title",
@@ -4,7 +4,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
4
4
  //#region src/components/icons/GiftFilledIcon.tsx
5
5
  const GiftFilledIcon = ({ alt, className, fill, id, ref, ...props }) => {
6
6
  const uid = useId(id);
7
- return /* @__PURE__ */ jsxs("svg", {
7
+ const componentProps = {
8
8
  "aria-labelledby": alt ? uid + "__title" : void 0,
9
9
  className: clsx("coop-icon", className),
10
10
  "data-icon": "gift-filled",
@@ -12,7 +12,10 @@ const GiftFilledIcon = ({ alt, className, fill, id, ref, ...props }) => {
12
12
  id: uid,
13
13
  role: alt ? "img" : void 0,
14
14
  viewBox: "0 0 32 32",
15
- ...props,
15
+ ...props
16
+ };
17
+ return /* @__PURE__ */ jsxs("svg", {
18
+ ...componentProps,
16
19
  ref,
17
20
  children: [alt ? /* @__PURE__ */ jsx("title", {
18
21
  id: uid + "__title",
@@ -4,7 +4,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
4
4
  //#region src/components/icons/GiftIcon.tsx
5
5
  const GiftIcon = ({ alt, className, fill, id, ref, ...props }) => {
6
6
  const uid = useId(id);
7
- return /* @__PURE__ */ jsxs("svg", {
7
+ const componentProps = {
8
8
  "aria-labelledby": alt ? uid + "__title" : void 0,
9
9
  className: clsx("coop-icon", className),
10
10
  "data-icon": "gift",
@@ -12,7 +12,10 @@ const GiftIcon = ({ alt, className, fill, id, ref, ...props }) => {
12
12
  id: uid,
13
13
  role: alt ? "img" : void 0,
14
14
  viewBox: "0 0 32 32",
15
- ...props,
15
+ ...props
16
+ };
17
+ return /* @__PURE__ */ jsxs("svg", {
18
+ ...componentProps,
16
19
  ref,
17
20
  children: [alt ? /* @__PURE__ */ jsx("title", {
18
21
  id: uid + "__title",
@@ -4,7 +4,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
4
4
  //#region src/components/icons/HelpFilledIcon.tsx
5
5
  const HelpFilledIcon = ({ alt, className, fill, id, ref, ...props }) => {
6
6
  const uid = useId(id);
7
- return /* @__PURE__ */ jsxs("svg", {
7
+ const componentProps = {
8
8
  "aria-labelledby": alt ? uid + "__title" : void 0,
9
9
  className: clsx("coop-icon", className),
10
10
  "data-icon": "help-filled",
@@ -12,7 +12,10 @@ const HelpFilledIcon = ({ alt, className, fill, id, ref, ...props }) => {
12
12
  id: uid,
13
13
  role: alt ? "img" : void 0,
14
14
  viewBox: "0 0 32 32",
15
- ...props,
15
+ ...props
16
+ };
17
+ return /* @__PURE__ */ jsxs("svg", {
18
+ ...componentProps,
16
19
  ref,
17
20
  children: [alt ? /* @__PURE__ */ jsx("title", {
18
21
  id: uid + "__title",
@@ -4,7 +4,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
4
4
  //#region src/components/icons/HelpIcon.tsx
5
5
  const HelpIcon = ({ alt, className, fill, id, ref, ...props }) => {
6
6
  const uid = useId(id);
7
- return /* @__PURE__ */ jsxs("svg", {
7
+ const componentProps = {
8
8
  "aria-labelledby": alt ? uid + "__title" : void 0,
9
9
  className: clsx("coop-icon", className),
10
10
  "data-icon": "help",
@@ -12,7 +12,10 @@ const HelpIcon = ({ alt, className, fill, id, ref, ...props }) => {
12
12
  id: uid,
13
13
  role: alt ? "img" : void 0,
14
14
  viewBox: "0 0 32 32",
15
- ...props,
15
+ ...props
16
+ };
17
+ return /* @__PURE__ */ jsxs("svg", {
18
+ ...componentProps,
16
19
  ref,
17
20
  children: [alt ? /* @__PURE__ */ jsx("title", {
18
21
  id: uid + "__title",
@@ -4,7 +4,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
4
4
  //#region src/components/icons/HomeFilledIcon.tsx
5
5
  const HomeFilledIcon = ({ alt, className, fill, id, ref, ...props }) => {
6
6
  const uid = useId(id);
7
- return /* @__PURE__ */ jsxs("svg", {
7
+ const componentProps = {
8
8
  "aria-labelledby": alt ? uid + "__title" : void 0,
9
9
  className: clsx("coop-icon", className),
10
10
  "data-icon": "home-filled",
@@ -12,7 +12,10 @@ const HomeFilledIcon = ({ alt, className, fill, id, ref, ...props }) => {
12
12
  id: uid,
13
13
  role: alt ? "img" : void 0,
14
14
  viewBox: "0 0 32 32",
15
- ...props,
15
+ ...props
16
+ };
17
+ return /* @__PURE__ */ jsxs("svg", {
18
+ ...componentProps,
16
19
  ref,
17
20
  children: [alt ? /* @__PURE__ */ jsx("title", {
18
21
  id: uid + "__title",
@@ -4,7 +4,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
4
4
  //#region src/components/icons/HomeIcon.tsx
5
5
  const HomeIcon = ({ alt, className, fill, id, ref, ...props }) => {
6
6
  const uid = useId(id);
7
- return /* @__PURE__ */ jsxs("svg", {
7
+ const componentProps = {
8
8
  "aria-labelledby": alt ? uid + "__title" : void 0,
9
9
  className: clsx("coop-icon", className),
10
10
  "data-icon": "home",
@@ -12,7 +12,10 @@ const HomeIcon = ({ alt, className, fill, id, ref, ...props }) => {
12
12
  id: uid,
13
13
  role: alt ? "img" : void 0,
14
14
  viewBox: "0 0 32 32",
15
- ...props,
15
+ ...props
16
+ };
17
+ return /* @__PURE__ */ jsxs("svg", {
18
+ ...componentProps,
16
19
  ref,
17
20
  children: [alt ? /* @__PURE__ */ jsx("title", {
18
21
  id: uid + "__title",
@@ -4,7 +4,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
4
4
  //#region src/components/icons/HowDoIAssistantIcon.tsx
5
5
  const HowDoIAssistantIcon = ({ alt, className, fill, id, ref, ...props }) => {
6
6
  const uid = useId(id);
7
- return /* @__PURE__ */ jsxs("svg", {
7
+ const componentProps = {
8
8
  "aria-labelledby": alt ? uid + "__title" : void 0,
9
9
  className: clsx("coop-icon", className),
10
10
  "data-icon": "how-do-I-assistant",
@@ -12,7 +12,10 @@ const HowDoIAssistantIcon = ({ alt, className, fill, id, ref, ...props }) => {
12
12
  id: uid,
13
13
  role: alt ? "img" : void 0,
14
14
  viewBox: "0 0 32 32",
15
- ...props,
15
+ ...props
16
+ };
17
+ return /* @__PURE__ */ jsxs("svg", {
18
+ ...componentProps,
16
19
  ref,
17
20
  children: [alt ? /* @__PURE__ */ jsx("title", {
18
21
  id: uid + "__title",
@@ -4,7 +4,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
4
4
  //#region src/components/icons/InfoIcon.tsx
5
5
  const InfoIcon = ({ alt, className, fill, id, ref, ...props }) => {
6
6
  const uid = useId(id);
7
- return /* @__PURE__ */ jsxs("svg", {
7
+ const componentProps = {
8
8
  "aria-labelledby": alt ? uid + "__title" : void 0,
9
9
  className: clsx("coop-icon", className),
10
10
  "data-icon": "info",
@@ -12,7 +12,10 @@ const InfoIcon = ({ alt, className, fill, id, ref, ...props }) => {
12
12
  id: uid,
13
13
  role: alt ? "img" : void 0,
14
14
  viewBox: "0 0 32 32",
15
- ...props,
15
+ ...props
16
+ };
17
+ return /* @__PURE__ */ jsxs("svg", {
18
+ ...componentProps,
16
19
  ref,
17
20
  children: [alt ? /* @__PURE__ */ jsx("title", {
18
21
  id: uid + "__title",
@@ -4,7 +4,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
4
4
  //#region src/components/icons/KebabIcon.tsx
5
5
  const KebabIcon = ({ alt, className, fill, id, ref, ...props }) => {
6
6
  const uid = useId(id);
7
- return /* @__PURE__ */ jsxs("svg", {
7
+ const componentProps = {
8
8
  "aria-labelledby": alt ? uid + "__title" : void 0,
9
9
  className: clsx("coop-icon", className),
10
10
  "data-icon": "kebab",
@@ -12,7 +12,10 @@ const KebabIcon = ({ alt, className, fill, id, ref, ...props }) => {
12
12
  id: uid,
13
13
  role: alt ? "img" : void 0,
14
14
  viewBox: "0 0 32 32",
15
- ...props,
15
+ ...props
16
+ };
17
+ return /* @__PURE__ */ jsxs("svg", {
18
+ ...componentProps,
16
19
  ref,
17
20
  children: [alt ? /* @__PURE__ */ jsx("title", {
18
21
  id: uid + "__title",