@consumidor-positivo/aurora 0.0.11 → 0.0.13
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/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/{IconChevronDown-HbOwUDw5.js → IconMenu-BQ0cIqwI.js} +18 -6
- package/dist/IconMenu-BQ0cIqwI.js.map +1 -0
- package/dist/{IconChevronDown-sEGWmwfL.cjs → IconMenu-FVdQl9jm.cjs} +2 -2
- package/dist/IconMenu-FVdQl9jm.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/Button/styles.css +1 -1
- package/dist/components/Drawer/Drawer.stories.d.ts +9 -0
- package/dist/components/Drawer/hooks.d.ts +4 -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 +10 -0
- package/dist/components/Drawer/index.es.js +30 -0
- package/dist/components/Drawer/index.es.js.map +1 -0
- package/dist/components/Drawer/styles.css +1 -0
- 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 +23 -18
- package/dist/components/Header/index.es.js +92 -25
- 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/HeaderActions.stories.d.ts +9 -0
- package/dist/components/Header/parts/HeaderBadges.d.ts +6 -0
- package/dist/components/Header/parts/HeaderButton.d.ts +7 -0
- package/dist/components/Header/parts/HeaderDrawer.stories.d.ts +7 -0
- package/dist/components/Header/parts/HeaderLink.d.ts +7 -0
- package/dist/components/Header/parts/HeaderLogo.d.ts +5 -4
- package/dist/components/Header/parts/HeaderLogo.stories.d.ts +7 -0
- package/dist/components/Header/parts/HeaderNavIntern.stories.d.ts +10 -0
- package/dist/components/Header/parts/HeaderNavbar.d.ts +1 -2
- package/dist/components/Header/parts/HeaderNavbar.stories.d.ts +7 -0
- 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/IsMobile/index.cjs.js +2 -0
- package/dist/components/IsMobile/index.cjs.js.map +1 -0
- package/dist/components/IsMobile/index.d.ts +8 -0
- package/dist/components/IsMobile/index.es.js +21 -0
- package/dist/components/IsMobile/index.es.js.map +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/Logo/styles.css +1 -0
- 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 +85 -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/default/index.d.ts +184 -178
- package/dist/components/icons/default/index.default.stories.d.ts +184 -178
- package/dist/components/icons/index.cjs.js +1 -1
- package/dist/components/icons/index.d.ts +0 -1
- package/dist/components/icons/index.es.js +3 -4
- package/dist/core/utils/isClient.d.ts +1 -0
- package/dist/core/utils/isMobile.d.ts +1 -0
- package/dist/index-BSpLEaK5.cjs +2 -0
- package/dist/index-BSpLEaK5.cjs.map +1 -0
- package/dist/{index-DUFPL8kH.js → index-DIN6Mew7.js} +853 -839
- package/dist/index-DIN6Mew7.js.map +1 -0
- package/dist/main.cjs.js +1 -1
- package/dist/main.d.ts +6 -0
- package/dist/main.es.js +13 -1
- package/dist/main.es.js.map +1 -1
- package/package.json +1 -1
- package/dist/IconChevronDown-HbOwUDw5.js.map +0 -1
- package/dist/IconChevronDown-sEGWmwfL.cjs.map +0 -1
- package/dist/components/Header/Header.stories.d.ts +0 -15
- package/dist/components/Header/parts/HeaderNavbarActions.d.ts +0 -6
- package/dist/components/icons/colorful/IconColorfulPositive.d.ts +0 -1
- package/dist/components/icons/colorful/IconColorfulWarning.d.ts +0 -1
- package/dist/components/icons/colorful/index.colorful.stories.d.ts +0 -7
- package/dist/components/icons/colorful/index.d.ts +0 -1
- 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,2 @@
|
|
|
1
|
+
"use strict";var e=Object.defineProperty,r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable,t=(r,o,n)=>o in r?e(r,o,{enumerable:!0,configurable:!0,writable:!0,value:n}):r[o]=n;const i=require("react/jsx-runtime"),c=require("./Icon-MUF210wL.cjs");exports.IconChevronDown=function(e){return i.jsx(c.Icon,((e,i)=>{for(var c in i||(i={}))o.call(i,c)&&t(e,c,i[c]);if(r)for(var c of r(i))n.call(i,c)&&t(e,c,i[c]);return e})({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='M5.29289 8.29289C5.68342 7.90237 6.31658 7.90237 6.70711 8.29289L12 13.5858L17.2929 8.29289C17.6834 7.90237 18.3166 7.90237 18.7071 8.29289C19.0976 8.68342 19.0976 9.31658 18.7071 9.70711L12.7071 15.7071C12.3166 16.0976 11.6834 16.0976 11.2929 15.7071L5.29289 9.70711C4.90237 9.31658 4.90237 8.68342 5.29289 8.29289Z' fill='currentColor'/></svg>",iconName:"IconChevronDown",iconSize:e.size,iconColor:e.color},e))};
|
|
2
|
+
//# sourceMappingURL=IconChevronDown-BJEq9Qlz.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IconChevronDown-BJEq9Qlz.cjs","sources":["../lib/components/icons/default/IconChevronDown.tsx"],"sourcesContent":["// This file is generated automatically\n// To edit see the file lib/tasks/generateIcons.js\nimport Icon from '../Icon'\n\nexport default function IconChevronDown(props: any) {\n return (\n <Icon\n iconMarkup={\n \"<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='M5.29289 8.29289C5.68342 7.90237 6.31658 7.90237 6.70711 8.29289L12 13.5858L17.2929 8.29289C17.6834 7.90237 18.3166 7.90237 18.7071 8.29289C19.0976 8.68342 19.0976 9.31658 18.7071 9.70711L12.7071 15.7071C12.3166 16.0976 11.6834 16.0976 11.2929 15.7071L5.29289 9.70711C4.90237 9.31658 4.90237 8.68342 5.29289 8.29289Z' fill='currentColor'/></svg>\"\n }\n iconName=\"IconChevronDown\"\n iconSize={props.size}\n iconColor={props.color}\n {...props}\n />\n )\n}\n"],"names":["props","jsxRuntime","jsx","Icon","__spreadValues","iconMarkup","iconName","iconSize","size","iconColor","color"],"mappings":"oUAIA,SAAwCA,GAEpC,OAAAC,EAAAC,IAACC,EAAAA,wHAAAC,CAAA,CACCC,WACE,4eAEFC,SAAS,kBACTC,SAAUP,EAAMQ,KAChBC,UAAWT,EAAMU,OACbV,GAGV"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
3
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
4
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6
|
+
var __spreadValues = (a, b) => {
|
|
7
|
+
for (var prop in b || (b = {}))
|
|
8
|
+
if (__hasOwnProp.call(b, prop))
|
|
9
|
+
__defNormalProp(a, prop, b[prop]);
|
|
10
|
+
if (__getOwnPropSymbols)
|
|
11
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
12
|
+
if (__propIsEnum.call(b, prop))
|
|
13
|
+
__defNormalProp(a, prop, b[prop]);
|
|
14
|
+
}
|
|
15
|
+
return a;
|
|
16
|
+
};
|
|
17
|
+
import { jsx } from "react/jsx-runtime";
|
|
18
|
+
import { I as Icon } from "./Icon-BvEdGGJ8.js";
|
|
19
|
+
function IconChevronDown(props) {
|
|
20
|
+
return /* @__PURE__ */ jsx(
|
|
21
|
+
Icon,
|
|
22
|
+
__spreadValues({
|
|
23
|
+
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='M5.29289 8.29289C5.68342 7.90237 6.31658 7.90237 6.70711 8.29289L12 13.5858L17.2929 8.29289C17.6834 7.90237 18.3166 7.90237 18.7071 8.29289C19.0976 8.68342 19.0976 9.31658 18.7071 9.70711L12.7071 15.7071C12.3166 16.0976 11.6834 16.0976 11.2929 15.7071L5.29289 9.70711C4.90237 9.31658 4.90237 8.68342 5.29289 8.29289Z' fill='currentColor'/></svg>",
|
|
24
|
+
iconName: "IconChevronDown",
|
|
25
|
+
iconSize: props.size,
|
|
26
|
+
iconColor: props.color
|
|
27
|
+
}, props)
|
|
28
|
+
);
|
|
29
|
+
}
|
|
30
|
+
export {
|
|
31
|
+
IconChevronDown as I
|
|
32
|
+
};
|
|
33
|
+
//# sourceMappingURL=IconChevronDown-LKLlTSau.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IconChevronDown-LKLlTSau.js","sources":["../lib/components/icons/default/IconChevronDown.tsx"],"sourcesContent":["// This file is generated automatically\n// To edit see the file lib/tasks/generateIcons.js\nimport Icon from '../Icon'\n\nexport default function IconChevronDown(props: any) {\n return (\n <Icon\n iconMarkup={\n \"<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='M5.29289 8.29289C5.68342 7.90237 6.31658 7.90237 6.70711 8.29289L12 13.5858L17.2929 8.29289C17.6834 7.90237 18.3166 7.90237 18.7071 8.29289C19.0976 8.68342 19.0976 9.31658 18.7071 9.70711L12.7071 15.7071C12.3166 16.0976 11.6834 16.0976 11.2929 15.7071L5.29289 9.70711C4.90237 9.31658 4.90237 8.68342 5.29289 8.29289Z' fill='currentColor'/></svg>\"\n }\n iconName=\"IconChevronDown\"\n iconSize={props.size}\n iconColor={props.color}\n {...props}\n />\n )\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAIA,SAAwB,gBAAgB,OAAY;AAEhD,SAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,YACE;AAAA,MAEF,UAAS;AAAA,MACT,UAAU,MAAM;AAAA,MAChB,WAAW,MAAM;AAAA,OACb;AAAA,EAAA;AAGV;"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
3
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
4
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6
|
+
var __spreadValues = (a, b) => {
|
|
7
|
+
for (var prop in b || (b = {}))
|
|
8
|
+
if (__hasOwnProp.call(b, prop))
|
|
9
|
+
__defNormalProp(a, prop, b[prop]);
|
|
10
|
+
if (__getOwnPropSymbols)
|
|
11
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
12
|
+
if (__propIsEnum.call(b, prop))
|
|
13
|
+
__defNormalProp(a, prop, b[prop]);
|
|
14
|
+
}
|
|
15
|
+
return a;
|
|
16
|
+
};
|
|
17
|
+
import { jsx } from "react/jsx-runtime";
|
|
18
|
+
import { I as Icon } from "./Icon-BvEdGGJ8.js";
|
|
19
|
+
function IconChevronUp(props) {
|
|
20
|
+
return /* @__PURE__ */ jsx(
|
|
21
|
+
Icon,
|
|
22
|
+
__spreadValues({
|
|
23
|
+
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>",
|
|
24
|
+
iconName: "IconChevronUp",
|
|
25
|
+
iconSize: props.size,
|
|
26
|
+
iconColor: props.color
|
|
27
|
+
}, props)
|
|
28
|
+
);
|
|
29
|
+
}
|
|
30
|
+
export {
|
|
31
|
+
IconChevronUp as I
|
|
32
|
+
};
|
|
33
|
+
//# sourceMappingURL=IconChevronUp--WhWeQrm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IconChevronUp--WhWeQrm.js","sources":["../lib/components/icons/default/IconChevronUp.tsx"],"sourcesContent":["// This file is generated automatically\n// To edit see the file lib/tasks/generateIcons.js\nimport Icon from '../Icon'\n\nexport default function IconChevronUp(props: any) {\n return (\n <Icon\n iconMarkup={\n \"<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>\"\n }\n iconName=\"IconChevronUp\"\n iconSize={props.size}\n iconColor={props.color}\n {...props}\n />\n )\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAIA,SAAwB,cAAc,OAAY;AAE9C,SAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,YACE;AAAA,MAEF,UAAS;AAAA,MACT,UAAU,MAAM;AAAA,MAChB,WAAW,MAAM;AAAA,OACb;AAAA,EAAA;AAGV;"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";var e=Object.defineProperty,r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable,t=(r,o,n)=>o in r?e(r,o,{enumerable:!0,configurable:!0,writable:!0,value:n}):r[o]=n;const i=require("react/jsx-runtime"),c=require("./Icon-MUF210wL.cjs");exports.IconChevronUp=function(e){return i.jsx(c.Icon,((e,i)=>{for(var c in i||(i={}))o.call(i,c)&&t(e,c,i[c]);if(r)for(var c of r(i))n.call(i,c)&&t(e,c,i[c]);return e})({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>",iconName:"IconChevronUp",iconSize:e.size,iconColor:e.color},e))};
|
|
2
|
+
//# sourceMappingURL=IconChevronUp-n6YCgc_K.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IconChevronUp-n6YCgc_K.cjs","sources":["../lib/components/icons/default/IconChevronUp.tsx"],"sourcesContent":["// This file is generated automatically\n// To edit see the file lib/tasks/generateIcons.js\nimport Icon from '../Icon'\n\nexport default function IconChevronUp(props: any) {\n return (\n <Icon\n iconMarkup={\n \"<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>\"\n }\n iconName=\"IconChevronUp\"\n iconSize={props.size}\n iconColor={props.color}\n {...props}\n />\n )\n}\n"],"names":["props","jsxRuntime","jsx","Icon","__spreadValues","iconMarkup","iconName","iconSize","size","iconColor","color"],"mappings":"kUAIA,SAAsCA,GAElC,OAAAC,EAAAC,IAACC,EAAAA,wHAAAC,CAAA,CACCC,WACE,4eAEFC,SAAS,gBACTC,SAAUP,EAAMQ,KAChBC,UAAWT,EAAMU,OACbV,GAGV"}
|
|
@@ -27,19 +27,31 @@ function IconBell(props) {
|
|
|
27
27
|
}, props)
|
|
28
28
|
);
|
|
29
29
|
}
|
|
30
|
-
function
|
|
30
|
+
function IconChevronLeft(props) {
|
|
31
31
|
return /* @__PURE__ */ jsx(
|
|
32
32
|
Icon,
|
|
33
33
|
__spreadValues({
|
|
34
|
-
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='
|
|
35
|
-
iconName: "
|
|
34
|
+
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>",
|
|
35
|
+
iconName: "IconChevronLeft",
|
|
36
|
+
iconSize: props.size,
|
|
37
|
+
iconColor: props.color
|
|
38
|
+
}, props)
|
|
39
|
+
);
|
|
40
|
+
}
|
|
41
|
+
function IconMenu(props) {
|
|
42
|
+
return /* @__PURE__ */ jsx(
|
|
43
|
+
Icon,
|
|
44
|
+
__spreadValues({
|
|
45
|
+
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='M2 12C2 11.4477 2.44772 11 3 11H21C21.5523 11 22 11.4477 22 12C22 12.5523 21.5523 13 21 13H3C2.44772 13 2 12.5523 2 12Z' fill='currentColor'/><path fill-rule='evenodd' clip-rule='evenodd' d='M2 6C2 5.44772 2.44772 5 3 5H21C21.5523 5 22 5.44772 22 6C22 6.55228 21.5523 7 21 7H3C2.44772 7 2 6.55228 2 6Z' fill='currentColor'/><path fill-rule='evenodd' clip-rule='evenodd' d='M2 18C2 17.4477 2.44772 17 3 17H21C21.5523 17 22 17.4477 22 18C22 18.5523 21.5523 19 21 19H3C2.44772 19 2 18.5523 2 18Z' fill='currentColor'/></svg>",
|
|
46
|
+
iconName: "IconMenu",
|
|
36
47
|
iconSize: props.size,
|
|
37
48
|
iconColor: props.color
|
|
38
49
|
}, props)
|
|
39
50
|
);
|
|
40
51
|
}
|
|
41
52
|
export {
|
|
42
|
-
|
|
43
|
-
IconBell as a
|
|
53
|
+
IconChevronLeft as I,
|
|
54
|
+
IconBell as a,
|
|
55
|
+
IconMenu as b
|
|
44
56
|
};
|
|
45
|
-
//# sourceMappingURL=
|
|
57
|
+
//# sourceMappingURL=IconMenu-BQ0cIqwI.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IconMenu-BQ0cIqwI.js","sources":["../lib/components/icons/default/IconBell.tsx","../lib/components/icons/default/IconChevronLeft.tsx","../lib/components/icons/default/IconMenu.tsx"],"sourcesContent":["// This file is generated automatically\n// To edit see the file lib/tasks/generateIcons.js\nimport Icon from '../Icon'\n\nexport default function IconBell(props: any) {\n return (\n <Icon\n iconMarkup={\n \"<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='M7.05033 3.05025C8.36309 1.7375 10.1436 1 12.0001 1C13.8566 1 15.6371 1.7375 16.9498 3.05025C18.2626 4.36301 19.0001 6.14349 19.0001 8C19.0001 11.3527 19.7171 13.4346 20.378 14.6461C20.7098 15.2544 21.0329 15.6535 21.2573 15.8904C21.3698 16.0091 21.4581 16.0878 21.5114 16.1322C21.538 16.1544 21.5558 16.168 21.5635 16.1737C21.5647 16.1746 21.5657 16.1753 21.5664 16.1758C21.9249 16.4221 22.0835 16.8725 21.9572 17.2898C21.8295 17.7115 21.4407 18 21.0001 18H3.00008C2.55941 18 2.17068 17.7115 2.04299 17.2898C1.91664 16.8725 2.07528 16.4221 2.43377 16.1758C2.43447 16.1753 2.43542 16.1746 2.43663 16.1737C2.44432 16.168 2.46218 16.1544 2.4888 16.1322C2.54202 16.0878 2.6304 16.0091 2.74288 15.8904C2.9673 15.6535 3.29039 15.2544 3.62218 14.6461C4.28301 13.4346 5.00008 11.3527 5.00008 8C5.00008 6.14348 5.73758 4.36301 7.05033 3.05025ZM2.44388 16.169C2.44395 16.1689 2.44403 16.1688 2.44411 16.1688C2.44411 16.1688 2.4441 16.1688 2.4441 16.1688L2.44388 16.169ZM5.1494 16H18.8508C18.7747 15.8753 18.6983 15.7434 18.6222 15.6039C17.783 14.0654 17.0001 11.6473 17.0001 8C17.0001 6.67392 16.4733 5.40215 15.5356 4.46447C14.5979 3.52678 13.3262 3 12.0001 3C10.674 3 9.40223 3.52678 8.46454 4.46447C7.52686 5.40215 7.00008 6.67392 7.00008 8C7.00008 11.6473 6.21715 14.0654 5.37797 15.6039C5.30188 15.7434 5.22549 15.8753 5.1494 16Z' fill='currentColor'/><path fill-rule='evenodd' clip-rule='evenodd' d='M9.76792 20.1352C10.2457 19.858 10.8576 20.0207 11.1347 20.4984C11.2226 20.6499 11.3488 20.7757 11.5006 20.8632C11.6524 20.9506 11.8245 20.9966 11.9997 20.9966C12.1749 20.9966 12.347 20.9506 12.4988 20.8632C12.6506 20.7757 12.7768 20.6499 12.8647 20.4984C13.1418 20.0207 13.7537 19.858 14.2315 20.1352C14.7092 20.4123 14.8718 21.0242 14.5947 21.5019C14.331 21.9566 13.9525 22.3339 13.497 22.5962C13.0416 22.8586 12.5253 22.9966 11.9997 22.9966C11.4741 22.9966 10.9578 22.8586 10.5024 22.5962C10.0469 22.3339 9.66841 21.9566 9.4047 21.5019C9.12758 21.0242 9.2902 20.4123 9.76792 20.1352Z' fill='currentColor'/></svg>\"\n }\n iconName=\"IconBell\"\n iconSize={props.size}\n iconColor={props.color}\n {...props}\n />\n )\n}\n","// This file is generated automatically\n// To edit see the file lib/tasks/generateIcons.js\nimport Icon from '../Icon'\n\nexport default function IconChevronLeft(props: any) {\n return (\n <Icon\n iconMarkup={\n \"<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>\"\n }\n iconName=\"IconChevronLeft\"\n iconSize={props.size}\n iconColor={props.color}\n {...props}\n />\n )\n}\n","// This file is generated automatically\n// To edit see the file lib/tasks/generateIcons.js\nimport Icon from '../Icon'\n\nexport default function IconMenu(props: any) {\n return (\n <Icon\n iconMarkup={\n \"<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='M2 12C2 11.4477 2.44772 11 3 11H21C21.5523 11 22 11.4477 22 12C22 12.5523 21.5523 13 21 13H3C2.44772 13 2 12.5523 2 12Z' fill='currentColor'/><path fill-rule='evenodd' clip-rule='evenodd' d='M2 6C2 5.44772 2.44772 5 3 5H21C21.5523 5 22 5.44772 22 6C22 6.55228 21.5523 7 21 7H3C2.44772 7 2 6.55228 2 6Z' fill='currentColor'/><path fill-rule='evenodd' clip-rule='evenodd' d='M2 18C2 17.4477 2.44772 17 3 17H21C21.5523 17 22 17.4477 22 18C22 18.5523 21.5523 19 21 19H3C2.44772 19 2 18.5523 2 18Z' fill='currentColor'/></svg>\"\n }\n iconName=\"IconMenu\"\n iconSize={props.size}\n iconColor={props.color}\n {...props}\n />\n )\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAIA,SAAwB,SAAS,OAAY;AAEzC,SAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,YACE;AAAA,MAEF,UAAS;AAAA,MACT,UAAU,MAAM;AAAA,MAChB,WAAW,MAAM;AAAA,OACb;AAAA,EAAA;AAGV;ACZA,SAAwB,gBAAgB,OAAY;AAEhD,SAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,YACE;AAAA,MAEF,UAAS;AAAA,MACT,UAAU,MAAM;AAAA,MAChB,WAAW,MAAM;AAAA,OACb;AAAA,EAAA;AAGV;ACZA,SAAwB,SAAS,OAAY;AAEzC,SAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,YACE;AAAA,MAEF,UAAS;AAAA,MACT,UAAU,MAAM;AAAA,MAChB,WAAW,MAAM;AAAA,OACb;AAAA,EAAA;AAGV;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=Object.defineProperty,o=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,
|
|
2
|
-
//# sourceMappingURL=
|
|
1
|
+
"use strict";var e=Object.defineProperty,o=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,n=(o,r,l)=>r in o?e(o,r,{enumerable:!0,configurable:!0,writable:!0,value:l}):o[r]=l,C=(e,C)=>{for(var i in C||(C={}))r.call(C,i)&&n(e,i,C[i]);if(o)for(var i of o(C))l.call(C,i)&&n(e,i,C[i]);return e};const i=require("react/jsx-runtime"),t=require("./Icon-MUF210wL.cjs");exports.IconBell=function(e){return i.jsx(t.Icon,C({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='M7.05033 3.05025C8.36309 1.7375 10.1436 1 12.0001 1C13.8566 1 15.6371 1.7375 16.9498 3.05025C18.2626 4.36301 19.0001 6.14349 19.0001 8C19.0001 11.3527 19.7171 13.4346 20.378 14.6461C20.7098 15.2544 21.0329 15.6535 21.2573 15.8904C21.3698 16.0091 21.4581 16.0878 21.5114 16.1322C21.538 16.1544 21.5558 16.168 21.5635 16.1737C21.5647 16.1746 21.5657 16.1753 21.5664 16.1758C21.9249 16.4221 22.0835 16.8725 21.9572 17.2898C21.8295 17.7115 21.4407 18 21.0001 18H3.00008C2.55941 18 2.17068 17.7115 2.04299 17.2898C1.91664 16.8725 2.07528 16.4221 2.43377 16.1758C2.43447 16.1753 2.43542 16.1746 2.43663 16.1737C2.44432 16.168 2.46218 16.1544 2.4888 16.1322C2.54202 16.0878 2.6304 16.0091 2.74288 15.8904C2.9673 15.6535 3.29039 15.2544 3.62218 14.6461C4.28301 13.4346 5.00008 11.3527 5.00008 8C5.00008 6.14348 5.73758 4.36301 7.05033 3.05025ZM2.44388 16.169C2.44395 16.1689 2.44403 16.1688 2.44411 16.1688C2.44411 16.1688 2.4441 16.1688 2.4441 16.1688L2.44388 16.169ZM5.1494 16H18.8508C18.7747 15.8753 18.6983 15.7434 18.6222 15.6039C17.783 14.0654 17.0001 11.6473 17.0001 8C17.0001 6.67392 16.4733 5.40215 15.5356 4.46447C14.5979 3.52678 13.3262 3 12.0001 3C10.674 3 9.40223 3.52678 8.46454 4.46447C7.52686 5.40215 7.00008 6.67392 7.00008 8C7.00008 11.6473 6.21715 14.0654 5.37797 15.6039C5.30188 15.7434 5.22549 15.8753 5.1494 16Z' fill='currentColor'/><path fill-rule='evenodd' clip-rule='evenodd' d='M9.76792 20.1352C10.2457 19.858 10.8576 20.0207 11.1347 20.4984C11.2226 20.6499 11.3488 20.7757 11.5006 20.8632C11.6524 20.9506 11.8245 20.9966 11.9997 20.9966C12.1749 20.9966 12.347 20.9506 12.4988 20.8632C12.6506 20.7757 12.7768 20.6499 12.8647 20.4984C13.1418 20.0207 13.7537 19.858 14.2315 20.1352C14.7092 20.4123 14.8718 21.0242 14.5947 21.5019C14.331 21.9566 13.9525 22.3339 13.497 22.5962C13.0416 22.8586 12.5253 22.9966 11.9997 22.9966C11.4741 22.9966 10.9578 22.8586 10.5024 22.5962C10.0469 22.3339 9.66841 21.9566 9.4047 21.5019C9.12758 21.0242 9.2902 20.4123 9.76792 20.1352Z' fill='currentColor'/></svg>",iconName:"IconBell",iconSize:e.size,iconColor:e.color},e))},exports.IconChevronLeft=function(e){return i.jsx(t.Icon,C({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>",iconName:"IconChevronLeft",iconSize:e.size,iconColor:e.color},e))},exports.IconMenu=function(e){return i.jsx(t.Icon,C({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='M2 12C2 11.4477 2.44772 11 3 11H21C21.5523 11 22 11.4477 22 12C22 12.5523 21.5523 13 21 13H3C2.44772 13 2 12.5523 2 12Z' fill='currentColor'/><path fill-rule='evenodd' clip-rule='evenodd' d='M2 6C2 5.44772 2.44772 5 3 5H21C21.5523 5 22 5.44772 22 6C22 6.55228 21.5523 7 21 7H3C2.44772 7 2 6.55228 2 6Z' fill='currentColor'/><path fill-rule='evenodd' clip-rule='evenodd' d='M2 18C2 17.4477 2.44772 17 3 17H21C21.5523 17 22 17.4477 22 18C22 18.5523 21.5523 19 21 19H3C2.44772 19 2 18.5523 2 18Z' fill='currentColor'/></svg>",iconName:"IconMenu",iconSize:e.size,iconColor:e.color},e))};
|
|
2
|
+
//# sourceMappingURL=IconMenu-FVdQl9jm.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IconMenu-FVdQl9jm.cjs","sources":["../lib/components/icons/default/IconBell.tsx","../lib/components/icons/default/IconChevronLeft.tsx","../lib/components/icons/default/IconMenu.tsx"],"sourcesContent":["// This file is generated automatically\n// To edit see the file lib/tasks/generateIcons.js\nimport Icon from '../Icon'\n\nexport default function IconBell(props: any) {\n return (\n <Icon\n iconMarkup={\n \"<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='M7.05033 3.05025C8.36309 1.7375 10.1436 1 12.0001 1C13.8566 1 15.6371 1.7375 16.9498 3.05025C18.2626 4.36301 19.0001 6.14349 19.0001 8C19.0001 11.3527 19.7171 13.4346 20.378 14.6461C20.7098 15.2544 21.0329 15.6535 21.2573 15.8904C21.3698 16.0091 21.4581 16.0878 21.5114 16.1322C21.538 16.1544 21.5558 16.168 21.5635 16.1737C21.5647 16.1746 21.5657 16.1753 21.5664 16.1758C21.9249 16.4221 22.0835 16.8725 21.9572 17.2898C21.8295 17.7115 21.4407 18 21.0001 18H3.00008C2.55941 18 2.17068 17.7115 2.04299 17.2898C1.91664 16.8725 2.07528 16.4221 2.43377 16.1758C2.43447 16.1753 2.43542 16.1746 2.43663 16.1737C2.44432 16.168 2.46218 16.1544 2.4888 16.1322C2.54202 16.0878 2.6304 16.0091 2.74288 15.8904C2.9673 15.6535 3.29039 15.2544 3.62218 14.6461C4.28301 13.4346 5.00008 11.3527 5.00008 8C5.00008 6.14348 5.73758 4.36301 7.05033 3.05025ZM2.44388 16.169C2.44395 16.1689 2.44403 16.1688 2.44411 16.1688C2.44411 16.1688 2.4441 16.1688 2.4441 16.1688L2.44388 16.169ZM5.1494 16H18.8508C18.7747 15.8753 18.6983 15.7434 18.6222 15.6039C17.783 14.0654 17.0001 11.6473 17.0001 8C17.0001 6.67392 16.4733 5.40215 15.5356 4.46447C14.5979 3.52678 13.3262 3 12.0001 3C10.674 3 9.40223 3.52678 8.46454 4.46447C7.52686 5.40215 7.00008 6.67392 7.00008 8C7.00008 11.6473 6.21715 14.0654 5.37797 15.6039C5.30188 15.7434 5.22549 15.8753 5.1494 16Z' fill='currentColor'/><path fill-rule='evenodd' clip-rule='evenodd' d='M9.76792 20.1352C10.2457 19.858 10.8576 20.0207 11.1347 20.4984C11.2226 20.6499 11.3488 20.7757 11.5006 20.8632C11.6524 20.9506 11.8245 20.9966 11.9997 20.9966C12.1749 20.9966 12.347 20.9506 12.4988 20.8632C12.6506 20.7757 12.7768 20.6499 12.8647 20.4984C13.1418 20.0207 13.7537 19.858 14.2315 20.1352C14.7092 20.4123 14.8718 21.0242 14.5947 21.5019C14.331 21.9566 13.9525 22.3339 13.497 22.5962C13.0416 22.8586 12.5253 22.9966 11.9997 22.9966C11.4741 22.9966 10.9578 22.8586 10.5024 22.5962C10.0469 22.3339 9.66841 21.9566 9.4047 21.5019C9.12758 21.0242 9.2902 20.4123 9.76792 20.1352Z' fill='currentColor'/></svg>\"\n }\n iconName=\"IconBell\"\n iconSize={props.size}\n iconColor={props.color}\n {...props}\n />\n )\n}\n","// This file is generated automatically\n// To edit see the file lib/tasks/generateIcons.js\nimport Icon from '../Icon'\n\nexport default function IconChevronLeft(props: any) {\n return (\n <Icon\n iconMarkup={\n \"<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>\"\n }\n iconName=\"IconChevronLeft\"\n iconSize={props.size}\n iconColor={props.color}\n {...props}\n />\n )\n}\n","// This file is generated automatically\n// To edit see the file lib/tasks/generateIcons.js\nimport Icon from '../Icon'\n\nexport default function IconMenu(props: any) {\n return (\n <Icon\n iconMarkup={\n \"<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='M2 12C2 11.4477 2.44772 11 3 11H21C21.5523 11 22 11.4477 22 12C22 12.5523 21.5523 13 21 13H3C2.44772 13 2 12.5523 2 12Z' fill='currentColor'/><path fill-rule='evenodd' clip-rule='evenodd' d='M2 6C2 5.44772 2.44772 5 3 5H21C21.5523 5 22 5.44772 22 6C22 6.55228 21.5523 7 21 7H3C2.44772 7 2 6.55228 2 6Z' fill='currentColor'/><path fill-rule='evenodd' clip-rule='evenodd' d='M2 18C2 17.4477 2.44772 17 3 17H21C21.5523 17 22 17.4477 22 18C22 18.5523 21.5523 19 21 19H3C2.44772 19 2 18.5523 2 18Z' fill='currentColor'/></svg>\"\n }\n iconName=\"IconMenu\"\n iconSize={props.size}\n iconColor={props.color}\n {...props}\n />\n )\n}\n"],"names":["props","jsxRuntime","jsx","Icon","__spreadValues","iconMarkup","iconName","iconSize","size","iconColor","color"],"mappings":"ibAIA,SAAiCA,GAE7B,OAAAC,EAAAC,IAACC,EAAAA,KAAAC,EAAA,CACCC,WACE,+mEAEFC,SAAS,WACTC,SAAUP,EAAMQ,KAChBC,UAAWT,EAAMU,OACbV,GAGV,0BCZA,SAAwCA,GAEpC,OAAAC,EAAAC,IAACC,EAAAA,KAAAC,EAAA,CACCC,WACE,4eAEFC,SAAS,kBACTC,SAAUP,EAAMQ,KAChBC,UAAWT,EAAMU,OACbV,GAGV,mBCZA,SAAiCA,GAE7B,OAAAC,EAAAC,IAACC,EAAAA,KAAAC,EAAA,CACCC,WACE,4pBAEFC,SAAS,WACTC,SAAUP,EAAMQ,KAChBC,UAAWT,EAAMU,OACbV,GAGV"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";var e=Object.defineProperty,r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,n=(r,o,l)=>o in r?e(r,o,{enumerable:!0,configurable:!0,writable:!0,value:l}):r[o]=l;const t=require("react/jsx-runtime"),i=require("./Icon-MUF210wL.cjs");exports.IconX=function(e){return t.jsx(i.Icon,((e,t)=>{for(var i in t||(t={}))o.call(t,i)&&n(e,i,t[i]);if(r)for(var i of r(t))l.call(t,i)&&n(e,i,t[i]);return e})({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>",iconName:"IconX",iconSize:e.size,iconColor:e.color},e))};
|
|
2
|
+
//# sourceMappingURL=IconX-DrZE4iYc.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IconX-DrZE4iYc.cjs","sources":["../lib/components/icons/default/IconX.tsx"],"sourcesContent":["// This file is generated automatically\n// To edit see the file lib/tasks/generateIcons.js\nimport Icon from '../Icon'\n\nexport default function IconX(props: any) {\n return (\n <Icon\n iconMarkup={\n \"<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>\"\n }\n iconName=\"IconX\"\n iconSize={props.size}\n iconColor={props.color}\n {...props}\n />\n )\n}\n"],"names":["props","jsxRuntime","jsx","Icon","__spreadValues","iconMarkup","iconName","iconSize","size","iconColor","color"],"mappings":"0TAIA,SAA8BA,GAE1B,OAAAC,EAAAC,IAACC,EAAAA,wHAAAC,CAAA,CACCC,WACE,0tBAEFC,SAAS,QACTC,SAAUP,EAAMQ,KAChBC,UAAWT,EAAMU,OACbV,GAGV"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
3
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
4
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6
|
+
var __spreadValues = (a, b) => {
|
|
7
|
+
for (var prop in b || (b = {}))
|
|
8
|
+
if (__hasOwnProp.call(b, prop))
|
|
9
|
+
__defNormalProp(a, prop, b[prop]);
|
|
10
|
+
if (__getOwnPropSymbols)
|
|
11
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
12
|
+
if (__propIsEnum.call(b, prop))
|
|
13
|
+
__defNormalProp(a, prop, b[prop]);
|
|
14
|
+
}
|
|
15
|
+
return a;
|
|
16
|
+
};
|
|
17
|
+
import { jsx } from "react/jsx-runtime";
|
|
18
|
+
import { I as Icon } from "./Icon-BvEdGGJ8.js";
|
|
19
|
+
function IconX(props) {
|
|
20
|
+
return /* @__PURE__ */ jsx(
|
|
21
|
+
Icon,
|
|
22
|
+
__spreadValues({
|
|
23
|
+
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>",
|
|
24
|
+
iconName: "IconX",
|
|
25
|
+
iconSize: props.size,
|
|
26
|
+
iconColor: props.color
|
|
27
|
+
}, props)
|
|
28
|
+
);
|
|
29
|
+
}
|
|
30
|
+
export {
|
|
31
|
+
IconX as I
|
|
32
|
+
};
|
|
33
|
+
//# sourceMappingURL=IconX-V_l5Ne0d.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IconX-V_l5Ne0d.js","sources":["../lib/components/icons/default/IconX.tsx"],"sourcesContent":["// This file is generated automatically\n// To edit see the file lib/tasks/generateIcons.js\nimport Icon from '../Icon'\n\nexport default function IconX(props: any) {\n return (\n <Icon\n iconMarkup={\n \"<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>\"\n }\n iconName=\"IconX\"\n iconSize={props.size}\n iconColor={props.color}\n {...props}\n />\n )\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAIA,SAAwB,MAAM,OAAY;AAEtC,SAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,YACE;AAAA,MAEF,UAAS;AAAA,MACT,UAAU,MAAM;AAAA,MAChB,WAAW,MAAM;AAAA,OACb;AAAA,EAAA;AAGV;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.au-btn{align-items:center;border:none;cursor:pointer;display:inline-flex;font-weight:600;justify-content:center;outline:none;text-align:center;text-decoration:none;transition:background-color .3s ease;font-family:"Source Sans 3 Variable","Source Sans 3",sans-serif;gap:8px;height:48px;border-radius:48px;font-size:16px;padding:16px 18px}.au-btn:hover,.au-btn:focus{background-color:#1737a4}.au-btn:active{background-color:#18256c}.au-btn .au-icon,.au-btn .au-icon>svg{width:16px;height:16px;color:#fff}@media (min-width: 600px){.au-btn--size-large{height:64px;border-radius:60px;font-size:20px;padding:16px 30px}}.au-btn--size-medium{height:48px;border-radius:48px;font-size:16px;padding:16px 18px}.au-btn--color-default{background-color:#0048db;color:#fff}.au-btn--type-outlined{color:#0048db;border:1px solid #0048db;background-color:transparent}.au-btn--type-outlined .au-icon,.au-btn--type-outlined .au-icon>svg{color:#0048db}.au-btn--type-outlined:hover,.au-btn--type-outlined:focus{background-color:#fafbff;border-color:#0048db}.au-btn--type-outlined:active{background-color:#
|
|
1
|
+
.au-btn{align-items:center;border:none;cursor:pointer;display:inline-flex;font-weight:600;justify-content:center;outline:none;text-align:center;text-decoration:none;transition:background-color .3s ease;font-family:"Source Sans 3 Variable","Source Sans 3",sans-serif;gap:8px;height:48px;border-radius:48px;font-size:16px;padding:16px 18px}.au-btn:hover,.au-btn:focus{background-color:#1737a4}.au-btn:active{background-color:#18256c}.au-btn .au-icon,.au-btn .au-icon>svg{width:16px;height:16px;color:#fff}@media (min-width: 600px){.au-btn--size-large{height:64px;border-radius:60px;font-size:20px;padding:16px 30px}}.au-btn--size-medium{height:48px;border-radius:48px;font-size:16px;padding:16px 18px}.au-btn--color-default{background-color:#0048db;color:#fff}.au-btn--type-outlined{color:#0048db;border:1px solid #0048db;background-color:transparent}.au-btn--type-outlined .au-icon,.au-btn--type-outlined .au-icon>svg{color:#0048db}.au-btn--type-outlined:hover,.au-btn--type-outlined:focus{background-color:#fafbff;border-color:#0048db}.au-btn--type-outlined:active{background-color:#dce8ff;border-color:#1737a4;color:#1737a4}.au-btn--type-ghost{background-color:transparent;border:0;color:#0048db}.au-btn--type-ghost .au-icon,.au-btn--type-ghost .au-icon>svg{color:#0048db}.au-btn--type-ghost:hover,.au-btn--type-ghost:focus{background-color:#f6f7fa;border-color:0}.au-btn--type-ghost:active{background-color:#f6f7fa;border:1px solid #5e6573}.au-btn--expand-x{width:100%}.au-btn--disabled{background-color:#e2e4e9;color:#5e6573;cursor:not-allowed}.au-btn--disabled .au-icon svg{color:#5e6573}.au-btn--disabled:hover,.au-btn--disabled:focus{background-color:#e2e4e9}.au-btn--disabled.au-btn--type-outlined{background-color:#fff;color:#5e6573;border-color:#5e6573}.au-btn--disabled.au-btn--type-outlined:hover,.au-btn--disabled.au-btn--type-outlined:focus{background-color:#fff}.au-btn--disabled.au-btn--type-ghost{background-color:#fff;color:#5e6573}.au-btn--disabled.au-btn--type-ghost:hover,.au-btn--disabled.au-btn--type-ghost:focus{background-color:#fff}.au-btn--disabled.au-btn--type-ghost:active{border:0}.au-btn--loading{background-color:#1737a4;color:#fff;cursor:progress}.au-btn--loading .au-icon[class*=loading],.au-btn--loading .au-icon[class*=loading]>svg,.au-btn--loading .au-icon[class*=loader],.au-btn--loading .au-icon[class*=loader]>svg{animation:spin 2s infinite linear}.au-btn--loading:hover,.au-btn--loading:focus{background-color:#1737a4}.au-btn--loading.au-btn--type-outlined{background-color:#fff;color:#0048db;border-color:#0048db}.au-btn--loading.au-btn--type-outlined:hover,.au-btn--loading.au-btn--type-outlined:focus{background-color:#fff;color:#0048db}.au-btn--loading.au-btn--type-outlined:hover .au-icon,.au-btn--loading.au-btn--type-outlined:hover .au-icon svg,.au-btn--loading.au-btn--type-outlined:focus .au-icon,.au-btn--loading.au-btn--type-outlined:focus .au-icon svg{color:#0048db}.au-btn--loading.au-btn--type-ghost{background-color:transparent;color:#5e6573}.au-btn--loading.au-btn--type-ghost .au-icon,.au-btn--loading.au-btn--type-ghost .au-icon svg{color:#5e6573}.au-btn--loading.au-btn--type-ghost:hover,.au-btn--loading.au-btn--type-ghost:focus{background-color:transparent;color:#5e6573}@keyframes spin{to{transform:rotate(360deg)}}.btn-text{background-color:transparent;border:none;display:flex;color:#0048db;font-weight:600}.btn-text .au-icon svg{color:#0048db}.btn-text:hover,.btn-text:focus{background-color:transparent}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { Drawer } from './index';
|
|
3
|
+
|
|
4
|
+
declare const meta: Meta<typeof Drawer>;
|
|
5
|
+
export default meta;
|
|
6
|
+
type Story = StoryObj<typeof Drawer>;
|
|
7
|
+
export declare const DrawerWithText: Story;
|
|
8
|
+
export declare const DrawerWithLogo: Story;
|
|
9
|
+
export declare const DrawerWithProfile: Story;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./styles.css');const e=require("react/jsx-runtime"),r=require("../../index-BJmus9Hg.cjs");require("../../Icon-MUF210wL.cjs");const s=require("../../IconX-DrZE4iYc.cjs");exports.Drawer=({renderHeader:a,renderContent:n,isOpen:c=!1,handleOpen:d})=>e.jsxs("div",{className:r.classNames("au-drawer",{"is-open":c}),children:[e.jsxs("div",{className:"au-drawer__header",children:[e.jsx("div",{className:"au-drawer__header-close",onClick:d,children:e.jsx(s.IconX,{})}),a()]}),e.jsx("div",{className:"au-drawer__content",children:n()})]});
|
|
2
|
+
//# sourceMappingURL=index.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs.js","sources":["../../../lib/components/Drawer/index.tsx"],"sourcesContent":["import classNames from 'classnames'\nimport { ReactNode } from 'react'\nimport { IconX } from '../icons/default'\nimport './styles.scss'\n\ntype DrawerProps = {\n renderHeader: () => ReactNode\n renderContent: () => ReactNode\n isOpen: boolean\n handleOpen: () => void\n}\n\nexport const Drawer = ({\n renderHeader,\n renderContent,\n isOpen = false,\n handleOpen,\n}: DrawerProps) => {\n return (\n <div\n className={classNames('au-drawer', {\n 'is-open': isOpen,\n })}>\n <div className=\"au-drawer__header\">\n <div className=\"au-drawer__header-close\" onClick={handleOpen}>\n <IconX />\n </div>\n {renderHeader()}\n </div>\n <div className=\"au-drawer__content\">{renderContent()}</div>\n </div>\n )\n}\n"],"names":["renderHeader","renderContent","isOpen","handleOpen","jsxRuntime","jsxs","className","classNames","children","jsx","onClick","IconX"],"mappings":"yPAYsB,EACpBA,eACAC,gBACAC,UAAS,EACTC,gBAGEC,EAAAC,KAAC,MAAA,CACCC,UAAWC,aAAW,YAAa,CACjC,UAAWL,IAEbM,SAAA,GAACH,KAAA,MAAA,CAAIC,UAAU,oBACbE,SAAA,GAAAC,IAAC,OAAIH,UAAU,0BAA0BI,QAASP,EAChDK,SAAAC,EAAAA,IAACE,cAEFX,OAEFS,EAAAA,IAAA,MAAA,CAAIH,UAAU,qBAAsBE"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
type DrawerProps = {
|
|
4
|
+
renderHeader: () => ReactNode;
|
|
5
|
+
renderContent: () => ReactNode;
|
|
6
|
+
isOpen: boolean;
|
|
7
|
+
handleOpen: () => void;
|
|
8
|
+
};
|
|
9
|
+
export declare const Drawer: ({ renderHeader, renderContent, isOpen, handleOpen, }: DrawerProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
+
import { c as classNames } from "../../index-CweZ_OcN.js";
|
|
3
|
+
import "../../Icon-BvEdGGJ8.js";
|
|
4
|
+
import { I as IconX } from "../../IconX-V_l5Ne0d.js";
|
|
5
|
+
import './styles.css';const Drawer = ({
|
|
6
|
+
renderHeader,
|
|
7
|
+
renderContent,
|
|
8
|
+
isOpen = false,
|
|
9
|
+
handleOpen
|
|
10
|
+
}) => {
|
|
11
|
+
return /* @__PURE__ */ jsxs(
|
|
12
|
+
"div",
|
|
13
|
+
{
|
|
14
|
+
className: classNames("au-drawer", {
|
|
15
|
+
"is-open": isOpen
|
|
16
|
+
}),
|
|
17
|
+
children: [
|
|
18
|
+
/* @__PURE__ */ jsxs("div", { className: "au-drawer__header", children: [
|
|
19
|
+
/* @__PURE__ */ jsx("div", { className: "au-drawer__header-close", onClick: handleOpen, children: /* @__PURE__ */ jsx(IconX, {}) }),
|
|
20
|
+
renderHeader()
|
|
21
|
+
] }),
|
|
22
|
+
/* @__PURE__ */ jsx("div", { className: "au-drawer__content", children: renderContent() })
|
|
23
|
+
]
|
|
24
|
+
}
|
|
25
|
+
);
|
|
26
|
+
};
|
|
27
|
+
export {
|
|
28
|
+
Drawer
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=index.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.es.js","sources":["../../../lib/components/Drawer/index.tsx"],"sourcesContent":["import classNames from 'classnames'\nimport { ReactNode } from 'react'\nimport { IconX } from '../icons/default'\nimport './styles.scss'\n\ntype DrawerProps = {\n renderHeader: () => ReactNode\n renderContent: () => ReactNode\n isOpen: boolean\n handleOpen: () => void\n}\n\nexport const Drawer = ({\n renderHeader,\n renderContent,\n isOpen = false,\n handleOpen,\n}: DrawerProps) => {\n return (\n <div\n className={classNames('au-drawer', {\n 'is-open': isOpen,\n })}>\n <div className=\"au-drawer__header\">\n <div className=\"au-drawer__header-close\" onClick={handleOpen}>\n <IconX />\n </div>\n {renderHeader()}\n </div>\n <div className=\"au-drawer__content\">{renderContent()}</div>\n </div>\n )\n}\n"],"names":[],"mappings":";;;;AAYO,MAAM,SAAS,CAAC;AAAA,EACrB;AAAA,EACA;AAAA,EACA,SAAS;AAAA,EACT;AACF,MAAmB;AAEf,SAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAW,WAAW,aAAa;AAAA,QACjC,WAAW;AAAA,MAAA,CACZ;AAAA,MACD,UAAA;AAAA,QAAC,qBAAA,OAAA,EAAI,WAAU,qBACb,UAAA;AAAA,UAAA,oBAAC,SAAI,WAAU,2BAA0B,SAAS,YAChD,UAAA,oBAAC,SAAM,EACT,CAAA;AAAA,UACC,aAAa;AAAA,QAAA,GAChB;AAAA,QACC,oBAAA,OAAA,EAAI,WAAU,sBAAsB,2BAAgB;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAG3D;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.au-drawer{background-color:#fff;width:100%;max-width:320px;height:100vh;position:absolute;top:0;right:0;transform:translate(320px);transition:transform .1s ease-out .1s}@media (min-width: 600px){.au-drawer{box-shadow:0 24px 56px #7686ad14,0 12px 12px #0048db0a}}.au-drawer.is-open{transform:translate(0)}.au-drawer__header{position:relative;border-bottom:1px solid #e2e4e9;padding:16px 24px;height:80px;display:flex;align-items:center}.au-drawer__header-close{position:absolute;right:0;top:0;transform:translate(-28px) translateY(24px);cursor:pointer}.au-drawer__header .au-logo{margin:8px 0;display:block;height:100%}.au-drawer__header .au-logo svg{height:100%}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require('./styles.css');const e=require("react/jsx-runtime"),a=require("../../index-BJmus9Hg.cjs"),n=require("../Text/index.cjs.js");require("../../Icon-MUF210wL.cjs");const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require('./styles.css');const e=require("react/jsx-runtime"),a=require("../../index-BJmus9Hg.cjs"),i=require("../../index-BK77G4Uk.cjs"),n=require("../Text/index.cjs.js");require("../../Icon-MUF210wL.cjs");const s=require("../../IconChevronDown-BJEq9Qlz.cjs"),r=require("../../IconMenu-FVdQl9jm.cjs"),d=({children:a})=>e.jsx("header",{className:"au-header",children:e.jsx("div",{className:"au-header__container",children:a})}),c={Root:d,Actions:({children:i,divider:n})=>e.jsx("div",{className:a.classNames("au-header__actions",{"au-header__actions--divider":n}),children:i}),Badges:({children:a})=>e.jsx("div",{className:"au-header__badges",children:a}),Button:({children:a,onClick:i})=>e.jsx("div",{className:"au-header__button",onClick:i,children:a}),Link:({children:a,onClick:i})=>e.jsx("div",{className:"au-header__link",onClick:i,children:a}),Logo:({children:a,renderMobile:n,renderDesktop:s})=>e.jsxs("div",{className:"au-header__logo",children:[e.jsx(i.Conditional,{condition:!!n,renderIf:e.jsx("div",{className:"au-header__logo--mobile",children:n&&n()})}),e.jsx(i.Conditional,{condition:!!s,renderIf:e.jsx("div",{className:"au-header__logo--desktop",children:s&&s()})}),a]}),Navbar:({data:a,renderItem:i})=>e.jsx("nav",{className:"au-header__navbar",children:a.map((e=>i(e)))}),NavbarLink:({name:d,onClick:c,dropdown:l,active:o})=>e.jsxs(n.Text,{as:"a",variant:"heading-micro",weight:"light",onClick:c,title:d,className:a.classNames("au-header__navbar-link",{"is-dropdown":l,"is-active":o}),children:[d,e.jsx(i.Conditional,{condition:!!(null==l?void 0:l.length),renderIf:e.jsxs(e.Fragment,{children:[e.jsx(s.IconChevronDown,{}),e.jsx("div",{className:"au-header__dropdown",children:null==l?void 0:l.map((s=>e.jsxs(n.Text,{as:"a",variant:"heading-micro",weight:"light",className:a.classNames("au-header__dropdown-link",{"is-active":s.active}),title:s.name,children:[s.name,e.jsx(i.Conditional,{condition:!!s.active,renderIf:e.jsx(r.IconChevronLeft,{})})]},s.name)))})]})})]}),Navigation:({children:a})=>e.jsx("nav",{className:"au-header__navigation",children:a}),Profile:({onClickNotifications:a,onClickMenu:i})=>e.jsxs("div",{className:"au-header__profile",children:[e.jsx("div",{className:"au-header__profile-notifications",onClick:a,children:e.jsx(r.IconBell,{})}),e.jsx("div",{className:"au-header__profile-menu-mobile",onClick:i,children:e.jsx(r.IconMenu,{})}),e.jsxs("div",{className:"au-header__profile-menu",onClick:i,children:[e.jsx("div",{className:"au-header__profile-letters",children:"FS"}),e.jsx(s.IconChevronDown,{})]})]})};Object.keys(c).forEach((e=>{c[e].displayName=`Header.${e}`})),exports.Header=d,exports.default=c;
|
|
2
2
|
//# sourceMappingURL=index.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs.js","sources":["../../../lib/components/Header/index.tsx","../../../lib/components/Header/parts/HeaderLogo.tsx","../../../lib/components/Header/parts/HeaderNavigation.tsx","../../../lib/components/Header/parts/HeaderNavbar.tsx","../../../lib/components/Header/parts/HeaderNavbarLink.tsx","../../../lib/components/Header/parts/HeaderNavbarActions.tsx","../../../lib/components/Header/parts/HeaderWrap.tsx"],"sourcesContent":["import { HeaderWrap as Header } from './parts/HeaderWrap'\nimport { HeaderLogo } from './parts/HeaderLogo'\nimport { HeaderNavigation } from './parts/HeaderNavigation'\nimport { HeaderNavbar } from './parts/HeaderNavbar'\nimport { HeaderNavbarLink } from './parts/HeaderNavbarLink'\nimport { HeaderNavbarActions } from './parts/HeaderNavbarActions'\n\nimport './styles.scss'\n\nexport default {\n Logo: HeaderLogo,\n Navigation: HeaderNavigation,\n Navbar: HeaderNavbar,\n NavbarLink: HeaderNavbarLink,\n NavbarActions: HeaderNavbarActions,\n}\n\nexport { Header }\n","import { ReactNode } from 'react'\n\ntype HeaderLogoProps = {\n children: ReactNode\n}\n\nexport const HeaderLogo = ({ children }: HeaderLogoProps) => {\n return <div className=\"au-header__logo\">{children}</div>\n}\n","import { ReactNode } from 'react'\n\ntype HeaderNavigationProps = {\n children: ReactNode\n}\n\nexport const HeaderNavigation = ({ children }: HeaderNavigationProps) => {\n return <nav className=\"au-header__navigation\">{children}</nav>\n}\n","import { ReactNode } from 'react'\nimport { NavbarDataProps } from '../types'\n\ntype HeaderNavbarProps = {\n data: NavbarDataProps[]\n renderItem: (item: NavbarDataProps) => ReactNode\n}\n\nexport const HeaderNavbar = ({ data, renderItem }: HeaderNavbarProps) => {\n return (\n <nav className=\"au-header__navbar\">\n {data.map((item) => {\n return renderItem(item)\n })}\n </nav>\n )\n}\n","import classNames from 'classnames'\nimport { Text } from '../../Text'\nimport { IconChevronDown } from '../../icons/default'\nimport { Conditional } from '../../misc'\nimport { NavbarDataProps } from '../types'\n\nexport const HeaderNavbarLink = ({\n name,\n onClick,\n dropdown,\n}: NavbarDataProps) => {\n return (\n <Text\n as=\"a\"\n variant=\"body-medium\"\n weight=\"light\"\n onClick={onClick}\n className={classNames('au-header__navbar-link', {\n 'is-dropdown': dropdown,\n })}>\n {name}\n\n <Conditional\n condition={!!dropdown?.length}\n renderIf={\n <>\n <IconChevronDown />\n <div className=\"au-header__dropdown\">\n {dropdown?.map((item) => {\n return (\n <Text\n as=\"a\"\n variant=\"body-medium\"\n weight=\"light\"\n className=\"au-header__dropdown-link\">\n {item.name}\n </Text>\n )\n })}\n </div>\n </>\n }\n />\n </Text>\n )\n}\n","import { IconBell, IconChevronDown } from '../../icons/default'\n\ntype HeaderNavbarActionsProps = {\n onClickNotifications?: () => void\n onClickMenu?: () => void\n}\n\nexport const HeaderNavbarActions = ({\n onClickNotifications,\n onClickMenu,\n}: HeaderNavbarActionsProps) => {\n return (\n <div className=\"au-header__navbar-actions\">\n <div\n className=\"au-header__navbar-notifications\"\n onClick={onClickNotifications}>\n <IconBell />\n </div>\n\n <div className=\"au-header__navbar-menu\" onClick={onClickMenu}>\n <div className=\"au-header__navbar-letters\">FS</div>\n <IconChevronDown />\n </div>\n </div>\n )\n}\n","import { ReactNode } from 'react'\n\ntype HeaderWrapProps = {\n children: ReactNode\n}\n\nexport const HeaderWrap = ({ children }: HeaderWrapProps) => {\n return (\n <header className=\"au-header\">\n <div className=\"au-header__container\">{children}</div>\n </header>\n )\n}\n"],"names":["index","Logo","children","jsx","className","Navigation","Navbar","data","renderItem","map","item","NavbarLink","name","onClick","dropdown","jsxRuntime","jsxs","Text","as","variant","weight","classNames","Conditional","condition","length","renderIf","Fragment","IconChevronDown","NavbarActions","onClickNotifications","onClickMenu","IconBell"],"mappings":"wVASeA,EAAA,CACbC,KCJwB,EAAGC,gBACnBC,IAAA,MAAA,CAAIC,UAAU,kBAAmBF,aDIzCG,WEL8B,EAAGH,gBACzBC,IAAA,MAAA,CAAIC,UAAU,wBAAyBF,aFK/CI,OGJ0B,EAAGC,OAAMC,sBAEhC,MAAI,CAAAJ,UAAU,oBACZF,SAAKK,EAAAE,KAAKC,GACFF,EAAWE,OHCxBC,WIP8B,EAC9BC,OACAC,UACAC,cAGEC,EAAAC,KAACC,EAAAA,KAAA,CACCC,GAAG,IACHC,QAAQ,cACRC,OAAO,QACPP,UACAT,UAAWiB,aAAW,yBAA0B,CAC9C,cAAeP,IAEhBZ,SAAA,CAAAU,EAEDG,EAAAZ,IAACmB,EAAAA,YAAA,CACCC,aAAuB,MAAVT,OAAU,EAAAA,EAAAU,QACvBC,SAEIV,EAAAC,KAAAU,WAAA,CAAAxB,SAAA,CAAAa,EAAAZ,IAACwB,EAAgBA,gBAAA,UAChB,MAAI,CAAAvB,UAAU,sBACZF,SAAU,MAAAY,OAAA,EAAAA,EAAAL,KAAKC,GAEZK,EAAAZ,IAACc,EAAAA,KAAA,CACCC,GAAG,IACHC,QAAQ,cACRC,OAAO,QACPhB,UAAU,2BACTF,SAAKQ,EAAAE,mBJrBxBgB,cKPiC,EACjCC,uBACAC,mBAGEd,KAAC,MAAI,CAAAZ,UAAU,4BACbF,SAAA,CAAAa,EAAAZ,IAAC,MAAA,CACCC,UAAU,kCACVS,QAASgB,EACT3B,eAAC6B,EAASA,SAAA,MAGXf,EAAAA,KAAA,MAAA,CAAIZ,UAAU,yBAAyBS,QAASiB,EAC/C5B,SAAA,CAACC,EAAAA,IAAA,MAAA,CAAIC,UAAU,4BAA4BF,SAAE,aAC5CyB,EAAgBA,gBAAA,0BCfC,EAAGzB,gBAEzBC,IAAC,UAAOC,UAAU,YAChBF,eAAC,MAAI,CAAAE,UAAU,uBAAwBF"}
|
|
1
|
+
{"version":3,"file":"index.cjs.js","sources":["../../../lib/components/Header/parts/HeaderWrap.tsx","../../../lib/components/Header/index.tsx","../../../lib/components/Header/parts/HeaderActions.tsx","../../../lib/components/Header/parts/HeaderBadges.tsx","../../../lib/components/Header/parts/HeaderButton.tsx","../../../lib/components/Header/parts/HeaderLink.tsx","../../../lib/components/Header/parts/HeaderLogo.tsx","../../../lib/components/Header/parts/HeaderNavbar.tsx","../../../lib/components/Header/parts/HeaderNavbarLink.tsx","../../../lib/components/Header/parts/HeaderNavigation.tsx","../../../lib/components/Header/parts/HeaderProfile.tsx"],"sourcesContent":["import { ReactNode } from 'react'\n\nexport type HeaderWrapProps = {\n children: ReactNode\n}\n\nexport const HeaderWrap = ({ children }: HeaderWrapProps) => {\n return (\n <header className=\"au-header\">\n <div className=\"au-header__container\">{children}</div>\n </header>\n )\n}\n","import { HeaderActions, HeaderActionsProps } from './parts/HeaderActions'\nimport { HeaderButton, HeaderButtonProps } from './parts/HeaderButton'\nimport { HeaderLink, HeaderLinkProps } from './parts/HeaderLink'\nimport { HeaderLogo, HeaderLogoProps } from './parts/HeaderLogo'\nimport { HeaderNavbar, HeaderNavbarProps } from './parts/HeaderNavbar'\nimport { HeaderNavbarLink } from './parts/HeaderNavbarLink'\nimport {\n HeaderNavigation,\n HeaderNavigationProps,\n} from './parts/HeaderNavigation'\nimport { HeaderProfile, HeaderProfileProps } from './parts/HeaderProfile'\nimport { HeaderWrap as Header, HeaderWrapProps } from './parts/HeaderWrap'\nimport { NavbarDataProps } from './types'\n\nimport './styles.scss'\nimport { HeaderBadges, HeaderBadgesProps } from './parts/HeaderBadges'\n\ntype Components = {\n Root: React.FC<HeaderWrapProps>\n Actions: React.FC<HeaderActionsProps>\n Badges: React.FC<HeaderBadgesProps>\n Button: React.FC<HeaderButtonProps>\n Link: React.FC<HeaderLinkProps>\n Logo: React.FC<HeaderLogoProps>\n Navbar: React.FC<HeaderNavbarProps>\n NavbarLink: React.FC<NavbarDataProps>\n Navigation: React.FC<HeaderNavigationProps>\n Profile: React.FC<HeaderProfileProps>\n}\n\nconst components: Components = {\n Root: Header,\n Actions: HeaderActions,\n Badges: HeaderBadges,\n Button: HeaderButton,\n Link: HeaderLink,\n Logo: HeaderLogo,\n Navbar: HeaderNavbar,\n NavbarLink: HeaderNavbarLink,\n Navigation: HeaderNavigation,\n Profile: HeaderProfile,\n}\n\nObject.keys(components).forEach((key) => {\n const component = components[key as keyof Components]\n component.displayName = `Header.${key}`\n})\n\nexport default components\nexport { Header }\n","import classNames from 'classnames'\nimport { ReactNode } from 'react'\n\nexport type HeaderActionsProps = {\n children: ReactNode\n divider?: boolean\n}\n\nexport const HeaderActions = ({ children, divider }: HeaderActionsProps) => {\n return (\n <div\n className={classNames('au-header__actions', {\n 'au-header__actions--divider': divider,\n })}>\n {children}\n </div>\n )\n}\n","import { ReactNode } from 'react'\n\nexport type HeaderBadgesProps = {\n children: ReactNode\n}\n\nexport const HeaderBadges = ({ children }: HeaderBadgesProps) => {\n return <div className=\"au-header__badges\">{children}</div>\n}\n","import { ReactNode } from 'react'\n\nexport type HeaderButtonProps = {\n children: ReactNode\n onClick: () => void\n}\n\nexport const HeaderButton = ({ children, onClick }: HeaderButtonProps) => {\n return (\n <div className=\"au-header__button\" onClick={onClick}>\n {children}\n </div>\n )\n}\n","import { ReactNode } from 'react'\n\nexport type HeaderLinkProps = {\n children: ReactNode\n onClick: () => void\n}\n\nexport const HeaderLink = ({ children, onClick }: HeaderLinkProps) => {\n return (\n <div className=\"au-header__link\" onClick={onClick}>\n {children}\n </div>\n )\n}\n","import { ReactNode } from 'react'\nimport { Conditional } from '../../misc'\n\nexport type HeaderLogoProps = {\n children?: ReactNode\n renderMobile?: () => ReactNode\n renderDesktop?: () => ReactNode\n}\n\nexport const HeaderLogo = ({\n children,\n renderMobile,\n renderDesktop,\n}: HeaderLogoProps) => {\n return (\n <div className=\"au-header__logo\">\n <Conditional\n condition={!!renderMobile}\n renderIf={\n <div className=\"au-header__logo--mobile\">\n {renderMobile && renderMobile()}\n </div>\n }\n />\n <Conditional\n condition={!!renderDesktop}\n renderIf={\n <div className=\"au-header__logo--desktop\">\n {renderDesktop && renderDesktop()}\n </div>\n }\n />\n {children}\n </div>\n )\n}\n","import { ReactNode } from 'react'\nimport { NavbarDataProps } from '../types'\n\nexport type HeaderNavbarProps = {\n data: NavbarDataProps[]\n renderItem: (item: NavbarDataProps) => ReactNode\n}\n\nexport const HeaderNavbar = ({ data, renderItem }: HeaderNavbarProps) => {\n return (\n <nav className=\"au-header__navbar\">\n {data.map((item) => {\n return renderItem(item)\n })}\n </nav>\n )\n}\n","import classNames from 'classnames'\nimport { Text } from '../../Text'\nimport { IconChevronDown, IconChevronLeft } from '../../icons/default'\nimport { Conditional } from '../../misc'\nimport { NavbarDataProps } from '../types'\n\nexport const HeaderNavbarLink = ({\n name,\n onClick,\n dropdown,\n active,\n}: NavbarDataProps) => {\n return (\n <Text\n as=\"a\"\n variant=\"heading-micro\"\n weight=\"light\"\n onClick={onClick}\n title={name}\n className={classNames('au-header__navbar-link', {\n 'is-dropdown': dropdown,\n 'is-active': active,\n })}>\n {name}\n\n <Conditional\n condition={!!dropdown?.length}\n renderIf={\n <>\n <IconChevronDown />\n <div className=\"au-header__dropdown\">\n {dropdown?.map((item) => {\n return (\n <Text\n key={item.name}\n as=\"a\"\n variant=\"heading-micro\"\n weight=\"light\"\n className={classNames('au-header__dropdown-link', {\n 'is-active': item.active,\n })}\n title={item.name}>\n {item.name}\n <Conditional\n condition={!!item.active}\n renderIf={<IconChevronLeft />}\n />\n </Text>\n )\n })}\n </div>\n </>\n }\n />\n </Text>\n )\n}\n","import { ReactNode } from 'react'\n\nexport type HeaderNavigationProps = {\n children: ReactNode\n}\n\nexport const HeaderNavigation = ({ children }: HeaderNavigationProps) => {\n return <nav className=\"au-header__navigation\">{children}</nav>\n}\n","import { IconBell, IconChevronDown, IconMenu } from '../../icons/default'\n\nexport type HeaderProfileProps = {\n onClickNotifications?: () => void\n onClickMenu?: () => void\n}\n\nexport const HeaderProfile = ({\n onClickNotifications,\n onClickMenu,\n}: HeaderProfileProps) => {\n return (\n <div className=\"au-header__profile\">\n <div\n className=\"au-header__profile-notifications\"\n onClick={onClickNotifications}>\n <IconBell />\n </div>\n\n <div className=\"au-header__profile-menu-mobile\" onClick={onClickMenu}>\n <IconMenu />\n </div>\n\n <div className=\"au-header__profile-menu\" onClick={onClickMenu}>\n <div className=\"au-header__profile-letters\">FS</div>\n <IconChevronDown />\n </div>\n </div>\n )\n}\n"],"names":["HeaderWrap","children","jsx","className","components","Root","Header","Actions","divider","jsxRuntime","classNames","Badges","Button","onClick","Link","Logo","renderMobile","renderDesktop","jsxs","Conditional","condition","renderIf","Navbar","data","renderItem","map","item","NavbarLink","name","dropdown","active","Text","as","variant","weight","title","length","Fragment","IconChevronDown","IconChevronLeft","Navigation","Profile","onClickNotifications","onClickMenu","IconBell","IconMenu","Object","keys","forEach","key","displayName"],"mappings":"iYAMaA,EAAa,EAAGC,gBAEzBC,IAAC,UAAOC,UAAU,YAChBF,eAAC,MAAI,CAAAE,UAAU,uBAAwBF,eCqBvCG,EAAyB,CAC7BC,KAAMC,EACNC,QCxB2B,EAAGN,WAAUO,aAEtCC,EAAAP,IAAC,MAAA,CACCC,UAAWO,aAAW,qBAAsB,CAC1C,8BAA+BF,IAEhCP,aDmBLU,OE3B0B,EAAGV,gBACrBC,IAAA,MAAA,CAAIC,UAAU,oBAAqBF,aF2B3CW,OG3B0B,EAAGX,WAAUY,aAEpCX,EAAAA,IAAA,MAAA,CAAIC,UAAU,oBAAoBU,UAChCZ,aHyBLa,KI5BwB,EAAGb,WAAUY,aAElCX,EAAAA,IAAA,MAAA,CAAIC,UAAU,kBAAkBU,UAC9BZ,aJ0BLc,KK3BwB,EACxBd,WACAe,eACAC,qBAGEC,KAAC,MAAI,CAAAf,UAAU,kBACbF,SAAA,CAAAQ,EAAAP,IAACiB,EAAAA,YAAA,CACCC,YAAaJ,EACbK,SACGnB,EAAAA,IAAA,MAAA,CAAIC,UAAU,0BACZF,SAAAe,GAAgBA,QAIvBP,EAAAP,IAACiB,EAAAA,YAAA,CACCC,YAAaH,EACbI,SACGnB,EAAAA,IAAA,MAAA,CAAIC,UAAU,2BACZF,SAAAgB,GAAiBA,QAIvBhB,KLKLqB,OM7B0B,EAAGC,OAAMC,sBAEhC,MAAI,CAAArB,UAAU,oBACZF,SAAKsB,EAAAE,KAAKC,GACFF,EAAWE,ON0BxBC,WOhC8B,EAC9BC,OACAf,UACAgB,WACAC,YAGErB,EAAAS,KAACa,EAAAA,KAAA,CACCC,GAAG,IACHC,QAAQ,gBACRC,OAAO,QACPrB,UACAsB,MAAOP,EACPzB,UAAWO,aAAW,yBAA0B,CAC9C,cAAemB,EACf,YAAaC,IAEd7B,SAAA,CAAA2B,EAEDnB,EAAAP,IAACiB,EAAAA,YAAA,CACCC,aAAuB,MAAVS,OAAU,EAAAA,EAAAO,QACvBf,SAEIZ,EAAAS,KAAAmB,WAAA,CAAApC,SAAA,CAAAQ,EAAAP,IAACoC,EAAgBA,gBAAA,UAChB,MAAI,CAAAnC,UAAU,sBACZF,SAAU,MAAA4B,OAAA,EAAAA,EAAAJ,KAAKC,GAEZjB,EAAAS,KAACa,EAAAA,KAAA,CAECC,GAAG,IACHC,QAAQ,gBACRC,OAAO,QACP/B,UAAWO,aAAW,2BAA4B,CAChD,YAAagB,EAAKI,SAEpBK,MAAOT,EAAKE,KACX3B,SAAA,CAAKyB,EAAAE,KACNnB,EAAAP,IAACiB,EAAAA,YAAA,CACCC,YAAaM,EAAKI,OAClBT,eAAWkB,EAAgBA,gBAAA,QAXxBb,EAAKE,kBPK5BY,WQjC8B,EAAGvC,gBACzBC,IAAA,MAAA,CAAIC,UAAU,wBAAyBF,aRiC/CwC,QSjC2B,EAC3BC,uBACAC,mBAGEzB,KAAC,MAAI,CAAAf,UAAU,qBACbF,SAAA,CAAAQ,EAAAP,IAAC,MAAA,CACCC,UAAU,mCACVU,QAAS6B,EACTzC,eAAC2C,EAASA,SAAA,QAGZ1C,IAAC,OAAIC,UAAU,iCAAiCU,QAAS8B,EACvD1C,SAAAC,EAAAA,IAAC2C,iBAGF3B,EAAAA,KAAA,MAAA,CAAIf,UAAU,0BAA0BU,QAAS8B,EAChD1C,SAAA,CAACC,EAAAA,IAAA,MAAA,CAAIC,UAAU,6BAA6BF,SAAE,aAC7CqC,EAAgBA,gBAAA,WTkBzBQ,OAAOC,KAAK3C,GAAY4C,SAASC,IACb7C,EAAW6C,GACnBC,YAAc,UAAUD,GAAG"}
|
|
@@ -1,21 +1,26 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { HeaderActionsProps } from './parts/HeaderActions';
|
|
2
|
+
import { HeaderButtonProps } from './parts/HeaderButton';
|
|
3
|
+
import { HeaderLinkProps } from './parts/HeaderLink';
|
|
4
|
+
import { HeaderLogoProps } from './parts/HeaderLogo';
|
|
5
|
+
import { HeaderNavbarProps } from './parts/HeaderNavbar';
|
|
6
|
+
import { HeaderNavigationProps } from './parts/HeaderNavigation';
|
|
7
|
+
import { HeaderProfileProps } from './parts/HeaderProfile';
|
|
8
|
+
import { HeaderWrap as Header, HeaderWrapProps } from './parts/HeaderWrap';
|
|
9
|
+
import { NavbarDataProps } from './types';
|
|
10
|
+
import { HeaderBadgesProps } from './parts/HeaderBadges';
|
|
2
11
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
Navbar:
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
NavbarLink: ({ name, onClick, dropdown, }: import('./types').NavbarDataProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
NavbarActions: ({ onClickNotifications, onClickMenu, }: {
|
|
16
|
-
onClickNotifications?: (() => void) | undefined;
|
|
17
|
-
onClickMenu?: (() => void) | undefined;
|
|
18
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
type Components = {
|
|
13
|
+
Root: React.FC<HeaderWrapProps>;
|
|
14
|
+
Actions: React.FC<HeaderActionsProps>;
|
|
15
|
+
Badges: React.FC<HeaderBadgesProps>;
|
|
16
|
+
Button: React.FC<HeaderButtonProps>;
|
|
17
|
+
Link: React.FC<HeaderLinkProps>;
|
|
18
|
+
Logo: React.FC<HeaderLogoProps>;
|
|
19
|
+
Navbar: React.FC<HeaderNavbarProps>;
|
|
20
|
+
NavbarLink: React.FC<NavbarDataProps>;
|
|
21
|
+
Navigation: React.FC<HeaderNavigationProps>;
|
|
22
|
+
Profile: React.FC<HeaderProfileProps>;
|
|
19
23
|
};
|
|
20
|
-
|
|
24
|
+
declare const components: Components;
|
|
25
|
+
export default components;
|
|
21
26
|
export { Header };
|