@coopdigital/react 0.22.0 → 0.23.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 (54) hide show
  1. package/dist/components/AlertBanner/AlertBanner.js +7 -5
  2. package/dist/components/Author/Author.js +13 -9
  3. package/dist/components/Button/Button.js +17 -8
  4. package/dist/components/Card/Card.js +13 -6
  5. package/dist/components/Expandable/Expandable.js +6 -5
  6. package/dist/components/Icon/AddIcon.js +11 -5
  7. package/dist/components/Icon/ArrowDownIcon.js +11 -5
  8. package/dist/components/Icon/ArrowLeftIcon.js +11 -5
  9. package/dist/components/Icon/ArrowRightIcon.js +11 -5
  10. package/dist/components/Icon/ArrowUpIcon.js +11 -5
  11. package/dist/components/Icon/AvatarAltIcon.js +11 -5
  12. package/dist/components/Icon/AvatarIcon.js +11 -5
  13. package/dist/components/Icon/BasketIcon.js +11 -5
  14. package/dist/components/Icon/CalendarIcon.js +11 -5
  15. package/dist/components/Icon/ChevronDownIcon.js +11 -5
  16. package/dist/components/Icon/ChevronLeftIcon.js +11 -5
  17. package/dist/components/Icon/ChevronRightIcon.js +11 -5
  18. package/dist/components/Icon/ChevronUpIcon.js +11 -5
  19. package/dist/components/Icon/ClockIcon.js +11 -5
  20. package/dist/components/Icon/CloseAltIcon.js +11 -5
  21. package/dist/components/Icon/CloseIcon.js +11 -5
  22. package/dist/components/Icon/CoopCardIcon.js +11 -5
  23. package/dist/components/Icon/CoopIcon.js +11 -5
  24. package/dist/components/Icon/CoopLocationIcon.js +11 -5
  25. package/dist/components/Icon/DownloadIcon.js +11 -5
  26. package/dist/components/Icon/HomeIcon.js +11 -5
  27. package/dist/components/Icon/InformationIcon.js +11 -5
  28. package/dist/components/Icon/LoadingIcon.js +11 -5
  29. package/dist/components/Icon/LocationIcon.js +11 -5
  30. package/dist/components/Icon/MailIcon.js +11 -5
  31. package/dist/components/Icon/MenuIcon.js +11 -5
  32. package/dist/components/Icon/MessageIcon.js +11 -5
  33. package/dist/components/Icon/MinusIcon.js +11 -5
  34. package/dist/components/Icon/OpenNewIcon.js +11 -5
  35. package/dist/components/Icon/PencilIcon.js +11 -5
  36. package/dist/components/Icon/PhoneIcon.js +11 -5
  37. package/dist/components/Icon/QuestionIcon.js +11 -5
  38. package/dist/components/Icon/ScooterIcon.js +11 -5
  39. package/dist/components/Icon/SearchIcon.js +11 -5
  40. package/dist/components/Icon/SettingsIcon.js +11 -5
  41. package/dist/components/Icon/TickAltIcon.js +11 -5
  42. package/dist/components/Icon/TickIcon.js +11 -5
  43. package/dist/components/Icon/VanIcon.js +11 -5
  44. package/dist/components/Icon/WarningIcon.js +11 -5
  45. package/dist/components/Icon/WriteIcon.js +11 -5
  46. package/dist/components/Image/Image.js +2 -4
  47. package/dist/components/Pill/Pill.js +8 -5
  48. package/dist/components/SearchBox/SearchBox.js +14 -11
  49. package/dist/components/Signpost/Signpost.js +6 -5
  50. package/dist/components/SkipNav/SkipNav.js +8 -7
  51. package/dist/components/Squircle/Squircle.js +7 -5
  52. package/dist/components/Tag/Tag.js +7 -5
  53. package/package.json +3 -3
  54. package/dist/node_modules/tslib/tslib.es6.js +0 -45
@@ -1,11 +1,13 @@
1
- import { __rest } from '../../node_modules/tslib/tslib.es6.js';
2
1
  import { jsx, jsxs } from 'react/jsx-runtime';
3
2
  import { clsx } from '../../node_modules/clsx/dist/clsx.js';
4
3
 
5
- const AlertBanner = (_a) => {
6
- var { children, className, heading, variant = "default" } = _a, props = __rest(_a, ["children", "className", "heading", "variant"]);
7
- const componentProps = Object.assign({ className: clsx("coop-alert-banner", className), "data-variant": variant }, props);
8
- return (jsx("aside", Object.assign({}, componentProps, { children: jsxs("div", { className: "coop-alert-banner--inner", children: [jsx("h2", { id: "coop-alert-banner--headline", children: heading }), children] }) })));
4
+ const AlertBanner = ({ children, className, heading, variant = "default", ...props }) => {
5
+ const componentProps = {
6
+ className: clsx("coop-alert-banner", className),
7
+ "data-variant": variant,
8
+ ...props,
9
+ };
10
+ return (jsx("aside", { ...componentProps, children: jsxs("div", { className: "coop-alert-banner--inner", children: [jsx("h2", { id: "coop-alert-banner--headline", children: heading }), children] }) }));
9
11
  };
10
12
 
11
13
  export { AlertBanner, AlertBanner as default };
@@ -1,16 +1,20 @@
1
- import { __rest } from '../../node_modules/tslib/tslib.es6.js';
2
1
  import { jsxs, jsx } from 'react/jsx-runtime';
3
2
  import { clsx } from '../../node_modules/clsx/dist/clsx.js';
4
3
  import { Image } from '../Image/Image.js';
5
4
 
6
- const Author = (_a) => {
7
- var { author = "Co-op team", className, date, datePrefix = "", image = {
8
- alt: "",
9
- src: "https://s3.eu-west-1.amazonaws.com/assets.digital.coop.co.uk/oneweb/coop-logo-inverted.svg",
10
- } } = _a, props = __rest(_a, ["author", "className", "date", "datePrefix", "image"]);
11
- const imageProps = Object.assign({ width: "56px" }, image);
12
- const componentProps = Object.assign({ className: clsx("coop-author", className) }, props);
13
- return (jsxs("div", Object.assign({}, componentProps, { children: [image && jsx(Image, Object.assign({}, imageProps)), jsxs("div", { className: "coop-author--content", children: [jsxs("span", { children: [datePrefix ? datePrefix + " " : "", date] }), jsxs("span", { children: ["by ", author] })] })] })));
5
+ const Author = ({ author = "Co-op team", className, date, datePrefix = "", image = {
6
+ alt: "",
7
+ src: "https://s3.eu-west-1.amazonaws.com/assets.digital.coop.co.uk/oneweb/coop-logo-inverted.svg",
8
+ }, ...props }) => {
9
+ const imageProps = {
10
+ width: "56px",
11
+ ...image,
12
+ };
13
+ const componentProps = {
14
+ className: clsx("coop-author", className),
15
+ ...props,
16
+ };
17
+ return (jsxs("div", { ...componentProps, children: [image && jsx(Image, { ...imageProps }), jsxs("div", { className: "coop-author--content", children: [jsxs("span", { children: [datePrefix ? datePrefix + " " : "", date] }), jsxs("span", { children: ["by ", author] })] })] }));
14
18
  };
15
19
 
16
20
  export { Author, Author as default };
@@ -1,30 +1,39 @@
1
- import { __rest, __awaiter } from '../../node_modules/tslib/tslib.es6.js';
2
1
  import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
3
2
  import { clsx } from '../../node_modules/clsx/dist/clsx.js';
4
3
  import React, { useState, useCallback } from 'react';
5
4
  import { LoadingIcon } from '../Icon/LoadingIcon.js';
6
5
 
7
- const Button = (_a) => {
8
- var { as, children, className, href, isDisabled = false, isFullWidth = false, isLoading = false, loadingText = "Loading", onClick, size = "md", variant = "green" } = _a, props = __rest(_a, ["as", "children", "className", "href", "isDisabled", "isFullWidth", "isLoading", "loadingText", "onClick", "size", "variant"]);
6
+ const Button = ({ as, children, className, href, isDisabled = false, isFullWidth = false, isLoading = false, loadingText = "Loading", onClick, size = "md", variant = "green", ...props }) => {
9
7
  let element = href ? "a" : "button";
10
8
  if (as) {
11
9
  element = as;
12
10
  }
13
11
  const [isPending, setIsPending] = useState(false);
14
- const handleClick = useCallback((event) => __awaiter(void 0, void 0, void 0, function* () {
12
+ const handleClick = useCallback(async (event) => {
15
13
  if (isPending || !onClick)
16
14
  return;
17
15
  setIsPending(true);
18
16
  try {
19
- yield Promise.resolve(onClick(event));
17
+ await Promise.resolve(onClick(event));
20
18
  }
21
19
  finally {
22
20
  setIsPending(false);
23
21
  }
24
- }), [onClick, isPending]);
25
- const componentProps = Object.assign({ "aria-disabled": isDisabled ? true : undefined, "aria-live": "assertive", className: clsx(variant == "text" ? "coop-link" : "coop-button", className), "data-loading": isLoading || isPending ? true : undefined, "data-size": size.length && size !== "md" ? size : undefined, "data-variant": variant !== "text" ? variant : undefined, "data-width": isFullWidth ? "full" : undefined, href, onClick: handleClick }, props);
22
+ }, [onClick, isPending]);
23
+ const componentProps = {
24
+ "aria-disabled": isDisabled ? true : undefined,
25
+ "aria-live": "assertive",
26
+ className: clsx(variant == "text" ? "coop-link" : "coop-button", className),
27
+ "data-loading": isLoading || isPending ? true : undefined,
28
+ "data-size": size.length && size !== "md" ? size : undefined,
29
+ "data-variant": variant !== "text" ? variant : undefined,
30
+ "data-width": isFullWidth ? "full" : undefined,
31
+ href,
32
+ onClick: handleClick,
33
+ ...props,
34
+ };
26
35
  const finalChildren = isPending || isLoading ? (jsxs(Fragment, { children: [loadingText, jsx(LoadingIcon, {})] })) : (children);
27
- return React.createElement(element, Object.assign({}, componentProps), finalChildren);
36
+ return React.createElement(element, { ...componentProps }, finalChildren);
28
37
  };
29
38
 
30
39
  export { Button, Button as default };
@@ -1,4 +1,3 @@
1
- import { __rest } from '../../node_modules/tslib/tslib.es6.js';
2
1
  import { jsxs, jsx } from 'react/jsx-runtime';
3
2
  import { clsx } from '../../node_modules/clsx/dist/clsx.js';
4
3
  import React from 'react';
@@ -19,12 +18,20 @@ function getCardLinkElement(as, href) {
19
18
  },
20
19
  };
21
20
  }
22
- const Card = (_a) => {
23
- var { as, background, badge, badgePosition = "inset", chevron = false, children, className, heading, headingLevel = "h3", href, image, imagePosition = "left", label = "", labelBackground, layout = "vertical" } = _a, props = __rest(_a, ["as", "background", "badge", "badgePosition", "chevron", "children", "className", "heading", "headingLevel", "href", "image", "imagePosition", "label", "labelBackground", "layout"]);
21
+ const Card = ({ as, background, badge, badgePosition = "inset", chevron = false, children, className, heading, headingLevel = "h3", href, image, imagePosition = "left", label = "", labelBackground, layout = "vertical", ...props }) => {
24
22
  const linkElement = getCardLinkElement(as, href);
25
- const imageProps = Object.assign({ crop: "wide" }, image);
26
- const componentProps = Object.assign({ className: clsx("coop-card", background && bgPropToClass(background, className), className), "data-badge-pos": badgePosition, "data-image-pos": imagePosition, "data-layout": layout !== "vertical" ? layout : undefined }, props);
27
- return (jsxs("article", Object.assign({}, componentProps, { children: [image && jsx(Image, Object.assign({}, imageProps)), badge && jsx("div", { className: "coop-card--badge", children: badge }), jsxs("div", { className: "coop-card--inner", children: [jsxs("div", { className: "coop-card--content", children: [label && (jsx("span", { className: clsx("coop-card--label", labelBackground && bgPropToClass(labelBackground, className)), children: label })), React.createElement(linkElement.element, linkElement.props, React.createElement(headingLevel, { className: "coop-card--heading" }, heading)), children] }), chevron && (jsx("span", { "aria-hidden": "true", className: "coop-card--icon", role: "presentation", children: jsx(ChevronRightIcon, {}) }))] })] })));
23
+ const imageProps = {
24
+ crop: "wide",
25
+ ...image,
26
+ };
27
+ const componentProps = {
28
+ className: clsx("coop-card", background && bgPropToClass(background, className), className),
29
+ "data-badge-pos": badgePosition,
30
+ "data-image-pos": imagePosition,
31
+ "data-layout": layout !== "vertical" ? layout : undefined,
32
+ ...props,
33
+ };
34
+ return (jsxs("article", { ...componentProps, children: [image && jsx(Image, { ...imageProps }), badge && jsx("div", { className: "coop-card--badge", children: badge }), jsxs("div", { className: "coop-card--inner", children: [jsxs("div", { className: "coop-card--content", children: [label && (jsx("span", { className: clsx("coop-card--label", labelBackground && bgPropToClass(labelBackground, className)), children: label })), React.createElement(linkElement.element, linkElement.props, React.createElement(headingLevel, { className: "coop-card--heading" }, heading)), children] }), chevron && (jsx("span", { "aria-hidden": "true", className: "coop-card--icon", role: "presentation", children: jsx(ChevronRightIcon, {}) }))] })] }));
28
35
  };
29
36
 
30
37
  export { Card, Card as default };
@@ -1,14 +1,15 @@
1
- import { __rest } from '../../node_modules/tslib/tslib.es6.js';
2
1
  import { jsxs, jsx } from 'react/jsx-runtime';
3
2
  import { clsx } from '../../node_modules/clsx/dist/clsx.js';
4
3
  import { bgPropToClass } from '../../utils/index.js';
5
4
  import 'react';
6
5
  import { ChevronDownIcon } from '../Icon/ChevronDownIcon.js';
7
6
 
8
- const Expandable = (_a) => {
9
- var { background = "tint-grey", children, className, summary } = _a, props = __rest(_a, ["background", "children", "className", "summary"]);
10
- const componentProps = Object.assign({ className: clsx("coop-expandable", bgPropToClass(background, className), className) }, props);
11
- return (jsxs("details", Object.assign({}, componentProps, { style: { "--background-color": `var(--color-${background})` }, children: [jsxs("summary", { children: [summary, jsx(ChevronDownIcon, { className: "coop-expandable--icon", stroke: "currentColor", strokeWidth: 2, width: "12" })] }), jsx("div", { className: "coop-expandable--content", children: children })] })));
7
+ const Expandable = ({ background = "tint-grey", children, className, summary, ...props }) => {
8
+ const componentProps = {
9
+ className: clsx("coop-expandable", bgPropToClass(background, className), className),
10
+ ...props,
11
+ };
12
+ return (jsxs("details", { ...componentProps, style: { "--background-color": `var(--color-${background})` }, children: [jsxs("summary", { children: [summary, jsx(ChevronDownIcon, { className: "coop-expandable--icon", stroke: "currentColor", strokeWidth: 2, width: "12" })] }), jsx("div", { className: "coop-expandable--content", children: children })] }));
12
13
  };
13
14
 
14
15
  export { Expandable, Expandable as default };
@@ -1,13 +1,19 @@
1
- import { __rest } from '../../node_modules/tslib/tslib.es6.js';
2
1
  import { jsxs, jsx } from 'react/jsx-runtime';
3
2
  import { clsx } from '../../node_modules/clsx/dist/clsx.js';
4
3
  import { useId } from 'react';
5
4
 
6
- const AddIcon = (_a) => {
7
- var { alt, className, fill } = _a, props = __rest(_a, ["alt", "className", "fill"]);
5
+ const AddIcon = ({ alt, className, fill, ...props }) => {
8
6
  const id = useId();
9
- const componentProps = Object.assign({ "aria-labelledby": alt ? id : undefined, className: clsx("coop-icon", className), "data-icon": "add", fill: fill !== null && fill !== void 0 ? fill : "none", role: alt ? "img" : undefined, viewBox: "0 0 32 32" }, props);
10
- return (jsxs("svg", Object.assign({}, componentProps, { children: [alt ? jsx("title", { id: id, children: alt }) : null, jsx("path", { d: "M24.7 16.72a1 1 0 0 1-.7.28H8a1 1 0 1 1 0-2h16a1 1 0 0 1 1 1 1 1 0 0 1-.3.72", fill: fill !== null && fill !== void 0 ? fill : "currentColor" }), jsx("path", { d: "M16.72 24.7a1 1 0 0 1-.72.3 1 1 0 0 1-1-1V8a1 1 0 0 1 2 0v16a1 1 0 0 1-.28.7", fill: fill !== null && fill !== void 0 ? fill : "currentColor" })] })));
7
+ const componentProps = {
8
+ "aria-labelledby": alt ? id : undefined,
9
+ className: clsx("coop-icon", className),
10
+ "data-icon": "add",
11
+ fill: fill !== null && fill !== void 0 ? fill : "none",
12
+ role: alt ? "img" : undefined,
13
+ viewBox: "0 0 32 32",
14
+ ...props,
15
+ };
16
+ return (jsxs("svg", { ...componentProps, children: [alt ? jsx("title", { id: id, children: alt }) : null, jsx("path", { d: "M24.7 16.72a1 1 0 0 1-.7.28H8a1 1 0 1 1 0-2h16a1 1 0 0 1 1 1 1 1 0 0 1-.3.72", fill: fill !== null && fill !== void 0 ? fill : "currentColor" }), jsx("path", { d: "M16.72 24.7a1 1 0 0 1-.72.3 1 1 0 0 1-1-1V8a1 1 0 0 1 2 0v16a1 1 0 0 1-.28.7", fill: fill !== null && fill !== void 0 ? fill : "currentColor" })] }));
11
17
  };
12
18
 
13
19
  export { AddIcon };
@@ -1,13 +1,19 @@
1
- import { __rest } from '../../node_modules/tslib/tslib.es6.js';
2
1
  import { jsxs, jsx } from 'react/jsx-runtime';
3
2
  import { clsx } from '../../node_modules/clsx/dist/clsx.js';
4
3
  import { useId } from 'react';
5
4
 
6
- const ArrowDownIcon = (_a) => {
7
- var { alt, className, fill } = _a, props = __rest(_a, ["alt", "className", "fill"]);
5
+ const ArrowDownIcon = ({ alt, className, fill, ...props }) => {
8
6
  const id = useId();
9
- const componentProps = Object.assign({ "aria-labelledby": alt ? id : undefined, className: clsx("coop-icon", className), "data-icon": "arrow-down", fill: fill !== null && fill !== void 0 ? fill : "none", role: alt ? "img" : undefined, viewBox: "0 0 32 32" }, props);
10
- return (jsxs("svg", Object.assign({}, componentProps, { children: [alt ? jsx("title", { id: id, children: alt }) : null, jsx("path", { d: "M15 28.66V3a1 1 0 0 1 2 0v25.66a1 1 0 0 1-2 0", fill: fill !== null && fill !== void 0 ? fill : "currentColor" }), jsx("path", { d: "M3 17a1 1 0 0 1 .29-.71 1 1 0 0 1 1.42 0L16 27.58l11.29-11.29a1 1 0 0 1 1.42 0 1 1 0 0 1 0 1.41l-12 12a1 1 0 0 1-1.41 0l-12-12A1 1 0 0 1 3 17", fill: fill !== null && fill !== void 0 ? fill : "currentColor" })] })));
7
+ const componentProps = {
8
+ "aria-labelledby": alt ? id : undefined,
9
+ className: clsx("coop-icon", className),
10
+ "data-icon": "arrow-down",
11
+ fill: fill !== null && fill !== void 0 ? fill : "none",
12
+ role: alt ? "img" : undefined,
13
+ viewBox: "0 0 32 32",
14
+ ...props,
15
+ };
16
+ return (jsxs("svg", { ...componentProps, children: [alt ? jsx("title", { id: id, children: alt }) : null, jsx("path", { d: "M15 28.66V3a1 1 0 0 1 2 0v25.66a1 1 0 0 1-2 0", fill: fill !== null && fill !== void 0 ? fill : "currentColor" }), jsx("path", { d: "M3 17a1 1 0 0 1 .29-.71 1 1 0 0 1 1.42 0L16 27.58l11.29-11.29a1 1 0 0 1 1.42 0 1 1 0 0 1 0 1.41l-12 12a1 1 0 0 1-1.41 0l-12-12A1 1 0 0 1 3 17", fill: fill !== null && fill !== void 0 ? fill : "currentColor" })] }));
11
17
  };
12
18
 
13
19
  export { ArrowDownIcon };
@@ -1,13 +1,19 @@
1
- import { __rest } from '../../node_modules/tslib/tslib.es6.js';
2
1
  import { jsxs, jsx } from 'react/jsx-runtime';
3
2
  import { clsx } from '../../node_modules/clsx/dist/clsx.js';
4
3
  import { useId } from 'react';
5
4
 
6
- const ArrowLeftIcon = (_a) => {
7
- var { alt, className, fill } = _a, props = __rest(_a, ["alt", "className", "fill"]);
5
+ const ArrowLeftIcon = ({ alt, className, fill, ...props }) => {
8
6
  const id = useId();
9
- const componentProps = Object.assign({ "aria-labelledby": alt ? id : undefined, className: clsx("coop-icon", className), "data-icon": "arrow-left", fill: fill !== null && fill !== void 0 ? fill : "none", role: alt ? "img" : undefined, viewBox: "0 0 32 32" }, props);
10
- return (jsxs("svg", Object.assign({}, componentProps, { children: [alt ? jsx("title", { id: id, children: alt }) : null, jsx("path", { d: "M3.34 17H29a1 1 0 0 0 0-2H3.34a1 1 0 0 0 0 2", fill: fill !== null && fill !== void 0 ? fill : "currentColor" }), jsx("path", { d: "M15 29a1 1 0 0 0 .71-.29 1 1 0 0 0 0-1.42L5.12 16.71a1 1 0 0 1 0-1.42L15.71 4.71a1 1 0 0 0 0-1.42 1 1 0 0 0-1.41 0l-12 12a1 1 0 0 0 0 1.42l12 12a1 1 0 0 0 .7.29", fill: fill !== null && fill !== void 0 ? fill : "currentColor" })] })));
7
+ const componentProps = {
8
+ "aria-labelledby": alt ? id : undefined,
9
+ className: clsx("coop-icon", className),
10
+ "data-icon": "arrow-left",
11
+ fill: fill !== null && fill !== void 0 ? fill : "none",
12
+ role: alt ? "img" : undefined,
13
+ viewBox: "0 0 32 32",
14
+ ...props,
15
+ };
16
+ return (jsxs("svg", { ...componentProps, children: [alt ? jsx("title", { id: id, children: alt }) : null, jsx("path", { d: "M3.34 17H29a1 1 0 0 0 0-2H3.34a1 1 0 0 0 0 2", fill: fill !== null && fill !== void 0 ? fill : "currentColor" }), jsx("path", { d: "M15 29a1 1 0 0 0 .71-.29 1 1 0 0 0 0-1.42L5.12 16.71a1 1 0 0 1 0-1.42L15.71 4.71a1 1 0 0 0 0-1.42 1 1 0 0 0-1.41 0l-12 12a1 1 0 0 0 0 1.42l12 12a1 1 0 0 0 .7.29", fill: fill !== null && fill !== void 0 ? fill : "currentColor" })] }));
11
17
  };
12
18
 
13
19
  export { ArrowLeftIcon };
@@ -1,13 +1,19 @@
1
- import { __rest } from '../../node_modules/tslib/tslib.es6.js';
2
1
  import { jsxs, jsx } from 'react/jsx-runtime';
3
2
  import { clsx } from '../../node_modules/clsx/dist/clsx.js';
4
3
  import { useId } from 'react';
5
4
 
6
- const ArrowRightIcon = (_a) => {
7
- var { alt, className, fill } = _a, props = __rest(_a, ["alt", "className", "fill"]);
5
+ const ArrowRightIcon = ({ alt, className, fill, ...props }) => {
8
6
  const id = useId();
9
- const componentProps = Object.assign({ "aria-labelledby": alt ? id : undefined, className: clsx("coop-icon", className), "data-icon": "arrow-right", fill: fill !== null && fill !== void 0 ? fill : "none", role: alt ? "img" : undefined, viewBox: "0 0 32 32" }, props);
10
- return (jsxs("svg", Object.assign({}, componentProps, { children: [alt ? jsx("title", { id: id, children: alt }) : null, jsx("path", { d: "M28.7 15H3a1 1 0 0 0 0 2h25.7a1 1 0 0 0 0-2", fill: fill !== null && fill !== void 0 ? fill : "currentColor" }), jsx("path", { d: "M17 3a1 1 0 0 0-.7.3 1 1 0 0 0 0 1.4l10.6 10.6a1 1 0 0 1 0 1.4L16.3 27.3a1 1 0 0 0 0 1.4 1 1 0 0 0 1.4 0l12-12a1 1 0 0 0 0-1.4l-12-12A1 1 0 0 0 17 3", fill: fill !== null && fill !== void 0 ? fill : "currentColor" })] })));
7
+ const componentProps = {
8
+ "aria-labelledby": alt ? id : undefined,
9
+ className: clsx("coop-icon", className),
10
+ "data-icon": "arrow-right",
11
+ fill: fill !== null && fill !== void 0 ? fill : "none",
12
+ role: alt ? "img" : undefined,
13
+ viewBox: "0 0 32 32",
14
+ ...props,
15
+ };
16
+ return (jsxs("svg", { ...componentProps, children: [alt ? jsx("title", { id: id, children: alt }) : null, jsx("path", { d: "M28.7 15H3a1 1 0 0 0 0 2h25.7a1 1 0 0 0 0-2", fill: fill !== null && fill !== void 0 ? fill : "currentColor" }), jsx("path", { d: "M17 3a1 1 0 0 0-.7.3 1 1 0 0 0 0 1.4l10.6 10.6a1 1 0 0 1 0 1.4L16.3 27.3a1 1 0 0 0 0 1.4 1 1 0 0 0 1.4 0l12-12a1 1 0 0 0 0-1.4l-12-12A1 1 0 0 0 17 3", fill: fill !== null && fill !== void 0 ? fill : "currentColor" })] }));
11
17
  };
12
18
 
13
19
  export { ArrowRightIcon };
@@ -1,13 +1,19 @@
1
- import { __rest } from '../../node_modules/tslib/tslib.es6.js';
2
1
  import { jsxs, jsx } from 'react/jsx-runtime';
3
2
  import { clsx } from '../../node_modules/clsx/dist/clsx.js';
4
3
  import { useId } from 'react';
5
4
 
6
- const ArrowUpIcon = (_a) => {
7
- var { alt, className, fill } = _a, props = __rest(_a, ["alt", "className", "fill"]);
5
+ const ArrowUpIcon = ({ alt, className, fill, ...props }) => {
8
6
  const id = useId();
9
- const componentProps = Object.assign({ "aria-labelledby": alt ? id : undefined, className: clsx("coop-icon", className), "data-icon": "arrow-up", fill: fill !== null && fill !== void 0 ? fill : "none", role: alt ? "img" : undefined, viewBox: "0 0 32 32" }, props);
10
- return (jsxs("svg", Object.assign({}, componentProps, { children: [alt ? jsx("title", { id: id, children: alt }) : null, jsx("path", { d: "M17 3.34V29a1 1 0 0 1-2 0V3.34a1 1 0 0 1 2 0", fill: fill !== null && fill !== void 0 ? fill : "currentColor" }), jsx("path", { d: "M29 15a1 1 0 0 1-.29.71 1 1 0 0 1-1.42 0L16 4.42 4.71 15.71a1 1 0 0 1-1.42 0 1 1 0 0 1 0-1.41l12-12a1 1 0 0 1 1.41 0l12 12a1 1 0 0 1 .3.7", fill: fill !== null && fill !== void 0 ? fill : "currentColor" })] })));
7
+ const componentProps = {
8
+ "aria-labelledby": alt ? id : undefined,
9
+ className: clsx("coop-icon", className),
10
+ "data-icon": "arrow-up",
11
+ fill: fill !== null && fill !== void 0 ? fill : "none",
12
+ role: alt ? "img" : undefined,
13
+ viewBox: "0 0 32 32",
14
+ ...props,
15
+ };
16
+ return (jsxs("svg", { ...componentProps, children: [alt ? jsx("title", { id: id, children: alt }) : null, jsx("path", { d: "M17 3.34V29a1 1 0 0 1-2 0V3.34a1 1 0 0 1 2 0", fill: fill !== null && fill !== void 0 ? fill : "currentColor" }), jsx("path", { d: "M29 15a1 1 0 0 1-.29.71 1 1 0 0 1-1.42 0L16 4.42 4.71 15.71a1 1 0 0 1-1.42 0 1 1 0 0 1 0-1.41l12-12a1 1 0 0 1 1.41 0l12 12a1 1 0 0 1 .3.7", fill: fill !== null && fill !== void 0 ? fill : "currentColor" })] }));
11
17
  };
12
18
 
13
19
  export { ArrowUpIcon };
@@ -1,13 +1,19 @@
1
- import { __rest } from '../../node_modules/tslib/tslib.es6.js';
2
1
  import { jsxs, jsx } from 'react/jsx-runtime';
3
2
  import { clsx } from '../../node_modules/clsx/dist/clsx.js';
4
3
  import { useId } from 'react';
5
4
 
6
- const AvatarAltIcon = (_a) => {
7
- var { alt, className, fill } = _a, props = __rest(_a, ["alt", "className", "fill"]);
5
+ const AvatarAltIcon = ({ alt, className, fill, ...props }) => {
8
6
  const id = useId();
9
- const componentProps = Object.assign({ "aria-labelledby": alt ? id : undefined, className: clsx("coop-icon", className), "data-icon": "avatar-alt", fill: fill !== null && fill !== void 0 ? fill : "none", role: alt ? "img" : undefined, viewBox: "0 0 32 32" }, props);
10
- return (jsxs("svg", Object.assign({}, componentProps, { children: [alt ? jsx("title", { id: id, children: alt }) : null, jsx("path", { d: "M16 32a16 16 0 1 1 16-16 16 16 0 0 1-16 16m0-30a14 14 0 1 0 14 14A14 14 0 0 0 16 2", fill: fill !== null && fill !== void 0 ? fill : "currentColor" }), jsx("path", { d: "M16 8a5 5 0 1 1-5 5 5 5 0 0 1 5-5m0-2a7 7 0 1 0 7 7 7 7 0 0 0-7-7", fill: fill !== null && fill !== void 0 ? fill : "currentColor" }), jsx("path", { d: "M5.64 27.85a.7.7 0 0 1-.19 0 1 1 0 0 1-.79-1.17A10.7 10.7 0 0 1 15.16 18h1.68a10.7 10.7 0 0 1 10.5 8.67 1 1 0 0 1-.79 1.17 1 1 0 0 1-1.17-.84 8.72 8.72 0 0 0-8.54-7h-1.68a8.72 8.72 0 0 0-8.54 7 1 1 0 0 1-.98.85", fill: fill !== null && fill !== void 0 ? fill : "currentColor" })] })));
7
+ const componentProps = {
8
+ "aria-labelledby": alt ? id : undefined,
9
+ className: clsx("coop-icon", className),
10
+ "data-icon": "avatar-alt",
11
+ fill: fill !== null && fill !== void 0 ? fill : "none",
12
+ role: alt ? "img" : undefined,
13
+ viewBox: "0 0 32 32",
14
+ ...props,
15
+ };
16
+ return (jsxs("svg", { ...componentProps, children: [alt ? jsx("title", { id: id, children: alt }) : null, jsx("path", { d: "M16 32a16 16 0 1 1 16-16 16 16 0 0 1-16 16m0-30a14 14 0 1 0 14 14A14 14 0 0 0 16 2", fill: fill !== null && fill !== void 0 ? fill : "currentColor" }), jsx("path", { d: "M16 8a5 5 0 1 1-5 5 5 5 0 0 1 5-5m0-2a7 7 0 1 0 7 7 7 7 0 0 0-7-7", fill: fill !== null && fill !== void 0 ? fill : "currentColor" }), jsx("path", { d: "M5.64 27.85a.7.7 0 0 1-.19 0 1 1 0 0 1-.79-1.17A10.7 10.7 0 0 1 15.16 18h1.68a10.7 10.7 0 0 1 10.5 8.67 1 1 0 0 1-.79 1.17 1 1 0 0 1-1.17-.84 8.72 8.72 0 0 0-8.54-7h-1.68a8.72 8.72 0 0 0-8.54 7 1 1 0 0 1-.98.85", fill: fill !== null && fill !== void 0 ? fill : "currentColor" })] }));
11
17
  };
12
18
 
13
19
  export { AvatarAltIcon };
@@ -1,13 +1,19 @@
1
- import { __rest } from '../../node_modules/tslib/tslib.es6.js';
2
1
  import { jsxs, jsx } from 'react/jsx-runtime';
3
2
  import { clsx } from '../../node_modules/clsx/dist/clsx.js';
4
3
  import { useId } from 'react';
5
4
 
6
- const AvatarIcon = (_a) => {
7
- var { alt, className, fill } = _a, props = __rest(_a, ["alt", "className", "fill"]);
5
+ const AvatarIcon = ({ alt, className, fill, ...props }) => {
8
6
  const id = useId();
9
- const componentProps = Object.assign({ "aria-labelledby": alt ? id : undefined, className: clsx("coop-icon", className), "data-icon": "avatar", fill: fill !== null && fill !== void 0 ? fill : "none", role: alt ? "img" : undefined, viewBox: "0 0 32 32" }, props);
10
- return (jsxs("svg", Object.assign({}, componentProps, { children: [alt ? jsx("title", { id: id, children: alt }) : null, jsx("path", { d: "M16 31a18.24 18.24 0 0 1-12.64-5.1A1.19 1.19 0 0 1 3 24.86a12.31 12.31 0 0 1 12-10h2a12.31 12.31 0 0 1 12 10 1.19 1.19 0 0 1-.34 1.06A18.24 18.24 0 0 1 16 31M5.42 24.68a15.9 15.9 0 0 0 21.16 0A10 10 0 0 0 17 17.17h-2a10 10 0 0 0-9.58 7.51", fill: fill !== null && fill !== void 0 ? fill : "currentColor" }), jsx("path", { d: "M15.94 3.33a5.77 5.77 0 1 1-5.72 5.77 5.75 5.75 0 0 1 5.72-5.77m0-2.31a8.08 8.08 0 1 0 8 8.08 8 8 0 0 0-8-8.08", fill: fill !== null && fill !== void 0 ? fill : "currentColor" })] })));
7
+ const componentProps = {
8
+ "aria-labelledby": alt ? id : undefined,
9
+ className: clsx("coop-icon", className),
10
+ "data-icon": "avatar",
11
+ fill: fill !== null && fill !== void 0 ? fill : "none",
12
+ role: alt ? "img" : undefined,
13
+ viewBox: "0 0 32 32",
14
+ ...props,
15
+ };
16
+ return (jsxs("svg", { ...componentProps, children: [alt ? jsx("title", { id: id, children: alt }) : null, jsx("path", { d: "M16 31a18.24 18.24 0 0 1-12.64-5.1A1.19 1.19 0 0 1 3 24.86a12.31 12.31 0 0 1 12-10h2a12.31 12.31 0 0 1 12 10 1.19 1.19 0 0 1-.34 1.06A18.24 18.24 0 0 1 16 31M5.42 24.68a15.9 15.9 0 0 0 21.16 0A10 10 0 0 0 17 17.17h-2a10 10 0 0 0-9.58 7.51", fill: fill !== null && fill !== void 0 ? fill : "currentColor" }), jsx("path", { d: "M15.94 3.33a5.77 5.77 0 1 1-5.72 5.77 5.75 5.75 0 0 1 5.72-5.77m0-2.31a8.08 8.08 0 1 0 8 8.08 8 8 0 0 0-8-8.08", fill: fill !== null && fill !== void 0 ? fill : "currentColor" })] }));
11
17
  };
12
18
 
13
19
  export { AvatarIcon };
@@ -1,13 +1,19 @@
1
- import { __rest } from '../../node_modules/tslib/tslib.es6.js';
2
1
  import { jsxs, jsx } from 'react/jsx-runtime';
3
2
  import { clsx } from '../../node_modules/clsx/dist/clsx.js';
4
3
  import { useId } from 'react';
5
4
 
6
- const BasketIcon = (_a) => {
7
- var { alt, className, fill } = _a, props = __rest(_a, ["alt", "className", "fill"]);
5
+ const BasketIcon = ({ alt, className, fill, ...props }) => {
8
6
  const id = useId();
9
- const componentProps = Object.assign({ "aria-labelledby": alt ? id : undefined, className: clsx("coop-icon", className), "data-icon": "basket", fill: fill !== null && fill !== void 0 ? fill : "none", role: alt ? "img" : undefined, viewBox: "0 0 32 32" }, props);
10
- return (jsxs("svg", Object.assign({}, componentProps, { children: [alt ? jsx("title", { id: id, children: alt }) : null, jsx("path", { d: "M16.07 26a1 1 0 0 0 1-1v-4.08a1 1 0 1 0-2 0V25a1 1 0 0 0 1 1M21.5 26h.17a1 1 0 0 0 1-.85l.68-4.07a1 1 0 0 0-.82-1.18 1 1 0 0 0-1.16.84l-.67 4.07a1 1 0 0 0 .8 1.19M10.43 26h.17a1 1 0 0 0 .82-1.18l-.68-4.07a1 1 0 0 0-1.15-.84 1 1 0 0 0-.82 1.18l.67 4.07a1 1 0 0 0 .99.84", fill: fill !== null && fill !== void 0 ? fill : "currentColor" }), jsx("path", { d: "M31 10.7h-3.11l-8.25-8.4a1 1 0 0 0-1.41 0 1 1 0 0 0 0 1.44l6.83 7H6.85l6.8-6.93a1 1 0 0 0 0-1.44 1 1 0 0 0-1.42 0l-8.14 8.25a1 1 0 0 0 0 .08H1a1 1 0 0 0-1 1v5.1a1 1 0 0 0 1 1h1.23l1.88 11.36a1 1 0 0 0 1 .84H27a1 1 0 0 0 1-.84l1.88-11.34H31a1 1 0 0 0 1-1v-5.1a1 1 0 0 0-1-1.02M26.15 28H5.94L4.28 18h23.53ZM30 15.79H2v-3.06h28Z", fill: fill !== null && fill !== void 0 ? fill : "currentColor" })] })));
7
+ const componentProps = {
8
+ "aria-labelledby": alt ? id : undefined,
9
+ className: clsx("coop-icon", className),
10
+ "data-icon": "basket",
11
+ fill: fill !== null && fill !== void 0 ? fill : "none",
12
+ role: alt ? "img" : undefined,
13
+ viewBox: "0 0 32 32",
14
+ ...props,
15
+ };
16
+ return (jsxs("svg", { ...componentProps, children: [alt ? jsx("title", { id: id, children: alt }) : null, jsx("path", { d: "M16.07 26a1 1 0 0 0 1-1v-4.08a1 1 0 1 0-2 0V25a1 1 0 0 0 1 1M21.5 26h.17a1 1 0 0 0 1-.85l.68-4.07a1 1 0 0 0-.82-1.18 1 1 0 0 0-1.16.84l-.67 4.07a1 1 0 0 0 .8 1.19M10.43 26h.17a1 1 0 0 0 .82-1.18l-.68-4.07a1 1 0 0 0-1.15-.84 1 1 0 0 0-.82 1.18l.67 4.07a1 1 0 0 0 .99.84", fill: fill !== null && fill !== void 0 ? fill : "currentColor" }), jsx("path", { d: "M31 10.7h-3.11l-8.25-8.4a1 1 0 0 0-1.41 0 1 1 0 0 0 0 1.44l6.83 7H6.85l6.8-6.93a1 1 0 0 0 0-1.44 1 1 0 0 0-1.42 0l-8.14 8.25a1 1 0 0 0 0 .08H1a1 1 0 0 0-1 1v5.1a1 1 0 0 0 1 1h1.23l1.88 11.36a1 1 0 0 0 1 .84H27a1 1 0 0 0 1-.84l1.88-11.34H31a1 1 0 0 0 1-1v-5.1a1 1 0 0 0-1-1.02M26.15 28H5.94L4.28 18h23.53ZM30 15.79H2v-3.06h28Z", fill: fill !== null && fill !== void 0 ? fill : "currentColor" })] }));
11
17
  };
12
18
 
13
19
  export { BasketIcon };
@@ -1,13 +1,19 @@
1
- import { __rest } from '../../node_modules/tslib/tslib.es6.js';
2
1
  import { jsxs, jsx } from 'react/jsx-runtime';
3
2
  import { clsx } from '../../node_modules/clsx/dist/clsx.js';
4
3
  import { useId } from 'react';
5
4
 
6
- const CalendarIcon = (_a) => {
7
- var { alt, className, fill } = _a, props = __rest(_a, ["alt", "className", "fill"]);
5
+ const CalendarIcon = ({ alt, className, fill, ...props }) => {
8
6
  const id = useId();
9
- const componentProps = Object.assign({ "aria-labelledby": alt ? id : undefined, className: clsx("coop-icon", className), "data-icon": "calendar", fill: fill !== null && fill !== void 0 ? fill : "none", role: alt ? "img" : undefined, viewBox: "0 0 32 32" }, props);
10
- return (jsxs("svg", Object.assign({}, componentProps, { children: [alt ? jsx("title", { id: id, children: alt }) : null, jsx("path", { d: "M31 2h-4V1a1 1 0 0 0-2 0v1H7V1a1 1 0 0 0-2 0v1H1a1 1 0 0 0-1 1v28a1 1 0 0 0 1 1h30a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1m-1 28H2V10h28Zm0-22H2V4h3v1a1 1 0 0 0 2 0V4h18v1a1 1 0 0 0 2 0V4h3Z", fill: fill !== null && fill !== void 0 ? fill : "currentColor" }), jsx("path", { d: "M6 23v2a1 1 0 0 0 2 0v-1h7v1a1 1 0 0 0 2 0v-1h7v1a1 1 0 0 0 2 0V15a1 1 0 0 0-2 0v1h-7v-1a1 1 0 0 0-2 0v1H8v-1a1 1 0 0 0-2 0v8m18-1h-7v-4h7Zm-9-4v4H8v-4Z", fill: fill !== null && fill !== void 0 ? fill : "currentColor" })] })));
7
+ const componentProps = {
8
+ "aria-labelledby": alt ? id : undefined,
9
+ className: clsx("coop-icon", className),
10
+ "data-icon": "calendar",
11
+ fill: fill !== null && fill !== void 0 ? fill : "none",
12
+ role: alt ? "img" : undefined,
13
+ viewBox: "0 0 32 32",
14
+ ...props,
15
+ };
16
+ return (jsxs("svg", { ...componentProps, children: [alt ? jsx("title", { id: id, children: alt }) : null, jsx("path", { d: "M31 2h-4V1a1 1 0 0 0-2 0v1H7V1a1 1 0 0 0-2 0v1H1a1 1 0 0 0-1 1v28a1 1 0 0 0 1 1h30a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1m-1 28H2V10h28Zm0-22H2V4h3v1a1 1 0 0 0 2 0V4h18v1a1 1 0 0 0 2 0V4h3Z", fill: fill !== null && fill !== void 0 ? fill : "currentColor" }), jsx("path", { d: "M6 23v2a1 1 0 0 0 2 0v-1h7v1a1 1 0 0 0 2 0v-1h7v1a1 1 0 0 0 2 0V15a1 1 0 0 0-2 0v1h-7v-1a1 1 0 0 0-2 0v1H8v-1a1 1 0 0 0-2 0v8m18-1h-7v-4h7Zm-9-4v4H8v-4Z", fill: fill !== null && fill !== void 0 ? fill : "currentColor" })] }));
11
17
  };
12
18
 
13
19
  export { CalendarIcon };
@@ -1,13 +1,19 @@
1
- import { __rest } from '../../node_modules/tslib/tslib.es6.js';
2
1
  import { jsxs, jsx } from 'react/jsx-runtime';
3
2
  import { clsx } from '../../node_modules/clsx/dist/clsx.js';
4
3
  import { useId } from 'react';
5
4
 
6
- const ChevronDownIcon = (_a) => {
7
- var { alt, className, fill } = _a, props = __rest(_a, ["alt", "className", "fill"]);
5
+ const ChevronDownIcon = ({ alt, className, fill, ...props }) => {
8
6
  const id = useId();
9
- const componentProps = Object.assign({ "aria-labelledby": alt ? id : undefined, className: clsx("coop-icon", className), "data-icon": "chevron-down", fill: fill !== null && fill !== void 0 ? fill : "none", role: alt ? "img" : undefined, viewBox: "0 0 32 32" }, props);
10
- return (jsxs("svg", Object.assign({}, componentProps, { children: [alt ? jsx("title", { id: id, children: alt }) : null, jsx("path", { d: "M31 9a1 1 0 0 0-.29-.71 1 1 0 0 0-1.42 0L16 21.59 2.71 8.3a1 1 0 0 0-1.42 0 1 1 0 0 0 0 1.41l14 14a1 1 0 0 0 1.41 0l14-14A1 1 0 0 0 31 9", fill: fill !== null && fill !== void 0 ? fill : "currentColor" })] })));
7
+ const componentProps = {
8
+ "aria-labelledby": alt ? id : undefined,
9
+ className: clsx("coop-icon", className),
10
+ "data-icon": "chevron-down",
11
+ fill: fill !== null && fill !== void 0 ? fill : "none",
12
+ role: alt ? "img" : undefined,
13
+ viewBox: "0 0 32 32",
14
+ ...props,
15
+ };
16
+ return (jsxs("svg", { ...componentProps, children: [alt ? jsx("title", { id: id, children: alt }) : null, jsx("path", { d: "M31 9a1 1 0 0 0-.29-.71 1 1 0 0 0-1.42 0L16 21.59 2.71 8.3a1 1 0 0 0-1.42 0 1 1 0 0 0 0 1.41l14 14a1 1 0 0 0 1.41 0l14-14A1 1 0 0 0 31 9", fill: fill !== null && fill !== void 0 ? fill : "currentColor" })] }));
11
17
  };
12
18
 
13
19
  export { ChevronDownIcon };
@@ -1,13 +1,19 @@
1
- import { __rest } from '../../node_modules/tslib/tslib.es6.js';
2
1
  import { jsxs, jsx } from 'react/jsx-runtime';
3
2
  import { clsx } from '../../node_modules/clsx/dist/clsx.js';
4
3
  import { useId } from 'react';
5
4
 
6
- const ChevronLeftIcon = (_a) => {
7
- var { alt, className, fill } = _a, props = __rest(_a, ["alt", "className", "fill"]);
5
+ const ChevronLeftIcon = ({ alt, className, fill, ...props }) => {
8
6
  const id = useId();
9
- const componentProps = Object.assign({ "aria-labelledby": alt ? id : undefined, className: clsx("coop-icon", className), "data-icon": "chevron-left", fill: fill !== null && fill !== void 0 ? fill : "none", role: alt ? "img" : undefined, viewBox: "0 0 32 32" }, props);
10
- return (jsxs("svg", Object.assign({}, componentProps, { children: [alt ? jsx("title", { id: id, children: alt }) : null, jsx("path", { d: "M22.5 30a1 1 0 0 0 .71-.29 1 1 0 0 0 0-1.42L10.91 16 23.2 3.71a1 1 0 0 0 0-1.41 1 1 0 0 0-1.41 0l-13 13a1 1 0 0 0 0 1.41l13 13a1 1 0 0 0 .71.29", fill: fill !== null && fill !== void 0 ? fill : "currentColor" })] })));
7
+ const componentProps = {
8
+ "aria-labelledby": alt ? id : undefined,
9
+ className: clsx("coop-icon", className),
10
+ "data-icon": "chevron-left",
11
+ fill: fill !== null && fill !== void 0 ? fill : "none",
12
+ role: alt ? "img" : undefined,
13
+ viewBox: "0 0 32 32",
14
+ ...props,
15
+ };
16
+ return (jsxs("svg", { ...componentProps, children: [alt ? jsx("title", { id: id, children: alt }) : null, jsx("path", { d: "M22.5 30a1 1 0 0 0 .71-.29 1 1 0 0 0 0-1.42L10.91 16 23.2 3.71a1 1 0 0 0 0-1.41 1 1 0 0 0-1.41 0l-13 13a1 1 0 0 0 0 1.41l13 13a1 1 0 0 0 .71.29", fill: fill !== null && fill !== void 0 ? fill : "currentColor" })] }));
11
17
  };
12
18
 
13
19
  export { ChevronLeftIcon };
@@ -1,13 +1,19 @@
1
- import { __rest } from '../../node_modules/tslib/tslib.es6.js';
2
1
  import { jsxs, jsx } from 'react/jsx-runtime';
3
2
  import { clsx } from '../../node_modules/clsx/dist/clsx.js';
4
3
  import { useId } from 'react';
5
4
 
6
- const ChevronRightIcon = (_a) => {
7
- var { alt, className, fill } = _a, props = __rest(_a, ["alt", "className", "fill"]);
5
+ const ChevronRightIcon = ({ alt, className, fill, ...props }) => {
8
6
  const id = useId();
9
- const componentProps = Object.assign({ "aria-labelledby": alt ? id : undefined, className: clsx("coop-icon", className), "data-icon": "chevron-right", fill: fill !== null && fill !== void 0 ? fill : "none", role: alt ? "img" : undefined, viewBox: "0 0 32 32" }, props);
10
- return (jsxs("svg", Object.assign({}, componentProps, { children: [alt ? jsx("title", { id: id, children: alt }) : null, jsx("path", { d: "M9.49 2a1 1 0 0 0-.71 1.71L21.07 16 8.79 28.3a1 1 0 1 0 1.41 1.41l13-13a1 1 0 0 0 0-1.42l-13-13A1 1 0 0 0 9.49 2", fill: fill !== null && fill !== void 0 ? fill : "currentColor" })] })));
7
+ const componentProps = {
8
+ "aria-labelledby": alt ? id : undefined,
9
+ className: clsx("coop-icon", className),
10
+ "data-icon": "chevron-right",
11
+ fill: fill !== null && fill !== void 0 ? fill : "none",
12
+ role: alt ? "img" : undefined,
13
+ viewBox: "0 0 32 32",
14
+ ...props,
15
+ };
16
+ return (jsxs("svg", { ...componentProps, children: [alt ? jsx("title", { id: id, children: alt }) : null, jsx("path", { d: "M9.49 2a1 1 0 0 0-.71 1.71L21.07 16 8.79 28.3a1 1 0 1 0 1.41 1.41l13-13a1 1 0 0 0 0-1.42l-13-13A1 1 0 0 0 9.49 2", fill: fill !== null && fill !== void 0 ? fill : "currentColor" })] }));
11
17
  };
12
18
 
13
19
  export { ChevronRightIcon };
@@ -1,13 +1,19 @@
1
- import { __rest } from '../../node_modules/tslib/tslib.es6.js';
2
1
  import { jsxs, jsx } from 'react/jsx-runtime';
3
2
  import { clsx } from '../../node_modules/clsx/dist/clsx.js';
4
3
  import { useId } from 'react';
5
4
 
6
- const ChevronUpIcon = (_a) => {
7
- var { alt, className, fill } = _a, props = __rest(_a, ["alt", "className", "fill"]);
5
+ const ChevronUpIcon = ({ alt, className, fill, ...props }) => {
8
6
  const id = useId();
9
- const componentProps = Object.assign({ "aria-labelledby": alt ? id : undefined, className: clsx("coop-icon", className), "data-icon": "chevron-up", fill: fill !== null && fill !== void 0 ? fill : "none", role: alt ? "img" : undefined, viewBox: "0 0 32 32" }, props);
10
- return (jsxs("svg", Object.assign({}, componentProps, { children: [alt ? jsx("title", { id: id, children: alt }) : null, jsx("path", { d: "M1 23a1 1 0 0 0 .29.71 1 1 0 0 0 1.42 0L16 10.41 29.29 23.7a1 1 0 0 0 1.42 0 1 1 0 0 0 0-1.41l-14-14a1 1 0 0 0-1.41 0l-14 14A1 1 0 0 0 1 23", fill: fill !== null && fill !== void 0 ? fill : "currentColor" })] })));
7
+ const componentProps = {
8
+ "aria-labelledby": alt ? id : undefined,
9
+ className: clsx("coop-icon", className),
10
+ "data-icon": "chevron-up",
11
+ fill: fill !== null && fill !== void 0 ? fill : "none",
12
+ role: alt ? "img" : undefined,
13
+ viewBox: "0 0 32 32",
14
+ ...props,
15
+ };
16
+ return (jsxs("svg", { ...componentProps, children: [alt ? jsx("title", { id: id, children: alt }) : null, jsx("path", { d: "M1 23a1 1 0 0 0 .29.71 1 1 0 0 0 1.42 0L16 10.41 29.29 23.7a1 1 0 0 0 1.42 0 1 1 0 0 0 0-1.41l-14-14a1 1 0 0 0-1.41 0l-14 14A1 1 0 0 0 1 23", fill: fill !== null && fill !== void 0 ? fill : "currentColor" })] }));
11
17
  };
12
18
 
13
19
  export { ChevronUpIcon };
@@ -1,13 +1,19 @@
1
- import { __rest } from '../../node_modules/tslib/tslib.es6.js';
2
1
  import { jsxs, jsx } from 'react/jsx-runtime';
3
2
  import { clsx } from '../../node_modules/clsx/dist/clsx.js';
4
3
  import { useId } from 'react';
5
4
 
6
- const ClockIcon = (_a) => {
7
- var { alt, className, fill } = _a, props = __rest(_a, ["alt", "className", "fill"]);
5
+ const ClockIcon = ({ alt, className, fill, ...props }) => {
8
6
  const id = useId();
9
- const componentProps = Object.assign({ "aria-labelledby": alt ? id : undefined, className: clsx("coop-icon", className), "data-icon": "clock", fill: fill !== null && fill !== void 0 ? fill : "none", role: alt ? "img" : undefined, viewBox: "0 0 32 32" }, props);
10
- return (jsxs("svg", Object.assign({}, componentProps, { children: [alt ? jsx("title", { id: id, children: alt }) : null, jsx("path", { d: "M23 21.05a.93.93 0 0 1-.5-.14L15 16.58v-9.5a1 1 0 0 1 1-1 1 1 0 0 1 1 1v8.35l6.47 3.77a1 1 0 0 1 .36 1.36 1 1 0 0 1-.83.49", fill: fill !== null && fill !== void 0 ? fill : "currentColor" }), jsx("path", { d: "M16 2A14 14 0 1 1 2 16 14 14 0 0 1 16 2m0-2a16 16 0 1 0 16 16A16 16 0 0 0 16 0", fill: fill !== null && fill !== void 0 ? fill : "currentColor" })] })));
7
+ const componentProps = {
8
+ "aria-labelledby": alt ? id : undefined,
9
+ className: clsx("coop-icon", className),
10
+ "data-icon": "clock",
11
+ fill: fill !== null && fill !== void 0 ? fill : "none",
12
+ role: alt ? "img" : undefined,
13
+ viewBox: "0 0 32 32",
14
+ ...props,
15
+ };
16
+ return (jsxs("svg", { ...componentProps, children: [alt ? jsx("title", { id: id, children: alt }) : null, jsx("path", { d: "M23 21.05a.93.93 0 0 1-.5-.14L15 16.58v-9.5a1 1 0 0 1 1-1 1 1 0 0 1 1 1v8.35l6.47 3.77a1 1 0 0 1 .36 1.36 1 1 0 0 1-.83.49", fill: fill !== null && fill !== void 0 ? fill : "currentColor" }), jsx("path", { d: "M16 2A14 14 0 1 1 2 16 14 14 0 0 1 16 2m0-2a16 16 0 1 0 16 16A16 16 0 0 0 16 0", fill: fill !== null && fill !== void 0 ? fill : "currentColor" })] }));
11
17
  };
12
18
 
13
19
  export { ClockIcon };
@@ -1,13 +1,19 @@
1
- import { __rest } from '../../node_modules/tslib/tslib.es6.js';
2
1
  import { jsxs, jsx } from 'react/jsx-runtime';
3
2
  import { clsx } from '../../node_modules/clsx/dist/clsx.js';
4
3
  import { useId } from 'react';
5
4
 
6
- const CloseAltIcon = (_a) => {
7
- var { alt, className, fill } = _a, props = __rest(_a, ["alt", "className", "fill"]);
5
+ const CloseAltIcon = ({ alt, className, fill, ...props }) => {
8
6
  const id = useId();
9
- const componentProps = Object.assign({ "aria-labelledby": alt ? id : undefined, className: clsx("coop-icon", className), "data-icon": "close-alt", fill: fill !== null && fill !== void 0 ? fill : "none", role: alt ? "img" : undefined, viewBox: "0 0 32 32" }, props);
10
- return (jsxs("svg", Object.assign({}, componentProps, { children: [alt ? jsx("title", { id: id, children: alt }) : null, jsx("path", { d: "M21.55 22.51a1 1 0 0 1-.7-.3l-11-11a1 1 0 0 1 1.41-1.41l11 11a1 1 0 0 1 0 1.41 1 1 0 0 1-.71.3", fill: fill !== null && fill !== void 0 ? fill : "currentColor" }), jsx("path", { d: "M10.55 22.51a1 1 0 0 1-.7-.3 1 1 0 0 1 0-1.41l11-11a1 1 0 0 1 1.41 1.41l-11 11a1 1 0 0 1-.71.3", fill: fill !== null && fill !== void 0 ? fill : "currentColor" }), jsx("path", { d: "M16 2A14 14 0 1 1 2 16 14 14 0 0 1 16 2m0-2a16 16 0 1 0 16 16A16 16 0 0 0 16 0", fill: fill !== null && fill !== void 0 ? fill : "currentColor" })] })));
7
+ const componentProps = {
8
+ "aria-labelledby": alt ? id : undefined,
9
+ className: clsx("coop-icon", className),
10
+ "data-icon": "close-alt",
11
+ fill: fill !== null && fill !== void 0 ? fill : "none",
12
+ role: alt ? "img" : undefined,
13
+ viewBox: "0 0 32 32",
14
+ ...props,
15
+ };
16
+ return (jsxs("svg", { ...componentProps, children: [alt ? jsx("title", { id: id, children: alt }) : null, jsx("path", { d: "M21.55 22.51a1 1 0 0 1-.7-.3l-11-11a1 1 0 0 1 1.41-1.41l11 11a1 1 0 0 1 0 1.41 1 1 0 0 1-.71.3", fill: fill !== null && fill !== void 0 ? fill : "currentColor" }), jsx("path", { d: "M10.55 22.51a1 1 0 0 1-.7-.3 1 1 0 0 1 0-1.41l11-11a1 1 0 0 1 1.41 1.41l-11 11a1 1 0 0 1-.71.3", fill: fill !== null && fill !== void 0 ? fill : "currentColor" }), jsx("path", { d: "M16 2A14 14 0 1 1 2 16 14 14 0 0 1 16 2m0-2a16 16 0 1 0 16 16A16 16 0 0 0 16 0", fill: fill !== null && fill !== void 0 ? fill : "currentColor" })] }));
11
17
  };
12
18
 
13
19
  export { CloseAltIcon };
@@ -1,13 +1,19 @@
1
- import { __rest } from '../../node_modules/tslib/tslib.es6.js';
2
1
  import { jsxs, jsx } from 'react/jsx-runtime';
3
2
  import { clsx } from '../../node_modules/clsx/dist/clsx.js';
4
3
  import { useId } from 'react';
5
4
 
6
- const CloseIcon = (_a) => {
7
- var { alt, className, fill } = _a, props = __rest(_a, ["alt", "className", "fill"]);
5
+ const CloseIcon = ({ alt, className, fill, ...props }) => {
8
6
  const id = useId();
9
- const componentProps = Object.assign({ "aria-labelledby": alt ? id : undefined, className: clsx("coop-icon", className), "data-icon": "close", fill: fill !== null && fill !== void 0 ? fill : "none", role: alt ? "img" : undefined, viewBox: "0 0 32 32" }, props);
10
- return (jsxs("svg", Object.assign({}, componentProps, { children: [alt ? jsx("title", { id: id, children: alt }) : null, jsx("path", { d: "M27 28a1 1 0 0 1-.71-.29l-22-22a1 1 0 0 1 1.42-1.42l22 22a1 1 0 0 1 0 1.42A1 1 0 0 1 27 28", fill: fill !== null && fill !== void 0 ? fill : "currentColor" }), jsx("path", { d: "M5 28a1 1 0 0 1-.71-.29 1 1 0 0 1 0-1.42l22-22a1 1 0 1 1 1.42 1.42l-22 22A1 1 0 0 1 5 28", fill: fill !== null && fill !== void 0 ? fill : "currentColor" })] })));
7
+ const componentProps = {
8
+ "aria-labelledby": alt ? id : undefined,
9
+ className: clsx("coop-icon", className),
10
+ "data-icon": "close",
11
+ fill: fill !== null && fill !== void 0 ? fill : "none",
12
+ role: alt ? "img" : undefined,
13
+ viewBox: "0 0 32 32",
14
+ ...props,
15
+ };
16
+ return (jsxs("svg", { ...componentProps, children: [alt ? jsx("title", { id: id, children: alt }) : null, jsx("path", { d: "M27 28a1 1 0 0 1-.71-.29l-22-22a1 1 0 0 1 1.42-1.42l22 22a1 1 0 0 1 0 1.42A1 1 0 0 1 27 28", fill: fill !== null && fill !== void 0 ? fill : "currentColor" }), jsx("path", { d: "M5 28a1 1 0 0 1-.71-.29 1 1 0 0 1 0-1.42l22-22a1 1 0 1 1 1.42 1.42l-22 22A1 1 0 0 1 5 28", fill: fill !== null && fill !== void 0 ? fill : "currentColor" })] }));
11
17
  };
12
18
 
13
19
  export { CloseIcon };