@solibo/solibo-ui 0.2.14 → 0.2.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (116) hide show
  1. package/README.md +16 -1
  2. package/dist/assets/index.css +1 -1
  3. package/dist/assets/index10.css +1 -1
  4. package/dist/assets/index11.css +1 -1
  5. package/dist/assets/index12.css +1 -1
  6. package/dist/assets/index13.css +1 -1
  7. package/dist/assets/index14.css +1 -1
  8. package/dist/assets/index15.css +1 -1
  9. package/dist/assets/index16.css +1 -1
  10. package/dist/assets/index17.css +1 -1
  11. package/dist/assets/index18.css +1 -1
  12. package/dist/assets/index19.css +1 -1
  13. package/dist/assets/index2.css +1 -1
  14. package/dist/assets/index20.css +1 -0
  15. package/dist/assets/index21.css +1 -0
  16. package/dist/assets/index22.css +1 -0
  17. package/dist/assets/index23.css +1 -0
  18. package/dist/assets/index24.css +1 -0
  19. package/dist/assets/index3.css +1 -1
  20. package/dist/assets/index4.css +1 -1
  21. package/dist/assets/index5.css +1 -1
  22. package/dist/assets/index6.css +1 -1
  23. package/dist/assets/index7.css +1 -1
  24. package/dist/assets/index8.css +1 -1
  25. package/dist/assets/index9.css +0 -1
  26. package/dist/components/accordion/index.cjs +1 -1
  27. package/dist/components/accordion/index.cjs.map +1 -1
  28. package/dist/components/accordion/index.js +14 -28
  29. package/dist/components/accordion/index.js.map +1 -1
  30. package/dist/components/aside/index.cjs +1 -1
  31. package/dist/components/aside/index.cjs.map +1 -1
  32. package/dist/components/aside/index.js +18 -16
  33. package/dist/components/aside/index.js.map +1 -1
  34. package/dist/components/banner/index.cjs +1 -1
  35. package/dist/components/banner/index.cjs.map +1 -1
  36. package/dist/components/banner/index.js +14 -35
  37. package/dist/components/banner/index.js.map +1 -1
  38. package/dist/components/branding/index.cjs +1 -1
  39. package/dist/components/branding/index.js +1 -1
  40. package/dist/components/button/index.cjs +1 -1
  41. package/dist/components/button/index.cjs.map +1 -1
  42. package/dist/components/button/index.js +23 -36
  43. package/dist/components/button/index.js.map +1 -1
  44. package/dist/components/card/index.cjs +1 -1
  45. package/dist/components/card/index.cjs.map +1 -1
  46. package/dist/components/card/index.js +11 -23
  47. package/dist/components/card/index.js.map +1 -1
  48. package/dist/components/checkbox/index.cjs +2 -0
  49. package/dist/components/checkbox/index.cjs.map +1 -0
  50. package/dist/components/checkbox/index.js +29 -0
  51. package/dist/components/checkbox/index.js.map +1 -0
  52. package/dist/components/dialog/index.cjs +1 -1
  53. package/dist/components/dialog/index.cjs.map +1 -1
  54. package/dist/components/dialog/index.js +9 -54
  55. package/dist/components/dialog/index.js.map +1 -1
  56. package/dist/components/dropdown/index.cjs +1 -1
  57. package/dist/components/dropdown/index.cjs.map +1 -1
  58. package/dist/components/dropdown/index.js +20 -15
  59. package/dist/components/dropdown/index.js.map +1 -1
  60. package/dist/components/dropzone/index.cjs +2 -0
  61. package/dist/components/dropzone/index.cjs.map +1 -0
  62. package/dist/components/dropzone/index.js +63 -0
  63. package/dist/components/dropzone/index.js.map +1 -0
  64. package/dist/components/editor/index.cjs +2 -2
  65. package/dist/components/editor/index.js +2 -2
  66. package/dist/components/figure/index.cjs +1 -1
  67. package/dist/components/figure/index.js +3 -3
  68. package/dist/components/file/index.cjs +2 -0
  69. package/dist/components/file/index.cjs.map +1 -0
  70. package/dist/components/file/index.js +27 -0
  71. package/dist/components/file/index.js.map +1 -0
  72. package/dist/components/footer/index.cjs +2 -0
  73. package/dist/components/footer/index.cjs.map +1 -0
  74. package/dist/components/footer/index.js +15 -0
  75. package/dist/components/footer/index.js.map +1 -0
  76. package/dist/components/form/index.cjs +1 -1
  77. package/dist/components/form/index.cjs.map +1 -1
  78. package/dist/components/form/index.js +5 -5
  79. package/dist/components/form/index.js.map +1 -1
  80. package/dist/components/header/index.cjs +1 -1
  81. package/dist/components/header/index.cjs.map +1 -1
  82. package/dist/components/header/index.js +10 -9
  83. package/dist/components/header/index.js.map +1 -1
  84. package/dist/components/icon/index.cjs +1 -1
  85. package/dist/components/icon/index.cjs.map +1 -1
  86. package/dist/components/icon/index.js +39 -35
  87. package/dist/components/icon/index.js.map +1 -1
  88. package/dist/components/input/index.cjs +1 -1
  89. package/dist/components/input/index.cjs.map +1 -1
  90. package/dist/components/input/index.js +13 -13
  91. package/dist/components/input/index.js.map +1 -1
  92. package/dist/components/layout/index.cjs +2 -0
  93. package/dist/components/layout/index.cjs.map +1 -0
  94. package/dist/components/layout/index.js +17 -0
  95. package/dist/components/layout/index.js.map +1 -0
  96. package/dist/components/link/index.cjs +1 -1
  97. package/dist/components/link/index.js +9 -9
  98. package/dist/components/list/index.cjs +1 -1
  99. package/dist/components/list/index.js +5 -5
  100. package/dist/components/nav/index.cjs +1 -1
  101. package/dist/components/nav/index.cjs.map +1 -1
  102. package/dist/components/nav/index.js +92 -24
  103. package/dist/components/nav/index.js.map +1 -1
  104. package/dist/components/toggle/index.cjs +2 -0
  105. package/dist/components/toggle/index.cjs.map +1 -0
  106. package/dist/components/toggle/index.js +30 -0
  107. package/dist/components/toggle/index.js.map +1 -0
  108. package/dist/index.cjs +1 -1
  109. package/dist/index.d.ts +95 -35
  110. package/dist/index.js +36 -24
  111. package/dist/index.js.map +1 -1
  112. package/package.json +1 -1
  113. package/dist/components/component/index.cjs +0 -2
  114. package/dist/components/component/index.cjs.map +0 -1
  115. package/dist/components/component/index.js +0 -30
  116. package/dist/components/component/index.js.map +0 -1
@@ -6,7 +6,7 @@ import { t as pn } from "../../classix-DG18itHa.js";
6
6
  import { Button as hr } from "../button/index.js";
7
7
  import { Icon as pr } from "../icon/index.js";
8
8
  import { Input as x0 } from "../input/index.js";
9
- import '../../assets/index7.css';function Gn(n) {
9
+ import '../../assets/index12.css';function Gn(n) {
10
10
  return {};
11
11
  }
12
12
  const Wi = {}, _0 = {}, ka = {}, kt = {}, Xt = {}, Pn = {}, Zt = {}, gu = {}, ni = {}, In = {}, Ln = {}, ze = {}, Hi = {}, Vi = {}, v0 = {}, Aa = {}, w0 = {}, Oa = {}, S0 = {}, Pa = {}, Ia = {}, qr = {}, T0 = {}, La = {}, Da = {}, Ma = {}, C0 = {}, E0 = {}, N0 = {}, Fs = {}, Ra = {}, k0 = {}, Ba = {}, $a = {}, A0 = {}, mu = {}, Gi = {}, ri = {}, O0 = {}, P0 = {}, gr = {}, mr = {}, I0 = {}, L0 = {}, D0 = {}, Be = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, M0 = Be && "documentMode" in document ? document.documentMode : null, Ae = Be && /Mac|iPod|iPhone|iPad/.test(navigator.platform), pt = Be && /^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent), Ur = !(!Be || !("InputEvent" in window) || M0) && "getTargetRanges" in new window.InputEvent("input"), bu = Be && /Version\/[\d.]+.*Safari/.test(navigator.userAgent), Kn = Be && /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream, R0 = Be && /Android/.test(navigator.userAgent), Fa = Be && /^(?=.*Chrome).*/i.test(navigator.userAgent), B0 = Be && R0 && Fa, Ki = Be && /AppleWebKit\/[\d.]+/.test(navigator.userAgent) && !Fa, Jn = 1, bt = 3, Ot = 0, qa = 1, en = 2, $0 = 0, F0 = 1, q0 = 2, jr = 4, zr = 8, Ji = 128, U0 = 112 | (3 | jr | zr) | Ji, Xi = 1, Zi = 2, Qi = 3, Yi = 4, es = 5, ts = 6, yu = bu || Kn || Ki ? " " : "​", Qe = `
@@ -11249,7 +11249,7 @@ Hn.simpleTransform = function(n, e, t) {
11249
11249
  };
11250
11250
  };
11251
11251
  };
11252
- const Rg = /* @__PURE__ */ fh(Lg), Bg = "_editor_17n1f_1", $g = "_toolbar_17n1f_11", Fg = "_active_17n1f_32", qg = "_bold_17n1f_37", Ug = "_italic_17n1f_41", jg = "_link_17n1f_45", zg = "_list_17n1f_51", Wg = "_paragraph_17n1f_52", Se = {
11252
+ const Rg = /* @__PURE__ */ fh(Lg), Bg = "_editor_41sgr_1", $g = "_toolbar_41sgr_11", Fg = "_active_41sgr_33", qg = "_bold_41sgr_38", Ug = "_italic_41sgr_42", jg = "_link_41sgr_46", zg = "_list_41sgr_52", Wg = "_paragraph_41sgr_53", Se = {
11253
11253
  editor: Bg,
11254
11254
  toolbar: $g,
11255
11255
  active: Fg,
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index6.css');const i=require("react/jsx-runtime"),t="_figure_b0otf_1",s={figure:t},u=({children:e,label:r})=>i.jsxs("figure",{className:s.figure,children:[e&&e,r&&i.jsx("figcaption",{children:r})]});exports.Figure=u;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index11.css');const i=require("react/jsx-runtime"),s="_figure_11j06_1",t={figure:s},u=({children:e,label:r})=>i.jsxs("figure",{className:t.figure,children:[e&&e,r&&i.jsx("figcaption",{children:r})]});exports.Figure=u;
2
2
  //# sourceMappingURL=index.cjs.map
@@ -1,11 +1,11 @@
1
1
  import { jsxs as i, jsx as s } from "react/jsx-runtime";
2
- import '../../assets/index6.css';const t = "_figure_b0otf_1", f = {
2
+ import '../../assets/index11.css';const t = "_figure_11j06_1", f = {
3
3
  figure: t
4
- }, g = ({ children: r, label: e }) => /* @__PURE__ */ i("figure", { className: f.figure, children: [
4
+ }, o = ({ children: r, label: e }) => /* @__PURE__ */ i("figure", { className: f.figure, children: [
5
5
  r && r,
6
6
  e && /* @__PURE__ */ s("figcaption", { children: e })
7
7
  ] });
8
8
  export {
9
- g as Figure
9
+ o as Figure
10
10
  };
11
11
  //# sourceMappingURL=index.js.map
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index10.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,children:[t.jsx(n.Icon,{name:"document",variant:"primary"}),e]});exports.File=s;
2
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +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,EAAO,CAAC,CAAE,KAAAC,EAAM,IAAAC,EAAM,OAE/BC,EAAAA,KAAC,IAAA,CACC,UAAWC,EAAO,KAClB,KAAMF,EACN,KAAK,WACL,MAAOD,EAEP,SAAA,CAAAI,EAAAA,IAACC,EAAAA,KAAA,CACC,KAAK,WACL,QAAQ,SAAA,CAAA,EAETL,CAAA,CAAA,CAAA"}
@@ -0,0 +1,27 @@
1
+ import { jsxs as r, jsx as o } from "react/jsx-runtime";
2
+ import { Icon as i } from "../icon/index.js";
3
+ import '../../assets/index10.css';const l = "_file_txgea_1", s = {
4
+ file: l
5
+ }, m = ({ name: e, url: t = "#" }) => /* @__PURE__ */ r(
6
+ "a",
7
+ {
8
+ className: s.file,
9
+ href: t,
10
+ role: "document",
11
+ title: e,
12
+ children: [
13
+ /* @__PURE__ */ o(
14
+ i,
15
+ {
16
+ name: "document",
17
+ variant: "primary"
18
+ }
19
+ ),
20
+ e
21
+ ]
22
+ }
23
+ );
24
+ export {
25
+ m as File
26
+ };
27
+ //# sourceMappingURL=index.js.map
@@ -0,0 +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,IAAO,CAAC,EAAE,MAAAC,GAAM,KAAAC,IAAM,UAE/B,gBAAAC;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,WAAWC,EAAO;AAAA,IAClB,MAAMF;AAAA,IACN,MAAK;AAAA,IACL,OAAOD;AAAA,IAEP,UAAA;AAAA,MAAA,gBAAAI;AAAA,QAACC;AAAA,QAAA;AAAA,UACC,MAAK;AAAA,UACL,SAAQ;AAAA,QAAA;AAAA,MAAA;AAAA,MAETL;AAAA,IAAA;AAAA,EAAA;AAAA;"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index9.css');const t=require("react/jsx-runtime"),r="_footer_18shx_1",s={footer:r},n=({children:o,...e})=>t.jsx("footer",{className:s.footer,...e,children:o});exports.Footer=n;
2
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs","sources":["../../../src/components/footer/index.tsx"],"sourcesContent":["import styles from './styles.module.css';\n\nexport type FooterProps = {\n children?: React.ReactNode;\n};\n\nexport const Footer = ({ children, ...props }: FooterProps) => {\n return (\n <footer\n className={styles.footer}\n {...props}\n >\n {children}\n </footer>\n );\n};\n"],"names":["Footer","children","props","jsx","styles"],"mappings":"sJAMaA,EAAS,CAAC,CAAE,SAAAC,EAAU,GAAGC,KAElCC,EAAAA,IAAC,SAAA,CACC,UAAWC,EAAO,OACjB,GAAGF,EAEH,SAAAD,CAAA,CAAA"}
@@ -0,0 +1,15 @@
1
+ import { jsx as r } from "react/jsx-runtime";
2
+ import '../../assets/index9.css';const e = "_footer_18shx_1", s = {
3
+ footer: e
4
+ }, c = ({ children: o, ...t }) => /* @__PURE__ */ r(
5
+ "footer",
6
+ {
7
+ className: s.footer,
8
+ ...t,
9
+ children: o
10
+ }
11
+ );
12
+ export {
13
+ c as Footer
14
+ };
15
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../src/components/footer/index.tsx"],"sourcesContent":["import styles from './styles.module.css';\n\nexport type FooterProps = {\n children?: React.ReactNode;\n};\n\nexport const Footer = ({ children, ...props }: FooterProps) => {\n return (\n <footer\n className={styles.footer}\n {...props}\n >\n {children}\n </footer>\n );\n};\n"],"names":["Footer","children","props","jsx","styles"],"mappings":";;;GAMaA,IAAS,CAAC,EAAE,UAAAC,GAAU,GAAGC,QAElC,gBAAAC;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,WAAWC,EAAO;AAAA,IACjB,GAAGF;AAAA,IAEH,UAAAD;AAAA,EAAA;AAAA;"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index5.css');const t=require("react/jsx-runtime"),i=require("../../classix-5H4IWnMA.cjs"),l="_form_13v7z_1",c="_inline_13v7z_15",s={form:l,inline:c},m=({animation:e,children:r,inline:n=!1,...o})=>t.jsx("form",{className:i.t(e&&e,n&&s.inline,s.form),...o,children:r&&r});exports.Form=m;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index8.css');const t=require("react/jsx-runtime"),i=require("../../classix-5H4IWnMA.cjs"),l="_form_1akkl_1",c="_inline_1akkl_23",s={form:l,inline:c},m=({animation:e,children:r,inline:n=!1,...o})=>t.jsx("form",{className:i.t(e&&e,n&&s.inline,s.form),...o,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 = {\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","jsx","cx","styles"],"mappings":"wNAWaA,EAAO,CAAC,CAAE,UAAAC,EAAW,SAAAC,EAAU,OAAAC,EAAS,GAAO,GAAGC,KAE3DC,EAAAA,IAAC,OAAA,CACC,UAAWC,EAAAA,EAAGL,GAAaA,EAAWE,GAAUI,EAAO,OAAQA,EAAO,IAAI,EACzE,GAAGH,EAEH,SAAAF,GAAYA,CAAA,CAAA"}
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","jsx","cx","styles"],"mappings":"wNAWaA,EAAO,CAAC,CAAE,UAAAC,EAAW,SAAAC,EAAU,OAAAC,EAAS,GAAO,GAAGC,KAE3DC,EAAAA,IAAC,OAAA,CACC,UAAWC,EAAAA,EAAGL,GAAaA,EAAWE,GAAUI,EAAO,OAAQA,EAAO,IAAI,EACzE,GAAGH,EAEH,SAAAF,GAAYA,CAAA,CAAA"}
@@ -1,12 +1,12 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- import { t } from "../../classix-DG18itHa.js";
3
- import '../../assets/index5.css';const f = "_form_13v7z_1", i = "_inline_13v7z_15", n = {
4
- form: f,
5
- inline: i
2
+ import { t as l } from "../../classix-DG18itHa.js";
3
+ import '../../assets/index8.css';const t = "_form_1akkl_1", f = "_inline_1akkl_23", n = {
4
+ form: t,
5
+ inline: f
6
6
  }, c = ({ animation: o, children: r, inline: m = !1, ...s }) => /* @__PURE__ */ e(
7
7
  "form",
8
8
  {
9
- className: t(o && o, m && n.inline, n.form),
9
+ className: l(o && o, m && n.inline, n.form),
10
10
  ...s,
11
11
  children: r && r
12
12
  }
@@ -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 = {\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","jsx","cx","styles"],"mappings":";;;;;GAWaA,IAAO,CAAC,EAAE,WAAAC,GAAW,UAAAC,GAAU,QAAAC,IAAS,IAAO,GAAGC,QAE3D,gBAAAC;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,WAAWC,EAAGL,KAAaA,GAAWE,KAAUI,EAAO,QAAQA,EAAO,IAAI;AAAA,IACzE,GAAGH;AAAA,IAEH,UAAAF,KAAYA;AAAA,EAAA;AAAA;"}
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","jsx","cx","styles"],"mappings":";;;;;GAWaA,IAAO,CAAC,EAAE,WAAAC,GAAW,UAAAC,GAAU,QAAAC,IAAS,IAAO,GAAGC,QAE3D,gBAAAC;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,WAAWC,EAAGL,KAAaA,GAAWE,KAAUI,EAAO,QAAQA,EAAO,IAAI;AAAA,IACzE,GAAGH;AAAA,IAEH,UAAAF,KAAYA;AAAA,EAAA;AAAA;"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index13.css');const e=require("react/jsx-runtime"),n="_header_1xswd_1",c={header:n},o=({children:r,size:a=1,label:d="Header",subtitle:s})=>{const t=`h${a}`;return e.jsxs("header",{className:c.header,children:[e.jsx(t,{children:d}),s&&e.jsx("p",{children:s}),r&&r]})};exports.Header=o;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index7.css');const r=require("react/jsx-runtime"),n="_header_1yjge_1",u={header:n},c=({children:s,size:a=1,label:d="Header",...e})=>{const t=`h${a}`;return r.jsxs("header",{className:u.header,children:[e.superHeader&&r.jsx("sup",{children:e.superHeader}),d&&r.jsx(t,{children:d}),e.subHeader&&r.jsx("sub",{children:e.subHeader}),s&&s]})};exports.Header=c;
2
2
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","sources":["../../../src/components/header/index.tsx"],"sourcesContent":["import { JSX } from 'react';\n\nimport styles from './styles.module.css';\n\nexport type HeaderProps = {\n children?: React.ReactNode;\n label: string;\n size?: 1 | 2 | 3;\n subtitle?: string;\n};\n\nexport const Header = ({ children, size = 1, label = 'Header', subtitle }: HeaderProps) => {\n const HeaderTag = `h${size}` as keyof JSX.IntrinsicElements;\n\n return (\n <header className={styles.header}>\n <HeaderTag>{label}</HeaderTag>\n {subtitle && <p>{subtitle}</p>}\n {children && children}\n </header>\n );\n};\n"],"names":["Header","children","size","label","subtitle","HeaderTag","jsxs","styles","jsx"],"mappings":"sJAWaA,EAAS,CAAC,CAAE,SAAAC,EAAU,KAAAC,EAAO,EAAG,MAAAC,EAAQ,SAAU,SAAAC,KAA4B,CACzF,MAAMC,EAAY,IAAIH,CAAI,GAE1B,OACEI,EAAAA,KAAC,SAAA,CAAO,UAAWC,EAAO,OACxB,SAAA,CAAAC,EAAAA,IAACH,GAAW,SAAAF,CAAA,CAAM,EACjBC,GAAYI,EAAAA,IAAC,IAAA,CAAG,SAAAJ,CAAA,CAAS,EACzBH,GAAYA,CAAA,EACf,CAEJ"}
1
+ {"version":3,"file":"index.cjs","sources":["../../../src/components/header/index.tsx"],"sourcesContent":["import { JSX } from 'react';\n\nimport styles from './styles.module.css';\n\nexport type HeaderProps = {\n children?: React.ReactNode;\n label?: string;\n size?: 1 | 2 | 3;\n superHeader?: string;\n subHeader?: string;\n};\n\nexport const Header = ({ children, size = 1, label = 'Header', ...props }: HeaderProps) => {\n const HeaderTag = `h${size}` as keyof JSX.IntrinsicElements;\n\n return (\n <header className={styles.header}>\n {props.superHeader && <sup>{props.superHeader}</sup>}\n {label && <HeaderTag>{label}</HeaderTag>}\n {props.subHeader && <sub>{props.subHeader}</sub>}\n {children && children}\n </header>\n );\n};\n"],"names":["Header","children","size","label","props","HeaderTag","jsxs","styles","jsx"],"mappings":"sJAYaA,EAAS,CAAC,CAAE,SAAAC,EAAU,KAAAC,EAAO,EAAG,MAAAC,EAAQ,SAAU,GAAGC,KAAyB,CACzF,MAAMC,EAAY,IAAIH,CAAI,GAE1B,OACEI,EAAAA,KAAC,SAAA,CAAO,UAAWC,EAAO,OACvB,SAAA,CAAAH,EAAM,aAAeI,MAAC,MAAA,CAAK,SAAAJ,EAAM,YAAY,EAC7CD,GAASK,EAAAA,IAACH,EAAA,CAAW,SAAAF,CAAA,CAAM,EAC3BC,EAAM,WAAaI,MAAC,MAAA,CAAK,WAAM,UAAU,EACzCP,GAAYA,CAAA,EACf,CAEJ"}
@@ -1,15 +1,16 @@
1
- import { jsxs as c, jsx as a } from "react/jsx-runtime";
2
- import '../../assets/index13.css';const n = "_header_1xswd_1", o = {
1
+ import { jsxs as c, jsx as r } from "react/jsx-runtime";
2
+ import '../../assets/index7.css';const n = "_header_1yjge_1", t = {
3
3
  header: n
4
- }, x = ({ children: e, size: d = 1, label: s = "Header", subtitle: r }) => {
5
- const h = `h${d}`;
6
- return /* @__PURE__ */ c("header", { className: o.header, children: [
7
- /* @__PURE__ */ a(h, { children: s }),
8
- r && /* @__PURE__ */ a("p", { children: r }),
9
- e && e
4
+ }, H = ({ children: d, size: s = 1, label: a = "Header", ...e }) => {
5
+ const h = `h${s}`;
6
+ return /* @__PURE__ */ c("header", { className: t.header, children: [
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
10
11
  ] });
11
12
  };
12
13
  export {
13
- x as Header
14
+ H as Header
14
15
  };
15
16
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../src/components/header/index.tsx"],"sourcesContent":["import { JSX } from 'react';\n\nimport styles from './styles.module.css';\n\nexport type HeaderProps = {\n children?: React.ReactNode;\n label: string;\n size?: 1 | 2 | 3;\n subtitle?: string;\n};\n\nexport const Header = ({ children, size = 1, label = 'Header', subtitle }: HeaderProps) => {\n const HeaderTag = `h${size}` as keyof JSX.IntrinsicElements;\n\n return (\n <header className={styles.header}>\n <HeaderTag>{label}</HeaderTag>\n {subtitle && <p>{subtitle}</p>}\n {children && children}\n </header>\n );\n};\n"],"names":["Header","children","size","label","subtitle","HeaderTag","jsxs","styles","jsx"],"mappings":";;;GAWaA,IAAS,CAAC,EAAE,UAAAC,GAAU,MAAAC,IAAO,GAAG,OAAAC,IAAQ,UAAU,UAAAC,QAA4B;AACzF,QAAMC,IAAY,IAAIH,CAAI;AAE1B,SACE,gBAAAI,EAAC,UAAA,EAAO,WAAWC,EAAO,QACxB,UAAA;AAAA,IAAA,gBAAAC,EAACH,KAAW,UAAAF,EAAA,CAAM;AAAA,IACjBC,KAAY,gBAAAI,EAAC,KAAA,EAAG,UAAAJ,EAAA,CAAS;AAAA,IACzBH,KAAYA;AAAA,EAAA,GACf;AAEJ;"}
1
+ {"version":3,"file":"index.js","sources":["../../../src/components/header/index.tsx"],"sourcesContent":["import { JSX } from 'react';\n\nimport styles from './styles.module.css';\n\nexport type HeaderProps = {\n children?: React.ReactNode;\n label?: string;\n size?: 1 | 2 | 3;\n superHeader?: string;\n subHeader?: string;\n};\n\nexport const Header = ({ children, size = 1, label = 'Header', ...props }: HeaderProps) => {\n const HeaderTag = `h${size}` as keyof JSX.IntrinsicElements;\n\n return (\n <header className={styles.header}>\n {props.superHeader && <sup>{props.superHeader}</sup>}\n {label && <HeaderTag>{label}</HeaderTag>}\n {props.subHeader && <sub>{props.subHeader}</sub>}\n {children && children}\n </header>\n );\n};\n"],"names":["Header","children","size","label","props","HeaderTag","jsxs","styles","jsx"],"mappings":";;;GAYaA,IAAS,CAAC,EAAE,UAAAC,GAAU,MAAAC,IAAO,GAAG,OAAAC,IAAQ,UAAU,GAAGC,QAAyB;AACzF,QAAMC,IAAY,IAAIH,CAAI;AAE1B,SACE,gBAAAI,EAAC,UAAA,EAAO,WAAWC,EAAO,QACvB,UAAA;AAAA,IAAAH,EAAM,eAAe,gBAAAI,EAAC,OAAA,EAAK,UAAAJ,EAAM,aAAY;AAAA,IAC7CD,KAAS,gBAAAK,EAACH,GAAA,EAAW,UAAAF,EAAA,CAAM;AAAA,IAC3BC,EAAM,aAAa,gBAAAI,EAAC,OAAA,EAAK,YAAM,WAAU;AAAA,IACzCP,KAAYA;AAAA,EAAA,GACf;AAEJ;"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index19.css');const a=require("react/jsx-runtime"),c=require("../../classix-5H4IWnMA.cjs");function r(m){return`url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='black'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='${m}' /%3E%3C/svg%3E%0A")`}const i={bold:"M6.75 3.744h-.753v8.25h7.125a4.125 4.125 0 0 0 0-8.25H6.75Zm0 0v.38m0 16.122h6.747a4.5 4.5 0 0 0 0-9.001h-7.5v9h.753Zm0 0v-.37m0-15.751h6a3.75 3.75 0 1 1 0 7.5h-6m0-7.5v7.5m0 0v8.25m0-8.25h6.375a4.125 4.125 0 0 1 0 8.25H6.75m.747-15.38h4.875a3.375 3.375 0 0 1 0 6.75H7.497v-6.75Zm0 7.5h5.25a3.75 3.75 0 0 1 0 7.5h-5.25v-7.5Z",chevron:"m19.5 8.25-7.5 7.5-7.5-7.5",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",italic:"M5.248 20.246H9.05m0 0h3.696m-3.696 0 5.893-16.502m0 0h-3.697m3.697 0h3.803",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",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",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",x:"M6 18 18 6M6 6l12 12"},u="_icon_u4umi_1",h="_small_u4umi_8",d="_medium_u4umi_13",_="_large_u4umi_18",g="_dialog_u4umi_27",v="_white_u4umi_31",p="_wrapper_u4umi_35",e={icon:u,small:h,medium:d,large:_,default:"_default_u4umi_23",dialog:g,white:v,wrapper:p},w={medium:e.medium,large:e.large,small:e.small},M={default:e.default,dialog:e.dialog,white:e.white},Z=({name:m="home",size:o="medium",variant:t="default"})=>{const l={maskImage:r(i[m].toString())},n=({children:s})=>t==="dialog"?a.jsx("span",{className:e.wrapper,"data-testid":"wrapper",children:s}):a.jsx(a.Fragment,{children:s});return a.jsx(n,{children:a.jsx("span",{className:c.t(w[o],e.icon,M[t]),style:l})})},x=()=>Object.keys(i);exports.Icon=Z;exports.Icons=x;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index24.css');const t=require("react/jsx-runtime"),l=require("../../classix-5H4IWnMA.cjs");function M(a){return`url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='black'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='${a}' /%3E%3C/svg%3E%0A")`}const c={bold:"M6.75 3.744h-.753v8.25h7.125a4.125 4.125 0 0 0 0-8.25H6.75Zm0 0v.38m0 16.122h6.747a4.5 4.5 0 0 0 0-9.001h-7.5v9h.753Zm0 0v-.37m0-15.751h6a3.75 3.75 0 1 1 0 7.5h-6m0-7.5v7.5m0 0v8.25m0-8.25h6.375a4.125 4.125 0 0 1 0 8.25H6.75m.747-15.38h4.875a3.375 3.375 0 0 1 0 6.75H7.497v-6.75Zm0 7.5h5.25a3.75 3.75 0 0 1 0 7.5h-5.25v-7.5Z",buildings:"M2.25 21h19.5m-18-18v18m10.5-18v18m6-13.5V21M6.75 6.75h.75m-.75 3h.75m-.75 3h.75m3-6h.75m-.75 3h.75m-.75 3h.75M6.75 21v-3.375c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125V21M3 3h12m-.75 4.5H21m-3.75 3.75h.008v.008h-.008v-.008Zm0 3h.008v.008h-.008v-.008Zm0 3h.008v.008h-.008v-.008Z",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",chevron:"m19.5 8.25-7.5 7.5-7.5-7.5",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",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",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",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",italic:"M5.248 20.246H9.05m0 0h3.696m-3.696 0 5.893-16.502m0 0h-3.697m3.697 0h3.803",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",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",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",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",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",plus:"M12 4.5v15m7.5-7.5h-15",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",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",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",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",x:"M6 18 18 6M6 6l12 12"},n="_icon_1swff_1",o="_small_1swff_8",i="_medium_1swff_13",v="_large_1swff_18",r="_primary_1swff_27",u="_white_1swff_31",m={icon:n,small:o,medium:i,large:v,default:"_default_1swff_23",primary:r,white:u},d={large:m.large,medium:m.medium,small:m.small},L={default:m.default,primary:m.primary,white:m.white},Z=({name:a="home",size:e="medium",variant:h="default"})=>{const s={maskImage:M(c[a].toString())};return t.jsx("span",{className:l.t(d[e],m.icon,L[h]),style:s})},f=()=>Object.keys(c);exports.Icon=Z;exports.Icons=f;
2
2
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","sources":["../../../src/components/icon/icons.ts","../../../src/components/icon/index.tsx"],"sourcesContent":["export function embedSVG(iconPath: string) {\n return `url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='black'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='${iconPath}' /%3E%3C/svg%3E%0A\")`;\n}\n\nexport const iconPaths = {\n bold: 'M6.75 3.744h-.753v8.25h7.125a4.125 4.125 0 0 0 0-8.25H6.75Zm0 0v.38m0 16.122h6.747a4.5 4.5 0 0 0 0-9.001h-7.5v9h.753Zm0 0v-.37m0-15.751h6a3.75 3.75 0 1 1 0 7.5h-6m0-7.5v7.5m0 0v8.25m0-8.25h6.375a4.125 4.125 0 0 1 0 8.25H6.75m.747-15.38h4.875a3.375 3.375 0 0 1 0 6.75H7.497v-6.75Zm0 7.5h5.25a3.75 3.75 0 0 1 0 7.5h-5.25v-7.5Z',\n chevron: 'm19.5 8.25-7.5 7.5-7.5-7.5',\n 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',\n italic: 'M5.248 20.246H9.05m0 0h3.696m-3.696 0 5.893-16.502m0 0h-3.697m3.697 0h3.803',\n 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',\n 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',\n 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',\n x: 'M6 18 18 6M6 6l12 12',\n};\n\nexport type IconName = keyof typeof iconPaths;\n","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 medium: styles.medium,\n large: styles.large,\n small: styles.small,\n};\n\nconst variants = {\n default: styles.default,\n dialog: styles.dialog,\n white: styles.white,\n};\n\nexport type IconProps = {\n variant?: keyof typeof variants;\n name: IconName;\n size?: keyof typeof sizes;\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 Wrapper = ({ children }: { children: React.ReactNode }) =>\n variant === 'dialog' ? (\n <span\n className={styles.wrapper}\n data-testid='wrapper'\n >\n {children}\n </span>\n ) : (\n <>{children}</>\n );\n\n return (\n <Wrapper>\n <span\n className={cx(sizes[size], styles.icon, variants[variant])}\n style={iconStyle}\n />\n </Wrapper>\n );\n};\n\nexport const Icons = () => {\n return Object.keys(iconPaths);\n};\n"],"names":["embedSVG","iconPath","iconPaths","sizes","styles","variants","Icon","name","size","variant","iconStyle","Wrapper","children","jsx","cx","Icons"],"mappings":"6JAAO,SAASA,EAASC,EAAkB,CACzC,MAAO,mMAAmMA,CAAQ,uBACpN,CAEO,MAAMC,EAAY,CACvB,KAAM,uUACN,QAAS,6BACT,KAAM,6OACN,OAAQ,8EACR,KAAM,4KACN,KAAM,wRACN,OAAQ,gFACR,EAAG,sBACL,0OCPMC,EAAQ,CACZ,OAAQC,EAAO,OACf,MAAOA,EAAO,MACd,MAAOA,EAAO,KAChB,EAEMC,EAAW,CACf,QAASD,EAAO,QAChB,OAAQA,EAAO,OACf,MAAOA,EAAO,KAChB,EAQaE,EAAO,CAAC,CAAE,KAAAC,EAAO,OAAQ,KAAAC,EAAO,SAAU,QAAAC,EAAU,aAA2B,CAC1F,MAAMC,EAAY,CAChB,UAAWV,EAASE,EAAUK,CAAI,EAAE,UAAU,CAAA,EAG1CI,EAAU,CAAC,CAAE,SAAAC,CAAA,IACjBH,IAAY,SACVI,EAAAA,IAAC,OAAA,CACC,UAAWT,EAAO,QAClB,cAAY,UAEX,SAAAQ,CAAA,CAAA,oBAGA,SAAAA,EAAS,EAGhB,aACGD,EAAA,CACC,SAAAE,EAAAA,IAAC,OAAA,CACC,UAAWC,EAAAA,EAAGX,EAAMK,CAAI,EAAGJ,EAAO,KAAMC,EAASI,CAAO,CAAC,EACzD,MAAOC,CAAA,CAAA,EAEX,CAEJ,EAEaK,EAAQ,IACZ,OAAO,KAAKb,CAAS"}
1
+ {"version":3,"file":"index.cjs","sources":["../../../src/components/icon/icons.ts","../../../src/components/icon/index.tsx"],"sourcesContent":["export function embedSVG(iconPath: string): string {\n return `url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='black'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='${iconPath}' /%3E%3C/svg%3E%0A\")`;\n}\n\nexport const iconPaths = {\n bold: 'M6.75 3.744h-.753v8.25h7.125a4.125 4.125 0 0 0 0-8.25H6.75Zm0 0v.38m0 16.122h6.747a4.5 4.5 0 0 0 0-9.001h-7.5v9h.753Zm0 0v-.37m0-15.751h6a3.75 3.75 0 1 1 0 7.5h-6m0-7.5v7.5m0 0v8.25m0-8.25h6.375a4.125 4.125 0 0 1 0 8.25H6.75m.747-15.38h4.875a3.375 3.375 0 0 1 0 6.75H7.497v-6.75Zm0 7.5h5.25a3.75 3.75 0 0 1 0 7.5h-5.25v-7.5Z',\n buildings:\n 'M2.25 21h19.5m-18-18v18m10.5-18v18m6-13.5V21M6.75 6.75h.75m-.75 3h.75m-.75 3h.75m3-6h.75m-.75 3h.75m-.75 3h.75M6.75 21v-3.375c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125V21M3 3h12m-.75 4.5H21m-3.75 3.75h.008v.008h-.008v-.008Zm0 3h.008v.008h-.008v-.008Zm0 3h.008v.008h-.008v-.008Z',\n 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',\n chevron: 'm19.5 8.25-7.5 7.5-7.5-7.5',\n clipboard:\n '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',\n 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',\n document:\n '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',\n 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',\n italic: 'M5.248 20.246H9.05m0 0h3.696m-3.696 0 5.893-16.502m0 0h-3.697m3.697 0h3.803',\n 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',\n 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',\n pencil:\n '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',\n people:\n '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',\n phone:\n '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',\n plus: 'M12 4.5v15m7.5-7.5h-15',\n 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',\n toDocument:\n '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',\n upload:\n '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',\n 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',\n x: 'M6 18 18 6M6 6l12 12',\n};\n\nexport type IconName = keyof typeof iconPaths;\n","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":["embedSVG","iconPath","iconPaths","sizes","styles","variants","Icon","name","size","variant","iconStyle","jsx","cx","Icons"],"mappings":"6JAAO,SAASA,EAASC,EAA0B,CACjD,MAAO,mMAAmMA,CAAQ,uBACpN,CAEO,MAAMC,EAAY,CACvB,KAAM,uUACN,UACE,6SACF,KAAM,+TACN,QAAS,6BACT,UACE,iiBACF,KAAM,2eACN,SACE,oQACF,KAAM,6OACN,OAAQ,8EACR,KAAM,4KACN,KAAM,wRACN,OACE,2PACF,OACE,4XACF,MACE,oWACF,KAAM,yBACN,OAAQ,gFACR,WACE,uIACF,OACE,6GACF,KAAM,0JACN,EAAG,sBACL,4MC3BMC,EAAQ,CACZ,MAAOC,EAAO,MACd,OAAQA,EAAO,OACf,MAAOA,EAAO,KAChB,EAEMC,EAAW,CACf,QAASD,EAAO,QAChB,QAASA,EAAO,QAChB,MAAOA,EAAO,KAChB,EASaE,EAAO,CAAC,CAAE,KAAAC,EAAO,OAAQ,KAAAC,EAAO,SAAU,QAAAC,EAAU,aAA2B,CAC1F,MAAMC,EAAY,CAChB,UAAWV,EAASE,EAAUK,CAAI,EAAE,UAAU,CAAA,EAUhD,OANEI,EAAAA,IAAC,OAAA,CACC,UAAWC,EAAAA,EAAGT,EAAMK,CAAI,EAAGJ,EAAO,KAAMC,EAASI,CAAO,CAAC,EACzD,MAAOC,CAAA,CAAA,CAKb,EAEaG,EAAQ,IACZ,OAAO,KAAKX,CAAS"}
@@ -1,55 +1,59 @@
1
- import { jsx as a, Fragment as n } from "react/jsx-runtime";
2
- import { t as r } from "../../classix-DG18itHa.js";
3
- import '../../assets/index19.css';function c(e) {
4
- return `url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='black'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='${e}' /%3E%3C/svg%3E%0A")`;
1
+ import { jsx as l } from "react/jsx-runtime";
2
+ import { t } from "../../classix-DG18itHa.js";
3
+ import '../../assets/index24.css';function s(a) {
4
+ return `url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='black'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='${a}' /%3E%3C/svg%3E%0A")`;
5
5
  }
6
- const s = {
6
+ const h = {
7
7
  bold: "M6.75 3.744h-.753v8.25h7.125a4.125 4.125 0 0 0 0-8.25H6.75Zm0 0v.38m0 16.122h6.747a4.5 4.5 0 0 0 0-9.001h-7.5v9h.753Zm0 0v-.37m0-15.751h6a3.75 3.75 0 1 1 0 7.5h-6m0-7.5v7.5m0 0v8.25m0-8.25h6.375a4.125 4.125 0 0 1 0 8.25H6.75m.747-15.38h4.875a3.375 3.375 0 0 1 0 6.75H7.497v-6.75Zm0 7.5h5.25a3.75 3.75 0 0 1 0 7.5h-5.25v-7.5Z",
8
+ buildings: "M2.25 21h19.5m-18-18v18m10.5-18v18m6-13.5V21M6.75 6.75h.75m-.75 3h.75m-.75 3h.75m3-6h.75m-.75 3h.75m-.75 3h.75M6.75 21v-3.375c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125V21M3 3h12m-.75 4.5H21m-3.75 3.75h.008v.008h-.008v-.008Zm0 3h.008v.008h-.008v-.008Zm0 3h.008v.008h-.008v-.008Z",
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",
8
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",
9
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",
10
15
  italic: "M5.248 20.246H9.05m0 0h3.696m-3.696 0 5.893-16.502m0 0h-3.697m3.697 0h3.803",
11
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",
12
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",
13
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",
14
26
  x: "M6 18 18 6M6 6l12 12"
15
- }, h = "_icon_u4umi_1", u = "_small_u4umi_8", d = "_medium_u4umi_13", _ = "_large_u4umi_18", p = "_dialog_u4umi_27", g = "_white_u4umi_31", v = "_wrapper_u4umi_35", m = {
16
- icon: h,
17
- small: u,
18
- medium: d,
19
- large: _,
20
- default: "_default_u4umi_23",
21
- dialog: p,
22
- white: g,
23
- wrapper: v
24
- }, w = {
25
- medium: m.medium,
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,
32
+ default: "_default_1swff_23",
33
+ primary: r,
34
+ white: L
35
+ }, Z = {
26
36
  large: m.large,
37
+ medium: m.medium,
27
38
  small: m.small
28
- }, M = {
39
+ }, u = {
29
40
  default: m.default,
30
- dialog: m.dialog,
41
+ primary: m.primary,
31
42
  white: m.white
32
- }, H = ({ name: e = "home", size: i = "medium", variant: t = "default" }) => {
33
- const l = {
34
- maskImage: c(s[e].toString())
43
+ }, p = ({ name: a = "home", size: c = "medium", variant: e = "default" }) => {
44
+ const M = {
45
+ maskImage: s(h[a].toString())
35
46
  };
36
- return /* @__PURE__ */ a(({ children: o }) => t === "dialog" ? /* @__PURE__ */ a(
37
- "span",
38
- {
39
- className: m.wrapper,
40
- "data-testid": "wrapper",
41
- children: o
42
- }
43
- ) : /* @__PURE__ */ a(n, { children: o }), { children: /* @__PURE__ */ a(
47
+ return /* @__PURE__ */ l(
44
48
  "span",
45
49
  {
46
- className: r(w[i], m.icon, M[t]),
47
- style: l
50
+ className: t(Z[c], m.icon, u[e]),
51
+ style: M
48
52
  }
49
- ) });
50
- }, x = () => Object.keys(s);
53
+ );
54
+ }, w = () => Object.keys(h);
51
55
  export {
52
- H as Icon,
53
- x as Icons
56
+ p as Icon,
57
+ w as Icons
54
58
  };
55
59
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../src/components/icon/icons.ts","../../../src/components/icon/index.tsx"],"sourcesContent":["export function embedSVG(iconPath: string) {\n return `url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='black'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='${iconPath}' /%3E%3C/svg%3E%0A\")`;\n}\n\nexport const iconPaths = {\n bold: 'M6.75 3.744h-.753v8.25h7.125a4.125 4.125 0 0 0 0-8.25H6.75Zm0 0v.38m0 16.122h6.747a4.5 4.5 0 0 0 0-9.001h-7.5v9h.753Zm0 0v-.37m0-15.751h6a3.75 3.75 0 1 1 0 7.5h-6m0-7.5v7.5m0 0v8.25m0-8.25h6.375a4.125 4.125 0 0 1 0 8.25H6.75m.747-15.38h4.875a3.375 3.375 0 0 1 0 6.75H7.497v-6.75Zm0 7.5h5.25a3.75 3.75 0 0 1 0 7.5h-5.25v-7.5Z',\n chevron: 'm19.5 8.25-7.5 7.5-7.5-7.5',\n 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',\n italic: 'M5.248 20.246H9.05m0 0h3.696m-3.696 0 5.893-16.502m0 0h-3.697m3.697 0h3.803',\n 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',\n 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',\n 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',\n x: 'M6 18 18 6M6 6l12 12',\n};\n\nexport type IconName = keyof typeof iconPaths;\n","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 medium: styles.medium,\n large: styles.large,\n small: styles.small,\n};\n\nconst variants = {\n default: styles.default,\n dialog: styles.dialog,\n white: styles.white,\n};\n\nexport type IconProps = {\n variant?: keyof typeof variants;\n name: IconName;\n size?: keyof typeof sizes;\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 Wrapper = ({ children }: { children: React.ReactNode }) =>\n variant === 'dialog' ? (\n <span\n className={styles.wrapper}\n data-testid='wrapper'\n >\n {children}\n </span>\n ) : (\n <>{children}</>\n );\n\n return (\n <Wrapper>\n <span\n className={cx(sizes[size], styles.icon, variants[variant])}\n style={iconStyle}\n />\n </Wrapper>\n );\n};\n\nexport const Icons = () => {\n return Object.keys(iconPaths);\n};\n"],"names":["embedSVG","iconPath","iconPaths","sizes","styles","variants","Icon","name","size","variant","iconStyle","children","jsx","cx","Icons"],"mappings":";;AAAO,SAASA,EAASC,GAAkB;AACzC,SAAO,mMAAmMA,CAAQ;AACpN;AAEO,MAAMC,IAAY;AAAA,EACvB,MAAM;AAAA,EACN,SAAS;AAAA,EACT,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,MAAM;AAAA,EACN,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,GAAG;AACL;;;;;;;;;GCPMC,IAAQ;AAAA,EACZ,QAAQC,EAAO;AAAA,EACf,OAAOA,EAAO;AAAA,EACd,OAAOA,EAAO;AAChB,GAEMC,IAAW;AAAA,EACf,SAASD,EAAO;AAAA,EAChB,QAAQA,EAAO;AAAA,EACf,OAAOA,EAAO;AAChB,GAQaE,IAAO,CAAC,EAAE,MAAAC,IAAO,QAAQ,MAAAC,IAAO,UAAU,SAAAC,IAAU,gBAA2B;AAC1F,QAAMC,IAAY;AAAA,IAChB,WAAWV,EAASE,EAAUK,CAAI,EAAE,UAAU;AAAA,EAAA;AAehD,2BAZgB,CAAC,EAAE,UAAAI,EAAA,MACjBF,MAAY,WACV,gBAAAG;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAWR,EAAO;AAAA,MAClB,eAAY;AAAA,MAEX,UAAAO;AAAA,IAAA;AAAA,EAAA,2BAGA,UAAAA,GAAS,GAIb,EACC,UAAA,gBAAAC;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAWC,EAAGV,EAAMK,CAAI,GAAGJ,EAAO,MAAMC,EAASI,CAAO,CAAC;AAAA,MACzD,OAAOC;AAAA,IAAA;AAAA,EAAA,GAEX;AAEJ,GAEaI,IAAQ,MACZ,OAAO,KAAKZ,CAAS;"}
1
+ {"version":3,"file":"index.js","sources":["../../../src/components/icon/icons.ts","../../../src/components/icon/index.tsx"],"sourcesContent":["export function embedSVG(iconPath: string): string {\n return `url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='black'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='${iconPath}' /%3E%3C/svg%3E%0A\")`;\n}\n\nexport const iconPaths = {\n bold: 'M6.75 3.744h-.753v8.25h7.125a4.125 4.125 0 0 0 0-8.25H6.75Zm0 0v.38m0 16.122h6.747a4.5 4.5 0 0 0 0-9.001h-7.5v9h.753Zm0 0v-.37m0-15.751h6a3.75 3.75 0 1 1 0 7.5h-6m0-7.5v7.5m0 0v8.25m0-8.25h6.375a4.125 4.125 0 0 1 0 8.25H6.75m.747-15.38h4.875a3.375 3.375 0 0 1 0 6.75H7.497v-6.75Zm0 7.5h5.25a3.75 3.75 0 0 1 0 7.5h-5.25v-7.5Z',\n buildings:\n 'M2.25 21h19.5m-18-18v18m10.5-18v18m6-13.5V21M6.75 6.75h.75m-.75 3h.75m-.75 3h.75m3-6h.75m-.75 3h.75m-.75 3h.75M6.75 21v-3.375c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125V21M3 3h12m-.75 4.5H21m-3.75 3.75h.008v.008h-.008v-.008Zm0 3h.008v.008h-.008v-.008Zm0 3h.008v.008h-.008v-.008Z',\n 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',\n chevron: 'm19.5 8.25-7.5 7.5-7.5-7.5',\n clipboard:\n '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',\n 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',\n document:\n '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',\n 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',\n italic: 'M5.248 20.246H9.05m0 0h3.696m-3.696 0 5.893-16.502m0 0h-3.697m3.697 0h3.803',\n 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',\n 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',\n pencil:\n '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',\n people:\n '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',\n phone:\n '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',\n plus: 'M12 4.5v15m7.5-7.5h-15',\n 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',\n toDocument:\n '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',\n upload:\n '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',\n 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',\n x: 'M6 18 18 6M6 6l12 12',\n};\n\nexport type IconName = keyof typeof iconPaths;\n","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":["embedSVG","iconPath","iconPaths","sizes","styles","variants","Icon","name","size","variant","iconStyle","jsx","cx","Icons"],"mappings":";;AAAO,SAASA,EAASC,GAA0B;AACjD,SAAO,mMAAmMA,CAAQ;AACpN;AAEO,MAAMC,IAAY;AAAA,EACvB,MAAM;AAAA,EACN,WACE;AAAA,EACF,MAAM;AAAA,EACN,SAAS;AAAA,EACT,WACE;AAAA,EACF,MAAM;AAAA,EACN,UACE;AAAA,EACF,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,MAAM;AAAA,EACN,MAAM;AAAA,EACN,QACE;AAAA,EACF,QACE;AAAA,EACF,OACE;AAAA,EACF,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,YACE;AAAA,EACF,QACE;AAAA,EACF,MAAM;AAAA,EACN,GAAG;AACL;;;;;;;;GC3BMC,IAAQ;AAAA,EACZ,OAAOC,EAAO;AAAA,EACd,QAAQA,EAAO;AAAA,EACf,OAAOA,EAAO;AAChB,GAEMC,IAAW;AAAA,EACf,SAASD,EAAO;AAAA,EAChB,SAASA,EAAO;AAAA,EAChB,OAAOA,EAAO;AAChB,GASaE,IAAO,CAAC,EAAE,MAAAC,IAAO,QAAQ,MAAAC,IAAO,UAAU,SAAAC,IAAU,gBAA2B;AAC1F,QAAMC,IAAY;AAAA,IAChB,WAAWV,EAASE,EAAUK,CAAI,EAAE,UAAU;AAAA,EAAA;AAUhD,SANE,gBAAAI;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAWC,EAAGT,EAAMK,CAAI,GAAGJ,EAAO,MAAMC,EAASI,CAAO,CAAC;AAAA,MACzD,OAAOC;AAAA,IAAA;AAAA,EAAA;AAKb,GAEaG,IAAQ,MACZ,OAAO,KAAKX,CAAS;"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index8.css');const e=require("react/jsx-runtime"),c=require("../../classix-5H4IWnMA.cjs"),o=require("react"),p="_input_drn1u_1",d="_label_drn1u_13",s={input:p,label:d},b=o.forwardRef(({className:n,disabled:r=!1,label:t,placeholder:l,type:u="text",...i},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:r,placeholder:l,type:u,...i})]}));exports.Input=b;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index13.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?: 'email' | 'number' | 'password' | '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,CAAE,UAAAC,EAAW,SAAAC,EAAW,GAAO,MAAAC,EAAO,YAAAC,EAAa,KAAAC,EAAO,OAAQ,GAAGC,CAAA,EAASC,WAE1E,QAAA,CACE,SAAA,CAAAJ,GAASK,EAAAA,IAAC,OAAA,CAAK,UAAWC,EAAO,MAAQ,SAAAN,EAAM,EAChDK,EAAAA,IAAC,QAAA,CACC,IAAAD,EACA,UAAWG,EAAAA,EAAGD,EAAO,MAAOR,CAAS,EACrC,SAAAC,EACA,YAAAE,EACA,KAAAC,EACC,GAAGC,CAAA,CAAA,CACN,EACF,CAGN"}
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,CAAE,UAAAC,EAAW,SAAAC,EAAW,GAAO,MAAAC,EAAO,YAAAC,EAAa,KAAAC,EAAO,OAAQ,GAAGC,CAAA,EAASC,WAE1E,QAAA,CACE,SAAA,CAAAJ,GAASK,EAAAA,IAAC,OAAA,CAAK,UAAWC,EAAO,MAAQ,SAAAN,EAAM,EAChDK,EAAAA,IAAC,QAAA,CACC,IAAAD,EACA,UAAWG,EAAAA,EAAGD,EAAO,MAAOR,CAAS,EACrC,SAAAC,EACA,YAAAE,EACA,KAAAC,EACC,GAAGC,CAAA,CAAA,CACN,EACF,CAGN"}
@@ -1,21 +1,21 @@
1
1
  import { jsxs as i, jsx as n } from "react/jsx-runtime";
2
- import { t as u } from "../../classix-DG18itHa.js";
3
- import { forwardRef as c } from "react";
4
- import '../../assets/index8.css';const m = "_input_drn1u_1", f = "_label_drn1u_13", r = {
5
- input: m,
2
+ import { t as c } from "../../classix-DG18itHa.js";
3
+ import { forwardRef as m } from "react";
4
+ import '../../assets/index13.css';const u = "_input_13pnj_1", f = "_label_13pnj_33", s = {
5
+ input: u,
6
6
  label: f
7
- }, x = c(
8
- ({ className: s, disabled: e = !1, label: t, placeholder: l, type: o = "text", ...a }, p) => /* @__PURE__ */ i("label", { children: [
9
- t && /* @__PURE__ */ n("span", { className: r.label, children: t }),
7
+ }, x = m(
8
+ ({ className: e, disabled: l = !1, label: t, placeholder: p, type: r = "text", ...o }, a) => /* @__PURE__ */ i("label", { children: [
9
+ t && /* @__PURE__ */ n("span", { className: s.label, children: t }),
10
10
  /* @__PURE__ */ n(
11
11
  "input",
12
12
  {
13
- ref: p,
14
- className: u(r.input, s),
15
- disabled: e,
16
- placeholder: l,
17
- type: o,
18
- ...a
13
+ ref: a,
14
+ className: c(s.input, e),
15
+ disabled: l,
16
+ placeholder: p,
17
+ type: r,
18
+ ...o
19
19
  }
20
20
  )
21
21
  ] })
@@ -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?: 'email' | 'number' | 'password' | '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;AAAA,EACnB,CAAC,EAAE,WAAAC,GAAW,UAAAC,IAAW,IAAO,OAAAC,GAAO,aAAAC,GAAa,MAAAC,IAAO,QAAQ,GAAGC,EAAA,GAASC,wBAE1E,SAAA,EACE,UAAA;AAAA,IAAAJ,KAAS,gBAAAK,EAAC,QAAA,EAAK,WAAWC,EAAO,OAAQ,UAAAN,GAAM;AAAA,IAChD,gBAAAK;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,KAAAD;AAAA,QACA,WAAWG,EAAGD,EAAO,OAAOR,CAAS;AAAA,QACrC,UAAAC;AAAA,QACA,aAAAE;AAAA,QACA,MAAAC;AAAA,QACC,GAAGC;AAAA,MAAA;AAAA,IAAA;AAAA,EACN,GACF;AAGN;"}
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;AAAA,EACnB,CAAC,EAAE,WAAAC,GAAW,UAAAC,IAAW,IAAO,OAAAC,GAAO,aAAAC,GAAa,MAAAC,IAAO,QAAQ,GAAGC,EAAA,GAASC,wBAE1E,SAAA,EACE,UAAA;AAAA,IAAAJ,KAAS,gBAAAK,EAAC,QAAA,EAAK,WAAWC,EAAO,OAAQ,UAAAN,GAAM;AAAA,IAChD,gBAAAK;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,KAAAD;AAAA,QACA,WAAWG,EAAGD,EAAO,OAAOR,CAAS;AAAA,QACrC,UAAAC;AAAA,QACA,aAAAE;AAAA,QACA,MAAAC;AAAA,QACC,GAAGC;AAAA,MAAA;AAAA,IAAA;AAAA,EACN,GACF;AAGN;"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index6.css');const u=require("react/jsx-runtime"),a=require("../../classix-5H4IWnMA.cjs"),n="_layout_b6ho7_1",c="_home_b6ho7_2",o={layout:n,home:c},l=({children:t,feature:e="home",...s})=>u.jsx("main",{className:a.t(o.layout,o[e]),...s,children:t});exports.Layout=l;
2
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +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,EAAS,CAAC,CAAE,SAAAC,EAAU,QAAAC,EAAU,OAAQ,GAAGC,KAEpDC,EAAAA,IAAC,OAAA,CACC,UAAWC,EAAAA,EAAGC,EAAO,OAAQA,EAAOJ,CAAO,CAAC,EAC3C,GAAGC,EAEH,SAAAF,CAAA,CAAA"}
@@ -0,0 +1,17 @@
1
+ import { jsx as a } from "react/jsx-runtime";
2
+ import { t as e } from "../../classix-DG18itHa.js";
3
+ import '../../assets/index6.css';const r = "_layout_b6ho7_1", h = "_home_b6ho7_2", o = {
4
+ layout: r,
5
+ home: h
6
+ }, u = ({ children: t, feature: m = "home", ...s }) => /* @__PURE__ */ a(
7
+ "main",
8
+ {
9
+ className: e(o.layout, o[m]),
10
+ ...s,
11
+ children: t
12
+ }
13
+ );
14
+ export {
15
+ u as Layout
16
+ };
17
+ //# sourceMappingURL=index.js.map
@@ -0,0 +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,IAAS,CAAC,EAAE,UAAAC,GAAU,SAAAC,IAAU,QAAQ,GAAGC,QAEpD,gBAAAC;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,WAAWC,EAAGC,EAAO,QAAQA,EAAOJ,CAAO,CAAC;AAAA,IAC3C,GAAGC;AAAA,IAEH,UAAAF;AAAA,EAAA;AAAA;"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index4.css');const r=require("react/jsx-runtime"),l=require("../../classix-5H4IWnMA.cjs"),c="_link_hn9kh_1",o={link:c},k=({children:e,className:n,to:s="#",label:t,...i})=>r.jsx("a",{className:l.t(n,o.link),href:s,...i,children:e||t});exports.Link=k;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index5.css');const r=require("react/jsx-runtime"),c=require("../../classix-5H4IWnMA.cjs"),l="_link_ci6no_1",o={link:l},u=({children:e,className:n,to:s="#",label:t,...i})=>r.jsx("a",{className:c.t(n,o.link),href:s,...i,children:e||t});exports.Link=u;
2
2
  //# sourceMappingURL=index.cjs.map
@@ -1,14 +1,14 @@
1
- import { jsx as i } from "react/jsx-runtime";
2
- import { t as k } from "../../classix-DG18itHa.js";
3
- import '../../assets/index4.css';const l = "_link_hn9kh_1", e = {
4
- link: l
5
- }, a = ({ children: n, className: t, to: o = "#", label: r, ...s }) => /* @__PURE__ */ i(
1
+ import { jsx as s } from "react/jsx-runtime";
2
+ import { t as l } from "../../classix-DG18itHa.js";
3
+ import '../../assets/index5.css';const c = "_link_ci6no_1", e = {
4
+ link: c
5
+ }, a = ({ children: n, className: o, to: t = "#", label: i, ...r }) => /* @__PURE__ */ s(
6
6
  "a",
7
7
  {
8
- className: k(t, e.link),
9
- href: o,
10
- ...s,
11
- children: n || r
8
+ className: l(o, e.link),
9
+ href: t,
10
+ ...r,
11
+ children: n || i
12
12
  }
13
13
  );
14
14
  export {
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index3.css');const e=require("react/jsx-runtime"),i=require("../../classix-5H4IWnMA.cjs"),l="_list_1f3ya_1",r={list:l},c=({children:s,className:t})=>e.jsx("ul",{className:i.t(t,r.list),children:s});exports.List=c;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index4.css');const e=require("react/jsx-runtime"),i=require("../../classix-5H4IWnMA.cjs"),l="_list_9ltl4_1",r={list:l},c=({children:t,className:s})=>e.jsx("ul",{className:i.t(s,r.list),children:t});exports.List=c;
2
2
  //# sourceMappingURL=index.cjs.map
@@ -1,8 +1,8 @@
1
- import { jsx as o } from "react/jsx-runtime";
2
- import { t as i } from "../../classix-DG18itHa.js";
3
- import '../../assets/index3.css';const l = "_list_1f3ya_1", r = {
4
- list: l
5
- }, e = ({ children: t, className: s }) => /* @__PURE__ */ o("ul", { className: i(s, r.list), children: t });
1
+ import { jsx as l } from "react/jsx-runtime";
2
+ import { t as o } from "../../classix-DG18itHa.js";
3
+ import '../../assets/index4.css';const i = "_list_9ltl4_1", r = {
4
+ list: i
5
+ }, e = ({ children: t, className: s }) => /* @__PURE__ */ l("ul", { className: o(s, r.list), children: t });
6
6
  export {
7
7
  e as List
8
8
  };
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index2.css');const o=require("react/jsx-runtime"),e=require("../../classix-5H4IWnMA.cjs"),i="_nav_tvxly_1",r="_horizontal_tvxly_11",c="_tabs_tvxly_18",v="_pills_tvxly_38",t={nav:i,horizontal:r,tabs:c,pills:v},_={default:"",tabs:t.tabs,pills:t.pills},u=({animation:s,children:l,horizontal:a=!1,variant:n="default"})=>o.jsx("nav",{className:e.t(s&&s,a&&t.horizontal,t.nav,_[n]),"data-orientation":a?"horizontal":"vertical",children:l});exports.Nav=u;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index3.css');const n=require("react/jsx-runtime"),f=require("../../classix-5H4IWnMA.cjs"),m=require("react"),v=require("../button/index.cjs"),g=require("../icon/index.cjs"),x=require("../input/index.cjs"),q="_nav_agq5y_1",y="_horizontal_agq5y_11",j="_tabs_agq5y_18",S="_pills_agq5y_39",p="_searching_agq5y_122",z="_search_agq5y_122",t={nav:q,horizontal:y,tabs:j,pills:S,searching:p,search:z},I={default:"",pills:t.pills,tabs:t.tabs},N=({animation:l,children:d,horizontal:o=!1,variant:u="default",...s})=>{const a=m.useRef(null),[c,r]=m.useState(s.isResultsPage??!1),b=s.isSearchable&&u==="pills";return n.jsxs("nav",{className:f.t(l&&l,o&&t.horizontal,c&&t.searching,t.nav,I[u]),"data-orientation":o?"horizontal":"vertical",children:[d,b&&n.jsxs("form",{onSubmit:e=>{var h,_;e.preventDefault();const i=((h=a.current)==null?void 0:h.value)??"";(_=s.onSearchSubmit)==null||_.call(s,i)},children:[n.jsx(x.Input,{ref:a,onKeyDown:e=>{e.key==="Escape"&&(r(!1),a.current&&(a.current.value=""))}}),c&&n.jsx(v.Button,{variant:"minimal",onClick:()=>r(!1),children:n.jsx(g.Icon,{name:"x"})}),n.jsx(v.Button,{className:f.t(t.search),onClick:e=>{var i;c||(e==null||e.preventDefault(),r(!0),(i=a.current)==null||i.focus())},type:"submit",variant:"minimal",children:n.jsx(g.Icon,{name:"search",size:"medium",variant:c?"white":"default"})})]})]})};exports.Nav=N;
2
2
  //# sourceMappingURL=index.cjs.map