@solibo/solibo-ui 0.2.18 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/index.css +1 -1
- package/dist/assets/index10.css +1 -1
- package/dist/assets/index11.css +1 -1
- package/dist/assets/index12.css +1 -1
- package/dist/assets/index13.css +1 -1
- package/dist/assets/index14.css +1 -1
- package/dist/assets/index15.css +1 -1
- package/dist/assets/index16.css +1 -1
- package/dist/assets/index17.css +1 -1
- package/dist/assets/index18.css +1 -1
- package/dist/assets/index19.css +1 -1
- package/dist/assets/index20.css +1 -1
- package/dist/assets/index21.css +1 -1
- package/dist/assets/index22.css +1 -1
- package/dist/assets/index23.css +1 -1
- package/dist/assets/index25.css +1 -0
- package/dist/assets/index26.css +1 -0
- package/dist/assets/index3.css +1 -1
- package/dist/assets/index4.css +1 -1
- package/dist/assets/index5.css +1 -1
- package/dist/assets/index6.css +1 -1
- package/dist/assets/index7.css +1 -1
- package/dist/assets/index8.css +1 -1
- package/dist/components/_card/index.cjs +2 -0
- package/dist/components/_card/index.cjs.map +1 -0
- package/dist/components/_card/index.js +19 -0
- package/dist/components/_card/index.js.map +1 -0
- package/dist/components/_dropzone/index.cjs +2 -0
- package/dist/components/_dropzone/index.cjs.map +1 -0
- package/dist/components/_dropzone/index.js +28 -0
- package/dist/components/_dropzone/index.js.map +1 -0
- package/dist/components/{editor → _editor}/index.cjs +2 -2
- package/dist/components/_editor/index.cjs.map +1 -0
- package/dist/components/{editor → _editor}/index.js +56 -112
- package/dist/components/_editor/index.js.map +1 -0
- package/dist/components/_portal/index.cjs +2 -0
- package/dist/components/_portal/index.cjs.map +1 -0
- package/dist/components/_portal/index.js +19 -0
- package/dist/components/_portal/index.js.map +1 -0
- package/dist/components/accordion/index.cjs +1 -1
- package/dist/components/accordion/index.cjs.map +1 -1
- package/dist/components/accordion/index.js +17 -24
- package/dist/components/accordion/index.js.map +1 -1
- package/dist/components/aside/index.cjs +1 -1
- package/dist/components/aside/index.cjs.map +1 -1
- package/dist/components/aside/index.js +13 -21
- package/dist/components/aside/index.js.map +1 -1
- package/dist/components/banner/index.cjs +1 -1
- package/dist/components/banner/index.cjs.map +1 -1
- package/dist/components/banner/index.js +14 -8
- package/dist/components/banner/index.js.map +1 -1
- package/dist/components/branding/index.cjs +1 -1
- package/dist/components/branding/index.cjs.map +1 -1
- package/dist/components/branding/index.js +21 -25
- package/dist/components/branding/index.js.map +1 -1
- package/dist/components/button/index.cjs +1 -1
- package/dist/components/button/index.cjs.map +1 -1
- package/dist/components/button/index.js +16 -26
- package/dist/components/button/index.js.map +1 -1
- package/dist/components/checkbox/index.cjs +1 -1
- package/dist/components/checkbox/index.cjs.map +1 -1
- package/dist/components/checkbox/index.js +5 -15
- package/dist/components/checkbox/index.js.map +1 -1
- package/dist/components/dialog/index.cjs +1 -1
- package/dist/components/dialog/index.cjs.map +1 -1
- package/dist/components/dialog/index.js +9 -13
- package/dist/components/dialog/index.js.map +1 -1
- package/dist/components/figure/index.cjs +1 -1
- package/dist/components/figure/index.cjs.map +1 -1
- package/dist/components/figure/index.js +18 -6
- package/dist/components/figure/index.js.map +1 -1
- package/dist/components/file/index.cjs +1 -1
- package/dist/components/file/index.cjs.map +1 -1
- package/dist/components/file/index.js +11 -23
- package/dist/components/file/index.js.map +1 -1
- package/dist/components/form/index.cjs +1 -1
- package/dist/components/form/index.cjs.map +1 -1
- package/dist/components/form/index.js +11 -13
- package/dist/components/form/index.js.map +1 -1
- package/dist/components/group/index.cjs +2 -0
- package/dist/components/group/index.cjs.map +1 -0
- package/dist/components/group/index.js +13 -0
- package/dist/components/group/index.js.map +1 -0
- package/dist/components/header/index.cjs +1 -1
- package/dist/components/header/index.cjs.map +1 -1
- package/dist/components/header/index.js +7 -13
- package/dist/components/header/index.js.map +1 -1
- package/dist/components/icon/index.cjs +1 -1
- package/dist/components/icon/index.cjs.map +1 -1
- package/dist/components/icon/index.js +29 -54
- package/dist/components/icon/index.js.map +1 -1
- package/dist/components/input/index.cjs +1 -1
- package/dist/components/input/index.cjs.map +1 -1
- package/dist/components/input/index.js +12 -17
- package/dist/components/input/index.js.map +1 -1
- package/dist/components/layout/index.cjs +1 -1
- package/dist/components/layout/index.cjs.map +1 -1
- package/dist/components/layout/index.js +10 -13
- package/dist/components/layout/index.js.map +1 -1
- package/dist/components/link/index.cjs +1 -1
- package/dist/components/link/index.cjs.map +1 -1
- package/dist/components/link/index.js +14 -13
- package/dist/components/link/index.js.map +1 -1
- package/dist/components/list/index.cjs +1 -1
- package/dist/components/list/index.cjs.map +1 -1
- package/dist/components/list/index.js +8 -5
- package/dist/components/list/index.js.map +1 -1
- package/dist/components/nav/index.cjs +1 -1
- package/dist/components/nav/index.cjs.map +1 -1
- package/dist/components/nav/index.js +18 -93
- package/dist/components/nav/index.js.map +1 -1
- package/dist/components/select/index.cjs +2 -0
- package/dist/components/select/index.cjs.map +1 -0
- package/dist/components/select/index.js +26 -0
- package/dist/components/select/index.js.map +1 -0
- package/dist/components/sortable/index.cjs +2 -0
- package/dist/components/sortable/index.cjs.map +1 -0
- package/dist/components/sortable/index.js +35 -0
- package/dist/components/sortable/index.js.map +1 -0
- package/dist/components/toggle/index.cjs +1 -1
- package/dist/components/toggle/index.cjs.map +1 -1
- package/dist/components/toggle/index.js +13 -22
- package/dist/components/toggle/index.js.map +1 -1
- package/dist/icons-BhMCiRwT.cjs +2 -0
- package/dist/icons-BhMCiRwT.cjs.map +1 -0
- package/dist/icons-uK6EFyq8.js +32 -0
- package/dist/icons-uK6EFyq8.js.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +53 -47
- package/dist/index.js +48 -45
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/components/card/index.cjs +0 -2
- package/dist/components/card/index.cjs.map +0 -1
- package/dist/components/card/index.js +0 -20
- package/dist/components/card/index.js.map +0 -1
- package/dist/components/dropdown/index.cjs +0 -2
- package/dist/components/dropdown/index.cjs.map +0 -1
- package/dist/components/dropdown/index.js +0 -34
- package/dist/components/dropdown/index.js.map +0 -1
- package/dist/components/dropzone/index.cjs +0 -2
- package/dist/components/dropzone/index.cjs.map +0 -1
- package/dist/components/dropzone/index.js +0 -63
- package/dist/components/dropzone/index.js.map +0 -1
- package/dist/components/editor/index.cjs.map +0 -1
- package/dist/components/editor/index.js.map +0 -1
- package/dist/components/footer/index.cjs +0 -2
- package/dist/components/footer/index.cjs.map +0 -1
- package/dist/components/footer/index.js +0 -15
- package/dist/components/footer/index.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/components/dialog/index.tsx"],"sourcesContent":["import styles from './styles.module.css';\n\nexport type DialogProps = React.DialogHTMLAttributes<HTMLDialogElement> & {\n children: React.ReactNode;\n};\n\nexport const Dialog = ({ children, ...props }: DialogProps) => {\n return (\n <div className={styles.wrapper}>\n <dialog\n className={styles.dialog}\n {...props}\n >\n {children}\n </dialog>\n </div>\n );\n};\n"],"names":["Dialog","children","props","jsx","styles"],"mappings":";;;;GAMaA,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/components/dialog/index.tsx"],"sourcesContent":["import styles from './styles.module.css';\n\nexport type DialogProps = React.DialogHTMLAttributes<HTMLDialogElement> & {\n children: React.ReactNode;\n};\n\nexport const Dialog = ({ children, ...props }: DialogProps) => {\n return (\n <div className={styles.wrapper}>\n <dialog\n className={styles.dialog}\n {...props}\n >\n {children}\n </dialog>\n </div>\n );\n};\n"],"names":["Dialog","children","props","jsx","styles","wrapper","dialog"],"mappings":";;;;GAMaA,IAASA,CAAC;AAAA,EAAEC,UAAAA;AAAAA,EAAU,GAAGC;AAAmB,MAErD,gBAAAC,EAAC,OAAA,EAAI,WAAWC,EAAOC,SAAQ,WAAA,UAC7B,UAAA,gBAAAF,EAAC,UAAA,EACC,WAAWC,EAAOE,QAClB,GAAIJ,GAEHD,UAAAA,GACH,GACF;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index26.css');const i=require("react/jsx-runtime"),o=require("../../classix-5H4IWnMA.cjs"),c=require("../../icons-BhMCiRwT.cjs"),n="_figure_7hl1a_1",f="_offset_7hl1a_30",t={figure:n,offset:f},u=({children:r,label:s,offset:e})=>i.jsxs("figure",{className:o.t(t.figure,e&&t.offset),style:{"--icon":c.iconSVG("image"),...e&&{[`--offset-${e}`]:"var(--offset)"}},"data-cy":"Figure",children:[r,s&&i.jsx("figcaption",{children:s})]});exports.Figure=u;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../../../src/components/figure/index.tsx"],"sourcesContent":["import styles from './styles.module.css';\n\nexport type FigureProps = {\n children?: React.ReactNode;\n label?: string;\n};\n\nexport const Figure = ({ children, label }: FigureProps) =>
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../../../src/components/figure/index.tsx"],"sourcesContent":["import cx from 'classix';\n\nimport { iconSVG } from '../icon/icons';\nimport styles from './styles.module.css';\n\nexport type FigureProps = {\n children?: React.ReactNode;\n label?: string;\n offset?: 'left' | 'right';\n};\n\nexport const Figure = ({ children, label, offset }: FigureProps) => (\n <figure\n className={cx(styles.figure, offset && styles.offset)}\n style={\n {\n '--icon': iconSVG('image'),\n ...(offset && { [`--offset-${offset}`]: 'var(--offset)' }),\n } as React.CSSProperties\n }\n >\n {children}\n {label && <figcaption>{label}</figcaption>}\n </figure>\n);\n"],"names":["Figure","children","label","offset","jsxs","cx","styles","figure","iconSVG","jsx"],"mappings":"kQAWaA,EAASA,CAAC,CAAEC,SAAAA,EAAUC,MAAAA,EAAOC,OAAAA,CAAoB,IAC5DC,OAAC,SAAA,CACC,UAAWC,EAAAA,EAAGC,EAAOC,OAAQJ,GAAUG,EAAOH,MAAM,EACpD,MACE,CACE,SAAUK,EAAAA,QAAQ,OAAO,EACzB,GAAIL,GAAU,CAAE,CAAC,YAAYA,CAAM,EAAE,EAAG,eAAA,CAC1C,EACD,UAAA,SAEAF,SAAAA,CAAAA,EACAC,GAASO,EAAAA,IAAC,aAAA,CAAYP,SAAAA,CAAAA,CAAM,CAAA,CAAA,CAC/B"}
|
|
@@ -1,11 +1,23 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { jsxs as r, jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import { t } from "../../classix-DG18itHa.js";
|
|
3
|
+
import { a as c } from "../../icons-uK6EFyq8.js";
|
|
4
|
+
import '../../assets/index26.css';const a = "_figure_7hl1a_1", g = "_offset_7hl1a_30", f = {
|
|
5
|
+
figure: a,
|
|
6
|
+
offset: g
|
|
7
|
+
}, _ = ({
|
|
8
|
+
children: i,
|
|
9
|
+
label: e,
|
|
10
|
+
offset: o
|
|
11
|
+
}) => /* @__PURE__ */ r("figure", { className: t(f.figure, o && f.offset), style: {
|
|
12
|
+
"--icon": c("image"),
|
|
13
|
+
...o && {
|
|
14
|
+
[`--offset-${o}`]: "var(--offset)"
|
|
15
|
+
}
|
|
16
|
+
}, "data-cy": "Figure", children: [
|
|
17
|
+
i,
|
|
6
18
|
e && /* @__PURE__ */ s("figcaption", { children: e })
|
|
7
19
|
] });
|
|
8
20
|
export {
|
|
9
|
-
|
|
21
|
+
_ as Figure
|
|
10
22
|
};
|
|
11
23
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/components/figure/index.tsx"],"sourcesContent":["import styles from './styles.module.css';\n\nexport type FigureProps = {\n children?: React.ReactNode;\n label?: string;\n};\n\nexport const Figure = ({ children, label }: FigureProps) =>
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/components/figure/index.tsx"],"sourcesContent":["import cx from 'classix';\n\nimport { iconSVG } from '../icon/icons';\nimport styles from './styles.module.css';\n\nexport type FigureProps = {\n children?: React.ReactNode;\n label?: string;\n offset?: 'left' | 'right';\n};\n\nexport const Figure = ({ children, label, offset }: FigureProps) => (\n <figure\n className={cx(styles.figure, offset && styles.offset)}\n style={\n {\n '--icon': iconSVG('image'),\n ...(offset && { [`--offset-${offset}`]: 'var(--offset)' }),\n } as React.CSSProperties\n }\n >\n {children}\n {label && <figcaption>{label}</figcaption>}\n </figure>\n);\n"],"names":["Figure","children","label","offset","jsxs","cx","styles","figure","iconSVG","jsx"],"mappings":";;;;;;GAWaA,IAASA,CAAC;AAAA,EAAEC,UAAAA;AAAAA,EAAUC,OAAAA;AAAAA,EAAOC,QAAAA;AAAoB,MAC5D,gBAAAC,EAAC,UAAA,EACC,WAAWC,EAAGC,EAAOC,QAAQJ,KAAUG,EAAOH,MAAM,GACpD,OACE;AAAA,EACE,UAAUK,EAAQ,OAAO;AAAA,EACzB,GAAIL,KAAU;AAAA,IAAE,CAAC,YAAYA,CAAM,EAAE,GAAG;AAAA,EAAA;AAC1C,GACD,WAAA,UAEAF,UAAAA;AAAAA,EAAAA;AAAAA,EACAC,KAAS,gBAAAO,EAAC,cAAA,EAAYP,UAAAA,EAAAA,CAAM;AAAA,EAAA,CAC/B;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index11.css');const t=require("react/jsx-runtime"),n=require("../icon/index.cjs"),o="_file_txgea_1",r={file:o},s=({name:e,url:i="#"})=>t.jsxs("a",{className:r.file,href:i,role:"document",title:e,"data-cy":"File",children:[t.jsx(n.Icon,{name:"document",variant:"primary"}),e]});exports.File=s;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../../../src/components/file/index.tsx"],"sourcesContent":["import { Icon } from '@/components/icon';\n\nimport styles from './styles.module.css';\n\nexport type FileProps = { name: string; url: string };\n\nexport const File = ({ name, url = '#' }: FileProps) => {\n return (\n <a\n className={styles.file}\n href={url}\n role='document'\n title={name}\n >\n <Icon\n name='document'\n variant='primary'\n />\n {name}\n </a>\n );\n};\n"],"names":["File","name","url","jsxs","styles","jsx","Icon"],"mappings":"iLAMaA,
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../../../src/components/file/index.tsx"],"sourcesContent":["import { Icon } from '@/components/icon';\n\nimport styles from './styles.module.css';\n\nexport type FileProps = { name: string; url: string };\n\nexport const File = ({ name, url = '#' }: FileProps) => {\n return (\n <a\n className={styles.file}\n href={url}\n role='document'\n title={name}\n >\n <Icon\n name='document'\n variant='primary'\n />\n {name}\n </a>\n );\n};\n"],"names":["File","name","url","jsxs","styles","file","jsx","Icon"],"mappings":"iLAMaA,EAAOA,CAAC,CAAEC,KAAAA,EAAMC,IAAAA,EAAM,GAAe,IAE9CC,EAAAA,KAAC,IAAA,CACC,UAAWC,EAAOC,KAClB,KAAMH,EACN,KAAK,WACL,MAAOD,EAAK,UAAA,OAEZ,SAAA,CAAAK,EAAAA,IAACC,EAAAA,KAAA,CACC,KAAK,WACL,QAAQ,UAAS,EAElBN,CAAAA,EACH"}
|
|
@@ -1,27 +1,15 @@
|
|
|
1
|
-
import { jsxs as r, jsx as
|
|
2
|
-
import { Icon as
|
|
3
|
-
import '../../assets/
|
|
1
|
+
import { jsxs as r, jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { Icon as o } from "../icon/index.js";
|
|
3
|
+
import '../../assets/index11.css';const l = "_file_txgea_1", s = {
|
|
4
4
|
file: l
|
|
5
|
-
},
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
children: [
|
|
13
|
-
/* @__PURE__ */ o(
|
|
14
|
-
i,
|
|
15
|
-
{
|
|
16
|
-
name: "document",
|
|
17
|
-
variant: "primary"
|
|
18
|
-
}
|
|
19
|
-
),
|
|
20
|
-
e
|
|
21
|
-
]
|
|
22
|
-
}
|
|
23
|
-
);
|
|
5
|
+
}, n = ({
|
|
6
|
+
name: e,
|
|
7
|
+
url: t = "#"
|
|
8
|
+
}) => /* @__PURE__ */ r("a", { className: s.file, href: t, role: "document", title: e, "data-cy": "File", children: [
|
|
9
|
+
/* @__PURE__ */ i(o, { name: "document", variant: "primary" }),
|
|
10
|
+
e
|
|
11
|
+
] });
|
|
24
12
|
export {
|
|
25
|
-
|
|
13
|
+
n as File
|
|
26
14
|
};
|
|
27
15
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/components/file/index.tsx"],"sourcesContent":["import { Icon } from '@/components/icon';\n\nimport styles from './styles.module.css';\n\nexport type FileProps = { name: string; url: string };\n\nexport const File = ({ name, url = '#' }: FileProps) => {\n return (\n <a\n className={styles.file}\n href={url}\n role='document'\n title={name}\n >\n <Icon\n name='document'\n variant='primary'\n />\n {name}\n </a>\n );\n};\n"],"names":["File","name","url","jsxs","styles","jsx","Icon"],"mappings":";;;;GAMaA,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/components/file/index.tsx"],"sourcesContent":["import { Icon } from '@/components/icon';\n\nimport styles from './styles.module.css';\n\nexport type FileProps = { name: string; url: string };\n\nexport const File = ({ name, url = '#' }: FileProps) => {\n return (\n <a\n className={styles.file}\n href={url}\n role='document'\n title={name}\n >\n <Icon\n name='document'\n variant='primary'\n />\n {name}\n </a>\n );\n};\n"],"names":["File","name","url","jsxs","styles","file","jsx","Icon"],"mappings":";;;;GAMaA,IAAOA,CAAC;AAAA,EAAEC,MAAAA;AAAAA,EAAMC,KAAAA,IAAM;AAAe,MAE9C,gBAAAC,EAAC,KAAA,EACC,WAAWC,EAAOC,MAClB,MAAMH,GACN,MAAK,YACL,OAAOD,GAAK,WAAA,QAEZ,UAAA;AAAA,EAAA,gBAAAK,EAACC,GAAA,EACC,MAAK,YACL,SAAQ,WAAS;AAAA,EAElBN;AAAAA,GACH;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index10.css');const t=require("react/jsx-runtime"),i=require("../../classix-5H4IWnMA.cjs"),l="_form_1akkl_1",c="_inline_1akkl_23",o={form:l,inline:c},m=({animation:e,children:r,inline:s=!1,...n})=>t.jsx("form",{className:i.t(e&&e,s&&o.inline,o.form),...n,"data-cy":"Form",children:r&&r});exports.Form=m;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../../../src/components/form/index.tsx"],"sourcesContent":["import cx from 'classix';\n\nimport type { AnimationName } from '../../styles/animations.ts';\nimport styles from './styles.module.css';\n\nexport type FormProps = React.FormHTMLAttributes<HTMLFormElement> & {\n animation?: AnimationName;\n children?: React.ReactNode;\n inline?: boolean;\n};\n\nexport const Form = ({ animation, children, inline = false, ...props }: FormProps) => {\n return (\n <form\n className={cx(animation && animation, inline && styles.inline, styles.form)}\n {...props}\n >\n {children && children}\n </form>\n );\n};\n"],"names":["Form","animation","children","inline","props","
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../../../src/components/form/index.tsx"],"sourcesContent":["import cx from 'classix';\n\nimport type { AnimationName } from '../../styles/animations.ts';\nimport styles from './styles.module.css';\n\nexport type FormProps = React.FormHTMLAttributes<HTMLFormElement> & {\n animation?: AnimationName;\n children?: React.ReactNode;\n inline?: boolean;\n};\n\nexport const Form = ({ animation, children, inline = false, ...props }: FormProps) => {\n return (\n <form\n className={cx(animation && animation, inline && styles.inline, styles.form)}\n {...props}\n >\n {children && children}\n </form>\n );\n};\n"],"names":["Form","animation","children","inline","props","cx","styles","form"],"mappings":"wNAWaA,EAAOA,CAAC,CAAEC,UAAAA,EAAWC,SAAAA,EAAUC,OAAAA,EAAS,GAAO,GAAGC,CAAiB,UAE3E,OAAA,CACC,UAAWC,EAAAA,EAAGJ,GAAaA,EAAWE,GAAUG,EAAOH,OAAQG,EAAOC,IAAI,EAC1E,GAAIH,EAAM,UAAA,OAETF,YAAYA,EACf"}
|
|
@@ -1,17 +1,15 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { t as
|
|
3
|
-
import '../../assets/
|
|
4
|
-
form:
|
|
1
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { t as e } from "../../classix-DG18itHa.js";
|
|
3
|
+
import '../../assets/index10.css';const l = "_form_1akkl_1", f = "_inline_1akkl_23", m = {
|
|
4
|
+
form: l,
|
|
5
5
|
inline: f
|
|
6
|
-
},
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
);
|
|
6
|
+
}, _ = ({
|
|
7
|
+
animation: o,
|
|
8
|
+
children: r,
|
|
9
|
+
inline: n = !1,
|
|
10
|
+
...s
|
|
11
|
+
}) => /* @__PURE__ */ t("form", { className: e(o && o, n && m.inline, m.form), ...s, "data-cy": "Form", children: r && r });
|
|
14
12
|
export {
|
|
15
|
-
|
|
13
|
+
_ as Form
|
|
16
14
|
};
|
|
17
15
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/components/form/index.tsx"],"sourcesContent":["import cx from 'classix';\n\nimport type { AnimationName } from '../../styles/animations.ts';\nimport styles from './styles.module.css';\n\nexport type FormProps = React.FormHTMLAttributes<HTMLFormElement> & {\n animation?: AnimationName;\n children?: React.ReactNode;\n inline?: boolean;\n};\n\nexport const Form = ({ animation, children, inline = false, ...props }: FormProps) => {\n return (\n <form\n className={cx(animation && animation, inline && styles.inline, styles.form)}\n {...props}\n >\n {children && children}\n </form>\n );\n};\n"],"names":["Form","animation","children","inline","props","
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/components/form/index.tsx"],"sourcesContent":["import cx from 'classix';\n\nimport type { AnimationName } from '../../styles/animations.ts';\nimport styles from './styles.module.css';\n\nexport type FormProps = React.FormHTMLAttributes<HTMLFormElement> & {\n animation?: AnimationName;\n children?: React.ReactNode;\n inline?: boolean;\n};\n\nexport const Form = ({ animation, children, inline = false, ...props }: FormProps) => {\n return (\n <form\n className={cx(animation && animation, inline && styles.inline, styles.form)}\n {...props}\n >\n {children && children}\n </form>\n );\n};\n"],"names":["Form","animation","children","inline","props","cx","styles","form"],"mappings":";;;;;GAWaA,IAAOA,CAAC;AAAA,EAAEC,WAAAA;AAAAA,EAAWC,UAAAA;AAAAA,EAAUC,QAAAA,IAAS;AAAA,EAAO,GAAGC;AAAiB,wBAE3E,QAAA,EACC,WAAWC,EAAGJ,KAAaA,GAAWE,KAAUG,EAAOH,QAAQG,EAAOC,IAAI,GAC1E,GAAIH,GAAM,WAAA,QAETF,eAAYA,GACf;"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index9.css');const s=require("react/jsx-runtime"),t=require("../../classix-5H4IWnMA.cjs"),u="_group_g6ddz_1",c={group:u},p=({animation:r,children:e,className:o})=>s.jsx("div",{className:t.t(r&&r,o,c.group),"data-cy":"Group",children:e});exports.Group=p;
|
|
2
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../../../src/components/group/index.tsx"],"sourcesContent":["import cx from 'classix';\n\nimport type { AnimationName } from '@/styles/animations.ts';\n\nimport styles from './styles.module.css';\n\nexport type GroupProps = {\n animation?: AnimationName;\n children: React.ReactNode;\n className?: string;\n};\n\nexport const Group = ({ animation, children, className }: GroupProps) => {\n return <div className={cx(animation && animation, className, styles.group)}>{children}</div>;\n};\n"],"names":["Group","animation","children","className","jsx","cx","styles","group"],"mappings":"4LAYaA,EAAQA,CAAC,CAAEC,UAAAA,EAAWC,SAAAA,EAAUC,UAAAA,CAAsB,IAC1DC,EAAAA,IAAC,MAAA,CAAI,UAAWC,EAAAA,EAAGJ,GAAaA,EAAWE,EAAWG,EAAOC,KAAK,EAAE,UAAA,QAAEL,SAAAA,CAAAA,CAAS"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { t as s } from "../../classix-DG18itHa.js";
|
|
3
|
+
import '../../assets/index9.css';const u = "_group_g6ddz_1", c = {
|
|
4
|
+
group: u
|
|
5
|
+
}, e = ({
|
|
6
|
+
animation: o,
|
|
7
|
+
children: r,
|
|
8
|
+
className: p
|
|
9
|
+
}) => /* @__PURE__ */ t("div", { className: s(o && o, p, c.group), "data-cy": "Group", children: r });
|
|
10
|
+
export {
|
|
11
|
+
e as Group
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/components/group/index.tsx"],"sourcesContent":["import cx from 'classix';\n\nimport type { AnimationName } from '@/styles/animations.ts';\n\nimport styles from './styles.module.css';\n\nexport type GroupProps = {\n animation?: AnimationName;\n children: React.ReactNode;\n className?: string;\n};\n\nexport const Group = ({ animation, children, className }: GroupProps) => {\n return <div className={cx(animation && animation, className, styles.group)}>{children}</div>;\n};\n"],"names":["Group","animation","children","className","jsx","cx","styles","group"],"mappings":";;;;GAYaA,IAAQA,CAAC;AAAA,EAAEC,WAAAA;AAAAA,EAAWC,UAAAA;AAAAA,EAAUC,WAAAA;AAAsB,MAC1D,gBAAAC,EAAC,OAAA,EAAI,WAAWC,EAAGJ,KAAaA,GAAWE,GAAWG,EAAOC,KAAK,GAAE,WAAA,SAAEL,UAAAA,EAAAA,CAAS;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index8.css');const r=require("react/jsx-runtime"),a="_header_61fkw_1",t={header:a},s=({children:e})=>r.jsx("header",{className:t.header,"data-cy":"Header",children:e});exports.Header=s;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../../../src/components/header/index.tsx"],"sourcesContent":["import
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../../../src/components/header/index.tsx"],"sourcesContent":["import styles from './styles.module.css';\n\nexport type HeaderProps = {\n children: React.ReactNode;\n};\n\nexport const Header = ({ children }: HeaderProps) => {\n return <header className={styles.header}>{children}</header>;\n};\n"],"names":["Header","children","styles","header"],"mappings":"sJAMaA,EAASA,CAAC,CAAEC,SAAAA,CAAsB,UACrC,SAAA,CAAO,UAAWC,EAAOC,0BAASF,SAAAA,EAAS"}
|
|
@@ -1,16 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import '../../assets/
|
|
3
|
-
header:
|
|
4
|
-
},
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
e.superHeader && /* @__PURE__ */ r("sup", { children: e.superHeader }),
|
|
8
|
-
a && /* @__PURE__ */ r(h, { children: a }),
|
|
9
|
-
e.subHeader && /* @__PURE__ */ r("sub", { children: e.subHeader }),
|
|
10
|
-
d && d
|
|
11
|
-
] });
|
|
12
|
-
};
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import '../../assets/index8.css';const a = "_header_61fkw_1", d = {
|
|
3
|
+
header: a
|
|
4
|
+
}, t = ({
|
|
5
|
+
children: e
|
|
6
|
+
}) => /* @__PURE__ */ r("header", { className: d.header, "data-cy": "Header", children: e });
|
|
13
7
|
export {
|
|
14
|
-
|
|
8
|
+
t as Header
|
|
15
9
|
};
|
|
16
10
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/components/header/index.tsx"],"sourcesContent":["import
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/components/header/index.tsx"],"sourcesContent":["import styles from './styles.module.css';\n\nexport type HeaderProps = {\n children: React.ReactNode;\n};\n\nexport const Header = ({ children }: HeaderProps) => {\n return <header className={styles.header}>{children}</header>;\n};\n"],"names":["Header","children","styles","header"],"mappings":";;;GAMaA,IAASA,CAAC;AAAA,EAAEC,UAAAA;AAAsB,wBACrC,UAAA,EAAO,WAAWC,EAAOC,6BAASF,UAAAA,GAAS;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index24.css');const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index24.css');const c=require("react/jsx-runtime"),a=require("../../classix-5H4IWnMA.cjs"),s=require("../../icons-BhMCiRwT.cjs"),m="_icon_1swff_1",r="_small_1swff_8",l="_medium_1swff_13",_="_large_1swff_18",f="_primary_1swff_27",u="_white_1swff_31",e={icon:m,small:r,medium:l,large:_,default:"_default_1swff_23",primary:f,white:u},d={large:e.large,medium:e.medium,small:e.small},w={default:e.default,primary:e.primary,white:e.white},y=({name:t="home",size:n="medium",variant:i="default"})=>{const o={maskImage:s.embedSVG(s.iconPaths[t].toString())};return c.jsx("span",{className:a.t(d[n],e.icon,w[i]),style:o})},g=()=>Object.keys(s.iconPaths);exports.Icon=y;exports.Icons=g;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../../../src/components/icon/
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../../../src/components/icon/index.tsx"],"sourcesContent":["import cx from 'classix';\n\nimport type { IconName } from './icons';\nimport { embedSVG, iconPaths } from './icons';\nimport styles from './styles.module.css';\n\nconst sizes = {\n large: styles.large,\n medium: styles.medium,\n small: styles.small,\n};\n\nconst variants = {\n default: styles.default,\n primary: styles.primary,\n white: styles.white,\n};\n\nexport type IconProps = {\n name: IconName;\n size?: keyof typeof sizes;\n variant?: keyof typeof variants;\n loading?: boolean;\n};\n\nexport const Icon = ({ name = 'home', size = 'medium', variant = 'default' }: IconProps) => {\n const iconStyle = {\n maskImage: embedSVG(iconPaths[name].toString()),\n } as React.CSSProperties;\n\n const iconElement = (\n <span\n className={cx(sizes[size], styles.icon, variants[variant])}\n style={iconStyle}\n />\n );\n\n return iconElement;\n};\n\nexport const Icons = () => {\n return Object.keys(iconPaths);\n};\n"],"names":["sizes","large","styles","medium","small","variants","default","primary","white","Icon","name","size","variant","iconStyle","maskImage","embedSVG","iconPaths","toString","jsx","cx","icon","Icons","Object","keys"],"mappings":"6YAMMA,EAAQ,CACZC,MAAOC,EAAOD,MACdE,OAAQD,EAAOC,OACfC,MAAOF,EAAOE,KAChB,EAEMC,EAAW,CACfC,QAASJ,EAAOI,QAChBC,QAASL,EAAOK,QAChBC,MAAON,EAAOM,KAChB,EASaC,EAAOA,CAAC,CAAEC,KAAAA,EAAO,OAAQC,KAAAA,EAAO,SAAUC,QAAAA,EAAU,SAAqB,IAAM,CAC1F,MAAMC,EAAY,CAChBC,UAAWC,EAAAA,SAASC,EAAAA,UAAUN,CAAI,EAAEO,UAAU,CAAA,EAUhD,OANEC,EAAAA,IAAC,OAAA,CACC,UAAWC,EAAAA,EAAGnB,EAAMW,CAAI,EAAGT,EAAOkB,KAAMf,EAASO,CAAO,CAAC,EACzD,MAAOC,EAAU,CAKvB,EAEaQ,EAAQA,IACZC,OAAOC,KAAKP,WAAS"}
|
|
@@ -1,59 +1,34 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { t } from "../../classix-DG18itHa.js";
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
card: "M15 9h3.75M15 12h3.75M15 15h3.75M4.5 19.5h15a2.25 2.25 0 0 0 2.25-2.25V6.75A2.25 2.25 0 0 0 19.5 4.5h-15a2.25 2.25 0 0 0-2.25 2.25v10.5A2.25 2.25 0 0 0 4.5 19.5Zm6-10.125a1.875 1.875 0 1 1-3.75 0 1.875 1.875 0 0 1 3.75 0Zm1.294 6.336a6.721 6.721 0 0 1-3.17.789 6.721 6.721 0 0 1-3.168-.789 3.376 3.376 0 0 1 6.338 0Z",
|
|
10
|
-
chevron: "m19.5 8.25-7.5 7.5-7.5-7.5",
|
|
11
|
-
clipboard: "M11.35 3.836c-.065.21-.1.433-.1.664 0 .414.336.75.75.75h4.5a.75.75 0 0 0 .75-.75 2.25 2.25 0 0 0-.1-.664m-5.8 0A2.251 2.251 0 0 1 13.5 2.25H15c1.012 0 1.867.668 2.15 1.586m-5.8 0c-.376.023-.75.05-1.124.08C9.095 4.01 8.25 4.973 8.25 6.108V8.25m8.9-4.414c.376.023.75.05 1.124.08 1.131.094 1.976 1.057 1.976 2.192V16.5A2.25 2.25 0 0 1 18 18.75h-2.25m-7.5-10.5H4.875c-.621 0-1.125.504-1.125 1.125v11.25c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V18.75m-7.5-10.5h6.375c.621 0 1.125.504 1.125 1.125v9.375m-8.25-3 1.5 1.5 3-3.75",
|
|
12
|
-
gear: "M2.3 11.2C2.3 16.2 6.4 20.3 11.4 20.3C16.4 20.3 20.4 16.2 20.4 11.2M2.3 11.2C2.3 6.2 6.4 2.1 11.4 2.1C16.4 2.1 20.4 6.2 20.4 11.2M2.3 11.2L0.5 11.2M20.4 11.2L22.2 11.2M20.4 11.2L11.4 11.2M1.2 14.9L2.9 14.3M19.9 8.1L21.6 7.5M3 18.2L4.4 17M18.3 5.4L19.7 4.2M5.9 20.6L6.8 19.1M15.9 3.4L16.8 1.8M9.5 21.9L9.8 20.1M12.9 2.3L13.3 0.5M13.3 21.9L12.9 20.1M9.8 2.3L9.5 0.5M16.8 20.6L15.9 19.1M5.9 1.8L11.4 11.2M19.7 18.2L18.3 17M4.4 5.4L3 4.2M21.6 14.9L19.9 14.3M2.9 8.1L1.2 7.5M11.4 11.2L6.8 19.1",
|
|
13
|
-
document: "M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m2.25 0H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z",
|
|
14
|
-
home: "m2.25 12 8.954-8.955c.44-.439 1.152-.439 1.591 0L21.75 12M4.5 9.75v10.125c0 .621.504 1.125 1.125 1.125H9.75v-4.875c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125V21h4.125c.621 0 1.125-.504 1.125-1.125V9.75M8.25 21h8.25",
|
|
15
|
-
italic: "M5.248 20.246H9.05m0 0h3.696m-3.696 0 5.893-16.502m0 0h-3.697m3.697 0h3.803",
|
|
16
|
-
link: "M13.19 8.688a4.5 4.5 0 0 1 1.242 7.244l-4.5 4.5a4.5 4.5 0 0 1-6.364-6.364l1.757-1.757m13.35-.622 1.757-1.757a4.5 4.5 0 0 0-6.364-6.364l-4.5 4.5a4.5 4.5 0 0 0 1.242 7.244",
|
|
17
|
-
list: "M8.25 6.75h12M8.25 12h12m-12 5.25h12M3.75 6.75h.007v.008H3.75V6.75Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0ZM3.75 12h.007v.008H3.75V12Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm-.375 5.25h.007v.008H3.75v-.008Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z",
|
|
18
|
-
pencil: "M21.731 2.269a2.625 2.625 0 0 0-3.712 0l-1.157 1.157 3.712 3.712 1.157-1.157a2.625 2.625 0 0 0 0-3.712ZM19.513 8.199l-3.712-3.712-12.15 12.15a5.25 5.25 0 0 0-1.32 2.214l-.8 2.685a.75.75 0 0 0 .933.933l2.685-.8a5.25 5.25 0 0 0 2.214-1.32L19.513 8.2Z",
|
|
19
|
-
people: "M15 19.128a9.38 9.38 0 0 0 2.625.372 9.337 9.337 0 0 0 4.121-.952 4.125 4.125 0 0 0-7.533-2.493M15 19.128v-.003c0-1.113-.285-2.16-.786-3.07M15 19.128v.106A12.318 12.318 0 0 1 8.624 21c-2.331 0-4.512-.645-6.374-1.766l-.001-.109a6.375 6.375 0 0 1 11.964-3.07M12 6.375a3.375 3.375 0 1 1-6.75 0 3.375 3.375 0 0 1 6.75 0Zm8.25 2.25a2.625 2.625 0 1 1-5.25 0 2.625 2.625 0 0 1 5.25 0Z",
|
|
20
|
-
phone: "M2.25 6.75c0 8.284 6.716 15 15 15h2.25a2.25 2.25 0 0 0 2.25-2.25v-1.372c0-.516-.351-.966-.852-1.091l-4.423-1.106c-.44-.11-.902.055-1.173.417l-.97 1.293c-.282.376-.769.542-1.21.38a12.035 12.035 0 0 1-7.143-7.143c-.162-.441.004-.928.38-1.21l1.293-.97c.363-.271.527-.734.417-1.173L6.963 3.102a1.125 1.125 0 0 0-1.091-.852H4.5A2.25 2.25 0 0 0 2.25 4.5v2.25Z",
|
|
21
|
-
plus: "M12 4.5v15m7.5-7.5h-15",
|
|
22
|
-
search: "m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z",
|
|
23
|
-
toDocument: "M13.5 6H5.25A2.25 2.25 0 0 0 3 8.25v10.5A2.25 2.25 0 0 0 5.25 21h10.5A2.25 2.25 0 0 0 18 18.75V10.5m-10.5 6L21 3m0 0h-5.25M21 3v5.25",
|
|
24
|
-
upload: "M3 16.5v2.25A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75V16.5m-13.5-9L12 3m0 0 4.5 4.5M12 3v13.5",
|
|
25
|
-
user: "M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z",
|
|
26
|
-
x: "M6 18 18 6M6 6l12 12"
|
|
27
|
-
}, o = "_icon_1swff_1", n = "_small_1swff_8", i = "_medium_1swff_13", v = "_large_1swff_18", r = "_primary_1swff_27", L = "_white_1swff_31", m = {
|
|
28
|
-
icon: o,
|
|
29
|
-
small: n,
|
|
30
|
-
medium: i,
|
|
31
|
-
large: v,
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { t as n } from "../../classix-DG18itHa.js";
|
|
3
|
+
import { e as r, i as e } from "../../icons-uK6EFyq8.js";
|
|
4
|
+
import '../../assets/index24.css';const l = "_icon_1swff_1", c = "_small_1swff_8", f = "_medium_1swff_13", _ = "_large_1swff_18", u = "_primary_1swff_27", d = "_white_1swff_31", s = {
|
|
5
|
+
icon: l,
|
|
6
|
+
small: c,
|
|
7
|
+
medium: f,
|
|
8
|
+
large: _,
|
|
32
9
|
default: "_default_1swff_23",
|
|
33
|
-
primary:
|
|
34
|
-
white:
|
|
35
|
-
},
|
|
36
|
-
large:
|
|
37
|
-
medium:
|
|
38
|
-
small:
|
|
39
|
-
},
|
|
40
|
-
default:
|
|
41
|
-
primary:
|
|
42
|
-
white:
|
|
43
|
-
},
|
|
44
|
-
|
|
45
|
-
|
|
10
|
+
primary: u,
|
|
11
|
+
white: d
|
|
12
|
+
}, w = {
|
|
13
|
+
large: s.large,
|
|
14
|
+
medium: s.medium,
|
|
15
|
+
small: s.small
|
|
16
|
+
}, p = {
|
|
17
|
+
default: s.default,
|
|
18
|
+
primary: s.primary,
|
|
19
|
+
white: s.white
|
|
20
|
+
}, S = ({
|
|
21
|
+
name: t = "home",
|
|
22
|
+
size: m = "medium",
|
|
23
|
+
variant: o = "default"
|
|
24
|
+
}) => {
|
|
25
|
+
const i = {
|
|
26
|
+
maskImage: r(e[t].toString())
|
|
46
27
|
};
|
|
47
|
-
return /* @__PURE__ */
|
|
48
|
-
|
|
49
|
-
{
|
|
50
|
-
className: t(Z[c], m.icon, u[e]),
|
|
51
|
-
style: M
|
|
52
|
-
}
|
|
53
|
-
);
|
|
54
|
-
}, w = () => Object.keys(h);
|
|
28
|
+
return /* @__PURE__ */ a("span", { className: n(w[m], s.icon, p[o]), style: i });
|
|
29
|
+
}, b = () => Object.keys(e);
|
|
55
30
|
export {
|
|
56
|
-
|
|
57
|
-
|
|
31
|
+
S as Icon,
|
|
32
|
+
b as Icons
|
|
58
33
|
};
|
|
59
34
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/components/icon/
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/components/icon/index.tsx"],"sourcesContent":["import cx from 'classix';\n\nimport type { IconName } from './icons';\nimport { embedSVG, iconPaths } from './icons';\nimport styles from './styles.module.css';\n\nconst sizes = {\n large: styles.large,\n medium: styles.medium,\n small: styles.small,\n};\n\nconst variants = {\n default: styles.default,\n primary: styles.primary,\n white: styles.white,\n};\n\nexport type IconProps = {\n name: IconName;\n size?: keyof typeof sizes;\n variant?: keyof typeof variants;\n loading?: boolean;\n};\n\nexport const Icon = ({ name = 'home', size = 'medium', variant = 'default' }: IconProps) => {\n const iconStyle = {\n maskImage: embedSVG(iconPaths[name].toString()),\n } as React.CSSProperties;\n\n const iconElement = (\n <span\n className={cx(sizes[size], styles.icon, variants[variant])}\n style={iconStyle}\n />\n );\n\n return iconElement;\n};\n\nexport const Icons = () => {\n return Object.keys(iconPaths);\n};\n"],"names":["sizes","large","styles","medium","small","variants","default","primary","white","Icon","name","size","variant","iconStyle","maskImage","embedSVG","iconPaths","toString","jsx","cx","icon","Icons","Object","keys"],"mappings":";;;;;;;;;;;GAMMA,IAAQ;AAAA,EACZC,OAAOC,EAAOD;AAAAA,EACdE,QAAQD,EAAOC;AAAAA,EACfC,OAAOF,EAAOE;AAChB,GAEMC,IAAW;AAAA,EACfC,SAASJ,EAAOI;AAAAA,EAChBC,SAASL,EAAOK;AAAAA,EAChBC,OAAON,EAAOM;AAChB,GASaC,IAAOA,CAAC;AAAA,EAAEC,MAAAA,IAAO;AAAA,EAAQC,MAAAA,IAAO;AAAA,EAAUC,SAAAA,IAAU;AAAqB,MAAM;AAC1F,QAAMC,IAAY;AAAA,IAChBC,WAAWC,EAASC,EAAUN,CAAI,EAAEO,UAAU;AAAA,EAAA;AAUhD,SANE,gBAAAC,EAAC,QAAA,EACC,WAAWC,EAAGnB,EAAMW,CAAI,GAAGT,EAAOkB,MAAMf,EAASO,CAAO,CAAC,GACzD,OAAOC,GAAU;AAKvB,GAEaQ,IAAQA,MACZC,OAAOC,KAAKP,CAAS;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index21.css');const e=require("react/jsx-runtime"),c=require("../../classix-5H4IWnMA.cjs"),o=require("react"),p="_input_13pnj_1",j="_label_13pnj_33",s={input:p,label:j},b=o.forwardRef(({className:n,disabled:l=!1,label:t,placeholder:r,type:i="text",...u},a)=>e.jsxs("label",{children:[t&&e.jsx("span",{className:s.label,children:t}),e.jsx("input",{ref:a,className:c.t(s.input,n),disabled:l,placeholder:r,type:i,...u})]}));exports.Input=b;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../../../src/components/input/index.tsx"],"sourcesContent":["import cx from 'classix';\nimport { forwardRef } from 'react';\n\nimport styles from './styles.module.css';\n\nexport type InputProps = React.ComponentPropsWithoutRef<'input'> & {\n disabled?: boolean;\n label?: string;\n placeholder?: string;\n type?: 'datetime-local' | 'email' | 'number' | 'password' | 'radio' | 'search' | 'tel' | 'text';\n};\n\nexport const Input = forwardRef<HTMLInputElement, InputProps>(\n ({ className, disabled = false, label, placeholder, type = 'text', ...props }, ref) => {\n return (\n <label>\n {label && <span className={styles.label}>{label}</span>}\n <input\n ref={ref}\n className={cx(styles.input, className)}\n disabled={disabled}\n placeholder={placeholder}\n type={type}\n {...props}\n />\n </label>\n );\n }\n);\n"],"names":["Input","forwardRef","className","disabled","label","placeholder","type","props","ref","jsx","styles","cx"],"mappings":"2OAYaA,EAAQC,EAAAA,WACnB,CAAC,
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../../../src/components/input/index.tsx"],"sourcesContent":["import cx from 'classix';\nimport { forwardRef } from 'react';\n\nimport styles from './styles.module.css';\n\nexport type InputProps = React.ComponentPropsWithoutRef<'input'> & {\n disabled?: boolean;\n label?: string;\n placeholder?: string;\n type?: 'datetime-local' | 'email' | 'number' | 'password' | 'radio' | 'search' | 'tel' | 'text';\n};\n\nexport const Input = forwardRef<HTMLInputElement, InputProps>(\n ({ className, disabled = false, label, placeholder, type = 'text', ...props }, ref) => {\n return (\n <label>\n {label && <span className={styles.label}>{label}</span>}\n <input\n ref={ref}\n className={cx(styles.input, className)}\n disabled={disabled}\n placeholder={placeholder}\n type={type}\n {...props}\n />\n </label>\n );\n }\n);\n"],"names":["Input","forwardRef","className","disabled","label","placeholder","type","props","ref","jsx","styles","cx","input"],"mappings":"2OAYaA,EAAQC,EAAAA,WACnB,CAAC,CAAEC,UAAAA,EAAWC,SAAAA,EAAW,GAAOC,MAAAA,EAAOC,YAAAA,EAAaC,KAAAA,EAAO,OAAQ,GAAGC,CAAM,EAAGC,WAE1E,QAAA,CACEJ,SAAAA,CAAAA,GAASK,EAAAA,IAAC,OAAA,CAAK,UAAWC,EAAON,MAAQA,SAAAA,EAAM,EAChDK,EAAAA,IAAC,QAAA,CACC,IAAAD,EACA,UAAWG,EAAAA,EAAGD,EAAOE,MAAOV,CAAS,EACrC,SAAAC,EACA,YAAAE,EACA,KAAAC,EACA,GAAIC,CAAAA,CAAM,CAAA,EAEd,CAGN"}
|
|
@@ -1,25 +1,20 @@
|
|
|
1
1
|
import { jsxs as i, jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { t as c } from "../../classix-DG18itHa.js";
|
|
3
3
|
import { forwardRef as m } from "react";
|
|
4
|
-
import '../../assets/
|
|
4
|
+
import '../../assets/index21.css';const u = "_input_13pnj_1", f = "_label_13pnj_33", s = {
|
|
5
5
|
input: u,
|
|
6
6
|
label: f
|
|
7
|
-
}, x = m(
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
...o
|
|
19
|
-
}
|
|
20
|
-
)
|
|
21
|
-
] })
|
|
22
|
-
);
|
|
7
|
+
}, x = m(({
|
|
8
|
+
className: e,
|
|
9
|
+
disabled: l = !1,
|
|
10
|
+
label: t,
|
|
11
|
+
placeholder: p,
|
|
12
|
+
type: r = "text",
|
|
13
|
+
...o
|
|
14
|
+
}, a) => /* @__PURE__ */ i("label", { children: [
|
|
15
|
+
t && /* @__PURE__ */ n("span", { className: s.label, children: t }),
|
|
16
|
+
/* @__PURE__ */ n("input", { ref: a, className: c(s.input, e), disabled: l, placeholder: p, type: r, ...o })
|
|
17
|
+
] }));
|
|
23
18
|
export {
|
|
24
19
|
x as Input
|
|
25
20
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/components/input/index.tsx"],"sourcesContent":["import cx from 'classix';\nimport { forwardRef } from 'react';\n\nimport styles from './styles.module.css';\n\nexport type InputProps = React.ComponentPropsWithoutRef<'input'> & {\n disabled?: boolean;\n label?: string;\n placeholder?: string;\n type?: 'datetime-local' | 'email' | 'number' | 'password' | 'radio' | 'search' | 'tel' | 'text';\n};\n\nexport const Input = forwardRef<HTMLInputElement, InputProps>(\n ({ className, disabled = false, label, placeholder, type = 'text', ...props }, ref) => {\n return (\n <label>\n {label && <span className={styles.label}>{label}</span>}\n <input\n ref={ref}\n className={cx(styles.input, className)}\n disabled={disabled}\n placeholder={placeholder}\n type={type}\n {...props}\n />\n </label>\n );\n }\n);\n"],"names":["Input","forwardRef","className","disabled","label","placeholder","type","props","ref","jsx","styles","cx"],"mappings":";;;;;;GAYaA,IAAQC
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/components/input/index.tsx"],"sourcesContent":["import cx from 'classix';\nimport { forwardRef } from 'react';\n\nimport styles from './styles.module.css';\n\nexport type InputProps = React.ComponentPropsWithoutRef<'input'> & {\n disabled?: boolean;\n label?: string;\n placeholder?: string;\n type?: 'datetime-local' | 'email' | 'number' | 'password' | 'radio' | 'search' | 'tel' | 'text';\n};\n\nexport const Input = forwardRef<HTMLInputElement, InputProps>(\n ({ className, disabled = false, label, placeholder, type = 'text', ...props }, ref) => {\n return (\n <label>\n {label && <span className={styles.label}>{label}</span>}\n <input\n ref={ref}\n className={cx(styles.input, className)}\n disabled={disabled}\n placeholder={placeholder}\n type={type}\n {...props}\n />\n </label>\n );\n }\n);\n"],"names":["Input","forwardRef","className","disabled","label","placeholder","type","props","ref","jsx","styles","cx","input"],"mappings":";;;;;;GAYaA,IAAQC,EACnB,CAAC;AAAA,EAAEC,WAAAA;AAAAA,EAAWC,UAAAA,IAAW;AAAA,EAAOC,OAAAA;AAAAA,EAAOC,aAAAA;AAAAA,EAAaC,MAAAA,IAAO;AAAA,EAAQ,GAAGC;AAAM,GAAGC,wBAE1E,SAAA,EACEJ,UAAAA;AAAAA,EAAAA,KAAS,gBAAAK,EAAC,QAAA,EAAK,WAAWC,EAAON,OAAQA,UAAAA,GAAM;AAAA,EAChD,gBAAAK,EAAC,SAAA,EACC,KAAAD,GACA,WAAWG,EAAGD,EAAOE,OAAOV,CAAS,GACrC,UAAAC,GACA,aAAAE,GACA,MAAAC,GACA,GAAIC,EAAAA,CAAM;AAAA,GAEd,CAGN;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index7.css');const a=require("react/jsx-runtime"),u=require("../../classix-5H4IWnMA.cjs"),c="_layout_b6ho7_1",n="_home_b6ho7_2",t={layout:c,home:n},y=({children:o,feature:e="home",...s})=>a.jsx("main",{className:u.t(t.layout,t[e]),...s,"data-cy":"Layout",children:o});exports.Layout=y;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../../../src/components/layout/index.tsx"],"sourcesContent":["import cx from 'classix';\n\nimport styles from './styles.module.css';\n\nexport type LayoutProps = { children: React.ReactNode; feature: 'home' };\n\nexport const Layout = ({ children, feature = 'home', ...props }: LayoutProps) => {\n return (\n <main\n className={cx(styles.layout, styles[feature])}\n {...props}\n >\n {children}\n </main>\n );\n};\n"],"names":["Layout","children","feature","props","jsx","cx","styles"],"mappings":"uNAMaA,
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../../../src/components/layout/index.tsx"],"sourcesContent":["import cx from 'classix';\n\nimport styles from './styles.module.css';\n\nexport type LayoutProps = { children: React.ReactNode; feature: 'home' };\n\nexport const Layout = ({ children, feature = 'home', ...props }: LayoutProps) => {\n return (\n <main\n className={cx(styles.layout, styles[feature])}\n {...props}\n >\n {children}\n </main>\n );\n};\n"],"names":["Layout","children","feature","props","jsx","cx","styles","layout"],"mappings":"uNAMaA,EAASA,CAAC,CAAEC,SAAAA,EAAUC,QAAAA,EAAU,OAAQ,GAAGC,CAAmB,IAEvEC,EAAAA,IAAC,OAAA,CACC,UAAWC,EAAAA,EAAGC,EAAOC,OAAQD,EAAOJ,CAAO,CAAC,EAC5C,GAAIC,EAAM,UAAA,SAETF,SAAAA,EACH"}
|
|
@@ -1,17 +1,14 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import { t as e } from "../../classix-DG18itHa.js";
|
|
3
|
-
import '../../assets/
|
|
4
|
-
layout:
|
|
5
|
-
home:
|
|
6
|
-
},
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
children: t
|
|
12
|
-
}
|
|
13
|
-
);
|
|
3
|
+
import '../../assets/index7.css';const y = "_layout_b6ho7_1", r = "_home_b6ho7_2", o = {
|
|
4
|
+
layout: y,
|
|
5
|
+
home: r
|
|
6
|
+
}, h = ({
|
|
7
|
+
children: t,
|
|
8
|
+
feature: a = "home",
|
|
9
|
+
...m
|
|
10
|
+
}) => /* @__PURE__ */ s("main", { className: e(o.layout, o[a]), ...m, "data-cy": "Layout", children: t });
|
|
14
11
|
export {
|
|
15
|
-
|
|
12
|
+
h as Layout
|
|
16
13
|
};
|
|
17
14
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/components/layout/index.tsx"],"sourcesContent":["import cx from 'classix';\n\nimport styles from './styles.module.css';\n\nexport type LayoutProps = { children: React.ReactNode; feature: 'home' };\n\nexport const Layout = ({ children, feature = 'home', ...props }: LayoutProps) => {\n return (\n <main\n className={cx(styles.layout, styles[feature])}\n {...props}\n >\n {children}\n </main>\n );\n};\n"],"names":["Layout","children","feature","props","jsx","cx","styles"],"mappings":";;;;;GAMaA,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/components/layout/index.tsx"],"sourcesContent":["import cx from 'classix';\n\nimport styles from './styles.module.css';\n\nexport type LayoutProps = { children: React.ReactNode; feature: 'home' };\n\nexport const Layout = ({ children, feature = 'home', ...props }: LayoutProps) => {\n return (\n <main\n className={cx(styles.layout, styles[feature])}\n {...props}\n >\n {children}\n </main>\n );\n};\n"],"names":["Layout","children","feature","props","jsx","cx","styles","layout"],"mappings":";;;;;GAMaA,IAASA,CAAC;AAAA,EAAEC,UAAAA;AAAAA,EAAUC,SAAAA,IAAU;AAAA,EAAQ,GAAGC;AAAmB,MAEvE,gBAAAC,EAAC,QAAA,EACC,WAAWC,EAAGC,EAAOC,QAAQD,EAAOJ,CAAO,CAAC,GAC5C,GAAIC,GAAM,WAAA,UAETF,UAAAA,GACH;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index6.css');const c=require("react/jsx-runtime"),o=require("../../classix-5H4IWnMA.cjs"),r="_link_ci6no_1",a={link:r},k=({children:n,className:t,to:e="#",label:s,...i})=>c.jsxs("a",{className:o.t(t,a.link),href:e,...i,"data-cy":"Link",children:[s||n,n&&n]});exports.Link=k;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|