@consumidor-positivo/aurora 0.0.11 → 0.0.12
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/IconChevronDown-BJEq9Qlz.cjs +2 -0
- package/dist/IconChevronDown-BJEq9Qlz.cjs.map +1 -0
- package/dist/IconChevronDown-LKLlTSau.js +33 -0
- package/dist/IconChevronDown-LKLlTSau.js.map +1 -0
- package/dist/{IconChevronDown-HbOwUDw5.js → IconChevronLeft-C81GX0AL.js} +6 -6
- package/dist/{IconChevronDown-HbOwUDw5.js.map → IconChevronLeft-C81GX0AL.js.map} +1 -1
- package/dist/{IconChevronDown-sEGWmwfL.cjs → IconChevronLeft-C9RFzoQM.cjs} +2 -2
- package/dist/{IconChevronDown-sEGWmwfL.cjs.map → IconChevronLeft-C9RFzoQM.cjs.map} +1 -1
- package/dist/IconChevronUp--WhWeQrm.js +33 -0
- package/dist/IconChevronUp--WhWeQrm.js.map +1 -0
- package/dist/IconChevronUp-n6YCgc_K.cjs +2 -0
- package/dist/IconChevronUp-n6YCgc_K.cjs.map +1 -0
- package/dist/IconX-DrZE4iYc.cjs +2 -0
- package/dist/IconX-DrZE4iYc.cjs.map +1 -0
- package/dist/IconX-V_l5Ne0d.js +33 -0
- package/dist/IconX-V_l5Ne0d.js.map +1 -0
- package/dist/components/Drawer/Drawer.stories.d.ts +9 -0
- package/dist/components/Drawer/index.cjs.js +2 -0
- package/dist/components/Drawer/index.cjs.js.map +1 -0
- package/dist/components/Drawer/index.d.ts +9 -0
- package/dist/components/Drawer/index.es.js +34 -0
- package/dist/components/Drawer/index.es.js.map +1 -0
- package/dist/components/Drawer/styles.css +1 -0
- package/dist/components/Header/Header.stories.d.ts +3 -3
- package/dist/components/Header/index.cjs.js +1 -1
- package/dist/components/Header/index.cjs.js.map +1 -1
- package/dist/components/Header/index.d.ts +19 -18
- package/dist/components/Header/index.es.js +73 -36
- package/dist/components/Header/index.es.js.map +1 -1
- package/dist/components/Header/parts/HeaderActions.d.ts +7 -0
- package/dist/components/Header/parts/HeaderLink.d.ts +7 -0
- package/dist/components/Header/parts/HeaderLogo.d.ts +1 -2
- package/dist/components/Header/parts/HeaderNavbar.d.ts +1 -2
- package/dist/components/Header/parts/HeaderNavbarLink.d.ts +1 -1
- package/dist/components/Header/parts/HeaderNavigation.d.ts +1 -2
- package/dist/components/Header/parts/HeaderProfile.d.ts +5 -0
- package/dist/components/Header/parts/HeaderWrap.d.ts +1 -2
- package/dist/components/Header/styles.css +1 -1
- package/dist/components/Header/types.d.ts +1 -0
- package/dist/components/Logo/Logo.d.ts +7 -0
- package/dist/components/Logo/ac/Badget.d.ts +1 -0
- package/dist/components/Logo/ac/Logo.stories.d.ts +1 -0
- package/dist/components/Logo/cp/Badget.d.ts +1 -0
- package/dist/components/Logo/cp/Logo.stories.d.ts +1 -0
- package/dist/components/Logo/index.cjs.js +1 -1
- package/dist/components/Logo/index.cjs.js.map +1 -1
- package/dist/components/Logo/index.d.ts +9 -7
- package/dist/components/Logo/index.es.js +192 -124
- package/dist/components/Logo/index.es.js.map +1 -1
- package/dist/components/NavbarVertical/NavbarVertical.stories.d.ts +8 -0
- package/dist/components/NavbarVertical/index.cjs.js +2 -0
- package/dist/components/NavbarVertical/index.cjs.js.map +1 -0
- package/dist/components/NavbarVertical/index.d.ts +19 -0
- package/dist/components/NavbarVertical/index.es.js +84 -0
- package/dist/components/NavbarVertical/index.es.js.map +1 -0
- package/dist/components/NavbarVertical/styles.css +1 -0
- package/dist/components/ProfileNav/index.cjs.js +2 -0
- package/dist/components/ProfileNav/index.cjs.js.map +1 -0
- package/dist/components/ProfileNav/index.d.ts +6 -0
- package/dist/components/ProfileNav/index.es.js +18 -0
- package/dist/components/ProfileNav/index.es.js.map +1 -0
- package/dist/components/ProfileNav/styles.css +1 -0
- package/dist/components/Text/Text.stories.d.ts +1 -0
- package/dist/components/Text/index.cjs.js +1 -1
- package/dist/components/Text/index.cjs.js.map +1 -1
- package/dist/components/Text/index.es.js +2 -2
- package/dist/components/Text/index.es.js.map +1 -1
- package/dist/components/Text/styles.css +1 -1
- package/dist/components/Text/types.d.ts +1 -1
- package/dist/components/icons/index.cjs.js +1 -1
- package/dist/components/icons/index.es.js +1 -1
- package/dist/{index-DUFPL8kH.js → index-Bx1N3tFf.js} +5 -35
- package/dist/index-Bx1N3tFf.js.map +1 -0
- package/dist/index-D3p9fbkm.cjs +2 -0
- package/dist/index-D3p9fbkm.cjs.map +1 -0
- package/dist/main.cjs.js +1 -1
- package/dist/main.es.js +1 -1
- package/package.json +1 -1
- package/dist/components/Header/parts/HeaderNavbarActions.d.ts +0 -6
- package/dist/index-DUFPL8kH.js.map +0 -1
- package/dist/index-xuYOAHrj.cjs +0 -2
- package/dist/index-xuYOAHrj.cjs.map +0 -1
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
2
|
+
import { c as classNames } from "../../index-CweZ_OcN.js";
|
|
3
|
+
import { useState } from "react";
|
|
4
|
+
import { Text } from "../Text/index.es.js";
|
|
5
|
+
import "../../Icon-BvEdGGJ8.js";
|
|
6
|
+
import { I as IconChevronDown } from "../../IconChevronDown-LKLlTSau.js";
|
|
7
|
+
import { I as IconChevronUp } from "../../IconChevronUp--WhWeQrm.js";
|
|
8
|
+
import { C as Conditional } from "../../index-CeZZT_W9.js";
|
|
9
|
+
import './styles.css';const NavbarVertical = ({
|
|
10
|
+
data,
|
|
11
|
+
renderItem,
|
|
12
|
+
renderActions
|
|
13
|
+
}) => {
|
|
14
|
+
return /* @__PURE__ */ jsxs("div", { className: "au-navbar-vertical", children: [
|
|
15
|
+
data == null ? void 0 : data.map((link) => {
|
|
16
|
+
return renderItem(link);
|
|
17
|
+
}),
|
|
18
|
+
/* @__PURE__ */ jsx("div", { className: "au-navbar-vertical__actions", children: renderActions() })
|
|
19
|
+
] });
|
|
20
|
+
};
|
|
21
|
+
const NavbarVerticalLink = ({
|
|
22
|
+
name,
|
|
23
|
+
onClick,
|
|
24
|
+
Icon,
|
|
25
|
+
dropdown,
|
|
26
|
+
active = false
|
|
27
|
+
}) => {
|
|
28
|
+
const [open, setOpen] = useState(active);
|
|
29
|
+
function handleClick() {
|
|
30
|
+
if (dropdown) {
|
|
31
|
+
setOpen((prev) => !prev);
|
|
32
|
+
} else {
|
|
33
|
+
onClick();
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
return /* @__PURE__ */ jsxs(
|
|
37
|
+
Text,
|
|
38
|
+
{
|
|
39
|
+
as: "a",
|
|
40
|
+
variant: "heading-micro",
|
|
41
|
+
weight: "light",
|
|
42
|
+
className: classNames("au-navbar-vertical__link", {
|
|
43
|
+
"is-dropdown": dropdown,
|
|
44
|
+
"is-active": active,
|
|
45
|
+
"is-open": open
|
|
46
|
+
}),
|
|
47
|
+
onClick: handleClick,
|
|
48
|
+
children: [
|
|
49
|
+
/* @__PURE__ */ jsx(Conditional, { condition: !!Icon, renderIf: Icon }),
|
|
50
|
+
name,
|
|
51
|
+
/* @__PURE__ */ jsx(
|
|
52
|
+
Conditional,
|
|
53
|
+
{
|
|
54
|
+
condition: !!(dropdown == null ? void 0 : dropdown.length),
|
|
55
|
+
renderIf: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
56
|
+
/* @__PURE__ */ jsx(Conditional, { condition: !!open, renderIf: /* @__PURE__ */ jsx(IconChevronUp, {}) }),
|
|
57
|
+
/* @__PURE__ */ jsx(Conditional, { condition: !open, renderIf: /* @__PURE__ */ jsx(IconChevronDown, {}) }),
|
|
58
|
+
/* @__PURE__ */ jsx("div", { className: "au-navbar-vertical__dropdown", children: dropdown == null ? void 0 : dropdown.map((item) => {
|
|
59
|
+
return /* @__PURE__ */ jsx(
|
|
60
|
+
Text,
|
|
61
|
+
{
|
|
62
|
+
as: "a",
|
|
63
|
+
variant: "heading-micro",
|
|
64
|
+
weight: "light",
|
|
65
|
+
className: classNames("au-navbar-vertical__dropdown-link", {
|
|
66
|
+
"is-active": item.active
|
|
67
|
+
}),
|
|
68
|
+
title: item.name,
|
|
69
|
+
children: item.name
|
|
70
|
+
}
|
|
71
|
+
);
|
|
72
|
+
}) })
|
|
73
|
+
] })
|
|
74
|
+
}
|
|
75
|
+
)
|
|
76
|
+
]
|
|
77
|
+
}
|
|
78
|
+
);
|
|
79
|
+
};
|
|
80
|
+
NavbarVertical.Link = NavbarVerticalLink;
|
|
81
|
+
export {
|
|
82
|
+
NavbarVertical
|
|
83
|
+
};
|
|
84
|
+
//# sourceMappingURL=index.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.es.js","sources":["../../../lib/components/NavbarVertical/index.tsx"],"sourcesContent":["import classNames from 'classnames'\nimport { ReactNode, useState } from 'react'\nimport { Text } from '../Text'\nimport { IconChevronDown, IconChevronUp } from '../icons/default'\nimport { Conditional } from '../misc'\nimport './styles.scss'\n\ntype NavbarVerticalDataProps = {\n name: string\n Icon?: ReactNode\n onClick: () => void\n dropdown?: NavbarVerticalDataProps[]\n active?: boolean\n}\n\ntype NavbarVerticalProps = {\n data: NavbarVerticalDataProps[]\n renderItem: (link: NavbarVerticalDataProps) => ReactNode\n renderActions: () => ReactNode\n}\n\nexport const NavbarVertical = ({\n data,\n renderItem,\n renderActions,\n}: NavbarVerticalProps) => {\n return (\n <div className=\"au-navbar-vertical\">\n {data?.map((link) => {\n return renderItem(link)\n })}\n <div className=\"au-navbar-vertical__actions\">{renderActions()}</div>\n </div>\n )\n}\n\nconst NavbarVerticalLink = ({\n name,\n onClick,\n Icon,\n dropdown,\n active = false,\n}: NavbarVerticalDataProps) => {\n const [open, setOpen] = useState<boolean>(active)\n\n function handleClick() {\n if (dropdown) {\n setOpen((prev) => !prev)\n } else {\n onClick()\n }\n }\n\n return (\n <Text\n as=\"a\"\n variant=\"heading-micro\"\n weight=\"light\"\n className={classNames('au-navbar-vertical__link', {\n 'is-dropdown': dropdown,\n 'is-active': active,\n 'is-open': open,\n })}\n onClick={handleClick}>\n <Conditional condition={!!Icon} renderIf={Icon} />\n {name}\n\n <Conditional\n condition={!!dropdown?.length}\n renderIf={\n <>\n <Conditional condition={!!open} renderIf={<IconChevronUp />} />\n <Conditional condition={!open} renderIf={<IconChevronDown />} />\n <div className=\"au-navbar-vertical__dropdown\">\n {dropdown?.map((item) => {\n return (\n <Text\n as=\"a\"\n variant=\"heading-micro\"\n weight=\"light\"\n className={classNames('au-navbar-vertical__dropdown-link', {\n 'is-active': item.active,\n })}\n title={item.name}>\n {item.name}\n </Text>\n )\n })}\n </div>\n </>\n }\n />\n </Text>\n )\n}\n\nNavbarVertical.Link = NavbarVerticalLink\n"],"names":[],"mappings":";;;;;;;;AAqBO,MAAM,iBAAiB,CAAC;AAAA,EAC7B;AAAA,EACA;AAAA,EACA;AACF,MAA2B;AAEvB,SAAA,qBAAC,OAAI,EAAA,WAAU,sBACZ,UAAA;AAAA,IAAM,6BAAA,IAAI,CAAC,SAAS;AACnB,aAAO,WAAW,IAAI;AAAA,IAAA;AAAA,IAEvB,oBAAA,OAAA,EAAI,WAAU,+BAA+B,2BAAgB;AAAA,EAChE,EAAA,CAAA;AAEJ;AAEA,MAAM,qBAAqB,CAAC;AAAA,EAC1B;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,SAAS;AACX,MAA+B;AAC7B,QAAM,CAAC,MAAM,OAAO,IAAI,SAAkB,MAAM;AAEhD,WAAS,cAAc;AACrB,QAAI,UAAU;AACJ,cAAA,CAAC,SAAS,CAAC,IAAI;AAAA,IAAA,OAClB;AACG;IACV;AAAA,EACF;AAGE,SAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,IAAG;AAAA,MACH,SAAQ;AAAA,MACR,QAAO;AAAA,MACP,WAAW,WAAW,4BAA4B;AAAA,QAChD,eAAe;AAAA,QACf,aAAa;AAAA,QACb,WAAW;AAAA,MAAA,CACZ;AAAA,MACD,SAAS;AAAA,MACT,UAAA;AAAA,QAAA,oBAAC,eAAY,WAAW,CAAC,CAAC,MAAM,UAAU,MAAM;AAAA,QAC/C;AAAA,QAED;AAAA,UAAC;AAAA,UAAA;AAAA,YACC,WAAW,CAAC,EAAC,qCAAU;AAAA,YACvB,UAEI,qBAAA,UAAA,EAAA,UAAA;AAAA,cAAC,oBAAA,aAAA,EAAY,WAAW,CAAC,CAAC,MAAM,UAAU,oBAAC,gBAAc,CAAA,GAAI;AAAA,cAC7D,oBAAC,eAAY,WAAW,CAAC,MAAM,UAAU,oBAAC,kBAAgB,CAAA,GAAI;AAAA,kCAC7D,OAAI,EAAA,WAAU,gCACZ,UAAU,qCAAA,IAAI,CAAC,SAAS;AAErB,uBAAA;AAAA,kBAAC;AAAA,kBAAA;AAAA,oBACC,IAAG;AAAA,oBACH,SAAQ;AAAA,oBACR,QAAO;AAAA,oBACP,WAAW,WAAW,qCAAqC;AAAA,sBACzD,aAAa,KAAK;AAAA,oBAAA,CACnB;AAAA,oBACD,OAAO,KAAK;AAAA,oBACX,UAAK,KAAA;AAAA,kBAAA;AAAA,gBAAA;AAAA,cAGX,IACH;AAAA,YAAA,GACF;AAAA,UAAA;AAAA,QAEJ;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAGN;AAEA,eAAe,OAAO;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.au-navbar-vertical{width:100%;background-color:#fff;height:100%}.au-navbar-vertical__link{padding:16px 24px;display:flex;align-items:center;gap:16px;cursor:pointer;flex-wrap:wrap;border-bottom:1px solid #dce8ff}.au-navbar-vertical__link:hover,.au-navbar-vertical__link:focus{font-weight:700}.au-navbar-vertical__link.is-active{background-color:#fafbff;color:#0048db;font-weight:700}.au-navbar-vertical__dropdown{display:block;width:100%;border-top:1px solid #dce8ff;padding-top:12px;display:none}.is-open .au-navbar-vertical__dropdown{display:block}.au-navbar-vertical__dropdown-link{display:block;width:100%;padding:12px 0}.au-navbar-vertical__dropdown-link:hover,.au-navbar-vertical__dropdown-link:focus{font-weight:700}.au-navbar-vertical__dropdown-link.is-active{color:#0048db;font-weight:700}.au-navbar-vertical__actions{display:flex;gap:8px;padding:24px}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./styles.css');const e=require("react/jsx-runtime"),i=require("../Text/index.cjs.js");exports.ProfileNav=({name:s})=>e.jsxs("div",{className:"au-profile-nav",children:[e.jsx("div",{className:"au-profile-nav__badget",children:e.jsx(i.Text,{variant:"heading-small",weight:"medium",children:"FS"})}),e.jsxs("div",{className:"div",children:[e.jsxs(i.Text,{as:"h3",variant:"heading-micro",weight:"bold",children:["Olá, ",s]}),e.jsx(i.Text,{children:"Tudo bem?"})]})]});
|
|
2
|
+
//# sourceMappingURL=index.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs.js","sources":["../../../lib/components/ProfileNav/index.tsx"],"sourcesContent":["import { Text } from '../Text'\nimport './styles.scss'\n\ntype ProfileNavProps = {\n name: string\n}\n\nexport const ProfileNav = ({ name }: ProfileNavProps) => {\n return (\n <div className=\"au-profile-nav\">\n <div className=\"au-profile-nav__badget\">\n <Text variant=\"heading-small\" weight=\"medium\">\n FS\n </Text>\n </div>\n <div className=\"div\">\n <Text as=\"h3\" variant=\"heading-micro\" weight=\"bold\">\n Olá, {name}\n </Text>\n <Text>Tudo bem?</Text>\n </div>\n </div>\n )\n}\n"],"names":["name","jsxs","className","children","jsx","Text","variant","weight","as"],"mappings":"0KAO0B,EAAGA,YAEzBC,KAAC,MAAI,CAAAC,UAAU,iBACbC,SAAA,CAACC,EAAAA,IAAA,MAAA,CAAIF,UAAU,yBACbC,WAACC,IAAAC,EAAAA,KAAA,CAAKC,QAAQ,gBAAgBC,OAAO,SAASJ,SAAA,WAIhDF,KAAC,MAAI,CAAAC,UAAU,MACbC,SAAA,CAAAF,OAACI,EAAAA,MAAKG,GAAG,KAAKF,QAAQ,gBAAgBC,OAAO,OAAOJ,SAAA,CAAA,QAC5CH,OAERI,IAACC,QAAKF,SAAS"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Text } from "../Text/index.es.js";
|
|
3
|
+
import './styles.css';const ProfileNav = ({ name }) => {
|
|
4
|
+
return /* @__PURE__ */ jsxs("div", { className: "au-profile-nav", children: [
|
|
5
|
+
/* @__PURE__ */ jsx("div", { className: "au-profile-nav__badget", children: /* @__PURE__ */ jsx(Text, { variant: "heading-small", weight: "medium", children: "FS" }) }),
|
|
6
|
+
/* @__PURE__ */ jsxs("div", { className: "div", children: [
|
|
7
|
+
/* @__PURE__ */ jsxs(Text, { as: "h3", variant: "heading-micro", weight: "bold", children: [
|
|
8
|
+
"Olá, ",
|
|
9
|
+
name
|
|
10
|
+
] }),
|
|
11
|
+
/* @__PURE__ */ jsx(Text, { children: "Tudo bem?" })
|
|
12
|
+
] })
|
|
13
|
+
] });
|
|
14
|
+
};
|
|
15
|
+
export {
|
|
16
|
+
ProfileNav
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=index.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.es.js","sources":["../../../lib/components/ProfileNav/index.tsx"],"sourcesContent":["import { Text } from '../Text'\nimport './styles.scss'\n\ntype ProfileNavProps = {\n name: string\n}\n\nexport const ProfileNav = ({ name }: ProfileNavProps) => {\n return (\n <div className=\"au-profile-nav\">\n <div className=\"au-profile-nav__badget\">\n <Text variant=\"heading-small\" weight=\"medium\">\n FS\n </Text>\n </div>\n <div className=\"div\">\n <Text as=\"h3\" variant=\"heading-micro\" weight=\"bold\">\n Olá, {name}\n </Text>\n <Text>Tudo bem?</Text>\n </div>\n </div>\n )\n}\n"],"names":[],"mappings":";;AAOO,MAAM,aAAa,CAAC,EAAE,WAA4B;AAErD,SAAA,qBAAC,OAAI,EAAA,WAAU,kBACb,UAAA;AAAA,IAAC,oBAAA,OAAA,EAAI,WAAU,0BACb,UAAC,oBAAA,MAAA,EAAK,SAAQ,iBAAgB,QAAO,UAAS,UAAA,KAE9C,CAAA,GACF;AAAA,IACA,qBAAC,OAAI,EAAA,WAAU,OACb,UAAA;AAAA,MAAA,qBAAC,QAAK,IAAG,MAAK,SAAQ,iBAAgB,QAAO,QAAO,UAAA;AAAA,QAAA;AAAA,QAC5C;AAAA,MAAA,GACR;AAAA,MACA,oBAAC,QAAK,UAAS,YAAA,CAAA;AAAA,IAAA,GACjB;AAAA,EACF,EAAA,CAAA;AAEJ;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.au-profile-nav{display:flex;gap:16px}.au-profile-nav__badget{width:48px;height:48px;background-color:#dce8ff;border-radius:999px;display:flex;align-items:center;justify-content:center}
|
|
@@ -11,6 +11,7 @@ export declare const HeadingBig: Story;
|
|
|
11
11
|
export declare const HeadingLarge: Story;
|
|
12
12
|
export declare const HeadingMedium: Story;
|
|
13
13
|
export declare const HeadingSmall: Story;
|
|
14
|
+
export declare const HeadingMicro: Story;
|
|
14
15
|
export declare const ParagraphBig: Story;
|
|
15
16
|
export declare const ParagraphLarge: Story;
|
|
16
17
|
export declare const ParagraphMedium: Story;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";require('./styles.css');var e=Object.defineProperty,r=Object.defineProperties,t=Object.getOwnPropertyDescriptors,n=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable,
|
|
1
|
+
"use strict";require('./styles.css');var e=Object.defineProperty,r=Object.defineProperties,t=Object.getOwnPropertyDescriptors,n=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable,i=(r,t,n)=>t in r?e(r,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):r[t]=n,c=(e,r)=>{for(var t in r||(r={}))a.call(r,t)&&i(e,t,r[t]);if(n)for(var t of n(r))o.call(r,t)&&i(e,t,r[t]);return e},l=(e,r)=>{var t={};for(var i in e)a.call(e,i)&&r.indexOf(i)<0&&(t[i]=e[i]);if(null!=e&&n)for(var i of n(e))r.indexOf(i)<0&&o.call(e,i)&&(t[i]=e[i]);return t};Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),u=require("react"),d=require("../../index-BJmus9Hg.cjs"),f=require("../../index-BK77G4Uk.cjs");function b(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e)for(const t in e)if("default"!==t){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:()=>e[t]})}return r.default=e,Object.freeze(r)}const g=b(u),p=e=>{var r=e,{children:t="Dynamic tag component",tag:n="button"}=r,a=l(r,["children","tag"]);return g.createElement(n,c({},a),t)};exports.Text=e=>{var n=e,{as:a="p",children:o,className:i="",color:u="common",variant:b="body-medium",variantDesk:g,weight:m="regular",dangerouslySetInnerHTML:y}=n,j=l(n,["as","children","className","color","variant","variantDesk","weight","dangerouslySetInnerHTML"]);const v=d.classNames("au-text",{[`au-text--${b}`]:!!b,[`au-text--desk-${g}`]:!!g,[`au-text--color-${u}`]:!!u,[`au-text--weight-${m}`]:!!m,[i]:!!i});return s.jsx(p,(O=c({tag:a,className:v},j),x={children:s.jsx(f.Conditional,{condition:y,renderIf:s.jsx("div",{dangerouslySetInnerHTML:{__html:y}}),renderElse:o})},r(O,t(x))));var O,x};
|
|
2
2
|
//# sourceMappingURL=index.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs.js","sources":["../../../lib/components/misc/DynamicTagComponent/index.tsx","../../../lib/components/Text/index.tsx"],"sourcesContent":["import * as React from 'react'\n\ninterface DynamicTagComponentProps extends React.HTMLAttributes<HTMLElement> {\n /** Html tag that this component root should have */\n tag: string\n}\n\nconst DynamicTagComponent: React.FC<DynamicTagComponentProps> = ({\n children = 'Dynamic tag component',\n tag = 'button',\n ...props\n}) => React.createElement(tag, { ...props }, children)\n\nexport default DynamicTagComponent\n","import DynamicTagComponentStories from '../misc/DynamicTagComponent'\nimport classNames from 'classnames'\nimport { TextProps } from './types'\nimport { Conditional } from '../misc/Conditional'\nimport React from 'react'\nimport './styles.scss'\n\nexport const Text: React.FC<TextProps> = ({\n as = 'p',\n children,\n className = '',\n color = 'common',\n variant = 'body-
|
|
1
|
+
{"version":3,"file":"index.cjs.js","sources":["../../../lib/components/misc/DynamicTagComponent/index.tsx","../../../lib/components/Text/index.tsx"],"sourcesContent":["import * as React from 'react'\n\ninterface DynamicTagComponentProps extends React.HTMLAttributes<HTMLElement> {\n /** Html tag that this component root should have */\n tag: string\n}\n\nconst DynamicTagComponent: React.FC<DynamicTagComponentProps> = ({\n children = 'Dynamic tag component',\n tag = 'button',\n ...props\n}) => React.createElement(tag, { ...props }, children)\n\nexport default DynamicTagComponent\n","import DynamicTagComponentStories from '../misc/DynamicTagComponent'\nimport classNames from 'classnames'\nimport { TextProps } from './types'\nimport { Conditional } from '../misc/Conditional'\nimport React from 'react'\nimport './styles.scss'\n\nexport const Text: React.FC<TextProps> = ({\n as = 'p',\n children,\n className = '',\n color = 'common',\n variant = 'body-medium',\n variantDesk,\n weight = 'regular',\n dangerouslySetInnerHTML,\n ...props\n}: TextProps) => {\n const rootClasses = classNames('au-text', {\n [`au-text--${variant}`]: !!variant,\n [`au-text--desk-${variantDesk}`]: !!variantDesk,\n [`au-text--color-${color}`]: !!color,\n [`au-text--weight-${weight}`]: !!weight,\n [className]: !!className,\n })\n\n return (\n <DynamicTagComponentStories tag={as} className={rootClasses} {...props}>\n <Conditional\n condition={dangerouslySetInnerHTML}\n renderIf={\n <div dangerouslySetInnerHTML={{ __html: dangerouslySetInnerHTML }} />\n }\n renderElse={children}\n />\n </DynamicTagComponentStories>\n )\n}\n"],"names":["DynamicTagComponent","_a","_b","children","tag","props","__objRest","React","createElement","__spreadValues","_c","_d","as","className","color","variant","variantDesk","weight","dangerouslySetInnerHTML","rootClasses","classNames","DynamicTagComponentStories","jsxRuntime","jsx","Conditional","condition","renderIf","__html","renderElse"],"mappings":"ohCAOMA,EAA2DC,IAC/D,IAAAC,EAAAD,GAAAE,SAAWA,EAAA,wBAAAC,IACXA,EAAM,UAFyDF,EAG5DG,EAAAC,EAH4DJ,EAG5D,CAFH,WACA,QAEIK,OAAAA,EAAMC,cAAcJ,EAAKK,EAAK,CAAA,EAAAJ,GAASF,EAAQ,eCJXO,IACxC,IAAAC,EAAAD,GAAAE,GAAKA,EAAA,IAAAT,SACLA,EAAAU,UACAA,EAAY,GAAAC,MACZA,EAAQ,SAAAC,QACRA,EAAU,cAAAC,YACVA,EAAAC,OACAA,EAAS,UAAAC,wBACTA,GARwCP,EASrCN,EAAAC,EATqCK,EASrC,CARH,KACA,WACA,YACA,QACA,UACA,cACA,SACA,4BAGM,MAAAQ,EAAcC,aAAW,UAAW,CACxC,CAAC,YAAYL,OAAcA,EAC3B,CAAC,iBAAiBC,OAAkBA,EACpC,CAAC,kBAAkBF,OAAYA,EAC/B,CAAC,mBAAmBG,OAAaA,EACjCJ,CAACA,KAAcA,iBAIdQ,KAA2BZ,EAAA,CAAAL,IAAKQ,EAAIC,UAAWM,GAAiBd,KAArC,CAC1BF,SAAAmB,EAAAC,IAACC,EAAAA,YAAA,CACCC,UAAWP,EACXQ,SACGJ,EAAAC,IAAA,MAAA,CAAIL,wBAAyB,CAAES,OAAQT,KAE1CU,WAAYzB,wBAEhB"}
|
|
@@ -49,9 +49,9 @@ const Text = (_c) => {
|
|
|
49
49
|
children,
|
|
50
50
|
className = "",
|
|
51
51
|
color = "common",
|
|
52
|
-
variant = "body-
|
|
52
|
+
variant = "body-medium",
|
|
53
53
|
variantDesk,
|
|
54
|
-
weight = "
|
|
54
|
+
weight = "regular",
|
|
55
55
|
dangerouslySetInnerHTML
|
|
56
56
|
} = _d, props = __objRest(_d, [
|
|
57
57
|
"as",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es.js","sources":["../../../lib/components/misc/DynamicTagComponent/index.tsx","../../../lib/components/Text/index.tsx"],"sourcesContent":["import * as React from 'react'\n\ninterface DynamicTagComponentProps extends React.HTMLAttributes<HTMLElement> {\n /** Html tag that this component root should have */\n tag: string\n}\n\nconst DynamicTagComponent: React.FC<DynamicTagComponentProps> = ({\n children = 'Dynamic tag component',\n tag = 'button',\n ...props\n}) => React.createElement(tag, { ...props }, children)\n\nexport default DynamicTagComponent\n","import DynamicTagComponentStories from '../misc/DynamicTagComponent'\nimport classNames from 'classnames'\nimport { TextProps } from './types'\nimport { Conditional } from '../misc/Conditional'\nimport React from 'react'\nimport './styles.scss'\n\nexport const Text: React.FC<TextProps> = ({\n as = 'p',\n children,\n className = '',\n color = 'common',\n variant = 'body-
|
|
1
|
+
{"version":3,"file":"index.es.js","sources":["../../../lib/components/misc/DynamicTagComponent/index.tsx","../../../lib/components/Text/index.tsx"],"sourcesContent":["import * as React from 'react'\n\ninterface DynamicTagComponentProps extends React.HTMLAttributes<HTMLElement> {\n /** Html tag that this component root should have */\n tag: string\n}\n\nconst DynamicTagComponent: React.FC<DynamicTagComponentProps> = ({\n children = 'Dynamic tag component',\n tag = 'button',\n ...props\n}) => React.createElement(tag, { ...props }, children)\n\nexport default DynamicTagComponent\n","import DynamicTagComponentStories from '../misc/DynamicTagComponent'\nimport classNames from 'classnames'\nimport { TextProps } from './types'\nimport { Conditional } from '../misc/Conditional'\nimport React from 'react'\nimport './styles.scss'\n\nexport const Text: React.FC<TextProps> = ({\n as = 'p',\n children,\n className = '',\n color = 'common',\n variant = 'body-medium',\n variantDesk,\n weight = 'regular',\n dangerouslySetInnerHTML,\n ...props\n}: TextProps) => {\n const rootClasses = classNames('au-text', {\n [`au-text--${variant}`]: !!variant,\n [`au-text--desk-${variantDesk}`]: !!variantDesk,\n [`au-text--color-${color}`]: !!color,\n [`au-text--weight-${weight}`]: !!weight,\n [className]: !!className,\n })\n\n return (\n <DynamicTagComponentStories tag={as} className={rootClasses} {...props}>\n <Conditional\n condition={dangerouslySetInnerHTML}\n renderIf={\n <div dangerouslySetInnerHTML={{ __html: dangerouslySetInnerHTML }} />\n }\n renderElse={children}\n />\n </DynamicTagComponentStories>\n )\n}\n"],"names":["DynamicTagComponentStories"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,MAAM,sBAA0D,CAAC,OAI3D;AAJ2D,eAC/D;AAAA,eAAW;AAAA,IACX,MAAM;AAAA,MAFyD,IAG5D,kBAH4D,IAG5D;AAAA,IAFH;AAAA,IACA;AAAA;AAEI,eAAM,cAAc,KAAK,mBAAK,QAAS,QAAQ;AAAA;ACJ9C,MAAM,OAA4B,CAAC,OAUzB;AAVyB,eACxC;AAAA,SAAK;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,QAAQ;AAAA,IACR,UAAU;AAAA,IACV;AAAA,IACA,SAAS;AAAA,IACT;AAAA,MARwC,IASrC,kBATqC,IASrC;AAAA,IARH;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA;AAGM,QAAA,cAAc,WAAW,WAAW;AAAA,IACxC,CAAC,YAAY,OAAO,EAAE,GAAG,CAAC,CAAC;AAAA,IAC3B,CAAC,iBAAiB,WAAW,EAAE,GAAG,CAAC,CAAC;AAAA,IACpC,CAAC,kBAAkB,KAAK,EAAE,GAAG,CAAC,CAAC;AAAA,IAC/B,CAAC,mBAAmB,MAAM,EAAE,GAAG,CAAC,CAAC;AAAA,IACjC,CAAC,SAAS,GAAG,CAAC,CAAC;AAAA,EAAA,CAChB;AAED,6BACGA,qBAA2B,+BAAA,KAAK,IAAI,WAAW,eAAiB,QAArC,EAC1B,UAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAW;AAAA,MACX,UACG,oBAAA,OAAA,EAAI,yBAAyB,EAAE,QAAQ,2BAA2B;AAAA,MAErE,YAAY;AAAA,IAAA;AAAA,EAEhB,EAAA,EAAA;AAEJ;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.au-text{font-family:"Source Sans 3 Variable","Source Sans 3",sans-serif;font-weight:400}.au-text--color-common{color:#313131}.au-text--weight-bold{font-weight:700}.au-text--weight-semibold{font-weight:600}.au-text--weight-medium{font-weight:500}.au-text--weight-regular{font-weight:400}.au-text--weight-light{font-weight:300}.au-text--display-large,.au-text--display-medium,.au-text--display-small{font-family:Lexend Deca Variable,Lexend Deca,sans-serif}.au-text--display-large{font-size:56px;line-height:76px}.au-text--display-medium{font-size:48px;line-height:68px}.au-text--display-small{font-size:40px;line-height:60px}.au-text--heading-big,.au-text--heading-large,.au-text--heading-medium,.au-text--heading-small{font-family:Lexend Deca Variable,Lexend Deca,sans-serif}.au-text--heading-big{font-size:32px;line-height:52px}.au-text--heading-large{font-size:28px;line-height:48px}.au-text--heading-medium{font-size:24px;line-height:44px}.au-text--heading-small{font-size:20px;line-height:40px}.au-text--body-big,.au-text--body-large,.au-text--body-medium,.au-text--body-small{font-family:"Source Sans 3 Variable","Source Sans 3",sans-serif}.au-text--body-big{font-size:24px;line-height:36px}.au-text--body-large{font-size:20px;line-height:30px}.au-text--body-medium{font-size:16px;line-height:24px}.au-text--body-small{font-size:14px;line-height:21px}.au-text--caption{font-family:"Source Sans 3 Variable","Source Sans 3",sans-serif;font-size:12px;line-height:18px}@media (min-width: 320px){.au-text--desk-display-large,.au-text--desk-display-medium,.au-text--desk-display-small{font-family:Lexend Deca Variable,Lexend Deca,sans-serif}.au-text--desk-display-large{font-size:56px;line-height:76px}.au-text--desk-display-medium{font-size:48px;line-height:68px}.au-text--desk-display-small{font-size:40px;line-height:60px}.au-text--desk-heading-big,.au-text--desk-heading-large,.au-text--desk-heading-medium,.au-text--desk-heading-small{font-family:Lexend Deca Variable,Lexend Deca,sans-serif}.au-text--desk-heading-big{font-size:32px;line-height:52px}.au-text--desk-heading-large{font-size:28px;line-height:48px}.au-text--desk-heading-medium{font-size:24px;line-height:44px}.au-text--desk-heading-small{font-size:20px;line-height:40px}.au-text--desk-body-big,.au-text--desk-body-large,.au-text--desk-body-medium,.au-text--desk-body-small{font-family:"Source Sans 3 Variable","Source Sans 3",sans-serif}.au-text--desk-body-big{font-size:24px;line-height:36px}.au-text--desk-body-large{font-size:20px;line-height:30px}.au-text--desk-body-medium{font-size:16px;line-height:24px}.au-text--desk-body-small{font-size:14px;line-height:21px}.au-text--desk-caption{font-family:"Source Sans 3 Variable","Source Sans 3",sans-serif;font-size:12px;line-height:18px}}
|
|
1
|
+
.au-text{font-family:"Source Sans 3 Variable","Source Sans 3",sans-serif;font-weight:400}.au-text--color-common{color:#313131}.au-text--weight-bold{font-weight:700}.au-text--weight-semibold{font-weight:600}.au-text--weight-medium{font-weight:500}.au-text--weight-regular{font-weight:400}.au-text--weight-light{font-weight:300}.au-text--display-large,.au-text--display-medium,.au-text--display-small{font-family:Lexend Deca Variable,Lexend Deca,sans-serif}.au-text--display-large{font-size:56px;line-height:76px}.au-text--display-medium{font-size:48px;line-height:68px}.au-text--display-small{font-size:40px;line-height:60px}.au-text--heading-big,.au-text--heading-large,.au-text--heading-medium,.au-text--heading-small,.au-text--heading-micro{font-family:Lexend Deca Variable,Lexend Deca,sans-serif}.au-text--heading-big{font-size:32px;line-height:52px}.au-text--heading-large{font-size:28px;line-height:48px}.au-text--heading-medium{font-size:24px;line-height:44px}.au-text--heading-small{font-size:20px;line-height:40px}.au-text--heading-micro{font-size:16px;line-height:24px}.au-text--body-big,.au-text--body-large,.au-text--body-medium,.au-text--body-small{font-family:"Source Sans 3 Variable","Source Sans 3",sans-serif}.au-text--body-big{font-size:24px;line-height:36px}.au-text--body-large{font-size:20px;line-height:30px}.au-text--body-medium{font-size:16px;line-height:24px}.au-text--body-small{font-size:14px;line-height:21px}.au-text--caption{font-family:"Source Sans 3 Variable","Source Sans 3",sans-serif;font-size:12px;line-height:18px}@media (min-width: 320px){.au-text--desk-display-large,.au-text--desk-display-medium,.au-text--desk-display-small{font-family:Lexend Deca Variable,Lexend Deca,sans-serif}.au-text--desk-display-large{font-size:56px;line-height:76px}.au-text--desk-display-medium{font-size:48px;line-height:68px}.au-text--desk-display-small{font-size:40px;line-height:60px}.au-text--desk-heading-big,.au-text--desk-heading-large,.au-text--desk-heading-medium,.au-text--desk-heading-small,.au-text--desk-heading-micro{font-family:Lexend Deca Variable,Lexend Deca,sans-serif}.au-text--desk-heading-big{font-size:32px;line-height:52px}.au-text--desk-heading-large{font-size:28px;line-height:48px}.au-text--desk-heading-medium{font-size:24px;line-height:44px}.au-text--desk-heading-small{font-size:20px;line-height:40px}.au-text--desk-heading-micro{font-size:16px;line-height:24px}.au-text--desk-body-big,.au-text--desk-body-large,.au-text--desk-body-medium,.au-text--desk-body-small{font-family:"Source Sans 3 Variable","Source Sans 3",sans-serif}.au-text--desk-body-big{font-size:24px;line-height:36px}.au-text--desk-body-large{font-size:20px;line-height:30px}.au-text--desk-body-medium{font-size:16px;line-height:24px}.au-text--desk-body-small{font-size:14px;line-height:21px}.au-text--desk-caption{font-family:"Source Sans 3 Variable","Source Sans 3",sans-serif;font-size:12px;line-height:18px}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
type TextVariant = 'display-large' | 'display-medium' | 'display-small' | 'heading-big' | 'heading-large' | 'heading-medium' | 'heading-small' | 'body-big' | 'body-large' | 'body-medium' | 'body-small' | 'caption';
|
|
2
|
+
type TextVariant = 'display-large' | 'display-medium' | 'display-small' | 'heading-big' | 'heading-large' | 'heading-medium' | 'heading-small' | 'heading-micro' | 'body-big' | 'body-large' | 'body-medium' | 'body-small' | 'caption';
|
|
3
3
|
type TextWeight = 'bold' | 'semibold' | 'medium' | 'regular' | 'light';
|
|
4
4
|
export interface TextProps extends React.HTMLAttributes<HTMLElement> {
|
|
5
5
|
as?: keyof React.ReactHTML;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../index-D3p9fbkm.cjs");exports.Icons=e.index$3,exports.IconsColorful=e.index$1,exports.IconsSocial=e.index$2;
|
|
2
2
|
//# sourceMappingURL=index.cjs.js.map
|
|
@@ -16,8 +16,11 @@ var __spreadValues = (a, b) => {
|
|
|
16
16
|
};
|
|
17
17
|
import { jsx } from "react/jsx-runtime";
|
|
18
18
|
import { I as Icon } from "./Icon-BvEdGGJ8.js";
|
|
19
|
-
import {
|
|
19
|
+
import { I as IconBell, a as IconChevronLeft } from "./IconChevronLeft-C81GX0AL.js";
|
|
20
|
+
import { I as IconChevronDown } from "./IconChevronDown-LKLlTSau.js";
|
|
21
|
+
import { I as IconChevronUp } from "./IconChevronUp--WhWeQrm.js";
|
|
20
22
|
import { I as IconLoader } from "./IconLoader-DydDdM8i.js";
|
|
23
|
+
import { I as IconX } from "./IconX-V_l5Ne0d.js";
|
|
21
24
|
function IconColorfulWarning(props) {
|
|
22
25
|
return /* @__PURE__ */ jsx(
|
|
23
26
|
Icon,
|
|
@@ -543,17 +546,6 @@ function IconCake(props) {
|
|
|
543
546
|
}, props)
|
|
544
547
|
);
|
|
545
548
|
}
|
|
546
|
-
function IconChevronLeft(props) {
|
|
547
|
-
return /* @__PURE__ */ jsx(
|
|
548
|
-
Icon,
|
|
549
|
-
__spreadValues({
|
|
550
|
-
iconMarkup: "<svg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'><path fill-rule='evenodd' clip-rule='evenodd' d='M15.7071 5.29289C16.0976 5.68342 16.0976 6.31658 15.7071 6.70711L10.4142 12L15.7071 17.2929C16.0976 17.6834 16.0976 18.3166 15.7071 18.7071C15.3166 19.0976 14.6834 19.0976 14.2929 18.7071L8.29289 12.7071C7.90237 12.3166 7.90237 11.6834 8.29289 11.2929L14.2929 5.29289C14.6834 4.90237 15.3166 4.90237 15.7071 5.29289Z' fill='currentColor'/></svg>",
|
|
551
|
-
iconName: "IconChevronLeft",
|
|
552
|
-
iconSize: props.size,
|
|
553
|
-
iconColor: props.color
|
|
554
|
-
}, props)
|
|
555
|
-
);
|
|
556
|
-
}
|
|
557
549
|
function IconCheck(props) {
|
|
558
550
|
return /* @__PURE__ */ jsx(
|
|
559
551
|
Icon,
|
|
@@ -1610,17 +1602,6 @@ function IconInstagram(props) {
|
|
|
1610
1602
|
}, props)
|
|
1611
1603
|
);
|
|
1612
1604
|
}
|
|
1613
|
-
function IconChevronUp(props) {
|
|
1614
|
-
return /* @__PURE__ */ jsx(
|
|
1615
|
-
Icon,
|
|
1616
|
-
__spreadValues({
|
|
1617
|
-
iconMarkup: "<svg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'><path fill-rule='evenodd' clip-rule='evenodd' d='M11.2929 8.29289C11.6834 7.90237 12.3166 7.90237 12.7071 8.29289L18.7071 14.2929C19.0976 14.6834 19.0976 15.3166 18.7071 15.7071C18.3166 16.0976 17.6834 16.0976 17.2929 15.7071L12 10.4142L6.70711 15.7071C6.31658 16.0976 5.68342 16.0976 5.29289 15.7071C4.90237 15.3166 4.90237 14.6834 5.29289 14.2929L11.2929 8.29289Z' fill='currentColor'/></svg>",
|
|
1618
|
-
iconName: "IconChevronUp",
|
|
1619
|
-
iconSize: props.size,
|
|
1620
|
-
iconColor: props.color
|
|
1621
|
-
}, props)
|
|
1622
|
-
);
|
|
1623
|
-
}
|
|
1624
1605
|
function IconCompass(props) {
|
|
1625
1606
|
return /* @__PURE__ */ jsx(
|
|
1626
1607
|
Icon,
|
|
@@ -3293,17 +3274,6 @@ function IconWifiOff(props) {
|
|
|
3293
3274
|
}, props)
|
|
3294
3275
|
);
|
|
3295
3276
|
}
|
|
3296
|
-
function IconX(props) {
|
|
3297
|
-
return /* @__PURE__ */ jsx(
|
|
3298
|
-
Icon,
|
|
3299
|
-
__spreadValues({
|
|
3300
|
-
iconMarkup: "<svg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'><path fill-rule='evenodd' clip-rule='evenodd' d='M18.7071 5.29289C19.0976 5.68342 19.0976 6.31658 18.7071 6.70711L6.70711 18.7071C6.31658 19.0976 5.68342 19.0976 5.29289 18.7071C4.90237 18.3166 4.90237 17.6834 5.29289 17.2929L17.2929 5.29289C17.6834 4.90237 18.3166 4.90237 18.7071 5.29289Z' fill='currentColor'/><path fill-rule='evenodd' clip-rule='evenodd' d='M5.29289 5.29289C5.68342 4.90237 6.31658 4.90237 6.70711 5.29289L18.7071 17.2929C19.0976 17.6834 19.0976 18.3166 18.7071 18.7071C18.3166 19.0976 17.6834 19.0976 17.2929 18.7071L5.29289 6.70711C4.90237 6.31658 4.90237 5.68342 5.29289 5.29289Z' fill='currentColor'/></svg>",
|
|
3301
|
-
iconName: "IconX",
|
|
3302
|
-
iconSize: props.size,
|
|
3303
|
-
iconColor: props.color
|
|
3304
|
-
}, props)
|
|
3305
|
-
);
|
|
3306
|
-
}
|
|
3307
3277
|
function IconXCircle(props) {
|
|
3308
3278
|
return /* @__PURE__ */ jsx(
|
|
3309
3279
|
Icon,
|
|
@@ -3666,4 +3636,4 @@ export {
|
|
|
3666
3636
|
index$1 as c,
|
|
3667
3637
|
index as i
|
|
3668
3638
|
};
|
|
3669
|
-
//# sourceMappingURL=index-
|
|
3639
|
+
//# sourceMappingURL=index-Bx1N3tFf.js.map
|