@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.
- package/dist/components/AlertBanner/AlertBanner.js +5 -2
- package/dist/components/Author/Author.js +5 -2
- package/dist/components/Card/Card.d.ts +96 -49
- package/dist/components/Card/Card.js +61 -60
- package/dist/components/Card/index.d.ts +2 -2
- package/dist/components/Card/index.js +2 -2
- package/dist/components/Checkbox/Checkbox.js +5 -2
- package/dist/components/DatePicker/DatePicker.js +5 -4
- package/dist/components/DatePicker/datepicker-utils.js +12 -11
- package/dist/components/Dialog/Dialog.js +5 -2
- package/dist/components/Expandable/Expandable.js +5 -2
- package/dist/components/FieldMarkers/Error.js +5 -2
- package/dist/components/FieldMarkers/Hint.js +5 -2
- package/dist/components/FieldMarkers/Label.js +5 -2
- package/dist/components/Fieldset/Fieldset.js +10 -4
- package/dist/components/Flourish/Flourish.js +6 -3
- package/dist/components/Form/Form.js +5 -2
- package/dist/components/Image/Image.d.ts +3 -5
- package/dist/components/Image/Image.js +10 -7
- package/dist/components/LoadingSpinner/LoadingSpinner.js +5 -2
- package/dist/components/Logo/Logo.js +5 -2
- package/dist/components/Picture/Picture.d.ts +15 -0
- package/dist/components/Picture/Picture.js +17 -0
- package/dist/components/Picture/index.d.ts +2 -0
- package/dist/components/Picture/index.js +5 -0
- package/dist/components/Prose/Prose.js +5 -2
- package/dist/components/Radio/Radio.js +5 -2
- package/dist/components/Searchbox/Searchbox.js +3 -2
- package/dist/components/Select/Select.js +5 -2
- package/dist/components/Signpost/Signpost.js +6 -6
- package/dist/components/SkipNav/SkipNav.js +5 -2
- package/dist/components/Squircle/Squircle.d.ts +8 -4
- package/dist/components/Squircle/Squircle.js +39 -6
- package/dist/components/Squircle/index.d.ts +2 -2
- package/dist/components/ValidationSummary/ValidationSummary.js +5 -2
- package/dist/components/icons/AccountCircleFilledIcon.js +5 -2
- package/dist/components/icons/AccountCircleIcon.js +5 -2
- package/dist/components/icons/AccountFilledIcon.js +5 -2
- package/dist/components/icons/AccountIcon.js +5 -2
- package/dist/components/icons/AddIcon.js +5 -2
- package/dist/components/icons/AppsFilledIcon.js +5 -2
- package/dist/components/icons/AppsIcon.js +5 -2
- package/dist/components/icons/ArrowDownIcon.js +5 -2
- package/dist/components/icons/ArrowLeftIcon.js +5 -2
- package/dist/components/icons/ArrowRightIcon.js +5 -2
- package/dist/components/icons/ArrowUpIcon.js +5 -2
- package/dist/components/icons/BackspaceFilledIcon.js +5 -2
- package/dist/components/icons/BackspaceIcon.js +5 -2
- package/dist/components/icons/BasketFilledIcon.js +5 -2
- package/dist/components/icons/BasketIcon.js +5 -2
- package/dist/components/icons/BellFilledIcon.js +5 -2
- package/dist/components/icons/BellIcon.js +5 -2
- package/dist/components/icons/BroomIcon.js +5 -2
- package/dist/components/icons/CalendarFilledIcon.js +5 -2
- package/dist/components/icons/CalendarIcon.js +5 -2
- package/dist/components/icons/CashFilledIcon.js +5 -2
- package/dist/components/icons/CashIcon.js +5 -2
- package/dist/components/icons/ChevronDownIcon.js +5 -2
- package/dist/components/icons/ChevronLeftIcon.js +5 -2
- package/dist/components/icons/ChevronRightIcon.js +5 -2
- package/dist/components/icons/ChevronUpIcon.js +5 -2
- package/dist/components/icons/CircleBurgerFilledIcon.js +5 -2
- package/dist/components/icons/CircleBurgerIcon.js +5 -2
- package/dist/components/icons/ClipboardFilledIcon.js +5 -2
- package/dist/components/icons/ClipboardIcon.js +5 -2
- package/dist/components/icons/ClockFilledIcon.js +5 -2
- package/dist/components/icons/ClockIcon.js +5 -2
- package/dist/components/icons/CloseAltFilledIcon.js +5 -2
- package/dist/components/icons/CloseAltIcon.js +5 -2
- package/dist/components/icons/CogIcon.js +5 -2
- package/dist/components/icons/CommunityFilledIcon.js +5 -2
- package/dist/components/icons/CommunityIcon.js +5 -2
- package/dist/components/icons/ComputerIcon.js +5 -2
- package/dist/components/icons/ContactFilledIcon.js +5 -2
- package/dist/components/icons/ContactIcon.js +5 -2
- package/dist/components/icons/ContactlessFilledIcon.js +5 -2
- package/dist/components/icons/ContactlessIcon.js +5 -2
- package/dist/components/icons/CoopLiveIcon.js +5 -2
- package/dist/components/icons/CoopLocationFilledIcon.js +5 -2
- package/dist/components/icons/CoopLogoIcon.js +5 -2
- package/dist/components/icons/CoopMembershipCardFilledIcon.js +5 -2
- package/dist/components/icons/CreditCardFilledIcon.js +5 -2
- package/dist/components/icons/CreditCardIcon.js +5 -2
- package/dist/components/icons/CrossIcon.js +5 -2
- package/dist/components/icons/DocumentIcon.js +5 -2
- package/dist/components/icons/DownloadIcon.js +5 -2
- package/dist/components/icons/EnterStoreIcon.js +5 -2
- package/dist/components/icons/ExitStoreIcon.js +5 -2
- package/dist/components/icons/EyeFilledIcon.js +5 -2
- package/dist/components/icons/EyeIcon.js +5 -2
- package/dist/components/icons/EyeStrikeFilledIcon.js +5 -2
- package/dist/components/icons/EyeStrikeIcon.js +5 -2
- package/dist/components/icons/FeedbackFilledIcon.js +5 -2
- package/dist/components/icons/FeedbackIcon.js +5 -2
- package/dist/components/icons/FilterIcon.js +5 -2
- package/dist/components/icons/GiftCardFilledIcon.js +5 -2
- package/dist/components/icons/GiftCardIcon.js +5 -2
- package/dist/components/icons/GiftFilledIcon.js +5 -2
- package/dist/components/icons/GiftIcon.js +5 -2
- package/dist/components/icons/HelpFilledIcon.js +5 -2
- package/dist/components/icons/HelpIcon.js +5 -2
- package/dist/components/icons/HomeFilledIcon.js +5 -2
- package/dist/components/icons/HomeIcon.js +5 -2
- package/dist/components/icons/HowDoIAssistantIcon.js +5 -2
- package/dist/components/icons/InfoIcon.js +5 -2
- package/dist/components/icons/KebabIcon.js +5 -2
- package/dist/components/icons/LoadingIcon.js +5 -2
- package/dist/components/icons/LocationFilledIcon.js +5 -2
- package/dist/components/icons/LocationIcon.js +5 -2
- package/dist/components/icons/LogoutIcon.js +5 -2
- package/dist/components/icons/MailIcon.js +5 -2
- package/dist/components/icons/MenuIcon.js +5 -2
- package/dist/components/icons/MessageIcon.js +5 -2
- package/dist/components/icons/MinusIcon.js +5 -2
- package/dist/components/icons/NotesFilledIcon.js +5 -2
- package/dist/components/icons/NotesIcon.js +5 -2
- package/dist/components/icons/OpenNewIcon.js +5 -2
- package/dist/components/icons/OwnBagIcon.js +5 -2
- package/dist/components/icons/PadlockIcon.js +5 -2
- package/dist/components/icons/PencilIcon.js +5 -2
- package/dist/components/icons/PhoneIcon.js +5 -2
- package/dist/components/icons/PowerIcon.js +5 -2
- package/dist/components/icons/SaveFilledIcon.js +5 -2
- package/dist/components/icons/SaveIcon.js +5 -2
- package/dist/components/icons/ScooterIcon.js +5 -2
- package/dist/components/icons/SearchFilledIcon.js +5 -2
- package/dist/components/icons/SearchIcon.js +5 -2
- package/dist/components/icons/SendIcon.js +5 -2
- package/dist/components/icons/SpannerIcon.js +5 -2
- package/dist/components/icons/StarFilledIcon.js +5 -2
- package/dist/components/icons/StarIcon.js +5 -2
- package/dist/components/icons/TickAltFilledIcon.js +5 -2
- package/dist/components/icons/TickAltIcon.js +5 -2
- package/dist/components/icons/TickIcon.js +5 -2
- package/dist/components/icons/TruckIcon.js +5 -2
- package/dist/components/icons/UserWipeIcon.js +5 -2
- package/dist/components/icons/VoucherFilledIcon.js +5 -2
- package/dist/components/icons/VoucherIcon.js +5 -2
- package/dist/components/icons/WarningCircleFilledIcon.js +5 -2
- package/dist/components/icons/WarningCircleIcon.js +5 -2
- package/dist/components/icons/WarningFilledIcon.js +5 -2
- package/dist/components/icons/WarningIcon.js +5 -2
- package/dist/components/icons/WifiIcon.js +5 -2
- package/dist/components/icons/WriteIcon.js +5 -2
- package/dist/hooks/useSlots.js +4 -3
- package/dist/index.d.ts +5 -3
- package/dist/index.js +3 -2
- package/package.json +10 -10
- package/src/components/Card/Card.tsx +146 -100
- package/src/components/Image/Image.tsx +15 -22
- package/src/components/Picture/Picture.tsx +36 -0
- package/src/components/Picture/index.ts +5 -0
- package/src/components/Signpost/Signpost.tsx +1 -1
- package/src/components/Squircle/Squircle.tsx +50 -13
- package/src/index.ts +1 -0
|
@@ -4,7 +4,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
4
4
|
//#region src/components/icons/LoadingIcon.tsx
|
|
5
5
|
const LoadingIcon = ({ alt, className, fill, id, ref, ...props }) => {
|
|
6
6
|
const uid = useId(id);
|
|
7
|
-
|
|
7
|
+
const componentProps = {
|
|
8
8
|
"aria-labelledby": alt ? uid + "__title" : void 0,
|
|
9
9
|
className: clsx("coop-icon", className),
|
|
10
10
|
"data-icon": "loading",
|
|
@@ -12,7 +12,10 @@ const LoadingIcon = ({ 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/LocationFilledIcon.tsx
|
|
5
5
|
const LocationFilledIcon = ({ alt, className, fill, id, ref, ...props }) => {
|
|
6
6
|
const uid = useId(id);
|
|
7
|
-
|
|
7
|
+
const componentProps = {
|
|
8
8
|
"aria-labelledby": alt ? uid + "__title" : void 0,
|
|
9
9
|
className: clsx("coop-icon", className),
|
|
10
10
|
"data-icon": "location-filled",
|
|
@@ -12,7 +12,10 @@ const LocationFilledIcon = ({ 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/LocationIcon.tsx
|
|
5
5
|
const LocationIcon = ({ alt, className, fill, id, ref, ...props }) => {
|
|
6
6
|
const uid = useId(id);
|
|
7
|
-
|
|
7
|
+
const componentProps = {
|
|
8
8
|
"aria-labelledby": alt ? uid + "__title" : void 0,
|
|
9
9
|
className: clsx("coop-icon", className),
|
|
10
10
|
"data-icon": "location",
|
|
@@ -12,7 +12,10 @@ const LocationIcon = ({ 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/LogoutIcon.tsx
|
|
5
5
|
const LogoutIcon = ({ alt, className, fill, id, ref, ...props }) => {
|
|
6
6
|
const uid = useId(id);
|
|
7
|
-
|
|
7
|
+
const componentProps = {
|
|
8
8
|
"aria-labelledby": alt ? uid + "__title" : void 0,
|
|
9
9
|
className: clsx("coop-icon", className),
|
|
10
10
|
"data-icon": "logout",
|
|
@@ -12,7 +12,10 @@ const LogoutIcon = ({ 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/MailIcon.tsx
|
|
5
5
|
const MailIcon = ({ alt, className, fill, id, ref, ...props }) => {
|
|
6
6
|
const uid = useId(id);
|
|
7
|
-
|
|
7
|
+
const componentProps = {
|
|
8
8
|
"aria-labelledby": alt ? uid + "__title" : void 0,
|
|
9
9
|
className: clsx("coop-icon", className),
|
|
10
10
|
"data-icon": "mail",
|
|
@@ -12,7 +12,10 @@ const MailIcon = ({ 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/MenuIcon.tsx
|
|
5
5
|
const MenuIcon = ({ alt, className, fill, id, ref, ...props }) => {
|
|
6
6
|
const uid = useId(id);
|
|
7
|
-
|
|
7
|
+
const componentProps = {
|
|
8
8
|
"aria-labelledby": alt ? uid + "__title" : void 0,
|
|
9
9
|
className: clsx("coop-icon", className),
|
|
10
10
|
"data-icon": "menu",
|
|
@@ -12,7 +12,10 @@ const MenuIcon = ({ 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/MessageIcon.tsx
|
|
5
5
|
const MessageIcon = ({ alt, className, fill, id, ref, ...props }) => {
|
|
6
6
|
const uid = useId(id);
|
|
7
|
-
|
|
7
|
+
const componentProps = {
|
|
8
8
|
"aria-labelledby": alt ? uid + "__title" : void 0,
|
|
9
9
|
className: clsx("coop-icon", className),
|
|
10
10
|
"data-icon": "message",
|
|
@@ -12,7 +12,10 @@ const MessageIcon = ({ 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/MinusIcon.tsx
|
|
5
5
|
const MinusIcon = ({ alt, className, fill, id, ref, ...props }) => {
|
|
6
6
|
const uid = useId(id);
|
|
7
|
-
|
|
7
|
+
const componentProps = {
|
|
8
8
|
"aria-labelledby": alt ? uid + "__title" : void 0,
|
|
9
9
|
className: clsx("coop-icon", className),
|
|
10
10
|
"data-icon": "minus",
|
|
@@ -12,7 +12,10 @@ const MinusIcon = ({ 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/NotesFilledIcon.tsx
|
|
5
5
|
const NotesFilledIcon = ({ alt, className, fill, id, ref, ...props }) => {
|
|
6
6
|
const uid = useId(id);
|
|
7
|
-
|
|
7
|
+
const componentProps = {
|
|
8
8
|
"aria-labelledby": alt ? uid + "__title" : void 0,
|
|
9
9
|
className: clsx("coop-icon", className),
|
|
10
10
|
"data-icon": "notes-filled",
|
|
@@ -12,7 +12,10 @@ const NotesFilledIcon = ({ 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/NotesIcon.tsx
|
|
5
5
|
const NotesIcon = ({ alt, className, fill, id, ref, ...props }) => {
|
|
6
6
|
const uid = useId(id);
|
|
7
|
-
|
|
7
|
+
const componentProps = {
|
|
8
8
|
"aria-labelledby": alt ? uid + "__title" : void 0,
|
|
9
9
|
className: clsx("coop-icon", className),
|
|
10
10
|
"data-icon": "notes",
|
|
@@ -12,7 +12,10 @@ const NotesIcon = ({ 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/OpenNewIcon.tsx
|
|
5
5
|
const OpenNewIcon = ({ alt, className, fill, id, ref, ...props }) => {
|
|
6
6
|
const uid = useId(id);
|
|
7
|
-
|
|
7
|
+
const componentProps = {
|
|
8
8
|
"aria-labelledby": alt ? uid + "__title" : void 0,
|
|
9
9
|
className: clsx("coop-icon", className),
|
|
10
10
|
"data-icon": "open-new",
|
|
@@ -12,7 +12,10 @@ const OpenNewIcon = ({ 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/OwnBagIcon.tsx
|
|
5
5
|
const OwnBagIcon = ({ alt, className, fill, id, ref, ...props }) => {
|
|
6
6
|
const uid = useId(id);
|
|
7
|
-
|
|
7
|
+
const componentProps = {
|
|
8
8
|
"aria-labelledby": alt ? uid + "__title" : void 0,
|
|
9
9
|
className: clsx("coop-icon", className),
|
|
10
10
|
"data-icon": "own-bag",
|
|
@@ -12,7 +12,10 @@ const OwnBagIcon = ({ 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/PadlockIcon.tsx
|
|
5
5
|
const PadlockIcon = ({ alt, className, fill, id, ref, ...props }) => {
|
|
6
6
|
const uid = useId(id);
|
|
7
|
-
|
|
7
|
+
const componentProps = {
|
|
8
8
|
"aria-labelledby": alt ? uid + "__title" : void 0,
|
|
9
9
|
className: clsx("coop-icon", className),
|
|
10
10
|
"data-icon": "padlock",
|
|
@@ -12,7 +12,10 @@ const PadlockIcon = ({ 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/PencilIcon.tsx
|
|
5
5
|
const PencilIcon = ({ alt, className, fill, id, ref, ...props }) => {
|
|
6
6
|
const uid = useId(id);
|
|
7
|
-
|
|
7
|
+
const componentProps = {
|
|
8
8
|
"aria-labelledby": alt ? uid + "__title" : void 0,
|
|
9
9
|
className: clsx("coop-icon", className),
|
|
10
10
|
"data-icon": "pencil",
|
|
@@ -12,7 +12,10 @@ const PencilIcon = ({ 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/PhoneIcon.tsx
|
|
5
5
|
const PhoneIcon = ({ alt, className, fill, id, ref, ...props }) => {
|
|
6
6
|
const uid = useId(id);
|
|
7
|
-
|
|
7
|
+
const componentProps = {
|
|
8
8
|
"aria-labelledby": alt ? uid + "__title" : void 0,
|
|
9
9
|
className: clsx("coop-icon", className),
|
|
10
10
|
"data-icon": "phone",
|
|
@@ -12,7 +12,10 @@ const PhoneIcon = ({ 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/PowerIcon.tsx
|
|
5
5
|
const PowerIcon = ({ alt, className, fill, id, ref, ...props }) => {
|
|
6
6
|
const uid = useId(id);
|
|
7
|
-
|
|
7
|
+
const componentProps = {
|
|
8
8
|
"aria-labelledby": alt ? uid + "__title" : void 0,
|
|
9
9
|
className: clsx("coop-icon", className),
|
|
10
10
|
"data-icon": "power",
|
|
@@ -12,7 +12,10 @@ const PowerIcon = ({ 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/SaveFilledIcon.tsx
|
|
5
5
|
const SaveFilledIcon = ({ alt, className, fill, id, ref, ...props }) => {
|
|
6
6
|
const uid = useId(id);
|
|
7
|
-
|
|
7
|
+
const componentProps = {
|
|
8
8
|
"aria-labelledby": alt ? uid + "__title" : void 0,
|
|
9
9
|
className: clsx("coop-icon", className),
|
|
10
10
|
"data-icon": "save-filled",
|
|
@@ -12,7 +12,10 @@ const SaveFilledIcon = ({ 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/SaveIcon.tsx
|
|
5
5
|
const SaveIcon = ({ alt, className, fill, id, ref, ...props }) => {
|
|
6
6
|
const uid = useId(id);
|
|
7
|
-
|
|
7
|
+
const componentProps = {
|
|
8
8
|
"aria-labelledby": alt ? uid + "__title" : void 0,
|
|
9
9
|
className: clsx("coop-icon", className),
|
|
10
10
|
"data-icon": "save",
|
|
@@ -12,7 +12,10 @@ const SaveIcon = ({ 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/ScooterIcon.tsx
|
|
5
5
|
const ScooterIcon = ({ alt, className, fill, id, ref, ...props }) => {
|
|
6
6
|
const uid = useId(id);
|
|
7
|
-
|
|
7
|
+
const componentProps = {
|
|
8
8
|
"aria-labelledby": alt ? uid + "__title" : void 0,
|
|
9
9
|
className: clsx("coop-icon", className),
|
|
10
10
|
"data-icon": "scooter",
|
|
@@ -12,7 +12,10 @@ const ScooterIcon = ({ 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/SearchFilledIcon.tsx
|
|
5
5
|
const SearchFilledIcon = ({ alt, className, fill, id, ref, ...props }) => {
|
|
6
6
|
const uid = useId(id);
|
|
7
|
-
|
|
7
|
+
const componentProps = {
|
|
8
8
|
"aria-labelledby": alt ? uid + "__title" : void 0,
|
|
9
9
|
className: clsx("coop-icon", className),
|
|
10
10
|
"data-icon": "search-filled",
|
|
@@ -12,7 +12,10 @@ const SearchFilledIcon = ({ 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/SearchIcon.tsx
|
|
5
5
|
const SearchIcon = ({ alt, className, fill, id, ref, ...props }) => {
|
|
6
6
|
const uid = useId(id);
|
|
7
|
-
|
|
7
|
+
const componentProps = {
|
|
8
8
|
"aria-labelledby": alt ? uid + "__title" : void 0,
|
|
9
9
|
className: clsx("coop-icon", className),
|
|
10
10
|
"data-icon": "search",
|
|
@@ -12,7 +12,10 @@ const SearchIcon = ({ 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/SendIcon.tsx
|
|
5
5
|
const SendIcon = ({ alt, className, fill, id, ref, ...props }) => {
|
|
6
6
|
const uid = useId(id);
|
|
7
|
-
|
|
7
|
+
const componentProps = {
|
|
8
8
|
"aria-labelledby": alt ? uid + "__title" : void 0,
|
|
9
9
|
className: clsx("coop-icon", className),
|
|
10
10
|
"data-icon": "send",
|
|
@@ -12,7 +12,10 @@ const SendIcon = ({ 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/SpannerIcon.tsx
|
|
5
5
|
const SpannerIcon = ({ alt, className, fill, id, ref, ...props }) => {
|
|
6
6
|
const uid = useId(id);
|
|
7
|
-
|
|
7
|
+
const componentProps = {
|
|
8
8
|
"aria-labelledby": alt ? uid + "__title" : void 0,
|
|
9
9
|
className: clsx("coop-icon", className),
|
|
10
10
|
"data-icon": "spanner",
|
|
@@ -12,7 +12,10 @@ const SpannerIcon = ({ 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/StarFilledIcon.tsx
|
|
5
5
|
const StarFilledIcon = ({ alt, className, fill, id, ref, ...props }) => {
|
|
6
6
|
const uid = useId(id);
|
|
7
|
-
|
|
7
|
+
const componentProps = {
|
|
8
8
|
"aria-labelledby": alt ? uid + "__title" : void 0,
|
|
9
9
|
className: clsx("coop-icon", className),
|
|
10
10
|
"data-icon": "star-filled",
|
|
@@ -12,7 +12,10 @@ const StarFilledIcon = ({ 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/StarIcon.tsx
|
|
5
5
|
const StarIcon = ({ alt, className, fill, id, ref, ...props }) => {
|
|
6
6
|
const uid = useId(id);
|
|
7
|
-
|
|
7
|
+
const componentProps = {
|
|
8
8
|
"aria-labelledby": alt ? uid + "__title" : void 0,
|
|
9
9
|
className: clsx("coop-icon", className),
|
|
10
10
|
"data-icon": "star",
|
|
@@ -12,7 +12,10 @@ const StarIcon = ({ 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/TickAltFilledIcon.tsx
|
|
5
5
|
const TickAltFilledIcon = ({ alt, className, fill, id, ref, ...props }) => {
|
|
6
6
|
const uid = useId(id);
|
|
7
|
-
|
|
7
|
+
const componentProps = {
|
|
8
8
|
"aria-labelledby": alt ? uid + "__title" : void 0,
|
|
9
9
|
className: clsx("coop-icon", className),
|
|
10
10
|
"data-icon": "tick-alt-filled",
|
|
@@ -12,7 +12,10 @@ const TickAltFilledIcon = ({ 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/TickAltIcon.tsx
|
|
5
5
|
const TickAltIcon = ({ alt, className, fill, id, ref, ...props }) => {
|
|
6
6
|
const uid = useId(id);
|
|
7
|
-
|
|
7
|
+
const componentProps = {
|
|
8
8
|
"aria-labelledby": alt ? uid + "__title" : void 0,
|
|
9
9
|
className: clsx("coop-icon", className),
|
|
10
10
|
"data-icon": "tick-alt",
|
|
@@ -12,7 +12,10 @@ const TickAltIcon = ({ 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/TickIcon.tsx
|
|
5
5
|
const TickIcon = ({ alt, className, fill, id, ref, ...props }) => {
|
|
6
6
|
const uid = useId(id);
|
|
7
|
-
|
|
7
|
+
const componentProps = {
|
|
8
8
|
"aria-labelledby": alt ? uid + "__title" : void 0,
|
|
9
9
|
className: clsx("coop-icon", className),
|
|
10
10
|
"data-icon": "tick",
|
|
@@ -12,7 +12,10 @@ const TickIcon = ({ 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/TruckIcon.tsx
|
|
5
5
|
const TruckIcon = ({ alt, className, fill, id, ref, ...props }) => {
|
|
6
6
|
const uid = useId(id);
|
|
7
|
-
|
|
7
|
+
const componentProps = {
|
|
8
8
|
"aria-labelledby": alt ? uid + "__title" : void 0,
|
|
9
9
|
className: clsx("coop-icon", className),
|
|
10
10
|
"data-icon": "truck",
|
|
@@ -12,7 +12,10 @@ const TruckIcon = ({ 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/UserWipeIcon.tsx
|
|
5
5
|
const UserWipeIcon = ({ alt, className, fill, id, ref, ...props }) => {
|
|
6
6
|
const uid = useId(id);
|
|
7
|
-
|
|
7
|
+
const componentProps = {
|
|
8
8
|
"aria-labelledby": alt ? uid + "__title" : void 0,
|
|
9
9
|
className: clsx("coop-icon", className),
|
|
10
10
|
"data-icon": "user-wipe",
|
|
@@ -12,7 +12,10 @@ const UserWipeIcon = ({ 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",
|